agl 40.5.0 → 40.5.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 (35) hide show
  1. package/changelog.md +6 -0
  2. package/dist_serve/bundle.js +598 -598
  3. package/dist_serve/bundle.js.map +2 -2
  4. package/dist_ts/00_commitinfo_data.js +1 -1
  5. package/dist_ts/aglapi/aglapisurface.document.js +2 -2
  6. package/dist_ts_authswitch/authority-contract.d.ts +30 -5
  7. package/dist_ts_authswitch/authority-contract.js +7 -1
  8. package/dist_ts_authswitch/classes.authoritycli.js +6 -2
  9. package/dist_ts_authswitch/classes.authorityclient.js +15 -5
  10. package/dist_ts_authswitch/classes.claudenative.d.ts +7 -1
  11. package/dist_ts_authswitch/classes.claudenative.js +21 -6
  12. package/dist_ts_authswitch/classes.claudesignin.d.ts +14 -2
  13. package/dist_ts_authswitch/classes.claudesignin.js +68 -22
  14. package/dist_ts_authswitch/classes.codexmanaged.d.ts +8 -0
  15. package/dist_ts_authswitch/classes.codexmanaged.js +33 -18
  16. package/dist_ts_authswitch/classes.harnessprocesses.d.ts +8 -0
  17. package/dist_ts_authswitch/classes.harnessprocesses.js +41 -9
  18. package/dist_ts_interfaces/interfaces.d.ts +1 -1
  19. package/dist_ts_interfaces/interfaces.js +1 -1
  20. package/package.json +1 -1
  21. package/readme.md +1 -1
  22. package/ts/00_commitinfo_data.ts +1 -1
  23. package/ts/aglapi/aglapisurface.document.ts +2 -2
  24. package/ts_authswitch/authority-contract.ts +34 -5
  25. package/ts_authswitch/classes.authoritycli.ts +5 -1
  26. package/ts_authswitch/classes.authorityclient.ts +25 -9
  27. package/ts_authswitch/classes.claudenative.ts +23 -7
  28. package/ts_authswitch/classes.claudesignin.ts +70 -23
  29. package/ts_authswitch/classes.codexmanaged.ts +30 -16
  30. package/ts_authswitch/classes.harnessprocesses.ts +39 -8
  31. package/ts_authswitch/native-contracts.md +1 -1
  32. package/ts_interfaces/interfaces.ts +1 -1
  33. package/ts_web/00_commitinfo_data.ts +1 -1
  34. package/ts_web/accounts.plugins.ts +5 -1
  35. package/ts_web/classes.accountsreadmodel.ts +4 -1
package/changelog.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-10-25 - 40.5.1
4
+
5
+ ### Fixes
6
+
7
+ - A Claude sign-in is no longer held for its fifteen minutes by Claude Code sessions whose working directory was deleted under them (AGL-836). The accounts service could not resolve such a process's working directory, so it left the process's home and credential store unknown as well, and a sign-in waits while any process may run on its home: the login Claude Code wrote was never added, and the sign-in ended saying no login had arrived. A home or store a process names by an absolute path is now resolved without its working directory; one named by a relative path stays unknown, and custody and the usage read still refuse a process on their home whose working directory they cannot read. A sign-in also no longer waits for an unknown process that started before its home was made (by more than five seconds, the process table's precision), since it cannot name a home whose name was random until then; container homes keep the strict rule. Process start times are now read from the process table in UTC, so on a host outside UTC a process started in the repeated hour after a daylight-saving change is no longer dated an hour early (which would have let such a process through this rule); the accounts service's check of its managed Codex app-server reads them the same way, and refuses starts and account changes when the process holding the run's socket has a start it cannot read, instead of treating that process as gone. A sign-in that is held names the processes holding it (`heldBy`, shown on the Accounts screen and by `authswitch account add claude`), and one still held when it expires imports nothing and says that a login arrived and which processes held it. A client of this release names an accounts service that answers a sign-in without `heldBy` outdated, so the service must be restarted onto this release. Controller protocol 45.
8
+
3
9
  ## 2026-10-23 - 40.5.0
4
10
 
5
11
  ### Features