@kernlang/agon 0.1.7 → 0.1.8
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-WDT5NJOA.js → chunk-CQBQPSE4.js} +2 -2
- package/dist/{chunk-6WWOJXG4.js → chunk-GHAMYNRC.js} +2 -2
- package/dist/{chunk-AONHRJRW.js → chunk-GMVFKWQA.js} +8 -7
- package/dist/{chunk-AONHRJRW.js.map → chunk-GMVFKWQA.js.map} +1 -1
- package/dist/{chunk-RKXVKX25.js → chunk-KPU23NS2.js} +2 -2
- package/dist/{forge-O2SJ5JIQ.js → forge-5QSRUNW6.js} +3 -3
- package/dist/index.js +160 -59
- package/dist/index.js.map +1 -1
- package/dist/{plan-mode-PFLUPGSY.js → plan-mode-5IQ2SKIS.js} +3 -3
- package/dist/{update-ODAAXWOD.js → update-WLRTYR77.js} +2 -2
- package/package.json +3 -3
- /package/dist/{chunk-WDT5NJOA.js.map → chunk-CQBQPSE4.js.map} +0 -0
- /package/dist/{chunk-6WWOJXG4.js.map → chunk-GHAMYNRC.js.map} +0 -0
- /package/dist/{chunk-RKXVKX25.js.map → chunk-KPU23NS2.js.map} +0 -0
- /package/dist/{forge-O2SJ5JIQ.js.map → forge-5QSRUNW6.js.map} +0 -0
- /package/dist/{plan-mode-PFLUPGSY.js.map → plan-mode-5IQ2SKIS.js.map} +0 -0
- /package/dist/{update-ODAAXWOD.js.map → update-WLRTYR77.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
parseConfidence,
|
|
7
7
|
runForge,
|
|
8
8
|
sessionResultStore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GMVFKWQA.js";
|
|
10
10
|
import {
|
|
11
11
|
ENGINE_COLORS
|
|
12
12
|
} from "./chunk-I2PMSXJ3.js";
|
|
@@ -1571,4 +1571,4 @@ export {
|
|
|
1571
1571
|
inferProjectFitnessCommand,
|
|
1572
1572
|
handleForge
|
|
1573
1573
|
};
|
|
1574
|
-
//# sourceMappingURL=chunk-
|
|
1574
|
+
//# sourceMappingURL=chunk-CQBQPSE4.js.map
|
|
@@ -2630,7 +2630,7 @@ function resolvePackageVersion(resolveSpecifier, wantName, fallback) {
|
|
|
2630
2630
|
}
|
|
2631
2631
|
return fallback;
|
|
2632
2632
|
}
|
|
2633
|
-
var VERSION = resolvePackageVersion(null, "@kernlang/agon", "0.1.
|
|
2633
|
+
var VERSION = resolvePackageVersion(null, "@kernlang/agon", "0.1.8");
|
|
2634
2634
|
var KERN_VERSION = resolvePackageVersion("@kernlang/terminal/runtime", "@kernlang/terminal", "3.5.7");
|
|
2635
2635
|
|
|
2636
2636
|
// src/generated/services/update-check.ts
|
|
@@ -2979,4 +2979,4 @@ export {
|
|
|
2979
2979
|
updateCommand,
|
|
2980
2980
|
DEFAULT_UPDATE_PACKAGE
|
|
2981
2981
|
};
|
|
2982
|
-
//# sourceMappingURL=chunk-
|
|
2982
|
+
//# sourceMappingURL=chunk-GHAMYNRC.js.map
|
|
@@ -8869,6 +8869,7 @@ RULE 2b \u2014 INTAKE FLOW: Every normal turn includes ROUTING CONTEXT with INTA
|
|
|
8869
8869
|
forge-slice / forge-full: define the target clearly first; forge only the hard slice or full broad task that benefits from competing implementations.
|
|
8870
8870
|
brainstorm / tribunal / campfire / review: call the matching orchestration tool directly when that is the recommended flow.
|
|
8871
8871
|
answer: answer directly.
|
|
8872
|
+
RULE 2c \u2014 MODE IS A CHOICE, NOT A REFLEX (decisions, not retrieval): Before firing ANY orchestration mode, ask what the task actually needs, then pick the mode that fits \u2014 never the one your reflex reaches for. Orchestration (Brainstorm/Tribunal/Campfire/Council) exists to resolve TRADEOFFS and DECISIONS: competing approaches, contested correctness, hard-to-reverse calls. It is NOT a way to FIND an answer you can produce yourself by reading code. If the ask is a lookup, an analysis, or already in hand \u2192 answer directly; convening a panel to discover what one investigation would reveal burns the user's tokens and time. "Find me X / are there issues in Y / how does Z work" = investigate and answer, NOT brainstorm. Escalate by stakes and reversibility: QuickNero = one adversary \xB7 Tribunal = two-side debate \xB7 Council = whole-panel + chair \xB7 Forge = competitive build. When the user explicitly names a mode ("brainstorm it", "tribunal this"), honor it \u2014 this rule governs the turns where YOU own the routing choice.
|
|
8872
8873
|
|
|
8873
8874
|
CRITICAL: You have orchestration modes as DIRECT TOOL CALLS. NEVER use Bash to run CLI commands for orchestration. Call the tools directly:
|
|
8874
8875
|
|
|
@@ -9268,7 +9269,7 @@ ${cleaned}`;
|
|
|
9268
9269
|
}
|
|
9269
9270
|
}
|
|
9270
9271
|
if (name === "ExitPlanMode") {
|
|
9271
|
-
const { handleExitPlanMode } = await import("./plan-mode-
|
|
9272
|
+
const { handleExitPlanMode } = await import("./plan-mode-5IQ2SKIS.js");
|
|
9272
9273
|
return "[DELEGATION_BREAK] " + handleExitPlanMode(String(args.reason ?? ""), ctx.cesar?.planDispatch ?? null, ctx);
|
|
9273
9274
|
}
|
|
9274
9275
|
if (name === "ProposePlan") {
|
|
@@ -9291,7 +9292,7 @@ ${cleaned}`;
|
|
|
9291
9292
|
}
|
|
9292
9293
|
}
|
|
9293
9294
|
}
|
|
9294
|
-
const { handleProposePlan } = await import("./plan-mode-
|
|
9295
|
+
const { handleProposePlan } = await import("./plan-mode-5IQ2SKIS.js");
|
|
9295
9296
|
const dispatch = ctx.cesar.planDispatch;
|
|
9296
9297
|
if (!dispatch) {
|
|
9297
9298
|
return "[PLAN_ERROR] Internal plan display dispatch unavailable. Retry the plan request so Agon can render the approval panel.";
|
|
@@ -10852,7 +10853,7 @@ ${enrichedInput}`;
|
|
|
10852
10853
|
});
|
|
10853
10854
|
continue;
|
|
10854
10855
|
}
|
|
10855
|
-
const { handleProposePlan } = await import("./plan-mode-
|
|
10856
|
+
const { handleProposePlan } = await import("./plan-mode-5IQ2SKIS.js");
|
|
10856
10857
|
const planDispatch = ctx.cesar.planDispatch ?? dispatch;
|
|
10857
10858
|
if (planDispatch) {
|
|
10858
10859
|
try {
|
|
@@ -10865,7 +10866,7 @@ ${enrichedInput}`;
|
|
|
10865
10866
|
}
|
|
10866
10867
|
} else if (signal.tool === "ExitPlanMode") {
|
|
10867
10868
|
recordToolUse("ExitPlanMode", "mcp", JSON.stringify(signal.args ?? {}), "done");
|
|
10868
|
-
const { handleExitPlanMode } = await import("./plan-mode-
|
|
10869
|
+
const { handleExitPlanMode } = await import("./plan-mode-5IQ2SKIS.js");
|
|
10869
10870
|
const planDispatch = ctx.cesar.planDispatch ?? dispatch;
|
|
10870
10871
|
try {
|
|
10871
10872
|
const exitResult = handleExitPlanMode(String(signal.args?.reason ?? ""), planDispatch, ctx);
|
|
@@ -11081,7 +11082,7 @@ ${enrichedInput}`;
|
|
|
11081
11082
|
output: "A Cesar plan is already active; nested plans are blocked. Resume or cancel the current plan before proposing another."
|
|
11082
11083
|
});
|
|
11083
11084
|
} else {
|
|
11084
|
-
const { handleProposePlan } = await import("./plan-mode-
|
|
11085
|
+
const { handleProposePlan } = await import("./plan-mode-5IQ2SKIS.js");
|
|
11085
11086
|
const planDispatch = ctx.cesar.planDispatch ?? dispatch;
|
|
11086
11087
|
const plan = await handleProposePlan(ppArgs, planDispatch, ctx);
|
|
11087
11088
|
if (ctx.setActivePlan) ctx.setActivePlan(plan);
|
|
@@ -11105,7 +11106,7 @@ ${enrichedInput}`;
|
|
|
11105
11106
|
const epArgs = ctx.cesar._exitPlanModeArgs;
|
|
11106
11107
|
delete ctx.cesar._exitPlanModeArgs;
|
|
11107
11108
|
try {
|
|
11108
|
-
const { handleExitPlanMode } = await import("./plan-mode-
|
|
11109
|
+
const { handleExitPlanMode } = await import("./plan-mode-5IQ2SKIS.js");
|
|
11109
11110
|
const planDispatch = ctx.cesar.planDispatch ?? dispatch;
|
|
11110
11111
|
const exitResult = handleExitPlanMode(String(epArgs?.reason ?? ""), planDispatch, ctx);
|
|
11111
11112
|
dispatch({ type: "tool-call", engineId: cesarEngineId, tool: "ExitPlanMode", input: JSON.stringify(epArgs ?? {}), status: "done", output: exitResult });
|
|
@@ -11873,4 +11874,4 @@ export {
|
|
|
11873
11874
|
ensureCesarSession,
|
|
11874
11875
|
handleCesarBrain
|
|
11875
11876
|
};
|
|
11876
|
-
//# sourceMappingURL=chunk-
|
|
11877
|
+
//# sourceMappingURL=chunk-GMVFKWQA.js.map
|