@wrongstack/core 0.257.2 → 0.260.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-BrxWHEOm.d.ts → agent-bridge-BbskZ7HH.d.ts} +1 -1
- package/dist/{agent-subagent-runner-US741uBH.d.ts → agent-subagent-runner-BNIGZx18.d.ts} +28 -8
- package/dist/{brain-TjEEwSpw.d.ts → brain-C2yDd7Lw.d.ts} +58 -1
- package/dist/{compactor-C5sT4U7I.d.ts → compactor-t0R_AIt_.d.ts} +1 -1
- package/dist/{config-DuAu23zm.d.ts → config-FG6As4H5.d.ts} +1 -1
- package/dist/{context-CGdgA0q6.d.ts → context-JFOVvu6z.d.ts} +22 -0
- package/dist/coordination/index.d.ts +14 -14
- package/dist/coordination/index.js +189 -28
- package/dist/coordination/index.js.map +1 -1
- package/dist/defaults/index.d.ts +25 -25
- package/dist/defaults/index.js +881 -83
- package/dist/defaults/index.js.map +1 -1
- package/dist/execution/index.d.ts +15 -15
- package/dist/execution/index.js +108 -26
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/prompt-enhancer.d.ts +1 -1
- package/dist/extension/index.d.ts +6 -6
- package/dist/{goal-preamble-CznHTZqP.d.ts → goal-preamble-B1IXJtLX.d.ts} +9 -9
- package/dist/{goal-store-CV9Yz2X_.d.ts → goal-store-CPXz6Mml.d.ts} +4 -2
- package/dist/{index-CitPrI3a.d.ts → index-BPcg4N3M.d.ts} +5 -5
- package/dist/{index-CC0Mcm05.d.ts → index-CebbJB94.d.ts} +8 -8
- package/dist/index.d.ts +44 -42
- package/dist/index.js +1452 -274
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/index.d.ts +6 -6
- package/dist/kernel/index.d.ts +9 -9
- package/dist/kernel/index.js.map +1 -1
- package/dist/{llm-selector-CJ4SyAFE.d.ts → llm-selector-DXxI2tlu.d.ts} +2 -2
- package/dist/{mcp-servers-D8YnLaEp.d.ts → mcp-servers-OwNHo43-.d.ts} +3 -3
- package/dist/models/index.d.ts +5 -5
- package/dist/{models-registry-ByZCdFuQ.d.ts → models-registry-Djlmq4uB.d.ts} +1 -1
- package/dist/{multi-agent-coordinator-DqTUEAeC.d.ts → multi-agent-coordinator-CEmrSCMJ.d.ts} +1 -1
- package/dist/{null-fleet-bus-B5mfTJXT.d.ts → null-fleet-bus-DT92xqgJ.d.ts} +13 -8
- package/dist/observability/index.d.ts +2 -2
- package/dist/{package-outdated-watcher-BSgR_kK-.d.ts → package-outdated-watcher-C70ag2G9.d.ts} +3 -3
- package/dist/{parallel-eternal-engine-C0juOszP.d.ts → parallel-eternal-engine-0SItuq5r.d.ts} +13 -9
- package/dist/{path-resolver-CbkT-RMU.d.ts → path-resolver-DKBh6Jlo.d.ts} +3 -3
- package/dist/{permission-CwBBpCoF.d.ts → permission-BJ7eO9Vl.d.ts} +1 -1
- package/dist/{permission-policy-B8rSu908.d.ts → permission-policy-DEXOfnpm.d.ts} +3 -2
- package/dist/{pipeline-JG8XoudC.d.ts → pipeline-zflkI2dp.d.ts} +2 -2
- package/dist/{plan-templates-DPiQMkBz.d.ts → plan-templates-BFXyRkEK.d.ts} +32 -11
- package/dist/{provider-runner-hM7EXlLI.d.ts → provider-runner-BC-uywtT.d.ts} +3 -3
- package/dist/{retry-policy-Tg7LXkoK.d.ts → retry-policy-Cavrzmtk.d.ts} +1 -1
- package/dist/sdd/index.d.ts +8 -8
- package/dist/sdd/index.js +20 -2
- package/dist/sdd/index.js.map +1 -1
- package/dist/{secret-vault-gxtFZYBt.d.ts → secret-vault-CDvDYXWX.d.ts} +1 -1
- package/dist/security/index.d.ts +4 -4
- package/dist/security/index.js +30 -1
- package/dist/security/index.js.map +1 -1
- package/dist/{selector-DWsqVjGf.d.ts → selector-B7AivHsu.d.ts} +1 -1
- package/dist/{session-event-bridge-BAFWdgQ3.d.ts → session-event-bridge-BmIDxdJd.d.ts} +1 -1
- package/dist/{session-reader-CqRvaL5v.d.ts → session-reader-DtofsB-2.d.ts} +1 -1
- package/dist/storage/index.d.ts +30 -21
- package/dist/storage/index.js +1264 -216
- package/dist/storage/index.js.map +1 -1
- package/dist/types/index.d.ts +19 -19
- package/dist/types/index.js +8 -0
- package/dist/types/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/package.json +1 -1
- package/skills/output-standards/SKILL.md +14 -9
- package/skills/output-standards/SKILL.save.md +3 -2
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { s as TodoItem, M as Message, J as JSONSchema } from '../context-
|
|
1
|
+
import { s as TodoItem, M as Message, J as JSONSchema } from '../context-JFOVvu6z.js';
|
|
2
2
|
export { T as TaskItem, c as computeTaskItemProgress, f as formatTaskList, a as formatTaskProgress } from '../task-format-vGOIftmK.js';
|
|
3
3
|
export { a as WstackPathOptions, W as WstackPaths, p as projectHash, b as projectSlug, r as resolveWstackPaths, w as wstackGlobalRoot } from '../wstack-paths-CJjEwPXn.js';
|
|
4
4
|
export { expectDefined } from './expect-defined.js';
|
|
5
|
-
import { a as ModelsDevPayload, t as CustomModelDefinition } from '../config-
|
|
5
|
+
import { a as ModelsDevPayload, t as CustomModelDefinition } from '../config-FG6As4H5.js';
|
|
6
6
|
import * as https from 'node:https';
|
|
7
7
|
import { Dispatcher } from 'undici';
|
|
8
8
|
export { a as TaskPriority, b as TaskStatus, T as TaskType } from '../task-graph-u1q9Jkyk.js';
|
package/package.json
CHANGED
|
@@ -15,12 +15,13 @@ extract structured data from agent responses.
|
|
|
15
15
|
|
|
16
16
|
## Rules
|
|
17
17
|
|
|
18
|
-
1. **
|
|
18
|
+
1. **Only the leader agent's final message MUST include `<next_steps>` tag** — subagents report findings only. If nothing is pending, write "No pending actions."
|
|
19
19
|
2. **Tags must be properly closed** — `<next_steps>...</next_steps>` with exact tag names.
|
|
20
20
|
3. **No markdown inside tags** — plain text only, one action per line.
|
|
21
21
|
4. **Use imperative mood** — "Fix X", "Run Y", not "Fixed X" or "Running Y".
|
|
22
22
|
5. **Be specific** — mention file paths, tool names, or exact commands.
|
|
23
23
|
6. **Keep concise** — max 5 items unless the task genuinely requires more.
|
|
24
|
+
7. **Items must be concrete actionable commands** — something another agent or the user can immediately execute. Never write declarations of intent ("we should fix X", "consider refactoring Y") or manual execution suggestions ("manually review file Z", "check if X is correct").
|
|
24
25
|
|
|
25
26
|
## Output Format
|
|
26
27
|
|
|
@@ -105,24 +106,28 @@ Next steps:
|
|
|
105
106
|
|
|
106
107
|
When a **leader agent** synthesizes output from **subagents**, the leader MUST:
|
|
107
108
|
|
|
108
|
-
1.
|
|
109
|
-
2.
|
|
110
|
-
3.
|
|
111
|
-
4.
|
|
109
|
+
1. Collect findings from subagents (they return results, not `<next_steps>`)
|
|
110
|
+
2. Based on findings, produce a unified `<next_steps>` section
|
|
111
|
+
3. Remove duplicates (dedupe by file path + action)
|
|
112
|
+
4. Re-prioritize if needed (critical > high > medium > low)
|
|
113
|
+
5. Keep the unified list within the 5-item guideline, but no hard cap
|
|
112
114
|
|
|
113
115
|
When a **subagent** completes its task, it MUST:
|
|
114
116
|
|
|
115
|
-
1.
|
|
116
|
-
2. Report what it found/achieved
|
|
117
|
-
3.
|
|
117
|
+
1. **NOT include `<next_steps>`** in its output — report findings only
|
|
118
|
+
2. Report what it found/achieved in a structured, self-contained format
|
|
119
|
+
3. Let the leader decide what next steps follow from the findings
|
|
118
120
|
|
|
119
121
|
## Anti-patterns
|
|
120
122
|
|
|
121
123
|
- **Don't use markdown inside `<next_steps>`** — plain text only
|
|
122
|
-
- **Don't skip the tag** —
|
|
124
|
+
- **Don't skip the tag** — the leader's final message always needs one
|
|
123
125
|
- **Don't use dashes or asterisks** — use `1.`, `2.`, `3.` numbering
|
|
124
126
|
- **Don't be vague** — "fix bugs" is useless, "fix auth/session.ts:42" is actionable
|
|
125
127
|
- **Don't exceed 5 items without reason** — if >5, it's probably not a single task
|
|
128
|
+
- **Don't write declarations of intent** — "we should refactor X" is not actionable; "Extract the parseConfig function in core/config.ts:88" is
|
|
129
|
+
- **Don't suggest manual review** — "manually check if X is correct" is not a next step; "Run pnpm typecheck to verify" is
|
|
130
|
+
- **Don't include `<next_steps>` in subagent output** — subagents report findings, leaders produce next steps
|
|
126
131
|
|
|
127
132
|
## Skills in scope
|
|
128
133
|
|
|
@@ -4,12 +4,13 @@ Standardizes the format of agent output, particularly the `<next_steps>` section
|
|
|
4
4
|
|
|
5
5
|
## Rules
|
|
6
6
|
|
|
7
|
-
1.
|
|
7
|
+
1. Only the leader agent includes `<next_steps>` — subagents report findings only.
|
|
8
8
|
2. Tags must be properly closed — `<next_steps>...</next_steps>`.
|
|
9
9
|
3. No markdown inside tags — plain text only, one action per line.
|
|
10
10
|
4. Use imperative mood — "Fix X", not "Fixed X".
|
|
11
11
|
5. Be specific — mention file paths, tool names, or exact commands.
|
|
12
|
-
6.
|
|
12
|
+
6. Items must be concrete actionable commands — no declarations of intent.
|
|
13
|
+
7. Keep concise — max 5 items unless the task genuinely requires more.
|
|
13
14
|
|
|
14
15
|
## Format
|
|
15
16
|
|