@kodelyth/acpx 2026.5.39 → 2026.6.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/dist/index.js +14 -0
- package/dist/process-reaper-DdVqzAA_.js +370 -0
- package/dist/register.runtime.js +53 -0
- package/dist/runtime-D9qhNKmy.js +741 -0
- package/dist/runtime-api.js +4 -0
- package/dist/service-CXeUME_-.js +1483 -0
- package/dist/setup-api.js +16 -0
- package/klaw.plugin.json +12 -27
- package/package.json +18 -2
- package/index.js +0 -7
- package/register.runtime.js +0 -7
- package/runtime-api.js +0 -7
- package/setup-api.js +0 -7
- /package/{error-format.mjs → dist/error-format.mjs} +0 -0
- /package/{mcp-command-line.mjs → dist/mcp-command-line.mjs} +0 -0
- /package/{mcp-proxy.mjs → dist/mcp-proxy.mjs} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { definePluginEntry } from "klaw/plugin-sdk/plugin-entry";
|
|
2
|
+
import { normalizeLowercaseStringOrEmpty } from "klaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
+
//#region extensions/acpx/setup-api.ts
|
|
4
|
+
var setup_api_default = definePluginEntry({
|
|
5
|
+
id: "acpx",
|
|
6
|
+
name: "ACPX Setup",
|
|
7
|
+
description: "Lightweight ACPX setup hooks",
|
|
8
|
+
register(api) {
|
|
9
|
+
api.registerAutoEnableProbe(({ config }) => {
|
|
10
|
+
const backendRaw = normalizeLowercaseStringOrEmpty(config.acp?.backend);
|
|
11
|
+
return (config.acp?.enabled === true || config.acp?.dispatch?.enabled === true || backendRaw === "acpx") && (!backendRaw || backendRaw === "acpx") ? "ACP runtime configured" : null;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { setup_api_default as default };
|
package/klaw.plugin.json
CHANGED
|
@@ -6,9 +6,7 @@
|
|
|
6
6
|
"enabledByDefault": true,
|
|
7
7
|
"name": "ACPX Runtime",
|
|
8
8
|
"description": "Embedded ACP runtime backend with plugin-owned session and transport management.",
|
|
9
|
-
"skills": [
|
|
10
|
-
"./skills"
|
|
11
|
-
],
|
|
9
|
+
"skills": ["./skills"],
|
|
12
10
|
"configSchema": {
|
|
13
11
|
"type": "object",
|
|
14
12
|
"additionalProperties": false,
|
|
@@ -27,18 +25,11 @@
|
|
|
27
25
|
},
|
|
28
26
|
"permissionMode": {
|
|
29
27
|
"type": "string",
|
|
30
|
-
"enum": [
|
|
31
|
-
"approve-all",
|
|
32
|
-
"approve-reads",
|
|
33
|
-
"deny-all"
|
|
34
|
-
]
|
|
28
|
+
"enum": ["approve-all", "approve-reads", "deny-all"]
|
|
35
29
|
},
|
|
36
30
|
"nonInteractivePermissions": {
|
|
37
31
|
"type": "string",
|
|
38
|
-
"enum": [
|
|
39
|
-
"deny",
|
|
40
|
-
"fail"
|
|
41
|
-
]
|
|
32
|
+
"enum": ["deny", "fail"]
|
|
42
33
|
},
|
|
43
34
|
"pluginToolsMcpBridge": {
|
|
44
35
|
"type": "boolean"
|
|
@@ -58,6 +49,10 @@
|
|
|
58
49
|
"type": "number",
|
|
59
50
|
"minimum": 0
|
|
60
51
|
},
|
|
52
|
+
"probeAgent": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"minLength": 1
|
|
55
|
+
},
|
|
61
56
|
"mcpServers": {
|
|
62
57
|
"type": "object",
|
|
63
58
|
"additionalProperties": {
|
|
@@ -70,22 +65,16 @@
|
|
|
70
65
|
},
|
|
71
66
|
"args": {
|
|
72
67
|
"type": "array",
|
|
73
|
-
"items": {
|
|
74
|
-
"type": "string"
|
|
75
|
-
},
|
|
68
|
+
"items": { "type": "string" },
|
|
76
69
|
"description": "Arguments to pass to the command"
|
|
77
70
|
},
|
|
78
71
|
"env": {
|
|
79
72
|
"type": "object",
|
|
80
|
-
"additionalProperties": {
|
|
81
|
-
"type": "string"
|
|
82
|
-
},
|
|
73
|
+
"additionalProperties": { "type": "string" },
|
|
83
74
|
"description": "Environment variables for the MCP server"
|
|
84
75
|
}
|
|
85
76
|
},
|
|
86
|
-
"required": [
|
|
87
|
-
"command"
|
|
88
|
-
]
|
|
77
|
+
"required": ["command"]
|
|
89
78
|
}
|
|
90
79
|
},
|
|
91
80
|
"agents": {
|
|
@@ -99,14 +88,10 @@
|
|
|
99
88
|
},
|
|
100
89
|
"args": {
|
|
101
90
|
"type": "array",
|
|
102
|
-
"items": {
|
|
103
|
-
"type": "string"
|
|
104
|
-
}
|
|
91
|
+
"items": { "type": "string" }
|
|
105
92
|
}
|
|
106
93
|
},
|
|
107
|
-
"required": [
|
|
108
|
-
"command"
|
|
109
|
-
]
|
|
94
|
+
"required": ["command"]
|
|
110
95
|
}
|
|
111
96
|
}
|
|
112
97
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kodelyth/acpx",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.6.1",
|
|
4
4
|
"description": "Klaw ACP runtime backend",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"klaw": {
|
|
20
20
|
"extensions": [
|
|
21
|
-
"./index.
|
|
21
|
+
"./index.ts"
|
|
22
22
|
],
|
|
23
23
|
"install": {
|
|
24
24
|
"npmSpec": "@kodelyth/acpx",
|
|
@@ -48,6 +48,22 @@
|
|
|
48
48
|
"release": {
|
|
49
49
|
"publishToClawHub": true,
|
|
50
50
|
"publishToNpm": true
|
|
51
|
+
},
|
|
52
|
+
"runtimeExtensions": [
|
|
53
|
+
"./dist/index.js"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"dist/**",
|
|
58
|
+
"klaw.plugin.json",
|
|
59
|
+
"skills/**"
|
|
60
|
+
],
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"klaw": ">=2026.5.39"
|
|
63
|
+
},
|
|
64
|
+
"peerDependenciesMeta": {
|
|
65
|
+
"klaw": {
|
|
66
|
+
"optional": true
|
|
51
67
|
}
|
|
52
68
|
}
|
|
53
69
|
}
|
package/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "../../../dist/extensions/acpx/index.js";
|
|
2
|
-
import defaultModule from "../../../dist/extensions/acpx/index.js";
|
|
3
|
-
let defaultExport = defaultModule;
|
|
4
|
-
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
-
defaultExport = defaultExport.default;
|
|
6
|
-
}
|
|
7
|
-
export { defaultExport as default };
|
package/register.runtime.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "../../../dist/extensions/acpx/register.runtime.js";
|
|
2
|
-
import * as module from "../../../dist/extensions/acpx/register.runtime.js";
|
|
3
|
-
let defaultExport = "default" in module ? module.default : module;
|
|
4
|
-
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
-
defaultExport = defaultExport.default;
|
|
6
|
-
}
|
|
7
|
-
export { defaultExport as default };
|
package/runtime-api.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "../../../dist/extensions/acpx/runtime-api.js";
|
|
2
|
-
import * as module from "../../../dist/extensions/acpx/runtime-api.js";
|
|
3
|
-
let defaultExport = "default" in module ? module.default : module;
|
|
4
|
-
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
-
defaultExport = defaultExport.default;
|
|
6
|
-
}
|
|
7
|
-
export { defaultExport as default };
|
package/setup-api.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from "../../../dist/extensions/acpx/setup-api.js";
|
|
2
|
-
import defaultModule from "../../../dist/extensions/acpx/setup-api.js";
|
|
3
|
-
let defaultExport = defaultModule;
|
|
4
|
-
for (let index = 0; index < 4 && defaultExport && typeof defaultExport === "object" && "default" in defaultExport; index += 1) {
|
|
5
|
-
defaultExport = defaultExport.default;
|
|
6
|
-
}
|
|
7
|
-
export { defaultExport as default };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|