@parcha/agentrun-harness-codex 0.1.0-beta.108 → 0.1.0-beta.110
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 +4 -0
- package/dist/adapter.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## 0.1.0-beta.110 (2026-12-02)
|
|
6
|
+
|
|
7
|
+
- A run's GenAI trace can now carry its content, opt-in and off by default. With `OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true` (or the pinned conventions' `OTEL_INSTRUMENTATION_GENAI_CAPTURE_CONTENT=SPAN_ONLY`, which decides whenever it is set) in the runner's environment, a run's `invoke_agent` span carries its system prompt, the messages its model was given and the model's text (`gen_ai.system_instructions`, `gen_ai.input.messages`, `gen_ai.output.messages`), and each `execute_tool` span the call's arguments and, for a call that succeeded, its result (`gen_ai.tool.call.arguments`, `gen_ai.tool.call.result`). Every string goes through the run's redactor before it is kept, and each attribute is at most 16,384 bytes. On pi, the model's text is each turn's answer as pi keeps it, and a pi-native tool's result is kept as a host tool's is. Codex's host tool ends now carry their result text, as every other adapter's do (its own built-in tools report none). A workflow's run, a backend SDK run and a native job carry no content yet. No run receives the variable; a run in its own process is told by its runner. Off, every span is byte for byte what it was. With it on, the content is stored in the tracing backend, readable by anyone who can read the project's traces there: see "Content capture" in docs/traces.md. <!-- changes/serve-genai-content-capture.md -->
|
|
8
|
+
|
|
5
9
|
## 0.1.0-beta.82 (2026-12-02)
|
|
6
10
|
|
|
7
11
|
**Breaking:**
|
package/dist/adapter.js
CHANGED
|
@@ -54,7 +54,7 @@ function adapterEvent(event, hostName) {
|
|
|
54
54
|
if (e?.type === "tool_start" && typeof e.name === "string")
|
|
55
55
|
return { type: "tool_start", callId: String(e.callId ?? ""), name: hostName(e.name), args: e.args };
|
|
56
56
|
if (e?.type === "tool_end" && typeof e.name === "string")
|
|
57
|
-
return { type: "tool_end", callId: String(e.callId ?? ""), name: hostName(e.name), isError: e.isError === true, ...(e.truncated === true ? { truncated: true } : {}) };
|
|
57
|
+
return { type: "tool_end", callId: String(e.callId ?? ""), name: hostName(e.name), isError: e.isError === true, ...(typeof e.result === "string" ? { result: e.result } : {}), ...(e.truncated === true ? { truncated: true } : {}) };
|
|
58
58
|
return undefined;
|
|
59
59
|
}
|
|
60
60
|
/** A turn entry's `capCut` when it is one (two money figures), as `{ capCut }`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcha/agentrun-harness-codex",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.110",
|
|
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.
|
|
47
|
+
"@parcha/agentrun-kernel": "0.1.0-beta.110"
|
|
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.
|
|
59
|
+
"@parcha/agentrun-dsl": "0.1.0-beta.110"
|
|
60
60
|
},
|
|
61
61
|
"repository": {
|
|
62
62
|
"type": "git",
|