openmeld 0.3.246 → 0.3.248
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.
- package/dist/{add-me-membership-C7dYkfPz.js → add-me-membership-zSJAa2ET.js} +2 -2
- package/dist/{add-me-membership-C7dYkfPz.js.map → add-me-membership-zSJAa2ET.js.map} +1 -1
- package/dist/{agents-QisYIlFS.js → agents-DLjDbkLV.js} +10 -10
- package/dist/{agents-QisYIlFS.js.map → agents-DLjDbkLV.js.map} +1 -1
- package/dist/{api-client-foundation-CYbEdm9o.js → api-client-foundation-BZvzqIeX.js} +3 -3
- package/dist/{api-client-foundation-CYbEdm9o.js.map → api-client-foundation-BZvzqIeX.js.map} +1 -1
- package/dist/{api-client-foundation-B1aTRrIy.js → api-client-foundation-DE_UqE2s.js} +1 -1
- package/dist/auth-session-BOi-tZ2y.js +4 -0
- package/dist/{auth-session-JhILeJRO.js → auth-session-DywRZLBr.js} +4 -4
- package/dist/{auth-session-JhILeJRO.js.map → auth-session-DywRZLBr.js.map} +1 -1
- package/dist/{channel-C6tm9T7P.js → channel-40SR2b5S.js} +3 -3
- package/dist/{channel-C6tm9T7P.js.map → channel-40SR2b5S.js.map} +1 -1
- package/dist/{cloud-computer-J2tdcTPm.js → cloud-computer-BqFhsHhC.js} +4 -4
- package/dist/{cloud-computer-J2tdcTPm.js.map → cloud-computer-BqFhsHhC.js.map} +1 -1
- package/dist/{command-BXJ-OwBD.js → command-DBfu-GeG.js} +15 -15
- package/dist/{command-BXJ-OwBD.js.map → command-DBfu-GeG.js.map} +1 -1
- package/dist/{computer-connection-BKtrn0d2.js → computer-connection-CVyM42a0.js} +2 -2
- package/dist/{computer-connection-BKtrn0d2.js.map → computer-connection-CVyM42a0.js.map} +1 -1
- package/dist/{computer-connection-review-bUqNKi6q.js → computer-connection-review-B5qKu2C9.js} +5 -5
- package/dist/{computer-connection-review-bUqNKi6q.js.map → computer-connection-review-B5qKu2C9.js.map} +1 -1
- package/dist/{computer-disconnect-D_Apsn9P.js → computer-disconnect-BxhAjQQx.js} +7 -7
- package/dist/{computer-disconnect-D_Apsn9P.js.map → computer-disconnect-BxhAjQQx.js.map} +1 -1
- package/dist/{computer-setup-continuation-occq0LmS.js → computer-setup-continuation-V40ov5FS.js} +3 -3
- package/dist/{computer-setup-continuation-occq0LmS.js.map → computer-setup-continuation-V40ov5FS.js.map} +1 -1
- package/dist/{context-M7dvalCp.js → context-BEgBhfbb.js} +4 -4
- package/dist/{context-M7dvalCp.js.map → context-BEgBhfbb.js.map} +1 -1
- package/dist/{daemon-device-id-C3gKch4E.js → daemon-device-id-CmykIapy.js} +4 -4
- package/dist/{daemon-device-id-C3gKch4E.js.map → daemon-device-id-CmykIapy.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-CGUuJshv.js → daemon-lifecycle-journal-2dzGUSWU.js} +3 -3
- package/dist/{daemon-lifecycle-journal-CGUuJshv.js.map → daemon-lifecycle-journal-2dzGUSWU.js.map} +1 -1
- package/dist/{daemon-service-runtime-CktU3ER4.js → daemon-service-runtime-pECs8jVc.js} +2 -2
- package/dist/{daemon-service-runtime-CktU3ER4.js.map → daemon-service-runtime-pECs8jVc.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-D0-15tZW.js → daemon-service-update-coordinator-DJKBTEjx.js} +14 -14
- package/dist/daemon-service-update-coordinator-DJKBTEjx.js.map +1 -0
- package/dist/{dispatch-owned-runtime-gOluDX5_.js → dispatch-owned-runtime-QhxDRdNr.js} +191 -52
- package/dist/dispatch-owned-runtime-QhxDRdNr.js.map +1 -0
- package/dist/{dist-KibLweLD.js → dist-BQcUIyf6.js} +747 -529
- package/dist/dist-BQcUIyf6.js.map +1 -0
- package/dist/dist-C8M8nzJ2.js +4 -0
- package/dist/{dual-view-guide-catalog-0kSizTFt.js → dual-view-guide-catalog-DDsnLpIT.js} +3 -3
- package/dist/{dual-view-guide-catalog-0kSizTFt.js.map → dual-view-guide-catalog-DDsnLpIT.js.map} +1 -1
- package/dist/{elapsed-time-Bo1CJczC.js → elapsed-time-DTb6L36x.js} +3 -3
- package/dist/{elapsed-time-Bo1CJczC.js.map → elapsed-time-DTb6L36x.js.map} +1 -1
- package/dist/{entry-B11DkH2I.js → entry-B3w4ZTC5.js} +7 -7
- package/dist/{entry-B11DkH2I.js.map → entry-B3w4ZTC5.js.map} +1 -1
- package/dist/{installation-inventory-BZgQmVup.js → installation-inventory-CCkKix8R.js} +3 -3
- package/dist/{installation-inventory-BZgQmVup.js.map → installation-inventory-CCkKix8R.js.map} +1 -1
- package/dist/{installer-k2gOOs58.js → installer-BiZM-o_y.js} +2 -2
- package/dist/{installer-k2gOOs58.js.map → installer-BiZM-o_y.js.map} +1 -1
- package/dist/{meta-api-DruuiAx-.js → meta-api-9iqkG_MP.js} +5 -5
- package/dist/{meta-api-DruuiAx-.js.map → meta-api-9iqkG_MP.js.map} +1 -1
- package/dist/{open-code-permission-DHFJYc_o.js → open-code-permission-B5f1e5an.js} +2 -31
- package/dist/open-code-permission-B5f1e5an.js.map +1 -0
- package/dist/{openmeld-DUdN78WD.js → openmeld-C70uo4ON.js} +215 -71
- package/dist/openmeld-C70uo4ON.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DwkvZD0q.js → openmeld-maintenance-worker-BFPEm1rE.js} +9 -9
- package/dist/{openmeld-maintenance-worker-DwkvZD0q.js.map → openmeld-maintenance-worker-BFPEm1rE.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-BNUIw_Lo.js → openmeld-tools-update-join-Bki3ugUW.js} +4 -4
- package/dist/{openmeld-tools-update-join-BNUIw_Lo.js.map → openmeld-tools-update-join-Bki3ugUW.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-_XRIioDp.js → prepare-provider-runtime-CWZOcEF7.js} +85 -23
- package/dist/prepare-provider-runtime-CWZOcEF7.js.map +1 -0
- package/dist/{prepare-session-executor-B5AjN0qz.js → prepare-session-executor-B8XSTQdx.js} +18 -18
- package/dist/{prepare-session-executor-B5AjN0qz.js.map → prepare-session-executor-B8XSTQdx.js.map} +1 -1
- package/dist/{process-channel-CTXWjlBP.js → process-channel-DLXPiGRF.js} +2 -2
- package/dist/{process-channel-CTXWjlBP.js.map → process-channel-DLXPiGRF.js.map} +1 -1
- package/dist/{runtime-DCBc6YOq.js → runtime-DzToUfqW.js} +115 -32
- package/dist/{runtime-DCBc6YOq.js.map → runtime-DzToUfqW.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js → runtime-agent-controller-reporting-submission-BszHi0S1.js} +8 -8
- package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js.map → runtime-agent-controller-reporting-submission-BszHi0S1.js.map} +1 -1
- package/dist/{runtime-transport-BzCp9hM3.js → runtime-transport-DFBYm5Re.js} +214 -21
- package/dist/runtime-transport-DFBYm5Re.js.map +1 -0
- package/dist/{service-BEH6-P8U.js → service-8EozP77B.js} +546 -21
- package/dist/service-8EozP77B.js.map +1 -0
- package/dist/{service-account-authorization-CtvSn02O.js → service-account-authorization-CqUcNoD1.js} +2 -2
- package/dist/{service-account-authorization-CtvSn02O.js.map → service-account-authorization-CqUcNoD1.js.map} +1 -1
- package/dist/{service-account-control-BUPiFEGo.js → service-account-control-CzPgo-Iy.js} +9 -9
- package/dist/{service-account-control-BUPiFEGo.js.map → service-account-control-CzPgo-Iy.js.map} +1 -1
- package/dist/{service-control-capabilities-PMvSlaJj.js → service-control-capabilities-C5hd37o9.js} +3 -3
- package/dist/{service-control-capabilities-PMvSlaJj.js.map → service-control-capabilities-C5hd37o9.js.map} +1 -1
- package/dist/{service-control-capabilities-D-Nhqqgo.js → service-control-capabilities-CcwdbQf3.js} +1 -1
- package/dist/{state-C_iJAzKh.js → state-Fskb-utn.js} +2 -2
- package/dist/{state-C_iJAzKh.js.map → state-Fskb-utn.js.map} +1 -1
- package/dist/{updates-api-s2-QB929.js → updates-api-JM7f1ZDQ.js} +43 -146
- package/dist/updates-api-JM7f1ZDQ.js.map +1 -0
- package/dist/{upgrade-JmhCNmvs.js → upgrade-CDW-7zvb.js} +8 -8
- package/dist/{upgrade-JmhCNmvs.js.map → upgrade-CDW-7zvb.js.map} +1 -1
- package/dist/upgrade-r6W5TzOo.js +4 -0
- package/package.json +11 -11
- package/skills/openmeld-cli/SKILL.md +2 -0
- package/skills/openmeld-cli/playbooks/computer.md +55 -0
- package/skills/openmeld-cli/playbooks/plugins.md +37 -0
- package/dist/auth-session-DUYOBXO3.js +0 -4
- package/dist/daemon-service-update-coordinator-D0-15tZW.js.map +0 -1
- package/dist/dispatch-owned-runtime-gOluDX5_.js.map +0 -1
- package/dist/dist-DMlKqjUf.js +0 -4
- package/dist/dist-KibLweLD.js.map +0 -1
- package/dist/open-code-permission-DHFJYc_o.js.map +0 -1
- package/dist/openmeld-DUdN78WD.js.map +0 -1
- package/dist/prepare-provider-runtime-_XRIioDp.js.map +0 -1
- package/dist/runtime-transport-BzCp9hM3.js.map +0 -1
- package/dist/service-BEH6-P8U.js.map +0 -1
- package/dist/updates-api-s2-QB929.js.map +0 -1
- package/dist/upgrade-Dikfgr8z.js +0 -4
|
@@ -1,44 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Ar as
|
|
3
|
+
import { Ar as resolveAgentControllerPermissionModeForController, At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, Cr as listAgentControllerPermissionModeOptions, E as resolveProfileWorkspaceRuntime, Er as projectPeopleComputersToLegacyLocalRuntimes, Et as listBuiltinAgentsRegistryEntries, Gr as compareAgentControllerRefsForDisplay, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged, Lt as setOpenMeldManagedProfileWorkspace, Mr as resolveAgentProfileEditCapabilities, Mt as readProfileWorkspaceConfig, Nr as resolveEvidenceSyncHealth, O as syncDeviceRuntimeStateProjection, Pr as resolveNativeAgentControllerPermissionModeForController, Pt as resolveConfiguredProfileWorkspacePath, Q as resolveLocalRegistryAgentIdFromAgentControllerRef, Rt as validateCustomProfileWorkspacePath, S as syncProfileWorkspaceState, St as canonicalizeLocalProjectPath, Tr as peopleComputerContainsDevice, _t as removeProjectConnection, bt as setDefaultProjectConnection, ft as listProjectBindings, gr as createAgentExecutionStatusDisplayRows, j as resolveAgentProfilePrimaryAgentControllerReport, jr as resolveAgentExecutionStatus, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, mt as migrateProjectBindingStore, pt as listProjectConnectionsWithStatus, ut as bindProject, vr as getAgentControllerPermissionModeDisplayMetadata, wr as parseAgentControllerRef, xt as unbindProject, yr as getAgentControllerPermissionModeFieldLabel, yt as runIfAgentActivityBindingGenerationIsCurrent, zt as describeProfileWorkspacePathValidationFailure } from "./prepare-provider-runtime-CWZOcEF7.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 {
|
|
7
|
+
import { Cn as messageEnvelopeSchema, Fr as START_BOUNDED_ID_SCHEMA, Gt as spaceStatusSchema, Kt as centerAgentInteractionSourceSchema, Qt as spaceWorkingCopyResultSchema, Rr as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, Xi as openMeldRequestContextSchema, Xn as agentInteractionResponseSchema, Yi as openMeldProfileIdSchema, Yt as spaceWorkHandoffSchema, Zt as spaceWorkSelectionSchema, an as spaceThreadContextSchema, ar as runtimeTransportAdmissionEvidenceSchema, ci as isSpaceFileTextEditable, er as clientMessageIdSchema, ii as SPACE_FILE_RAW_UPLOAD_MAX_BYTES, ln as spaceContractFieldsSchema, pi as resolveSpaceFileMimeType, ri as SPACE_FILE_MAX_SIZE_BYTES, un as spaceContractSchema } from "./runtime-transport-DFBYm5Re.js";
|
|
8
8
|
import { L as nonEmptyTrimmedStringFromUnknown, O as openMeldRuntimeProfileIdSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-B93wmVS6.js";
|
|
9
|
-
import {
|
|
9
|
+
import { $r as spaceDispatchTraceResponseSchema, Ci as ownerComputerDiagnosticsSchema, Di as agentActivitySessionInventoryQuerySchema, Er as createAgentProfileCreationRequestBodySchema, Gi as agentActivityProviderSchema, Jr as projectSpaceDispatchTraceFinalVisibleOutcome, Jt as createFeedbackApi, Ki as agentActivitySessionStatusSchema, Kt as createCurrentDeviceApi, Lt as createAgentActivityApi, Nn as postSpaceWorkHandoff, Pr as submitFeedbackIssueRequestSchema, Qr as spaceDispatchTraceDispatchStatusSchema, Rt as createAgentProfileBindingApi, Ti as summarizeComputerFileAccessPolicy, Tr as agentProfileCreationConfigurationSchema, Vr as sessionHistoryReadSchema, Vt as createCenterAgentApi, Wn as toStructuredApiClientFailure, Wr as sessionHistoryResultSchema, Wt as createComputerFileAccessApi, Xr as resolveSpaceDispatchTraceRootCause, Xt as createFileRootApi, Yr as resolveRuntimeCoordinatorHeadStatusRootCause, Zr as spaceDispatchTraceAttemptStatusSchema, an as createOrganizationSkillsApi, cn as createPrepareReadinessApi, dn as createProjectsApi, ei as observabilityWakeTraceSelectorSchema, gi as resolvedSpaceMemberProfileSchema, gn as createSessionHistoryApi, gr as pluginActionRequestSchema, lr as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, mr as spaceEntryTargetSchema, ni as ORGANIZATION_SKILL_BUNDLE_MAX_BYTES, or as OPENMELD_HEADER_PROFILE_ID, pn as createRoutinesApi, qi as agentActivitySnapshotQuerySchema, qr as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, ri as ORGANIZATION_SKILL_FILE_MAX_BYTES, rn as createOrganizationApi, si as organizationSkillFileSchema, sn as createPluginsApi, ti as projectObservabilityWakeCorrelation, wi as projectOwnerComputerLocalRuntimes, wr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, zi as routineScopeSchema, zt as createAgentProfileExecutionModeApi } from "./dist-BQcUIyf6.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-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
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-DywRZLBr.js";
|
|
12
|
+
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
13
|
+
import { t as computerConnectionIntentSchema } from "./computer-connection-CVyM42a0.js";
|
|
14
|
+
import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-Fskb-utn.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-8EozP77B.js";
|
|
16
|
+
import { $ as readRecentDaemonDispatchJournalEvents, A as enqueueAgentActivityHookEvent, At as buildDispatchResultMessageReadProjection, Cn as cliJsonSkillsScanEnvelopeSchema, D as normalizeSharedSessionTitle, Dn as organizationJoinLinkErrorResponseSchema, E as resolveObservedAgentActivityBinding, En as getOrganizationJoinLinkResponseSchema, Et as upsertSpaceConfig, F as readAgentActivityOutboxHealth, Ft as buildSignalMessageReadProjection, L as removeProjectOutbox, Nt as buildPublicSpaceEntryUrl, O as readCodexSessionTitles, On as organizationJoinLinkManagementQuerySchema, Pt as buildSignalIndex, Sn as cliJsonSkillsLoadEnvelopeSchema, T as buildAgentActivityEvent, Tn as acceptOrganizationJoinLinkBodySchema, Ut as buildUpdatesReplyWorkflowProjection, Vt as buildSpaceRoundReadProjection, Zt as formatRemovedCcRelationMessage, _n as cliJsonOutputEnvelopeSchema, bn as cliJsonSkillsAddPreviewEnvelopeSchema, ht as inspectSpaceCacheFile, i as readDispatchOwnedRuntimeGuard, j as removeProjectInbox, jt as buildDispatchResultReplyWorkflowProjection, kn as revokeOrganizationJoinLinkResponseSchema, qt as createSpaceMemberIdentityIndex, t as assertDispatchOwnedRuntimePublicWriteAllowed, u as readDispatchSpaceActionContextFromEnv, vn as cliJsonSkillsAddAllEnvelopeSchema, wn as cliJsonSkillsShowEnvelopeSchema, xn as cliJsonSkillsListEnvelopeSchema, yn as cliJsonSkillsAddEnvelopeSchema } from "./dispatch-owned-runtime-QhxDRdNr.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-9iqkG_MP.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-JM7f1ZDQ.js";
|
|
19
|
+
import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-pECs8jVc.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-
|
|
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-
|
|
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-DJKBTEjx.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-DBfu-GeG.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-
|
|
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-DDsnLpIT.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-
|
|
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-BEgBhfbb.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-
|
|
31
|
+
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-BZvzqIeX.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-
|
|
34
|
-
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
35
|
-
import { g as canUseInteractivePrompts } from "./elapsed-time-
|
|
36
|
-
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-
|
|
37
|
-
import { t as runServiceAccountControl } from "./service-account-control-
|
|
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-
|
|
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-
|
|
40
|
-
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-
|
|
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-
|
|
34
|
+
import { r as runServiceAccountCarrier } from "./service-account-authorization-CqUcNoD1.js";
|
|
35
|
+
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-2dzGUSWU.js";
|
|
36
|
+
import { g as canUseInteractivePrompts } from "./elapsed-time-DTb6L36x.js";
|
|
37
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-CCkKix8R.js";
|
|
38
|
+
import { t as runServiceAccountControl } from "./service-account-control-CzPgo-Iy.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-B8XSTQdx.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-DLjDbkLV.js";
|
|
41
|
+
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-BszHi0S1.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-CDW-7zvb.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,39 @@ 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
|
+
provider: input.provider,
|
|
1176
|
+
offset: Number(input.offset ?? 0),
|
|
1177
|
+
limit: Number(input.limit ?? 20)
|
|
1178
|
+
});
|
|
1179
|
+
const dispatch = process.env["OPENMELD_DISPATCH_RUNTIME_MODE"] || process.env["OPENMELD_SPACE_ACTION_CONTEXT_PATH"] ? readDispatchSpaceActionContextFromEnv() : null;
|
|
1180
|
+
const agent = dispatch ? await resolveOpenMeldProfile({
|
|
1181
|
+
openMeldProfileId: dispatch.targetProfileId,
|
|
1182
|
+
profileKind: "agent"
|
|
1183
|
+
}) : null;
|
|
1184
|
+
if (dispatch && !dispatch.executionTokenEcho) throw new Error("This Wake has no current execution proof for session history.");
|
|
1185
|
+
const response = await context.historyApi.request({
|
|
1186
|
+
organizationId: context.organizationId,
|
|
1187
|
+
deviceId: input.device,
|
|
1188
|
+
runtimeLane: daemonServiceLaneSchema.parse(input.lane),
|
|
1189
|
+
request,
|
|
1190
|
+
...dispatch && agent && dispatch.executionTokenEcho ? {
|
|
1191
|
+
execution: {
|
|
1192
|
+
dispatchId: dispatch.dispatchId,
|
|
1193
|
+
executionTokenEcho: dispatch.executionTokenEcho
|
|
1194
|
+
},
|
|
1195
|
+
requestContext: buildOpenMeldRequestContextFromProfile({ openMeldProfile: agent })
|
|
1196
|
+
} : {}
|
|
1197
|
+
});
|
|
1198
|
+
if (response.kind === "error") throw new Error(response.message);
|
|
1199
|
+
emitSuccess(context, "activity.history", response);
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1168
1202
|
async function runProjectsList(input = {}) {
|
|
1169
1203
|
await runProjectCommand(input, "list", async (context) => {
|
|
1170
1204
|
const [response, connections] = await Promise.all([context.projectsApi.list(), listProjectConnectionsWithStatus({ organizationId: context.organizationId })]);
|
|
@@ -1204,15 +1238,16 @@ async function runAgentActivitySessions(input = {}) {
|
|
|
1204
1238
|
projectId = resolveProjectId(projects.projects, input.project);
|
|
1205
1239
|
}
|
|
1206
1240
|
const response = await context.activityApi.readSessions(agentActivitySessionInventoryQuerySchema.parse({
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1241
|
+
computerId: input.computer,
|
|
1242
|
+
cursor: input.cursor,
|
|
1243
|
+
limit: input.limit,
|
|
1244
|
+
memberUserId: input.member,
|
|
1245
|
+
nativeSessionId: input.nativeSession,
|
|
1246
|
+
origin: input.origin,
|
|
1247
|
+
projectId,
|
|
1248
|
+
provider: input.provider,
|
|
1249
|
+
query: input.query,
|
|
1250
|
+
status: input.status
|
|
1216
1251
|
}));
|
|
1217
1252
|
requireOrganizationIdentity$1(context.organizationId, context.organizationSlug, response.organization.id);
|
|
1218
1253
|
emitSuccess(context, "activity.sessions", response);
|
|
@@ -1426,6 +1461,7 @@ async function runProjectCommand(input, operation, run) {
|
|
|
1426
1461
|
organizationSlug = organization.slug;
|
|
1427
1462
|
const apiClient = createCliApiClientFoundation(await resolveBaseUrl());
|
|
1428
1463
|
await run({
|
|
1464
|
+
historyApi: createSessionHistoryApi(apiClient),
|
|
1429
1465
|
activityApi: createAgentActivityApi(apiClient),
|
|
1430
1466
|
json,
|
|
1431
1467
|
organizationId: organization.id,
|
|
@@ -1517,6 +1553,43 @@ function emitSuccess(context, code, payload) {
|
|
|
1517
1553
|
});
|
|
1518
1554
|
}
|
|
1519
1555
|
function emitActivitySuccess(context, code, payload) {
|
|
1556
|
+
if (code === "activity.history") {
|
|
1557
|
+
const history = sessionHistoryResultSchema.parse(payload);
|
|
1558
|
+
if (history.kind !== "session") return false;
|
|
1559
|
+
renderInfoCard({
|
|
1560
|
+
presenter: context.presenter,
|
|
1561
|
+
codePrefix: code,
|
|
1562
|
+
title: "Session history",
|
|
1563
|
+
sanitize: true,
|
|
1564
|
+
rows: [
|
|
1565
|
+
{
|
|
1566
|
+
label: "Session",
|
|
1567
|
+
value: history.sessionId
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
label: "Requester",
|
|
1571
|
+
value: history.requester.requesterUserId
|
|
1572
|
+
},
|
|
1573
|
+
{
|
|
1574
|
+
label: "Audience",
|
|
1575
|
+
value: history.requester.audience
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
label: "Request source",
|
|
1579
|
+
value: history.requester.requestRootId
|
|
1580
|
+
},
|
|
1581
|
+
...history.messages.map((message) => ({
|
|
1582
|
+
label: `${message.role}${message.truncated ? " (shortened)" : ""}`,
|
|
1583
|
+
value: message.text
|
|
1584
|
+
})),
|
|
1585
|
+
{
|
|
1586
|
+
label: "Next offset",
|
|
1587
|
+
value: history.nextOffset === null ? "End of history" : String(history.nextOffset)
|
|
1588
|
+
}
|
|
1589
|
+
]
|
|
1590
|
+
});
|
|
1591
|
+
return true;
|
|
1592
|
+
}
|
|
1520
1593
|
if (code === "activity.read" && context.presenter.view === "agent") {
|
|
1521
1594
|
emitAgentActivitySnapshot(context.presenter, payload);
|
|
1522
1595
|
return true;
|
|
@@ -1822,6 +1895,7 @@ const COMMAND_CHECK_REQUIREMENTS = Object.freeze({
|
|
|
1822
1895
|
root: buildCommandChecks(OPTIONAL_CLI_UPDATE),
|
|
1823
1896
|
"plugins.list": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
|
|
1824
1897
|
"plugins.connect": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
|
|
1898
|
+
"plugins.connection": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
|
|
1825
1899
|
"plugins.actions": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
|
|
1826
1900
|
"plugins.call": buildCommandChecks(OPTIONAL_CLI_UPDATE, REQUIRED_SIGN_IN),
|
|
1827
1901
|
view: buildCommandChecks(OPTIONAL_CLI_UPDATE),
|
|
@@ -2057,6 +2131,7 @@ const COMMAND_ENTRY_NAME_BY_ROUTE = {
|
|
|
2057
2131
|
"files download": "files.download",
|
|
2058
2132
|
"plugins list": "plugins.list",
|
|
2059
2133
|
"plugins connect": "plugins.connect",
|
|
2134
|
+
"plugins connection": "plugins.connection",
|
|
2060
2135
|
"plugins actions": "plugins.actions",
|
|
2061
2136
|
"plugins call": "plugins.call",
|
|
2062
2137
|
"skills ensure": "skills.ensure",
|
|
@@ -2705,6 +2780,11 @@ const COMMAND_ENTRY_COPY_BY_NAME = Object.freeze({
|
|
|
2705
2780
|
signInAction: "discovering plugin actions",
|
|
2706
2781
|
profileAction: null
|
|
2707
2782
|
},
|
|
2783
|
+
"plugins.connection": {
|
|
2784
|
+
...DEFAULT_COPY,
|
|
2785
|
+
signInAction: "using a plugin account on your cloud Computer",
|
|
2786
|
+
profileAction: null
|
|
2787
|
+
},
|
|
2708
2788
|
"plugins.call": {
|
|
2709
2789
|
...DEFAULT_COPY,
|
|
2710
2790
|
signInAction: "running a plugin action",
|
|
@@ -5518,6 +5598,7 @@ function registerAgentActivityCommands(program, handlers) {
|
|
|
5518
5598
|
});
|
|
5519
5599
|
};
|
|
5520
5600
|
addActivityReadOptions(activity).action(runRead);
|
|
5601
|
+
activity.command("history").description("Read an authorized page of local agent 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>", "Native session ID").option("--provider <provider>", "codex, claude-code, opencode, or grok-build", "codex").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
5602
|
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
5603
|
addActivityReadOptions(activity.command("read").description("Read the current Organization's safe Agent Activity snapshot.")).action(runRead);
|
|
5523
5604
|
addActivitySessionsOptions(activity.command("sessions").description("List the Organization's authorized Local Agent Session Inventory.")).action(async (_options, command) => {
|
|
@@ -5535,7 +5616,7 @@ function addActivityReadOptions(command) {
|
|
|
5535
5616
|
return command.option("--project <project-slug>", "Filter by Project slug").option("--member <member-user-id>", "Filter by member user id").option("--provider <provider>", "Filter by codex, claude-code, cursor, or opencode").option("--status <status>", "Filter by active, idle, ended, error, or unknown").option("--view <mode>", "Output view: human or agent", "human").option("--json", "Print one machine-readable JSON envelope.", false);
|
|
5536
5617
|
}
|
|
5537
5618
|
function addActivitySessionsOptions(command) {
|
|
5538
|
-
return command.option("--project <project-slug>", "Filter by Project slug").option("--member <member-user-id>", "Filter by member user id").option("--provider <provider>", "Filter by codex, claude-code, cursor, opencode, or grok-build").option("--status <status>", "Filter by working, idle, ended, error, or unknown").option("--origin <origin>", "Filter by openmeld, local, or unknown").option("--native-session <id>", "Locate one Native Session ID").option("--query <text>", "Search Native Session title or ID").option("--limit <count>", "Page size, from 1 through 100", "50").option("--cursor <cursor>", "Continue from a prior page cursor").option("--view <mode>", "Output view: human or agent", "human").option("--json", "Print one machine-readable JSON envelope.", false);
|
|
5619
|
+
return command.option("--project <project-slug>", "Filter by Project slug").option("--member <member-user-id>", "Filter by member user id").option("--provider <provider>", "Filter by codex, claude-code, cursor, opencode, or grok-build").option("--status <status>", "Filter by working, idle, ended, error, or unknown").option("--origin <origin>", "Filter by openmeld, local, or unknown").option("--native-session <id>", "Locate one Native Session ID").option("--computer <id>", "Filter by connected Computer ID").option("--query <text>", "Search Native Session title or ID").option("--limit <count>", "Page size, from 1 through 100", "50").option("--cursor <cursor>", "Continue from a prior page cursor").option("--view <mode>", "Output view: human or agent", "human").option("--json", "Print one machine-readable JSON envelope.", false);
|
|
5539
5620
|
}
|
|
5540
5621
|
function registerProjectCommands(program, handlers) {
|
|
5541
5622
|
const projects = program.command("projects").description("Manage Agent Activity Projects and local opt-in bindings.");
|
|
@@ -9360,7 +9441,7 @@ function buildAgentProfileRuntimeRows(runtimeState) {
|
|
|
9360
9441
|
value: formatTransportModeDisplay(runtimeState.transportMode)
|
|
9361
9442
|
},
|
|
9362
9443
|
{
|
|
9363
|
-
label: "
|
|
9444
|
+
label: "Local Reply Setup",
|
|
9364
9445
|
value: formatHumanReplyReadinessLabel(runtimeState.replyReadinessLabel)
|
|
9365
9446
|
},
|
|
9366
9447
|
...runtimeState.wakeRouteEvidence ? [{
|
|
@@ -9455,7 +9536,7 @@ function formatHumanReplyReadinessReason(reason) {
|
|
|
9455
9536
|
}
|
|
9456
9537
|
function formatHumanReplyReadinessLabel(label) {
|
|
9457
9538
|
const normalized = label.trim();
|
|
9458
|
-
if (normalized === "ready") return "
|
|
9539
|
+
if (normalized === "ready") return "Local setup ready";
|
|
9459
9540
|
if (normalized === "blocked") return "Blocked";
|
|
9460
9541
|
if (normalized === "degraded") return "Limited";
|
|
9461
9542
|
if (normalized === "unknown") return "Unknown";
|
|
@@ -12159,6 +12240,7 @@ async function runServiceTrace(input, deps = {}) {
|
|
|
12159
12240
|
});
|
|
12160
12241
|
const admissionRejections = resolveAdmissionRejections(traceResponse.trace);
|
|
12161
12242
|
const traceReadinessGuidance = shouldExposeCurrentReadinessGuidance(traceResponse.trace) ? targetContext.guidance : null;
|
|
12243
|
+
emitRuntimeCounterGuide(input.details, traceResponse, presenter);
|
|
12162
12244
|
const payload = {
|
|
12163
12245
|
...traceResponse.nativeDeliveryTrace ? { nativeDeliveryTrace: traceResponse.nativeDeliveryTrace } : {},
|
|
12164
12246
|
...traceResponse.serviceConnectionDiagnostics ? { serviceConnectionDiagnostics: traceResponse.serviceConnectionDiagnostics } : {},
|
|
@@ -12888,14 +12970,21 @@ function buildHumanTraceRows(input) {
|
|
|
12888
12970
|
});
|
|
12889
12971
|
return rows;
|
|
12890
12972
|
}
|
|
12973
|
+
function emitRuntimeCounterGuide(details, response, presenter) {
|
|
12974
|
+
if (!(details && response.remoteAgentRuntimeDiagnostics)) return;
|
|
12975
|
+
presenter.line({
|
|
12976
|
+
code: "service.trace.runtime_counter_guide",
|
|
12977
|
+
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."
|
|
12978
|
+
});
|
|
12979
|
+
}
|
|
12891
12980
|
function formatLocalReplyEvidenceLabel(value) {
|
|
12892
|
-
if (value === "Ready" || value === "Available for Wake" || value === "Can reply") return "Local evidence:
|
|
12981
|
+
if (value === "Local setup ready" || value === "Ready" || value === "Available for Wake" || value === "Can reply") return "Local evidence: setup ready";
|
|
12893
12982
|
const replyCapableDetail = firstPrefixedDetail(value, [
|
|
12894
12983
|
"Ready · ",
|
|
12895
12984
|
"Available for Wake · ",
|
|
12896
12985
|
"Can reply · "
|
|
12897
12986
|
]);
|
|
12898
|
-
if (replyCapableDetail !== null) return `Local evidence:
|
|
12987
|
+
if (replyCapableDetail !== null) return `Local evidence: setup ready · ${replyCapableDetail}`;
|
|
12899
12988
|
if (value === "Not ready" || value === "Unavailable" || value === "Blocked") return "Local evidence: not reply-capable";
|
|
12900
12989
|
const notReplyCapableDetail = firstPrefixedDetail(value, [
|
|
12901
12990
|
"Not ready · ",
|
|
@@ -13648,7 +13737,7 @@ function buildAgentTraceCompactSummary(input) {
|
|
|
13648
13737
|
...nativeDeliveryEvidence,
|
|
13649
13738
|
currentState: "final_projection_pending",
|
|
13650
13739
|
delivered: false,
|
|
13651
|
-
nextAction: "wait
|
|
13740
|
+
nextAction: "wait, then rerun trace with the same selector; use --details to inspect execution evidence",
|
|
13652
13741
|
reasonCode: trace.finalVisibleMessageLinkage.reasonCode,
|
|
13653
13742
|
visibleOutcome: finalVisibleOutcome.status
|
|
13654
13743
|
};
|
|
@@ -19807,6 +19896,8 @@ function resolveSpaceReadFailureHints(entryName) {
|
|
|
19807
19896
|
case "history": return ["openmeld space history <space-id-or-url> --kind text --brief --limit 20"];
|
|
19808
19897
|
case "members": return ["openmeld space members <space-id-or-url>"];
|
|
19809
19898
|
case "status": return ["openmeld space status <space-id-or-url>"];
|
|
19899
|
+
case "wake-progress": return ["openmeld space wake-progress <space-id-or-url>"];
|
|
19900
|
+
case "result": return ["openmeld service trace --space <space-id> --dispatch <dispatch-id> --view agent"];
|
|
19810
19901
|
default: return null;
|
|
19811
19902
|
}
|
|
19812
19903
|
}
|
|
@@ -19821,6 +19912,8 @@ function resolveSpaceReadCommandName(entryName) {
|
|
|
19821
19912
|
case "space.history": return "history";
|
|
19822
19913
|
case "space.members": return "members";
|
|
19823
19914
|
case "space.status": return "status";
|
|
19915
|
+
case "space.wake_progress": return "wake-progress";
|
|
19916
|
+
case "space.result": return "result";
|
|
19824
19917
|
default: return null;
|
|
19825
19918
|
}
|
|
19826
19919
|
}
|
|
@@ -24620,7 +24713,7 @@ function normalizeOptionalString(value) {
|
|
|
24620
24713
|
return normalized.length > 0 ? normalized : null;
|
|
24621
24714
|
}
|
|
24622
24715
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
24623
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
24716
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-zSJAa2ET.js");
|
|
24624
24717
|
return await runSpaceAddMeMembership(input);
|
|
24625
24718
|
}
|
|
24626
24719
|
//#endregion
|
|
@@ -27604,11 +27697,12 @@ async function runSpaceResult(input) {
|
|
|
27604
27697
|
space: input.space,
|
|
27605
27698
|
resolvedView: runtime.resolvedView
|
|
27606
27699
|
});
|
|
27607
|
-
const
|
|
27700
|
+
const openMeldProfile = await resolveOpenMeldProfileForSpaceCommand({
|
|
27608
27701
|
openMeldProfileId: input.profile,
|
|
27609
27702
|
resolvedView: runtime.resolvedView,
|
|
27610
27703
|
interactive
|
|
27611
|
-
})
|
|
27704
|
+
});
|
|
27705
|
+
const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile });
|
|
27612
27706
|
const spaceApi = createCliSpaceApi(baseUrl);
|
|
27613
27707
|
let resultRead;
|
|
27614
27708
|
try {
|
|
@@ -27628,7 +27722,10 @@ async function runSpaceResult(input) {
|
|
|
27628
27722
|
} catch (error) {
|
|
27629
27723
|
throw decorateSpaceResultReadError({
|
|
27630
27724
|
error,
|
|
27631
|
-
|
|
27725
|
+
space: input.space,
|
|
27726
|
+
dispatchId,
|
|
27727
|
+
profile: openMeldProfile.openMeldProfileId,
|
|
27728
|
+
baseUrl
|
|
27632
27729
|
});
|
|
27633
27730
|
}
|
|
27634
27731
|
if (resultRead.status === "cancelled") return;
|
|
@@ -27659,11 +27756,13 @@ async function runSpaceResult(input) {
|
|
|
27659
27756
|
}
|
|
27660
27757
|
function decorateSpaceResultReadError(input) {
|
|
27661
27758
|
const failure = toStructuredGatewayFailure(input.error);
|
|
27662
|
-
if (!
|
|
27759
|
+
if (!isMissingDispatchResultFailure({
|
|
27663
27760
|
code: failure.code,
|
|
27664
27761
|
message: failure.message
|
|
27665
|
-
}))
|
|
27666
|
-
const
|
|
27762
|
+
})) return input.error;
|
|
27763
|
+
const selector = input.dispatchId ? ` --dispatch ${quoteCommandArgument(input.dispatchId)}` : " --dispatch <dispatch-id>";
|
|
27764
|
+
const command = `${resolveUserFacingCliEntryCommand()} service trace --space ${quoteCommandArgument(input.space)}${selector} --profile ${quoteCommandArgument(input.profile)} --gateway-url ${quoteCommandArgument(input.baseUrl)} --view agent`;
|
|
27765
|
+
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
27766
|
error.code = failure.code ?? void 0;
|
|
27668
27767
|
error.requestId = failure.requestId;
|
|
27669
27768
|
error.status = failure.status;
|
|
@@ -27673,6 +27772,9 @@ function isMissingDispatchResultFailure(input) {
|
|
|
27673
27772
|
if (input.code === "space.dispatch_result.not_found") return true;
|
|
27674
27773
|
return input.code === "upstream_error" && input.message.trim().toLowerCase() === "dispatch result not found";
|
|
27675
27774
|
}
|
|
27775
|
+
function quoteCommandArgument(value) {
|
|
27776
|
+
return `'${value.replaceAll("'", "'\\''")}'`;
|
|
27777
|
+
}
|
|
27676
27778
|
//#endregion
|
|
27677
27779
|
//#region src/space/status-output.ts
|
|
27678
27780
|
function emitSpaceStatusHumanOutput(input) {
|
|
@@ -28782,6 +28884,10 @@ function renderRequestAuthorization(response) {
|
|
|
28782
28884
|
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
28885
|
}
|
|
28784
28886
|
function renderPluginResponse(response) {
|
|
28887
|
+
if (response.kind === "native_connection") {
|
|
28888
|
+
outLine(JSON.stringify(response, null, 2));
|
|
28889
|
+
return;
|
|
28890
|
+
}
|
|
28785
28891
|
if (response.kind === "authorization_required") {
|
|
28786
28892
|
renderRequestAuthorization(response);
|
|
28787
28893
|
return;
|
|
@@ -28856,6 +28962,20 @@ function registerPluginCommands(program, options) {
|
|
|
28856
28962
|
view: options.view()
|
|
28857
28963
|
}));
|
|
28858
28964
|
});
|
|
28965
|
+
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) => {
|
|
28966
|
+
const request = pluginActionRequestSchema.parse({ action: {
|
|
28967
|
+
operation: "connection",
|
|
28968
|
+
service,
|
|
28969
|
+
account: flags.account,
|
|
28970
|
+
key: flags.key,
|
|
28971
|
+
computer: flags.computer
|
|
28972
|
+
} });
|
|
28973
|
+
await options.run(["plugins", "connection"], () => runPluginCommand({
|
|
28974
|
+
action: request.action,
|
|
28975
|
+
profile: flags.profile,
|
|
28976
|
+
view: options.view()
|
|
28977
|
+
}));
|
|
28978
|
+
});
|
|
28859
28979
|
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
28980
|
const request = pluginActionRequestSchema.parse({ action: {
|
|
28861
28981
|
operation: "execute",
|
|
@@ -29586,6 +29706,7 @@ registerProjectCommands(program, {
|
|
|
29586
29706
|
}
|
|
29587
29707
|
});
|
|
29588
29708
|
registerAgentActivityCommands(program, {
|
|
29709
|
+
history: runAgentActivityHistory,
|
|
29589
29710
|
context: runActivityContext,
|
|
29590
29711
|
health: runActivityHealth,
|
|
29591
29712
|
hook: runActivityHook,
|
|
@@ -29624,13 +29745,21 @@ program.command("logout").description("Alias for `openmeld auth logout`.").actio
|
|
|
29624
29745
|
});
|
|
29625
29746
|
});
|
|
29626
29747
|
const computerCmd = program.command("computer").description("Inspect and name computers in OpenMeld.");
|
|
29627
|
-
computerCmd.command("cloud").description("Read your personal cloud Computer or run a file or command operation.").option("--operation <json>", "Computer operation: read, write, edit, list, or command.
|
|
29748
|
+
computerCmd.command("cloud").description("Read your personal cloud Computer or run a file or command operation.").option("--operation <json>", "Computer operation: describe, browser, preview, files, read, write, edit, list, or command. Use describe to discover capabilities.").addHelpText("after", `
|
|
29749
|
+
Without --operation, show your personal cloud Computer.
|
|
29750
|
+
|
|
29751
|
+
Examples:
|
|
29752
|
+
openmeld computer cloud --operation '{"action":"describe"}'
|
|
29753
|
+
openmeld computer cloud --operation '{"action":"read","path":"/computer/home/example.txt"}'
|
|
29754
|
+
|
|
29755
|
+
Use describe before running commands to inspect the operation schemas.
|
|
29756
|
+
Commands require a stable invocationId and key; poll the same invocation to read its result.`).action(async (opts) => {
|
|
29628
29757
|
const view = getGlobalViewOption();
|
|
29629
29758
|
await runCommandWithEntryChecks({
|
|
29630
29759
|
routeTokens: ["computer", "cloud"],
|
|
29631
29760
|
view,
|
|
29632
29761
|
run: async () => {
|
|
29633
|
-
const { runCloudComputer } = await import("./cloud-computer-
|
|
29762
|
+
const { runCloudComputer } = await import("./cloud-computer-BqFhsHhC.js");
|
|
29634
29763
|
await runCloudComputer({
|
|
29635
29764
|
operation: opts.operation,
|
|
29636
29765
|
view
|
|
@@ -29644,7 +29773,7 @@ computerCmd.command("disconnect").description("Disconnect this computer from its
|
|
|
29644
29773
|
routeTokens: ["computer", "disconnect"],
|
|
29645
29774
|
view,
|
|
29646
29775
|
run: async () => {
|
|
29647
|
-
const { runComputerDisconnect } = await import("./computer-disconnect-
|
|
29776
|
+
const { runComputerDisconnect } = await import("./computer-disconnect-BxhAjQQx.js");
|
|
29648
29777
|
await runComputerDisconnect(computerConnectionIntentSchema.parse(JSON.parse(opts.connectionIntent)), view);
|
|
29649
29778
|
}
|
|
29650
29779
|
});
|
|
@@ -30623,19 +30752,24 @@ withSpaceProfileOption(spaceCmd.command("respond").description("Review and answe
|
|
|
30623
30752
|
})
|
|
30624
30753
|
});
|
|
30625
30754
|
});
|
|
30626
|
-
withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live Wake progress for this Space; use result or service trace after execution.").argument("<space>", "Space
|
|
30755
|
+
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
30756
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30757
|
+
const target = resolveSpaceReadCommandTarget({
|
|
30758
|
+
baseUrl: cliOptions.gatewayUrl,
|
|
30759
|
+
profile: cliOptions.profile,
|
|
30760
|
+
space: String(space ?? "").trim()
|
|
30761
|
+
});
|
|
30628
30762
|
const view = getGlobalViewOption();
|
|
30629
30763
|
await runCommandWithEntryChecks({
|
|
30630
30764
|
routeTokens: ["space", "wake-progress"],
|
|
30631
30765
|
view,
|
|
30632
|
-
profile:
|
|
30633
|
-
gatewayUrl:
|
|
30766
|
+
profile: target.profile,
|
|
30767
|
+
gatewayUrl: target.baseUrl,
|
|
30634
30768
|
run: async () => {
|
|
30635
30769
|
await runSpaceWakeProgress({
|
|
30636
|
-
profile:
|
|
30637
|
-
baseUrl:
|
|
30638
|
-
space:
|
|
30770
|
+
profile: target.profile,
|
|
30771
|
+
baseUrl: target.baseUrl,
|
|
30772
|
+
space: target.space,
|
|
30639
30773
|
clientMessageId: normalizeOptionalString$16(opts.clientMessage) ?? void 0,
|
|
30640
30774
|
sourceProfileId: normalizeOptionalString$16(opts.sourceProfile) ?? void 0,
|
|
30641
30775
|
targetProfileId: normalizeOptionalString$16(opts.targetProfile) ?? void 0,
|
|
@@ -30646,19 +30780,24 @@ withSpaceProfileOption(spaceCmd.command("wake-progress").description("Read live
|
|
|
30646
30780
|
}
|
|
30647
30781
|
});
|
|
30648
30782
|
});
|
|
30649
|
-
withSpaceProfileOption(spaceCmd.command("wake-stop").description("Request Stop for one live Wake and report only the server-confirmed state.").argument("<space>", "Space
|
|
30783
|
+
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
30784
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30785
|
+
const target = resolveSpaceReadCommandTarget({
|
|
30786
|
+
baseUrl: cliOptions.gatewayUrl,
|
|
30787
|
+
profile: cliOptions.profile,
|
|
30788
|
+
space: String(space ?? "").trim()
|
|
30789
|
+
});
|
|
30651
30790
|
const view = getGlobalViewOption();
|
|
30652
30791
|
await runCommandWithEntryChecks({
|
|
30653
30792
|
routeTokens: ["space", "wake-stop"],
|
|
30654
30793
|
view,
|
|
30655
|
-
profile:
|
|
30656
|
-
gatewayUrl:
|
|
30794
|
+
profile: target.profile,
|
|
30795
|
+
gatewayUrl: target.baseUrl,
|
|
30657
30796
|
run: async () => {
|
|
30658
30797
|
await runSpaceWakeStop({
|
|
30659
|
-
profile:
|
|
30660
|
-
baseUrl:
|
|
30661
|
-
space:
|
|
30798
|
+
profile: target.profile,
|
|
30799
|
+
baseUrl: target.baseUrl,
|
|
30800
|
+
space: target.space,
|
|
30662
30801
|
clientMessageId: normalizeOptionalString$16(opts.clientMessage) ?? void 0,
|
|
30663
30802
|
sourceSignalId: normalizeOptionalString$16(opts.sourceSignal) ?? void 0,
|
|
30664
30803
|
targetProfileId: String(opts.targetProfile),
|
|
@@ -31252,7 +31391,7 @@ withSpaceProfileOption(spaceCmd.command("updates").description("Read formal upda
|
|
|
31252
31391
|
}
|
|
31253
31392
|
});
|
|
31254
31393
|
});
|
|
31255
|
-
withSpaceProfileOption(spaceCmd.command("result").description("Read one formal dispatch result scoped to this space.").argument("[space]", "Space
|
|
31394
|
+
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
31395
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
31257
31396
|
const spaceValue = String(space ?? "").trim();
|
|
31258
31397
|
const dispatchId = normalizeOptionalString$16(opts.dispatch);
|
|
@@ -31260,17 +31399,22 @@ withSpaceProfileOption(spaceCmd.command("result").description("Read one formal d
|
|
|
31260
31399
|
const selectorCount = Number(dispatchId !== null) + Number(resultRef !== null);
|
|
31261
31400
|
const outputView = await resolveEffectiveViewForOutput();
|
|
31262
31401
|
if ((spaceValue.length === 0 || selectorCount !== 1) && outputView === "agent") throw createSpaceResultGuideError();
|
|
31402
|
+
const target = resolveSpaceReadCommandTarget({
|
|
31403
|
+
baseUrl: cliOptions.gatewayUrl,
|
|
31404
|
+
profile: cliOptions.profile,
|
|
31405
|
+
space: String(space ?? "").trim()
|
|
31406
|
+
});
|
|
31263
31407
|
const view = getGlobalViewOption();
|
|
31264
31408
|
await runCommandWithEntryChecks({
|
|
31265
31409
|
routeTokens: ["space", "result"],
|
|
31266
31410
|
view,
|
|
31267
|
-
profile:
|
|
31268
|
-
gatewayUrl:
|
|
31411
|
+
profile: target.profile,
|
|
31412
|
+
gatewayUrl: target.baseUrl,
|
|
31269
31413
|
run: async () => {
|
|
31270
31414
|
await runSpaceResult({
|
|
31271
|
-
profile:
|
|
31272
|
-
baseUrl:
|
|
31273
|
-
space:
|
|
31415
|
+
profile: target.profile,
|
|
31416
|
+
baseUrl: target.baseUrl,
|
|
31417
|
+
space: target.space,
|
|
31274
31418
|
...dispatchId ? { dispatchId } : {},
|
|
31275
31419
|
...resultRef ? { resultRef } : {},
|
|
31276
31420
|
password: cliOptions.password,
|
|
@@ -31922,7 +32066,7 @@ async function main() {
|
|
|
31922
32066
|
if (await runMacOsNativeKeychainHelperIfRequested()) return;
|
|
31923
32067
|
const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
|
|
31924
32068
|
if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
|
|
31925
|
-
const { readComputerConnectionReview } = await import("./computer-connection-review-
|
|
32069
|
+
const { readComputerConnectionReview } = await import("./computer-connection-review-B5qKu2C9.js");
|
|
31926
32070
|
outLine(JSON.stringify(await readComputerConnectionReview()));
|
|
31927
32071
|
return;
|
|
31928
32072
|
}
|
|
@@ -31933,7 +32077,7 @@ async function main() {
|
|
|
31933
32077
|
return;
|
|
31934
32078
|
}
|
|
31935
32079
|
if (argv[3] === "control-capabilities") {
|
|
31936
|
-
const { readServiceControlCapabilities } = await import("./service-control-capabilities-
|
|
32080
|
+
const { readServiceControlCapabilities } = await import("./service-control-capabilities-CcwdbQf3.js");
|
|
31937
32081
|
emitCliJsonEnvelope({
|
|
31938
32082
|
schemaVersion: 1,
|
|
31939
32083
|
type: "service.control_capabilities",
|
|
@@ -32116,4 +32260,4 @@ main().catch((error) => {
|
|
|
32116
32260
|
//#endregion
|
|
32117
32261
|
export {};
|
|
32118
32262
|
|
|
32119
|
-
//# sourceMappingURL=openmeld-
|
|
32263
|
+
//# sourceMappingURL=openmeld-C70uo4ON.js.map
|