@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.
Files changed (45) hide show
  1. package/dist/{chunk-GMVFKWQA.js → chunk-24EWX243.js} +1393 -126
  2. package/dist/chunk-24EWX243.js.map +1 -0
  3. package/dist/{chunk-SUT2HDOY.js → chunk-47QQZGXP.js} +11 -1
  4. package/dist/{chunk-SUT2HDOY.js.map → chunk-47QQZGXP.js.map} +1 -1
  5. package/dist/{chunk-45YTXJWJ.js → chunk-4ZDVR5XR.js} +3 -1
  6. package/dist/{chunk-45YTXJWJ.js.map → chunk-4ZDVR5XR.js.map} +1 -1
  7. package/dist/{chunk-I2PMSXJ3.js → chunk-6GENPQFW.js} +2 -2
  8. package/dist/{chunk-KPU23NS2.js → chunk-6SOOHJZQ.js} +75 -13
  9. package/dist/chunk-6SOOHJZQ.js.map +1 -0
  10. package/dist/{chunk-GHAMYNRC.js → chunk-FORBHCTM.js} +41 -7
  11. package/dist/chunk-FORBHCTM.js.map +1 -0
  12. package/dist/{chunk-CQBQPSE4.js → chunk-MMPLPYSK.js} +219 -29
  13. package/dist/chunk-MMPLPYSK.js.map +1 -0
  14. package/dist/{chunk-BPKY4OF2.js → chunk-MWF4RHRU.js} +3072 -1011
  15. package/dist/chunk-MWF4RHRU.js.map +1 -0
  16. package/dist/{dispatch-J4RSWLXM.js → dispatch-FQQWL2YW.js} +2 -2
  17. package/dist/engines/agy.json +6 -0
  18. package/dist/engines/claude.json +4 -0
  19. package/dist/engines/codex.json +4 -0
  20. package/dist/engines/minimax-coding-plan-minimax-m3.json +4 -0
  21. package/dist/{forge-5QSRUNW6.js → forge-ZFCSXC3Z.js} +6 -6
  22. package/dist/index.js +16712 -14634
  23. package/dist/index.js.map +1 -1
  24. package/dist/mcp/engines/agy.json +6 -0
  25. package/dist/mcp/engines/claude.json +4 -0
  26. package/dist/mcp/engines/codex.json +4 -0
  27. package/dist/mcp/engines/minimax-coding-plan-minimax-m3.json +4 -0
  28. package/dist/mcp/index.js +34 -6
  29. package/dist/mcp/index.js.map +1 -1
  30. package/dist/plan-mode-I3BZOBFB.js +17 -0
  31. package/dist/{src-253BUXEF.js → src-WMV62WO7.js} +171 -9
  32. package/dist/{update-WLRTYR77.js → update-H3JQXPGO.js} +6 -6
  33. package/package.json +2 -2
  34. package/dist/chunk-BPKY4OF2.js.map +0 -1
  35. package/dist/chunk-CQBQPSE4.js.map +0 -1
  36. package/dist/chunk-GHAMYNRC.js.map +0 -1
  37. package/dist/chunk-GMVFKWQA.js.map +0 -1
  38. package/dist/chunk-KPU23NS2.js.map +0 -1
  39. package/dist/plan-mode-5IQ2SKIS.js +0 -17
  40. /package/dist/{chunk-I2PMSXJ3.js.map → chunk-6GENPQFW.js.map} +0 -0
  41. /package/dist/{dispatch-J4RSWLXM.js.map → dispatch-FQQWL2YW.js.map} +0 -0
  42. /package/dist/{forge-5QSRUNW6.js.map → forge-ZFCSXC3Z.js.map} +0 -0
  43. /package/dist/{plan-mode-5IQ2SKIS.js.map → plan-mode-I3BZOBFB.js.map} +0 -0
  44. /package/dist/{src-253BUXEF.js.map → src-WMV62WO7.js.map} +0 -0
  45. /package/dist/{update-WLRTYR77.js.map → update-H3JQXPGO.js.map} +0 -0
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
+ AGON_ATTRIBUTION,
4
+ AGON_ATTRIBUTION_PR,
3
5
  AGON_HOME,
4
6
  AGON_MODE_NAMES,
5
7
  AgentSession,
@@ -13,6 +15,8 @@ import {
13
15
  DEFAULT_AGON_CONFIG,
14
16
  DEFAULT_CONFIG,
15
17
  DEFAULT_WEIGHTS,
18
+ EVENT_LOG_FLUSH_MS,
19
+ EVENT_LOG_ROTATE_BYTES,
16
20
  EngineDefinitionSchema,
17
21
  EngineHealth,
18
22
  EngineNotFoundError,
@@ -25,12 +29,16 @@ import {
25
29
  FitnessError,
26
30
  GitError,
27
31
  ISOLATION_MODES,
32
+ InProcessSessionHost,
33
+ MEMORY_SECTIONS,
28
34
  PASTE_MAX_AGE,
35
+ PERMISSION_DENIED_MESSAGE,
29
36
  PRESENCE_TTL_MS,
30
37
  PlanStateError,
31
38
  RATINGS_PATH,
32
39
  RUNS_DIR,
33
40
  SKILLS_DIR,
41
+ SUBSCRIBE_POLL_MS,
34
42
  SYNTAX_VALIDATOR_DISABLE_ENV,
35
43
  SYNTAX_VALIDATOR_TIMEOUT_MS,
36
44
  Semaphore,
@@ -52,8 +60,13 @@ import {
52
60
  advisorScore,
53
61
  agonPath,
54
62
  analyzeFlows,
63
+ append,
64
+ appendAttribution,
65
+ appendCoAuthor,
55
66
  appendEvent,
67
+ appendMemoryLine,
56
68
  appendMessage,
69
+ appendPrAttribution,
57
70
  appendUserTurnIfAbsent,
58
71
  applyEffectPackage,
59
72
  applyPatch,
@@ -64,10 +77,12 @@ import {
64
77
  approveTool,
65
78
  assignForgeRoles,
66
79
  assignTeamRoles,
80
+ bashRanGate,
67
81
  beginTurn,
68
82
  branchChanged,
69
83
  branchExists,
70
84
  bridgeShellHooks,
85
+ budgetRatioPct,
71
86
  buildAgentInvestigateSynthesisPrompt,
72
87
  buildAgentSynthesisPrompt,
73
88
  buildApiTurnEvents,
@@ -76,6 +91,8 @@ import {
76
91
  buildCliModelGroups,
77
92
  buildCliModelGroupsAsync,
78
93
  buildCodebaseMap,
94
+ buildCompactionPrompt,
95
+ buildCompactionSummary,
79
96
  buildCritiquePrompt,
80
97
  buildExtensionContext,
81
98
  buildForgePrompt,
@@ -85,11 +102,13 @@ import {
85
102
  buildImageAttachment,
86
103
  buildKernContextSpine,
87
104
  buildModelEntries,
105
+ buildProjectMemoryBlock,
88
106
  buildReviewPrompt,
89
107
  buildRolePrompt,
90
108
  buildSearchRequest,
91
109
  buildSpecializedPrompt,
92
110
  buildStageContext,
111
+ buildSummarizationContext,
93
112
  buildSynthesisPrompt,
94
113
  buildToolSystemPrompt,
95
114
  buildTribunalPrompt,
@@ -97,12 +116,11 @@ import {
97
116
  cancelAgent,
98
117
  cancelCesarPlan,
99
118
  cancelPlan,
119
+ canonicalMemorySection,
100
120
  cesarPlanJsonPath,
101
121
  cesarPlanMarkdownPath,
102
- checkBashPermission,
103
122
  checkBudget,
104
- checkFileReadPermission,
105
- checkFileWritePermission,
123
+ checkSessionBudget,
106
124
  classifyDispatchFailure,
107
125
  classifyTask,
108
126
  clearCodebaseMapCache,
@@ -112,6 +130,7 @@ import {
112
130
  clearProjectFileStateCaches,
113
131
  clearSessionState,
114
132
  closeRoom,
133
+ coAuthorTrailer,
115
134
  collectSourceFiles,
116
135
  companionDispatch,
117
136
  completeAgent,
@@ -142,6 +161,7 @@ import {
142
161
  createGrepTool,
143
162
  createListPlansTool,
144
163
  createLogger,
164
+ createMultiEditTool,
145
165
  createPersistentSession,
146
166
  createPipelineTool,
147
167
  createPlan,
@@ -154,6 +174,7 @@ import {
154
174
  createReviewTool,
155
175
  createRoom,
156
176
  createRunDir,
177
+ createSaveMemoryTool,
157
178
  createSessionWorktree,
158
179
  createSidechainLogger,
159
180
  createSpeculator,
@@ -166,6 +187,7 @@ import {
166
187
  createWriteTool,
167
188
  currentBranch,
168
189
  cursorUpSequence,
190
+ defaultBaseBranch,
169
191
  defaultFinalizeOnScoreForTask,
170
192
  deletePlan,
171
193
  deleteThread,
@@ -180,23 +202,40 @@ import {
180
202
  discoverCliModelsAsync,
181
203
  discoverEngines,
182
204
  discoverExtensionDirs,
205
+ discoverGate,
183
206
  discoverMcpServers,
184
207
  effectPackageDiff,
208
+ effectiveWindow,
209
+ encodeDaemonRequest,
210
+ encodeDaemonResponse,
185
211
  encodeImagesForDispatch,
186
212
  engineHealth,
187
213
  ensureAgonHome,
188
214
  ensureCurrentWorkspace,
189
215
  estimateCost,
216
+ estimateCostCacheAware,
217
+ estimateFlatHistoryTokens,
218
+ estimateMessageHistoryTokens,
219
+ estimateMessageTokens,
220
+ estimatePtyTokens,
221
+ estimateSessionTokens,
190
222
  estimateTokens,
191
223
  estimatedTokensToCost,
192
224
  estimatedUsage,
225
+ evaluateBashRules,
226
+ evaluateFilePathRules,
227
+ evaluatePermissionRules,
193
228
  evaluateStop,
229
+ evaluateToolRules,
230
+ eventLogWriteFailures,
231
+ eventsPath,
194
232
  executePlan,
195
233
  executeToolCall,
196
234
  executeToolCalls,
197
235
  exitCesarPlan,
198
236
  extractImagesFromInput,
199
237
  extractPatchFilePatterns,
238
+ extractProjectMemorySections,
200
239
  extractSymbols,
201
240
  failAgent,
202
241
  failPlan,
@@ -205,8 +244,10 @@ import {
205
244
  fileStateCache,
206
245
  findBinary,
207
246
  findLatestRunDir,
247
+ findSafeKeepStart,
208
248
  findSessionWorktree,
209
249
  findSkill,
250
+ flush,
210
251
  forkActiveThread,
211
252
  formatCesarPlanMarkdown,
212
253
  formatChatContextForPrompt,
@@ -231,24 +272,33 @@ import {
231
272
  getProjectFileStateCache,
232
273
  getRatings,
233
274
  getReadySteps,
275
+ getSessionHost,
234
276
  getTeamElo,
235
277
  getWorkspace,
236
278
  gitChangedFiles,
237
279
  gitDiffStat,
238
280
  gitStatusShort,
239
281
  gitTruncatedDiff,
282
+ githubRepoUrl,
240
283
  hasProjectBrief,
284
+ hasRedirection,
285
+ hasShellControl,
286
+ hasSubstitution,
287
+ hasToolHooks,
241
288
  headChanged,
242
289
  headSha,
243
290
  hooksFailed,
244
291
  hooksOutput,
245
292
  htmlToText,
246
293
  hydrateWorktreeBuildArtifacts,
294
+ inProcessSessionHost,
247
295
  initExtensions,
248
296
  installKernStackTraceMapper,
249
297
  invertPatch,
250
298
  isDangerousCommand,
251
299
  isDirty,
300
+ isFlatRateEngine,
301
+ isGateSkipSignal,
252
302
  isHeavyTool,
253
303
  isImagePath,
254
304
  isKernProject,
@@ -258,6 +308,7 @@ import {
258
308
  isTerminal,
259
309
  isValidIsolationMode,
260
310
  latestChatSession,
311
+ latestSeq,
261
312
  lineageFromRegistry,
262
313
  lineupKey,
263
314
  listCesarPlans,
@@ -266,6 +317,7 @@ import {
266
317
  listPresence,
267
318
  listRooms,
268
319
  listSessionWorktrees,
320
+ listSessions,
269
321
  listSnapshots,
270
322
  listStoredProviders,
271
323
  listThreadsForProject,
@@ -297,23 +349,33 @@ import {
297
349
  mcpServersToWireFormat,
298
350
  mergeBlocksByRole,
299
351
  mergeStepResult,
352
+ metaPath,
300
353
  mimeFromExt,
301
354
  modelEntryToEngineDef,
302
355
  normalizeDroppedPath,
356
+ normalizeGitHubRemote,
357
+ normalizeMemoryLine,
303
358
  normalizeSessionChunk,
304
359
  normalizeTodos,
305
360
  parseAndValidateUrl,
361
+ parseDaemonRequest,
362
+ parseDaemonResponse,
306
363
  parseMentions,
307
364
  parsePatch,
365
+ parsePermissionRule,
366
+ parsePermissionRuleSet,
308
367
  parseSearchResults,
309
368
  parseStreamChunk,
310
369
  parseToolCalls,
370
+ parseToolHooks,
311
371
  pasteStore,
312
372
  patchSummary,
373
+ pathRuleMatches,
313
374
  pickTopRatedEngine,
314
375
  planCostEstimator,
315
376
  planEngineIsolation,
316
377
  predictTeamRating,
378
+ prefilledPrUrl,
317
379
  preflightApply,
318
380
  printRunSummary,
319
381
  processToolResponse,
@@ -326,6 +388,7 @@ import {
326
388
  readActiveLease,
327
389
  readEvents,
328
390
  readFlows,
391
+ readMeta,
329
392
  readOnlyDiff,
330
393
  readPatchFromManifest,
331
394
  readPatchFromPath,
@@ -347,31 +410,41 @@ import {
347
410
  removePresence,
348
411
  removeSessionWorktree,
349
412
  removeWorkspace,
413
+ renderCompactionText,
350
414
  renderProvenanceJson,
351
415
  renderProvenanceMarkdown,
352
416
  renderSkillPrompt,
353
417
  renderStageContext,
418
+ replay,
354
419
  repoRoot,
355
420
  requestApproval,
421
+ resetEventLogState,
356
422
  resetStepForRetry,
423
+ resolveCharsPerToken,
357
424
  resolveDedupSidecar,
358
425
  resolveImagePath,
359
426
  resolveIsolationMode,
360
427
  resolveKernSourceLocation,
428
+ resolveRulePath,
429
+ resolveThresholds,
361
430
  resolveWorkingDir,
362
431
  resumeChatSession,
363
432
  revertSnapshot,
364
433
  roomDir,
365
434
  roomExists,
366
435
  roomsDir,
436
+ ruleMatches,
367
437
  runAgentInvestigateSynthesis,
368
438
  runAgentTeamSynthesis,
369
439
  runApiAgentLoop,
370
440
  runHooks,
371
441
  runPostSynthesisFitnessCheck,
442
+ runPostToolUseHooks,
443
+ runPreToolUseHooks,
372
444
  runToolLoop,
373
445
  sanitizePlanSteps,
374
446
  sanitizeRunLabel,
447
+ sanitizeSessionId,
375
448
  saveAuthStore,
376
449
  saveCesarPlan,
377
450
  saveConversation,
@@ -389,7 +462,9 @@ import {
389
462
  seedSuccessorRating,
390
463
  sessionCacheDir,
391
464
  sessionContext,
465
+ sessionDir,
392
466
  sessionWorktreesDir,
467
+ sessionsRoot,
393
468
  setAuthKey,
394
469
  setEngineStrengths,
395
470
  setEngineWeaknesses,
@@ -400,14 +475,18 @@ import {
400
475
  snapshotWorkspace,
401
476
  spawnStream,
402
477
  spawnWithTimeout,
478
+ splitFrames,
403
479
  splitPromptBlocks,
480
+ splitShellSegments,
404
481
  startChatSession,
405
482
  startPlan,
406
483
  stashSnapshot,
407
484
  stripEngineArtifacts,
485
+ stripProjectMemorySections,
408
486
  switchWorkspace,
409
487
  takeSnapshot,
410
488
  tiebreak,
489
+ todayPrefix,
411
490
  tokensToCost,
412
491
  toolCallsToApiFormat,
413
492
  toolsToOpenAIFormat,
@@ -423,6 +502,8 @@ import {
423
502
  validateEngineDir,
424
503
  validateManifest,
425
504
  validateSyntax,
505
+ visionSupportNote,
506
+ withFileLock,
426
507
  wordWrap,
427
508
  worktreeAddOnBranch,
428
509
  worktreeChangedDiff,
@@ -437,13 +518,15 @@ import {
437
518
  worktreeRemoveBestEffort,
438
519
  writeProvenanceReport,
439
520
  writeRunStatus
440
- } from "./chunk-BPKY4OF2.js";
521
+ } from "./chunk-MWF4RHRU.js";
441
522
  import {
442
523
  apiDispatch,
443
524
  apiStreamDispatch,
444
525
  apiStreamDispatchWithHistory
445
- } from "./chunk-45YTXJWJ.js";
526
+ } from "./chunk-4ZDVR5XR.js";
446
527
  export {
528
+ AGON_ATTRIBUTION,
529
+ AGON_ATTRIBUTION_PR,
447
530
  AGON_HOME,
448
531
  AGON_MODE_NAMES,
449
532
  AgentSession,
@@ -457,6 +540,8 @@ export {
457
540
  DEFAULT_AGON_CONFIG,
458
541
  DEFAULT_CONFIG,
459
542
  DEFAULT_WEIGHTS,
543
+ EVENT_LOG_FLUSH_MS,
544
+ EVENT_LOG_ROTATE_BYTES,
460
545
  EngineDefinitionSchema,
461
546
  EngineHealth,
462
547
  EngineNotFoundError,
@@ -469,12 +554,16 @@ export {
469
554
  FitnessError,
470
555
  GitError,
471
556
  ISOLATION_MODES,
557
+ InProcessSessionHost,
558
+ MEMORY_SECTIONS,
472
559
  PASTE_MAX_AGE,
560
+ PERMISSION_DENIED_MESSAGE,
473
561
  PRESENCE_TTL_MS,
474
562
  PlanStateError,
475
563
  RATINGS_PATH,
476
564
  RUNS_DIR,
477
565
  SKILLS_DIR,
566
+ SUBSCRIBE_POLL_MS,
478
567
  SYNTAX_VALIDATOR_DISABLE_ENV,
479
568
  SYNTAX_VALIDATOR_TIMEOUT_MS,
480
569
  Semaphore,
@@ -499,8 +588,12 @@ export {
499
588
  apiDispatch,
500
589
  apiStreamDispatch,
501
590
  apiStreamDispatchWithHistory,
591
+ appendAttribution,
592
+ appendCoAuthor,
502
593
  appendEvent,
594
+ appendMemoryLine,
503
595
  appendMessage,
596
+ appendPrAttribution,
504
597
  appendUserTurnIfAbsent,
505
598
  applyEffectPackage,
506
599
  applyPatch,
@@ -511,10 +604,12 @@ export {
511
604
  approveTool,
512
605
  assignForgeRoles,
513
606
  assignTeamRoles,
607
+ bashRanGate,
514
608
  beginTurn,
515
609
  branchChanged,
516
610
  branchExists,
517
611
  bridgeShellHooks,
612
+ budgetRatioPct,
518
613
  buildAgentInvestigateSynthesisPrompt,
519
614
  buildAgentSynthesisPrompt,
520
615
  buildApiTurnEvents,
@@ -523,6 +618,8 @@ export {
523
618
  buildCliModelGroups,
524
619
  buildCliModelGroupsAsync,
525
620
  buildCodebaseMap,
621
+ buildCompactionPrompt,
622
+ buildCompactionSummary,
526
623
  buildCritiquePrompt,
527
624
  buildExtensionContext,
528
625
  buildForgePrompt,
@@ -532,11 +629,13 @@ export {
532
629
  buildImageAttachment,
533
630
  buildKernContextSpine,
534
631
  buildModelEntries,
632
+ buildProjectMemoryBlock,
535
633
  buildReviewPrompt,
536
634
  buildRolePrompt,
537
635
  buildSearchRequest,
538
636
  buildSpecializedPrompt,
539
637
  buildStageContext,
638
+ buildSummarizationContext,
540
639
  buildSynthesisPrompt,
541
640
  buildToolSystemPrompt,
542
641
  buildTribunalPrompt,
@@ -544,12 +643,11 @@ export {
544
643
  cancelAgent,
545
644
  cancelCesarPlan,
546
645
  cancelPlan,
646
+ canonicalMemorySection,
547
647
  cesarPlanJsonPath,
548
648
  cesarPlanMarkdownPath,
549
- checkBashPermission,
550
649
  checkBudget,
551
- checkFileReadPermission,
552
- checkFileWritePermission,
650
+ checkSessionBudget,
553
651
  classifyDispatchFailure,
554
652
  classifyTask,
555
653
  clearCodebaseMapCache,
@@ -559,6 +657,7 @@ export {
559
657
  clearProjectFileStateCaches,
560
658
  clearSessionState,
561
659
  closeRoom,
660
+ coAuthorTrailer,
562
661
  collectSourceFiles,
563
662
  companionDispatch,
564
663
  completeAgent,
@@ -589,6 +688,7 @@ export {
589
688
  createGrepTool,
590
689
  createListPlansTool,
591
690
  createLogger,
691
+ createMultiEditTool,
592
692
  createPersistentSession,
593
693
  createPipelineTool,
594
694
  createPlan,
@@ -601,6 +701,7 @@ export {
601
701
  createReviewTool,
602
702
  createRoom,
603
703
  createRunDir,
704
+ createSaveMemoryTool,
604
705
  createSessionWorktree,
605
706
  createSidechainLogger,
606
707
  createSpeculator,
@@ -613,6 +714,7 @@ export {
613
714
  createWriteTool,
614
715
  currentBranch,
615
716
  cursorUpSequence,
717
+ defaultBaseBranch,
616
718
  defaultFinalizeOnScoreForTask,
617
719
  deletePlan,
618
720
  deleteThread,
@@ -627,23 +729,50 @@ export {
627
729
  discoverCliModelsAsync,
628
730
  discoverEngines,
629
731
  discoverExtensionDirs,
732
+ discoverGate,
630
733
  discoverMcpServers,
631
734
  effectPackageDiff,
735
+ effectiveWindow,
736
+ encodeDaemonRequest,
737
+ encodeDaemonResponse,
632
738
  encodeImagesForDispatch,
633
739
  engineHealth,
634
740
  ensureAgonHome,
635
741
  ensureCurrentWorkspace,
636
742
  estimateCost,
743
+ estimateCostCacheAware,
744
+ estimateFlatHistoryTokens,
745
+ estimateMessageHistoryTokens,
746
+ estimateMessageTokens,
747
+ estimatePtyTokens,
748
+ estimateSessionTokens,
637
749
  estimateTokens,
638
750
  estimatedTokensToCost,
639
751
  estimatedUsage,
752
+ evaluateBashRules,
753
+ evaluateFilePathRules,
754
+ evaluatePermissionRules,
640
755
  evaluateStop,
756
+ evaluateToolRules,
757
+ append as eventLogAppend,
758
+ eventsPath as eventLogEventsPath,
759
+ flush as eventLogFlush,
760
+ latestSeq as eventLogLatestSeq,
761
+ listSessions as eventLogListSessions,
762
+ metaPath as eventLogMetaPath,
763
+ readMeta as eventLogReadMeta,
764
+ replay as eventLogReplay,
765
+ sanitizeSessionId as eventLogSanitizeSessionId,
766
+ sessionDir as eventLogSessionDir,
767
+ sessionsRoot as eventLogSessionsRoot,
768
+ eventLogWriteFailures,
641
769
  executePlan,
642
770
  executeToolCall,
643
771
  executeToolCalls,
644
772
  exitCesarPlan,
645
773
  extractImagesFromInput,
646
774
  extractPatchFilePatterns,
775
+ extractProjectMemorySections,
647
776
  extractSymbols,
648
777
  failAgent,
649
778
  failPlan,
@@ -652,6 +781,7 @@ export {
652
781
  fileStateCache,
653
782
  findBinary,
654
783
  findLatestRunDir,
784
+ findSafeKeepStart,
655
785
  findSessionWorktree,
656
786
  findSkill,
657
787
  forkActiveThread,
@@ -678,24 +808,33 @@ export {
678
808
  getProjectFileStateCache,
679
809
  getRatings,
680
810
  getReadySteps,
811
+ getSessionHost,
681
812
  getTeamElo,
682
813
  getWorkspace,
683
814
  gitChangedFiles,
684
815
  gitDiffStat,
685
816
  gitStatusShort,
686
817
  gitTruncatedDiff,
818
+ githubRepoUrl,
687
819
  hasProjectBrief,
820
+ hasRedirection,
821
+ hasShellControl,
822
+ hasSubstitution,
823
+ hasToolHooks,
688
824
  headChanged,
689
825
  headSha,
690
826
  hooksFailed,
691
827
  hooksOutput,
692
828
  htmlToText,
693
829
  hydrateWorktreeBuildArtifacts,
830
+ inProcessSessionHost,
694
831
  initExtensions,
695
832
  installKernStackTraceMapper,
696
833
  invertPatch,
697
834
  isDangerousCommand,
698
835
  isDirty,
836
+ isFlatRateEngine,
837
+ isGateSkipSignal,
699
838
  isHeavyTool,
700
839
  isImagePath,
701
840
  isKernProject,
@@ -747,20 +886,29 @@ export {
747
886
  mimeFromExt,
748
887
  modelEntryToEngineDef,
749
888
  normalizeDroppedPath,
889
+ normalizeGitHubRemote,
890
+ normalizeMemoryLine,
750
891
  normalizeSessionChunk,
751
892
  normalizeTodos,
752
893
  parseAndValidateUrl,
894
+ parseDaemonRequest,
895
+ parseDaemonResponse,
753
896
  parseMentions,
754
897
  parsePatch,
898
+ parsePermissionRule,
899
+ parsePermissionRuleSet,
755
900
  parseSearchResults,
756
901
  parseStreamChunk,
757
902
  parseToolCalls,
903
+ parseToolHooks,
758
904
  pasteStore,
759
905
  patchSummary,
906
+ pathRuleMatches,
760
907
  pickTopRatedEngine,
761
908
  planCostEstimator,
762
909
  planEngineIsolation,
763
910
  predictTeamRating,
911
+ prefilledPrUrl,
764
912
  preflightApply,
765
913
  printRunSummary,
766
914
  processToolResponse,
@@ -794,28 +942,36 @@ export {
794
942
  removePresence,
795
943
  removeSessionWorktree,
796
944
  removeWorkspace,
945
+ renderCompactionText,
797
946
  renderProvenanceJson,
798
947
  renderProvenanceMarkdown,
799
948
  renderSkillPrompt,
800
949
  renderStageContext,
801
950
  repoRoot,
802
951
  requestApproval,
952
+ resetEventLogState,
803
953
  resetStepForRetry,
954
+ resolveCharsPerToken,
804
955
  resolveDedupSidecar,
805
956
  resolveImagePath,
806
957
  resolveIsolationMode,
807
958
  resolveKernSourceLocation,
959
+ resolveRulePath,
960
+ resolveThresholds,
808
961
  resolveWorkingDir,
809
962
  resumeChatSession,
810
963
  revertSnapshot,
811
964
  roomDir,
812
965
  roomExists,
813
966
  roomsDir,
967
+ ruleMatches,
814
968
  runAgentInvestigateSynthesis,
815
969
  runAgentTeamSynthesis,
816
970
  runApiAgentLoop,
817
971
  runHooks,
818
972
  runPostSynthesisFitnessCheck,
973
+ runPostToolUseHooks,
974
+ runPreToolUseHooks,
819
975
  runToolLoop,
820
976
  sanitizePlanSteps,
821
977
  sanitizeRunLabel,
@@ -847,14 +1003,18 @@ export {
847
1003
  snapshotWorkspace,
848
1004
  spawnStream,
849
1005
  spawnWithTimeout,
1006
+ splitFrames,
850
1007
  splitPromptBlocks,
1008
+ splitShellSegments,
851
1009
  startChatSession,
852
1010
  startPlan,
853
1011
  stashSnapshot,
854
1012
  stripEngineArtifacts,
1013
+ stripProjectMemorySections,
855
1014
  switchWorkspace,
856
1015
  takeSnapshot,
857
1016
  tiebreak,
1017
+ todayPrefix,
858
1018
  tokensToCost,
859
1019
  toolCallsToApiFormat,
860
1020
  toolsToOpenAIFormat,
@@ -870,6 +1030,8 @@ export {
870
1030
  validateEngineDir,
871
1031
  validateManifest,
872
1032
  validateSyntax,
1033
+ visionSupportNote,
1034
+ withFileLock,
873
1035
  wordWrap,
874
1036
  worktreeAddOnBranch,
875
1037
  worktreeChangedDiff,
@@ -885,4 +1047,4 @@ export {
885
1047
  writeProvenanceReport,
886
1048
  writeRunStatus
887
1049
  };
888
- //# sourceMappingURL=src-253BUXEF.js.map
1050
+ //# sourceMappingURL=src-WMV62WO7.js.map
@@ -10,11 +10,11 @@ import {
10
10
  runUpdate,
11
11
  suggestPermissionFix,
12
12
  updateCommand
13
- } from "./chunk-GHAMYNRC.js";
14
- import "./chunk-SUT2HDOY.js";
15
- import "./chunk-I2PMSXJ3.js";
16
- import "./chunk-BPKY4OF2.js";
17
- import "./chunk-45YTXJWJ.js";
13
+ } from "./chunk-FORBHCTM.js";
14
+ import "./chunk-47QQZGXP.js";
15
+ import "./chunk-6GENPQFW.js";
16
+ import "./chunk-MWF4RHRU.js";
17
+ import "./chunk-4ZDVR5XR.js";
18
18
  export {
19
19
  DEFAULT_PACKAGE,
20
20
  DEFAULT_TIMEOUT_MS,
@@ -27,4 +27,4 @@ export {
27
27
  suggestPermissionFix,
28
28
  updateCommand
29
29
  };
30
- //# sourceMappingURL=update-WLRTYR77.js.map
30
+ //# sourceMappingURL=update-H3JQXPGO.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernlang/agon",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
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.2",
58
- "@kernlang/agon-dedup": "^0.1.8",
58
+ "@kernlang/agon-dedup": "^0.2.0",
59
59
  "@ai-sdk/anthropic": "^3.0.67",
60
60
  "@ai-sdk/openai-compatible": "^2.0.40",
61
61
  "@kernlang/protocol": "~3.5.8",