@wrongstack/core 0.236.0 → 0.250.0
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-Cimv7bK7.d.ts → agent-bridge-4gc0vfW2.d.ts} +1 -1
- package/dist/{agent-subagent-runner-C658wj_c.d.ts → agent-subagent-runner-Dz-9kiE6.d.ts} +3 -3
- package/dist/{config-Koq6f3fs.d.ts → config-eSsrto5d.d.ts} +6 -0
- package/dist/coordination/index.d.ts +10 -10
- package/dist/coordination/index.js +5 -3
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +12 -12
- package/dist/defaults/index.js +8 -10
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +7 -7
- package/dist/execution/index.js +5 -3
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +3 -3
- package/dist/{goal-preamble-CnbzyVvl.d.ts → goal-preamble-BjJpnLW4.d.ts} +4 -4
- package/dist/{index-BlMqh5GO.d.ts → index-Dy8OwfBD.d.ts} +2 -2
- package/dist/{index-C2eSNPsB.d.ts → index-IehiNryU.d.ts} +2 -2
- package/dist/index.d.ts +22 -22
- package/dist/index.js +18 -16
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +3 -3
- package/dist/kernel/index.d.ts +3 -3
- package/dist/{mcp-servers-DFbirBv6.d.ts → mcp-servers-DfXxCASH.d.ts} +1 -1
- package/dist/models/index.d.ts +2 -2
- package/dist/{models-registry-CnJRjTXc.d.ts → models-registry-DpanBg8D.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-60weDZoA.d.ts → multi-agent-coordinator-CnbEqpv0.d.ts} +1 -1
- package/dist/{null-fleet-bus-1068dEnr.d.ts → null-fleet-bus-Do1OLYpj.d.ts} +4 -4
- package/dist/{package-outdated-watcher-pzJ5w7y8.d.ts → package-outdated-watcher-CA5GGB4C.d.ts} +1 -1
- package/dist/{parallel-eternal-engine-DtG1fjc9.d.ts → parallel-eternal-engine-UZg1xOzE.d.ts} +4 -4
- package/dist/{path-resolver-CA1ULU0J.d.ts → path-resolver-BaP06Owy.d.ts} +1 -1
- package/dist/{pipeline-DsmlwTXu.d.ts → pipeline-D1n-gQI-.d.ts} +1 -1
- package/dist/{plan-templates-DPABrDvy.d.ts → plan-templates-BUVRY0pU.d.ts} +1 -1
- package/dist/sdd/index.d.ts +4 -4
- package/dist/sdd/index.js +6 -8
- package/dist/sdd/index.js.map +1 -1
- package/dist/storage/index.d.ts +5 -5
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +10 -10
- package/dist/types/index.js +5 -3
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +11 -2
- package/dist/utils/index.js +6 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { D as DefaultLogger, a as DefaultLoggerOptions, L as LogFormat } from '../logger-DmmQhf4P.js';
|
|
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, p as playwrightServer, s as sentinelServer, q as slackServer, z as zaiVisionServer } from '../mcp-servers-
|
|
2
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-BaP06Owy.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, p as playwrightServer, s as sentinelServer, q as slackServer, z as zaiVisionServer } from '../mcp-servers-DfXxCASH.js';
|
|
4
4
|
import '../logger-B63L5bTg.js';
|
|
5
5
|
import '../brain-sCZ3lCjq.js';
|
|
6
6
|
import '../context-CLz3z_E8.js';
|
|
7
|
-
import '../config-
|
|
7
|
+
import '../config-eSsrto5d.js';
|
|
8
8
|
import '../path-resolver-CPRj4bFY.js';
|
|
9
9
|
import '../compactor-BRfg3QPd.js';
|
package/dist/kernel/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { o as BindOptions, C as Container, D as Decorator, F as Factory, p as Middleware, M as MiddlewareHandler, N as NextFn, P as Pipeline, q as PipelineOptions, T as Token } from '../pipeline-
|
|
1
|
+
export { o as BindOptions, C as Container, D as Decorator, F as Factory, p as Middleware, M as MiddlewareHandler, N as NextFn, P as Pipeline, q as PipelineOptions, T as Token } from '../pipeline-D1n-gQI-.js';
|
|
2
2
|
export { E as EventBus, n as EventLogger, o as EventMap, a as EventName, L as Listener, w as ScopedEventBus } from '../brain-sCZ3lCjq.js';
|
|
3
|
-
export { R as RunController, b as RunControllerOptions, T as TOKENS } from '../index-
|
|
3
|
+
export { R as RunController, b as RunControllerOptions, T as TOKENS } from '../index-Dy8OwfBD.js';
|
|
4
4
|
import '../context-CLz3z_E8.js';
|
|
5
|
-
import '../config-
|
|
5
|
+
import '../config-eSsrto5d.js';
|
|
6
6
|
import '../compactor-BRfg3QPd.js';
|
|
7
7
|
import '../retry-policy-BVnkbMET.js';
|
|
8
8
|
import '../input-reader-E-ffP2ee.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as Compactor } from './compactor-BRfg3QPd.js';
|
|
2
2
|
import { M as Message, T as Tool } from './context-CLz3z_E8.js';
|
|
3
|
-
import { c as MCPServerConfig } from './config-
|
|
3
|
+
import { c as MCPServerConfig } from './config-eSsrto5d.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,6 +1,6 @@
|
|
|
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-DpanBg8D.js';
|
|
2
2
|
export { D as DefaultModeStore, L as LLMSelector, a as LLMSelectorOptions, M as ModeLoaderOptions, l as loadProjectModes, b as loadUserModes } from '../llm-selector-D22R4AFz.js';
|
|
3
|
-
import { d as ModelMatrixEntry, P as ProviderConfig } from '../config-
|
|
3
|
+
import { d as ModelMatrixEntry, P as ProviderConfig } from '../config-eSsrto5d.js';
|
|
4
4
|
import '../mode-CZlO9iU1.js';
|
|
5
5
|
import '../context-CLz3z_E8.js';
|
|
6
6
|
import '../selector-Cb4_9-hf.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ModelsRegistry, a as ModelsDevPayload, R as ResolvedProvider, b as ResolvedModel, W as WireFamily } from './config-
|
|
1
|
+
import { M as ModelsRegistry, a as ModelsDevPayload, R as ResolvedProvider, b as ResolvedModel, W as WireFamily } from './config-eSsrto5d.js';
|
|
2
2
|
|
|
3
3
|
interface DefaultModelsRegistryOptions {
|
|
4
4
|
cacheFile: string;
|
package/dist/{multi-agent-coordinator-60weDZoA.d.ts → multi-agent-coordinator-CnbEqpv0.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SubagentConfig, M as MultiAgentCoordinator, c as MultiAgentConfig, d as SubagentRunner, F as FleetBus, e as SpawnResult, T as TaskSpec, a as BridgeMessage, A as AgentBridge, C as CoordinatorStatus, f as TaskResult } from './agent-subagent-runner-
|
|
1
|
+
import { S as SubagentConfig, M as MultiAgentCoordinator, c as MultiAgentConfig, d as SubagentRunner, F as FleetBus, e as SpawnResult, T as TaskSpec, a as BridgeMessage, A as AgentBridge, C as CoordinatorStatus, f as TaskResult } from './agent-subagent-runner-Dz-9kiE6.js';
|
|
2
2
|
import { EventEmitter } from 'node:events';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as AgentPhase, A as AgentDefinition, a as DefaultMultiAgentCoordinator, D as DispatchClassifier } from './multi-agent-coordinator-
|
|
2
|
-
import { F as FleetBus, u as FleetUsage, S as SubagentConfig, v as FleetUsageAggregator, f as TaskResult, C as CoordinatorStatus, T as TaskSpec, c as MultiAgentConfig, d as SubagentRunner } from './agent-subagent-runner-
|
|
1
|
+
import { d as AgentPhase, A as AgentDefinition, a as DefaultMultiAgentCoordinator, D as DispatchClassifier } from './multi-agent-coordinator-CnbEqpv0.js';
|
|
2
|
+
import { F as FleetBus, u as FleetUsage, S as SubagentConfig, v as FleetUsageAggregator, f as TaskResult, C as CoordinatorStatus, T as TaskSpec, c as MultiAgentConfig, d as SubagentRunner } from './agent-subagent-runner-Dz-9kiE6.js';
|
|
3
3
|
import { a as SessionWriter, T as Tool, i as SessionStore } from './context-CLz3z_E8.js';
|
|
4
4
|
import { B as BrainArbiter, E as EventBus } from './brain-sCZ3lCjq.js';
|
|
5
5
|
import { EventEmitter } from 'node:events';
|
|
6
6
|
import { D as DirectorStateSnapshot } from './director-state-BfeCUbmk.js';
|
|
7
|
-
import { d as ModelMatrixEntry } from './config-
|
|
8
|
-
import { I as InMemoryAgentBridge } from './agent-bridge-
|
|
7
|
+
import { d as ModelMatrixEntry } from './config-eSsrto5d.js';
|
|
8
|
+
import { I as InMemoryAgentBridge } from './agent-bridge-4gc0vfW2.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Alert levels the Director can emit when a collab session needs attention.
|
package/dist/{package-outdated-watcher-pzJ5w7y8.d.ts → package-outdated-watcher-CA5GGB4C.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as Mailbox, c as MailboxSendInput, d as MailboxMessage, e as MailboxQuery, f as MailboxAckInput, g as MailboxAgentStatus, A as AgentRegistrationInput, h as AgentHeartbeatInput } from './pipeline-
|
|
1
|
+
import { b as Mailbox, c as MailboxSendInput, d as MailboxMessage, e as MailboxQuery, f as MailboxAckInput, g as MailboxAgentStatus, A as AgentRegistrationInput, h as AgentHeartbeatInput } from './pipeline-D1n-gQI-.js';
|
|
2
2
|
import { E as EventBus, B as BrainArbiter } from './brain-sCZ3lCjq.js';
|
|
3
3
|
import { C as Context, T as Tool } from './context-CLz3z_E8.js';
|
|
4
4
|
|
package/dist/{parallel-eternal-engine-DtG1fjc9.d.ts → parallel-eternal-engine-UZg1xOzE.d.ts}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { e as ProviderError, C as Context, T as Tool, l as ToolUseBlock, m as ToolResultBlock } from './context-CLz3z_E8.js';
|
|
2
2
|
import { R as RetryPolicy, E as ErrorHandler, a as RecoveryDecision } from './retry-policy-BVnkbMET.js';
|
|
3
3
|
import { C as Compactor, a as CompactReport } from './compactor-BRfg3QPd.js';
|
|
4
|
-
import { M as ModelsRegistry } from './config-
|
|
5
|
-
import { T as ToolExecutorOptions, a as ToolExecutorStrategy, b as ToolBatchResult } from './index-
|
|
6
|
-
import { g as Agent, h as AgentFactory } from './agent-subagent-runner-
|
|
4
|
+
import { M as ModelsRegistry } from './config-eSsrto5d.js';
|
|
5
|
+
import { T as ToolExecutorOptions, a as ToolExecutorStrategy, b as ToolBatchResult } from './index-IehiNryU.js';
|
|
6
|
+
import { g as Agent, h as AgentFactory } from './agent-subagent-runner-Dz-9kiE6.js';
|
|
7
7
|
import { B as BrainArbiter } from './brain-sCZ3lCjq.js';
|
|
8
8
|
import { J as JournalEntry } from './goal-store-CV9Yz2X_.js';
|
|
9
|
-
import { D as DispatchClassifier, a as DefaultMultiAgentCoordinator } from './multi-agent-coordinator-
|
|
9
|
+
import { D as DispatchClassifier, a as DefaultMultiAgentCoordinator } from './multi-agent-coordinator-CnbEqpv0.js';
|
|
10
10
|
|
|
11
11
|
declare class DefaultRetryPolicy implements RetryPolicy {
|
|
12
12
|
shouldRetry(err: Error | ProviderError, attempt: number): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as EventBus } from './brain-sCZ3lCjq.js';
|
|
2
|
-
import { M as ModelsRegistry, b as ResolvedModel } from './config-
|
|
2
|
+
import { M as ModelsRegistry, b as ResolvedModel } from './config-eSsrto5d.js';
|
|
3
3
|
import { c as TokenCounter, U as Usage, d as CacheStats } from './context-CLz3z_E8.js';
|
|
4
4
|
import { P as PathResolver } from './path-resolver-CPRj4bFY.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as Tool, n as TextBlock, g as ContentBlock } from './context-CLz3z_E8.js';
|
|
2
|
-
import { H as HookEvent, e as HookMatcher, I as InProcessHook, S as ShellHook, f as HookEntry } from './config-
|
|
2
|
+
import { H as HookEvent, e as HookMatcher, I as InProcessHook, S as ShellHook, f as HookEntry } from './config-eSsrto5d.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Mailbox — persistent inter-agent messaging system with cross-session support.
|
|
@@ -3,7 +3,7 @@ import { S as SecretScrubber } from './permission-DbWPbuoA.js';
|
|
|
3
3
|
import { i as SessionStore, h as SessionMetadata, a as SessionWriter, p as ResumedSession, q as SessionData, r as SessionSummary, g as ContentBlock, S as SessionEvent, s as TodoItem, t as ConversationState } from './context-CLz3z_E8.js';
|
|
4
4
|
import { A as AttachmentStore, a as AddAttachmentInput, b as AttachmentRef, c as Attachment } from './session-reader-CCOssnBS.js';
|
|
5
5
|
import { W as WstackPaths } from './wstack-paths-CJjEwPXn.js';
|
|
6
|
-
import { i as ConfigStore, h as Config, j as ConfigLoader, k as SyncConfig } from './config-
|
|
6
|
+
import { i as ConfigStore, h as Config, j as ConfigLoader, k as SyncConfig } from './config-eSsrto5d.js';
|
|
7
7
|
import { S as SecretVault } from './secret-vault-BJDY28ev.js';
|
|
8
8
|
|
|
9
9
|
interface SessionStoreOptions {
|
package/dist/sdd/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h as Specification, S as SpecAnalysis, g as SpecValidationResult, e as SpecStatus, f as SpecTemplate, b as SpecRequirement } from '../spec-TBi3Jr6T.js';
|
|
2
2
|
import { d as TaskGraph, e as TaskNode, i as TaskFilter, j as TaskSort, c as TaskProgress, T as TaskType, a as TaskPriority } from '../task-graph-u1q9Jkyk.js';
|
|
3
3
|
import { E as EventBus } from '../brain-sCZ3lCjq.js';
|
|
4
|
-
import { D as DoneCondition, g as Agent, h as AgentFactory, f as TaskResult } from '../agent-subagent-runner-
|
|
4
|
+
import { D as DoneCondition, g as Agent, h as AgentFactory, f as TaskResult } from '../agent-subagent-runner-Dz-9kiE6.js';
|
|
5
5
|
import '../context-CLz3z_E8.js';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-IehiNryU.js';
|
|
7
7
|
import '../logger-B63L5bTg.js';
|
|
8
|
-
import '../pipeline-
|
|
9
|
-
import '../config-
|
|
8
|
+
import '../pipeline-D1n-gQI-.js';
|
|
9
|
+
import '../config-eSsrto5d.js';
|
|
10
10
|
import '../observability-D-HZN_mF.js';
|
|
11
11
|
import '../permission-DbWPbuoA.js';
|
|
12
12
|
import '../retry-policy-BVnkbMET.js';
|
package/dist/sdd/index.js
CHANGED
|
@@ -2016,6 +2016,11 @@ function templateToMarkdown(template, title) {
|
|
|
2016
2016
|
return lines.join("\n");
|
|
2017
2017
|
}
|
|
2018
2018
|
|
|
2019
|
+
// src/utils/string.ts
|
|
2020
|
+
function truncate(s, max) {
|
|
2021
|
+
return s.length <= max ? s : `${s.slice(0, max - 1)}\u2026`;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2019
2024
|
// src/sdd/task-visualizer.ts
|
|
2020
2025
|
var STATUS_ICON = {
|
|
2021
2026
|
pending: "\u25CB",
|
|
@@ -2166,10 +2171,6 @@ function renderSpecAnalysis(spec, analysis) {
|
|
|
2166
2171
|
}
|
|
2167
2172
|
return lines.join("\n");
|
|
2168
2173
|
}
|
|
2169
|
-
function truncate(str, maxLen) {
|
|
2170
|
-
if (str.length <= maxLen) return str;
|
|
2171
|
-
return str.slice(0, maxLen - 1) + "\u2026";
|
|
2172
|
-
}
|
|
2173
2174
|
|
|
2174
2175
|
// src/sdd/critical-path.ts
|
|
2175
2176
|
function analyzeCriticalPath(graph) {
|
|
@@ -3357,7 +3358,7 @@ var ProviderError = class extends WrongStackError {
|
|
|
3357
3358
|
const detail = this.body?.message?.trim();
|
|
3358
3359
|
const reqId = this.body?.requestId ? ` [req ${this.body.requestId.slice(0, 16)}${this.body.requestId.length > 16 ? "\u2026" : ""}]` : "";
|
|
3359
3360
|
if (detail && detail.length > 0) {
|
|
3360
|
-
return `${head}: ${
|
|
3361
|
+
return `${head}: ${truncate(detail, 240)}${reqId}`;
|
|
3361
3362
|
}
|
|
3362
3363
|
return `${head}${reqId}`;
|
|
3363
3364
|
}
|
|
@@ -3375,9 +3376,6 @@ function describeStatus(status, type) {
|
|
|
3375
3376
|
if (type) return `${type} (${status})`;
|
|
3376
3377
|
return `HTTP ${status}`;
|
|
3377
3378
|
}
|
|
3378
|
-
function truncate2(s, n) {
|
|
3379
|
-
return s.length <= n ? s : `${s.slice(0, n - 1)}\u2026`;
|
|
3380
|
-
}
|
|
3381
3379
|
function providerStatusToCode(status, type) {
|
|
3382
3380
|
if (status === 0) return ERROR_CODES.PROVIDER_NETWORK_ERROR;
|
|
3383
3381
|
if (type === "rate_limit_error" || status === 429) return ERROR_CODES.PROVIDER_RATE_LIMITED;
|