remote-codex 0.11.20 → 0.11.21

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.
@@ -4,13 +4,13 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Remote Codex Supervisor</title>
7
- <script type="module" crossorigin src="/assets/index-BdeDlmJY.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-BfspE5mQ.js"></script>
8
8
  <link rel="modulepreload" crossorigin href="/assets/react-vendor-CgLzZcV4.js">
9
9
  <link rel="modulepreload" crossorigin href="/assets/ui-vendor-CeKGesq3.js">
10
10
  <link rel="modulepreload" crossorigin href="/assets/graph-vendor-DVPtkh3h.js">
11
11
  <link rel="modulepreload" crossorigin href="/assets/terminal-vendor-B365Go3Z.js">
12
12
  <link rel="modulepreload" crossorigin href="/assets/markdown-vendor-BQJfKm05.js">
13
- <link rel="modulepreload" crossorigin href="/assets/thread-ui-C5nUCiEf.js">
13
+ <link rel="modulepreload" crossorigin href="/assets/thread-ui-CDgAOcDh.js">
14
14
  <link rel="stylesheet" crossorigin href="/assets/graph-vendor-C5ap-Sga.css">
15
15
  <link rel="stylesheet" crossorigin href="/assets/terminal-vendor-Beg8tuEN.css">
16
16
  <link rel="stylesheet" crossorigin href="/assets/index-BmBS1Wzk.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remote-codex",
3
- "version": "0.11.20",
3
+ "version": "0.11.21",
4
4
  "description": "Local web supervisor for Codex workspaces and threads.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -575,7 +575,7 @@ describe('ClaudeRuntimeAdapter', () => {
575
575
  await expect(adapter.listLoadedSessions()).resolves.toEqual(['claude-session-1']);
576
576
  });
577
577
 
578
- it('exposes the Claude Code Sonnet 1M option and enables the 1M context beta', async () => {
578
+ it('exposes Claude Code model aliases and enables the 1M context beta', async () => {
579
579
  const sdkOptions: Record<string, unknown>[] = [];
580
580
  const adapter = new ClaudeRuntimeAdapter({
581
581
  home: '/tmp/claude-home',
@@ -600,6 +600,11 @@ describe('ClaudeRuntimeAdapter', () => {
600
600
  model: 'sonnet[1m]',
601
601
  displayName: 'Claude Sonnet 1M',
602
602
  }),
603
+ expect.objectContaining({
604
+ model: 'fable',
605
+ displayName: 'Claude Fable',
606
+ defaultReasoningEffort: 'medium',
607
+ }),
603
608
  ]),
604
609
  );
605
610
 
@@ -512,6 +512,21 @@ const DEFAULT_CLAUDE_MODELS: AgentModel[] = [
512
512
  ],
513
513
  defaultReasoningEffort: 'medium',
514
514
  },
515
+ {
516
+ id: 'fable',
517
+ model: 'fable',
518
+ displayName: 'Claude Fable',
519
+ description: 'Claude Code Fable model alias.',
520
+ isDefault: false,
521
+ hidden: false,
522
+ supportedReasoningEfforts: [
523
+ { reasoningEffort: 'low', description: 'Low effort' },
524
+ { reasoningEffort: 'medium', description: 'Medium effort' },
525
+ { reasoningEffort: 'high', description: 'High effort' },
526
+ { reasoningEffort: 'xhigh', description: 'Extra high effort' },
527
+ ],
528
+ defaultReasoningEffort: 'medium',
529
+ },
515
530
  {
516
531
  id: 'opus',
517
532
  model: 'opus',
@@ -589,6 +604,7 @@ function withClaudeCodeModelAliases(models: AgentModel[]) {
589
604
  const output = [...models];
590
605
  const defaultSonnet = DEFAULT_CLAUDE_MODELS[0]!;
591
606
  const oneMillionSonnet = DEFAULT_CLAUDE_MODELS[1]!;
607
+ const fable = DEFAULT_CLAUDE_MODELS[2]!;
592
608
  const hasSonnetAlias = output.some((model) => model.model === 'sonnet');
593
609
  if (!hasSonnetAlias) {
594
610
  output.unshift(defaultSonnet);
@@ -596,6 +612,9 @@ function withClaudeCodeModelAliases(models: AgentModel[]) {
596
612
  if (!output.some((model) => model.model === 'sonnet[1m]')) {
597
613
  output.splice(1, 0, oneMillionSonnet);
598
614
  }
615
+ if (!output.some((model) => model.model === 'fable')) {
616
+ output.splice(2, 0, fable);
617
+ }
599
618
  return output.map((model, index) => ({
600
619
  ...model,
601
620
  isDefault: index === 0,