@dungle-scrubs/harness-cli-normalizer 0.4.0 → 0.4.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/cli/args.d.ts +1 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +21 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/config.d.ts.map +1 -1
- package/dist/cli/config.js +8 -0
- package/dist/cli/config.js.map +1 -1
- package/dist/cli/help.d.ts +1 -1
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +17 -1
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/run.d.ts.map +1 -1
- package/dist/cli/run.js +42 -2
- package/dist/cli/run.js.map +1 -1
- package/dist/cli/skills-root.d.ts +4 -0
- package/dist/cli/skills-root.d.ts.map +1 -0
- package/dist/cli/skills-root.js +45 -0
- package/dist/cli/skills-root.js.map +1 -0
- package/dist/execution/failure.d.ts +4 -1
- package/dist/execution/failure.d.ts.map +1 -1
- package/dist/execution/failure.js +15 -2
- package/dist/execution/failure.js.map +1 -1
- package/dist/execution/stream-turn.d.ts.map +1 -1
- package/dist/execution/stream-turn.js +16 -3
- package/dist/execution/stream-turn.js.map +1 -1
- package/dist/interpretation/argv.d.ts +5 -0
- package/dist/interpretation/argv.d.ts.map +1 -1
- package/dist/interpretation/argv.js +4 -0
- package/dist/interpretation/argv.js.map +1 -1
- package/dist/interpretation/refusal.d.ts +1 -1
- package/dist/interpretation/refusal.d.ts.map +1 -1
- package/dist/interpretation/refusal.js.map +1 -1
- package/dist/interpretation/resolve-options.d.ts.map +1 -1
- package/dist/interpretation/resolve-options.js +27 -5
- package/dist/interpretation/resolve-options.js.map +1 -1
- package/dist/interpretation/skills-selection.d.ts +22 -0
- package/dist/interpretation/skills-selection.d.ts.map +1 -0
- package/dist/interpretation/skills-selection.js +49 -0
- package/dist/interpretation/skills-selection.js.map +1 -0
- package/dist/knowledge/claude-code.d.ts.map +1 -1
- package/dist/knowledge/claude-code.js +1 -0
- package/dist/knowledge/claude-code.js.map +1 -1
- package/dist/knowledge/codex.d.ts.map +1 -1
- package/dist/knowledge/codex.js +1 -0
- package/dist/knowledge/codex.js.map +1 -1
- package/dist/knowledge/descriptor.d.ts +7 -0
- package/dist/knowledge/descriptor.d.ts.map +1 -1
- package/dist/knowledge/muse.d.ts.map +1 -1
- package/dist/knowledge/muse.js +1 -0
- package/dist/knowledge/muse.js.map +1 -1
- package/dist/knowledge/pi.d.ts.map +1 -1
- package/dist/knowledge/pi.js +1 -0
- package/dist/knowledge/pi.js.map +1 -1
- package/dist/knowledge/profile.d.ts +3 -0
- package/dist/knowledge/profile.d.ts.map +1 -1
- package/dist/knowledge/profile.js +20 -0
- package/dist/knowledge/profile.js.map +1 -1
- package/package.json +1 -1
- package/src/cli/args.ts +33 -2
- package/src/cli/config.ts +10 -0
- package/src/cli/help.ts +17 -1
- package/src/cli/run.ts +46 -5
- package/src/cli/skills-root.ts +47 -0
- package/src/execution/failure.ts +16 -2
- package/src/execution/stream-turn.ts +17 -2
- package/src/interpretation/argv.ts +9 -0
- package/src/interpretation/refusal.ts +1 -0
- package/src/interpretation/resolve-options.ts +29 -5
- package/src/interpretation/skills-selection.ts +73 -0
- package/src/knowledge/claude-code.ts +1 -0
- package/src/knowledge/codex.ts +1 -0
- package/src/knowledge/descriptor.ts +7 -0
- package/src/knowledge/muse.ts +1 -0
- package/src/knowledge/pi.ts +1 -0
- package/src/knowledge/profile.ts +20 -0
package/src/knowledge/profile.ts
CHANGED
|
@@ -28,6 +28,26 @@ export const DEFAULT_TURN_PROFILE = deepFreeze({
|
|
|
28
28
|
// Ratified: autonomy OFF. No bare run is unattended; --autonomy or a
|
|
29
29
|
// config must say so deliberately.
|
|
30
30
|
autonomy: false,
|
|
31
|
+
// D9/D10, ratified round 2: write and shell ON - names current
|
|
32
|
+
// behavior (emit-nothing on claude/codex/pi; muse omits its disable
|
|
33
|
+
// flags). Completes the "what can a bare run do to the machine" row of
|
|
34
|
+
// provenance.
|
|
35
|
+
write: true,
|
|
36
|
+
shell: true,
|
|
37
|
+
// D13, ratified: equivalent-as-possible tool defaults. The marker
|
|
38
|
+
// expands per descriptor at resolve time - pi gains its dormant
|
|
39
|
+
// grep/find/ls; claude emits nothing (already everything); codex/muse
|
|
40
|
+
// report divergence (no list surface). Project floors narrow it by
|
|
41
|
+
// the normal precedence chain.
|
|
42
|
+
tools: "all-known",
|
|
43
|
+
// Model is PERMANENTLY out of profile scope (ratified round 2): no
|
|
44
|
+
// cross-harness model namespace exists, pi's registry is
|
|
45
|
+
// runtime-extensible and environment-dependent, and per-harness config
|
|
46
|
+
// already covers "claude on X, pi on Y". Do not add a model entry.
|
|
47
|
+
// timeout and maxSteps are likewise opt-in-only dimensions (D11/D12):
|
|
48
|
+
// no harness ships a wall-clock cap, one prompt expands into an
|
|
49
|
+
// unbounded turn loop, and a fixed default kills legitimate work. They
|
|
50
|
+
// live in args/config only, never here.
|
|
31
51
|
} as const);
|
|
32
52
|
|
|
33
53
|
export type ProfileKey = keyof typeof DEFAULT_TURN_PROFILE;
|