@kernlang/agon 0.1.2 → 0.1.4
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-F72VMPTY.js → chunk-4LVYSUMN.js} +6 -4
- package/dist/{chunk-F72VMPTY.js.map → chunk-4LVYSUMN.js.map} +1 -1
- package/dist/chunk-6ANHPXGZ.js +102 -0
- package/dist/chunk-6ANHPXGZ.js.map +1 -0
- package/dist/chunk-ATUT2BUQ.js +2907 -0
- package/dist/chunk-ATUT2BUQ.js.map +1 -0
- package/dist/{chunk-7PMMOQZ7.js → chunk-C22VTCS6.js} +1129 -406
- package/dist/chunk-C22VTCS6.js.map +1 -0
- package/dist/{chunk-IA4AR2R4.js → chunk-FCCH7IPJ.js} +298 -554
- package/dist/chunk-FCCH7IPJ.js.map +1 -0
- package/dist/{chunk-GLQ5IQ5X.js → chunk-O6YP55RV.js} +10 -99
- package/dist/chunk-O6YP55RV.js.map +1 -0
- package/dist/chunk-WE32YJKT.js +489 -0
- package/dist/chunk-WE32YJKT.js.map +1 -0
- package/dist/engines/minimax-coding-plan-minimax-m3.json +27 -0
- package/dist/{forge-G274YAH7.js → forge-ES4RN7YM.js} +5 -4
- package/dist/index.js +1704 -3444
- package/dist/index.js.map +1 -1
- package/dist/{plan-mode-DCE7VGQV.js → plan-mode-4XRC2ZC7.js} +6 -4
- package/dist/{src-U2AWRNRL.js → src-WJGIOESS.js} +28 -2
- package/dist/update-HHN4PJQI.js +30 -0
- package/dist/update-HHN4PJQI.js.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-7PMMOQZ7.js.map +0 -1
- package/dist/chunk-GLQ5IQ5X.js.map +0 -1
- package/dist/chunk-IA4AR2R4.js.map +0 -1
- /package/dist/{forge-G274YAH7.js.map → forge-ES4RN7YM.js.map} +0 -0
- /package/dist/{plan-mode-DCE7VGQV.js.map → plan-mode-4XRC2ZC7.js.map} +0 -0
- /package/dist/{src-U2AWRNRL.js.map → src-WJGIOESS.js.map} +0 -0
|
@@ -3,13 +3,15 @@ import {
|
|
|
3
3
|
buildStepExecutors,
|
|
4
4
|
handleExitPlanMode,
|
|
5
5
|
handleProposePlan
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-O6YP55RV.js";
|
|
7
|
+
import "./chunk-6ANHPXGZ.js";
|
|
8
|
+
import "./chunk-FCCH7IPJ.js";
|
|
9
|
+
import "./chunk-WE32YJKT.js";
|
|
10
|
+
import "./chunk-C22VTCS6.js";
|
|
9
11
|
import "./chunk-5QMVQPHY.js";
|
|
10
12
|
export {
|
|
11
13
|
buildStepExecutors,
|
|
12
14
|
handleExitPlanMode,
|
|
13
15
|
handleProposePlan
|
|
14
16
|
};
|
|
15
|
-
//# sourceMappingURL=plan-mode-
|
|
17
|
+
//# sourceMappingURL=plan-mode-4XRC2ZC7.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
AGON_HOME,
|
|
4
|
+
AGON_MODE_NAMES,
|
|
4
5
|
AgentSession,
|
|
5
6
|
AgentTeam,
|
|
6
7
|
AgonError,
|
|
@@ -70,6 +71,7 @@ import {
|
|
|
70
71
|
buildCliGroupsImmediate,
|
|
71
72
|
buildCliModelGroups,
|
|
72
73
|
buildCliModelGroupsAsync,
|
|
74
|
+
buildCodebaseMap,
|
|
73
75
|
buildCritiquePrompt,
|
|
74
76
|
buildExtensionContext,
|
|
75
77
|
buildForgePrompt,
|
|
@@ -98,11 +100,13 @@ import {
|
|
|
98
100
|
checkFileWritePermission,
|
|
99
101
|
classifyDispatchFailure,
|
|
100
102
|
classifyTask,
|
|
103
|
+
clearCodebaseMapCache,
|
|
101
104
|
clearConversation,
|
|
102
105
|
clearLineSequence,
|
|
103
106
|
clearLinesSequence,
|
|
104
107
|
clearProjectFileStateCaches,
|
|
105
108
|
clearSessionState,
|
|
109
|
+
collectSourceFiles,
|
|
106
110
|
companionDispatch,
|
|
107
111
|
completeAgent,
|
|
108
112
|
completeTurn,
|
|
@@ -121,6 +125,7 @@ import {
|
|
|
121
125
|
createCesarMemory,
|
|
122
126
|
createCesarPlan,
|
|
123
127
|
createCompanionSession,
|
|
128
|
+
createConquerTool,
|
|
124
129
|
createDelegateTool,
|
|
125
130
|
createEditTool,
|
|
126
131
|
createExitPlanModeTool,
|
|
@@ -181,6 +186,7 @@ import {
|
|
|
181
186
|
exitCesarPlan,
|
|
182
187
|
extractImagesFromInput,
|
|
183
188
|
extractPatchFilePatterns,
|
|
189
|
+
extractSymbols,
|
|
184
190
|
failAgent,
|
|
185
191
|
failPlan,
|
|
186
192
|
fetchModelsRegistry,
|
|
@@ -205,6 +211,7 @@ import {
|
|
|
205
211
|
getAgonHome,
|
|
206
212
|
getAuthKey,
|
|
207
213
|
getBinaryVersion,
|
|
214
|
+
getBinaryVersionAsync,
|
|
208
215
|
getCesarPlansDir,
|
|
209
216
|
getEngineGlickoRating,
|
|
210
217
|
getEnginePricing,
|
|
@@ -219,6 +226,7 @@ import {
|
|
|
219
226
|
gitDiffStat,
|
|
220
227
|
gitStatusShort,
|
|
221
228
|
gitTruncatedDiff,
|
|
229
|
+
hasProjectBrief,
|
|
222
230
|
headChanged,
|
|
223
231
|
headSha,
|
|
224
232
|
hooksFailed,
|
|
@@ -226,6 +234,7 @@ import {
|
|
|
226
234
|
htmlToText,
|
|
227
235
|
hydrateWorktreeBuildArtifacts,
|
|
228
236
|
initExtensions,
|
|
237
|
+
installKernStackTraceMapper,
|
|
229
238
|
invertPatch,
|
|
230
239
|
isDangerousCommand,
|
|
231
240
|
isDirty,
|
|
@@ -269,6 +278,7 @@ import {
|
|
|
269
278
|
makeFormat,
|
|
270
279
|
makeToolCall,
|
|
271
280
|
makeTurnComplete,
|
|
281
|
+
mapKernStackTrace,
|
|
272
282
|
mcpDiscoveryFingerprint,
|
|
273
283
|
mcpServersToWireFormat,
|
|
274
284
|
mergeBlocksByRole,
|
|
@@ -306,6 +316,7 @@ import {
|
|
|
306
316
|
recordForgeJudgment,
|
|
307
317
|
recordForgeOutcome,
|
|
308
318
|
refreshCliGroup,
|
|
319
|
+
refreshCliGroupVersion,
|
|
309
320
|
refreshProbedCliModels,
|
|
310
321
|
registerBuiltinCommands,
|
|
311
322
|
rehydrateSessionWorktree,
|
|
@@ -325,6 +336,7 @@ import {
|
|
|
325
336
|
resolveDedupSidecar,
|
|
326
337
|
resolveImagePath,
|
|
327
338
|
resolveIsolationMode,
|
|
339
|
+
resolveKernSourceLocation,
|
|
328
340
|
resolveWorkingDir,
|
|
329
341
|
resumeChatSession,
|
|
330
342
|
revertSnapshot,
|
|
@@ -376,6 +388,7 @@ import {
|
|
|
376
388
|
tracker,
|
|
377
389
|
unavailableUsage,
|
|
378
390
|
undoPatch,
|
|
391
|
+
uninstallKernStackTraceMapper,
|
|
379
392
|
updateChatSummary,
|
|
380
393
|
updateGlicko,
|
|
381
394
|
updateGlickoRanked,
|
|
@@ -397,7 +410,7 @@ import {
|
|
|
397
410
|
worktreeRemoveBestEffort,
|
|
398
411
|
writeProvenanceReport,
|
|
399
412
|
writeRunStatus
|
|
400
|
-
} from "./chunk-
|
|
413
|
+
} from "./chunk-C22VTCS6.js";
|
|
401
414
|
import {
|
|
402
415
|
apiDispatch,
|
|
403
416
|
apiStreamDispatch,
|
|
@@ -405,6 +418,7 @@ import {
|
|
|
405
418
|
} from "./chunk-5QMVQPHY.js";
|
|
406
419
|
export {
|
|
407
420
|
AGON_HOME,
|
|
421
|
+
AGON_MODE_NAMES,
|
|
408
422
|
AgentSession,
|
|
409
423
|
AgentTeam,
|
|
410
424
|
AgonError,
|
|
@@ -477,6 +491,7 @@ export {
|
|
|
477
491
|
buildCliGroupsImmediate,
|
|
478
492
|
buildCliModelGroups,
|
|
479
493
|
buildCliModelGroupsAsync,
|
|
494
|
+
buildCodebaseMap,
|
|
480
495
|
buildCritiquePrompt,
|
|
481
496
|
buildExtensionContext,
|
|
482
497
|
buildForgePrompt,
|
|
@@ -505,11 +520,13 @@ export {
|
|
|
505
520
|
checkFileWritePermission,
|
|
506
521
|
classifyDispatchFailure,
|
|
507
522
|
classifyTask,
|
|
523
|
+
clearCodebaseMapCache,
|
|
508
524
|
clearConversation,
|
|
509
525
|
clearLineSequence,
|
|
510
526
|
clearLinesSequence,
|
|
511
527
|
clearProjectFileStateCaches,
|
|
512
528
|
clearSessionState,
|
|
529
|
+
collectSourceFiles,
|
|
513
530
|
companionDispatch,
|
|
514
531
|
completeAgent,
|
|
515
532
|
completeTurn,
|
|
@@ -528,6 +545,7 @@ export {
|
|
|
528
545
|
createCesarMemory,
|
|
529
546
|
createCesarPlan,
|
|
530
547
|
createCompanionSession,
|
|
548
|
+
createConquerTool,
|
|
531
549
|
createDelegateTool,
|
|
532
550
|
createEditTool,
|
|
533
551
|
createExitPlanModeTool,
|
|
@@ -588,6 +606,7 @@ export {
|
|
|
588
606
|
exitCesarPlan,
|
|
589
607
|
extractImagesFromInput,
|
|
590
608
|
extractPatchFilePatterns,
|
|
609
|
+
extractSymbols,
|
|
591
610
|
failAgent,
|
|
592
611
|
failPlan,
|
|
593
612
|
fetchModelsRegistry,
|
|
@@ -612,6 +631,7 @@ export {
|
|
|
612
631
|
getAgonHome,
|
|
613
632
|
getAuthKey,
|
|
614
633
|
getBinaryVersion,
|
|
634
|
+
getBinaryVersionAsync,
|
|
615
635
|
getCesarPlansDir,
|
|
616
636
|
getEngineGlickoRating,
|
|
617
637
|
getEnginePricing,
|
|
@@ -626,6 +646,7 @@ export {
|
|
|
626
646
|
gitDiffStat,
|
|
627
647
|
gitStatusShort,
|
|
628
648
|
gitTruncatedDiff,
|
|
649
|
+
hasProjectBrief,
|
|
629
650
|
headChanged,
|
|
630
651
|
headSha,
|
|
631
652
|
hooksFailed,
|
|
@@ -633,6 +654,7 @@ export {
|
|
|
633
654
|
htmlToText,
|
|
634
655
|
hydrateWorktreeBuildArtifacts,
|
|
635
656
|
initExtensions,
|
|
657
|
+
installKernStackTraceMapper,
|
|
636
658
|
invertPatch,
|
|
637
659
|
isDangerousCommand,
|
|
638
660
|
isDirty,
|
|
@@ -676,6 +698,7 @@ export {
|
|
|
676
698
|
makeFormat,
|
|
677
699
|
makeToolCall,
|
|
678
700
|
makeTurnComplete,
|
|
701
|
+
mapKernStackTrace,
|
|
679
702
|
mcpDiscoveryFingerprint,
|
|
680
703
|
mcpServersToWireFormat,
|
|
681
704
|
mergeBlocksByRole,
|
|
@@ -713,6 +736,7 @@ export {
|
|
|
713
736
|
recordForgeJudgment,
|
|
714
737
|
recordForgeOutcome,
|
|
715
738
|
refreshCliGroup,
|
|
739
|
+
refreshCliGroupVersion,
|
|
716
740
|
refreshProbedCliModels,
|
|
717
741
|
registerBuiltinCommands,
|
|
718
742
|
rehydrateSessionWorktree,
|
|
@@ -732,6 +756,7 @@ export {
|
|
|
732
756
|
resolveDedupSidecar,
|
|
733
757
|
resolveImagePath,
|
|
734
758
|
resolveIsolationMode,
|
|
759
|
+
resolveKernSourceLocation,
|
|
735
760
|
resolveWorkingDir,
|
|
736
761
|
resumeChatSession,
|
|
737
762
|
revertSnapshot,
|
|
@@ -783,6 +808,7 @@ export {
|
|
|
783
808
|
tracker,
|
|
784
809
|
unavailableUsage,
|
|
785
810
|
undoPatch,
|
|
811
|
+
uninstallKernStackTraceMapper,
|
|
786
812
|
updateChatSummary,
|
|
787
813
|
updateGlicko,
|
|
788
814
|
updateGlickoRanked,
|
|
@@ -805,4 +831,4 @@ export {
|
|
|
805
831
|
writeProvenanceReport,
|
|
806
832
|
writeRunStatus
|
|
807
833
|
};
|
|
808
|
-
//# sourceMappingURL=src-
|
|
834
|
+
//# sourceMappingURL=src-WJGIOESS.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
DEFAULT_PACKAGE,
|
|
4
|
+
DEFAULT_TIMEOUT_MS,
|
|
5
|
+
DEFAULT_UPDATE_PACKAGE,
|
|
6
|
+
RESTART_DELAY_MS,
|
|
7
|
+
announcePhase,
|
|
8
|
+
buildNpmArgs,
|
|
9
|
+
runNpmInstall,
|
|
10
|
+
runUpdate,
|
|
11
|
+
suggestPermissionFix,
|
|
12
|
+
updateCommand
|
|
13
|
+
} from "./chunk-ATUT2BUQ.js";
|
|
14
|
+
import "./chunk-6ANHPXGZ.js";
|
|
15
|
+
import "./chunk-WE32YJKT.js";
|
|
16
|
+
import "./chunk-C22VTCS6.js";
|
|
17
|
+
import "./chunk-5QMVQPHY.js";
|
|
18
|
+
export {
|
|
19
|
+
DEFAULT_PACKAGE,
|
|
20
|
+
DEFAULT_TIMEOUT_MS,
|
|
21
|
+
DEFAULT_UPDATE_PACKAGE,
|
|
22
|
+
RESTART_DELAY_MS,
|
|
23
|
+
announcePhase,
|
|
24
|
+
buildNpmArgs,
|
|
25
|
+
runNpmInstall,
|
|
26
|
+
runUpdate,
|
|
27
|
+
suggestPermissionFix,
|
|
28
|
+
updateCommand
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=update-HHN4PJQI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernlang/agon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The competitive multi-AI orchestration CLI. Engines compete in isolated git worktrees on the same task, the best test-passing solution is applied, and Glicko-2 ratings track each model over time. Modes: forge, brainstorm, synthesis, tribunal, council, campfire, think, nero, goal, conquer.",
|
|
6
6
|
"keywords": [
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@kernlang/agon-engines": "^0.1.1",
|
|
58
|
-
"@kernlang/agon-dedup": "^0.1.
|
|
58
|
+
"@kernlang/agon-dedup": "^0.1.4",
|
|
59
59
|
"@ai-sdk/anthropic": "^3.0.67",
|
|
60
60
|
"@ai-sdk/openai-compatible": "^2.0.40",
|
|
61
61
|
"@kernlang/protocol": "~3.5.7",
|