@parcha/agentrun-harness-codex 0.1.0-beta.81 → 0.1.0-beta.83

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 0.1.0-beta.82 (2026-12-02)
6
+
7
+ **Breaking:**
8
+
9
+ - The default OpenAI model is gpt-6.1-terra: on OpenAI's key, on OpenRouter's (for pi, codex and opencode), on a ChatGPT plan that lists it, and as the Codex adapter's own default. It was gpt-6.1-sol, and the Codex adapter's was openai/gpt-6-luna. The OpenAI models offered to pick are gpt-6.2-sol, gpt-6.2-astra, gpt-6.1-terra, gpt-6.1-sol and gpt-6-luna, in that order. A host that relied on the OpenAI default names its model to keep it (`AGENT_MODEL=openai/gpt-6.1-sol`, or the revision's `model`). <!-- changes/openai-default-gpt-6-1-terra.md -->
10
+
5
11
  ## 0.1.0-beta.81 (2026-12-01)
6
12
 
7
13
  - A code-mode script that `codex-code-mode-host` did not run to its end ends its turn failed instead of completed, and a host that goes quiet on a script no longer holds the turn open without end. Codex answers an `exec` in its own words, with no script status, when the host is off, did not start, answered outside its protocol, or died with the script in it, and it ended the turn completed; and it waited on a host that took the script and went quiet for as long as the host stayed up. The adapter now counts an `exec` (or the `wait` on its cell) as run only when its output's first text starts with one of Codex's script status headers (`SCRIPT_STATUS`), or with Codex's answer to an `exec` the model wrote wrong (`EXEC_MISTAKES`: no script, or a bad first-line pragma, which Codex answers before it asks the host and the model can put right). Any other answer stops the turn and fails it, naming `codex-code-mode-host` and Codex's words, whether or not a nested call of the script ran first. A host that leaves an `exec` or `wait` unanswered for a minute past the yield the script asked for (Codex's default when it names none), with no nested call of it running, fails the turn the same way. Both lists are checked against the pinned binary. <!-- changes/codex-code-mode-host-down.md -->
package/dist/harness.d.ts CHANGED
@@ -156,7 +156,7 @@ export interface CodexMachine {
156
156
  /** `sandbox({ commandTimeoutMs })`: a built-in command's longest run, within the time left in the invocation. */
157
157
  commandTimeoutMs?: number;
158
158
  }
159
- export declare const DEFAULT_MODEL = "openai/gpt-6-luna";
159
+ export declare const DEFAULT_MODEL = "openai/gpt-6.1-terra";
160
160
  /** A Codex item's replay policy: a command whose every action reads is `safe`; any other command, and every patch, `never`. */
161
161
  export declare function codexItemReplay(item: {
162
162
  type?: string;
package/dist/harness.js CHANGED
@@ -11,7 +11,7 @@ import { NESTED_CALL } from './scripts.js';
11
11
  import { danglingCalls, nextRolloutOrdinal, settleCall } from './transcript.js';
12
12
  import { BUILTINS_ON, checkConfig, codexConfig, toToml } from './config.js';
13
13
  import { callIdOf, endsTurn, isRolloutPath, isSessionMeta, rolloutPathIn, rolloutStream, rolloutText, summarizeRollout, THREAD_STREAM, } from './rollout.js';
14
- export const DEFAULT_MODEL = 'openai/gpt-6-luna';
14
+ export const DEFAULT_MODEL = 'openai/gpt-6.1-terra';
15
15
  const SANDBOX_MODES = new Set(['read-only', 'workspace-write', 'danger-full-access']);
16
16
  /** Codex's command actions that only read: a command made of these alone is `safe` (the note says "safe to repeat"). */
17
17
  const READ_ACTIONS = new Set(['read', 'listFiles', 'search']);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcha/agentrun-harness-codex",
3
- "version": "0.1.0-beta.81",
3
+ "version": "0.1.0-beta.83",
4
4
  "description": "Codex as an AgentRun harness: a tool-less Codex app-server behind a loopback model proxy, durable in AgentRun's own store, with the host's tools as its only tools.",
5
5
  "keywords": [
6
6
  "agentrun",
@@ -44,7 +44,7 @@
44
44
  "test": "node --test --test-concurrency=8 'test/*.test.mjs'"
45
45
  },
46
46
  "dependencies": {
47
- "@parcha/agentrun-kernel": "0.1.0-beta.81"
47
+ "@parcha/agentrun-kernel": "0.1.0-beta.83"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@openai/codex": "0.164.0"
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "devDependencies": {
58
58
  "@openai/codex": "0.164.0",
59
- "@parcha/agentrun-dsl": "0.1.0-beta.81"
59
+ "@parcha/agentrun-dsl": "0.1.0-beta.83"
60
60
  },
61
61
  "repository": {
62
62
  "type": "git",