@kernlang/agon 0.1.8 → 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/{chunk-GMVFKWQA.js → chunk-24EWX243.js} +1393 -126
- package/dist/chunk-24EWX243.js.map +1 -0
- package/dist/{chunk-SUT2HDOY.js → chunk-47QQZGXP.js} +11 -1
- package/dist/{chunk-SUT2HDOY.js.map → chunk-47QQZGXP.js.map} +1 -1
- package/dist/{chunk-45YTXJWJ.js → chunk-4ZDVR5XR.js} +3 -1
- package/dist/{chunk-45YTXJWJ.js.map → chunk-4ZDVR5XR.js.map} +1 -1
- package/dist/{chunk-I2PMSXJ3.js → chunk-6GENPQFW.js} +2 -2
- package/dist/{chunk-KPU23NS2.js → chunk-6SOOHJZQ.js} +75 -13
- package/dist/chunk-6SOOHJZQ.js.map +1 -0
- package/dist/{chunk-GHAMYNRC.js → chunk-FORBHCTM.js} +41 -7
- package/dist/chunk-FORBHCTM.js.map +1 -0
- package/dist/{chunk-CQBQPSE4.js → chunk-MMPLPYSK.js} +219 -29
- package/dist/chunk-MMPLPYSK.js.map +1 -0
- package/dist/{chunk-BPKY4OF2.js → chunk-MWF4RHRU.js} +3072 -1011
- package/dist/chunk-MWF4RHRU.js.map +1 -0
- package/dist/{dispatch-J4RSWLXM.js → dispatch-FQQWL2YW.js} +2 -2
- package/dist/engines/agy.json +6 -0
- package/dist/engines/claude.json +4 -0
- package/dist/engines/codex.json +4 -0
- package/dist/engines/minimax-coding-plan-minimax-m3.json +4 -0
- package/dist/{forge-5QSRUNW6.js → forge-ZFCSXC3Z.js} +6 -6
- package/dist/index.js +16712 -14634
- package/dist/index.js.map +1 -1
- package/dist/mcp/engines/agy.json +6 -0
- package/dist/mcp/engines/claude.json +4 -0
- package/dist/mcp/engines/codex.json +4 -0
- package/dist/mcp/engines/minimax-coding-plan-minimax-m3.json +4 -0
- package/dist/mcp/index.js +34 -6
- package/dist/mcp/index.js.map +1 -1
- package/dist/plan-mode-I3BZOBFB.js +17 -0
- package/dist/{src-253BUXEF.js → src-WMV62WO7.js} +171 -9
- package/dist/{update-WLRTYR77.js → update-H3JQXPGO.js} +6 -6
- package/package.json +2 -2
- package/dist/chunk-BPKY4OF2.js.map +0 -1
- package/dist/chunk-CQBQPSE4.js.map +0 -1
- package/dist/chunk-GHAMYNRC.js.map +0 -1
- package/dist/chunk-GMVFKWQA.js.map +0 -1
- package/dist/chunk-KPU23NS2.js.map +0 -1
- package/dist/plan-mode-5IQ2SKIS.js +0 -17
- /package/dist/{chunk-I2PMSXJ3.js.map → chunk-6GENPQFW.js.map} +0 -0
- /package/dist/{dispatch-J4RSWLXM.js.map → dispatch-FQQWL2YW.js.map} +0 -0
- /package/dist/{forge-5QSRUNW6.js.map → forge-ZFCSXC3Z.js.map} +0 -0
- /package/dist/{plan-mode-5IQ2SKIS.js.map → plan-mode-I3BZOBFB.js.map} +0 -0
- /package/dist/{src-253BUXEF.js.map → src-WMV62WO7.js.map} +0 -0
- /package/dist/{update-WLRTYR77.js.map → update-H3JQXPGO.js.map} +0 -0
|
@@ -24,6 +24,8 @@
|
|
|
24
24
|
"args": ["--print-timeout", "580s", "--print", "{prompt}", "--dangerously-skip-permissions"]
|
|
25
25
|
},
|
|
26
26
|
|
|
27
|
+
"capabilities": ["vision"],
|
|
28
|
+
|
|
27
29
|
"api": {
|
|
28
30
|
"baseUrl": "https://generativelanguage.googleapis.com/v1beta/openai",
|
|
29
31
|
"apiKeyEnv": "GOOGLE_API_KEY",
|
|
@@ -31,6 +33,10 @@
|
|
|
31
33
|
"maxTokens": 8192
|
|
32
34
|
},
|
|
33
35
|
|
|
36
|
+
"sessionBudget": {
|
|
37
|
+
"contextWindow": 1000000
|
|
38
|
+
},
|
|
39
|
+
|
|
34
40
|
"env": {
|
|
35
41
|
"GOOGLE_API_KEY": { "required": false }
|
|
36
42
|
},
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
+
MEMORY_SECTIONS,
|
|
3
4
|
appendEvent,
|
|
5
|
+
appendMemoryLine,
|
|
6
|
+
canonicalMemorySection,
|
|
4
7
|
createRoom,
|
|
5
8
|
defaultFinalizeOnScoreForTask,
|
|
6
9
|
isRoomClosed,
|
|
@@ -11,9 +14,10 @@ import {
|
|
|
11
14
|
recordPresence,
|
|
12
15
|
removePresence,
|
|
13
16
|
roomExists,
|
|
14
|
-
slugifyRoomId
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
slugifyRoomId,
|
|
18
|
+
todayPrefix
|
|
19
|
+
} from "../chunk-MWF4RHRU.js";
|
|
20
|
+
import "../chunk-4ZDVR5XR.js";
|
|
17
21
|
|
|
18
22
|
// ../mcp/src/generated/agon-orchestration.ts
|
|
19
23
|
import { writeFileSync, readFileSync, mkdirSync, existsSync, unlinkSync } from "fs";
|
|
@@ -87,7 +91,7 @@ function handleRoomTool(name, args) {
|
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
// ../mcp/src/generated/agon-orchestration.ts
|
|
90
|
-
var ORCHESTRATION_TOOLS = [{ name: "Tribunal", description: "Run or delegate an AI tribunal debate. Outside an active Agon session this executes agon tribunal/team-tribunal and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { question: { type: "string", description: "The question to debate" }, mode: { type: "string", description: "Debate mode: adversarial, synthesis, steelman, socratic, red-team, or postmortem", enum: ["adversarial", "synthesis", "steelman", "socratic", "red-team", "postmortem"] }, team: { type: "boolean", description: "Solo (false) or team-tribunal (true). Defaults to false." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, rounds: { type: "number", description: "Optional number of debate rounds. Defaults to 2." }, members: { type: "number", description: "Team members per side when team is true. Defaults to 2." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["question"] } }, { name: "Brainstorm", description: "Run or delegate multi-AI brainstorm. Outside an active Agon session this executes agon brainstorm/team-brainstorm and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { question: { type: "string", description: "The question to brainstorm on" }, team: { type: "boolean", description: "Solo (false) or team-brainstorm (true). Defaults to false." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, members: { type: "number", description: "Team members per side when team is true. Defaults to 2." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["question"] } }, { name: "Campfire", description: "Run or delegate campfire discussion. Outside an active Agon session this executes agon campfire and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { topic: { type: "string", description: "The topic for open discussion" }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, strategy: { type: "string", description: "Campfire strategy: lead-first or all-respond", enum: ["lead-first", "all-respond"] }, lead: { type: "string", description: "Lead engine for lead-first strategy." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["topic"] } }, { name: "Forge", description: "Run or delegate competitive forge. Outside an active Agon session this executes agon forge/team-forge and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { task: { type: "string", description: "The task to forge" }, fitnessCmd: { type: "string", description: "Test command for fitness evaluation" }, hardened: { type: "boolean", description: "Set true for gauntlet verification" }, team: { type: "boolean", description: "Solo (false) or team-forge (true). Defaults to false." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, members: { type: "number", description: "Team members per side when team is true. Defaults to 2." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." }, finalizeOnScore: { type: "number", description: "V1 caller-driven finalize: stop the forge as soon as any engine PASSES with score >= this threshold (0-100). Aborts in-flight stage-2 engines to save cost/time. Ignored for team-forge." }, cesarSmart: { type: "boolean", description: "When true AND finalizeOnScore is not explicitly set, derive a recommended threshold from the task class (docs/test=75, bugfix/refactor=85, algorithm/feature/other=no early finalize). Lets Cesar pick a sensible cutoff when the external caller does not want to hardcode one." } }, required: ["task"] } }, { name: "Synthesis", description: "Run or delegate competitive synthesis - engines draft, then swap and improve on the other drafts, and a judge picks the best evolved artifact. Outside an active Agon session this executes agon synthesis and returns JSON output; inside Agon it signals Cesar, then you STOP responding. Use when you want one polished artifact that blends the best ideas and no clean pass/fail test exists.", inputSchema: { type: "object", properties: { prompt: { type: "string", description: "The task or prompt to synthesize" }, swaps: { type: "number", description: "Number of swap rounds where engines improve on the other drafts (0 = draft-only). Defaults to 1." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["prompt"] } }, { name: "Pipeline", description: "Run or delegate the full pipeline: brainstorm \u2192 forge \u2192 tribunal. Outside an active Agon session this executes the CLI stages and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { task: { type: "string", description: "The task description" }, fitnessCmd: { type: "string", description: "Test command for fitness evaluation" }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, mode: { type: "string", description: "Tribunal mode for the final pipeline review.", enum: ["adversarial", "synthesis", "steelman", "socratic", "red-team", "postmortem"] }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["task"] } }, { name: "Review", description: "Run or delegate code review. Outside an active Agon session this executes agon review and returns JSON output; inside Agon it signals Cesar, then you STOP responding. Set engine/engines only when explicitly requested.", inputSchema: { type: "object", properties: { target: { type: "string", description: 'Review target: "uncommitted", "branch:NAME", or "commit:SHA"' }, engine: { type: "string", description: "Specific engine for review, only when explicitly requested by the user" }, engines: { type: "array", items: { type: "string" }, description: "Multiple specific engines for review, only when explicitly requested by the user" }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." } } } }, { name: "Agent", description: "Delegate to autonomous agent mode. Solo runs one engine through a multi-turn tool loop; team:true runs multiple API engines in isolated worktrees and synthesizes the best result. Always set taskKind to edit or investigate. After calling: STOP responding.", inputSchema: { type: "object", properties: { task: { type: "string", description: "The concrete task for the agent to perform" }, team: { type: "boolean", description: "Set true for parallel team-agent mode" }, engines: { type: "array", items: { type: "string" }, description: "Optional engine IDs for team mode" }, taskKind: { type: "string", description: "edit or investigate", enum: ["edit", "investigate"] }, maxTurns: { type: "number", description: "Optional turn budget per engine" } }, required: ["task"] } }, { name: "Delegate", description: "Send a subtask to a specific engine and get the result back. After calling: STOP responding.", inputSchema: { type: "object", properties: { engine: { type: "string", description: "Engine ID to delegate to" }, task: { type: "string", description: "The subtask prompt" }, mode: { type: "string", description: "Dispatch mode: exec, review, or agent", enum: ["exec", "review", "agent"] } }, required: ["engine", "task"] } }, { name: "ReportConfidence", description: "Report your confidence level (0-100). Call this FIRST on every turn. Does NOT stop your turn \u2014 continue after calling.", inputSchema: { type: "object", properties: { value: { type: "number", description: "Confidence 0-100" }, reasoning: { type: "string", description: "Brief reason for this confidence level" } }, required: ["value"] } }, { name: "QuickNero", description: "Request a structured self-challenge on your current response. Pokes at assumptions before you commit to staying local. Use when you are midway between sure and unsure and want a gut-check. The self-check runs after the tool loop. Does NOT stop your turn \u2014 continue after calling.", inputSchema: { type: "object", properties: { reason: { type: "string", description: "Brief reason for requesting the self-check. Optional." } } } }, { name: "ProposePlan", description: "Submit a structured Cesar execution plan for user approval. Use in plan mode or when staged execution is genuinely useful. After calling: STOP responding.", inputSchema: { type: "object", properties: { intent: { type: "string", description: "1-3 sentences describing the user task and overall approach" }, autoApprove: { type: "boolean", description: "Set true only for clearly requested autonomous multi-stage workflows with high confidence" }, selfReview: { type: "boolean", description: "Whether to auto-append review after mutating steps. Defaults true." }, steps: { type: "array", items: { type: "object", properties: { id: { type: "string" }, type: { type: "string", enum: ["self", "forge", "teamforge", "delegate", "brainstorm", "campfire", "tribunal", "pipeline", "review", "agent", "team-agent"] }, description: { type: "string" }, engines: { type: "array", items: { type: "string" } }, engine: { type: "string" }, fitnessCmd: { type: "string" }, tribunalMode: { type: "string" }, parallel: { type: "boolean" }, dependsOn: { type: "array", items: { type: "string" } }, exports: { type: "array", items: { type: "string" } }, imports: { type: "array", items: { type: "string" } }, estimatedTokens: { type: "number" }, estimatedCostUsd: { type: "number" }, rationale: { type: "string" }, verifyCmd: { type: "string" } }, required: ["id", "type", "description", "estimatedTokens", "estimatedCostUsd"] } } }, required: ["intent", "steps"] } }, { name: "ExitPlanMode", description: "Leave plan mode and return to live work. Inside Agon it signals Cesar to archive the pending plan and clear plan state, then you CONTINUE responding and work live. Call when a plan is NOT the right approach: the task is simple enough to do live, the pending plan is wrong/too-broad, or planning is blocking progress. You are never trapped in plan mode \u2014 this is your escape hatch. Not for a RUNNING plan (use the cancel flow for that).", inputSchema: { type: "object", properties: { reason: { type: "string", description: "REQUIRED. One sentence on why a plan is not the right approach here. Surfaced to the user." } }, required: ["reason"] } }, { name: "AgonBash", description: "Execute a shell command. Agon manages permissions \u2014 the user will be asked to approve write commands (git commit, npm install, etc.). Read-only commands are auto-approved. Use this instead of your native Bash tool for all shell commands.", inputSchema: { type: "object", properties: { command: { type: "string", description: "The shell command to execute" }, timeout: { type: "number", description: "Timeout in seconds (default 30)" } }, required: ["command"] } }, { name: "AgonEdit", description: "Edit a file by replacing text. Agon manages permissions \u2014 the user will be asked to approve. Use this instead of your native Edit tool.", inputSchema: { type: "object", properties: { file_path: { type: "string", description: "Absolute path to the file" }, old_string: { type: "string", description: "Text to find and replace" }, new_string: { type: "string", description: "Replacement text" } }, required: ["file_path", "old_string", "new_string"] } }, { name: "AgonWrite", description: "Create or overwrite a file. Agon manages permissions \u2014 the user will be asked to approve. Use this instead of your native Write tool.", inputSchema: { type: "object", properties: { file_path: { type: "string", description: "Absolute path to the file" }, content: { type: "string", description: "File content to write" } }, required: ["file_path", "content"] } }, { name: "DeliverAnswer", description: "Deliver your final response to the user. When the host runs you under a PTY answer-channel (AGON_ANSWER_CHANNEL=1) you MUST call this exactly once at the end of every turn with your complete answer as markdown \u2014 it is the ONLY reliable way the user sees your response; printed text is treated as a draft preview only. After calling, STOP responding. No approval is required and it does not dispatch anything.", inputSchema: { type: "object", properties: { text: { type: "string", description: "Your complete final response to the user, as markdown." } }, required: ["text"] } }];
|
|
94
|
+
var ORCHESTRATION_TOOLS = [{ name: "Tribunal", description: "Run or delegate an AI tribunal debate. Outside an active Agon session this executes agon tribunal/team-tribunal and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { question: { type: "string", description: "The question to debate" }, mode: { type: "string", description: "Debate mode: adversarial, synthesis, steelman, socratic, red-team, or postmortem", enum: ["adversarial", "synthesis", "steelman", "socratic", "red-team", "postmortem"] }, team: { type: "boolean", description: "Solo (false) or team-tribunal (true). Defaults to false." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, rounds: { type: "number", description: "Optional number of debate rounds. Defaults to 2." }, members: { type: "number", description: "Team members per side when team is true. Defaults to 2." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["question"] } }, { name: "Brainstorm", description: "Run or delegate multi-AI brainstorm. Outside an active Agon session this executes agon brainstorm/team-brainstorm and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { question: { type: "string", description: "The question to brainstorm on" }, team: { type: "boolean", description: "Solo (false) or team-brainstorm (true). Defaults to false." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, members: { type: "number", description: "Team members per side when team is true. Defaults to 2." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["question"] } }, { name: "Campfire", description: "Run or delegate campfire discussion. Outside an active Agon session this executes agon campfire and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { topic: { type: "string", description: "The topic for open discussion" }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, strategy: { type: "string", description: "Campfire strategy: lead-first or all-respond", enum: ["lead-first", "all-respond"] }, lead: { type: "string", description: "Lead engine for lead-first strategy." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["topic"] } }, { name: "Forge", description: "Run or delegate competitive forge. Outside an active Agon session this executes agon forge/team-forge and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { task: { type: "string", description: "The task to forge" }, fitnessCmd: { type: "string", description: "Test command for fitness evaluation" }, hardened: { type: "boolean", description: "Set true for gauntlet verification" }, team: { type: "boolean", description: "Solo (false) or team-forge (true). Defaults to false." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, members: { type: "number", description: "Team members per side when team is true. Defaults to 2." }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." }, finalizeOnScore: { type: "number", description: "V1 caller-driven finalize: stop the forge as soon as any engine PASSES with score >= this threshold (0-100). Aborts in-flight stage-2 engines to save cost/time. Ignored for team-forge." }, cesarSmart: { type: "boolean", description: "When true AND finalizeOnScore is not explicitly set, derive a recommended threshold from the task class (docs/test=75, bugfix/refactor=85, algorithm/feature/other=no early finalize). Lets Cesar pick a sensible cutoff when the external caller does not want to hardcode one." } }, required: ["task"] } }, { name: "Synthesis", description: "Run or delegate competitive synthesis - engines draft, then swap and improve on the other drafts, and a judge picks the best evolved artifact. Outside an active Agon session this executes agon synthesis and returns JSON output; inside Agon it signals Cesar, then you STOP responding. Use when you want one polished artifact that blends the best ideas and no clean pass/fail test exists.", inputSchema: { type: "object", properties: { prompt: { type: "string", description: "The task or prompt to synthesize" }, swaps: { type: "number", description: "Number of swap rounds where engines improve on the other drafts (0 = draft-only). Defaults to 1." }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["prompt"] } }, { name: "Pipeline", description: "Run or delegate the full pipeline: brainstorm \u2192 forge \u2192 tribunal. Outside an active Agon session this executes the CLI stages and returns JSON output; inside Agon it signals Cesar, then you STOP responding.", inputSchema: { type: "object", properties: { task: { type: "string", description: "The task description" }, fitnessCmd: { type: "string", description: "Test command for fitness evaluation" }, engines: { type: "array", items: { type: "string" }, description: 'Optional engine IDs, e.g. ["codex","claude","agy"].' }, mode: { type: "string", description: "Tribunal mode for the final pipeline review.", enum: ["adversarial", "synthesis", "steelman", "socratic", "red-team", "postmortem"] }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." }, engineTimeout: { type: "number", description: "Per-engine timeout in seconds." } }, required: ["task"] } }, { name: "Review", description: "Run or delegate code review. Outside an active Agon session this executes agon review and returns JSON output; inside Agon it signals Cesar, then you STOP responding. Set engine/engines only when explicitly requested.", inputSchema: { type: "object", properties: { target: { type: "string", description: 'Review target: "uncommitted", "branch:NAME", or "commit:SHA"' }, engine: { type: "string", description: "Specific engine for review, only when explicitly requested by the user" }, engines: { type: "array", items: { type: "string" }, description: "Multiple specific engines for review, only when explicitly requested by the user" }, cwd: { type: "string", description: "Working directory for direct external calls. Defaults to current directory." }, timeout: { type: "number", description: "Overall direct-call timeout in seconds. Defaults to 900." } } } }, { name: "Agent", description: "Delegate to autonomous agent mode. Solo runs one engine through a multi-turn tool loop; team:true runs multiple API engines in isolated worktrees and synthesizes the best result. Always set taskKind to edit or investigate. After calling: STOP responding.", inputSchema: { type: "object", properties: { task: { type: "string", description: "The concrete task for the agent to perform" }, team: { type: "boolean", description: "Set true for parallel team-agent mode" }, engines: { type: "array", items: { type: "string" }, description: "Optional engine IDs for team mode" }, taskKind: { type: "string", description: "edit or investigate", enum: ["edit", "investigate"] }, maxTurns: { type: "number", description: "Optional turn budget per engine" } }, required: ["task"] } }, { name: "Delegate", description: "Send a subtask to a specific engine and get the result back. After calling: STOP responding.", inputSchema: { type: "object", properties: { engine: { type: "string", description: "Engine ID to delegate to" }, task: { type: "string", description: "The subtask prompt" }, mode: { type: "string", description: "Dispatch mode: exec, review, or agent", enum: ["exec", "review", "agent"] } }, required: ["engine", "task"] } }, { name: "ReportConfidence", description: "Report your confidence level (0-100). Call this FIRST on every turn. Does NOT stop your turn \u2014 continue after calling.", inputSchema: { type: "object", properties: { value: { type: "number", description: "Confidence 0-100" }, reasoning: { type: "string", description: "Brief reason for this confidence level" } }, required: ["value"] } }, { name: "QuickNero", description: "Request a structured self-challenge on your current response. Pokes at assumptions before you commit to staying local. Use when you are midway between sure and unsure and want a gut-check. The self-check runs after the tool loop. Does NOT stop your turn \u2014 continue after calling.", inputSchema: { type: "object", properties: { reason: { type: "string", description: "Brief reason for requesting the self-check. Optional." } } } }, { name: "ProposePlan", description: "Submit a structured Cesar execution plan for user approval. Use in plan mode or when staged execution is genuinely useful. After calling: STOP responding.", inputSchema: { type: "object", properties: { intent: { type: "string", description: "1-3 sentences describing the user task and overall approach" }, autoApprove: { type: "boolean", description: "Set true only for clearly requested autonomous multi-stage workflows with high confidence" }, selfReview: { type: "boolean", description: "Whether to auto-append review after mutating steps. Defaults true." }, steps: { type: "array", items: { type: "object", properties: { id: { type: "string" }, type: { type: "string", enum: ["self", "forge", "teamforge", "delegate", "brainstorm", "campfire", "tribunal", "pipeline", "review", "agent", "team-agent"] }, description: { type: "string" }, engines: { type: "array", items: { type: "string" } }, engine: { type: "string" }, fitnessCmd: { type: "string" }, tribunalMode: { type: "string" }, parallel: { type: "boolean" }, dependsOn: { type: "array", items: { type: "string" } }, exports: { type: "array", items: { type: "string" } }, imports: { type: "array", items: { type: "string" } }, estimatedTokens: { type: "number" }, estimatedCostUsd: { type: "number" }, rationale: { type: "string" }, verifyCmd: { type: "string" } }, required: ["id", "type", "description", "estimatedTokens", "estimatedCostUsd"] } } }, required: ["intent", "steps"] } }, { name: "ExitPlanMode", description: "Leave plan mode and return to live work. Inside Agon it signals Cesar to archive the pending plan and clear plan state, then you CONTINUE responding and work live. Call when a plan is NOT the right approach: the task is simple enough to do live, the pending plan is wrong/too-broad, or planning is blocking progress. You are never trapped in plan mode \u2014 this is your escape hatch. Not for a RUNNING plan (use the cancel flow for that).", inputSchema: { type: "object", properties: { reason: { type: "string", description: "REQUIRED. One sentence on why a plan is not the right approach here. Surfaced to the user." } }, required: ["reason"] } }, { name: "AgonBash", description: "Execute a shell command. Agon manages permissions \u2014 the user will be asked to approve write commands (git commit, npm install, etc.). Read-only commands are auto-approved. Use this instead of your native Bash tool for all shell commands.", inputSchema: { type: "object", properties: { command: { type: "string", description: "The shell command to execute" }, timeout: { type: "number", description: "Timeout in seconds (default 30)" } }, required: ["command"] } }, { name: "AgonEdit", description: "Edit a file by replacing text. Agon manages permissions \u2014 the user will be asked to approve. Use this instead of your native Edit tool.", inputSchema: { type: "object", properties: { file_path: { type: "string", description: "Absolute path to the file" }, old_string: { type: "string", description: "Text to find and replace" }, new_string: { type: "string", description: "Replacement text" } }, required: ["file_path", "old_string", "new_string"] } }, { name: "AgonWrite", description: "Create or overwrite a file. Agon manages permissions \u2014 the user will be asked to approve. Use this instead of your native Write tool.", inputSchema: { type: "object", properties: { file_path: { type: "string", description: "Absolute path to the file" }, content: { type: "string", description: "File content to write" } }, required: ["file_path", "content"] } }, { name: "SaveMemory", description: "Save ONE durable, cross-session fact to project memory (.agon/project.md). Use ONLY for facts that should survive into FUTURE sessions: decisions, constraints, or conventions. NEVER for transient/session state, TODOs, or things obvious from the code. Appends one dated one-liner under the chosen section; near-duplicates are skipped; the user confirms each memory.", inputSchema: { type: "object", properties: { memory: { type: "string", description: "The single durable fact, as one concise sentence. Do NOT add a date \u2014 it is prefixed automatically." }, section: { type: "string", description: "Which section to file it under.", enum: ["Decisions", "Constraints", "Conventions", "Session Notes"] } }, required: ["memory", "section"] } }, { name: "DeliverAnswer", description: "Deliver your final response to the user. When the host runs you under a PTY answer-channel (AGON_ANSWER_CHANNEL=1) you MUST call this exactly once at the end of every turn with your complete answer as markdown \u2014 it is the ONLY reliable way the user sees your response; printed text is treated as a draft preview only. After calling, STOP responding. No approval is required and it does not dispatch anything.", inputSchema: { type: "object", properties: { text: { type: "string", description: "Your complete final response to the user, as markdown." } }, required: ["text"] } }];
|
|
91
95
|
function writeSignal(tool, args) {
|
|
92
96
|
const signalDir = process.env.AGON_SIGNAL_DIR;
|
|
93
97
|
const sessionId = process.env.AGON_SESSION_ID;
|
|
@@ -328,7 +332,7 @@ async function pollPermissionResponse(id, timeoutMs) {
|
|
|
328
332
|
}
|
|
329
333
|
async function handleWriteToolCall(name, args) {
|
|
330
334
|
const requestId = `pr-${Date.now()}-${Math.random().toString(36).slice(2, 6)}`;
|
|
331
|
-
const toolMap = { AgonBash: "Bash", AgonEdit: "Edit", AgonWrite: "Write" };
|
|
335
|
+
const toolMap = { AgonBash: "Bash", AgonEdit: "Edit", AgonWrite: "Write", SaveMemory: "SaveMemory" };
|
|
332
336
|
const kernTool = toolMap[name] ?? name;
|
|
333
337
|
writePermissionRequest(requestId, kernTool, args);
|
|
334
338
|
const response = await pollPermissionResponse(requestId, 6e4);
|
|
@@ -372,6 +376,30 @@ async function handleWriteToolCall(name, args) {
|
|
|
372
376
|
writeToolCompletion(requestId, name, args, "done", output);
|
|
373
377
|
return output;
|
|
374
378
|
}
|
|
379
|
+
if (name === "SaveMemory") {
|
|
380
|
+
const section = canonicalMemorySection(args.section);
|
|
381
|
+
const memory = String(args.memory ?? "").trim();
|
|
382
|
+
if (!section) {
|
|
383
|
+
const output2 = `Invalid section "${String(args.section ?? "")}". Use one of: ${MEMORY_SECTIONS.join(", ")}`;
|
|
384
|
+
writeToolCompletion(requestId, name, args, "error", output2);
|
|
385
|
+
return output2;
|
|
386
|
+
}
|
|
387
|
+
const cwd = process.env.AGON_CWD || process.cwd();
|
|
388
|
+
const memPath = join(cwd, ".agon", "project.md");
|
|
389
|
+
const existing = existsSync(memPath) ? readFileSync(memPath, "utf-8") : "";
|
|
390
|
+
const res = appendMemoryLine(existing, section, memory, todayPrefix());
|
|
391
|
+
if (!res.changed) {
|
|
392
|
+
const output2 = `Already in project memory [${section}] \u2014 skipped (near-duplicate).`;
|
|
393
|
+
writeToolCompletion(requestId, name, args, "done", output2);
|
|
394
|
+
return output2;
|
|
395
|
+
}
|
|
396
|
+
mkdirSync(dirname(memPath), { recursive: true });
|
|
397
|
+
writeFileSync(memPath, res.content.endsWith("\n") ? res.content : res.content + "\n");
|
|
398
|
+
const note = res.status === "evicted" ? " (section was full \u2014 oldest entry dropped)" : "";
|
|
399
|
+
const output = `Saved to project memory [${section}]: ${memory}${note}`;
|
|
400
|
+
writeToolCompletion(requestId, name, args, "done", output);
|
|
401
|
+
return output;
|
|
402
|
+
}
|
|
375
403
|
writeToolCompletion(requestId, name, args, "error", "Unknown write tool");
|
|
376
404
|
return "Unknown write tool";
|
|
377
405
|
} catch (err) {
|
|
@@ -437,7 +465,7 @@ function startMcpServer() {
|
|
|
437
465
|
respond(id, { content: [{ type: "text", text: ok ? "Answer delivered. STOP responding now." : "No answer-channel configured \u2014 just print your answer as text." }] });
|
|
438
466
|
return;
|
|
439
467
|
}
|
|
440
|
-
const WRITE_TOOLS = /* @__PURE__ */ new Set(["AgonBash", "AgonEdit", "AgonWrite"]);
|
|
468
|
+
const WRITE_TOOLS = /* @__PURE__ */ new Set(["AgonBash", "AgonEdit", "AgonWrite", "SaveMemory"]);
|
|
441
469
|
if (WRITE_TOOLS.has(toolName)) {
|
|
442
470
|
handleWriteToolCall(toolName, toolArgs).then((result2) => {
|
|
443
471
|
respond(id, { content: [{ type: "text", text: result2 }] });
|
package/dist/mcp/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../mcp/src/generated/agon-orchestration.ts","../../../mcp/src/generated/rooms.ts","../../../mcp/src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;AAEA,SAAS,eAAe,cAAc,WAAW,YAAY,kBAAkB;AAE/E,SAAS,MAAM,eAAe;AAE9B,SAAS,uBAAuB;AAEhC,SAAS,UAAU,iBAAiB;;;ACNpC,SAAS,gBAAgB;AAOlB,IAAM,aAAyF;AAAA,EACpG,EAAE,MAAM,YAAY,aAAa,uMAAuM,aAAa,EAAE,MAAM,UAAU,YAAY,EAAE,MAAM,EAAE,MAAM,UAAU,aAAa,kBAAkB,GAAG,UAAU,EAAE,MAAM,UAAU,aAAa,8CAA8C,GAAG,QAAQ,EAA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;AAC9D,UAAI,CAAC,MAAM;AACT,qBAAa,IAAI,QAAQ,iBAAiB,QAAQ,EAAE;AACpD;AAAA,MACF;AAIA,UAAI,aAAa,iBAAiB;AAChC,cAAM,KAAK,YAAa,SAAiB,IAAc;AACvD,gBAAQ,IAAI,EAAE,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,KAAK,2CAA2C,sEAAiE,CAAC,EAAE,CAAC;AACnK;AAAA,MACF;AAEA,YAAM,cAAc,oBAAI,IAAI,CAAC,YAAY,YAAY,WAAW,CAAC;AACjE,UAAI,YAAY,IAAI,QAAQ,GAAG;AAC7B,4BAAoB,UAAU,QAAQ,EAAE,KAAK,CAACC,YAAmB;AAC/D,kBAAQ,IAAI,EAAE,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAMA,QAAO,CAAC,EAAE,CAAC;AAAA,QAC3D,CAAC,EAAE,MAAM,CAAC,QAAa;AACrB,uBAAa,IAAI,QAAQ,0BAA0B,IAAI,WAAW,OAAO,GAAG,CAAC,EAAE;AAAA,QACjF,CAAC;AACD;AAAA,MACF;AACA,YAAM,SAAS,eAAe,UAAU,QAAQ;AAChD,cAAQ,IAAI;AAAA,QACV,SAAS,CAAC,EAAE,MAAM,QAAQ,MAAM,OAAO,CAAC;AAAA,MAC1C,CAAC;AACD;AAAA,IACF;AAGA,QAAI,OAAO,UAAa,OAAO,MAAM;AACnC,mBAAa,IAAI,QAAQ,qBAAqB,MAAM,EAAE;AAAA,IACxD;AAAA,EACF,CAAC;AAED,KAAG,GAAG,SAAS,MAAM,QAAQ,KAAK,CAAC,CAAC;AACtC;;;AE9aA,eAAe;","names":["output","result"]}
|
|
1
|
+
{"version":3,"sources":["../../../mcp/src/generated/agon-orchestration.ts","../../../mcp/src/generated/rooms.ts","../../../mcp/src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAEA,SAAS,eAAe,cAAc,WAAW,YAAY,kBAAkB;AAE/E,SAAS,MAAM,eAAe;AAE9B,SAAS,uBA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AC;AACtC;;;AEzcA,eAAe;","names":["output","result"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
buildStepExecutors,
|
|
4
|
+
handleExitPlanMode,
|
|
5
|
+
handleProposePlan
|
|
6
|
+
} from "./chunk-6SOOHJZQ.js";
|
|
7
|
+
import "./chunk-47QQZGXP.js";
|
|
8
|
+
import "./chunk-24EWX243.js";
|
|
9
|
+
import "./chunk-6GENPQFW.js";
|
|
10
|
+
import "./chunk-MWF4RHRU.js";
|
|
11
|
+
import "./chunk-4ZDVR5XR.js";
|
|
12
|
+
export {
|
|
13
|
+
buildStepExecutors,
|
|
14
|
+
handleExitPlanMode,
|
|
15
|
+
handleProposePlan
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=plan-mode-I3BZOBFB.js.map
|