openmeld 0.3.246 → 0.3.247

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 (104) hide show
  1. package/dist/{add-me-membership-C7dYkfPz.js → add-me-membership-DUeJA9q4.js} +2 -2
  2. package/dist/{add-me-membership-C7dYkfPz.js.map → add-me-membership-DUeJA9q4.js.map} +1 -1
  3. package/dist/{agents-QisYIlFS.js → agents-woAcH0O6.js} +10 -10
  4. package/dist/{agents-QisYIlFS.js.map → agents-woAcH0O6.js.map} +1 -1
  5. package/dist/{api-client-foundation-CYbEdm9o.js → api-client-foundation-DMEfIARh.js} +3 -3
  6. package/dist/{api-client-foundation-CYbEdm9o.js.map → api-client-foundation-DMEfIARh.js.map} +1 -1
  7. package/dist/{api-client-foundation-B1aTRrIy.js → api-client-foundation-mqLjUunz.js} +1 -1
  8. package/dist/{auth-session-JhILeJRO.js → auth-session-D7hlE-47.js} +2 -2
  9. package/dist/{auth-session-JhILeJRO.js.map → auth-session-D7hlE-47.js.map} +1 -1
  10. package/dist/auth-session-DXxmGll1.js +4 -0
  11. package/dist/{channel-C6tm9T7P.js → channel-BeUv2bLR.js} +3 -3
  12. package/dist/{channel-C6tm9T7P.js.map → channel-BeUv2bLR.js.map} +1 -1
  13. package/dist/{cloud-computer-J2tdcTPm.js → cloud-computer-C81_vVOV.js} +4 -4
  14. package/dist/{cloud-computer-J2tdcTPm.js.map → cloud-computer-C81_vVOV.js.map} +1 -1
  15. package/dist/{command-BXJ-OwBD.js → command-qNknO9gl.js} +15 -15
  16. package/dist/{command-BXJ-OwBD.js.map → command-qNknO9gl.js.map} +1 -1
  17. package/dist/{computer-connection-BKtrn0d2.js → computer-connection-WpsIQfkh.js} +2 -2
  18. package/dist/{computer-connection-BKtrn0d2.js.map → computer-connection-WpsIQfkh.js.map} +1 -1
  19. package/dist/{computer-connection-review-bUqNKi6q.js → computer-connection-review-Df2G8VWY.js} +5 -5
  20. package/dist/{computer-connection-review-bUqNKi6q.js.map → computer-connection-review-Df2G8VWY.js.map} +1 -1
  21. package/dist/{computer-disconnect-D_Apsn9P.js → computer-disconnect-ttAH9WgN.js} +7 -7
  22. package/dist/{computer-disconnect-D_Apsn9P.js.map → computer-disconnect-ttAH9WgN.js.map} +1 -1
  23. package/dist/{computer-setup-continuation-occq0LmS.js → computer-setup-continuation-tbuUZSe5.js} +3 -3
  24. package/dist/{computer-setup-continuation-occq0LmS.js.map → computer-setup-continuation-tbuUZSe5.js.map} +1 -1
  25. package/dist/{context-M7dvalCp.js → context-x0T_qTHp.js} +4 -4
  26. package/dist/{context-M7dvalCp.js.map → context-x0T_qTHp.js.map} +1 -1
  27. package/dist/{daemon-device-id-C3gKch4E.js → daemon-device-id-DgwvQllt.js} +4 -4
  28. package/dist/{daemon-device-id-C3gKch4E.js.map → daemon-device-id-DgwvQllt.js.map} +1 -1
  29. package/dist/{daemon-lifecycle-journal-CGUuJshv.js → daemon-lifecycle-journal-C32I8p4n.js} +3 -3
  30. package/dist/{daemon-lifecycle-journal-CGUuJshv.js.map → daemon-lifecycle-journal-C32I8p4n.js.map} +1 -1
  31. package/dist/{daemon-service-runtime-CktU3ER4.js → daemon-service-runtime-DVqzJKke.js} +2 -2
  32. package/dist/{daemon-service-runtime-CktU3ER4.js.map → daemon-service-runtime-DVqzJKke.js.map} +1 -1
  33. package/dist/{daemon-service-update-coordinator-D0-15tZW.js → daemon-service-update-coordinator-BTlVzU-7.js} +14 -14
  34. package/dist/daemon-service-update-coordinator-BTlVzU-7.js.map +1 -0
  35. package/dist/{dispatch-owned-runtime-gOluDX5_.js → dispatch-owned-runtime-g2lLeYtx.js} +187 -50
  36. package/dist/dispatch-owned-runtime-g2lLeYtx.js.map +1 -0
  37. package/dist/dist-CXB_bdSS.js +4 -0
  38. package/dist/{dist-KibLweLD.js → dist-DGeoVaIx.js} +404 -279
  39. package/dist/dist-DGeoVaIx.js.map +1 -0
  40. package/dist/{dual-view-guide-catalog-0kSizTFt.js → dual-view-guide-catalog-CkcY09Kh.js} +3 -3
  41. package/dist/{dual-view-guide-catalog-0kSizTFt.js.map → dual-view-guide-catalog-CkcY09Kh.js.map} +1 -1
  42. package/dist/{elapsed-time-Bo1CJczC.js → elapsed-time-BMG1CU23.js} +3 -3
  43. package/dist/{elapsed-time-Bo1CJczC.js.map → elapsed-time-BMG1CU23.js.map} +1 -1
  44. package/dist/{entry-B11DkH2I.js → entry-CP7_Vgs4.js} +7 -7
  45. package/dist/{entry-B11DkH2I.js.map → entry-CP7_Vgs4.js.map} +1 -1
  46. package/dist/{installation-inventory-BZgQmVup.js → installation-inventory-7JOtUjyG.js} +3 -3
  47. package/dist/{installation-inventory-BZgQmVup.js.map → installation-inventory-7JOtUjyG.js.map} +1 -1
  48. package/dist/{installer-k2gOOs58.js → installer-BRpAz1X_.js} +2 -2
  49. package/dist/{installer-k2gOOs58.js.map → installer-BRpAz1X_.js.map} +1 -1
  50. package/dist/{meta-api-DruuiAx-.js → meta-api-QskBmfuf.js} +5 -5
  51. package/dist/{meta-api-DruuiAx-.js.map → meta-api-QskBmfuf.js.map} +1 -1
  52. package/dist/{open-code-permission-DHFJYc_o.js → open-code-permission-B5f1e5an.js} +2 -31
  53. package/dist/open-code-permission-B5f1e5an.js.map +1 -0
  54. package/dist/{openmeld-DUdN78WD.js → openmeld-BxTCCHMn.js} +194 -60
  55. package/dist/openmeld-BxTCCHMn.js.map +1 -0
  56. package/dist/{openmeld-maintenance-worker-DwkvZD0q.js → openmeld-maintenance-worker-BQ2YbwA9.js} +9 -9
  57. package/dist/{openmeld-maintenance-worker-DwkvZD0q.js.map → openmeld-maintenance-worker-BQ2YbwA9.js.map} +1 -1
  58. package/dist/{openmeld-tools-update-join-BNUIw_Lo.js → openmeld-tools-update-join-Dj-MEQW_.js} +4 -4
  59. package/dist/{openmeld-tools-update-join-BNUIw_Lo.js.map → openmeld-tools-update-join-Dj-MEQW_.js.map} +1 -1
  60. package/dist/openmeld.js +4 -4
  61. package/dist/{prepare-provider-runtime-_XRIioDp.js → prepare-provider-runtime-B6_dfpiZ.js} +74 -22
  62. package/dist/prepare-provider-runtime-B6_dfpiZ.js.map +1 -0
  63. package/dist/{prepare-session-executor-B5AjN0qz.js → prepare-session-executor-DA9saGAk.js} +18 -18
  64. package/dist/{prepare-session-executor-B5AjN0qz.js.map → prepare-session-executor-DA9saGAk.js.map} +1 -1
  65. package/dist/{process-channel-CTXWjlBP.js → process-channel-HthE5ehS.js} +2 -2
  66. package/dist/{process-channel-CTXWjlBP.js.map → process-channel-HthE5ehS.js.map} +1 -1
  67. package/dist/{runtime-DCBc6YOq.js → runtime-C7lY_Z2r.js} +103 -20
  68. package/dist/{runtime-DCBc6YOq.js.map → runtime-C7lY_Z2r.js.map} +1 -1
  69. package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js → runtime-agent-controller-reporting-submission-IhxMO4UA.js} +8 -8
  70. package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js.map → runtime-agent-controller-reporting-submission-IhxMO4UA.js.map} +1 -1
  71. package/dist/{runtime-transport-BzCp9hM3.js → runtime-transport-DRb5__yP.js} +188 -18
  72. package/dist/runtime-transport-DRb5__yP.js.map +1 -0
  73. package/dist/{service-BEH6-P8U.js → service-DveGEdh3.js} +312 -21
  74. package/dist/service-DveGEdh3.js.map +1 -0
  75. package/dist/{service-account-authorization-CtvSn02O.js → service-account-authorization-CAVkiKSF.js} +2 -2
  76. package/dist/{service-account-authorization-CtvSn02O.js.map → service-account-authorization-CAVkiKSF.js.map} +1 -1
  77. package/dist/{service-account-control-BUPiFEGo.js → service-account-control-BtE73wcO.js} +9 -9
  78. package/dist/{service-account-control-BUPiFEGo.js.map → service-account-control-BtE73wcO.js.map} +1 -1
  79. package/dist/{service-control-capabilities-PMvSlaJj.js → service-control-capabilities-BQrqIGBP.js} +3 -3
  80. package/dist/{service-control-capabilities-PMvSlaJj.js.map → service-control-capabilities-BQrqIGBP.js.map} +1 -1
  81. package/dist/{service-control-capabilities-D-Nhqqgo.js → service-control-capabilities-adDptMIH.js} +1 -1
  82. package/dist/{state-C_iJAzKh.js → state-DWwNdCy5.js} +2 -2
  83. package/dist/{state-C_iJAzKh.js.map → state-DWwNdCy5.js.map} +1 -1
  84. package/dist/{updates-api-s2-QB929.js → updates-api-9midbUU1.js} +12 -136
  85. package/dist/updates-api-9midbUU1.js.map +1 -0
  86. package/dist/upgrade-BvpBhL0U.js +4 -0
  87. package/dist/{upgrade-JmhCNmvs.js → upgrade-H-_QW75e.js} +8 -8
  88. package/dist/{upgrade-JmhCNmvs.js.map → upgrade-H-_QW75e.js.map} +1 -1
  89. package/package.json +12 -12
  90. package/skills/openmeld-cli/SKILL.md +2 -0
  91. package/skills/openmeld-cli/playbooks/computer.md +55 -0
  92. package/skills/openmeld-cli/playbooks/plugins.md +37 -0
  93. package/dist/auth-session-DUYOBXO3.js +0 -4
  94. package/dist/daemon-service-update-coordinator-D0-15tZW.js.map +0 -1
  95. package/dist/dispatch-owned-runtime-gOluDX5_.js.map +0 -1
  96. package/dist/dist-DMlKqjUf.js +0 -4
  97. package/dist/dist-KibLweLD.js.map +0 -1
  98. package/dist/open-code-permission-DHFJYc_o.js.map +0 -1
  99. package/dist/openmeld-DUdN78WD.js.map +0 -1
  100. package/dist/prepare-provider-runtime-_XRIioDp.js.map +0 -1
  101. package/dist/runtime-transport-BzCp9hM3.js.map +0 -1
  102. package/dist/service-BEH6-P8U.js.map +0 -1
  103. package/dist/updates-api-s2-QB929.js.map +0 -1
  104. package/dist/upgrade-Dikfgr8z.js +0 -4
@@ -1,44 +1,45 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Ar as resolveAgentExecutionStatus, At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, Cr as parseAgentControllerRef, E as resolveProfileWorkspaceRuntime, Et as listBuiltinAgentsRegistryEntries, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged, Lt as setOpenMeldManagedProfileWorkspace, Mr as resolveEvidenceSyncHealth, Mt as readProfileWorkspaceConfig, Nr as resolveNativeAgentControllerPermissionModeForController, O as syncDeviceRuntimeStateProjection, Pt as resolveConfiguredProfileWorkspacePath, Q as resolveLocalRegistryAgentIdFromAgentControllerRef, Rt as validateCustomProfileWorkspacePath, S as syncProfileWorkspaceState, Sr as listAgentControllerPermissionModeOptions, St as canonicalizeLocalProjectPath, Tr as projectPeopleComputersToLegacyLocalRuntimes, Wr as compareAgentControllerRefsForDisplay, _r as getAgentControllerPermissionModeDisplayMetadata, _t as removeProjectConnection, bt as setDefaultProjectConnection, ft as listProjectBindings, hr as createAgentExecutionStatusDisplayRows, j as resolveAgentProfilePrimaryAgentControllerReport, jr as resolveAgentProfileEditCapabilities, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, kr as resolveAgentControllerPermissionModeForController, mt as migrateProjectBindingStore, pt as listProjectConnectionsWithStatus, ut as bindProject, vr as getAgentControllerPermissionModeFieldLabel, wr as peopleComputerContainsDevice, xt as unbindProject, yt as runIfAgentActivityBindingGenerationIsCurrent, zt as describeProfileWorkspacePathValidationFailure } from "./prepare-provider-runtime-_XRIioDp.js";
3
+ import { Ar as resolveAgentExecutionStatus, At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, Cr as parseAgentControllerRef, E as resolveProfileWorkspaceRuntime, Et as listBuiltinAgentsRegistryEntries, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged, Lt as setOpenMeldManagedProfileWorkspace, Mr as resolveEvidenceSyncHealth, Mt as readProfileWorkspaceConfig, Nr as resolveNativeAgentControllerPermissionModeForController, O as syncDeviceRuntimeStateProjection, Pt as resolveConfiguredProfileWorkspacePath, Q as resolveLocalRegistryAgentIdFromAgentControllerRef, Rt as validateCustomProfileWorkspacePath, S as syncProfileWorkspaceState, Sr as listAgentControllerPermissionModeOptions, St as canonicalizeLocalProjectPath, Tr as projectPeopleComputersToLegacyLocalRuntimes, Wr as compareAgentControllerRefsForDisplay, _r as getAgentControllerPermissionModeDisplayMetadata, _t as removeProjectConnection, bt as setDefaultProjectConnection, ft as listProjectBindings, hr as createAgentExecutionStatusDisplayRows, j as resolveAgentProfilePrimaryAgentControllerReport, jr as resolveAgentProfileEditCapabilities, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, kr as resolveAgentControllerPermissionModeForController, mt as migrateProjectBindingStore, pt as listProjectConnectionsWithStatus, ut as bindProject, vr as getAgentControllerPermissionModeFieldLabel, wr as peopleComputerContainsDevice, xt as unbindProject, yt as runIfAgentActivityBindingGenerationIsCurrent, zt as describeProfileWorkspacePathValidationFailure } from "./prepare-provider-runtime-B6_dfpiZ.js";
4
4
  import { c as toSpaceDispatchLookupUrl, h as toSpaceResultUrl, i as toSpaceContractUrl, l as toSpaceDispatchTraceUrl, r as toSpaceBoardUrl, t as normalizeBaseUrl } from "./urls-CY2uzH2-.js";
5
5
  import { A as profileDir, D as openMeldRootDir, F as resolveOpenMeldRootDir, H as spacesDir, N as resolveOpenMeldCliEntryNameFromArgv, P as resolveOpenMeldEnvPreset, S as openMeldBinDir, U as systemDir, V as skillsDir, i as accountProfileViewPath, j as profileViewPath, o as accountsDir, r as accountProfileSpaceCacheDir, x as openMeldBackupsDir, y as normalizeAccountKey } from "./paths-De9xdA2h.js";
6
6
  import { r as resolveAuthBaseUrl } from "./auth-url-6Bb6YdNm.js";
7
- import { $r as SPACE_FILE_RAW_UPLOAD_MAX_BYTES, Ar as START_BOUNDED_ID_SCHEMA, Cn as messageEnvelopeSchema, Gi as openMeldRequestContextSchema, Gt as spaceStatusSchema, Kn as agentInteractionResponseSchema, Kt as centerAgentInteractionSourceSchema, Nr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Qr as SPACE_FILE_MAX_SIZE_BYTES, Qt as spaceWorkingCopyResultSchema, Wi as openMeldProfileIdSchema, Yn as clientMessageIdSchema, Yt as spaceWorkHandoffSchema, Zt as spaceWorkSelectionSchema, an as spaceThreadContextSchema, ci as resolveSpaceFileMimeType, er as runtimeTransportAdmissionEvidenceSchema, ln as spaceContractFieldsSchema, ri as isSpaceFileTextEditable, un as spaceContractSchema } from "./runtime-transport-BzCp9hM3.js";
7
+ import { $n as clientMessageIdSchema, Cn as messageEnvelopeSchema, Gt as spaceStatusSchema, Ji as openMeldProfileIdSchema, Kt as centerAgentInteractionSourceSchema, Lr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Pr as START_BOUNDED_ID_SCHEMA, Qt as spaceWorkingCopyResultSchema, Yi as openMeldRequestContextSchema, Yn as agentInteractionResponseSchema, Yt as spaceWorkHandoffSchema, Zt as spaceWorkSelectionSchema, an as spaceThreadContextSchema, fi as resolveSpaceFileMimeType, ir as runtimeTransportAdmissionEvidenceSchema, ln as spaceContractFieldsSchema, ni as SPACE_FILE_MAX_SIZE_BYTES, ri as SPACE_FILE_RAW_UPLOAD_MAX_BYTES, si as isSpaceFileTextEditable, un as spaceContractSchema } from "./runtime-transport-DRb5__yP.js";
8
8
  import { L as nonEmptyTrimmedStringFromUnknown, O as openMeldRuntimeProfileIdSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-B93wmVS6.js";
9
- import { Bi as agentActivityProviderSchema, Br as spaceDispatchTraceAttemptStatusSchema, Cr as agentProfileCreationConfigurationSchema, Gr as ORGANIZATION_SKILL_BUNDLE_MAX_BYTES, Hi as agentActivitySnapshotQuerySchema, Hn as toStructuredApiClientFailure, Hr as spaceDispatchTraceResponseSchema, Ir as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Jt as createFeedbackApi, Kr as ORGANIZATION_SKILL_FILE_MAX_BYTES, Kt as createCurrentDeviceApi, Lr as projectSpaceDispatchTraceFinalVisibleOutcome, Lt as createAgentActivityApi, Mr as submitFeedbackIssueRequestSchema, Pi as routineScopeSchema, Rr as resolveRuntimeCoordinatorHeadStatusRootCause, Rt as createAgentProfileBindingApi, Sr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Ur as observabilityWakeTraceSelectorSchema, Vi as agentActivitySessionStatusSchema, Vr as spaceDispatchTraceDispatchStatusSchema, Vt as createCenterAgentApi, Wr as projectObservabilityWakeCorrelation, Wt as createComputerFileAccessApi, Xr as organizationSkillFileSchema, Xt as createFileRootApi, _i as agentActivityInventorySessionStatusSchema, ai as resolvedSpaceMemberProfileSchema, bi as localAgentSessionProviderSchema, fi as ownerComputerDiagnosticsSchema, fn as createRoutinesApi, fr as spaceEntryTargetSchema, gi as agentActivityInventorySessionOriginSchema, in as createOrganizationSkillsApi, ir as OPENMELD_HEADER_PROFILE_ID, jn as postSpaceWorkHandoff, mi as summarizeComputerFileAccessPolicy, mr as pluginActionRequestSchema, nn as createOrganizationApi, on as createPluginsApi, pi as projectOwnerComputerLocalRuntimes, sn as createPrepareReadinessApi, sr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, un as createProjectsApi, vi as agentActivitySessionInventoryQuerySchema, wr as createAgentProfileCreationRequestBodySchema, zr as resolveSpaceDispatchTraceRootCause, zt as createAgentProfileExecutionModeApi } from "./dist-KibLweLD.js";
9
+ import { $r as observabilityWakeTraceSelectorSchema, Ai as localAgentSessionProviderSchema, Br as sessionHistoryReadSchema, Ci as projectOwnerComputerLocalRuntimes, Cr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, Di as agentActivityInventorySessionStatusSchema, Ei as agentActivityInventorySessionOriginSchema, Jr as resolveRuntimeCoordinatorHeadStatusRootCause, Jt as createFeedbackApi, Kr as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, Kt as createCurrentDeviceApi, Lt as createAgentActivityApi, Mn as postSpaceWorkHandoff, Nr as submitFeedbackIssueRequestSchema, Oi as agentActivitySessionInventoryQuerySchema, Qi as agentActivitySnapshotQuerySchema, Qr as spaceDispatchTraceResponseSchema, Rt as createAgentProfileBindingApi, Si as ownerComputerDiagnosticsSchema, Tr as createAgentProfileCreationRequestBodySchema, Un as toStructuredApiClientFailure, Ur as sessionHistoryResultSchema, Vt as createCenterAgentApi, Wi as routineScopeSchema, Wt as createComputerFileAccessApi, Xi as agentActivityProviderSchema, Xr as spaceDispatchTraceAttemptStatusSchema, Xt as createFileRootApi, Yr as resolveSpaceDispatchTraceRootCause, Zi as agentActivitySessionStatusSchema, Zr as spaceDispatchTraceDispatchStatusSchema, ar as OPENMELD_HEADER_PROFILE_ID, cr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, ei as projectObservabilityWakeCorrelation, fn as createRoutinesApi, hi as resolvedSpaceMemberProfileSchema, hn as createSessionHistoryApi, hr as pluginActionRequestSchema, in as createOrganizationSkillsApi, ni as ORGANIZATION_SKILL_FILE_MAX_BYTES, nn as createOrganizationApi, oi as organizationSkillFileSchema, on as createPluginsApi, pr as spaceEntryTargetSchema, qr as projectSpaceDispatchTraceFinalVisibleOutcome, sn as createPrepareReadinessApi, ti as ORGANIZATION_SKILL_BUNDLE_MAX_BYTES, un as createProjectsApi, wi as summarizeComputerFileAccessPolicy, wr as agentProfileCreationConfigurationSchema, zt as createAgentProfileExecutionModeApi } from "./dist-DGeoVaIx.js";
10
10
  import { c as agentControllerConversationRefSchema } from "./controller-contract-DAOCaefz.js";
11
- import { C as updateAuthSessionActiveOrganization, E as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, d as getAuthSessionState, f as getCurrentAuthOwnerUserId, g as normalizeStoredActiveOrganization, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionMetadata } from "./auth-session-JhILeJRO.js";
12
- import { t as computerConnectionIntentSchema } from "./computer-connection-BKtrn0d2.js";
13
- import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-C_iJAzKh.js";
14
- import { $ as buildAuthStatusSnapshot, B as resolveDaemonServiceParticipationStatus, C as buildProfileWorkspaceRows, E as emitDaemonAgentOverview, F as emitCliJsonEnvelope, G as ensureCommandAuthenticationOrCancel, H as validateLocalProjectConnectionPath, I as runDaemonStartupPreflight, J as runAuthLogout, K as evaluateCommandAuthentication, M as buildHumanErrorCopy, N as renderHumanErrorCard, O as shouldEmitAgentOverview, P as renderHumanTextErrorCard, Q as buildAuthStatusRows, R as resolveLocalComponentsStatus, S as buildProfileWorkspacePresentation, V as LocalProjectConnectionError, W as buildCommandAuthenticationPromptMessage, X as runAuthStatus, Y as runAuthMenu, Z as exchangeOneTimeTokenAuthSession, a as runDaemonBackgroundStartForDecision, at as promptTextEntry, c as runDaemonInterrupt, ct as finishCurrentCommandCheckScope, dt as resetCurrentCommandCheckState, et as formatActiveOrganizationLabel, f as runDaemonSnapshot, ft as startCurrentCommandCheckScope, g as runDaemonUninstall, h as runDaemonTeardownStrict, i as runDaemonAutostart, j as runDaemonStartDecisionPrompt, l as runDaemonReinstall, lt as getCurrentCommandCheckState, m as runDaemonStop, n as isManagedSystemServiceBootstrapRun, nt as renderInfoCard, o as runDaemonCancel, ot as isReturnKeypress, p as runDaemonStatusFlow, q as runAuthLogin, r as runDaemon, rt as renderTextInfoCard, s as runDaemonInstall, st as runInteractivePrompt, t as bestEffortStopCurrentLaneDaemonService, u as runDaemonRunAfterEntryChecks, ut as isCurrentCommandCheckScopeActive, w as reconcileCliVersionView, x as resolveServiceParticipationReadiness, y as formatServiceParticipationReadinessLabel, z as writeInstalledLocalComponentsSnapshot } from "./service-BEH6-P8U.js";
15
- import { C as buildAgentActivityEvent, Cn as acceptOrganizationJoinLinkBodySchema, Dn as revokeOrganizationJoinLinkResponseSchema, E as readCodexSessionTitles, En as organizationJoinLinkManagementQuerySchema, F as removeProjectOutbox, Gt as createSpaceMemberIdentityIndex, Mt as buildSignalIndex, N as readAgentActivityOutboxHealth, Nt as buildSignalMessageReadProjection, O as enqueueAgentActivityHookEvent, Ot as buildDispatchResultMessageReadProjection, Sn as cliJsonSkillsShowEnvelopeSchema, T as normalizeSharedSessionTitle, Tn as organizationJoinLinkErrorResponseSchema, Vt as buildUpdatesReplyWorkflowProjection, Yt as formatRemovedCcRelationMessage, Z as readRecentDaemonDispatchJournalEvents, _n as cliJsonSkillsAddEnvelopeSchema, bn as cliJsonSkillsLoadEnvelopeSchema, gn as cliJsonSkillsAddAllEnvelopeSchema, hn as cliJsonOutputEnvelopeSchema, i as readDispatchOwnedRuntimeGuard, jt as buildPublicSpaceEntryUrl, k as removeProjectInbox, kt as buildDispatchResultReplyWorkflowProjection, pt as inspectSpaceCacheFile, t as assertDispatchOwnedRuntimePublicWriteAllowed, u as readDispatchSpaceActionContextFromEnv, vn as cliJsonSkillsAddPreviewEnvelopeSchema, w as resolveObservedAgentActivityBinding, wn as getOrganizationJoinLinkResponseSchema, wt as upsertSpaceConfig, xn as cliJsonSkillsScanEnvelopeSchema, yn as cliJsonSkillsListEnvelopeSchema, zt as buildSpaceRoundReadProjection } from "./dispatch-owned-runtime-gOluDX5_.js";
16
- import { c as toStructuredGatewayFailure, d as resolveSpaceTaskSelection, l as parseJsonResponse, m as createCliSpaceApi, n as updateSpaceMeta, o as readGatewayJsonResponse, s as readGatewayTextResponse, t as fetchSpaceMeta, u as resolveSpaceSendText } from "./meta-api-DruuiAx-.js";
17
- import { A as readAgentActivityContextForPath, B as installAgentActivityIntegrations, D as syncLocalAgentActivity, F as registerAgentActivityRoute, H as resolveAgentActivityDispatcherCommand, I as resolveAgentActivityRouteForPath, L as unregisterAgentActivityRoute, M as enqueueControllerTaskLifecycleEventWhileLocked, N as readControllerTaskLifecycleOutboxHealth, P as isAgentActivityRouteRegistered, U as uninstallAgentActivityIntegrations, V as readAgentActivityIntegrationStatus, c as runDirectMessage, d as runSpaceActionSilent, f as runSpaceActionStatus, i as materializeOrganizationSkillRelease, j as removeAgentActivityContextCache, l as runSpaceActionHelp, m as runSpaceActionWake, n as createSpaceWorkingCopies, o as runSpaceActionMcpServer, p as runSpaceActionTargets, r as downloadWorkingCopyFile, t as fetchSpaceUpdates, u as runSpaceActionReply, x as readRuntimeReportingHealthState, z as defaultManagedIntegrationPaths } from "./updates-api-s2-QB929.js";
18
- import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-CktU3ER4.js";
11
+ import { C as updateAuthSessionActiveOrganization, E as runMacOsNativeKeychainHelperIfRequested, a as beginAuthSessionTransition, d as getAuthSessionState, f as getCurrentAuthOwnerUserId, g as normalizeStoredActiveOrganization, n as AuthSessionRecoveryInProgressError, o as buildStoredAuthSessionIdentity, s as clearAuthSession, t as AuthSessionChangedBeforeTransitionError, u as getAuthSessionMetadata } from "./auth-session-D7hlE-47.js";
12
+ import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
13
+ import { t as computerConnectionIntentSchema } from "./computer-connection-WpsIQfkh.js";
14
+ import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-DWwNdCy5.js";
15
+ import { $ as buildAuthStatusSnapshot, B as resolveDaemonServiceParticipationStatus, C as buildProfileWorkspaceRows, E as emitDaemonAgentOverview, F as emitCliJsonEnvelope, G as ensureCommandAuthenticationOrCancel, H as validateLocalProjectConnectionPath, I as runDaemonStartupPreflight, J as runAuthLogout, K as evaluateCommandAuthentication, M as buildHumanErrorCopy, N as renderHumanErrorCard, O as shouldEmitAgentOverview, P as renderHumanTextErrorCard, Q as buildAuthStatusRows, R as resolveLocalComponentsStatus, S as buildProfileWorkspacePresentation, V as LocalProjectConnectionError, W as buildCommandAuthenticationPromptMessage, X as runAuthStatus, Y as runAuthMenu, Z as exchangeOneTimeTokenAuthSession, a as runDaemonBackgroundStartForDecision, at as promptTextEntry, c as runDaemonInterrupt, ct as finishCurrentCommandCheckScope, dt as resetCurrentCommandCheckState, et as formatActiveOrganizationLabel, f as runDaemonSnapshot, ft as startCurrentCommandCheckScope, g as runDaemonUninstall, h as runDaemonTeardownStrict, i as runDaemonAutostart, j as runDaemonStartDecisionPrompt, l as runDaemonReinstall, lt as getCurrentCommandCheckState, m as runDaemonStop, n as isManagedSystemServiceBootstrapRun, nt as renderInfoCard, o as runDaemonCancel, ot as isReturnKeypress, p as runDaemonStatusFlow, q as runAuthLogin, r as runDaemon, rt as renderTextInfoCard, s as runDaemonInstall, st as runInteractivePrompt, t as bestEffortStopCurrentLaneDaemonService, u as runDaemonRunAfterEntryChecks, ut as isCurrentCommandCheckScopeActive, w as reconcileCliVersionView, x as resolveServiceParticipationReadiness, y as formatServiceParticipationReadinessLabel, z as writeInstalledLocalComponentsSnapshot } from "./service-DveGEdh3.js";
16
+ import { A as removeProjectInbox, At as buildDispatchResultReplyWorkflowProjection, Bt as buildSpaceRoundReadProjection, Cn as cliJsonSkillsShowEnvelopeSchema, D as readCodexSessionTitles, Dn as organizationJoinLinkManagementQuerySchema, E as normalizeSharedSessionTitle, En as organizationJoinLinkErrorResponseSchema, Ht as buildUpdatesReplyWorkflowProjection, I as removeProjectOutbox, Kt as createSpaceMemberIdentityIndex, Mt as buildPublicSpaceEntryUrl, Nt as buildSignalIndex, On as revokeOrganizationJoinLinkResponseSchema, P as readAgentActivityOutboxHealth, Pt as buildSignalMessageReadProjection, Q as readRecentDaemonDispatchJournalEvents, Sn as cliJsonSkillsScanEnvelopeSchema, T as resolveObservedAgentActivityBinding, Tn as getOrganizationJoinLinkResponseSchema, Tt as upsertSpaceConfig, Xt as formatRemovedCcRelationMessage, _n as cliJsonSkillsAddAllEnvelopeSchema, bn as cliJsonSkillsListEnvelopeSchema, gn as cliJsonOutputEnvelopeSchema, i as readDispatchOwnedRuntimeGuard, k as enqueueAgentActivityHookEvent, kt as buildDispatchResultMessageReadProjection, mt as inspectSpaceCacheFile, t as assertDispatchOwnedRuntimePublicWriteAllowed, u as readDispatchSpaceActionContextFromEnv, vn as cliJsonSkillsAddEnvelopeSchema, w as buildAgentActivityEvent, wn as acceptOrganizationJoinLinkBodySchema, xn as cliJsonSkillsLoadEnvelopeSchema, yn as cliJsonSkillsAddPreviewEnvelopeSchema } from "./dispatch-owned-runtime-g2lLeYtx.js";
17
+ import { c as toStructuredGatewayFailure, d as resolveSpaceTaskSelection, l as parseJsonResponse, m as createCliSpaceApi, n as updateSpaceMeta, o as readGatewayJsonResponse, s as readGatewayTextResponse, t as fetchSpaceMeta, u as resolveSpaceSendText } from "./meta-api-QskBmfuf.js";
18
+ import { A as readAgentActivityContextForPath, B as installAgentActivityIntegrations, D as syncLocalAgentActivity, F as registerAgentActivityRoute, H as resolveAgentActivityDispatcherCommand, I as resolveAgentActivityRouteForPath, L as unregisterAgentActivityRoute, M as enqueueControllerTaskLifecycleEventWhileLocked, N as readControllerTaskLifecycleOutboxHealth, P as isAgentActivityRouteRegistered, U as uninstallAgentActivityIntegrations, V as readAgentActivityIntegrationStatus, c as runDirectMessage, d as runSpaceActionSilent, f as runSpaceActionStatus, i as materializeOrganizationSkillRelease, j as removeAgentActivityContextCache, l as runSpaceActionHelp, m as runSpaceActionWake, n as createSpaceWorkingCopies, o as runSpaceActionMcpServer, p as runSpaceActionTargets, r as downloadWorkingCopyFile, t as fetchSpaceUpdates, u as runSpaceActionReply, x as readRuntimeReportingHealthState, z as defaultManagedIntegrationPaths } from "./updates-api-9midbUU1.js";
19
+ import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-DVqzJKke.js";
19
20
  import { a as activateWindowsManagedCommand } from "./process-identity-BRbhGGTM.js";
20
- import { A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Bt as readCurrentLocalDeviceId, Ft as resolveCurrentDaemonExpectedVersion, Ht as isCliUpdateCheckApplicable, J as getSetupFlowCopy, K as buildDaemonRouteObservationPresentation$1, Lt as assessServerRequiredVersion, N as mapAgentReplyReadinessToLegacyAutoReply, Nt as classifyDaemonServiceRunStartability, O as resolveCurrentReplyReadinessSnapshot, Pt as classifyDaemonServiceWakeability, T as resolveDaemonServiceFreshnessWarning, U as resolveOpenClawLocalDiagnosticsValue, Vt as assessCliUpdate, _ as resolveServiceReadinessFromServiceStatus, j as formatHumanReplyReadinessReason$1, k as formatAgentReplyReadinessLabel, pt as inspectDaemonServiceInventory, q as buildOnboardingPlan, t as runPendingDaemonServiceUpdate } from "./daemon-service-update-coordinator-D0-15tZW.js";
21
- import { A as assertFullSignalIdArgument, B as resolveAgentProfileSetup, C as buildFormalSignalReadPayload, D as resolveOrganizationVisibilityLabel, E as resolveLinkAccessLabel, F as emitSpaceCliAgentOverview, G as renderOpenMeldHeader, H as colorizeDisplayProfileLabel, I as prepareLocalAgentReadiness, J as createProfileByKind, K as renderOpenMeldLogo, L as buildReplyReadinessGuidance, M as prepareAuthenticatedSpaceCommandContext, N as resolveOpenMeldProfileForSpaceCommand, O as parseEnvelope, P as emitSpaceAgentOverview, Q as assessActionParticipationCandidate, R as resolveHumanControllerDisplayName, S as buildFormalDispatchResultReadPayload, T as formatHumanReadTargetList, U as printOpenMeldBanner, V as colorizeAgentLabel, W as renderOpenMeldBrandBlockLines, X as resolveCreateProfileName, Y as resolveCreateProfileKind, Z as ensureAgentProfileRuntimeBinding, _ as emitHumanReadSignalsTextProjection, a as runSpaceDelete, b as loadSpaceSignalIndexOrNull, c as runSpaceLeave, d as runSpaceRemoveMembers, f as runSpaceSend, g as buildHumanReadSignalsTranscriptItems, h as runSpaceWriteWithPasswordRetry, i as runSpaceCreate, j as assertValidSpaceIdTarget, k as isSpaceCommandOutputHandledError, l as runSpaceList, m as runSpaceReadWithPasswordRetry, n as promptAndConfirmSpacePassword, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldTagline, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, u as runSpacePassword, v as buildIdentityOnlyMembersSnapshotForReadProjection, w as buildHumanReplyContextSummary, x as toSpaceMetaUpsertInput, y as loadSpaceIdentityDirectoryOrNull, z as persistAgentTransportSelection } from "./command-BXJ-OwBD.js";
21
+ import { A as formatDeviceReplyReadinessLabel, B as resolveGatewayChainReadiness, Bt as readCurrentLocalDeviceId, Ft as resolveCurrentDaemonExpectedVersion, Ht as isCliUpdateCheckApplicable, J as getSetupFlowCopy, K as buildDaemonRouteObservationPresentation$1, Lt as assessServerRequiredVersion, N as mapAgentReplyReadinessToLegacyAutoReply, Nt as classifyDaemonServiceRunStartability, O as resolveCurrentReplyReadinessSnapshot, Pt as classifyDaemonServiceWakeability, T as resolveDaemonServiceFreshnessWarning, U as resolveOpenClawLocalDiagnosticsValue, Vt as assessCliUpdate, _ as resolveServiceReadinessFromServiceStatus, j as formatHumanReplyReadinessReason$1, k as formatAgentReplyReadinessLabel, pt as inspectDaemonServiceInventory, q as buildOnboardingPlan, t as runPendingDaemonServiceUpdate } from "./daemon-service-update-coordinator-BTlVzU-7.js";
22
+ import { A as assertFullSignalIdArgument, B as resolveAgentProfileSetup, C as buildFormalSignalReadPayload, D as resolveOrganizationVisibilityLabel, E as resolveLinkAccessLabel, F as emitSpaceCliAgentOverview, G as renderOpenMeldHeader, H as colorizeDisplayProfileLabel, I as prepareLocalAgentReadiness, J as createProfileByKind, K as renderOpenMeldLogo, L as buildReplyReadinessGuidance, M as prepareAuthenticatedSpaceCommandContext, N as resolveOpenMeldProfileForSpaceCommand, O as parseEnvelope, P as emitSpaceAgentOverview, Q as assessActionParticipationCandidate, R as resolveHumanControllerDisplayName, S as buildFormalDispatchResultReadPayload, T as formatHumanReadTargetList, U as printOpenMeldBanner, V as colorizeAgentLabel, W as renderOpenMeldBrandBlockLines, X as resolveCreateProfileName, Y as resolveCreateProfileKind, Z as ensureAgentProfileRuntimeBinding, _ as emitHumanReadSignalsTextProjection, a as runSpaceDelete, b as loadSpaceSignalIndexOrNull, c as runSpaceLeave, d as runSpaceRemoveMembers, f as runSpaceSend, g as buildHumanReadSignalsTranscriptItems, h as runSpaceWriteWithPasswordRetry, i as runSpaceCreate, j as assertValidSpaceIdTarget, k as isSpaceCommandOutputHandledError, l as runSpaceList, m as runSpaceReadWithPasswordRetry, n as promptAndConfirmSpacePassword, o as runSpaceHistory, p as runSpaceWatch, q as renderOpenMeldTagline, r as runSpaceAddMembers, s as runSpaceJoin, t as buildCreateSpacePasswordPromptConfig, u as runSpacePassword, v as buildIdentityOnlyMembersSnapshotForReadProjection, w as buildHumanReplyContextSummary, x as toSpaceMetaUpsertInput, y as loadSpaceIdentityDirectoryOrNull, z as persistAgentTransportSelection } from "./command-qNknO9gl.js";
22
23
  import { D as isLocalMachineFailureError, O as toRecognizedLocalMachineFailureError, S as LocalMachineFailureError, T as createOrphanedSetupConcurrencyIssue, _ as resolveCliContext, a as isOpenMeldOrphanedLockError, b as formatLaneScopeSentence, c as releaseLockSync, d as runWithHeldLock, i as isOpenMeldLockError, k as formatLocalMachineIssueMessage, l as repairOrphanedLegacyLocks, m as OPENMELD_CLI_CONTEXT_ENV_KEY, p as LEGACY_OPENMELD_AGENT_SESSION_ENV_KEY, r as buildOpenMeldOrphanedLockAction, t as acquireLock, u as resolveOpenMeldOrphanedLockIssue, w as createActiveSetupConcurrencyIssue, x as resolveOpenMeldLaneDescriptor } from "./lock-BMI00i2F.js";
23
- import { $ as getCommandHintsFromContract, A as createSpaceUpdatesGuideError, D as createSpaceSubcommandTargetGuideError, Dt as formatAgentOverviewPayload, Et as buildDualViewGuideMessage, G as canonicalizeAllowedActions, L as areAllowedActionsEquivalent, M as createStartAuthenticationGuideError, O as createSpaceTargetGuideError, P as OPENMELD_AGENT_MENTAL_MODEL_LINES, S as createSpaceResultGuideError, Tt as formatDualViewGuideForDisplay, a as createProfileMenuGuideError, at as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, d as createSpaceContractSetGuideError, g as createSpaceMenuGuideError, gt as registerAuthLoginRequestOptions, h as createSpaceLeaveGuideError, i as createProfileCreateGuideError, j as createStartAgentIdentityGuideError, l as createSpaceAddMembersGuideError, mt as registerDaemonControlTargetOptions, n as createDoctorFailedGuideError, nt as registerSpaceMemberSelectionOptions, o as createResetConfirmationGuideError, pt as getCliVersionInfo, r as createProfileActionGuideError, u as createSpaceAliasTargetGuideError, ut as registerSkillsTargetSelectionOptions, v as createSpacePublicationSetGuideError, wt as DualViewGuideError, x as createSpaceRemoveMembersGuideError, xt as registerBuiltinAgentSelectionOptions, z as buildAgentFacingPublicationModeGuideLines } from "./dual-view-guide-catalog-0kSizTFt.js";
24
+ import { $ as getCommandHintsFromContract, A as createSpaceUpdatesGuideError, D as createSpaceSubcommandTargetGuideError, Dt as formatAgentOverviewPayload, Et as buildDualViewGuideMessage, G as canonicalizeAllowedActions, L as areAllowedActionsEquivalent, M as createStartAuthenticationGuideError, O as createSpaceTargetGuideError, P as OPENMELD_AGENT_MENTAL_MODEL_LINES, S as createSpaceResultGuideError, Tt as formatDualViewGuideForDisplay, a as createProfileMenuGuideError, at as SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS, d as createSpaceContractSetGuideError, g as createSpaceMenuGuideError, gt as registerAuthLoginRequestOptions, h as createSpaceLeaveGuideError, i as createProfileCreateGuideError, j as createStartAgentIdentityGuideError, l as createSpaceAddMembersGuideError, mt as registerDaemonControlTargetOptions, n as createDoctorFailedGuideError, nt as registerSpaceMemberSelectionOptions, o as createResetConfirmationGuideError, pt as getCliVersionInfo, r as createProfileActionGuideError, u as createSpaceAliasTargetGuideError, ut as registerSkillsTargetSelectionOptions, v as createSpacePublicationSetGuideError, wt as DualViewGuideError, x as createSpaceRemoveMembersGuideError, xt as registerBuiltinAgentSelectionOptions, z as buildAgentFacingPublicationModeGuideLines } from "./dual-view-guide-catalog-CkcY09Kh.js";
24
25
  import { E as updateConfiguredStartV1OnboardingState, S as setConfiguredSkillsConfig, a as resolveBaseUrl, b as setConfiguredBaseUrl, c as resolveExplicitGatewayUrlOrThrow, g as getConfiguredSkillsConfig, m as getConfiguredOnboardingDisclaimerAcceptedAt, o as resolveBaseUrlOrNull, u as alignRuntimeConfigStorage, w as updateConfiguredOnboardingConfig } from "./base-url-0AoeTi3w.js";
25
- import { A as resolveAuthenticationGuidanceFromError, C as buildAgentAuthenticationGuide, D as createAuthenticationError, E as buildHumanAuthenticationCard, N as getProfileDefaultView, P as setProfileDefaultView, S as setSelectedOpenMeldProfileId, a as requireOpenMeldProfile, b as clearSelectedOpenMeldProfileId, c as createOpenMeldHumanProfile, d as listOpenMeldProfiles, f as primeOpenMeldProfilesSessionCache, i as isSelectedOpenMeldProfileRequiredError, j as resolveAuthenticationGuidanceFromMessage, k as resolveAuthenticationGuidance, l as deleteOpenMeldProfile, m as updateOpenMeldProfile, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, p as resolveOpenMeldProfile, r as resolveViewProfileKey, s as createOpenMeldAgentProfile, t as parseCliViewMode, v as alignSelectedOpenMeldProfileStorage, x as getSelectedOpenMeldProfileId } from "./context-M7dvalCp.js";
26
+ import { A as resolveAuthenticationGuidanceFromError, C as buildAgentAuthenticationGuide, D as createAuthenticationError, E as buildHumanAuthenticationCard, N as getProfileDefaultView, P as setProfileDefaultView, S as setSelectedOpenMeldProfileId, a as requireOpenMeldProfile, b as clearSelectedOpenMeldProfileId, c as createOpenMeldHumanProfile, d as listOpenMeldProfiles, f as primeOpenMeldProfilesSessionCache, i as isSelectedOpenMeldProfileRequiredError, j as resolveAuthenticationGuidanceFromMessage, k as resolveAuthenticationGuidance, l as deleteOpenMeldProfile, m as updateOpenMeldProfile, n as resolveRuntimeContext, o as resolveOpenMeldProfileOrNull, p as resolveOpenMeldProfile, r as resolveViewProfileKey, s as createOpenMeldAgentProfile, t as parseCliViewMode, v as alignSelectedOpenMeldProfileStorage, x as getSelectedOpenMeldProfileId } from "./context-x0T_qTHp.js";
26
27
  import { a as formatOpenMeldCliTextBlock, c as resolveSetupFollowUpCliEntryCommand, i as formatOpenMeldCliLine, l as resolveUserFacingCliEntryCommand, n as formatOpenMeldCliCommand, r as formatOpenMeldCliCommands, s as formatProfileAwareOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
27
28
  import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
28
29
  import { A as getDaemonStatus } from "./daemon-state-Dte9re5V.js";
29
30
  import { a as outJsonLine, i as errLine, n as sanitizeTerminalDisplayText, o as outLine, r as formatMessage, t as createPresenter } from "./presenter-BcxiQyJg.js";
30
- import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-CYbEdm9o.js";
31
+ import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DMEfIARh.js";
31
32
  import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
32
33
  import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BgYR6ozy.js";
33
- import { r as runServiceAccountCarrier } from "./service-account-authorization-CtvSn02O.js";
34
- import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-CGUuJshv.js";
35
- import { g as canUseInteractivePrompts } from "./elapsed-time-Bo1CJczC.js";
36
- import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-BZgQmVup.js";
37
- import { t as runServiceAccountControl } from "./service-account-control-BUPiFEGo.js";
38
- import { C as buildNoLocalAgentsNoticeLines, D as recoverInterruptedComputerAuthHandoff, E as formatComputerAuthCleanupFailureSuffix, O as exchangeComputerAuthorizationGrant, S as buildLocalAgentsGuideUrl, T as emitUnusedSetupSessionCleanupWarning, _ as runStartLocalAgentsEnable, a as assertSetupServiceUpdateComplete, b as submitSelectedAgentControllerReports, c as collectObservedDeviceMetadata, d as collectStartLocalReadiness, f as runSkillsCheck$1, g as runSkillsUpdate, h as runSkillsUninstall, i as runPrepareSessionExecutor, j as writePrepareSessionSetupBootstrapResult, k as revokePreparedAuthSession, l as createSetupProgressReporter, m as runSkillsInstall, n as reportPrepareHandoffStopped, o as shouldForceSetupServiceRefresh, p as runSkillsEnsure, r as resolvePrepareSessionForHandoff, s as syncLocalSetupCurrentDeviceTargetFromServiceContract, t as connectPrepareSessionStream, u as resolveControllingTerminalSession, v as isCliOutputHandledError, w as confirmContinueWithoutLocalAgents, x as appendLocalAgentsGuideUrl, y as assertSelectedAgentControllerReportSubmissionsAccepted } from "./prepare-session-executor-B5AjN0qz.js";
39
- import { C as resolveGatewayWebOrigin, T as runDaemonServiceParticipationGate, _ as promptSearchSelect, a as runAgentsCustomRemove, c as runAgentsDisable, d as runAgentsManage, f as runAgentsRepair, h as promptSearchMultiselect, i as runAgentsCustomList, l as runAgentsEnable, m as formatTransportModeDisplay, n as runAgentsConfig, o as runAgentsCustomUpdate, p as runAgentsShow, r as runAgentsCustomAdd, s as runAgentsDetect, t as runAgents, u as runAgentsList, w as resolveSpaceWebGatewayOrigin } from "./agents-QisYIlFS.js";
40
- import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-CGa3GGL6.js";
41
- import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1 } from "./upgrade-JmhCNmvs.js";
34
+ import { r as runServiceAccountCarrier } from "./service-account-authorization-CAVkiKSF.js";
35
+ import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-C32I8p4n.js";
36
+ import { g as canUseInteractivePrompts } from "./elapsed-time-BMG1CU23.js";
37
+ import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-7JOtUjyG.js";
38
+ import { t as runServiceAccountControl } from "./service-account-control-BtE73wcO.js";
39
+ import { C as buildNoLocalAgentsNoticeLines, D as recoverInterruptedComputerAuthHandoff, E as formatComputerAuthCleanupFailureSuffix, O as exchangeComputerAuthorizationGrant, S as buildLocalAgentsGuideUrl, T as emitUnusedSetupSessionCleanupWarning, _ as runStartLocalAgentsEnable, a as assertSetupServiceUpdateComplete, b as submitSelectedAgentControllerReports, c as collectObservedDeviceMetadata, d as collectStartLocalReadiness, f as runSkillsCheck$1, g as runSkillsUpdate, h as runSkillsUninstall, i as runPrepareSessionExecutor, j as writePrepareSessionSetupBootstrapResult, k as revokePreparedAuthSession, l as createSetupProgressReporter, m as runSkillsInstall, n as reportPrepareHandoffStopped, o as shouldForceSetupServiceRefresh, p as runSkillsEnsure, r as resolvePrepareSessionForHandoff, s as syncLocalSetupCurrentDeviceTargetFromServiceContract, t as connectPrepareSessionStream, u as resolveControllingTerminalSession, v as isCliOutputHandledError, w as confirmContinueWithoutLocalAgents, x as appendLocalAgentsGuideUrl, y as assertSelectedAgentControllerReportSubmissionsAccepted } from "./prepare-session-executor-DA9saGAk.js";
40
+ import { C as resolveGatewayWebOrigin, T as runDaemonServiceParticipationGate, _ as promptSearchSelect, a as runAgentsCustomRemove, c as runAgentsDisable, d as runAgentsManage, f as runAgentsRepair, h as promptSearchMultiselect, i as runAgentsCustomList, l as runAgentsEnable, m as formatTransportModeDisplay, n as runAgentsConfig, o as runAgentsCustomUpdate, p as runAgentsShow, r as runAgentsCustomAdd, s as runAgentsDetect, t as runAgents, u as runAgentsList, w as resolveSpaceWebGatewayOrigin } from "./agents-woAcH0O6.js";
41
+ import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-IhxMO4UA.js";
42
+ import { a as runUpgrade, c as OPENMELD_UPGRADE_FAILURE_HINTS, l as OPENMELD_UPGRADE_METADATA_RECOVERY_HINTS, n as isUpgradeOutputHandledError, o as emitTopLevelAgentOverview, s as emitTopLevelCliAgentOverview, t as UPGRADE_INTERNAL_ALIGN_SERVICE_FLAG$1 } from "./upgrade-H-_QW75e.js";
42
43
  import { createHash, randomUUID } from "node:crypto";
43
44
  import { homedir, tmpdir } from "node:os";
44
45
  import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep } from "node:path";
@@ -1165,6 +1166,38 @@ async function readServiceCompatibility() {
1165
1166
  }
1166
1167
  //#endregion
1167
1168
  //#region src/agent-activity/command.ts
1169
+ async function runAgentActivityHistory(input) {
1170
+ await runProjectCommand(input, "activity.history", async (context) => {
1171
+ const request = sessionHistoryReadSchema.parse({
1172
+ operation: "read_session",
1173
+ projectId: input.projectId,
1174
+ sessionId: input.session,
1175
+ offset: Number(input.offset ?? 0),
1176
+ limit: Number(input.limit ?? 20)
1177
+ });
1178
+ const dispatch = process.env["OPENMELD_DISPATCH_RUNTIME_MODE"] || process.env["OPENMELD_SPACE_ACTION_CONTEXT_PATH"] ? readDispatchSpaceActionContextFromEnv() : null;
1179
+ const agent = dispatch ? await resolveOpenMeldProfile({
1180
+ openMeldProfileId: dispatch.targetProfileId,
1181
+ profileKind: "agent"
1182
+ }) : null;
1183
+ if (dispatch && !dispatch.executionTokenEcho) throw new Error("This Wake has no current execution proof for session history.");
1184
+ const response = await context.historyApi.request({
1185
+ organizationId: context.organizationId,
1186
+ deviceId: input.device,
1187
+ runtimeLane: daemonServiceLaneSchema.parse(input.lane),
1188
+ request,
1189
+ ...dispatch && agent && dispatch.executionTokenEcho ? {
1190
+ execution: {
1191
+ dispatchId: dispatch.dispatchId,
1192
+ executionTokenEcho: dispatch.executionTokenEcho
1193
+ },
1194
+ requestContext: buildOpenMeldRequestContextFromProfile({ openMeldProfile: agent })
1195
+ } : {}
1196
+ });
1197
+ if (response.kind === "error") throw new Error(response.message);
1198
+ emitSuccess(context, "activity.history", response);
1199
+ });
1200
+ }
1168
1201
  async function runProjectsList(input = {}) {
1169
1202
  await runProjectCommand(input, "list", async (context) => {
1170
1203
  const [response, connections] = await Promise.all([context.projectsApi.list(), listProjectConnectionsWithStatus({ organizationId: context.organizationId })]);
@@ -1426,6 +1459,7 @@ async function runProjectCommand(input, operation, run) {
1426
1459
  organizationSlug = organization.slug;
1427
1460
  const apiClient = createCliApiClientFoundation(await resolveBaseUrl());
1428
1461
  await run({
1462
+ historyApi: createSessionHistoryApi(apiClient),
1429
1463
  activityApi: createAgentActivityApi(apiClient),
1430
1464
  json,
1431
1465
  organizationId: organization.id,
@@ -1517,6 +1551,43 @@ function emitSuccess(context, code, payload) {
1517
1551
  });
1518
1552
  }
1519
1553
  function emitActivitySuccess(context, code, payload) {
1554
+ if (code === "activity.history") {
1555
+ const history = sessionHistoryResultSchema.parse(payload);
1556
+ if (history.kind !== "session") return false;
1557
+ renderInfoCard({
1558
+ presenter: context.presenter,
1559
+ codePrefix: code,
1560
+ title: "Session history",
1561
+ sanitize: true,
1562
+ rows: [
1563
+ {
1564
+ label: "Session",
1565
+ value: history.sessionId
1566
+ },
1567
+ {
1568
+ label: "Requester",
1569
+ value: history.requester.requesterUserId
1570
+ },
1571
+ {
1572
+ label: "Audience",
1573
+ value: history.requester.audience
1574
+ },
1575
+ {
1576
+ label: "Request source",
1577
+ value: history.requester.requestRootId
1578
+ },
1579
+ ...history.messages.map((message) => ({
1580
+ label: `${message.role}${message.truncated ? " (shortened)" : ""}`,
1581
+ value: message.text
1582
+ })),
1583
+ {
1584
+ label: "Next offset",
1585
+ value: history.nextOffset === null ? "End of history" : String(history.nextOffset)
1586
+ }
1587
+ ]
1588
+ });
1589
+ return true;
1590
+ }
1520
1591
  if (code === "activity.read" && context.presenter.view === "agent") {
1521
1592
  emitAgentActivitySnapshot(context.presenter, payload);
1522
1593
  return true;
@@ -1822,6 +1893,7 @@ const COMMAND_CHECK_REQUIREMENTS = Object.freeze({
1822
1893
  root: buildCommandChecks(OPTIONAL_CLI_UPDATE),
1823
1894
  "plugins.list": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1824
1895
  "plugins.connect": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1896
+ "plugins.connection": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1825
1897
  "plugins.actions": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1826
1898
  "plugins.call": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
1827
1899
  view: buildCommandChecks(OPTIONAL_CLI_UPDATE),
@@ -2057,6 +2129,7 @@ const COMMAND_ENTRY_NAME_BY_ROUTE = {
2057
2129
  "files download": "files.download",
2058
2130
  "plugins list": "plugins.list",
2059
2131
  "plugins connect": "plugins.connect",
2132
+ "plugins connection": "plugins.connection",
2060
2133
  "plugins actions": "plugins.actions",
2061
2134
  "plugins call": "plugins.call",
2062
2135
  "skills ensure": "skills.ensure",
@@ -2705,6 +2778,11 @@ const COMMAND_ENTRY_COPY_BY_NAME = Object.freeze({
2705
2778
  signInAction: "discovering plugin actions",
2706
2779
  profileAction: null
2707
2780
  },
2781
+ "plugins.connection": {
2782
+ ...DEFAULT_COPY,
2783
+ signInAction: "using a plugin account on your cloud Computer",
2784
+ profileAction: null
2785
+ },
2708
2786
  "plugins.call": {
2709
2787
  ...DEFAULT_COPY,
2710
2788
  signInAction: "running a plugin action",
@@ -5518,6 +5596,7 @@ function registerAgentActivityCommands(program, handlers) {
5518
5596
  });
5519
5597
  };
5520
5598
  addActivityReadOptions(activity).action(runRead);
5599
+ activity.command("history").description("Read an authorized page of Codex messages from a connected Computer.").requiredOption("--device <id>", "Source Computer device ID").requiredOption("--lane <lane>", "Source Computer environment").requiredOption("--project-id <id>", "Authorized Project ID").requiredOption("--session <id>", "Codex native session ID").option("--offset <number>", "Message offset", "0").option("--limit <number>", "Maximum messages (1–50)", "20").option("--json", "Print one machine-readable JSON envelope.", false).action(async (_options, command) => handlers.history(command.optsWithGlobals()));
5521
5600
  activity.command("context").description("Read fresh cached Organization activity context for agent startup.").option("--path <path>", "Resolve context for this bound repository path").option("--json", "Print one machine-readable JSON envelope.", false).action(runWithActivityJson(handlers.context));
5522
5601
  addActivityReadOptions(activity.command("read").description("Read the current Organization's safe Agent Activity snapshot.")).action(runRead);
5523
5602
  addActivitySessionsOptions(activity.command("sessions").description("List the Organization's authorized Local Agent Session Inventory.")).action(async (_options, command) => {
@@ -9360,7 +9439,7 @@ function buildAgentProfileRuntimeRows(runtimeState) {
9360
9439
  value: formatTransportModeDisplay(runtimeState.transportMode)
9361
9440
  },
9362
9441
  {
9363
- label: "Can Reply in Space",
9442
+ label: "Local Reply Setup",
9364
9443
  value: formatHumanReplyReadinessLabel(runtimeState.replyReadinessLabel)
9365
9444
  },
9366
9445
  ...runtimeState.wakeRouteEvidence ? [{
@@ -9455,7 +9534,7 @@ function formatHumanReplyReadinessReason(reason) {
9455
9534
  }
9456
9535
  function formatHumanReplyReadinessLabel(label) {
9457
9536
  const normalized = label.trim();
9458
- if (normalized === "ready") return "Can reply";
9537
+ if (normalized === "ready") return "Local setup ready";
9459
9538
  if (normalized === "blocked") return "Blocked";
9460
9539
  if (normalized === "degraded") return "Limited";
9461
9540
  if (normalized === "unknown") return "Unknown";
@@ -12159,6 +12238,7 @@ async function runServiceTrace(input, deps = {}) {
12159
12238
  });
12160
12239
  const admissionRejections = resolveAdmissionRejections(traceResponse.trace);
12161
12240
  const traceReadinessGuidance = shouldExposeCurrentReadinessGuidance(traceResponse.trace) ? targetContext.guidance : null;
12241
+ emitRuntimeCounterGuide(input.details, traceResponse, presenter);
12162
12242
  const payload = {
12163
12243
  ...traceResponse.nativeDeliveryTrace ? { nativeDeliveryTrace: traceResponse.nativeDeliveryTrace } : {},
12164
12244
  ...traceResponse.serviceConnectionDiagnostics ? { serviceConnectionDiagnostics: traceResponse.serviceConnectionDiagnostics } : {},
@@ -12888,14 +12968,21 @@ function buildHumanTraceRows(input) {
12888
12968
  });
12889
12969
  return rows;
12890
12970
  }
12971
+ function emitRuntimeCounterGuide(details, response, presenter) {
12972
+ if (!(details && response.remoteAgentRuntimeDiagnostics)) return;
12973
+ presenter.line({
12974
+ code: "service.trace.runtime_counter_guide",
12975
+ text: "Runtime counters: modelCallCount counts completed agent prompt operations, including their tool loops. providerRequestCount counts individual model-provider requests. conversationCompaction counts retained-history compactions. These counters do not prove delivery."
12976
+ });
12977
+ }
12891
12978
  function formatLocalReplyEvidenceLabel(value) {
12892
- if (value === "Ready" || value === "Available for Wake" || value === "Can reply") return "Local evidence: reply-capable";
12979
+ if (value === "Local setup ready" || value === "Ready" || value === "Available for Wake" || value === "Can reply") return "Local evidence: setup ready";
12893
12980
  const replyCapableDetail = firstPrefixedDetail(value, [
12894
12981
  "Ready · ",
12895
12982
  "Available for Wake · ",
12896
12983
  "Can reply · "
12897
12984
  ]);
12898
- if (replyCapableDetail !== null) return `Local evidence: reply-capable · ${replyCapableDetail}`;
12985
+ if (replyCapableDetail !== null) return `Local evidence: setup ready · ${replyCapableDetail}`;
12899
12986
  if (value === "Not ready" || value === "Unavailable" || value === "Blocked") return "Local evidence: not reply-capable";
12900
12987
  const notReplyCapableDetail = firstPrefixedDetail(value, [
12901
12988
  "Not ready · ",
@@ -13648,7 +13735,7 @@ function buildAgentTraceCompactSummary(input) {
13648
13735
  ...nativeDeliveryEvidence,
13649
13736
  currentState: "final_projection_pending",
13650
13737
  delivered: false,
13651
- nextAction: "wait - if the target computer is offline, this Wake is delivered automatically when its OpenMeld Service reconnects; rerun trace with the same selector to confirm",
13738
+ nextAction: "wait, then rerun trace with the same selector; use --details to inspect execution evidence",
13652
13739
  reasonCode: trace.finalVisibleMessageLinkage.reasonCode,
13653
13740
  visibleOutcome: finalVisibleOutcome.status
13654
13741
  };
@@ -19807,6 +19894,8 @@ function resolveSpaceReadFailureHints(entryName) {
19807
19894
  case "history": return ["openmeld space history <space-id-or-url> --kind text --brief --limit 20"];
19808
19895
  case "members": return ["openmeld space members <space-id-or-url>"];
19809
19896
  case "status": return ["openmeld space status <space-id-or-url>"];
19897
+ case "wake-progress": return ["openmeld space wake-progress <space-id-or-url>"];
19898
+ case "result": return ["openmeld service trace --space <space-id> --dispatch <dispatch-id> --view agent"];
19810
19899
  default: return null;
19811
19900
  }
19812
19901
  }
@@ -19821,6 +19910,8 @@ function resolveSpaceReadCommandName(entryName) {
19821
19910
  case "space.history": return "history";
19822
19911
  case "space.members": return "members";
19823
19912
  case "space.status": return "status";
19913
+ case "space.wake_progress": return "wake-progress";
19914
+ case "space.result": return "result";
19824
19915
  default: return null;
19825
19916
  }
19826
19917
  }
@@ -24620,7 +24711,7 @@ function normalizeOptionalString(value) {
24620
24711
  return normalized.length > 0 ? normalized : null;
24621
24712
  }
24622
24713
  async function runDefaultSpaceAddMeMembership(input) {
24623
- const { runSpaceAddMeMembership } = await import("./add-me-membership-C7dYkfPz.js");
24714
+ const { runSpaceAddMeMembership } = await import("./add-me-membership-DUeJA9q4.js");
24624
24715
  return await runSpaceAddMeMembership(input);
24625
24716
  }
24626
24717
  //#endregion
@@ -27604,11 +27695,12 @@ async function runSpaceResult(input) {
27604
27695
  space: input.space,
27605
27696
  resolvedView: runtime.resolvedView
27606
27697
  });
27607
- const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile: await resolveOpenMeldProfileForSpaceCommand({
27698
+ const openMeldProfile = await resolveOpenMeldProfileForSpaceCommand({
27608
27699
  openMeldProfileId: input.profile,
27609
27700
  resolvedView: runtime.resolvedView,
27610
27701
  interactive
27611
- }) });
27702
+ });
27703
+ const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile });
27612
27704
  const spaceApi = createCliSpaceApi(baseUrl);
27613
27705
  let resultRead;
27614
27706
  try {
@@ -27628,7 +27720,10 @@ async function runSpaceResult(input) {
27628
27720
  } catch (error) {
27629
27721
  throw decorateSpaceResultReadError({
27630
27722
  error,
27631
- humanView: runtime.resolvedView === "human" && !input.json
27723
+ space: input.space,
27724
+ dispatchId,
27725
+ profile: openMeldProfile.openMeldProfileId,
27726
+ baseUrl
27632
27727
  });
27633
27728
  }
27634
27729
  if (resultRead.status === "cancelled") return;
@@ -27659,11 +27754,13 @@ async function runSpaceResult(input) {
27659
27754
  }
27660
27755
  function decorateSpaceResultReadError(input) {
27661
27756
  const failure = toStructuredGatewayFailure(input.error);
27662
- if (!(input.humanView && isMissingDispatchResultFailure({
27757
+ if (!isMissingDispatchResultFailure({
27663
27758
  code: failure.code,
27664
27759
  message: failure.message
27665
- }))) return input.error;
27666
- const error = /* @__PURE__ */ new Error("No archived dispatch result was found. `space result` reads archived dispatch results only. Use `openmeld service trace` to inspect Wake execution and the final visible Space outcome.");
27760
+ })) return input.error;
27761
+ const selector = input.dispatchId ? ` --dispatch ${quoteCommandArgument(input.dispatchId)}` : " --dispatch <dispatch-id>";
27762
+ const command = `${resolveUserFacingCliEntryCommand()} service trace --space ${quoteCommandArgument(input.space)}${selector} --profile ${quoteCommandArgument(input.profile)} --gateway-url ${quoteCommandArgument(input.baseUrl)} --view agent`;
27763
+ const error = /* @__PURE__ */ new Error(`No archived dispatch result was found. This does not mean the Wake failed. Hosted replies can exist without a workstation result archive. Run ${command} to read the execution and visible reply evidence. Use the returned Signal ID with space history --around-signal to read the reply.`);
27667
27764
  error.code = failure.code ?? void 0;
27668
27765
  error.requestId = failure.requestId;
27669
27766
  error.status = failure.status;
@@ -27673,6 +27770,9 @@ function isMissingDispatchResultFailure(input) {
27673
27770
  if (input.code === "space.dispatch_result.not_found") return true;
27674
27771
  return input.code === "upstream_error" && input.message.trim().toLowerCase() === "dispatch result not found";
27675
27772
  }
27773
+ function quoteCommandArgument(value) {
27774
+ return `'${value.replaceAll("'", "'\\''")}'`;
27775
+ }
27676
27776
  //#endregion
27677
27777
  //#region src/space/status-output.ts
27678
27778
  function emitSpaceStatusHumanOutput(input) {
@@ -28782,6 +28882,10 @@ function renderRequestAuthorization(response) {
28782
28882
  else outLine("This request cannot authorize an operation. Open your Inbox to see its status. Only start a new request if the owner asks you to proceed.");
28783
28883
  }
28784
28884
  function renderPluginResponse(response) {
28885
+ if (response.kind === "native_connection") {
28886
+ outLine(JSON.stringify(response, null, 2));
28887
+ return;
28888
+ }
28785
28889
  if (response.kind === "authorization_required") {
28786
28890
  renderRequestAuthorization(response);
28787
28891
  return;
@@ -28856,6 +28960,20 @@ function registerPluginCommands(program, options) {
28856
28960
  view: options.view()
28857
28961
  }));
28858
28962
  });
28963
+ common(plugins.command("connection <service>").description("Inspect a Plugin account or reuse it on your cloud Computer.")).addOption(new Option("--account <scope>", "Account identity to use.").choices(["personal", "shared"]).makeOptionMandatory()).requiredOption("--key <key>", "Stable key for this connection use.").option("--computer", "Create a temporary native HTTP connection on your cloud Computer.").action(async (service, flags) => {
28964
+ const request = pluginActionRequestSchema.parse({ action: {
28965
+ operation: "connection",
28966
+ service,
28967
+ account: flags.account,
28968
+ key: flags.key,
28969
+ computer: flags.computer
28970
+ } });
28971
+ await options.run(["plugins", "connection"], () => runPluginCommand({
28972
+ action: request.action,
28973
+ profile: flags.profile,
28974
+ view: options.view()
28975
+ }));
28976
+ });
28859
28977
  common(plugins.command("call <service> <action-id>").description("Run an action; reuse the operation ID only for the exact same request.")).addOption(new Option("--account <scope>", "Account identity to use.").choices(["personal", "shared"]).makeOptionMandatory()).requiredOption("--operation <id>", "Unique operation ID for this exact action.").option("--input <json>", "Action input as a JSON object.", "{}").option("--confirm <token>", "Confirmation returned for this exact action.").option("--verify-operation <id>", "Link this read to an original operation without changing its outcome.").option("--verify-action <id>", "Original action ID for --verify-operation.").option("--replay", "Use the original operation's explicitly permitted, single replay.").action(async (service, actionId, flags) => {
28860
28978
  const request = pluginActionRequestSchema.parse({ action: {
28861
28979
  operation: "execute",
@@ -29586,6 +29704,7 @@ registerProjectCommands(program, {
29586
29704
  }
29587
29705
  });
29588
29706
  registerAgentActivityCommands(program, {
29707
+ history: runAgentActivityHistory,
29589
29708
  context: runActivityContext,
29590
29709
  health: runActivityHealth,
29591
29710
  hook: runActivityHook,
@@ -29630,7 +29749,7 @@ computerCmd.command("cloud").description("Read your personal cloud Computer or r
29630
29749
  routeTokens: ["computer", "cloud"],
29631
29750
  view,
29632
29751
  run: async () => {
29633
- const { runCloudComputer } = await import("./cloud-computer-J2tdcTPm.js");
29752
+ const { runCloudComputer } = await import("./cloud-computer-C81_vVOV.js");
29634
29753
  await runCloudComputer({
29635
29754
  operation: opts.operation,
29636
29755
  view
@@ -29644,7 +29763,7 @@ computerCmd.command("disconnect").description("Disconnect this computer from its
29644
29763
  routeTokens: ["computer", "disconnect"],
29645
29764
  view,
29646
29765
  run: async () => {
29647
- const { runComputerDisconnect } = await import("./computer-disconnect-D_Apsn9P.js");
29766
+ const { runComputerDisconnect } = await import("./computer-disconnect-ttAH9WgN.js");
29648
29767
  await runComputerDisconnect(computerConnectionIntentSchema.parse(JSON.parse(opts.connectionIntent)), view);
29649
29768
  }
29650
29769
  });
@@ -30623,19 +30742,24 @@ withSpaceProfileOption(spaceCmd.command("respond").description("Review and answe
30623
30742
  })
30624
30743
  });
30625
30744
  });
30626
- withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live Wake progress for this Space; use result or service trace after execution.").argument("<space>", "Space ID (64-character hex)").option("--client-message <client-message-id>", "Read progress for one client message instead of the active Space summary").option("--target-profile <profile-id>", "Narrow progress to one target Agent Profile").option("--source-profile <profile-id>", "Narrow the active summary to work requested by one profile").option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
30745
+ withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live Wake progress for this Space; use result or service trace after execution.").argument("<space>", "Space URL or 64-character Space ID").option("--client-message <client-message-id>", "Read progress for one client message instead of the active Space summary").option("--target-profile <profile-id>", "Narrow progress to one target Agent Profile").option("--source-profile <profile-id>", "Narrow the active summary to work requested by one profile").option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
30627
30746
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
30747
+ const target = resolveSpaceReadCommandTarget({
30748
+ baseUrl: cliOptions.gatewayUrl,
30749
+ profile: cliOptions.profile,
30750
+ space: String(space ?? "").trim()
30751
+ });
30628
30752
  const view = getGlobalViewOption();
30629
30753
  await runCommandWithEntryChecks({
30630
30754
  routeTokens: ["space", "wake-progress"],
30631
30755
  view,
30632
- profile: cliOptions.profile,
30633
- gatewayUrl: cliOptions.gatewayUrl,
30756
+ profile: target.profile,
30757
+ gatewayUrl: target.baseUrl,
30634
30758
  run: async () => {
30635
30759
  await runSpaceWakeProgress({
30636
- profile: cliOptions.profile,
30637
- baseUrl: cliOptions.gatewayUrl,
30638
- space: String(space),
30760
+ profile: target.profile,
30761
+ baseUrl: target.baseUrl,
30762
+ space: target.space,
30639
30763
  clientMessageId: normalizeOptionalString$16(opts.clientMessage) ?? void 0,
30640
30764
  sourceProfileId: normalizeOptionalString$16(opts.sourceProfile) ?? void 0,
30641
30765
  targetProfileId: normalizeOptionalString$16(opts.targetProfile) ?? void 0,
@@ -30646,19 +30770,24 @@ withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live
30646
30770
  }
30647
30771
  });
30648
30772
  });
30649
- withSpaceProfileOption(spaceCmd.command("wake-stop").description("Request Stop for one live Wake and report only the server-confirmed state.").argument("<space>", "Space ID (64-character hex)").option("--client-message <client-message-id>", "Select the Wake by client message ID").option("--source-signal <signal-id>", "Select the Wake by source Space signal ID").requiredOption("--target-profile <profile-id>", "Target Agent Profile ID for the selected Wake").option("--reason <text>", "Reason recorded with the Stop request").option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
30773
+ withSpaceProfileOption(spaceCmd.command("wake-stop").description("Request Stop for one live Wake and report only the server-confirmed state.").argument("<space>", "Space URL or 64-character Space ID").option("--client-message <client-message-id>", "Select the Wake by client message ID").option("--source-signal <signal-id>", "Select the Wake by source Space signal ID").requiredOption("--target-profile <profile-id>", "Target Agent Profile ID for the selected Wake").option("--reason <text>", "Reason recorded with the Stop request").option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
30650
30774
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
30775
+ const target = resolveSpaceReadCommandTarget({
30776
+ baseUrl: cliOptions.gatewayUrl,
30777
+ profile: cliOptions.profile,
30778
+ space: String(space ?? "").trim()
30779
+ });
30651
30780
  const view = getGlobalViewOption();
30652
30781
  await runCommandWithEntryChecks({
30653
30782
  routeTokens: ["space", "wake-stop"],
30654
30783
  view,
30655
- profile: cliOptions.profile,
30656
- gatewayUrl: cliOptions.gatewayUrl,
30784
+ profile: target.profile,
30785
+ gatewayUrl: target.baseUrl,
30657
30786
  run: async () => {
30658
30787
  await runSpaceWakeStop({
30659
- profile: cliOptions.profile,
30660
- baseUrl: cliOptions.gatewayUrl,
30661
- space: String(space),
30788
+ profile: target.profile,
30789
+ baseUrl: target.baseUrl,
30790
+ space: target.space,
30662
30791
  clientMessageId: normalizeOptionalString$16(opts.clientMessage) ?? void 0,
30663
30792
  sourceSignalId: normalizeOptionalString$16(opts.sourceSignal) ?? void 0,
30664
30793
  targetProfileId: String(opts.targetProfile),
@@ -31252,7 +31381,7 @@ withSpaceProfileOption(spaceCmd.command("updates").description("Read formal upda
31252
31381
  }
31253
31382
  });
31254
31383
  });
31255
- withSpaceProfileOption(spaceCmd.command("result").description("Read one formal dispatch result scoped to this space.").argument("[space]", "Space ID (64-character hex)").option("--dispatch <dispatch-id>", "Lookup by dispatch ID").option("--result-ref <result-ref>", "Lookup by dispatch result ref").option("--json", "Print canonical JSON", false).option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
31384
+ withSpaceProfileOption(spaceCmd.command("result").description("Read one formal dispatch result scoped to this space.").argument("[space]", "Space URL or 64-character Space ID").option("--dispatch <dispatch-id>", "Lookup by dispatch ID").option("--result-ref <result-ref>", "Lookup by dispatch result ref").option("--json", "Print canonical JSON", false).option("--password <value>", "Space password for protected access")).action(async (space, opts, command) => {
31256
31385
  const cliOptions = resolveSpaceCommandCliOptions(command, opts);
31257
31386
  const spaceValue = String(space ?? "").trim();
31258
31387
  const dispatchId = normalizeOptionalString$16(opts.dispatch);
@@ -31260,17 +31389,22 @@ withSpaceProfileOption(spaceCmd.command("result").description("Read one formal d
31260
31389
  const selectorCount = Number(dispatchId !== null) + Number(resultRef !== null);
31261
31390
  const outputView = await resolveEffectiveViewForOutput();
31262
31391
  if ((spaceValue.length === 0 || selectorCount !== 1) && outputView === "agent") throw createSpaceResultGuideError();
31392
+ const target = resolveSpaceReadCommandTarget({
31393
+ baseUrl: cliOptions.gatewayUrl,
31394
+ profile: cliOptions.profile,
31395
+ space: String(space ?? "").trim()
31396
+ });
31263
31397
  const view = getGlobalViewOption();
31264
31398
  await runCommandWithEntryChecks({
31265
31399
  routeTokens: ["space", "result"],
31266
31400
  view,
31267
- profile: cliOptions.profile,
31268
- gatewayUrl: cliOptions.gatewayUrl,
31401
+ profile: target.profile,
31402
+ gatewayUrl: target.baseUrl,
31269
31403
  run: async () => {
31270
31404
  await runSpaceResult({
31271
- profile: cliOptions.profile,
31272
- baseUrl: cliOptions.gatewayUrl,
31273
- space: spaceValue,
31405
+ profile: target.profile,
31406
+ baseUrl: target.baseUrl,
31407
+ space: target.space,
31274
31408
  ...dispatchId ? { dispatchId } : {},
31275
31409
  ...resultRef ? { resultRef } : {},
31276
31410
  password: cliOptions.password,
@@ -31922,7 +32056,7 @@ async function main() {
31922
32056
  if (await runMacOsNativeKeychainHelperIfRequested()) return;
31923
32057
  const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
31924
32058
  if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
31925
- const { readComputerConnectionReview } = await import("./computer-connection-review-bUqNKi6q.js");
32059
+ const { readComputerConnectionReview } = await import("./computer-connection-review-Df2G8VWY.js");
31926
32060
  outLine(JSON.stringify(await readComputerConnectionReview()));
31927
32061
  return;
31928
32062
  }
@@ -31933,7 +32067,7 @@ async function main() {
31933
32067
  return;
31934
32068
  }
31935
32069
  if (argv[3] === "control-capabilities") {
31936
- const { readServiceControlCapabilities } = await import("./service-control-capabilities-D-Nhqqgo.js");
32070
+ const { readServiceControlCapabilities } = await import("./service-control-capabilities-adDptMIH.js");
31937
32071
  emitCliJsonEnvelope({
31938
32072
  schemaVersion: 1,
31939
32073
  type: "service.control_capabilities",
@@ -32116,4 +32250,4 @@ main().catch((error) => {
32116
32250
  //#endregion
32117
32251
  export {};
32118
32252
 
32119
- //# sourceMappingURL=openmeld-DUdN78WD.js.map
32253
+ //# sourceMappingURL=openmeld-BxTCCHMn.js.map