openmeld 0.3.237 → 0.3.238
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-BEqSnfgo.js → add-me-membership-_7nC0hkr.js} +2 -2
- package/dist/{add-me-membership-BEqSnfgo.js.map → add-me-membership-_7nC0hkr.js.map} +1 -1
- package/dist/{agents-_Hh6L3Fi.js → agents-kG9UvazC.js} +10 -10
- package/dist/{agents-_Hh6L3Fi.js.map → agents-kG9UvazC.js.map} +1 -1
- package/dist/{api-client-foundation-ZuYF2Uah.js → api-client-foundation-DIcNjG9w.js} +1 -1
- package/dist/{api-client-foundation-CGc8AuMo.js → api-client-foundation-DNbvvZW2.js} +3 -3
- package/dist/{api-client-foundation-CGc8AuMo.js.map → api-client-foundation-DNbvvZW2.js.map} +1 -1
- package/dist/{auth-session-B3oyTcSI.js → auth-session-BTRu2Kc5.js} +2 -2
- package/dist/{auth-session-B3oyTcSI.js.map → auth-session-BTRu2Kc5.js.map} +1 -1
- package/dist/auth-session-D2f7Lud02.js +4 -0
- package/dist/{channel-BB6aEY--.js → channel-BxlX3o3i.js} +78 -4
- package/dist/channel-BxlX3o3i.js.map +1 -0
- package/dist/{command-D71NHS4j.js → command-Cyw5Gj59.js} +37 -123
- package/dist/command-Cyw5Gj59.js.map +1 -0
- package/dist/{computer-connection-DyL3C3HO.js → computer-connection-Sntn_-XO.js} +2 -2
- package/dist/{computer-connection-DyL3C3HO.js.map → computer-connection-Sntn_-XO.js.map} +1 -1
- package/dist/{computer-connection-review-BXuXP6KH.js → computer-connection-review-DWiapsro.js} +5 -5
- package/dist/{computer-connection-review-BXuXP6KH.js.map → computer-connection-review-DWiapsro.js.map} +1 -1
- package/dist/{computer-disconnect-BXZKVvxj.js → computer-disconnect-Bxxreumk.js} +8 -8
- package/dist/{computer-disconnect-BXZKVvxj.js.map → computer-disconnect-Bxxreumk.js.map} +1 -1
- package/dist/{computer-setup-continuation-DOvxRtAh.js → computer-setup-continuation-DkPRFlA1.js} +4 -4
- package/dist/{computer-setup-continuation-DOvxRtAh.js.map → computer-setup-continuation-DkPRFlA1.js.map} +1 -1
- package/dist/{daemon-device-id-Dwm7CHtX.js → daemon-device-id-D7lbw6c4.js} +226 -42
- package/dist/daemon-device-id-D7lbw6c4.js.map +1 -0
- package/dist/{daemon-lifecycle-journal-DrDyXoUO.js → daemon-lifecycle-journal-C0P8xFTk.js} +3 -3
- package/dist/{daemon-lifecycle-journal-DrDyXoUO.js.map → daemon-lifecycle-journal-C0P8xFTk.js.map} +1 -1
- package/dist/{daemon-service-runtime-D-tDDWWf.js → daemon-service-runtime-DhV7AKAv.js} +2 -2
- package/dist/{daemon-service-runtime-D-tDDWWf.js.map → daemon-service-runtime-DhV7AKAv.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-ykoOjGCd.js → daemon-service-update-coordinator-BM4ha5Nj.js} +9 -10
- package/dist/{daemon-service-update-coordinator-ykoOjGCd.js.map → daemon-service-update-coordinator-BM4ha5Nj.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-eRa3wkl9.js → dispatch-owned-runtime-CfPwparq.js} +7 -7
- package/dist/{dispatch-owned-runtime-eRa3wkl9.js.map → dispatch-owned-runtime-CfPwparq.js.map} +1 -1
- package/dist/dist-Bfz_GJ0l.js +4 -0
- package/dist/{dist-DEjtwiDJ.js → dist-s_YTHAIc.js} +307 -16
- package/dist/dist-s_YTHAIc.js.map +1 -0
- package/dist/{elapsed-time-BnibmBPb.js → dual-view-guide-catalog-DDYa38RT.js} +215 -164
- package/dist/dual-view-guide-catalog-DDYa38RT.js.map +1 -0
- package/dist/elapsed-time-Ck4GiT9P.js +165 -0
- package/dist/elapsed-time-Ck4GiT9P.js.map +1 -0
- package/dist/{entry-CVxgr9uQ.js → entry-CTw122mn.js} +7 -8
- package/dist/{entry-CVxgr9uQ.js.map → entry-CTw122mn.js.map} +1 -1
- package/dist/{installation-inventory-HHLOQ2g7.js → installation-inventory-CSNq9dzc.js} +3 -3
- package/dist/{installation-inventory-HHLOQ2g7.js.map → installation-inventory-CSNq9dzc.js.map} +1 -1
- package/dist/{installer-Bg4KA0DR.js → installer-B4MjFlzg.js} +2 -2
- package/dist/{installer-Bg4KA0DR.js.map → installer-B4MjFlzg.js.map} +1 -1
- package/dist/{meta-api-CjvtAPvQ.js → meta-api-tg1rD8mP.js} +117 -6
- package/dist/meta-api-tg1rD8mP.js.map +1 -0
- package/dist/{openmeld-o_rTSEOO.js → openmeld-MSrVnYw0.js} +128 -88
- package/dist/openmeld-MSrVnYw0.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-Cwv6_5UL.js → openmeld-maintenance-worker-CQGwuIl9.js} +9 -9
- package/dist/{openmeld-maintenance-worker-Cwv6_5UL.js.map → openmeld-maintenance-worker-CQGwuIl9.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-IFQf70sm.js → openmeld-tools-update-join-CzBRWKVT.js} +4 -4
- package/dist/{openmeld-tools-update-join-IFQf70sm.js.map → openmeld-tools-update-join-CzBRWKVT.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-B_huS5DY.js → prepare-provider-runtime-L7u8iHAb.js} +94 -11
- package/dist/{prepare-provider-runtime-B_huS5DY.js.map → prepare-provider-runtime-L7u8iHAb.js.map} +1 -1
- package/dist/{prepare-session-executor-WWjgnqsh.js → prepare-session-executor-D8LvC1d8.js} +19 -20
- package/dist/{prepare-session-executor-WWjgnqsh.js.map → prepare-session-executor-D8LvC1d8.js.map} +1 -1
- package/dist/{presenter-MJ5YgsOT.js → presenter-BcxiQyJg.js} +13 -3
- package/dist/presenter-BcxiQyJg.js.map +1 -0
- package/dist/{process-channel-C2dB41fO.js → process-channel-QRugdtrY.js} +2 -2
- package/dist/{process-channel-C2dB41fO.js.map → process-channel-QRugdtrY.js.map} +1 -1
- package/dist/{runtime-DjEQja8c.js → runtime-C2v7iKNY.js} +126 -16
- package/dist/runtime-C2v7iKNY.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-CRS5CwMp.js → runtime-agent-controller-reporting-submission-BFXtOHAU.js} +8 -8
- package/dist/{runtime-agent-controller-reporting-submission-CRS5CwMp.js.map → runtime-agent-controller-reporting-submission-BFXtOHAU.js.map} +1 -1
- package/dist/{runtime-transport-B-GZhwVt.js → runtime-transport-BVCHi4qM.js} +10 -6
- package/dist/runtime-transport-BVCHi4qM.js.map +1 -0
- package/dist/{service-CleUczqJ.js → service-6waBVmON.js} +43 -20
- package/dist/service-6waBVmON.js.map +1 -0
- package/dist/{service-account-authorization-s1bXEswT.js → service-account-authorization-C1CdX1P3.js} +2 -2
- package/dist/{service-account-authorization-s1bXEswT.js.map → service-account-authorization-C1CdX1P3.js.map} +1 -1
- package/dist/{service-account-control-CjZ5uqK4.js → service-account-control-BBY6pX86.js} +8 -9
- package/dist/{service-account-control-CjZ5uqK4.js.map → service-account-control-BBY6pX86.js.map} +1 -1
- package/dist/{service-control-capabilities-D5izhuhD.js → service-control-capabilities-BP9UE3a7.js} +3 -3
- package/dist/{service-control-capabilities-D5izhuhD.js.map → service-control-capabilities-BP9UE3a7.js.map} +1 -1
- package/dist/{service-control-capabilities-Bcho1Rwq.js → service-control-capabilities-CQjhvDFx.js} +1 -1
- package/dist/{state-CbrhgfNh.js → state-BJJLEoJY.js} +2 -2
- package/dist/{state-CbrhgfNh.js.map → state-BJJLEoJY.js.map} +1 -1
- package/dist/{updates-api-B7x39-DR.js → updates-api-dsNUTfpa.js} +142 -11
- package/dist/updates-api-dsNUTfpa.js.map +1 -0
- package/dist/upgrade-CUyMj35o.js +4 -0
- package/dist/{upgrade-BQSA2LfT.js → upgrade-DwlRN4_U.js} +9 -9
- package/dist/{upgrade-BQSA2LfT.js.map → upgrade-DwlRN4_U.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +12 -12
- package/skills/openmeld-cli/playbooks/space-ops.md +24 -2
- package/skills/openmeld-cli/references/commands.md +9 -2
- package/dist/auth-session-CoFlCq7_.js +0 -4
- package/dist/channel-BB6aEY--.js.map +0 -1
- package/dist/command-D71NHS4j.js.map +0 -1
- package/dist/context-43g3bIde.js +0 -162
- package/dist/context-43g3bIde.js.map +0 -1
- package/dist/daemon-device-id-Dwm7CHtX.js.map +0 -1
- package/dist/dist-CaCD0K8a.js +0 -216
- package/dist/dist-CaCD0K8a.js.map +0 -1
- package/dist/dist-DEjtwiDJ.js.map +0 -1
- package/dist/dist-DGNsLSYJ.js +0 -4
- package/dist/elapsed-time-BnibmBPb.js.map +0 -1
- package/dist/io-DT66typ4.js +0 -16
- package/dist/io-DT66typ4.js.map +0 -1
- package/dist/meta-api-CjvtAPvQ.js.map +0 -1
- package/dist/openmeld-o_rTSEOO.js.map +0 -1
- package/dist/presenter-MJ5YgsOT.js.map +0 -1
- package/dist/runtime-DjEQja8c.js.map +0 -1
- package/dist/runtime-transport-B-GZhwVt.js.map +0 -1
- package/dist/service-CleUczqJ.js.map +0 -1
- package/dist/updates-api-B7x39-DR.js.map +0 -1
- package/dist/upgrade-636PQBli.js +0 -4
|
@@ -1,46 +1,44 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, Dr as resolveEvidenceSyncHealth, E as resolveProfileWorkspaceRuntime, Er as resolveAgentProfileEditCapabilities, Et as listBuiltinAgentsRegistryEntries, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged, Lt as setOpenMeldManagedProfileWorkspace, Mt as readProfileWorkspaceConfig, O as syncDeviceRuntimeStateProjection, Or as resolveNativeAgentControllerPermissionModeForController, Pt as resolveConfiguredProfileWorkspacePath, Q as resolveLocalRegistryAgentIdFromAgentControllerRef, Rt as validateCustomProfileWorkspacePath, S as syncProfileWorkspaceState, St as canonicalizeLocalProjectPath, Tr as resolveAgentExecutionStatus, _t as removeProjectConnection, br as peopleComputerContainsDevice, bt as setDefaultProjectConnection, dr as createAgentExecutionStatusDisplayRows, ft as listProjectBindings, j as resolveAgentProfilePrimaryAgentControllerReport, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, mr as getAgentControllerPermissionModeFieldLabel, mt as migrateProjectBindingStore, pr as getAgentControllerPermissionModeDisplayMetadata, pt as listProjectConnectionsWithStatus, ut as bindProject, vr as listAgentControllerPermissionModeOptions, wr as resolveAgentControllerPermissionModeForController, xr as projectPeopleComputersToLegacyLocalRuntimes, xt as unbindProject, yr as parseAgentControllerRef, yt as runIfAgentActivityBindingGenerationIsCurrent, zr as compareAgentControllerRefsForDisplay, zt as describeProfileWorkspacePathValidationFailure } from "./prepare-provider-runtime-
|
|
3
|
+
import { At as ensureOpenMeldManagedProfileWorkspace, C as createModelCatalogReadSession, Dr as resolveEvidenceSyncHealth, E as resolveProfileWorkspaceRuntime, Er as resolveAgentProfileEditCapabilities, Et as listBuiltinAgentsRegistryEntries, I as listAgentTargetStates, It as setCustomProfileWorkspace, K as notifyDaemonRouteCatalogChanged, Lt as setOpenMeldManagedProfileWorkspace, Mt as readProfileWorkspaceConfig, O as syncDeviceRuntimeStateProjection, Or as resolveNativeAgentControllerPermissionModeForController, Pt as resolveConfiguredProfileWorkspacePath, Q as resolveLocalRegistryAgentIdFromAgentControllerRef, Rt as validateCustomProfileWorkspacePath, S as syncProfileWorkspaceState, St as canonicalizeLocalProjectPath, Tr as resolveAgentExecutionStatus, _t as removeProjectConnection, br as peopleComputerContainsDevice, bt as setDefaultProjectConnection, dr as createAgentExecutionStatusDisplayRows, ft as listProjectBindings, j as resolveAgentProfilePrimaryAgentControllerReport, jt as normalizeCustomProfileWorkspacePath, k as createPrimaryBindingReadSession, mr as getAgentControllerPermissionModeFieldLabel, mt as migrateProjectBindingStore, pr as getAgentControllerPermissionModeDisplayMetadata, pt as listProjectConnectionsWithStatus, ut as bindProject, vr as listAgentControllerPermissionModeOptions, wr as resolveAgentControllerPermissionModeForController, xr as projectPeopleComputersToLegacyLocalRuntimes, xt as unbindProject, yr as parseAgentControllerRef, yt as runIfAgentActivityBindingGenerationIsCurrent, zr as compareAgentControllerRefsForDisplay, zt as describeProfileWorkspacePathValidationFailure } from "./prepare-provider-runtime-L7u8iHAb.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 {
|
|
8
|
-
import {
|
|
7
|
+
import { $r as resolvedSpaceMemberProfileSchema, Ai as agentActivityProviderSchema, An as postSpaceWorkHandoff, Br as ORGANIZATION_SKILL_BUNDLE_MAX_BYTES, Fr as spaceDispatchTraceAttemptStatusSchema, Gr as organizationSkillFileSchema, Gt as createCurrentDeviceApi, Ir as spaceDispatchTraceDispatchStatusSchema, Lr as spaceDispatchTraceResponseSchema, Lt as createAgentActivityApi, Mi as agentActivitySnapshotQuerySchema, Mr as projectSpaceDispatchTraceFinalVisibleOutcome, Nr as resolveRuntimeCoordinatorHeadStatusRootCause, Or as submitFeedbackIssueRequestSchema, Pr as resolveSpaceDispatchTraceRootCause, Rr as observabilityWakeTraceSelectorSchema, Rt as createAgentProfileBindingApi, Ut as createComputerFileAccessApi, Vn as toStructuredApiClientFailure, Vr as ORGANIZATION_SKILL_FILE_MAX_BYTES, Vt as createCenterAgentApi, Yt as createFileRootApi, an as createPluginsApi, br as createAgentProfileCreationRequestBodySchema, ci as summarizeComputerFileAccessPolicy, cr as spaceEntryTargetSchema, di as agentActivityInventorySessionStatusSchema, dn as createRoutinesApi, fi as agentActivitySessionInventoryQuerySchema, ir as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, ji as agentActivitySessionStatusSchema, jr as SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER, ln as createProjectsApi, mi as localAgentSessionProviderSchema, oi as ownerComputerDiagnosticsSchema, on as createPrepareReadinessApi, qt as createFeedbackApi, rn as createOrganizationSkillsApi, si as projectOwnerComputerLocalRuntimes, tn as createOrganizationApi, tr as OPENMELD_HEADER_PROFILE_ID, ui as agentActivityInventorySessionOriginSchema, ur as pluginActionRequestSchema, vr as DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION, yr as agentProfileCreationConfigurationSchema, zr as projectObservabilityWakeCorrelation, zt as createAgentProfileExecutionModeApi } from "./dist-s_YTHAIc.js";
|
|
8
|
+
import { $n as spaceContractSchema, Fr as agentInteractionResponseSchema, Jn as spaceThreadContextSchema, Qn as spaceContractFieldsSchema, Ri as openMeldProfileIdSchema, Rr as clientMessageIdSchema, Ur as runtimeTransportAdmissionEvidenceSchema, cn as spaceWorkSelectionSchema, dn as SPACE_FILE_MAX_SIZE_BYTES, fn as SPACE_FILE_RAW_UPLOAD_MAX_BYTES, fr as messageEnvelopeSchema, gn as isSpaceFileTextEditable, ln as spaceWorkingCopyResultSchema, nn as spaceStatusSchema, on as spaceWorkHandoffSchema, rn as centerAgentInteractionSourceSchema, vi as START_BOUNDED_ID_SCHEMA, xi as START_TRIMMED_NON_EMPTY_STRING_SCHEMA, xn as resolveSpaceFileMimeType, zi as openMeldRequestContextSchema } from "./runtime-transport-BVCHi4qM.js";
|
|
9
9
|
import { L as nonEmptyTrimmedStringFromUnknown, O as openMeldRuntimeProfileIdSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-QqGL-jtT.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 { t as computerConnectionIntentSchema } from "./computer-connection-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { B as
|
|
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-BTRu2Kc5.js";
|
|
12
|
+
import { t as computerConnectionIntentSchema } from "./computer-connection-Sntn_-XO.js";
|
|
13
|
+
import { B as resolveRuntimeContext, G as createOpenMeldAgentProfile, H as isSelectedOpenMeldProfileRequiredError, K as createOpenMeldHumanProfile, Q as updateOpenMeldProfile, U as requireOpenMeldProfile, V as resolveViewProfileKey, W as resolveOpenMeldProfileOrNull, X as primeOpenMeldProfilesSessionCache, Y as listOpenMeldProfiles, Z as resolveOpenMeldProfile, _t as getProfileDefaultView, at as getSelectedOpenMeldProfileId, dt as createAuthenticationError, ht as resolveAuthenticationGuidanceFromMessage, it as clearSelectedOpenMeldProfileId, mt as resolveAuthenticationGuidanceFromError, nt as alignSelectedOpenMeldProfileStorage, ot as setSelectedOpenMeldProfileId, pt as resolveAuthenticationGuidance, q as deleteOpenMeldProfile, st as buildAgentAuthenticationGuide, ut as buildHumanAuthenticationCard, vt as setProfileDefaultView, z as parseCliViewMode } from "./daemon-device-id-D7lbw6c4.js";
|
|
14
|
+
import { d as readSelectedSkillDocument, r as ensureLocalSkills } from "./state-BJJLEoJY.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-6waBVmON.js";
|
|
16
|
+
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-CfPwparq.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-tg1rD8mP.js";
|
|
18
|
+
import { A as removeAgentActivityContextCache, B as readAgentActivityIntegrationStatus, E as syncLocalAgentActivity, F as resolveAgentActivityRouteForPath, H as uninstallAgentActivityIntegrations, I as unregisterAgentActivityRoute, M as readControllerTaskLifecycleOutboxHealth, N as isAgentActivityRouteRegistered, P as registerAgentActivityRoute, R as defaultManagedIntegrationPaths, V as resolveAgentActivityDispatcherCommand, b as readRuntimeReportingHealthState, c as runSpaceActionHelp, d as runSpaceActionStatus, f as runSpaceActionTargets, i as materializeOrganizationSkillRelease, j as enqueueControllerTaskLifecycleEventWhileLocked, k as readAgentActivityContextForPath, l as runSpaceActionReply, n as createSpaceWorkingCopies, o as runSpaceActionMcpServer, p as runSpaceActionWake, r as downloadWorkingCopyFile, s as runDirectMessage, t as fetchSpaceUpdates, u as runSpaceActionSilent, z as installAgentActivityIntegrations } from "./updates-api-dsNUTfpa.js";
|
|
19
|
+
import { G as readManagedCliInstallation, H as buildInstallSelfJsonPayload, U as performManagedInstall, r as readCurrentDaemonRuntimeContext } from "./daemon-service-runtime-DhV7AKAv.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 {
|
|
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-BM4ha5Nj.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-Cyw5Gj59.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 {
|
|
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-DDYa38RT.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
26
|
import { n as resolveOpenMeldDistribution, t as isBinaryDistribution } from "./distribution-BDQT2ilb.js";
|
|
26
27
|
import { A as getDaemonStatus } from "./daemon-state-Dte9re5V.js";
|
|
27
28
|
import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
|
|
28
29
|
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";
|
|
29
30
|
import { t as resolveOpenMeldEnvironmentTarget } from "./openmeld-environment-target-BgYR6ozy.js";
|
|
30
|
-
import { r as runServiceAccountCarrier } from "./service-account-authorization-
|
|
31
|
-
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-
|
|
32
|
-
import { a as
|
|
33
|
-
import { n as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import { n as
|
|
38
|
-
import { t as
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-CRS5CwMp.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-BQSA2LfT.js";
|
|
43
|
-
import { c as toStructuredGatewayFailure, f as createCliSpaceApi, l as parseJsonResponse, n as updateSpaceMeta, o as readGatewayJsonResponse, s as readGatewayTextResponse, t as fetchSpaceMeta } from "./meta-api-CjvtAPvQ.js";
|
|
31
|
+
import { r as runServiceAccountCarrier } from "./service-account-authorization-C1CdX1P3.js";
|
|
32
|
+
import { b as requestLocalAgentActivitySync, d as compareSemver, f as ensureVersionStateReady, l as OPENMELD_VERSION, y as LocalDaemonControlPlaneClientError } from "./daemon-lifecycle-journal-C0P8xFTk.js";
|
|
33
|
+
import { a as outJsonLine, i as errLine, n as sanitizeTerminalDisplayText, o as outLine, r as formatMessage, t as createPresenter } from "./presenter-BcxiQyJg.js";
|
|
34
|
+
import { c as buildRequestAuthHeaders, d as buildOpenMeldRequestContextFromProfile, n as fetchSpaceRequestWithTimeout, p as deriveAuthBaseUrlFromGatewayUrl, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-DNbvvZW2.js";
|
|
35
|
+
import { g as canUseInteractivePrompts } from "./elapsed-time-Ck4GiT9P.js";
|
|
36
|
+
import { n as collectSkillsReadinessSnapshot } from "./installation-inventory-CSNq9dzc.js";
|
|
37
|
+
import { t as runServiceAccountControl } from "./service-account-control-BBY6pX86.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-D8LvC1d8.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-kG9UvazC.js";
|
|
40
|
+
import { n as submitProfileRuntimeAgentControllerReport, r as submitRuntimeAgentControllerReport } from "./runtime-agent-controller-reporting-submission-BFXtOHAU.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-DwlRN4_U.js";
|
|
44
42
|
import { createHash, randomUUID } from "node:crypto";
|
|
45
43
|
import { homedir, tmpdir } from "node:os";
|
|
46
44
|
import { basename, dirname, extname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
@@ -11828,7 +11826,7 @@ async function fetchSpaceDispatchTrace(input) {
|
|
|
11828
11826
|
requestContext: input.requestContext,
|
|
11829
11827
|
spacePassword: input.password
|
|
11830
11828
|
}),
|
|
11831
|
-
[SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER]: String(
|
|
11829
|
+
[SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER]: String(6)
|
|
11832
11830
|
} }
|
|
11833
11831
|
});
|
|
11834
11832
|
const raw = await response.text();
|
|
@@ -12140,10 +12138,14 @@ async function runServiceTrace(input, deps = {}) {
|
|
|
12140
12138
|
});
|
|
12141
12139
|
const evidenceSyncHealth = agentExecutionStatus ? buildServiceTraceEvidenceSyncHealth({ projection: agentExecutionStatus }) : null;
|
|
12142
12140
|
const daemonDispatchJournal = resolveDaemonDispatchJournalEvidence(selection.dispatchId);
|
|
12143
|
-
const agentSummary = buildAgentTraceCompactSummary({
|
|
12141
|
+
const agentSummary = buildAgentTraceCompactSummary({
|
|
12142
|
+
trace: traceResponse.trace,
|
|
12143
|
+
nativeDeliveryTrace: traceResponse.nativeDeliveryTrace
|
|
12144
|
+
});
|
|
12144
12145
|
const admissionRejections = resolveAdmissionRejections(traceResponse.trace);
|
|
12145
12146
|
const traceReadinessGuidance = shouldExposeCurrentReadinessGuidance(traceResponse.trace) ? targetContext.guidance : null;
|
|
12146
12147
|
const payload = {
|
|
12148
|
+
...traceResponse.nativeDeliveryTrace ? { nativeDeliveryTrace: traceResponse.nativeDeliveryTrace } : {},
|
|
12147
12149
|
...traceResponse.serviceConnectionDiagnostics ? { serviceConnectionDiagnostics: traceResponse.serviceConnectionDiagnostics } : {},
|
|
12148
12150
|
correlation: traceResponse.correlation,
|
|
12149
12151
|
query: traceResponse.query,
|
|
@@ -12193,7 +12195,8 @@ async function runServiceTrace(input, deps = {}) {
|
|
|
12193
12195
|
admissionRejections,
|
|
12194
12196
|
diagnosticSummary: buildAgentTraceSummary({
|
|
12195
12197
|
dispatchId: traceResponse.query.dispatchId,
|
|
12196
|
-
trace: traceResponse.trace
|
|
12198
|
+
trace: traceResponse.trace,
|
|
12199
|
+
nativeDeliveryTrace: traceResponse.nativeDeliveryTrace
|
|
12197
12200
|
})
|
|
12198
12201
|
}
|
|
12199
12202
|
});
|
|
@@ -12212,6 +12215,7 @@ async function runServiceTrace(input, deps = {}) {
|
|
|
12212
12215
|
dispatchId: traceResponse.query.dispatchId,
|
|
12213
12216
|
lookup: selection.lookup,
|
|
12214
12217
|
trace: traceResponse.trace,
|
|
12218
|
+
nativeDeliveryTrace: traceResponse.nativeDeliveryTrace,
|
|
12215
12219
|
targetProfile: targetContext.targetProfile,
|
|
12216
12220
|
currentAgentReplyReadiness: targetContext.currentAgentReplyReadiness,
|
|
12217
12221
|
currentDeviceReplyReadiness: targetContext.currentReplyReadiness?.deviceReplyReadiness ?? null,
|
|
@@ -12668,6 +12672,56 @@ function formatLookupSelectorLabel(input) {
|
|
|
12668
12672
|
return "lookup selector";
|
|
12669
12673
|
}
|
|
12670
12674
|
function buildHumanTraceRows(input) {
|
|
12675
|
+
if (input.nativeDeliveryTrace) {
|
|
12676
|
+
const native = input.nativeDeliveryTrace;
|
|
12677
|
+
const summary = buildAgentTraceCompactSummary(input);
|
|
12678
|
+
return [
|
|
12679
|
+
{
|
|
12680
|
+
label: "Actor",
|
|
12681
|
+
value: formatServiceTraceActorLabel(input.actorProfile)
|
|
12682
|
+
},
|
|
12683
|
+
{
|
|
12684
|
+
label: "Space ID",
|
|
12685
|
+
value: input.spaceId
|
|
12686
|
+
},
|
|
12687
|
+
{
|
|
12688
|
+
label: "Dispatch ID",
|
|
12689
|
+
value: input.dispatchId
|
|
12690
|
+
},
|
|
12691
|
+
{
|
|
12692
|
+
label: "Native Delivery ID",
|
|
12693
|
+
value: native.turn.deliveryId
|
|
12694
|
+
},
|
|
12695
|
+
{
|
|
12696
|
+
label: "Target Profile ID",
|
|
12697
|
+
value: native.destination.targetProfileId
|
|
12698
|
+
},
|
|
12699
|
+
{
|
|
12700
|
+
label: "Execution",
|
|
12701
|
+
value: native.turn.status
|
|
12702
|
+
},
|
|
12703
|
+
{
|
|
12704
|
+
label: "Publication",
|
|
12705
|
+
value: native.turn.publicationState ?? "not recorded"
|
|
12706
|
+
},
|
|
12707
|
+
{
|
|
12708
|
+
label: "Visible Outcome",
|
|
12709
|
+
value: native.finalVisibleOutcome.status
|
|
12710
|
+
},
|
|
12711
|
+
...native.turn.runtimeEvidenceStatus ? [{
|
|
12712
|
+
label: "Runtime Evidence",
|
|
12713
|
+
value: native.turn.runtimeEvidenceStatus
|
|
12714
|
+
}] : [],
|
|
12715
|
+
...native.turn.failureCode ? [{
|
|
12716
|
+
label: "Failure",
|
|
12717
|
+
value: native.turn.failureCode
|
|
12718
|
+
}] : [],
|
|
12719
|
+
{
|
|
12720
|
+
label: "Next",
|
|
12721
|
+
value: summary.nextAction
|
|
12722
|
+
}
|
|
12723
|
+
];
|
|
12724
|
+
}
|
|
12671
12725
|
if (!input.trace) return [
|
|
12672
12726
|
{
|
|
12673
12727
|
label: "Actor",
|
|
@@ -13451,6 +13505,10 @@ function appendDispatchExecutionRows(rows, trace) {
|
|
|
13451
13505
|
});
|
|
13452
13506
|
}
|
|
13453
13507
|
function buildAgentTraceSummary(input) {
|
|
13508
|
+
if (input.nativeDeliveryTrace) {
|
|
13509
|
+
const native = input.nativeDeliveryTrace;
|
|
13510
|
+
return `dispatch ${input.dispatchId}: nativeDelivery=${native.turn.status} publication=${native.turn.publicationState ?? "not_recorded"} visibleOutcome=${native.finalVisibleOutcome.status} delivered=${native.finalVisibleOutcome.delivered}`;
|
|
13511
|
+
}
|
|
13454
13512
|
if (!input.trace) return `dispatch ${input.dispatchId}: not_found`;
|
|
13455
13513
|
const finalVisibleOutcome = projectSpaceDispatchTraceFinalVisibleOutcome(input.trace);
|
|
13456
13514
|
const finalVisibleOutcomeSummary = finalVisibleOutcome.status === "not_applicable" ? "finalVisibleOutcome=not_applicable" : `finalVisibleOutcome=${finalVisibleOutcome.status}`;
|
|
@@ -13467,7 +13525,22 @@ function buildAgentTraceSummary(input) {
|
|
|
13467
13525
|
const nativeDeliverySummary = input.trace.nativeDelivery ? ` nativeDelivery=${input.trace.nativeDelivery.status} destination=${formatNativeDeliveryDestination(input.trace.nativeDelivery.destination)} controllerNormalization=${input.trace.nativeDelivery.controllerNormalization.storedAgentControllerRefStatus}` : "";
|
|
13468
13526
|
return `dispatch ${input.trace.dispatch.dispatchId}: ${finalVisibleOutcomeSummary} delivered=${finalVisibleOutcome.delivered ? "true" : "false"} rootCause=${resolveTraceRootCause(input.trace)} status=${input.trace.dispatch.status} latestAttempt=${attemptStatus} streaming=${streamingMode} preview=${previewEmitted ? "emitted" : "none"}${headLifecycleSummary}${resultInboxSummary}${projectFailureContextSummary}${finalVisibleSummary}${finalVisibleLinkageSummary}${nativeDeliverySummary}${runtimeSummary}${dispatchExecutionSummary}`;
|
|
13469
13527
|
}
|
|
13528
|
+
function buildNativeDeliveryTraceCompactSummary(native) {
|
|
13529
|
+
const outcome = native.finalVisibleOutcome;
|
|
13530
|
+
return {
|
|
13531
|
+
currentState: outcome.delivered ? "delivered" : native.turn.status,
|
|
13532
|
+
delivered: outcome.delivered,
|
|
13533
|
+
nextAction: outcome.delivered ? "none" : "check Space history, then rerun trace with --details",
|
|
13534
|
+
reasonCode: outcome.delivered ? outcome.reasonCode : native.turn.failureCode ?? native.finalVisibleMessageLinkage?.reasonCode ?? outcome.reasonCode,
|
|
13535
|
+
visibleOutcome: outcome.status,
|
|
13536
|
+
deliveryDestination: formatNativeDeliveryDestination(native.destination),
|
|
13537
|
+
runtimeFamily: "hosted_center_agent",
|
|
13538
|
+
nativeDeliveryId: native.turn.deliveryId,
|
|
13539
|
+
publicationState: native.turn.publicationState
|
|
13540
|
+
};
|
|
13541
|
+
}
|
|
13470
13542
|
function buildAgentTraceCompactSummary(input) {
|
|
13543
|
+
if (input.nativeDeliveryTrace) return buildNativeDeliveryTraceCompactSummary(input.nativeDeliveryTrace);
|
|
13471
13544
|
const trace = input.trace;
|
|
13472
13545
|
if (!trace) return {
|
|
13473
13546
|
currentState: "not_found",
|
|
@@ -24478,7 +24551,7 @@ function normalizeOptionalString(value) {
|
|
|
24478
24551
|
return normalized.length > 0 ? normalized : null;
|
|
24479
24552
|
}
|
|
24480
24553
|
async function runDefaultSpaceAddMeMembership(input) {
|
|
24481
|
-
const { runSpaceAddMeMembership } = await import("./add-me-membership-
|
|
24554
|
+
const { runSpaceAddMeMembership } = await import("./add-me-membership-_7nC0hkr.js");
|
|
24482
24555
|
return await runSpaceAddMeMembership(input);
|
|
24483
24556
|
}
|
|
24484
24557
|
//#endregion
|
|
@@ -28411,49 +28484,8 @@ async function runSpaceWakeStop(input) {
|
|
|
28411
28484
|
interactive
|
|
28412
28485
|
}) });
|
|
28413
28486
|
const spaceApi = createCliSpaceApi(baseUrl);
|
|
28414
|
-
const progressRead = await runSpaceReadWithPasswordRetry({
|
|
28415
|
-
initialPassword: input.password,
|
|
28416
|
-
interactive: interactive && runtime.resolvedView === "human",
|
|
28417
|
-
presenter,
|
|
28418
|
-
execute: async (password) => {
|
|
28419
|
-
const common = {
|
|
28420
|
-
includeWaitReason: true,
|
|
28421
|
-
includeWakeStopEligibility: true,
|
|
28422
|
-
requestContext,
|
|
28423
|
-
spaceId: input.space,
|
|
28424
|
-
targetProfileId: target.targetProfileId,
|
|
28425
|
-
...password === void 0 ? {} : { spacePassword: password }
|
|
28426
|
-
};
|
|
28427
|
-
return target.by === "client_message" ? await spaceApi.getWakeProgress({
|
|
28428
|
-
...common,
|
|
28429
|
-
clientMessageId: target.clientMessageId
|
|
28430
|
-
}) : await spaceApi.getActiveWakeProgress(common);
|
|
28431
|
-
}
|
|
28432
|
-
}).catch((error) => {
|
|
28433
|
-
emitWakeControlError({
|
|
28434
|
-
error,
|
|
28435
|
-
operation: "space.wake_stop",
|
|
28436
|
-
presenter
|
|
28437
|
-
});
|
|
28438
|
-
return null;
|
|
28439
|
-
});
|
|
28440
|
-
if (!progressRead) return;
|
|
28441
|
-
if (progressRead.status === "cancelled") return;
|
|
28442
|
-
try {
|
|
28443
|
-
assertWakeStopEligible({
|
|
28444
|
-
items: progressRead.result.items,
|
|
28445
|
-
target
|
|
28446
|
-
});
|
|
28447
|
-
} catch (error) {
|
|
28448
|
-
emitWakeControlError({
|
|
28449
|
-
error,
|
|
28450
|
-
operation: "space.wake_stop",
|
|
28451
|
-
presenter
|
|
28452
|
-
});
|
|
28453
|
-
return;
|
|
28454
|
-
}
|
|
28455
28487
|
const stopRead = await runSpaceWriteWithPasswordRetry({
|
|
28456
|
-
initialPassword:
|
|
28488
|
+
initialPassword: input.password,
|
|
28457
28489
|
interactive: interactive && runtime.resolvedView === "human",
|
|
28458
28490
|
presenter,
|
|
28459
28491
|
execute: async (password) => await spaceApi.postWakeStop({
|
|
@@ -28508,15 +28540,6 @@ function buildWakeStopTarget(input) {
|
|
|
28508
28540
|
targetProfileId
|
|
28509
28541
|
};
|
|
28510
28542
|
}
|
|
28511
|
-
function assertWakeStopEligible(input) {
|
|
28512
|
-
const item = input.items.find((candidate) => {
|
|
28513
|
-
if (candidate.targetProfileId !== input.target.targetProfileId) return false;
|
|
28514
|
-
return input.target.by === "client_message" ? candidate.clientMessageId === input.target.clientMessageId : candidate.sourceSignalId === input.target.sourceSignalId;
|
|
28515
|
-
});
|
|
28516
|
-
if (!item) throw createWakeControlCommandError("space.wake_stop.not_observed", "The selected Wake is not active or its progress is not available. No Stop request was sent.");
|
|
28517
|
-
if (item.terminal) throw createWakeControlCommandError("space.wake_stop.terminal", "The selected Wake is already terminal. No Stop request was sent.");
|
|
28518
|
-
if (item.wakeStopEligibility?.status !== "eligible") throw createWakeControlCommandError("space.wake_stop.not_eligible", `The selected Wake is not eligible for Stop (${item.wakeStopEligibility?.reasonCode ?? "wake_stop_eligibility_missing"}). No Stop request was sent.`);
|
|
28519
|
-
}
|
|
28520
28543
|
function createWakeControlCommandError(code, message) {
|
|
28521
28544
|
return Object.assign(new Error(message), { code });
|
|
28522
28545
|
}
|
|
@@ -29512,7 +29535,7 @@ computerCmd.command("disconnect").description("Disconnect this computer from its
|
|
|
29512
29535
|
routeTokens: ["computer", "disconnect"],
|
|
29513
29536
|
view,
|
|
29514
29537
|
run: async () => {
|
|
29515
|
-
const { runComputerDisconnect } = await import("./computer-disconnect-
|
|
29538
|
+
const { runComputerDisconnect } = await import("./computer-disconnect-Bxxreumk.js");
|
|
29516
29539
|
await runComputerDisconnect(computerConnectionIntentSchema.parse(JSON.parse(opts.connectionIntent)), view);
|
|
29517
29540
|
}
|
|
29518
29541
|
});
|
|
@@ -30751,7 +30774,23 @@ withSpaceProfileOption(spaceCmd.command("watch").description("Watch a space in r
|
|
|
30751
30774
|
}
|
|
30752
30775
|
});
|
|
30753
30776
|
});
|
|
30754
|
-
withSpaceProfileOption(spaceCmd.command("
|
|
30777
|
+
withSpaceProfileOption(spaceCmd.command("dm").description("Open a Direct Message with a person or Agent, optionally sending a message.").argument("<target-profile-id>", "Exact recipient Profile ID").argument("[text...]", "Message text").option("--stdin", "Read message text from stdin").option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake", "Ask the recipient Agent to start work").option("--space <space-id>", "Send to the exact Direct Message from an earlier receipt").option("--message-id <uuid>", "Stable message ID; reuse it when retrying a send").option("--new-chat <uuid>", "Create a separate Human–Center Agent chat; reuse the ID on retries")).action(async (targetProfileId, textParts, opts, command) => {
|
|
30778
|
+
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30779
|
+
await runDirectMessage({
|
|
30780
|
+
targetProfileId,
|
|
30781
|
+
text: Array.isArray(textParts) ? textParts.join(" ") : "",
|
|
30782
|
+
stdin: opts.stdin === true,
|
|
30783
|
+
textFile: opts.textFile,
|
|
30784
|
+
profile: cliOptions.profile,
|
|
30785
|
+
baseUrl: cliOptions.gatewayUrl,
|
|
30786
|
+
clientMessageId: opts.messageId,
|
|
30787
|
+
spaceId: opts.space,
|
|
30788
|
+
creationId: opts.newChat,
|
|
30789
|
+
wake: opts.wake === true,
|
|
30790
|
+
view: getGlobalViewOption()
|
|
30791
|
+
});
|
|
30792
|
+
});
|
|
30793
|
+
withSpaceProfileOption(spaceCmd.command("send").description("Send one message to a Space.").option("--new-task", `Start an independent task (up to 5 per Agent)`).option("--fork-from <signal-id>", "Fork the selected Agent's completed task at this message").option("--continue-from <signal-id>", "Continue the selected Agent's task from this message").option("--task-access <mode>", "File access: space_context, read_only, or workspace (local files require Codex)").option("--task-workspace <mode>", "Task folder: isolated (private project worktree for local work) or current").argument("[space]", "Space ID (64-character hex)").argument("[text...]", "Text to send").option("--file <path>", "Share a local file in this Space message (repeatable, max 10)", collectRepeatedOptionValue, []).option("--stdin", "Read message text from stdin (EOF to finish)", false).option("--text-file <path>", "Read message text from a UTF-8 file").option("--wake <profile-id>", "Wake an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--reference <profile-id>", "Reference an Agent Profile (repeatable)", collectRepeatedOptionValue, []).option("--mention <profile-id>", "Mention a Human Profile (repeatable)", collectRepeatedOptionValue, []).option("--plain", "Assert that this message has no recipients; text is always literal", false).option("--reply-to <signal-id>", "Reply into the thread of a message (creates the thread if it does not exist yet)").option("--client-message <id>", "Stable request ID for retrying or stopping this send before it starts").option("--password <value>", "Space password for protected access")).action(async (space, textParts, opts, command) => {
|
|
30755
30794
|
const cliOptions = resolveSpaceCommandCliOptions(command, opts);
|
|
30756
30795
|
const spaceValue = String(space ?? "").trim();
|
|
30757
30796
|
const outputView = await resolveEffectiveViewForOutput();
|
|
@@ -30768,6 +30807,7 @@ withSpaceProfileOption(spaceCmd.command("send").description("Send one message to
|
|
|
30768
30807
|
gatewayUrl: cliOptions.gatewayUrl,
|
|
30769
30808
|
run: async () => {
|
|
30770
30809
|
await runSpaceSend({
|
|
30810
|
+
clientMessageId: typeof opts.clientMessage === "string" ? opts.clientMessage : void 0,
|
|
30771
30811
|
profile: cliOptions.profile,
|
|
30772
30812
|
baseUrl: cliOptions.gatewayUrl,
|
|
30773
30813
|
space: spaceValue,
|
|
@@ -31773,7 +31813,7 @@ async function main() {
|
|
|
31773
31813
|
if (await runMacOsNativeKeychainHelperIfRequested()) return;
|
|
31774
31814
|
const argv = process.argv.map((arg) => arg === "--h" ? "--help" : arg);
|
|
31775
31815
|
if (argv.length === 5 && argv[2] === "computer" && argv[3] === "connection-review" && argv[4] === "--json") {
|
|
31776
|
-
const { readComputerConnectionReview } = await import("./computer-connection-review-
|
|
31816
|
+
const { readComputerConnectionReview } = await import("./computer-connection-review-DWiapsro.js");
|
|
31777
31817
|
outLine(JSON.stringify(await readComputerConnectionReview()));
|
|
31778
31818
|
return;
|
|
31779
31819
|
}
|
|
@@ -31784,7 +31824,7 @@ async function main() {
|
|
|
31784
31824
|
return;
|
|
31785
31825
|
}
|
|
31786
31826
|
if (argv[3] === "control-capabilities") {
|
|
31787
|
-
const { readServiceControlCapabilities } = await import("./service-control-capabilities-
|
|
31827
|
+
const { readServiceControlCapabilities } = await import("./service-control-capabilities-CQjhvDFx.js");
|
|
31788
31828
|
emitCliJsonEnvelope({
|
|
31789
31829
|
schemaVersion: 1,
|
|
31790
31830
|
type: "service.control_capabilities",
|
|
@@ -31967,4 +32007,4 @@ main().catch((error) => {
|
|
|
31967
32007
|
//#endregion
|
|
31968
32008
|
export {};
|
|
31969
32009
|
|
|
31970
|
-
//# sourceMappingURL=openmeld-
|
|
32010
|
+
//# sourceMappingURL=openmeld-MSrVnYw0.js.map
|