@wrongstack/core 0.68.0 → 0.73.1
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-D-j6OOBT.d.ts → agent-bridge-C0Ze7Ldm.d.ts} +1 -1
- package/dist/{agent-subagent-runner-DRZ9-NnR.d.ts → agent-subagent-runner-BmITbs1Q.d.ts} +13 -5
- package/dist/{config--86aHSln.d.ts → config-Dy0CK_o6.d.ts} +44 -1
- package/dist/coordination/index.d.ts +10 -10
- package/dist/coordination/index.js +10 -4
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +15 -15
- package/dist/defaults/index.js +53 -22
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-CIplI98R.d.ts → events-BBAlxBuw.d.ts} +8 -0
- package/dist/execution/index.d.ts +8 -8
- package/dist/execution/index.js +4 -4
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +5 -5
- package/dist/{index-DKUvyTvV.d.ts → index-BN6i2Nfg.d.ts} +4 -4
- package/dist/{index-b5uhfTSl.d.ts → index-yQbZ2NQx.d.ts} +6 -6
- package/dist/index.d.ts +29 -27
- package/dist/index.js +154 -33
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +4 -4
- package/dist/kernel/index.d.ts +7 -7
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-DwoNBf6r.d.ts → mcp-servers-T0O6UN_w.d.ts} +1 -1
- package/dist/{mode-CV077NjV.d.ts → mode-BO4SEUIv.d.ts} +7 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +18 -9
- package/dist/models/index.js.map +1 -1
- package/dist/{multi-agent-coordinator-CWnH-CiX.d.ts → multi-agent-coordinator-BSBbZt0e.d.ts} +1 -1
- package/dist/{null-fleet-bus-CuN0ObJr.d.ts → null-fleet-bus-BCIRT_nV.d.ts} +19 -9
- package/dist/observability/index.d.ts +1 -1
- package/dist/{parallel-eternal-engine-0UwotoSx.d.ts → parallel-eternal-engine-CjAYGaCw.d.ts} +3 -3
- package/dist/{path-resolver-DVkEcIw8.d.ts → path-resolver-BnqXa9Ze.d.ts} +1 -1
- package/dist/{permission-C1A5whY5.d.ts → permission-V5BLOrY6.d.ts} +0 -4
- package/dist/{permission-policy-B2dK-T5N.d.ts → permission-policy-CBVx-d-8.d.ts} +1 -5
- package/dist/{plan-templates-Bprrzhbu.d.ts → plan-templates-DBgrTGPu.d.ts} +2 -2
- package/dist/{provider-runner-mXvXGSIw.d.ts → provider-runner-n3KkHT_w.d.ts} +1 -1
- package/dist/sdd/index.d.ts +6 -6
- package/dist/sdd/index.js +3 -3
- package/dist/sdd/index.js.map +1 -1
- package/dist/security/index.d.ts +2 -2
- package/dist/security/index.js +0 -8
- package/dist/security/index.js.map +1 -1
- package/dist/skills/index.js +1 -0
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +3 -3
- package/dist/storage/index.js +26 -2
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-b61lOd49.d.ts → system-prompt-CA11g6Jo.d.ts} +1 -1
- package/dist/types/index.d.ts +13 -13
- package/dist/types/index.js +19 -10
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.js +2 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as HookEvent, n as HookMatcher, I as InProcessHook,
|
|
1
|
+
import { l as HookEvent, n as HookMatcher, I as InProcessHook, u as ShellHook, H as HookEntry } from './config-Dy0CK_o6.js';
|
|
2
2
|
import { T as TextBlock, c as ContentBlock, Q as Tool } from './context-y87Jc5ei.js';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
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-y87Jc5ei.js';
|
|
2
|
-
export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-
|
|
3
|
-
export { A as AutonomyConfig, 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, k as CustomModelDefinition, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, H as HookEntry, l as HookEvent, m as HookInput, n as HookMatcher, o as HookOutcome, I as InProcessHook, L as LogConfig, M as MCPServerConfig,
|
|
2
|
+
export { P as ProviderRunner, R as RunProviderOptions } from '../provider-runner-n3KkHT_w.js';
|
|
3
|
+
export { A as AutonomyConfig, 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, k as CustomModelDefinition, D as DEFAULT_CONTEXT_WINDOW_MODE_ID, F as FeaturesConfig, H as HookEntry, l as HookEvent, m as HookInput, n as HookMatcher, o as HookOutcome, I as InProcessHook, p as IndexingConfig, L as LaunchConfig, q as LogConfig, M as MCPServerConfig, r as ModelMatrixEntry, P as PluginConfig, s as ProviderApiKey, t as ProviderConfig, S as SessionLoggingConfig, u as ShellHook, v as SyncCategory, w as SyncConfig, T as ToolsConfig, x as formatContextWindowModeList, y as getContextWindowMode, z as isContextWindowModeId, B as listContextWindowModes, E as resolveContextWindowPolicy } from '../config-Dy0CK_o6.js';
|
|
4
4
|
export { C as CompactReport, a as Compactor } from '../compactor-D_ExJajC.js';
|
|
5
|
-
export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../permission-
|
|
5
|
+
export { P as PermissionDecision, a as PermissionPolicy, T as TrustPolicy } from '../permission-V5BLOrY6.js';
|
|
6
6
|
export { C as CheckpointInfo, R as RewindResult, a as RewindResultExtended, S as SessionRewinder } from '../session-rewinder-C9HnMkhP.js';
|
|
7
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-BIpwM60D.js';
|
|
8
8
|
export { D as DEFAULT_AUTONOMY_CONFIG, a as DEFAULT_CONTEXT_CONFIG, b as DEFAULT_SESSION_LOGGING_CONFIG, c as DEFAULT_TOOLS_CONFIG } from '../default-config-DEXI4jsl.js';
|
|
9
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-7rSC_emZ.js';
|
|
10
10
|
export { D as DefaultLogger, a as DefaultLoggerOptions } from '../logger-bOzkF5LL.js';
|
|
11
|
-
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-
|
|
11
|
+
export { D as DefaultPathResolver, a as DefaultTokenCounter } from '../path-resolver-BnqXa9Ze.js';
|
|
12
12
|
export { M as MemoryEntry, a as MemoryScope, b as MemoryStore } from '../memory-CEXuo7sz.js';
|
|
13
|
-
import { I as IterationStage, g as ParallelIterationStage } from '../parallel-eternal-engine-
|
|
14
|
-
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, h as buildRecoveryStrategies } from '../parallel-eternal-engine-
|
|
13
|
+
import { I as IterationStage, g as ParallelIterationStage } from '../parallel-eternal-engine-CjAYGaCw.js';
|
|
14
|
+
export { C as CompactorOptions, D as DEFAULT_RECOVERY_STRATEGIES, a as DefaultErrorHandler, b as DefaultRetryPolicy, H as HybridCompactor, R as RecoveryStrategy, T as ToolExecutor, h as buildRecoveryStrategies } from '../parallel-eternal-engine-CjAYGaCw.js';
|
|
15
15
|
export { S as SkillEntry, a as SkillLoader, b as SkillManifest } from '../skill-CxuWrsKK.js';
|
|
16
|
-
export { a as BuildContext, c as ModelCapabilities, e as Renderer, S as SystemPromptBuilder } from '../system-prompt-
|
|
16
|
+
export { a as BuildContext, c as ModelCapabilities, e as Renderer, S as SystemPromptBuilder } from '../system-prompt-CA11g6Jo.js';
|
|
17
17
|
export { I as InputReader, P as PromptOption } from '../input-reader-E-ffP2ee.js';
|
|
18
|
-
export { C as CoordinatorEvents, o as CoordinatorStatus, D as DoneCondition, M as MCPRegistryView, t as MetricsSinkView, u as MultiAgentConfig, v as MultiAgentCoordinator, P as Plugin, w as PluginAPI, x as PluginCapabilities, y as PluginDependency, z as PluginPipelines, E as ProviderFactory, G as ProviderRegistryView, S as SessionWriterView, H as SlashCommand, I as SlashCommandRegistryView, J as SpawnResult, L as SubagentConfig, N as SubagentContext, O as SubagentError, Q as SubagentErrorKind, R as SubagentRunContext, T as SubagentRunOutcome, U as SubagentRunner, W as TaskDelegation, X as TaskResult, Y as TaskSpec, Z as ToolRegistryView } from '../agent-subagent-runner-
|
|
18
|
+
export { C as CoordinatorEvents, o as CoordinatorStatus, D as DoneCondition, M as MCPRegistryView, t as MetricsSinkView, u as MultiAgentConfig, v as MultiAgentCoordinator, P as Plugin, w as PluginAPI, x as PluginCapabilities, y as PluginDependency, z as PluginPipelines, E as ProviderFactory, G as ProviderRegistryView, S as SessionWriterView, H as SlashCommand, I as SlashCommandRegistryView, J as SpawnResult, L as SubagentConfig, N as SubagentContext, O as SubagentError, Q as SubagentErrorKind, R as SubagentRunContext, T as SubagentRunOutcome, U as SubagentRunner, W as TaskDelegation, X as TaskResult, Y as TaskSpec, Z as ToolRegistryView } from '../agent-subagent-runner-BmITbs1Q.js';
|
|
19
19
|
export { D as DefaultModelsRegistry, a as DefaultModelsRegistryOptions, c as classifyFamily } from '../models-registry-Cuq1C8V9.js';
|
|
20
|
-
export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest, c as ModeStore } from '../mode-
|
|
21
|
-
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-
|
|
20
|
+
export { D as DEFAULT_MODES, M as Mode, a as ModeConfig, b as ModeManifest, c as ModeStore } from '../mode-BO4SEUIv.js';
|
|
21
|
+
export { I as InMemoryAgentBridge, a as InMemoryBridgeTransport, c as createMessage } from '../agent-bridge-C0Ze7Ldm.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
|
-
export { S as SystemPromptContributor } from '../index-
|
|
25
|
-
import '../events-
|
|
24
|
+
export { S as SystemPromptContributor } from '../index-BN6i2Nfg.js';
|
|
25
|
+
import '../events-BBAlxBuw.js';
|
|
26
26
|
import '../logger-DDd5C--Z.js';
|
|
27
27
|
import '../retry-policy-CG3qvH_e.js';
|
|
28
28
|
import '../models-registry-BcYJDKLm.js';
|
|
@@ -30,7 +30,7 @@ import '../secret-vault-DoISxaKO.js';
|
|
|
30
30
|
import '../secret-scrubber-3MHDDAtm.js';
|
|
31
31
|
import '../path-resolver-CPRj4bFY.js';
|
|
32
32
|
import '../goal-store-C7jcumEh.js';
|
|
33
|
-
import '../multi-agent-coordinator-
|
|
33
|
+
import '../multi-agent-coordinator-BSBbZt0e.js';
|
|
34
34
|
import 'node:events';
|
|
35
35
|
|
|
36
36
|
/** Union of serial and parallel autonomy engine stage types (from EternalAutonomyEngine / ParallelEternalEngine). */
|
package/dist/types/index.js
CHANGED
|
@@ -1879,7 +1879,8 @@ When reviewing code:
|
|
|
1879
1879
|
- Verify test coverage for critical paths
|
|
1880
1880
|
- Ensure naming conventions are followed`,
|
|
1881
1881
|
tags: ["review", "quality", "security"],
|
|
1882
|
-
toolPreferences: ["read", "grep", "git", "diff", "test"]
|
|
1882
|
+
toolPreferences: ["read", "grep", "git", "diff", "test"],
|
|
1883
|
+
suggestedSkills: ["bug-hunter", "security-scanner", "typescript-strict", "testing"]
|
|
1883
1884
|
},
|
|
1884
1885
|
{
|
|
1885
1886
|
id: "code-auditor",
|
|
@@ -1896,7 +1897,8 @@ When auditing code for security:
|
|
|
1896
1897
|
- Assess input validation and output encoding
|
|
1897
1898
|
- Look for timing attacks and information leakage`,
|
|
1898
1899
|
tags: ["security", "audit", "compliance"],
|
|
1899
|
-
toolPreferences: ["grep", "read", "audit", "bash"]
|
|
1900
|
+
toolPreferences: ["grep", "read", "audit", "bash"],
|
|
1901
|
+
suggestedSkills: ["security-scanner", "bug-hunter", "audit-log"]
|
|
1900
1902
|
},
|
|
1901
1903
|
{
|
|
1902
1904
|
id: "architect",
|
|
@@ -1914,7 +1916,8 @@ When designing or reviewing architecture:
|
|
|
1914
1916
|
- Assess API design and contract stability
|
|
1915
1917
|
- Consider operational aspects (monitoring, logging, deployment)`,
|
|
1916
1918
|
tags: ["architecture", "design", "scalability"],
|
|
1917
|
-
toolPreferences: ["read", "glob", "tree", "diff"]
|
|
1919
|
+
toolPreferences: ["read", "glob", "tree", "diff"],
|
|
1920
|
+
suggestedSkills: ["api-design", "refactor-planner", "node-modern", "docker-deploy"]
|
|
1918
1921
|
},
|
|
1919
1922
|
{
|
|
1920
1923
|
id: "debugger",
|
|
@@ -1932,7 +1935,8 @@ When investigating bugs:
|
|
|
1932
1935
|
- Use binary search to isolate the root cause
|
|
1933
1936
|
- Verify fixes with tests before considering done`,
|
|
1934
1937
|
tags: ["debug", "investigation", "error-resolution"],
|
|
1935
|
-
toolPreferences: ["read", "grep", "bash", "logs", "test"]
|
|
1938
|
+
toolPreferences: ["read", "grep", "bash", "logs", "test"],
|
|
1939
|
+
suggestedSkills: ["bug-hunter", "audit-log", "observability"]
|
|
1936
1940
|
},
|
|
1937
1941
|
{
|
|
1938
1942
|
id: "tester",
|
|
@@ -1950,7 +1954,8 @@ When testing or writing tests:
|
|
|
1950
1954
|
- Check for integration test gaps
|
|
1951
1955
|
- Verify test isolation and cleanup`,
|
|
1952
1956
|
tags: ["testing", "qa", "quality"],
|
|
1953
|
-
toolPreferences: ["read", "grep", "test", "bash"]
|
|
1957
|
+
toolPreferences: ["read", "grep", "test", "bash"],
|
|
1958
|
+
suggestedSkills: ["testing", "bug-hunter", "typescript-strict"]
|
|
1954
1959
|
},
|
|
1955
1960
|
{
|
|
1956
1961
|
id: "devops",
|
|
@@ -1968,7 +1973,8 @@ When working on infrastructure:
|
|
|
1968
1973
|
- Assess secrets management
|
|
1969
1974
|
- Check for resource limits and quotas`,
|
|
1970
1975
|
tags: ["devops", "infrastructure", "operations"],
|
|
1971
|
-
toolPreferences: ["read", "bash", "grep", "logs", "git"]
|
|
1976
|
+
toolPreferences: ["read", "bash", "grep", "logs", "git"],
|
|
1977
|
+
suggestedSkills: ["docker-deploy", "observability", "security-scanner"]
|
|
1972
1978
|
},
|
|
1973
1979
|
{
|
|
1974
1980
|
id: "refactorer",
|
|
@@ -1986,7 +1992,8 @@ When refactoring code:
|
|
|
1986
1992
|
- Don't mix formatting changes with logic changes
|
|
1987
1993
|
- Keep performance in mind \u2014 don't regress`,
|
|
1988
1994
|
tags: ["refactor", "modernization", "improvement"],
|
|
1989
|
-
toolPreferences: ["read", "edit", "test", "git", "grep"]
|
|
1995
|
+
toolPreferences: ["read", "edit", "test", "git", "grep"],
|
|
1996
|
+
suggestedSkills: ["refactor-planner", "typescript-strict", "node-modern", "testing"]
|
|
1990
1997
|
},
|
|
1991
1998
|
{
|
|
1992
1999
|
id: "brief",
|
|
@@ -2016,7 +2023,8 @@ Get to the point \u2014 read files, run commands, make changes.
|
|
|
2016
2023
|
- One-liner sufficient? One liner.
|
|
2017
2024
|
- Max 3 sentences per paragraph.`,
|
|
2018
2025
|
tags: ["fast", "concise", "direct"],
|
|
2019
|
-
toolPreferences: ["read", "edit", "bash"]
|
|
2026
|
+
toolPreferences: ["read", "edit", "bash"],
|
|
2027
|
+
suggestedSkills: []
|
|
2020
2028
|
},
|
|
2021
2029
|
{
|
|
2022
2030
|
id: "teach",
|
|
@@ -2081,7 +2089,8 @@ You follow these principles, but always with explanation:
|
|
|
2081
2089
|
|
|
2082
2090
|
Remember: your job is to make the user a better developer, not just to complete tasks faster.`,
|
|
2083
2091
|
tags: ["teaching", "mentor", "learning"],
|
|
2084
|
-
toolPreferences: ["read", "edit", "explain"]
|
|
2092
|
+
toolPreferences: ["read", "edit", "explain"],
|
|
2093
|
+
suggestedSkills: ["prompt-engineering", "skill-creator", "node-modern", "typescript-strict"]
|
|
2085
2094
|
}
|
|
2086
2095
|
];
|
|
2087
2096
|
|
|
@@ -2691,7 +2700,7 @@ ${errorDetails}`,
|
|
|
2691
2700
|
const decision = await this.opts.permissionPolicy.evaluate(tool, use.input, ctx);
|
|
2692
2701
|
let effectivePermission = decision.permission;
|
|
2693
2702
|
const policy = this.opts.permissionPolicy;
|
|
2694
|
-
const yolo = policy.getYolo?.() === true || policy.getYoloDestructive?.() === true
|
|
2703
|
+
const yolo = policy.getYolo?.() === true || policy.getYoloDestructive?.() === true;
|
|
2695
2704
|
if (toolDangerousCaps.length > 0 && effectivePermission === "auto" && !yolo) {
|
|
2696
2705
|
effectivePermission = "confirm";
|
|
2697
2706
|
}
|