ultracode-for-codex 0.2.2 → 0.2.3

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 CHANGED
@@ -26,7 +26,7 @@ npm run pack:ultracode-for-codex
26
26
  Install the tarball from a target project:
27
27
 
28
28
  ```bash
29
- npm install --save-dev /path/to/ultracode-for-codex-0.2.2.tgz
29
+ npm install --save-dev /path/to/ultracode-for-codex-0.2.3.tgz
30
30
  ```
31
31
 
32
32
  Run a workflow:
@@ -98,6 +98,8 @@ Use `--execution attached`, `--progress`, `--permission`, `--retry-limit`, and
98
98
  agent records also include stable agent identity and label fields.
99
99
  - Press `Ctrl-C` once to cancel the active workflow.
100
100
  - Use `--retry-limit <n>` to retry failed workflows inside the same process.
101
+ - `--timeout-ms` is the workflow timeout and the default per-agent silence
102
+ budget; it is not divided by the retry budget.
101
103
  - Use `--permission ask|allow|deny` for project/user/plugin/scriptPath workflow
102
104
  permission reviews.
103
105
  - Use `--progress plain` for human-readable log lines.
@@ -31,7 +31,7 @@ npm exec -- ultracode-for-codex --llm-guide
31
31
  For source-checkout validation, install the generated tarball instead:
32
32
 
33
33
  ```bash
34
- npm install --save-dev ./ultracode-for-codex-0.2.2.tgz
34
+ npm install --save-dev ./ultracode-for-codex-0.2.3.tgz
35
35
  ```
36
36
 
37
37
  Optional Codex companion skill:
@@ -87,6 +87,8 @@ Useful controls:
87
87
  agent records also include stable agent identity and label fields.
88
88
  - Press `Ctrl-C` once to cancel the running workflow.
89
89
  - Use `--retry-limit <n>` to retry failed runs in the same process.
90
+ - `--timeout-ms` is the workflow timeout and the default per-agent silence
91
+ budget; it is not divided by the retry budget.
90
92
  - Use `--permission ask|allow|deny` for project/user/plugin/scriptPath
91
93
  workflow permission reviews.
92
94
  - Use `--progress plain` for human-readable log lines.
@@ -10,7 +10,6 @@ import { WORKFLOW_JOURNAL_GENESIS_AGENT_CALL_KEY, WORKFLOW_JOURNAL_WRITE_FAILED_
10
10
  const MAX_SCRIPT_BYTES = 64 * 1024;
11
11
  const MAX_AGENT_CALLS = 1000;
12
12
  const MAX_PARALLELISM = 16;
13
- const DEFAULT_AGENT_STALL_TIMEOUT_MS = 180_000;
14
13
  const DEFAULT_AGENT_STALL_RETRY_LIMIT = 5;
15
14
  const DEFAULT_WORKSPACE_CONTEXT_MAX_FILES = 24;
16
15
  const DEFAULT_WORKSPACE_CONTEXT_MAX_FILE_BYTES = 12_000;
@@ -146,7 +145,7 @@ export class WorkflowTaskRegistry {
146
145
  this.options = options;
147
146
  this.stateDir = options.stateDir ?? join(options.cwd ?? process.cwd(), '.ultracode-for-codex');
148
147
  this.agentStallRetryLimit = normalizeAgentStallRetryLimit(options.agentStallRetryLimit);
149
- this.agentStallTimeoutMs = normalizeAgentStallTimeoutMs(options.agentStallTimeoutMs, options.requestTimeoutMs, this.agentStallRetryLimit);
148
+ this.agentStallTimeoutMs = normalizeAgentStallTimeoutMs(options.agentStallTimeoutMs, options.requestTimeoutMs);
150
149
  }
151
150
  async launch(input) {
152
151
  if (this.closed)
@@ -2469,12 +2468,11 @@ function normalizeAgentStallRetryLimit(value) {
2469
2468
  return DEFAULT_AGENT_STALL_RETRY_LIMIT;
2470
2469
  return Math.max(0, Math.floor(value));
2471
2470
  }
2472
- function normalizeAgentStallTimeoutMs(configured, requestTimeoutMs, retryLimit) {
2471
+ function normalizeAgentStallTimeoutMs(configured, requestTimeoutMs) {
2473
2472
  if (configured !== undefined && Number.isFinite(configured) && configured > 0) {
2474
2473
  return Math.max(1, Math.floor(configured));
2475
2474
  }
2476
- const retryAwareTimeout = Math.floor(requestTimeoutMs / Math.max(1, retryLimit + 2));
2477
- return Math.max(1, Math.min(DEFAULT_AGENT_STALL_TIMEOUT_MS, retryAwareTimeout));
2475
+ return Math.max(1, Math.floor(requestTimeoutMs));
2478
2476
  }
2479
2477
  function workflowTaskSnapshot(task) {
2480
2478
  return {
@@ -7,7 +7,7 @@ Date: 2026-06-22
7
7
  This audit checked:
8
8
 
9
9
  - tracked repository files;
10
- - generated npm package contents for `ultracode-for-codex@0.2.2`;
10
+ - generated npm package contents for `ultracode-for-codex@0.2.3`;
11
11
  - the locally installed companion Codex skill.
12
12
 
13
13
  Generated build output and package tarballs were checked as projections of the
@@ -23,7 +23,7 @@ License transition completed:
23
23
 
24
24
  - Apache-2.0 `LICENSE` file is present;
25
25
  - `package.json` and `package-lock.json` declare `Apache-2.0`;
26
- - package version is prepared as `0.2.2` for the license-bearing patch release.
26
+ - package version is prepared as `0.2.3` for the license-bearing patch release.
27
27
 
28
28
  ## Evidence
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultracode-for-codex",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Run local Codex-backed workflows from a command-owned CLI runtime.",
5
5
  "keywords": [
6
6
  "codex",
@@ -35,7 +35,7 @@ For source-checkout validation before publish:
35
35
 
36
36
  ```bash
37
37
  npm run pack:ultracode-for-codex
38
- npm install --save-dev ./artifacts/ultracode-for-codex-0.2.2.tgz
38
+ npm install --save-dev ./artifacts/ultracode-for-codex-0.2.3.tgz
39
39
  ```
40
40
 
41
41
  CLI behavior:
@@ -49,6 +49,8 @@ CLI behavior:
49
49
  with agent identity and label fields on agent records;
50
50
  - `Ctrl-C` cancels the active attached workflow;
51
51
  - `--retry-limit <n>` retries failed workflows inside the same process;
52
+ - `--timeout-ms` is the workflow timeout and the default per-agent silence
53
+ budget; it is not divided by the retry budget.
52
54
  - `--permission ask|allow|deny` handles project/user/plugin/scriptPath reviews.
53
55
  - `--progress plain` switches to human-readable progress lines.
54
56
  - background file locations are controlled by `workflow.background` in