@ycodium-ai/agent-acp 0.2.2510 → 0.2.2544
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/index.js +20 -21
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -26343,6 +26343,26 @@ function createAcpExecutor(options) {
|
|
|
26343
26343
|
};
|
|
26344
26344
|
}
|
|
26345
26345
|
|
|
26346
|
+
// ../../packages/ycodium-acp-executor/src/mcp-servers.ts
|
|
26347
|
+
function toAcpMcpServers(entries) {
|
|
26348
|
+
return (entries ?? []).map(
|
|
26349
|
+
(entry) => entry.transport.type === "stdio" ? {
|
|
26350
|
+
name: entry.name,
|
|
26351
|
+
command: entry.transport.command,
|
|
26352
|
+
args: [...entry.transport.args ?? []],
|
|
26353
|
+
env: Object.entries(entry.transport.env ?? {}).map(([name, value]) => ({ name, value }))
|
|
26354
|
+
} : {
|
|
26355
|
+
type: entry.transport.type,
|
|
26356
|
+
name: entry.name,
|
|
26357
|
+
url: entry.transport.url,
|
|
26358
|
+
headers: Object.entries(entry.transport.headers ?? {}).map(([name, value]) => ({
|
|
26359
|
+
name,
|
|
26360
|
+
value
|
|
26361
|
+
}))
|
|
26362
|
+
}
|
|
26363
|
+
);
|
|
26364
|
+
}
|
|
26365
|
+
|
|
26346
26366
|
// ../../packages/ycodium-acp-executor/src/probe.ts
|
|
26347
26367
|
function withProbeTimeout(promise2, timeoutMs, what) {
|
|
26348
26368
|
return new Promise((resolve2, reject) => {
|
|
@@ -26414,7 +26434,6 @@ var ACP_CARD = {
|
|
|
26414
26434
|
docsUrl: "",
|
|
26415
26435
|
setupNote: "",
|
|
26416
26436
|
defaultModel: "",
|
|
26417
|
-
defaultTextGenerationModel: "",
|
|
26418
26437
|
customModelIdExample: "",
|
|
26419
26438
|
modelSlugAliases: null,
|
|
26420
26439
|
mcpTransports: ["stdio", "http", "sse"],
|
|
@@ -26586,26 +26605,6 @@ function tokenizeLaunchArgs(value) {
|
|
|
26586
26605
|
return tokens;
|
|
26587
26606
|
}
|
|
26588
26607
|
|
|
26589
|
-
// src/mcpServers.ts
|
|
26590
|
-
function toAcpMcpServers(entries) {
|
|
26591
|
-
return (entries ?? []).map(
|
|
26592
|
-
(entry) => entry.transport.type === "stdio" ? {
|
|
26593
|
-
name: entry.name,
|
|
26594
|
-
command: entry.transport.command,
|
|
26595
|
-
args: [...entry.transport.args ?? []],
|
|
26596
|
-
env: Object.entries(entry.transport.env ?? {}).map(([name, value]) => ({ name, value }))
|
|
26597
|
-
} : {
|
|
26598
|
-
type: entry.transport.type,
|
|
26599
|
-
name: entry.name,
|
|
26600
|
-
url: entry.transport.url,
|
|
26601
|
-
headers: Object.entries(entry.transport.headers ?? {}).map(([name, value]) => ({
|
|
26602
|
-
name,
|
|
26603
|
-
value
|
|
26604
|
-
}))
|
|
26605
|
-
}
|
|
26606
|
-
);
|
|
26607
|
-
}
|
|
26608
|
-
|
|
26609
26608
|
// src/probeModels.ts
|
|
26610
26609
|
import * as NodeFS from "node:fs";
|
|
26611
26610
|
import * as NodeOS from "node:os";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ycodium-ai/agent-acp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2544",
|
|
4
4
|
"description": "Generic ACP executor: user-supplied CLI over Agent Client Protocol stdio.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ycodium",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@types/node": "24.12.4",
|
|
22
22
|
"esbuild": "0.28.1",
|
|
23
23
|
"vite-plus": "0.2.2",
|
|
24
|
-
"@ycodium-ai/plugin-api": "0.2.
|
|
25
|
-
"ycodium-executor
|
|
26
|
-
"ycodium-
|
|
24
|
+
"@ycodium-ai/plugin-api": "0.2.2544",
|
|
25
|
+
"ycodium-acp-executor": "0.2.2544",
|
|
26
|
+
"ycodium-executor-testing": "0.0.0"
|
|
27
27
|
},
|
|
28
28
|
"ycodium": {
|
|
29
29
|
"plugin": "./dist/index.js",
|