openmeld 0.3.231 → 0.3.233

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 (144) hide show
  1. package/dist/{add-me-membership-0KyMk1wi.js → add-me-membership-_O3IzRLn.js} +2 -2
  2. package/dist/{add-me-membership-0KyMk1wi.js.map → add-me-membership-_O3IzRLn.js.map} +1 -1
  3. package/dist/{agents-Bkx6ldpV.js → agents-B5E7c7sQ.js} +11 -11
  4. package/dist/{agents-Bkx6ldpV.js.map → agents-B5E7c7sQ.js.map} +1 -1
  5. package/dist/{api-client-foundation-d4E5XWdJ.js → api-client-foundation-1p1VVFJ_.js} +1 -1
  6. package/dist/{api-client-foundation-DgTXf3Gb.js → api-client-foundation-C-RPnq_p.js} +3 -3
  7. package/dist/{api-client-foundation-DgTXf3Gb.js.map → api-client-foundation-C-RPnq_p.js.map} +1 -1
  8. package/dist/auth-session-CmjjkLiB.js +4 -0
  9. package/dist/{auth-session-pLaN5cnC.js → auth-session-iXCJO5oB.js} +6 -6
  10. package/dist/{auth-session-pLaN5cnC.js.map → auth-session-iXCJO5oB.js.map} +1 -1
  11. package/dist/auth-url-6Bb6YdNm.js +24 -0
  12. package/dist/auth-url-6Bb6YdNm.js.map +1 -0
  13. package/dist/{base-url-eck31vC8.js → base-url-0AoeTi3w.js} +3 -3
  14. package/dist/{base-url-eck31vC8.js.map → base-url-0AoeTi3w.js.map} +1 -1
  15. package/dist/{base-url-B8eWb2md.js → base-url-Bdjp-5vy.js} +1 -1
  16. package/dist/{channel-DppbHxHw.js → channel-BciBrA3Y.js} +25 -5
  17. package/dist/channel-BciBrA3Y.js.map +1 -0
  18. package/dist/{cli-binary-manifest-Bjf6T7Ef.js → cli-binary-manifest-ETxqCzfS.js} +8 -1
  19. package/dist/cli-binary-manifest-ETxqCzfS.js.map +1 -0
  20. package/dist/{command-CBWv24uj.js → command-D0pcAIoE.js} +19 -19
  21. package/dist/{command-CBWv24uj.js.map → command-D0pcAIoE.js.map} +1 -1
  22. package/dist/{computer-connection-DMkamVpB.js → computer-connection-CHP1-0rK.js} +2 -2
  23. package/dist/{computer-connection-DMkamVpB.js.map → computer-connection-CHP1-0rK.js.map} +1 -1
  24. package/dist/{computer-connection-review-BSPMGVhN.js → computer-connection-review-dHotFqmD.js} +6 -6
  25. package/dist/{computer-connection-review-BSPMGVhN.js.map → computer-connection-review-dHotFqmD.js.map} +1 -1
  26. package/dist/{computer-disconnect-BQ_MDeeA.js → computer-disconnect-B2DLDxWx.js} +9 -9
  27. package/dist/{computer-disconnect-BQ_MDeeA.js.map → computer-disconnect-B2DLDxWx.js.map} +1 -1
  28. package/dist/{computer-setup-continuation-Cd293Yzi.js → computer-setup-continuation-Cv_c1B-7.js} +3 -3
  29. package/dist/{computer-setup-continuation-Cd293Yzi.js.map → computer-setup-continuation-Cv_c1B-7.js.map} +1 -1
  30. package/dist/{context-qbQXVLF5.js → context-BnhlFS8m.js} +5 -5
  31. package/dist/{context-qbQXVLF5.js.map → context-BnhlFS8m.js.map} +1 -1
  32. package/dist/{control-plane-rTE2rHZ5.js → control-plane-QqGL-jtT.js} +2 -2
  33. package/dist/{control-plane-rTE2rHZ5.js.map → control-plane-QqGL-jtT.js.map} +1 -1
  34. package/dist/{daemon-device-id-B6iDyQEs.js → daemon-device-id-DbSIqHoZ.js} +8 -8
  35. package/dist/{daemon-device-id-B6iDyQEs.js.map → daemon-device-id-DbSIqHoZ.js.map} +1 -1
  36. package/dist/{daemon-lifecycle-journal-DrwEygzu.js → daemon-lifecycle-journal-DsVVvKJe.js} +10 -10
  37. package/dist/{daemon-lifecycle-journal-DrwEygzu.js.map → daemon-lifecycle-journal-DsVVvKJe.js.map} +1 -1
  38. package/dist/{daemon-runtime-lease-C1wkT4Bi.js → daemon-runtime-lease-Bv6vhqOe.js} +2 -2
  39. package/dist/{daemon-runtime-lease-C1wkT4Bi.js.map → daemon-runtime-lease-Bv6vhqOe.js.map} +1 -1
  40. package/dist/{daemon-runtime-lease-DAQyRUc5.js → daemon-runtime-lease-ZjP0urJt.js} +1 -1
  41. package/dist/{daemon-service-contract-DhEfbzHt.js → daemon-service-contract-COPKbCy_.js} +4 -4
  42. package/dist/{daemon-service-contract-DhEfbzHt.js.map → daemon-service-contract-COPKbCy_.js.map} +1 -1
  43. package/dist/{daemon-service-manager-CRnFxPKA.js → daemon-service-manager-BXAp21GH.js} +6 -6
  44. package/dist/{daemon-service-manager-CRnFxPKA.js.map → daemon-service-manager-BXAp21GH.js.map} +1 -1
  45. package/dist/{daemon-service-manager-l0unaDGa.js → daemon-service-manager-C_ny0JhB.js} +1 -1
  46. package/dist/{daemon-service-runtime-B4nWB2Qx.js → daemon-service-runtime-DZI6Ke3_.js} +16 -15
  47. package/dist/{daemon-service-runtime-B4nWB2Qx.js.map → daemon-service-runtime-DZI6Ke3_.js.map} +1 -1
  48. package/dist/{daemon-service-update-coordinator-C8cW7Vn_.js → daemon-service-update-coordinator-BgVBlJ4d.js} +29 -24
  49. package/dist/daemon-service-update-coordinator-BgVBlJ4d.js.map +1 -0
  50. package/dist/{daemon-state-B6G5xe7f.js → daemon-state-Dte9re5V.js} +4 -4
  51. package/dist/{daemon-state-B6G5xe7f.js.map → daemon-state-Dte9re5V.js.map} +1 -1
  52. package/dist/{daemon-frame-transport-xQnNyg6E.js → dispatch-owned-runtime-BeIQetEt.js} +550 -53
  53. package/dist/dispatch-owned-runtime-BeIQetEt.js.map +1 -0
  54. package/dist/{dist-CAypwFRu.js → dist-BgYBvEBB.js} +206 -190
  55. package/dist/dist-BgYBvEBB.js.map +1 -0
  56. package/dist/{dist-DFhd6JmQ.js → dist-DQS0XYkb.js} +3 -3
  57. package/dist/{dist-DFhd6JmQ.js.map → dist-DQS0XYkb.js.map} +1 -1
  58. package/dist/{dist-olOaAWkl.js → dist-z72xYz5Z.js} +1 -1
  59. package/dist/{elapsed-time-COv3bjEl.js → elapsed-time-C7S-6bWV.js} +6 -6
  60. package/dist/{elapsed-time-COv3bjEl.js.map → elapsed-time-C7S-6bWV.js.map} +1 -1
  61. package/dist/{entry-DIjUKIep.js → entry-CX24qHnm.js} +81 -17
  62. package/dist/entry-CX24qHnm.js.map +1 -0
  63. package/dist/{installation-inventory-DllgoKT1.js → installation-inventory-B3mwQFEA.js} +5 -5
  64. package/dist/{installation-inventory-DllgoKT1.js.map → installation-inventory-B3mwQFEA.js.map} +1 -1
  65. package/dist/{installer-Sc79LhuA.js → installer-DnIJ4y3l.js} +2 -2
  66. package/dist/{installer-Sc79LhuA.js.map → installer-DnIJ4y3l.js.map} +1 -1
  67. package/dist/{local-components-DleLEzSU.js → local-components-DJiMS67S.js} +36 -3
  68. package/dist/local-components-DJiMS67S.js.map +1 -0
  69. package/dist/{lock-CMH9eoS7.js → lock-BMI00i2F.js} +2 -2
  70. package/dist/{lock-CMH9eoS7.js.map → lock-BMI00i2F.js.map} +1 -1
  71. package/dist/meta-api-DgHkiIdr.js +371 -0
  72. package/dist/meta-api-DgHkiIdr.js.map +1 -0
  73. package/dist/openmeld-dev.js +17 -9
  74. package/dist/openmeld-dev.js.map +1 -1
  75. package/dist/{openmeld-environment-target-Cw3V0WnE.js → openmeld-environment-target-BgYR6ozy.js} +8 -25
  76. package/dist/openmeld-environment-target-BgYR6ozy.js.map +1 -0
  77. package/dist/{openmeld-BUYFXSyY.js → openmeld-kYp99hOl.js} +41 -39
  78. package/dist/{openmeld-BUYFXSyY.js.map → openmeld-kYp99hOl.js.map} +1 -1
  79. package/dist/{openmeld-maintenance-worker-Br6WIhhe.js → openmeld-maintenance-worker-BqU1Asrm.js} +14 -14
  80. package/dist/{openmeld-maintenance-worker-Br6WIhhe.js.map → openmeld-maintenance-worker-BqU1Asrm.js.map} +1 -1
  81. package/dist/{openmeld-tools-update-join-B1l6RER6.js → openmeld-tools-update-join-BKJnGR5h.js} +4 -4
  82. package/dist/{openmeld-tools-update-join-B1l6RER6.js.map → openmeld-tools-update-join-BKJnGR5h.js.map} +1 -1
  83. package/dist/{openmeld-tools-update-process-frame-DbEZ3fEh.js → openmeld-tools-update-process-frame-Csy2XKUf.js} +1 -1
  84. package/dist/{openmeld-tools-update-process-frame-BtFKp70p.js → openmeld-tools-update-process-frame-YLOS82E3.js} +2 -2
  85. package/dist/{openmeld-tools-update-process-frame-BtFKp70p.js.map → openmeld-tools-update-process-frame-YLOS82E3.js.map} +1 -1
  86. package/dist/openmeld.js +6 -6
  87. package/dist/{paths-DSkUuEu3.js → paths-De9xdA2h.js} +11 -6
  88. package/dist/paths-De9xdA2h.js.map +1 -0
  89. package/dist/{prepare-provider-runtime-DfsSj_N_.js → prepare-provider-runtime-CD6XRt7X.js} +385 -181
  90. package/dist/prepare-provider-runtime-CD6XRt7X.js.map +1 -0
  91. package/dist/{prepare-session-executor-CrYpWljb.js → prepare-session-executor-DY2s4FuY.js} +26 -26
  92. package/dist/{prepare-session-executor-CrYpWljb.js.map → prepare-session-executor-DY2s4FuY.js.map} +1 -1
  93. package/dist/{process-channel-DmTb_kO4.js → process-channel-CzgOWiuh.js} +2 -2
  94. package/dist/{process-channel-DmTb_kO4.js.map → process-channel-CzgOWiuh.js.map} +1 -1
  95. package/dist/{published-production-safety-CgXxtdMK.js → published-production-safety-zANGAGDI.js} +5 -6
  96. package/dist/published-production-safety-zANGAGDI.js.map +1 -0
  97. package/dist/{runtime-ZLBVtFFY.js → runtime-Br4Ga0rJ.js} +77 -23
  98. package/dist/runtime-Br4Ga0rJ.js.map +1 -0
  99. package/dist/{runtime-agent-controller-reporting-submission-CbaUsNTF.js → runtime-agent-controller-reporting-submission-CQjbBiHh.js} +146 -37
  100. package/dist/runtime-agent-controller-reporting-submission-CQjbBiHh.js.map +1 -0
  101. package/dist/{runtime-reporting-health-state-DOg9iwwO.js → runtime-reporting-health-state-a1FUE1S-.js} +120 -25
  102. package/dist/runtime-reporting-health-state-a1FUE1S-.js.map +1 -0
  103. package/dist/{runtime-transport-D4x8_AmR.js → runtime-transport-D4CVffnp.js} +88 -8
  104. package/dist/runtime-transport-D4CVffnp.js.map +1 -0
  105. package/dist/{service-B9y1SQlB.js → service-D9QVc4_y.js} +99 -30
  106. package/dist/service-D9QVc4_y.js.map +1 -0
  107. package/dist/{service-account-authorization-Di59Cjth.js → service-account-authorization-DLhUgGDb.js} +6 -6
  108. package/dist/{service-account-authorization-Di59Cjth.js.map → service-account-authorization-DLhUgGDb.js.map} +1 -1
  109. package/dist/{service-account-control-DALO1USM.js → service-account-control-DIdQILmo.js} +13 -13
  110. package/dist/{service-account-control-DALO1USM.js.map → service-account-control-DIdQILmo.js.map} +1 -1
  111. package/dist/{service-control-capabilities-B9ZxDPOJ.js → service-control-capabilities-BvHU_NcX.js} +1 -1
  112. package/dist/{service-control-capabilities-CKwU9Er5.js → service-control-capabilities-CGv5Cuxo.js} +5 -5
  113. package/dist/{service-control-capabilities-CKwU9Er5.js.map → service-control-capabilities-CGv5Cuxo.js.map} +1 -1
  114. package/dist/{state-CdSbKM0J.js → state-AWe5DSV8.js} +3 -3
  115. package/dist/{state-CdSbKM0J.js.map → state-AWe5DSV8.js.map} +1 -1
  116. package/dist/upgrade-CLnZ4WBF.js +4 -0
  117. package/dist/{upgrade-DLJJlkbf.js → upgrade-CcnlL7FH.js} +9 -9
  118. package/dist/{upgrade-DLJJlkbf.js.map → upgrade-CcnlL7FH.js.map} +1 -1
  119. package/dist/{windows-preview-channel-DPrYuLyY.js → windows-preview-channel-BPhfSwji.js} +2 -2
  120. package/dist/{windows-preview-channel-DPrYuLyY.js.map → windows-preview-channel-BPhfSwji.js.map} +1 -1
  121. package/dist/{windows-user-task-BR-WB7hr.js → windows-user-task-CTsMnmD4.js} +3 -3
  122. package/dist/{windows-user-task-BR-WB7hr.js.map → windows-user-task-CTsMnmD4.js.map} +1 -1
  123. package/dist/{windows-user-task-m9eMEUEq.js → windows-user-task-DnxKO3oB.js} +1 -1
  124. package/package.json +10 -10
  125. package/dist/auth-session-DExyUwLo.js +0 -4
  126. package/dist/channel-DppbHxHw.js.map +0 -1
  127. package/dist/cli-binary-manifest-Bjf6T7Ef.js.map +0 -1
  128. package/dist/daemon-frame-transport-xQnNyg6E.js.map +0 -1
  129. package/dist/daemon-service-update-coordinator-C8cW7Vn_.js.map +0 -1
  130. package/dist/dist-CAypwFRu.js.map +0 -1
  131. package/dist/entry-DIjUKIep.js.map +0 -1
  132. package/dist/local-components-DleLEzSU.js.map +0 -1
  133. package/dist/meta-api-CEw8eOeN.js +0 -845
  134. package/dist/meta-api-CEw8eOeN.js.map +0 -1
  135. package/dist/openmeld-environment-target-Cw3V0WnE.js.map +0 -1
  136. package/dist/paths-DSkUuEu3.js.map +0 -1
  137. package/dist/prepare-provider-runtime-DfsSj_N_.js.map +0 -1
  138. package/dist/published-production-safety-CgXxtdMK.js.map +0 -1
  139. package/dist/runtime-ZLBVtFFY.js.map +0 -1
  140. package/dist/runtime-agent-controller-reporting-submission-CbaUsNTF.js.map +0 -1
  141. package/dist/runtime-reporting-health-state-DOg9iwwO.js.map +0 -1
  142. package/dist/runtime-transport-D4x8_AmR.js.map +0 -1
  143. package/dist/service-B9y1SQlB.js.map +0 -1
  144. package/dist/upgrade-BFWUxFpJ.js +0 -4
@@ -1,32 +1,33 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { g as toSpaceUpdatesUrl } from "./urls-CY2uzH2-.js";
4
- import { I as resolveOpenMeldRootDir, k as organizationSkillReleaseDir, t as OPENMELD_HOME_ENV_KEY } from "./paths-DSkUuEu3.js";
5
- import { Cr as spaceTaskMutationReceiptSchema, Fi as signalTextEnvelopeSchema, Hr as organizationSkillBundleSchema, Lt as createAgentActivityApi, Sr as spaceTaskIdSchema, br as createSpaceTaskBodySchema, fn as createRuntimeReportingApi, or as getSpaceUpdatesResponseSchema, pi as observedLocalAgentSessionSchema, qr as stringifyOrganizationSkillBundleCanonicalJson, ri as submitAgentControllerTaskLifecycleEventItemSchema, rr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, t as OpenMeldApiClientHttpError, xr as mutateSpaceTaskBodySchema } from "./dist-CAypwFRu.js";
6
- import { Jn as buildCliLaunchInvocation, Tt as withAgentActivityLocalStateLock, Xn as resolveExecutablePathsOnPath, Zn as listAgentControllerSupervisedProcessIds, _n as resolveInstalledGrokBuildLaunchCandidates, bn as resolveInstalledCodexLaunchCandidates, er as isDispatchSpaceActionDeliveryOnly, ft as listProjectBindings, ht as removeAgentActivityBindingsWhileDeliveryLocked, mn as resolveInstalledOpenCodeLaunchCandidates, qn as resolveDispatchSpaceActionMcpServer, vt as resolveProjectBindingForPath, wn as resolveInstalledClaudeCodeLaunchCandidates, wt as withAgentActivityDeliveryLock } from "./prepare-provider-runtime-DfsSj_N_.js";
7
- import { Gt as spaceWorkSelectionSchema, Ht as SPACE_WORK_MAX_BYTES, Kt as spaceWorkingCopyResultSchema, Sn as spaceMessageFileReferenceSchema, Wt as spaceWorkRelativePathSchema, ar as executionContextTaskSchema, hn as spaceFileEntryIdSchema, rn as readSpaceFileTextResponseSchema, rr as executionContextAssignmentSchema, yn as spaceFileRevisionNumberSchema } from "./runtime-transport-D4x8_AmR.js";
8
- import { d as getAuthSessionState } from "./auth-session-pLaN5cnC.js";
9
- import { O as openMeldRuntimeProfileIdSchema } from "./control-plane-rTE2rHZ5.js";
10
- import { C as readAgentActivityOutboxHealth, E as readRecentAgentActivityHookStatus, S as deferAgentActivityOutbox, T as removeProjectOutbox, _ as drainAgentActivityHookInbox, b as AgentActivitySubmissionResultsMismatchError, bn as cliJsonErrorEnvelopeSchema, c as scanLocalAgentActivity, f as resolveOpenCodeDatabasePath, h as normalizeSharedSessionTitle, l as startAgentActivityTranscriptWatchers, m as resolveObservedAgentActivityBinding, u as readOpenCodeSessionRows, w as readDueAgentActivityOutbox, x as applyAgentActivitySubmissionResults, y as removeProjectInbox } from "./daemon-frame-transport-xQnNyg6E.js";
11
- import { B as requireOpenMeldProfile, o as dirnamePath } from "./daemon-device-id-B6iDyQEs.js";
12
- import { d as runWithHeldLock, s as releaseLock, t as acquireLock } from "./lock-CMH9eoS7.js";
13
- import { a as resolveBaseUrl } from "./base-url-eck31vC8.js";
4
+ import { F as resolveOpenMeldRootDir, k as organizationSkillReleaseDir, t as OPENMELD_HOME_ENV_KEY } from "./paths-De9xdA2h.js";
5
+ import { Cr as spaceTaskMutationReceiptSchema, Fi as signalTextEnvelopeSchema, Hr as organizationSkillBundleSchema, Lt as createAgentActivityApi, Sr as spaceTaskIdSchema, br as createSpaceTaskBodySchema, fn as createRuntimeReportingApi, or as getSpaceUpdatesResponseSchema, pi as observedLocalAgentSessionSchema, qr as stringifyOrganizationSkillBundleCanonicalJson, ri as submitAgentControllerTaskLifecycleEventItemSchema, rr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, t as OpenMeldApiClientHttpError, xr as mutateSpaceTaskBodySchema } from "./dist-BgYBvEBB.js";
6
+ import { On as resolveInstalledClaudeCodeLaunchCandidates, Qn as buildCliLaunchInvocation, Tt as withAgentActivityLocalStateLock, Zn as resolveDispatchSpaceActionMcpServer, er as resolveExecutablePathsOnPath, ft as listProjectBindings, hn as resolveInstalledOpenCodeLaunchCandidates, ht as removeAgentActivityBindingsWhileDeliveryLocked, ir as isDispatchSpaceActionDeliveryOnly, tr as listAgentControllerSupervisedProcessIds, vn as resolveInstalledGrokBuildLaunchCandidates, vt as resolveProjectBindingForPath, wt as withAgentActivityDeliveryLock, xn as resolveInstalledCodexLaunchCandidates } from "./prepare-provider-runtime-CD6XRt7X.js";
7
+ import { Jt as spaceWorkingCopyResultSchema, Kt as spaceWorkRelativePathSchema, Wt as SPACE_WORK_MAX_BYTES, _n as spaceFileEntryIdSchema, an as readSpaceFileTextResponseSchema, cr as executionContextTaskSchema, or as executionContextAssignmentSchema, qt as spaceWorkSelectionSchema, wn as spaceMessageFileReferenceSchema, xn as spaceFileRevisionNumberSchema } from "./runtime-transport-D4CVffnp.js";
8
+ import { d as getAuthSessionState } from "./auth-session-iXCJO5oB.js";
9
+ import { O as openMeldRuntimeProfileIdSchema } from "./control-plane-QqGL-jtT.js";
10
+ import { A as drainAgentActivityHookInbox, An as cliJsonErrorEnvelopeSchema, C as readOpenCodeSessionRows, D as resolveObservedAgentActivityBinding, F as deferAgentActivityOutbox, I as readAgentActivityOutboxHealth, L as readDueAgentActivityOutbox, M as removeProjectInbox, N as AgentActivitySubmissionResultsMismatchError, O as normalizeSharedSessionTitle, P as applyAgentActivitySubmissionResults, R as removeProjectOutbox, S as startAgentActivityTranscriptWatchers, T as resolveOpenCodeDatabasePath, a as DispatchSpaceActionClosedError, d as readDispatchSpaceActionRecord, l as readDispatchSpaceActionContextForReceiptFromEnv, o as DispatchSpaceActionRejectedError, p as writeDispatchSpaceActionRecord, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, u as readDispatchSpaceActionContextFromEnv, x as scanLocalAgentActivity, z as readRecentAgentActivityHookStatus } from "./dispatch-owned-runtime-BeIQetEt.js";
11
+ import { B as requireOpenMeldProfile, o as dirnamePath } from "./daemon-device-id-DbSIqHoZ.js";
12
+ import { d as runWithHeldLock, s as releaseLock, t as acquireLock } from "./lock-BMI00i2F.js";
13
+ import { a as resolveBaseUrl } from "./base-url-0AoeTi3w.js";
14
14
  import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
15
- import { _ as daemonRuntimeStateRootPath } from "./daemon-state-B6G5xe7f.js";
16
- import { i as readDaemonServiceContract } from "./daemon-service-contract-DhEfbzHt.js";
15
+ import { _ as daemonRuntimeStateRootPath } from "./daemon-state-Dte9re5V.js";
16
+ import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
17
17
  import { l as resolveUserFacingCliEntryCommand, n as formatOpenMeldCliCommand } from "./cli-entry-command-CR_9QU1i.js";
18
18
  import { r as outLine } from "./io-DT66typ4.js";
19
- import { d as buildOpenMeldRequestContextFromProfile, l as canAttachAuthTokenToRequest, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DgTXf3Gb.js";
20
- import { S as readDispatchSpaceActionRecord, _ as DispatchSpaceActionRejectedError, b as readDispatchSpaceActionContextForReceiptFromEnv, d as uploadPreparedSpaceFiles, f as createCliSpaceApi, g as DispatchSpaceActionClosedError, l as parseJsonResponse, s as readGatewayTextResponse, u as prepareRequestedSpaceSendFiles, w as writeDispatchSpaceActionRecord, x as readDispatchSpaceActionContextFromEnv } from "./meta-api-CEw8eOeN.js";
19
+ import { d as buildOpenMeldRequestContextFromProfile, l as canAttachAuthTokenToRequest, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-C-RPnq_p.js";
20
+ import { d as uploadPreparedSpaceFiles, f as createCliSpaceApi, l as parseJsonResponse, s as readGatewayTextResponse, u as prepareRequestedSpaceSendFiles } from "./meta-api-DgHkiIdr.js";
21
21
  import { createHash, randomBytes, randomUUID } from "node:crypto";
22
22
  import { homedir } from "node:os";
23
23
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
24
24
  import { appendFile, chmod, copyFile, lstat, mkdir, mkdtemp, open, readFile, readdir, readlink, realpath, rename, rm, stat, unlink, writeFile } from "node:fs/promises";
25
25
  import * as z$1 from "zod/v4";
26
26
  import { z } from "zod/v4";
27
- import { constants, createReadStream, readFileSync } from "node:fs";
27
+ import { appendFileSync, chmodSync, constants, createReadStream, readFileSync } from "node:fs";
28
28
  import { execFile, spawn } from "node:child_process";
29
29
  import { promisify } from "node:util";
30
+ import { setTimeout as setTimeout$1 } from "node:timers/promises";
30
31
  import { createInterface } from "node:readline";
31
32
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
32
33
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -225,6 +226,7 @@ const readOpenMeldContext = (directory) => new Promise((resolve) => {
225
226
  let stdout = "";
226
227
  const child = spawn("${input.cliEntryCommand}", ["activity", "context", "--path", directory, "--json"], {
227
228
  stdio: ["ignore", "pipe", "ignore"],
229
+ windowsHide: true,
228
230
  });
229
231
  const finish = () => {
230
232
  try {
@@ -332,7 +334,7 @@ export const OpenMeldAgentActivityPlugin = async ({ client, directory }) => {
332
334
  const child = spawn(
333
335
  "${input.cliEntryCommand}",
334
336
  ["activity", "hook", "--provider", "opencode", "--owner", "${input.owner}"],
335
- { stdio: ["pipe", "ignore", "ignore"] }
337
+ { stdio: ["pipe", "ignore", "ignore"], windowsHide: true }
336
338
  );
337
339
  const finish = () => resolve(undefined);
338
340
  const timeout = setTimeout(() => {
@@ -701,7 +703,7 @@ function isKnownOpenCodePlugin(value, knownArtifacts) {
701
703
  artifacts.preSessionIdFallbackLegacyOpenCodePlugin,
702
704
  artifacts.preDirectoryFallbackOpenCodePlugin,
703
705
  artifacts.preDirectoryFallbackLegacyOpenCodePlugin
704
- ].includes(value ?? ""));
706
+ ].flatMap((content) => [content, content.replace("\n windowsHide: true,", "").replace(", windowsHide: true }", " }")]).includes(value ?? ""));
705
707
  }
706
708
  async function planTextUpdate(path, key, transform) {
707
709
  const actualCurrent = await readOptionalFile(path);
@@ -1627,7 +1629,8 @@ function createCodexJsonRpcClient(launchContract) {
1627
1629
  "pipe",
1628
1630
  "pipe",
1629
1631
  "ignore"
1630
- ]
1632
+ ],
1633
+ windowsHide: true
1631
1634
  });
1632
1635
  let nextId = 1;
1633
1636
  let buffer = "";
@@ -2065,7 +2068,8 @@ async function executeJsonCommand(input) {
2065
2068
  "ignore",
2066
2069
  "pipe",
2067
2070
  "ignore"
2068
- ]
2071
+ ],
2072
+ windowsHide: true
2069
2073
  });
2070
2074
  let stdout = "";
2071
2075
  const timer = setTimeout(() => {
@@ -2872,6 +2876,74 @@ async function readLocalReportingHealth(rootDir) {
2872
2876
  return await Promise.all([readAgentActivityOutboxHealth({ rootDir }), readControllerTaskLifecycleOutboxHealth({ rootDir })]);
2873
2877
  }
2874
2878
  //#endregion
2879
+ //#region src/runtime/dispatch-space-progress-relay.ts
2880
+ const DISPATCH_PROGRESS_RELAY_FILENAME = "progress.ndjson";
2881
+ const DISPATCH_PROGRESS_RELAY_POLL_INTERVAL_MS = 50;
2882
+ const DISPATCH_PROGRESS_RELAY_MAX_BYTES = 128 * 1024;
2883
+ function recordDispatchSpaceProgress(update, env = process.env) {
2884
+ const context = readDispatchSpaceActionContextFromEnv(env);
2885
+ const relayPath = resolveDispatchSpaceProgressRelayPath(env);
2886
+ appendFileSync(relayPath, `${JSON.stringify({
2887
+ version: 1,
2888
+ contextId: context.contextId,
2889
+ nonce: context.nonce,
2890
+ createdAtMs: Date.now(),
2891
+ update
2892
+ })}\n`, {
2893
+ encoding: "utf8",
2894
+ mode: 384
2895
+ });
2896
+ chmodSync(relayPath, 384);
2897
+ return { status: "accepted" };
2898
+ }
2899
+ function startDispatchSpaceProgressRelay(input) {
2900
+ let closed = false;
2901
+ let consumedCount = 0;
2902
+ const relayPath = join(dirname(input.contextPath), DISPATCH_PROGRESS_RELAY_FILENAME);
2903
+ const drain = async () => {
2904
+ const records = readProgressRelayRecords({
2905
+ context: input.context,
2906
+ relayPath
2907
+ });
2908
+ for (const record of records.slice(consumedCount)) {
2909
+ await input.reportProgress(record.update);
2910
+ consumedCount++;
2911
+ }
2912
+ };
2913
+ const loop = (async () => {
2914
+ while (!closed) {
2915
+ await setTimeout$1(input.pollIntervalMs ?? DISPATCH_PROGRESS_RELAY_POLL_INTERVAL_MS);
2916
+ await drain();
2917
+ }
2918
+ await drain();
2919
+ })();
2920
+ return { close: async () => {
2921
+ closed = true;
2922
+ await loop;
2923
+ } };
2924
+ }
2925
+ function resolveDispatchSpaceProgressRelayPath(env) {
2926
+ const contextPath = env[OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV];
2927
+ if (!contextPath) throw new Error("No active OpenMeld Space Action context path was found.");
2928
+ return join(dirname(contextPath), DISPATCH_PROGRESS_RELAY_FILENAME);
2929
+ }
2930
+ function readProgressRelayRecords(input) {
2931
+ let text;
2932
+ try {
2933
+ text = readFileSync(input.relayPath, "utf8");
2934
+ } catch (error) {
2935
+ if (error.code === "ENOENT") return [];
2936
+ throw error;
2937
+ }
2938
+ if (Buffer.byteLength(text, "utf8") > DISPATCH_PROGRESS_RELAY_MAX_BYTES) throw new Error("The dispatch progress relay exceeded its safe size.");
2939
+ return text.split("\n").filter(Boolean).map((line) => parseProgressRelayRecord(line, input.context));
2940
+ }
2941
+ function parseProgressRelayRecord(line, context) {
2942
+ const value = JSON.parse(line);
2943
+ if (value.version !== 1 || value.contextId !== context.contextId || value.nonce !== context.nonce || typeof value.createdAtMs !== "number" || typeof value.update !== "string" || value.update.trim().length === 0 || value.update.length > 600) throw new Error("The dispatch progress relay record is invalid.");
2944
+ return value;
2945
+ }
2946
+ //#endregion
2875
2947
  //#region src/local-service/file-access/claude-project-container.ts
2876
2948
  const execFileAsync$2 = promisify(execFile);
2877
2949
  const PROJECT_IMAGE = "node:24-bookworm@sha256:64af3819f9275802414d7cdc38c27e9d82bd564dec4d4da87d008255d36c63b4";
@@ -3856,6 +3928,7 @@ function runSpaceActionReply(input) {
3856
3928
  filePaths: input.filePaths,
3857
3929
  messagePartCount: input.messageParts.length,
3858
3930
  mentionTargets: input.mentionTargets,
3931
+ placement: input.placement,
3859
3932
  referenceTargets: input.referenceTargets,
3860
3933
  text,
3861
3934
  wakeTargets: input.wakeTargets
@@ -3895,6 +3968,7 @@ function recordDispatchSpaceReply(input) {
3895
3968
  context,
3896
3969
  files: input.files ? [...input.files] : [],
3897
3970
  targetIds,
3971
+ placement: input.placement,
3898
3972
  text,
3899
3973
  timing
3900
3974
  });
@@ -3902,6 +3976,7 @@ function recordDispatchSpaceReply(input) {
3902
3976
  context,
3903
3977
  filePaths,
3904
3978
  targetIds,
3979
+ placement: input.placement,
3905
3980
  text,
3906
3981
  timing
3907
3982
  });
@@ -3927,6 +4002,7 @@ function writeSpaceActionReplyRecord(input) {
3927
4002
  const record = recordAction({
3928
4003
  action: {
3929
4004
  type: "post_message",
4005
+ ...input.placement ? { placement: input.placement } : {},
3930
4006
  ...input.files.length > 0 ? { files: [...input.files] } : {},
3931
4007
  messageEnvelope: {
3932
4008
  activationTargets: input.targetIds.activationTargets,
@@ -4435,7 +4511,7 @@ async function runDispatchWorkingCopy(action, resolution, env = process.env) {
4435
4511
  }
4436
4512
  //#endregion
4437
4513
  //#region src/space/action-mcp-server.ts
4438
- const DISPATCH_SPACE_TOOL_INSTRUCTIONS = "Use read_history for the bounded text history around the current Wake, and read_file for shared text files in the current Space. Use Space Task tools only when a clear deliverable needs durable ownership, progress, review, or later closure; questions and tiny same-turn actions stay in Messages. Task operations are non-final. Then choose exactly one permitted final OpenMeld Space Action: reply for an answer, limitation, error explanation, or request for help; stay_silent only when no public communication is appropriate. Do not create a Task just to acknowledge a message. Parameter validation errors record no action and may be corrected. Use read_receipt to reconcile an unknown outcome before resending. Private assistant output is not posted to the Space.";
4514
+ const DISPATCH_SPACE_TOOL_INSTRUCTIONS = "Use read_history for the bounded text history around the current Wake, and read_file for shared text files in the current Space. When report_progress is available, use it only for a brief deliberate public update during meaningful multi-step work; it is non-final and does not replace the final action. Use Space Task tools only when a clear deliverable needs durable ownership, progress, review, or later closure; questions and tiny same-turn actions stay in Messages. Task operations are non-final. Then choose exactly one permitted final OpenMeld Space Action: reply for an answer, limitation, error explanation, or request for help; stay_silent only when no public communication is appropriate. Do not create a Task just to acknowledge a message. Parameter validation errors record no action and may be corrected. Use read_receipt to reconcile an unknown outcome before resending. Private assistant output is not posted to the Space.";
4439
4515
  /** Every carrier uses the same schemas, validation, authority and recorder. */
4440
4516
  var DispatchSpaceTools = class {
4441
4517
  tools = [];
@@ -4671,6 +4747,23 @@ function createDispatchSpaceTools(input = {}) {
4671
4747
  };
4672
4748
  }
4673
4749
  });
4750
+ if (input.reportProgress) server.registerTool("report_progress", {
4751
+ title: "Share public progress in the current OpenMeld Space",
4752
+ description: "Share one brief, concrete update while this Wake is still running. Use this only when you start meaningful work, confirm a useful fact, change direction, or begin verification. Do not include private reasoning, protected information, credentials, raw commands, or unverified claims. Exact retries are idempotent. This does not post a final reply, close the Wake, or resume a parent task.",
4753
+ inputSchema: { update: z.string().trim().min(1).max(600) },
4754
+ annotations: {
4755
+ readOnlyHint: false,
4756
+ destructiveHint: false,
4757
+ idempotentHint: true,
4758
+ openWorldHint: false
4759
+ }
4760
+ }, async ({ update }) => {
4761
+ const result = await input.reportProgress?.(update);
4762
+ return { content: [{
4763
+ type: "text",
4764
+ text: JSON.stringify(result ?? { status: "unavailable" })
4765
+ }] };
4766
+ });
4674
4767
  server.registerTool("list_tasks", {
4675
4768
  title: "List Tasks in the current OpenMeld Space",
4676
4769
  description: "Read durable collaboration Tasks for this Space. Use the returned revision before changing a Task. Task phase is collaboration state, not Agent execution truth.",
@@ -4802,9 +4895,10 @@ function createDispatchSpaceTools(input = {}) {
4802
4895
  }, env)));
4803
4896
  server.registerTool("reply", {
4804
4897
  title: "Reply in the current OpenMeld Space",
4805
- description: "Record the exact final public message for the active Wake: answers, known limitations, errors, and requests for help all belong here. Use real newlines. No shell, local repository, CLI, or Skill is needed to explain that you cannot complete a task. Omit recipient fields for a plain reply; use full Profile IDs from this Wake's send target reference when addressing recipients. Correct invalid arguments and retry; do not bypass denials or blindly resend an unknown outcome.",
4898
+ description: "Record the exact final public message for the active Wake. Shared Spaces default to a thread under the triggering message; set placement=conversation only when the user asks for the main conversation or the conclusion, decision, or blocker matters to the whole Space. Direct messages remain direct. Use real newlines. Omit recipient fields for a plain reply; use full Profile IDs from this Wake's send target reference when addressing recipients. Correct invalid arguments and retry; do not bypass denials or blindly resend an unknown outcome.",
4806
4899
  inputSchema: {
4807
4900
  message: z.string().min(1),
4901
+ placement: z.enum(["conversation", "thread"]).optional(),
4808
4902
  files: z.array(spaceMessageFileReferenceSchema).max(10).optional(),
4809
4903
  mentionTargets: z.array(z.string().min(1)).optional(),
4810
4904
  referenceTargets: z.array(z.string().min(1)).optional(),
@@ -4817,10 +4911,11 @@ function createDispatchSpaceTools(input = {}) {
4817
4911
  openWorldHint: false,
4818
4912
  readOnlyHint: false
4819
4913
  }
4820
- }, async ({ files, mentionTargets, message, referenceTargets, wakeTargets }) => executeSpaceAction(() => recordDispatchSpaceReply({
4914
+ }, async ({ files, mentionTargets, message, placement, referenceTargets, wakeTargets }) => executeSpaceAction(() => recordDispatchSpaceReply({
4821
4915
  env,
4822
4916
  files,
4823
4917
  mentionTargets,
4918
+ placement,
4824
4919
  referenceTargets,
4825
4920
  text: message,
4826
4921
  wakeTargets
@@ -4866,7 +4961,7 @@ function createDispatchSpaceTools(input = {}) {
4866
4961
  }
4867
4962
  function createSpaceActionMcpServer() {
4868
4963
  const context = readDispatchSpaceActionContextForReceiptFromEnv();
4869
- const tools = createDispatchSpaceTools();
4964
+ const tools = createDispatchSpaceTools({ reportProgress: (update) => recordDispatchSpaceProgress(update) });
4870
4965
  const server = new McpServer({
4871
4966
  name: "openmeld-dispatch-space-action",
4872
4967
  version: "1.0.0"
@@ -5659,6 +5754,6 @@ function isSameServiceIdentity(left, right) {
5659
5754
  return left?.deviceId === right.deviceId && left.contractGeneration === right.contractGeneration;
5660
5755
  }
5661
5756
  //#endregion
5662
- export { readControllerTaskLifecycleOutboxHealth as A, uninstallAgentActivityIntegrations as B, startLocalAgentActivitySyncLoop as C, readAgentActivityContextForPath as D, recordOpenMeldCreatedLocalAgentSession as E, AGENT_ACTIVITY_INTEGRATION_OWNER as F, defaultManagedIntegrationPaths as I, installAgentActivityIntegrations as L, registerAgentActivityRoute as M, resolveAgentActivityRouteForPath as N, removeAgentActivityContextCache as O, unregisterAgentActivityRoute as P, readAgentActivityIntegrationStatus as R, prepareClaudeProjectContainer as S, discoverLocalAgentSessionProviders as T, markExecutionContextWorkspaceInUse as _, fetchSpaceUpdates as a, releaseExecutionContextWorkspace as b, materializeOrganizationSkillRelease as c, runSpaceActionHelp as d, runSpaceActionReply as f, runSpaceActionWake as g, runSpaceActionTargets as h, recordRuntimeReportingSuccess as i, isAgentActivityRouteRegistered as j, enqueueControllerTaskLifecycleEventWhileLocked as k, createDispatchSpaceTools as l, runSpaceActionStatus as m, recordRuntimeReportingFailure as n, createSpaceWorkingCopies as o, runSpaceActionSilent as p, recordRuntimeReportingNotApplicable as r, downloadWorkingCopyFile as s, readRuntimeReportingHealthState as t, runSpaceActionMcpServer as u, prepareExecutionContextWorkspace as v, syncLocalAgentActivity as w, createLedgerIo as x, readExecutionContextWorkspace as y, resolveAgentActivityDispatcherCommand as z };
5757
+ export { enqueueControllerTaskLifecycleEventWhileLocked as A, resolveAgentActivityDispatcherCommand as B, startDispatchSpaceProgressRelay as C, recordOpenMeldCreatedLocalAgentSession as D, discoverLocalAgentSessionProviders as E, unregisterAgentActivityRoute as F, AGENT_ACTIVITY_INTEGRATION_OWNER as I, defaultManagedIntegrationPaths as L, isAgentActivityRouteRegistered as M, registerAgentActivityRoute as N, readAgentActivityContextForPath as O, resolveAgentActivityRouteForPath as P, installAgentActivityIntegrations as R, prepareClaudeProjectContainer as S, syncLocalAgentActivity as T, uninstallAgentActivityIntegrations as V, markExecutionContextWorkspaceInUse as _, fetchSpaceUpdates as a, releaseExecutionContextWorkspace as b, materializeOrganizationSkillRelease as c, runSpaceActionHelp as d, runSpaceActionReply as f, runSpaceActionWake as g, runSpaceActionTargets as h, recordRuntimeReportingSuccess as i, readControllerTaskLifecycleOutboxHealth as j, removeAgentActivityContextCache as k, createDispatchSpaceTools as l, runSpaceActionStatus as m, recordRuntimeReportingFailure as n, createSpaceWorkingCopies as o, runSpaceActionSilent as p, recordRuntimeReportingNotApplicable as r, downloadWorkingCopyFile as s, readRuntimeReportingHealthState as t, runSpaceActionMcpServer as u, prepareExecutionContextWorkspace as v, startLocalAgentActivitySyncLoop as w, createLedgerIo as x, readExecutionContextWorkspace as y, readAgentActivityIntegrationStatus as z };
5663
5758
 
5664
- //# sourceMappingURL=runtime-reporting-health-state-DOg9iwwO.js.map
5759
+ //# sourceMappingURL=runtime-reporting-health-state-a1FUE1S-.js.map