@wrongstack/core 0.6.4 → 0.6.5

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 (63) hide show
  1. package/dist/{agent-bridge-eb7qnNrd.d.ts → agent-bridge-BBXK_ppx.d.ts} +1 -1
  2. package/dist/agent-subagent-runner-DsSm9lKN.d.ts +174 -0
  3. package/dist/{compactor-RIPuTtWK.d.ts → compactor-C8NhpSt5.d.ts} +1 -1
  4. package/dist/{config-BGGuP_Ar.d.ts → config-DfC6g6KV.d.ts} +1 -1
  5. package/dist/{context-CDRyrkKQ.d.ts → context-DN5v-uQX.d.ts} +11 -0
  6. package/dist/coordination/index.d.ts +10 -9
  7. package/dist/coordination/index.js +113 -20
  8. package/dist/coordination/index.js.map +1 -1
  9. package/dist/defaults/index.d.ts +21 -20
  10. package/dist/defaults/index.js +1329 -925
  11. package/dist/defaults/index.js.map +1 -1
  12. package/dist/{events-BHuIHekD.d.ts → events-CJqwQl8G.d.ts} +17 -1
  13. package/dist/execution/index.d.ts +82 -13
  14. package/dist/execution/index.js +1366 -74
  15. package/dist/execution/index.js.map +1 -1
  16. package/dist/extension/index.d.ts +6 -6
  17. package/dist/{goal-store-DVCfj7Ff.d.ts → goal-store-_Er467ya.d.ts} +2 -2
  18. package/dist/{index-CPcDqvZh.d.ts → index-CXnWsGBp.d.ts} +11 -175
  19. package/dist/{index-BOn9NK7D.d.ts → index-DcnXDPdY.d.ts} +6 -6
  20. package/dist/index.d.ts +28 -27
  21. package/dist/index.js +1068 -664
  22. package/dist/index.js.map +1 -1
  23. package/dist/infrastructure/index.d.ts +6 -6
  24. package/dist/kernel/index.d.ts +9 -9
  25. package/dist/kernel/index.js.map +1 -1
  26. package/dist/{mcp-servers-DBdh3cee.d.ts → mcp-servers-CevFHHM1.d.ts} +3 -3
  27. package/dist/models/index.d.ts +2 -2
  28. package/dist/models/index.js +5 -16
  29. package/dist/models/index.js.map +1 -1
  30. package/dist/{multi-agent-CxSb-9dQ.d.ts → multi-agent-D5IbASk_.d.ts} +16 -4
  31. package/dist/observability/index.d.ts +2 -2
  32. package/dist/{path-resolver-CMGNadvq.d.ts → path-resolver-CBx_q1HA.d.ts} +2 -2
  33. package/dist/{plan-templates-BJflQY2i.d.ts → plan-templates-BEOllUJV.d.ts} +5 -4
  34. package/dist/{provider-runner-BFgNXpaP.d.ts → provider-runner-Byh5TcJs.d.ts} +3 -3
  35. package/dist/{retry-policy-LKS8MHsB.d.ts → retry-policy-BZSIMxrJ.d.ts} +1 -1
  36. package/dist/sdd/index.d.ts +3 -3
  37. package/dist/{secret-scrubber-CfMdAJ_l.d.ts → secret-scrubber-CT7wefiO.d.ts} +1 -1
  38. package/dist/{secret-scrubber-BzQR5BiL.d.ts → secret-scrubber-I0QHY_ob.d.ts} +1 -1
  39. package/dist/security/index.d.ts +3 -3
  40. package/dist/{selector-C7HqnZJU.d.ts → selector-DDb_mq9X.d.ts} +1 -1
  41. package/dist/{session-reader-CzfRA6Vk.d.ts → session-reader-B9nVkziM.d.ts} +1 -1
  42. package/dist/storage/index.d.ts +6 -6
  43. package/dist/storage/index.js +27 -2
  44. package/dist/storage/index.js.map +1 -1
  45. package/dist/{system-prompt-Dl2QY1_B.d.ts → system-prompt-gL06H9P4.d.ts} +1 -1
  46. package/dist/{tool-executor-FoxBjULX.d.ts → tool-executor-BF7QfYVE.d.ts} +4 -4
  47. package/dist/types/index.d.ts +15 -15
  48. package/dist/types/index.js +5 -16
  49. package/dist/types/index.js.map +1 -1
  50. package/dist/utils/index.d.ts +1 -1
  51. package/package.json +1 -1
  52. package/skills/audit-log/SKILL.md +57 -28
  53. package/skills/bug-hunter/SKILL.md +85 -61
  54. package/skills/git-flow/SKILL.md +73 -18
  55. package/skills/multi-agent/SKILL.md +69 -40
  56. package/skills/node-modern/SKILL.md +111 -19
  57. package/skills/prompt-engineering/SKILL.md +97 -16
  58. package/skills/react-modern/SKILL.md +104 -18
  59. package/skills/refactor-planner/SKILL.md +73 -43
  60. package/skills/sdd/SKILL.md +54 -112
  61. package/skills/security-scanner/SKILL.md +95 -93
  62. package/skills/skill-creator/SKILL.md +58 -25
  63. package/skills/typescript-strict/SKILL.md +107 -15
@@ -1,9 +1,9 @@
1
- export { A as AfterIterationHook, p as AfterRunHook, q as AfterToolExecutionHook, s as AgentExtension, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, G as ProviderRunnerFn, z as ProviderRunnerWrapper } from '../index-BOn9NK7D.js';
2
- import '../context-CDRyrkKQ.js';
1
+ export { q as AfterIterationHook, r as AfterRunHook, s as AfterToolExecutionHook, t as AgentExtension, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, G as ProviderRunnerFn, z as ProviderRunnerWrapper } from '../index-DcnXDPdY.js';
2
+ import '../context-DN5v-uQX.js';
3
3
  import '../logger-BMQgxvdy.js';
4
- import '../system-prompt-Dl2QY1_B.js';
4
+ import '../system-prompt-gL06H9P4.js';
5
5
  import '../observability-BhnVLBLS.js';
6
- import '../events-BHuIHekD.js';
7
- import '../secret-scrubber-CfMdAJ_l.js';
8
- import '../config-BGGuP_Ar.js';
6
+ import '../events-CJqwQl8G.js';
7
+ import '../secret-scrubber-CT7wefiO.js';
8
+ import '../config-DfC6g6KV.js';
9
9
  import '../models-registry-Y2xbog0E.js';
@@ -12,8 +12,8 @@ interface JournalEntry {
12
12
  at: string;
13
13
  /** Sequential iteration counter (1-based, monotonically increasing). */
14
14
  iteration: number;
15
- /** Source that produced the action ('todo' | 'git' | 'brainstorm' | 'resume'). */
16
- source: 'todo' | 'git' | 'brainstorm' | 'resume' | 'manual';
15
+ /** Source that produced the action ('todo' | 'git' | 'brainstorm' | 'resume' | 'manual' | 'parallel'). */
16
+ source: 'todo' | 'git' | 'brainstorm' | 'resume' | 'manual' | 'parallel';
17
17
  /** Short one-line description of what the iteration set out to do. */
18
18
  task: string;
19
19
  /** Outcome status. */
@@ -1,10 +1,9 @@
1
1
  import { a as DirectorStateSnapshot } from './director-state-BmYi3DGA.js';
2
- import { c as SubagentConfig, j as TaskResult, a as CoordinatorStatus, k as TaskSpec, M as MultiAgentConfig, i as SubagentRunner, b as MultiAgentCoordinator, S as SpawnResult, l as BridgeMessage, A as AgentBridge } from './multi-agent-CxSb-9dQ.js';
3
- import { r as SessionWriter, v as Tool, p as SessionStore } from './context-CDRyrkKQ.js';
4
- import { I as InMemoryAgentBridge } from './agent-bridge-eb7qnNrd.js';
5
- import { E as EventBus } from './events-BHuIHekD.js';
2
+ import { c as SubagentConfig, j as TaskResult, a as CoordinatorStatus, k as TaskSpec, M as MultiAgentConfig, i as SubagentRunner, b as MultiAgentCoordinator, S as SpawnResult, l as BridgeMessage, A as AgentBridge } from './multi-agent-D5IbASk_.js';
3
+ import { r as SessionWriter, v as Tool, p as SessionStore } from './context-DN5v-uQX.js';
4
+ import { I as InMemoryAgentBridge } from './agent-bridge-BBXK_ppx.js';
5
+ import { F as FleetBus, e as FleetUsage, f as FleetUsageAggregator } from './agent-subagent-runner-DsSm9lKN.js';
6
6
  import { EventEmitter } from 'node:events';
7
- import { r as Agent, u as AgentInput } from './index-BOn9NK7D.js';
8
7
 
9
8
  /**
10
9
  * Interface for a fleet coordinator. Implemented by both `Director`
@@ -94,118 +93,6 @@ interface ICoordinator {
94
93
  }) => void): () => void;
95
94
  }
96
95
 
97
- /**
98
- * Single fleet-wide event with subagent attribution. Whatever a child
99
- * agent emits on its own EventBus gets re-published here, prefixed with
100
- * `subagentId` so a single subscriber can multiplex across the fleet.
101
- *
102
- * The director uses `FleetBus.filter('tool.executed', …)` to see every
103
- * tool call across the fleet; the TUI uses
104
- * `FleetBus.subscribe(id, handler)` to render a per-subagent panel.
105
- */
106
- interface FleetEvent {
107
- subagentId: string;
108
- taskId?: string;
109
- ts: number;
110
- type: string;
111
- payload: unknown;
112
- }
113
- type FleetHandler = (event: FleetEvent) => void;
114
- /**
115
- * Fan-in for per-subagent EventBuses. Each subagent's bus is plugged in
116
- * via `attach()`; the FleetBus re-emits every event with subagent
117
- * attribution. Detachment is automatic via the returned disposer — call
118
- * it when a subagent terminates so we don't leak listeners.
119
- *
120
- * The bus exposes two subscription modes: by `subagentId` (everything
121
- * from one child) and by `type` (one event-type across the fleet). They
122
- * compose — if you need a per-subagent + per-type slice, subscribe by
123
- * type and filter on `event.subagentId` in your handler.
124
- */
125
- declare class FleetBus {
126
- private readonly byId;
127
- private readonly byType;
128
- private readonly any;
129
- /**
130
- * Hook a subagent's EventBus into the fleet. EventBus is strongly
131
- * typed and doesn't expose an `onAny` hook, so we subscribe to the
132
- * canonical set of event types a subagent emits during a run. New
133
- * event types added to the kernel must be added here too — but the
134
- * cost is a tiny single line per type, and the explicit list keeps
135
- * the wire format clear.
136
- *
137
- * Returns a disposer that detaches every subscription; call on
138
- * subagent teardown so the listeners don't outlive the run.
139
- */
140
- attach(subagentId: string, bus: EventBus, taskId?: string): () => void;
141
- /** Subscribe to every event from one subagent. */
142
- subscribe(subagentId: string, handler: FleetHandler): () => void;
143
- /** Subscribe to one event type across all subagents. */
144
- filter(type: string, handler: FleetHandler): () => void;
145
- /** Subscribe to literally everything. The fleet roll-up uses this. */
146
- onAny(handler: FleetHandler): () => void;
147
- emit(event: FleetEvent): void;
148
- }
149
- /**
150
- * Roll-up of token usage + cost across an entire director run. The
151
- * director's `fleet_status` tool returns this so the model can reason
152
- * about budget in its next turn ("the researcher already burned $0.40,
153
- * lean on summaries for the next task").
154
- */
155
- interface FleetUsage {
156
- total: {
157
- input: number;
158
- output: number;
159
- cacheRead: number;
160
- cacheWrite: number;
161
- cost: number;
162
- };
163
- perSubagent: Record<string, SubagentUsageSnapshot>;
164
- }
165
- interface SubagentUsageSnapshot {
166
- subagentId: string;
167
- provider?: string;
168
- model?: string;
169
- input: number;
170
- output: number;
171
- cacheRead: number;
172
- cacheWrite: number;
173
- cost: number;
174
- toolCalls: number;
175
- iterations: number;
176
- startedAt: number;
177
- lastEventAt: number;
178
- }
179
- /**
180
- * Aggregates provider.response + tool.executed events from the FleetBus
181
- * into a live `FleetUsage` snapshot. Costs are computed by the caller
182
- * via a `priceLookup(subagentId)` so we don't bake provider-pricing
183
- * coupling into core; the CLI/tests supply a function that resolves
184
- * each subagent's per-token rates from the models registry.
185
- */
186
- declare class FleetUsageAggregator {
187
- private readonly bus;
188
- private readonly priceLookup?;
189
- private readonly metaLookup?;
190
- private readonly perSubagent;
191
- private readonly total;
192
- constructor(bus: FleetBus, priceLookup?: ((subagentId: string) => {
193
- input?: number;
194
- output?: number;
195
- cacheRead?: number;
196
- cacheWrite?: number;
197
- } | undefined) | undefined, metaLookup?: ((subagentId: string) => {
198
- provider?: string;
199
- model?: string;
200
- } | undefined) | undefined);
201
- /** Live snapshot — safe to call from a tool's execute() body. */
202
- snapshot(): FleetUsage;
203
- private ensure;
204
- private onProviderResponse;
205
- private onToolExecuted;
206
- private onIterationStarted;
207
- }
208
-
209
96
  /**
210
97
  * Interface for fleet-level lifecycle and policy. Covers:
211
98
  * - Spawn lifecycle hooks (canSpawn check, recordSpawn after-effects)
@@ -1015,6 +902,12 @@ declare class DefaultMultiAgentCoordinator extends EventEmitter implements Multi
1015
902
  getStatus(): CoordinatorStatus;
1016
903
  /** Expose snapshot of completed results — useful for callers awaiting all done. */
1017
904
  results(): readonly TaskResult[];
905
+ /**
906
+ * Wait for one or more tasks to complete and return their results.
907
+ * If a task is already done when called, returns immediately.
908
+ * Resolves to an array in the same order as `taskIds`.
909
+ */
910
+ awaitTasks(taskIds: string[]): Promise<TaskResult[]>;
1018
911
  /**
1019
912
  * Manual completion — for callers that drive subagents without a runner
1020
913
  * (e.g. external orchestrators). When a runner is configured the coordinator
@@ -1054,63 +947,6 @@ declare class DefaultMultiAgentCoordinator extends EventEmitter implements Multi
1054
947
  private isDone;
1055
948
  }
1056
949
 
1057
- /**
1058
- * Caller-supplied factory that builds an isolated `Agent` for a subagent.
1059
- * The factory MUST construct a fresh `Context` per call — sharing context
1060
- * between subagents defeats isolation. Each Agent should also use either
1061
- * its own `EventBus` or a forwarded view, so per-subagent metrics can be
1062
- * attributed correctly.
1063
- */
1064
- type AgentFactory = (config: SubagentConfig) => Promise<AgentFactoryResult>;
1065
- interface AgentFactoryResult {
1066
- agent: Agent;
1067
- /** Event bus the factory wired to this agent — required for budget hookup. */
1068
- events: EventBus;
1069
- /**
1070
- * Optional cleanup hook invoked in the runner's `finally` block once
1071
- * the task ends (success, failure, abort — same exit path). Factories
1072
- * that own resources scoped to a single task (per-subagent JSONL
1073
- * writers, transient providers, throwaway containers) implement this
1074
- * to close them deterministically instead of relying on GC. Errors
1075
- * thrown here are swallowed so a flaky cleanup can't mask the task's
1076
- * real result.
1077
- */
1078
- dispose?: () => Promise<void> | void;
1079
- }
1080
- interface AgentRunnerOptions {
1081
- factory: AgentFactory;
1082
- /**
1083
- * Format a TaskSpec into the user input the agent will receive. Defaults
1084
- * to `task.description ?? ''`. Override when subagents expect structured
1085
- * input (e.g. JSON contracts, role-prefixed prompts).
1086
- */
1087
- formatTaskInput?: (task: TaskSpec, config: SubagentConfig) => AgentInput;
1088
- /**
1089
- * When set, the runner attaches the subagent's EventBus to this FleetBus
1090
- * on task start and detaches it when the task finishes. This is the
1091
- * injection seam that lets the TUI fleet panel observe subagent activity
1092
- * live — without it, FleetBus stays empty.
1093
- */
1094
- fleetBus?: FleetBus;
1095
- }
1096
- /**
1097
- * Builds a `SubagentRunner` that drives a real `Agent` per task while honoring
1098
- * the coordinator's budget and abort signal. This is the production adapter —
1099
- * the coordinator's `runner` option in CLI/TUI assemblies points here.
1100
- *
1101
- * Lifecycle per task:
1102
- * 1. factory(config) → fresh Agent + EventBus.
1103
- * 2. Subscribe to events to feed the budget (tool calls, token usage).
1104
- * 3. Call agent.run(input, { signal }) — the coordinator's signal cancels.
1105
- * 4. Map RunResult.status onto a `SubagentRunOutcome` or throw on failure.
1106
- * 5. Unsubscribe and let the factory's resources be GC'd.
1107
- *
1108
- * The budget is checked synchronously from event handlers — a runaway agent
1109
- * that crosses its tool-call limit triggers `BudgetExceededError`, which the
1110
- * coordinator surfaces as `status: 'failed'` on the task result.
1111
- */
1112
- declare function makeAgentSubagentRunner(opts: AgentRunnerOptions): SubagentRunner;
1113
-
1114
950
  /**
1115
951
  * Per-subagent session factory.
1116
952
  *
@@ -1346,4 +1182,4 @@ declare const ALL_FLEET_AGENTS: SubagentConfig[];
1346
1182
  */
1347
1183
  declare const NULL_FLEET_BUS: FleetBus;
1348
1184
 
1349
- export { ALL_FLEET_AGENTS as A, BUG_HUNTER_AGENT as B, type CreateDelegateToolOptions as C, DEFAULT_DIRECTOR_PREAMBLE as D, createDelegateTool as E, FLEET_ROSTER as F, makeAgentSubagentRunner as G, makeDirectorSessionFactory as H, type ICoordinator as I, rosterSummaryFromConfigs as J, FleetCostCapError as K, type MultiAgentCoordinatorOptions as M, NULL_FLEET_BUS as N, REFACTOR_PLANNER_AGENT as R, SECURITY_SCANNER_AGENT as S, AUDIT_LOG_AGENT as a, type AgentFactory as b, type AgentFactoryResult as c, type AgentRunnerOptions as d, DEFAULT_SUBAGENT_BASELINE as e, DefaultMultiAgentCoordinator as f, type DelegateHost as g, Director as h, type DirectorPromptParts as i, type DirectorSessionFactory as j, type DirectorSessionFactoryOptions as k, FLEET_ROSTER_BUDGETS as l, FleetBus as m, type FleetEvent as n, type FleetHandler as o, FleetManager as p, type FleetManagerOptions as q, FleetSpawnBudgetError as r, type FleetUsage as s, FleetUsageAggregator as t, type IFleetManager as u, type SubagentPromptParts as v, type SubagentUsageSnapshot as w, applyRosterBudget as x, composeDirectorPrompt as y, composeSubagentPrompt as z };
1185
+ export { ALL_FLEET_AGENTS as A, BUG_HUNTER_AGENT as B, type CreateDelegateToolOptions as C, DEFAULT_DIRECTOR_PREAMBLE as D, FLEET_ROSTER as F, type ICoordinator as I, type MultiAgentCoordinatorOptions as M, NULL_FLEET_BUS as N, REFACTOR_PLANNER_AGENT as R, SECURITY_SCANNER_AGENT as S, AUDIT_LOG_AGENT as a, DEFAULT_SUBAGENT_BASELINE as b, DefaultMultiAgentCoordinator as c, type DelegateHost as d, Director as e, type DirectorPromptParts as f, type DirectorSessionFactory as g, type DirectorSessionFactoryOptions as h, FLEET_ROSTER_BUDGETS as i, FleetManager as j, type FleetManagerOptions as k, FleetSpawnBudgetError as l, type IFleetManager as m, type SubagentPromptParts as n, applyRosterBudget as o, composeDirectorPrompt as p, composeSubagentPrompt as q, createDelegateTool as r, makeDirectorSessionFactory as s, rosterSummaryFromConfigs as t, FleetCostCapError as u };
@@ -1,10 +1,10 @@
1
- import { v as Tool, B as ToolResultBlock, G as ToolUseBlock, a2 as Context, T as TextBlock, R as Request, j as Response, g as Provider, W as WrongStackError, b as ContentBlock, aa as RunOptions, J as JSONSchema } from './context-CDRyrkKQ.js';
1
+ import { v as Tool, B as ToolResultBlock, G as ToolUseBlock, a2 as Context, T as TextBlock, R as Request, j as Response, g as Provider, W as WrongStackError, b as ContentBlock, aa as RunOptions, J as JSONSchema } from './context-DN5v-uQX.js';
2
2
  import { L as Logger } from './logger-BMQgxvdy.js';
3
- import { R as Renderer, B as BuildContext, C as Container, P as Pipeline, e as ReadonlyPipeline } from './system-prompt-Dl2QY1_B.js';
3
+ import { R as Renderer, B as BuildContext, C as Container, P as Pipeline, e as ReadonlyPipeline } from './system-prompt-gL06H9P4.js';
4
4
  import { T as Tracer } from './observability-BhnVLBLS.js';
5
- import { E as EventBus, a as EventName, L as Listener } from './events-BHuIHekD.js';
6
- import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-CfMdAJ_l.js';
7
- import { l as ProviderConfig, a as Config } from './config-BGGuP_Ar.js';
5
+ import { E as EventBus, a as EventName, L as Listener } from './events-CJqwQl8G.js';
6
+ import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-CT7wefiO.js';
7
+ import { l as ProviderConfig, a as Config } from './config-DfC6g6KV.js';
8
8
  import { W as WireFamily } from './models-registry-Y2xbog0E.js';
9
9
 
10
10
  /**
@@ -871,4 +871,4 @@ interface Plugin {
871
871
  }>;
872
872
  }
873
873
 
874
- export { type AfterIterationHook as A, type BeforeIterationHook as B, type ToolWrapper as C, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, createDefaultPipelines as F, type ProviderRunnerFn as G, type MCPRegistryView as M, type OnErrorHook as O, type Plugin as P, type RunResult as R, type SessionWriterView as S, type ToolRegistryView as T, type UserInputPayload as U, type MetricsSinkView as a, type PluginAPI as b, type PluginCapabilities as c, type PluginDependency as d, type PluginPipelines as e, type ProviderFactory as f, type ProviderRegistryView as g, type SlashCommand as h, type SlashCommandRegistryView as i, type SystemPromptContributor as j, type ToolExecutorOptions as k, type ToolExecutorStrategy as l, type ToolBatchResult as m, ToolRegistry as n, ProviderRegistry as o, type AfterRunHook as p, type AfterToolExecutionHook as q, Agent as r, type AgentExtension as s, type AgentInit as t, type AgentInput as u, type AgentPipelines as v, type BeforeRunHook as w, type BeforeToolExecutionHook as x, type ProviderFactory$1 as y, type ProviderRunnerWrapper as z };
874
+ export { Agent as A, type BeforeIterationHook as B, type ToolWrapper as C, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, createDefaultPipelines as F, type ProviderRunnerFn as G, type MCPRegistryView as M, type OnErrorHook as O, type Plugin as P, type RunResult as R, type SessionWriterView as S, type ToolRegistryView as T, type UserInputPayload as U, type MetricsSinkView as a, type PluginAPI as b, type PluginCapabilities as c, type PluginDependency as d, type PluginPipelines as e, type ProviderFactory as f, type ProviderRegistryView as g, type SlashCommand as h, type SlashCommandRegistryView as i, type SystemPromptContributor as j, type AgentInput as k, type ToolExecutorOptions as l, type ToolExecutorStrategy as m, type ToolBatchResult as n, ToolRegistry as o, ProviderRegistry as p, type AfterIterationHook as q, type AfterRunHook as r, type AfterToolExecutionHook as s, type AgentExtension as t, type AgentInit as u, type AgentPipelines as v, type BeforeRunHook as w, type BeforeToolExecutionHook as x, type ProviderFactory$1 as y, type ProviderRunnerWrapper as z };
package/dist/index.d.ts CHANGED
@@ -1,58 +1,59 @@
1
- import { S as SystemPromptBuilder, M as ModelCapabilities, B as BuildContext, C as Container } from './system-prompt-Dl2QY1_B.js';
2
- export { a as BindOptions, D as Decorator, F as Factory, b as Middleware, c as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, R as Renderer, T as Token } from './system-prompt-Dl2QY1_B.js';
3
- import { E as EventBus, a as EventName, L as Listener } from './events-BHuIHekD.js';
4
- export { b as EventLogger, c as EventMap, S as ScopedEventBus } from './events-BHuIHekD.js';
1
+ import { S as SystemPromptBuilder, M as ModelCapabilities, B as BuildContext, C as Container } from './system-prompt-gL06H9P4.js';
2
+ export { a as BindOptions, D as Decorator, F as Factory, b as Middleware, c as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, R as Renderer, T as Token } from './system-prompt-gL06H9P4.js';
3
+ import { E as EventBus, a as EventName, L as Listener } from './events-CJqwQl8G.js';
4
+ export { b as EventLogger, c as EventMap, S as ScopedEventBus } from './events-CJqwQl8G.js';
5
5
  export { RunController, RunControllerOptions, TOKENS } from './kernel/index.js';
6
- import { a2 as Context, g as Provider, v as Tool, b as ContentBlock, T as TextBlock } from './context-CDRyrkKQ.js';
7
- export { A as AgentError, C as Capabilities, a as ConfigError, a7 as ContextInit, a6 as ConversationState, E as ErrorCode, c as ErrorSeverity, d as ErrorSubsystem, F as FileSnapshot, I as ImageBlock, J as JSONSchema, M as Message, e as MessageRole, P as Permission, f as PluginError, h as ProviderError, i as ProviderErrorBody, a8 as ReadonlyConversationState, R as Request, j as Response, k as ResumedSession, l as RiskTier, a9 as RunEnv, aa as RunOptions, S as SessionData, m as SessionError, n as SessionEvent, o as SessionMetadata, p as SessionStore, q as SessionSummary, r as SessionWriter, ab as StateChange, ac as StateChangeHandler, s as StopReason, t as StreamEvent, u as ThinkingBlock, a5 as TodoItem, a3 as TokenCounter, w as ToolCallContext, x as ToolError, y as ToolFinalEvent, z as ToolProgressEvent, B as ToolResultBlock, D as ToolStreamEvent, G as ToolUseBlock, U as Usage, W as WrongStackError, H as asBlocks, K as asText, ad as extractRunEnv, L as isAgentError, N as isConfigError, O as isImageBlock, Q as isPluginError, V as isSessionError, X as isTextBlock, Y as isThinkingBlock, Z as isToolError, _ as isToolResultBlock, $ as isToolUseBlock, a0 as isWrongStackError, a1 as toWrongStackError, ae as wrapAsState } from './context-CDRyrkKQ.js';
8
- export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-BFgNXpaP.js';
9
- import { M as MCPServerConfig, a as Config } from './config-BGGuP_Ar.js';
10
- export { C as CONTEXT_WINDOW_MODES, b as ConfigLoader, c as ConfigStore, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, P as PluginConfig, k as ProviderApiKey, l as ProviderConfig, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from './config-BGGuP_Ar.js';
11
- export { C as CompactReport, a as Compactor } from './compactor-RIPuTtWK.js';
12
- export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-CfMdAJ_l.js';
6
+ import { a2 as Context, g as Provider, v as Tool, b as ContentBlock, T as TextBlock } from './context-DN5v-uQX.js';
7
+ export { A as AgentError, C as Capabilities, a as ConfigError, a7 as ContextInit, a6 as ConversationState, E as ErrorCode, c as ErrorSeverity, d as ErrorSubsystem, F as FileSnapshot, I as ImageBlock, J as JSONSchema, M as Message, e as MessageRole, P as Permission, f as PluginError, h as ProviderError, i as ProviderErrorBody, a8 as ReadonlyConversationState, R as Request, j as Response, k as ResumedSession, l as RiskTier, a9 as RunEnv, aa as RunOptions, S as SessionData, m as SessionError, n as SessionEvent, o as SessionMetadata, p as SessionStore, q as SessionSummary, r as SessionWriter, ab as StateChange, ac as StateChangeHandler, s as StopReason, t as StreamEvent, u as ThinkingBlock, a5 as TodoItem, a3 as TokenCounter, w as ToolCallContext, x as ToolError, y as ToolFinalEvent, z as ToolProgressEvent, B as ToolResultBlock, D as ToolStreamEvent, G as ToolUseBlock, U as Usage, W as WrongStackError, H as asBlocks, K as asText, ad as extractRunEnv, L as isAgentError, N as isConfigError, O as isImageBlock, Q as isPluginError, V as isSessionError, X as isTextBlock, Y as isThinkingBlock, Z as isToolError, _ as isToolResultBlock, $ as isToolUseBlock, a0 as isWrongStackError, a1 as toWrongStackError, ae as wrapAsState } from './context-DN5v-uQX.js';
8
+ export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-Byh5TcJs.js';
9
+ import { M as MCPServerConfig, a as Config } from './config-DfC6g6KV.js';
10
+ export { C as CONTEXT_WINDOW_MODES, b as ConfigLoader, c as ConfigStore, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, P as PluginConfig, k as ProviderApiKey, l as ProviderConfig, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from './config-DfC6g6KV.js';
11
+ export { C as CompactReport, a as Compactor } from './compactor-C8NhpSt5.js';
12
+ export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-CT7wefiO.js';
13
13
  export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
14
- import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-CzfRA6Vk.js';
15
- export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-CzfRA6Vk.js';
16
- export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from './secret-scrubber-BzQR5BiL.js';
14
+ import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-B9nVkziM.js';
15
+ export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-B9nVkziM.js';
16
+ export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from './secret-scrubber-I0QHY_ob.js';
17
17
  export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-BH6AE0W9.js';
18
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-CMGNadvq.js';
18
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-CBx_q1HA.js';
19
19
  import { b as MemoryStore } from './memory-CEXuo7sz.js';
20
20
  export { M as MemoryEntry, a as MemoryScope } from './memory-CEXuo7sz.js';
21
- export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, c as buildRecoveryStrategies } from './tool-executor-FoxBjULX.js';
21
+ export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, c as buildRecoveryStrategies } from './tool-executor-BF7QfYVE.js';
22
22
  import { a as SkillLoader } from './skill-CxuWrsKK.js';
23
23
  export { S as SkillEntry, b as SkillManifest } from './skill-CxuWrsKK.js';
24
24
  export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
25
- import { h as SlashCommand, j as SystemPromptContributor, b as PluginAPI, e as PluginPipelines, T as ToolRegistryView, g as ProviderRegistryView, M as MCPRegistryView, i as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, a as MetricsSinkView, n as ToolRegistry, o as ProviderRegistry, P as Plugin } from './index-BOn9NK7D.js';
26
- export { A as AfterIterationHook, p as AfterRunHook, q as AfterToolExecutionHook, r as Agent, s as AgentExtension, t as AgentInit, u as AgentInput, v as AgentPipelines, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, c as PluginCapabilities, d as PluginDependency, y as ProviderFactory, z as ProviderRunnerWrapper, R as RunResult, C as ToolWrapper, U as UserInputPayload, F as createDefaultPipelines } from './index-BOn9NK7D.js';
25
+ import { h as SlashCommand, j as SystemPromptContributor, b as PluginAPI, e as PluginPipelines, T as ToolRegistryView, g as ProviderRegistryView, M as MCPRegistryView, i as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, a as MetricsSinkView, o as ToolRegistry, p as ProviderRegistry, P as Plugin } from './index-DcnXDPdY.js';
26
+ export { q as AfterIterationHook, r as AfterRunHook, s as AfterToolExecutionHook, A as Agent, t as AgentExtension, u as AgentInit, k as AgentInput, v as AgentPipelines, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, c as PluginCapabilities, d as PluginDependency, y as ProviderFactory, z as ProviderRunnerWrapper, R as RunResult, C as ToolWrapper, U as UserInputPayload, F as createDefaultPipelines } from './index-DcnXDPdY.js';
27
27
  export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-DqzwpBQy.js';
28
28
  import { c as ModeStore } from './mode-CV077NjV.js';
29
29
  export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest } from './mode-CV077NjV.js';
30
- export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-eb7qnNrd.js';
31
- export { n as BudgetExceededError, o as BudgetKind, p as BudgetLimits, q as BudgetUsage, C as CoordinatorEvents, a as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, b as MultiAgentCoordinator, S as SpawnResult, r as SubagentBudget, c as SubagentConfig, d as SubagentContext, e as SubagentError, f as SubagentErrorKind, g as SubagentRunContext, h as SubagentRunOutcome, i as SubagentRunner, T as TaskDelegation, j as TaskResult, k as TaskSpec } from './multi-agent-CxSb-9dQ.js';
30
+ export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-BBXK_ppx.js';
31
+ export { n as BudgetExceededError, o as BudgetKind, p as BudgetLimits, q as BudgetUsage, C as CoordinatorEvents, a as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, b as MultiAgentCoordinator, S as SpawnResult, r as SubagentBudget, c as SubagentConfig, d as SubagentContext, e as SubagentError, f as SubagentErrorKind, g as SubagentRunContext, h as SubagentRunOutcome, i as SubagentRunner, T as TaskDelegation, j as TaskResult, k as TaskSpec } from './multi-agent-D5IbASk_.js';
32
32
  export { C as CriticalPathResult, D as DEFAULT_SPEC_TEMPLATE, S as SpecAnalysis, a as SpecApiEndpoint, b as SpecRequirement, c as SpecSection, d as SpecSectionType, e as SpecStatus, f as SpecTemplate, g as SpecValidationResult, h as Specification, T as TaskAssignment, i as TaskDependency, j as TaskEdge, k as TaskFilter, l as TaskGraph, m as TaskNode, n as TaskPriority, o as TaskProgress, p as TaskSort, q as TaskStatus, r as TaskType, s as computeTaskProgress, t as findCriticalPath, u as topologicalSort } from './task-graph-BITvWt4t.js';
33
33
  export { A as AggregateHealth, H as HealthCheck, a as HealthCheckResult, b as HealthRegistry, c as HealthStatus, M as MetricLabels, d as MetricSeries, e as MetricsSink, f as MetricsSnapshot, S as Span, T as Tracer } from './observability-BhnVLBLS.js';
34
34
  export { AtomicWriteOptions, BuildChildEnvOptions, CompileFail, CompileResult, MessageRepairReport, MessageRepairResult, NewlineStyle, RequestTokenBreakdown, SafeParseResult, ToolOutputSerializerOptions, UnifiedDiffOptions, ValidationError, ValidationResult, atomicWrite, buildChildEnv, color, compileGlob, compileUserRegex, createToolOutputSerializer, detectNewlineStyle, ensureDir, estimateRequestTokens, estimateTextTokens, estimateToolDefTokens, estimateToolInputTokens, estimateToolResultTokens, formatTodosList, matchAny, matchGlob, normalizeToLf, repairToolUseAdjacency, safeParse, safeStringify, sanitizeJsonString, stripAnsi, toStyle, unifiedDiff, validateAgainstSchema } from './utils/index.js';
35
35
  export { a as WstackPathOptions, W as WstackPaths, p as projectHash, r as resolveWstackPaths } from './wstack-paths-86YPFktR.js';
36
- 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, M as MemoryStoreOptions, j as MigrationContext, k as MigrationResult, P as PersistedQueueItem, l as PlanFile, m as PlanItem, n as PlanTemplate, Q as QueueStore, R as RecoveryLock, o as RecoveryLockOptions, S as SessionAnalyzer, p as SessionStoreOptions, T as TodosCheckpointFile, q as addPlanItem, r as attachPlanCheckpoint, s as attachTodosCheckpoint, t as clearPlan, u as deriveTodosFromPlanItem, v as emptyPlan, w as formatPlan, x as formatPlanTemplates, y as getPlanTemplate, z as listPlanTemplates, B as loadPlan, E as loadTodosCheckpoint, F as removePlanItem, G as runConfigMigrations, H as savePlan, I as saveTodosCheckpoint, J as setPlanItemStatus } from './plan-templates-BJflQY2i.js';
36
+ 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, M as MemoryStoreOptions, j as MigrationContext, k as MigrationResult, P as PersistedQueueItem, l as PlanFile, m as PlanItem, n as PlanTemplate, Q as QueueStore, R as RecoveryLock, o as RecoveryLockOptions, S as SessionAnalyzer, p as SessionStoreOptions, T as TodosCheckpointFile, q as addPlanItem, r as attachPlanCheckpoint, s as attachTodosCheckpoint, t as clearPlan, u as deriveTodosFromPlanItem, v as emptyPlan, w as formatPlan, x as formatPlanTemplates, y as getPlanTemplate, z as listPlanTemplates, B as loadPlan, E as loadTodosCheckpoint, F as removePlanItem, G as runConfigMigrations, H as savePlan, I as saveTodosCheckpoint, J as setPlanItemStatus } from './plan-templates-BEOllUJV.js';
37
37
  export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BmYi3DGA.js';
38
38
  export { AutoApprovePermissionPolicy, DefaultPermissionPolicy, PermissionPolicyOptions } from './security/index.js';
39
- export { AutoCompactionMiddleware, AutonomousRunner, AutonomousRunnerOptions, AutonomyPromptContributorOptions, DefaultSkillLoader, DoneCheckResult, DoneConditionChecker, EternalAutonomyEngine, EternalAutonomyOptions, EternalEngineState, IntelligentCompactor, IntelligentCompactorOptions, SelectiveCompactor, SelectiveCompactorOptions, SkillLoaderOptions, buildGoalPreamble, makeAutonomyPromptContributor } from './execution/index.js';
39
+ export { AutoCompactionMiddleware, AutonomousRunner, AutonomousRunnerOptions, AutonomyPromptContributorOptions, DefaultSkillLoader, DoneCheckResult, DoneConditionChecker, EternalAutonomyEngine, EternalAutonomyOptions, EternalEngineState, IntelligentCompactor, IntelligentCompactorOptions, ParallelEngineState, ParallelEternalEngine, ParallelEternalOptions, SelectiveCompactor, SelectiveCompactorOptions, SkillLoaderOptions, buildGoalPreamble, makeAutonomyPromptContributor } from './execution/index.js';
40
40
  export { DefaultProviderRunner } from './defaults/index.js';
41
- export { A as ALL_FLEET_AGENTS, a as AUDIT_LOG_AGENT, b as AgentFactory, c as AgentFactoryResult, d as AgentRunnerOptions, B as BUG_HUNTER_AGENT, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, e as DEFAULT_SUBAGENT_BASELINE, f as DefaultMultiAgentCoordinator, g as DelegateHost, h as Director, i as DirectorPromptParts, j as DirectorSessionFactory, k as DirectorSessionFactoryOptions, F as FLEET_ROSTER, l as FLEET_ROSTER_BUDGETS, m as FleetBus, n as FleetEvent, o as FleetHandler, p as FleetManager, q as FleetManagerOptions, r as FleetSpawnBudgetError, s as FleetUsage, t as FleetUsageAggregator, I as ICoordinator, u as IFleetManager, M as MultiAgentCoordinatorOptions, N as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, v as SubagentPromptParts, w as SubagentUsageSnapshot, x as applyRosterBudget, y as composeDirectorPrompt, z as composeSubagentPrompt, E as createDelegateTool, G as makeAgentSubagentRunner, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from './index-CPcDqvZh.js';
41
+ export { A as ALL_FLEET_AGENTS, a as AUDIT_LOG_AGENT, B as BUG_HUNTER_AGENT, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, b as DEFAULT_SUBAGENT_BASELINE, c as DefaultMultiAgentCoordinator, d as DelegateHost, e as Director, f as DirectorPromptParts, g as DirectorSessionFactory, h as DirectorSessionFactoryOptions, F as FLEET_ROSTER, i as FLEET_ROSTER_BUDGETS, j as FleetManager, k as FleetManagerOptions, l as FleetSpawnBudgetError, I as ICoordinator, m as IFleetManager, M as MultiAgentCoordinatorOptions, N as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, n as SubagentPromptParts, o as applyRosterBudget, p as composeDirectorPrompt, q as composeSubagentPrompt, r as createDelegateTool, s as makeDirectorSessionFactory, t as rosterSummaryFromConfigs } from './index-CXnWsGBp.js';
42
+ export { A as AgentFactory, a as AgentFactoryResult, b as AgentRunnerOptions, F as FleetBus, c as FleetEvent, d as FleetHandler, e as FleetUsage, f as FleetUsageAggregator, S as SubagentUsageSnapshot, m as makeAgentSubagentRunner } from './agent-subagent-runner-DsSm9lKN.js';
42
43
  export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
43
44
  export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, SPEC_TEMPLATES, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskStore, TaskTracker, TaskTrackerOptions, TaskTransition, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from './sdd/index.js';
44
45
  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';
45
- export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, s as sentinelServer, p as slackServer, z as zaiVisionServer } from './mcp-servers-DBdh3cee.js';
46
+ export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, s as sentinelServer, p as slackServer, z as zaiVisionServer } from './mcp-servers-CevFHHM1.js';
46
47
  export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
47
48
  export { DefaultSessionRewinder, SessionRewinderOptions } from './storage/index.js';
48
- export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, s as saveGoal, b as summarizeUsage } from './goal-store-DVCfj7Ff.js';
49
- import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-LKS8MHsB.js';
49
+ export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, s as saveGoal, b as summarizeUsage } from './goal-store-_Er467ya.js';
50
+ import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-BZSIMxrJ.js';
50
51
  import { L as Logger } from './logger-BMQgxvdy.js';
51
52
  export { a as LogLevel } from './logger-BMQgxvdy.js';
52
53
  export { a as ModelsDevPayload, c as ModelsDevProvider, M as ModelsRegistry, b as ResolvedModel, R as ResolvedProvider, W as WireFamily } from './models-registry-Y2xbog0E.js';
53
54
  export { S as SecretVault } from './secret-vault-DoISxaKO.js';
54
55
  import './path-resolver-CPRj4bFY.js';
55
- import './selector-C7HqnZJU.js';
56
+ import './selector-DDb_mq9X.js';
56
57
  import 'node:events';
57
58
 
58
59
  /**