@orkestrel/scaffold 0.0.124 → 0.0.126
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/agents/skills/orkestrel-publish/scripts/steps.js +523 -0
- package/dist/agents/skills/orkestrel-publish/scripts/wave.js +70 -11
- package/dist/bin/main.js +51 -18
- package/dist/bin/main.js.map +1 -1
- package/dist/host/agents/orchestration.md +7 -2
- package/dist/host/agents/platforms/windows.md +9 -1
- package/dist/host/agents/skills/orkestrel-dispatch/SKILL.md +1 -1
- package/dist/host/agents/skills/orkestrel-falsify/SKILL.md +1 -1
- package/dist/host/agents/skills/orkestrel-falsify/references/brief.md +1 -0
- package/dist/host/agents/skills/orkestrel-harden/references/methods.md +32 -4
- package/dist/host/agents/skills/orkestrel-journey/SKILL.md +18 -19
- package/dist/host/agents/skills/orkestrel-parallel/SKILL.md +1 -0
- package/dist/host/agents/skills/orkestrel-parallel/references/codex.md +2 -1
- package/dist/host/agents/skills/orkestrel-parallel/references/t3.md +5 -1
- package/dist/host/agents/skills/orkestrel-publish/SKILL.md +1 -0
- package/dist/host/agents/skills/orkestrel-publish/references/release.md +2 -2
- package/dist/host/agents/skills/orkestrel-publish/references/wave.md +23 -6
- package/dist/host/agents/skills/orkestrel-publish/scripts/steps.ts +654 -0
- package/dist/host/agents/skills/orkestrel-publish/scripts/wave.ts +79 -14
- package/dist/host/claude/agents/orkestrel.md +28 -28
- package/dist/host/claude/rules/patterns.md +1 -1
- package/dist/host/claude/rules/portability.md +2 -0
- package/dist/host/claude/rules/quality.md +6 -1
- package/dist/host/claude/rules/tests.md +6 -1
- package/dist/host/claude/rules/workspace.md +8 -3
- package/dist/host/guides/agent.md +575 -346
- package/dist/host/guides/brief.md +52 -48
- package/dist/host/guides/browser.md +2 -2
- package/dist/host/guides/interpret.md +531 -155
- package/dist/host/guides/mcp.md +183 -61
- package/dist/host/guides/ndjson.md +4 -3
- package/dist/host/guides/ollama.md +125 -68
- package/dist/host/guides/program.md +117 -39
- package/dist/host/guides/qualifier.md +110 -59
- package/dist/host/guides/rater.md +85 -32
- package/dist/host/guides/scaffold.md +49 -22
- package/dist/host/guides/study.md +596 -489
- package/dist/host/guides/toolbox.md +159 -80
- package/dist/host/guides/workflow.md +44 -25
- package/dist/host/manifest.json +41 -35
- package/dist/src/core/index.cjs +12 -10
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +3 -1
- package/dist/src/core/index.d.ts +3 -1
- package/dist/src/core/index.js +12 -10
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +23 -11
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +10 -6
- package/dist/src/server/index.d.ts +10 -6
- package/dist/src/server/index.js +23 -11
- package/dist/src/server/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -7,15 +7,16 @@
|
|
|
7
7
|
`parse(chunk)` appends `chunk` to an internal buffer and splits it on `\n`: every
|
|
8
8
|
line before the last is `\n`-terminated, hence complete, and is parsed to a record,
|
|
9
9
|
while the final segment is held back for the next call, so a line split across chunk
|
|
10
|
-
boundaries is reassembled the moment its closing `\n` arrives. Each
|
|
10
|
+
boundaries is reassembled the moment its closing `\n` arrives. Each complete line is
|
|
11
|
+
trimmed with the `String.prototype.trim` method, then
|
|
11
12
|
filtered — a blank or whitespace-only line (including one whose only content was a
|
|
12
13
|
CRLF's trailing `\r`) is skipped — so only plain records come back, and a line the
|
|
13
14
|
stream never terminates is never emitted even when the buffered text already happens
|
|
14
15
|
to be valid JSON. By default the parser refuses a line it cannot return: `parse`
|
|
15
16
|
throws an `NDJSONError` with code `'SYNTAX'` for a complete line that is not valid
|
|
16
17
|
JSON and `'RECORD'` for a complete line that is not a plain record. The throwing call
|
|
17
|
-
returns no
|
|
18
|
-
leaves the parser cleared, as `clear()` leaves it. With `strict: false` the parser
|
|
18
|
+
returns no records, discards every held line, including earlier complete lines and
|
|
19
|
+
the trailing partial line, and leaves the parser cleared, as `clear()` leaves it. With `strict: false` the parser
|
|
19
20
|
skips such a line instead, for a caller that prefers the records it can read over a
|
|
20
21
|
refusal. Blank lines are skipped, and lines are split and trimmed, the same way in both
|
|
21
22
|
modes. A chunk that is not a string throws `'SYNTAX'` in both modes, because joining it
|