wip: tui api

This commit is contained in:
Dax Raad
2025-07-22 12:14:14 -04:00
parent 01f8d3b05d
commit 5aafab118f
13 changed files with 127 additions and 414 deletions

View File

@@ -10,18 +10,7 @@ for arg in "$@"; do
fi
done
echo "Starting opencode server on port 4096..."
bun run ./packages/opencode/src/index.ts serve --port 4096 &
SERVER_PID=$!
echo "Waiting for server to start..."
sleep 3
echo "Fetching OpenAPI spec from http://127.0.0.1:4096/doc..."
curl -s http://127.0.0.1:4096/doc > openapi.json
echo "Stopping server..."
kill $SERVER_PID
bun run ./packages/opencode/src/index.ts generate > openapi.json
echo "Running stl builds create..."
stl builds create --branch dev --pull --allow-empty --targets go