openmeld 0.3.241 → 0.3.242
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-BU2dHctF.js → add-me-membership-JGpmeWkk.js} +2 -2
- package/dist/{add-me-membership-BU2dHctF.js.map → add-me-membership-JGpmeWkk.js.map} +1 -1
- package/dist/{agents-BCbxo9ej.js → agents-4ldZFtzT.js} +8 -8
- package/dist/{agents-BCbxo9ej.js.map → agents-4ldZFtzT.js.map} +1 -1
- package/dist/{command-BEWvHfNy.js → command-D1poZMYq.js} +10 -10
- package/dist/{command-BEWvHfNy.js.map → command-D1poZMYq.js.map} +1 -1
- package/dist/{computer-connection-review-B3jM81-q.js → computer-connection-review-DlPe08AU.js} +2 -2
- package/dist/{computer-connection-review-B3jM81-q.js.map → computer-connection-review-DlPe08AU.js.map} +1 -1
- package/dist/{computer-disconnect-De7aDtz9.js → computer-disconnect-C6xJfCMA.js} +3 -3
- package/dist/{computer-disconnect-De7aDtz9.js.map → computer-disconnect-C6xJfCMA.js.map} +1 -1
- package/dist/{computer-setup-continuation-DUDXeWyZ.js → computer-setup-continuation-fbbvdA8o.js} +2 -2
- package/dist/{computer-setup-continuation-DUDXeWyZ.js.map → computer-setup-continuation-fbbvdA8o.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-txRGG09R.js → daemon-lifecycle-journal-eiHCp4B7.js} +6 -6
- package/dist/{daemon-lifecycle-journal-txRGG09R.js.map → daemon-lifecycle-journal-eiHCp4B7.js.map} +1 -1
- package/dist/{daemon-service-runtime-DVou-9gk.js → daemon-service-runtime-zCpuDvfl.js} +2 -2
- package/dist/{daemon-service-runtime-DVou-9gk.js.map → daemon-service-runtime-zCpuDvfl.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-j-NJ6SG6.js → daemon-service-update-coordinator-Q5ihbImP.js} +4 -4
- package/dist/{daemon-service-update-coordinator-j-NJ6SG6.js.map → daemon-service-update-coordinator-Q5ihbImP.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-Ds0NjZbf.js → dispatch-owned-runtime-B6HXvHVa.js} +3 -3
- package/dist/{dispatch-owned-runtime-Ds0NjZbf.js.map → dispatch-owned-runtime-B6HXvHVa.js.map} +1 -1
- package/dist/{dual-view-guide-catalog-Bm3heywF.js → dual-view-guide-catalog-Cf9dxh8-.js} +2 -2
- package/dist/{dual-view-guide-catalog-Bm3heywF.js.map → dual-view-guide-catalog-Cf9dxh8-.js.map} +1 -1
- package/dist/{elapsed-time-8Z_hiMHG.js → elapsed-time-ZiuFKVLD.js} +3 -3
- package/dist/{elapsed-time-8Z_hiMHG.js.map → elapsed-time-ZiuFKVLD.js.map} +1 -1
- package/dist/{entry-CRNdcPn2.js → entry-B3OCEi01.js} +2 -2
- package/dist/{entry-CRNdcPn2.js.map → entry-B3OCEi01.js.map} +1 -1
- package/dist/{installation-inventory-C2gqd8Ui.js → installation-inventory-CRS2_ZJi.js} +3 -3
- package/dist/{installation-inventory-C2gqd8Ui.js.map → installation-inventory-CRS2_ZJi.js.map} +1 -1
- package/dist/{installer-C5wRsjRo.js → installer-9RCKL6Dh.js} +2 -2
- package/dist/{installer-C5wRsjRo.js.map → installer-9RCKL6Dh.js.map} +1 -1
- package/dist/{meta-api-f30I0cYW.js → meta-api-BBfF-3ln.js} +2 -2
- package/dist/{meta-api-f30I0cYW.js.map → meta-api-BBfF-3ln.js.map} +1 -1
- package/dist/{openmeld-pa6CFD0L.js → openmeld-CAlNOxmA.js} +23 -23
- package/dist/{openmeld-pa6CFD0L.js.map → openmeld-CAlNOxmA.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-DO2-9bPr.js → openmeld-maintenance-worker-DR32kAsg.js} +9 -9
- package/dist/{openmeld-maintenance-worker-DO2-9bPr.js.map → openmeld-maintenance-worker-DR32kAsg.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-7k8F3WoX.js → openmeld-tools-update-join-DWRJ6WpO.js} +4 -4
- package/dist/{openmeld-tools-update-join-7k8F3WoX.js.map → openmeld-tools-update-join-DWRJ6WpO.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-CRKT1qfE.js → prepare-provider-runtime-CpG_NTZF.js} +2 -2
- package/dist/{prepare-provider-runtime-CRKT1qfE.js.map → prepare-provider-runtime-CpG_NTZF.js.map} +1 -1
- package/dist/{prepare-session-executor-HgLhIpBN.js → prepare-session-executor-ByEiJyxT.js} +14 -14
- package/dist/{prepare-session-executor-HgLhIpBN.js.map → prepare-session-executor-ByEiJyxT.js.map} +1 -1
- package/dist/{runtime-DMlmaA44.js → runtime-DMHRemwP.js} +39 -58
- package/dist/runtime-DMHRemwP.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-BYU0eXKb.js → runtime-agent-controller-reporting-submission-D51t3Q8e.js} +3 -3
- package/dist/{runtime-agent-controller-reporting-submission-BYU0eXKb.js.map → runtime-agent-controller-reporting-submission-D51t3Q8e.js.map} +1 -1
- package/dist/{service-BLA4eCyA.js → service-BhwxCPsM.js} +10 -10
- package/dist/{service-BLA4eCyA.js.map → service-BhwxCPsM.js.map} +1 -1
- package/dist/{service-account-control-xIDWMYp7.js → service-account-control-D_hTHF4w.js} +5 -5
- package/dist/{service-account-control-xIDWMYp7.js.map → service-account-control-D_hTHF4w.js.map} +1 -1
- package/dist/{service-control-capabilities-C4rpfc9B.js → service-control-capabilities-CfKNg0x2.js} +1 -1
- package/dist/{service-control-capabilities-9SQY-44h.js → service-control-capabilities-VYS3-qJC.js} +3 -3
- package/dist/{service-control-capabilities-9SQY-44h.js.map → service-control-capabilities-VYS3-qJC.js.map} +1 -1
- package/dist/{state-BNcCVukg.js → state-Bef17OTn.js} +2 -2
- package/dist/{state-BNcCVukg.js.map → state-Bef17OTn.js.map} +1 -1
- package/dist/{updates-api-CTf05SZn.js → updates-api-Cot1YmlU.js} +47 -17
- package/dist/updates-api-Cot1YmlU.js.map +1 -0
- package/dist/{upgrade-B17yGEBC.js → upgrade-9xk3iYag.js} +7 -7
- package/dist/{upgrade-B17yGEBC.js.map → upgrade-9xk3iYag.js.map} +1 -1
- package/dist/upgrade-CGcMw4vC.js +4 -0
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +12 -12
- package/dist/runtime-DMlmaA44.js.map +0 -1
- package/dist/updates-api-CTf05SZn.js.map +0 -1
- package/dist/upgrade-BoX1y1zH.js +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $ as canManageRegistryAgentSkillTargets, $t as mergeOpenClawGatewayVisibility, Bn as resolveConversationExecutionStateByLookupKey, Bt as createMutableRouteCatalogState, E as resolveProfileWorkspaceRuntime, Fn as buildTaskResultEnvelope, Gt as syncRuntimeEventToInflightTaskControlRegistry, Hn as settleInflightTask, In as appendLedgerHistoryEntry, Kn as assertLegacyAgentContextAssociation, Kt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, L as manageAgentRegistrationInstallation, Ln as commitResolvedAgentContext, Mn as DaemonServiceRunError, Nn as runRuntimeTask, Pn as buildRuntimeWorkspaceFingerprint, Qt as createPendingAgentInteractionRegistry, Rn as loadLedgerState, Sn as forkCodexAppServerThread, Tn as verifyCodexAppServerThread, U as setAgentRegistrationEnabled, Un as upsertConversationExecutionState, Vn as seedLegacyAgentContext, Vt as createRouteCatalogFromMutableState, Wn as withLedgerStateTransaction, Wt as normalizeDispatchThreadAction, Yt as createSerialAgentInteractionCallback, Zt as normalizeDispatchPostMessageAction, _ as loadDaemonRouteCatalog, a as buildOpenClawSpaceSessionKey, an as resolveDispatchContinuityObservation, ar as TASK_KNOWLEDGE_GUIDANCE, b as resolveLocalController, bn as resolveCodexTimeoutMs, cn as resolveLatestScopedConversationExecutionState, dn as createLocalAdapterEntries, en as createLocalTaskInterruptSender, ft as listProjectBindings, g as writeDaemonRouteCatalogCache, h as readDaemonRouteCatalogCache, hn as resolveInstalledOpenCodeLaunchCandidates, in as resolveDispatchQueueLogMeta, ir as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, mn as forkOpenCodeServerSession, nn as createLocalExecutionSlots, nr as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV, o as normalizeOpenClawSpaceIdPrefix, on as resolveCompatibleAgentContextMatch, qn as buildAgentContextLookupKey, qt as SPACE_ACTION_TARGET_GUIDANCE_LINES, rn as createInflightTaskControlRegistry, rt as resolveBuiltinAgentControllerDefinition, s as slugifyOpenClawNamePart, sn as resolveCompatibleConversationExecutionState, t as prepareProviderRuntime, tt as resolveSkillsAgentRegistry, un as createLocalAdapterContainer, v as buildRuntimeRouteTargets, w as resolveCurrentEffectiveProfileWorkingFolderRuntime, wn as resolveCodexAppServerCompletedTurn, wr as renderTaskKnowledgeIndex, x as resolveLocalRuntimeControllerSupport, xn as resolveInstalledCodexLaunchCandidates, y as readLocalEnabledControllers, z as reconcileNewRunnableBuiltinAgentRegistrations, zn as removeConversationExecutionState } from "./prepare-provider-runtime-
|
|
3
|
+
import { $ as canManageRegistryAgentSkillTargets, $t as mergeOpenClawGatewayVisibility, Bn as resolveConversationExecutionStateByLookupKey, Bt as createMutableRouteCatalogState, E as resolveProfileWorkspaceRuntime, Fn as buildTaskResultEnvelope, Gt as syncRuntimeEventToInflightTaskControlRegistry, Hn as settleInflightTask, In as appendLedgerHistoryEntry, Kn as assertLegacyAgentContextAssociation, Kt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, L as manageAgentRegistrationInstallation, Ln as commitResolvedAgentContext, Mn as DaemonServiceRunError, Nn as runRuntimeTask, Pn as buildRuntimeWorkspaceFingerprint, Qt as createPendingAgentInteractionRegistry, Rn as loadLedgerState, Sn as forkCodexAppServerThread, Tn as verifyCodexAppServerThread, U as setAgentRegistrationEnabled, Un as upsertConversationExecutionState, Vn as seedLegacyAgentContext, Vt as createRouteCatalogFromMutableState, Wn as withLedgerStateTransaction, Wt as normalizeDispatchThreadAction, Yt as createSerialAgentInteractionCallback, Zt as normalizeDispatchPostMessageAction, _ as loadDaemonRouteCatalog, a as buildOpenClawSpaceSessionKey, an as resolveDispatchContinuityObservation, ar as TASK_KNOWLEDGE_GUIDANCE, b as resolveLocalController, bn as resolveCodexTimeoutMs, cn as resolveLatestScopedConversationExecutionState, dn as createLocalAdapterEntries, en as createLocalTaskInterruptSender, ft as listProjectBindings, g as writeDaemonRouteCatalogCache, h as readDaemonRouteCatalogCache, hn as resolveInstalledOpenCodeLaunchCandidates, in as resolveDispatchQueueLogMeta, ir as DEFAULT_TASK_LIFECYCLE_HEARTBEAT_INTERVAL_MS, kt as resolveRegistryRuntimeAdapterContractByAgentControllerRef, mn as forkOpenCodeServerSession, nn as createLocalExecutionSlots, nr as DISPATCH_SPACE_ACTION_DELIVERY_ONLY_ENV, o as normalizeOpenClawSpaceIdPrefix, on as resolveCompatibleAgentContextMatch, qn as buildAgentContextLookupKey, qt as SPACE_ACTION_TARGET_GUIDANCE_LINES, rn as createInflightTaskControlRegistry, rt as resolveBuiltinAgentControllerDefinition, s as slugifyOpenClawNamePart, sn as resolveCompatibleConversationExecutionState, t as prepareProviderRuntime, tt as resolveSkillsAgentRegistry, un as createLocalAdapterContainer, v as buildRuntimeRouteTargets, w as resolveCurrentEffectiveProfileWorkingFolderRuntime, wn as resolveCodexAppServerCompletedTurn, wr as renderTaskKnowledgeIndex, x as resolveLocalRuntimeControllerSupport, xn as resolveInstalledCodexLaunchCandidates, y as readLocalEnabledControllers, z as reconcileNewRunnableBuiltinAgentRegistrations, zn as removeConversationExecutionState } from "./prepare-provider-runtime-CpG_NTZF.js";
|
|
4
4
|
import { F as resolveOpenMeldRootDir } from "./paths-De9xdA2h.js";
|
|
5
5
|
import { At as buildSpaceAttachmentDownloadPath, Nr as SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS, Yi as COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE, mn as createSpaceApi, na as toCompatibleSpaceAddressingRequestWireValue, rn as createOrganizationSkillsApi } from "./dist-BE0dKSoc.js";
|
|
6
6
|
import { B as runtimeTransportResumeControllerConversationResultFramePayloadSchema, D as runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, E as runtimeTransportLocalAgentControlCancelFramePayloadSchema, Ir as agentInteractionRequestSchema, Jr as runtimeCoordinatorExecutionTokenEnvelopeSchema, O as runtimeTransportLocalAgentControlInterruptFramePayloadSchema, Pr as AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, S as runtimeTransportForkAgentSessionResultSchema, U as runtimeTransportSubmitTaskResultRequestSchema, Yr as runtimeTransportDeliveryExecutionIdentitySchema, Z as openMeldDaemonTaskResultPayloadSchema, _ as runtimeTransportDispatchProgressRequestSchema, b as runtimeTransportDispatchToolActivityRequestSchema, cn as spaceWorkSelectionSchema, d as runtimeTransportDispatchInteractionRequestSchema, f as runtimeTransportDispatchInteractionResponseFramePayloadSchema, g as runtimeTransportDispatchPreviewRequestSchema, h as runtimeTransportDispatchPreviewEndRequestSchema, j as runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, k as runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, l as runtimeTransportDeliverDispatchRequestSchema, li as localAgentReasoningPreferencesSchema, m as runtimeTransportDispatchLifecycleRequestSchema, p as runtimeTransportDispatchLifecycleAcknowledgementSchema, si as LOCAL_AGENT_REASONING_MAX_CHARS, u as runtimeTransportDispatchInteractionDeliveredRequestSchema, v as runtimeTransportDispatchReasoningRequestSchema, y as runtimeTransportDispatchRuntimeEvidenceRequestSchema, z as runtimeTransportResumeControllerConversationFramePayloadSchema } from "./runtime-transport-BPK70mkB.js";
|
|
@@ -9,16 +9,16 @@ import { b as normalizeKnownBuiltinAgentControllerId, d as resolveBuiltinAgentCo
|
|
|
9
9
|
import { d as getAuthSessionState } from "./auth-session-Injt39gv.js";
|
|
10
10
|
import { S as CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS, _ as toErrorMessage$2, n as ensureDaemonRuntimePaths, s as emitRunLine, t as buildLedgerPaths, u as normalizeOptionalText$3, v as warnDaemonEvent, wt as agentExecutionSteerResponseSchema } from "./daemon-device-id-CAKHWLK9.js";
|
|
11
11
|
import { a as serviceExecutionHostCatalogSchema, i as SERVICE_EXECUTION_HOST_PROTOCOL, t as ExecutionHostError } from "./channel-CxgYezuw.js";
|
|
12
|
-
import { f as withSkillsInstallLock, h as OFFICIAL_CLI_SKILL_URL, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-
|
|
13
|
-
import { $ as readComputerFileAccessPolicy, Bt as buildSpaceRoundSignalPublication, S as resolveOpenCodeDatabasePath, Wt as createDispatchContinuationSpaceAccessContext, X as emitDaemonDispatchJournalEvent, Xt as getSpaceAccessPassword, Zt as getSpaceAccessRequestContext, at as buildDispatchPromptPlan, b as readOpenCodeSessionRows, c as createDispatchSpaceActionContext, ct as resolveBootstrapSpaceOwnerProfileId, d as readDispatchSpaceActionRecord, en as isWakeClosingSystemNoticeType, et as resolveComputerFileAccessStorePath, f as supersedeDispatchSpaceActionRecordForReconsideration, fn as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, g as sendDaemonFrame$1, h as parseDaemonFrame, it as buildDispatchCorrelation, l as readDispatchSpaceActionContextForReceiptFromEnv, lt as resolveBootstrapTargetProfileContext, nt as isSameOrDescendantPath, ot as buildDispatchSessionTitle, r as buildDispatchOwnedRuntimeEnv, rt as buildDispatchBootstrapTemplateFacts, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, st as parseDispatchTask, tn as listSpaceMemberDirectorySendTargets, ut as resolveDispatchMentionSourceContext, z as consumeArmedAgentControllerInterfaceReprobe } from "./dispatch-owned-runtime-
|
|
14
|
-
import { m as createCliSpaceApi
|
|
15
|
-
import {
|
|
16
|
-
import { F as SPACE_COLLABORATION_CONTEXT_RULE, I as SPACE_PERSONAL_CONTRIBUTION_RULE, X as resolvePublicAgentFailureReason, Z as resolveSpacePublicationRequirement } from "./dual-view-guide-catalog-
|
|
12
|
+
import { f as withSkillsInstallLock, h as OFFICIAL_CLI_SKILL_URL, r as ensureLocalSkills, t as resolveSkillInstallStateForTarget } from "./state-Bef17OTn.js";
|
|
13
|
+
import { $ as readComputerFileAccessPolicy, Bt as buildSpaceRoundSignalPublication, S as resolveOpenCodeDatabasePath, Wt as createDispatchContinuationSpaceAccessContext, X as emitDaemonDispatchJournalEvent, Xt as getSpaceAccessPassword, Zt as getSpaceAccessRequestContext, at as buildDispatchPromptPlan, b as readOpenCodeSessionRows, c as createDispatchSpaceActionContext, ct as resolveBootstrapSpaceOwnerProfileId, d as readDispatchSpaceActionRecord, en as isWakeClosingSystemNoticeType, et as resolveComputerFileAccessStorePath, f as supersedeDispatchSpaceActionRecordForReconsideration, fn as DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND, g as sendDaemonFrame$1, h as parseDaemonFrame, it as buildDispatchCorrelation, l as readDispatchSpaceActionContextForReceiptFromEnv, lt as resolveBootstrapTargetProfileContext, nt as isSameOrDescendantPath, ot as buildDispatchSessionTitle, r as buildDispatchOwnedRuntimeEnv, rt as buildDispatchBootstrapTemplateFacts, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, st as parseDispatchTask, tn as listSpaceMemberDirectorySendTargets, ut as resolveDispatchMentionSourceContext, z as consumeArmedAgentControllerInterfaceReprobe } from "./dispatch-owned-runtime-B6HXvHVa.js";
|
|
14
|
+
import { m as createCliSpaceApi } from "./meta-api-BBfF-3ln.js";
|
|
15
|
+
import { B as installAgentActivityIntegrations, C as recordRuntimeReportingNotApplicable, E as startLocalAgentActivitySyncLoop, F as registerAgentActivityRoute, O as discoverLocalAgentSessionProviders, S as recordRuntimeReportingFailure, T as createLedgerIo, _ as readExecutionContextWorkspace, a as createDispatchSpaceTools, b as startDispatchSpaceProgressRelay, g as prepareExecutionContextWorkspace, h as markExecutionContextWorkspaceInUse, i as materializeOrganizationSkillRelease, k as recordOpenMeldCreatedLocalAgentSession, n as createSpaceWorkingCopies, r as downloadWorkingCopyFile, s as readTaskKnowledge, t as fetchSpaceUpdates, v as releaseExecutionContextWorkspace, w as recordRuntimeReportingSuccess, y as prepareClaudeProjectContainer, z as defaultManagedIntegrationPaths } from "./updates-api-Cot1YmlU.js";
|
|
16
|
+
import { F as SPACE_COLLABORATION_CONTEXT_RULE, I as SPACE_PERSONAL_CONTRIBUTION_RULE, X as resolvePublicAgentFailureReason, Z as resolveSpacePublicationRequirement } from "./dual-view-guide-catalog-Cf9dxh8-.js";
|
|
17
17
|
import { a as resolveBaseUrl, f as getConfiguredDaemonDispatchLimits, g as getConfiguredSkillsConfig } from "./base-url-0AoeTi3w.js";
|
|
18
|
-
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-
|
|
18
|
+
import { t as emitDaemonLifecycleEvent } from "./daemon-lifecycle-journal-eiHCp4B7.js";
|
|
19
19
|
import { a as buildOpenMeldProfileIdentityRequestHeadersWithAuth, f as buildOpenMeldRequestContextFromProfileIdentity, n as fetchSpaceRequestWithTimeout, t as createCliApiClientFoundation } from "./api-client-foundation-Dbc5MXyW.js";
|
|
20
|
-
import { a as submitRuntimeProviderConversationProofs, f as recordRuntimeProviderUsageLimits, i as submitRuntimeAgentControllerReports, l as resolveLocalAgentControllerReportDecision, o as collectLocalAgentControllerInventory, t as notifyRuntimeReportingAttemptObserver, u as probeAgentControllerUsageObservationAuth } from "./runtime-agent-controller-reporting-submission-
|
|
21
|
-
import { t as installSkillsToTargets } from "./installer-
|
|
20
|
+
import { a as submitRuntimeProviderConversationProofs, f as recordRuntimeProviderUsageLimits, i as submitRuntimeAgentControllerReports, l as resolveLocalAgentControllerReportDecision, o as collectLocalAgentControllerInventory, t as notifyRuntimeReportingAttemptObserver, u as probeAgentControllerUsageObservationAuth } from "./runtime-agent-controller-reporting-submission-D51t3Q8e.js";
|
|
21
|
+
import { t as installSkillsToTargets } from "./installer-9RCKL6Dh.js";
|
|
22
22
|
import { createHash, randomUUID } from "node:crypto";
|
|
23
23
|
import { homedir } from "node:os";
|
|
24
24
|
import { basename, dirname, extname, join } from "node:path";
|
|
@@ -6377,17 +6377,7 @@ async function loadDispatchLedgerContext(input) {
|
|
|
6377
6377
|
};
|
|
6378
6378
|
}
|
|
6379
6379
|
async function resolveDispatchBootstrapContext(input) {
|
|
6380
|
-
const
|
|
6381
|
-
spaceId: input.parsedTask.spaceId,
|
|
6382
|
-
targetProfileId: input.parsedTask.targetProfileId
|
|
6383
|
-
};
|
|
6384
|
-
const [taskDocuments, organizationSkillReleases] = await Promise.all([readTaskDocuments(knowledgeScope).then((result) => "documents" in result ? result.documents : null).catch(() => null), input.parsedTask.workHandoff ? Promise.resolve(input.parsedTask.workHandoff.skills) : readTaskSkillSelections(knowledgeScope).catch(() => null)]);
|
|
6385
|
-
const taskKnowledgeIndex = renderTaskKnowledgeIndex({
|
|
6386
|
-
documents: taskDocuments,
|
|
6387
|
-
skills: organizationSkillReleases,
|
|
6388
|
-
readHint: "Use read_documents without documentId for the full directory, or with documentId for the current approved body. Use read_skills without name for all selected Skills, including omitted entries, or with name for the pinned instructions and resources. Handoff Skills use the existing task materializer. Never replace a selected release with latest or install knowledge into global Skills or repository AGENTS.md."
|
|
6389
|
-
});
|
|
6390
|
-
const [spaceOwnerProfileId, targetProfileContext, mentionSourceContext, spaceMetaContext] = await Promise.all([
|
|
6380
|
+
const [spaceOwnerProfileId, targetProfileContext, mentionSourceContext, knowledge] = await Promise.all([
|
|
6391
6381
|
resolveBootstrapSpaceOwnerProfileId({
|
|
6392
6382
|
spaceId: input.parsedTask.spaceId,
|
|
6393
6383
|
targetProfileId: input.parsedTask.targetProfileId
|
|
@@ -6403,19 +6393,40 @@ async function resolveDispatchBootstrapContext(input) {
|
|
|
6403
6393
|
mentionSourceProfileId: input.parsedTask.mentionSourceProfileId,
|
|
6404
6394
|
preferredMentionLabel: input.parsedTask.mentionSourceProfileMentionLabel
|
|
6405
6395
|
}),
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6396
|
+
readTaskKnowledge({
|
|
6397
|
+
spaceId: input.parsedTask.spaceId,
|
|
6398
|
+
targetProfileId: input.parsedTask.targetProfileId,
|
|
6399
|
+
...input.parsedTask.spacePassword ? { spacePassword: input.parsedTask.spacePassword } : {},
|
|
6400
|
+
...input.parsedTask.workHandoff ? { skillSelections: input.parsedTask.workHandoff.skills } : {},
|
|
6401
|
+
onRead: (read) => input.onPhase?.("bootstrap_read_completed", read)
|
|
6402
|
+
}).then((result) => ({
|
|
6403
|
+
...result,
|
|
6404
|
+
errorMessage: null
|
|
6405
|
+
})).catch((error) => ({
|
|
6406
|
+
documents: null,
|
|
6407
|
+
skills: input.parsedTask.workHandoff?.skills ?? null,
|
|
6408
|
+
spaceMeta: null,
|
|
6409
|
+
errorMessage: toErrorMessage$2(error)
|
|
6410
|
+
}))
|
|
6411
6411
|
]);
|
|
6412
|
+
const organizationSkillReleases = knowledge.skills;
|
|
6413
|
+
const taskKnowledgeIndex = renderTaskKnowledgeIndex({
|
|
6414
|
+
documents: knowledge.documents,
|
|
6415
|
+
skills: organizationSkillReleases,
|
|
6416
|
+
readHint: "Use read_documents without documentId for the full directory, or with documentId for the current approved body. Use read_skills without name for all selected Skills, including omitted entries, or with name for the pinned instructions and resources. Handoff Skills use the existing task materializer. Never replace a selected release with latest or install knowledge into global Skills or repository AGENTS.md."
|
|
6417
|
+
});
|
|
6418
|
+
const spaceMetaContext = {
|
|
6419
|
+
spaceGuide: normalizeOptionalText$3(knowledge.spaceMeta?.guide),
|
|
6420
|
+
spaceName: normalizeOptionalText$3(knowledge.spaceMeta?.name),
|
|
6421
|
+
spacePurpose: normalizeOptionalText$3(knowledge.spaceMeta?.purpose)
|
|
6422
|
+
};
|
|
6412
6423
|
input.onPhase?.("bootstrap_context_ready", {
|
|
6413
6424
|
mentionSourceMentionLabelPresent: mentionSourceContext.mentionSourceMentionLabel !== null,
|
|
6414
6425
|
mentionSourceProfileNamePresent: mentionSourceContext.mentionSourceProfileName !== null,
|
|
6415
6426
|
source: "dispatch_bootstrap_context",
|
|
6416
6427
|
spaceGuidePresent: spaceMetaContext.spaceGuide !== null,
|
|
6417
|
-
spaceMetaError:
|
|
6418
|
-
spaceMetaStatus:
|
|
6428
|
+
spaceMetaError: knowledge.errorMessage,
|
|
6429
|
+
spaceMetaStatus: knowledge.spaceMeta ? "loaded" : "failed",
|
|
6419
6430
|
spaceNamePresent: spaceMetaContext.spaceName !== null,
|
|
6420
6431
|
spaceOwnerProfilePresent: spaceOwnerProfileId !== null,
|
|
6421
6432
|
spacePurposePresent: spaceMetaContext.spacePurpose !== null,
|
|
@@ -6469,36 +6480,6 @@ async function resolveDispatchBootstrapContext(input) {
|
|
|
6469
6480
|
targetProfileRole: targetProfileContext.targetProfileRole
|
|
6470
6481
|
};
|
|
6471
6482
|
}
|
|
6472
|
-
async function resolveDispatchSpaceMetaContext(input) {
|
|
6473
|
-
try {
|
|
6474
|
-
const meta = await fetchSpaceMeta({
|
|
6475
|
-
baseUrl: await resolveBaseUrl(),
|
|
6476
|
-
requestContext: buildOpenMeldRequestContextFromProfileIdentity({ profileIdentity: {
|
|
6477
|
-
openMeldProfileId: input.parsedTask.targetProfileId,
|
|
6478
|
-
profileKind: "agent",
|
|
6479
|
-
ownerUserId: input.profileOwnerUserId,
|
|
6480
|
-
...input.profileOwnerName ? { ownerName: input.profileOwnerName } : {},
|
|
6481
|
-
profileName: input.parsedTask.targetProfileName ?? input.parsedTask.targetProfileMentionLabel ?? input.parsedTask.targetProfileId
|
|
6482
|
-
} }),
|
|
6483
|
-
space: input.parsedTask.spaceId,
|
|
6484
|
-
...input.parsedTask.spacePassword ? { password: input.parsedTask.spacePassword } : {}
|
|
6485
|
-
});
|
|
6486
|
-
return {
|
|
6487
|
-
status: "loaded",
|
|
6488
|
-
spaceGuide: normalizeOptionalText$3(meta.guide),
|
|
6489
|
-
spaceName: normalizeOptionalText$3(meta.name),
|
|
6490
|
-
spacePurpose: normalizeOptionalText$3(meta.purpose)
|
|
6491
|
-
};
|
|
6492
|
-
} catch (error) {
|
|
6493
|
-
return {
|
|
6494
|
-
status: "failed",
|
|
6495
|
-
errorMessage: toErrorMessage$2(error),
|
|
6496
|
-
spaceGuide: null,
|
|
6497
|
-
spaceName: null,
|
|
6498
|
-
spacePurpose: null
|
|
6499
|
-
};
|
|
6500
|
-
}
|
|
6501
|
-
}
|
|
6502
6483
|
function buildDispatchRuntimePrompt(input) {
|
|
6503
6484
|
return buildDispatchPromptPlan({
|
|
6504
6485
|
executionContextAccess: input.parsedTask.executionContext?.access,
|
|
@@ -9377,4 +9358,4 @@ function createExecutionHostRuntime(input) {
|
|
|
9377
9358
|
//#endregion
|
|
9378
9359
|
export { createExecutionHostResources, createExecutionHostRuntime };
|
|
9379
9360
|
|
|
9380
|
-
//# sourceMappingURL=runtime-
|
|
9361
|
+
//# sourceMappingURL=runtime-DMHRemwP.js.map
|