@wrongstack/core 0.5.6 → 0.5.7

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 (42) hide show
  1. package/dist/{agent-bridge-B07AYFBk.d.ts → agent-bridge-BKNiE1VH.d.ts} +1 -1
  2. package/dist/{compactor-BWhJXxsW.d.ts → compactor-RIPuTtWK.d.ts} +1 -1
  3. package/dist/{config-BgM0BIpz.d.ts → config-BGGuP_Ar.d.ts} +1 -1
  4. package/dist/{context-CLZXPPYk.d.ts → context-CDRyrkKQ.d.ts} +7 -0
  5. package/dist/coordination/index.d.ts +9 -9
  6. package/dist/coordination/index.js +301 -58
  7. package/dist/coordination/index.js.map +1 -1
  8. package/dist/defaults/index.d.ts +18 -18
  9. package/dist/defaults/index.js +124 -61
  10. package/dist/defaults/index.js.map +1 -1
  11. package/dist/{events-qnDZbrtb.d.ts → events-DPQKFX7W.d.ts} +1 -1
  12. package/dist/execution/index.d.ts +18 -11
  13. package/dist/execution/index.js +19 -3
  14. package/dist/execution/index.js.map +1 -1
  15. package/dist/extension/index.d.ts +6 -6
  16. package/dist/{index-BDnUCRvL.d.ts → index-Bf9Bpkdc.d.ts} +351 -15
  17. package/dist/{index-DPLJw_ZI.d.ts → index-j2WyAyML.d.ts} +20 -5
  18. package/dist/index.d.ts +107 -27
  19. package/dist/index.js +417 -84
  20. package/dist/index.js.map +1 -1
  21. package/dist/infrastructure/index.d.ts +6 -6
  22. package/dist/kernel/index.d.ts +9 -9
  23. package/dist/{mcp-servers-CSMfaBuL.d.ts → mcp-servers-DBdh3cee.d.ts} +3 -3
  24. package/dist/models/index.d.ts +2 -2
  25. package/dist/{multi-agent-Cv8wk47i.d.ts → multi-agent-Cpp7FXUl.d.ts} +11 -3
  26. package/dist/observability/index.d.ts +2 -2
  27. package/dist/{path-resolver-DiCUvEg6.d.ts → path-resolver--g_hKJ7V.d.ts} +2 -2
  28. package/dist/{plan-templates-DaxTCPfk.d.ts → plan-templates-Bveo2W8n.d.ts} +4 -4
  29. package/dist/{provider-runner-3SHqk9zB.d.ts → provider-runner-hl4Il3xS.d.ts} +3 -3
  30. package/dist/{retry-policy-LLUxJmYY.d.ts → retry-policy-LKS8MHsB.d.ts} +1 -1
  31. package/dist/sdd/index.d.ts +3 -3
  32. package/dist/{secret-scrubber-Z_VXuXQT.d.ts → secret-scrubber-BzQR5BiL.d.ts} +1 -1
  33. package/dist/{secret-scrubber-BhJTNr9v.d.ts → secret-scrubber-CfMdAJ_l.d.ts} +1 -1
  34. package/dist/security/index.d.ts +3 -3
  35. package/dist/{selector-DB2-byKH.d.ts → selector-C7HqnZJU.d.ts} +1 -1
  36. package/dist/{session-reader-4jxsYLZ8.d.ts → session-reader-CzfRA6Vk.d.ts} +1 -1
  37. package/dist/storage/index.d.ts +5 -5
  38. package/dist/{system-prompt-DI4Dtc1I.d.ts → system-prompt-Dl2QY1_B.d.ts} +1 -1
  39. package/dist/{tool-executor-DSvmOBe6.d.ts → tool-executor-DbAFkHdP.d.ts} +4 -4
  40. package/dist/types/index.d.ts +15 -15
  41. package/dist/utils/index.d.ts +1 -1
  42. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-BH6AE0W9.js';
2
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-DiCUvEg6.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-CSMfaBuL.js';
2
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver--g_hKJ7V.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-DBdh3cee.js';
4
4
  import '../logger-BMQgxvdy.js';
5
- import '../events-qnDZbrtb.js';
6
- import '../context-CLZXPPYk.js';
5
+ import '../events-DPQKFX7W.js';
6
+ import '../context-CDRyrkKQ.js';
7
7
  import '../models-registry-Y2xbog0E.js';
8
8
  import '../path-resolver-CPRj4bFY.js';
9
- import '../compactor-BWhJXxsW.js';
10
- import '../config-BgM0BIpz.js';
9
+ import '../compactor-RIPuTtWK.js';
10
+ import '../config-BGGuP_Ar.js';
@@ -1,18 +1,18 @@
1
- import { T as Token, R as Renderer, S as SystemPromptBuilder } from '../system-prompt-DI4Dtc1I.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-DI4Dtc1I.js';
3
- export { E as EventBus, b as EventLogger, c as EventMap, a as EventName, L as Listener, S as ScopedEventBus } from '../events-qnDZbrtb.js';
4
- import { a as Compactor } from '../compactor-BWhJXxsW.js';
5
- import { b as ConfigLoader, c as ConfigStore } from '../config-BgM0BIpz.js';
6
- import { E as ErrorHandler, R as RetryPolicy } from '../retry-policy-LLUxJmYY.js';
1
+ import { T as Token, R as Renderer, S as SystemPromptBuilder } from '../system-prompt-Dl2QY1_B.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-Dl2QY1_B.js';
3
+ export { E as EventBus, b as EventLogger, c as EventMap, a as EventName, L as Listener, S as ScopedEventBus } from '../events-DPQKFX7W.js';
4
+ import { a as Compactor } from '../compactor-RIPuTtWK.js';
5
+ import { b as ConfigLoader, c as ConfigStore } from '../config-BGGuP_Ar.js';
6
+ import { E as ErrorHandler, R as RetryPolicy } from '../retry-policy-LKS8MHsB.js';
7
7
  import { I as InputReader } from '../input-reader-E-ffP2ee.js';
8
8
  import { L as Logger } from '../logger-BMQgxvdy.js';
9
9
  import { b as MemoryStore } from '../memory-CEXuo7sz.js';
10
10
  import { c as ModeStore } from '../mode-CV077NjV.js';
11
11
  import { M as ModelsRegistry } from '../models-registry-Y2xbog0E.js';
12
12
  import { P as PathResolver } from '../path-resolver-CPRj4bFY.js';
13
- import { a as PermissionPolicy, S as SecretScrubber } from '../secret-scrubber-BhJTNr9v.js';
14
- import { P as ProviderRunner } from '../provider-runner-3SHqk9zB.js';
15
- import { a3 as TokenCounter, p as SessionStore } from '../context-CLZXPPYk.js';
13
+ import { a as PermissionPolicy, S as SecretScrubber } from '../secret-scrubber-CfMdAJ_l.js';
14
+ import { P as ProviderRunner } from '../provider-runner-hl4Il3xS.js';
15
+ import { a3 as TokenCounter, p as SessionStore } from '../context-CDRyrkKQ.js';
16
16
  import { a as SkillLoader } from '../skill-CxuWrsKK.js';
17
17
  import '../observability-BhnVLBLS.js';
18
18
 
@@ -1,6 +1,6 @@
1
- import { a as Compactor } from './compactor-BWhJXxsW.js';
2
- import { M as Message, v as Tool } from './context-CLZXPPYk.js';
3
- import { M as MCPServerConfig } from './config-BgM0BIpz.js';
1
+ import { a as Compactor } from './compactor-RIPuTtWK.js';
2
+ import { M as Message, v as Tool } from './context-CDRyrkKQ.js';
3
+ import { M as MCPServerConfig } from './config-BGGuP_Ar.js';
4
4
 
5
5
  type ContextManagerAction = 'check' | 'summary' | 'prune' | 'add_note' | 'compact' | 'repair';
6
6
  interface ContextManagerInput {
@@ -1,7 +1,7 @@
1
1
  export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-DqzwpBQy.js';
2
2
  import { c as ModeStore, a as ModeConfig, M as Mode } from '../mode-CV077NjV.js';
3
- import { g as Provider, M as Message } from '../context-CLZXPPYk.js';
4
- import { M as MessageSelector, S as SelectorResult } from '../selector-DB2-byKH.js';
3
+ import { g as Provider, M as Message } from '../context-CDRyrkKQ.js';
4
+ import { M as MessageSelector, S as SelectorResult } from '../selector-C7HqnZJU.js';
5
5
  import '../models-registry-Y2xbog0E.js';
6
6
 
7
7
  declare class DefaultModeStore implements ModeStore {
@@ -1,5 +1,5 @@
1
- import { U as Usage } from './context-CLZXPPYk.js';
2
- import { E as EventBus } from './events-qnDZbrtb.js';
1
+ import { U as Usage } from './context-CDRyrkKQ.js';
2
+ import { E as EventBus } from './events-DPQKFX7W.js';
3
3
 
4
4
  type BridgeMessageType = 'task' | 'result' | 'progress' | 'error' | 'heartbeat' | 'stop' | 'delegate' | 'budget_threshold';
5
5
  interface BridgeMessage<T = unknown> {
@@ -288,11 +288,19 @@ interface TaskSpec {
288
288
  context?: Record<string, unknown>;
289
289
  }
290
290
  interface DoneCondition {
291
- type: 'iterations' | 'tool_calls' | 'output_match' | 'custom' | 'all_tasks_done';
291
+ type: 'iterations' | 'tool_calls' | 'output_match' | 'custom' | 'all_tasks_done' | 'directive';
292
292
  maxIterations?: number;
293
293
  maxToolCalls?: number;
294
294
  pattern?: string;
295
295
  predicate?: string;
296
+ /**
297
+ * For `directive` type — stop when model emits [done] and keep going
298
+ * on [continue]/[next step]/[proceed] WITHOUT returning to the outer runner.
299
+ * When false (default), the runner behaves normally (one agent.run per loop).
300
+ * When true, the runner passes `autonomousContinue: true` to the agent and
301
+ * re-runs internally when the model signals continue.
302
+ */
303
+ autonomous?: boolean;
296
304
  }
297
305
  interface MultiAgentConfig {
298
306
  coordinatorId: string;
@@ -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-qnDZbrtb.js';
3
- import '../context-CLZXPPYk.js';
2
+ import { E as EventBus } from '../events-DPQKFX7W.js';
3
+ import '../context-CDRyrkKQ.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-qnDZbrtb.js';
1
+ import { E as EventBus } from './events-DPQKFX7W.js';
2
2
  import { M as ModelsRegistry, b as ResolvedModel } from './models-registry-Y2xbog0E.js';
3
- import { a3 as TokenCounter, U as Usage, a4 as CacheStats } from './context-CLZXPPYk.js';
3
+ import { a3 as TokenCounter, U as Usage, a4 as CacheStats } from './context-CDRyrkKQ.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-qnDZbrtb.js';
2
- import { p as SessionStore, o as SessionMetadata, r as SessionWriter, k as ResumedSession, S as SessionData, q as SessionSummary, b as ContentBlock, n as SessionEvent, a5 as TodoItem, a6 as ConversationState } from './context-CLZXPPYk.js';
3
- import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-4jxsYLZ8.js';
1
+ import { E as EventBus } from './events-DPQKFX7W.js';
2
+ import { p as SessionStore, o as SessionMetadata, r as SessionWriter, k as ResumedSession, S as SessionData, q as SessionSummary, b as ContentBlock, n as SessionEvent, a5 as TodoItem, a6 as ConversationState } from './context-CDRyrkKQ.js';
3
+ import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-CzfRA6Vk.js';
4
4
  import { b as MemoryStore, a as MemoryScope } from './memory-CEXuo7sz.js';
5
5
  import { W as WstackPaths } from './wstack-paths-86YPFktR.js';
6
- import { c as ConfigStore, a as Config, b as ConfigLoader } from './config-BgM0BIpz.js';
6
+ import { c as ConfigStore, a as Config, b as ConfigLoader } from './config-BGGuP_Ar.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-qnDZbrtb.js';
1
+ import { E as EventBus } from './events-DPQKFX7W.js';
2
2
  import { L as Logger } from './logger-BMQgxvdy.js';
3
3
  import { T as Tracer } from './observability-BhnVLBLS.js';
4
- import { g as Provider, R as Request, a2 as Context, j as Response } from './context-CLZXPPYk.js';
5
- import { R as RetryPolicy } from './retry-policy-LLUxJmYY.js';
4
+ import { g as Provider, R as Request, a2 as Context, j as Response } from './context-CDRyrkKQ.js';
5
+ import { R as RetryPolicy } from './retry-policy-LKS8MHsB.js';
6
6
 
7
7
  /**
8
8
  * Options passed to a ProviderRunner when calling the provider.
@@ -1,4 +1,4 @@
1
- import { j as Response, a2 as Context, h as ProviderError } from './context-CLZXPPYk.js';
1
+ import { j as Response, a2 as Context, h as ProviderError } from './context-CDRyrkKQ.js';
2
2
 
3
3
  type RecoveryDecision = {
4
4
  /**
@@ -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-BITvWt4t.js';
2
- import { E as EventBus } from '../events-qnDZbrtb.js';
3
- import { D as DoneCondition } from '../multi-agent-Cv8wk47i.js';
4
- import '../context-CLZXPPYk.js';
2
+ import { E as EventBus } from '../events-DPQKFX7W.js';
3
+ import { D as DoneCondition } from '../multi-agent-Cpp7FXUl.js';
4
+ import '../context-CDRyrkKQ.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-BhJTNr9v.js';
2
+ import { S as SecretScrubber } from './secret-scrubber-CfMdAJ_l.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 { v as Tool, a2 as Context, P as Permission } from './context-CLZXPPYk.js';
1
+ import { v as Tool, a2 as Context, P as Permission } from './context-CDRyrkKQ.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-Z_VXuXQT.js';
2
- import { v as Tool, a2 as Context } from '../context-CLZXPPYk.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-BzQR5BiL.js';
2
+ import { v as Tool, a2 as Context } from '../context-CDRyrkKQ.js';
3
3
  import { I as InputReader } from '../input-reader-E-ffP2ee.js';
4
- import { a as PermissionPolicy, P as PermissionDecision } from '../secret-scrubber-BhJTNr9v.js';
4
+ import { a as PermissionPolicy, P as PermissionDecision } from '../secret-scrubber-CfMdAJ_l.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-CLZXPPYk.js';
1
+ import { M as Message } from './context-CDRyrkKQ.js';
2
2
 
3
3
  /**
4
4
  * Result of LLM-driven message importance analysis.
@@ -1,4 +1,4 @@
1
- import { b as ContentBlock, n as SessionEvent, o as SessionMetadata, p as SessionStore } from './context-CLZXPPYk.js';
1
+ import { b as ContentBlock, n as SessionEvent, o as SessionMetadata, p as SessionStore } from './context-CDRyrkKQ.js';
2
2
 
3
3
  type AttachmentKind = 'text' | 'image' | 'file';
4
4
  interface AttachmentMeta {
@@ -1,12 +1,12 @@
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-DaxTCPfk.js';
2
- export { D as DefaultSessionReader } from '../session-reader-4jxsYLZ8.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-Bveo2W8n.js';
2
+ export { D as DefaultSessionReader } from '../session-reader-CzfRA6Vk.js';
3
3
  import { S as SessionRewinder, C as CheckpointInfo, a as RewindResultExtended } from '../session-rewinder-C9HnMkhP.js';
4
4
  export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BmYi3DGA.js';
5
- import '../events-qnDZbrtb.js';
6
- import '../context-CLZXPPYk.js';
5
+ import '../events-DPQKFX7W.js';
6
+ import '../context-CDRyrkKQ.js';
7
7
  import '../memory-CEXuo7sz.js';
8
8
  import '../wstack-paths-86YPFktR.js';
9
- import '../config-BgM0BIpz.js';
9
+ import '../config-BGGuP_Ar.js';
10
10
  import '../models-registry-Y2xbog0E.js';
11
11
  import '../secret-vault-DoISxaKO.js';
12
12
 
@@ -1,4 +1,4 @@
1
- import { T as TextBlock, b as ContentBlock, v as Tool } from './context-CLZXPPYk.js';
1
+ import { T as TextBlock, b as ContentBlock, v as Tool } from './context-CDRyrkKQ.js';
2
2
 
3
3
  /**
4
4
  * Container — dependency injection with explicit bind / override / decorate.
@@ -1,8 +1,8 @@
1
- import { a2 as Context, h as ProviderError, v as Tool, G as ToolUseBlock, B as ToolResultBlock } from './context-CLZXPPYk.js';
2
- import { a as Compactor, C as CompactReport } from './compactor-BWhJXxsW.js';
3
- import { a as RecoveryDecision, E as ErrorHandler, R as RetryPolicy } from './retry-policy-LLUxJmYY.js';
1
+ import { a2 as Context, h as ProviderError, v as Tool, G as ToolUseBlock, B as ToolResultBlock } from './context-CDRyrkKQ.js';
2
+ import { a as Compactor, C as CompactReport } from './compactor-RIPuTtWK.js';
3
+ import { a as RecoveryDecision, E as ErrorHandler, R as RetryPolicy } from './retry-policy-LKS8MHsB.js';
4
4
  import { M as ModelsRegistry } from './models-registry-Y2xbog0E.js';
5
- import { k as ToolExecutorOptions, l as ToolExecutorStrategy, m as ToolBatchResult } from './index-DPLJw_ZI.js';
5
+ import { k as ToolExecutorOptions, l as ToolExecutorStrategy, m as ToolBatchResult } from './index-j2WyAyML.js';
6
6
 
7
7
  interface CompactorOptions {
8
8
  preserveK?: number;
@@ -1,28 +1,28 @@
1
- export { A as AgentError, C as Capabilities, a as ConfigError, b as ContentBlock, 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, g as Provider, h as ProviderError, i as ProviderErrorBody, R as Request, j as Response, k as ResumedSession, l as RiskTier, S as SessionData, m as SessionError, n as SessionEvent, o as SessionMetadata, p as SessionStore, q as SessionSummary, r as SessionWriter, s as StopReason, t as StreamEvent, T as TextBlock, u as ThinkingBlock, v as Tool, 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, 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 } from '../context-CLZXPPYk.js';
2
- export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-3SHqk9zB.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-BgM0BIpz.js';
4
- export { C as CompactReport, a as Compactor } from '../compactor-BWhJXxsW.js';
5
- export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../secret-scrubber-BhJTNr9v.js';
1
+ export { A as AgentError, C as Capabilities, a as ConfigError, b as ContentBlock, 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, g as Provider, h as ProviderError, i as ProviderErrorBody, R as Request, j as Response, k as ResumedSession, l as RiskTier, S as SessionData, m as SessionError, n as SessionEvent, o as SessionMetadata, p as SessionStore, q as SessionSummary, r as SessionWriter, s as StopReason, t as StreamEvent, T as TextBlock, u as ThinkingBlock, v as Tool, 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, 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 } from '../context-CDRyrkKQ.js';
2
+ export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-hl4Il3xS.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-BGGuP_Ar.js';
4
+ export { C as CompactReport, a as Compactor } from '../compactor-RIPuTtWK.js';
5
+ export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../secret-scrubber-CfMdAJ_l.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-4jxsYLZ8.js';
8
- 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-Z_VXuXQT.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-CzfRA6Vk.js';
8
+ 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';
9
9
  export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-BH6AE0W9.js';
10
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-DiCUvEg6.js';
10
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver--g_hKJ7V.js';
11
11
  export { M as MemoryEntry, a as MemoryScope, b as MemoryStore } from '../memory-CEXuo7sz.js';
12
- 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-DSvmOBe6.js';
12
+ 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-DbAFkHdP.js';
13
13
  export { S as SkillEntry, a as SkillLoader, b as SkillManifest } from '../skill-CxuWrsKK.js';
14
- export { B as BuildContext, M as ModelCapabilities, R as Renderer, S as SystemPromptBuilder } from '../system-prompt-DI4Dtc1I.js';
14
+ export { B as BuildContext, M as ModelCapabilities, R as Renderer, S as SystemPromptBuilder } from '../system-prompt-Dl2QY1_B.js';
15
15
  export { I as InputReader, P as PromptOption } from '../input-reader-E-ffP2ee.js';
16
- 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-DPLJw_ZI.js';
16
+ 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-j2WyAyML.js';
17
17
  export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-DqzwpBQy.js';
18
18
  export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest, c as ModeStore } from '../mode-CV077NjV.js';
19
- export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-B07AYFBk.js';
20
- 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-Cv8wk47i.js';
19
+ export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-BKNiE1VH.js';
20
+ 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-Cpp7FXUl.js';
21
21
  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';
22
22
  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';
23
- import '../events-qnDZbrtb.js';
23
+ import '../events-DPQKFX7W.js';
24
24
  import '../logger-BMQgxvdy.js';
25
- import '../retry-policy-LLUxJmYY.js';
25
+ import '../retry-policy-LKS8MHsB.js';
26
26
  import '../models-registry-Y2xbog0E.js';
27
27
  import '../secret-vault-DoISxaKO.js';
28
28
  import '../path-resolver-CPRj4bFY.js';
@@ -1,4 +1,4 @@
1
- import { a5 as TodoItem, M as Message, J as JSONSchema } from '../context-CLZXPPYk.js';
1
+ import { a5 as TodoItem, M as Message, J as JSONSchema } from '../context-CDRyrkKQ.js';
2
2
  export { a as WstackPathOptions, W as WstackPaths, p as projectHash, r as resolveWstackPaths } from '../wstack-paths-86YPFktR.js';
3
3
 
4
4
  interface AtomicWriteOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/core",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack core: kernel, types, defaults, and shared utilities for the WrongStack CLI agent.",
6
6
  "repository": {