agl 43.0.2 → 43.0.4

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 (68) hide show
  1. package/changelog.md +17 -0
  2. package/dist_serve/bundle.js +749 -749
  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 +37 -2
  6. package/dist_ts/classes.claudeharness.js +19 -6
  7. package/dist_ts/classes.codexclientadapter.d.ts +2 -1
  8. package/dist_ts/classes.codexclientadapter.js +11 -6
  9. package/dist_ts/classes.codexprojection.d.ts +8 -1
  10. package/dist_ts/classes.codexprojection.js +22 -2
  11. package/dist_ts/classes.flexframedtransport.d.ts +16 -0
  12. package/dist_ts/classes.flexframedtransport.js +35 -20
  13. package/dist_ts/classes.flexservice.d.ts +7 -1
  14. package/dist_ts/classes.flexservice.js +26 -22
  15. package/dist_ts/classes.flexstore.js +4 -1
  16. package/dist_ts/classes.flexsupervisor.d.ts +10 -0
  17. package/dist_ts/classes.flexsupervisor.js +22 -2
  18. package/dist_ts/classes.sessionfeed.d.ts +20 -2
  19. package/dist_ts/classes.sessionfeed.js +63 -24
  20. package/dist_ts/fleet/classes.claudeworkers.d.ts +4 -1
  21. package/dist_ts/fleet/classes.claudeworkers.js +52 -6
  22. package/dist_ts/fleet/classes.codexworkers.d.ts +2 -1
  23. package/dist_ts/fleet/classes.codexworkers.js +34 -9
  24. package/dist_ts/fleet/classes.workers.js +9 -5
  25. package/dist_ts/fleet/functions.workervalidation.js +4 -2
  26. package/dist_ts/fleet/interfaces.workers.d.ts +27 -2
  27. package/dist_ts/fleet/interfaces.workers.js +7 -1
  28. package/dist_ts_interfaces/fleetworkers.d.ts +17 -1
  29. package/dist_ts_interfaces/interfaces.d.ts +20 -0
  30. package/dist_ts_interfaces/interfaces.js +2 -1
  31. package/dist_ts_interfaces/requests.fleetworkers.d.ts +11 -2
  32. package/dist_ts_interfaces/sessionfeed.d.ts +12 -2
  33. package/dist_ts_interfaces/sessionfeed.js +1 -1
  34. package/dist_ts_migration/classes.flexpostharnessmigrationrunner.d.ts +9 -0
  35. package/dist_ts_migration/classes.flexpostharnessmigrationrunner.js +24 -5
  36. package/dist_ts_migration/index.d.ts +1 -0
  37. package/dist_ts_migration/index.js +2 -1
  38. package/dist_ts_migration/v19_flexprojectmanagement.d.ts +3 -0
  39. package/dist_ts_migration/v19_flexprojectmanagement.js +3 -1
  40. package/dist_ts_migration/v43_flexpostharnessmigrationmarkers.d.ts +44 -0
  41. package/dist_ts_migration/v43_flexpostharnessmigrationmarkers.js +146 -0
  42. package/package.json +2 -2
  43. package/readme.md +1 -1
  44. package/ts/00_commitinfo_data.ts +1 -1
  45. package/ts/aglapi/aglapisurface.document.ts +36 -1
  46. package/ts/classes.claudeharness.ts +19 -3
  47. package/ts/classes.codexclientadapter.ts +9 -6
  48. package/ts/classes.codexprojection.ts +23 -2
  49. package/ts/classes.flexframedtransport.ts +42 -17
  50. package/ts/classes.flexservice.ts +36 -27
  51. package/ts/classes.flexstore.ts +6 -0
  52. package/ts/classes.flexsupervisor.ts +28 -1
  53. package/ts/classes.sessionfeed.ts +77 -29
  54. package/ts/fleet/classes.claudeworkers.ts +57 -9
  55. package/ts/fleet/classes.codexworkers.ts +35 -11
  56. package/ts/fleet/classes.workers.ts +8 -4
  57. package/ts/fleet/functions.workervalidation.ts +3 -1
  58. package/ts/fleet/interfaces.workers.ts +25 -2
  59. package/ts_interfaces/fleetworkers.ts +17 -1
  60. package/ts_interfaces/interfaces.ts +22 -0
  61. package/ts_interfaces/requests.fleetworkers.ts +11 -2
  62. package/ts_interfaces/sessionfeed.ts +12 -2
  63. package/ts_migration/classes.flexpostharnessmigrationrunner.ts +37 -5
  64. package/ts_migration/index.ts +1 -0
  65. package/ts_migration/v19_flexprojectmanagement.ts +4 -0
  66. package/ts_migration/v43_flexpostharnessmigrationmarkers.ts +109 -0
  67. package/ts_web/00_commitinfo_data.ts +1 -1
  68. package/ts_web/classes.controllersocketclient.ts +10 -2
package/changelog.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-11-07 - 43.0.4
4
+
5
+ ### Fixes
6
+
7
+ - Keep the controller running when a Flex child generation fails closed and its child dies with frames it never read: every Flex IPC pipe, child log pipe and the child process keep an error listener for as long as they exist, and record and ignore errors after close or failure, so the reset no longer ends the controller with an unhandled `read ECONNRESET`; a closed transport releases its reader at once and its writer after the drain (AGL-1536).
8
+ - Stop every new Flex child from walking each session of every project inside `project.register`: the v19 project-management walk (a controller round trip per session) now runs once per project, recorded in `flex_post_harness_migrations` only after the project's walk completed, so a failed or cancelled walk runs again at the next registration. Registration no longer reads each session's reversion state; FlexHarness recovers it when it loads the project, and it is read when a session is opened. A big project's registration could exceed its 35 s budget under load, leave the outcome unknown and stop the child in a loop; the first child after the upgrade still walks each project once (AGL-1537).
9
+
10
+ ## 2026-11-07 - 43.0.3
11
+
12
+ ### Fixes
13
+
14
+ - Keep native wait signals and turn outcomes in the session feed and fleet worker views: a Codex thread waiting on approval or user input, or on a flag AGL does not know, a Claude Code `requires_action` without a card and a Claude Code job whose process its inventory lists as waiting show as needing input in the native client (`nativeWait`, with its reason), apart from requests AGL holds (`attention`). Codex workers whose last turn failed now show as failed, with the limit kind, instead of completed; a failed Claude Code job shows as failed instead of needing input or working, also while it reports waiting or busy, a job listed blocked whose turn ended (status idle) is completed, and a Claude Code worker needs input only when its job's inventory shows a wait. A failure stays until a newer turn starts or Claude Code lists the job working, blocked or done again; a newer turn moves its row, so an acknowledged failure does not hide the next one, and a previously acknowledged worker row can reappear once after the upgrade. Worker `status`, steering and dispatch are unchanged, and nothing is retried or resent (AGL-1529).
15
+
16
+ ### Maintenance
17
+
18
+ - release tooling: pnpm 12.17.0, @types/node 26.6.6
19
+
3
20
  ## 2026-10-31 - 43.0.2
4
21
 
5
22
  ### Fixes