feat: GCE forever agent with Cloud Run bridge support

- Add gce-startup.sh: self-contained VM startup (install, build, configure, run)
- Add start-forever.js: dual-process launcher for local development
- Add npm scripts: start:forever, start:bridge
- Bind A2A listener to 0.0.0.0 (was 127.0.0.1) for remote bridge access
- Pre-configure all headless settings to bypass interactive dialogs
- Use .env file + script pseudo-TTY for systemd service
This commit is contained in:
Adam Weidman
2026-03-03 23:45:17 -05:00
parent 8caf7d5690
commit 7bc0515c7c
4 changed files with 275 additions and 1 deletions
+2
View File
@@ -19,6 +19,8 @@
"scripts": {
"start": "cross-env NODE_ENV=development node scripts/start.js",
"start:a2a-server": "CODER_AGENT_PORT=41242 npm run start --workspace @google/gemini-cli-a2a-server",
"start:forever": "node scripts/start-forever.js",
"start:bridge": "node packages/a2a-server/dist/src/chat-bridge/bridge.js",
"debug": "cross-env DEBUG=1 node --inspect-brk scripts/start.js",
"deflake": "node scripts/deflake.js",
"deflake:test:integration:sandbox:none": "npm run deflake -- --command=\"npm run test:integration:sandbox:none -- --retry=0\"",