agl 43.4.0 → 43.5.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 (45) hide show
  1. package/changelog.md +21 -0
  2. package/dist_serve/bundle.js +2211 -2201
  3. package/dist_serve/bundle.js.map +2 -2
  4. package/dist_serve/bundle.js.third-party-notices.json +29 -29
  5. package/dist_serve/bundle.js.third-party-notices.txt +29 -29
  6. package/dist_ts/00_commitinfo_data.js +1 -1
  7. package/dist_ts/classes.controller.d.ts +10 -1
  8. package/dist_ts/classes.controller.js +17 -2
  9. package/dist_ts/classes.inferencegateway.js +14 -2
  10. package/dist_ts/classes.inferencerouter.d.ts +9 -1
  11. package/dist_ts/classes.inferencerouter.js +68 -14
  12. package/dist_ts/fleet/classes.claudeworkers.d.ts +8 -5
  13. package/dist_ts/fleet/classes.claudeworkers.js +13 -8
  14. package/dist_ts/functions.claudecoderelease.d.ts +1 -1
  15. package/dist_ts/functions.claudecoderelease.js +1 -1
  16. package/dist_ts/functions.inferencecli.js +10 -2
  17. package/dist_ts/functions.inferencelaunch.d.ts +19 -8
  18. package/dist_ts/functions.inferencelaunch.js +23 -12
  19. package/dist_ts/functions.proxyharnessconfig.d.ts +18 -0
  20. package/dist_ts/functions.proxyharnessconfig.js +30 -1
  21. package/dist_ts_authswitch/authority-renewal.d.ts +12 -3
  22. package/dist_ts_authswitch/authority-renewal.js +14 -5
  23. package/dist_ts_authswitch/classes.claudenative.d.ts +8 -8
  24. package/dist_ts_authswitch/classes.claudenative.js +13 -13
  25. package/dist_ts_interfaces/requests.accounts.d.ts +5 -0
  26. package/dist_ts_interfaces/requests.accounts.js +3 -1
  27. package/docs/authswitch.md +5 -4
  28. package/package.json +2 -2
  29. package/readme.md +20 -10
  30. package/ts/00_commitinfo_data.ts +1 -1
  31. package/ts/classes.controller.ts +16 -1
  32. package/ts/classes.inferencegateway.ts +15 -1
  33. package/ts/classes.inferencerouter.ts +72 -13
  34. package/ts/fleet/classes.claudeworkers.ts +12 -7
  35. package/ts/functions.claudecoderelease.ts +1 -1
  36. package/ts/functions.inferencecli.ts +7 -1
  37. package/ts/functions.inferencelaunch.ts +35 -14
  38. package/ts/functions.proxyharnessconfig.ts +32 -0
  39. package/ts_authswitch/authority-renewal.ts +14 -4
  40. package/ts_authswitch/classes.claudenative.ts +12 -12
  41. package/ts_authswitch/native-contracts.md +250 -28
  42. package/ts_interfaces/requests.accounts.ts +2 -0
  43. package/ts_web/00_commitinfo_data.ts +1 -1
  44. package/ts_web/classes.accountsreadmodel.ts +19 -7
  45. package/ts_web/elements.accounts.ts +31 -18
package/changelog.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-11-13 - 43.5.0
4
+
5
+ ### Features
6
+
7
+ - AGL verified Claude Code 2.1.322 (AGL-1780). Only a release newer than 2.1.322 is now mentioned to the driver, once, and the mention names 2.1.322 as the release AGL verified. The fleet still runs 2.1.282 and every newer release; its floor stays 2.1.282.
8
+ - The accounts service lists 2.1.322 among the releases whose credential handling it read. Its usage read still takes every release from 2.1.282 on.
9
+ - The check is in `ts_authswitch/native-contracts.md` ("Claude Code compatibility check"). 2.1.322 keeps every fleet item, and a relay on it is still left with only `Read`, `SendMessage` and `ToolSearch` in `default`, `acceptEdits` and `bypassPermissions`. Its `api-request` transcript records are about 30 % of what it writes, and the fleet's 4 MiB window still holds an hour or more and dozens of a driver's turns.
10
+
11
+ ### Fixes
12
+
13
+ - A Claude account whose limit was reset takes work again, and one model's limit no longer stops the account's other models (AGL-1797). A provider 429 that named a wait of a day used to rest the whole account for that day, whatever its usage showed afterwards; only a proxy restart ended it.
14
+ - A usage reading made after the 429 now ends the rest when it shows room. Only a wait of up to five minutes (a rate limit) still runs its course.
15
+ - On a Claude sign-in a longer wait rests only the model the request asked for. `agl proxy status` names the resting model with the account.
16
+ - The proxy's journal has one line per provider 429: the account, the model, the `Retry-After` and the provider's rate-limit headers.
17
+ - A Claude sign-in's renewal is picked in a calendar (AGL-1782): the account's **Renewal** in Settings → Accounts is a date picker with a calendar and a time (`dees-input-datepicker`), no longer a narrow text field the date and time had to be typed into. The date and time are picked, or typed into the picker's field (`2026-12-05 09:30`, `05.12.2026 09:30` or `12/05/2026 09:30`), in the browser's time zone, shown as the page shows dates, and sent as their UTC instant only with **Save**. Save follows the typing: a date typed enables it without Enter or leaving the field, one click saves that date, and Enter in the field saves nothing. The picker takes exactly what the accounts service takes, from the year 2000 to 9999 (`controllerRenewsAtRange`, the rule's range `authSwitchRenewsAtRange`), and says in its own words what it cannot take; Save then waits for a correction. Clearing the field clears only the draft: **No renewal** still removes the renewal. Needs @design.estate/dees-catalog 24.6.2, whose date picker reports a date as it is typed.
18
+ - Claude Code 2.1.322 no longer blocks handing Claude Code's sign-in to AGL (AGL-1780). Its bundle was read against the custody items of the compatibility check, and its credential handling keeps them, so a 2.1.322 process on Claude Code's home no longer refuses **Hand to AGL** with `claude_native_sessions`. A hand-over or sign-out now also clears `managedSettingsNoticeSeenOrg`, which 2.1.322's own sign-out clears.
19
+ - AGL's policy hook no longer goes quiet because Claude Code inherits a variable that switches hooks off (AGL-1783). `CLAUDE_CODE_SIMPLE`, `CLAUDE_CODE_SAFE_MODE` and `CLAUDE_CODE_RESTRICTED` keep the hooks of the user's Claude Code settings from running, and with them AGL's deny rules; `CLAUDE_CODE_REMOTE_SESSION_ORIGIN=review` does so together with Claude Code's three other review-mode variables, and `CLAUDE_CODE_IGNORE_PERSISTED_TRUST`, as read from Claude Code 2.1.322's bundle and not yet shown by a run, makes Claude Code count no workspace trust and skip every hook of a background session it then runs untrusted. Set in the shell or service environment that started the controller or `agl proxy run`, such a variable reached every fleet worker, every Claude chat of the controller and every `agl proxy run claude`.
20
+ - AGL now drops these names, whatever their value, from the environment of the Claude Code sessions it starts: fleet workers, its own Claude chats, `agl proxy run claude` on either pool, and a confined Claude Code run's `docker run`, so `-e NAME` passes none of them. A flag you type for the run (`--bare`, `--safe-mode`, `-e NAME=1`) still applies, and `CLAUDE_CODE_PERSONAL_HOOKS_OFF` is left alone: it keeps no hook out.
21
+ - `agl proxy run` and `agl proxy confined run` print one line on stderr naming what they dropped, and nothing when there was nothing to drop. The controller logs once at start which of these names its own environment holds.
22
+ - This covers the environment AGL hands over, not every way to lose the hook: it still does not run in a checkout whose `.claude/settings.json` sets `disableAllHooks: true`, and the drop may not reach a Claude Code daemon that was started from another environment. AGL does not yet check per session that its hook is live (AGL-1790).
23
+
3
24
  ## 2026-11-12 - 43.4.0
4
25
 
5
26
  ### Features