@wrongstack/core 0.7.0 → 0.7.2
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.
- package/dist/{agent-bridge-CrQpYjM7.d.ts → agent-bridge-Bji75Iv9.d.ts} +1 -1
- package/dist/{compactor-CWV1u-IU.d.ts → compactor-BFKGzKd5.d.ts} +1 -1
- package/dist/{config-C34JRwl4.d.ts → config-BXAhlqJb.d.ts} +1 -1
- package/dist/{context-bmR0YgBm.d.ts → context-BwxhvyW8.d.ts} +4 -0
- package/dist/coordination/index.d.ts +41 -11
- package/dist/coordination/index.js +2522 -33
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +20 -20
- package/dist/defaults/index.js +2783 -228
- package/dist/defaults/index.js.map +1 -1
- package/dist/{director-state-BmYi3DGA.d.ts → director-state-BUB7JRUr.d.ts} +1 -1
- package/dist/{events-CEKFTmIY.d.ts → events-AjrvHJ9V.d.ts} +25 -1
- package/dist/execution/index.d.ts +35 -12
- package/dist/execution/index.js +2406 -21
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +6 -6
- package/dist/{index-BJIFLGII.d.ts → index-B2WWETRP.d.ts} +6 -6
- package/dist/index.d.ts +35 -27
- package/dist/index.js +2810 -215
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +6 -6
- package/dist/infrastructure/index.js +12 -0
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +9 -9
- package/dist/kernel/index.js +12 -0
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-BRJicm5o.d.ts → mcp-servers-BDM2Leff.d.ts} +3 -3
- package/dist/models/index.d.ts +2 -2
- package/dist/{multi-agent-Cm1wYSrw.d.ts → multi-agent-DenFfUv5.d.ts} +6 -3
- package/dist/{multi-agent-coordinator-CCupVFqv.d.ts → multi-agent-coordinator-DGUn-5Bb.d.ts} +165 -4
- package/dist/{index-CZR0HjxM.d.ts → null-fleet-bus-DJMbqYhL.d.ts} +98 -7
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-CfT7e_HT.d.ts → path-resolver-C1NM67-u.d.ts} +2 -2
- package/dist/{plan-templates-Q78an-GJ.d.ts → plan-templates-CNY6f82B.d.ts} +4 -4
- package/dist/{provider-runner-WDj28o7J.d.ts → provider-runner-Cmuevptw.d.ts} +3 -3
- package/dist/{retry-policy-Dpxp4SET.d.ts → retry-policy-mEBn5qpv.d.ts} +1 -1
- package/dist/sdd/index.d.ts +3 -3
- package/dist/{secret-scrubber-CowtdEF8.d.ts → secret-scrubber-BmiGszvl.d.ts} +1 -1
- package/dist/{secret-scrubber-C2YCYtkn.d.ts → secret-scrubber-bZ5AyhwJ.d.ts} +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/{selector-CP39HhCe.d.ts → selector-BmUma5iG.d.ts} +1 -1
- package/dist/{session-reader-Dwjn4WZR.d.ts → session-reader-g-FKCyBw.d.ts} +1 -1
- package/dist/storage/index.d.ts +6 -6
- package/dist/storage/index.js +8 -4
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-CfgXqyv2.d.ts → system-prompt-BKrzd_ci.d.ts} +1 -1
- package/dist/{tool-executor-D5NFi_LV.d.ts → tool-executor-BoM0U0qn.d.ts} +5 -4
- package/dist/types/index.d.ts +15 -15
- package/dist/types/index.js +29 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { q as AfterIterationHook, r as AfterRunHook, s as AfterToolExecutionHook, t as AgentExtension, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, G as ProviderRunnerFn, z as ProviderRunnerWrapper } from '../index-
|
|
2
|
-
import '../context-
|
|
1
|
+
export { q as AfterIterationHook, r as AfterRunHook, s as AfterToolExecutionHook, t as AgentExtension, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, E as ExtensionRegistry, O as OnErrorHook, G as ProviderRunnerFn, z as ProviderRunnerWrapper } from '../index-B2WWETRP.js';
|
|
2
|
+
import '../context-BwxhvyW8.js';
|
|
3
3
|
import '../logger-BMQgxvdy.js';
|
|
4
|
-
import '../system-prompt-
|
|
4
|
+
import '../system-prompt-BKrzd_ci.js';
|
|
5
5
|
import '../observability-BhnVLBLS.js';
|
|
6
|
-
import '../events-
|
|
7
|
-
import '../secret-scrubber-
|
|
8
|
-
import '../config-
|
|
6
|
+
import '../events-AjrvHJ9V.js';
|
|
7
|
+
import '../secret-scrubber-bZ5AyhwJ.js';
|
|
8
|
+
import '../config-BXAhlqJb.js';
|
|
9
9
|
import '../models-registry-Y2xbog0E.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { x as Tool, G as ToolResultBlock, K as ToolUseBlock, a5 as Context, T as TextBlock, R as Request, l as Response, i as Provider, W as WrongStackError, b as ContentBlock, ad as RunOptions, J as JSONSchema } from './context-
|
|
1
|
+
import { x as Tool, G as ToolResultBlock, K as ToolUseBlock, a5 as Context, T as TextBlock, R as Request, l as Response, i as Provider, W as WrongStackError, b as ContentBlock, ad as RunOptions, J as JSONSchema } from './context-BwxhvyW8.js';
|
|
2
2
|
import { L as Logger } from './logger-BMQgxvdy.js';
|
|
3
|
-
import { R as Renderer, B as BuildContext, C as Container, P as Pipeline, e as ReadonlyPipeline } from './system-prompt-
|
|
3
|
+
import { R as Renderer, B as BuildContext, C as Container, P as Pipeline, e as ReadonlyPipeline } from './system-prompt-BKrzd_ci.js';
|
|
4
4
|
import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
5
|
-
import { E as EventBus, a as EventName, L as Listener } from './events-
|
|
6
|
-
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-
|
|
7
|
-
import { l as ProviderConfig, a as Config } from './config-
|
|
5
|
+
import { E as EventBus, a as EventName, L as Listener } from './events-AjrvHJ9V.js';
|
|
6
|
+
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-bZ5AyhwJ.js';
|
|
7
|
+
import { l as ProviderConfig, a as Config } from './config-BXAhlqJb.js';
|
|
8
8
|
import { W as WireFamily } from './models-registry-Y2xbog0E.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -886,4 +886,4 @@ interface Plugin {
|
|
|
886
886
|
}>;
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
-
export { Agent as A, type BeforeIterationHook as B, type ToolWrapper as C, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, createDefaultPipelines as F, type ProviderRunnerFn as G, type MCPRegistryView as M, type OnErrorHook as O, type Plugin as P, type RunResult as R, type SessionWriterView as S, type ToolRegistryView as T, type UserInputPayload as U, type MetricsSinkView as a, type PluginAPI as b, type PluginCapabilities as c, type PluginDependency as d, type PluginPipelines as e, type ProviderFactory as f, type ProviderRegistryView as g, type SlashCommand as h, type SlashCommandRegistryView as i, type SystemPromptContributor as j, type
|
|
889
|
+
export { Agent as A, type BeforeIterationHook as B, type ToolWrapper as C, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, createDefaultPipelines as F, type ProviderRunnerFn as G, type MCPRegistryView as M, type OnErrorHook as O, type Plugin as P, type RunResult as R, type SessionWriterView as S, type ToolRegistryView as T, type UserInputPayload as U, type MetricsSinkView as a, type PluginAPI as b, type PluginCapabilities as c, type PluginDependency as d, type PluginPipelines as e, type ProviderFactory as f, type ProviderRegistryView as g, type SlashCommand as h, type SlashCommandRegistryView as i, type SystemPromptContributor as j, type ToolExecutorOptions as k, type ToolExecutorStrategy as l, type ToolBatchResult as m, type AgentInput as n, ToolRegistry as o, ProviderRegistry as p, type AfterIterationHook as q, type AfterRunHook as r, type AfterToolExecutionHook as s, type AgentExtension as t, type AgentInit as u, type AgentPipelines as v, type BeforeRunHook as w, type BeforeToolExecutionHook as x, type ProviderFactory$1 as y, type ProviderRunnerWrapper as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { S as SystemPromptBuilder, M as ModelCapabilities, B as BuildContext, C as Container } from './system-prompt-
|
|
2
|
-
export { a as BindOptions, D as Decorator, F as Factory, b as Middleware, c as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, R as Renderer, T as Token } from './system-prompt-
|
|
3
|
-
import { E as EventBus, a as EventName, L as Listener } from './events-
|
|
4
|
-
export { b as EventLogger, c as EventMap, S as ScopedEventBus } from './events-
|
|
1
|
+
import { S as SystemPromptBuilder, M as ModelCapabilities, B as BuildContext, C as Container } from './system-prompt-BKrzd_ci.js';
|
|
2
|
+
export { a as BindOptions, D as Decorator, F as Factory, b as Middleware, c as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions, R as Renderer, T as Token } from './system-prompt-BKrzd_ci.js';
|
|
3
|
+
import { E as EventBus, a as EventName, L as Listener } from './events-AjrvHJ9V.js';
|
|
4
|
+
export { b as EventLogger, c as EventMap, S as ScopedEventBus } from './events-AjrvHJ9V.js';
|
|
5
5
|
export { RunController, RunControllerOptions, TOKENS } from './kernel/index.js';
|
|
6
|
-
import { a5 as Context, i as Provider, x as Tool, b as ContentBlock, T as TextBlock } from './context-
|
|
7
|
-
export { A as AgentError, C as Capabilities, a as ConfigError, aa as ContextInit, a9 as ConversationState, 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, j as ProviderError, k as ProviderErrorBody, ab as ReadonlyConversationState, R as Request, l as Response, m as ResumedSession, n as RiskTier, ac as RunEnv, ad as RunOptions, S as SessionData, o as SessionError, p as SessionEvent, q as SessionMetadata, r as SessionStore, s as SessionSummary, t as SessionWriter, ae as StateChange, af as StateChangeHandler, u as StopReason, v as StreamEvent, w as ThinkingBlock, a8 as TodoItem, a6 as TokenCounter, 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, ag as extractRunEnv, 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, ah as wrapAsState } from './context-
|
|
8
|
-
export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-
|
|
9
|
-
import { M as MCPServerConfig, a as Config } from './config-
|
|
10
|
-
export { C as CONTEXT_WINDOW_MODES, b as ConfigLoader, c as ConfigStore, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, P as PluginConfig, k as ProviderApiKey, l as ProviderConfig, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from './config-
|
|
11
|
-
export { C as CompactReport, a as Compactor } from './compactor-
|
|
12
|
-
export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-
|
|
6
|
+
import { a5 as Context, i as Provider, x as Tool, b as ContentBlock, T as TextBlock } from './context-BwxhvyW8.js';
|
|
7
|
+
export { A as AgentError, C as Capabilities, a as ConfigError, aa as ContextInit, a9 as ConversationState, 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, j as ProviderError, k as ProviderErrorBody, ab as ReadonlyConversationState, R as Request, l as Response, m as ResumedSession, n as RiskTier, ac as RunEnv, ad as RunOptions, S as SessionData, o as SessionError, p as SessionEvent, q as SessionMetadata, r as SessionStore, s as SessionSummary, t as SessionWriter, ae as StateChange, af as StateChangeHandler, u as StopReason, v as StreamEvent, w as ThinkingBlock, a8 as TodoItem, a6 as TokenCounter, 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, ag as extractRunEnv, 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, ah as wrapAsState } from './context-BwxhvyW8.js';
|
|
8
|
+
export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-Cmuevptw.js';
|
|
9
|
+
import { M as MCPServerConfig, a as Config } from './config-BXAhlqJb.js';
|
|
10
|
+
export { C as CONTEXT_WINDOW_MODES, b as ConfigLoader, c as ConfigStore, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, P as PluginConfig, k as ProviderApiKey, l as ProviderConfig, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from './config-BXAhlqJb.js';
|
|
11
|
+
export { C as CompactReport, a as Compactor } from './compactor-BFKGzKd5.js';
|
|
12
|
+
export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-bZ5AyhwJ.js';
|
|
13
13
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from './session-rewinder-C9HnMkhP.js';
|
|
14
|
-
import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-
|
|
15
|
-
export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-
|
|
14
|
+
import { e as AttachmentStore, d as AttachmentRef, A as AddAttachmentInput } from './session-reader-g-FKCyBw.js';
|
|
15
|
+
export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-g-FKCyBw.js';
|
|
16
16
|
export { D as DEFAULT_CONTEXT_CONFIG, a as DEFAULT_TOOLS_CONFIG } from './default-config-DvRSTELf.js';
|
|
17
|
-
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-
|
|
17
|
+
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';
|
|
18
18
|
export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-BH6AE0W9.js';
|
|
19
|
-
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-
|
|
19
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-C1NM67-u.js';
|
|
20
20
|
import { b as MemoryStore } from './memory-CEXuo7sz.js';
|
|
21
21
|
export { M as MemoryEntry, a as MemoryScope } from './memory-CEXuo7sz.js';
|
|
22
|
-
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-
|
|
22
|
+
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';
|
|
23
23
|
import { a as SkillLoader } from './skill-CxuWrsKK.js';
|
|
24
24
|
export { S as SkillEntry, b as SkillManifest } from './skill-CxuWrsKK.js';
|
|
25
25
|
export { I as InputReader, P as PromptOption } from './input-reader-E-ffP2ee.js';
|
|
26
|
-
import { h as SlashCommand, j as SystemPromptContributor, b as PluginAPI, e as PluginPipelines, T as ToolRegistryView, g as ProviderRegistryView, M as MCPRegistryView, i as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, a as MetricsSinkView, o as ToolRegistry, p as ProviderRegistry, P as Plugin } from './index-
|
|
27
|
-
export { q as AfterIterationHook, r as AfterRunHook, s as AfterToolExecutionHook, A as Agent, t as AgentExtension, u as AgentInit,
|
|
26
|
+
import { h as SlashCommand, j as SystemPromptContributor, b as PluginAPI, e as PluginPipelines, T as ToolRegistryView, g as ProviderRegistryView, M as MCPRegistryView, i as SlashCommandRegistryView, E as ExtensionRegistry, S as SessionWriterView, a as MetricsSinkView, o as ToolRegistry, p as ProviderRegistry, P as Plugin } from './index-B2WWETRP.js';
|
|
27
|
+
export { q as AfterIterationHook, r as AfterRunHook, s as AfterToolExecutionHook, A as Agent, t as AgentExtension, u as AgentInit, n as AgentInput, v as AgentPipelines, B as BeforeIterationHook, w as BeforeRunHook, x as BeforeToolExecutionHook, D as DEFAULT_MAX_ITERATIONS, O as OnErrorHook, c as PluginCapabilities, d as PluginDependency, y as ProviderFactory, z as ProviderRunnerWrapper, R as RunResult, C as ToolWrapper, U as UserInputPayload, F as createDefaultPipelines } from './index-B2WWETRP.js';
|
|
28
28
|
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-DqzwpBQy.js';
|
|
29
29
|
import { c as ModeStore } from './mode-CV077NjV.js';
|
|
30
30
|
export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest } from './mode-CV077NjV.js';
|
|
31
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-
|
|
32
|
-
export { n as BudgetExceededError, o as BudgetKind, p as BudgetLimits,
|
|
31
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-Bji75Iv9.js';
|
|
32
|
+
export { n as BudgetExceededError, o as BudgetKind, p as BudgetLimits, t as BudgetUsage, C as CoordinatorEvents, a as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, b as MultiAgentCoordinator, S as SpawnResult, u as SubagentBudget, c as SubagentConfig, d as SubagentContext, e as SubagentError, f as SubagentErrorKind, g as SubagentRunContext, h as SubagentRunOutcome, i as SubagentRunner, T as TaskDelegation, j as TaskResult, k as TaskSpec } from './multi-agent-DenFfUv5.js';
|
|
33
33
|
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';
|
|
34
34
|
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';
|
|
35
35
|
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';
|
|
36
36
|
export { a as WstackPathOptions, W as WstackPaths, p as projectHash, r as resolveWstackPaths } from './wstack-paths-86YPFktR.js';
|
|
37
|
-
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-
|
|
38
|
-
export {
|
|
37
|
+
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';
|
|
38
|
+
export { a as DirectorStateCheckpoint, D as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BUB7JRUr.js';
|
|
39
39
|
export { AutoApprovePermissionPolicy, DefaultPermissionPolicy, PermissionPolicyOptions } from './security/index.js';
|
|
40
40
|
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';
|
|
41
41
|
export { DefaultProviderRunner } from './defaults/index.js';
|
|
42
|
-
export {
|
|
43
|
-
export { A as AgentFactory,
|
|
42
|
+
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-DJMbqYhL.js';
|
|
43
|
+
export { a as AgentBudgetTier, b as AgentCapability, A as AgentDefinition, c as AgentFactory, d as AgentFactoryResult, e as AgentPhase, f as AgentRunnerOptions, D as DEFAULT_DISPATCH_ROLE, g as DefaultMultiAgentCoordinator, h as DispatchCandidate, i as DispatchClassifier, j as DispatchMethod, k as DispatchOptions, l as DispatchResult, F as FleetBus, m as FleetEvent, n as FleetHandler, o as FleetUsage, p as FleetUsageAggregator, q as MultiAgentCoordinatorOptions, S as SubagentUsageSnapshot, r as dispatchAgent, s as makeAgentSubagentRunner, t as makeLLMClassifier, u as scoreAgents } from './multi-agent-coordinator-DGUn-5Bb.js';
|
|
44
44
|
export { DefaultModeStore, LLMSelector, LLMSelectorOptions, ModeLoaderOptions, loadProjectModes, loadUserModes } from './models/index.js';
|
|
45
45
|
export { AISpecBuilder, AISpecBuilderOptions, AISpecPhase, AISpecSession, AutoExecutor, AutoExecutorOptions, BottleneckTask, CollectedAnswer, CriticalPathAnalysis, DefaultTaskStore, ExecutionSummary, GeneratedTask, SPEC_TEMPLATES, SpecDiff, SpecDrivenDev, SpecDrivenDevOptions, SpecIndexEntry, SpecParser, SpecStore, SpecStoreOptions, SpecVersion, SpecVersioning, TaskExecutionContext, TaskExecutionResult, TaskFlow, TaskFlowEventMap, TaskFlowEventName, TaskFlowExecutionContext, TaskFlowOptions, TaskFlowPhase, TaskGenerator, TaskGeneratorOptions, TaskGraphIndexEntry, TaskGraphStore, TaskGraphStoreOptions, TaskStore, TaskTracker, TaskTrackerOptions, TaskTransition, analyzeCriticalPath, createAutoExecutor, getTemplate, listTemplates, renderProgress, renderSpecAnalysis, renderTaskGraph, renderTaskList, templateToMarkdown } from './sdd/index.js';
|
|
46
46
|
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';
|
|
47
|
-
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-
|
|
47
|
+
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';
|
|
48
48
|
export { DownloadResult, InstallResult, InstalledSkillEntry, ManifestData, ParsedRef, SkillInstaller, SkillInstallerOptions, SkillManifestStore, UpdateResult, downloadGitHubTarball, parseSkillRef } from './skills/index.js';
|
|
49
49
|
export { DefaultSessionRewinder, SessionRewinderOptions } from './storage/index.js';
|
|
50
50
|
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';
|
|
51
|
-
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-
|
|
51
|
+
import { R as RetryPolicy, E as ErrorHandler } from './retry-policy-mEBn5qpv.js';
|
|
52
52
|
import { L as Logger } from './logger-BMQgxvdy.js';
|
|
53
53
|
export { a as LogLevel } from './logger-BMQgxvdy.js';
|
|
54
54
|
export { a as ModelsDevPayload, c as ModelsDevProvider, M as ModelsRegistry, b as ResolvedModel, R as ResolvedProvider, W as WireFamily } from './models-registry-Y2xbog0E.js';
|
|
55
55
|
export { S as SecretVault } from './secret-vault-DoISxaKO.js';
|
|
56
56
|
import './path-resolver-CPRj4bFY.js';
|
|
57
|
-
import './selector-
|
|
57
|
+
import './selector-BmUma5iG.js';
|
|
58
58
|
import 'node:events';
|
|
59
59
|
|
|
60
60
|
/**
|
|
@@ -526,6 +526,14 @@ declare class InputBuilder {
|
|
|
526
526
|
*/
|
|
527
527
|
appendImage(dataBase64: string, mediaType: string): Promise<string>;
|
|
528
528
|
appendFile(input: AddAttachmentInput): Promise<string>;
|
|
529
|
+
/**
|
|
530
|
+
* Whether `appendPaste(text)` would collapse the text to a placeholder
|
|
531
|
+
* (rather than inlining it). Lets a frontend decide where to route a paste
|
|
532
|
+
* — e.g. collapsed pastes become a pill, while inlined ones can be shown
|
|
533
|
+
* in the editable input row — without calling `appendPaste` first (which
|
|
534
|
+
* mutates the display buffer).
|
|
535
|
+
*/
|
|
536
|
+
wouldCollapse(text: string): boolean;
|
|
529
537
|
/** Reset display and ref list. Does NOT clear the store itself. */
|
|
530
538
|
reset(): void;
|
|
531
539
|
/**
|