@cydm/pie 4.4.3 → 4.5.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/README.md +24 -0
- package/dist/builtin/extensions/cron/index.js +1 -1
- package/dist/builtin/extensions/im-forward/index.js +272 -83
- package/dist/builtin/extensions/memory/index.js +2 -2
- package/dist/builtin/extensions/pie-ipc/README.md +1 -1
- package/dist/builtin/extensions/pie-ipc/index.js +30 -6
- package/dist/builtin/extensions/pie-proc/index.js +10 -2
- package/dist/builtin/extensions/plan-mode/index.js +4 -4
- package/dist/chunks/{chunk-JMKLTTZQ.js → chunk-2CJIENLY.js} +1 -0
- package/dist/chunks/{chunk-X6LBWHK3.js → chunk-7RJXKN7N.js} +1 -1
- package/dist/chunks/{manager-cli-WEHNUV5T.js → manager-cli-T26F3FUW.js} +299 -141
- package/dist/chunks/manager-upgrade-YVHK3XZE.js +582 -0
- package/dist/cli.js +62 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -196,8 +196,32 @@ If you want an agent that feels lightweight but still has serious capability, th
|
|
|
196
196
|
|
|
197
197
|
The CLI should consume shared capability and framework contracts; it should not redefine shared runtime or extension semantics locally.
|
|
198
198
|
|
|
199
|
+
## Windows manager service
|
|
200
|
+
|
|
201
|
+
`pie manager start` (or bare `pie manager`) starts an already-installed Windows
|
|
202
|
+
scheduled task without uninstalling it or creating a separate manual resident.
|
|
203
|
+
The message confirms the start request, not model/IM readiness; use
|
|
204
|
+
`pie manager tail` to inspect startup output.
|
|
205
|
+
|
|
206
|
+
`pie manager --install-service` builds a small GUI-subsystem launcher using the
|
|
207
|
+
Windows .NET Framework v4 compiler. The task and its Node resident create no
|
|
208
|
+
console window. A private Windows Job Object keeps descendants tied to the
|
|
209
|
+
launcher: stopping the task also ends its descendant processes. stdout/stderr
|
|
210
|
+
append to `~/.pie/manager/log.jsonl`; native launch failures go to
|
|
211
|
+
`service-launcher.log` beside it. No extra package is downloaded.
|
|
212
|
+
|
|
213
|
+
Existing scheduled tasks retain their old action until reinstalled. After
|
|
214
|
+
updating Pie, stop the manager and run `pie manager --install-service`, then
|
|
215
|
+
`pie manager start`, to adopt the windowless launcher. The service runs as the
|
|
216
|
+
same Windows user/profile that installed it. The generated launcher captures
|
|
217
|
+
the Node/CLI paths and configuration roots; reinstall after changing those paths.
|
|
218
|
+
|
|
199
219
|
## Interactive Experience
|
|
200
220
|
|
|
221
|
+
Product-owned UI labels, errors, and operational hints default to English.
|
|
222
|
+
User-authored content, multilingual input recognition, and explicitly selected
|
|
223
|
+
localizations are preserved rather than translated.
|
|
224
|
+
|
|
201
225
|
Run:
|
|
202
226
|
|
|
203
227
|
```bash
|
|
@@ -1530,7 +1530,7 @@ WARNING: change applied but the audit log could not be written (${String(e)})`;
|
|
|
1530
1530
|
} catch {
|
|
1531
1531
|
}
|
|
1532
1532
|
const safeStartupError = typeof startupError === "string" ? startupError.replace(/[\u0000-\u001f\u007f]/g, " ").slice(0, 160) : void 0;
|
|
1533
|
-
const why = unsafe ? "cron
|
|
1533
|
+
const why = unsafe ? "cron state is unsafe (unsafe.lock); inspect /tools/cron before recovering manually." : duplicates ? "Duplicate owners for this session (possibly leftover processes); retrying will not help. Inspect /tools/cron." : worker ? "A cron worker is running a task for this session; input will resume when the task finishes." : safeStartupError ? `cron startup failed: ${safeStartupError}` : "cron session ownership is not ready; try again shortly.";
|
|
1534
1534
|
ctx.ui.notify("cron: session ownership is uncertain or duplicated; input blocked. Close the duplicate/worker and inspect /tools/cron.", "warning");
|
|
1535
1535
|
return { action: "reject", reason: why };
|
|
1536
1536
|
});
|