@wrongstack/core 0.7.2 → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/{agent-bridge-Bji75Iv9.d.ts → agent-bridge-hXRN-GO_.d.ts} +1 -1
  2. package/dist/{compactor-BFKGzKd5.d.ts → compactor-Mw7-rNyb.d.ts} +1 -1
  3. package/dist/{config-BXAhlqJb.d.ts → config-Bi4Q0fnz.d.ts} +2 -2
  4. package/dist/{context-BwxhvyW8.d.ts → context-z2x5gv_V.d.ts} +1 -1
  5. package/dist/coordination/index.d.ts +14 -14
  6. package/dist/defaults/index.d.ts +25 -25
  7. package/dist/{director-state-BUB7JRUr.d.ts → director-state-BmYi3DGA.d.ts} +1 -1
  8. package/dist/{events-AjrvHJ9V.d.ts → events-D4pGukpI.d.ts} +2 -2
  9. package/dist/execution/index.d.ts +15 -15
  10. package/dist/extension/index.d.ts +8 -8
  11. package/dist/{index-B2WWETRP.d.ts → index-BUHs7xJ9.d.ts} +8 -8
  12. package/dist/index.d.ts +33 -33
  13. package/dist/index.js +3 -0
  14. package/dist/index.js.map +1 -1
  15. package/dist/infrastructure/index.d.ts +9 -9
  16. package/dist/kernel/index.d.ts +11 -11
  17. package/dist/{logger-BMQgxvdy.d.ts → logger-DDd5C--Z.d.ts} +1 -1
  18. package/dist/{logger-BH6AE0W9.d.ts → logger-bOzkF5LL.d.ts} +1 -1
  19. package/dist/{mcp-servers-BDM2Leff.d.ts → mcp-servers-n2L9ohMX.d.ts} +3 -3
  20. package/dist/models/index.d.ts +4 -4
  21. package/dist/{models-registry-Y2xbog0E.d.ts → models-registry-BcYJDKLm.d.ts} +1 -1
  22. package/dist/{models-registry-DqzwpBQy.d.ts → models-registry-OG_30xqZ.d.ts} +1 -1
  23. package/dist/{multi-agent-DenFfUv5.d.ts → multi-agent-7OK4pEKW.d.ts} +3 -3
  24. package/dist/{multi-agent-coordinator-DGUn-5Bb.d.ts → multi-agent-coordinator-D8PLzfz6.d.ts} +4 -4
  25. package/dist/{null-fleet-bus-DJMbqYhL.d.ts → null-fleet-bus-Bkk3gafb.d.ts} +6 -6
  26. package/dist/observability/index.d.ts +2 -2
  27. package/dist/{path-resolver-C1NM67-u.d.ts → path-resolver-DPUjF10O.d.ts} +3 -3
  28. package/dist/{plan-templates-CNY6f82B.d.ts → plan-templates-DWbEIJvV.d.ts} +5 -5
  29. package/dist/{provider-runner-Cmuevptw.d.ts → provider-runner-iST8U3ni.d.ts} +4 -4
  30. package/dist/{retry-policy-mEBn5qpv.d.ts → retry-policy-OwtKNxo8.d.ts} +2 -2
  31. package/dist/sdd/index.d.ts +3 -3
  32. package/dist/{secret-scrubber-BmiGszvl.d.ts → secret-scrubber-DXkhwuka.d.ts} +1 -1
  33. package/dist/{secret-scrubber-bZ5AyhwJ.d.ts → secret-scrubber-nI8qjaqW.d.ts} +1 -1
  34. package/dist/security/index.d.ts +3 -3
  35. package/dist/{selector-BmUma5iG.d.ts → selector-DkvgYVS4.d.ts} +1 -1
  36. package/dist/{session-reader-g-FKCyBw.d.ts → session-reader-DsadjyF9.d.ts} +1 -1
  37. package/dist/storage/index.d.ts +8 -8
  38. package/dist/{system-prompt-BKrzd_ci.d.ts → system-prompt-CWA6ml-d.d.ts} +2 -2
  39. package/dist/{tool-executor-BoM0U0qn.d.ts → tool-executor-Tutu4ePV.d.ts} +5 -5
  40. package/dist/types/index.d.ts +19 -19
  41. package/dist/utils/index.d.ts +2 -2
  42. package/dist/{wstack-paths-86YPFktR.d.ts → wstack-paths-BGu2INTm.d.ts} +1 -1
  43. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-BH6AE0W9.js';
2
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-C1NM67-u.js';
3
- 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-BDM2Leff.js';
4
- import '../logger-BMQgxvdy.js';
5
- import '../events-AjrvHJ9V.js';
6
- import '../context-BwxhvyW8.js';
7
- import '../models-registry-Y2xbog0E.js';
1
+ export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-bOzkF5LL.js';
2
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-DPUjF10O.js';
3
+ 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-n2L9ohMX.js';
4
+ import '../logger-DDd5C--Z.js';
5
+ import '../events-D4pGukpI.js';
6
+ import '../context-z2x5gv_V.js';
7
+ import '../models-registry-BcYJDKLm.js';
8
8
  import '../path-resolver-CPRj4bFY.js';
9
- import '../compactor-BFKGzKd5.js';
10
- import '../config-BXAhlqJb.js';
9
+ import '../compactor-Mw7-rNyb.js';
10
+ import '../config-Bi4Q0fnz.js';
@@ -1,18 +1,18 @@
1
- import { T as Token, R as Renderer, S as SystemPromptBuilder } from '../system-prompt-BKrzd_ci.js';
2
- export { a as BindOptions, C as Container, D as Decorator, F as Factory, b as Middleware, c as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions } from '../system-prompt-BKrzd_ci.js';
3
- export { E as EventBus, b as EventLogger, c as EventMap, a as EventName, L as Listener, S as ScopedEventBus } from '../events-AjrvHJ9V.js';
4
- import { a as Compactor } from '../compactor-BFKGzKd5.js';
5
- import { b as ConfigLoader, c as ConfigStore } from '../config-BXAhlqJb.js';
6
- import { E as ErrorHandler, R as RetryPolicy } from '../retry-policy-mEBn5qpv.js';
1
+ import { T as Token, e as Renderer, S as SystemPromptBuilder } from '../system-prompt-CWA6ml-d.js';
2
+ export { B as BindOptions, C as Container, D as Decorator, F as Factory, M as Middleware, b as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions } from '../system-prompt-CWA6ml-d.js';
3
+ export { E as EventBus, a as EventLogger, b as EventMap, c as EventName, L as Listener, S as ScopedEventBus } from '../events-D4pGukpI.js';
4
+ import { a as Compactor } from '../compactor-Mw7-rNyb.js';
5
+ import { b as ConfigLoader, c as ConfigStore } from '../config-Bi4Q0fnz.js';
6
+ import { E as ErrorHandler, a as RetryPolicy } from '../retry-policy-OwtKNxo8.js';
7
7
  import { I as InputReader } from '../input-reader-E-ffP2ee.js';
8
- import { L as Logger } from '../logger-BMQgxvdy.js';
8
+ import { a as Logger } from '../logger-DDd5C--Z.js';
9
9
  import { b as MemoryStore } from '../memory-CEXuo7sz.js';
10
10
  import { c as ModeStore } from '../mode-CV077NjV.js';
11
- import { M as ModelsRegistry } from '../models-registry-Y2xbog0E.js';
11
+ import { b as ModelsRegistry } from '../models-registry-BcYJDKLm.js';
12
12
  import { P as PathResolver } from '../path-resolver-CPRj4bFY.js';
13
- import { a as PermissionPolicy, S as SecretScrubber } from '../secret-scrubber-bZ5AyhwJ.js';
14
- import { P as ProviderRunner } from '../provider-runner-Cmuevptw.js';
15
- import { a6 as TokenCounter, r as SessionStore } from '../context-BwxhvyW8.js';
13
+ import { a as PermissionPolicy, S as SecretScrubber } from '../secret-scrubber-nI8qjaqW.js';
14
+ import { P as ProviderRunner } from '../provider-runner-iST8U3ni.js';
15
+ import { O as TokenCounter, y as SessionStore } from '../context-z2x5gv_V.js';
16
16
  import { a as SkillLoader } from '../skill-CxuWrsKK.js';
17
17
  import '../observability-BhnVLBLS.js';
18
18
 
@@ -9,4 +9,4 @@ interface Logger {
9
9
  child(bindings: Record<string, unknown>): Logger;
10
10
  }
11
11
 
12
- export type { Logger as L, LogLevel as a };
12
+ export type { LogLevel as L, Logger as a };
@@ -1,4 +1,4 @@
1
- import { L as Logger, a as LogLevel } from './logger-BMQgxvdy.js';
1
+ import { a as Logger, L as LogLevel } from './logger-DDd5C--Z.js';
2
2
 
3
3
  interface DefaultLoggerOptions {
4
4
  level?: LogLevel;
@@ -1,6 +1,6 @@
1
- import { a as Compactor } from './compactor-BFKGzKd5.js';
2
- import { M as Message, x as Tool } from './context-BwxhvyW8.js';
3
- import { M as MCPServerConfig } from './config-BXAhlqJb.js';
1
+ import { a as Compactor } from './compactor-Mw7-rNyb.js';
2
+ import { M as Message, Q as Tool } from './context-z2x5gv_V.js';
3
+ import { M as MCPServerConfig } from './config-Bi4Q0fnz.js';
4
4
 
5
5
  type ContextManagerAction = 'check' | 'summary' | 'prune' | 'add_note' | 'compact' | 'repair';
6
6
  interface ContextManagerInput {
@@ -1,8 +1,8 @@
1
- export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-DqzwpBQy.js';
1
+ export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-OG_30xqZ.js';
2
2
  import { c as ModeStore, a as ModeConfig, M as Mode } from '../mode-CV077NjV.js';
3
- import { i as Provider, M as Message } from '../context-BwxhvyW8.js';
4
- import { M as MessageSelector, S as SelectorResult } from '../selector-BmUma5iG.js';
5
- import '../models-registry-Y2xbog0E.js';
3
+ import { m as Provider, M as Message } from '../context-z2x5gv_V.js';
4
+ import { M as MessageSelector, S as SelectorResult } from '../selector-DkvgYVS4.js';
5
+ import '../models-registry-BcYJDKLm.js';
6
6
 
7
7
  declare class DefaultModeStore implements ModeStore {
8
8
  private activeModeId;
@@ -92,4 +92,4 @@ interface ModelsRegistry {
92
92
  ageSeconds(): Promise<number>;
93
93
  }
94
94
 
95
- export type { ModelsRegistry as M, ResolvedProvider as R, WireFamily as W, ModelsDevPayload as a, ResolvedModel as b, ModelsDevProvider as c };
95
+ export type { ModelsDevPayload as M, ResolvedModel as R, WireFamily as W, ModelsDevProvider as a, ModelsRegistry as b, ResolvedProvider as c };
@@ -1,4 +1,4 @@
1
- import { M as ModelsRegistry, a as ModelsDevPayload, R as ResolvedProvider, b as ResolvedModel, W as WireFamily } from './models-registry-Y2xbog0E.js';
1
+ import { b as ModelsRegistry, M as ModelsDevPayload, c as ResolvedProvider, R as ResolvedModel, W as WireFamily } from './models-registry-BcYJDKLm.js';
2
2
 
3
3
  interface DefaultModelsRegistryOptions {
4
4
  cacheFile: string;
@@ -1,5 +1,5 @@
1
- import { U as Usage } from './context-BwxhvyW8.js';
2
- import { E as EventBus } from './events-AjrvHJ9V.js';
1
+ import { $ as Usage } from './context-z2x5gv_V.js';
2
+ import { E as EventBus } from './events-D4pGukpI.js';
3
3
 
4
4
  type BridgeMessageType = 'task' | 'result' | 'progress' | 'error' | 'heartbeat' | 'stop' | 'delegate' | 'budget_threshold';
5
5
  interface BridgeMessage<T = unknown> {
@@ -456,4 +456,4 @@ interface SubagentContext {
456
456
  maxConcurrent: number;
457
457
  }
458
458
 
459
- export { type AgentBridge as A, type BridgeTransport as B, type CoordinatorEvents as C, type DoneCondition as D, type MultiAgentConfig as M, type SpawnResult as S, type TaskDelegation as T, type CoordinatorStatus as a, type MultiAgentCoordinator as b, type SubagentConfig as c, type SubagentContext as d, type SubagentError as e, type SubagentErrorKind as f, type SubagentRunContext as g, type SubagentRunOutcome as h, type SubagentRunner as i, type TaskResult as j, type TaskSpec as k, type BridgeMessage as l, type AgentBridgeConfig as m, BudgetExceededError as n, type BudgetKind as o, type BudgetLimits as p, type BudgetThresholdDecision as q, type BudgetThresholdHandler as r, BudgetThresholdSignal as s, type BudgetUsage as t, SubagentBudget as u };
459
+ export { type AgentBridge as A, type BridgeMessage as B, type CoordinatorEvents as C, type DoneCondition as D, type MultiAgentConfig as M, type SpawnResult as S, type TaskDelegation as T, type AgentBridgeConfig as a, type BridgeTransport as b, BudgetExceededError as c, type BudgetKind as d, type BudgetLimits as e, type BudgetThresholdDecision as f, type BudgetThresholdHandler as g, BudgetThresholdSignal as h, type BudgetUsage as i, type CoordinatorStatus as j, type MultiAgentCoordinator as k, SubagentBudget as l, type SubagentConfig as m, type SubagentContext as n, type SubagentError as o, type SubagentErrorKind as p, type SubagentRunContext as q, type SubagentRunOutcome as r, type SubagentRunner as s, type TaskResult as t, type TaskSpec as u };
@@ -1,6 +1,6 @@
1
- import { A as Agent, n as AgentInput } from './index-B2WWETRP.js';
2
- import { E as EventBus } from './events-AjrvHJ9V.js';
3
- import { c as SubagentConfig, k as TaskSpec, i as SubagentRunner, b as MultiAgentCoordinator, M as MultiAgentConfig, S as SpawnResult, l as BridgeMessage, A as AgentBridge, a as CoordinatorStatus, j as TaskResult } from './multi-agent-DenFfUv5.js';
1
+ import { c as Agent, f as AgentInput } from './index-BUHs7xJ9.js';
2
+ import { E as EventBus } from './events-D4pGukpI.js';
3
+ import { m as SubagentConfig, u as TaskSpec, s as SubagentRunner, k as MultiAgentCoordinator, M as MultiAgentConfig, S as SpawnResult, B as BridgeMessage, A as AgentBridge, j as CoordinatorStatus, t as TaskResult } from './multi-agent-7OK4pEKW.js';
4
4
  import { EventEmitter } from 'node:events';
5
5
 
6
6
  /**
@@ -445,4 +445,4 @@ declare class DefaultMultiAgentCoordinator extends EventEmitter implements Multi
445
445
  private isDone;
446
446
  }
447
447
 
448
- export { type AgentDefinition as A, DEFAULT_DISPATCH_ROLE as D, FleetBus as F, HEAVY_BUDGET as H, LIGHT_BUDGET as L, MEDIUM_BUDGET as M, type SubagentUsageSnapshot as S, TOOLS as T, type AgentBudgetTier as a, type AgentCapability as b, type AgentFactory as c, type AgentFactoryResult as d, type AgentPhase as e, type AgentRunnerOptions as f, DefaultMultiAgentCoordinator as g, type DispatchCandidate as h, type DispatchClassifier as i, type DispatchMethod as j, type DispatchOptions as k, type DispatchResult as l, type FleetEvent as m, type FleetHandler as n, type FleetUsage as o, FleetUsageAggregator as p, type MultiAgentCoordinatorOptions as q, dispatchAgent as r, makeAgentSubagentRunner as s, makeLLMClassifier as t, scoreAgents as u };
448
+ export { type AgentBudgetTier as A, DEFAULT_DISPATCH_ROLE as D, FleetBus as F, HEAVY_BUDGET as H, LIGHT_BUDGET as L, MEDIUM_BUDGET as M, type SubagentUsageSnapshot as S, TOOLS as T, type AgentCapability as a, type AgentDefinition as b, type AgentFactory as c, type AgentFactoryResult as d, type AgentPhase as e, type AgentRunnerOptions as f, DefaultMultiAgentCoordinator as g, type DispatchCandidate as h, type DispatchClassifier as i, type DispatchMethod as j, type DispatchOptions as k, type DispatchResult as l, type FleetEvent as m, type FleetHandler as n, type FleetUsage as o, FleetUsageAggregator as p, type MultiAgentCoordinatorOptions as q, dispatchAgent as r, makeAgentSubagentRunner as s, makeLLMClassifier as t, scoreAgents as u };
@@ -1,9 +1,9 @@
1
- import { e as AgentPhase, A as AgentDefinition, F as FleetBus, o as FleetUsage, p as FleetUsageAggregator } from './multi-agent-coordinator-DGUn-5Bb.js';
2
- import { c as SubagentConfig, j as TaskResult, a as CoordinatorStatus, k as TaskSpec, M as MultiAgentConfig, i as SubagentRunner } from './multi-agent-DenFfUv5.js';
3
- import { t as SessionWriter, x as Tool, r as SessionStore } from './context-BwxhvyW8.js';
4
- import { D as DirectorStateSnapshot } from './director-state-BUB7JRUr.js';
5
- import { I as InMemoryAgentBridge } from './agent-bridge-Bji75Iv9.js';
6
- import { E as EventBus } from './events-AjrvHJ9V.js';
1
+ import { e as AgentPhase, b as AgentDefinition, F as FleetBus, o as FleetUsage, p as FleetUsageAggregator } from './multi-agent-coordinator-D8PLzfz6.js';
2
+ import { m as SubagentConfig, t as TaskResult, j as CoordinatorStatus, u as TaskSpec, M as MultiAgentConfig, s as SubagentRunner } from './multi-agent-7OK4pEKW.js';
3
+ import { B as SessionWriter, Q as Tool, y as SessionStore } from './context-z2x5gv_V.js';
4
+ import { a as DirectorStateSnapshot } from './director-state-BmYi3DGA.js';
5
+ import { I as InMemoryAgentBridge } from './agent-bridge-hXRN-GO_.js';
6
+ import { E as EventBus } from './events-D4pGukpI.js';
7
7
 
8
8
  /**
9
9
  * Agent catalog aggregator.
@@ -1,6 +1,6 @@
1
1
  import { e as MetricsSink, M as MetricLabels, f as MetricsSnapshot, b as HealthRegistry, H as HealthCheck, A as AggregateHealth, T as Tracer, S as Span } from '../observability-BhnVLBLS.js';
2
- import { E as EventBus } from '../events-AjrvHJ9V.js';
3
- import '../context-BwxhvyW8.js';
2
+ import { E as EventBus } from '../events-D4pGukpI.js';
3
+ import '../context-z2x5gv_V.js';
4
4
 
5
5
  /**
6
6
  * In-memory metrics sink. Suitable for embedded use, tests, and /metrics
@@ -1,6 +1,6 @@
1
- import { E as EventBus } from './events-AjrvHJ9V.js';
2
- import { M as ModelsRegistry, b as ResolvedModel } from './models-registry-Y2xbog0E.js';
3
- import { a6 as TokenCounter, U as Usage, a7 as CacheStats } from './context-BwxhvyW8.js';
1
+ import { E as EventBus } from './events-D4pGukpI.js';
2
+ import { b as ModelsRegistry, R as ResolvedModel } from './models-registry-BcYJDKLm.js';
3
+ import { O as TokenCounter, $ as Usage, C as CacheStats } from './context-z2x5gv_V.js';
4
4
  import { P as PathResolver } from './path-resolver-CPRj4bFY.js';
5
5
 
6
6
  /**
@@ -1,9 +1,9 @@
1
- import { E as EventBus } from './events-AjrvHJ9V.js';
2
- import { r as SessionStore, q as SessionMetadata, t as SessionWriter, m as ResumedSession, S as SessionData, s as SessionSummary, b as ContentBlock, p as SessionEvent, a8 as TodoItem, a9 as ConversationState } from './context-BwxhvyW8.js';
3
- import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-g-FKCyBw.js';
1
+ import { E as EventBus } from './events-D4pGukpI.js';
2
+ import { y as SessionStore, x as SessionMetadata, B as SessionWriter, r as ResumedSession, S as SessionData, z as SessionSummary, c as ContentBlock, w as SessionEvent, N as TodoItem, f as ConversationState } from './context-z2x5gv_V.js';
3
+ import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-DsadjyF9.js';
4
4
  import { b as MemoryStore, a as MemoryScope } from './memory-CEXuo7sz.js';
5
- import { W as WstackPaths } from './wstack-paths-86YPFktR.js';
6
- import { c as ConfigStore, a as Config, b as ConfigLoader } from './config-BXAhlqJb.js';
5
+ import { a as WstackPaths } from './wstack-paths-BGu2INTm.js';
6
+ import { c as ConfigStore, a as Config, b as ConfigLoader } from './config-Bi4Q0fnz.js';
7
7
  import { S as SecretVault } from './secret-vault-DoISxaKO.js';
8
8
 
9
9
  interface SessionStoreOptions {
@@ -1,8 +1,8 @@
1
- import { E as EventBus } from './events-AjrvHJ9V.js';
2
- import { L as Logger } from './logger-BMQgxvdy.js';
1
+ import { E as EventBus } from './events-D4pGukpI.js';
2
+ import { a as Logger } from './logger-DDd5C--Z.js';
3
3
  import { T as Tracer } from './observability-BhnVLBLS.js';
4
- import { i as Provider, R as Request, a5 as Context, l as Response } from './context-BwxhvyW8.js';
5
- import { R as RetryPolicy } from './retry-policy-mEBn5qpv.js';
4
+ import { m as Provider, p as Request, d as Context, q as Response } from './context-z2x5gv_V.js';
5
+ import { a as RetryPolicy } from './retry-policy-OwtKNxo8.js';
6
6
 
7
7
  /**
8
8
  * Options passed to a ProviderRunner when calling the provider.
@@ -1,4 +1,4 @@
1
- import { l as Response, a5 as Context, j as ProviderError } from './context-BwxhvyW8.js';
1
+ import { q as Response, d as Context, n as ProviderError } from './context-z2x5gv_V.js';
2
2
 
3
3
  type RecoveryDecision = {
4
4
  /**
@@ -43,4 +43,4 @@ interface RetryPolicy {
43
43
  maxAttempts(err: ProviderError | Error): number;
44
44
  }
45
45
 
46
- export type { ErrorHandler as E, RetryPolicy as R, RecoveryDecision as a };
46
+ export type { ErrorHandler as E, RecoveryDecision as R, RetryPolicy as a };
@@ -1,7 +1,7 @@
1
1
  import { h as Specification, S as SpecAnalysis, g as SpecValidationResult, l as TaskGraph, m as TaskNode, k as TaskFilter, p as TaskSort, o as TaskProgress, r as TaskType, n as TaskPriority, e as SpecStatus, f as SpecTemplate, b as SpecRequirement } from '../task-graph-D1YQbpxF.js';
2
- import { E as EventBus } from '../events-AjrvHJ9V.js';
3
- import { D as DoneCondition } from '../multi-agent-DenFfUv5.js';
4
- import '../context-BwxhvyW8.js';
2
+ import { E as EventBus } from '../events-D4pGukpI.js';
3
+ import { D as DoneCondition } from '../multi-agent-7OK4pEKW.js';
4
+ import '../context-z2x5gv_V.js';
5
5
 
6
6
  declare class SpecParser {
7
7
  parse(content: string): Specification;
@@ -1,5 +1,5 @@
1
1
  import { S as SecretVault } from './secret-vault-DoISxaKO.js';
2
- import { S as SecretScrubber } from './secret-scrubber-bZ5AyhwJ.js';
2
+ import { S as SecretScrubber } from './secret-scrubber-nI8qjaqW.js';
3
3
 
4
4
  interface SecretVaultOptions {
5
5
  /** Absolute path to the key file. Created with mode 0o600 if missing. */
@@ -1,4 +1,4 @@
1
- import { x as Tool, a5 as Context, P as Permission } from './context-BwxhvyW8.js';
1
+ import { Q as Tool, d as Context, P as Permission } from './context-z2x5gv_V.js';
2
2
 
3
3
  interface TrustPolicy {
4
4
  [toolNameOrPattern: string]: {
@@ -1,7 +1,7 @@
1
- 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-BmiGszvl.js';
2
- import { x as Tool, a5 as Context } from '../context-BwxhvyW8.js';
1
+ 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-DXkhwuka.js';
2
+ import { Q as Tool, d as Context } from '../context-z2x5gv_V.js';
3
3
  import { I as InputReader } from '../input-reader-E-ffP2ee.js';
4
- import { a as PermissionPolicy, P as PermissionDecision } from '../secret-scrubber-bZ5AyhwJ.js';
4
+ import { a as PermissionPolicy, P as PermissionDecision } from '../secret-scrubber-nI8qjaqW.js';
5
5
  import '../secret-vault-DoISxaKO.js';
6
6
 
7
7
  interface PermissionPolicyOptions {
@@ -1,4 +1,4 @@
1
- import { M as Message } from './context-BwxhvyW8.js';
1
+ import { M as Message } from './context-z2x5gv_V.js';
2
2
 
3
3
  /**
4
4
  * Result of LLM-driven message importance analysis.
@@ -1,4 +1,4 @@
1
- import { b as ContentBlock, p as SessionEvent, q as SessionMetadata, r as SessionStore } from './context-BwxhvyW8.js';
1
+ import { c as ContentBlock, w as SessionEvent, x as SessionMetadata, y as SessionStore } from './context-z2x5gv_V.js';
2
2
 
3
3
  type AttachmentKind = 'text' | 'image' | 'file';
4
4
  interface AttachmentMeta {
@@ -1,14 +1,14 @@
1
- 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-CNY6f82B.js';
2
- export { D as DefaultSessionReader } from '../session-reader-g-FKCyBw.js';
1
+ 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-DWbEIJvV.js';
2
+ export { D as DefaultSessionReader } from '../session-reader-DsadjyF9.js';
3
3
  import { S as SessionRewinder, C as CheckpointInfo, a as RewindResultExtended } from '../session-rewinder-C9HnMkhP.js';
4
- export { a as DirectorStateCheckpoint, D as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BUB7JRUr.js';
4
+ export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BmYi3DGA.js';
5
5
  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-HHgaq5ue.js';
6
- import '../events-AjrvHJ9V.js';
7
- import '../context-BwxhvyW8.js';
6
+ import '../events-D4pGukpI.js';
7
+ import '../context-z2x5gv_V.js';
8
8
  import '../memory-CEXuo7sz.js';
9
- import '../wstack-paths-86YPFktR.js';
10
- import '../config-BXAhlqJb.js';
11
- import '../models-registry-Y2xbog0E.js';
9
+ import '../wstack-paths-BGu2INTm.js';
10
+ import '../config-Bi4Q0fnz.js';
11
+ import '../models-registry-BcYJDKLm.js';
12
12
  import '../secret-vault-DoISxaKO.js';
13
13
 
14
14
  interface SessionRewinderOptions {
@@ -1,4 +1,4 @@
1
- import { T as TextBlock, b as ContentBlock, x as Tool } from './context-BwxhvyW8.js';
1
+ import { T as TextBlock, c as ContentBlock, Q as Tool } from './context-z2x5gv_V.js';
2
2
 
3
3
  /**
4
4
  * Container — dependency injection with explicit bind / override / decorate.
@@ -183,4 +183,4 @@ interface SystemPromptBuilder {
183
183
  build(ctx: BuildContext): Promise<TextBlock[]>;
184
184
  }
185
185
 
186
- export { type BuildContext as B, Container as C, type Decorator as D, type Factory as F, type ModelCapabilities as M, type NextFn as N, Pipeline as P, type Renderer as R, type SystemPromptBuilder as S, type Token as T, type BindOptions as a, type Middleware as b, type MiddlewareHandler as c, type PipelineOptions as d, type ReadonlyPipeline as e };
186
+ export { type BindOptions as B, Container as C, type Decorator as D, type Factory as F, type Middleware as M, type NextFn as N, Pipeline as P, type ReadonlyPipeline as R, type SystemPromptBuilder as S, type Token as T, type BuildContext as a, type MiddlewareHandler as b, type ModelCapabilities as c, type PipelineOptions as d, type Renderer as e };
@@ -1,8 +1,8 @@
1
- import { a5 as Context, j as ProviderError, x as Tool, K as ToolUseBlock, G as ToolResultBlock } from './context-BwxhvyW8.js';
2
- import { a as Compactor, C as CompactReport } from './compactor-BFKGzKd5.js';
3
- import { a as RecoveryDecision, E as ErrorHandler, R as RetryPolicy } from './retry-policy-mEBn5qpv.js';
4
- import { M as ModelsRegistry } from './models-registry-Y2xbog0E.js';
5
- import { k as ToolExecutorOptions, l as ToolExecutorStrategy, m as ToolBatchResult } from './index-B2WWETRP.js';
1
+ import { d as Context, n as ProviderError, Q as Tool, _ as ToolUseBlock, Y as ToolResultBlock } from './context-z2x5gv_V.js';
2
+ import { a as Compactor, C as CompactReport } from './compactor-Mw7-rNyb.js';
3
+ import { R as RecoveryDecision, E as ErrorHandler, a as RetryPolicy } from './retry-policy-OwtKNxo8.js';
4
+ import { b as ModelsRegistry } from './models-registry-BcYJDKLm.js';
5
+ import { x as ToolExecutorOptions, y as ToolExecutorStrategy, T as ToolBatchResult } from './index-BUHs7xJ9.js';
6
6
 
7
7
  interface CompactorOptions {
8
8
  preserveK?: number;
@@ -1,29 +1,29 @@
1
- export { A as AgentError, C as Capabilities, a as ConfigError, b as ContentBlock, E as ERROR_CODES, c as ErrorCode, d as ErrorSeverity, e as ErrorSubsystem, F as FileSnapshot, f as FsError, I as ImageBlock, J as JSONSchema, M as Message, g as MessageRole, P as Permission, h as PluginError, i as Provider, j as ProviderError, k as ProviderErrorBody, R as Request, l as Response, m as ResumedSession, n as RiskTier, S as SessionData, o as SessionError, p as SessionEvent, q as SessionMetadata, r as SessionStore, s as SessionSummary, t as SessionWriter, u as StopReason, v as StreamEvent, T as TextBlock, w as ThinkingBlock, x as Tool, y as ToolCallContext, z as ToolError, B as ToolFinalEvent, D as ToolProgressEvent, G as ToolResultBlock, H as ToolStreamEvent, K as ToolUseBlock, U as Usage, W as WrongStackError, L as asBlocks, N as asText, O as isAgentError, Q as isConfigError, V as isFsError, X as isImageBlock, Y as isPluginError, Z as isSessionError, _ as isTextBlock, $ as isThinkingBlock, a0 as isToolError, a1 as isToolResultBlock, a2 as isToolUseBlock, a3 as isWrongStackError, a4 as toWrongStackError } from '../context-BwxhvyW8.js';
2
- export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-Cmuevptw.js';
3
- export { C as CONTEXT_WINDOW_MODES, a as Config, 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, M as MCPServerConfig, 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-BXAhlqJb.js';
4
- export { C as CompactReport, a as Compactor } from '../compactor-BFKGzKd5.js';
5
- export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../secret-scrubber-bZ5AyhwJ.js';
1
+ export { A as AgentError, a as Capabilities, b as ConfigError, c as ContentBlock, E as ERROR_CODES, g as ErrorCode, h as ErrorSeverity, i as ErrorSubsystem, F as FileSnapshot, j as FsError, I as ImageBlock, J as JSONSchema, M as Message, k as MessageRole, P as Permission, l as PluginError, m as Provider, n as ProviderError, o as ProviderErrorBody, p as Request, q as Response, r as ResumedSession, s as RiskTier, S as SessionData, v as SessionError, w as SessionEvent, x as SessionMetadata, y as SessionStore, z as SessionSummary, B as SessionWriter, H as StopReason, K as StreamEvent, T as TextBlock, L as ThinkingBlock, Q as Tool, U as ToolCallContext, V as ToolError, W as ToolFinalEvent, X as ToolProgressEvent, Y as ToolResultBlock, Z as ToolStreamEvent, _ as ToolUseBlock, $ as Usage, a0 as WrongStackError, a1 as asBlocks, a2 as asText, a4 as isAgentError, a5 as isConfigError, a6 as isFsError, a7 as isImageBlock, a8 as isPluginError, a9 as isSessionError, aa as isTextBlock, ab as isThinkingBlock, ac as isToolError, ad as isToolResultBlock, ae as isToolUseBlock, af as isWrongStackError, ag as toWrongStackError } from '../context-z2x5gv_V.js';
2
+ export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-iST8U3ni.js';
3
+ export { C as CONTEXT_WINDOW_MODES, a as Config, 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, M as MCPServerConfig, 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-Bi4Q0fnz.js';
4
+ export { C as CompactReport, a as Compactor } from '../compactor-Mw7-rNyb.js';
5
+ export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../secret-scrubber-nI8qjaqW.js';
6
6
  export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from '../session-rewinder-C9HnMkhP.js';
7
- export { A as AddAttachmentInput, a as Attachment, b as AttachmentKind, c as AttachmentMeta, d as AttachmentRef, e as AttachmentStore, D as DefaultSessionReader } from '../session-reader-g-FKCyBw.js';
7
+ export { A as AddAttachmentInput, a as Attachment, b as AttachmentKind, c as AttachmentMeta, d as AttachmentRef, e as AttachmentStore, D as DefaultSessionReader } from '../session-reader-DsadjyF9.js';
8
8
  export { D as DEFAULT_CONTEXT_CONFIG, a as DEFAULT_TOOLS_CONFIG } from '../default-config-DvRSTELf.js';
9
- 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-BmiGszvl.js';
10
- export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-BH6AE0W9.js';
11
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-C1NM67-u.js';
9
+ 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-DXkhwuka.js';
10
+ export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-bOzkF5LL.js';
11
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-DPUjF10O.js';
12
12
  export { M as MemoryEntry, a as MemoryScope, b as MemoryStore } from '../memory-CEXuo7sz.js';
13
- 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-BoM0U0qn.js';
13
+ 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-Tutu4ePV.js';
14
14
  export { S as SkillEntry, a as SkillLoader, b as SkillManifest } from '../skill-CxuWrsKK.js';
15
- export { B as BuildContext, M as ModelCapabilities, R as Renderer, S as SystemPromptBuilder } from '../system-prompt-BKrzd_ci.js';
15
+ export { a as BuildContext, c as ModelCapabilities, e as Renderer, S as SystemPromptBuilder } from '../system-prompt-CWA6ml-d.js';
16
16
  export { I as InputReader, P as PromptOption } from '../input-reader-E-ffP2ee.js';
17
- export { M as MCPRegistryView, a as MetricsSinkView, P as Plugin, b as PluginAPI, c as PluginCapabilities, d as PluginDependency, e as PluginPipelines, f as ProviderFactory, g as ProviderRegistryView, S as SessionWriterView, h as SlashCommand, i as SlashCommandRegistryView, j as SystemPromptContributor, T as ToolRegistryView } from '../index-B2WWETRP.js';
18
- export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-DqzwpBQy.js';
17
+ export { M as MCPRegistryView, j as MetricsSinkView, P as Plugin, k as PluginAPI, l as PluginCapabilities, m as PluginDependency, n as PluginPipelines, o as ProviderFactory, r as ProviderRegistryView, S as SessionWriterView, u as SlashCommand, v as SlashCommandRegistryView, w as SystemPromptContributor, C as ToolRegistryView } from '../index-BUHs7xJ9.js';
18
+ export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-OG_30xqZ.js';
19
19
  export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest, c as ModeStore } from '../mode-CV077NjV.js';
20
- export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-Bji75Iv9.js';
21
- export { C as CoordinatorEvents, a as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, b as MultiAgentCoordinator, S as SpawnResult, 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-DenFfUv5.js';
20
+ export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-hXRN-GO_.js';
21
+ export { C as CoordinatorEvents, j as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, k as MultiAgentCoordinator, S as SpawnResult, m as SubagentConfig, n as SubagentContext, o as SubagentError, p as SubagentErrorKind, q as SubagentRunContext, r as SubagentRunOutcome, s as SubagentRunner, T as TaskDelegation, t as TaskResult, u as TaskSpec } from '../multi-agent-7OK4pEKW.js';
22
22
  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-D1YQbpxF.js';
23
23
  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';
24
- import '../events-AjrvHJ9V.js';
25
- import '../logger-BMQgxvdy.js';
26
- import '../retry-policy-mEBn5qpv.js';
27
- import '../models-registry-Y2xbog0E.js';
24
+ import '../events-D4pGukpI.js';
25
+ import '../logger-DDd5C--Z.js';
26
+ import '../retry-policy-OwtKNxo8.js';
27
+ import '../models-registry-BcYJDKLm.js';
28
28
  import '../secret-vault-DoISxaKO.js';
29
29
  import '../path-resolver-CPRj4bFY.js';
@@ -1,5 +1,5 @@
1
- import { a8 as TodoItem, M as Message, J as JSONSchema } from '../context-BwxhvyW8.js';
2
- export { a as WstackPathOptions, W as WstackPaths, p as projectHash, r as resolveWstackPaths } from '../wstack-paths-86YPFktR.js';
1
+ import { N as TodoItem, M as Message, J as JSONSchema } from '../context-z2x5gv_V.js';
2
+ export { W as WstackPathOptions, a as WstackPaths, p as projectHash, r as resolveWstackPaths } from '../wstack-paths-BGu2INTm.js';
3
3
 
4
4
  interface AtomicWriteOptions {
5
5
  mode?: number;
@@ -60,4 +60,4 @@ interface WstackPathOptions {
60
60
  }
61
61
  declare function resolveWstackPaths(opts: WstackPathOptions): WstackPaths;
62
62
 
63
- export { type WstackPaths as W, type WstackPathOptions as a, projectHash as p, resolveWstackPaths as r };
63
+ export { type WstackPathOptions as W, type WstackPaths as a, projectHash as p, resolveWstackPaths as r };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/core",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack core: kernel, types, defaults, and shared utilities for the WrongStack CLI agent.",
6
6
  "repository": {