@automatalabs/acp-agents 0.34.17 → 0.34.18
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/dist/backends/claude.js +1 -1
- package/dist/backends/codex.d.ts.map +1 -1
- package/dist/backends/codex.js +12 -15
- package/dist/backends/define.d.ts +9 -8
- package/dist/backends/define.d.ts.map +1 -1
- package/dist/backends/opencode.js +1 -1
- package/dist/backends/pi.js +1 -1
- package/package.json +2 -2
package/dist/backends/claude.js
CHANGED
|
@@ -94,7 +94,7 @@ export const claudeBackendDefinition = defineBuiltinBackend({
|
|
|
94
94
|
"@agentclientprotocol/sdk",
|
|
95
95
|
"@agentclientprotocol/claude-agent-acp",
|
|
96
96
|
],
|
|
97
|
-
|
|
97
|
+
sourceUpstreams: [],
|
|
98
98
|
wrappedRuntimes: [
|
|
99
99
|
{
|
|
100
100
|
adapterPackage: "@agentclientprotocol/claude-agent-acp",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../src/backends/codex.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"codex.d.ts","sourceRoot":"","sources":["../../src/backends/codex.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EACV,OAAO,EACP,2BAA2B,EAC3B,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EACjB,MAAM,eAAe,CAAC;AAUvB,6FAA6F;AAC7F,eAAO,MAAM,gBAAgB,EAAE,WAe9B,CAAC;AAEF,qBAAa,YAAa,YAAW,OAAO;IAG9B,QAAQ,CAAC,WAAW,EAAE,WAAW;IAF7C,QAAQ,CAAC,EAAE,EAAG,OAAO,CAAU;gBAEV,WAAW,GAAE,WAA8B;IAEhE,QAAQ,CAAC,kBAAkB;;;MAGhB;IAEX,qBAAqB,CACnB,KAAK,EAAE,OAAO,EACd,QAAQ,CAAC,EAAE,qBAAqB,GAC/B,2BAA2B,GAAG,SAAS;IAW1C,WAAW,IAAI,WAAW;IAe1B,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,EAAE,MAAM,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;IAY1G,UAAU,CAAC,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;IAK5E,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO;CAMpD;AAED,eAAO,MAAM,sBAAsB,yDAuBjC,CAAC"}
|
package/dist/backends/codex.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// CodexBackend — drives the
|
|
2
|
-
// @agentclientprotocol/codex-acp
|
|
1
|
+
// CodexBackend — drives the workspace package @automatalabs/codex-acp (packages/codex-acp), our
|
|
2
|
+
// maintained fork of @agentclientprotocol/codex-acp imported as a non-squashed subtree (#282),
|
|
3
|
+
// which bakes in the outputSchema patch. The patch forwards
|
|
3
4
|
// request._meta["outputSchema"] into the Codex App Server's turn/start.outputSchema,
|
|
4
5
|
// which the shipped @openai/codex binary honors as an OpenAI Responses-API STRICT constraint —
|
|
5
6
|
// applied to EVERY sampled assistant message in the turn (field-verified), not only the last:
|
|
@@ -60,10 +61,10 @@ export class CodexBackend {
|
|
|
60
61
|
if (override) {
|
|
61
62
|
return { command: override, args: splitArgs(env.AGENTPRISM_CODEX_ACP_ARGS), env };
|
|
62
63
|
}
|
|
63
|
-
// Run
|
|
64
|
-
//
|
|
65
|
-
//
|
|
66
|
-
//
|
|
64
|
+
// Run codex-acp under the current node. AGENTPRISM_CODEX_ACP_BIN overrides the resolved
|
|
65
|
+
// path; otherwise resolve the package's main (dist/index.js) — the workspace symlink for a
|
|
66
|
+
// monorepo checkout (built by `pnpm build`), node_modules for a published install. Works
|
|
67
|
+
// from both src/ and the compiled dist/.
|
|
67
68
|
const bin = env.AGENTPRISM_CODEX_ACP_BIN ?? require.resolve("@automatalabs/codex-acp");
|
|
68
69
|
return { command: process.execPath, args: [bin], env };
|
|
69
70
|
}
|
|
@@ -99,20 +100,16 @@ export const codexBackendDefinition = defineBuiltinBackend({
|
|
|
99
100
|
create: (authProfile) => new CodexBackend(authProfile),
|
|
100
101
|
release: {
|
|
101
102
|
engine: { node: ">=22" },
|
|
102
|
-
server: { kind: "
|
|
103
|
+
server: { kind: "workspace-package", package: "@automatalabs/codex-acp", path: "packages/codex-acp" },
|
|
103
104
|
freshness: {
|
|
104
|
-
npm: ["@agentclientprotocol/sdk"
|
|
105
|
-
|
|
105
|
+
npm: ["@agentclientprotocol/sdk"],
|
|
106
|
+
sourceUpstreams: [
|
|
106
107
|
{
|
|
107
108
|
package: "@automatalabs/codex-acp",
|
|
108
|
-
|
|
109
|
-
defaultDirs: ["$HOME/codex-acp"],
|
|
110
|
-
tempCloneName: "codex-acp",
|
|
111
|
-
originUrl: "https://github.com/VikashLoomba/codex-acp.git",
|
|
112
|
-
originUrlEnv: "AGENTPRISM_CODEX_ACP_ORIGIN_URL",
|
|
109
|
+
path: "packages/codex-acp",
|
|
113
110
|
upstreamUrl: "https://github.com/agentclientprotocol/codex-acp.git",
|
|
114
111
|
upstreamUrlEnv: "AGENTPRISM_CODEX_ACP_UPSTREAM_URL",
|
|
115
|
-
|
|
112
|
+
upstreamRef: "main",
|
|
116
113
|
},
|
|
117
114
|
],
|
|
118
115
|
wrappedRuntimes: [],
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import type { AuthProfile } from "../auth/auth-profile.js";
|
|
2
2
|
import type { Backend } from "../backend.js";
|
|
3
3
|
import type { BuiltinProtocolCoverageRow } from "../protocol-coverage.js";
|
|
4
|
-
|
|
4
|
+
/** A workspace package whose source history must CONTAIN its canonical upstream's history.
|
|
5
|
+
* Replaces the retired external-fork model (#282): the fork now lives in this repository as a
|
|
6
|
+
* non-squashed subtree, so the dependency gate checks git ancestry against the monorepo HEAD —
|
|
7
|
+
* `merge-base --is-ancestor <fetched upstream ref> HEAD` — instead of inspecting an external
|
|
8
|
+
* clone. Sync is merge-based, never rebase/squash: a squash import cannot satisfy the check. */
|
|
9
|
+
export interface BuiltinBackendSourceUpstreamMetadata {
|
|
5
10
|
readonly package: string;
|
|
6
|
-
readonly
|
|
7
|
-
readonly defaultDirs: readonly string[];
|
|
8
|
-
readonly tempCloneName: string;
|
|
9
|
-
readonly originUrl: string;
|
|
10
|
-
readonly originUrlEnv: string;
|
|
11
|
+
readonly path: string;
|
|
11
12
|
readonly upstreamUrl: string;
|
|
12
13
|
readonly upstreamUrlEnv: string;
|
|
13
|
-
readonly
|
|
14
|
+
readonly upstreamRef: string;
|
|
14
15
|
}
|
|
15
16
|
export interface BuiltinBackendWrappedRuntimeMetadata {
|
|
16
17
|
readonly adapterPackage: string;
|
|
@@ -35,7 +36,7 @@ export interface BuiltinBackendReleaseMetadata {
|
|
|
35
36
|
readonly server: BuiltinBackendServerMetadata;
|
|
36
37
|
readonly freshness: {
|
|
37
38
|
readonly npm: readonly string[];
|
|
38
|
-
readonly
|
|
39
|
+
readonly sourceUpstreams: readonly BuiltinBackendSourceUpstreamMetadata[];
|
|
39
40
|
readonly wrappedRuntimes: readonly BuiltinBackendWrappedRuntimeMetadata[];
|
|
40
41
|
};
|
|
41
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../../src/backends/define.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAE1E,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":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OAAO,EAAE,2BAA2B,CAAC,EAAE,CAAC,GACvC,wBAAwB,CAAC,EAAE,CAAC,CA8B9B"}
|
package/dist/backends/pi.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automatalabs/acp-agents",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.18",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@agentclientprotocol/claude-agent-acp": "0.63.0",
|
|
31
31
|
"@agentclientprotocol/sdk": "^1.3.0",
|
|
32
|
-
"@automatalabs/codex-acp": "1.6.12",
|
|
33
32
|
"@modelcontextprotocol/sdk": "^1.29",
|
|
34
33
|
"typebox": "1.3.2",
|
|
34
|
+
"@automatalabs/codex-acp": "1.6.13",
|
|
35
35
|
"@automatalabs/pi-acp": "0.2.8",
|
|
36
36
|
"@automatalabs/shared-types": "0.29.1"
|
|
37
37
|
},
|