@wrongstack/core 0.7.0 → 0.7.3
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-hXRN-GO_.d.ts} +1 -1
- package/dist/{compactor-CWV1u-IU.d.ts → compactor-Mw7-rNyb.d.ts} +1 -1
- package/dist/{config-C34JRwl4.d.ts → config-Bi4Q0fnz.d.ts} +2 -2
- package/dist/{context-bmR0YgBm.d.ts → context-z2x5gv_V.d.ts} +5 -1
- package/dist/coordination/index.d.ts +42 -12
- package/dist/coordination/index.js +2522 -33
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +24 -24
- package/dist/defaults/index.js +2783 -228
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-CEKFTmIY.d.ts → events-D4pGukpI.d.ts} +26 -2
- package/dist/execution/index.d.ts +38 -15
- package/dist/execution/index.js +2406 -21
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +8 -8
- package/dist/{index-BJIFLGII.d.ts → index-BUHs7xJ9.d.ts} +8 -8
- package/dist/index.d.ts +40 -32
- package/dist/index.js +2813 -215
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +9 -9
- package/dist/infrastructure/index.js +12 -0
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +11 -11
- package/dist/kernel/index.js +12 -0
- package/dist/kernel/index.js.map +1 -1
- package/dist/{logger-BMQgxvdy.d.ts → logger-DDd5C--Z.d.ts} +1 -1
- package/dist/{logger-BH6AE0W9.d.ts → logger-bOzkF5LL.d.ts} +1 -1
- package/dist/{mcp-servers-BRJicm5o.d.ts → mcp-servers-n2L9ohMX.d.ts} +3 -3
- package/dist/models/index.d.ts +4 -4
- package/dist/{models-registry-Y2xbog0E.d.ts → models-registry-BcYJDKLm.d.ts} +1 -1
- package/dist/{models-registry-DqzwpBQy.d.ts → models-registry-OG_30xqZ.d.ts} +1 -1
- package/dist/{multi-agent-Cm1wYSrw.d.ts → multi-agent-7OK4pEKW.d.ts} +6 -3
- package/dist/{multi-agent-coordinator-CCupVFqv.d.ts → multi-agent-coordinator-D8PLzfz6.d.ts} +165 -4
- package/dist/{index-CZR0HjxM.d.ts → null-fleet-bus-Bkk3gafb.d.ts} +97 -6
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-CfT7e_HT.d.ts → path-resolver-DPUjF10O.d.ts} +3 -3
- package/dist/{plan-templates-Q78an-GJ.d.ts → plan-templates-DWbEIJvV.d.ts} +5 -5
- package/dist/{provider-runner-WDj28o7J.d.ts → provider-runner-iST8U3ni.d.ts} +4 -4
- package/dist/{retry-policy-Dpxp4SET.d.ts → retry-policy-OwtKNxo8.d.ts} +2 -2
- package/dist/sdd/index.d.ts +3 -3
- package/dist/{secret-scrubber-CowtdEF8.d.ts → secret-scrubber-DXkhwuka.d.ts} +1 -1
- package/dist/{secret-scrubber-C2YCYtkn.d.ts → secret-scrubber-nI8qjaqW.d.ts} +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/{selector-CP39HhCe.d.ts → selector-DkvgYVS4.d.ts} +1 -1
- package/dist/{session-reader-Dwjn4WZR.d.ts → session-reader-DsadjyF9.d.ts} +1 -1
- package/dist/storage/index.d.ts +7 -7
- package/dist/storage/index.js +8 -4
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-CfgXqyv2.d.ts → system-prompt-CWA6ml-d.d.ts} +2 -2
- package/dist/{tool-executor-D5NFi_LV.d.ts → tool-executor-Tutu4ePV.d.ts} +6 -5
- package/dist/types/index.d.ts +19 -19
- package/dist/types/index.js +29 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/{wstack-paths-86YPFktR.d.ts → wstack-paths-BGu2INTm.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '../context-
|
|
3
|
-
import '../logger-
|
|
4
|
-
import '../system-prompt-
|
|
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-BUHs7xJ9.js';
|
|
2
|
+
import '../context-z2x5gv_V.js';
|
|
3
|
+
import '../logger-DDd5C--Z.js';
|
|
4
|
+
import '../system-prompt-CWA6ml-d.js';
|
|
5
5
|
import '../observability-BhnVLBLS.js';
|
|
6
|
-
import '../events-
|
|
7
|
-
import '../secret-scrubber-
|
|
8
|
-
import '../config-
|
|
9
|
-
import '../models-registry-
|
|
6
|
+
import '../events-D4pGukpI.js';
|
|
7
|
+
import '../secret-scrubber-nI8qjaqW.js';
|
|
8
|
+
import '../config-Bi4Q0fnz.js';
|
|
9
|
+
import '../models-registry-BcYJDKLm.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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';
|
|
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';
|
|
4
4
|
import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
5
|
-
import { E as EventBus,
|
|
6
|
-
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-
|
|
7
|
-
import { l as ProviderConfig, a as Config } from './config-
|
|
8
|
-
import { W as WireFamily } from './models-registry-
|
|
5
|
+
import { E as EventBus, c as EventName, L as Listener } from './events-D4pGukpI.js';
|
|
6
|
+
import { a as PermissionPolicy, S as SecretScrubber } from './secret-scrubber-nI8qjaqW.js';
|
|
7
|
+
import { l as ProviderConfig, a as Config } from './config-Bi4Q0fnz.js';
|
|
8
|
+
import { W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A function that wraps (decorates) an existing tool. Receives the
|
|
@@ -886,4 +886,4 @@ interface Plugin {
|
|
|
886
886
|
}>;
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
-
export {
|
|
889
|
+
export { type AfterIterationHook as A, type BeforeIterationHook as B, type ToolRegistryView as C, DEFAULT_MAX_ITERATIONS as D, ExtensionRegistry as E, type ToolWrapper as F, createDefaultPipelines as G, type MCPRegistryView as M, type OnErrorHook as O, type Plugin as P, type RunResult as R, type SessionWriterView as S, type ToolBatchResult as T, type UserInputPayload as U, type AfterRunHook as a, type AfterToolExecutionHook as b, Agent as c, type AgentExtension as d, type AgentInit as e, type AgentInput as f, type AgentPipelines as g, type BeforeRunHook as h, type BeforeToolExecutionHook as i, type MetricsSinkView as j, type PluginAPI as k, type PluginCapabilities as l, type PluginDependency as m, type PluginPipelines as n, type ProviderFactory as o, type ProviderFactory$1 as p, ProviderRegistry as q, type ProviderRegistryView as r, type ProviderRunnerFn as s, type ProviderRunnerWrapper as t, type SlashCommand as u, type SlashCommandRegistryView as v, type SystemPromptContributor as w, type ToolExecutorOptions as x, type ToolExecutorStrategy as y, ToolRegistry as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { S as SystemPromptBuilder,
|
|
2
|
-
export {
|
|
3
|
-
import { E as EventBus,
|
|
4
|
-
export {
|
|
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-D4pGukpI.js';
|
|
4
|
+
export { a as EventLogger, b as EventMap, S as ScopedEventBus } from './events-D4pGukpI.js';
|
|
5
5
|
export { RunController, RunControllerOptions, TOKENS } from './kernel/index.js';
|
|
6
|
-
import {
|
|
7
|
-
export { A as AgentError,
|
|
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 { d as Context, m as Provider, Q as Tool, c as ContentBlock, T as TextBlock } from './context-z2x5gv_V.js';
|
|
7
|
+
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';
|
|
8
|
+
export { P as ProviderRunner, R as RunProviderOptions } from './provider-runner-iST8U3ni.js';
|
|
9
|
+
import { M as MCPServerConfig, a as Config } from './config-Bi4Q0fnz.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-Bi4Q0fnz.js';
|
|
11
|
+
export { C as CompactReport, a as Compactor } from './compactor-Mw7-rNyb.js';
|
|
12
|
+
export { P as PermissionDecision, a as PermissionPolicy, S as SecretScrubber, T as TrustPolicy } from './secret-scrubber-nI8qjaqW.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-DsadjyF9.js';
|
|
15
|
+
export { a as Attachment, b as AttachmentKind, c as AttachmentMeta, D as DefaultSessionReader } from './session-reader-DsadjyF9.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-
|
|
18
|
-
export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-
|
|
19
|
-
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-
|
|
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-DXkhwuka.js';
|
|
18
|
+
export { D as DefaultLogger, a as DefaultLoggerOptions } from './logger-bOzkF5LL.js';
|
|
19
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from './path-resolver-DPUjF10O.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-Tutu4ePV.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 {
|
|
27
|
-
export {
|
|
28
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-
|
|
26
|
+
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-BUHs7xJ9.js';
|
|
27
|
+
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-BUHs7xJ9.js';
|
|
28
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from './models-registry-OG_30xqZ.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 {
|
|
31
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from './agent-bridge-hXRN-GO_.js';
|
|
32
|
+
export { c as BudgetExceededError, d as BudgetKind, e as BudgetLimits, i as BudgetUsage, C as CoordinatorEvents, j as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, k as MultiAgentCoordinator, S as SpawnResult, l as SubagentBudget, m as SubagentConfig, n as SubagentContext, o as SubagentError, p as SubagentErrorKind, q as SubagentRunContext, r as SubagentRunOutcome, s as SubagentRunner, T as TaskDelegation, t as TaskResult, u as TaskSpec } from './multi-agent-7OK4pEKW.js';
|
|
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
|
-
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-
|
|
36
|
+
export { W as WstackPathOptions, a as WstackPaths, p as projectHash, r as resolveWstackPaths } from './wstack-paths-BGu2INTm.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-DWbEIJvV.js';
|
|
38
38
|
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from './director-state-BmYi3DGA.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
|
|
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-Bkk3gafb.js';
|
|
43
|
+
export { A as AgentBudgetTier, a as AgentCapability, b 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-D8PLzfz6.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-n2L9ohMX.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 {
|
|
52
|
-
import {
|
|
53
|
-
export {
|
|
54
|
-
export {
|
|
51
|
+
import { a as RetryPolicy, E as ErrorHandler } from './retry-policy-OwtKNxo8.js';
|
|
52
|
+
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
53
|
+
export { L as LogLevel } from './logger-DDd5C--Z.js';
|
|
54
|
+
export { M as ModelsDevPayload, a as ModelsDevProvider, b as ModelsRegistry, R as ResolvedModel, c as ResolvedProvider, W as WireFamily } from './models-registry-BcYJDKLm.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-DkvgYVS4.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
|
/**
|