remote-codex 0.11.51 → 0.11.52

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.
@@ -10,13 +10,13 @@
10
10
  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
11
11
  <link rel="manifest" href="/site.webmanifest" />
12
12
  <title>Remote Codex</title>
13
- <script type="module" crossorigin src="/assets/index-7LiZQ3aJ.js"></script>
13
+ <script type="module" crossorigin src="/assets/index-BBq6mr8o.js"></script>
14
14
  <link rel="modulepreload" crossorigin href="/assets/react-vendor-Dfg_6BLf.js">
15
15
  <link rel="modulepreload" crossorigin href="/assets/ui-vendor-CuR8GHb0.js">
16
16
  <link rel="modulepreload" crossorigin href="/assets/graph-vendor-DVQUpZ8C.js">
17
17
  <link rel="modulepreload" crossorigin href="/assets/terminal-vendor-C5bTa-Ka.js">
18
18
  <link rel="modulepreload" crossorigin href="/assets/markdown-vendor-BG6PurxI.js">
19
- <link rel="modulepreload" crossorigin href="/assets/thread-ui-BbtcUwps.js">
19
+ <link rel="modulepreload" crossorigin href="/assets/thread-ui-C5pxOmDJ.js">
20
20
  <link rel="stylesheet" crossorigin href="/assets/graph-vendor-C5ap-Sga.css">
21
21
  <link rel="stylesheet" crossorigin href="/assets/terminal-vendor-Beg8tuEN.css">
22
22
  <link rel="stylesheet" crossorigin href="/assets/index-Bg8FdhS1.css">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remote-codex",
3
- "version": "0.11.51",
3
+ "version": "0.11.52",
4
4
  "description": "Local web supervisor for Codex workspaces and threads.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -471,7 +471,7 @@ describe('AcpRuntimeAdapter', () => {
471
471
  env: {
472
472
  REMOTE_CODEX_FAKE_ACP_AGENT_KIND: 'codex',
473
473
  REMOTE_CODEX_FAKE_ACP_SKIP_PERMISSION: '1',
474
- REMOTE_CODEX_FAKE_ACP_STREAM_DELAY_MS: '100',
474
+ REMOTE_CODEX_FAKE_ACP_STREAM_DELAY_MS: '1000',
475
475
  },
476
476
  startupTimeoutMs: 5_000,
477
477
  });
@@ -500,10 +500,23 @@ describe('AcpRuntimeAdapter', () => {
500
500
  });
501
501
  },
502
502
  );
503
+ const partialStarted = new Promise<void>((resolve, reject) => {
504
+ const timer = setTimeout(() => reject(new Error('Steerable fixture partial timed out.')), 10_000);
505
+ const onEvent = (event: AgentRuntimeEvent) => {
506
+ if (event.type !== 'output.delta' || !event.delta.includes('FAKE_ACP_PARTIAL')) {
507
+ return;
508
+ }
509
+ clearTimeout(timer);
510
+ adapter.off('event', onEvent);
511
+ resolve();
512
+ };
513
+ adapter.on('event', onEvent);
514
+ });
503
515
  const running = await adapter.startTurn({
504
516
  providerSessionId: session.providerSessionId,
505
517
  prompt: 'Start a steerable fixture turn.',
506
518
  });
519
+ await partialStarted;
507
520
  await expect(adapter.sendInput({
508
521
  providerSessionId: session.providerSessionId,
509
522
  providerTurnId: running.providerTurnId,
@@ -315,7 +315,7 @@ describe('CodexAppServerManager', () => {
315
315
 
316
316
  const manager = new CodexAppServerManager({
317
317
  command: process.execPath,
318
- startupTimeoutMs: 1000,
318
+ startupTimeoutMs: 5_000,
319
319
  clientInfo: {
320
320
  name: 'test',
321
321
  title: 'test',
@@ -388,7 +388,7 @@ describe('CodexAppServerManager', () => {
388
388
  ]);
389
389
 
390
390
  await manager.stop();
391
- });
391
+ }, 15_000);
392
392
 
393
393
  it('does not let a stale child exit close the replacement app-server client during restart', async () => {
394
394
  const firstChild = new ScriptedChild({