mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
Add packages/cli-rs, an OpenCode client written in Rust on OpenTUI's Rust crates. It is a client only.
5 lines
372 B
Text
Executable file
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" "$@"
|