agl 43.2.0 → 43.3.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.
Files changed (213) hide show
  1. package/changelog.md +29 -0
  2. package/dist_serve/bundle.js +2845 -2638
  3. package/dist_serve/bundle.js.map +2 -2
  4. package/dist_serve/bundle.js.third-party-notices.json +1 -1
  5. package/dist_serve/bundle.js.third-party-notices.txt +1 -1
  6. package/dist_ts/00_commitinfo_data.js +1 -1
  7. package/dist_ts/aglapi/aglapisurface.document.js +197 -17
  8. package/dist_ts/classes.accountsactions.d.ts +3 -1
  9. package/dist_ts/classes.accountsactions.js +21 -3
  10. package/dist_ts/classes.authstore.d.ts +7 -0
  11. package/dist_ts/classes.authstore.js +9 -1
  12. package/dist_ts/classes.claudeharness.d.ts +29 -2
  13. package/dist_ts/classes.claudeharness.js +35 -6
  14. package/dist_ts/classes.codexclientadapter.d.ts +11 -0
  15. package/dist_ts/classes.codexclientadapter.js +14 -2
  16. package/dist_ts/classes.controller.d.ts +187 -12
  17. package/dist_ts/classes.controller.js +1208 -186
  18. package/dist_ts/classes.controllerdevices.d.ts +2 -0
  19. package/dist_ts/classes.controllerdevices.js +6 -1
  20. package/dist_ts/classes.inbox.d.ts +72 -0
  21. package/dist_ts/classes.inbox.js +231 -0
  22. package/dist_ts/classes.inferencerouter.d.ts +10 -0
  23. package/dist_ts/classes.inferencerouter.js +5 -3
  24. package/dist_ts/classes.inferenceservice.js +2 -2
  25. package/dist_ts/classes.mcpclient.d.ts +1 -1
  26. package/dist_ts/classes.mcpclient.js +24 -6
  27. package/dist_ts/classes.mcpcontrollerhost.js +6 -1
  28. package/dist_ts/classes.mcptools.js +18 -8
  29. package/dist_ts/classes.mcpvalidation.d.ts +5 -0
  30. package/dist_ts/classes.mcpvalidation.js +32 -2
  31. package/dist_ts/classes.nativesessions.d.ts +29 -4
  32. package/dist_ts/classes.nativesessions.js +41 -9
  33. package/dist_ts/classes.opencodeclient.d.ts +23 -2
  34. package/dist_ts/classes.opencodeclient.js +47 -3
  35. package/dist_ts/classes.publishedset.d.ts +38 -0
  36. package/dist_ts/classes.publishedset.js +50 -0
  37. package/dist_ts/classes.sessionfeed.d.ts +3 -3
  38. package/dist_ts/classes.sessionfeed.js +18 -26
  39. package/dist_ts/classes.systemmetricssampler.d.ts +6 -0
  40. package/dist_ts/classes.systemmetricssampler.js +15 -3
  41. package/dist_ts/classes.ticketstore.d.ts +50 -3
  42. package/dist_ts/classes.ticketstore.js +45 -8
  43. package/dist_ts/classes.workercallers.js +4 -2
  44. package/dist_ts/driver/classes.directreports.d.ts +14 -4
  45. package/dist_ts/driver/classes.directreports.js +42 -23
  46. package/dist_ts/driver/classes.directreportstore.d.ts +8 -1
  47. package/dist_ts/driver/classes.directreportstore.js +20 -10
  48. package/dist_ts/driver/classes.driverservice.d.ts +44 -3
  49. package/dist_ts/driver/classes.driverservice.js +50 -16
  50. package/dist_ts/fleet/classes.claudeworkers.d.ts +21 -5
  51. package/dist_ts/fleet/classes.claudeworkers.js +142 -46
  52. package/dist_ts/fleet/classes.codexworkers.d.ts +16 -4
  53. package/dist_ts/fleet/classes.codexworkers.js +22 -5
  54. package/dist_ts/fleet/classes.workercommand.d.ts +6 -1
  55. package/dist_ts/fleet/classes.workercommand.js +15 -4
  56. package/dist_ts/fleet/classes.workers.d.ts +21 -1
  57. package/dist_ts/fleet/classes.workers.js +80 -40
  58. package/dist_ts/fleet/classes.workerstore.js +14 -8
  59. package/dist_ts/fleet/functions.unbounddrivers.js +2 -2
  60. package/dist_ts/fleet/functions.workervalidation.js +11 -4
  61. package/dist_ts/fleet/interfaces.workers.d.ts +27 -5
  62. package/dist_ts/fleet/interfaces.workers.js +8 -4
  63. package/dist_ts/functions.agentmessage.d.ts +3 -0
  64. package/dist_ts/functions.agentmessage.js +4 -1
  65. package/dist_ts/functions.deviceapi.d.ts +198 -4
  66. package/dist_ts/functions.deviceapi.js +1060 -38
  67. package/dist_ts/functions.exactpersistence.d.ts +3 -0
  68. package/dist_ts/functions.exactpersistence.js +4 -0
  69. package/dist_ts/functions.fleetworkercli.d.ts +1 -1
  70. package/dist_ts/functions.fleetworkercli.js +11 -8
  71. package/dist_ts/functions.inferencecli.js +3 -1
  72. package/dist_ts/functions.mcpfleetworkertools.js +3 -3
  73. package/dist_ts/functions.ticketactor.d.ts +17 -1
  74. package/dist_ts/functions.ticketactor.js +55 -15
  75. package/dist_ts/functions.ticketvalidation.js +11 -2
  76. package/dist_ts/interfaces.auth.d.ts +1 -1
  77. package/dist_ts/interfaces.auth.js +9 -1
  78. package/dist_ts/plugins.d.ts +3 -1
  79. package/dist_ts/plugins.js +7 -2
  80. package/dist_ts_authswitch/authority-contract.d.ts +25 -0
  81. package/dist_ts_authswitch/authority-contract.js +1 -1
  82. package/dist_ts_authswitch/authority-overview.d.ts +8 -0
  83. package/dist_ts_authswitch/authority-overview.js +17 -6
  84. package/dist_ts_authswitch/authority-placement.d.ts +20 -16
  85. package/dist_ts_authswitch/authority-placement.js +17 -10
  86. package/dist_ts_authswitch/authority-renewal.d.ts +34 -0
  87. package/dist_ts_authswitch/authority-renewal.js +56 -0
  88. package/dist_ts_authswitch/classes.authoritybroker.d.ts +8 -0
  89. package/dist_ts_authswitch/classes.authoritybroker.js +35 -2
  90. package/dist_ts_authswitch/classes.authoritycli.d.ts +1 -0
  91. package/dist_ts_authswitch/classes.authoritycli.js +44 -3
  92. package/dist_ts_authswitch/classes.authorityclient.d.ts +6 -1
  93. package/dist_ts_authswitch/classes.authorityclient.js +12 -4
  94. package/dist_ts_authswitch/classes.authoritydaemon.js +8 -1
  95. package/dist_ts_authswitch/classes.authoritydatabase.js +6 -2
  96. package/dist_ts_authswitch/classes.authoritymodels.d.ts +7 -0
  97. package/dist_ts_authswitch/classes.authoritymodels.js +21 -5
  98. package/dist_ts_interfaces/devices.d.ts +1027 -7
  99. package/dist_ts_interfaces/devices.js +68 -2
  100. package/dist_ts_interfaces/fleetworkers.d.ts +37 -10
  101. package/dist_ts_interfaces/fleetworkers.js +19 -8
  102. package/dist_ts_interfaces/inbox.d.ts +234 -0
  103. package/dist_ts_interfaces/inbox.js +101 -0
  104. package/dist_ts_interfaces/index.d.ts +1 -0
  105. package/dist_ts_interfaces/index.js +2 -1
  106. package/dist_ts_interfaces/interfaces.d.ts +10 -3
  107. package/dist_ts_interfaces/interfaces.js +4 -2
  108. package/dist_ts_interfaces/mcprequests.d.ts +34 -4
  109. package/dist_ts_interfaces/mcprequests.js +11 -1
  110. package/dist_ts_interfaces/mcpworkspacerequests.d.ts +4 -1
  111. package/dist_ts_interfaces/mcpworkspacerequests.js +1 -1
  112. package/dist_ts_interfaces/nativesessions.d.ts +16 -3
  113. package/dist_ts_interfaces/plugins.d.ts +2 -1
  114. package/dist_ts_interfaces/plugins.js +4 -2
  115. package/dist_ts_interfaces/requests.accounts.d.ts +21 -0
  116. package/dist_ts_interfaces/requests.accounts.js +3 -1
  117. package/dist_ts_interfaces/requests.d.ts +3 -2
  118. package/dist_ts_interfaces/requests.js +1 -1
  119. package/dist_ts_interfaces/workercallers.d.ts +2 -0
  120. package/dist_ts_migration/classes.documentmigrationrunner.d.ts +14 -0
  121. package/dist_ts_migration/classes.documentmigrationrunner.js +20 -1
  122. package/dist_ts_migration/index.d.ts +1 -0
  123. package/dist_ts_migration/index.js +2 -1
  124. package/dist_ts_migration/v43_ticketactornames.d.ts +32 -0
  125. package/dist_ts_migration/v43_ticketactornames.js +236 -0
  126. package/docs/authswitch.md +20 -1
  127. package/package.json +3 -3
  128. package/readme.md +144 -27
  129. package/ts/00_commitinfo_data.ts +1 -1
  130. package/ts/aglapi/aglapisurface.document.ts +196 -16
  131. package/ts/classes.accountsactions.ts +30 -3
  132. package/ts/classes.authstore.ts +10 -0
  133. package/ts/classes.claudeharness.ts +45 -5
  134. package/ts/classes.codexclientadapter.ts +14 -1
  135. package/ts/classes.controller.ts +1412 -262
  136. package/ts/classes.controllerdevices.ts +6 -0
  137. package/ts/classes.inbox.ts +239 -0
  138. package/ts/classes.inferencerouter.ts +15 -2
  139. package/ts/classes.inferenceservice.ts +1 -1
  140. package/ts/classes.mcpclient.ts +24 -3
  141. package/ts/classes.mcpcontrollerhost.ts +5 -0
  142. package/ts/classes.mcptools.ts +17 -7
  143. package/ts/classes.mcpvalidation.ts +27 -1
  144. package/ts/classes.nativesessions.ts +63 -12
  145. package/ts/classes.opencodeclient.ts +55 -4
  146. package/ts/classes.publishedset.ts +56 -0
  147. package/ts/classes.sessionfeed.ts +17 -20
  148. package/ts/classes.systemmetricssampler.ts +13 -2
  149. package/ts/classes.ticketstore.ts +73 -12
  150. package/ts/classes.workercallers.ts +3 -1
  151. package/ts/driver/classes.directreports.ts +42 -23
  152. package/ts/driver/classes.directreportstore.ts +20 -9
  153. package/ts/driver/classes.driverservice.ts +75 -14
  154. package/ts/fleet/classes.claudeworkers.ts +112 -39
  155. package/ts/fleet/classes.codexworkers.ts +21 -6
  156. package/ts/fleet/classes.workercommand.ts +14 -4
  157. package/ts/fleet/classes.workers.ts +75 -41
  158. package/ts/fleet/classes.workerstore.ts +11 -7
  159. package/ts/fleet/functions.unbounddrivers.ts +1 -1
  160. package/ts/fleet/functions.workervalidation.ts +8 -3
  161. package/ts/fleet/interfaces.workers.ts +26 -7
  162. package/ts/functions.agentmessage.ts +3 -0
  163. package/ts/functions.deviceapi.ts +1292 -34
  164. package/ts/functions.exactpersistence.ts +5 -0
  165. package/ts/functions.fleetworkercli.ts +10 -7
  166. package/ts/functions.inferencecli.ts +2 -0
  167. package/ts/functions.mcpfleetworkertools.ts +2 -2
  168. package/ts/functions.ticketactor.ts +58 -14
  169. package/ts/functions.ticketvalidation.ts +11 -1
  170. package/ts/interfaces.auth.ts +8 -0
  171. package/ts/plugins.ts +7 -0
  172. package/ts_authswitch/authority-contract.ts +20 -0
  173. package/ts_authswitch/authority-overview.ts +28 -6
  174. package/ts_authswitch/authority-placement.ts +25 -17
  175. package/ts_authswitch/authority-renewal.ts +64 -0
  176. package/ts_authswitch/classes.authoritybroker.ts +34 -1
  177. package/ts_authswitch/classes.authoritycli.ts +49 -2
  178. package/ts_authswitch/classes.authorityclient.ts +14 -4
  179. package/ts_authswitch/classes.authoritydaemon.ts +9 -1
  180. package/ts_authswitch/classes.authoritydatabase.ts +5 -1
  181. package/ts_authswitch/classes.authoritymodels.ts +23 -3
  182. package/ts_authswitch/native-contracts.md +21 -0
  183. package/ts_authswitch/readme.md +1 -1
  184. package/ts_interfaces/devices.schema.json +3576 -603
  185. package/ts_interfaces/devices.ts +1111 -6
  186. package/ts_interfaces/fleetworkers.ts +38 -10
  187. package/ts_interfaces/inbox.ts +287 -0
  188. package/ts_interfaces/index.ts +1 -0
  189. package/ts_interfaces/interfaces.ts +9 -2
  190. package/ts_interfaces/mcprequests.ts +43 -4
  191. package/ts_interfaces/mcpworkspacerequests.ts +4 -2
  192. package/ts_interfaces/nativesessions.ts +17 -3
  193. package/ts_interfaces/plugins.ts +3 -1
  194. package/ts_interfaces/requests.accounts.ts +20 -0
  195. package/ts_interfaces/requests.ts +4 -0
  196. package/ts_interfaces/workercallers.ts +2 -0
  197. package/ts_migration/classes.documentmigrationrunner.ts +21 -0
  198. package/ts_migration/index.ts +1 -0
  199. package/ts_migration/v43_ticketactornames.ts +225 -0
  200. package/ts_web/00_commitinfo_data.ts +1 -1
  201. package/ts_web/accounts.plugins.ts +4 -2
  202. package/ts_web/classes.accountsreadmodel.ts +33 -0
  203. package/ts_web/classes.browserpresentation.ts +10 -5
  204. package/ts_web/classes.inboxfeed.ts +329 -0
  205. package/ts_web/classes.nativesessionstate.ts +9 -23
  206. package/ts_web/elements.accounts.ts +81 -0
  207. package/ts_web/elements.deployments.ts +66 -2
  208. package/ts_web/elements.fleetworker.ts +4 -2
  209. package/ts_web/elements.harnesscontrollerapp.ts +107 -37
  210. package/ts_web/elements.inbox.ts +808 -0
  211. package/ts_web/functions.inbox.ts +95 -0
  212. package/ts_web/functions.sessioncards.ts +40 -0
  213. package/ts_web/plugins.ts +2 -0
package/changelog.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-11-12 - 43.3.1
4
+
5
+ ### Fixes
6
+
7
+ - Refuse every device request with a code of the device contract (AGL-1670): `TDeviceRefusalCode` promised a closed set, but `device.session.read`/`.send`, `device.driver.read`/`.send` and the other device methods passed on the browser's codes from the shared functions and the controller's error translation (`flex_not_ready`, `flex_operation_failed`, `flex_projection_*`, `harness_unavailable`, `native_session_failed`, `concurrent_change`, `outcome_unknown`, `controller_operation_failed` and more). The device scopes of `createRouter` now translate every failure in one place (`asDeviceResponseError`, through `deviceContractError`), mapping each controller code through one compiler-checked table (`deviceControllerRefusals`) and answering any code it does not know as a fault. Device protocol 1.3 adds three codes: `outcome_unknown` (the request may have happened; a client never resends it on its own and reads again to learn the outcome), `concurrent_change` (another change to the same session or record won; nothing was done; read again, then decide) and `controller_failed` (a fault, with the failure journal's `reference` in `error.data`, instead of the browser's `controller_operation_failed`). A ticket change or answer whose commit outcome is unknown is `outcome_unknown`, and so is a native send or answer, or a direct report message, that may have reached the session, instead of `native_session_failed` or `direct_report_failed`: every native session failure now says whether anything went out (`outcome: 'refused'` or `'unknown'`), a failure that does not is taken as unknown, and Claude Code's refusal of a native send while the conversation still works (`refusal: 'busy'`) is `concurrent_change`, while too many conversations work (`'capacity'`) `operation_limit`. A state of the controller (Flex starting, a harness not running) is `controller_unavailable`, and a model or stopped message the owner must resolve in the browser `session_read_only`. `controller_failed` always reads "The controller operation failed.", and a refusal whose controller message may carry a raw cause (a native session failure, a harness diagnostic, a configuration refusal) reaches a device with its device code's own sentence; the cause stays in the controller log and the failure journal.
8
+ - A direct report's failure no longer shows a dependency's own text (AGL-1670 follow-up), in the browser's Driver view as on a device: `direct_report_failed` keeps the message only of a refusal whose class AGL writes the text of (`DirectReportError`, the direct reports' and their store's own refusals, now typed, `FleetWorkerError` and `FleetNativeTurnError`), and every other error, such as a spawn error, a socket path or a failed relaunch's harness error, is the controller's one generic failure, `controller_operation_failed` "The controller operation failed." with the failure journal's `reference` (before: `direct_report_failed` with the raw text), under which the journal keeps the cause; a device receives it as `direct_report_failed` "The controller operation failed. (ref …)" for a message and as `controller_failed` for the list. The fleet's own refusals are typed at their source, so the Driver view keeps their text: admission ("The fleet is closing…", job capacity), the dispatch fences ("Worker is archived.", an unresolved dispatch, another ticket), the relaunch and adopt preconditions and the worker registry's own refusals (an unknown worker `worker_not_found`, a concurrent change, a taken name) are `FleetWorkerError`s with five new codes in `fleetWorkerErrorCodes` (`fleet_unavailable`, `worker_fenced`, `worker_archived`, `ticket_mismatch`, `worker_conflict`; MCP `FLEET_UNAVAILABLE` and the others), and a failed fleet job records the code beside its `error` as `errorCode` exactly when the fleet refused it itself. A message to a fleet worker report whose steer job failed shows the job's error only with `errorCode`; any other job error, a harness's own text that may have come after the message went out, reads "The controller operation failed. (ref …)" in the Driver view and on a device alike, and a relaunch whose job failed so is the generic failure above; `job.error` stays as it was for MCP, the driver tools and the CLI. A report not recorded after its relaunch names the worker to appoint without the store's error, which the journal keeps. A device's report message refused with a code whose message may carry a raw cause (a harness diagnostic, a native session failure) reads "The direct report did not take the message." with the reference. `expectedTurnId` on a message to a fleet worker report is now refused as `invalid_request`.
9
+ - A direct report's steer that failed after its dispatch is of unknown outcome, never a message the report did not take (AGL-1691): a device read `direct_report_failed` for every failed fleet steer job, so a 1.3 client could send again a message that may have been delivered. A failed fleet worker job now carries `errorOutcome`, `refused` only where nothing can have reached a native session (a refusal before the job's first dispatch, or a dispatch that proved it sent nothing) and `unknown` for every other failure; `device.directreport.message` answers `outcome_unknown` for it, which a client never resends on its own, and the Driver view shows the steer's outcome as unknown and keeps the draft. MCP `fleet_worker_job_wait` and the driver tools return the job with the field.
10
+ - Tickets name the sessions acting on them by their role instead of a raw session id (AGL-1686): an MCP caller's ticket writes name the owner's active direct report its session is, else its fleet worker's name, else its harness's label (`Claude Code session`, `Codex session`, `OpenCode session`, `Flex session`), and the shared OpenCode runtime `OpenCode` instead of `runtime`; ids and session ids stay as they were, so assignment, Mine and every match are unchanged. Migration `v43_ticketactornames` renames the old records once, at the first start: every person and actor a ticket, its comments, its questions and its activity hold (the snapshots in its history and each comment's copy included) whose name is its session id takes its harness's label, and a `runtime` worker actor without a session becomes `OpenCode`. Only those names change, so 41.1.0 still reads the store; a renamed ticket's revision moves, with no history entry, notice or board pump action.
11
+
12
+ ## 2026-11-11 - 43.3.0
13
+
14
+ ### Features
15
+
16
+ - Add the Inbox (AGL-1635): one controller list of what waits for the owner, for the browser and paired devices alike. It holds the session prompts (permissions, questions and MCP forms of conversations, of their direct OpenCode children, of native sessions AGL runs a turn in and of the driver's own session), the waits a harness shows in its own client (information only, with the session and host), the driver's `needs input:` turn (its line and the transcript entry it ends), the owner-only go's of deploy plans and maintenance windows (with what the target runs and what ships), and the open ticket questions the owner did not ask; grouped in that order, the oldest first within each kind. Every item names where it lives and how it is answered, through the request its owner already takes, so an answer in any client removes it everywhere. `controller.inbox.list` reads it and `inbox.changed` events carry its changes as deltas (`order`, `total`, `limited`); an item over 64 KiB is listed without its payload, never cut short. Devices get it as device protocol 1.2: `device.inbox.list`, the `inbox.changed` event, `device.ticket.answer` (a ticket question or a go, answered as the owner) and `childSessionId` on `device.permission.reply` and `device.question.reply`. Every pending question and permission now carries when it entered its harness's pending requests (`createdAt`), and native sessions' requests tell the controller when they come and go. Controller protocol 53. Ticket answers from the browser or a device are audited as `ticket.answer` (the envelope alone), a new audit type that 41.1.0 and later read as an unknown type; an earlier release does not read it.
17
+ - Set a Claude sign-in's monthly renewal, and spend first the usage it would still hold then (AGL-1644): `authswitch account set <account-id> --renews-at <date-time>|--clear-renewal [--json]` (`authswitch.authority.renewal`, at the revision read) and **Renews** in the account's Details in Settings → Accounts (`controller.accounts.renewal`, audited `accounts.renewal` with no details, which 41.1.0 and later read as an unknown type) take any date and time the subscription renewed or renews, a past one too; every renewal is a calendar month from it, on its UTC day clamped to the month's last day, at its UTC time (`authSwitchNextRenewal`). Only a Claude sign-in has one; any other account is refused. The owner sets it: AGL derives no renewal from what Claude states. The inference proxy counts the next renewal as one more deadline of each counted window, so a window that resets after the renewal spreads its headroom over the time until the renewal and the account takes new sessions first; nothing else changes at a renewal, an account with a lapse date ignores it, and whether Claude resets usage at a renewal is not known. `authswitch list`, `limits`, `account list`, `account set` and `agl proxy status` show the next renewal (`--json`: `renewal { at, source: 'manual' }`; the account carries the anchor as `renewsAt`). The account record holds `renewsAt` only while it is set. Downgrade: an older accounts service refuses the store while any account holds a renewal; clear every renewal (`authswitch account set <id> --clear-renewal`) before downgrading.
18
+ - Reach Claude Code sessions that run outside AGL from agents (AGL-382): MCP `sessions_list` names the Claude Code sessions of the host's own Claude Code home that run in the project folder itself (`nativeSessions`, running ones first and never cut, then the newest 50 settled ones; each with why it takes no message or how it takes one), `session_read` reads one (`kind: "native"`), `context_resolve` answers one as `nativeSession`, and `session_message` reaches a background job through Claude Code itself: a settled job is woken, and a running one gets the message in its inbox through Claude Code's own SendMessage, addressed by a session name no other running session shares (`native: "wake"`/`"inbox"`, `delivery: "next-turn"`/`"queue"`). A running interactive session, a job without a name of its own, a failed or held job and a fleet worker's session stay read-only with their reason (`SESSION_READ_ONLY`); nothing is recorded or resumed in AGL's own Claude Code. `agl fleet worker native-message`, the MCP `fleet_worker_native_message` and the owner's native session composer reach a running job's inbox the same way (receipt `native-inbox`; the composer's text arrives headed as the owner's agent message). The controller protocol is 53.
19
+ - Add the Inbox view to the web workspace (AGL-1643): an **Inbox** button between Driver and Terminals counts what waits in the warning colour and opens the Inbox in the main pane, with the list beside the selected item, the chips All, Sessions, Board and Deploys, and a search in the browser. Every item is answered in place with the app's own cards (permission, question, MCP form, ticket question, and a deploy or window go with what runs and what ships); answering moves to the next item, Skip and Not now only move on, and an answer from another browser or the phone removes the item at once through `inbox.changed`, which the web app now follows (epoch, revision, a gap or reset lists again). The driver's turn opens the Driver view, a wait in a harness's own client and an item listed without its payload say where they are answered. A refused second answer to a question keeps the owner's draft beside the answer that stands, and an answer of unknown outcome keeps its fence and draft until **Check again** finds it answered or still waiting at its owner; a check that cannot be made (the connection is down or the Inbox cannot be listed) keeps the fence, and the answer is never sent again on its own.
20
+ - Reach the driver and the direct reports from a paired device (AGL-1636), device protocol 1.3: `device.driver.get` and `device.driver.seen` (the driver's activity, unread turns, title and `needs input:` line, without its project, session or failure text; one unread count for every client), `device.driver.read` (its transcript paged as a session read, and its own prompts, read-only on a device) and `device.driver.send` (a direct message), both refused with `driver_absent` while the host has no driver session, which a device never creates; `device.directreports.list` (the active reports by name, with their session, status, projects, ticket, newest result, open questions and the fleet workers that report to them, without the report's stored id or the workers' directories and profiles) and `device.directreport.message` (the Driver view's own message: a fleet worker report steered through its ticket, `fleet` once the steer succeeded, `direct_report_failed` with the fleet's reason otherwise; a Codex thread as the owner's agent message; `direct_report_busy` for a turn another Codex client runs, with nothing sent). The events `driver.changed` (the driver's status, also when its transcript or prompts change, never its streamed text) and `directreports.changed` (no payload, also on fleet worker and ticket changes) reach devices. The Driver view's message and the device's run one function (`messageDirectReportForPrincipal`), and a message to a fleet worker report is now audited as `session.message` from `Owner` for the browser too, an existing audit type, recorded `failed` when the steer's fleet job failed; a steer the fleet refused keeps the fleet's reason as `direct_report_failed` (audited `failed`), in the browser as on a device. Every refusal of these requests is a device refusal code: a message over the agent message rate is `rate_limited`, a failure AGL keeps in its failure journal `direct_report_failed` with the journal's reference, and `TDeviceRefusalCode` (and the schema) now lists the codes every device request may get, `rate_limited`, `invalid_request`, `controller_unavailable` and `operation_limit`. Direct reports group the workers that report to them by report (`DirectReports.reportWorkers`), which the driver's event relay and devices share.
21
+ - Read the host's status from a paired device (AGL-1638), device protocol 1.3: `device.host.get` answers, read-only, the AGL that runs (its release, start and public origin, and whether a device reaches it through the gateway AGL keeps its route on, with only where that route's sync stands, or through the owner's own reverse proxy), the device's own record (name, model, paired and last connected; no rename or unpair), the deploy targets from the deploy monitor's status (what runs since when, whether the probe answers, newest release, the released versions it does not run, and its planned deploys with their ticket, version, the owner's go and the maintenance window's times; no probe address, deploy notes, probe error, deploy question or assignee, and no probe runs for it), the inference proxy's account pools (verdict, room, and the accounts by plan and then usage, each only as plan, state and binding window: no account id and no order standing in for one) and the API keys (per provider, how many are under, at and without their monthly spend limit or unread, judged by authswitch's `authSwitchSpendPercent` and `authSwitchSpendExhausted`; no label, email, id or dollar amount). Deploys, pools and API keys each answer `unavailable` on their own (`not_running`, `outdated`, or `failed` with the failure journal's reference) while the request answers the rest. The controller's `deployments.changed` and `accounts.changed` reach devices as `host.changed`, with nothing they carry, and `tickets.changed` (planned deploys are tickets) as both `directreports.changed` and `host.changed`; one queued controller event now becomes every device event it projects to, in order.
22
+ - Work the shared board from a paired device (AGL-1637), device protocol 1.3: `device.board.list` answers one column at a time as the browser shows its cards, filtered as the browser filters (text in the key, title, description and source words, project, epic: the epic's own tasks, as dees-kanban's epic filter matches them, assignee: the owner, nobody or a session the feed lists, and an AutoLabel), with every column's count under the same filters from the same read, the projects and epics a filter may choose, offset pages and the board's revision; `device.ticket.get` answers a ticket with its description, source words, links and parent, one page of its discussion (comments and questions together, at most 50 entries and 256 KiB), where it runs (from the deploy monitor, `unavailable` on its own) and what it plans (release plan, maintenance window, deploy plan, with the owner's go while the monitor answers), and no activity history, source attachments, plan question or deployer; `device.ticket.comment`, `device.ticket.ask` (text alone) and `device.ticket.move` (to the end of a column) run the browser board's own function as the owner. People reach a device by name, the owner as `owner`, never the owner's account, a person's id, the driver's session or a session the feed does not list. A refusal changes nothing and carries the ticket store's own code (`deviceTicketRefusalCodes`, all of `ticketErrorMessages`, now in `TDeviceRefusalCode`) and reason; the store's other refusals map through a compiler-checked table (a lost concurrent change is `ticket_revision_conflict`, an unknown commit outcome `controller_unavailable` until AGL-1670), also for `device.ticket.answer`, which passed them on as they were. The `tickets.changed` event reaches devices with the board's revision and no ticket key, before `directreports.changed` and `host.changed`. Creating, editing and assigning tickets stay in the browser. The browser's comments, questions and moves now run through the same function (`changeTicketForPrincipal`) and are audited as `ticket.comment`, `ticket.ask` and `ticket.move` from the browser and a device alike (the envelope alone), new audit types that 41.1.0 and later read as unknown types (checked in 41.1.0's `assertControllerAuditEventDocument`); a release before 41.1.0 refuses an audit type it does not know, which stops its audit pruning, so roll back no further than 41.1.0, the rollback floor.
23
+
24
+ ### Fixes
25
+
26
+ - A ticket comment whose text the store cannot keep is refused as input: a text body of up to 64 KiB passed the request's check, but the store keeps it as a text part whose JSON may hold at most 64 KiB, so text within the last 27 characters of the limit (or less, with characters JSON escapes) failed at the write with a persistence error instead of a refusal. The request's check now counts the text as the store keeps it, for the browser, the MCP tools, the CLI and devices alike.
27
+ - The session list moves a conversation into needs input as soon as a permission, question or MCP form comes, and out once it is answered (`permissions.changed`), instead of after the next periodic read.
28
+ - Restrict the fleet's Claude Code relay to exactly the tools it needs (AGL-382): a relay takes on its recipient's permission mode, and in bypassPermissions `--allowedTools` restricted nothing, so a relayed message could have driven any tool, the configured `agl` and `playwright` MCP servers' included. Relays now run with `--tools=SendMessage,Read,ToolSearch` and `--strict-mcp-config`, and a relay whose `system`/`init` record lists any other tool, or none, is stopped before Claude Code calls the model and fails without a dispatch fence. Verified on Claude Code 2.1.306 in a disposable home without credentials or network.
29
+ - A Paint view keeps its sound relay across a navigation and a viewport change and no longer reports "audio source closed" there (AGL-1249): SmartBrowser 8.1.0 moves the sound relay to the next native source instead of closing it. A failed page-video route of the view on screen is reported as "Show the page's video in Paint" (before: "Show the browser view's video") with SmartBrowser's typed `PaintVideoRouteError`, whatever its `reason`. Known limits: after more than about eight sound sources in one Paint run the sound of further sources does not come back until the view opens again; and a page playing a `<video>` still fails in Paint with SmartBrowser 8.1.0 (as with 8.0.1): its native media transport refuses the playback observations (`stale playback observation`), so the page-video route is reset and the sound relay fails, an upstream SmartBrowser defect. The Mac qualification of this release follows.
30
+ - A stopped controller no longer leaves `sh` zombies behind (AGL-1656): `@push.rocks/smartsystem` 4.0.2 stops the host-statistics probe workers by letting each finish its probe and reap its children instead of terminating them, so a stop can take up to 10 s while a network probe finishes. A worker that is hung or failed is named in the controller's stop failure ("did not release every owned resource"), the rest of the shutdown still runs, and the next stop asks again: it succeeds once a hung worker has exited, while a worker that failed keeps failing the stop.
31
+
3
32
  ## 2026-11-11 - 43.2.0
4
33
 
5
34
  ### Features