@cydm/pie 2.8.0 → 3.0.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 +18 -0
- package/dist/builtin/extensions/ask-user/index.js +4 -3
- package/dist/builtin/extensions/changelog/index.js +2 -2
- package/dist/builtin/extensions/cron/index.js +430 -43
- package/dist/builtin/extensions/document-attachments/index.js +1 -1
- package/dist/builtin/extensions/herdr-agent-state/index.js +2 -2
- package/dist/builtin/extensions/im-forward/index.js +13 -2
- package/dist/builtin/extensions/memory/index.js +277 -83
- package/dist/builtin/extensions/memory/package.json +2 -1
- package/dist/builtin/extensions/plan-mode/index.js +4 -3
- package/dist/builtin/extensions/subagent/index.js +7 -6
- package/dist/builtin/extensions/todo/index.js +4 -3
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-bridge.js +106 -2
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-cli.js +1 -0
- package/dist/builtin/skills/chrome-devtools-axi/chrome-devtools-axi-runtime.js +1 -1
- package/dist/builtin/skills/chrome-devtools-axi/{chunk-BNSAEVRT.js → chunk-WOGAQ4P5.js} +2 -2
- package/dist/builtin/skills/chrome-devtools-axi/{cli-AO2ZTPRM.js → cli-CHC7XYFU.js} +27 -3
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-broker.js +8 -3
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-cli.js +1 -0
- package/dist/builtin/skills/computer-use-axi/computer-use-axi-runtime.js +6 -1
- package/dist/builtin/skills/computer-use-axi/scripts/setup-helper.mjs +6 -2
- package/dist/builtin/skills/tui-use/tui-use-daemon.cjs +130 -9
- package/dist/chunks/auth-storage-3EGM3VTK.js +13 -0
- package/dist/chunks/{chunk-JNOFHHLZ.js → chunk-3BC5KGDQ.js} +383 -185
- package/dist/chunks/chunk-3FRKOFSP.js +9667 -0
- package/dist/chunks/chunk-6DNYGVZP.js +278 -0
- package/dist/chunks/{chunk-LJXHECZ7.js → chunk-7FEPQHYX.js} +13867 -19759
- package/dist/chunks/{chunk-NEES4EBX.js → chunk-BUDXV3TR.js} +28 -18
- package/dist/chunks/{chunk-HGC25NYB.js → chunk-GH4VW2OT.js} +1 -1
- package/dist/chunks/{chunk-5353DEEC.js → chunk-ILUHTKF3.js} +20 -1
- package/dist/chunks/chunk-OEQYEYB3.js +299 -0
- package/dist/chunks/chunk-YRR6C43W.js +1740 -0
- package/dist/chunks/config-74AUVDLT.js +46 -0
- package/dist/chunks/model-registry-LI5THXV4.js +17 -0
- package/dist/chunks/src-66XSMIAM.js +134 -0
- package/dist/chunks/src-AE3OCAE6.js +431 -0
- package/dist/chunks/src-RVTDUSPJ.js +293 -0
- package/dist/chunks/{src-5XOKRS6F.js → src-YG5M2H44.js} +2 -2
- package/dist/chunks/{test-stream-5SDHKKDB.js → test-stream-JBWXKOQA.js} +1 -1
- package/dist/cli.js +1455 -2358
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -409,6 +409,24 @@ pie "summarize this file" --json-output
|
|
|
409
409
|
pie "continue previous task" --session-id my-session
|
|
410
410
|
```
|
|
411
411
|
|
|
412
|
+
### Resuming Sessions From Another Directory
|
|
413
|
+
|
|
414
|
+
Sessions record the directory they were created in. When you resume a
|
|
415
|
+
session that belongs to another project (by `--session-id` or the
|
|
416
|
+
interactive `/resume` picker), Pie restarts itself in that project's
|
|
417
|
+
directory BEFORE loading anything cwd-sensitive (AGENTS.md discovery,
|
|
418
|
+
project skills, project memory) — a resumed session behaves exactly like
|
|
419
|
+
a fresh start in its project. A one-line banner shows the switch, and an
|
|
420
|
+
OSC 7 escape sequence tells supporting terminals where new panes belong.
|
|
421
|
+
|
|
422
|
+
- The shell you launched from keeps its own cwd (Unix shells cannot be
|
|
423
|
+
driven by child processes); the printed banner is the source of truth.
|
|
424
|
+
- `--no-cd` skips the restart (scripted/CI use).
|
|
425
|
+
- `session.resume.chdir: false` in `~/.pie/settings.json` disables it
|
|
426
|
+
permanently.
|
|
427
|
+
- If the recorded directory no longer exists, Pie warns and resumes in
|
|
428
|
+
the current directory instead of failing.
|
|
429
|
+
|
|
412
430
|
### Machine-Readable Output (Agents And Hosts)
|
|
413
431
|
|
|
414
432
|
Every management command (`sessions`, `doctor`, `models`, `extensions`, `permissions`, `capabilities`) emits one compact JSON envelope when given `--json`:
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { createRequire as __createRequire } from "node:module"; const require = __createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createAskUserCapability
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
5
|
-
import "../../../chunks/chunk-
|
|
6
|
-
import "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-7FEPQHYX.js";
|
|
5
|
+
import "../../../chunks/chunk-3FRKOFSP.js";
|
|
6
|
+
import "../../../chunks/chunk-GH4VW2OT.js";
|
|
7
|
+
import "../../../chunks/chunk-3BC5KGDQ.js";
|
|
7
8
|
import "../../../chunks/chunk-XXGYUYXI.js";
|
|
8
9
|
import "../../../chunks/chunk-LZQXQOPJ.js";
|
|
9
10
|
|
|
@@ -12,7 +12,7 @@ function getRecentCommits(cwd, count = 10) {
|
|
|
12
12
|
const result = spawnSync(
|
|
13
13
|
"git",
|
|
14
14
|
["log", `--max-count=${count}`, "--pretty=format:%h %s", "--no-merges"],
|
|
15
|
-
{ cwd, encoding: "utf8" }
|
|
15
|
+
{ cwd, encoding: "utf8", windowsHide: true }
|
|
16
16
|
);
|
|
17
17
|
return result.status === 0 ? result.stdout : "";
|
|
18
18
|
} catch {
|
|
@@ -24,7 +24,7 @@ function getChangedFiles(cwd) {
|
|
|
24
24
|
const result = spawnSync(
|
|
25
25
|
"git",
|
|
26
26
|
["diff", RECENT_COMMIT_RANGE, "--name-only", "--stat"],
|
|
27
|
-
{ cwd, encoding: "utf8" }
|
|
27
|
+
{ cwd, encoding: "utf8", windowsHide: true }
|
|
28
28
|
);
|
|
29
29
|
return result.status === 0 ? result.stdout : "";
|
|
30
30
|
} catch {
|