openmeld 0.3.243 → 0.3.246
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-FVD0x_9l.js → add-me-membership-C7dYkfPz.js} +2 -2
- package/dist/{add-me-membership-FVD0x_9l.js.map → add-me-membership-C7dYkfPz.js.map} +1 -1
- package/dist/{agents-Cfx3N1rf.js → agents-QisYIlFS.js} +10 -10
- package/dist/{agents-Cfx3N1rf.js.map → agents-QisYIlFS.js.map} +1 -1
- package/dist/{api-client-foundation-DjzQysm8.js → api-client-foundation-B1aTRrIy.js} +1 -1
- package/dist/{api-client-foundation-CytD8TbL.js → api-client-foundation-CYbEdm9o.js} +3 -3
- package/dist/{api-client-foundation-CytD8TbL.js.map → api-client-foundation-CYbEdm9o.js.map} +1 -1
- package/dist/auth-session-DUYOBXO3.js +4 -0
- package/dist/{auth-session-Injt39gv.js → auth-session-JhILeJRO.js} +3 -3
- package/dist/{auth-session-Injt39gv.js.map → auth-session-JhILeJRO.js.map} +1 -1
- package/dist/{channel-UCuauH8X.js → channel-C6tm9T7P.js} +4 -4
- package/dist/{channel-UCuauH8X.js.map → channel-C6tm9T7P.js.map} +1 -1
- package/dist/{cli-binary-manifest-ETxqCzfS.js → cli-binary-manifest-ChuzORh3.js} +2 -2
- package/dist/{cli-binary-manifest-ETxqCzfS.js.map → cli-binary-manifest-ChuzORh3.js.map} +1 -1
- package/dist/{cloud-computer-Tm9YAbeL.js → cloud-computer-J2tdcTPm.js} +4 -4
- package/dist/{cloud-computer-Tm9YAbeL.js.map → cloud-computer-J2tdcTPm.js.map} +1 -1
- package/dist/{command-DSAT4Dvl.js → command-BXJ-OwBD.js} +18 -18
- package/dist/{command-DSAT4Dvl.js.map → command-BXJ-OwBD.js.map} +1 -1
- package/dist/{computer-connection-CSa8O0op.js → computer-connection-BKtrn0d2.js} +2 -2
- package/dist/{computer-connection-CSa8O0op.js.map → computer-connection-BKtrn0d2.js.map} +1 -1
- package/dist/{computer-connection-review-pWI1btuC.js → computer-connection-review-bUqNKi6q.js} +5 -5
- package/dist/{computer-connection-review-pWI1btuC.js.map → computer-connection-review-bUqNKi6q.js.map} +1 -1
- package/dist/{computer-disconnect-Cahboj3J.js → computer-disconnect-D_Apsn9P.js} +7 -7
- package/dist/{computer-disconnect-Cahboj3J.js.map → computer-disconnect-D_Apsn9P.js.map} +1 -1
- package/dist/{computer-setup-continuation-DmKqN6Kf.js → computer-setup-continuation-occq0LmS.js} +3 -3
- package/dist/{computer-setup-continuation-DmKqN6Kf.js.map → computer-setup-continuation-occq0LmS.js.map} +1 -1
- package/dist/{context--QS-5kJ8.js → context-M7dvalCp.js} +4 -4
- package/dist/{context--QS-5kJ8.js.map → context-M7dvalCp.js.map} +1 -1
- package/dist/{control-plane-QqGL-jtT.js → control-plane-B93wmVS6.js} +2 -2
- package/dist/{control-plane-QqGL-jtT.js.map → control-plane-B93wmVS6.js.map} +1 -1
- package/dist/{daemon-device-id-Bo1QzbXB.js → daemon-device-id-C3gKch4E.js} +4 -4
- package/dist/{daemon-device-id-Bo1QzbXB.js.map → daemon-device-id-C3gKch4E.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-DFZyoyx9.js → daemon-lifecycle-journal-CGUuJshv.js} +7 -6
- package/dist/{daemon-lifecycle-journal-DFZyoyx9.js.map → daemon-lifecycle-journal-CGUuJshv.js.map} +1 -1
- package/dist/{daemon-service-runtime-Cn8K1WAb.js → daemon-service-runtime-CktU3ER4.js} +4 -4
- package/dist/{daemon-service-runtime-Cn8K1WAb.js.map → daemon-service-runtime-CktU3ER4.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-Bk4reE6J.js → daemon-service-update-coordinator-D0-15tZW.js} +13 -13
- package/dist/{daemon-service-update-coordinator-Bk4reE6J.js.map → daemon-service-update-coordinator-D0-15tZW.js.map} +1 -1
- package/dist/{dispatch-owned-runtime-CAgSp4Sk.js → dispatch-owned-runtime-gOluDX5_.js} +31 -22
- package/dist/dispatch-owned-runtime-gOluDX5_.js.map +1 -0
- package/dist/{dist-CfvQIuzK.js → dist-DMlKqjUf.js} +1 -1
- package/dist/{dist-D2adiC2P.js → dist-KibLweLD.js} +307 -199
- package/dist/dist-KibLweLD.js.map +1 -0
- package/dist/{dual-view-guide-catalog-D7DcI-F8.js → dual-view-guide-catalog-0kSizTFt.js} +4 -4
- package/dist/{dual-view-guide-catalog-D7DcI-F8.js.map → dual-view-guide-catalog-0kSizTFt.js.map} +1 -1
- package/dist/{elapsed-time-BvqrpioR.js → elapsed-time-Bo1CJczC.js} +4 -4
- package/dist/{elapsed-time-BvqrpioR.js.map → elapsed-time-Bo1CJczC.js.map} +1 -1
- package/dist/{entry-BSMXdz-n.js → entry-B11DkH2I.js} +7 -7
- package/dist/{entry-BSMXdz-n.js.map → entry-B11DkH2I.js.map} +1 -1
- package/dist/{installation-inventory-CUB5QFBF.js → installation-inventory-BZgQmVup.js} +3 -3
- package/dist/{installation-inventory-CUB5QFBF.js.map → installation-inventory-BZgQmVup.js.map} +1 -1
- package/dist/{installer-DslRR89F.js → installer-k2gOOs58.js} +2 -2
- package/dist/{installer-DslRR89F.js.map → installer-k2gOOs58.js.map} +1 -1
- package/dist/{local-components-DJiMS67S.js → local-components-jXECvlEY.js} +3 -2
- package/dist/local-components-jXECvlEY.js.map +1 -0
- package/dist/{meta-api-DcbI4Cjm.js → meta-api-DruuiAx-.js} +5 -5
- package/dist/{meta-api-DcbI4Cjm.js.map → meta-api-DruuiAx-.js.map} +1 -1
- package/dist/{openmeld-CpdXY6Fv.js → openmeld-DUdN78WD.js} +61 -40
- package/dist/{openmeld-CpdXY6Fv.js.map → openmeld-DUdN78WD.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-CJqQfm0t.js → openmeld-maintenance-worker-DwkvZD0q.js} +9 -9
- package/dist/{openmeld-maintenance-worker-CJqQfm0t.js.map → openmeld-maintenance-worker-DwkvZD0q.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-C8NHNJPy.js → openmeld-tools-update-join-BNUIw_Lo.js} +4 -4
- package/dist/{openmeld-tools-update-join-C8NHNJPy.js.map → openmeld-tools-update-join-BNUIw_Lo.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-YLOS82E3.js → openmeld-tools-update-process-frame-BtYOlJXu.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-YLOS82E3.js.map → openmeld-tools-update-process-frame-BtYOlJXu.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-Csy2XKUf.js → openmeld-tools-update-process-frame-CINV6Qt3.js} +1 -1
- package/dist/openmeld.js +5 -5
- package/dist/{prepare-provider-runtime-CDs1nV-P.js → prepare-provider-runtime-_XRIioDp.js} +1615 -1006
- package/dist/prepare-provider-runtime-_XRIioDp.js.map +1 -0
- package/dist/{prepare-session-executor-BLPG3mLl.js → prepare-session-executor-B5AjN0qz.js} +19 -19
- package/dist/{prepare-session-executor-BLPG3mLl.js.map → prepare-session-executor-B5AjN0qz.js.map} +1 -1
- package/dist/{process-channel-DyKbHNH7.js → process-channel-CTXWjlBP.js} +2 -2
- package/dist/{process-channel-DyKbHNH7.js.map → process-channel-CTXWjlBP.js.map} +1 -1
- package/dist/{runtime-CMxGDQR2.js → runtime-DCBc6YOq.js} +17 -17
- package/dist/{runtime-CMxGDQR2.js.map → runtime-DCBc6YOq.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-DVZfWBM7.js → runtime-agent-controller-reporting-submission-CGa3GGL6.js} +80 -19
- package/dist/runtime-agent-controller-reporting-submission-CGa3GGL6.js.map +1 -0
- package/dist/{runtime-transport-BPK70mkB.js → runtime-transport-BzCp9hM3.js} +3671 -3664
- package/dist/runtime-transport-BzCp9hM3.js.map +1 -0
- package/dist/{service-DzRwreWp.js → service-BEH6-P8U.js} +22 -22
- package/dist/{service-DzRwreWp.js.map → service-BEH6-P8U.js.map} +1 -1
- package/dist/{service-account-authorization-C6wZHidB.js → service-account-authorization-CtvSn02O.js} +2 -2
- package/dist/{service-account-authorization-C6wZHidB.js.map → service-account-authorization-CtvSn02O.js.map} +1 -1
- package/dist/{service-account-control-rYk3uHAE.js → service-account-control-BUPiFEGo.js} +9 -9
- package/dist/{service-account-control-rYk3uHAE.js.map → service-account-control-BUPiFEGo.js.map} +1 -1
- package/dist/{service-control-capabilities-BpqpJM9N.js → service-control-capabilities-D-Nhqqgo.js} +1 -1
- package/dist/{service-control-capabilities-JqmrqJGu.js → service-control-capabilities-PMvSlaJj.js} +3 -3
- package/dist/{service-control-capabilities-JqmrqJGu.js.map → service-control-capabilities-PMvSlaJj.js.map} +1 -1
- package/dist/{state-C-Esm899.js → state-C_iJAzKh.js} +2 -2
- package/dist/{state-C-Esm899.js.map → state-C_iJAzKh.js.map} +1 -1
- package/dist/{updates-api-DWLii54q.js → updates-api-s2-QB929.js} +69 -41
- package/dist/updates-api-s2-QB929.js.map +1 -0
- package/dist/upgrade-Dikfgr8z.js +4 -0
- package/dist/{upgrade-gwIwzrdg.js → upgrade-JmhCNmvs.js} +9 -9
- package/dist/{upgrade-gwIwzrdg.js.map → upgrade-JmhCNmvs.js.map} +1 -1
- package/package.json +13 -12
- package/skills/openmeld-cli/SKILL.md +3 -2
- package/skills/openmeld-cli/references/commands.md +20 -0
- package/dist/auth-session-j1EhJkpg.js +0 -4
- package/dist/dispatch-owned-runtime-CAgSp4Sk.js.map +0 -1
- package/dist/dist-D2adiC2P.js.map +0 -1
- package/dist/local-components-DJiMS67S.js.map +0 -1
- package/dist/prepare-provider-runtime-CDs1nV-P.js.map +0 -1
- package/dist/runtime-agent-controller-reporting-submission-DVZfWBM7.js.map +0 -1
- package/dist/runtime-transport-BPK70mkB.js.map +0 -1
- package/dist/updates-api-DWLii54q.js.map +0 -1
- package/dist/upgrade-Dw6-zvES.js +0 -4
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Cr as
|
|
3
|
+
import { Cr as parseAgentControllerRef, Ct as resolveLocalProjectConnectionForPath, Er as renderInformationProtectionPrompt, Fn as DaemonServiceRunError, Kt as SPACE_ACTION_CONTEXT_GUIDANCE_LINES, Or as renderWorkingLanguagePrompt, Tt as withAgentActivityLocalStateLock, Xt as buildDispatchReplyContextSummary, dr as buildInformationProtectionPromptPlan, dt as isProjectBound, fr as buildWorkingLanguagePromptPlan, ft as listProjectBindings, lr as areAgentControllerInterfaceAccountsSame, yr as isAgentControllerUsageAccountUnavailable } from "./prepare-provider-runtime-_XRIioDp.js";
|
|
4
4
|
import { F as resolveOpenMeldRootDir, P as resolveOpenMeldEnvPreset, b as normalizeOpenMeldProfileId, g as legacyAccountProfileSpacesDir, r as accountProfileSpaceCacheDir, w as openMeldManagedBinaryPath } from "./paths-De9xdA2h.js";
|
|
5
|
-
import { $
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as asRecord, d as normalizeText, l as normalizeNonNegativeInteger$1, s as emitRunLine, u as normalizeOptionalText$8 } from "./daemon-device-id-
|
|
5
|
+
import { $ as openMeldSpaceEgressActionSchema, At as sanitizeSignalTextPreview, Gi as openMeldRequestContextSchema, L as runtimeTransportRegisterSessionResponseSchema, Mi as centerAgentToolSpeakerSchema, Mn as executionContextAssignmentSchema, Sn as getSpaceMessageAddressingRelationSupportForTargetKind, Tn as resolveMessageEnvelopeTargetField, a as daemonStreamFrameSchema, bn as collectCanonicalMentionTextFragments, cr as resolveSingleSpaceMentionLabels, lr as resolveSpaceMentionLabels, or as normalizeSpacePasswordText, tr as runtimeCoordinatorExecutionTokenEchoSchema, w as runtimeTransportHeartbeatResponseSchema, wn as normalizeMessageEnvelope, yn as MESSAGE_MENTION_TYPE_VALUES } from "./runtime-transport-BzCp9hM3.js";
|
|
6
|
+
import { O as openMeldRuntimeProfileIdSchema } from "./control-plane-B93wmVS6.js";
|
|
7
|
+
import { A as boolean, I as iso, K as strictObject, M as discriminatedUnion, P as enumFactory, Q as url, p as localServiceComponentUpdateProjectionSchema, q as string, s as localCliComponentUpdateProjectionSchema, z as literal } from "./local-components-jXECvlEY.js";
|
|
8
|
+
import { $i as projectSchema, $r as organizationSkillRuntimeReleaseSelectionSchema, Ai as listRoutineManagementResponseSchema, Ar as organizationSpaceDirectoryWithMemberCountsResponseSchema, Ci as spaceCreatorSchema, Di as deleteCenterAgentRoutineResponseSchema, Ei as createCenterAgentRoutineResponseSchema, Fi as updateCenterAgentRoutineResponseSchema, Jr as listOrganizationSkillsResponseSchema, Mi as resumeCenterAgentRoutineResponseSchema, Mr as submitFeedbackIssueRequestSchema, Ni as routineManagementSchema, Nr as submitFeedbackIssueResponseSchema, Oi as listCenterAgentRoutineRunsResponseSchema, Qi as listProjectsResponseSchema, Qr as organizationSkillReleaseSummarySchema, Ri as AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS, Ti as centerAgentRoutineSchema, Ui as agentActivitySnapshotResponseSchema, Xi as archiveProjectResponseSchema, Zi as createProjectResponseSchema, Zr as organizationSkillGitHubRepositoryPreviewSchema, aa as computerFileAccessPolicyInputSchema, ci as spaceMemberDirectoryEntrySchema, ea as updateProjectResponseSchema, ei as organizationSkillSummarySchema, fr as spaceEntryTargetSchema, hi as organizationComputersResponseSchema, ji as pauseCenterAgentRoutineResponseSchema, jr as organizationDirectoryResponseSchema, ki as listCenterAgentRoutinesResponseSchema, li as spaceMemberDirectorySchema, oa as computerFileAccessPolicySchema, oi as spaceMemberAgentWakeAvailabilitySchema, qi as localProjectControlConnectionSchema, qr as getOrganizationSkillResponseSchema, si as spaceMemberDirectoryAllowedRelationsSchema, ui as spaceMemberKindSchema, yi as agentActivitySessionInventoryResponseSchema, zi as agentActivityEventSchema } from "./dist-KibLweLD.js";
|
|
9
|
+
import { a as asRecord, d as normalizeText, l as normalizeNonNegativeInteger$1, s as emitRunLine, u as normalizeOptionalText$8 } from "./daemon-device-id-C3gKch4E.js";
|
|
10
10
|
import { i as serviceControlCapabilitiesSchema } from "./service-account-admission-BfdJ-kKR.js";
|
|
11
11
|
import { v as resolveCliContextId } from "./lock-BMI00i2F.js";
|
|
12
|
-
import { B as buildCenterAgentRoleTemplateText, F as SPACE_COLLABORATION_CONTEXT_RULE, H as buildSpaceAgentIdentityLine, J as isSelfWakeSpaceAction, K as composeDispatchBrief, R as buildAgentFacingMentalModelLines, U as buildSpaceEntryBriefNeedMoreLine, V as buildCompactDispatchActionGuidanceLines, W as buildSpaceWakeParticipantLines, Y as renderSpaceEntryBrief, Z as resolveSpacePublicationRequirement, q as deriveContinuity } from "./dual-view-guide-catalog-
|
|
12
|
+
import { B as buildCenterAgentRoleTemplateText, F as SPACE_COLLABORATION_CONTEXT_RULE, H as buildSpaceAgentIdentityLine, J as isSelfWakeSpaceAction, K as composeDispatchBrief, R as buildAgentFacingMentalModelLines, U as buildSpaceEntryBriefNeedMoreLine, V as buildCompactDispatchActionGuidanceLines, W as buildSpaceWakeParticipantLines, Y as renderSpaceEntryBrief, Z as resolveSpacePublicationRequirement, q as deriveContinuity } from "./dual-view-guide-catalog-0kSizTFt.js";
|
|
13
13
|
import { d as createDefaultRuntimeAgentControllerSettings } from "./base-url-0AoeTi3w.js";
|
|
14
|
-
import { F as resolveCurrentOpenMeldAccountContext } from "./context
|
|
14
|
+
import { F as resolveCurrentOpenMeldAccountContext } from "./context-M7dvalCp.js";
|
|
15
15
|
import { a as formatOpenMeldCliTextBlock } from "./cli-entry-command-CR_9QU1i.js";
|
|
16
16
|
import { n as resolveOpenMeldDistribution } from "./distribution-BDQT2ilb.js";
|
|
17
17
|
import { a as DAEMON_SERVICE_RUNTIME_MODE_ENV, d as daemonDispatchJournalPath, h as daemonRuntimeRootPath, i as DAEMON_SERVICE_RUNTIME_DETACHED_ENV, n as DAEMON_SERVICE_RUNTIME_AUTO_START_ENV, r as DAEMON_SERVICE_RUNTIME_CONTROLLER_ENV, s as DAEMON_SERVICE_RUNTIME_SYSTEM_SERVICE_ENV } from "./daemon-state-Dte9re5V.js";
|
|
@@ -416,9 +416,13 @@ const cliJsonAgentActivitySyncEnvelopeSchema = defineStrictSuccessEnvelope("acti
|
|
|
416
416
|
submittedCount: z$1.number().int().nonnegative()
|
|
417
417
|
}) });
|
|
418
418
|
const cliJsonAgentActivityContextEnvelopeSchema = defineStrictSuccessEnvelope("activity.context", { context: z$1.string().min(1).max(300).nullable() });
|
|
419
|
-
const cliJsonRoutinesListEnvelopeSchema = defineStrictSuccessEnvelope("routines.list",
|
|
419
|
+
const cliJsonRoutinesListEnvelopeSchema = defineStrictSuccessEnvelope("routines.list", {
|
|
420
|
+
...listCenterAgentRoutinesResponseSchema.shape,
|
|
421
|
+
routines: z$1.array(z$1.union([routineManagementSchema, centerAgentRoutineSchema])),
|
|
422
|
+
executors: listRoutineManagementResponseSchema.shape.executors.optional()
|
|
423
|
+
});
|
|
420
424
|
const cliJsonRoutinesCreateEnvelopeSchema = defineStrictSuccessEnvelope("routines.create", createCenterAgentRoutineResponseSchema.shape);
|
|
421
|
-
const cliJsonRoutinesShowEnvelopeSchema = defineStrictSuccessEnvelope("routines.show",
|
|
425
|
+
const cliJsonRoutinesShowEnvelopeSchema = defineStrictSuccessEnvelope("routines.show", { routine: z$1.union([routineManagementSchema, centerAgentRoutineSchema]) });
|
|
422
426
|
const cliJsonRoutinesUpdateEnvelopeSchema = defineStrictSuccessEnvelope("routines.update", updateCenterAgentRoutineResponseSchema.shape);
|
|
423
427
|
const cliJsonRoutinesPauseEnvelopeSchema = defineStrictSuccessEnvelope("routines.pause", pauseCenterAgentRoutineResponseSchema.shape);
|
|
424
428
|
const cliJsonRoutinesResumeEnvelopeSchema = defineStrictSuccessEnvelope("routines.resume", resumeCenterAgentRoutineResponseSchema.shape);
|
|
@@ -3357,6 +3361,16 @@ const OPENMELD_WAKE_WORKFLOW = `OpenMeld Wake workflow:
|
|
|
3357
3361
|
- Follow the current Wake's completion contract. When a Space Action is required, a private answer is insufficient. OpenMeld validates and publishes the proposal.`;
|
|
3358
3362
|
const COMPACT_DISPATCH_BOOTSTRAP_TEMPLATE_VERSION = "space-mesh-entry-brief-v2";
|
|
3359
3363
|
const LOCAL_AGENT_INSTRUCTION_CONTRACT_VERSION = "openmeld-native-instructions-v1";
|
|
3364
|
+
const SPACE_ACTION_COMPLETION_RULES = [
|
|
3365
|
+
"- Plain text is not a Space reply.",
|
|
3366
|
+
"- Use supplied context first. Discover read_history for this Wake's bounded Space text, or read_file with a file ID and revision. Both dispatch tools read as you without local login files; neither completes the Wake.",
|
|
3367
|
+
"- Use the Space Action tool first. If your harness offers tool search or discovery, look up the required action before declaring it unavailable. A tool missing from the initial list is not proof of unavailability. Do not read setup or onboarding guides merely to submit this result.",
|
|
3368
|
+
"- For a plain reply, omit wakeTargets and referenceTargets. Add targets only for an intentional handoff or reference to another Agent; never copy incoming activation targets or wake yourself.",
|
|
3369
|
+
"- Submit the actual result and inspect the tool response before ending this turn.",
|
|
3370
|
+
"- After one successful acknowledgement, stop submitting. It confirms a recorded proposal, not publication.",
|
|
3371
|
+
"- If a Space Action submission is confirmed rejected before recording, follow its correction guidance. If its submission outcome is unknown, submit no further Space Action in this turn, including an error-report reply. End with the diagnostic; OpenMeld owns recovery. Do not switch tools to retry the submission.",
|
|
3372
|
+
"- A failed context read or business tool is not a Space Action submission. If no Space Action has been submitted, use the required completion action to report the blocker honestly; do not invent results from unread material."
|
|
3373
|
+
];
|
|
3360
3374
|
const TRAILING_TITLE_SURROGATE = /\p{Surrogate}$/u;
|
|
3361
3375
|
function buildDispatchSessionTitle(input) {
|
|
3362
3376
|
const clean = (value) => value.slice(0, 256).replace(/[\p{Cc}\p{Cf}\s]+/gu, " ").trim();
|
|
@@ -3565,6 +3579,7 @@ function buildDispatchPromptPlan(input) {
|
|
|
3565
3579
|
"OpenMeld local agent contract:",
|
|
3566
3580
|
OPENMELD_SPACE_DEFINITION,
|
|
3567
3581
|
OPENMELD_WAKE_WORKFLOW,
|
|
3582
|
+
["OpenMeld Space Action rules (apply only when the current Wake's Mandatory completion section requires a Space Action; they do not authorize an action):", ...SPACE_ACTION_COMPLETION_RULES].join("\n"),
|
|
3568
3583
|
informationProtectionPlan.developerInstructions,
|
|
3569
3584
|
workingLanguagePlan.developerInstructions
|
|
3570
3585
|
].join("\n\n");
|
|
@@ -3574,6 +3589,7 @@ function buildDispatchPromptPlan(input) {
|
|
|
3574
3589
|
fallbackPrompt: buildDispatchPromptWithBootstrap(input),
|
|
3575
3590
|
instructionEpoch: `${LOCAL_AGENT_INSTRUCTION_CONTRACT_VERSION}:${contentFingerprint}`,
|
|
3576
3591
|
userPrompt: renderDispatchPrompt({
|
|
3592
|
+
nativeInstructions: true,
|
|
3577
3593
|
informationProtectionPrompt: informationProtectionPlan.perTurnPrompt,
|
|
3578
3594
|
workingLanguagePrompt: workingLanguagePlan.perTurnPrompt,
|
|
3579
3595
|
input
|
|
@@ -3604,7 +3620,7 @@ function renderDispatchPrompt(input) {
|
|
|
3604
3620
|
if (promptInput.imageAttachmentPromptSection) sections.push(promptInput.imageAttachmentPromptSection);
|
|
3605
3621
|
const spaceFilesSection = renderSharedSpaceFilesSection(promptInput);
|
|
3606
3622
|
if (spaceFilesSection) sections.push(spaceFilesSection);
|
|
3607
|
-
const completionSection = renderMandatoryCompletionSection(promptInput);
|
|
3623
|
+
const completionSection = renderMandatoryCompletionSection(promptInput, input.nativeInstructions === true);
|
|
3608
3624
|
if (completionSection) sections.push(completionSection);
|
|
3609
3625
|
return sections.filter(Boolean).join("\n\n");
|
|
3610
3626
|
}
|
|
@@ -3703,21 +3719,14 @@ function buildCurrentWakeContextLines(input) {
|
|
|
3703
3719
|
readOutcomesInstruction: `run \`${updatesCommand}\``
|
|
3704
3720
|
});
|
|
3705
3721
|
}
|
|
3706
|
-
function renderMandatoryCompletionSection(input) {
|
|
3722
|
+
function renderMandatoryCompletionSection(input, nativeInstructions) {
|
|
3707
3723
|
const publicationRequirement = resolveSpacePublicationRequirement(input.spaceContractSnapshot);
|
|
3708
3724
|
if (publicationRequirement.allowsRawReplyWithoutAction) return null;
|
|
3709
3725
|
if (!publicationRequirement.allowedActions.some((action) => action === "post_message" || action === "stay_silent")) return ["Mandatory completion:", ...publicationRequirement.actionGuidanceLines].join("\n");
|
|
3710
3726
|
return [
|
|
3711
3727
|
"Mandatory completion:",
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
buildMandatoryCompletionActionLine(publicationRequirement),
|
|
3715
|
-
"- Use the Space Action tool first. If your harness offers tool search or discovery, look up the required action before declaring it unavailable. A tool missing from the initial list is not proof of unavailability. Do not read setup or onboarding guides merely to submit this result.",
|
|
3716
|
-
...publicationRequirement.allowedActions.includes("post_message") ? ["- For a plain reply, omit wakeTargets and referenceTargets. Add targets only for an intentional handoff or reference to another Agent; never copy incoming activation targets or wake yourself."] : [],
|
|
3717
|
-
"- Submit the actual result and inspect the tool response before ending this turn.",
|
|
3718
|
-
"- After one successful acknowledgement, stop submitting. It confirms a recorded proposal, not publication.",
|
|
3719
|
-
"- If a Space Action submission is confirmed rejected before recording, follow its correction guidance. If its submission outcome is unknown, submit no further Space Action in this turn, including an error-report reply. End with the diagnostic; OpenMeld owns recovery. Do not switch tools to retry the submission.",
|
|
3720
|
-
"- A failed context read or business tool is not a Space Action submission. If no Space Action has been submitted, use the required completion action to report the blocker honestly; do not invent results from unread material."
|
|
3728
|
+
...nativeInstructions ? [] : SPACE_ACTION_COMPLETION_RULES,
|
|
3729
|
+
buildMandatoryCompletionActionLine(publicationRequirement)
|
|
3721
3730
|
].join("\n");
|
|
3722
3731
|
}
|
|
3723
3732
|
function buildMandatoryCompletionActionLine(publicationRequirement) {
|
|
@@ -6605,4 +6614,4 @@ function prependPathEntry(input) {
|
|
|
6605
6614
|
//#endregion
|
|
6606
6615
|
export { readComputerFileAccessPolicy as $, isTargetPickerState as $t, AgentActivitySubmissionResultsMismatchError as A, buildPublicSpaceEntryPath as At, didAgentControllerCommandFingerprintRemainStable as B, buildSpaceRoundSignalPublication as Bt, buildAgentActivityEvent as C, acceptOrganizationJoinLinkBodySchema as Cn, updateSpaceLastSeenTs as Ct, drainAgentActivityHookInbox as D, revokeOrganizationJoinLinkResponseSchema as Dn, SpaceComposerSubmissionError as Dt, readCodexSessionTitles as E, organizationJoinLinkManagementQuerySchema as En, writeSpaceRecentMentionProfileIds as Et, removeProjectOutbox as F, buildSpaceMemberAgentPresencePresentation as Ft, recordAgentControllerInterfaceProbeFailure as G, createSpaceMemberIdentityIndex as Gt, readLastKnownAgentControllerUsageLimits as H, closeMentionPickerState as Ht, readRecentAgentActivityHookStatus as I, buildSpaceMentionProfileIndex as It, resolveAgentControllerCommandFingerprint as J, extractMentionAuthoringPrefix as Jt, recordAgentControllerInterfaceProbeSuccess as K, createSpaceTargetCatalog as Kt, createServiceGitEnvironment as L, buildSpaceMessageReadRelationSummary as Lt, deferAgentActivityOutbox as M, buildSignalIndex as Mt, readAgentActivityOutboxHealth as N, buildSignalMessageReadProjection as Nt, enqueueAgentActivityHookEvent as O, buildDispatchResultMessageReadProjection as Ot, readDueAgentActivityOutbox as P, buildSignalReplyWorkflowProjection as Pt, ComputerFileAccessStoreError as Q, isRelationPickerState as Qt, buildAgentControllerInterfaceKeeperKey as R, buildSpaceProfileAddPlan as Rt, resolveOpenCodeDatabasePath as S, cliJsonSkillsShowEnvelopeSchema as Sn, toSpaceConfigListIntegrityError as St, normalizeSharedSessionTitle as T, organizationJoinLinkErrorResponseSchema as Tn, writeSpaceCacheDeletionNoticeState as Tt, readLastSuccessfulAgentControllerInterfaceCheckAt as U, collectResolvedSpaceMentions as Ut, readLastKnownAgentControllerAuthSnapshot as V, buildUpdatesReplyWorkflowProjection as Vt, readReusableAgentControllerInterfaceSnapshot as W, createDispatchContinuationSpaceAccessContext as Wt, emitDaemonDispatchJournalEvent as X, getSpaceAccessPassword as Xt, resolveNextRuntimeAgentControllerReportSyncAtMs as Y, formatRemovedCcRelationMessage as Yt, readRecentDaemonDispatchJournalEvents as Z, getSpaceAccessRequestContext as Zt, collectObservedSessionWorkingDirectories as _, cliJsonSkillsAddEnvelopeSchema as _n, readSpaceConfig as _t, DispatchSpaceActionClosedError as a, prepareSpaceComposerSubmission as an, buildDispatchPromptPlan as at, readOpenCodeSessionRows as b, cliJsonSkillsLoadEnvelopeSchema as bn, removeSpaceConfig as bt, createDispatchSpaceActionContext as c, resolveSpaceMemberAgentOwnerWakeDiagnosticsView as cn, resolveBootstrapSpaceOwnerProfileId as ct, readDispatchSpaceActionRecord as d, DISPATCH_OWNED_RUNTIME_MODE as dn, projectSpaceProfileCache as dt, isWakeClosingSystemNoticeType as en, resolveComputerFileAccessStorePath as et, supersedeDispatchSpaceActionRecordForReconsideration as f, DISPATCH_SPACE_ACTION_CLI_FALLBACK_COMMAND as fn, LocalSpaceStateIntegrityError as ft, sendDaemonFrame as g, cliJsonSkillsAddAllEnvelopeSchema as gn, readSpaceCacheDeletionNoticeState as gt, parseDaemonFrame as h, cliJsonOutputEnvelopeSchema as hn, listSpaceConfigs as ht, readDispatchOwnedRuntimeGuard as i, openTargetPickerState as in, buildDispatchCorrelation as it, applyAgentActivitySubmissionResults as j, buildPublicSpaceEntryUrl as jt, removeProjectInbox as k, buildDispatchResultReplyWorkflowProjection as kt, readDispatchSpaceActionContextForReceiptFromEnv as l, returnToTargetPickerState as ln, resolveBootstrapTargetProfileContext as lt, handleDaemonTransportFrame as m, cliJsonErrorEnvelopeSchema as mn, isLocalSpaceStateCorruptResult as mt, assertDispatchOwnedRuntimeServiceMutationAllowed as n, listSpaceMentionRelationChoices as nn, isSameOrDescendantPath as nt, DispatchSpaceActionRejectedError as o, prepareSpaceFileOnlySubmission as on, buildDispatchSessionTitle as ot, writeDispatchSpaceActionRecord as p, OPENMELD_DISPATCH_RUNTIME_MODE_ENV as pn, inspectSpaceCacheFile as pt, recordAgentControllerUsageLimitsObservation as q, enterRelationPickerState as qt, buildDispatchOwnedRuntimeEnv as r, listSpaceMentionSuggestions as rn, buildDispatchBootstrapTemplateFacts as rt, OPENMELD_SPACE_ACTION_CONTEXT_PATH_ENV as s, resolveNextRecentMentionProfileIdsForQueuedText as sn, parseDispatchTask as st, assertDispatchOwnedRuntimePublicWriteAllowed as t, listSpaceMemberDirectorySendTargets as tn, updateComputerFileAccessPolicy as tt, readDispatchSpaceActionContextFromEnv as u, updateAuthoredMentionRanges as un, resolveDispatchMentionSourceContext as ut, scanLocalAgentActivity as v, cliJsonSkillsAddPreviewEnvelopeSchema as vn, readSpaceLastSeenTs as vt, resolveObservedAgentActivityBinding as w, getOrganizationJoinLinkResponseSchema as wn, upsertSpaceConfig as wt, resolveOpenCodeAuthPath as x, cliJsonSkillsScanEnvelopeSchema as xn, toLocalSpaceStateIntegrityError as xt, startAgentActivityTranscriptWatchers as y, cliJsonSkillsListEnvelopeSchema as yn, readSpaceRecentMentionProfileIds as yt, consumeArmedAgentControllerInterfaceReprobe as z, buildSpaceRoundReadProjection as zt };
|
|
6607
6616
|
|
|
6608
|
-
//# sourceMappingURL=dispatch-owned-runtime-
|
|
6617
|
+
//# sourceMappingURL=dispatch-owned-runtime-gOluDX5_.js.map
|