agl 42.0.0 → 42.1.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 (58) hide show
  1. package/changelog.md +6 -0
  2. package/dist_serve/bundle.js +2493 -2143
  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/classes.authstore.d.ts +2 -0
  7. package/dist_ts/classes.authstore.js +50 -17
  8. package/dist_ts/classes.controller.d.ts +71 -2
  9. package/dist_ts/classes.controller.js +500 -113
  10. package/dist_ts/classes.controllerdevices.d.ts +128 -0
  11. package/dist_ts/classes.controllerdevices.js +472 -0
  12. package/dist_ts/classes.sessionfeed.d.ts +10 -1
  13. package/dist_ts/classes.sessionfeed.js +12 -2
  14. package/dist_ts/classes.validation.d.ts +2 -0
  15. package/dist_ts/classes.validation.js +2 -2
  16. package/dist_ts/functions.deviceapi.d.ts +28 -0
  17. package/dist_ts/functions.deviceapi.js +246 -0
  18. package/dist_ts/functions.deviceproof.d.ts +33 -0
  19. package/dist_ts/functions.deviceproof.js +93 -0
  20. package/dist_ts/functions.remotecli.d.ts +1 -1
  21. package/dist_ts/functions.remotecli.js +12 -7
  22. package/dist_ts/interfaces.auth.d.ts +1 -1
  23. package/dist_ts/interfaces.auth.js +6 -1
  24. package/dist_ts_interfaces/devices.d.ts +331 -0
  25. package/dist_ts_interfaces/devices.js +34 -0
  26. package/dist_ts_interfaces/index.d.ts +2 -0
  27. package/dist_ts_interfaces/index.js +3 -1
  28. package/dist_ts_interfaces/interfaces.d.ts +4 -2
  29. package/dist_ts_interfaces/interfaces.js +3 -2
  30. package/dist_ts_interfaces/mcprequests.d.ts +1 -1
  31. package/dist_ts_interfaces/requests.d.ts +2 -1
  32. package/dist_ts_interfaces/requests.devices.d.ts +89 -0
  33. package/dist_ts_interfaces/requests.devices.js +2 -0
  34. package/dist_ts_interfaces/requests.js +1 -1
  35. package/package.json +1 -1
  36. package/readme.md +36 -4
  37. package/ts/00_commitinfo_data.ts +1 -1
  38. package/ts/aglapi/aglapisurface.document.ts +2 -2
  39. package/ts/classes.authstore.ts +46 -14
  40. package/ts/classes.controller.ts +697 -167
  41. package/ts/classes.controllerdevices.ts +469 -0
  42. package/ts/classes.sessionfeed.ts +13 -1
  43. package/ts/classes.validation.ts +1 -1
  44. package/ts/functions.deviceapi.ts +295 -0
  45. package/ts/functions.deviceproof.ts +118 -0
  46. package/ts/functions.remotecli.ts +11 -5
  47. package/ts/interfaces.auth.ts +5 -0
  48. package/ts_interfaces/devices.schema.json +890 -0
  49. package/ts_interfaces/devices.ts +392 -0
  50. package/ts_interfaces/index.ts +2 -0
  51. package/ts_interfaces/interfaces.ts +4 -1
  52. package/ts_interfaces/mcprequests.ts +1 -1
  53. package/ts_interfaces/requests.devices.ts +95 -0
  54. package/ts_interfaces/requests.ts +10 -0
  55. package/ts_web/00_commitinfo_data.ts +1 -1
  56. package/ts_web/classes.controllersocketclient.ts +27 -0
  57. package/ts_web/elements.devices.ts +752 -0
  58. package/ts_web/elements.harnesscontrollerapp.ts +18 -1
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dist_serve/bundle.js.map
3
- size: 33700269 bytes
4
- sha256: edb0c61cff796c0153969728ea976e0c6560aa358a97534a97ecbfc52236fe82
3
+ size: 33764207 bytes
4
+ sha256: ee911eaeb753cfa54d919cb385bb39b7a5b2054ceeab8b6e71f28f352873dc75
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: 'agl',
6
- version: '42.0.0',
6
+ version: '42.1.0',
7
7
  description: 'Agent Gateway Layer for OpenCode, FlexHarness, and Codex sessions'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSxLQUFLO0lBQ1gsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLG1FQUFtRTtDQUNqRixDQUFBIn0=
@@ -3762,7 +3762,7 @@ export const AGL_API_SURFACE = {
3762
3762
  },
3763
3763
  "protocolVersion": {
3764
3764
  "type": "number",
3765
- "const": 48
3765
+ "const": 49
3766
3766
  },
3767
3767
  "upgradeManagementVersion": {
3768
3768
  "type": "number"
@@ -3888,7 +3888,7 @@ export const AGL_API_SURFACE = {
3888
3888
  ],
3889
3889
  "additionalProperties": false
3890
3890
  },
3891
- "declaration": "interface IControllerStatus {\n packageName: string;\n packageVersion: string;\n protocolVersion: 48;\n upgradeManagementVersion: number;\n /**\n * The protocol of the controller's loopback management endpoint (`controllerManagementProtocolVersion`); absent\n * from a controller older than the endpoint, which this release refuses to manage.\n */\n managementProtocolVersion?: number;\n controllerPid: number;\n processGroupId: number;\n processFingerprint: string;\n processMode: TControllerProcessMode;\n lifecycleState: TControllerLifecycleState;\n startedAt: number;\n setupRequired: boolean;\n /** Present when the controller runs as the systemd user unit (`agl service install`); absent for a detached or foreground one. */\n serviceUnit?: \"agl-controller.service\";\n /** The TLS mode of the runtime configuration the controller runs with; absent until it is resolved. */\n tlsMode?: TControllerTlsMode;\n upgrade?: IControllerUpgradeStatus;\n /** AGL's inference proxy, by state only; details need a signed-in owner (`controller.proxy.status.get`). */\n proxy?: { state: TControllerProxyState };\n harnesses: Array<{\n harnessId: TControllerSessionHarnessId;\n pid?: number;\n state: TControllerHarnessLifecycleState;\n healthy: boolean;\n version?: string;\n supportsLocalAttachments?: boolean;\n connectionMode?: 'local' | 'shared' | 'remote';\n diagnostic?: IControllerCodexDiagnostic;\n /** Codex only: automatic reconnection of this entry's profile to the local shared app-server. */\n rejoin?: IControllerCodexRejoinStatus;\n /**\n * Codex only, on the controller status: every connected or required profile. The entry's\n * `healthy` is then true only when each of them is, apart from a profile on an account Codex\n * cannot run on now, listed `stopped` with an `account_unavailable` diagnostic that says why;\n * its other members describe the default profile.\n */\n profiles?: IControllerCodexProfileStatus[];\n }>;\n}"
3891
+ "declaration": "interface IControllerStatus {\n packageName: string;\n packageVersion: string;\n protocolVersion: 49;\n upgradeManagementVersion: number;\n /**\n * The protocol of the controller's loopback management endpoint (`controllerManagementProtocolVersion`); absent\n * from a controller older than the endpoint, which this release refuses to manage.\n */\n managementProtocolVersion?: number;\n controllerPid: number;\n processGroupId: number;\n processFingerprint: string;\n processMode: TControllerProcessMode;\n lifecycleState: TControllerLifecycleState;\n startedAt: number;\n setupRequired: boolean;\n /** Present when the controller runs as the systemd user unit (`agl service install`); absent for a detached or foreground one. */\n serviceUnit?: \"agl-controller.service\";\n /** The TLS mode of the runtime configuration the controller runs with; absent until it is resolved. */\n tlsMode?: TControllerTlsMode;\n upgrade?: IControllerUpgradeStatus;\n /** AGL's inference proxy, by state only; details need a signed-in owner (`controller.proxy.status.get`). */\n proxy?: { state: TControllerProxyState };\n harnesses: Array<{\n harnessId: TControllerSessionHarnessId;\n pid?: number;\n state: TControllerHarnessLifecycleState;\n healthy: boolean;\n version?: string;\n supportsLocalAttachments?: boolean;\n connectionMode?: 'local' | 'shared' | 'remote';\n diagnostic?: IControllerCodexDiagnostic;\n /** Codex only: automatic reconnection of this entry's profile to the local shared app-server. */\n rejoin?: IControllerCodexRejoinStatus;\n /**\n * Codex only, on the controller status: every connected or required profile. The entry's\n * `healthy` is then true only when each of them is, apart from a profile on an account Codex\n * cannot run on now, listed `stopped` with an `account_unavailable` diagnostic that says why;\n * its other members describe the default profile.\n */\n profiles?: IControllerCodexProfileStatus[];\n }>;\n}"
3892
3892
  },
3893
3893
  {
3894
3894
  "name": "IControllerTerminalResource",
@@ -100,6 +100,8 @@ export declare class SmartDataAuthStore implements IAuthStore, IAuthStoreSession
100
100
  previous: IControllerRuntimeConfig;
101
101
  changed: boolean;
102
102
  enrollmentReset: boolean;
103
+ /** How many paired devices the move removed: a device signs the public origin, so a new origin removes them all. */
104
+ devicesRemoved: number;
103
105
  }>;
104
106
  /** Deletes every temporary password of this controller, expired or not. */
105
107
  private revokeTempPasswords;