@rynx-ai/workspace 0.1.11-beta.4 → 0.1.11-beta.41

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.
@@ -29,7 +29,7 @@ export function workspaceAgentModelOptions(runtime, env = {}) {
29
29
  return claudeModelOptions(env.CLAUDE_MODEL);
30
30
  const model = runtime === "traex"
31
31
  ? env.TRAEX_MODEL?.trim() || env.TRAECLI_MODEL?.trim()
32
- : env.CODEX_MODEL?.trim() || "gpt-5.5";
32
+ : env.CODEX_MODEL?.trim();
33
33
  return model
34
34
  ? [
35
35
  {
@@ -40,7 +40,6 @@ export function workspaceAgentModelOptions(runtime, env = {}) {
40
40
  ]
41
41
  : [];
42
42
  }
43
- const CLAUDE_DEFAULT_MODEL = "claude-sonnet-4-6";
44
43
  const CLAUDE_MODEL_IDS = [
45
44
  { id: "claude-opus-4-8", label: "Claude Opus 4.8" },
46
45
  { id: "claude-sonnet-4-6", label: "Claude Sonnet 4.6" },
@@ -50,15 +49,15 @@ const CLAUDE_MODEL_IDS = [
50
49
  { id: "claude-fable-5", label: "Claude Fable 5" },
51
50
  ];
52
51
  function claudeModelOptions(configuredModel) {
53
- const defaultModel = configuredModel?.trim() || CLAUDE_DEFAULT_MODEL;
52
+ const defaultModel = configuredModel?.trim();
54
53
  const known = new Set(CLAUDE_MODEL_IDS.map((model) => model.id));
55
- const models = known.has(defaultModel)
54
+ const models = !defaultModel || known.has(defaultModel)
56
55
  ? CLAUDE_MODEL_IDS
57
56
  : [{ id: defaultModel, label: defaultModel }, ...CLAUDE_MODEL_IDS];
58
57
  return models.map((model) => ({
59
58
  id: model.id,
60
59
  label: model.label,
61
- isDefault: model.id === defaultModel,
60
+ isDefault: Boolean(defaultModel) && model.id === defaultModel,
62
61
  }));
63
62
  }
64
63
  const REASONING_LABELS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rynx-ai/workspace",
3
- "version": "0.1.11-beta.4",
3
+ "version": "0.1.11-beta.41",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/rynx-ai/rynx.git",