@wrongstack/core 0.277.1 → 0.280.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-BFJ2ODzI.d.ts → agent-bridge-DXC6QDJ4.d.ts} +1 -1
- package/dist/{agent-subagent-runner-BimKihiC.d.ts → agent-subagent-runner-PoqNKiR4.d.ts} +563 -471
- package/dist/{compactor-D3BGw26y.d.ts → compactor-U3agvUIG.d.ts} +1 -1
- package/dist/{config-DAOjriz9.d.ts → config-Cr3312zc.d.ts} +102 -4
- package/dist/coordination/index.d.ts +1087 -998
- package/dist/coordination/index.js +12235 -12052
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +31 -30
- package/dist/defaults/index.js +403 -189
- package/dist/defaults/index.js.map +1 -1
- package/dist/{brain-CCfuEOdp.d.ts → events-Bs2fmldo.d.ts} +117 -112
- package/dist/execution/index.d.ts +27 -19
- package/dist/execution/index.js +216 -63
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/prompt-enhancer.d.ts +1 -1
- package/dist/execution/prompt-enhancer.js.map +1 -1
- package/dist/extension/index.d.ts +8 -7
- package/dist/{global-mailbox-Dr4cTKqL.d.ts → global-mailbox-Ct7IorLJ.d.ts} +84 -6
- package/dist/{goal-store-C1uH4srH.d.ts → goal-store-C4F6DjC0.d.ts} +1 -1
- package/dist/hq/index.d.ts +504 -7
- package/dist/hq/index.js +1069 -20
- package/dist/hq/index.js.map +1 -1
- package/dist/{index-DJXj-dcr.d.ts → index-kidebiDh.d.ts} +8 -5
- package/dist/{index-cMEmzCVN.d.ts → index-nP09-oP2.d.ts} +2 -2
- package/dist/index.d.ts +153 -76
- package/dist/index.js +5791 -3163
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +7 -6
- package/dist/kernel/index.d.ts +14 -13
- package/dist/kernel/index.js +31 -15
- package/dist/kernel/index.js.map +1 -1
- package/dist/{mailbox-types-DTl7bRH3.d.ts → mailbox-types-BGZWrYTJ.d.ts} +38 -0
- package/dist/{mcp-servers-CFb60-pH.d.ts → mcp-servers-D910X5_r.d.ts} +3 -3
- package/dist/models/index.d.ts +5 -5
- package/dist/models/index.js.map +1 -1
- package/dist/{models-registry-5Ufn7f2m.d.ts → models-registry-CLkoOcHk.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-CcrcncvG.d.ts → multi-agent-coordinator-CieyUoEL.d.ts} +1 -1
- package/dist/{null-fleet-bus-C9KsYyrI.d.ts → null-fleet-bus-DkdmZJ_W.d.ts} +464 -464
- package/dist/observability/index.d.ts +3 -2
- package/dist/{path-resolver-CEeX9I7O.d.ts → path-resolver-XfZ9eLxG.d.ts} +3 -3
- package/dist/{permission-DbsGOA1C.d.ts → permission-Dx6dIqS2.d.ts} +2 -7
- package/dist/{permission-policy-BpEea3r7.d.ts → permission-policy-C8vJcnX5.d.ts} +2 -2
- package/dist/{pipeline-CEjBjzVA.d.ts → pipeline-BwAP21_4.d.ts} +9 -4
- package/dist/{provider-model-resolve-BpfXp3Jj.d.ts → provider-model-resolve-CwQNZWt_.d.ts} +3 -3
- package/dist/{provider-runner-CnOSr5BN.d.ts → provider-runner-CYHFImzV.d.ts} +3 -3
- package/dist/{retry-policy-Git9WF6d.d.ts → retry-policy-D4feSLk3.d.ts} +1 -1
- package/dist/sdd/index.d.ts +11 -10
- package/dist/sdd/index.js +2 -2
- package/dist/sdd/index.js.map +1 -1
- package/dist/secret-scrubber-3MHDDAtm.d.ts +6 -0
- package/dist/{secret-vault-DDSMHqIm.d.ts → secret-vault-CImt2XrR.d.ts} +1 -1
- package/dist/security/index.d.ts +6 -5
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-Cq72C0Oy.d.ts → selector-Dy-MzKp1.d.ts} +1 -1
- package/dist/{session-event-bridge-DG94B3Bk.d.ts → session-event-bridge-CqdiGnfU.d.ts} +1 -1
- package/dist/{session-reader-BzT-iMQT.d.ts → session-reader-Hk0WbNm9.d.ts} +1 -1
- package/dist/{skill-DGIXCtdv.d.ts → skill-DHniprNl.d.ts} +15 -1
- package/dist/skills/index.d.ts +472 -26
- package/dist/skills/index.js +872 -129
- package/dist/skills/index.js.map +1 -1
- package/dist/storage/index.d.ts +27 -14
- package/dist/storage/index.js +264 -85
- package/dist/storage/index.js.map +1 -1
- package/dist/{strategy-compactor-Bt_ZH6R0.d.ts → strategy-compactor-CQwhbErd.d.ts} +32 -17
- package/dist/{todos-checkpoint-CH1pcua9.d.ts → todos-checkpoint-Bk2uP7Ex.d.ts} +6 -6
- package/dist/{context-DPlA6kid.d.ts → tool-BkOgs_KL.d.ts} +306 -286
- package/dist/{tool-executor-SVFq7IOR.d.ts → tool-executor-SiE1wlZo.d.ts} +9 -9
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/types/index.d.ts +22 -21
- package/dist/types/index.js +7 -9
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +30 -4
- package/dist/utils/index.js +50 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/{worktree-manager-C4YIf1Fa.d.ts → worktree-manager-BjOFF6bt.d.ts} +1 -1
- package/dist/{wstack-paths-_NrRovdr.d.ts → wstack-paths-CMl_cYgq.d.ts} +8 -0
- package/package.json +1 -1
- package/skills/mailbox-bridge/SKILL.md +1 -0
- package/skills/plugin-author/SKILL.md +350 -0
- package/skills/sdd/SKILL.md +134 -134
- package/skills/skill-creator/SKILL.md +45 -7
- package/skills/wrongstack-mailbox/SKILL.md +40 -21
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { M as MetricsSink, d as MetricLabels, f as MetricsSnapshot, H as HealthRegistry, a as HealthCheck, A as AggregateHealth, T as Tracer, S as Span } from '../observability-D-HZN_mF.js';
|
|
2
|
-
import { E as EventBus } from '../
|
|
3
|
-
import '../
|
|
2
|
+
import { E as EventBus } from '../events-Bs2fmldo.js';
|
|
3
|
+
import '../tool-BkOgs_KL.js';
|
|
4
|
+
import '../permission-Dx6dIqS2.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* In-memory metrics sink. Suitable for embedded use, tests, and /metrics
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as EventBus } from './
|
|
2
|
-
import { M as ModelsRegistry, b as ResolvedModel } from './config-
|
|
3
|
-
import {
|
|
1
|
+
import { E as EventBus } from './events-Bs2fmldo.js';
|
|
2
|
+
import { M as ModelsRegistry, b as ResolvedModel } from './config-Cr3312zc.js';
|
|
3
|
+
import { f as TokenCounter, U as Usage, g as CacheStats } from './tool-BkOgs_KL.js';
|
|
4
4
|
import { P as PathResolver } from './path-resolver-CPRj4bFY.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
interface SecretScrubber {
|
|
4
|
-
scrub(text: string): string;
|
|
5
|
-
scrubObject<T>(obj: T): T;
|
|
6
|
-
}
|
|
1
|
+
import { e as Permission, T as Tool, C as Context } from './tool-BkOgs_KL.js';
|
|
7
2
|
|
|
8
3
|
interface TrustPolicy {
|
|
9
4
|
[toolNameOrPattern: string]: {
|
|
@@ -68,4 +63,4 @@ interface PermissionPolicy {
|
|
|
68
63
|
setPromptDelegate?(delegate: ((tool: Tool, input: unknown, suggestedPattern: string) => Promise<'yes' | 'no' | 'always' | 'deny'>) | undefined): void;
|
|
69
64
|
}
|
|
70
65
|
|
|
71
|
-
export type { PermissionPolicy as P,
|
|
66
|
+
export type { PermissionPolicy as P, TrustPolicy as T, PermissionDecision as a };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Tool, C as Context } from './
|
|
1
|
+
import { T as Tool, C as Context } from './tool-BkOgs_KL.js';
|
|
2
2
|
import { I as InputReader } from './input-reader-E-ffP2ee.js';
|
|
3
|
-
import { P as PermissionPolicy, a as PermissionDecision } from './permission-
|
|
3
|
+
import { P as PermissionPolicy, a as PermissionDecision } from './permission-Dx6dIqS2.js';
|
|
4
4
|
|
|
5
5
|
interface PermissionPolicyOptions {
|
|
6
6
|
trustFile: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as Tool,
|
|
2
|
-
import { a as MailboxAgentStatus } from './mailbox-types-
|
|
3
|
-
import { H as HookEvent, f as HookMatcher, I as InProcessHook, S as ShellHook, g as HookEntry, T as ToolResultRenderMode } from './config-
|
|
1
|
+
import { T as Tool, s as TextBlock, i as ContentBlock } from './tool-BkOgs_KL.js';
|
|
2
|
+
import { a as MailboxAgentStatus } from './mailbox-types-BGZWrYTJ.js';
|
|
3
|
+
import { H as HookEvent, f as HookMatcher, I as InProcessHook, S as ShellHook, g as HookEntry, T as ToolResultRenderMode } from './config-Cr3312zc.js';
|
|
4
4
|
|
|
5
5
|
/** Model capabilities relevant to prompt composition. */
|
|
6
6
|
interface ModelCapabilities {
|
|
@@ -162,7 +162,12 @@ declare class Container {
|
|
|
162
162
|
has<T>(token: Token<T>): boolean;
|
|
163
163
|
/**
|
|
164
164
|
* Resolve a token if it is bound, otherwise return undefined.
|
|
165
|
-
* Unlike resolve()
|
|
165
|
+
* Unlike `resolve()`, this does not throw if the token is unbound.
|
|
166
|
+
*
|
|
167
|
+
* Single map lookup — `has()` + `resolve()` would walk the entries
|
|
168
|
+
* map twice. The bound check is folded into the resolve path so a
|
|
169
|
+
* non-existent token can never enter the `resolving` cycle-detection
|
|
170
|
+
* set.
|
|
166
171
|
*/
|
|
167
172
|
safeResolve<T>(token: Token<T>): T | undefined;
|
|
168
173
|
ownerOf<T>(token: Token<T>): string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { P as Provider, M as Message } from './
|
|
2
|
-
import { M as MessageSelector, S as SelectorResult } from './selector-
|
|
1
|
+
import { P as Provider, M as Message } from './tool-BkOgs_KL.js';
|
|
2
|
+
import { M as MessageSelector, S as SelectorResult } from './selector-Dy-MzKp1.js';
|
|
3
3
|
import { M as ModeStore, a as ModeConfig, b as Mode } from './mode-CZlO9iU1.js';
|
|
4
|
-
import { e as ModelsDevModel, R as ResolvedProvider } from './config-
|
|
4
|
+
import { e as ModelsDevModel, R as ResolvedProvider } from './config-Cr3312zc.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Offline **floor** for the ChatGPT "Sign in with ChatGPT" (`openai-codex`)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as EventBus } from './
|
|
1
|
+
import { E as EventBus } from './events-Bs2fmldo.js';
|
|
2
2
|
import { L as Logger } from './logger-B63L5bTg.js';
|
|
3
3
|
import { T as Tracer } from './observability-D-HZN_mF.js';
|
|
4
|
-
import { P as Provider, c as Request, C as Context, d as Response } from './
|
|
5
|
-
import { R as RetryPolicy } from './retry-policy-
|
|
4
|
+
import { P as Provider, c as Request, C as Context, d as Response } from './tool-BkOgs_KL.js';
|
|
5
|
+
import { R as RetryPolicy } from './retry-policy-D4feSLk3.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Options passed to a ProviderRunner when calling the provider.
|
package/dist/sdd/index.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { h as Specification, e as SpecStatus, S as SpecAnalysis, g as SpecValidationResult, 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
|
-
import { E as EventBus, B as BrainArbiter } from '../
|
|
4
|
-
import { h as Agent, i as AgentFactory, g as TaskResult, D as DoneCondition } from '../agent-subagent-runner-
|
|
5
|
-
import { W as WorktreeManager } from '../worktree-manager-
|
|
6
|
-
import '../
|
|
7
|
-
import '../
|
|
3
|
+
import { E as EventBus, B as BrainArbiter } from '../events-Bs2fmldo.js';
|
|
4
|
+
import { h as Agent, i as AgentFactory, g as TaskResult, D as DoneCondition } from '../agent-subagent-runner-PoqNKiR4.js';
|
|
5
|
+
import { W as WorktreeManager } from '../worktree-manager-BjOFF6bt.js';
|
|
6
|
+
import '../tool-BkOgs_KL.js';
|
|
7
|
+
import '../permission-Dx6dIqS2.js';
|
|
8
|
+
import '../index-kidebiDh.js';
|
|
8
9
|
import '../logger-B63L5bTg.js';
|
|
9
|
-
import '../pipeline-
|
|
10
|
-
import '../mailbox-types-
|
|
11
|
-
import '../config-
|
|
10
|
+
import '../pipeline-BwAP21_4.js';
|
|
11
|
+
import '../mailbox-types-BGZWrYTJ.js';
|
|
12
|
+
import '../config-Cr3312zc.js';
|
|
12
13
|
import '../observability-D-HZN_mF.js';
|
|
13
|
-
import '../
|
|
14
|
-
import '../retry-policy-
|
|
14
|
+
import '../secret-scrubber-3MHDDAtm.js';
|
|
15
|
+
import '../retry-policy-D4feSLk3.js';
|
|
15
16
|
|
|
16
17
|
interface TaskStore {
|
|
17
18
|
saveGraph(graph: TaskGraph): Promise<void>;
|
package/dist/sdd/index.js
CHANGED
|
@@ -7039,7 +7039,7 @@ var SddParallelRun = class {
|
|
|
7039
7039
|
disabledTools: ["delegate"],
|
|
7040
7040
|
...model ? { model } : {},
|
|
7041
7041
|
...provider ? { provider } : {},
|
|
7042
|
-
...fallbackModels
|
|
7042
|
+
...fallbackModels?.length ? { fallbackModels } : {}
|
|
7043
7043
|
});
|
|
7044
7044
|
if (!spawnResult.subagentId) {
|
|
7045
7045
|
throw new SddError({
|
|
@@ -9149,7 +9149,7 @@ function readBundledInstructionText(relativePath) {
|
|
|
9149
9149
|
function renderInstructionTemplate(template, values) {
|
|
9150
9150
|
return template.replace(
|
|
9151
9151
|
/\{\{\s*([a-zA-Z0-9_.-]+)\s*\}\}/g,
|
|
9152
|
-
(match, key) => Object.
|
|
9152
|
+
(match, key) => Object.hasOwn(values, key) ? values[key] ?? "" : match
|
|
9153
9153
|
);
|
|
9154
9154
|
}
|
|
9155
9155
|
function instructionRootCandidates() {
|