feat: import
Some checks failed
perso/opencode/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
Julien Cabillot
2026-03-27 17:26:11 -04:00
parent 9a303b49e5
commit 59d62367b3
5 changed files with 223 additions and 1 deletions

7
opencode-attach Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
set -eu
: "${OPENCODE_SERVER_PASSWORD:?OPENCODE_SERVER_PASSWORD is required}"
: "${OPENCODE_API_URL:?OPENCODE_API_URL is required}"
exec opencode attach -p "${OPENCODE_SERVER_PASSWORD}" "${OPENCODE_API_URL}" "$@"