@wrongstack/core 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-bridge-Bji75Iv9.d.ts → agent-bridge-hXRN-GO_.d.ts} +1 -1
- package/dist/{compactor-BFKGzKd5.d.ts → compactor-Mw7-rNyb.d.ts} +1 -1
- package/dist/{config-BXAhlqJb.d.ts → config-Bi4Q0fnz.d.ts} +2 -2
- package/dist/{context-BwxhvyW8.d.ts → context-z2x5gv_V.d.ts} +1 -1
- package/dist/coordination/index.d.ts +14 -14
- package/dist/defaults/index.d.ts +25 -25
- package/dist/{director-state-BUB7JRUr.d.ts → director-state-BmYi3DGA.d.ts} +1 -1
- package/dist/{events-AjrvHJ9V.d.ts → events-D4pGukpI.d.ts} +2 -2
- package/dist/execution/index.d.ts +15 -15
- package/dist/extension/index.d.ts +8 -8
- package/dist/{index-B2WWETRP.d.ts → index-BUHs7xJ9.d.ts} +8 -8
- package/dist/index.d.ts +33 -33
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +9 -9
- package/dist/kernel/index.d.ts +11 -11
- 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-BDM2Leff.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-DenFfUv5.d.ts → multi-agent-7OK4pEKW.d.ts} +3 -3
- package/dist/{multi-agent-coordinator-DGUn-5Bb.d.ts → multi-agent-coordinator-D8PLzfz6.d.ts} +4 -4
- package/dist/{null-fleet-bus-DJMbqYhL.d.ts → null-fleet-bus-Bkk3gafb.d.ts} +6 -6
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-C1NM67-u.d.ts → path-resolver-DPUjF10O.d.ts} +3 -3
- package/dist/{plan-templates-CNY6f82B.d.ts → plan-templates-DWbEIJvV.d.ts} +5 -5
- package/dist/{provider-runner-Cmuevptw.d.ts → provider-runner-iST8U3ni.d.ts} +4 -4
- package/dist/{retry-policy-mEBn5qpv.d.ts → retry-policy-OwtKNxo8.d.ts} +2 -2
- package/dist/sdd/index.d.ts +3 -3
- package/dist/{secret-scrubber-BmiGszvl.d.ts → secret-scrubber-DXkhwuka.d.ts} +1 -1
- package/dist/{secret-scrubber-bZ5AyhwJ.d.ts → secret-scrubber-nI8qjaqW.d.ts} +1 -1
- package/dist/security/index.d.ts +3 -3
- package/dist/{selector-BmUma5iG.d.ts → selector-DkvgYVS4.d.ts} +1 -1
- package/dist/{session-reader-g-FKCyBw.d.ts → session-reader-DsadjyF9.d.ts} +1 -1
- package/dist/storage/index.d.ts +8 -8
- package/dist/{system-prompt-BKrzd_ci.d.ts → system-prompt-CWA6ml-d.d.ts} +2 -2
- package/dist/{tool-executor-BoM0U0qn.d.ts → tool-executor-Tutu4ePV.d.ts} +5 -5
- package/dist/types/index.d.ts +19 -19
- 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,10 +1,10 @@
|
|
|
1
|
-
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-
|
|
2
|
-
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-
|
|
3
|
-
export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, s as sentinelServer, p as slackServer, z as zaiVisionServer } from '../mcp-servers-
|
|
4
|
-
import '../logger-
|
|
5
|
-
import '../events-
|
|
6
|
-
import '../context-
|
|
7
|
-
import '../models-registry-
|
|
1
|
+
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-bOzkF5LL.js';
|
|
2
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-DPUjF10O.js';
|
|
3
|
+
export { C as ContextManagerAction, a as ContextManagerInput, b as ContextManagerResult, c as ContextManagerToolOptions, d as allServers, e as awsServer, f as blockServer, g as braveSearchServer, h as context7Server, i as contextManagerTool, j as createContextManagerTool, k as everArtServer, l as filesystemServer, m as githubServer, n as googleMapsServer, o as miniMaxVisionServer, s as sentinelServer, p as slackServer, z as zaiVisionServer } from '../mcp-servers-n2L9ohMX.js';
|
|
4
|
+
import '../logger-DDd5C--Z.js';
|
|
5
|
+
import '../events-D4pGukpI.js';
|
|
6
|
+
import '../context-z2x5gv_V.js';
|
|
7
|
+
import '../models-registry-BcYJDKLm.js';
|
|
8
8
|
import '../path-resolver-CPRj4bFY.js';
|
|
9
|
-
import '../compactor-
|
|
10
|
-
import '../config-
|
|
9
|
+
import '../compactor-Mw7-rNyb.js';
|
|
10
|
+
import '../config-Bi4Q0fnz.js';
|
package/dist/kernel/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { T as Token,
|
|
2
|
-
export {
|
|
3
|
-
export { E as EventBus,
|
|
4
|
-
import { a as Compactor } from '../compactor-
|
|
5
|
-
import { b as ConfigLoader, c as ConfigStore } from '../config-
|
|
6
|
-
import { E as ErrorHandler,
|
|
1
|
+
import { T as Token, e as Renderer, S as SystemPromptBuilder } from '../system-prompt-CWA6ml-d.js';
|
|
2
|
+
export { B as BindOptions, C as Container, D as Decorator, F as Factory, M as Middleware, b as MiddlewareHandler, N as NextFn, P as Pipeline, d as PipelineOptions } from '../system-prompt-CWA6ml-d.js';
|
|
3
|
+
export { E as EventBus, a as EventLogger, b as EventMap, c as EventName, L as Listener, S as ScopedEventBus } from '../events-D4pGukpI.js';
|
|
4
|
+
import { a as Compactor } from '../compactor-Mw7-rNyb.js';
|
|
5
|
+
import { b as ConfigLoader, c as ConfigStore } from '../config-Bi4Q0fnz.js';
|
|
6
|
+
import { E as ErrorHandler, a as RetryPolicy } from '../retry-policy-OwtKNxo8.js';
|
|
7
7
|
import { I as InputReader } from '../input-reader-E-ffP2ee.js';
|
|
8
|
-
import {
|
|
8
|
+
import { a as Logger } from '../logger-DDd5C--Z.js';
|
|
9
9
|
import { b as MemoryStore } from '../memory-CEXuo7sz.js';
|
|
10
10
|
import { c as ModeStore } from '../mode-CV077NjV.js';
|
|
11
|
-
import {
|
|
11
|
+
import { b as ModelsRegistry } from '../models-registry-BcYJDKLm.js';
|
|
12
12
|
import { P as PathResolver } from '../path-resolver-CPRj4bFY.js';
|
|
13
|
-
import { a as PermissionPolicy, S as SecretScrubber } from '../secret-scrubber-
|
|
14
|
-
import { P as ProviderRunner } from '../provider-runner-
|
|
15
|
-
import {
|
|
13
|
+
import { a as PermissionPolicy, S as SecretScrubber } from '../secret-scrubber-nI8qjaqW.js';
|
|
14
|
+
import { P as ProviderRunner } from '../provider-runner-iST8U3ni.js';
|
|
15
|
+
import { O as TokenCounter, y as SessionStore } from '../context-z2x5gv_V.js';
|
|
16
16
|
import { a as SkillLoader } from '../skill-CxuWrsKK.js';
|
|
17
17
|
import '../observability-BhnVLBLS.js';
|
|
18
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as Compactor } from './compactor-
|
|
2
|
-
import { M as Message,
|
|
3
|
-
import { M as MCPServerConfig } from './config-
|
|
1
|
+
import { a as Compactor } from './compactor-Mw7-rNyb.js';
|
|
2
|
+
import { M as Message, Q as Tool } from './context-z2x5gv_V.js';
|
|
3
|
+
import { M as MCPServerConfig } from './config-Bi4Q0fnz.js';
|
|
4
4
|
|
|
5
5
|
type ContextManagerAction = 'check' | 'summary' | 'prune' | 'add_note' | 'compact' | 'repair';
|
|
6
6
|
interface ContextManagerInput {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-
|
|
1
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-OG_30xqZ.js';
|
|
2
2
|
import { c as ModeStore, a as ModeConfig, M as Mode } from '../mode-CV077NjV.js';
|
|
3
|
-
import {
|
|
4
|
-
import { M as MessageSelector, S as SelectorResult } from '../selector-
|
|
5
|
-
import '../models-registry-
|
|
3
|
+
import { m as Provider, M as Message } from '../context-z2x5gv_V.js';
|
|
4
|
+
import { M as MessageSelector, S as SelectorResult } from '../selector-DkvgYVS4.js';
|
|
5
|
+
import '../models-registry-BcYJDKLm.js';
|
|
6
6
|
|
|
7
7
|
declare class DefaultModeStore implements ModeStore {
|
|
8
8
|
private activeModeId;
|
|
@@ -92,4 +92,4 @@ interface ModelsRegistry {
|
|
|
92
92
|
ageSeconds(): Promise<number>;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
export type {
|
|
95
|
+
export type { ModelsDevPayload as M, ResolvedModel as R, WireFamily as W, ModelsDevProvider as a, ModelsRegistry as b, ResolvedProvider as c };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ModelsRegistry, M as ModelsDevPayload, c as ResolvedProvider, R as ResolvedModel, W as WireFamily } from './models-registry-BcYJDKLm.js';
|
|
2
2
|
|
|
3
3
|
interface DefaultModelsRegistryOptions {
|
|
4
4
|
cacheFile: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as EventBus } from './events-
|
|
1
|
+
import { $ as Usage } from './context-z2x5gv_V.js';
|
|
2
|
+
import { E as EventBus } from './events-D4pGukpI.js';
|
|
3
3
|
|
|
4
4
|
type BridgeMessageType = 'task' | 'result' | 'progress' | 'error' | 'heartbeat' | 'stop' | 'delegate' | 'budget_threshold';
|
|
5
5
|
interface BridgeMessage<T = unknown> {
|
|
@@ -456,4 +456,4 @@ interface SubagentContext {
|
|
|
456
456
|
maxConcurrent: number;
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
export { type AgentBridge as A, type
|
|
459
|
+
export { type AgentBridge as A, type BridgeMessage as B, type CoordinatorEvents as C, type DoneCondition as D, type MultiAgentConfig as M, type SpawnResult as S, type TaskDelegation as T, type AgentBridgeConfig as a, type BridgeTransport as b, BudgetExceededError as c, type BudgetKind as d, type BudgetLimits as e, type BudgetThresholdDecision as f, type BudgetThresholdHandler as g, BudgetThresholdSignal as h, type BudgetUsage as i, type CoordinatorStatus as j, type MultiAgentCoordinator as k, SubagentBudget as l, type SubagentConfig as m, type SubagentContext as n, type SubagentError as o, type SubagentErrorKind as p, type SubagentRunContext as q, type SubagentRunOutcome as r, type SubagentRunner as s, type TaskResult as t, type TaskSpec as u };
|
package/dist/{multi-agent-coordinator-DGUn-5Bb.d.ts → multi-agent-coordinator-D8PLzfz6.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { E as EventBus } from './events-
|
|
3
|
-
import {
|
|
1
|
+
import { c as Agent, f as AgentInput } from './index-BUHs7xJ9.js';
|
|
2
|
+
import { E as EventBus } from './events-D4pGukpI.js';
|
|
3
|
+
import { m as SubagentConfig, u as TaskSpec, s as SubagentRunner, k as MultiAgentCoordinator, M as MultiAgentConfig, S as SpawnResult, B as BridgeMessage, A as AgentBridge, j as CoordinatorStatus, t as TaskResult } from './multi-agent-7OK4pEKW.js';
|
|
4
4
|
import { EventEmitter } from 'node:events';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -445,4 +445,4 @@ declare class DefaultMultiAgentCoordinator extends EventEmitter implements Multi
|
|
|
445
445
|
private isDone;
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
-
export { type
|
|
448
|
+
export { type AgentBudgetTier as A, DEFAULT_DISPATCH_ROLE as D, FleetBus as F, HEAVY_BUDGET as H, LIGHT_BUDGET as L, MEDIUM_BUDGET as M, type SubagentUsageSnapshot as S, TOOLS as T, type AgentCapability as a, type AgentDefinition as b, type AgentFactory as c, type AgentFactoryResult as d, type AgentPhase as e, type AgentRunnerOptions as f, DefaultMultiAgentCoordinator as g, type DispatchCandidate as h, type DispatchClassifier as i, type DispatchMethod as j, type DispatchOptions as k, type DispatchResult as l, type FleetEvent as m, type FleetHandler as n, type FleetUsage as o, FleetUsageAggregator as p, type MultiAgentCoordinatorOptions as q, dispatchAgent as r, makeAgentSubagentRunner as s, makeLLMClassifier as t, scoreAgents as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { e as AgentPhase,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { I as InMemoryAgentBridge } from './agent-bridge-
|
|
6
|
-
import { E as EventBus } from './events-
|
|
1
|
+
import { e as AgentPhase, b as AgentDefinition, F as FleetBus, o as FleetUsage, p as FleetUsageAggregator } from './multi-agent-coordinator-D8PLzfz6.js';
|
|
2
|
+
import { m as SubagentConfig, t as TaskResult, j as CoordinatorStatus, u as TaskSpec, M as MultiAgentConfig, s as SubagentRunner } from './multi-agent-7OK4pEKW.js';
|
|
3
|
+
import { B as SessionWriter, Q as Tool, y as SessionStore } from './context-z2x5gv_V.js';
|
|
4
|
+
import { a as DirectorStateSnapshot } from './director-state-BmYi3DGA.js';
|
|
5
|
+
import { I as InMemoryAgentBridge } from './agent-bridge-hXRN-GO_.js';
|
|
6
|
+
import { E as EventBus } from './events-D4pGukpI.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Agent catalog aggregator.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { e as MetricsSink, M as MetricLabels, f as MetricsSnapshot, b as HealthRegistry, H as HealthCheck, A as AggregateHealth, T as Tracer, S as Span } from '../observability-BhnVLBLS.js';
|
|
2
|
-
import { E as EventBus } from '../events-
|
|
3
|
-
import '../context-
|
|
2
|
+
import { E as EventBus } from '../events-D4pGukpI.js';
|
|
3
|
+
import '../context-z2x5gv_V.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* In-memory metrics sink. Suitable for embedded use, tests, and /metrics
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EventBus } from './events-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { E as EventBus } from './events-D4pGukpI.js';
|
|
2
|
+
import { b as ModelsRegistry, R as ResolvedModel } from './models-registry-BcYJDKLm.js';
|
|
3
|
+
import { O as TokenCounter, $ as Usage, C as CacheStats } from './context-z2x5gv_V.js';
|
|
4
4
|
import { P as PathResolver } from './path-resolver-CPRj4bFY.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as EventBus } from './events-
|
|
2
|
-
import {
|
|
3
|
-
import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-
|
|
1
|
+
import { E as EventBus } from './events-D4pGukpI.js';
|
|
2
|
+
import { y as SessionStore, x as SessionMetadata, B as SessionWriter, r as ResumedSession, S as SessionData, z as SessionSummary, c as ContentBlock, w as SessionEvent, N as TodoItem, f as ConversationState } from './context-z2x5gv_V.js';
|
|
3
|
+
import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-DsadjyF9.js';
|
|
4
4
|
import { b as MemoryStore, a as MemoryScope } from './memory-CEXuo7sz.js';
|
|
5
|
-
import {
|
|
6
|
-
import { c as ConfigStore, a as Config, b as ConfigLoader } from './config-
|
|
5
|
+
import { a as WstackPaths } from './wstack-paths-BGu2INTm.js';
|
|
6
|
+
import { c as ConfigStore, a as Config, b as ConfigLoader } from './config-Bi4Q0fnz.js';
|
|
7
7
|
import { S as SecretVault } from './secret-vault-DoISxaKO.js';
|
|
8
8
|
|
|
9
9
|
interface SessionStoreOptions {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as EventBus } from './events-
|
|
2
|
-
import {
|
|
1
|
+
import { E as EventBus } from './events-D4pGukpI.js';
|
|
2
|
+
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
3
3
|
import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { m as Provider, p as Request, d as Context, q as Response } from './context-z2x5gv_V.js';
|
|
5
|
+
import { a as RetryPolicy } from './retry-policy-OwtKNxo8.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Options passed to a ProviderRunner when calling the provider.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as Response, d as Context, n as ProviderError } from './context-z2x5gv_V.js';
|
|
2
2
|
|
|
3
3
|
type RecoveryDecision = {
|
|
4
4
|
/**
|
|
@@ -43,4 +43,4 @@ interface RetryPolicy {
|
|
|
43
43
|
maxAttempts(err: ProviderError | Error): number;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
export type { ErrorHandler as E,
|
|
46
|
+
export type { ErrorHandler as E, RecoveryDecision as R, RetryPolicy as a };
|
package/dist/sdd/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h as Specification, S as SpecAnalysis, g as SpecValidationResult, l as TaskGraph, m as TaskNode, k as TaskFilter, p as TaskSort, o as TaskProgress, r as TaskType, n as TaskPriority, e as SpecStatus, f as SpecTemplate, b as SpecRequirement } from '../task-graph-D1YQbpxF.js';
|
|
2
|
-
import { E as EventBus } from '../events-
|
|
3
|
-
import { D as DoneCondition } from '../multi-agent-
|
|
4
|
-
import '../context-
|
|
2
|
+
import { E as EventBus } from '../events-D4pGukpI.js';
|
|
3
|
+
import { D as DoneCondition } from '../multi-agent-7OK4pEKW.js';
|
|
4
|
+
import '../context-z2x5gv_V.js';
|
|
5
5
|
|
|
6
6
|
declare class SpecParser {
|
|
7
7
|
parse(content: string): Specification;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as SecretVault } from './secret-vault-DoISxaKO.js';
|
|
2
|
-
import { S as SecretScrubber } from './secret-scrubber-
|
|
2
|
+
import { S as SecretScrubber } from './secret-scrubber-nI8qjaqW.js';
|
|
3
3
|
|
|
4
4
|
interface SecretVaultOptions {
|
|
5
5
|
/** Absolute path to the key file. Created with mode 0o600 if missing. */
|
package/dist/security/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from '../secret-scrubber-
|
|
2
|
-
import {
|
|
1
|
+
export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from '../secret-scrubber-DXkhwuka.js';
|
|
2
|
+
import { Q as Tool, d as Context } from '../context-z2x5gv_V.js';
|
|
3
3
|
import { I as InputReader } from '../input-reader-E-ffP2ee.js';
|
|
4
|
-
import { a as PermissionPolicy, P as PermissionDecision } from '../secret-scrubber-
|
|
4
|
+
import { a as PermissionPolicy, P as PermissionDecision } from '../secret-scrubber-nI8qjaqW.js';
|
|
5
5
|
import '../secret-vault-DoISxaKO.js';
|
|
6
6
|
|
|
7
7
|
interface PermissionPolicyOptions {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as ContentBlock, w as SessionEvent, x as SessionMetadata, y as SessionStore } from './context-z2x5gv_V.js';
|
|
2
2
|
|
|
3
3
|
type AttachmentKind = 'text' | 'image' | 'file';
|
|
4
4
|
interface AttachmentMeta {
|
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, M as MemoryStoreOptions, j as MigrationContext, k as MigrationResult, P as PersistedQueueItem, l as PlanFile, m as PlanItem, n as PlanTemplate, Q as QueueStore, R as RecoveryLock, o as RecoveryLockOptions, S as SessionAnalyzer, p as SessionStoreOptions, T as TodosCheckpointFile, q as addPlanItem, r as attachPlanCheckpoint, s as attachTodosCheckpoint, t as clearPlan, u as deriveTodosFromPlanItem, v as emptyPlan, w as formatPlan, x as formatPlanTemplates, y as getPlanTemplate, z as listPlanTemplates, B as loadPlan, E as loadTodosCheckpoint, F as removePlanItem, G as runConfigMigrations, H as savePlan, I as saveTodosCheckpoint, J as setPlanItemStatus } from '../plan-templates-
|
|
2
|
-
export { D as DefaultSessionReader } from '../session-reader-
|
|
1
|
+
export { A as AbandonedSession, a as AttachmentStoreOptions, C as ConfigLoaderOptions, b as ConfigMigration, c as ConfigMigrationError, d as ConfigSource, D as DEFAULT_CONFIG_MIGRATIONS, e as DefaultAttachmentStore, f as DefaultConfigLoader, g as DefaultConfigStore, h as DefaultMemoryStore, i as DefaultSessionStore, M as MemoryStoreOptions, j as MigrationContext, k as MigrationResult, P as PersistedQueueItem, l as PlanFile, m as PlanItem, n as PlanTemplate, Q as QueueStore, R as RecoveryLock, o as RecoveryLockOptions, S as SessionAnalyzer, p as SessionStoreOptions, T as TodosCheckpointFile, q as addPlanItem, r as attachPlanCheckpoint, s as attachTodosCheckpoint, t as clearPlan, u as deriveTodosFromPlanItem, v as emptyPlan, w as formatPlan, x as formatPlanTemplates, y as getPlanTemplate, z as listPlanTemplates, B as loadPlan, E as loadTodosCheckpoint, F as removePlanItem, G as runConfigMigrations, H as savePlan, I as saveTodosCheckpoint, J as setPlanItemStatus } from '../plan-templates-DWbEIJvV.js';
|
|
2
|
+
export { D as DefaultSessionReader } from '../session-reader-DsadjyF9.js';
|
|
3
3
|
import { S as SessionRewinder, C as CheckpointInfo, a as RewindResultExtended } from '../session-rewinder-C9HnMkhP.js';
|
|
4
|
-
export {
|
|
4
|
+
export { D as DirectorStateCheckpoint, a as DirectorStateSnapshot, b as DirectorSubagentState, c as DirectorTaskState, l as loadDirectorState } from '../director-state-BmYi3DGA.js';
|
|
5
5
|
export { G as GoalFile, J as JournalEntry, M as MAX_JOURNAL_ENTRIES, a as appendJournal, e as emptyGoal, f as formatGoal, g as goalFilePath, l as loadGoal, s as saveGoal, b as summarizeUsage } from '../goal-store-HHgaq5ue.js';
|
|
6
|
-
import '../events-
|
|
7
|
-
import '../context-
|
|
6
|
+
import '../events-D4pGukpI.js';
|
|
7
|
+
import '../context-z2x5gv_V.js';
|
|
8
8
|
import '../memory-CEXuo7sz.js';
|
|
9
|
-
import '../wstack-paths-
|
|
10
|
-
import '../config-
|
|
11
|
-
import '../models-registry-
|
|
9
|
+
import '../wstack-paths-BGu2INTm.js';
|
|
10
|
+
import '../config-Bi4Q0fnz.js';
|
|
11
|
+
import '../models-registry-BcYJDKLm.js';
|
|
12
12
|
import '../secret-vault-DoISxaKO.js';
|
|
13
13
|
|
|
14
14
|
interface SessionRewinderOptions {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextBlock,
|
|
1
|
+
import { T as TextBlock, c as ContentBlock, Q as Tool } from './context-z2x5gv_V.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Container — dependency injection with explicit bind / override / decorate.
|
|
@@ -183,4 +183,4 @@ interface SystemPromptBuilder {
|
|
|
183
183
|
build(ctx: BuildContext): Promise<TextBlock[]>;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
export { type
|
|
186
|
+
export { type BindOptions as B, Container as C, type Decorator as D, type Factory as F, type Middleware as M, type NextFn as N, Pipeline as P, type ReadonlyPipeline as R, type SystemPromptBuilder as S, type Token as T, type BuildContext as a, type MiddlewareHandler as b, type ModelCapabilities as c, type PipelineOptions as d, type Renderer as e };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as Compactor, C as CompactReport } from './compactor-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { d as Context, n as ProviderError, Q as Tool, _ as ToolUseBlock, Y as ToolResultBlock } from './context-z2x5gv_V.js';
|
|
2
|
+
import { a as Compactor, C as CompactReport } from './compactor-Mw7-rNyb.js';
|
|
3
|
+
import { R as RecoveryDecision, E as ErrorHandler, a as RetryPolicy } from './retry-policy-OwtKNxo8.js';
|
|
4
|
+
import { b as ModelsRegistry } from './models-registry-BcYJDKLm.js';
|
|
5
|
+
import { x as ToolExecutorOptions, y as ToolExecutorStrategy, T as ToolBatchResult } from './index-BUHs7xJ9.js';
|
|
6
6
|
|
|
7
7
|
interface CompactorOptions {
|
|
8
8
|
preserveK?: number;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export { A as AgentError,
|
|
2
|
-
export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-
|
|
3
|
-
export { C as CONTEXT_WINDOW_MODES, a as Config, b as ConfigLoader, c as ConfigStore, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, M as MCPServerConfig, P as PluginConfig, k as ProviderApiKey, l as ProviderConfig, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from '../config-
|
|
4
|
-
export { C as CompactReport, a as Compactor } from '../compactor-
|
|
5
|
-
export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../secret-scrubber-
|
|
1
|
+
export { A as AgentError, a as Capabilities, b as ConfigError, c as ContentBlock, E as ERROR_CODES, g as ErrorCode, h as ErrorSeverity, i as ErrorSubsystem, F as FileSnapshot, j as FsError, I as ImageBlock, J as JSONSchema, M as Message, k as MessageRole, P as Permission, l as PluginError, m as Provider, n as ProviderError, o as ProviderErrorBody, p as Request, q as Response, r as ResumedSession, s as RiskTier, S as SessionData, v as SessionError, w as SessionEvent, x as SessionMetadata, y as SessionStore, z as SessionSummary, B as SessionWriter, H as StopReason, K as StreamEvent, T as TextBlock, L as ThinkingBlock, Q as Tool, U as ToolCallContext, V as ToolError, W as ToolFinalEvent, X as ToolProgressEvent, Y as ToolResultBlock, Z as ToolStreamEvent, _ as ToolUseBlock, $ as Usage, a0 as WrongStackError, a1 as asBlocks, a2 as asText, a4 as isAgentError, a5 as isConfigError, a6 as isFsError, a7 as isImageBlock, a8 as isPluginError, a9 as isSessionError, aa as isTextBlock, ab as isThinkingBlock, ac as isToolError, ad as isToolResultBlock, ae as isToolUseBlock, af as isWrongStackError, ag as toWrongStackError } from '../context-z2x5gv_V.js';
|
|
2
|
+
export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-iST8U3ni.js';
|
|
3
|
+
export { C as CONTEXT_WINDOW_MODES, a as Config, b as ConfigLoader, c as ConfigStore, d as ContextConfig, e as ContextWindowAggressiveOn, f as ContextWindowConfigLike, g as ContextWindowMode, h as ContextWindowModeId, i as ContextWindowPolicy, j as ContextWindowThresholds, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, L as LogConfig, M as MCPServerConfig, P as PluginConfig, k as ProviderApiKey, l as ProviderConfig, T as ToolsConfig, m as formatContextWindowModeList, n as getContextWindowMode, o as isContextWindowModeId, p as listContextWindowModes, r as resolveContextWindowPolicy } from '../config-Bi4Q0fnz.js';
|
|
4
|
+
export { C as CompactReport, a as Compactor } from '../compactor-Mw7-rNyb.js';
|
|
5
|
+
export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../secret-scrubber-nI8qjaqW.js';
|
|
6
6
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from '../session-rewinder-C9HnMkhP.js';
|
|
7
|
-
export { A as AddAttachmentInput, a as Attachment, b as AttachmentKind, c as AttachmentMeta, d as AttachmentRef, e as AttachmentStore, D as DefaultSessionReader } from '../session-reader-
|
|
7
|
+
export { A as AddAttachmentInput, a as Attachment, b as AttachmentKind, c as AttachmentMeta, d as AttachmentRef, e as AttachmentStore, D as DefaultSessionReader } from '../session-reader-DsadjyF9.js';
|
|
8
8
|
export { D as DEFAULT_CONTEXT_CONFIG, a as DEFAULT_TOOLS_CONFIG } from '../default-config-DvRSTELf.js';
|
|
9
|
-
export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from '../secret-scrubber-
|
|
10
|
-
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-
|
|
11
|
-
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-
|
|
9
|
+
export { D as DefaultSecretScrubber, a as DefaultSecretVault, S as SecretVaultOptions, d as decryptConfigSecrets, e as encryptConfigSecrets, m as migratePlaintextSecrets, r as rewriteConfigEncrypted } from '../secret-scrubber-DXkhwuka.js';
|
|
10
|
+
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-bOzkF5LL.js';
|
|
11
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-DPUjF10O.js';
|
|
12
12
|
export { M as MemoryEntry, a as MemoryScope, b as MemoryStore } from '../memory-CEXuo7sz.js';
|
|
13
|
-
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, c as buildRecoveryStrategies } from '../tool-executor-
|
|
13
|
+
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, c as buildRecoveryStrategies } from '../tool-executor-Tutu4ePV.js';
|
|
14
14
|
export { S as SkillEntry, a as SkillLoader, b as SkillManifest } from '../skill-CxuWrsKK.js';
|
|
15
|
-
export {
|
|
15
|
+
export { a as BuildContext, c as ModelCapabilities, e as Renderer, S as SystemPromptBuilder } from '../system-prompt-CWA6ml-d.js';
|
|
16
16
|
export { I as InputReader, P as PromptOption } from '../input-reader-E-ffP2ee.js';
|
|
17
|
-
export { M as MCPRegistryView,
|
|
18
|
-
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-
|
|
17
|
+
export { M as MCPRegistryView, j as MetricsSinkView, P as Plugin, k as PluginAPI, l as PluginCapabilities, m as PluginDependency, n as PluginPipelines, o as ProviderFactory, r as ProviderRegistryView, S as SessionWriterView, u as SlashCommand, v as SlashCommandRegistryView, w as SystemPromptContributor, C as ToolRegistryView } from '../index-BUHs7xJ9.js';
|
|
18
|
+
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-OG_30xqZ.js';
|
|
19
19
|
export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest, c as ModeStore } from '../mode-CV077NjV.js';
|
|
20
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-
|
|
21
|
-
export { C as CoordinatorEvents,
|
|
20
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-hXRN-GO_.js';
|
|
21
|
+
export { C as CoordinatorEvents, j as CoordinatorStatus, D as DoneCondition, M as MultiAgentConfig, k as MultiAgentCoordinator, S as SpawnResult, m as SubagentConfig, n as SubagentContext, o as SubagentError, p as SubagentErrorKind, q as SubagentRunContext, r as SubagentRunOutcome, s as SubagentRunner, T as TaskDelegation, t as TaskResult, u as TaskSpec } from '../multi-agent-7OK4pEKW.js';
|
|
22
22
|
export { C as CriticalPathResult, D as DEFAULT_SPEC_TEMPLATE, S as SpecAnalysis, a as SpecApiEndpoint, b as SpecRequirement, c as SpecSection, d as SpecSectionType, e as SpecStatus, f as SpecTemplate, g as SpecValidationResult, h as Specification, T as TaskAssignment, i as TaskDependency, j as TaskEdge, k as TaskFilter, l as TaskGraph, m as TaskNode, n as TaskPriority, o as TaskProgress, p as TaskSort, q as TaskStatus, r as TaskType, s as computeTaskProgress, t as findCriticalPath, u as topologicalSort } from '../task-graph-D1YQbpxF.js';
|
|
23
23
|
export { A as AggregateHealth, H as HealthCheck, a as HealthCheckResult, b as HealthRegistry, c as HealthStatus, M as MetricLabels, d as MetricSeries, e as MetricsSink, f as MetricsSnapshot, S as Span, T as Tracer } from '../observability-BhnVLBLS.js';
|
|
24
|
-
import '../events-
|
|
25
|
-
import '../logger-
|
|
26
|
-
import '../retry-policy-
|
|
27
|
-
import '../models-registry-
|
|
24
|
+
import '../events-D4pGukpI.js';
|
|
25
|
+
import '../logger-DDd5C--Z.js';
|
|
26
|
+
import '../retry-policy-OwtKNxo8.js';
|
|
27
|
+
import '../models-registry-BcYJDKLm.js';
|
|
28
28
|
import '../secret-vault-DoISxaKO.js';
|
|
29
29
|
import '../path-resolver-CPRj4bFY.js';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { N as TodoItem, M as Message, J as JSONSchema } from '../context-z2x5gv_V.js';
|
|
2
|
+
export { W as WstackPathOptions, a as WstackPaths, p as projectHash, r as resolveWstackPaths } from '../wstack-paths-BGu2INTm.js';
|
|
3
3
|
|
|
4
4
|
interface AtomicWriteOptions {
|
|
5
5
|
mode?: number;
|
|
@@ -60,4 +60,4 @@ interface WstackPathOptions {
|
|
|
60
60
|
}
|
|
61
61
|
declare function resolveWstackPaths(opts: WstackPathOptions): WstackPaths;
|
|
62
62
|
|
|
63
|
-
export { type
|
|
63
|
+
export { type WstackPathOptions as W, type WstackPaths as a, projectHash as p, resolveWstackPaths as r };
|