@sagentlab/navarch-runtime 0.1.45 → 0.1.46
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 +3 -3
- package/dist/adapters/claude.cjs +2 -2
- package/dist/session.cjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -490,7 +490,7 @@ set the standard `reasoning_effort` configuration option when it is available.
|
|
|
490
490
|
Machine-wide extra arguments still configure other CLI behavior; dispatched
|
|
491
491
|
model policy wins.
|
|
492
492
|
|
|
493
|
-
Codex defaults to `gpt-6-astra`; Claude Code defaults to `claude-
|
|
493
|
+
Codex defaults to `gpt-6-astra`; Claude Code defaults to `claude-opus-5`.
|
|
494
494
|
Explicit project and `steering/navarch.yaml` model choices still win. A task's
|
|
495
495
|
explicit execution profile wins over the repository's per-task-type profile.
|
|
496
496
|
Otherwise, claim-time classification uses the task summary and metadata:
|
|
@@ -505,7 +505,7 @@ The classifier is deterministic and conservative; it never chooses `critical`
|
|
|
505
505
|
or `deep` automatically. Set an explicit profile to override its assessment.
|
|
506
506
|
Existing explicit task profiles remain explicit.
|
|
507
507
|
|
|
508
|
-
Fable sessions pass `--fallback-model claude-opus-5` for Claude Code's native
|
|
508
|
+
Explicitly selected Fable sessions pass `--fallback-model claude-opus-5` for Claude Code's native
|
|
509
509
|
[availability fallback](https://code.claude.com/docs/en/model-config#fallback-model-chains).
|
|
510
510
|
Because native fallback excludes usage limits, a structured 429 usage-limit
|
|
511
511
|
rejection gets one additional Opus attempt within the original timeout. It
|
|
@@ -516,7 +516,7 @@ that retry. If Opus is also limited, the usual machine cooldown applies.
|
|
|
516
516
|
The runtime records the fallback in the transcript and reports Opus for the
|
|
517
517
|
retry and subsequent turns. Native multi-model turns still report the requested
|
|
518
518
|
primary model; their aggregate provider-reported usage includes both models.
|
|
519
|
-
|
|
519
|
+
Selecting Fable requires a Claude Code version supporting Fable 5.1 (v2.1.255 or later).
|
|
520
520
|
|
|
521
521
|
Astra token cost reporting uses a standard short-context API-equivalent
|
|
522
522
|
estimate from [OpenAI pricing](https://developers.openai.com/api/docs/pricing),
|
package/dist/adapters/claude.cjs
CHANGED
|
@@ -5,7 +5,7 @@ exports.runClaudeCodeAdapter = runClaudeCodeAdapter;
|
|
|
5
5
|
const node_child_process_1 = require("node:child_process");
|
|
6
6
|
const exit_conditions_cjs_1 = require("../exit-conditions.cjs");
|
|
7
7
|
const adapter_capacity_cjs_1 = require("../adapter-capacity.cjs");
|
|
8
|
-
const DEFAULT_CLAUDE_MODEL = "claude-
|
|
8
|
+
const DEFAULT_CLAUDE_MODEL = "claude-opus-5";
|
|
9
9
|
const FALLBACK_CLAUDE_MODEL = "claude-opus-5";
|
|
10
10
|
function hasFlag(args, flag) {
|
|
11
11
|
return args.some((arg) => arg === flag || arg.startsWith(`${flag}=`));
|
|
@@ -35,7 +35,7 @@ async function runClaudeCodeAdapter(options) {
|
|
|
35
35
|
return { exitCode: null, timedOut: false, killedByLeaseLoss: true, stdout: "", stderr: "" };
|
|
36
36
|
}
|
|
37
37
|
const model = options.model ?? DEFAULT_CLAUDE_MODEL;
|
|
38
|
-
const automaticFallback = [
|
|
38
|
+
const automaticFallback = ["claude-fable-5-1", "fable"].includes(model) &&
|
|
39
39
|
!hasFlag(options.extraArgs, "--fallback-model");
|
|
40
40
|
const startedAt = Date.now();
|
|
41
41
|
const primary = await runClaudeAttempt({ ...options, model }, automaticFallback);
|
package/dist/session.cjs
CHANGED
|
@@ -69,7 +69,7 @@ async function runSession(deps, claimed, sessionId) {
|
|
|
69
69
|
? "auto"
|
|
70
70
|
: runtime === "opencode" || runtime === "acp"
|
|
71
71
|
? "default"
|
|
72
|
-
: "claude-
|
|
72
|
+
: "claude-opus-5",
|
|
73
73
|
reasoning_effort: "medium",
|
|
74
74
|
};
|
|
75
75
|
const crashDetail = describeCompletionError(err).slice(0, 1800);
|
|
@@ -107,7 +107,7 @@ async function runClaimedSession(deps, claimed, sessionId, lifecycle) {
|
|
|
107
107
|
? "auto"
|
|
108
108
|
: runtime === "opencode" || runtime === "acp"
|
|
109
109
|
? "default"
|
|
110
|
-
: "claude-
|
|
110
|
+
: "claude-opus-5",
|
|
111
111
|
reasoning_effort: "medium",
|
|
112
112
|
};
|
|
113
113
|
// Isolation posture reported on every completion so `sessions` records what
|
package/package.json
CHANGED