@rynx-ai/runtime 0.1.11-beta.8 → 0.1.11-beta.9
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/claude/models.d.ts +0 -5
- package/dist/claude/models.js +1 -7
- package/dist/host.js +8 -9
- package/package.json +2 -2
package/dist/claude/models.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
import type { ModelInfo, ModelListResponse } from "../codex-app-server/protocol.js";
|
|
2
|
-
/**
|
|
3
|
-
* Default model for the claude runtime when `CLAUDE_MODEL` is unset. Kept in
|
|
4
|
-
* sync with the `CLAUDE_MODEL` default in {@link import("../config.js")}.
|
|
5
|
-
*/
|
|
6
|
-
export declare const CLAUDE_DEFAULT_MODEL = "claude-sonnet-4-6";
|
|
7
2
|
/** Build the `ModelInfo[]` for the claude runtime. */
|
|
8
3
|
export declare function claudeModelInfos(): ModelInfo[];
|
|
9
4
|
/** {@link ModelListResponse} for the claude runtime (broker `listModels`). */
|
package/dist/claude/models.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default model for the claude runtime when `CLAUDE_MODEL` is unset. Kept in
|
|
3
|
-
* sync with the `CLAUDE_MODEL` default in {@link import("../config.js")}.
|
|
4
|
-
*/
|
|
5
|
-
export const CLAUDE_DEFAULT_MODEL = "claude-sonnet-4-6";
|
|
6
1
|
/**
|
|
7
2
|
* Static catalogue of Claude models the `/model` card and `/models` reply offer
|
|
8
3
|
* for the claude runtime. Unlike codex/traex (which query a live app-server),
|
|
@@ -12,7 +7,7 @@ export const CLAUDE_DEFAULT_MODEL = "claude-sonnet-4-6";
|
|
|
12
7
|
*/
|
|
13
8
|
const CLAUDE_MODEL_IDS = [
|
|
14
9
|
{ id: "claude-opus-4-8", displayName: "Claude Opus 4.8 · 最强" },
|
|
15
|
-
{ id: "claude-sonnet-4-6", displayName: "Claude Sonnet 4.6 ·
|
|
10
|
+
{ id: "claude-sonnet-4-6", displayName: "Claude Sonnet 4.6 · 均衡" },
|
|
16
11
|
{ id: "claude-haiku-4-5", displayName: "Claude Haiku 4.5 · 最快" },
|
|
17
12
|
{ id: "claude-opus-4-7", displayName: "Claude Opus 4.7" },
|
|
18
13
|
{ id: "claude-opus-4-6", displayName: "Claude Opus 4.6" },
|
|
@@ -24,7 +19,6 @@ export function claudeModelInfos() {
|
|
|
24
19
|
id,
|
|
25
20
|
model: id,
|
|
26
21
|
displayName,
|
|
27
|
-
isDefault: id === CLAUDE_DEFAULT_MODEL,
|
|
28
22
|
}));
|
|
29
23
|
}
|
|
30
24
|
/** {@link ModelListResponse} for the claude runtime (broker `listModels`). */
|
package/dist/host.js
CHANGED
|
@@ -643,7 +643,7 @@ export class LocalAgentHost {
|
|
|
643
643
|
console.error(`[codex-live] session=${localThreadId} runtime=${runtime} forwarder init failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
644
644
|
return abandon();
|
|
645
645
|
}
|
|
646
|
-
const model = execution.model;
|
|
646
|
+
const model = execution.model ?? "";
|
|
647
647
|
const reasoningEffort = execution.reasoningEffort ?? undefined;
|
|
648
648
|
let markReady;
|
|
649
649
|
const ready = new Promise((resolve) => {
|
|
@@ -709,9 +709,8 @@ export class LocalAgentHost {
|
|
|
709
709
|
// `turn/started` land on ONE response instead of splitting into random
|
|
710
710
|
// ids (the DB `resp_codex_<uuid>` doubling). Mirrors reference implementation `_response_id`.
|
|
711
711
|
responseId,
|
|
712
|
-
//
|
|
713
|
-
//
|
|
714
|
-
// label, so report the runtime when the exact model is unknown.
|
|
712
|
+
// A null Session model intentionally leaves selection to the Provider
|
|
713
|
+
// CLI. Canonical events still require a printable label.
|
|
715
714
|
model: model || runtime,
|
|
716
715
|
});
|
|
717
716
|
return normalizer;
|
|
@@ -1527,7 +1526,7 @@ export class LocalAgentHost {
|
|
|
1527
1526
|
});
|
|
1528
1527
|
const settings = { ...effectiveSettings, ...hookSettings };
|
|
1529
1528
|
const settingsPath = writeManagedClaudeSettings(claudeBridgeDir(localThreadId), settings);
|
|
1530
|
-
// The live session carries the
|
|
1529
|
+
// The live session carries the daemon-owned execution state used by Chat.
|
|
1531
1530
|
const args = buildClaudeTuiArgs({
|
|
1532
1531
|
settingsJson: settingsPath,
|
|
1533
1532
|
// A rynx-managed Session must have one interaction owner. Loading host or
|
|
@@ -1535,7 +1534,7 @@ export class LocalAgentHost {
|
|
|
1535
1534
|
// resolve the same native request while rynx still exposes it as pending.
|
|
1536
1535
|
// Explicit rynx hooks and selected-skill plugin dirs remain enabled.
|
|
1537
1536
|
settingSources: "",
|
|
1538
|
-
model: live.execution.model,
|
|
1537
|
+
...(live.execution.model ? { model: live.execution.model } : {}),
|
|
1539
1538
|
...(live.execution.reasoningEffort
|
|
1540
1539
|
? { reasoningEffort: live.execution.reasoningEffort }
|
|
1541
1540
|
: {}),
|
|
@@ -1680,7 +1679,7 @@ export class LocalAgentHost {
|
|
|
1680
1679
|
console.error(`[session-snapshot] session=${localThreadId} skill materialization failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
1681
1680
|
return false;
|
|
1682
1681
|
}
|
|
1683
|
-
const model = execution.model;
|
|
1682
|
+
const model = execution.model ?? "";
|
|
1684
1683
|
const skillPlugin = await materializeSkillPlugin(snapshotSkills.selectedSkills);
|
|
1685
1684
|
void snapshotSkills.skillsCleanup();
|
|
1686
1685
|
const permissionMode = execution.permissionMode;
|
|
@@ -1711,7 +1710,7 @@ export class LocalAgentHost {
|
|
|
1711
1710
|
normalizer = new SessionNormalizer({
|
|
1712
1711
|
sessionId: currentSessionId,
|
|
1713
1712
|
responseId,
|
|
1714
|
-
model,
|
|
1713
|
+
model: model || "claude",
|
|
1715
1714
|
});
|
|
1716
1715
|
return normalizer;
|
|
1717
1716
|
};
|
|
@@ -2129,7 +2128,7 @@ export class LocalAgentHost {
|
|
|
2129
2128
|
threadId: record.codexSessionId,
|
|
2130
2129
|
excludeTurns: true,
|
|
2131
2130
|
...threadWorkspaceParams(runtime, workspace, execution.sandbox ?? "workspace-write"),
|
|
2132
|
-
model: execution.model,
|
|
2131
|
+
...(execution.model ? { model: execution.model } : {}),
|
|
2133
2132
|
approvalPolicy: execution.approvalPolicy,
|
|
2134
2133
|
});
|
|
2135
2134
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rynx-ai/runtime",
|
|
3
|
-
"version": "0.1.11-beta.
|
|
3
|
+
"version": "0.1.11-beta.9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/rynx-ai/rynx.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"node-pty": "1.2.0-beta.15",
|
|
28
28
|
"ws": "^8.21.0",
|
|
29
|
-
"@rynx-ai/core": "0.1.11-beta.
|
|
29
|
+
"@rynx-ai/core": "0.1.11-beta.9"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.18.1"
|