@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 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 \u72B6\u6001\u4E0D\u5B89\u5168\uFF08unsafe.lock\uFF09\u2014\u2014\u9700\u4EBA\u5DE5\u68C0\u67E5 /tools/cron \u540E\u6062\u590D" : duplicates ? "\u5B58\u5728\u540C\u4F1A\u8BDD\u7684\u91CD\u590D owner\uFF08\u7591\u4F3C\u6B8B\u7559\u8FDB\u7A0B\uFF09\u2014\u2014\u91CD\u8BD5\u65E0\u6548\uFF0C\u8BF7\u68C0\u67E5 /tools/cron" : worker ? "\u672C\u4F1A\u8BDD\u6709\u6B63\u5728\u6267\u884C\u7684 cron \u4EFB\u52A1\uFF08worker \u6A21\u5F0F\uFF09\u2014\u2014\u4EFB\u52A1\u7ED3\u675F\u540E\u81EA\u52A8\u6062\u590D" : safeStartupError ? `cron \u542F\u52A8\u5F02\u5E38\uFF1A${safeStartupError}` : "cron \u4F1A\u8BDD\u6240\u6709\u6743\u672A\u5C31\u7EEA\u2014\u2014\u7A0D\u540E\u91CD\u8BD5";
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
  });