Skip to content

Conversation

@pschiel
Copy link
Contributor

@pschiel pschiel commented Feb 5, 2026

Fixes #128

Summary

  • for debugging, bun needs to start in the development build directory
  • makes it currently impossible to debug different scenarios/projects

This patch adds positional argument for cwd folder opencode serve [cwd]

Usage:

bun run --cwd /path/to/packages/opencode --inspect-wait=ws://localhost:6499/ ./src/index.ts \
  serve --port 4096 /my/project/path

Add project directory parameter to serve command.

Conflict resolution:
- packages/opencode/src/cli/cmd/serve.ts: Merge cwd positional argument with kilo branding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: add optional cwd path argument to serve command

2 participants