@cydm/pie 4.7.0 → 4.9.0
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 +51 -27
- package/dist/builtin/extensions/ask-user/index.js +4 -4
- package/dist/builtin/extensions/cron/index.js +916 -162
- package/dist/builtin/extensions/im-forward/README.md +24 -7
- package/dist/builtin/extensions/im-forward/index.js +6823 -3683
- package/dist/builtin/extensions/memory/index.js +76 -28
- package/dist/builtin/extensions/pie-ipc/README.md +2 -2
- package/dist/builtin/extensions/pie-ipc/index.js +421 -27
- package/dist/builtin/extensions/pie-proc/README.md +7 -7
- package/dist/builtin/extensions/pie-proc/index.js +453 -97
- package/dist/builtin/extensions/plan-mode/index.js +5 -5
- package/dist/builtin/extensions/subagent/index.js +8 -8
- package/dist/builtin/extensions/todo/index.js +4 -4
- package/dist/builtin/skills/chrome-devtools-axi/SKILL.md +35 -24
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-bridge.js +391 -123
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-runtime.js +1 -1
- package/dist/builtin/skills/chrome-devtools-axi/chunk-HAUDUMDO.js +795 -0
- package/dist/builtin/skills/chrome-devtools-axi/{cli-NLPMVDGG.js → cli-K7ESY3XD.js} +1437 -231
- package/dist/builtin/skills/computer-use-axi/SKILL.md +26 -8
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-broker.js +465 -83
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-runtime.js +75 -22
- package/dist/builtin/skills/tui-use/tui-use-daemon.cjs +451 -43
- package/dist/chunks/{chunk-3W3SXVPB.js → chunk-4UIUMTHG.js} +993 -371
- package/dist/chunks/chunk-6WKBQZWM.js +19 -0
- package/dist/chunks/{chunk-5KI4Y4LA.js → chunk-BA4Z27XT.js} +4 -3
- package/dist/chunks/{chunk-BLDI2GRF.js → chunk-DBDU3RRN.js} +1364 -446
- package/dist/chunks/{chunk-LAJXWOKS.js → chunk-EEC5PJTC.js} +11 -9
- package/dist/chunks/chunk-IZKHSUNQ.js +30 -0
- package/dist/chunks/{chunk-Y3I2UV5Y.js → chunk-LRHNAG4V.js} +349 -288
- package/dist/chunks/chunk-OU33ROFD.js +717 -0
- package/dist/chunks/{chunk-Z2FKA2ZH.js → chunk-PN6B54VT.js} +104 -22
- package/dist/chunks/{chunk-NHV2CALB.js → chunk-WYXUF4MP.js} +388 -32
- package/dist/chunks/{chunk-4PR34UZF.js → chunk-Z5KL6AO2.js} +159 -145
- package/dist/chunks/{host-image-fallback-N7RHNPYN.js → host-image-fallback-RASJSVZY.js} +1 -1
- package/dist/chunks/{manager-cli-NEZA46M5.js → manager-cli-Y6HM3MHA.js} +5 -5
- package/dist/chunks/{model-registry-3XAHXXTA.js → model-registry-5TLYILYR.js} +2 -2
- package/dist/chunks/{read-file-understanding-FMPXR6EJ.js → read-file-understanding-VPKDBV23.js} +5 -5
- package/dist/chunks/{src-B44QWSGM.js → src-2XI5P62J.js} +2 -2
- package/dist/chunks/{src-EGXFJ3WA.js → src-6QGGDHIW.js} +3 -3
- package/dist/chunks/{src-Q7LU27C2.js → src-CCEENRKC.js} +31 -1
- package/dist/chunks/{src-CLE5ILN4.js → src-DI4MCAGT.js} +20 -4
- package/dist/chunks/{test-stream-OR3EJBNF.js → test-stream-SYVWIPPW.js} +2 -2
- package/dist/cli.js +1918 -1489
- package/models.schema.json +271 -0
- package/package.json +2 -2
- package/dist/builtin/skills/chrome-devtools-axi/chunk-WOGAQ4P5.js +0 -399
- package/dist/chunks/chunk-7UAUDXZW.js +0 -1425
- package/dist/chunks/{chunk-CGSFBWOM.js → chunk-WBL73KRI.js} +3 -3
- package/dist/chunks/{manager-upgrade-CTU3ISCW.js → manager-upgrade-LSTOHBUV.js} +3 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# pie-proc — controlled worker-process lifecycle
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The manager's S5 guardrail layer: create and retire pie worker
|
|
4
4
|
processes WITHOUT raw shell access. Bounded shapes, allowlisted working
|
|
5
5
|
directories, isolated agent dirs, caps, TTL sweeping, and an audit ledger.
|
|
6
6
|
|
|
7
7
|
## Host gating
|
|
8
8
|
|
|
9
9
|
Activates on `longLived` (interactive TUI and resident json-events hosts —
|
|
10
|
-
the
|
|
10
|
+
the manager). One-shot print hosts never own workers.
|
|
11
11
|
|
|
12
12
|
## Tool: `pie_proc`
|
|
13
13
|
|
|
@@ -63,9 +63,9 @@ make it permanently invisible. A missing or unreadable file means an empty
|
|
|
63
63
|
`allowCwd` — every spawn is refused (fail-closed) with a message that says
|
|
64
64
|
whether the file is missing or simply lacks the cwd, and how to write it.
|
|
65
65
|
|
|
66
|
-
`pie
|
|
67
|
-
`allowCwd` set to the directory `pie
|
|
68
|
-
a new machine can chat with the
|
|
66
|
+
`pie manager` seeds this file on first run when it is absent, with
|
|
67
|
+
`allowCwd` set to the directory `pie manager` was launched from — otherwise
|
|
68
|
+
a new machine can chat with the manager but never dispatch a worker. It
|
|
69
69
|
never seeds `$HOME` or `/` (that is a security decision for the operator) and
|
|
70
70
|
never overwrites an existing file.
|
|
71
71
|
|
|
@@ -92,14 +92,14 @@ log (verbose mode / host transcript).
|
|
|
92
92
|
|
|
93
93
|
- No arbitrary argv: the shapes are exactly the two documented above; the
|
|
94
94
|
model cannot inject flags (the oneshot task never enters argv). This is
|
|
95
|
-
the deliberate replacement for teaching the
|
|
95
|
+
the deliberate replacement for teaching the manager to spawn processes
|
|
96
96
|
through the shell tool.
|
|
97
97
|
- Workers do NOT inherit the parent's agent dir: each gets
|
|
98
98
|
`~/.pie/pie-proc/agents/<name>/` (own models.json etc., inherited from the
|
|
99
99
|
parent on first creation). The cwd allowlist, not the PIE dir, scopes
|
|
100
100
|
file access. Workers DO inherit the parent's IPC discovery root
|
|
101
101
|
(PIE_IPC_CONFIG_DIR is set to the parent's effective config dir) so the
|
|
102
|
-
|
|
102
|
+
manager can address them by peer name via ipc_send_notify; their peer
|
|
103
103
|
name travels in PIE_IPC_DISPLAY_NAME — never by writing a shared ipc.json.
|
|
104
104
|
- The im field is written before spawn (only when absent) as a plain
|
|
105
105
|
user-layer im-forward.json inside the worker's PIE dir — the same
|