openmeld 0.3.238 → 0.3.239
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-_7nC0hkr.js → add-me-membership-CoM_mJ-b.js} +2 -2
- package/dist/{add-me-membership-_7nC0hkr.js.map → add-me-membership-CoM_mJ-b.js.map} +1 -1
- package/dist/{agents-kG9UvazC.js → agents-BrHNPIza.js} +15 -12
- package/dist/agents-BrHNPIza.js.map +1 -0
- package/dist/{api-client-foundation-DNbvvZW2.js → api-client-foundation-D5pIprkz.js} +2 -2
- package/dist/{api-client-foundation-DNbvvZW2.js.map → api-client-foundation-D5pIprkz.js.map} +1 -1
- package/dist/{api-client-foundation-DIcNjG9w.js → api-client-foundation-DHkGzzGG.js} +1 -1
- package/dist/{command-Cyw5Gj59.js → command-DfIyDuvl.js} +12 -12
- package/dist/{command-Cyw5Gj59.js.map → command-DfIyDuvl.js.map} +1 -1
- package/dist/{computer-connection-review-DWiapsro.js → computer-connection-review-Ka_oNySD.js} +2 -2
- package/dist/{computer-connection-review-DWiapsro.js.map → computer-connection-review-Ka_oNySD.js.map} +1 -1
- package/dist/{computer-disconnect-Bxxreumk.js → computer-disconnect-pvBUMehS.js} +3 -3
- package/dist/{computer-disconnect-Bxxreumk.js.map → computer-disconnect-pvBUMehS.js.map} +1 -1
- package/dist/{computer-setup-continuation-DkPRFlA1.js → computer-setup-continuation-Cowbbx8k.js} +2 -2
- package/dist/{computer-setup-continuation-DkPRFlA1.js.map → computer-setup-continuation-Cowbbx8k.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-C0P8xFTk.js → daemon-lifecycle-journal-0gXU-eU8.js} +2 -2
- package/dist/{daemon-lifecycle-journal-C0P8xFTk.js.map → daemon-lifecycle-journal-0gXU-eU8.js.map} +1 -1
- package/dist/{daemon-service-runtime-DhV7AKAv.js → daemon-service-runtime-CTo2oiT_.js} +2 -2
- package/dist/{daemon-service-runtime-DhV7AKAv.js.map → daemon-service-runtime-CTo2oiT_.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-BM4ha5Nj.js → daemon-service-update-coordinator-CfXSbQH7.js} +6 -6
- package/dist/{daemon-service-update-coordinator-BM4ha5Nj.js.map → daemon-service-update-coordinator-CfXSbQH7.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-CfPwparq.js → dispatch-owned-runtime-CPD9gM2K.js} +6 -4
- package/dist/{dispatch-owned-runtime-CfPwparq.js.map → dispatch-owned-runtime-CPD9gM2K.js.map} +1 -1
- package/dist/{dist-Bfz_GJ0l.js → dist-JmQvl3T6.js} +1 -1
- package/dist/{dist-s_YTHAIc.js → dist-sH8NpjIN.js} +4 -4
- package/dist/dist-sH8NpjIN.js.map +1 -0
- package/dist/{dual-view-guide-catalog-DDYa38RT.js → dual-view-guide-catalog-Qk4ZQfam.js} +2 -2
- package/dist/{dual-view-guide-catalog-DDYa38RT.js.map → dual-view-guide-catalog-Qk4ZQfam.js.map} +1 -1
- package/dist/{elapsed-time-Ck4GiT9P.js → elapsed-time-Df6d3nkk.js} +3 -3
- package/dist/{elapsed-time-Ck4GiT9P.js.map → elapsed-time-Df6d3nkk.js.map} +1 -1
- package/dist/{entry-CTw122mn.js → entry-B6WlnCha.js} +2 -2
- package/dist/{entry-CTw122mn.js.map → entry-B6WlnCha.js.map} +1 -1
- package/dist/{installation-inventory-CSNq9dzc.js → installation-inventory-_duIUWss.js} +3 -3
- package/dist/{installation-inventory-CSNq9dzc.js.map → installation-inventory-_duIUWss.js.map} +1 -1
- package/dist/{installer-B4MjFlzg.js → installer-CJdJQco3.js} +2 -2
- package/dist/{installer-B4MjFlzg.js.map → installer-CJdJQco3.js.map} +1 -1
- package/dist/{meta-api-tg1rD8mP.js → meta-api-XVAyoWIw.js} +4 -4
- package/dist/{meta-api-tg1rD8mP.js.map → meta-api-XVAyoWIw.js.map} +1 -1
- package/dist/{openmeld-MSrVnYw0.js → openmeld-aOpLpGnq.js} +25 -25
- package/dist/{openmeld-MSrVnYw0.js.map → openmeld-aOpLpGnq.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-CQGwuIl9.js → openmeld-maintenance-worker-BmCadk9-.js} +9 -9
- package/dist/{openmeld-maintenance-worker-CQGwuIl9.js.map → openmeld-maintenance-worker-BmCadk9-.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-CzBRWKVT.js → openmeld-tools-update-join-9pbGIjqE.js} +4 -4
- package/dist/{openmeld-tools-update-join-CzBRWKVT.js.map → openmeld-tools-update-join-9pbGIjqE.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-L7u8iHAb.js → prepare-provider-runtime-BnwBAQkH.js} +38 -7
- package/dist/prepare-provider-runtime-BnwBAQkH.js.map +1 -0
- package/dist/{prepare-session-executor-D8LvC1d8.js → prepare-session-executor-CAz4foMJ.js} +16 -16
- package/dist/{prepare-session-executor-D8LvC1d8.js.map → prepare-session-executor-CAz4foMJ.js.map} +1 -1
- package/dist/{runtime-C2v7iKNY.js → runtime-Ctey_DIE.js} +27 -14
- package/dist/runtime-Ctey_DIE.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-BFXtOHAU.js → runtime-agent-controller-reporting-submission-adIxUk6V.js} +5 -5
- package/dist/{runtime-agent-controller-reporting-submission-BFXtOHAU.js.map → runtime-agent-controller-reporting-submission-adIxUk6V.js.map} +1 -1
- package/dist/{service-6waBVmON.js → service-W-CdoiQ4.js} +12 -12
- package/dist/{service-6waBVmON.js.map → service-W-CdoiQ4.js.map} +1 -1
- package/dist/{service-account-control-BBY6pX86.js → service-account-control-CRIDZfll.js} +5 -5
- package/dist/{service-account-control-BBY6pX86.js.map → service-account-control-CRIDZfll.js.map} +1 -1
- package/dist/{service-control-capabilities-BP9UE3a7.js → service-control-capabilities-DUaoTDfB.js} +3 -3
- package/dist/{service-control-capabilities-BP9UE3a7.js.map → service-control-capabilities-DUaoTDfB.js.map} +1 -1
- package/dist/{service-control-capabilities-CQjhvDFx.js → service-control-capabilities-SarCxWmg.js} +1 -1
- package/dist/{state-BJJLEoJY.js → state-BCso_DsL.js} +2 -2
- package/dist/{state-BJJLEoJY.js.map → state-BCso_DsL.js.map} +1 -1
- package/dist/{updates-api-dsNUTfpa.js → updates-api-BEVyS67y.js} +122 -9
- package/dist/updates-api-BEVyS67y.js.map +1 -0
- package/dist/upgrade-CbKLfGQ1.js +4 -0
- package/dist/{upgrade-DwlRN4_U.js → upgrade-DZKZ3xLM.js} +7 -7
- package/dist/{upgrade-DwlRN4_U.js.map → upgrade-DZKZ3xLM.js.map} +1 -1
- package/dist/windows/openmeld-windows-process.exe +0 -0
- package/package.json +12 -12
- package/dist/agents-kG9UvazC.js.map +0 -1
- package/dist/dist-s_YTHAIc.js.map +0 -1
- package/dist/prepare-provider-runtime-L7u8iHAb.js.map +0 -1
- package/dist/runtime-C2v7iKNY.js.map +0 -1
- package/dist/updates-api-dsNUTfpa.js.map +0 -1
- package/dist/upgrade-CUyMj35o.js +0 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $n as resolveExecutablePathsOnPath, On as resolveInstalledClaudeCodeLaunchCandidates, Tt as withAgentActivityLocalStateLock, Xn as resolveDispatchSpaceActionMcpServer, Zn as buildCliLaunchInvocation, er as listAgentControllerSupervisedProcessIds, ft as listProjectBindings, hn as resolveInstalledOpenCodeLaunchCandidates, ht as removeAgentActivityBindingsWhileDeliveryLocked, rr as isDispatchSpaceActionDeliveryOnly, vn as resolveInstalledGrokBuildLaunchCandidates, vt as resolveProjectBindingForPath, wt as withAgentActivityDeliveryLock, xn as resolveInstalledCodexLaunchCandidates } from "./prepare-provider-runtime-
|
|
3
|
+
import { $n as resolveExecutablePathsOnPath, On as resolveInstalledClaudeCodeLaunchCandidates, Tt as withAgentActivityLocalStateLock, Xn as resolveDispatchSpaceActionMcpServer, Zn as buildCliLaunchInvocation, er as listAgentControllerSupervisedProcessIds, ft as listProjectBindings, hn as resolveInstalledOpenCodeLaunchCandidates, ht as removeAgentActivityBindingsWhileDeliveryLocked, rr as isDispatchSpaceActionDeliveryOnly, vn as resolveInstalledGrokBuildLaunchCandidates, vt as resolveProjectBindingForPath, wt as withAgentActivityDeliveryLock, xn as resolveInstalledCodexLaunchCandidates } from "./prepare-provider-runtime-BnwBAQkH.js";
|
|
4
4
|
import { g as toSpaceUpdatesUrl } from "./urls-CY2uzH2-.js";
|
|
5
5
|
import { F as resolveOpenMeldRootDir, k as organizationSkillReleaseDir, t as OPENMELD_HOME_ENV_KEY } from "./paths-De9xdA2h.js";
|
|
6
|
-
import { Cr as mutateSpaceTaskBodySchema,
|
|
6
|
+
import { Cr as mutateSpaceTaskBodySchema, Kt as createDirectMessageApi, Li as signalTextEnvelopeSchema, Lt as createAgentActivityApi, Sr as createSpaceTaskBodySchema, Tr as spaceTaskMutationReceiptSchema, Wr as organizationSkillBundleSchema, Xr as stringifyOrganizationSkillBundleCanonicalJson, fn as createRuntimeReportingApi, gi as observedLocalAgentSessionSchema, ir as OPENMELD_HEADER_SPACE_ADDRESSING_VERSION, lr as openDirectMessageSpaceBodySchema, nn as createOrganizationDocumentsApi, oi as submitAgentControllerTaskLifecycleEventItemSchema, rn as createOrganizationSkillsApi, sr as getSpaceUpdatesResponseSchema, t as OpenMeldApiClientHttpError, wr as spaceTaskIdSchema } from "./dist-sH8NpjIN.js";
|
|
7
7
|
import { Cr as executionContextTaskSchema, In as spaceFileRevisionNumberSchema, Mn as spaceFileEntryIdSchema, an as SPACE_WORK_MAX_BYTES, bn as readSpaceFileTextResponseSchema, cn as spaceWorkSelectionSchema, ln as spaceWorkingCopyResultSchema, sn as spaceWorkRelativePathSchema, xr as executionContextAssignmentSchema, zn as spaceMessageFileReferenceSchema } from "./runtime-transport-BVCHi4qM.js";
|
|
8
8
|
import { O as openMeldRuntimeProfileIdSchema } from "./control-plane-QqGL-jtT.js";
|
|
9
9
|
import { d as getAuthSessionState } from "./auth-session-BTRu2Kc5.js";
|
|
10
10
|
import { B as resolveRuntimeContext, U as requireOpenMeldProfile, o as dirnamePath } from "./daemon-device-id-D7lbw6c4.js";
|
|
11
|
-
import { A as AgentActivitySubmissionResultsMismatchError, At as buildPublicSpaceEntryPath, D as drainAgentActivityHookInbox, F as removeProjectOutbox, I as readRecentAgentActivityHookStatus, L as createServiceGitEnvironment, M as deferAgentActivityOutbox, N as readAgentActivityOutboxHealth, P as readDueAgentActivityOutbox, S as resolveOpenCodeDatabasePath, T as normalizeSharedSessionTitle, a as DispatchSpaceActionClosedError, b as readOpenCodeSessionRows, d as readDispatchSpaceActionRecord, i as readDispatchOwnedRuntimeGuard, j as applyAgentActivitySubmissionResults, k as removeProjectInbox, l as readDispatchSpaceActionContextForReceiptFromEnv, mn as cliJsonErrorEnvelopeSchema, o as DispatchSpaceActionRejectedError, p as writeDispatchSpaceActionRecord, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, u as readDispatchSpaceActionContextFromEnv, v as scanLocalAgentActivity, w as resolveObservedAgentActivityBinding, y as startAgentActivityTranscriptWatchers } from "./dispatch-owned-runtime-
|
|
12
|
-
import { f as prepareRequestedSpaceSendFiles, h as spaceSendRequestReceiptSchema, l as parseJsonResponse, m as createCliSpaceApi, p as uploadPreparedSpaceFiles, s as readGatewayTextResponse, u as resolveSpaceSendText } from "./meta-api-
|
|
11
|
+
import { A as AgentActivitySubmissionResultsMismatchError, At as buildPublicSpaceEntryPath, D as drainAgentActivityHookInbox, F as removeProjectOutbox, I as readRecentAgentActivityHookStatus, L as createServiceGitEnvironment, M as deferAgentActivityOutbox, N as readAgentActivityOutboxHealth, P as readDueAgentActivityOutbox, S as resolveOpenCodeDatabasePath, T as normalizeSharedSessionTitle, a as DispatchSpaceActionClosedError, b as readOpenCodeSessionRows, d as readDispatchSpaceActionRecord, i as readDispatchOwnedRuntimeGuard, j as applyAgentActivitySubmissionResults, k as removeProjectInbox, l as readDispatchSpaceActionContextForReceiptFromEnv, mn as cliJsonErrorEnvelopeSchema, o as DispatchSpaceActionRejectedError, p as writeDispatchSpaceActionRecord, s as OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV, u as readDispatchSpaceActionContextFromEnv, v as scanLocalAgentActivity, w as resolveObservedAgentActivityBinding, y as startAgentActivityTranscriptWatchers } from "./dispatch-owned-runtime-CPD9gM2K.js";
|
|
12
|
+
import { f as prepareRequestedSpaceSendFiles, h as spaceSendRequestReceiptSchema, l as parseJsonResponse, m as createCliSpaceApi, p as uploadPreparedSpaceFiles, s as readGatewayTextResponse, t as fetchSpaceMeta, u as resolveSpaceSendText } from "./meta-api-XVAyoWIw.js";
|
|
13
13
|
import { d as runWithHeldLock, s as releaseLock, t as acquireLock } from "./lock-BMI00i2F.js";
|
|
14
14
|
import { a as resolveBaseUrl } from "./base-url-0AoeTi3w.js";
|
|
15
15
|
import { n as writeDaemonLocalStateFile, t as readDaemonLocalStateFile } from "./daemon-local-state-file-jOXuXrky.js";
|
|
@@ -17,7 +17,7 @@ import { _ as daemonRuntimeStateRootPath } from "./daemon-state-Dte9re5V.js";
|
|
|
17
17
|
import { i as readDaemonServiceContract } from "./daemon-service-contract-COPKbCy_.js";
|
|
18
18
|
import { l as resolveUserFacingCliEntryCommand, n as formatOpenMeldCliCommand } from "./cli-entry-command-CR_9QU1i.js";
|
|
19
19
|
import { o as outLine, t as createPresenter } from "./presenter-BcxiQyJg.js";
|
|
20
|
-
import { d as buildOpenMeldRequestContextFromProfile, l as canAttachAuthTokenToRequest, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-
|
|
20
|
+
import { d as buildOpenMeldRequestContextFromProfile, l as canAttachAuthTokenToRequest, n as fetchSpaceRequestWithTimeout, s as buildOpenMeldRequestContextHeadersWithAuth, t as createCliApiClientFoundation } from "./api-client-foundation-D5pIprkz.js";
|
|
21
21
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
22
22
|
import { homedir } from "node:os";
|
|
23
23
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
@@ -4750,6 +4750,75 @@ async function readDispatchSpaceHistory(env = process.env) {
|
|
|
4750
4750
|
};
|
|
4751
4751
|
}
|
|
4752
4752
|
//#endregion
|
|
4753
|
+
//#region src/space/dispatch-knowledge-read.ts
|
|
4754
|
+
/** Existing member API, with the Agent identity and the Space's Organization. */
|
|
4755
|
+
async function readTaskDocuments(input) {
|
|
4756
|
+
const { foundation, requestContext } = await createTaskKnowledgeReader(input);
|
|
4757
|
+
const api = createOrganizationDocumentsApi(foundation);
|
|
4758
|
+
return input.documentId ? await api.get({
|
|
4759
|
+
requestContext,
|
|
4760
|
+
documentId: input.documentId
|
|
4761
|
+
}) : await api.list({ requestContext });
|
|
4762
|
+
}
|
|
4763
|
+
async function createTaskKnowledgeReader(input) {
|
|
4764
|
+
const profile = await requireOpenMeldProfile({
|
|
4765
|
+
openMeldProfileId: input.targetProfileId,
|
|
4766
|
+
profileKind: "agent",
|
|
4767
|
+
persistSelection: false,
|
|
4768
|
+
authAction: "reading task documents"
|
|
4769
|
+
});
|
|
4770
|
+
if (profile.openMeldProfileId !== input.targetProfileId || profile.profileKind !== "agent") throw new Error("The document reader does not match the current Agent.");
|
|
4771
|
+
const requestContext = buildOpenMeldRequestContextFromProfile({ openMeldProfile: profile });
|
|
4772
|
+
const baseUrl = await resolveBaseUrl();
|
|
4773
|
+
return {
|
|
4774
|
+
requestContext,
|
|
4775
|
+
foundation: createCliApiClientFoundation(baseUrl, { organizationId: (await fetchSpaceMeta({
|
|
4776
|
+
baseUrl,
|
|
4777
|
+
requestContext,
|
|
4778
|
+
space: input.spaceId
|
|
4779
|
+
})).organizationId })
|
|
4780
|
+
};
|
|
4781
|
+
}
|
|
4782
|
+
async function readTaskSkillSelections(input) {
|
|
4783
|
+
const { foundation, requestContext } = await createTaskKnowledgeReader(input);
|
|
4784
|
+
return (await createOrganizationSkillsApi(foundation).list({ requestContext })).skills.filter((skill) => skill.enabled).map((skill) => ({
|
|
4785
|
+
skillId: skill.id,
|
|
4786
|
+
name: skill.name,
|
|
4787
|
+
releaseId: skill.activeRelease.id,
|
|
4788
|
+
digest: skill.activeRelease.digest
|
|
4789
|
+
}));
|
|
4790
|
+
}
|
|
4791
|
+
async function readDispatchSkill(input) {
|
|
4792
|
+
const context = readDispatchSpaceActionContextFromEnv(input.env);
|
|
4793
|
+
const selections = context.organizationSkillReleases ?? [];
|
|
4794
|
+
const { foundation, requestContext } = await createTaskKnowledgeReader(context);
|
|
4795
|
+
const api = createOrganizationSkillsApi(foundation);
|
|
4796
|
+
if (!input.name) {
|
|
4797
|
+
const current = await api.list({ requestContext });
|
|
4798
|
+
const enabled = new Set(current.skills.filter((skill) => skill.enabled).map((skill) => skill.id));
|
|
4799
|
+
return { skills: selections.filter((selection) => enabled.has(selection.skillId)) };
|
|
4800
|
+
}
|
|
4801
|
+
const selected = selections.filter((skill) => skill.name === input.name);
|
|
4802
|
+
if (!selected.length) throw new Error("This Skill was not selected for the current task.");
|
|
4803
|
+
return { skills: await Promise.all(selected.map(async (selection) => {
|
|
4804
|
+
const result = await api.get({
|
|
4805
|
+
...selection,
|
|
4806
|
+
requestContext
|
|
4807
|
+
});
|
|
4808
|
+
if (!(result.skill.enabled && result.selectedRelease) || result.selectedRelease.digest !== selection.digest || result.selectedRelease.releaseId !== selection.releaseId) throw new Error("The selected Skill release is unavailable or changed.");
|
|
4809
|
+
return {
|
|
4810
|
+
...selection,
|
|
4811
|
+
bundle: result.selectedRelease.bundle
|
|
4812
|
+
};
|
|
4813
|
+
})) };
|
|
4814
|
+
}
|
|
4815
|
+
async function readDispatchDocuments(input) {
|
|
4816
|
+
return await readTaskDocuments({
|
|
4817
|
+
...readDispatchSpaceActionContextFromEnv(input.env),
|
|
4818
|
+
documentId: input.documentId
|
|
4819
|
+
});
|
|
4820
|
+
}
|
|
4821
|
+
//#endregion
|
|
4753
4822
|
//#region src/space/dispatch-read-result.ts
|
|
4754
4823
|
const PAGE_BYTES = 8 * 1024;
|
|
4755
4824
|
const SNAPSHOT_BYTES = 32 * 1024 * 1024;
|
|
@@ -4940,7 +5009,9 @@ var DispatchSpaceTools = class {
|
|
|
4940
5009
|
const pagedRead = [
|
|
4941
5010
|
"read_history",
|
|
4942
5011
|
"read_file",
|
|
4943
|
-
"list_tasks"
|
|
5012
|
+
"list_tasks",
|
|
5013
|
+
"read_documents",
|
|
5014
|
+
"read_skills"
|
|
4944
5015
|
].includes(name);
|
|
4945
5016
|
this.tools.push({
|
|
4946
5017
|
...config,
|
|
@@ -4971,7 +5042,9 @@ var DispatchSpaceTools = class {
|
|
|
4971
5042
|
const pagedRead = [
|
|
4972
5043
|
"read_history",
|
|
4973
5044
|
"read_file",
|
|
4974
|
-
"list_tasks"
|
|
5045
|
+
"list_tasks",
|
|
5046
|
+
"read_documents",
|
|
5047
|
+
"read_skills"
|
|
4975
5048
|
].includes(name);
|
|
4976
5049
|
if (pagedRead || name === "read_result") try {
|
|
4977
5050
|
readDispatchSpaceActionContextFromEnv(this.#env);
|
|
@@ -5151,6 +5224,46 @@ function createDispatchSpaceTools(input = {}) {
|
|
|
5151
5224
|
};
|
|
5152
5225
|
}
|
|
5153
5226
|
});
|
|
5227
|
+
server.registerTool("read_documents", {
|
|
5228
|
+
title: "Read approved task documents",
|
|
5229
|
+
description: "List all approved Organization documents visible to this Wake, or pass documentId to read its current approved body. Uses the current Agent and Space; never returns drafts or grants action permissions. Read relevant bodies before applying rules. This does not complete the Wake.",
|
|
5230
|
+
inputSchema: { documentId: z.string().trim().min(1).optional() },
|
|
5231
|
+
annotations: {
|
|
5232
|
+
readOnlyHint: true,
|
|
5233
|
+
destructiveHint: false,
|
|
5234
|
+
idempotentHint: true,
|
|
5235
|
+
openWorldHint: false
|
|
5236
|
+
}
|
|
5237
|
+
}, async (args) => {
|
|
5238
|
+
const result = await readDispatchDocuments({
|
|
5239
|
+
...args,
|
|
5240
|
+
env
|
|
5241
|
+
});
|
|
5242
|
+
return { content: [{
|
|
5243
|
+
type: "text",
|
|
5244
|
+
text: JSON.stringify(result)
|
|
5245
|
+
}] };
|
|
5246
|
+
});
|
|
5247
|
+
server.registerTool("read_skills", {
|
|
5248
|
+
title: "Read this task's selected Skills",
|
|
5249
|
+
description: "List the task's frozen Skill selections, or pass name to read its exact instructions and resources through current Organization permissions. Includes entries omitted from the prompt. Does not install anything or change the selected release.",
|
|
5250
|
+
inputSchema: { name: z.string().trim().min(1).optional() },
|
|
5251
|
+
annotations: {
|
|
5252
|
+
readOnlyHint: true,
|
|
5253
|
+
destructiveHint: false,
|
|
5254
|
+
idempotentHint: true,
|
|
5255
|
+
openWorldHint: false
|
|
5256
|
+
}
|
|
5257
|
+
}, async (args) => {
|
|
5258
|
+
const result = await readDispatchSkill({
|
|
5259
|
+
...args,
|
|
5260
|
+
env
|
|
5261
|
+
});
|
|
5262
|
+
return { content: [{
|
|
5263
|
+
type: "text",
|
|
5264
|
+
text: JSON.stringify(result)
|
|
5265
|
+
}] };
|
|
5266
|
+
});
|
|
5154
5267
|
if (input.reportProgress) server.registerTool("report_progress", {
|
|
5155
5268
|
title: "Share public progress in the current OpenMeld Space",
|
|
5156
5269
|
description: "Share one brief, concrete update while this Wake is still running. Use this only when you start meaningful work, confirm a useful fact, change direction, or begin verification. Do not include private reasoning, protected information, credentials, raw commands, or unverified claims. Exact retries are idempotent. This does not post a final reply, close the Wake, or resume a parent task.",
|
|
@@ -6053,6 +6166,6 @@ async function fetchSpaceUpdates(input) {
|
|
|
6053
6166
|
return parsed.data;
|
|
6054
6167
|
}
|
|
6055
6168
|
//#endregion
|
|
6056
|
-
export {
|
|
6169
|
+
export { recordOpenMeldCreatedLocalAgentSession as A, defaultManagedIntegrationPaths as B, recordRuntimeReportingFailure as C, startLocalAgentActivitySyncLoop as D, createLedgerIo as E, isAgentActivityRouteRegistered as F, readAgentActivityIntegrationStatus as H, registerAgentActivityRoute as I, resolveAgentActivityRouteForPath as L, removeAgentActivityContextCache as M, enqueueControllerTaskLifecycleEventWhileLocked as N, syncLocalAgentActivity as O, readControllerTaskLifecycleOutboxHealth as P, unregisterAgentActivityRoute as R, readRuntimeReportingHealthState as S, recordRuntimeReportingSuccess as T, resolveAgentActivityDispatcherCommand as U, installAgentActivityIntegrations as V, uninstallAgentActivityIntegrations as W, prepareExecutionContextWorkspace as _, createDispatchSpaceTools as a, prepareClaudeProjectContainer as b, readTaskSkillSelections as c, runSpaceActionReply as d, runSpaceActionSilent as f, markExecutionContextWorkspaceInUse as g, runSpaceActionWake as h, materializeOrganizationSkillRelease as i, readAgentActivityContextForPath as j, discoverLocalAgentSessionProviders as k, runDirectMessage as l, runSpaceActionTargets as m, createSpaceWorkingCopies as n, runSpaceActionMcpServer as o, runSpaceActionStatus as p, downloadWorkingCopyFile as r, readTaskDocuments as s, fetchSpaceUpdates as t, runSpaceActionHelp as u, readExecutionContextWorkspace as v, recordRuntimeReportingNotApplicable as w, startDispatchSpaceProgressRelay as x, releaseExecutionContextWorkspace as y, AGENT_ACTIVITY_INTEGRATION_OWNER as z };
|
|
6057
6170
|
|
|
6058
|
-
//# sourceMappingURL=updates-api-
|
|
6171
|
+
//# sourceMappingURL=updates-api-BEVyS67y.js.map
|