@wrongstack/core 0.282.1 → 0.283.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 (47) hide show
  1. package/dist/{agent-subagent-runner-DCczSoQj.d.ts → agent-subagent-runner-BsuWhB28.d.ts} +2 -2
  2. package/dist/coordination/index.d.ts +12 -12
  3. package/dist/coordination/index.js +315 -41
  4. package/dist/coordination/index.js.map +1 -1
  5. package/dist/defaults/index.d.ts +12 -12
  6. package/dist/defaults/index.js +316 -53
  7. package/dist/defaults/index.js.map +1 -1
  8. package/dist/{events-BOv8h6I1.d.ts → events-KmxSmvho.d.ts} +5 -0
  9. package/dist/execution/index.d.ts +7 -7
  10. package/dist/extension/index.d.ts +2 -2
  11. package/dist/{global-mailbox-MDDFhLYh.d.ts → global-mailbox-rWVt8YlO.d.ts} +70 -7
  12. package/dist/{goal-store-BEmDmSKF.d.ts → goal-store-8owBXJT2.d.ts} +1 -1
  13. package/dist/hq/index.d.ts +3 -3
  14. package/dist/hq/index.js +106 -32
  15. package/dist/hq/index.js.map +1 -1
  16. package/dist/{index-Dd-PJJ8A.d.ts → index-BhCteHAF.d.ts} +1 -1
  17. package/dist/index.d.ts +289 -19
  18. package/dist/index.js +919 -110
  19. package/dist/index.js.map +1 -1
  20. package/dist/infrastructure/index.d.ts +1 -1
  21. package/dist/kernel/index.d.ts +4 -4
  22. package/dist/kernel/index.js.map +1 -1
  23. package/dist/models/index.js +105 -42
  24. package/dist/models/index.js.map +1 -1
  25. package/dist/{multi-agent-coordinator-BRqtpn-a.d.ts → multi-agent-coordinator-CrjeTB9i.d.ts} +1 -1
  26. package/dist/{null-fleet-bus-BkptvIVo.d.ts → null-fleet-bus-D4e9R7Qc.d.ts} +9 -4
  27. package/dist/observability/index.d.ts +1 -1
  28. package/dist/{parallel-eternal-engine-BXECuOVG.d.ts → parallel-eternal-engine-iY2uxocj.d.ts} +4 -4
  29. package/dist/{provider-runner-CJtCs1Rw.d.ts → provider-runner-oQhDaZmH.d.ts} +1 -1
  30. package/dist/sdd/index.d.ts +4 -4
  31. package/dist/sdd/index.js.map +1 -1
  32. package/dist/storage/index.d.ts +5 -5
  33. package/dist/storage/index.js.map +1 -1
  34. package/dist/{todos-checkpoint-Bw83WMh9.d.ts → todos-checkpoint-BwCrj4Cb.d.ts} +1 -1
  35. package/dist/{tool-executor-4mWN2vHW.d.ts → tool-executor-kElSEgO0.d.ts} +4 -4
  36. package/dist/types/index.d.ts +8 -8
  37. package/dist/types/index.js +105 -45
  38. package/dist/types/index.js.map +1 -1
  39. package/dist/{worktree-manager-BrtjUFYk.d.ts → worktree-manager-BjyAW30D.d.ts} +1 -1
  40. package/instructions/modes/audit-lite.md +13 -0
  41. package/instructions/modes/debug-lite.md +13 -0
  42. package/instructions/modes/plan-lite.md +14 -0
  43. package/instructions/modes/refactor-lite.md +13 -0
  44. package/instructions/modes/research-lite.md +13 -0
  45. package/instructions/modes/review-lite.md +14 -0
  46. package/instructions/modes/test-lite.md +13 -0
  47. package/package.json +1 -1
@@ -4,7 +4,7 @@ import { B as BuildContext, H as HookRegistry, a as Renderer, P as Pipeline, C a
4
4
  import { a as PermissionDecision, P as PermissionPolicy } from './permission-B6YAtNFz.js';
5
5
  import { a3 as ToolDescriptionMode, a4 as ToolDescriptionModeConfig, H as HookEvent, a5 as ToolResultRenderModeConfig, W as WireFamily, P as ProviderConfig } from './config-DkCbA3Bw.js';
6
6
  import { T as Tracer } from './observability-D-HZN_mF.js';
7
- import { E as EventBus } from './events-BOv8h6I1.js';
7
+ import { E as EventBus } from './events-KmxSmvho.js';
8
8
  import { S as SecretScrubber } from './secret-scrubber-3MHDDAtm.js';
9
9
 
10
10
  /**
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { d as TaskGraph, T as TaskType, a as TaskPriority, e as TaskNode } from './task-graph-CH3acNQ7.js';
2
2
  export { C as CriticalPathResult, S as SerializableTaskGraph, f as SerializableTaskGraphNodes, g as SerializedTaskGraph, h as TaskAssignment, i as TaskDependency, j as TaskEdge, k as TaskFilter, c as TaskProgress, l as TaskSort, b as TaskStatus, m as computeTaskProgress, n as deserializeTaskGraph, o as findCriticalPath, s as serializeTaskGraph, t as topologicalSort } from './task-graph-CH3acNQ7.js';
3
- import { W as WorktreeManager } from './worktree-manager-BrtjUFYk.js';
4
- export { A as AllocateOpts, M as MergeOpts, a as MergeResult, b as WorktreeHandle, c as WorktreeManagerOptions, R as WorktreeRunResult, d as WorktreeStatus, e as assertSafePath } from './worktree-manager-BrtjUFYk.js';
5
- import { E as EventBus, B as BrainArbiter, c as MemoryStore, a as EventName, L as Listener } from './events-BOv8h6I1.js';
6
- export { e as BrainDecision, f as BrainDecisionOption, g as BrainDecisionQueue, h as BrainDecisionRequest, i as BrainDecisionSource, j as BrainFallback, k as BrainRisk, D as DefaultBrainArbiter, l as DefaultBrainArbiterOptions, m as EventLogger, n as EventMap, H as HumanEscalatingBrainArbiter, o as MEMORY_TYPE_LABELS, p as MemoryClearedPayload, q as MemoryConsolidatedPayload, b as MemoryEntry, r as MemoryForgottenPayload, s as MemoryPriority, d as MemoryRelevanceContext, t as MemoryRememberedPayload, M as MemoryScope, u as MemoryType, O as ObservableBrainArbiter, v as ScopedEventBus, S as ScoredEntry, w as formatHumanPrompt } from './events-BOv8h6I1.js';
3
+ import { W as WorktreeManager } from './worktree-manager-BjyAW30D.js';
4
+ export { A as AllocateOpts, M as MergeOpts, a as MergeResult, b as WorktreeHandle, c as WorktreeManagerOptions, R as WorktreeRunResult, d as WorktreeStatus, e as assertSafePath } from './worktree-manager-BjyAW30D.js';
5
+ import { E as EventBus, B as BrainArbiter, c as MemoryStore, a as EventName, L as Listener } from './events-KmxSmvho.js';
6
+ export { e as BrainDecision, f as BrainDecisionOption, g as BrainDecisionQueue, h as BrainDecisionRequest, i as BrainDecisionSource, j as BrainFallback, k as BrainRisk, D as DefaultBrainArbiter, l as DefaultBrainArbiterOptions, m as EventLogger, n as EventMap, H as HumanEscalatingBrainArbiter, o as MEMORY_TYPE_LABELS, p as MemoryClearedPayload, q as MemoryConsolidatedPayload, b as MemoryEntry, r as MemoryForgottenPayload, s as MemoryPriority, d as MemoryRelevanceContext, t as MemoryRememberedPayload, M as MemoryScope, u as MemoryType, O as ObservableBrainArbiter, v as ScopedEventBus, S as ScoredEntry, w as formatHumanPrompt } from './events-KmxSmvho.js';
7
7
  import { TaskStore } from './sdd/index.js';
8
8
  export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CleanupStaleSddOptions, CleanupStaleSddResult, CollectedAnswer, CommandVerifierOptions, ConflictSide, CriticalPathAnalysis, DefaultTaskStore, DestroySddProjectOptions, DestroySddProjectResult, ExecutionSummary, GeneratedTask, LlmConflictResolverOptions, RollbackFromDiskOptions, SPEC_TEMPLATES, SddBoardColumn, SddBoardEvent, SddBoardFeedEntry, SddBoardIndexEntry, SddBoardProjector, SddBoardProjectorOptions, SddBoardSnapshot, SddBoardStatus, SddBoardStore, SddBoardStoreOptions, SddBoardTask, SddDeadlockChain, SddIngestResult, SddInterviewDriver, SddInterviewDriverOptions, SddInterviewSnapshot, SddLifecycleOp, SddLifecycleOptions, SddLifecycleResult, SddParallelRun, SddParallelRunOptions, SddProgress, SddRunControl, SddRunHandle, SddRunRegistry, SddSubtaskSpec, SddSupervisor, SddSupervisorOptions, SddSupervisorVerdict, SddTaskDecomposer, SddTaskDecomposerOptions, SddTaskDisplayStatus, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, StartSddRunOptions, SubtaskGeneratorOptions, TaskBatch, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskTracker, TaskTrackerOptions, TaskTransition, WaveResult, analyzeCriticalPath, applySddLifecycle, buildBoardSnapshot, buildBoardTasks, cleanupSddWorktrees, cleanupStaleSddWorktrees, createAutoExecutor, destroySddProject, extractVerificationCommand, getTemplate, hasConflictMarkers, isExplanatoryText, listTemplates, makeCommandVerifier, makeLlmConflictResolver, makeLlmSubtaskGenerator, makePreferSideConflictResolver, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, resolveConflictText, rollbackSddRunFromDisk, shortIdMap, startSddRun, templateToMarkdown } from './sdd/index.js';
9
9
  import { D as DefaultLogger } from './mcp-servers-BUx9A_AQ.js';
@@ -15,18 +15,18 @@ import { C as Config, n as TokenSavingTier, o as HookInput, p as HookOutcome, H
15
15
  export { A as AdaptiveConcurrencyConfig, q as AutonomyConfig, r as CONTEXT_WINDOW_MODES, s as CircuitBreakerRuntimeConfig, i as ConfigLoader, t as ContextConfig, l as ContextWindowAggressiveOn, u as ContextWindowConfigLike, v as ContextWindowMode, w as ContextWindowModeId, m as ContextWindowPolicy, x as ContextWindowThresholds, y as CustomModelDefinition, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, z as DEFAULT_TUI_THINKING_WORD, E as ExecDangerConfig, B as ExecToolConfig, G as FeaturesConfig, F as FleetConfig, J as FleetSupervisorConfig, g as HookEntry, K as HqClientConfig, L as IndexingConfig, N as InputHistoryConfig, O as LaunchConfig, Q as LogConfig, U as MAX_TUI_THINKING_WORD_LENGTH, b as MCPServerConfig, a as ModelMatrixEntry, V as ModelRuntimeCacheConfig, h as ModelRuntimeConfig, X as ModelRuntimeParametersConfig, Y as ModelRuntimeReasoningConfig, e as ModelsDevModel, c as ModelsDevPayload, Z as ModelsDevProvider, _ as PluginConfig, $ as ProviderApiKey, P as ProviderConfig, R as ResolvedModel, d as ResolvedProvider, a0 as SessionLoggingConfig, a1 as SkillsConfig, a2 as SyncCategory, j as SyncConfig, a3 as ToolDescriptionMode, a4 as ToolDescriptionModeConfig, T as ToolResultRenderMode, a5 as ToolResultRenderModeConfig, a6 as ToolsConfig, W as WireFamily, a7 as formatContextWindowModeList, a8 as getContextWindowMode, a9 as isContextWindowModeId, aa as listContextWindowModes, ab as normalizeTokenSavingTier, ac as normalizeTuiThinkingWord, ad as resolveContextWindowPolicy } from './config-DkCbA3Bw.js';
16
16
  import { W as WstackPaths } from './wstack-paths-C3K40Qst.js';
17
17
  export { a as WstackPathOptions, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from './wstack-paths-C3K40Qst.js';
18
- import { m as SlashCommand, P as PluginAPI, n as PluginPipelines, o as ToolRegistryView, p as ProviderRegistryView, q as MCPRegistryView, r as SlashCommandRegistryView, s as SessionWriterView, t as MetricsSinkView, u as PluginLLM, v as PluginCapabilities, w as PluginDependency, x as Plugin } from './agent-subagent-runner-DCczSoQj.js';
19
- export { A as Agent, a as AgentFactory, y as AgentFactoryResult, z as AgentRunnerOptions, h as AwaitAnyResult, E as BudgetExceededError, G as BudgetKind, H as BudgetLimits, I as BudgetNegotiationMode, J as BudgetThresholdDecision, K as BudgetThresholdHandler, L as BudgetThresholdSignal, N as BudgetUsage, O as CoordinatorEvents, C as CoordinatorStatus, Q as DECISION_TIMEOUT_MS, D as DoneCondition, F as FleetBus, R as FleetEvent, U as FleetHandler, k as FleetUsage, l as FleetUsageAggregator, b as MultiAgentConfig, M as MultiAgentCoordinator, V as PluginLLMOptions, W as PluginLLMResult, d as SpawnResult, X as SubagentBudget, S as SubagentConfig, Y as SubagentContext, Z as SubagentError, _ as SubagentErrorKind, $ as SubagentRunContext, a0 as SubagentRunOutcome, c as SubagentRunner, a1 as SubagentUsageSnapshot, a2 as TIMEOUT_PREEMPT_FRACTION, a3 as TaskDelegation, g as TaskResult, T as TaskSpec, a4 as makeAgentSubagentRunner, a5 as withDisabledToolFiltering } from './agent-subagent-runner-DCczSoQj.js';
20
- export { A as ACP_AGENTS, a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, h as BugFinding, C as CollabBudgetConfig, i as CollabBudgetOverrides, j as CollabBudgetWarningPayload, k as CollabDebugReport, l as CollabSession, m as CollabSessionOptions, n as CreateDelegateToolOptions, o as CriticConcern, p as CriticEvaluation, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, t as DirectorAlert, u as DirectorAlertLevel, v as DirectorCancelCollabPayload, w as DirectorPromptParts, x as DirectorSessionFactory, y as DirectorSessionFactoryOptions, F as FLEET_ROSTER, z as FLEET_ROSTER_BUDGETS, E as FLEET_ROSTER_WITHACP, G as FleetCostCapError, H as FleetManager, I as FleetManagerOptions, J as FleetRosterBudget, K as FleetSpawnBudgetError, L as FleetWorktreePolicy, M as ICoordinator, N as IFleetManager, O as InMemoryAgentBridge, P as InMemoryBridgeTransport, Q as LargeAnswerStore, R as NULL_FLEET_BUS, S as REFACTOR_PLANNER_AGENT, T as RefactorPhase, U as RefactorPlan, V as SECURITY_SCANNER_AGENT, W as SharedFileEntry, X as SharedFileSnapshot, Y as SubagentPromptParts, Z as TaskResultNotification, _ as WorktreeIntegrationError, $ as WorktreeIsolationDecision, a0 as WorktreeTaskRunnerOptions, a1 as WorktreeTaskStateUpdate, a2 as applyRosterBudget, a3 as attachAutoExtend, a4 as composeDirectorPrompt, a5 as composeSubagentPrompt, a6 as createDelegateTool, a7 as createMessage, a8 as getAgentDefinition, a9 as makeAskResultTool, aa as makeAskTool, ab as makeAssignTool, ac as makeAwaitTasksTool, ad as makeCollabDebugTool, ae as makeDirectorSessionFactory, af as makeFleetEmitTool, ag as makeFleetHealthTool, ag as makeFleetSessionTool, ag as makeFleetTool, ag as makeFleetUsageTool, ah as makeKanbanQueueTool, ai as makeQualityGateTool, aj as makeRollUpTool, ak as makeSpawnTool, al as makeTerminateAllTool, am as makeTerminateTool, an as makeWorkCompleteTool, ao as resolveSubagentWorktreeDecision, ap as rosterSummaryFromConfigs, aq as subagentNeedsWorktree, ar as wrapSubagentRunnerWithWorktrees } from './null-fleet-bus-BkptvIVo.js';
18
+ import { m as SlashCommand, P as PluginAPI, n as PluginPipelines, o as ToolRegistryView, p as ProviderRegistryView, q as MCPRegistryView, r as SlashCommandRegistryView, s as SessionWriterView, t as MetricsSinkView, u as PluginLLM, v as PluginCapabilities, w as PluginDependency, x as Plugin } from './agent-subagent-runner-BsuWhB28.js';
19
+ export { A as Agent, a as AgentFactory, y as AgentFactoryResult, z as AgentRunnerOptions, h as AwaitAnyResult, E as BudgetExceededError, G as BudgetKind, H as BudgetLimits, I as BudgetNegotiationMode, J as BudgetThresholdDecision, K as BudgetThresholdHandler, L as BudgetThresholdSignal, N as BudgetUsage, O as CoordinatorEvents, C as CoordinatorStatus, Q as DECISION_TIMEOUT_MS, D as DoneCondition, F as FleetBus, R as FleetEvent, U as FleetHandler, k as FleetUsage, l as FleetUsageAggregator, b as MultiAgentConfig, M as MultiAgentCoordinator, V as PluginLLMOptions, W as PluginLLMResult, d as SpawnResult, X as SubagentBudget, S as SubagentConfig, Y as SubagentContext, Z as SubagentError, _ as SubagentErrorKind, $ as SubagentRunContext, a0 as SubagentRunOutcome, c as SubagentRunner, a1 as SubagentUsageSnapshot, a2 as TIMEOUT_PREEMPT_FRACTION, a3 as TaskDelegation, g as TaskResult, T as TaskSpec, a4 as makeAgentSubagentRunner, a5 as withDisabledToolFiltering } from './agent-subagent-runner-BsuWhB28.js';
20
+ export { A as ACP_AGENTS, a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, h as BugFinding, C as CollabBudgetConfig, i as CollabBudgetOverrides, j as CollabBudgetWarningPayload, k as CollabDebugReport, l as CollabSession, m as CollabSessionOptions, n as CreateDelegateToolOptions, o as CriticConcern, p as CriticEvaluation, D as DEFAULT_DIRECTOR_PREAMBLE, q as DEFAULT_SUBAGENT_BASELINE, r as DelegateHost, s as Director, t as DirectorAlert, u as DirectorAlertLevel, v as DirectorCancelCollabPayload, w as DirectorPromptParts, x as DirectorSessionFactory, y as DirectorSessionFactoryOptions, F as FLEET_ROSTER, z as FLEET_ROSTER_BUDGETS, E as FLEET_ROSTER_WITHACP, G as FleetCostCapError, H as FleetManager, I as FleetManagerOptions, J as FleetRosterBudget, K as FleetSpawnBudgetError, L as FleetWorktreePolicy, M as ICoordinator, N as IFleetManager, O as InMemoryAgentBridge, P as InMemoryBridgeTransport, Q as LargeAnswerStore, R as NULL_FLEET_BUS, S as REFACTOR_PLANNER_AGENT, T as RefactorPhase, U as RefactorPlan, V as SECURITY_SCANNER_AGENT, W as SharedFileEntry, X as SharedFileSnapshot, Y as SubagentPromptParts, Z as TaskResultNotification, _ as WorktreeIntegrationError, $ as WorktreeIsolationDecision, a0 as WorktreeTaskRunnerOptions, a1 as WorktreeTaskStateUpdate, a2 as applyRosterBudget, a3 as attachAutoExtend, a4 as composeDirectorPrompt, a5 as composeSubagentPrompt, a6 as createDelegateTool, a7 as createMessage, a8 as getAgentDefinition, a9 as makeAskResultTool, aa as makeAskTool, ab as makeAssignTool, ac as makeAwaitTasksTool, ad as makeCollabDebugTool, ae as makeDirectorSessionFactory, af as makeFleetEmitTool, ag as makeFleetHealthTool, ag as makeFleetSessionTool, ag as makeFleetTool, ag as makeFleetUsageTool, ah as makeKanbanQueueTool, ai as makeQualityGateTool, aj as makeRollUpTool, ak as makeSpawnTool, al as makeTerminateAllTool, am as makeTerminateTool, an as makeWorkCompleteTool, ao as resolveSubagentWorktreeDecision, ap as rosterSummaryFromConfigs, aq as subagentNeedsWorktree, ar as wrapSubagentRunnerWithWorktrees } from './null-fleet-bus-D4e9R7Qc.js';
21
21
  export { AcquireOptions, AcquireResult, AdaptiveConcurrencyController, AdaptiveConcurrencyState, AgentMonitorOptions, AgentMonitorService, AgentTimelineEntry, AgentVirtualSession, ApplyResult, ApprovalDecision, AutonomousBrain, AutonomousBrainOptions, AutonomousCoordinator, AutonomousCoordinatorOptions, AutonomousDecisionRequest, AutonomousDecisionType, BUILD_AGENTS, BrainInterventionInput, BrainMonitor, BrainMonitorOptions, ChangeFile, ChangeManager, ChangeManagerOptions, ChangeNode, ChangeProposal, ChangeStatus, ConsensusOptions, ConsensusProtocol, ConsensusResult, CoordinatorEvent, CoordinatorStats, DAGEdgeEvent, DAGEdgeHandler, DAGNode, DAGNodeStatus, DEFAULT_QUALITY_CHECKS, DELIVERY_AGENTS, DEPENDENCY_FILE_PATTERNS, DISCOVERY_AGENTS, DOMAIN_AGENTS, DecisionNode, DecisionPrompt, DefaultMailbox, DepWatchEntry, DepWatcherBridgeOptions, DependencyWatcherConfig, DownAlertInput, EscalationDecision, FactCategory, FactNode, FleetStatusToolOptions, FleetSupervisor, FleetSupervisorActions, FleetSupervisorOptions, FleetSupervisorSource, GoalNode, GoalPriority, GoalStatus, GraphSubscription, KNOWLEDGE_AGENTS, KnowledgeGraph, LLMProvider, LiveLockResult, MAILBOX_BRIDGE_LOCK_FILENAME, MAILBOX_BRIDGE_TOKEN_FILENAME, MAILBOX_HEALTH_DEFAULT_FAILURE_THRESHOLD, MAILBOX_HEALTH_DEFAULT_FROM, MAILBOX_HEALTH_DEFAULT_INTERVAL_MS, MAILBOX_HEALTH_DEFAULT_TIMEOUT_MS, MATRIX_PHASE_KEYS, META_AGENTS, MailToolsOptions, MailboxActionInput, MailboxActionResult, MailboxBridgeLock, MailboxHealthEvent, MailboxHealthWatchdog, MailboxHealthWatchdogOptions, MailboxHooksOptions, MailboxMessageAction, MailboxResolver, MailboxToolOptions, MatrixKeyKind, ModelMatrixResolution, ModelMatrixResolutionSource, ModelReference, NodeFilter, NodeType, OutdatedNotifyMessage, PLANNING_AGENTS, PackageAuthorEntry, PackageAuthorLog, PackageAuthorTrackerOptions, PackageOutdatedEntry, PackageOutdatedResult, PackageOutdatedWatcherOptions, PrioritizationDecision, QualityCheck, QualityGateChecks, QualityGateResult, QuorumRule, REVIEW_AGENTS, RecoveryAlertInput, ResolvedModelTarget, ResolvedSubagentModelTarget, RollbackResult, RunnablesHandler, SpawnDecision, SupervisedSubagent, SupervisorLogEntry, TaskAuctionOptions, TaskAuctioneer, TaskBid, TaskDAG, VERIFY_AGENTS, VoteNode, VoteRecord, VoteValue, VoterConfig, WatchdogConfig, acquireOrJoin, actionToAckInput, attachDepWatcherBridge, buildDownAlert, buildRecoveryAlert, createAgentMonitorService, createMailboxHooks, detectEcosystem, detectEcosystem as detectPackageEcosystem, finalize, getFullPackageLog, getManifestPackages, getPackageAuthor, getPackagesByAgent, isValidMatrixKey, mailboxSessionTag, makeDependencyWatcherConfig, makeFleetStatusTool, makeMailInboxTool, makeMailSendTool, makeMailboxTool, matrixKeyKind, phaseForRole, readLiveLock, recordPackageAction, release, resolveImplementationModelTarget, resolveMailboxIdentity, resolveModelMatrix, resolveModelMatrixResolution, resolveModelTargetFromEntry, resolveSubagentModelTarget, roleNeedsIndependentReviewModel, sameModelReference, startPackageOutdatedWatcher, updatePackageOutdatedStatus, validateWatchdogOptions } from './coordination/index.js';
22
- export { T as AGENT_TOOL_PRESETS, c as AgentBudgetTier, d as AgentCapability, b as AgentDefinition, A as AgentPhase, e as DEFAULT_DISPATCH_ROLE, a as DefaultMultiAgentCoordinator, f as DispatchCandidate, D as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-BRqtpn-a.js';
23
- export { D as DEFAULT_HQ_REDACTION_POLICY, G as GlobalMailbox, H as HQ_PROTOCOL_VERSION, a as HqAgentMessagePayload, b as HqAgentStatusPayload, c as HqAlertMessage, d as HqBrainEventKind, e as HqBrainEventPayload, f as HqBrowserEventMessage, g as HqBrowserMessage, h as HqBrowserSnapshotMessage, i as HqClientCapability, j as HqClientCommandAckMessage, k as HqClientCommandPollMessage, l as HqClientEventMessage, m as HqClientHeartbeatPayload, n as HqClientHelloMessage, o as HqClientHelloPayload, p as HqClientIdentity, q as HqClientKind, r as HqClientMessage, s as HqClientRecord, t as HqEventEnvelope, u as HqEventPayloadResult, v as HqEventType, w as HqFleetEventPayload, x as HqFleetSnapshotPayload, y as HqFleetSummary, z as HqGitSnapshotPayload, A as HqMachineRecord, B as HqMailboxAgentStatus, C as HqMailboxAgentSummary, E as HqMailboxEventAction, F as HqMailboxEventPayload, I as HqMailboxMappingOptions, J as HqMailboxMessageSummary, K as HqMailboxMessageType, L as HqMailboxPriority, M as HqMailboxSnapshotOptions, N as HqMailboxSnapshotPayload, O as HqMailboxSummary, P as HqParseResult, Q as HqPathPolicy, R as HqProjectIdentity, S as HqProjectRecord, T as HqProjectStatus, U as HqProtocolVersion, V as HqPublishEventOptions, W as HqPublisher, X as HqPublisherCommandHandler, Y as HqPublisherCommandResult, Z as HqPublisherOptions, _ as HqQueuedCommand, $ as HqRedactionPolicy, a0 as HqServerCommandBatchMessage, a1 as HqServerMessage, a2 as HqSessionAgentLiveStatus, a3 as HqSessionAgentSummary, a4 as HqSessionEndedPayload, a5 as HqSessionLiveStatus, a6 as HqSessionSnapshotPayload, a7 as HqSessionStartedPayload, a8 as HqSessionStatus, a9 as HqSessionStatusPayload, aa as HqSessionSummary, ab as HqSnapshot, ac as HqSocketFactory, ad as HqSocketLike, ae as HqSubagentSummary, af as HqToolArgsPolicy, ag as HqToolCompletedPayload, ah as HqToolStartedPayload, ai as HqTranscriptAppendPayload, aj as HqTranscriptEntry, ak as HqTranscriptRole, al as HqUsagePayload, am as HqWelcomePayload, an as HqWorklistCounts, ao as HqWorklistSnapshotPayload, ap as HqWorkspaceKind, aq as HqWorktreeEventKind, ar as HqWorktreeEventPayload, as as createHqEventEnvelope, at as createMailboxEventPayload, au as createMailboxSnapshotPayload, av as createMailboxSnapshotPayloadFromMailbox, aw as mapMailboxAgentToHqSummary, ax as mapMailboxMessageToHqSummary, ay as parseHqEventPayload, az as parseHqFrame, aA as resolveProjectDir } from './global-mailbox-MDDFhLYh.js';
22
+ export { T as AGENT_TOOL_PRESETS, c as AgentBudgetTier, d as AgentCapability, b as AgentDefinition, A as AgentPhase, e as DEFAULT_DISPATCH_ROLE, a as DefaultMultiAgentCoordinator, f as DispatchCandidate, D as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, H as HEAVY_BUDGET, L as LIGHT_BUDGET, M as MEDIUM_BUDGET, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-CrjeTB9i.js';
23
+ export { D as DEFAULT_HQ_REDACTION_POLICY, G as GlobalMailbox, H as HQ_PROTOCOL_VERSION, a as HqAgentMessagePayload, b as HqAgentStatusPayload, c as HqAlertMessage, d as HqBrainEventKind, e as HqBrainEventPayload, f as HqBrowserEventMessage, g as HqBrowserMessage, h as HqBrowserSnapshotMessage, i as HqClientCapability, j as HqClientCommandAckMessage, k as HqClientCommandPollMessage, l as HqClientEventMessage, m as HqClientHeartbeatPayload, n as HqClientHelloMessage, o as HqClientHelloPayload, p as HqClientIdentity, q as HqClientKind, r as HqClientMessage, s as HqClientRecord, t as HqEventEnvelope, u as HqEventPayloadResult, v as HqEventType, w as HqFleetEventPayload, x as HqFleetSnapshotPayload, y as HqFleetSummary, z as HqGitSnapshotPayload, A as HqMachineRecord, B as HqMailboxAgentStatus, C as HqMailboxAgentSummary, E as HqMailboxEventAction, F as HqMailboxEventPayload, I as HqMailboxMappingOptions, J as HqMailboxMessageSummary, K as HqMailboxMessageType, L as HqMailboxPriority, M as HqMailboxSnapshotOptions, N as HqMailboxSnapshotPayload, O as HqMailboxSummary, P as HqParseResult, Q as HqPathPolicy, R as HqProjectIdentity, S as HqProjectRecord, T as HqProjectStatus, U as HqProtocolVersion, V as HqPublishEventOptions, W as HqPublisher, X as HqPublisherCommandHandler, Y as HqPublisherCommandResult, Z as HqPublisherOptions, _ as HqQueuedCommand, $ as HqRedactionPolicy, a0 as HqServerCommandBatchMessage, a1 as HqServerMessage, a2 as HqSessionAgentLiveStatus, a3 as HqSessionAgentSummary, a4 as HqSessionEndedPayload, a5 as HqSessionLiveStatus, a6 as HqSessionSnapshotPayload, a7 as HqSessionStartedPayload, a8 as HqSessionStatus, a9 as HqSessionStatusPayload, aa as HqSessionSummary, ab as HqSnapshot, ac as HqSocketFactory, ad as HqSocketLike, ae as HqSubagentSummary, af as HqToolArgsPolicy, ag as HqToolCompletedPayload, ah as HqToolStartedPayload, ai as HqTranscriptAppendPayload, aj as HqTranscriptEntry, ak as HqTranscriptRole, al as HqUsagePayload, am as HqWelcomePayload, an as HqWorklistCounts, ao as HqWorklistSnapshotPayload, ap as HqWorkspaceKind, aq as HqWorktreeEventKind, ar as HqWorktreeEventPayload, as as createHqEventEnvelope, at as createMailboxEventPayload, au as createMailboxSnapshotPayload, av as createMailboxSnapshotPayloadFromMailbox, aw as mapMailboxAgentToHqSummary, ax as mapMailboxMessageToHqSummary, ay as parseHqEventPayload, az as parseHqFrame, aA as resolveProjectDir } from './global-mailbox-rWVt8YlO.js';
24
24
  import { b as Mailbox, M as MailboxMessage } from './mailbox-types-BGZWrYTJ.js';
25
25
  export { g as AgentHeartbeatInput, A as AgentRegistrationInput, h as ClientHeartbeatInput, C as ClientRegistrationInput, k as ClientSource, i as ClientStatus, f as MailboxAckBatchInput, e as MailboxAckInput, a as MailboxAgentStatus, l as MailboxMessageType, d as MailboxQuery, c as MailboxSendInput, m as MailboxTaskContext, P as PurgeOptions, j as PurgeResult, R as ReadReceipts, n as RegisteredAgent, o as normalizeRecipient } from './mailbox-types-BGZWrYTJ.js';
26
- import { d as Context, g as Tool, P as Provider, i as ContentBlock, c as Request, e as Response, s as TextBlock, M as Message, J as JSONSchema } from './tool-LVSLiE1s.js';
27
- export { B as AgentError, C as CacheStats, q as CacheTtl, r as Capabilities, D as CompletedWorkEvidence, E as CompletedWorkSource, F as ConfigError, G as ContextEvidenceState, H as ContextFileEvidence, I as ContextInit, K as ContextIntentEvidence, L as ContextRepeatedReadEvidence, u as ConversationState, N as ERROR_CODES, O as ErrorCode, Q as ErrorSeverity, V as ErrorSubsystem, W as FetchError, X as FileSnapshot, Y as FsError, Z as ImageBlock, _ as JsonSchemaSpec, $ as MessageRole, a0 as ParseError, f as Permission, a1 as PluginError, h as ProviderError, a2 as ProviderErrorBody, a3 as ReadonlyConversationState, a as ReasoningConfig, p as ReasoningEffort, R as ReasoningRequest, a4 as RequestCacheControl, a5 as ResponseFormat, v as ResumedSession, n as RiskTier, a6 as RunEnv, t as RunOptions, a7 as SafetySetting, a8 as SddError, w as SessionData, a9 as SessionError, S as SessionEvent, j as SessionMetadata, k as SessionStore, x as SessionSummary, b as SessionWriter, aa as SideEffect, ab as SideEffectRisk, ac as StateChange, ad as StateChangeHandler, ae as StopReason, af as StreamEvent, ag as StreamHangError, ah as ThinkingBlock, y as TodoItem, T as TokenCounter, ai as ToolCallContext, aj as ToolError, l as ToolErrorCategory, ak as ToolErrorInfo, al as ToolEvidenceStatus, am as ToolFinalEvent, an as ToolIconId, o as ToolOutputMetadata, m as ToolProgressEvent, A as ToolResultBlock, ao as ToolStreamEvent, z as ToolUseBlock, ap as ToolValidationError, U as Usage, aq as WrongStackError, ar as extractRunEnv, as as isAgentError, at as isConfigError, au as isFetchError, av as isFsError, aw as isImageBlock, ax as isParseError, ay as isPluginError, az as isSddError, aA as isSessionError, aB as isTextBlock, aC as isToolError, aD as isToolResultBlock, aE as isToolUseBlock, aF as isToolValidationError, aG as isWrongStackError, aH as toWrongStackError, aI as wrapAsState } from './tool-LVSLiE1s.js';
28
- import { i as AgentExtension, S as SystemPromptContributor, b as ToolRegistry, P as ProviderRegistry, A as AgentPipelines, c as ToolExecutorLike, E as ExtensionRegistry, T as ToolCallPipelinePayload } from './index-Dd-PJJ8A.js';
29
- export { j as AfterIterationHook, k as AfterRunHook, l as AfterToolExecutionHook, d as AgentInit, e as AgentInput, B as BeforeIterationHook, m as BeforeRunHook, n as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, H as HookRunEnv, o as HookRunner, p as HookRunnerOptions, O as OnErrorHook, q as PreToolUseResult, r as PromptResult, s as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, a as ToolWrapper, U as UserInputPayload, u as createDefaultPipelines } from './index-Dd-PJJ8A.js';
26
+ import { d as Context, y as TodoItem, g as Tool, P as Provider, i as ContentBlock, c as Request, e as Response, s as TextBlock, M as Message, J as JSONSchema } from './tool-LVSLiE1s.js';
27
+ export { B as AgentError, C as CacheStats, q as CacheTtl, r as Capabilities, D as CompletedWorkEvidence, E as CompletedWorkSource, F as ConfigError, G as ContextEvidenceState, H as ContextFileEvidence, I as ContextInit, K as ContextIntentEvidence, L as ContextRepeatedReadEvidence, u as ConversationState, N as ERROR_CODES, O as ErrorCode, Q as ErrorSeverity, V as ErrorSubsystem, W as FetchError, X as FileSnapshot, Y as FsError, Z as ImageBlock, _ as JsonSchemaSpec, $ as MessageRole, a0 as ParseError, f as Permission, a1 as PluginError, h as ProviderError, a2 as ProviderErrorBody, a3 as ReadonlyConversationState, a as ReasoningConfig, p as ReasoningEffort, R as ReasoningRequest, a4 as RequestCacheControl, a5 as ResponseFormat, v as ResumedSession, n as RiskTier, a6 as RunEnv, t as RunOptions, a7 as SafetySetting, a8 as SddError, w as SessionData, a9 as SessionError, S as SessionEvent, j as SessionMetadata, k as SessionStore, x as SessionSummary, b as SessionWriter, aa as SideEffect, ab as SideEffectRisk, ac as StateChange, ad as StateChangeHandler, ae as StopReason, af as StreamEvent, ag as StreamHangError, ah as ThinkingBlock, T as TokenCounter, ai as ToolCallContext, aj as ToolError, l as ToolErrorCategory, ak as ToolErrorInfo, al as ToolEvidenceStatus, am as ToolFinalEvent, an as ToolIconId, o as ToolOutputMetadata, m as ToolProgressEvent, A as ToolResultBlock, ao as ToolStreamEvent, z as ToolUseBlock, ap as ToolValidationError, U as Usage, aq as WrongStackError, ar as extractRunEnv, as as isAgentError, at as isConfigError, au as isFetchError, av as isFsError, aw as isImageBlock, ax as isParseError, ay as isPluginError, az as isSddError, aA as isSessionError, aB as isTextBlock, aC as isToolError, aD as isToolResultBlock, aE as isToolUseBlock, aF as isToolValidationError, aG as isWrongStackError, aH as toWrongStackError, aI as wrapAsState } from './tool-LVSLiE1s.js';
28
+ import { i as AgentExtension, S as SystemPromptContributor, b as ToolRegistry, P as ProviderRegistry, A as AgentPipelines, c as ToolExecutorLike, E as ExtensionRegistry, T as ToolCallPipelinePayload } from './index-BhCteHAF.js';
29
+ export { j as AfterIterationHook, k as AfterRunHook, l as AfterToolExecutionHook, d as AgentInit, e as AgentInput, B as BeforeIterationHook, m as BeforeRunHook, n as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, H as HookRunEnv, o as HookRunner, p as HookRunnerOptions, O as OnErrorHook, q as PreToolUseResult, r as PromptResult, s as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, a as ToolWrapper, U as UserInputPayload, u as createDefaultPipelines } from './index-BhCteHAF.js';
30
30
  import { L as Logger } from './logger-B63L5bTg.js';
31
31
  export { a as LogLevel } from './logger-B63L5bTg.js';
32
32
  import { A as AttachmentStore, b as AttachmentRef, a as AddAttachmentInput } from './session-reader-B-Fi9L6I.js';
@@ -40,12 +40,12 @@ import { S as SkillLoader } from './skill-DHniprNl.js';
40
40
  export { b as SkillEntry, a as SkillManifest } from './skill-DHniprNl.js';
41
41
  import { S as SystemPromptBuilder, c as ModelCapabilities, B as BuildContext, C as Container, a as Renderer, b as Middleware, H as HookRegistry } from './pipeline-ixSFe5jg.js';
42
42
  export { d as BindOptions, D as Decorator, F as Factory, M as MiddlewareHandler, N as NextFn, P as Pipeline, e as PipelineOptions, T as Token, h as hookMatcherMatches } from './pipeline-ixSFe5jg.js';
43
- export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorOptions, d as CompactorStrategy, D as DefaultDesignKitLoader, e as DefaultErrorHandler, f as DefaultPromptLoader, g as DefaultRetryPolicy, h as DefaultSkillLoader, i as DesignKitLoaderOptions, j as DesignOverrides, k as DoneCheckResult, l as DoneConditionChecker, H as HybridCompactor, I as IntelligentCompactor, m as IntelligentCompactorOptions, P as PersistedActiveKit, n as PromptLoaderOptions, S as SelectiveCompactor, o as SelectiveCompactorOptions, p as SkillLoaderOptions, q as StrategyCompactorOptions, T as ToolExecutor, _ as _resetDesignKitLoaderMemo, r as _resetDesignRulesCache, s as activateDesign, t as applyTokenOverrides, u as buildGoalPreamble, v as clearActiveKit, w as clearPersistedActiveKit, x as createStrategyCompactor, y as designProjectDir, z as detectFrontendFile, B as detectFrontendIntent, E as getDesignKitLoader, F as getDesignState, G as installDesignStudioMiddleware, J as loadActiveKit, K as loadProjectDesignRules, L as makeAutonomyPromptContributor, M as makeDesignDetectToolCallMiddleware, N as makeDesignDetectUserInputMiddleware, O as makeDesignStudioRequestMiddleware, Q as makeDesignVerifyToolCallMiddleware, R as recordKitChoice, U as recordOverrides, V as renderPrompt, W as resolveBundledDesignKitsDir, X as setActiveKit, Y as setDesignOverrides } from './tool-executor-4mWN2vHW.js';
43
+ export { A as AutoCompactionMiddleware, a as AutonomousRunner, b as AutonomousRunnerOptions, c as AutonomyPromptContributorOptions, C as CompactorOptions, d as CompactorStrategy, D as DefaultDesignKitLoader, e as DefaultErrorHandler, f as DefaultPromptLoader, g as DefaultRetryPolicy, h as DefaultSkillLoader, i as DesignKitLoaderOptions, j as DesignOverrides, k as DoneCheckResult, l as DoneConditionChecker, H as HybridCompactor, I as IntelligentCompactor, m as IntelligentCompactorOptions, P as PersistedActiveKit, n as PromptLoaderOptions, S as SelectiveCompactor, o as SelectiveCompactorOptions, p as SkillLoaderOptions, q as StrategyCompactorOptions, T as ToolExecutor, _ as _resetDesignKitLoaderMemo, r as _resetDesignRulesCache, s as activateDesign, t as applyTokenOverrides, u as buildGoalPreamble, v as clearActiveKit, w as clearPersistedActiveKit, x as createStrategyCompactor, y as designProjectDir, z as detectFrontendFile, B as detectFrontendIntent, E as getDesignKitLoader, F as getDesignState, G as installDesignStudioMiddleware, J as loadActiveKit, K as loadProjectDesignRules, L as makeAutonomyPromptContributor, M as makeDesignDetectToolCallMiddleware, N as makeDesignDetectUserInputMiddleware, O as makeDesignStudioRequestMiddleware, Q as makeDesignVerifyToolCallMiddleware, R as recordKitChoice, U as recordOverrides, V as renderPrompt, W as resolveBundledDesignKitsDir, X as setActiveKit, Y as setDesignOverrides } from './tool-executor-kElSEgO0.js';
44
44
  export { DefaultProviderRunner, DesignVerifyReport, DesignViolation, MaterializeResult, colorToHex, isColorToken, materializeTokens, oklchToHex, parseOklch, runDesignVerify, verifyFiles } from './defaults/index.js';
45
- export { f as DESIGN_STACKS, d as DesignKitEntry, b as DesignKitLoader, c as DesignKitManifest, e as DesignKitTokens, D as DesignStack, a as DesignStudioState, g as DesignTokenSet, E as EternalAutonomyEngine, h as EternalAutonomyOptions, i as EternalEngineState, I as IterationStage, P as ParallelEngineState, j as ParallelEternalEngine, k as ParallelEternalOptions, l as ParallelIterationStage, m as isDesignStack } from './parallel-eternal-engine-BXECuOVG.js';
45
+ export { f as DESIGN_STACKS, d as DesignKitEntry, b as DesignKitLoader, c as DesignKitManifest, e as DesignKitTokens, D as DesignStack, a as DesignStudioState, g as DesignTokenSet, E as EternalAutonomyEngine, h as EternalAutonomyOptions, i as EternalEngineState, I as IterationStage, P as ParallelEngineState, j as ParallelEternalEngine, k as ParallelEternalOptions, l as ParallelIterationStage, m as isDesignStack } from './parallel-eternal-engine-iY2uxocj.js';
46
46
  export { C as CODEX_MODELS, a as CodexModelMeta, D as DefaultModeStore, b as DefaultModelsRegistry, c as DefaultModelsRegistryOptions, L as LLMSelector, d as LLMSelectorOptions, M as ModeLoaderOptions, P as ProviderModelDescriptor, e as classifyFamily, f as codexModelMeta, g as describeCatalogModel, l as loadProjectModes, h as loadUserModes, r as resolveProviderModelList } from './provider-model-resolve-DIxKL_T-.js';
47
47
  export { DefaultHealthRegistry, InMemoryMetricsSink, MetricsServerHandle, MetricsServerOptions, NoopMetricsSink, NoopTracer, OTelTracer, OtlpMetricsExporterHandle, OtlpMetricsExporterOptions, OtlpTraceExporterHandle, OtlpTraceExporterOptions, PROMETHEUS_CONTENT_TYPE, buildOtlpMetricsRequest, buildOtlpTracesRequest, renderPrometheus, startMetricsServer, startOtlpMetricsExporter, startOtlpTraceExporter, wireMetricsToEvents } from './observability/index.js';
48
- export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, F as FileMemoryBackend, j as FileMemoryBackendOptions, M as MemoryBackend, k as MemoryStoreOptions, l as MigrationContext, m as MigrationResult, P as PersistedQueueItem, n as PlanFile, o as PlanItem, p as PlanTemplate, Q as QueueStore, R as RecoveryLock, q as RecoveryLockOptions, S as SessionAnalyzer, r as SessionStoreOptions, T as TodosCheckpointFile, s as addPlanItem, t as attachPlanCheckpoint, u as attachTodosCheckpoint, v as clearPlan, w as deriveTodosFromPlanItem, x as emptyPlan, y as formatPlan, z as formatPlanTemplates, B as getPlanTemplate, E as listPlanTemplates, G as loadPlan, H as loadTodosCheckpoint, I as mutatePlan, J as parseEntries, K as removePlanItem, L as runConfigMigrations, N as savePlan, O as saveTodosCheckpoint, U as setPlanItemStatus } from './todos-checkpoint-Bw83WMh9.js';
48
+ export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, F as FileMemoryBackend, j as FileMemoryBackendOptions, M as MemoryBackend, k as MemoryStoreOptions, l as MigrationContext, m as MigrationResult, P as PersistedQueueItem, n as PlanFile, o as PlanItem, p as PlanTemplate, Q as QueueStore, R as RecoveryLock, q as RecoveryLockOptions, S as SessionAnalyzer, r as SessionStoreOptions, T as TodosCheckpointFile, s as addPlanItem, t as attachPlanCheckpoint, u as attachTodosCheckpoint, v as clearPlan, w as deriveTodosFromPlanItem, x as emptyPlan, y as formatPlan, z as formatPlanTemplates, B as getPlanTemplate, E as listPlanTemplates, G as loadPlan, H as loadTodosCheckpoint, I as mutatePlan, J as parseEntries, K as removePlanItem, L as runConfigMigrations, N as savePlan, O as saveTodosCheckpoint, U as setPlanItemStatus } from './todos-checkpoint-BwCrj4Cb.js';
49
49
  export { a as DirectorStateCheckpoint, D as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-B_GPa78Q.js';
50
50
  export { A as AuditLevel, C as CORE_RECONSTRUCT_EVENTS, a as STANDARD_AUDIT_EVENTS, S as SessionEventBridge, b as SessionEventBridgeOptions, c as SessionSamplingOptions, T as ToolProgressSamplingOptions, d as createSessionEventBridge, r as resolveAuditLevel, e as resolveSessionLoggingConfig } from './session-event-bridge-Bkp7ORfc.js';
51
51
  export { AutonomyBrainOptions, BrainAutoRisk, ModelRuntimeMiddlewareOptions, ResolvedModelRuntime, TieredBrainArbiterOptions, applyModelRuntime, createAutonomyBrain, createTieredBrainArbiter, formatDecisionSummary, mergeModelRuntime, resolveCacheForRequest, resolveModelRuntime, resolveReasoningForRequest } from './execution/index.js';
@@ -65,10 +65,10 @@ import { SkillRegistryAdapter } from './skills/index.js';
65
65
  export { DEFAULT_SKILLS_SH_URL, DownloadResult, ExtractedSkillDraft, FOREIGN_SKILL_TOOLS, ForeignSkillTool, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, ParsedSkillFrontmatter, RegistrySearchOptions, RegistrySearchResult, RegistrySkillSummary, ResolvedForeignTools, SKILL_LIMITS, SkillInstaller, SkillInstallerOptions, SkillManifestStore, SkillNameValidation, SkillSecurityTier, SkillSkeletonOptions, UpdateResult, bodyLineAdvisory, createSkillsShAdapter, downloadGitHubTarball, extractSkillFromPrompt, generateSkillSkeleton, githubDirectAdapter, isValidSkillNameFormat, openInEditor, parseSkillFrontmatter, parseSkillRef, resolveForeignToolIds, resolveForeignToolIdsWithWarnings, securityScoreToTier, stripFrontmatter, validateSkillName, validateSkillNameAvailable, writeSkeletonSkill } from './skills/index.js';
66
66
  import { PromptRegistryManifest, RegistryDiff, PromptManifestData, InstalledPromptEntry } from './types/index.js';
67
67
  export { AutonomyStage, DistributiveOmit, MALFORMED_ARG_MARKERS, ManifestValidation, PromptRegistryRef, diffRegistry, validateRegistryManifest } from './types/index.js';
68
- import { P as ProviderRunner, R as RunProviderOptions$1 } from './provider-runner-CJtCs1Rw.js';
68
+ import { P as ProviderRunner, R as RunProviderOptions$1 } from './provider-runner-oQhDaZmH.js';
69
69
  export { D as DANGEROUS_FOR_SUBAGENTS, T as ToolCapabilities, a as ToolCapability, W as WIDE_SUBAGENT_CAPABILITIES, g as getDangerousCapabilities, h as hasCapability, b as hasDangerousCapabilityForSubagents } from './index-BEFWNZYs.js';
70
70
  export { A as AgentEntry, a as AgentLiveStatus, S as SessionLiveStatus, b as SessionRegistry, c as SessionRegistryEntry, g as getSessionRegistry, h as hasSessionRegistry } from './session-registry-Dvg7i_IA.js';
71
- export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as MAX_PROGRESS_HISTORY, P as ProgressSnapshot, b as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, p as parseProgressFromText, r as recordProgress, s as saveGoal, c as setProgress, d as summarizeUsage } from './goal-store-BEmDmSKF.js';
71
+ export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as MAX_PROGRESS_HISTORY, P as ProgressSnapshot, b as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, p as parseProgressFromText, r as recordProgress, s as saveGoal, c as setProgress, d as summarizeUsage } from './goal-store-8owBXJT2.js';
72
72
  import { MCPRegistryHandle } from './tools/index.js';
73
73
  export { createMcpControlTool } from './tools/index.js';
74
74
  export { a as CompactReport, C as Compactor } from './compactor-BxddyCFu.js';
@@ -1299,6 +1299,98 @@ declare function consumeBtwNotes(ctx: Context): string[];
1299
1299
  */
1300
1300
  declare function buildBtwBlock(notes: string[]): string;
1301
1301
 
1302
+ /**
1303
+ * Continue-intent detection + continuation resolution.
1304
+ *
1305
+ * ## Problem
1306
+ *
1307
+ * Users frequently type a bare "continue" (or "devam", "go on", "keep going")
1308
+ * to nudge the agent forward without supplying any new instruction. On its own
1309
+ * that word carries no information about *what* to continue — the model has to
1310
+ * re-derive "what was next" from history, which drifts as the context window is
1311
+ * compacted. Left unanchored, a run of "continue … continue … continue" turns
1312
+ * into an ever-vaguer manual loop: the model repeats work, declares completion
1313
+ * prematurely, or wanders.
1314
+ *
1315
+ * ## Approach
1316
+ *
1317
+ * A bare "continue" is not new information — it points at an *existing* goal.
1318
+ * So instead of asking the model to remember a hidden per-message marker, we
1319
+ * resolve the continuation against the state we already keep:
1320
+ *
1321
+ * 1. **Open todos** — the strongest, most durable anchor. Survives context
1322
+ * compaction (todos are re-injected each turn) and goal.json persistence.
1323
+ * "continue" = resume the next open todo.
1324
+ * 2. **Parsed `<nextsteps>` suggestions** — the menu surfaced after the last
1325
+ * completed turn (already extracted and stored by the surface's
1326
+ * suggestion store). "continue" = do suggestion #1.
1327
+ * 3. **Open continuation** — no explicit task is queued, but the user still
1328
+ * wants work to proceed. We inject an instruction that tells the model to
1329
+ * pick the single most valuable next step itself and carry it out — while
1330
+ * explicitly forbidding fabricated busywork. This is what keeps "continue"
1331
+ * from ever dead-ending.
1332
+ *
1333
+ * This module is pure and surface-agnostic: detection takes the raw string,
1334
+ * resolution takes already-collected data (todos + parsed suggestion strings).
1335
+ * The REPL and TUI wire it in at the point where a user message becomes an
1336
+ * agent run, *before* prompt refinement — a bare "continue" has nothing
1337
+ * meaningful to refine, and refining it would only add latency and drift.
1338
+ *
1339
+ * The three triggers of the same continuation machinery — the user typing
1340
+ * "continue", the model emitting the `[continue]` marker (see
1341
+ * {@link parseContinueDirective}), and an autonomy tick — all ultimately want
1342
+ * the same thing: advance the plan. This module is the manual-trigger path.
1343
+ */
1344
+
1345
+ /**
1346
+ * True when `raw` is a bare "continue"-style nudge and nothing else.
1347
+ *
1348
+ * Strict by construction: the message must normalize to exactly one of
1349
+ * {@link CONTINUE_PHRASES}. Anything with additional substance ("continue but
1350
+ * skip tests", "go on to the next file and commit") normalizes to a string
1351
+ * outside the set and returns false, so it is handled as an ordinary message.
1352
+ */
1353
+ declare function detectContinueIntent(raw: string): boolean;
1354
+ /**
1355
+ * Where the resolved continuation came from:
1356
+ * - `todo` — resumed the next open todo (strongest anchor)
1357
+ * - `suggestion` — took the top parsed `<nextsteps>` suggestion
1358
+ * - `open` — no explicit task queued; model self-determines the step
1359
+ */
1360
+ type ContinuationSource = 'todo' | 'suggestion' | 'open';
1361
+ interface ContinuationInput {
1362
+ /** Live todo list (`ctx.todos`). */
1363
+ todos?: readonly TodoItem[] | undefined;
1364
+ /** Already-parsed `<nextsteps>` suggestion strings from the surface store. */
1365
+ suggestions?: readonly string[] | undefined;
1366
+ }
1367
+ interface ResolvedContinuation {
1368
+ source: ContinuationSource;
1369
+ /**
1370
+ * The concrete instruction injected as the next user turn in place of the
1371
+ * bare "continue". Written for the model, not the human.
1372
+ */
1373
+ text: string;
1374
+ /**
1375
+ * Short one-line label for the surface to echo (dim) so the human sees what
1376
+ * "continue" resolved to without the full injected paragraph.
1377
+ */
1378
+ label: string;
1379
+ }
1380
+ /**
1381
+ * Resolve what a bare "continue" should do, given the current run state.
1382
+ *
1383
+ * The ladder — first match wins:
1384
+ * 1. an open todo (in-progress preferred, else the first pending),
1385
+ * 2. the top stored suggestion,
1386
+ * 3. an open continuation that never dead-ends.
1387
+ *
1388
+ * Always returns a usable {@link ResolvedContinuation}; the `open` branch is
1389
+ * the guaranteed fallback so "continue" keeps work moving even with no todos
1390
+ * and no suggestions.
1391
+ */
1392
+ declare function resolveContinuation(input: ContinuationInput): ResolvedContinuation;
1393
+
1302
1394
  /**
1303
1395
  * L1-E: Autonomous continue — model-driven self-iteration continuation.
1304
1396
  *
@@ -1613,8 +1705,16 @@ interface MailboxLoopOptions {
1613
1705
  * without knowing the session tag; every live leader session receives it.
1614
1706
  */
1615
1707
  aliases?: string[] | undefined;
1708
+ /** Optional delivery predicate applied before dedup/read receipts. */
1709
+ include?: ((message: MailboxMessage) => boolean) | undefined;
1710
+ /** Mark returned messages as read. Defaults to true for normal delivery. */
1711
+ ack?: boolean | undefined;
1616
1712
  }
1617
1713
  declare function createMailboxChecker(opts: MailboxLoopOptions): () => Promise<MailboxMessage[]>;
1714
+ declare function buildMailboxBtwAwarenessBlock(messages: MailboxMessage[]): {
1715
+ type: 'text';
1716
+ text: string;
1717
+ };
1618
1718
  declare function buildMailboxBlock(messages: MailboxMessage[]): {
1619
1719
  type: 'text';
1620
1720
  text: string;
@@ -2036,6 +2136,32 @@ type KanbanCheckStatus = 'pending' | 'passed' | 'failed' | 'skipped';
2036
2136
  type KanbanLinkType = 'issue' | 'pr' | 'doc' | 'commit' | 'design' | 'file' | 'url' | 'other';
2037
2137
  type KanbanAgentRunStatus = 'assigned' | 'queued' | 'running' | 'completed' | 'failed' | 'cancelled';
2038
2138
  type KanbanGoalMetricStatus = 'pending' | 'met' | 'missed' | 'waived';
2139
+ type KanbanRetryPolicy = 'off' | 'incremental' | 'exponential';
2140
+ /**
2141
+ * Sprint 2 recovery mode surface. `'auto'` defers per-task mode to
2142
+ * `selectRecoveryMode` based on the configured `RecoverStaleKanbanAssignmentsInput.policy`.
2143
+ * Explicit modes keep the historical semantics:
2144
+ * - `'release'` clears the assignment and returns the task to ready/blocked.
2145
+ * - `'retry'` increments attempt and re-queues unless `maxAttempts` is exhausted.
2146
+ * - `'fail'` marks the assignment failed (retry budget exhausted).
2147
+ */
2148
+ type KanbanRecoveryMode = 'auto' | 'release' | 'retry' | 'fail';
2149
+ /**
2150
+ * Optional policy that biases per-task recovery decisions. When present and
2151
+ * `RecoverStaleKanbanAssignmentsInput.mode === 'auto'`, each stale task gets
2152
+ * a per-task mode derived from its assignment metadata, the queue health
2153
+ * signal summary for the task's board, and the policy rules below.
2154
+ */
2155
+ interface KanbanRecoveryPolicy {
2156
+ /** When true, prefer `fail` over `retry` for tasks whose `costCeilingUsd` is set. */
2157
+ failWhenCostCeilingSet?: boolean | undefined;
2158
+ /** When set, prefer `release` for tasks whose `lastFailureKind` matches any of these. */
2159
+ releaseOnFailureKinds?: string[] | undefined;
2160
+ /** When true, also `release` if the heartbeat-due signal mentions this task. Default: false. */
2161
+ releaseOnHeartbeatDue?: boolean | undefined;
2162
+ /** Incremental/exponential/off hint returned for cost boundary diagnostics. */
2163
+ retryPolicyOverride?: KanbanRetryPolicy | undefined;
2164
+ }
2039
2165
  interface KanbanAgentAssignment {
2040
2166
  agentId?: string | undefined;
2041
2167
  name?: string | undefined;
@@ -2049,6 +2175,18 @@ interface KanbanAgentAssignment {
2049
2175
  status: KanbanAgentRunStatus;
2050
2176
  dispatchedAt?: string | undefined;
2051
2177
  completedAt?: string | undefined;
2178
+ leaseId?: string | undefined;
2179
+ claimedAt?: string | undefined;
2180
+ heartbeatAt?: string | undefined;
2181
+ leaseExpiresAt?: string | undefined;
2182
+ attempt?: number | undefined;
2183
+ maxAttempts?: number | undefined;
2184
+ /** Sprint 2: cost ceiling for this assignment in USD; 0/undefined means unbounded. */
2185
+ costCeilingUsd?: number | undefined;
2186
+ /** Sprint 2: which retry strategy the recovery router should follow. */
2187
+ retryPolicy?: KanbanRetryPolicy | undefined;
2188
+ /** Sprint 2: last failure kind observed by the worker, used by routing hints. */
2189
+ lastFailureKind?: string | undefined;
2052
2190
  subagentId?: string | undefined;
2053
2191
  runTaskId?: string | undefined;
2054
2192
  lastResult?: string | undefined;
@@ -2074,6 +2212,20 @@ interface KanbanNote {
2074
2212
  content: string;
2075
2213
  createdAt: string;
2076
2214
  }
2215
+ interface KanbanEvent {
2216
+ id: string;
2217
+ boardId: string;
2218
+ type: string;
2219
+ ts: string;
2220
+ taskId?: string | undefined;
2221
+ actor?: string | undefined;
2222
+ before?: unknown;
2223
+ after?: unknown;
2224
+ correlationId?: string | undefined;
2225
+ subagentId?: string | undefined;
2226
+ runTaskId?: string | undefined;
2227
+ note?: string | undefined;
2228
+ }
2077
2229
  interface KanbanGoalMetric {
2078
2230
  id: string;
2079
2231
  name: string;
@@ -2123,6 +2275,16 @@ interface KanbanTask {
2123
2275
  completedAt?: string | undefined;
2124
2276
  estimatedHours?: number | undefined;
2125
2277
  actualHours?: number | undefined;
2278
+ /**
2279
+ * Sprint 3: durable task-level retry policy that survives claim/release cycles.
2280
+ * Set during assignTask, used as fallback when assignment.retryPolicy is absent.
2281
+ */
2282
+ retryPolicy?: KanbanRetryPolicy | undefined;
2283
+ /**
2284
+ * Sprint 3: durable task-level cost ceiling that survives claim/release cycles.
2285
+ * Set during assignTask, used as fallback when assignment.costCeilingUsd is absent.
2286
+ */
2287
+ costCeilingUsd?: number | undefined;
2126
2288
  links?: KanbanLink[] | undefined;
2127
2289
  notes?: KanbanNote[] | undefined;
2128
2290
  }
@@ -2271,6 +2433,15 @@ interface AssignKanbanTaskInput {
2271
2433
  tools?: string[] | undefined;
2272
2434
  allowedCapabilities?: string[] | undefined;
2273
2435
  assignee?: string | undefined;
2436
+ leaseId?: string | undefined;
2437
+ claimedAt?: string | undefined;
2438
+ heartbeatAt?: string | undefined;
2439
+ leaseExpiresAt?: string | undefined;
2440
+ attempt?: number | undefined;
2441
+ maxAttempts?: number | undefined;
2442
+ costCeilingUsd?: number | undefined;
2443
+ retryPolicy?: KanbanRetryPolicy | undefined;
2444
+ lastFailureKind?: string | undefined;
2274
2445
  status?: KanbanAgentRunStatus | undefined;
2275
2446
  }
2276
2447
  interface SplitKanbanTaskInput {
@@ -2315,6 +2486,79 @@ interface ReleaseKanbanTaskClaimInput {
2315
2486
  reason?: string | undefined;
2316
2487
  clearAssignee?: boolean | undefined;
2317
2488
  }
2489
+ interface HeartbeatKanbanTaskAssignmentInput {
2490
+ heartbeatAt?: string | undefined;
2491
+ leaseExpiresAt?: string | undefined;
2492
+ }
2493
+ type RecoverStaleKanbanAssignmentMode = KanbanRecoveryMode;
2494
+ interface RecoverStaleKanbanAssignmentsInput {
2495
+ mode?: RecoverStaleKanbanAssignmentMode | undefined;
2496
+ now?: string | undefined;
2497
+ reason?: string | undefined;
2498
+ clearAssignee?: boolean | undefined;
2499
+ /** Optional policy biases `'auto'` mode and is ignored for explicit modes. */
2500
+ policy?: KanbanRecoveryPolicy | undefined;
2501
+ }
2502
+ interface RecoverStaleKanbanAssignmentsResult {
2503
+ board: KanbanBoard;
2504
+ tasks: KanbanTask[];
2505
+ }
2506
+ /**
2507
+ * Operational health summary over a Kanban board (or the whole project).
2508
+ *
2509
+ * This is the single source of truth that recovery loops, dashboards and the
2510
+ * `kanban` tool read from before making decisions. Counts are always computed
2511
+ * against the *current* board state; signals are derived per-task.
2512
+ *
2513
+ * `dependencyBlocked` is intentionally separate from `blocked`. A task with
2514
+ * `status === 'blocked'` has been explicitly failed or cancelled by a human;
2515
+ * a task counted in `dependencyBlocked.tasks` is technically `ready` or
2516
+ * `pending` but cannot proceed because of unmet dependencies. WebUI and
2517
+ * recovery loops should treat these as distinct queues.
2518
+ *
2519
+ * `staleAssignments` and `heartbeatDue` are computed against an optional
2520
+ * `now` (defaults to real wall clock). `lastDispatchedAt` and
2521
+ * `lastStaleRecoveredAt` surface operational slack without requiring callers
2522
+ * to scan the append-only event log themselves.
2523
+ */
2524
+ interface KanbanQueueHealth {
2525
+ generatedAt: string;
2526
+ boardIds: string[];
2527
+ counts: {
2528
+ ready: number;
2529
+ queued: number;
2530
+ running: number;
2531
+ review: number;
2532
+ failed: number;
2533
+ completed: number;
2534
+ pending: number;
2535
+ archived: number;
2536
+ blocked: number;
2537
+ };
2538
+ /** Tasks that are technically `ready` or `pending` but have unmet dependencies. */
2539
+ dependencyBlocked: {
2540
+ count: number;
2541
+ tasks: KanbanSearchResult[];
2542
+ };
2543
+ /** Assignments with `leaseExpiresAt <= now` that are still `queued` or `running`. */
2544
+ staleAssignments: {
2545
+ count: number;
2546
+ tasks: KanbanSearchResult[];
2547
+ };
2548
+ /** `failed` tasks whose `attempt < maxAttempts` and are therefore worth retrying. */
2549
+ failedRetryable: {
2550
+ count: number;
2551
+ tasks: KanbanSearchResult[];
2552
+ };
2553
+ /** `running` tasks whose lease is about to lapse (within `heartbeatIntervalMs`). */
2554
+ heartbeatDue: {
2555
+ count: number;
2556
+ tasks: KanbanSearchResult[];
2557
+ };
2558
+ /** Wall-clock timestamps of the most recent dispatch and most recent stale recovery. */
2559
+ lastDispatchedAt?: string;
2560
+ lastStaleRecoveredAt?: string;
2561
+ }
2318
2562
  interface KanbanOrchestrationSnapshot {
2319
2563
  generatedAt: string;
2320
2564
  boards: KanbanBoardSummary[];
@@ -2380,16 +2624,39 @@ declare function updateTask(projectRoot: string, boardId: string, taskId: string
2380
2624
  declare function moveTask(projectRoot: string, boardId: string, taskId: string, targetColumnId: string, targetOrder?: number): Promise<KanbanBoard | null>;
2381
2625
  declare function removeTask(projectRoot: string, boardId: string, taskId: string): Promise<KanbanBoard | null>;
2382
2626
  declare function getTask(projectRoot: string, boardId: string, taskId: string): Promise<KanbanTask | null>;
2627
+ declare function listKanbanEvents(projectRoot: string, boardId: string): Promise<KanbanEvent[]>;
2383
2628
  declare function assignTask(projectRoot: string, boardId: string, taskId: string, input: AssignKanbanTaskInput): Promise<KanbanBoard | null>;
2384
2629
  declare function updateTaskAssignment(projectRoot: string, boardId: string, taskId: string, patch: Partial<KanbanAgentAssignment> & {
2385
2630
  status?: KanbanAgentRunStatus | undefined;
2386
2631
  }): Promise<KanbanBoard | null>;
2632
+ declare function heartbeatTaskAssignment(projectRoot: string, boardId: string, taskId: string, input?: HeartbeatKanbanTaskAssignmentInput): Promise<KanbanBoard | null>;
2633
+ declare function recoverStaleTaskAssignments(projectRoot: string, boardId: string, input?: RecoverStaleKanbanAssignmentsInput): Promise<RecoverStaleKanbanAssignmentsResult | null>;
2387
2634
  declare function claimReadyTask(projectRoot: string, input?: ClaimKanbanTaskInput): Promise<{
2388
2635
  board: KanbanBoard;
2389
2636
  task: KanbanTask;
2390
2637
  } | null>;
2391
2638
  declare function releaseTaskClaim(projectRoot: string, boardId: string, taskId: string, input?: ReleaseKanbanTaskClaimInput): Promise<KanbanBoard | null>;
2392
2639
  declare function getKanbanOrchestrationSnapshot(projectRoot: string, input?: KanbanSearchInput): Promise<KanbanOrchestrationSnapshot>;
2640
+ /**
2641
+ * Operational health summary. See `KanbanQueueHealth` for the full contract.
2642
+ *
2643
+ * Implementation notes:
2644
+ * * Per-status counts are computed against the current state of every
2645
+ * queried board (the same source `getKanbanOrchestrationSnapshot`
2646
+ * consumes).
2647
+ * * `dependencyBlocked` deduplicates `counts.ready` — a task ready but
2648
+ * blocked by dependencies only appears in the blocked bucket.
2649
+ * * `staleAssignments` and `heartbeatDue` use `now ?? real-wall-clock`;
2650
+ * callers (notably the recovery loop) should pass an explicit
2651
+ * timestamp so time is deterministic.
2652
+ * * `lastDispatchedAt` / `lastStaleRecoveredAt` come from the append-only
2653
+ * event log so dashboards do not need to rescan tasks.
2654
+ */
2655
+ declare function getKanbanQueueHealth(projectRoot: string, input?: {
2656
+ boardId?: string;
2657
+ now?: string;
2658
+ heartbeatIntervalMs?: number;
2659
+ }): Promise<KanbanQueueHealth>;
2393
2660
  declare function addDependency(projectRoot: string, boardId: string, taskId: string, dependencyTaskId: string): Promise<KanbanBoard | null>;
2394
2661
  declare function splitTask(projectRoot: string, boardId: string, taskId: string, input: SplitKanbanTaskInput): Promise<{
2395
2662
  board: KanbanBoard;
@@ -2482,6 +2749,7 @@ declare function exportBoardAsMarkdown(board: KanbanBoard): string;
2482
2749
 
2483
2750
  declare function getKanbanDir(projectRoot: string): string;
2484
2751
  declare function getKanbanPath(projectRoot: string, boardId: string): string;
2752
+ declare function getKanbanEventsPath(projectRoot: string, boardId: string): string;
2485
2753
  declare function isValidBoardId(boardId: string): boolean;
2486
2754
  declare function assertValidBoardId(boardId: string): void;
2487
2755
  declare function listBoardIds(projectRoot: string): Promise<string[]>;
@@ -2491,6 +2759,8 @@ declare function listBoardIds(projectRoot: string): Promise<string[]>;
2491
2759
  declare function resolveBoardRef(projectRoot: string, boardRef: string): Promise<string | null>;
2492
2760
  declare function readBoard(projectRoot: string, boardRef: string): Promise<KanbanBoard | null>;
2493
2761
  declare function writeBoard(projectRoot: string, board: KanbanBoard): Promise<void>;
2762
+ declare function appendKanbanEvent(projectRoot: string, boardId: string, event: KanbanEvent): Promise<void>;
2763
+ declare function readKanbanEvents(projectRoot: string, boardRef: string): Promise<KanbanEvent[]>;
2494
2764
  declare function deleteBoard(projectRoot: string, boardRef: string): Promise<boolean>;
2495
2765
  declare function mutateBoard<T>(projectRoot: string, boardRef: string, mutator: (board: KanbanBoard) => T | Promise<T>): Promise<{
2496
2766
  board: KanbanBoard;
@@ -3565,4 +3835,4 @@ declare function createMcpUseTool(opts: CreateMcpUseToolOptions): Tool;
3565
3835
  declare function readBundledInstructionText(relativePath: string): string;
3566
3836
  declare function renderInstructionTemplate(template: string, values: Record<string, string>): string;
3567
3837
 
3568
- export { AddAttachmentInput, type AddKanbanGoalMetricInput, AgentExtension, AgentPipelines, type AssignKanbanTaskInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, type BootConfigOptions, type BootConfigResult, BrainArbiter, BuildContext, CHIMERA_REVIEW_PROMPT, CURRENT_KANBAN_VERSION, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type ChimeraReviewNeededPayload, type ClaimKanbanTaskInput, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, type CommitSafetyOptions, type CommitSafetyReport, Config, ConfigStore, type ConsumedInjectionInfo, Container, ContentBlock, type ContentScore, Context, type ContinueDirective, type CopyKanbanTaskOptions, type CreateBoardObjectOptions, type CreateKanbanBoardFromTaskGraphOptions, type CreateKanbanBoardInput, type CreateKanbanBoardsFromPhaseGraphOptions, type CreateKanbanColumnInput, type CreateKanbanTaskInput, DEFAULT_COLUMNS, DefaultLogger, DefaultPluginAPI, DefaultPromptStore, DefaultSecretVault, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, type DuplicateKanbanBoardInput, type EliseResult, EventBus, EventName, type ExportKanbanBoardToTaskGraphOptions, ExtensionRegistry, type FallbackModelDeps, type FileAuthorEntry, type FileAuthorLog, type FileAuthorTrackerOptions, type Finding, type ForeignFile, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, HookEvent, HookInput, HookMatcher, HookOutcome, HookRegistry, InProcessHook, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, InstalledPromptEntry, type InstructionBundle, type InstructionBundlePaths, JSONSchema, type JsonFetcher, KERNEL_API_VERSION, type KanbanAgentAssignment, type KanbanAgentRunStatus, type KanbanBoard, type KanbanBoardMeta, type KanbanBoardSummary, type KanbanCheck, type KanbanCheckStatus, type KanbanCheckType, type KanbanColumn, type KanbanGenerationInput, type KanbanGoalMetric, type KanbanGoalMetricStatus, type KanbanLink, type KanbanLinkType, type KanbanNote, type KanbanOrchestrationSnapshot, type KanbanSearchInput, type KanbanSearchResult, type KanbanTask, type KanbanTaskChainRef, type KanbanTaskOrigin, type KanbanTaskPriority, type KanbanTaskStatus, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, MCPRegistryHandle, MCPRegistryView, Mailbox, type MailboxLoopOptions, MailboxMessage, MemoryStore, type MergeKanbanTasksInput, Message, MetricsSink, MetricsSinkView, Middleware, ModeStore, ModelCapabilities, ModelsRegistry, type NicknameAssignment, PHASE_EVENT_NAMES, type PackageManager, PermissionPolicy, type PhaseEventMap, type PhaseEventName, type PhaseExecutionContext, type PhaseFilter, type PhaseGraph, PhaseGraphBuilder, type PhaseGraphBuilderOptions, type PhaseNode, PhaseOrchestrator, type PhaseOrchestratorOptions, type PhaseProgress, type PhaseSort, type PhaseStatus, PhaseStore, type PhaseStoreOptions, type PhaseTemplate, Plugin, PluginAPI, type PluginAPIInit, PluginCapabilities, PluginDependency, PluginLLM, PluginPipelines, PromptInstaller, type PromptInstallerOptions, PromptLoader, PromptManifestData, PromptManifestStore, type PromptPullResult, PromptRegistryManifest, PromptUsageStore, Provider, ProviderRegistry, ProviderRegistryView, ProviderRunner, RegistryDiff, type ReleaseKanbanTaskClaimInput, type RemoveKanbanColumnOptions, Renderer, ReplayLogStore, type ReplayMode, ReplayProviderRunner, type ReplayProviderRunnerOptions, ReportGenerator, type ReportOptions, Request, type ResolvedChimeraConfig, Response, RunProviderOptions$1 as RunProviderOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SetKanbanTaskChainInput, type SeverityLevel, ShellHook, type ShellHookSpec, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SkillRegistryAdapter, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, type SplitKanbanTaskInput, type SyncKanbanBoardFromTaskGraphOptions, type SystemInstructionBundle, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, type TechStackConsumerOptions, TechStackDetector, type TechStackInfo, TextBlock, TokenSavingTier, Tool, ToolCallPipelinePayload, ToolRegistry, ToolRegistryView, Tracer, type UpdateKanbanBoardInput, type UpdateKanbanColumnInput, type UpdateKanbanGoalMetricInput, type UpdateKanbanTaskInput, WorktreeManager, WstackPaths, addCheckToTask, addColumn, addDependency, addGoalMetricToTask, addLinkToTask, addNoteToTask, addTask, areDependenciesMet, assertValidBoardId, assessCommitSafety, assignNickname, assignTask, attachMailboxChecker, boardMeta, bootConfig, buildBtwBlock, buildLosslessDigest, buildMailboxBlock, buildQueuedMessagesBlock, buildSmartDigest, buildTaskGraphFromKanbanBoard, claimReadyTask, collabInjectMiddleware, collabPauseMiddleware, compactLog, consumeBtwNotes, consumeQueuedMessagesUpdate, copyTaskToBoard, countShellHooks, createAutoPhaseFromTaskGraph, createBoard, createBoardFromTaskGraph, createBoardObject, createBoardsFromPhaseGraph, createChimeraPlugin, createFallbackModelExtension, createGitPlugin, createMailboxChecker, createMcpUseTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, definePlugin, deleteBoard, duplicateBoard, effectiveFallbackChain, eliseOldToolResults, estimateMessageTokens, estimateMessages, exportBoardAsMarkdown, exportBoardToTaskGraph, extractText, fallbackProfileChain, findBlockedTasks, findPreserveStart, flagsToConfigPatch, formatModelRef, generateBoardFromDescription, getBoard, getFileHistory, getFilesByAgent, getFullLog, getKanbanDir, getKanbanOrchestrationSnapshot, getKanbanPath, getLastAuthor, getTask, getTaskChain, hasTextContent, hashRequest, injectPendingMailboxMessages, isValidBoardId, listBoardIds, listBoardSummaries, listBoards, listReadyTasks, loadInstructionBundle, loadPlugins, makeContinueToNextIterationTool, mergeInstructionBundle, mergeTasks, moveTask, mutateBoard, nicknameKeyFromDisplay, normalizeModelRef, parseContinueDirective, parseLinesIntoTasks, parseModelRef, peekQueuedMessages, pendingBtwCount, readBoard, readBundledInstructionText, recordFileAction, releaseTaskClaim, removeBoard, removeColumn, removeTask, renderInstructionTemplate, resolveBoardRef, resolveChimeraConfig, runProviderWithRetry, runShellHook, scoreMessage, searchKanban, securitySlashCommand, setBtwNote, setQueuedMessagesSnapshot, setTaskChain, shellHooksEqual, smartDefaultFallbackChain, splitTask, stableStringify, startTechStackConsumer, summarizeBoard, syncBoardFromTaskGraph, transferTaskToBoard, unloadPlugins, updateBoard, updateCheckOnTask, updateColumn, updateGoalMetricOnTask, updateTask, updateTaskAssignment, writeBoard };
3838
+ export { AddAttachmentInput, type AddKanbanGoalMetricInput, AgentExtension, AgentPipelines, type AssignKanbanTaskInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, type BootConfigOptions, type BootConfigResult, BrainArbiter, BuildContext, CHIMERA_REVIEW_PROMPT, CURRENT_KANBAN_VERSION, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, type ChimeraReviewNeededPayload, type ClaimKanbanTaskInput, type CollabBusState, type InjectedToolResult as CollabInjectedToolResult, type CollabPauseMiddlewareOptions, CollaborationBus, type CommitSafetyOptions, type CommitSafetyReport, Config, ConfigStore, type ConsumedInjectionInfo, Container, ContentBlock, type ContentScore, Context, type ContinuationInput, type ContinuationSource, type ContinueDirective, type CopyKanbanTaskOptions, type CreateBoardObjectOptions, type CreateKanbanBoardFromTaskGraphOptions, type CreateKanbanBoardInput, type CreateKanbanBoardsFromPhaseGraphOptions, type CreateKanbanColumnInput, type CreateKanbanTaskInput, DEFAULT_COLUMNS, DefaultLogger, DefaultPluginAPI, DefaultPromptStore, DefaultSecretVault, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, type DuplicateKanbanBoardInput, type EliseResult, EventBus, EventName, type ExportKanbanBoardToTaskGraphOptions, ExtensionRegistry, type FallbackModelDeps, type FileAuthorEntry, type FileAuthorLog, type FileAuthorTrackerOptions, type Finding, type ForeignFile, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, type HeartbeatKanbanTaskAssignmentInput, HookEvent, HookInput, HookMatcher, HookOutcome, HookRegistry, InProcessHook, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, InstalledPromptEntry, type InstructionBundle, type InstructionBundlePaths, JSONSchema, type JsonFetcher, KERNEL_API_VERSION, type KanbanAgentAssignment, type KanbanAgentRunStatus, type KanbanBoard, type KanbanBoardMeta, type KanbanBoardSummary, type KanbanCheck, type KanbanCheckStatus, type KanbanCheckType, type KanbanColumn, type KanbanEvent, type KanbanGenerationInput, type KanbanGoalMetric, type KanbanGoalMetricStatus, type KanbanLink, type KanbanLinkType, type KanbanNote, type KanbanOrchestrationSnapshot, type KanbanQueueHealth, type KanbanRecoveryMode, type KanbanRecoveryPolicy, type KanbanRetryPolicy, type KanbanSearchInput, type KanbanSearchResult, type KanbanTask, type KanbanTaskChainRef, type KanbanTaskOrigin, type KanbanTaskPriority, type KanbanTaskStatus, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, MCPRegistryHandle, MCPRegistryView, Mailbox, type MailboxLoopOptions, MailboxMessage, MemoryStore, type MergeKanbanTasksInput, Message, MetricsSink, MetricsSinkView, Middleware, ModeStore, ModelCapabilities, ModelsRegistry, type NicknameAssignment, PHASE_EVENT_NAMES, type PackageManager, PermissionPolicy, type PhaseEventMap, type PhaseEventName, type PhaseExecutionContext, type PhaseFilter, type PhaseGraph, PhaseGraphBuilder, type PhaseGraphBuilderOptions, type PhaseNode, PhaseOrchestrator, type PhaseOrchestratorOptions, type PhaseProgress, type PhaseSort, type PhaseStatus, PhaseStore, type PhaseStoreOptions, type PhaseTemplate, Plugin, PluginAPI, type PluginAPIInit, PluginCapabilities, PluginDependency, PluginLLM, PluginPipelines, PromptInstaller, type PromptInstallerOptions, PromptLoader, PromptManifestData, PromptManifestStore, type PromptPullResult, PromptRegistryManifest, PromptUsageStore, Provider, ProviderRegistry, ProviderRegistryView, ProviderRunner, type RecoverStaleKanbanAssignmentMode, type RecoverStaleKanbanAssignmentsInput, type RecoverStaleKanbanAssignmentsResult, RegistryDiff, type ReleaseKanbanTaskClaimInput, type RemoveKanbanColumnOptions, Renderer, ReplayLogStore, type ReplayMode, ReplayProviderRunner, type ReplayProviderRunnerOptions, ReportGenerator, type ReportOptions, Request, type ResolvedChimeraConfig, type ResolvedContinuation, Response, RunProviderOptions$1 as RunProviderOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SetKanbanTaskChainInput, type SeverityLevel, ShellHook, type ShellHookSpec, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SkillRegistryAdapter, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, type SplitKanbanTaskInput, type SyncKanbanBoardFromTaskGraphOptions, type SystemInstructionBundle, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, type TechStackConsumerOptions, TechStackDetector, type TechStackInfo, TextBlock, TodoItem, TokenSavingTier, Tool, ToolCallPipelinePayload, ToolRegistry, ToolRegistryView, Tracer, type UpdateKanbanBoardInput, type UpdateKanbanColumnInput, type UpdateKanbanGoalMetricInput, type UpdateKanbanTaskInput, WorktreeManager, WstackPaths, addCheckToTask, addColumn, addDependency, addGoalMetricToTask, addLinkToTask, addNoteToTask, addTask, appendKanbanEvent, areDependenciesMet, assertValidBoardId, assessCommitSafety, assignNickname, assignTask, attachMailboxChecker, boardMeta, bootConfig, buildBtwBlock, buildLosslessDigest, buildMailboxBlock, buildMailboxBtwAwarenessBlock, buildQueuedMessagesBlock, buildSmartDigest, buildTaskGraphFromKanbanBoard, claimReadyTask, collabInjectMiddleware, collabPauseMiddleware, compactLog, consumeBtwNotes, consumeQueuedMessagesUpdate, copyTaskToBoard, countShellHooks, createAutoPhaseFromTaskGraph, createBoard, createBoardFromTaskGraph, createBoardObject, createBoardsFromPhaseGraph, createChimeraPlugin, createFallbackModelExtension, createGitPlugin, createMailboxChecker, createMcpUseTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, definePlugin, deleteBoard, detectContinueIntent, duplicateBoard, effectiveFallbackChain, eliseOldToolResults, estimateMessageTokens, estimateMessages, exportBoardAsMarkdown, exportBoardToTaskGraph, extractText, fallbackProfileChain, findBlockedTasks, findPreserveStart, flagsToConfigPatch, formatModelRef, generateBoardFromDescription, getBoard, getFileHistory, getFilesByAgent, getFullLog, getKanbanDir, getKanbanEventsPath, getKanbanOrchestrationSnapshot, getKanbanPath, getKanbanQueueHealth, getLastAuthor, getTask, getTaskChain, hasTextContent, hashRequest, heartbeatTaskAssignment, injectPendingMailboxMessages, isValidBoardId, listBoardIds, listBoardSummaries, listBoards, listKanbanEvents, listReadyTasks, loadInstructionBundle, loadPlugins, makeContinueToNextIterationTool, mergeInstructionBundle, mergeTasks, moveTask, mutateBoard, nicknameKeyFromDisplay, normalizeModelRef, parseContinueDirective, parseLinesIntoTasks, parseModelRef, peekQueuedMessages, pendingBtwCount, readBoard, readBundledInstructionText, readKanbanEvents, recordFileAction, recoverStaleTaskAssignments, releaseTaskClaim, removeBoard, removeColumn, removeTask, renderInstructionTemplate, resolveBoardRef, resolveChimeraConfig, resolveContinuation, runProviderWithRetry, runShellHook, scoreMessage, searchKanban, securitySlashCommand, setBtwNote, setQueuedMessagesSnapshot, setTaskChain, shellHooksEqual, smartDefaultFallbackChain, splitTask, stableStringify, startTechStackConsumer, summarizeBoard, syncBoardFromTaskGraph, transferTaskToBoard, unloadPlugins, updateBoard, updateCheckOnTask, updateColumn, updateGoalMetricOnTask, updateTask, updateTaskAssignment, writeBoard };