opencode/packages/cli-rs/parity/acp/opencode-ts
Simon Klee 6b1df0cceb
feat(cli-rs): add the native CLI and TUI (#63477)
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
2026-11-22 00:07:01 +01:00

5 lines
372 B
Text
Executable file

#!/bin/sh
# The TypeScript CLI from source, as the OPENCODE_TS_BIN whose private server `opencode-native acp` starts. It
# runs the way TS `acp` starts its own server (`bun <entrypoint> serve ...`, `src/util/process.ts`). `exec`
# keeps the server a direct child of the agent, which the lifecycle suite relies on.
exec bun "$(dirname "$0")/../../../cli/src/index.ts" "$@"