kylon-cli 0.6.0-next.837 → 0.6.0-next.840

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
@@ -540,13 +540,19 @@ kylon gateway run
540
540
  It takes no connection flags: link an agent first with `kylon agent link`.
541
541
  Without a saved runtime connection it exits with guidance pointing there.
542
542
 
543
- ### Sleep, wake, and keep-awake (macOS)
543
+ ### Sleep, wake, and keep-awake (macOS and Windows)
544
544
 
545
- By default the daemon holds a macOS sleep assertion (the same mechanism as
546
- `caffeinate`) whenever it runs: on AC power the machine can turn its display
547
- off without ever going to sleep, so its agents stay online and dispatchable
548
- from the web at any time. Sleep is only prevented on AC power — on battery,
549
- and when the lid closes, normal sleep policy always wins. No effect on Linux.
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.
550
+
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.
550
556
 
551
557
  ```bash
552
558
  kylon keep-awake # show the current mode
@@ -572,7 +578,7 @@ instead of waiting out inactivity timeouts and heartbeat intervals.
572
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. |
573
579
  | `kylon disconnect` | Forget this environment's saved runtime connection. Local only: workspace-side agent configuration is unchanged. |
574
580
  | `kylon gateway run` | Run the local runtime service from the saved connection (service entrypoint). |
575
- | `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`). |
576
582
 
577
583
  ### Supported Providers
578
584
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.6.0-next.837",
3
- "fingerprint": "b2707f584ba8e00f946c454124afaf9abcea344adbffcc8d3e8f2d540ea4c6f4",
4
- "source_commit": "b9a48d37d2f82f27a0592cd7bf4d44b60ff3ea40"
2
+ "version": "0.6.0-next.840",
3
+ "fingerprint": "83799b45c4d6e38edbc5220f9c2f51e269e184d9f06497d5a49e7edfe579382f",
4
+ "source_commit": "7faddcaa8bcf55efc8a53e201af60303a6eb0dd4"
5
5
  }