@cydm/pie 4.13.1 → 4.14.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/builtin/extensions/ask-user/index.js +4 -4
- package/dist/builtin/extensions/cron/index.js +70 -17
- package/dist/builtin/extensions/im-forward/index.js +8094 -8100
- package/dist/builtin/extensions/mcp-adapter/index.js +86 -81
- package/dist/builtin/extensions/memory/index.js +30 -7
- package/dist/builtin/extensions/pie-ipc/index.js +13 -18
- package/dist/builtin/extensions/pie-proc/README.md +12 -3
- package/dist/builtin/extensions/pie-proc/index.js +145 -96
- package/dist/builtin/extensions/plan-mode/index.js +4 -4
- package/dist/builtin/extensions/subagent/index.js +5 -5
- package/dist/builtin/extensions/todo/index.js +4 -4
- package/dist/chunks/{chunk-6Z54UHXM.js → chunk-2WLKAMOH.js} +21 -16
- package/dist/chunks/{chunk-3F2CSVNH.js → chunk-DJ4LO7PQ.js} +2 -1
- package/dist/chunks/{chunk-MCR4JYI6.js → chunk-IM7DLPPY.js} +74 -8
- package/dist/chunks/{chunk-HSMO2BEA.js → chunk-IQDVL34H.js} +24 -19
- package/dist/chunks/{chunk-DT22BBZL.js → chunk-OQCKDEEE.js} +1 -1
- package/dist/chunks/{chunk-26KRUYZH.js → chunk-SAXKBFX3.js} +1 -1
- package/dist/chunks/{chunk-CCPNHS6B.js → chunk-SYZR74QO.js} +1582 -1570
- package/dist/chunks/{chunk-UCVPNLCO.js → chunk-TNRZEQD5.js} +2 -2
- package/dist/chunks/{chunk-NHWWRE3T.js → chunk-TTSQWGAT.js} +727 -719
- package/dist/chunks/{chunk-XPJHZRTN.js → chunk-X3ZVZB2R.js} +1133 -381
- package/dist/chunks/{host-image-fallback-LGWYQMLA.js → host-image-fallback-AEKY2LSZ.js} +1 -1
- package/dist/chunks/{manager-cli-OTIMAWO6.js → manager-cli-ZV36YNPJ.js} +187 -173
- package/dist/chunks/{memory-git-7SRO5KLB.js → memory-git-G56IXFWU.js} +5 -5
- package/dist/chunks/{model-registry-IWOOAMLZ.js → model-registry-4LM2I6FR.js} +2 -2
- package/dist/chunks/{read-file-understanding-3TYWVOLX.js → read-file-understanding-GTNZHAK5.js} +5 -5
- package/dist/chunks/{src-WA2O2O2V.js → src-3YJ4UVEC.js} +3 -3
- package/dist/chunks/{src-ALHMJZ5R.js → src-APNP4M4N.js} +2 -2
- package/dist/chunks/{src-D2ICRXWW.js → src-T6AUO53N.js} +24 -6
- package/dist/chunks/{src-76Q33OY5.js → src-TNUD7EDH.js} +1 -1
- package/dist/chunks/{test-stream-OVGDTXOY.js → test-stream-EF2DHEHV.js} +1 -1
- package/dist/cli.js +3131 -3013
- package/package.json +1 -1
- package/dist/chunks/{chunk-3GG342QY.js → chunk-TYCKSYUF.js} +19 -19
package/package.json
CHANGED
|
@@ -56,6 +56,23 @@ function isTurnUserImDriven() {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
// builtin/extensions/pie-ipc/runtime-registry.ts
|
|
60
|
+
var runtimes = /* @__PURE__ */ new Map();
|
|
61
|
+
function key(root) {
|
|
62
|
+
const trimmed = root.replace(/[\\/]+$/, "");
|
|
63
|
+
return process.platform === "win32" ? trimmed.replace(/\//g, "\\").toLowerCase() : trimmed;
|
|
64
|
+
}
|
|
65
|
+
function registerIpcRuntime(root, runtime) {
|
|
66
|
+
const k = key(root);
|
|
67
|
+
runtimes.set(k, runtime);
|
|
68
|
+
return () => {
|
|
69
|
+
if (runtimes.get(k) === runtime) runtimes.delete(k);
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function currentIpcRuntime(root) {
|
|
73
|
+
return runtimes.get(key(root));
|
|
74
|
+
}
|
|
75
|
+
|
|
59
76
|
// builtin/extensions/pie-ipc/pure.ts
|
|
60
77
|
import { randomBytes } from "node:crypto";
|
|
61
78
|
var IPC_PROTOCOL_VERSION = 2;
|
|
@@ -396,23 +413,6 @@ function assistantBodyText(message) {
|
|
|
396
413
|
return text.trim();
|
|
397
414
|
}
|
|
398
415
|
|
|
399
|
-
// builtin/extensions/pie-ipc/runtime-registry.ts
|
|
400
|
-
var runtimes = /* @__PURE__ */ new Map();
|
|
401
|
-
function key(root) {
|
|
402
|
-
const trimmed = root.replace(/[\\/]+$/, "");
|
|
403
|
-
return process.platform === "win32" ? trimmed.replace(/\//g, "\\").toLowerCase() : trimmed;
|
|
404
|
-
}
|
|
405
|
-
function registerIpcRuntime(root, runtime) {
|
|
406
|
-
const k = key(root);
|
|
407
|
-
runtimes.set(k, runtime);
|
|
408
|
-
return () => {
|
|
409
|
-
if (runtimes.get(k) === runtime) runtimes.delete(k);
|
|
410
|
-
};
|
|
411
|
-
}
|
|
412
|
-
function currentIpcRuntime(root) {
|
|
413
|
-
return runtimes.get(key(root));
|
|
414
|
-
}
|
|
415
|
-
|
|
416
416
|
// builtin/extensions/pie-ipc/transport.ts
|
|
417
417
|
import * as net from "node:net";
|
|
418
418
|
import { createHmac, randomBytes as randomBytes2, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -693,6 +693,8 @@ export {
|
|
|
693
693
|
currentImBinding,
|
|
694
694
|
registerTurnImDriver,
|
|
695
695
|
isTurnUserImDriven,
|
|
696
|
+
registerIpcRuntime,
|
|
697
|
+
currentIpcRuntime,
|
|
696
698
|
IPC_PROTOCOL_VERSION,
|
|
697
699
|
MAX_STATUS_FILE_BYTES,
|
|
698
700
|
MAX_BODY_CHARS,
|
|
@@ -711,7 +713,5 @@ export {
|
|
|
711
713
|
foldLifecycleEvent,
|
|
712
714
|
resolveIpcConfig,
|
|
713
715
|
assistantBodyText,
|
|
714
|
-
registerIpcRuntime,
|
|
715
|
-
currentIpcRuntime,
|
|
716
716
|
IpcTransport
|
|
717
717
|
};
|