@cydm/pie 3.0.0 → 4.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/dist/builtin/extensions/ask-user/index.js +8 -4
- package/dist/builtin/extensions/cron/index.js +130 -21
- package/dist/builtin/extensions/im-forward/README.md +20 -5
- package/dist/builtin/extensions/im-forward/index.js +415 -142
- package/dist/builtin/extensions/memory/index.js +71 -20
- package/dist/builtin/extensions/pie-ipc/README.md +2 -2
- package/dist/builtin/extensions/pie-ipc/index.js +269 -30
- package/dist/builtin/extensions/pie-proc/README.md +93 -0
- package/dist/builtin/extensions/pie-proc/index.js +630 -0
- package/dist/builtin/extensions/pie-proc/package.json +11 -0
- 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/builtin/skills/tui-use/tui-use-daemon.cjs +49 -0
- package/dist/chunks/{chunk-7FEPQHYX.js → chunk-FDLLNPIE.js} +143 -53
- package/dist/chunks/{chunk-3BC5KGDQ.js → chunk-JQRZLVPY.js} +12 -1
- package/dist/chunks/{chunk-GH4VW2OT.js → chunk-NCP264ZE.js} +8 -2
- package/dist/chunks/{chunk-YRR6C43W.js → chunk-QX6WS73C.js} +1 -1
- package/dist/chunks/{chunk-OEQYEYB3.js → chunk-TDKNKNPL.js} +5 -5
- package/dist/chunks/{chunk-BUDXV3TR.js → chunk-UOZHQ73X.js} +3 -3
- package/dist/chunks/{chunk-3FRKOFSP.js → chunk-WK4N5HT5.js} +32 -22
- package/dist/chunks/chunk-X6LBWHK3.js +37 -0
- package/dist/chunks/concierge-cli-PIOGXKDR.js +939 -0
- package/dist/chunks/{model-registry-LI5THXV4.js → model-registry-YA6U366L.js} +2 -2
- package/dist/chunks/{src-AE3OCAE6.js → src-AB7PLORG.js} +6 -4
- package/dist/chunks/{src-YG5M2H44.js → src-ODLT57PQ.js} +2 -2
- package/dist/chunks/{src-66XSMIAM.js → src-XSLD2IQ2.js} +1 -1
- package/dist/chunks/{src-RVTDUSPJ.js → src-ZZZO4HSR.js} +3 -3
- package/dist/chunks/{test-stream-JBWXKOQA.js → test-stream-GIUD5JWS.js} +1 -1
- package/dist/cli.js +962 -174
- package/package.json +105 -105
package/package.json
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
2
|
+
"name": "@cydm/pie",
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "Pie AI Agent CLI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"pie": "dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"clean": "node ../../scripts/clean-package-output.mjs dist .test-dist",
|
|
11
|
+
"prebuild": "node ../../scripts/clean-package-output.mjs dist",
|
|
12
|
+
"build": "node scripts/build-release.mjs",
|
|
13
|
+
"check:types:strict": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.strict.json && tsc -p vendor/tui-use/tsconfig.json && tsc -p vendor/chrome-devtools-axi/tsconfig.json",
|
|
14
|
+
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
|
|
15
|
+
"start": "node dist/cli.js",
|
|
16
|
+
"init:models": "tsx scripts/init-models-config.ts",
|
|
17
|
+
"validate:models": "tsx scripts/validate-models-config.ts",
|
|
18
|
+
"test": "npm run test:offline",
|
|
19
|
+
"test:offline:build": "node ../../scripts/build-unity-test-deps.mjs && npm run build",
|
|
20
|
+
"test:skill-regressions": "node --test --test-force-exit --import tsx test/axi-bridge-lifecycle.test.ts test/bash-lifecycle.test.ts test/bash-powershell-display.test.ts test/skill-creator-runner.test.ts test/tui-use-contract.test.ts test/tui-use-runtime.test.ts test/tui-use-reap.test.ts test/tui-use-kill-escalation.test.ts test/browser-runtime.test.ts test/axi-stop-semantics.test.ts test/axi-page-routing.test.ts test/computer-use-axi.test.ts test/computer-evidence.test.ts test/interactive-lifecycle.test.ts",
|
|
21
|
+
"test:offline:post": "node --test --test-force-exit --import tsx test/remote-model-catalog.test.ts",
|
|
22
|
+
"test:offline": "node ../../scripts/run-cli-offline.mjs",
|
|
23
|
+
"test:offline:main": "node --test --test-concurrency=2 --test-force-exit --import tsx test/cli-attention.test.ts test/cron.test.ts test/cron-process.test.ts test/cron-poll-gate.test.ts test/memory-distill.test.ts test/memory-injection-freeze.test.ts test/memory-consumption-e2e.test.ts test/memory-frozen-matching.test.ts test/memory-soul-injection.test.ts test/config-dir-fail-closed.test.ts test/cron-concurrency.test.ts test/cron-dogfood.test.ts test/cron.terminal.test.ts test/cron-journey.terminal.test.ts test/builtin-extensions.test.ts test/im-forward.test.ts test/im-forward-cli.test.ts test/im-forward-integration.test.ts test/im-forward-dogfood.terminal.test.ts test/extension-user-input.test.ts test/pie-ipc-pure.test.ts test/pie-ipc-discovery.test.ts test/pie-ipc-transport.test.ts test/pie-ipc-delivery.test.ts test/pie-ipc-extension.test.ts test/pie-ipc-e2e.test.ts test/pie-ipc-security.test.ts test/pie-ipc-dogfood.test.ts test/pie-ipc-resident-dispatch.test.ts test/pie-proc.test.ts test/pie-ipc-host.terminal.test.ts test/core-services.test.ts test/cli.test.ts test/cli-auto-compaction.test.ts test/execution-state-manager.test.ts test/queued-steer-execution-state.test.ts test/todo-steering-ownership.test.ts test/architecture-boundaries.test.ts test/attachment-resolver.test.ts test/kimi-attachment-provider.test.ts test/document-attachment-extension.test.ts test/auto-compact-overflow.test.ts test/auto-compaction-ui.test.ts test/tool-compaction-dogfood.terminal.test.ts test/hierarchical-command-system.test.ts test/mcp-adapter.test.ts test/herdr-agent-state.test.ts test/extensions-enablement.test.ts test/extension-selector-shortcuts.test.ts test/skill-tool-enablement.test.ts test/message-queue-unit.test.ts test/evals-harness.test.ts test/session-trace.test.ts test/json-events-event-sink.test.ts test/json-events-lifecycle-bridge.test.ts test/json-events-self-input.test.ts test/json-events-idle-mode.test.ts test/concierge-cli.test.ts test/json-events-sidechat-diagnostics.test.ts test/json-events-prewarm-shutdown.test.ts test/json-envelope-composition.test.ts test/subagent-session-store.test.ts test/supervisor-anchor-inject.test.ts test/runtime-mode-context.test.ts test/tool-policy.test.ts test/retry-policy.test.ts test/yolo-command.test.ts test/footer-lifecycle.test.ts test/footer-waiting-for-user.test.ts test/files-utils.test.ts test/source-size-guard.test.ts test/runtime-logger.test.ts test/release-readiness.test.ts test/package-artifacts.test.ts test/init-extension-contract.test.ts test/skills-runtime.test.ts test/skills-agents-discovery.test.ts test/skills-symlink.test.ts test/model-overrides.test.ts test/auth-storage.test.ts test/extension-register-provider.test.ts test/extension-reload.test.ts test/extension-terminal-input.test.ts test/extension-session-before-events.test.ts test/extension-widgets.test.ts test/extension-render-hint.test.ts test/extension-oauth-restore.test.ts test/cross-host-parity.test.ts test/tool-name-rendering.test.ts test/session-selector.test.ts test/tree-selector-pagination.test.ts test/context-report.test.ts test/context-signals.test.ts test/plan-cache-stability.test.ts test/cache-invalidation-trace.test.ts test/cache-retention.test.ts test/trace-report.test.ts test/boot-report.test.ts test/compaction-diff.test.ts test/entry-body-and-usage.test.ts test/session-control.test.ts test/terminal-title.test.ts test/interactive-controller-title.test.ts test/todo-title.terminal.test.ts test/host-envelope-dogfood.terminal.test.ts test/host-envelope-cross-mode.test.ts test/host-envelope-registry-lifecycle.test.ts test/host-envelope-migration-roundtrip.test.ts test/host-envelope-intake-order.test.ts test/plan-mode-extension.test.ts test/extension-interaction-signals.test.ts test/rendered-page-reader.test.ts test/tools-registry.test.ts test/system-prompt-contract.test.ts test/bash-yolo.test.ts test/bash-contract.test.ts test/bash-confirm-pending.test.ts test/interaction-status-lifecycle.test.ts test/bash-process-group.test.ts test/bash-artifact-sink.test.ts test/direct-bash.test.ts test/terminal-bell.test.ts test/ctrl-d-exit.test.ts test/session-display-title.test.ts test/calm-mode.test.ts test/stream-render-throttle.test.ts test/assistant-message-performance.test.ts test/streaming-split-parity.test.ts test/message-display-resync.test.ts test/project-root.test.ts test/guard-advisory-context.test.ts test/clear-command-usage.test.ts test/daily-agent-smoke.terminal.test.ts test/slash-menu-toggles.terminal.test.ts test/cli-args.test.ts test/session-resume-cwd.test.ts test/session-resume-restart.test.ts test/session-resume-picker.test.ts test/extensions-configured-paths.test.ts test/extensions-loader-path.test.ts test/file-picker.test.ts test/interrupt-recovery.test.ts test/mention-insert-regression.test.ts test/image-paste.test.ts test/clipboard-read-image.test.ts test/clipboard-races.test.ts test/clipboard-dogfood.terminal.test.ts test/mention-picker-navigation.test.ts test/pie-unity-rpc-skill.test.ts test/skill-creator-scripts.test.ts test/interactive-compact-command.test.ts test/computer-use-broker.test.ts test/computer-use-review-regressions.test.ts test/computer-use-safety.test.ts ../../scripts/node-test-diagnostics.test.js ../../scripts/offline-test-runner.test.js ../../scripts/unity-consumer.test.mjs ../../scripts/owned-process-cleanup.test.mjs",
|
|
24
|
+
"test:all": "npm run test:offline && npm run test:terminal:vitest",
|
|
25
|
+
"test:cron:tui": "node ../../scripts/run-with-env.mjs PIE_REAL_CRON_TUI=1 -- --test --import tsx test/cron.terminal.test.ts test/cron-journey.terminal.test.ts",
|
|
26
|
+
"test:ipc:tui": "node ../../scripts/run-with-env.mjs PIE_REAL_IPC_TUI=1 -- --test --import tsx test/pie-ipc-host.terminal.test.ts",
|
|
27
|
+
"test:terminal:vitest": "vitest run test/mention-file-select.terminal.test.ts test/tool-partial-display.terminal.test.ts test/footer-plan-mode.test.ts test/viewport-position-final.test.ts test/resume-header.terminal.test.ts --no-file-parallelism",
|
|
28
|
+
"test:todo-tui": "node ../../scripts/run-with-env.mjs PIE_REAL_TODO_TUI=1 -- --test --import tsx test/todo-closure.terminal.test.ts",
|
|
29
|
+
"test:daily-tui": "npm run test:daily-tui:quick",
|
|
30
|
+
"test:daily-tui:quick": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_TUI_LEVEL=quick -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
31
|
+
"test:daily-tui:full": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_TUI_LEVEL=full -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
32
|
+
"test:daily-tui:quick:repeat": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=quick -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
33
|
+
"test:daily-tui:full:repeat": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=full -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
34
|
+
"test:daily-gate:quick": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=quick PIE_DAILY_REPEAT=1 -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
35
|
+
"test:daily-gate:full": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=full PIE_DAILY_REPEAT=1 -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
36
|
+
"test:daily-gate:mock": "node ../../scripts/run-with-env.mjs PIE_DAILY_MOCK_GATE=1 -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
37
|
+
"test:daily-gate:quick:repeat:stable": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=quick PIE_DAILY_REPEAT=3 -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
38
|
+
"test:daily-gate:quick:repeat": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=quick -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
39
|
+
"test:daily-gate:full:repeat": "node ../../scripts/run-with-env.mjs PIE_REAL_DAILY_TUI=1 PIE_DAILY_REPEAT_MODE=full -- --test --import tsx test/daily-agent-smoke.terminal.test.ts",
|
|
40
|
+
"test:kimi-smoke": "node scripts/kimi-attachment-smoke.mjs",
|
|
41
|
+
"test:integration": "node --test --import tsx test/cli.test.ts test/compact-e2e.test.ts test/human-simulation.test.ts test/interactive-integration.test.ts test/pie-cli.terminal.test.ts",
|
|
42
|
+
"prebenchmark:render": "npm run build --workspace @pie/tui",
|
|
43
|
+
"benchmark:render": "node --import tsx scripts/benchmark-render.mjs",
|
|
44
|
+
"eval": "tsx evals/runner.ts",
|
|
45
|
+
"eval:task": "tsx evals/runner.ts --layer=task",
|
|
46
|
+
"eval:dev": "tsx evals/runner.ts --layer=task --dataset=dev",
|
|
47
|
+
"eval:core": "tsx evals/runner.ts --layer=task --dataset=core",
|
|
48
|
+
"eval:dev:compare": "tsx evals/runner.ts --layer=task --dataset=dev",
|
|
49
|
+
"eval:core:compare": "tsx evals/runner.ts --layer=task --dataset=core",
|
|
50
|
+
"eval:cognitive": "tsx evals/run.ts",
|
|
51
|
+
"pack:check": "npm pack --dry-run",
|
|
52
|
+
"prepack": "npm run build",
|
|
53
|
+
"postinstall": "node scripts/repair-node-pty.mjs"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist/**/*",
|
|
57
|
+
"models.schema.json",
|
|
58
|
+
"scripts/repair-node-pty.mjs",
|
|
59
|
+
"README.md"
|
|
60
|
+
],
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"keywords": [
|
|
65
|
+
"cli",
|
|
66
|
+
"ai",
|
|
67
|
+
"agent",
|
|
68
|
+
"coding"
|
|
69
|
+
],
|
|
70
|
+
"author": "",
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">=20.19.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@anthropic-ai/sdk": "0.50.4",
|
|
77
|
+
"@modelcontextprotocol/client": "2.2.0",
|
|
78
|
+
"@sinclair/typebox": "^0.34.49",
|
|
79
|
+
"@xterm/addon-unicode11": "0.9.0",
|
|
80
|
+
"@xterm/headless": "6.0.0",
|
|
81
|
+
"chrome-devtools-axi": "0.1.35",
|
|
82
|
+
"chrome-devtools-mcp": "1.10.1",
|
|
83
|
+
"cli-highlight": "^2.1.11",
|
|
84
|
+
"commander": "12.1.0",
|
|
85
|
+
"diff": "8.0.3",
|
|
86
|
+
"jszip": "^3.10.1",
|
|
87
|
+
"koffi": "^2.15.6",
|
|
88
|
+
"node-pty": "1.1.0",
|
|
89
|
+
"ws": "8.22.0",
|
|
90
|
+
"yaml": "^2.8.3"
|
|
91
|
+
},
|
|
92
|
+
"devDependencies": {
|
|
93
|
+
"@pie/agent-core": "*",
|
|
94
|
+
"@pie/agent-framework": "*",
|
|
95
|
+
"@pie/ai": "*",
|
|
96
|
+
"@pie/platform": "*",
|
|
97
|
+
"@pie/shared-headless-capabilities": "*",
|
|
98
|
+
"@pie/tui": "*",
|
|
99
|
+
"@types/diff": "7.0.2",
|
|
100
|
+
"@types/node": "^22.10.5",
|
|
101
|
+
"@types/ws": "8.18.2",
|
|
102
|
+
"esbuild": "^0.28.0",
|
|
103
|
+
"tsx": "^4.20.3",
|
|
104
|
+
"typescript": "^5.7.3",
|
|
105
|
+
"vitest": "4.1.11"
|
|
106
|
+
}
|
|
107
107
|
}
|