@yitom/acp-client 0.1.9 → 0.1.11
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/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/sidecar.cjs +3 -3
- package/dist/version.d.ts +1 -1
- package/docs/api-reference.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -148,6 +148,6 @@ bun run packages/acp/examples/standalone-acp-demo.ts
|
|
|
148
148
|
|
|
149
149
|
### Antigravity session resources
|
|
150
150
|
|
|
151
|
-
With `@yitom/agy-acp-map` 0.1.24, `resources.directory` is delivered through the bridge session extension `_meta.appResources.directory`. Rules, native Skills and session MCP live in a private temporary additional workspace; cwd, global configuration and authentication remain unchanged. Close/delete/orderly shutdown remove the temporary workspace. Unknown bridge versions keep compatibility guidance and the app-skills MCP fallback. This extension is bridge-specific, not a standard ACP configuration-home API. `configurationScope: "session"` also supports agy; its configuration report remains conservative until the bridge accepts the session extension.
|
|
151
|
+
With `@yitom/agy-acp-map` 0.1.24 / 0.1.25 / 0.1.26, `resources.directory` is delivered through the bridge session extension `_meta.appResources.directory`. Rules, native Skills and session MCP live in a private temporary additional workspace; cwd, global configuration and authentication remain unchanged. Close/delete/orderly shutdown remove the temporary workspace. Unknown bridge versions keep compatibility guidance and the app-skills MCP fallback. This extension is bridge-specific, not a standard ACP configuration-home API. `configurationScope: "session"` also supports agy; its configuration report remains conservative until the bridge accepts the session extension.
|
|
152
152
|
|
|
153
153
|
Normal disconnect closes owned sessions on agents advertising `sessionCapabilities.close` before terminating the transport/process. Requests are bounded to two seconds; failures are logged and teardown continues. This permits session resource cleanup on Windows as well.
|
package/dist/index.cjs
CHANGED
|
@@ -385,7 +385,7 @@ function findBuiltinAcpRuntime(id) {
|
|
|
385
385
|
return BUILTIN_ACP_RUNTIMES.find((item) => item.id === id);
|
|
386
386
|
}
|
|
387
387
|
// src/version.ts
|
|
388
|
-
var ACP_CLIENT_VERSION = "0.1.
|
|
388
|
+
var ACP_CLIENT_VERSION = "0.1.11";
|
|
389
389
|
// src/client/sdk-client.ts
|
|
390
390
|
var import_node_stream = require("node:stream");
|
|
391
391
|
var import_sdk = require("@agentclientprotocol/sdk");
|
|
@@ -2832,7 +2832,7 @@ var agyAdapter = {
|
|
|
2832
2832
|
return { ...prep, env: { AGY_ACP_RESOURCES_DIR: directory }, report: { ...prep.report, rulesPrepared: prep.report.rulesChars > 0 } };
|
|
2833
2833
|
},
|
|
2834
2834
|
appResourceSessionMeta: (directory) => ({ appResources: { directory } }),
|
|
2835
|
-
supportedBridgeVersions: ["0.1.24"],
|
|
2835
|
+
supportedBridgeVersions: ["0.1.24", "0.1.25", "0.1.26"],
|
|
2836
2836
|
probeAuth: () => probeAgyAuth(),
|
|
2837
2837
|
probeQuota: (options) => probeAgyQuota(options),
|
|
2838
2838
|
orderAuthMethods: (methods) => methods,
|
|
@@ -3978,7 +3978,7 @@ var NATIVE_ELIGIBLE_BRIDGE_VERSIONS = {
|
|
|
3978
3978
|
"codex-acp": ["2.2.2"],
|
|
3979
3979
|
opencode: ["1.18.35"],
|
|
3980
3980
|
claude: ["0.91.0"],
|
|
3981
|
-
agy: ["0.1.24"]
|
|
3981
|
+
agy: ["0.1.24", "0.1.25", "0.1.26"]
|
|
3982
3982
|
};
|
|
3983
3983
|
function resolveRuntimeEligibility(runtimeId) {
|
|
3984
3984
|
const id = (runtimeId ?? "").trim();
|
package/dist/index.js
CHANGED
|
@@ -162,7 +162,7 @@ function findBuiltinAcpRuntime(id) {
|
|
|
162
162
|
return BUILTIN_ACP_RUNTIMES.find((item) => item.id === id);
|
|
163
163
|
}
|
|
164
164
|
// src/version.ts
|
|
165
|
-
var ACP_CLIENT_VERSION = "0.1.
|
|
165
|
+
var ACP_CLIENT_VERSION = "0.1.11";
|
|
166
166
|
// src/client/sdk-client.ts
|
|
167
167
|
import { PassThrough, Readable, Writable } from "node:stream";
|
|
168
168
|
import {
|
|
@@ -2614,7 +2614,7 @@ var agyAdapter = {
|
|
|
2614
2614
|
return { ...prep, env: { AGY_ACP_RESOURCES_DIR: directory }, report: { ...prep.report, rulesPrepared: prep.report.rulesChars > 0 } };
|
|
2615
2615
|
},
|
|
2616
2616
|
appResourceSessionMeta: (directory) => ({ appResources: { directory } }),
|
|
2617
|
-
supportedBridgeVersions: ["0.1.24"],
|
|
2617
|
+
supportedBridgeVersions: ["0.1.24", "0.1.25", "0.1.26"],
|
|
2618
2618
|
probeAuth: () => probeAgyAuth(),
|
|
2619
2619
|
probeQuota: (options) => probeAgyQuota(options),
|
|
2620
2620
|
orderAuthMethods: (methods) => methods,
|
|
@@ -3760,7 +3760,7 @@ var NATIVE_ELIGIBLE_BRIDGE_VERSIONS = {
|
|
|
3760
3760
|
"codex-acp": ["2.2.2"],
|
|
3761
3761
|
opencode: ["1.18.35"],
|
|
3762
3762
|
claude: ["0.91.0"],
|
|
3763
|
-
agy: ["0.1.24"]
|
|
3763
|
+
agy: ["0.1.24", "0.1.25", "0.1.26"]
|
|
3764
3764
|
};
|
|
3765
3765
|
function resolveRuntimeEligibility(runtimeId) {
|
|
3766
3766
|
const id = (runtimeId ?? "").trim();
|
package/dist/sidecar.cjs
CHANGED
|
@@ -36,7 +36,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
36
36
|
var readline2 = __toESM(require("node:readline"), 1);
|
|
37
37
|
|
|
38
38
|
// src/version.ts
|
|
39
|
-
var ACP_CLIENT_VERSION = "0.1.
|
|
39
|
+
var ACP_CLIENT_VERSION = "0.1.11";
|
|
40
40
|
// src/contracts/index.ts
|
|
41
41
|
function ok(value) {
|
|
42
42
|
return { ok: true, value };
|
|
@@ -12344,7 +12344,7 @@ var agyAdapter = {
|
|
|
12344
12344
|
return { ...prep, env: { AGY_ACP_RESOURCES_DIR: directory }, report: { ...prep.report, rulesPrepared: prep.report.rulesChars > 0 } };
|
|
12345
12345
|
},
|
|
12346
12346
|
appResourceSessionMeta: (directory) => ({ appResources: { directory } }),
|
|
12347
|
-
supportedBridgeVersions: ["0.1.24"],
|
|
12347
|
+
supportedBridgeVersions: ["0.1.24", "0.1.25", "0.1.26"],
|
|
12348
12348
|
probeAuth: () => probeAgyAuth(),
|
|
12349
12349
|
probeQuota: (options) => probeAgyQuota(options),
|
|
12350
12350
|
orderAuthMethods: (methods) => methods,
|
|
@@ -13396,7 +13396,7 @@ var NATIVE_ELIGIBLE_BRIDGE_VERSIONS = {
|
|
|
13396
13396
|
"codex-acp": ["2.2.2"],
|
|
13397
13397
|
opencode: ["1.18.35"],
|
|
13398
13398
|
claude: ["0.91.0"],
|
|
13399
|
-
agy: ["0.1.24"]
|
|
13399
|
+
agy: ["0.1.24", "0.1.25", "0.1.26"]
|
|
13400
13400
|
};
|
|
13401
13401
|
function isSupportedBridgeVersion(runtimeId, version) {
|
|
13402
13402
|
const versions = NATIVE_ELIGIBLE_BRIDGE_VERSIONS[(runtimeId ?? "").trim()];
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ACP_CLIENT_VERSION = "0.1.
|
|
1
|
+
export declare const ACP_CLIENT_VERSION = "0.1.11";
|
package/docs/api-reference.md
CHANGED
|
@@ -210,4 +210,4 @@ const client = new AcpClient({
|
|
|
210
210
|
|
|
211
211
|
复跑:`bun scripts/smoke-opencode-resources.mjs <opencode-1.x-path> --session-config`。真实 ACP/本地 mock 模型验证 system 规则、零兼容前缀、MCP 与原生 skill,并检查断开后临时配置根已删除。默认不带参数继续验证原有 overlay 路径。
|
|
212
212
|
|
|
213
|
-
Antigravity bridge 0.1.24 supports `resources.directory` through `_meta.appResources.directory` and private temporary additional workspaces. Rules and Skills are session-scoped, without changing cwd or global authentication. Unknown bridge versions retain compatibility delivery. Orderly close/delete/shutdown remove bridge-owned resources; forced termination cannot guarantee cleanup.
|
|
213
|
+
Antigravity bridge 0.1.24 / 0.1.25 / 0.1.26 supports `resources.directory` through `_meta.appResources.directory` and private temporary additional workspaces. Rules and Skills are session-scoped, without changing cwd or global authentication. Unknown bridge versions retain compatibility delivery. Orderly close/delete/shutdown remove bridge-owned resources; forced termination cannot guarantee cleanup.
|
package/package.json
CHANGED