@nylorun/core 0.54.0-beta → 0.55.0-beta

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @nylorun/core
2
2
 
3
+ ## 0.55.0-beta
4
+
5
+ ### Minor Changes
6
+
7
+ - f2ce855: A computer's awake time is recorded, and an idle computer waits for a command that outlives its turn.
8
+
9
+ - **`agent.resumed`.** Each time a pod becomes ready (its first start, a resume, a restart, or a move off a draining worker, cause `drain`, written with the drain's `agent.suspended`), its Agent's stream gets `agent.resumed`. Its awake time ends at the same Agent's next `agent.suspended`, `.failed`, `.lost`, `.reset`, `.deleted`, `.start_failed` or `.resumed`; an event's `time` is its commit time.
10
+ - **`GET /v1/tenant/agent-events`** (management key; `client.tenant.exportAgentEvents()` in `@nylorun/admin`) exports every Agent's events in safe transaction order, filtered by `types`, resumable from `next`, so an operator's meter can pair them into intervals. Migration 0051 adds `agent_events.txid` and its index. The Runtime meters nothing itself.
11
+ - **`GET /v1/activity`** on a computer (the computer agent and the engine's `--service computer`) answers `{ running, lastActivityAt }`. Before an idle suspend the Runtime asks it, and a computer with a command running, or one that started or ended within the idle period, stays awake until none has. A computer that can't answer (an older computer agent) is suspended as before.
12
+ - The disk measure before an idle suspend runs at most once an hour per computer, so a short `limits.idle` doesn't wait for `du` every time.
13
+ - Fixed: the idle timer could suspend a pod that had just become ready, before the Runtime saw it running.
14
+
3
15
  ## 0.54.0-beta
4
16
 
5
17
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylorun/core",
3
- "version": "0.54.0-beta",
3
+ "version": "0.55.0-beta",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Shared agent definitions and wire contracts",