openmeld 0.3.249 → 0.3.250

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 (131) hide show
  1. package/dist/{add-me-membership-DqFVccz-.js → add-me-membership-BEv7sbS8.js} +2 -2
  2. package/dist/{add-me-membership-DqFVccz-.js.map → add-me-membership-BEv7sbS8.js.map} +1 -1
  3. package/dist/{agents-B1BGmZv8.js → agents-C0TlVbff.js} +13 -13
  4. package/dist/{agents-B1BGmZv8.js.map → agents-C0TlVbff.js.map} +1 -1
  5. package/dist/{api-client-foundation-BIYsNssD.js → api-client-foundation-BFxJALyQ.js} +5 -3
  6. package/dist/api-client-foundation-BFxJALyQ.js.map +1 -0
  7. package/dist/{api-client-foundation-35pRyFi8.js → api-client-foundation-BcqoCcfi.js} +1 -1
  8. package/dist/auth-session-Ba4S7jnT.js +4 -0
  9. package/dist/{auth-session-CQBxmN9k.js → auth-session-ClBLOWqs.js} +4 -4
  10. package/dist/{auth-session-CQBxmN9k.js.map → auth-session-ClBLOWqs.js.map} +1 -1
  11. package/dist/{base-url-DisEwU-t.js → base-url-3HAgYrum.js} +3 -3
  12. package/dist/{base-url-DisEwU-t.js.map → base-url-3HAgYrum.js.map} +1 -1
  13. package/dist/{base-url-DmBKON6A.js → base-url-4R03CCse.js} +1 -1
  14. package/dist/{channel-C_AttfQ8.js → channel-CFWvWoEK.js} +2 -2
  15. package/dist/{channel-C_AttfQ8.js.map → channel-CFWvWoEK.js.map} +1 -1
  16. package/dist/{cloud-computer-CDo2uMIr.js → cloud-computer-j7R51e68.js} +6 -6
  17. package/dist/{cloud-computer-CDo2uMIr.js.map → cloud-computer-j7R51e68.js.map} +1 -1
  18. package/dist/{command-CEF4dTIg.js → command-Bv9x8bj2.js} +17 -17
  19. package/dist/{command-CEF4dTIg.js.map → command-Bv9x8bj2.js.map} +1 -1
  20. package/dist/{computer-connection-review-DijvJtj7.js → computer-connection-review-zsbYpTnD.js} +6 -6
  21. package/dist/{computer-connection-review-DijvJtj7.js.map → computer-connection-review-zsbYpTnD.js.map} +1 -1
  22. package/dist/{computer-disconnect-D2L8khsX.js → computer-disconnect-BQaS96lf.js} +9 -9
  23. package/dist/{computer-disconnect-D2L8khsX.js.map → computer-disconnect-BQaS96lf.js.map} +1 -1
  24. package/dist/{computer-setup-continuation-B95_GYrc.js → computer-setup-continuation-pZ639n22.js} +3 -3
  25. package/dist/{computer-setup-continuation-B95_GYrc.js.map → computer-setup-continuation-pZ639n22.js.map} +1 -1
  26. package/dist/{context-DZmYWwYg.js → context-Gn5H-Rd_.js} +7 -7
  27. package/dist/{context-DZmYWwYg.js.map → context-Gn5H-Rd_.js.map} +1 -1
  28. package/dist/{daemon-device-id-DEKtVdHO.js → daemon-device-id-B_QfEb0j.js} +4 -4
  29. package/dist/{daemon-device-id-DEKtVdHO.js.map → daemon-device-id-B_QfEb0j.js.map} +1 -1
  30. package/dist/{daemon-lifecycle-journal-Bpkc8qjM.js → daemon-lifecycle-journal-DzTPqbOW.js} +5 -5
  31. package/dist/{daemon-lifecycle-journal-Bpkc8qjM.js.map → daemon-lifecycle-journal-DzTPqbOW.js.map} +1 -1
  32. package/dist/{daemon-runtime-lease-DRebI8eb.js → daemon-runtime-lease-CER13pyZ.js} +1 -1
  33. package/dist/{daemon-runtime-lease-Dxq_qGxY.js → daemon-runtime-lease-CVPdRVs4.js} +3 -3
  34. package/dist/{daemon-runtime-lease-Dxq_qGxY.js.map → daemon-runtime-lease-CVPdRVs4.js.map} +1 -1
  35. package/dist/{daemon-service-contract-HKC0wyWa.js → daemon-service-contract-RI6gkvmo.js} +3 -3
  36. package/dist/{daemon-service-contract-HKC0wyWa.js.map → daemon-service-contract-RI6gkvmo.js.map} +1 -1
  37. package/dist/{daemon-service-manager-C-9sDDa3.js → daemon-service-manager-Cqyq96f0.js} +5 -5
  38. package/dist/{daemon-service-manager-C-9sDDa3.js.map → daemon-service-manager-Cqyq96f0.js.map} +1 -1
  39. package/dist/{daemon-service-manager-DfNO3Kcg.js → daemon-service-manager-Czw0fTZ4.js} +1 -1
  40. package/dist/{daemon-service-runtime-DNa-5J66.js → daemon-service-runtime-DUcGKzsi.js} +14 -14
  41. package/dist/{daemon-service-runtime-DNa-5J66.js.map → daemon-service-runtime-DUcGKzsi.js.map} +1 -1
  42. package/dist/{daemon-service-update-coordinator-BEySROGi.js → daemon-service-update-coordinator-XJbPHzcl.js} +19 -19
  43. package/dist/{daemon-service-update-coordinator-BEySROGi.js.map → daemon-service-update-coordinator-XJbPHzcl.js.map} +1 -1
  44. package/dist/{daemon-state-ecGzjsoG.js → daemon-state-DLzP-fC_.js} +3 -3
  45. package/dist/{daemon-state-ecGzjsoG.js.map → daemon-state-DLzP-fC_.js.map} +1 -1
  46. package/dist/{dispatch-owned-runtime-DrCWeXik.js → dispatch-owned-runtime-DC_586ks.js} +10 -10
  47. package/dist/{dispatch-owned-runtime-DrCWeXik.js.map → dispatch-owned-runtime-DC_586ks.js.map} +1 -1
  48. package/dist/{dist-CPhE1Two.js → dist-B5iixKPM.js} +62 -3
  49. package/dist/dist-B5iixKPM.js.map +1 -0
  50. package/dist/{dist-CQWxiR6S.js → dist-BfSAh6kk.js} +1 -1
  51. package/dist/{dist-kySFYjFj.js → dist-CPK1cD24.js} +1 -1
  52. package/dist/{dist-DzkBjPsq.js → dist-D7YYztTY.js} +15 -3
  53. package/dist/dist-D7YYztTY.js.map +1 -0
  54. package/dist/{dual-view-guide-catalog-DhO6eUiM.js → dual-view-guide-catalog-Vuvl8lxB.js} +3 -3
  55. package/dist/{dual-view-guide-catalog-DhO6eUiM.js.map → dual-view-guide-catalog-Vuvl8lxB.js.map} +1 -1
  56. package/dist/{elapsed-time-HSYHZrbD.js → elapsed-time-6YUXmg1E.js} +4 -4
  57. package/dist/{elapsed-time-HSYHZrbD.js.map → elapsed-time-6YUXmg1E.js.map} +1 -1
  58. package/dist/{entry-CpaLxIIt.js → entry-CZp5kRkk.js} +12 -12
  59. package/dist/{entry-CpaLxIIt.js.map → entry-CZp5kRkk.js.map} +1 -1
  60. package/dist/{installation-inventory-hGDy13xp.js → installation-inventory-D0nx9kfs.js} +4 -4
  61. package/dist/{installation-inventory-hGDy13xp.js.map → installation-inventory-D0nx9kfs.js.map} +1 -1
  62. package/dist/{installer-B0bxqhQ_.js → installer-vQe5qDlx.js} +2 -2
  63. package/dist/{installer-B0bxqhQ_.js.map → installer-vQe5qDlx.js.map} +1 -1
  64. package/dist/{lock-BN1rO-D-.js → lock-DShA302g.js} +3 -3
  65. package/dist/{lock-BN1rO-D-.js.map → lock-DShA302g.js.map} +1 -1
  66. package/dist/{meta-api-CEOa2GHg.js → meta-api-6A5s1td4.js} +7 -7
  67. package/dist/{meta-api-CEOa2GHg.js.map → meta-api-6A5s1td4.js.map} +1 -1
  68. package/dist/{openmeld-DwqWSjwM.js → openmeld-BaF0OZ74.js} +38 -38
  69. package/dist/{openmeld-DwqWSjwM.js.map → openmeld-BaF0OZ74.js.map} +1 -1
  70. package/dist/{openmeld-dev-environment-BqU3jlVt.js → openmeld-dev-environment-Dr4g4PNW.js} +2 -2
  71. package/dist/{openmeld-dev-environment-BqU3jlVt.js.map → openmeld-dev-environment-Dr4g4PNW.js.map} +1 -1
  72. package/dist/openmeld-dev.js +1 -1
  73. package/dist/{openmeld-environment-target-CoU3QM-7.js → openmeld-environment-target--bimgK8H.js} +2 -2
  74. package/dist/{openmeld-environment-target-CoU3QM-7.js.map → openmeld-environment-target--bimgK8H.js.map} +1 -1
  75. package/dist/{openmeld-maintenance-worker-C9VIgZe7.js → openmeld-maintenance-worker-8LlUrfpM.js} +14 -14
  76. package/dist/{openmeld-maintenance-worker-C9VIgZe7.js.map → openmeld-maintenance-worker-8LlUrfpM.js.map} +1 -1
  77. package/dist/{openmeld-tools-update-join-D0VMtNoZ.js → openmeld-tools-update-join-DZrSWJ3g.js} +4 -4
  78. package/dist/{openmeld-tools-update-join-D0VMtNoZ.js.map → openmeld-tools-update-join-DZrSWJ3g.js.map} +1 -1
  79. package/dist/{openmeld-tools-update-process-frame-B-iNw0De.js → openmeld-tools-update-process-frame-CKx5SAZi.js} +1 -1
  80. package/dist/{openmeld-tools-update-process-frame-BSOvRwcz.js → openmeld-tools-update-process-frame-Cur2KUTP.js} +2 -2
  81. package/dist/{openmeld-tools-update-process-frame-BSOvRwcz.js.map → openmeld-tools-update-process-frame-Cur2KUTP.js.map} +1 -1
  82. package/dist/openmeld.js +7 -7
  83. package/dist/{prepare-provider-runtime-JFFwKOaX.js → prepare-provider-runtime-BIHrlPtb.js} +16 -16
  84. package/dist/{prepare-provider-runtime-JFFwKOaX.js.map → prepare-provider-runtime-BIHrlPtb.js.map} +1 -1
  85. package/dist/{prepare-session-executor-Ck1ahQoB.js → prepare-session-executor-DWrIgNhD.js} +24 -24
  86. package/dist/{prepare-session-executor-Ck1ahQoB.js.map → prepare-session-executor-DWrIgNhD.js.map} +1 -1
  87. package/dist/{process-channel-BGsFbmj9.js → process-channel-C0MM-HBm.js} +2 -2
  88. package/dist/{process-channel-BGsFbmj9.js.map → process-channel-C0MM-HBm.js.map} +1 -1
  89. package/dist/{process-identity-CUAkapyW.js → process-identity-C1tKCeQs.js} +2 -2
  90. package/dist/{process-identity-CUAkapyW.js.map → process-identity-C1tKCeQs.js.map} +1 -1
  91. package/dist/{runtime-poyPQ70m.js → runtime-B6NPV7cu.js} +17 -17
  92. package/dist/{runtime-poyPQ70m.js.map → runtime-B6NPV7cu.js.map} +1 -1
  93. package/dist/{runtime-agent-controller-reporting-submission-CfgFIJKr.js → runtime-agent-controller-reporting-submission-CnndxVOY.js} +9 -9
  94. package/dist/{runtime-agent-controller-reporting-submission-CfgFIJKr.js.map → runtime-agent-controller-reporting-submission-CnndxVOY.js.map} +1 -1
  95. package/dist/{service-DlYGXab8.js → service-C4Rfy6bx.js} +29 -29
  96. package/dist/{service-DlYGXab8.js.map → service-C4Rfy6bx.js.map} +1 -1
  97. package/dist/{service-account-authorization-ndobeDYF.js → service-account-authorization-C5js6y1z.js} +5 -5
  98. package/dist/{service-account-authorization-ndobeDYF.js.map → service-account-authorization-C5js6y1z.js.map} +1 -1
  99. package/dist/{service-account-control-CRuBb_Uw.js → service-account-control-BfZbRJFW.js} +15 -15
  100. package/dist/{service-account-control-CRuBb_Uw.js.map → service-account-control-BfZbRJFW.js.map} +1 -1
  101. package/dist/{service-control-capabilities-Datkygf_.js → service-control-capabilities-BwXLV0Nz.js} +6 -6
  102. package/dist/{service-control-capabilities-Datkygf_.js.map → service-control-capabilities-BwXLV0Nz.js.map} +1 -1
  103. package/dist/{service-control-capabilities-D6YaFdEj.js → service-control-capabilities-CulpWrMK.js} +1 -1
  104. package/dist/{service-control-carrier-capability-BZkjMdrp.js → service-control-carrier-capability-BgcpQ843.js} +3 -3
  105. package/dist/{service-control-carrier-capability-BZkjMdrp.js.map → service-control-carrier-capability-BgcpQ843.js.map} +1 -1
  106. package/dist/{state-B3qJCRzL.js → state-BSDbYr52.js} +3 -3
  107. package/dist/{state-B3qJCRzL.js.map → state-BSDbYr52.js.map} +1 -1
  108. package/dist/{updates-api-Z3y5_kB2.js → updates-api-BfSMatAV.js} +14 -14
  109. package/dist/{updates-api-Z3y5_kB2.js.map → updates-api-BfSMatAV.js.map} +1 -1
  110. package/dist/{upgrade-CH32ctr-.js → upgrade-1A5mV1oc.js} +9 -9
  111. package/dist/{upgrade-CH32ctr-.js.map → upgrade-1A5mV1oc.js.map} +1 -1
  112. package/dist/upgrade-DvJVz5bc.js +4 -0
  113. package/dist/{windows-managed-install-C_01s3E9.js → windows-managed-install-DY503Opn.js} +2 -2
  114. package/dist/{windows-managed-install-C_01s3E9.js.map → windows-managed-install-DY503Opn.js.map} +1 -1
  115. package/dist/{windows-preview-channel-tjaaQvi1.js → windows-preview-channel-DnPJSpaD.js} +3 -3
  116. package/dist/{windows-preview-channel-tjaaQvi1.js.map → windows-preview-channel-DnPJSpaD.js.map} +1 -1
  117. package/dist/{windows-task-command-DfSWC5WF.js → windows-task-command-BhNvBjQ-.js} +2 -2
  118. package/dist/{windows-task-command-DfSWC5WF.js.map → windows-task-command-BhNvBjQ-.js.map} +1 -1
  119. package/dist/{windows-task-entry-CNHG6kVI.js → windows-task-entry-C0RgF7b_.js} +3 -3
  120. package/dist/{windows-task-entry-CNHG6kVI.js.map → windows-task-entry-C0RgF7b_.js.map} +1 -1
  121. package/dist/{windows-user-task-DjvrZWhN.js → windows-user-task-BklwFGVl.js} +6 -6
  122. package/dist/{windows-user-task-DjvrZWhN.js.map → windows-user-task-BklwFGVl.js.map} +1 -1
  123. package/dist/{windows-user-task-DITX-iuM.js → windows-user-task-Cl0xT62s.js} +1 -1
  124. package/package.json +11 -11
  125. package/skills/openmeld-cli/SKILL.md +11 -1
  126. package/skills/openmeld-cli/playbooks/computer.md +21 -0
  127. package/dist/api-client-foundation-BIYsNssD.js.map +0 -1
  128. package/dist/auth-session-CUu-vOqn.js +0 -4
  129. package/dist/dist-CPhE1Two.js.map +0 -1
  130. package/dist/dist-DzkBjPsq.js.map +0 -1
  131. package/dist/upgrade-DThz5Kbl.js +0 -4
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { t as ExecutionHostError } from "./channel-C_AttfQ8.js";
3
+ import { t as ExecutionHostError } from "./channel-CFWvWoEK.js";
4
4
  //#region src/local-service/execution-host/process-channel.ts
5
5
  function childExecutionHostChannel(child) {
6
6
  return {
@@ -61,4 +61,4 @@ function parentExecutionHostChannel() {
61
61
  //#endregion
62
62
  export { parentExecutionHostChannel as n, childExecutionHostChannel as t };
63
63
 
64
- //# sourceMappingURL=process-channel-BGsFbmj9.js.map
64
+ //# sourceMappingURL=process-channel-C0MM-HBm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"process-channel-BGsFbmj9.js","names":[],"sources":["../src/local-service/execution-host/process-channel.ts"],"sourcesContent":["import type { ChildProcess } from \"node:child_process\";\nimport type { ExecutionHostChannel } from \"./channel\";\nimport { ExecutionHostError } from \"./channel\";\n\n// Use inherited Node-compatible IPC with JSON serialization. Provider stdout is\n// not a protocol channel; ordinary logs cannot become control messages.\nexport function childExecutionHostChannel(\n child: ChildProcess\n): ExecutionHostChannel {\n return {\n connected: () => child.connected,\n send: (message, completed) => {\n child.send(message, (error) => completed(error ?? null));\n },\n onMessage: (listener) => {\n child.on(\"message\", listener);\n return () => {\n child.off(\"message\", listener);\n };\n },\n onDisconnect: (listener) => {\n let observed = false;\n const finish = (error?: Error) => {\n if (!observed) {\n observed = true;\n listener(error);\n }\n };\n const exited = (code: number | null, signal: NodeJS.Signals | null) => {\n finish(\n new Error(`Host process exited (${signal ?? code ?? \"unknown\"})`)\n );\n };\n child.on(\"disconnect\", finish);\n child.on(\"exit\", exited);\n // Spawn/send failures must not become unhandled EventEmitter errors.\n child.on(\"error\", finish);\n return () => {\n child.off(\"disconnect\", finish);\n child.off(\"exit\", exited);\n child.off(\"error\", finish);\n };\n },\n };\n}\n\nexport function parentExecutionHostChannel(): ExecutionHostChannel {\n const send = process.send?.bind(process);\n if (!(send && process.connected)) {\n throw new ExecutionHostError(\n \"host.inherited_channel_required\",\n \"The execution host requires its supervisor's inherited IPC channel.\"\n );\n }\n return {\n connected: () => process.connected === true,\n send: (message, completed) => {\n send(message, undefined, undefined, (error) => completed(error ?? null));\n },\n onMessage: (listener) => {\n process.on(\"message\", listener);\n return () => {\n process.off(\"message\", listener);\n };\n },\n onDisconnect: (listener) => {\n process.on(\"disconnect\", listener);\n return () => {\n process.off(\"disconnect\", listener);\n };\n },\n };\n}\n"],"mappings":";;;;AAMA,SAAgB,0BACd,OACsB;CACtB,OAAO;EACL,iBAAiB,MAAM;EACvB,OAAO,SAAS,cAAc;GAC5B,MAAM,KAAK,UAAU,UAAU,UAAU,SAAS,IAAI,CAAC;EACzD;EACA,YAAY,aAAa;GACvB,MAAM,GAAG,WAAW,QAAQ;GAC5B,aAAa;IACX,MAAM,IAAI,WAAW,QAAQ;GAC/B;EACF;EACA,eAAe,aAAa;GAC1B,IAAI,WAAW;GACf,MAAM,UAAU,UAAkB;IAChC,IAAI,CAAC,UAAU;KACb,WAAW;KACX,SAAS,KAAK;IAChB;GACF;GACA,MAAM,UAAU,MAAqB,WAAkC;IACrE,uBACE,IAAI,MAAM,wBAAwB,UAAU,QAAQ,UAAU,EAAE,CAClE;GACF;GACA,MAAM,GAAG,cAAc,MAAM;GAC7B,MAAM,GAAG,QAAQ,MAAM;GAEvB,MAAM,GAAG,SAAS,MAAM;GACxB,aAAa;IACX,MAAM,IAAI,cAAc,MAAM;IAC9B,MAAM,IAAI,QAAQ,MAAM;IACxB,MAAM,IAAI,SAAS,MAAM;GAC3B;EACF;CACF;AACF;AAEA,SAAgB,6BAAmD;CACjE,MAAM,OAAO,QAAQ,MAAM,KAAK,OAAO;CACvC,IAAI,EAAE,QAAQ,QAAQ,YACpB,MAAM,IAAI,mBACR,mCACA,qEACF;CAEF,OAAO;EACL,iBAAiB,QAAQ,cAAc;EACvC,OAAO,SAAS,cAAc;GAC5B,KAAK,SAAS,KAAA,GAAW,KAAA,IAAY,UAAU,UAAU,SAAS,IAAI,CAAC;EACzE;EACA,YAAY,aAAa;GACvB,QAAQ,GAAG,WAAW,QAAQ;GAC9B,aAAa;IACX,QAAQ,IAAI,WAAW,QAAQ;GACjC;EACF;EACA,eAAe,aAAa;GAC1B,QAAQ,GAAG,cAAc,QAAQ;GACjC,aAAa;IACX,QAAQ,IAAI,cAAc,QAAQ;GACpC;EACF;CACF;AACF"}
1
+ {"version":3,"file":"process-channel-C0MM-HBm.js","names":[],"sources":["../src/local-service/execution-host/process-channel.ts"],"sourcesContent":["import type { ChildProcess } from \"node:child_process\";\nimport type { ExecutionHostChannel } from \"./channel\";\nimport { ExecutionHostError } from \"./channel\";\n\n// Use inherited Node-compatible IPC with JSON serialization. Provider stdout is\n// not a protocol channel; ordinary logs cannot become control messages.\nexport function childExecutionHostChannel(\n child: ChildProcess\n): ExecutionHostChannel {\n return {\n connected: () => child.connected,\n send: (message, completed) => {\n child.send(message, (error) => completed(error ?? null));\n },\n onMessage: (listener) => {\n child.on(\"message\", listener);\n return () => {\n child.off(\"message\", listener);\n };\n },\n onDisconnect: (listener) => {\n let observed = false;\n const finish = (error?: Error) => {\n if (!observed) {\n observed = true;\n listener(error);\n }\n };\n const exited = (code: number | null, signal: NodeJS.Signals | null) => {\n finish(\n new Error(`Host process exited (${signal ?? code ?? \"unknown\"})`)\n );\n };\n child.on(\"disconnect\", finish);\n child.on(\"exit\", exited);\n // Spawn/send failures must not become unhandled EventEmitter errors.\n child.on(\"error\", finish);\n return () => {\n child.off(\"disconnect\", finish);\n child.off(\"exit\", exited);\n child.off(\"error\", finish);\n };\n },\n };\n}\n\nexport function parentExecutionHostChannel(): ExecutionHostChannel {\n const send = process.send?.bind(process);\n if (!(send && process.connected)) {\n throw new ExecutionHostError(\n \"host.inherited_channel_required\",\n \"The execution host requires its supervisor's inherited IPC channel.\"\n );\n }\n return {\n connected: () => process.connected === true,\n send: (message, completed) => {\n send(message, undefined, undefined, (error) => completed(error ?? null));\n },\n onMessage: (listener) => {\n process.on(\"message\", listener);\n return () => {\n process.off(\"message\", listener);\n };\n },\n onDisconnect: (listener) => {\n process.on(\"disconnect\", listener);\n return () => {\n process.off(\"disconnect\", listener);\n };\n },\n };\n}\n"],"mappings":";;;;AAMA,SAAgB,0BACd,OACsB;CACtB,OAAO;EACL,iBAAiB,MAAM;EACvB,OAAO,SAAS,cAAc;GAC5B,MAAM,KAAK,UAAU,UAAU,UAAU,SAAS,IAAI,CAAC;EACzD;EACA,YAAY,aAAa;GACvB,MAAM,GAAG,WAAW,QAAQ;GAC5B,aAAa;IACX,MAAM,IAAI,WAAW,QAAQ;GAC/B;EACF;EACA,eAAe,aAAa;GAC1B,IAAI,WAAW;GACf,MAAM,UAAU,UAAkB;IAChC,IAAI,CAAC,UAAU;KACb,WAAW;KACX,SAAS,KAAK;IAChB;GACF;GACA,MAAM,UAAU,MAAqB,WAAkC;IACrE,uBACE,IAAI,MAAM,wBAAwB,UAAU,QAAQ,UAAU,EAAE,CAClE;GACF;GACA,MAAM,GAAG,cAAc,MAAM;GAC7B,MAAM,GAAG,QAAQ,MAAM;GAEvB,MAAM,GAAG,SAAS,MAAM;GACxB,aAAa;IACX,MAAM,IAAI,cAAc,MAAM;IAC9B,MAAM,IAAI,QAAQ,MAAM;IACxB,MAAM,IAAI,SAAS,MAAM;GAC3B;EACF;CACF;AACF;AAEA,SAAgB,6BAAmD;CACjE,MAAM,OAAO,QAAQ,MAAM,KAAK,OAAO;CACvC,IAAI,EAAE,QAAQ,QAAQ,YACpB,MAAM,IAAI,mBACR,mCACA,qEACF;CAEF,OAAO;EACL,iBAAiB,QAAQ,cAAc;EACvC,OAAO,SAAS,cAAc;GAC5B,KAAK,SAAS,KAAA,GAAW,KAAA,IAAY,UAAU,UAAU,SAAS,IAAI,CAAC;EACzE;EACA,YAAY,aAAa;GACvB,QAAQ,GAAG,WAAW,QAAQ;GAC9B,aAAa;IACX,QAAQ,IAAI,WAAW,QAAQ;GACjC;EACF;EACA,eAAe,aAAa;GAC1B,QAAQ,GAAG,cAAc,QAAQ;GACjC,aAAa;IACX,QAAQ,IAAI,cAAc,QAAQ;GACpC;EACF;CACF;AACF"}
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Ia as windowsNativeProcessRequestSchema, TP as WINDOWS_PROCESS_HELPER_FILENAME } from "./dist-CPhE1Two.js";
3
+ import { Ia as windowsNativeProcessRequestSchema, TP as WINDOWS_PROCESS_HELPER_FILENAME } from "./dist-B5iixKPM.js";
4
4
  import { n as normalizeCommandEnvironment } from "./process-environment-BWSFeUu6.js";
5
5
  import { win32 } from "node:path";
6
6
  import { execFile, execFileSync } from "node:child_process";
@@ -155,4 +155,4 @@ function isNodeError(error, code) {
155
155
  //#endregion
156
156
  export { activateWindowsManagedCommand as a, readWindowsProcessStartFileTime as c, resolveWindowsNativeProcessHelper as d, readProcessStartIdentity as i, resolveWindowsPowerShellPath as l, isPreciseProcessStartIdentity as n, powerShellEncodedArguments as o, isProcessIdentityAlive as r, pruneWindowsBinaryBundle as s, CURRENT_PROCESS_START_IDENTITY as t, WINDOWS_NATIVE_PROCESS_REQUEST_ENV as u };
157
157
 
158
- //# sourceMappingURL=process-identity-CUAkapyW.js.map
158
+ //# sourceMappingURL=process-identity-C1tKCeQs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"process-identity-CUAkapyW.js","names":[],"sources":["../../../runtime/adapters/core/dist/windows-native-process.js","../../../runtime/adapters/core/dist/windows-system.js","../src/system/process-identity.ts"],"sourcesContent":["import { dirname, join } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { WINDOWS_PROCESS_HELPER_FILENAME } from \"@openmeld/schemas\";\nexport const WINDOWS_NATIVE_PROCESS_REQUEST_ENV = \"OPENMELD_NATIVE_JOB_REQUEST\";\nexport function resolveWindowsNativeProcessHelper() {\n const binary = typeof __OPENMELD_DISTRIBUTION__ !== \"undefined\" &&\n __OPENMELD_DISTRIBUTION__ === \"binary\";\n return binary\n ? join(dirname(process.execPath), WINDOWS_PROCESS_HELPER_FILENAME)\n : fileURLToPath(\n // Both src/ (workspace tests) and dist/ (installed code) share this\n // package-owned build output. Never search another installation.\n new URL(`../dist/windows/${WINDOWS_PROCESS_HELPER_FILENAME}`, import.meta.url));\n}\n","import { execFile, execFileSync } from \"node:child_process\";\nimport { win32 } from \"node:path\";\nimport { promisify } from \"node:util\";\nimport { windowsNativeProcessRequestSchema } from \"@openmeld/schemas\";\nimport { normalizeCommandEnvironment } from \"./process-environment.js\";\nimport { resolveWindowsNativeProcessHelper, WINDOWS_NATIVE_PROCESS_REQUEST_ENV, } from \"./windows-native-process.js\";\nexport function resolveWindowsPowerShellPath(env = process.env) {\n const source = normalizeCommandEnvironment(env, \"win32\");\n const root = source.SystemRoot ?? source.WINDIR;\n if (!(root && win32.isAbsolute(root))) {\n throw new Error(\"Windows system directory is unavailable.\");\n }\n return win32.join(root, \"System32\", \"WindowsPowerShell\", \"v1.0\", \"powershell.exe\");\n}\nexport function powerShellEncodedArguments(script) {\n return [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-EncodedCommand\",\n Buffer.from(script, \"utf16le\").toString(\"base64\"),\n ];\n}\nconst FILE_TIME_PATTERN = /^\\d{10,20}$/u;\n// Keep native identity reads bounded; an unavailable identity fails admission.\nconst PROCESS_IDENTITY_TIMEOUT_MS = 15_000;\nlet currentProcessFileTime;\nexport async function activateWindowsManagedCommand(binDirectory) {\n const request = windowsNativeProcessRequestSchema.parse({\n operation: \"activate-managed-command\",\n binDirectory,\n });\n const { stdout } = await promisify(execFile)(resolveWindowsNativeProcessHelper(), [], {\n env: {\n ...process.env,\n [WINDOWS_NATIVE_PROCESS_REQUEST_ENV]: Buffer.from(JSON.stringify(request), \"utf8\").toString(\"base64\"),\n },\n encoding: \"utf8\",\n windowsHide: true,\n timeout: 15_000,\n maxBuffer: 4096,\n });\n const result = stdout.trim();\n if (result !== \"activated\" && result !== \"already_active\") {\n throw new Error(\"Windows returned an invalid command activation receipt.\");\n }\n return result;\n}\n/** Kernel sharing rules keep a live CLI and its helper together during pruning. */\nexport async function pruneWindowsBinaryBundle(directory) {\n const request = windowsNativeProcessRequestSchema.parse({\n operation: \"prune-binary-bundle\",\n directory,\n });\n const { stdout } = await promisify(execFile)(resolveWindowsNativeProcessHelper(), [], {\n env: {\n ...process.env,\n [WINDOWS_NATIVE_PROCESS_REQUEST_ENV]: Buffer.from(JSON.stringify(request), \"utf8\").toString(\"base64\"),\n },\n encoding: \"utf8\",\n windowsHide: true,\n timeout: 15_000,\n maxBuffer: 4096,\n });\n const result = stdout.trim();\n if (result !== \"removed\" &&\n result !== \"absent\" &&\n result !== \"in_use\" &&\n result !== \"unrecognized\") {\n throw new Error(\"Windows returned an invalid managed-version cleanup receipt.\");\n }\n return result;\n}\n/** An opened process handle binds the observation to the actual instance, not a reused PID. */\nexport function readWindowsProcessStartFileTime(pid) {\n if (!(Number.isSafeInteger(pid) && pid > 0)) {\n return null;\n }\n if (pid === process.pid && currentProcessFileTime) {\n return currentProcessFileTime;\n }\n const request = windowsNativeProcessRequestSchema.parse({\n operation: \"identity\",\n pid,\n });\n try {\n const output = execFileSync(resolveWindowsNativeProcessHelper(), [], {\n env: {\n ...process.env,\n [WINDOWS_NATIVE_PROCESS_REQUEST_ENV]: Buffer.from(JSON.stringify(request), \"utf8\").toString(\"base64\"),\n },\n encoding: \"utf8\",\n windowsHide: true,\n timeout: PROCESS_IDENTITY_TIMEOUT_MS,\n maxBuffer: 1024,\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n }).trim();\n if (!FILE_TIME_PATTERN.test(output)) {\n return null;\n }\n if (pid === process.pid) {\n currentProcessFileTime = output;\n }\n return output;\n }\n catch {\n return null;\n }\n}\n","import { execFileSync } from \"node:child_process\";\nimport { readWindowsProcessStartFileTime } from \"@openmeld/adapter-core/windows-system\";\n\nconst WINDOWS_PROCESS_IDENTITY_PATTERN = /^win32:\\d{10,20}$/u;\n\nexport function isPreciseProcessStartIdentity(value: unknown): value is string {\n return (\n typeof value === \"string\" &&\n ((value.startsWith(\"ps:\") && value.length > 3) ||\n WINDOWS_PROCESS_IDENTITY_PATTERN.test(value))\n );\n}\n\nexport const CURRENT_PROCESS_START_IDENTITY =\n readProcessStartIdentity(process.pid) ??\n `fallback:${process.pid}:${Math.floor(Date.now() - process.uptime() * 1000)}`;\n\nexport function isProcessIdentityAlive(\n input: { ownerPid: number; ownerProcessStartedAt: string },\n platform: NodeJS.Platform = process.platform\n): boolean {\n if (!isProcessAlive(input.ownerPid)) {\n return false;\n }\n const observedIdentity = readProcessStartIdentity(input.ownerPid, platform);\n if (\n isPreciseProcessStartIdentity(observedIdentity) &&\n isPreciseProcessStartIdentity(input.ownerProcessStartedAt) &&\n observedIdentity.split(\":\", 1)[0] ===\n input.ownerProcessStartedAt.split(\":\", 1)[0]\n ) {\n return observedIdentity === input.ownerProcessStartedAt;\n }\n // Fail closed when a live process cannot be identified precisely. A caller\n // may recover only after it can prove that the transition owner has exited.\n return true;\n}\n\nexport function readProcessStartIdentity(\n pid: number,\n platform: NodeJS.Platform = process.platform\n): string | null {\n if (!(Number.isSafeInteger(pid) && pid > 0)) {\n return null;\n }\n if (platform === \"win32\") {\n const created = readWindowsProcessStartFileTime(pid);\n return created === null ? null : `win32:${created}`;\n }\n try {\n const output = execFileSync(\"ps\", [\"-o\", \"lstart=\", \"-p\", String(pid)], {\n encoding: \"utf8\",\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n timeout: 1000,\n windowsHide: true,\n }).trim();\n return output.length > 0 ? `ps:${output}` : null;\n } catch {\n return null;\n }\n}\n\nfunction isProcessAlive(pid: number): boolean {\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return !isNodeError(error, \"ESRCH\");\n }\n}\n\nfunction isNodeError(error: unknown, code: string): boolean {\n return (\n error instanceof Error && \"code\" in error && String(error.code) === code\n );\n}\n"],"mappings":";;;;;;;;;AAGA,MAAa,qCAAqC;AAClD,SAAgB,oCAAoC;CAGhD,OAEM,cAGF,IAAI,IAAI,mBAAmB,mCAAmC,OAAO,KAAK,GAAG,CAAC;AACtF;;;ACPA,SAAgB,6BAA6B,MAAM,QAAQ,KAAK;CAC5D,MAAM,SAAS,4BAA4B,KAAK,OAAO;CACvD,MAAM,OAAO,OAAO,cAAc,OAAO;CACzC,IAAI,EAAE,QAAQ,MAAM,WAAW,IAAI,IAC/B,MAAM,IAAI,MAAM,0CAA0C;CAE9D,OAAO,MAAM,KAAK,MAAM,YAAY,qBAAqB,QAAQ,gBAAgB;AACrF;AACA,SAAgB,2BAA2B,QAAQ;CAC/C,OAAO;EACH;EACA;EACA;EACA;EACA,OAAO,KAAK,QAAQ,SAAS,CAAC,CAAC,SAAS,QAAQ;CACpD;AACJ;AACA,MAAM,oBAAoB;AAE1B,MAAM,8BAA8B;AACpC,IAAI;AACJ,eAAsB,8BAA8B,cAAc;CAC9D,MAAM,UAAU,kCAAkC,MAAM;EACpD,WAA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CAAC,CAAC,CAAC,KAAK;EACR,OAAO,OAAO,SAAS,IAAI,MAAM,WAAW;CAC9C,QAAQ;EACN,OAAO;CACT;AACF;AAEA,SAAS,eAAe,KAAsB;CAC5C,IAAI;EACF,QAAQ,KAAK,KAAK,CAAC;EACnB,OAAO;CACT,SAAS,OAAO;EACd,OAAO,CAAC,YAAY,OAAO,OAAO;CACpC;AACF;AAEA,SAAS,YAAY,OAAgB,MAAuB;CAC1D,OACE,iBAAiB,SAAS,UAAU,SAAS,OAAO,MAAM,IAAI,MAAM;AAExE"}
1
+ {"version":3,"file":"process-identity-C1tKCeQs.js","names":[],"sources":["../../../runtime/adapters/core/dist/windows-native-process.js","../../../runtime/adapters/core/dist/windows-system.js","../src/system/process-identity.ts"],"sourcesContent":["import { dirname, join } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { WINDOWS_PROCESS_HELPER_FILENAME } from \"@openmeld/schemas\";\nexport const WINDOWS_NATIVE_PROCESS_REQUEST_ENV = \"OPENMELD_NATIVE_JOB_REQUEST\";\nexport function resolveWindowsNativeProcessHelper() {\n const binary = typeof __OPENMELD_DISTRIBUTION__ !== \"undefined\" &&\n __OPENMELD_DISTRIBUTION__ === \"binary\";\n return binary\n ? join(dirname(process.execPath), WINDOWS_PROCESS_HELPER_FILENAME)\n : fileURLToPath(\n // Both src/ (workspace tests) and dist/ (installed code) share this\n // package-owned build output. Never search another installation.\n new URL(`../dist/windows/${WINDOWS_PROCESS_HELPER_FILENAME}`, import.meta.url));\n}\n","import { execFile, execFileSync } from \"node:child_process\";\nimport { win32 } from \"node:path\";\nimport { promisify } from \"node:util\";\nimport { windowsNativeProcessRequestSchema } from \"@openmeld/schemas\";\nimport { normalizeCommandEnvironment } from \"./process-environment.js\";\nimport { resolveWindowsNativeProcessHelper, WINDOWS_NATIVE_PROCESS_REQUEST_ENV, } from \"./windows-native-process.js\";\nexport function resolveWindowsPowerShellPath(env = process.env) {\n const source = normalizeCommandEnvironment(env, \"win32\");\n const root = source.SystemRoot ?? source.WINDIR;\n if (!(root && win32.isAbsolute(root))) {\n throw new Error(\"Windows system directory is unavailable.\");\n }\n return win32.join(root, \"System32\", \"WindowsPowerShell\", \"v1.0\", \"powershell.exe\");\n}\nexport function powerShellEncodedArguments(script) {\n return [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-EncodedCommand\",\n Buffer.from(script, \"utf16le\").toString(\"base64\"),\n ];\n}\nconst FILE_TIME_PATTERN = /^\\d{10,20}$/u;\n// Keep native identity reads bounded; an unavailable identity fails admission.\nconst PROCESS_IDENTITY_TIMEOUT_MS = 15_000;\nlet currentProcessFileTime;\nexport async function activateWindowsManagedCommand(binDirectory) {\n const request = windowsNativeProcessRequestSchema.parse({\n operation: \"activate-managed-command\",\n binDirectory,\n });\n const { stdout } = await promisify(execFile)(resolveWindowsNativeProcessHelper(), [], {\n env: {\n ...process.env,\n [WINDOWS_NATIVE_PROCESS_REQUEST_ENV]: Buffer.from(JSON.stringify(request), \"utf8\").toString(\"base64\"),\n },\n encoding: \"utf8\",\n windowsHide: true,\n timeout: 15_000,\n maxBuffer: 4096,\n });\n const result = stdout.trim();\n if (result !== \"activated\" && result !== \"already_active\") {\n throw new Error(\"Windows returned an invalid command activation receipt.\");\n }\n return result;\n}\n/** Kernel sharing rules keep a live CLI and its helper together during pruning. */\nexport async function pruneWindowsBinaryBundle(directory) {\n const request = windowsNativeProcessRequestSchema.parse({\n operation: \"prune-binary-bundle\",\n directory,\n });\n const { stdout } = await promisify(execFile)(resolveWindowsNativeProcessHelper(), [], {\n env: {\n ...process.env,\n [WINDOWS_NATIVE_PROCESS_REQUEST_ENV]: Buffer.from(JSON.stringify(request), \"utf8\").toString(\"base64\"),\n },\n encoding: \"utf8\",\n windowsHide: true,\n timeout: 15_000,\n maxBuffer: 4096,\n });\n const result = stdout.trim();\n if (result !== \"removed\" &&\n result !== \"absent\" &&\n result !== \"in_use\" &&\n result !== \"unrecognized\") {\n throw new Error(\"Windows returned an invalid managed-version cleanup receipt.\");\n }\n return result;\n}\n/** An opened process handle binds the observation to the actual instance, not a reused PID. */\nexport function readWindowsProcessStartFileTime(pid) {\n if (!(Number.isSafeInteger(pid) && pid > 0)) {\n return null;\n }\n if (pid === process.pid && currentProcessFileTime) {\n return currentProcessFileTime;\n }\n const request = windowsNativeProcessRequestSchema.parse({\n operation: \"identity\",\n pid,\n });\n try {\n const output = execFileSync(resolveWindowsNativeProcessHelper(), [], {\n env: {\n ...process.env,\n [WINDOWS_NATIVE_PROCESS_REQUEST_ENV]: Buffer.from(JSON.stringify(request), \"utf8\").toString(\"base64\"),\n },\n encoding: \"utf8\",\n windowsHide: true,\n timeout: PROCESS_IDENTITY_TIMEOUT_MS,\n maxBuffer: 1024,\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n }).trim();\n if (!FILE_TIME_PATTERN.test(output)) {\n return null;\n }\n if (pid === process.pid) {\n currentProcessFileTime = output;\n }\n return output;\n }\n catch {\n return null;\n }\n}\n","import { execFileSync } from \"node:child_process\";\nimport { readWindowsProcessStartFileTime } from \"@openmeld/adapter-core/windows-system\";\n\nconst WINDOWS_PROCESS_IDENTITY_PATTERN = /^win32:\\d{10,20}$/u;\n\nexport function isPreciseProcessStartIdentity(value: unknown): value is string {\n return (\n typeof value === \"string\" &&\n ((value.startsWith(\"ps:\") && value.length > 3) ||\n WINDOWS_PROCESS_IDENTITY_PATTERN.test(value))\n );\n}\n\nexport const CURRENT_PROCESS_START_IDENTITY =\n readProcessStartIdentity(process.pid) ??\n `fallback:${process.pid}:${Math.floor(Date.now() - process.uptime() * 1000)}`;\n\nexport function isProcessIdentityAlive(\n input: { ownerPid: number; ownerProcessStartedAt: string },\n platform: NodeJS.Platform = process.platform\n): boolean {\n if (!isProcessAlive(input.ownerPid)) {\n return false;\n }\n const observedIdentity = readProcessStartIdentity(input.ownerPid, platform);\n if (\n isPreciseProcessStartIdentity(observedIdentity) &&\n isPreciseProcessStartIdentity(input.ownerProcessStartedAt) &&\n observedIdentity.split(\":\", 1)[0] ===\n input.ownerProcessStartedAt.split(\":\", 1)[0]\n ) {\n return observedIdentity === input.ownerProcessStartedAt;\n }\n // Fail closed when a live process cannot be identified precisely. A caller\n // may recover only after it can prove that the transition owner has exited.\n return true;\n}\n\nexport function readProcessStartIdentity(\n pid: number,\n platform: NodeJS.Platform = process.platform\n): string | null {\n if (!(Number.isSafeInteger(pid) && pid > 0)) {\n return null;\n }\n if (platform === \"win32\") {\n const created = readWindowsProcessStartFileTime(pid);\n return created === null ? null : `win32:${created}`;\n }\n try {\n const output = execFileSync(\"ps\", [\"-o\", \"lstart=\", \"-p\", String(pid)], {\n encoding: \"utf8\",\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n timeout: 1000,\n windowsHide: true,\n }).trim();\n return output.length > 0 ? `ps:${output}` : null;\n } catch {\n return null;\n }\n}\n\nfunction isProcessAlive(pid: number): boolean {\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return !isNodeError(error, \"ESRCH\");\n }\n}\n\nfunction isNodeError(error: unknown, code: string): boolean {\n return (\n error instanceof Error && \"code\" in error && String(error.code) === code\n );\n}\n"],"mappings":";;;;;;;;;AAGA,MAAa,qCAAqC;AAClD,SAAgB,oCAAoC;CAGhD,OAEM,cAGF,IAAI,IAAI,mBAAmB,mCAAmC,OAAO,KAAK,GAAG,CAAC;AACtF;;;ACPA,SAAgB,6BAA6B,MAAM,QAAQ,KAAK;CAC5D,MAAM,SAAS,4BAA4B,KAAK,OAAO;CACvD,MAAM,OAAO,OAAO,cAAc,OAAO;CACzC,IAAI,EAAE,QAAQ,MAAM,WAAW,IAAI,IAC/B,MAAM,IAAI,MAAM,0CAA0C;CAE9D,OAAO,MAAM,KAAK,MAAM,YAAY,qBAAqB,QAAQ,gBAAgB;AACrF;AACA,SAAgB,2BAA2B,QAAQ;CAC/C,OAAO;EACH;EACA;EACA;EACA;EACA,OAAO,KAAK,QAAQ,SAAS,CAAC,CAAC,SAAS,QAAQ;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AAa,MAAM;GAAC;GAAM;GAAW;GAAM,OAAO,GAAG;EAAC,GAAG;GACtE,UAAU;GACV,OAAO;IAAC;IAAU;IAAQ;GAAQ;GAClC,SAAS;GACT,aAAa;EACf,CAAC,CAAC,CAAC,KAAK;EACR,OAAO,OAAO,SAAS,IAAI,MAAM,WAAW;CAC9C,QAAQ;EACN,OAAO;CACT;AACF;AAEA,SAAS,eAAe,KAAsB;CAC5C,IAAI;EACF,QAAQ,KAAK,KAAK,CAAC;EACnB,OAAO;CACT,SAAS,OAAO;EACd,OAAO,CAAC,YAAY,OAAO,OAAO;CACpC;AACF;AAEA,SAAS,YAAY,OAAgB,MAAuB;CAC1D,OACE,iBAAiB,SAAS,UAAU,SAAS,OAAO,MAAM,IAAI,MAAM;AAExE"}
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $t as createPendingAgentInteractionRegistry, Bn as appendLedgerHistoryEntry, Bt as createMutableRouteCatalogState, Cn as resolveInstalledCodexLaunchCandidates, Dn as verifyCodexAppServerThread, E as resolveProfileWorkspaceRuntime, En as resolveCodexAppServerCompletedTurn, Gn as seedLegacyAgentContext, Gt as normalizeDispatchThreadAction, H as setAgentRegistrationEnabled, Hn as loadLedgerState, Ht as replaceMutableRouteCatalogState, In as DaemonServiceRunError, Jn as withLedgerStateTransaction, Jt as SPACE_ACTION_TARGET_GUIDANCE_LINES, Kn as settleInflightTask, Kt as syncRuntimeEventToInflightTaskControlRegistry, L as manageAgentRegistrationInstallation, Ln as runRuntimeTask, Or as renderTaskKnowledgeIndex, Q as canManageRegistryAgentSkillTargets, Qt as normalizeDispatchPostMessageAction, Rn as buildRuntimeWorkspaceFingerprint, Sn as resolveCodexTimeoutMs, Un as removeConversationExecutionState, Vn as commitResolvedAgentContext, Vt as createRouteCatalogFromMutableState, Wn as resolveConversationExecutionStateByLookupKey, Xn as assertLegacyAgentContextAssociation, Xt as createSerialAgentInteractionCallback, Zn as buildAgentContextLookupKey, _ as loadDaemonRouteCatalog, _n as resolveInstalledOpenCodeLaunchCandidates, a as buildOpenClawSpaceSessionKey, an as resolveDispatchQueueLogMeta, b as resolveLocalController, cn as resolveCompatibleConversationExecutionState, cr as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, dn as createLocalAdapterContainer, en as mergeOpenClawGatewayVisibility, et as resolveSkillsAgentRegistry, fn as createLocalAdapterEntries, ft as listProjectBindings, g as writeDaemonRouteCatalogCache, h as readDaemonRouteCatalogCache, hn as forkOpenCodeServerSession, in as createInflightTaskControlRegistry, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, ln as resolveLatestScopedConversationExecutionState, lr as TASK_KNOWLEDGE_GUIDANCE, nt as resolveBuiltinAgentControllerDefinition, o as normalizeOpenClawSpaceIdPrefix, on as resolveDispatchContinuityObservation, or as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV, pt as listProjectConnectionsWithStatus, qn as upsertConversationExecutionState, qt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, rn as createLocalExecutionSlots, s as slugifyOpenClawNamePart, sn as resolveCompatibleAgentContextMatch, t as prepareProviderRuntime, tn as createLocalTaskInterruptSender, v as buildRuntimeRouteTargets, w as resolveCurrentEffectiveProfileWorkingFolderRuntime, wn as forkCodexAppServerThread, x as resolveLocalRuntimeControllerSupport, y as readLocalEnabledControllers, zn as buildTaskResultEnvelope } from "./prepare-provider-runtime-JFFwKOaX.js";
3
+ import { $t as createPendingAgentInteractionRegistry, Bn as appendLedgerHistoryEntry, Bt as createMutableRouteCatalogState, Cn as resolveInstalledCodexLaunchCandidates, Dn as verifyCodexAppServerThread, E as resolveProfileWorkspaceRuntime, En as resolveCodexAppServerCompletedTurn, Gn as seedLegacyAgentContext, Gt as normalizeDispatchThreadAction, H as setAgentRegistrationEnabled, Hn as loadLedgerState, Ht as replaceMutableRouteCatalogState, In as DaemonServiceRunError, Jn as withLedgerStateTransaction, Jt as SPACE_ACTION_TARGET_GUIDANCE_LINES, Kn as settleInflightTask, Kt as syncRuntimeEventToInflightTaskControlRegistry, L as manageAgentRegistrationInstallation, Ln as runRuntimeTask, Or as renderTaskKnowledgeIndex, Q as canManageRegistryAgentSkillTargets, Qt as normalizeDispatchPostMessageAction, Rn as buildRuntimeWorkspaceFingerprint, Sn as resolveCodexTimeoutMs, Un as removeConversationExecutionState, Vn as commitResolvedAgentContext, Vt as createRouteCatalogFromMutableState, Wn as resolveConversationExecutionStateByLookupKey, Xn as assertLegacyAgentContextAssociation, Xt as createSerialAgentInteractionCallback, Zn as buildAgentContextLookupKey, _ as loadDaemonRouteCatalog, _n as resolveInstalledOpenCodeLaunchCandidates, a as buildOpenClawSpaceSessionKey, an as resolveDispatchQueueLogMeta, b as resolveLocalController, cn as resolveCompatibleConversationExecutionState, cr as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, dn as createLocalAdapterContainer, en as mergeOpenClawGatewayVisibility, et as resolveSkillsAgentRegistry, fn as createLocalAdapterEntries, ft as listProjectBindings, g as writeDaemonRouteCatalogCache, h as readDaemonRouteCatalogCache, hn as forkOpenCodeServerSession, in as createInflightTaskControlRegistry, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, ln as resolveLatestScopedConversationExecutionState, lr as TASK_KNOWLEDGE_GUIDANCE, nt as resolveBuiltinAgentControllerDefinition, o as normalizeOpenClawSpaceIdPrefix, on as resolveDispatchContinuityObservation, or as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV, pt as listProjectConnectionsWithStatus, qn as upsertConversationExecutionState, qt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, rn as createLocalExecutionSlots, s as slugifyOpenClawNamePart, sn as resolveCompatibleAgentContextMatch, t as prepareProviderRuntime, tn as createLocalTaskInterruptSender, v as buildRuntimeRouteTargets, w as resolveCurrentEffectiveProfileWorkingFolderRuntime, wn as forkCodexAppServerThread, x as resolveLocalRuntimeControllerSupport, y as readLocalEnabledControllers, zn as buildTaskResultEnvelope } from "./prepare-provider-runtime-BIHrlPtb.js";
4
4
  import { F as resolveOpenMeldRootDir } from "./paths-De9xdA2h.js";
5
- import { $x as runtimeTransportDispatchReasoningRequestSchema, Bk as localAgentReasoningPreferencesSchema, CS as runtimeTransportResumeControllerConversationFramePayloadSchema, FF as normalizeKnownBuiltinAgentControllerId, FO as agentInteractionResolutionSchema, GS as runtimeTransportSubmitTaskResultRequestSchema, Gx as runtimeTransportDispatchInteractionResponseFramePayloadSchema, Hx as runtimeTransportDeliverDispatchRequestSchema, IE as buildAgentControllerConversationRef, Jx as runtimeTransportDispatchLifecycleRequestSchema, Kx as runtimeTransportDispatchLifecycleAcknowledgementSchema, PO as agentInteractionRequestSchema, Qx as runtimeTransportDispatchProgressRequestSchema, RE as resolveBuiltinAgentControllerConversationKind, Rk as LOCAL_AGENT_REASONING_MAX_CHARS, Sk as runtimeTransportDeliveryExecutionIdentitySchema, TO as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Ux as runtimeTransportDispatchInteractionDeliveredRequestSchema, Wx as runtimeTransportDispatchInteractionRequestSchema, Xx as runtimeTransportDispatchPreviewEndRequestSchema, Zx as runtimeTransportDispatchPreviewRequestSchema, aP as toCompatibleSpaceAddressingRequestWireValue, aS as runtimeTransportForkAgentSessionResultSchema, bu as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, cT as spaceWorkSelectionSchema, ck as runtimeCoordinatorExecutionTokenEnvelopeSchema, dS as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, f as serviceExecutionHostCatalogSchema, fE as providerDispatchRuntimeContextSchema, fS as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, hT as OPENMELD_DAEMON_CANCEL_WITHDRAWN_BEFORE_START_REASON_CODE, lS as runtimeTransportLocalAgentControlCancelFramePayloadSchema, mS as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, mT as OPENMELD_DAEMON_CANCEL_STOP_REQUESTED_AFTER_START_REASON_CODE, my as OFFICIAL_CLI_SKILL_URL, r as buildWorkingFolderRecoveryQuestion, rC as openMeldDaemonTaskResultPayloadSchema, rS as runtimeTransportDispatchToolActivityRequestSchema, t as WORKING_FOLDER_RECOVERY_DECLINED, tM as COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE, tS as runtimeTransportDispatchRuntimeEvidenceRequestSchema, u as SERVICE_EXECUTION_HOST_PROTOCOL, uS as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, wS as runtimeTransportResumeControllerConversationResultFramePayloadSchema, wy as agentExecutionSteerResponseSchema, zL as normalizeOptionalWorkingDirectory } from "./dist-CPhE1Two.js";
6
- import { a as resolveBaseUrl, f as getConfiguredDaemonDispatchLimits, g as getConfiguredSkillsConfig } from "./base-url-DisEwU-t.js";
7
- import { Nt as buildSpaceAttachmentDownloadPath, bn as createSpaceApi, cn as createOrganizationSkillsApi } from "./dist-DzkBjPsq.js";
8
- import { d as getAuthSessionState } from "./auth-session-CQBxmN9k.js";
9
- import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-BIYsNssD.js";
10
- import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-Bpkc8qjM.js";
11
- import { S as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, _ as toErrorMessage$2, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, u as normalizeOptionalText$3, v as warnDaemonEvent } from "./daemon-device-id-DEKtVdHO.js";
12
- import { F as SPACE_COLLABORATION_CONTEXT_RULE, I as SPACE_PERSONAL_CONTRIBUTION_RULE, X as resolvePublicAgentFailureReason, Z as resolveSpacePublicationRequirement } from "./dual-view-guide-catalog-DhO6eUiM.js";
13
- import { $t as createDispatchContinuationSpaceAccessContext, C as recordOpenMeldCreatedLocalAgentSession, D as readOpenCodeSessionRows, J as consumeArmedAgentControllerInterfaceReprobe, Yt as buildSpaceRoundSignalPublication, _ as sendDaemonFrame$1, _t as resolveBootstrapSpaceOwnerProfileId, an as getSpaceAccessPassword, at as emitDaemonDispatchJournalEvent, c as createDispatchSpaceActionContext, ct as readComputerFileAccessPolicy, d as readDispatchSpaceActionRecord, dt as isSameOrDescendantPath, f as supersedeDispatchSpaceActionRecordForReconsideration, ft as buildDispatchBootstrapTemplateFacts, g as parseDaemonFrame, gt as parseDispatchTask, ht as buildDispatchSessionTitle, k as resolveOpenCodeDatabasePath, l as readDispatchSpaceActionContextForReceiptFromEnv, ln as isWakeClosingSystemNoticeType, lt as resolveComputerFileAccessStorePath, mt as buildDispatchPromptPlan, on as getSpaceAccessRequestContext, pt as buildDispatchCorrelation, r as buildDispatchOwnedRuntimeEnv, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, un as listSpaceMemberDirectorySendTargets, vt as resolveBootstrapTargetProfileContext, xn as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, yt as resolveDispatchMentionSourceContext } from "./dispatch-owned-runtime-DrCWeXik.js";
14
- import { t as ExecutionHostError } from "./channel-C_AttfQ8.js";
15
- import { f as withSkillsInstallLock, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-B3qJCRzL.js";
16
- import { a as submitRuntimeProviderConversationProofs, f as recordRuntimeProviderUsageLimits, i as submitRuntimeAgentControllerReports, l as resolveLocalAgentControllerReportDecision, o as collectLocalAgentControllerInventory, t as notifyRuntimeReportingAttemptObserver, u as probeAgentControllerUsageObservationAuth } from "./runtime-agent-controller-reporting-submission-CfgFIJKr.js";
17
- import { t as installSkillsToTargets } from "./installer-B0bxqhQ_.js";
18
- import { C as recordRuntimeReportingNotApplicable, E as startLocalAgentActivitySyncLoop, O as discoverLocalAgentSessionProviders, P as registerAgentActivityRoute, R as defaultManagedIntegrationPaths, S as recordRuntimeReportingFailure, T as createLedgerIo, _ as readExecutionContextWorkspace, a as createDispatchSpaceTools, b as startDispatchSpaceProgressRelay, g as prepareExecutionContextWorkspace, h as markExecutionContextWorkspaceInUse, i as materializeOrganizationSkillRelease, n as createSpaceWorkingCopies, r as downloadWorkingCopyFile, s as readTaskKnowledge, t as fetchSpaceUpdates, v as releaseExecutionContextWorkspace, w as recordRuntimeReportingSuccess, y as prepareClaudeProjectContainer, z as installAgentActivityIntegrations } from "./updates-api-Z3y5_kB2.js";
19
- import { h as createCliSpaceApi } from "./meta-api-CEOa2GHg.js";
5
+ import { $x as runtimeTransportDispatchReasoningRequestSchema, Bk as localAgentReasoningPreferencesSchema, CS as runtimeTransportResumeControllerConversationFramePayloadSchema, FF as normalizeKnownBuiltinAgentControllerId, FO as agentInteractionResolutionSchema, GS as runtimeTransportSubmitTaskResultRequestSchema, Gx as runtimeTransportDispatchInteractionResponseFramePayloadSchema, Hx as runtimeTransportDeliverDispatchRequestSchema, IE as buildAgentControllerConversationRef, Jx as runtimeTransportDispatchLifecycleRequestSchema, Kx as runtimeTransportDispatchLifecycleAcknowledgementSchema, PO as agentInteractionRequestSchema, Qx as runtimeTransportDispatchProgressRequestSchema, RE as resolveBuiltinAgentControllerConversationKind, Rk as LOCAL_AGENT_REASONING_MAX_CHARS, Sk as runtimeTransportDeliveryExecutionIdentitySchema, TO as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, Ux as runtimeTransportDispatchInteractionDeliveredRequestSchema, Wx as runtimeTransportDispatchInteractionRequestSchema, Xx as runtimeTransportDispatchPreviewEndRequestSchema, Zx as runtimeTransportDispatchPreviewRequestSchema, aP as toCompatibleSpaceAddressingRequestWireValue, aS as runtimeTransportForkAgentSessionResultSchema, bu as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, cT as spaceWorkSelectionSchema, ck as runtimeCoordinatorExecutionTokenEnvelopeSchema, dS as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, f as serviceExecutionHostCatalogSchema, fE as providerDispatchRuntimeContextSchema, fS as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, hT as OPENMELD_DAEMON_CANCEL_WITHDRAWN_BEFORE_START_REASON_CODE, lS as runtimeTransportLocalAgentControlCancelFramePayloadSchema, mS as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, mT as OPENMELD_DAEMON_CANCEL_STOP_REQUESTED_AFTER_START_REASON_CODE, my as OFFICIAL_CLI_SKILL_URL, r as buildWorkingFolderRecoveryQuestion, rC as openMeldDaemonTaskResultPayloadSchema, rS as runtimeTransportDispatchToolActivityRequestSchema, t as WORKING_FOLDER_RECOVERY_DECLINED, tM as COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE, tS as runtimeTransportDispatchRuntimeEvidenceRequestSchema, u as SERVICE_EXECUTION_HOST_PROTOCOL, uS as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, wS as runtimeTransportResumeControllerConversationResultFramePayloadSchema, wy as agentExecutionSteerResponseSchema, zL as normalizeOptionalWorkingDirectory } from "./dist-B5iixKPM.js";
6
+ import { a as resolveBaseUrl, f as getConfiguredDaemonDispatchLimits, g as getConfiguredSkillsConfig } from "./base-url-3HAgYrum.js";
7
+ import { Nt as buildSpaceAttachmentDownloadPath, bn as createSpaceApi, cn as createOrganizationSkillsApi } from "./dist-D7YYztTY.js";
8
+ import { d as getAuthSessionState } from "./auth-session-ClBLOWqs.js";
9
+ import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-BFxJALyQ.js";
10
+ import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-DzTPqbOW.js";
11
+ import { S as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, _ as toErrorMessage$2, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, u as normalizeOptionalText$3, v as warnDaemonEvent } from "./daemon-device-id-B_QfEb0j.js";
12
+ import { F as SPACE_COLLABORATION_CONTEXT_RULE, I as SPACE_PERSONAL_CONTRIBUTION_RULE, X as resolvePublicAgentFailureReason, Z as resolveSpacePublicationRequirement } from "./dual-view-guide-catalog-Vuvl8lxB.js";
13
+ import { $t as createDispatchContinuationSpaceAccessContext, C as recordOpenMeldCreatedLocalAgentSession, D as readOpenCodeSessionRows, J as consumeArmedAgentControllerInterfaceReprobe, Yt as buildSpaceRoundSignalPublication, _ as sendDaemonFrame$1, _t as resolveBootstrapSpaceOwnerProfileId, an as getSpaceAccessPassword, at as emitDaemonDispatchJournalEvent, c as createDispatchSpaceActionContext, ct as readComputerFileAccessPolicy, d as readDispatchSpaceActionRecord, dt as isSameOrDescendantPath, f as supersedeDispatchSpaceActionRecordForReconsideration, ft as buildDispatchBootstrapTemplateFacts, g as parseDaemonFrame, gt as parseDispatchTask, ht as buildDispatchSessionTitle, k as resolveOpenCodeDatabasePath, l as readDispatchSpaceActionContextForReceiptFromEnv, ln as isWakeClosingSystemNoticeType, lt as resolveComputerFileAccessStorePath, mt as buildDispatchPromptPlan, on as getSpaceAccessRequestContext, pt as buildDispatchCorrelation, r as buildDispatchOwnedRuntimeEnv, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, un as listSpaceMemberDirectorySendTargets, vt as resolveBootstrapTargetProfileContext, xn as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, yt as resolveDispatchMentionSourceContext } from "./dispatch-owned-runtime-DC_586ks.js";
14
+ import { t as ExecutionHostError } from "./channel-CFWvWoEK.js";
15
+ import { f as withSkillsInstallLock, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-BSDbYr52.js";
16
+ import { a as submitRuntimeProviderConversationProofs, f as recordRuntimeProviderUsageLimits, i as submitRuntimeAgentControllerReports, l as resolveLocalAgentControllerReportDecision, o as collectLocalAgentControllerInventory, t as notifyRuntimeReportingAttemptObserver, u as probeAgentControllerUsageObservationAuth } from "./runtime-agent-controller-reporting-submission-CnndxVOY.js";
17
+ import { t as installSkillsToTargets } from "./installer-vQe5qDlx.js";
18
+ import { C as recordRuntimeReportingNotApplicable, E as startLocalAgentActivitySyncLoop, O as discoverLocalAgentSessionProviders, P as registerAgentActivityRoute, R as defaultManagedIntegrationPaths, S as recordRuntimeReportingFailure, T as createLedgerIo, _ as readExecutionContextWorkspace, a as createDispatchSpaceTools, b as startDispatchSpaceProgressRelay, g as prepareExecutionContextWorkspace, h as markExecutionContextWorkspaceInUse, i as materializeOrganizationSkillRelease, n as createSpaceWorkingCopies, r as downloadWorkingCopyFile, s as readTaskKnowledge, t as fetchSpaceUpdates, v as releaseExecutionContextWorkspace, w as recordRuntimeReportingSuccess, y as prepareClaudeProjectContainer, z as installAgentActivityIntegrations } from "./updates-api-BfSMatAV.js";
19
+ import { h as createCliSpaceApi } from "./meta-api-6A5s1td4.js";
20
20
  import { createHash, randomUUID } from "node:crypto";
21
21
  import { homedir } from "node:os";
22
22
  import { basename, dirname, extname, join } from "node:path";
@@ -9452,4 +9452,4 @@ function createExecutionHostRuntime(input) {
9452
9452
  //#endregion
9453
9453
  export { createExecutionHostResources, createExecutionHostRuntime };
9454
9454
 
9455
- //# sourceMappingURL=runtime-poyPQ70m.js.map
9455
+ //# sourceMappingURL=runtime-B6NPV7cu.js.map