agl 43.1.0 → 43.2.0

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 (123) hide show
  1. package/changelog.md +12 -0
  2. package/dist_serve/bundle.js +5329 -5116
  3. package/dist_serve/bundle.js.map +2 -2
  4. package/dist_serve/bundle.js.third-party-notices.json +30 -30
  5. package/dist_serve/bundle.js.third-party-notices.txt +30 -30
  6. package/dist_ts/00_commitinfo_data.js +1 -1
  7. package/dist_ts/aglapi/aglapisurface.document.js +325 -1
  8. package/dist_ts/aglapi/interfaces.d.ts +3 -0
  9. package/dist_ts/aglapi/interfaces.js +2 -1
  10. package/dist_ts/classes.authmodels.js +17 -4
  11. package/dist_ts/classes.authstore.js +16 -2
  12. package/dist_ts/classes.cli.d.ts +4 -2
  13. package/dist_ts/classes.cli.js +6 -3
  14. package/dist_ts/classes.controller.d.ts +10 -0
  15. package/dist_ts/classes.controller.js +119 -4
  16. package/dist_ts/classes.controllermanagement.d.ts +14 -4
  17. package/dist_ts/classes.controllermanagement.js +20 -2
  18. package/dist_ts/classes.gatewayclient.d.ts +115 -0
  19. package/dist_ts/classes.gatewayclient.js +336 -0
  20. package/dist_ts/classes.gatewayclientstore.d.ts +97 -0
  21. package/dist_ts/classes.gatewayclientstore.js +261 -0
  22. package/dist_ts/classes.inferencerouter.d.ts +9 -0
  23. package/dist_ts/classes.inferencerouter.js +11 -1
  24. package/dist_ts/classes.inferenceservice.d.ts +9 -0
  25. package/dist_ts/classes.inferenceservice.js +27 -1
  26. package/dist_ts/classes.mcpclient.d.ts +4 -1
  27. package/dist_ts/classes.mcpclient.js +19 -1
  28. package/dist_ts/classes.mcpcontrollerhost.d.ts +3 -1
  29. package/dist_ts/classes.mcpcontrollerhost.js +9 -1
  30. package/dist_ts/classes.mcptools.d.ts +3 -3
  31. package/dist_ts/classes.mcptools.js +26 -1
  32. package/dist_ts/classes.mcpvalidation.js +7 -1
  33. package/dist_ts/classes.proxycontrol.d.ts +11 -0
  34. package/dist_ts/classes.proxycontrol.js +7 -1
  35. package/dist_ts/classes.proxycontrolclient.d.ts +17 -0
  36. package/dist_ts/classes.proxycontrolclient.js +35 -1
  37. package/dist_ts/classes.proxydaemon.js +8 -1
  38. package/dist_ts/classes.proxymonitor.d.ts +7 -0
  39. package/dist_ts/classes.proxymonitor.js +13 -1
  40. package/dist_ts/classes.trustedproxysecrets.d.ts +2 -0
  41. package/dist_ts/classes.trustedproxysecrets.js +5 -1
  42. package/dist_ts/functions.controllermanagementsurface.d.ts +4 -0
  43. package/dist_ts/functions.controllermanagementsurface.js +15 -1
  44. package/dist_ts/functions.gatewaycli.d.ts +24 -0
  45. package/dist_ts/functions.gatewaycli.js +395 -0
  46. package/dist_ts/functions.gatewayroute.d.ts +135 -0
  47. package/dist_ts/functions.gatewayroute.js +366 -0
  48. package/dist_ts/functions.inferencecli.js +30 -1
  49. package/dist_ts/functions.inferencecliarguments.d.ts +8 -2
  50. package/dist_ts/functions.inferencecliarguments.js +31 -3
  51. package/dist_ts/functions.proxycapacity.d.ts +50 -0
  52. package/dist_ts/functions.proxycapacity.js +142 -0
  53. package/dist_ts/functions.proxycapacitycli.d.ts +30 -0
  54. package/dist_ts/functions.proxycapacitycli.js +65 -0
  55. package/dist_ts/functions.remotecli.d.ts +30 -3
  56. package/dist_ts/functions.remotecli.js +44 -18
  57. package/dist_ts/interfaces.auth.d.ts +25 -4
  58. package/dist_ts/interfaces.auth.js +7 -1
  59. package/dist_ts/plugins.d.ts +2 -0
  60. package/dist_ts/plugins.js +4 -1
  61. package/dist_ts_authswitch/authority-placement.js +3 -17
  62. package/dist_ts_authswitch/authority-usagelimit.d.ts +29 -0
  63. package/dist_ts_authswitch/authority-usagelimit.js +66 -2
  64. package/dist_ts_authswitch/authority-usagewindows.d.ts +6 -0
  65. package/dist_ts_authswitch/authority-usagewindows.js +15 -1
  66. package/dist_ts_interfaces/gateway.d.ts +151 -0
  67. package/dist_ts_interfaces/gateway.js +66 -0
  68. package/dist_ts_interfaces/index.d.ts +2 -0
  69. package/dist_ts_interfaces/index.js +3 -1
  70. package/dist_ts_interfaces/management.d.ts +4 -4
  71. package/dist_ts_interfaces/management.js +3 -2
  72. package/dist_ts_interfaces/mcprequests.d.ts +14 -2
  73. package/dist_ts_interfaces/mcprequests.js +2 -1
  74. package/dist_ts_interfaces/proxycapacity.d.ts +99 -0
  75. package/dist_ts_interfaces/proxycapacity.js +74 -0
  76. package/package.json +4 -3
  77. package/readme.md +79 -5
  78. package/ts/00_commitinfo_data.ts +1 -1
  79. package/ts/aglapi/aglapisurface.document.ts +324 -0
  80. package/ts/aglapi/interfaces.ts +1 -0
  81. package/ts/classes.authmodels.ts +22 -3
  82. package/ts/classes.authstore.ts +15 -1
  83. package/ts/classes.cli.ts +7 -3
  84. package/ts/classes.controller.ts +134 -3
  85. package/ts/classes.controllermanagement.ts +40 -7
  86. package/ts/classes.gatewayclient.ts +401 -0
  87. package/ts/classes.gatewayclientstore.ts +272 -0
  88. package/ts/classes.inferencerouter.ts +12 -0
  89. package/ts/classes.inferenceservice.ts +27 -0
  90. package/ts/classes.mcpclient.ts +18 -0
  91. package/ts/classes.mcpcontrollerhost.ts +13 -0
  92. package/ts/classes.mcptools.ts +30 -2
  93. package/ts/classes.mcpvalidation.ts +5 -0
  94. package/ts/classes.proxycontrol.ts +16 -0
  95. package/ts/classes.proxycontrolclient.ts +30 -0
  96. package/ts/classes.proxydaemon.ts +8 -0
  97. package/ts/classes.proxymonitor.ts +12 -0
  98. package/ts/classes.trustedproxysecrets.ts +5 -0
  99. package/ts/functions.controllermanagementsurface.ts +15 -0
  100. package/ts/functions.gatewaycli.ts +436 -0
  101. package/ts/functions.gatewayroute.ts +429 -0
  102. package/ts/functions.inferencecli.ts +24 -0
  103. package/ts/functions.inferencecliarguments.ts +30 -4
  104. package/ts/functions.proxycapacity.ts +191 -0
  105. package/ts/functions.proxycapacitycli.ts +104 -0
  106. package/ts/functions.remotecli.ts +56 -20
  107. package/ts/interfaces.auth.ts +28 -4
  108. package/ts/plugins.ts +5 -0
  109. package/ts_authswitch/authority-placement.ts +2 -15
  110. package/ts_authswitch/authority-usagelimit.ts +84 -1
  111. package/ts_authswitch/authority-usagewindows.ts +13 -0
  112. package/ts_interfaces/gateway.ts +242 -0
  113. package/ts_interfaces/index.ts +2 -0
  114. package/ts_interfaces/management.ts +6 -4
  115. package/ts_interfaces/mcprequests.ts +18 -0
  116. package/ts_interfaces/proxycapacity.ts +162 -0
  117. package/ts_web/00_commitinfo_data.ts +1 -1
  118. package/ts_web/classes.browserpresentation.ts +13 -5
  119. package/ts_web/elements.accounts.ts +40 -113
  120. package/ts_web/elements.configurationpane.ts +24 -37
  121. package/ts_web/elements.devices.ts +4 -17
  122. package/ts_web/elements.flexlimitstrip.ts +21 -70
  123. package/ts_web/elements.harnesscontrollerapp.ts +91 -185
package/changelog.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-11-11 - 43.2.0
4
+
5
+ ### Features
6
+
7
+ - Add AGL's own gateway client for a dcrouter gateway (AGL-828): `agl remote gateway enrol` provisions the stopped controller as the gateway client `agl-<installation>-<port>` (type `custom`) with a one-time admin token read from a pipe or file, never a terminal and never stored, and keeps the client's credential TPM-sealed in `agl_controller_gateway_clients`, stored before the gateway is asked to confirm it, so a lost confirmation is finished by the next `enrol` without a token. The running controller syncs its route in the background once it is ready (the hostname of its public origin, TLS ended at the gateway, forwarded with the trusted-proxy secret, source profile `LOCAL NETWORK`, direct hub and VPN, no RemoteIngress, DNS reconciled and unproxied, every field on every sync), deletes the client's routes for an earlier hostname a leftover move left (`origin_changed` until `enrol`), writes the route only to a gateway that announces `routes.requestHeaders` (dcrouter 34.5.0 or later, `@serve.zone/interfaces` 32.75.0), reads it back (the secret header in `requestHeaderNames`, and `LOCAL NETWORK` when the gateway names the source profile, otherwise the status says the profile is unverified) and then ends a rotation the route carries, retries a failure a later sync can fix after 30 s doubling to 15 min with jitter, syncs again after six hours, waits for a gateway without `routes.requestHeaders` (`waiting`: asked again after 30 s doubling to 15 min, then every six hours and on every `sync`, and the route is written as soon as the gateway announces it; every sync sends the header, so a route whose stored header a downgraded gateway dropped gets it back), and stops on a failure only the operator can fix (a revoked or stale credential, a refused route or one read back without the header or bound to another profile, DNS `record-conflict`, `zone-unmanaged`, `target-invalid`). `agl remote gateway status [--json]` and `agl status --json` (`gateway`, management endpoint only) show it, `agl remote gateway sync [--rotate]` syncs now for the controller's own OS user, rotating the trusted-proxy secret first on request, and `agl remote gateway remove [--abandon]` deletes the route or forgets the enrolment and names what it left. Every gateway URL, entered or stored, must be `https` (plain `http` only for a gateway on loopback: `127.0.0.0/8`, `::1`, `localhost`), with no option to skip certificate verification, and redirects are refused by the transport (`@api.global/typedrequest` 9.2.1), so the configured URL is the only one ever contacted; a stored one off loopback stops the syncs as `gateway_url_insecure`. `agl remote unset` is refused while the controller is enrolled, and so is `agl remote set` to another hostname (another RP ID or gateway sources stay allowed): `agl remote gateway remove`, then `agl remote set`, then `agl remote gateway enrol`. The commands are audited as `remote.gateway.enrol`, `remote.gateway.sync`, `remote.gateway.remove` and `remote.gateway.abandon` with the route in `details.gateway`, which 41.1.0 and later read as unknown types; an earlier release starts with the new collection in place. Downgrade: run `agl remote gateway remove` (or `--abandon`) first, since an earlier release refuses a remote configuration with gateway sources and this one refuses `agl remote unset` while enrolled.
8
+ - Add a pool's room for new work as one answer of the inference proxy (AGL-1097): `agl proxy capacity [--provider anthropic|openai] [--min-headroom N] [--json] [--wait [--max-seconds N]]`, the proxy's `agl.proxy.capacity` and the MCP tool `proxy_capacity` (open to every caller, through the controller's `agl.mcp.proxy.capacity`; Flex's AGL API reads it too). A pool counts its subscription sign-ins that have not lapsed on a counted plan (Claude: `max`; ChatGPT: every plan but `free`), however old the reading; API keys never count. Its room is the headroom its members add now (0 for one that takes no work), each member names its binding window and when its headroom next grows (`growsAt`, from every counted window by the shared rule `authSwitchHeadroomGrowth`, so a binding five-hour window grows long before a weekly one), and the verdict is `open` once the room reaches the minimum (15 unless given) and no provider 429 hit a member within five minutes (`quiet-unobserved` for a proxy's first five minutes), else `wait` until the first moment the readings foresee enough room (`until`/`seconds`, `null` when none is foreseen). Exit status 0 open, 2 waiting or `--wait` timed out, 1 failure; an older proxy is named with the restart onto the installed AGL. The answer names accounts by id alone.
9
+
10
+ ### Fixes
11
+
12
+ - A Paint view no longer reports "Show the browser view's video" for an original-video route of a Paint run that is stopping, was replaced (a switch to Video) or whose view closed (AGL-1249): the run stops being current before its streams are aborted, and only a route of the run on screen reports its failure.
13
+ - Build the web app's tabs, choices, checkboxes and action buttons from dees-catalog instead of hand-built markup (AGL-1016): the Accounts views are a segmented control (one Tab stop, the arrow keys choose a view), what new Claude terminals run on is a radio group, a skill's files are tabs, the Codex collaboration mode is a segmented control (Plan keeps its tone) that a running turn or another Codex client makes read-only, the confirmed mode at full contrast rather than the whole control dimmed, the New conversation harness choice is a segmented control that starts with no harness chosen, the New conversation directory field offers the controller's path suggestions as a combobox (arrow keys, Enter, Escape), Ready to apply and the Flex limit strip use catalog checkboxes, and the back, Close, Send now, Cancel, Apply and history, standard directory, temporary password and accounts service buttons are catalog buttons. The terminals choice, the Codex mode and the limit strip's boxes still show only what the controller holds until it saves. Needs @design.estate/dees-catalog 24.6.0. A guard test fails when a hand-built tab group, radio, checkbox, toggle group, listbox or raw button returns to `ts_web` beyond its allowlist.
14
+
3
15
  ## 2026-11-11 - 43.1.0
4
16
 
5
17
  ### Features