@automatalabs/acp-agents 0.3.0 → 0.4.1
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 +1 -1
- package/dist/backends/codex.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ try {
|
|
|
45
45
|
}
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
`run()` accepts the full `RunOptions` seam: `schema`, `model`, `tier`, `cwd`, `instructions`, `label`, `signal` (cancellation), `toolNames` / `disallowedToolNames`, `mcpServers`, `baseInstructions` / `developerInstructions` (Codex-only, see below), `onUsage`, `onModelResolved`, `onModelFallback`, and `onHistory`. See `@automatalabs/shared-types` for the field-by-field contract.
|
|
48
|
+
`run()` accepts the full `RunOptions` seam: `schema`, `model`, `tier`, `cwd`, `instructions`, `label`, `signal` (cancellation), `toolNames` / `disallowedToolNames`, `mcpServers`, `runId`, `baseInstructions` / `developerInstructions` (Codex-only, see below), `onUsage`, `onModelResolved`, `onModelFallback`, and `onHistory`. See `@automatalabs/shared-types` for the field-by-field contract.
|
|
49
49
|
|
|
50
50
|
### Codex session instructions (`baseInstructions` / `developerInstructions`)
|
|
51
51
|
|
package/dist/backends/codex.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// CodexBackend — drives the installed npm dep @automatalabs/codex-acp, a published fork of
|
|
2
2
|
// @agentclientprotocol/codex-acp that bakes in the outputSchema patch. The patch forwards
|
|
3
|
-
// request._meta["
|
|
3
|
+
// request._meta["outputSchema"] into the Codex App Server's turn/start.outputSchema,
|
|
4
4
|
// which the shipped @openai/codex binary honors end-to-end as an OpenAI Responses-API STRICT
|
|
5
5
|
// constraint on the final assistant message. So the schema rides per-PROMPT `_meta` (not
|
|
6
6
|
// session/new), normalized to OpenAI strict rules first. Output needs no special channel: the
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @automatalabs/acp-agents — implements the AgentRunner seam from @automatalabs/shared-types over
|
|
2
|
-
// the Agent Client Protocol. It spawns claude-agent-acp / the installed npm dep codex-acp
|
|
3
|
-
// (
|
|
4
|
-
// completion. It NEVER imports
|
|
5
|
-
// @automatalabs/workflow-engine; the two siblings meet ONLY at AgentRunner, injected by
|
|
6
|
-
// mcp-server
|
|
2
|
+
// the Agent Client Protocol. It spawns claude-agent-acp / the installed npm dep @automatalabs/codex-acp
|
|
3
|
+
// (a published fork of @agentclientprotocol/codex-acp with the outputSchema forward baked into its
|
|
4
|
+
// dist) as child processes and drives one subagent run to completion. It NEVER imports
|
|
5
|
+
// @automatalabs/workflow-engine; the two siblings meet ONLY at AgentRunner, injected by the
|
|
6
|
+
// @automatalabs/workflows facade (which mcp-server builds on) via createAcpRunner().
|
|
7
7
|
export { AcpAgentRunner, createAcpRunner, selectBackend } from "./runner.js";
|
|
8
8
|
export { PooledConnection, SessionHandle } from "./acp-client.js";
|
|
9
9
|
export { AcpAgentPool, resolvePoolSize } from "./pool.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automatalabs/acp-agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@agentclientprotocol/sdk": "1.0.0",
|
|
28
28
|
"@agentclientprotocol/claude-agent-acp": "0.53.0",
|
|
29
|
-
"@automatalabs/codex-acp": "1.
|
|
29
|
+
"@automatalabs/codex-acp": "1.2.0",
|
|
30
30
|
"typebox": "1.3.2",
|
|
31
|
-
"@automatalabs/shared-types": "0.
|
|
31
|
+
"@automatalabs/shared-types": "0.3.1"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "tsc -b",
|