@wrongstack/core 0.9.0 → 0.9.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 (55) hide show
  1. package/dist/{agent-bridge-Bad3ZGQ7.d.ts → agent-bridge-DMVOX0cF.d.ts} +1 -1
  2. package/dist/{agent-subagent-runner-Cc8sRJOF.d.ts → agent-subagent-runner-DaF_EgRG.d.ts} +3 -3
  3. package/dist/{compactor-Mw7-rNyb.d.ts → compactor-DVTKL7XD.d.ts} +1 -1
  4. package/dist/{config-Bi4Q0fnz.d.ts → config-SkMIDN9L.d.ts} +22 -2
  5. package/dist/{context-z2x5gv_V.d.ts → context-BRNbHmRM.d.ts} +6 -0
  6. package/dist/coordination/index.d.ts +12 -12
  7. package/dist/coordination/index.js +58 -37
  8. package/dist/coordination/index.js.map +1 -1
  9. package/dist/{default-config-DvRSTELf.d.ts → default-config-Uzla85H-.d.ts} +5 -1
  10. package/dist/defaults/index.d.ts +23 -23
  11. package/dist/defaults/index.js +102 -72
  12. package/dist/defaults/index.js.map +1 -1
  13. package/dist/{events-yCpJD4wa.d.ts → events-CiG9qUM_.d.ts} +1 -1
  14. package/dist/execution/index.d.ts +14 -14
  15. package/dist/execution/index.js.map +1 -1
  16. package/dist/extension/index.d.ts +6 -6
  17. package/dist/{index-Dl3PaD7f.d.ts → index-Bsha5K4D.d.ts} +8 -8
  18. package/dist/{index-SxpnwRlJ.d.ts → index-CP8638Wm.d.ts} +5 -5
  19. package/dist/index.d.ts +148 -39
  20. package/dist/index.js +1545 -98
  21. package/dist/index.js.map +1 -1
  22. package/dist/infrastructure/index.d.ts +6 -6
  23. package/dist/kernel/index.d.ts +9 -9
  24. package/dist/{mcp-servers-n2L9ohMX.d.ts → mcp-servers-BouUWYW6.d.ts} +3 -3
  25. package/dist/models/index.d.ts +2 -2
  26. package/dist/{multi-agent-C8uY45AY.d.ts → multi-agent-3ZnTB1aT.d.ts} +2 -2
  27. package/dist/{multi-agent-coordinator-C7YbZUY8.d.ts → multi-agent-coordinator-DTXF2aAl.d.ts} +2 -2
  28. package/dist/{null-fleet-bus-Bb2jVLKr.d.ts → null-fleet-bus-Chrc_3Pp.d.ts} +6 -6
  29. package/dist/observability/index.d.ts +2 -2
  30. package/dist/{path-resolver-DnC1nOjb.d.ts → path-resolver-TcJfc29Y.d.ts} +2 -2
  31. package/dist/{permission-policy-BBa1M1xc.d.ts → permission-policy-BpCGYBud.d.ts} +2 -2
  32. package/dist/{plan-templates-Cc-04Z8o.d.ts → plan-templates-envSmNlZ.d.ts} +10 -5
  33. package/dist/{provider-runner-C4ouU7--.d.ts → provider-runner-BEpikbbN.d.ts} +3 -3
  34. package/dist/{retry-policy-OwtKNxo8.d.ts → retry-policy-BYkq0ugs.d.ts} +1 -1
  35. package/dist/sdd/index.d.ts +8 -8
  36. package/dist/{secret-scrubber-CyE1-EMG.d.ts → secret-scrubber-DttNiGYA.d.ts} +1 -1
  37. package/dist/{secret-scrubber-C0n1EqrC.d.ts → secret-scrubber-QSeI0ADi.d.ts} +1 -1
  38. package/dist/security/index.d.ts +4 -4
  39. package/dist/security/index.js +5 -2
  40. package/dist/security/index.js.map +1 -1
  41. package/dist/{selector-DkvgYVS4.d.ts → selector-pox8abg0.d.ts} +1 -1
  42. package/dist/{session-reader-DsadjyF9.d.ts → session-reader-CSWcb5Ga.d.ts} +1 -1
  43. package/dist/storage/index.d.ts +77 -8
  44. package/dist/storage/index.js +433 -62
  45. package/dist/storage/index.js.map +1 -1
  46. package/dist/{system-prompt-CWA6ml-d.d.ts → system-prompt-Bs-Wliab.d.ts} +1 -1
  47. package/dist/{tool-executor-Ch25BDwa.d.ts → tool-executor-CsktM3h9.d.ts} +4 -4
  48. package/dist/types/index.d.ts +16 -16
  49. package/dist/types/index.js +8 -2
  50. package/dist/types/index.js.map +1 -1
  51. package/dist/utils/index.d.ts +2 -2
  52. package/dist/utils/index.js +3 -1
  53. package/dist/utils/index.js.map +1 -1
  54. package/dist/{wstack-paths-CJYrjQU8.d.ts → wstack-paths-BCgmTNlG.d.ts} +4 -0
  55. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, d as AgentExtension, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, s as ProviderRunnerFn, t as ProviderRunnerWrapper } from '../index-SxpnwRlJ.js';
2
- import '../context-z2x5gv_V.js';
1
+ export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, d as AgentExtension, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, s as ProviderRunnerFn, t as ProviderRunnerWrapper } from '../index-CP8638Wm.js';
2
+ import '../context-BRNbHmRM.js';
3
3
  import '../logger-DDd5C--Z.js';
4
- import '../system-prompt-CWA6ml-d.js';
4
+ import '../system-prompt-Bs-Wliab.js';
5
5
  import '../observability-BhnVLBLS.js';
6
- import '../events-yCpJD4wa.js';
7
- import '../secret-scrubber-CyE1-EMG.js';
8
- import '../config-Bi4Q0fnz.js';
6
+ import '../events-CiG9qUM_.js';
7
+ import '../secret-scrubber-DttNiGYA.js';
8
+ import '../config-SkMIDN9L.js';
9
9
  import '../models-registry-BcYJDKLm.js';
@@ -1,17 +1,17 @@
1
- import { T as Token, e as Renderer, S as SystemPromptBuilder } from './system-prompt-CWA6ml-d.js';
2
- import { E as EventBus } from './events-yCpJD4wa.js';
3
- import { a as Compactor } from './compactor-Mw7-rNyb.js';
4
- import { b as ConfigLoader, c as ConfigStore } from './config-Bi4Q0fnz.js';
5
- import { E as ErrorHandler, a as RetryPolicy } from './retry-policy-OwtKNxo8.js';
1
+ import { T as Token, e as Renderer, S as SystemPromptBuilder } from './system-prompt-Bs-Wliab.js';
2
+ import { E as EventBus } from './events-CiG9qUM_.js';
3
+ import { a as Compactor } from './compactor-DVTKL7XD.js';
4
+ import { b as ConfigLoader, c as ConfigStore } from './config-SkMIDN9L.js';
5
+ import { E as ErrorHandler, a as RetryPolicy } from './retry-policy-BYkq0ugs.js';
6
6
  import { I as InputReader } from './input-reader-E-ffP2ee.js';
7
7
  import { a as Logger } from './logger-DDd5C--Z.js';
8
8
  import { b as MemoryStore } from './memory-CEXuo7sz.js';
9
9
  import { c as ModeStore } from './mode-CV077NjV.js';
10
10
  import { b as ModelsRegistry } from './models-registry-BcYJDKLm.js';
11
11
  import { P as PathResolver } from './path-resolver-CPRj4bFY.js';
12
- import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-CyE1-EMG.js';
13
- import { P as ProviderRunner } from './provider-runner-C4ouU7--.js';
14
- import { O as TokenCounter, y as SessionStore } from './context-z2x5gv_V.js';
12
+ import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-DttNiGYA.js';
13
+ import { P as ProviderRunner } from './provider-runner-BEpikbbN.js';
14
+ import { O as TokenCounter, y as SessionStore } from './context-BRNbHmRM.js';
15
15
  import { a as SkillLoader } from './skill-CxuWrsKK.js';
16
16
 
17
17
  /**
@@ -1,10 +1,10 @@
1
- import { Q as Tool, Y as ToolResultBlock, _ as ToolUseBlock, d as Context, T as TextBlock, p as Request, q as Response, m as Provider, a0 as WrongStackError, c as ContentBlock, u as RunOptions, J as JSONSchema } from './context-z2x5gv_V.js';
1
+ import { Q as Tool, Y as ToolResultBlock, _ as ToolUseBlock, d as Context, T as TextBlock, p as Request, q as Response, m as Provider, a0 as WrongStackError, c as ContentBlock, u as RunOptions, J as JSONSchema } from './context-BRNbHmRM.js';
2
2
  import { a as Logger } from './logger-DDd5C--Z.js';
3
- import { e as Renderer, a as BuildContext, C as Container, P as Pipeline, R as ReadonlyPipeline } from './system-prompt-CWA6ml-d.js';
3
+ import { e as Renderer, a as BuildContext, C as Container, P as Pipeline, R as ReadonlyPipeline } from './system-prompt-Bs-Wliab.js';
4
4
  import { T as Tracer } from './observability-BhnVLBLS.js';
5
- import { E as EventBus, c as EventName, L as Listener } from './events-yCpJD4wa.js';
6
- import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-CyE1-EMG.js';
7
- import { l as ProviderConfig, a as Config } from './config-Bi4Q0fnz.js';
5
+ import { E as EventBus, c as EventName, L as Listener } from './events-CiG9qUM_.js';
6
+ import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-DttNiGYA.js';
7
+ import { l as ProviderConfig, a as Config } from './config-SkMIDN9L.js';
8
8
  import { W as WireFamily } from './models-registry-BcYJDKLm.js';
9
9
 
10
10
  /**
package/dist/index.d.ts CHANGED
@@ -1,64 +1,67 @@
1
- import { S as SystemPromptBuilder, c as ModelCapabilities, a as BuildContext, C as Container } from './system-prompt-CWA6ml-d.js';
2
- export { B as BindOptions, D as Decorator, F as Factory, M as Middleware, b as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, e as Renderer, T as Token } from './system-prompt-CWA6ml-d.js';
3
- import { E as EventBus, c as EventName, L as Listener } from './events-yCpJD4wa.js';
4
- export { a as EventLogger, b as EventMap, S as ScopedEventBus } from './events-yCpJD4wa.js';
5
- import { d as WorktreeManager } from './index-Dl3PaD7f.js';
6
- export { A as AllocateOpts, M as MergeOpts, a as MergeResult, R as RunController, b as RunControllerOptions, T as TOKENS, W as WorktreeHandle, e as WorktreeManagerOptions, c as WorktreeRunResult, f as WorktreeStatus, g as assertSafePath } from './index-Dl3PaD7f.js';
7
- import { d as Context, m as Provider, Q as Tool, c as ContentBlock, T as TextBlock } from './context-z2x5gv_V.js';
8
- export { A as AgentError, a as Capabilities, b as ConfigError, e as ContextInit, f as ConversationState, 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, n as ProviderError, o as ProviderErrorBody, R as ReadonlyConversationState, p as Request, q as Response, r as ResumedSession, s as RiskTier, t as RunEnv, u as RunOptions, S as SessionData, v as SessionError, w as SessionEvent, x as SessionMetadata, y as SessionStore, z as SessionSummary, B as SessionWriter, D as StateChange, G as StateChangeHandler, H as StopReason, K as StreamEvent, L as ThinkingBlock, N as TodoItem, O as TokenCounter, 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, a3 as extractRunEnv, 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, ah as wrapAsState } from './context-z2x5gv_V.js';
9
- export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-C4ouU7--.js';
10
- import { M as MCPServerConfig, a as Config } from './config-Bi4Q0fnz.js';
11
- 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-Bi4Q0fnz.js';
12
- export { C as CompactReport, a as Compactor } from './compactor-Mw7-rNyb.js';
13
- export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-CyE1-EMG.js';
1
+ import { S as SystemPromptBuilder, c as ModelCapabilities, a as BuildContext, C as Container } from './system-prompt-Bs-Wliab.js';
2
+ export { B as BindOptions, D as Decorator, F as Factory, M as Middleware, b as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, e as Renderer, T as Token } from './system-prompt-Bs-Wliab.js';
3
+ import { E as EventBus, c as EventName, L as Listener } from './events-CiG9qUM_.js';
4
+ export { a as EventLogger, b as EventMap, S as ScopedEventBus } from './events-CiG9qUM_.js';
5
+ import { d as WorktreeManager } from './index-Bsha5K4D.js';
6
+ export { A as AllocateOpts, M as MergeOpts, a as MergeResult, R as RunController, b as RunControllerOptions, T as TOKENS, W as WorktreeHandle, e as WorktreeManagerOptions, c as WorktreeRunResult, f as WorktreeStatus, g as assertSafePath } from './index-Bsha5K4D.js';
7
+ import { d as Context, m as Provider, Q as Tool, c as ContentBlock, T as TextBlock } from './context-BRNbHmRM.js';
8
+ export { A as AgentError, a as Capabilities, b as ConfigError, e as ContextInit, f as ConversationState, 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, n as ProviderError, o as ProviderErrorBody, R as ReadonlyConversationState, p as Request, q as Response, r as ResumedSession, s as RiskTier, t as RunEnv, u as RunOptions, S as SessionData, v as SessionError, w as SessionEvent, x as SessionMetadata, y as SessionStore, z as SessionSummary, B as SessionWriter, D as StateChange, G as StateChangeHandler, H as StopReason, K as StreamEvent, L as ThinkingBlock, N as TodoItem, O as TokenCounter, 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, a3 as extractRunEnv, 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, ah as wrapAsState } from './context-BRNbHmRM.js';
9
+ export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-BEpikbbN.js';
10
+ import { M as MCPServerConfig, a as Config, c as ConfigStore } from './config-SkMIDN9L.js';
11
+ export { A as AutonomyConfig, C as CONTEXT_WINDOW_MODES, b as ConfigLoader, 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, S as SyncCategory, m as SyncConfig, T as ToolsConfig, n as formatContextWindowModeList, o as getContextWindowMode, p as isContextWindowModeId, q as listContextWindowModes, r as resolveContextWindowPolicy } from './config-SkMIDN9L.js';
12
+ export { C as CompactReport, a as Compactor } from './compactor-DVTKL7XD.js';
13
+ export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-DttNiGYA.js';
14
14
  export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
15
- import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-DsadjyF9.js';
16
- export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-DsadjyF9.js';
17
- export { D as DEFAULT_CONTEXT_CONFIG, a as DEFAULT_TOOLS_CONFIG } from './default-config-DvRSTELf.js';
18
- 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-C0n1EqrC.js';
15
+ import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-CSWcb5Ga.js';
16
+ export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-CSWcb5Ga.js';
17
+ export { D as DEFAULT_AUTONOMY_CONFIG, a as DEFAULT_CONTEXT_CONFIG, b as DEFAULT_TOOLS_CONFIG } from './default-config-Uzla85H-.js';
18
+ 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-QSeI0ADi.js';
19
19
  export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-bOzkF5LL.js';
20
- export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-DnC1nOjb.js';
20
+ export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-TcJfc29Y.js';
21
21
  import { b as MemoryStore } from './memory-CEXuo7sz.js';
22
22
  export { M as MemoryEntry, a as MemoryScope } from './memory-CEXuo7sz.js';
23
- 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-Ch25BDwa.js';
23
+ 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-CsktM3h9.js';
24
24
  import { a as SkillLoader } from './skill-CxuWrsKK.js';
25
25
  export { S as SkillEntry, b as SkillManifest } from './skill-CxuWrsKK.js';
26
26
  export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
27
- import { u as SlashCommand, w as SystemPromptContributor, k as PluginAPI, n as PluginPipelines, C as ToolRegistryView, r as ProviderRegistryView, M as MCPRegistryView, v as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, j as MetricsSinkView, z as ToolRegistry, q as ProviderRegistry, P as Plugin } from './index-SxpnwRlJ.js';
28
- export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, c as Agent, d as AgentExtension, e as AgentInit, f as AgentInput, g as AgentPipelines, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, l as PluginCapabilities, m as PluginDependency, p as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, F as ToolWrapper, U as UserInputPayload, G as createDefaultPipelines } from './index-SxpnwRlJ.js';
27
+ import { u as SlashCommand, w as SystemPromptContributor, k as PluginAPI, n as PluginPipelines, C as ToolRegistryView, r as ProviderRegistryView, M as MCPRegistryView, v as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, j as MetricsSinkView, z as ToolRegistry, q as ProviderRegistry, P as Plugin } from './index-CP8638Wm.js';
28
+ export { A as AfterIterationHook, a as AfterRunHook, b as AfterToolExecutionHook, c as Agent, d as AgentExtension, e as AgentInit, f as AgentInput, g as AgentPipelines, B as BeforeIterationHook, h as BeforeRunHook, i as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, l as PluginCapabilities, m as PluginDependency, p as ProviderFactory, t as ProviderRunnerWrapper, R as RunResult, F as ToolWrapper, U as UserInputPayload, G as createDefaultPipelines } from './index-CP8638Wm.js';
29
29
  export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-OG_30xqZ.js';
30
30
  import { c as ModeStore } from './mode-CV077NjV.js';
31
31
  export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest } from './mode-CV077NjV.js';
32
- export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-Bad3ZGQ7.js';
33
- export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, j as BudgetUsage, C as CoordinatorEvents, k as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, l as MultiAgentCoordinator, S as SpawnResult, m as SubagentBudget, n as SubagentConfig, o as SubagentContext, p as SubagentError, q as SubagentErrorKind, r as SubagentRunContext, s as SubagentRunOutcome, t as SubagentRunner, T as TaskDelegation, u as TaskResult, v as TaskSpec } from './multi-agent-C8uY45AY.js';
32
+ export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-DMVOX0cF.js';
33
+ export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, j as BudgetUsage, C as CoordinatorEvents, k as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, l as MultiAgentCoordinator, S as SpawnResult, m as SubagentBudget, n as SubagentConfig, o as SubagentContext, p as SubagentError, q as SubagentErrorKind, r as SubagentRunContext, s as SubagentRunOutcome, t as SubagentRunner, T as TaskDelegation, u as TaskResult, v as TaskSpec } from './multi-agent-3ZnTB1aT.js';
34
34
  import { l as TaskGraph, r as TaskType, n as TaskPriority, m as TaskNode } from './task-graph-D1YQbpxF.js';
35
35
  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, o as TaskProgress, p as TaskSort, q as TaskStatus, s as computeTaskProgress, t as findCriticalPath, u as topologicalSort } from './task-graph-D1YQbpxF.js';
36
- 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';
36
+ import { e as MetricsSink, b as HealthRegistry } from './observability-BhnVLBLS.js';
37
+ export { A as AggregateHealth, H as HealthCheck, a as HealthCheckResult, c as HealthStatus, M as MetricLabels, d as MetricSeries, f as MetricsSnapshot, S as Span, T as Tracer } from './observability-BhnVLBLS.js';
37
38
  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';
38
- export { W as WstackPathOptions, a as WstackPaths, p as projectHash, r as resolveWstackPaths } from './wstack-paths-CJYrjQU8.js';
39
- 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-Cc-04Z8o.js';
39
+ import { a as WstackPaths } from './wstack-paths-BCgmTNlG.js';
40
+ export { W as WstackPathOptions, p as projectHash, r as resolveWstackPaths } from './wstack-paths-BCgmTNlG.js';
41
+ 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-envSmNlZ.js';
40
42
  export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BmYi3DGA.js';
41
- export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-BBa1M1xc.js';
43
+ export { A as AutoApprovePermissionPolicy, D as DefaultPermissionPolicy, P as PermissionPolicyOptions } from './permission-policy-BpCGYBud.js';
42
44
  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';
43
45
  export { DefaultProviderRunner } from './defaults/index.js';
44
- export { a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, q as FleetManager, r as FleetManagerOptions, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, v as SubagentPromptParts, w as applyRosterBudget, x as attachAutoExtend, y as composeDirectorPrompt, z as composeSubagentPrompt, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from './null-fleet-bus-Bb2jVLKr.js';
45
- export { A as AgentBudgetTier, a as AgentCapability, b as AgentDefinition, c as AgentPhase, D as DEFAULT_DISPATCH_ROLE, d as DefaultMultiAgentCoordinator, e as DispatchCandidate, f as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-C7YbZUY8.js';
46
- 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-Cc8sRJOF.js';
46
+ export { a as AGENTS_BY_PHASE, b as AGENT_CATALOG, c as ALL_AGENT_DEFINITIONS, d as ALL_FLEET_AGENTS, e as AUDIT_LOG_AGENT, f as AutoExtendCeiling, g as AutoExtendPolicy, B as BUG_HUNTER_AGENT, C as CreateDelegateToolOptions, D as DEFAULT_DIRECTOR_PREAMBLE, h as DEFAULT_SUBAGENT_BASELINE, i as DelegateHost, j as Director, k as DirectorPromptParts, l as DirectorSessionFactory, m as DirectorSessionFactoryOptions, F as FLEET_ROSTER, n as FLEET_ROSTER_BUDGETS, q as FleetManager, r as FleetManagerOptions, s as FleetRosterBudget, t as FleetSpawnBudgetError, I as ICoordinator, u as IFleetManager, N as NULL_FLEET_BUS, R as REFACTOR_PLANNER_AGENT, S as SECURITY_SCANNER_AGENT, v as SubagentPromptParts, w as applyRosterBudget, x as attachAutoExtend, y as composeDirectorPrompt, z as composeSubagentPrompt, E as createDelegateTool, G as getAgentDefinition, H as makeDirectorSessionFactory, J as rosterSummaryFromConfigs } from './null-fleet-bus-Chrc_3Pp.js';
47
+ export { A as AgentBudgetTier, a as AgentCapability, b as AgentDefinition, c as AgentPhase, D as DEFAULT_DISPATCH_ROLE, d as DefaultMultiAgentCoordinator, e as DispatchCandidate, f as DispatchClassifier, g as DispatchMethod, h as DispatchOptions, i as DispatchResult, j as MultiAgentCoordinatorOptions, k as dispatchAgent, m as makeLLMClassifier, s as scoreAgents } from './multi-agent-coordinator-DTXF2aAl.js';
48
+ 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-DaF_EgRG.js';
47
49
  export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
48
50
  import { TaskStore } from './sdd/index.js';
49
51
  export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, SPEC_TEMPLATES, SddParallelRun, SddParallelRunOptions, SddProgress, SddTaskDecomposer, SddTaskDecomposerOptions, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, TaskBatch, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskTracker, TaskTrackerOptions, TaskTransition, WaveResult, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from './sdd/index.js';
50
52
  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';
51
- 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';
53
+ 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-BouUWYW6.js';
52
54
  export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
53
- export { DefaultSessionRewinder, SessionRewinderOptions } from './storage/index.js';
55
+ import { DefaultPromptStore } from './storage/index.js';
56
+ export { ALL_SYNC_CATEGORIES, CloudSync, DefaultSessionRewinder, PromptEntry, PromptStore, SessionRewinderOptions, SyncResult } from './storage/index.js';
54
57
  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-C7jcumEh.js';
55
- import { a as RetryPolicy, E as ErrorHandler } from './retry-policy-OwtKNxo8.js';
58
+ import { a as RetryPolicy, E as ErrorHandler } from './retry-policy-BYkq0ugs.js';
56
59
  import { a as Logger } from './logger-DDd5C--Z.js';
57
60
  export { L as LogLevel } from './logger-DDd5C--Z.js';
58
61
  export { M as ModelsDevPayload, a as ModelsDevProvider, b as ModelsRegistry, R as ResolvedModel, c as ResolvedProvider, W as WireFamily } from './models-registry-BcYJDKLm.js';
59
62
  export { S as SecretVault } from './secret-vault-DoISxaKO.js';
60
63
  import './path-resolver-CPRj4bFY.js';
61
- import './selector-DkvgYVS4.js';
64
+ import './selector-pox8abg0.js';
62
65
  import 'node:events';
63
66
 
64
67
  /**
@@ -655,11 +658,27 @@ declare class DefaultSystemPromptBuilder implements SystemPromptBuilder {
655
658
  declare class SlashCommandRegistry {
656
659
  private readonly cmds;
657
660
  /**
658
- * Register a command. For plugins the `owner` is the plugin name and the
659
- * registry auto-prefixes the command name as `owner:name` to prevent
660
- * collisions with built-in commands and other plugins.
661
+ * Register a command.
662
+ *
663
+ * Trust tiers, by `owner` and `opts.official`:
664
+ *
665
+ * - **Built-ins** (`owner === 'core'`) and **official plugins**
666
+ * (`opts.official === true`, set by the host only for first-party plugins
667
+ * loaded from the built-in factory list) claim the **bare** command name
668
+ * (`/prompts`). They may override one another — last write wins — so an
669
+ * official plugin can replace a built-in. Official plugins are *also*
670
+ * reachable under their `owner:name` namespace.
671
+ * - **External plugins** (any other `owner`) are isolated under the
672
+ * `owner:name` namespace: invocable only as `/owner:cmd`, never by bare
673
+ * name, and unable to shadow or override a built-in or official command.
674
+ *
675
+ * Officiality is supplied by the host based on the plugin's load source, not
676
+ * self-declared by the plugin — an external plugin cannot name itself into
677
+ * the official tier.
661
678
  */
662
- register(cmd: SlashCommand, owner?: string): void;
679
+ register(cmd: SlashCommand, owner?: string, opts?: {
680
+ official?: boolean;
681
+ }): void;
663
682
  unregister(name: string): boolean;
664
683
  /**
665
684
  * Bulk-register multiple slash commands at once.
@@ -726,6 +745,14 @@ interface PluginAPIInit {
726
745
  watch(cb: (next: unknown, prev: unknown) => void): () => void;
727
746
  };
728
747
  log: Logger;
748
+ /**
749
+ * Whether this plugin is first-party ("official"). Set by the host based on
750
+ * the plugin's load source (e.g. shipped in the built-in factory list), NOT
751
+ * self-declared by the plugin. Official plugins may register bare slash
752
+ * command names and override built-ins; external plugins are namespaced.
753
+ * Defaults to false.
754
+ */
755
+ official?: boolean;
729
756
  }
730
757
  declare class DefaultPluginAPI implements PluginAPI {
731
758
  readonly container: Container;
@@ -1333,4 +1360,86 @@ declare class CheckpointManager {
1333
1360
  private pruneCheckpoints;
1334
1361
  }
1335
1362
 
1336
- export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, Config, Container, ContentBlock, Context, type ContinueDirective, DefaultPluginAPI, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, EventBus, EventName, ExtensionRegistry, type Finding, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, KERNEL_API_VERSION, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, type MCPRegistryHandle, MCPRegistryView, MCPServerConfig, MemoryStore, MetricsSinkView, ModeStore, ModelCapabilities, type PackageManager, type PhaseEventMap, type PhaseEventName, type PhaseExecutionContext, type PhaseFilter, type PhaseGraph, PhaseGraphBuilder, type PhaseGraphBuilderOptions, type PhaseNode, PhaseOrchestrator, type PhaseOrchestratorOptions, type PhaseProgress, type PhaseSort, type PhaseStatus, PhaseStore, type PhaseStoreOptions, type PhaseTemplate, Plugin, PluginAPI, type PluginAPIInit, PluginPipelines, Provider, ProviderRegistry, ProviderRegistryView, ReportGenerator, type ReportOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SeverityLevel, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, TechStackDetector, type TechStackInfo, TextBlock, Tool, ToolRegistry, ToolRegistryView, WorktreeManager, buildBtwBlock, consumeBtwNotes, createAutoPhaseFromTaskGraph, createMcpControlTool, createSecuritySlashCommand, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, loadPlugins, makeContinueToNextIterationTool, parseContinueDirective, pendingBtwCount, securitySlashCommand, setBtwNote, unloadPlugins };
1363
+ interface PromptsPluginOptions {
1364
+ store?: DefaultPromptStore;
1365
+ paths?: WstackPaths;
1366
+ }
1367
+ /**
1368
+ * PromptsPlugin — built-in prompt library.
1369
+ *
1370
+ * Registers `/prompts` slash command so users can manage a personal
1371
+ * prompt library. Active by default for all WrongStack sessions.
1372
+ * No configuration required.
1373
+ */
1374
+ declare function createPromptsPlugin(opts?: PromptsPluginOptions): Plugin;
1375
+
1376
+ interface SyncPluginOptions {
1377
+ paths?: WstackPaths;
1378
+ configStore?: ConfigStore;
1379
+ }
1380
+ /**
1381
+ * SyncPlugin — GitHub-backed cloud sync for WrongStack user data.
1382
+ *
1383
+ * Registers `/sync` slash command. Users can push/pull their prompts,
1384
+ * skills, settings, memory, and history to a private GitHub repo.
1385
+ * Active by default; configure once with `/sync enable owner/repo TOKEN`.
1386
+ */
1387
+ declare function createSyncPlugin(opts?: SyncPluginOptions): Plugin;
1388
+
1389
+ /**
1390
+ * GitPlugin — built-in git helpers.
1391
+ *
1392
+ * Registers `/commit`, `/gitcheck` and `/push`. First-party ("official")
1393
+ * plugin, so the commands keep their bare names and `gc` / `gcstatus` aliases.
1394
+ * `/commit` generates an LLM commit message from the session provider when one
1395
+ * is available, falling back to diff heuristics. No configuration required.
1396
+ */
1397
+ declare function createGitPlugin(): Plugin;
1398
+
1399
+ interface ObservabilityPluginOptions {
1400
+ metricsSink?: MetricsSink;
1401
+ healthRegistry?: HealthRegistry;
1402
+ }
1403
+ /**
1404
+ * ObservabilityPlugin — runtime metrics + health checks.
1405
+ *
1406
+ * Registers `/metrics` and `/health`. First-party ("official") plugin, so the
1407
+ * commands keep their bare names. Both require the host to have started the
1408
+ * metrics subsystem (`--metrics`); without it they report that and no-op.
1409
+ */
1410
+ declare function createObservabilityPlugin(opts?: ObservabilityPluginOptions): Plugin;
1411
+
1412
+ /**
1413
+ * SecurityPlugin — automated security scanning.
1414
+ *
1415
+ * Registers `/security` (scan | audit | report). First-party ("official")
1416
+ * plugin, so the command keeps its bare name. Wraps the canonical
1417
+ * `createSecuritySlashCommand`, which reads the live provider off `ctx`.
1418
+ */
1419
+ declare function createSecurityPlugin(): Plugin;
1420
+
1421
+ interface SkillsPluginOptions {
1422
+ skillLoader?: SkillLoader;
1423
+ }
1424
+ /**
1425
+ * SkillsPlugin — skill library + installer.
1426
+ *
1427
+ * Registers `/skill`, `/skill-gen`, `/skill-install`, `/skill-update`,
1428
+ * `/skill-uninstall`. First-party ("official") plugin, so the commands keep
1429
+ * their bare names. Needs a `SkillLoader` (injected by the host via
1430
+ * `config.skillLoader`); without one the commands report that and no-op.
1431
+ */
1432
+ declare function createSkillsPlugin(opts?: SkillsPluginOptions): Plugin;
1433
+
1434
+ interface PlanPluginOptions {
1435
+ paths?: WstackPaths;
1436
+ }
1437
+ /**
1438
+ * PlanPlugin — strategic plan board (`/plan`), the higher-level counterpart to
1439
+ * `/todos`. First-party ("official") plugin, so the command keeps its bare
1440
+ * name. Plans persist to `<projectDir>/plan.json` (from the injected
1441
+ * `WstackPaths`); the live context is read off `ctx` at dispatch.
1442
+ */
1443
+ declare function createPlanPlugin(opts?: PlanPluginOptions): Plugin;
1444
+
1445
+ export { AddAttachmentInput, AttachmentRef, AttachmentStore, type AutoPhaseOptions, type AutoPhasePlanResult, AutoPhasePlanner, type AutoPhasePlannerOptions, AutoPhaseRunner, type AutoPhaseRunnerOptions, BuildContext, type Checkpoint, CheckpointManager, type CheckpointManagerOptions, Config, ConfigStore, Container, ContentBlock, Context, type ContinueDirective, DefaultPluginAPI, DefaultPromptStore, DefaultSystemPromptBuilder, type DefaultSystemPromptBuilderOptions, type DetectedDependency, type DetectionResult, EventBus, EventName, ExtensionRegistry, type Finding, type FullScanResult, type GeneratedSecuritySkill, type GeneratedSkill, type GeneratedSkillContent, GitignoreUpdater, HealthRegistry, InputBuilder, type InputBuilderEvent, type InputBuilderOptions, KERNEL_API_VERSION, LAYER_1_IDENTITY, Listener, type LoadPluginsOptions, Logger, type MCPRegistryHandle, MCPRegistryView, MCPServerConfig, MemoryStore, MetricsSink, MetricsSinkView, ModeStore, ModelCapabilities, type PackageManager, type PhaseEventMap, type PhaseEventName, type PhaseExecutionContext, type PhaseFilter, type PhaseGraph, PhaseGraphBuilder, type PhaseGraphBuilderOptions, type PhaseNode, PhaseOrchestrator, type PhaseOrchestratorOptions, type PhaseProgress, type PhaseSort, type PhaseStatus, PhaseStore, type PhaseStoreOptions, type PhaseTemplate, Plugin, PluginAPI, type PluginAPIInit, PluginPipelines, Provider, ProviderRegistry, ProviderRegistryView, ReportGenerator, type ReportOptions, type ScanOptions, type ScanResult, type ScanScope, type SecurityPattern, SecurityScanner, type SecurityScannerContext, type SecurityScannerOptions, SecurityScannerOrchestrator, SessionWriterView, type SeverityLevel, type SkillGenerationContext, SkillGenerator, type SkillGeneratorOptions, SkillLoader, SlashCommand, SlashCommandRegistry, SlashCommandRegistryView, SystemPromptBuilder, SystemPromptContributor, TaskGraph, TaskNode, TaskPriority, TaskStore, TaskType, type TechStack, TechStackDetector, type TechStackInfo, TextBlock, Tool, ToolRegistry, ToolRegistryView, WorktreeManager, WstackPaths, buildBtwBlock, consumeBtwNotes, createAutoPhaseFromTaskGraph, createGitPlugin, createMcpControlTool, createObservabilityPlugin, createPlanPlugin, createPromptsPlugin, createSecurityPlugin, createSecuritySlashCommand, createSkillsPlugin, createSyncPlugin, defaultGitignoreUpdater, defaultOrchestrator, defaultReportGenerator, defaultSecurityScanner, defaultSkillGenerator, defaultTechStackDetector, loadPlugins, makeContinueToNextIterationTool, parseContinueDirective, pendingBtwCount, securitySlashCommand, setBtwNote, unloadPlugins };