@wrongstack/core 0.9.19 → 0.10.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/README.md +37 -33
- package/dist/{agent-bridge-DMVOX0cF.d.ts → agent-bridge-DBBGP5O4.d.ts} +1 -1
- package/dist/{agent-subagent-runner-C4qt9e5Y.d.ts → agent-subagent-runner-KwufTWwn.d.ts} +3 -4
- package/dist/compactor-D1RHFRmF.d.ts +41 -0
- package/dist/{config-CWva0qoL.d.ts → config-CJXBka2r.d.ts} +38 -2
- package/dist/{context-BRNbHmRM.d.ts → context-7u93AcGD.d.ts} +140 -0
- package/dist/coordination/index.d.ts +13 -13
- package/dist/coordination/index.js +786 -200
- package/dist/coordination/index.js.map +1 -1
- package/dist/{default-config-Uzla85H-.d.ts → default-config-DEXI4jsl.d.ts} +10 -1
- package/dist/defaults/index.d.ts +24 -24
- package/dist/defaults/index.js +1612 -528
- package/dist/defaults/index.js.map +1 -1
- package/dist/{events-CiG9qUM_.d.ts → events-Bw1K5E6K.d.ts} +49 -1
- package/dist/execution/index.d.ts +46 -32
- package/dist/execution/index.js +663 -169
- package/dist/execution/index.js.map +1 -1
- package/dist/extension/index.d.ts +6 -6
- package/dist/extension/index.js.map +1 -1
- package/dist/goal-store-BeRsj7YX.d.ts +188 -0
- package/dist/{index-p95HQ22A.d.ts → index-DIt5TIaF.d.ts} +8 -8
- package/dist/{index-aizK8olO.d.ts → index-DgQWnZxP.d.ts} +11 -8
- package/dist/index.d.ts +338 -41
- package/dist/index.js +2747 -787
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +6 -6
- package/dist/infrastructure/index.js +36 -0
- package/dist/infrastructure/index.js.map +1 -1
- package/dist/kernel/index.d.ts +9 -9
- package/dist/kernel/index.js +57 -8
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mcp-servers-BkVEqkRe.d.ts → mcp-servers-BgINZzuo.d.ts} +25 -3
- package/dist/models/index.d.ts +3 -3
- package/dist/models/index.js +164 -11
- package/dist/models/index.js.map +1 -1
- package/dist/models-registry-gwMAo6E3.d.ts +86 -0
- package/dist/{multi-agent-3ZnTB1aT.d.ts → multi-agent-C1O8EFzb.d.ts} +77 -24
- package/dist/{multi-agent-coordinator-bRaI_aD1.d.ts → multi-agent-coordinator-DoVSBFNx.d.ts} +20 -2
- package/dist/{null-fleet-bus-DKM3Iy9d.d.ts → null-fleet-bus-T-s3JaOt.d.ts} +413 -110
- package/dist/observability/index.d.ts +2 -2
- package/dist/{path-resolver-TcJfc29Y.d.ts → path-resolver-BfyK-I7w.d.ts} +2 -2
- package/dist/{permission-bPuzAy4x.d.ts → permission-B6sldrSp.d.ts} +1 -1
- package/dist/{permission-policy-BUQSutpl.d.ts → permission-policy-CtNscWOA.d.ts} +10 -9
- package/dist/{plan-templates-fkQTyz3U.d.ts → plan-templates-BWs6Je7j.d.ts} +8 -8
- package/dist/{provider-runner-BEpikbbN.d.ts → provider-runner-BmPe2RuU.d.ts} +3 -3
- package/dist/{retry-policy-BYkq0ugs.d.ts → retry-policy-KF18W4dg.d.ts} +1 -1
- package/dist/sdd/index.d.ts +9 -10
- package/dist/sdd/index.js +350 -122
- package/dist/sdd/index.js.map +1 -1
- package/dist/security/index.d.ts +65 -4
- package/dist/security/index.js +67 -19
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-pox8abg0.d.ts → selector-DmXxpFyM.d.ts} +1 -1
- package/dist/{session-reader-CSWcb5Ga.d.ts → session-reader-CCSBfQmd.d.ts} +2 -2
- package/dist/skills/index.d.ts +1 -1
- package/dist/skills/index.js +1 -1
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +392 -8
- package/dist/storage/index.js +796 -40
- package/dist/storage/index.js.map +1 -1
- package/dist/{system-prompt-Bs-Wliab.d.ts → system-prompt-CM6zOhd2.d.ts} +19 -1
- package/dist/{tool-executor-Boo3dekH.d.ts → tool-executor-D7RxLtg4.d.ts} +9 -4
- package/dist/types/index.d.ts +16 -16
- package/dist/types/index.js +404 -14
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +40 -8
- package/dist/utils/index.js +127 -57
- package/dist/utils/index.js.map +1 -1
- package/dist/{wstack-paths-BCgmTNlG.d.ts → wstack-paths-eMXnY1_X.d.ts} +8 -0
- package/package.json +1 -1
- package/dist/compactor-DVTKL7XD.d.ts +0 -23
- package/dist/goal-store-C7jcumEh.d.ts +0 -96
- package/dist/models-registry-OG_30xqZ.d.ts +0 -46
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Q as Tool, d as Context } from './context-
|
|
1
|
+
import { Q as Tool, d as Context } from './context-7u93AcGD.js';
|
|
2
2
|
import { I as InputReader } from './input-reader-E-ffP2ee.js';
|
|
3
|
-
import { a as PermissionPolicy, P as PermissionDecision } from './permission-
|
|
3
|
+
import { a as PermissionPolicy, P as PermissionDecision } from './permission-B6sldrSp.js';
|
|
4
4
|
|
|
5
5
|
interface PermissionPolicyOptions {
|
|
6
6
|
trustFile: string;
|
|
@@ -98,17 +98,18 @@ declare class DefaultPermissionPolicy implements PermissionPolicy {
|
|
|
98
98
|
*
|
|
99
99
|
* Tool defaults of `permission: 'deny'` are still honored (this is a
|
|
100
100
|
* subagent capability override, not a deny-bypass).
|
|
101
|
+
*
|
|
102
|
+
* 2026-06+: Primary decision is now based on declared `Tool.capabilities`
|
|
103
|
+
* (capability allowlist / denylist model). The legacy name-based DENY set
|
|
104
|
+
* is kept only for backward compatibility with tools that have not yet
|
|
105
|
+
* declared capabilities.
|
|
101
106
|
*/
|
|
102
107
|
declare class AutoApprovePermissionPolicy implements PermissionPolicy {
|
|
103
108
|
/**
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* and cannot answer prompts, but inherited authorization does not
|
|
107
|
-
* imply blanket permission for destructive or privilege-escalating
|
|
108
|
-
* operations. These tools remain at their declared `permission`
|
|
109
|
-
* level so the leader must explicitly allow them per-spawn.
|
|
109
|
+
* Legacy name-based denylist.
|
|
110
|
+
* @deprecated Prefer declaring `capabilities` on the Tool and using capability-based checks.
|
|
110
111
|
*/
|
|
111
|
-
private static readonly
|
|
112
|
+
private static readonly LEGACY_NAME_DENY;
|
|
112
113
|
/**
|
|
113
114
|
* Tools from MCP servers (`mcp__<server>__<tool>`) are external code of
|
|
114
115
|
* unknown capability — they may wrap a shell or filesystem. They are
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as EventBus } from './events-
|
|
1
|
+
import { E as EventBus } from './events-Bw1K5E6K.js';
|
|
2
2
|
import { S as SecretScrubber } from './secret-scrubber-3MHDDAtm.js';
|
|
3
|
-
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-
|
|
4
|
-
import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-
|
|
3
|
+
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-7u93AcGD.js';
|
|
4
|
+
import { e as AttachmentStore, A as AddAttachmentInput, d as AttachmentRef, a as Attachment } from './session-reader-CCSBfQmd.js';
|
|
5
5
|
import { b as MemoryStore, a as MemoryScope } from './memory-CEXuo7sz.js';
|
|
6
|
-
import { a as WstackPaths } from './wstack-paths-
|
|
7
|
-
import { c as ConfigStore, a as Config, b as ConfigLoader,
|
|
6
|
+
import { a as WstackPaths } from './wstack-paths-eMXnY1_X.js';
|
|
7
|
+
import { c as ConfigStore, a as Config, b as ConfigLoader, n as SyncConfig } from './config-CJXBka2r.js';
|
|
8
8
|
import { S as SecretVault } from './secret-vault-DoISxaKO.js';
|
|
9
9
|
|
|
10
10
|
interface SessionStoreOptions {
|
|
@@ -84,9 +84,9 @@ interface AttachmentStoreOptions {
|
|
|
84
84
|
}
|
|
85
85
|
/**
|
|
86
86
|
* In-memory attachment store with optional disk spool. Placeholder syntax
|
|
87
|
-
* is `[<kind> #<seq>]`
|
|
88
|
-
*
|
|
89
|
-
* text without losing it.
|
|
87
|
+
* is `[<kind> #<seq>]` (seq-keyed) or `[file:<path>]` (path-keyed) where kind
|
|
88
|
+
* is `pasted` / `image` / `file`. Unknown placeholders are passed through
|
|
89
|
+
* as-is so users can write that literal text without losing it.
|
|
90
90
|
*/
|
|
91
91
|
declare class DefaultAttachmentStore implements AttachmentStore {
|
|
92
92
|
private readonly items;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as EventBus } from './events-
|
|
1
|
+
import { E as EventBus } from './events-Bw1K5E6K.js';
|
|
2
2
|
import { a as Logger } from './logger-DDd5C--Z.js';
|
|
3
3
|
import { T as Tracer } from './observability-BhnVLBLS.js';
|
|
4
|
-
import { m as Provider, p as Request, d as Context, q as Response } from './context-
|
|
5
|
-
import { a as RetryPolicy } from './retry-policy-
|
|
4
|
+
import { m as Provider, p as Request, d as Context, q as Response } from './context-7u93AcGD.js';
|
|
5
|
+
import { a as RetryPolicy } from './retry-policy-KF18W4dg.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Options passed to a ProviderRunner when calling the provider.
|
package/dist/sdd/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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, u as TaskResult } from '../multi-agent-
|
|
4
|
-
import { c as Agent } from '../index-
|
|
5
|
-
import { A as AgentFactory } from '../agent-subagent-runner-
|
|
6
|
-
import '../context-
|
|
2
|
+
import { E as EventBus } from '../events-Bw1K5E6K.js';
|
|
3
|
+
import { D as DoneCondition, u as TaskResult } from '../multi-agent-C1O8EFzb.js';
|
|
4
|
+
import { c as Agent } from '../index-DgQWnZxP.js';
|
|
5
|
+
import { A as AgentFactory } from '../agent-subagent-runner-KwufTWwn.js';
|
|
6
|
+
import '../context-7u93AcGD.js';
|
|
7
7
|
import '../logger-DDd5C--Z.js';
|
|
8
|
-
import '../system-prompt-
|
|
8
|
+
import '../system-prompt-CM6zOhd2.js';
|
|
9
9
|
import '../observability-BhnVLBLS.js';
|
|
10
10
|
import '../secret-scrubber-3MHDDAtm.js';
|
|
11
|
-
import '../permission-
|
|
12
|
-
import '../config-
|
|
11
|
+
import '../permission-B6sldrSp.js';
|
|
12
|
+
import '../config-CJXBka2r.js';
|
|
13
13
|
import '../models-registry-BcYJDKLm.js';
|
|
14
14
|
|
|
15
15
|
declare class SpecParser {
|
|
@@ -675,10 +675,9 @@ interface TaskBatch {
|
|
|
675
675
|
}
|
|
676
676
|
declare class SddTaskDecomposer {
|
|
677
677
|
private readonly tracker;
|
|
678
|
-
private readonly graph;
|
|
679
678
|
private readonly slots;
|
|
680
679
|
private wave;
|
|
681
|
-
constructor(tracker: TaskTracker,
|
|
680
|
+
constructor(tracker: TaskTracker, _graph: TaskGraph, opts?: SddTaskDecomposerOptions);
|
|
682
681
|
/**
|
|
683
682
|
* Return the next batch of runnable tasks.
|
|
684
683
|
* Returns `allDone: true` when every node is completed.
|