@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**Host gating (S5 axis migration):** the forwarding RUNTIME activates on the
|
|
4
4
|
`editorInjection` capability axis — real intake exists on the interactive TUI
|
|
5
5
|
(injection) and on embedded json-events hosts (controller-queue intake since
|
|
6
|
-
S1), so a resident
|
|
6
|
+
S1), so a resident manager host forwards too. The INTERACTIVE SURFACES
|
|
7
7
|
(shortcuts Ctrl+R / Alt+I, `/tools/im-forward*` commands, the setup wizard)
|
|
8
8
|
stay gated on `interactiveUI`: the wizard needs dialogs, and an unattended host
|
|
9
9
|
configures through the layered config files instead. One-shot print hosts
|
|
@@ -20,7 +20,9 @@ forwarding stops immediately afterwards. Without usable configuration/dependency
|
|
|
20
20
|
Ctrl+R opens **IM forwarding setup**;
|
|
21
21
|
otherwise it toggles the desired enabled flag. Replies/thread posts associated
|
|
22
22
|
with this process's forwarded messages enter their originating live session.
|
|
23
|
-
COLD-START note: replaced 11-08 by the user routing design — an UNANCHORED message (a true DM root: no explicit address, no replyTo, no threadId) binds to the UNATTENDED RESIDENT host (json-events --idle, the
|
|
23
|
+
COLD-START note: replaced 11-08 by the user routing design — an UNANCHORED message (a true DM root: no explicit address, no replyTo, no threadId) binds to the UNATTENDED RESIDENT host (json-events --idle, the manager) statelessly, for the resident's whole life; interactive/embedded hosts never claim unanchored messages. A message that REPLIED to something or sits in a THREAD whose attribution fails to resolve is NOT unanchored — it drops on every host (no ack reaction is the user-visible signal). A retry chain never re-binds across a session switch (released for redelivery instead).
|
|
24
|
+
|
|
25
|
+
**Zero-LLM control panel (`/panel`):** on providers that support interactive cards (Feishu), the manager serves a zero-LLM control panel over card callbacks: inline list rows for live sessions, workers, and cron jobs, in-place model and thinking-level controls (dynamically scoped to the target peer's advertised `supportedThinkingLevels`), and script-backed custom buttons registered via `panel_action`. Panel clicks execute directly over local IPC/cron bridges without triggering an LLM turn.
|
|
24
26
|
|
|
25
27
|
EXPLICIT ADDRESSING (`<session name>: body`) is exclusive: the address space is the set of session names advertised by LIVE local sessions in the pie-ipc discovery directory (`<PIE_IPC_CONFIG_DIR ?? agent dir>/run/ipc`), scanned per candidate message (no negative cache). The unique consumer forwards a foreign explicit address to its unique live session owner over IPC, before thread routing; non-consumer hosts do not re-dispatch it. Targets must advertise the same active IM app binding. A name advertised by two live sessions, or an address-shaped message while the book is unreadable, drops (ambiguous → nobody acts). Without pie-ipc running, no foreign names are known, so exclusivity degrades to own-name-only — pie-ipc is the local session registry.
|
|
26
28
|
|
|
@@ -287,6 +289,10 @@ path no longer truncates bodies.
|
|
|
287
289
|
text reply can overtake an earlier multi-image download. Wait for acceptance
|
|
288
290
|
before sending a follow-up that depends on those images.
|
|
289
291
|
|
|
292
|
+
Context and Compact buttons are shown only for peers advertising those controls.
|
|
293
|
+
A Compact receipt confirms submission, not a committed checkpoint. If the peer
|
|
294
|
+
sent no verifiable receipt, check Context before requesting compaction again.
|
|
295
|
+
|
|
290
296
|
## Panel actions (script-backed custom buttons)
|
|
291
297
|
|
|
292
298
|
11-23, user-settled design. A custom panel button is the trigger for a
|
|
@@ -309,17 +315,28 @@ execution (zero LLM, zero token spend).
|
|
|
309
315
|
over a deliberately minimal environment (manager bootstrap/model identity
|
|
310
316
|
never leaks into scripts); stdout IS the result (markdown posted to IM);
|
|
311
317
|
exit 0 = success, non-zero = failure with the stderr tail; per-action
|
|
312
|
-
timeout
|
|
318
|
+
timeout defaults to 5 min. On POSIX the executor verifies the per-launch identity
|
|
319
|
+
of live members of the script's process group before TERM/KILL and waits for
|
|
320
|
+
that group to stop before releasing the action slot. A subprocess that starts
|
|
321
|
+
a separate process group is outside this guarantee. Unknown ownership is not
|
|
322
|
+
permission to signal. On IM configuration retirement, a script still awaiting
|
|
323
|
+
its initial card receipt is not started; an already running script is cancelled.
|
|
324
|
+
The old connection stays available for up to 7 s for terminal card updates.
|
|
325
|
+
A pending name lookup is cancelled so a finished script can report its actual
|
|
326
|
+
result using the captured identity. A receipt arriving after that window is
|
|
327
|
+
not replayed or patched via the new connection.
|
|
313
328
|
- Execution: the callback acks fast (<500ms contract), runs in the
|
|
314
329
|
background, then patches the SAME ack card with the result (one click, one
|
|
315
330
|
card). The per-action execution lock is a cross-process mkdir + link-CAS
|
|
316
331
|
protocol (the pie-proc registry's primitive): write-once info.json,
|
|
317
332
|
token-merged renew.json (deadline re-arm + childPid fencing record),
|
|
318
333
|
generation-checked release/rearm, and rename-aside reaping with
|
|
319
|
-
last-moment revalidation.
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
334
|
+
last-moment revalidation. The stale-lock reaper uses a separate check: an
|
|
335
|
+
unverifiable recorded child leaves the slot locked with a recovery note.
|
|
336
|
+
On POSIX that reaper checks signal delivery, not that all descendants have
|
|
337
|
+
exited. Ordinary script completion also does not wait for background jobs
|
|
338
|
+
whose pipes have closed. Scripts should join their background work. Windows
|
|
339
|
+
timeout cleanup is best effort; it does not verify that a whole tree exited.
|
|
323
340
|
- Governance is attribution, not permission (user decision): the registry
|
|
324
341
|
records the creator, every result card bylines the triggerer ("由 张三 触
|
|
325
342
|
发"), and every run appends to `audit.jsonl`. There is deliberately NO
|