kylon-cli 0.6.0-next.835 → 0.6.0-next.838

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
@@ -380,6 +380,13 @@ Nothing installs a provider CLI in the background. A daemon that finds its
380
380
  provider missing reports it and waits — installing software on someone's
381
381
  machine is something they ask for, not something a health check decides.
382
382
 
383
+ Codex normally uses the desktop app's current executable when installed. To
384
+ select a specific installation, set `KYLON_CODEX_BINARY_PATH` to its absolute
385
+ executable path before connecting or repairing the gateway service. The service
386
+ captures this selection for health checks and agent turns. A missing or invalid
387
+ path fails instead of switching installations. Use the same path with
388
+ `kylon provider update codex --binary-path <path>` when updating that installation.
389
+
383
390
  The drain waits up to five minutes for in-flight agent work, and a drain that
384
391
  exhausts its window rolls the upgrade back — so a persistently busy host would
385
392
  never upgrade without an operator interrupt. Two are available:
@@ -533,13 +540,19 @@ kylon gateway run
533
540
  It takes no connection flags: link an agent first with `kylon agent link`.
534
541
  Without a saved runtime connection it exits with guidance pointing there.
535
542
 
536
- ### Sleep, wake, and keep-awake (macOS)
543
+ ### Sleep, wake, and keep-awake (macOS and Windows)
544
+
545
+ By default the daemon requests idle sleep prevention whenever it runs: macOS
546
+ uses `caffeinate`; Windows uses a hidden helper tied to the daemon's lifetime.
547
+ The display can turn off while agents remain available. Sleep prevention is
548
+ only requested on AC power; Windows checks for battery transitions every second.
549
+ Battery, lid-close, and manual sleep policy still take precedence. No effect on Linux.
537
550
 
538
- By default the daemon holds a macOS sleep assertion (the same mechanism as
539
- `caffeinate`) whenever it runs: on AC power the machine can turn its display
540
- off without ever going to sleep, so its agents stay online and dispatchable
541
- from the web at any time. Sleep is only prevented on AC power — on battery,
542
- and when the lid closes, normal sleep policy always wins. No effect on Linux.
551
+ On Windows, the hidden scheduled-task launcher retries a failed supervisor three times at one-minute
552
+ intervals. A normal exit with no saved registration stays stopped. This does not
553
+ run while the user is signed out, wake a sleeping computer, or recover every
554
+ explicit Task Scheduler stop. Updated task definitions take effect on the next
555
+ task start; an already running supervisor keeps its original code until restarted.
543
556
 
544
557
  ```bash
545
558
  kylon keep-awake # show the current mode
@@ -565,7 +578,7 @@ instead of waiting out inactivity timeouts and heartbeat intervals.
565
578
  | `kylon agent link --url <link> [-- <launch command>]` | **Recommended.** Connect one agent and start its local runtime. ACP launch commands are saved in the same operation. |
566
579
  | `kylon disconnect` | Forget this environment's saved runtime connection. Local only: workspace-side agent configuration is unchanged. |
567
580
  | `kylon gateway run` | Run the local runtime service from the saved connection (service entrypoint). |
568
- | `kylon keep-awake [mode]` | Show or set macOS sleep prevention (`always` (default) / `while-busy` / `off`). |
581
+ | `kylon keep-awake [mode]` | Show or set macOS/Windows sleep prevention (`always` (default) / `while-busy` / `off`). |
569
582
 
570
583
  ### Supported Providers
571
584
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.6.0-next.835",
3
- "fingerprint": "42fd90c58c61011f7cfecf5a687b8c530580a30de054a059988c8cf1f7e581cd",
4
- "source_commit": "4fb600ddfaa67e280638460fd78f540bb644242f"
2
+ "version": "0.6.0-next.838",
3
+ "fingerprint": "45ad32f5d5309f69a97c0cae6ea3daef0c0dfd7ba1414f8094d9ca1a5b3650b2",
4
+ "source_commit": "5c1506644e36adffd1f2de865ef24fc0cd4b9cad"
5
5
  }