@ulm0/gonogo 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/index-DxUnpGbS.js +52 -0
- package/dist/client/assets/index-tpcmltjw.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/server/audited.js +26 -3
- package/dist/server/cleanroom.js +7 -51
- package/dist/server/cli.js +87 -19
- package/dist/server/constants.js +15 -2
- package/dist/server/hangar.js +4 -4
- package/dist/server/home.js +17 -1
- package/dist/server/hub.js +102 -9
- package/dist/server/launcher.js +17 -10
- package/dist/server/mcp.js +41 -2
- package/dist/server/migrate.js +2 -1
- package/dist/server/missions.js +310 -0
- package/dist/server/models.js +73 -0
- package/dist/server/phone.js +122 -0
- package/dist/server/phonetag.js +47 -0
- package/dist/server/prices.js +112 -0
- package/dist/server/propellant.js +243 -16
- package/dist/server/providers.js +52 -0
- package/dist/server/relay.js +53 -7
- package/dist/server/relaykinds.js +11 -1
- package/dist/server/relief.js +2 -2
- package/dist/server/remotecontrol.js +15 -0
- package/dist/server/tasks.js +44 -8
- package/dist/server/uplinks.js +7 -0
- package/dist/server/web.js +165 -6
- package/dist/server/worktree.js +137 -0
- package/dist/shared/fuel.js +8 -0
- package/dist/shared/prices.js +75 -0
- package/dist/shared/protocol.js +16 -3
- package/package.json +1 -1
- package/dist/client/assets/index-BqCn1SM7.js +0 -50
- package/dist/client/assets/index-KZtFVMJG.css +0 -1
package/dist/shared/protocol.js
CHANGED
|
@@ -30,10 +30,12 @@ export const HELD_KINDS = ['draft', 'unconfirmed', 'redline'];
|
|
|
30
30
|
* What runs in the pty (Engine Bay, docs/engine-bay-spec.md). 'claude' is Claude Code with hooks and the MCP tools;
|
|
31
31
|
* 'custom' is any command (a terminal with a lamp: no messages, no hooks); the rest are other agent CLIs.
|
|
32
32
|
*/
|
|
33
|
-
export const PROVIDERS = ['claude', 'gemini', 'codex', 'opencode', 'qwen', 'grok', 'kimi', 'crush', 'pi', 'copilot', 'cursor', 'custom'];
|
|
33
|
+
export const PROVIDERS = ['claude', 'gemini', 'antigravity', 'codex', 'opencode', 'qwen', 'grok', 'kimi', 'crush', 'pi', 'copilot', 'cursor', 'custom'];
|
|
34
34
|
export const PROVIDER_INFO = {
|
|
35
35
|
claude: { label: 'Claude Code', bin: 'claude', hooks: true, mcp: true, modes: true, payload: 'all', check: 'run', model: ['sonnet', 'opus', 'haiku'], install: 'npm install -g @anthropic-ai/claude-code@latest', docs: 'https://code.claude.com/docs/en/setup' },
|
|
36
36
|
gemini: { label: 'Gemini CLI', bin: 'gemini', hooks: true, mcp: true, modes: true, payload: 'servers', check: 'local', model: ['auto', 'pro', 'flash', 'flash-lite'], install: 'npm install -g @google/gemini-cli', docs: 'https://github.com/google-gemini/gemini-cli' },
|
|
37
|
+
// hooks and mcp are false until a start can load them from the agent's own folder (docs/facts/antigravity.md): agy reads hooks.json and mcp_config.json only from .agents/, ~/.gemini/config/ and plugins.
|
|
38
|
+
antigravity: { label: 'Antigravity CLI', bin: 'agy', hooks: false, mcp: false, modes: true, payload: null, check: 'local', model: [], install: 'curl -fsSL https://antigravity.google/cli/install.sh | bash', docs: 'https://antigravity.google/docs/getting-started' },
|
|
37
39
|
codex: { label: 'Codex', bin: 'codex', hooks: false, mcp: true, modes: true, payload: null, check: 'docs', model: [], install: 'npm install -g @openai/codex', docs: 'https://github.com/openai/codex' },
|
|
38
40
|
opencode: { label: 'opencode', bin: 'opencode', hooks: false, mcp: true, modes: false, payload: null, check: 'docs', model: null, install: 'curl -fsSL https://opencode.ai/v2/install | bash', docs: 'https://opencode.ai/docs/' },
|
|
39
41
|
qwen: { label: 'Qwen Code', bin: 'qwen', hooks: false, mcp: false, modes: false, payload: null, check: 'docs', model: null, install: 'curl -fsSL https://qwen-code-assets.oss-cn-hangzhou.aliyuncs.com/installation/install-qwen-standalone.sh | bash', docs: 'https://github.com/QwenLM/qwen-code' },
|
|
@@ -80,7 +82,9 @@ export const MCP_SERVER_NAME = 'gonogo';
|
|
|
80
82
|
/** Clean Room (docs/clean-room-spec.md): the worktrees live in <home>/cleanroom/<name> on the branch gonogo/<name>. */
|
|
81
83
|
export const CLEAN_ROOM_DIR = 'cleanroom';
|
|
82
84
|
export const cleanRoomBranch = (name) => `gonogo/${name}`;
|
|
83
|
-
|
|
85
|
+
/** Worktrees (docs/worktrees-spec.md): a plain worktree lives in <home>/worktrees/<name>, on the same branch name as a Clean Room. */
|
|
86
|
+
export const WORKTREE_DIR = 'worktrees';
|
|
87
|
+
export const MCP_TOOL_NAMES = ['send_message', 'list_roster', 'read_messages', 'go_nogo', 'task_list', 'task_create', 'task_update', 'mission_list', 'mission_create', 'mission_update', 'log_write', 'log_search', 'log_read', 'board_read', 'board_write', 'livery_submit', 'hire_agent'];
|
|
84
88
|
/** Message outcome shown in the activity strip. See contract section 5 for the exact rules and notes. */
|
|
85
89
|
export const ACTIVITY_STATUSES = ['queued', 'held', 'delivered', 'read', 'undelivered', 'to_user'];
|
|
86
90
|
/** Window-title glyph class. idle = U+2733 "✳", working = U+25D0/U+25D1, unknown = anything else or no title yet. */
|
|
@@ -136,6 +140,13 @@ export const TASK_DETAIL_MAX_CHARS = 4000;
|
|
|
136
140
|
export const TASK_NOTE_MAX_CHARS = 200;
|
|
137
141
|
export const TASKS_OPEN_MAX = 500;
|
|
138
142
|
/** The message an agent gets when a task is assigned to it. */
|
|
143
|
+
/** Missions (docs/missions-spec.md): the statuses a mission moves between (any to any), and the limits of its fields. */
|
|
144
|
+
export const MISSION_STATUSES = ['planned', 'active', 'paused', 'done', 'aborted'];
|
|
145
|
+
export const MISSION_NAME_MAX_CHARS = 80;
|
|
146
|
+
export const MISSION_GOAL_MAX_CHARS = 2000;
|
|
147
|
+
export const MISSION_NOTE_MAX_CHARS = 200;
|
|
148
|
+
export const MISSIONS_OPEN_MAX = 50;
|
|
149
|
+
export const missionSubject = (name) => `Mission: ${name}`;
|
|
139
150
|
export const taskSubject = (id, title) => `Flight Plan: ${id} assigned to you: ${title}`;
|
|
140
151
|
/** Mission Log limits (docs/mission-log-spec.md). A tag is lowercase; the search never returns more than LOG_SEARCH_MAX hits. */
|
|
141
152
|
export const LOG_TITLE_MAX_CHARS = 200;
|
|
@@ -151,7 +162,9 @@ export const BOARD_MAX_CHARS = 10_000;
|
|
|
151
162
|
export const AUDIT_KINDS = ['crew', 'redline', 'poll', 'answer', 'plan', 'uplink', 'config', 'audit'];
|
|
152
163
|
export const AUDIT_TEXT_MAX_CHARS = 200;
|
|
153
164
|
/** Downlink (docs/downlink-spec.md): what besides a message to the Director lands in his inbox. */
|
|
154
|
-
export const DOWNLINK_EVENT_KINDS = ['redline', 'tminus', 'launch-window', 'uplink', 'flight-plan', 'livery', 'relief'];
|
|
165
|
+
export const DOWNLINK_EVENT_KINDS = ['redline', 'tminus', 'launch-window', 'uplink', 'flight-plan', 'livery', 'relief', 'permission', 'mission'];
|
|
166
|
+
/** Phone approvals (Flight Rules): where a pending permission or hire request is sent to the Director's phone. `remote-control` starts nothing by itself: it allows `remoteControl` on an agent. */
|
|
167
|
+
export const PHONE_MODES = ['off', 'telegram', 'remote-control', 'both'];
|
|
155
168
|
/** What an uplink understands: `generic` is any sender that signs its JSON, the others are the services of Relay (docs/relay-spec.md). */
|
|
156
169
|
export const UPLINK_KINDS = ['generic', 'github', 'linear', 'slack', 'telegram'];
|
|
157
170
|
/** Slack and Linear make the signing secret themselves: the uplink takes theirs at create (and with Edit), it does not make one. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ulm0/gonogo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Self-hosted mission control for AI coding agents: real Claude Code terminals in a browser tab (a phone too), agents that message each other, schedules, webhooks and token budgets.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|