agl 43.9.0 → 43.10.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 (114) hide show
  1. package/changelog.md +12 -0
  2. package/dist_serve/bundle.js +997 -975
  3. package/dist_serve/bundle.js.map +2 -2
  4. package/dist_ts/00_commitinfo_data.js +2 -2
  5. package/dist_ts/aglapi/aglapisurface.document.js +3 -3
  6. package/dist_ts/classes.accountsactions.d.ts +3 -1
  7. package/dist_ts/classes.accountsactions.js +17 -1
  8. package/dist_ts/classes.controller.d.ts +1 -1
  9. package/dist_ts/classes.controller.js +21 -7
  10. package/dist_ts/classes.inferencegateway.js +7 -5
  11. package/dist_ts/classes.inferenceplacement.d.ts +1 -1
  12. package/dist_ts/classes.inferencerouter.d.ts +20 -3
  13. package/dist_ts/classes.inferencerouter.js +37 -10
  14. package/dist_ts/classes.inferenceservice.js +2 -2
  15. package/dist_ts/classes.ticketnotifier.d.ts +2 -2
  16. package/dist_ts/classes.ticketnotifier.js +6 -4
  17. package/dist_ts/classes.ticketstore.d.ts +33 -5
  18. package/dist_ts/classes.ticketstore.js +109 -26
  19. package/dist_ts/classes.workercallers.d.ts +35 -1
  20. package/dist_ts/classes.workercallers.js +139 -28
  21. package/dist_ts/fleet/classes.boardpump.d.ts +1 -1
  22. package/dist_ts/fleet/classes.boardpump.js +4 -2
  23. package/dist_ts/fleet/classes.ticketeffects.d.ts +11 -0
  24. package/dist_ts/fleet/classes.ticketeffects.js +28 -1
  25. package/dist_ts/fleet/classes.workers.d.ts +18 -1
  26. package/dist_ts/fleet/classes.workers.js +49 -8
  27. package/dist_ts/fleet/functions.workervalidation.js +7 -4
  28. package/dist_ts/functions.fleetworkercli.d.ts +3 -1
  29. package/dist_ts/functions.fleetworkercli.js +6 -2
  30. package/dist_ts/functions.inferencecli.js +4 -1
  31. package/dist_ts/functions.mcpfleetworkertools.js +3 -3
  32. package/dist_ts/functions.proxycapacity.d.ts +2 -1
  33. package/dist_ts/functions.proxycapacity.js +6 -3
  34. package/dist_ts/functions.proxycapacitycli.js +2 -2
  35. package/dist_ts/functions.workerprocessproof.d.ts +6 -0
  36. package/dist_ts/functions.workerprocessproof.js +8 -3
  37. package/dist_ts/interfaces.auth.d.ts +1 -1
  38. package/dist_ts/interfaces.auth.js +2 -1
  39. package/dist_ts/interfaces.flexipc.d.ts +3 -1
  40. package/dist_ts/interfaces.flexipc.js +1 -1
  41. package/dist_ts_authswitch/authority-contract.d.ts +25 -0
  42. package/dist_ts_authswitch/authority-contract.js +1 -1
  43. package/dist_ts_authswitch/authority-overview.d.ts +7 -0
  44. package/dist_ts_authswitch/authority-overview.js +10 -6
  45. package/dist_ts_authswitch/authority-placement.d.ts +5 -2
  46. package/dist_ts_authswitch/authority-placement.js +6 -3
  47. package/dist_ts_authswitch/classes.authoritybroker.d.ts +6 -0
  48. package/dist_ts_authswitch/classes.authoritybroker.js +26 -1
  49. package/dist_ts_authswitch/classes.authoritycli.d.ts +1 -0
  50. package/dist_ts_authswitch/classes.authoritycli.js +50 -4
  51. package/dist_ts_authswitch/classes.authorityclient.d.ts +3 -1
  52. package/dist_ts_authswitch/classes.authorityclient.js +9 -4
  53. package/dist_ts_authswitch/classes.authoritydaemon.js +7 -1
  54. package/dist_ts_authswitch/classes.authoritydatabase.js +5 -1
  55. package/dist_ts_authswitch/classes.authoritymodels.d.ts +7 -0
  56. package/dist_ts_authswitch/classes.authoritymodels.js +13 -6
  57. package/dist_ts_interfaces/fleetworkers.d.ts +26 -1
  58. package/dist_ts_interfaces/fleetworkers.js +1 -1
  59. package/dist_ts_interfaces/interfaces.d.ts +4 -2
  60. package/dist_ts_interfaces/interfaces.js +1 -1
  61. package/dist_ts_interfaces/proxycapacity.d.ts +1 -1
  62. package/dist_ts_interfaces/requests.accounts.d.ts +19 -0
  63. package/dist_ts_interfaces/requests.accounts.js +1 -1
  64. package/dist_ts_interfaces/requests.d.ts +2 -2
  65. package/dist_ts_interfaces/requests.fleetworkers.d.ts +3 -1
  66. package/dist_ts_interfaces/requests.js +1 -1
  67. package/dist_ts_migration/v41_ticketclosedcolumn.js +7 -3
  68. package/docs/authswitch.md +22 -0
  69. package/package.json +1 -1
  70. package/readme.md +54 -3
  71. package/ts/00_commitinfo_data.ts +1 -1
  72. package/ts/aglapi/aglapisurface.document.ts +2 -2
  73. package/ts/classes.accountsactions.ts +25 -0
  74. package/ts/classes.controller.ts +18 -3
  75. package/ts/classes.inferencegateway.ts +6 -4
  76. package/ts/classes.inferenceplacement.ts +1 -1
  77. package/ts/classes.inferencerouter.ts +49 -10
  78. package/ts/classes.inferenceservice.ts +1 -1
  79. package/ts/classes.ticketnotifier.ts +5 -3
  80. package/ts/classes.ticketstore.ts +103 -24
  81. package/ts/classes.workercallers.ts +165 -28
  82. package/ts/fleet/classes.boardpump.ts +3 -2
  83. package/ts/fleet/classes.ticketeffects.ts +25 -0
  84. package/ts/fleet/classes.workers.ts +47 -7
  85. package/ts/fleet/functions.workervalidation.ts +6 -3
  86. package/ts/functions.fleetworkercli.ts +5 -1
  87. package/ts/functions.inferencecli.ts +2 -0
  88. package/ts/functions.mcpfleetworkertools.ts +2 -2
  89. package/ts/functions.proxycapacity.ts +5 -2
  90. package/ts/functions.proxycapacitycli.ts +1 -1
  91. package/ts/functions.workerprocessproof.ts +10 -2
  92. package/ts/interfaces.auth.ts +1 -0
  93. package/ts/interfaces.flexipc.ts +3 -1
  94. package/ts_authswitch/authority-contract.ts +20 -0
  95. package/ts_authswitch/authority-overview.ts +17 -6
  96. package/ts_authswitch/authority-placement.ts +7 -3
  97. package/ts_authswitch/classes.authoritybroker.ts +24 -0
  98. package/ts_authswitch/classes.authoritycli.ts +58 -4
  99. package/ts_authswitch/classes.authorityclient.ts +11 -4
  100. package/ts_authswitch/classes.authoritydaemon.ts +8 -1
  101. package/ts_authswitch/classes.authoritydatabase.ts +3 -0
  102. package/ts_authswitch/classes.authoritymodels.ts +12 -4
  103. package/ts_interfaces/fleetworkers.ts +26 -1
  104. package/ts_interfaces/interfaces.ts +4 -2
  105. package/ts_interfaces/proxycapacity.ts +1 -1
  106. package/ts_interfaces/requests.accounts.ts +17 -0
  107. package/ts_interfaces/requests.fleetworkers.ts +3 -1
  108. package/ts_interfaces/requests.ts +2 -0
  109. package/ts_migration/v41_ticketclosedcolumn.ts +6 -2
  110. package/ts_web/00_commitinfo_data.ts +1 -1
  111. package/ts_web/accounts.templates.ts +12 -2
  112. package/ts_web/classes.accountsreadmodel.ts +42 -6
  113. package/ts_web/elements.accounts.ts +45 -3
  114. package/ts_web/elements.harnesscontrollerapp.ts +6 -1
package/changelog.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-11-14 - 43.10.0
4
+
5
+ ### Features
6
+
7
+ - Accounts can be paused (AGL-1933). A paused account takes no new work until you resume it: the proxy leaves it out of every pool, moves the sessions on it to another account at their next request, and refuses a request that reaches only paused accounts (a pool with every account paused, or a Flex session on a paused ChatGPT account) with `accounts_paused` and the way to end it. Its sign-in, usage readings, limits, renewal and lapse date stay and keep being read, so it is ready the moment it is resumed; a priority it holds ends, and a paused account is given none. Settings → Accounts has **Pause** and **Resume** on the account's page under Placement, the row shows `Paused` and the overview counts paused accounts in a tile of their own; Flex's account pickers list a paused account as paused and not to be chosen, and a conversation on it says why its message was not sent; `authswitch account preuse --all` skips it by name; `authswitch account set <account-id> --pause|--resume`; `authswitch list`, `limits`, `account list`, `agl proxy status` says so (`pausedAt`), and `agl proxy capacity` leaves it out of its pool. New typed requests `controller.accounts.pause` (audited `accounts.pause`) and `authswitch.authority.pause`. An earlier accounts service refuses the store while an account is paused: resume every account before downgrading.
8
+
9
+ ### Fixes
10
+
11
+ - A fleet Claude Code worker whose MCP calls the controller traces to it but cannot verify no longer degrades silently to read-only (AGL-1888). `agl fleet worker list` (text and `--json`), `fleet_worker_list` and `fleet_worker_get` show its identity as unverified with the reason, and its ticket gets one notice per reason saying what is wrong and what the owner can do; its next verified call clears it. Only evidence surfaces it: an idle worker never does, a refusal that may pass shows only after 60 s of refused calls, and the reasons are a fixed set of phrases. The notice never steers the worker, and the board pump does not count it as an answer to an owner comment.
12
+ - A fleet worker's MCP enrollment that waits while the worker is stopped, archived or re-bound answers pending instead of failing (AGL-1888).
13
+ - A ticket that leaves a column no longer rewrites the tickets behind it (AGL-1907). A move rewrote the whole column a ticket left, one ticket at a time inside one 20 s transaction, so a ticket near the top of the backlog (about 1,070 tickets across all projects) could not be moved, landed or closed at all, and other ticket changes failed while such a move ran ("The private AGL controller operation failed."). A ticket's `order` is now a sparse sort key: leaving a column writes nothing else, so moving, landing and closing a ticket at the end of a column costs a few writes; a new or appended ticket takes the column's last order plus 1024, and a placement before another ticket takes a free number between its neighbours. With none free, the shorter run beside it moves by one; while every order from 0 up to its neighbour is taken, as in a column from before this release, the tickets from the anchor up to the next free number move instead, so placing a ticket near the top of a long column from before this release still rewrites most of it. `order` gives only the relative order within a column: it is no longer contiguous, and no position or count can be derived from it. After a downgrade, an older controller gives a new ticket the column's count as its order, so it can sort before tickets this release put at the end; nothing is lost.
14
+
3
15
  ## 2026-11-14 - 43.9.0
4
16
 
5
17
  ### Features