openmeld 0.3.196 → 0.3.198
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-BFGxL7es.js → add-me-membership-DKpC3EhG.js} +2 -2
- package/dist/{add-me-membership-BFGxL7es.js.map → add-me-membership-DKpC3EhG.js.map} +1 -1
- package/dist/{api-client-foundation-BsPHcY3o.js → api-client-foundation-DISAuROT.js} +3 -3
- package/dist/{api-client-foundation-BsPHcY3o.js.map → api-client-foundation-DISAuROT.js.map} +1 -1
- package/dist/{api-client-foundation-P2pFKSiO.js → api-client-foundation-e3LardOA.js} +1 -1
- package/dist/auth-session-B7OGmKso.js +4 -0
- package/dist/{auth-session-nklLwM9D.js → auth-session-BjZX32Cm.js} +2 -2
- package/dist/{auth-session-nklLwM9D.js.map → auth-session-BjZX32Cm.js.map} +1 -1
- package/dist/{command-Cv_zk6lk.js → command-DlzTGCgU.js} +35 -29
- package/dist/command-DlzTGCgU.js.map +1 -0
- package/dist/{dist-BusHUGTV.js → dist-BNSY0PaP.js} +1 -1
- package/dist/{dist-ChnRIPdJ.js → dist-Mhy5FanK.js} +397 -64
- package/dist/dist-Mhy5FanK.js.map +1 -0
- package/dist/{elapsed-time-DJjiBm-F.js → elapsed-time-BVaAdO2f.js} +3 -3
- package/dist/{elapsed-time-DJjiBm-F.js.map → elapsed-time-BVaAdO2f.js.map} +1 -1
- package/dist/{installer-DFtewadV.js → installer-Cb6dJ-Dj.js} +3 -3
- package/dist/{installer-DFtewadV.js.map → installer-Cb6dJ-Dj.js.map} +1 -1
- package/dist/{openmeld-aB7j_Ttf.js → openmeld-CcYTC54w.js} +47 -22
- package/dist/openmeld-CcYTC54w.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DeuMa2mv.js → openmeld-maintenance-worker-Bgn69UrV.js} +3 -3
- package/dist/{openmeld-maintenance-worker-DeuMa2mv.js.map → openmeld-maintenance-worker-Bgn69UrV.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-CXYGRejb.js → openmeld-tools-update-coordinator-AKsXMm44.js} +10 -10
- package/dist/openmeld-tools-update-coordinator-AKsXMm44.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{runtime-transport-4qeDrtxw.js → runtime-transport-B22M3ZUl.js} +43 -6
- package/dist/runtime-transport-B22M3ZUl.js.map +1 -0
- package/dist/upgrade-SXadeUxr.js +4 -0
- package/dist/{upgrade-uC1c8yT-.js → upgrade-i-HvIYsB.js} +4 -4
- package/dist/{upgrade-uC1c8yT-.js.map → upgrade-i-HvIYsB.js.map} +1 -1
- package/package.json +2 -2
- package/dist/auth-session-CF4NC2v0.js +0 -4
- package/dist/command-Cv_zk6lk.js.map +0 -1
- package/dist/dist-ChnRIPdJ.js.map +0 -1
- package/dist/openmeld-aB7j_Ttf.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-CXYGRejb.js.map +0 -1
- package/dist/runtime-transport-4qeDrtxw.js.map +0 -1
- package/dist/upgrade-Ct0DwGv5.js +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-transport-4qeDrtxw.js","names":["nonEmptyStringSchema","normalizeOptionalText","ISO_DATE_TIME_SCHEMA","hasControlCharacter","zod","eagerZod","MULTI_SPACE_PATTERN","signalStatusDataSchema","signalSystemNoticeDataSchema","signalSystemNoticeSchema","MULTI_SPACE_PATTERN","nullableIdentifierSchema","boundedIdentifierSchema","isoDateTimeSchema","boundedIdentifierSchema","boundedIdentifierSchema","boundedReasonCodeSchema","nullablePositiveIntegerSchema","boundedIdentifierSchema","boundedReasonCodeSchema","nullableNonEmptyStringSchema"],"sources":["../../../packages/schemas/dist/agent-recovery-action.js","../../../packages/schemas/dist/agent-work-activity.js","../../../packages/schemas/dist/navigation-action.js","../../../packages/schemas/dist/runtime-coordinator-reason-code.js","../../../packages/schemas/dist/public-agent-failure-reason.js","../../../packages/schemas/dist/schemas/protocol/constants.js","../../../packages/schemas/dist/schemas/protocol/shared.js","../../../packages/schemas/dist/schemas/protocol/profile.js","../../../packages/schemas/dist/schemas/space-mesh/space-thread.js","../../../packages/schemas/dist/schemas/protocol/agent-stream.js","../../../packages/schemas/dist/schemas/protocol/client-message-id.js","../../../packages/schemas/dist/lazy-zod.js","../../../packages/schemas/dist/schemas/http/space-files.js","../../../packages/schemas/dist/schemas/http/space-mention-label.js","../../../packages/schemas/dist/schemas/protocol/core-readiness-facts-changed.js","../../../packages/schemas/dist/schemas/protocol/signal-reply-to.js","../../../packages/schemas/dist/schemas/space-mesh/signal-status.js","../../../packages/schemas/dist/schemas/daemon/runtime-transport-stop-cause.js","../../../packages/schemas/dist/schemas/space-mesh/signal-system-notice.js","../../../packages/schemas/dist/schemas/protocol/center-agent-interaction-source.js","../../../packages/schemas/dist/schemas/protocol/conversation-compaction.js","../../../packages/schemas/dist/schemas/protocol/message-envelope.js","../../../packages/schemas/dist/schemas/protocol/space-attachment.js","../../../packages/schemas/dist/schemas/protocol/wake-device-wait.js","../../../packages/schemas/dist/schemas/protocol/signal.js","../../../packages/schemas/dist/schemas/agent-profile-work-recovery.js","../../../packages/schemas/dist/schemas/daemon/profile-identity.js","../../../packages/schemas/dist/schemas/http/execution-recovery.js","../../../packages/schemas/dist/schemas/http/organization-information-protection.js","../../../packages/schemas/dist/schemas/http/space-password.js","../../../packages/schemas/dist/schemas/daemon/execution-identity.js","../../../packages/schemas/dist/schemas/daemon/runtime-coordinator-execution-token.js","../../../packages/schemas/dist/schemas/daemon/runtime-coordinator-execution.js","../../../packages/schemas/dist/schemas/http/space-wake-stop.js","../../../packages/schemas/dist/schemas/local-components.js","../../../packages/schemas/dist/schemas/protocol/agent-interaction.js","../../../packages/schemas/dist/schemas/protocol/target-wake-lifecycle.js","../../../packages/schemas/dist/schemas/runtime/working-language.js","../../../packages/schemas/dist/schemas/space-mesh/authority-order.js","../../../packages/schemas/dist/schemas/space-mesh/dispatch-policy.js","../../../packages/schemas/dist/schemas/space-mesh/publication-policy.js","../../../packages/schemas/dist/schemas/space-mesh/result-archive-policy.js","../../../packages/schemas/dist/schemas/space-mesh/space-note.js","../../../packages/schemas/dist/schemas/space-mesh/space-contract.js","../../../packages/schemas/dist/schemas/daemon/conversation-lifecycle.js","../../../packages/schemas/dist/schemas/daemon/conversation-execution-state.js","../../../packages/schemas/dist/schemas/daemon/provider-runtime-context.js","../../../packages/schemas/dist/schemas/daemon/control-plane.js","../../../packages/schemas/dist/schemas/runtime/agent-task-coordination.js","../../../packages/schemas/dist/schemas/daemon/mention-dispatch-result.js","../../../packages/schemas/dist/schemas/daemon/dispatch-queue.js","../../../packages/schemas/dist/schemas/daemon/local-folder-path.js","../../../packages/schemas/dist/schemas/daemon/local-folder-picker.js","../../../packages/schemas/dist/schemas/daemon/provider-runtime-capability.js","../../../packages/schemas/dist/schemas/space-mesh/openmeld-space-action.js","../../../packages/schemas/dist/schemas/daemon/task-result.js","../../../packages/schemas/dist/schemas/daemon/runtime-transport.js"],"sourcesContent":["//#region src/agent-recovery-action.ts\nconst agentRecoveryActionLabels = {\n\tcheck_status: \"Check status\",\n\tchoose_local_agent: \"Choose local agent\",\n\tconnect_openmeld_service: \"Connect Computer\",\n\tconnect_local_agent: \"Connect local agent\",\n\tmanage_local_agent: \"Update or change local agent\",\n\tmanage_cursor_plan: \"Manage Cursor plan\",\n\treconnect_openmeld_service: \"Reconnect Computer\",\n\treconnect_local_agent: \"Reconnect local agent\",\n\treview_agent_permissions: \"Review Agent Profile permissions\",\n\treview_agent_settings: \"Review agent settings\",\n\tturn_on_local_agent: \"Turn on local agent\",\n\tupdate_openmeld_service: \"Update OpenMeld on Computer\",\n\tupdate_openmeld_skills: \"Update OpenMeld skills\"\n};\nfunction formatAgentRecoveryActionLabel(actionId) {\n\treturn agentRecoveryActionLabels[actionId];\n}\n//#endregion\nexport { agentRecoveryActionLabels, formatAgentRecoveryActionLabel };\n\n//# sourceMappingURL=agent-recovery-action.js.map","//#region src/agent-work-activity.ts\nconst GITHUB_REPOSITORY_URL_PATTERN = /github\\.com(?::|\\/)([a-z\\d](?:[a-z\\d_.-]*[a-z\\d])?)\\/([a-z\\d](?:[a-z\\d_.-]*[a-z\\d])?)(?:\\.git)?(?=$|[\\s'\"/])/iu;\nconst GH_REPOSITORY_CLONE_PATTERN = /^gh\\s+repo\\s+clone\\s+['\"]?([a-z\\d](?:[a-z\\d_.-]*[a-z\\d])?)\\/([a-z\\d](?:[a-z\\d_.-]*[a-z\\d])?)(?:\\.git)?(?=$|[\\s'\"])/iu;\nconst GIT_SUFFIX_PATTERN = /\\.git$/iu;\nconst GIT_BRANCH_ATTACHED_MUTATION_OPTION_PATTERN = /^-[cCdDmM].+/u;\nconst SHELL_ASSIGNMENT_PATTERN = /^[A-Z_][A-Z\\d_]*=/iu;\nconst SHELL_WHITESPACE_PATTERN = /\\s/u;\nconst UNSUPPORTED_SHELL_SYNTAX_PATTERN = /#|`|\\$\\(|<<|[<>]\\(|\\|\\||(?:^|[^&])&(?:$|[^&])/u;\nconst SHELL_QUOTES = /* @__PURE__ */ new Set([\n\t\"'\",\n\t\"\\\"\",\n\t\"`\"\n]);\nconst SHELL_SEGMENT_SEPARATORS = /* @__PURE__ */ new Set([\n\t\";\",\n\t\"\\n\",\n\t\"|\",\n\t\"&\"\n]);\nconst SAFE_NEUTRAL_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"cd\",\n\t\"echo\",\n\t\"printf\"\n]);\nconst CONNECTED_APP_WORK_KEYS = /* @__PURE__ */ new Set([\"connected_app.action.execute\", \"connected_app.actions.read\"]);\nconst TEST_EXECUTABLES = /* @__PURE__ */ new Set([\"pytest\", \"vitest\"]);\nconst QUALITY_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"biome\",\n\t\"eslint\",\n\t\"prettier\",\n\t\"tsc\"\n]);\nconst BUILD_EXECUTABLES = /* @__PURE__ */ new Set([\"cargo\", \"go\"]);\nconst INSTALL_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"cargo\",\n\t\"pip\",\n\t\"pip3\"\n]);\nconst SEARCH_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"rg\",\n\t\"grep\",\n\t\"fd\"\n]);\nconst READ_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"cat\",\n\t\"head\",\n\t\"less\",\n\t\"more\",\n\t\"sed\",\n\t\"tail\"\n]);\nconst REPOSITORY_CHECK_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"ls\",\n\t\"pwd\",\n\t\"test\",\n\t\"[\"\n]);\nconst PACKAGE_MANAGER_EXECUTABLES = /* @__PURE__ */ new Set([\n\t\"npm\",\n\t\"pnpm\",\n\t\"yarn\",\n\t\"bun\"\n]);\nconst PACKAGE_MANAGER_OPTIONS_WITH_VALUE = /* @__PURE__ */ new Set([\n\t\"-C\",\n\t\"--dir\",\n\t\"--filter\",\n\t\"--prefix\"\n]);\nconst GIT_OPTIONS_WITH_VALUE = /* @__PURE__ */ new Set([\n\t\"-C\",\n\t\"-c\",\n\t\"--git-dir\",\n\t\"--work-tree\"\n]);\nconst FIND_EXECUTION_ACTIONS = /* @__PURE__ */ new Set([\n\t\"-exec\",\n\t\"-execdir\",\n\t\"-ok\",\n\t\"-okdir\"\n]);\nconst FD_EXECUTION_ACTIONS = /* @__PURE__ */ new Set([\n\t\"-x\",\n\t\"-X\",\n\t\"--exec\",\n\t\"--exec-batch\"\n]);\nconst GIT_BRANCH_MUTATION_OPTIONS = /* @__PURE__ */ new Set([\n\t\"-c\",\n\t\"-C\",\n\t\"-d\",\n\t\"-D\",\n\t\"-m\",\n\t\"-M\",\n\t\"--copy\",\n\t\"--delete\",\n\t\"--edit-description\",\n\t\"--move\",\n\t\"--set-upstream-to\",\n\t\"--unset-upstream\"\n]);\nconst PIPX_INSTALL_COMMANDS = /* @__PURE__ */ new Set([\n\t\"inject\",\n\t\"install\",\n\t\"reinstall\",\n\t\"reinstall-all\",\n\t\"upgrade\",\n\t\"upgrade-all\"\n]);\nfunction resolveCommandAgentWorkActivity(command) {\n\tif (!command?.trim() || hasUnsupportedShellSyntax(command)) return null;\n\tlet resolvedWork = null;\n\tfor (const segment of splitShellSegments(command)) {\n\t\tif (hasUnquotedOutputRedirection(segment)) return null;\n\t\tconst words = tokenizeShellWords(segment);\n\t\tif (isSafeNeutralCommand(words)) continue;\n\t\tconst work = classifyCommandWords(words, segment);\n\t\tif (!work) return null;\n\t\tif (resolvedWork && !hasSameWorkMeaning(resolvedWork, work)) return null;\n\t\tresolvedWork = work;\n\t}\n\treturn resolvedWork;\n}\nfunction isAgentWorkActivityPresentable(work) {\n\treturn !CONNECTED_APP_WORK_KEYS.has(work.key) || work.subject?.kind === \"connected_app\";\n}\nfunction isLegacyAgentActivityWorkCompatible(work) {\n\treturn work?.subject?.kind !== \"connected_app\";\n}\nfunction classifyCommandWords(words, commandSegment) {\n\tif (hasUnquotedOutputRedirection(commandSegment)) return null;\n\tconst normalizedWords = removeExecutionPrefixes(words);\n\tconst executable = basename(normalizedWords[0] ?? \"\").toLowerCase();\n\tconst args = normalizedWords.slice(1);\n\tif (!executable) return null;\n\tif (executable === \"command\") {\n\t\tif (args[0] === \"-v\" || args[0] === \"-V\") return work(\"environment.check\");\n\t\treturn classifyCommandWords(args, commandSegment);\n\t}\n\tif (executable === \"git\") return classifyGitCommand(args, commandSegment);\n\tif (executable === \"gh\" && args[0] === \"repo\" && args[1] === \"clone\") return repositoryCloneWork(commandSegment);\n\tif (PACKAGE_MANAGER_EXECUTABLES.has(executable)) return classifyPackageManagerCommand(args);\n\treturn classifyDirectCommand(executable, args);\n}\nfunction classifyDirectCommand(executable, args) {\n\tif (isTestCommand(executable, args[0])) return work(\"tests.run\");\n\tif (QUALITY_EXECUTABLES.has(executable)) return work(\"quality.check\");\n\tif (BUILD_EXECUTABLES.has(executable) && args[0] === \"build\") return work(\"build.run\");\n\tif (INSTALL_EXECUTABLES.has(executable) && [\"add\", \"install\"].includes(args[0] ?? \"\") || executable === \"pipx\" && PIPX_INSTALL_COMMANDS.has(args[0] ?? \"\")) return work(\"dependencies.install\");\n\tif (executable === \"find\") return classifyFindCommand(args);\n\tif (executable === \"fd\" && hasFdExecutionAction(args)) return null;\n\tif (SEARCH_EXECUTABLES.has(executable)) return work(\"source.search\");\n\tif (executable === \"sed\" && isSedInPlace(args)) return work(\"source.update\");\n\tif (READ_EXECUTABLES.has(executable)) return work(\"source.read\");\n\tif (REPOSITORY_CHECK_EXECUTABLES.has(executable)) return work(\"repository.check\");\n\treturn null;\n}\nfunction classifyFindCommand(args) {\n\tif (args.includes(\"-delete\")) return work(\"source.update\");\n\treturn args.some((argument) => FIND_EXECUTION_ACTIONS.has(argument)) ? null : work(\"source.search\");\n}\nfunction isSedInPlace(args) {\n\treturn args.some((argument) => argument === \"-i\" || argument.startsWith(\"-i\") || argument === \"--in-place\" || argument.startsWith(\"--in-place=\"));\n}\nfunction isTestCommand(executable, firstArgument) {\n\treturn TEST_EXECUTABLES.has(executable) || executable === \"node\" && firstArgument === \"--test\" || BUILD_EXECUTABLES.has(executable) && firstArgument === \"test\";\n}\nfunction classifyGitCommand(args, commandSegment) {\n\tconst subcommand = readGitSubcommand(args);\n\tif (subcommand === \"clone\") return repositoryCloneWork(commandSegment);\n\tif ([\n\t\t\"diff\",\n\t\t\"log\",\n\t\t\"show\",\n\t\t\"status\"\n\t].includes(subcommand ?? \"\")) return work(\"repository.inspect\");\n\tif (subcommand === \"branch\") return isReadOnlyGitBranchCommand(args) ? work(\"repository.check\") : null;\n\tif (subcommand === \"rev-parse\") return work(\"repository.check\");\n\treturn null;\n}\nfunction isReadOnlyGitBranchCommand(args) {\n\treturn argsAfterCommand(args, \"branch\").every((argument) => argument.startsWith(\"-\") && !isGitBranchMutationOption(argument));\n}\nfunction isGitBranchMutationOption(argument) {\n\tconst option = argument.split(\"=\")[0] ?? argument;\n\treturn GIT_BRANCH_MUTATION_OPTIONS.has(option) || GIT_BRANCH_ATTACHED_MUTATION_OPTION_PATTERN.test(argument);\n}\nfunction classifyPackageManagerCommand(args) {\n\tconst command = readPackageManagerCommand(args);\n\tif (!command) return null;\n\tif ([\"add\", \"install\"].includes(command)) return work(\"dependencies.install\");\n\tif (command === \"test\" || command.startsWith(\"test:\")) return work(\"tests.run\");\n\tif ([\n\t\t\"check\",\n\t\t\"lint\",\n\t\t\"typecheck\"\n\t].includes(command)) return work(\"quality.check\");\n\tif (command === \"build\") return work(\"build.run\");\n\tif (command === \"exec\") return classifyCommandWords(argsAfterCommand(args, command), \"\");\n\tif (command === \"run\") {\n\t\tconst script = argsAfterCommand(args, command)[0]?.toLowerCase();\n\t\tif (!script) return null;\n\t\tif (script === \"test\" || script.startsWith(\"test:\")) return work(\"tests.run\");\n\t\tif ([\n\t\t\t\"check\",\n\t\t\t\"lint\",\n\t\t\t\"typecheck\"\n\t\t].includes(script)) return work(\"quality.check\");\n\t\tif (script === \"build\") return work(\"build.run\");\n\t\treturn null;\n\t}\n\treturn null;\n}\nfunction readPackageManagerCommand(args) {\n\treturn readFirstCommandWord(args, PACKAGE_MANAGER_OPTIONS_WITH_VALUE);\n}\nfunction argsAfterCommand(args, command) {\n\tconst commandIndex = args.findIndex((value) => value.toLowerCase() === command);\n\treturn commandIndex >= 0 ? args.slice(commandIndex + 1) : [];\n}\nfunction readGitSubcommand(args) {\n\treturn readFirstCommandWord(args, GIT_OPTIONS_WITH_VALUE);\n}\nfunction readFirstCommandWord(words, optionsWithValue) {\n\tlet skipNext = false;\n\tfor (const value of words) {\n\t\tif (skipNext) {\n\t\t\tskipNext = false;\n\t\t\tcontinue;\n\t\t}\n\t\tif (optionsWithValue.has(value)) {\n\t\t\tskipNext = true;\n\t\t\tcontinue;\n\t\t}\n\t\tif (value && !value.startsWith(\"-\")) return value.toLowerCase();\n\t}\n\treturn null;\n}\nfunction removeExecutionPrefixes(words) {\n\tlet index = 0;\n\twhile (SHELL_ASSIGNMENT_PATTERN.test(words[index] ?? \"\")) index += 1;\n\tif (words[index] === \"sudo\") {\n\t\tindex += 1;\n\t\twhile ((words[index] ?? \"\").startsWith(\"-\")) index += 1;\n\t}\n\tif (words[index] === \"env\") {\n\t\tindex += 1;\n\t\twhile ((words[index] ?? \"\").startsWith(\"-\") || SHELL_ASSIGNMENT_PATTERN.test(words[index] ?? \"\")) index += 1;\n\t}\n\tif (words[index] === \"corepack\") index += 1;\n\treturn words.slice(index);\n}\nfunction isSafeNeutralCommand(words) {\n\tconst normalizedWords = removeExecutionPrefixes(words);\n\treturn SAFE_NEUTRAL_EXECUTABLES.has(basename(normalizedWords[0] ?? \"\").toLowerCase());\n}\nfunction hasSameWorkMeaning(left, right) {\n\treturn left.key === right.key && left.subject?.kind === right.subject?.kind && left.subject?.label === right.subject?.label;\n}\nfunction hasUnsupportedShellSyntax(command) {\n\treturn UNSUPPORTED_SHELL_SYNTAX_PATTERN.test(command);\n}\nfunction splitShellSegments(command) {\n\tconst segments = [];\n\tlet current = \"\";\n\tlet quote = null;\n\tlet escaped = false;\n\tfor (let index = 0; index < command.length; index += 1) {\n\t\tconst character = command[index] ?? \"\";\n\t\tif (escaped) {\n\t\t\tcurrent += character;\n\t\t\tescaped = false;\n\t\t\tcontinue;\n\t\t}\n\t\tif (character === \"\\\\\") {\n\t\t\tcurrent += character;\n\t\t\tescaped = true;\n\t\t\tcontinue;\n\t\t}\n\t\tif (quote) {\n\t\t\tcurrent += character;\n\t\t\tif (character === quote) quote = null;\n\t\t\tcontinue;\n\t\t}\n\t\tif (SHELL_QUOTES.has(character)) {\n\t\t\tcurrent += character;\n\t\t\tquote = character;\n\t\t\tcontinue;\n\t\t}\n\t\tconst next = command[index + 1] ?? \"\";\n\t\tif (SHELL_SEGMENT_SEPARATORS.has(character)) {\n\t\t\tpushShellSegment(segments, current);\n\t\t\tcurrent = \"\";\n\t\t\tif (isRepeatedShellSeparator(character, next)) index += 1;\n\t\t\tcontinue;\n\t\t}\n\t\tcurrent += character;\n\t}\n\tpushShellSegment(segments, current);\n\treturn segments;\n}\nfunction pushShellSegment(segments, segment) {\n\tconst trimmed = segment.trim();\n\tif (trimmed) segments.push(trimmed);\n}\nfunction isRepeatedShellSeparator(character, next) {\n\treturn (character === \"|\" || character === \"&\") && next === character;\n}\nfunction hasUnquotedOutputRedirection(command) {\n\tlet quote = null;\n\tlet escaped = false;\n\tfor (const character of command) {\n\t\tif (escaped) {\n\t\t\tescaped = false;\n\t\t\tcontinue;\n\t\t}\n\t\tif (character === \"\\\\\") {\n\t\t\tescaped = true;\n\t\t\tcontinue;\n\t\t}\n\t\tif (quote) {\n\t\t\tif (character === quote) quote = null;\n\t\t\tcontinue;\n\t\t}\n\t\tif (SHELL_QUOTES.has(character)) {\n\t\t\tquote = character;\n\t\t\tcontinue;\n\t\t}\n\t\tif (character === \">\") return true;\n\t}\n\treturn false;\n}\nfunction hasFdExecutionAction(args) {\n\treturn args.some((argument) => {\n\t\tconst option = argument.split(\"=\")[0] ?? argument;\n\t\treturn FD_EXECUTION_ACTIONS.has(option);\n\t});\n}\nfunction tokenizeShellWords(segment) {\n\tconst words = [];\n\tlet current = \"\";\n\tlet quote = null;\n\tlet escaped = false;\n\tconst pushCurrent = () => {\n\t\tif (current) {\n\t\t\twords.push(current);\n\t\t\tcurrent = \"\";\n\t\t}\n\t};\n\tfor (const character of segment) {\n\t\tif (escaped) {\n\t\t\tcurrent += character;\n\t\t\tescaped = false;\n\t\t\tcontinue;\n\t\t}\n\t\tif (character === \"\\\\\") {\n\t\t\tescaped = true;\n\t\t\tcontinue;\n\t\t}\n\t\tif (quote) {\n\t\t\tif (character === quote) quote = null;\n\t\t\telse current += character;\n\t\t\tcontinue;\n\t\t}\n\t\tif (SHELL_QUOTES.has(character)) {\n\t\t\tquote = character;\n\t\t\tcontinue;\n\t\t}\n\t\tif (SHELL_WHITESPACE_PATTERN.test(character)) {\n\t\t\tpushCurrent();\n\t\t\tcontinue;\n\t\t}\n\t\tcurrent += character;\n\t}\n\tpushCurrent();\n\treturn words;\n}\nfunction repositoryCloneWork(command) {\n\tconst repository = readGitHubRepository(command);\n\treturn {\n\t\tkey: \"repository.clone\",\n\t\tv: 1,\n\t\t...repository ? { subject: {\n\t\t\tkind: \"repository\",\n\t\t\tlabel: repository\n\t\t} } : {}\n\t};\n}\nfunction readGitHubRepository(command) {\n\tconst githubUrlMatch = GITHUB_REPOSITORY_URL_PATTERN.exec(command);\n\tif (githubUrlMatch) return `${githubUrlMatch[1]}/${githubUrlMatch[2]?.replace(GIT_SUFFIX_PATTERN, \"\")}`;\n\tconst ghCloneMatch = GH_REPOSITORY_CLONE_PATTERN.exec(command.trim());\n\treturn ghCloneMatch ? `${ghCloneMatch[1]}/${ghCloneMatch[2]?.replace(GIT_SUFFIX_PATTERN, \"\")}` : null;\n}\nfunction basename(value) {\n\treturn value.split(\"/\").at(-1) ?? value;\n}\nfunction work(key) {\n\treturn {\n\t\tkey,\n\t\tv: 1\n\t};\n}\n//#endregion\nexport { isAgentWorkActivityPresentable, isLegacyAgentActivityWorkCompatible, resolveCommandAgentWorkActivity };\n\n//# sourceMappingURL=agent-work-activity.js.map","import * as z$1 from \"zod/v4\";\n//#region src/navigation-action.ts\nconst nonEmptyStringSchema = z$1.string().trim().min(1);\nconst LOCAL_WEB_URL = \"http://localhost\";\nconst TRAILING_SLASH_PATTERN = /\\/+$/u;\nconst computerSetupModeSchema = z$1.enum([\n\t\"setup\",\n\t\"reconnect\",\n\t\"update_service\"\n]);\nconst openMeldWebUrlSchema = z$1.url().refine((value) => {\n\tconst protocol = new URL(value).protocol;\n\treturn protocol === \"http:\" || protocol === \"https:\";\n}, \"OpenMeld Web URL must use HTTP or HTTPS.\");\nconst computerSetupNavigationTargetSchema = z$1.discriminatedUnion(\"mode\", [\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"computer_setup\"),\n\t\tmode: z$1.literal(\"setup\")\n\t}),\n\tz$1.strictObject({\n\t\tconnectedComputerId: nonEmptyStringSchema,\n\t\tkind: z$1.literal(\"computer_setup\"),\n\t\tmode: z$1.literal(\"reconnect\")\n\t}),\n\tz$1.strictObject({\n\t\tconnectedComputerId: nonEmptyStringSchema,\n\t\tkind: z$1.literal(\"computer_setup\"),\n\t\tmode: z$1.literal(\"update_service\")\n\t})\n]);\nconst openMeldNavigationTargetSchema = z$1.union([\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"organization_app\"),\n\t\tservice: z$1.literal(\"github\")\n\t}),\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"space\"),\n\t\tspaceId: nonEmptyStringSchema\n\t}),\n\tz$1.strictObject({ kind: z$1.literal(\"projects\") }),\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"project\"),\n\t\tprojectId: nonEmptyStringSchema\n\t}),\n\tz$1.strictObject({ kind: z$1.literal(\"slack_identity_link\") }),\n\tz$1.strictObject({\n\t\tconnectToUserId: nonEmptyStringSchema.optional(),\n\t\tkind: z$1.literal(\"message_channel_identity_link\"),\n\t\tpurpose: z$1.enum([\"continue_request\", \"optional_setup\"]),\n\t\trequestedAction: nonEmptyStringSchema.max(160).optional()\n\t}),\n\tcomputerSetupNavigationTargetSchema\n]);\nconst navigationActionSchema = z$1.strictObject({\n\tlabel: nonEmptyStringSchema,\n\ttarget: openMeldNavigationTargetSchema,\n\turl: openMeldWebUrlSchema\n});\nfunction buildOrganizationRootPath(orgSlug) {\n\treturn `/o/${encodePathSegment(nonEmptyStringSchema.parse(orgSlug))}`;\n}\nfunction buildOrganizationPluginsPath(orgSlug) {\n\treturn `${buildOrganizationRootPath(orgSlug)}/center-agent/plugins`;\n}\nfunction buildOrganizationPluginPath(input) {\n\treturn `${buildOrganizationPluginsPath(input.orgSlug)}/${encodePathSegment(nonEmptyStringSchema.parse(input.service))}`;\n}\nfunction buildOrganizationSpacePath(input) {\n\tconst url = new URL(`${buildOrganizationRootPath(input.orgSlug)}/spaces/${encodePathSegment(nonEmptyStringSchema.parse(input.spaceId))}`, LOCAL_WEB_URL);\n\tfor (const [key, value] of Object.entries(input.search ?? {})) if (typeof value === \"string\" && value.trim().length > 0) url.searchParams.set(key, value);\n\treturn `${url.pathname}${url.search}`;\n}\nfunction buildOpenMeldOrganizationWebUrl(input) {\n\tconst organizationSlug = nonEmptyStringSchema.parse(input.organizationSlug);\n\tconst url = parseHttpUrl(input.webAppUrl, \"Web app URL\");\n\turl.hash = \"\";\n\turl.pathname = buildOrganizationRootPath(organizationSlug);\n\turl.search = \"\";\n\treturn url.toString();\n}\nfunction buildOpenMeldNavigationAction(input) {\n\tconst target = openMeldNavigationTargetSchema.parse(input.target);\n\tconst url = parseHttpUrl(input.organizationWebUrl, \"Organization Web URL\");\n\turl.hash = \"\";\n\turl.search = \"\";\n\tconst organizationPath = url.pathname.replace(TRAILING_SLASH_PATTERN, \"\");\n\tlet label;\n\tswitch (target.kind) {\n\t\tcase \"organization_app\":\n\t\t\tlabel = \"Open GitHub access\";\n\t\t\turl.pathname = `${organizationPath}/center-agent/plugins/${encodePathSegment(target.service)}`;\n\t\t\tbreak;\n\t\tcase \"space\":\n\t\t\tlabel = \"Open this Space\";\n\t\t\turl.pathname = `${organizationPath}/spaces/${encodePathSegment(target.spaceId)}`;\n\t\t\tbreak;\n\t\tcase \"projects\":\n\t\t\tlabel = \"Open Projects\";\n\t\t\turl.pathname = `${organizationPath}/projects`;\n\t\t\tbreak;\n\t\tcase \"project\":\n\t\t\tlabel = \"Open this Project\";\n\t\t\turl.pathname = `${organizationPath}/projects/${encodePathSegment(target.projectId)}`;\n\t\t\tbreak;\n\t\tcase \"slack_identity_link\": throw new TypeError(\"Slack identity-link actions must be issued by OpenMeld Core.\");\n\t\tcase \"message_channel_identity_link\": throw new TypeError(\"Message Channel identity-link actions must be issued by OpenMeld Core.\");\n\t\tcase \"computer_setup\":\n\t\t\turl.pathname = `${organizationPath}/connect`;\n\t\t\tif (target.mode === \"setup\") {\n\t\t\t\tlabel = \"Connect this computer\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\turl.searchParams.set(\"connectedComputerId\", target.connectedComputerId);\n\t\t\turl.searchParams.set(\"session\", \"fresh\");\n\t\t\tif (target.mode === \"reconnect\") {\n\t\t\t\tlabel = \"Reconnect this computer\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlabel = \"Update OpenMeld on Computer\";\n\t\t\turl.searchParams.set(\"serviceAction\", \"update_service\");\n\t\t\turl.searchParams.sort();\n\t\t\tbreak;\n\t\tdefault: return unreachableNavigationTarget(target);\n\t}\n\treturn navigationActionSchema.parse({\n\t\tlabel,\n\t\ttarget,\n\t\turl: url.toString()\n\t});\n}\nfunction buildSlackIdentityLinkNavigationAction(input) {\n\tnonEmptyStringSchema.parse(input.organizationName);\n\tconst token = nonEmptyStringSchema.parse(input.token);\n\tconst url = parseHttpUrl(input.webAppUrl, \"Web app URL\");\n\turl.hash = \"\";\n\turl.pathname = \"/link-slack\";\n\turl.search = \"\";\n\turl.searchParams.set(\"token\", token);\n\treturn navigationActionSchema.parse({\n\t\tlabel: input.purpose === \"optional_setup\" ? \"Connect my account\" : \"Connect my account and continue\",\n\t\ttarget: {\n\t\t\tkind: \"message_channel_identity_link\",\n\t\t\tpurpose: input.purpose ?? \"continue_request\"\n\t\t},\n\t\turl: url.toString()\n\t});\n}\nfunction unreachableNavigationTarget(target) {\n\tthrow new TypeError(`Unsupported OpenMeld navigation target: ${target}`);\n}\nfunction encodePathSegment(value) {\n\treturn encodeURIComponent(value);\n}\nfunction parseHttpUrl(value, label) {\n\tconst result = openMeldWebUrlSchema.safeParse(value);\n\tif (!result.success) throw new TypeError(`${label} must use HTTP or HTTPS.`);\n\treturn new URL(result.data);\n}\n//#endregion\nexport { buildOpenMeldNavigationAction, buildOpenMeldOrganizationWebUrl, buildOrganizationPluginPath, buildOrganizationPluginsPath, buildOrganizationRootPath, buildOrganizationSpacePath, buildSlackIdentityLinkNavigationAction, computerSetupModeSchema, computerSetupNavigationTargetSchema, navigationActionSchema, openMeldNavigationTargetSchema, openMeldWebUrlSchema };\n\n//# sourceMappingURL=navigation-action.js.map","//#region src/runtime-coordinator-reason-code.ts\nconst RUNTIME_COORDINATOR_ACCEPTED_DISPATCH_PAYLOAD_CONFLICT_REASON_CODE = \"runtime_coordinator.head_authority_conflict.accepted_dispatch_payload\";\nconst RUNTIME_COORDINATOR_RETIRED_TERMINAL_HEAD_REDRIVE_REASON_CODE = \"runtime_coordinator.retired_terminal_head_redrive_already_recorded\";\n//#endregion\nexport { RUNTIME_COORDINATOR_ACCEPTED_DISPATCH_PAYLOAD_CONFLICT_REASON_CODE, RUNTIME_COORDINATOR_RETIRED_TERMINAL_HEAD_REDRIVE_REASON_CODE };\n\n//# sourceMappingURL=runtime-coordinator-reason-code.js.map","import { formatAgentRecoveryActionLabel } from \"./agent-recovery-action.js\";\nimport { RUNTIME_COORDINATOR_ACCEPTED_DISPATCH_PAYLOAD_CONFLICT_REASON_CODE } from \"./runtime-coordinator-reason-code.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/public-agent-failure-reason.ts\nconst PROJECT_LOCAL_CONNECTION_FAILURE_REASON_CODES = [\n\t\"project.local_connection.missing\",\n\t\"project.local_connection.folder_missing\",\n\t\"project.local_connection.invalid\"\n];\nconst projectLocalConnectionFailureReasonCodeSchema = z$1.enum(PROJECT_LOCAL_CONNECTION_FAILURE_REASON_CODES);\nconst CODEX_UPGRADE_REQUIRED_REASON = \"Codex on this computer can't use the selected model. Update Codex or choose another Codex installation, then try again.\";\nconst CENTER_AGENT_REQUEST_FAILED_PUBLIC_COPY = \"OpenMeld ran into a problem, so Center Agent couldn't finish your request. You didn't do anything wrong. Try again. If it still doesn't work, open Diagnostics in OpenMeld. If you can't open OpenMeld, ask the person who set it up for your team.\";\nconst CENTER_AGENT_EMPTY_REPLY_PUBLIC_COPY = \"Center Agent didn't return a reply. Try again. If it keeps happening, open diagnostics in OpenMeld.\";\nconst CENTER_AGENT_REQUEST_START_FAILED_PUBLIC_COPY = \"Center Agent couldn't start this request. Try again. If it keeps happening, open diagnostics in OpenMeld.\";\nconst CENTER_AGENT_SOURCE_MESSAGE_MISSING_PUBLIC_COPY = \"OpenMeld couldn't find the message that started this request, so Center Agent did not run. Send the request again.\";\nconst CENTER_AGENT_TEMPORARILY_UNAVAILABLE_PUBLIC_COPY = \"Center Agent isn't available right now. Try again in a moment.\";\nconst CENTER_AGENT_ORGANIZATION_UNAVAILABLE_PUBLIC_COPY = \"Center Agent is currently turned off for this Organization. Contact OpenMeld support. You can open diagnostics in OpenMeld to share more details.\";\nconst CENTER_AGENT_CONTEXT_WINDOW_EXCEEDED_PUBLIC_COPY = \"This conversation has grown too long for Center Agent to continue in one request. Try again; OpenMeld will shorten older messages before continuing.\";\nconst CENTER_AGENT_REQUEST_STOPPED_PUBLIC_COPY = \"This request was stopped.\";\nconst CENTER_AGENT_EXECUTION_IDENTITY_MISMATCH_PUBLIC_COPY = \"OpenMeld stopped this request because it could not confirm that the reply came from your Center Agent. Send the request again. If it keeps happening, open diagnostics in OpenMeld.\";\nconst CENTER_AGENT_REPLY_PUBLICATION_FAILED_PUBLIC_COPY = \"Center Agent finished your request, but OpenMeld could not show the reply here. Try again. If it keeps happening, open diagnostics in OpenMeld.\";\nconst CENTER_AGENT_TURN_TIMEOUT_PUBLIC_COPY = \"Center Agent took too long to finish this request. Try again. If it keeps happening, open diagnostics in OpenMeld.\";\nconst REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_REASON_CODE = \"remote_agent.tool_result_too_large\";\nconst REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_PUBLIC_COPY = \"Center Agent tried to process too much data at once. Try again; it will read large files in smaller sections. If this keeps happening, open diagnostics.\";\nconst REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_REASON_CODE = \"remote_agent.conversation_history_limit_exceeded\";\nconst REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_PUBLIC_COPY = \"Center Agent could not continue this conversation automatically. Try again or open diagnostics.\";\nconst REMOTE_AGENT_WORK_LOOP_CONTINUATION_LIMIT_REASON_CODE = \"remote_agent.work_loop_continuation_limit_exceeded\";\nconst REMOTE_AGENT_WORK_LOOP_CONTINUATION_LIMIT_PUBLIC_COPY = \"Center Agent kept working but could not finish this request within the safe execution limit. Try again or open diagnostics.\";\nconst EXACT_PATTERN_PREFIX = \"=\";\nconst RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY = \"The requested action was blocked by the Agent Profile’s permission settings. Review its permissions and choose a less restrictive mode only if you trust the access it grants, then wake the agent again.\";\nconst PROVIDER_UNAVAILABLE_PUBLIC_COPY = \"The selected model is not responding right now. Switch this agent to another model or try again later.\";\nconst CURSOR_MODEL_INVENTORY_UNAVAILABLE_PUBLIC_COPY = \"Cursor couldn't confirm which models are available right now. Try waking the agent again.\";\nconst UNSUPPORTED_MODEL_PUBLIC_COPY = \"The selected model is no longer available for this account. Choose another model in the Agent Profile, then try again.\";\nconst UNSUPPORTED_REASONING_PUBLIC_COPY = \"The selected model does not support that reasoning setting. Choose an offered model and reasoning setting, then wake the agent again.\";\nconst INTERACTION_PERMISSION_REQUIRED_PUBLIC_COPY = \"The local agent asked for permission before it could continue. OpenMeld cannot collect that permission response yet. Review the Agent Profile’s permission mode, then wake the agent again.\";\nconst INTERACTION_QUESTION_REQUIRED_PUBLIC_COPY = \"The local agent asked a question before it could continue. OpenMeld cannot collect that answer yet. Run the task directly in the local agent, or adjust the prompt so it can finish without asking, then wake it again.\";\nconst INTERACTION_PLAN_REQUIRED_PUBLIC_COPY = \"The local agent asked for plan approval before it could continue. OpenMeld cannot collect that approval yet. Run the task directly in the local agent, or use a mode that does not require plan approval, then wake it again.\";\nconst INTERACTION_UNSUPPORTED_PUBLIC_COPY = \"The local agent requested an interactive response that OpenMeld does not support yet. Run the task directly in the local agent, resolve the request there, then wake it again.\";\nconst HTML_ERROR_BODY_RE = /^\\s*</;\nconst DISPATCH_ERROR_SUMMARY_MAX_LENGTH = 512;\nfunction resolveCenterAgentCallbackFailureMessage(input) {\n\tswitch (input.failureCode) {\n\t\tcase \"remote_agent.empty_assistant_response\": return CENTER_AGENT_EMPTY_REPLY_PUBLIC_COPY;\n\t\tcase \"remote_agent.execution_cancelled\": return CENTER_AGENT_REQUEST_STOPPED_PUBLIC_COPY;\n\t\tcase \"remote_agent.turn.context_window_exceeded\": return CENTER_AGENT_CONTEXT_WINDOW_EXCEEDED_PUBLIC_COPY;\n\t\tcase \"remote_agent.execution_identity_mismatch\": return CENTER_AGENT_EXECUTION_IDENTITY_MISMATCH_PUBLIC_COPY;\n\t\tcase \"remote_agent.callback_publish_failed\": return CENTER_AGENT_REPLY_PUBLICATION_FAILED_PUBLIC_COPY;\n\t\tcase \"remote_agent.provider.authentication_failed\":\n\t\tcase \"remote_agent.provider.rate_limited\":\n\t\tcase \"remote_agent.provider.unavailable\": return resolveMappedPublicAgentFailureReason(input.failureCode, \"Center Agent\") ?? \"OpenMeld ran into a problem, so Center Agent couldn't finish your request. You didn't do anything wrong. Try again. If it still doesn't work, open Diagnostics in OpenMeld. If you can't open OpenMeld, ask the person who set it up for your team.\";\n\t\tcase \"remote_agent.turn.timeout\": return CENTER_AGENT_TURN_TIMEOUT_PUBLIC_COPY;\n\t\tcase REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_REASON_CODE: return REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_PUBLIC_COPY;\n\t\tcase REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_REASON_CODE: return REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_PUBLIC_COPY;\n\t\tcase REMOTE_AGENT_WORK_LOOP_CONTINUATION_LIMIT_REASON_CODE: return REMOTE_AGENT_WORK_LOOP_CONTINUATION_LIMIT_PUBLIC_COPY;\n\t\tcase \"remote_agent.turn_not_completed\": return CENTER_AGENT_REQUEST_FAILED_PUBLIC_COPY;\n\t\tdefault: return CENTER_AGENT_REQUEST_FAILED_PUBLIC_COPY;\n\t}\n}\nconst DISPATCH_ERROR_REDACTION_REPLACEMENTS = [\n\t[/\\b(authorization\\s*:\\s*(?:bearer|basic)\\s+)[^\\s,;]+/gi, \"$1[redacted]\"],\n\t[/\\b((?:set-cookie|cookie)\\s*:\\s*)[^\\r\\n]+/gi, \"$1[redacted]\"],\n\t[/\\b((?:api[_-]?key|access[_-]?token|refresh[_-]?token|secret|password)\\s*[:=]\\s*[\"']?)[^\"',;\\s}]+/gi, \"$1[redacted]\"],\n\t[/\\bopenMeldDaemon_[A-Za-z0-9._~:/+=-]+/g, \"[redacted]\"],\n\t[/\\b[A-Fa-f0-9]{40,}\\b/g, \"[redacted]\"],\n\t[/\\b[A-Za-z0-9+/]{40,}={0,2}/g, \"[redacted]\"]\n];\nconst PUBLIC_FAILURE_CODE_CATEGORY_BY_PREFIX = [\n\t{\n\t\tcategory: \"the local agent needs an interaction\",\n\t\tprefixes: [\"interaction.\"]\n\t},\n\t{\n\t\tcategory: \"the runtime rejected the request\",\n\t\tprefixes: [\"runtime.\"]\n\t},\n\t{\n\t\tcategory: \"the account needs re-authentication\",\n\t\tprefixes: [\n\t\t\t\"auth.\",\n\t\t\t\"credential.\",\n\t\t\t\"login.\"\n\t\t]\n\t},\n\t{\n\t\tcategory: \"the model provider had an issue\",\n\t\tprefixes: [\n\t\t\t\"cursor.plan_\",\n\t\t\t\"provider.\",\n\t\t\t\"provider_account.\",\n\t\t\t\"model.\",\n\t\t\t\"upstream_unreachable\",\n\t\t\t\"provider_unreachable\",\n\t\t\t\"provider_exit_error\"\n\t\t]\n\t},\n\t{\n\t\tcategory: \"the computer connection had an issue\",\n\t\tprefixes: [\n\t\t\t\"daemon.\",\n\t\t\t\"service.\",\n\t\t\t\"local_service.\",\n\t\t\t\"route.\",\n\t\t\t\"background_helper.\",\n\t\t\t\"controller.\"\n\t\t]\n\t},\n\t{\n\t\tcategory: \"OpenMeld could not route this Wake\",\n\t\tprefixes: [\n\t\t\t\"claim_eligibility.\",\n\t\t\t\"dispatch.\",\n\t\t\t\"runtime_coordinator.\",\n\t\t\t\"agent_profile_binding.\"\n\t\t]\n\t},\n\t{\n\t\tcategory: \"the reply could not be formatted\",\n\t\tprefixes: [\"openmeld.space_action.\", \"workspace.\"]\n\t}\n];\nfunction resolvePublicFailureCodeCategory(errorCode) {\n\tconst normalized = errorCode.toLowerCase();\n\treturn PUBLIC_FAILURE_CODE_CATEGORY_BY_PREFIX.find((entry) => entry.prefixes.some((prefix) => normalized.startsWith(prefix)))?.category ?? \"the agent hit an unclassified error\";\n}\nfunction normalizeDispatchErrorSummaryPart(value) {\n\tif (typeof value !== \"string\") return null;\n\tlet normalized = value.trim().replace(/\\s+/g, \" \");\n\tif (!normalized) return null;\n\tfor (const [pattern, replacement] of DISPATCH_ERROR_REDACTION_REPLACEMENTS) normalized = normalized.replace(pattern, replacement);\n\treturn normalized;\n}\nfunction truncateDispatchErrorSummary(value) {\n\tif (value.length <= 512) return value;\n\treturn `${value.slice(0, 511).trimEnd()}…`;\n}\nfunction sanitizeDispatchErrorSummary(errorMessage) {\n\tconst normalizedInput = normalizeDispatchErrorSummaryPart(errorMessage);\n\tif (!normalizedInput) return null;\n\ttry {\n\t\tconst parsed = JSON.parse(errorMessage ?? \"\");\n\t\tif (parsed && typeof parsed === \"object\" && !Array.isArray(parsed)) {\n\t\t\tconst root = parsed;\n\t\t\tconst nested = root.error && typeof root.error === \"object\" && !Array.isArray(root.error) ? root.error : root;\n\t\t\tconst code = normalizeDispatchErrorSummaryPart(nested.code);\n\t\t\tconst type = normalizeDispatchErrorSummaryPart(nested.type);\n\t\t\tconst message = normalizeDispatchErrorSummaryPart(nested.message) ?? normalizeDispatchErrorSummaryPart(nested.detail) ?? normalizeDispatchErrorSummaryPart(root.detail);\n\t\t\tlet classification = type;\n\t\t\tif (code) classification = type && type !== code ? `${code} (${type})` : code;\n\t\t\tconst summary = [classification, message].filter(Boolean).join(\": \");\n\t\t\tif (summary) return truncateDispatchErrorSummary(summary);\n\t\t\treturn \"The provider request failed; see operator logs for details.\";\n\t\t}\n\t} catch {}\n\tif (HTML_ERROR_BODY_RE.test(errorMessage ?? \"\")) return \"The provider request failed; see operator logs for details.\";\n\treturn truncateDispatchErrorSummary(normalizedInput);\n}\nconst CONTROLLER_SIGN_IN_AVAILABILITY_COPY_BY_ID = {\n\t\"claude-code\": {\n\t\tsummary: \"Run claude in a terminal on this computer, then sign in to Claude Code.\",\n\t\ttooltip: \"Claude Code is not signed in. Run claude in a terminal on this computer.\"\n\t},\n\tcodex: {\n\t\tcontrollerInterfaceDescription: \"Codex CLI is installed, but this computer is not signed in to Codex.\",\n\t\tsummary: \"Run codex login in a terminal on this computer to sign in to Codex.\",\n\t\ttooltip: \"Codex is not signed in. Run codex login in a terminal on this computer.\"\n\t},\n\tcursor: {\n\t\tcontrollerInterfaceDescription: \"Cursor CLI is installed, but this computer is not signed in to Cursor CLI.\",\n\t\tsummary: \"Run cursor-agent login in a terminal on this computer to sign in to Cursor CLI.\",\n\t\ttooltip: \"Cursor CLI is not signed in. Run cursor-agent login in a terminal on this computer.\"\n\t},\n\t\"grok-build\": {\n\t\tcontrollerInterfaceDescription: \"Grok Build is installed, but this computer is not signed in to Grok.\",\n\t\tsummary: \"Run grok login in a terminal on this computer to sign in to Grok.\",\n\t\ttooltip: \"Grok Build is not signed in. Run grok login in a terminal on this computer.\"\n\t},\n\topenclaw: {\n\t\tsummary: \"Check the model provider sign-in in OpenClaw on this computer.\",\n\t\ttooltip: \"OpenClaw's model provider sign-in needs attention on this computer.\"\n\t},\n\topencode: {\n\t\tsummary: \"Run opencode auth login in a terminal on this computer to sign in to OpenCode.\",\n\t\ttooltip: \"OpenCode is not signed in. Run opencode auth login in a terminal on this computer.\"\n\t}\n};\nconst DEFAULT_CONTROLLER_SIGN_IN_AVAILABILITY_COPY = {\n\tsummary: \"Sign in to this local agent from a terminal on this computer.\",\n\ttooltip: \"This local agent is not signed in on this computer.\"\n};\nconst PUBLIC_AGENT_AVAILABILITY_ONLY_COPY_BY_CODE = [\n\t{\n\t\tavailabilityBadgeLabel: \"Removed\",\n\t\tavailabilitySummary: \"This agent profile no longer exists.\",\n\t\tavailabilityTooltip: \"Agent profile deleted\",\n\t\tpatterns: [\"=agent_profile.not_found\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Disconnected\",\n\t\tavailabilitySummary: \"Connect the Center Agent before waking it from this Space.\",\n\t\tavailabilityTooltip: \"Disconnected\",\n\t\tpatterns: [\n\t\t\t\"=center_agent.designation_required\",\n\t\t\t\"=center_agent.designation_lookup_failed\",\n\t\t\t\"=center_agent.designation_store_unavailable\"\n\t\t]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Available\",\n\t\tavailabilitySummary: \"This Agent can answer now.\",\n\t\tavailabilityTooltip: \"Agent available\",\n\t\tpatterns: [\"=remote_agent.available\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Resting\",\n\t\tavailabilitySummary: \"Center Agent is resting until the next budget window.\",\n\t\tavailabilityTooltip: \"Center Agent resting\",\n\t\tpatterns: [\"=remote_agent.budget_resting\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Center Agent cannot answer right now.\",\n\t\tavailabilityTooltip: \"Center Agent unavailable\",\n\t\tpatterns: [\"remote_agent.\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Available\",\n\t\tavailabilitySummary: \"Available for Wake\",\n\t\tavailabilityTooltip: \"Available for Wake\",\n\t\tpatterns: [\"=agent_execution.ready\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"Checking this agent's Wake availability.\",\n\t\tavailabilityTooltip: \"Checking Wake availability\",\n\t\tpatterns: [\"=agent_execution.check_status\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"OpenMeld couldn't check this local agent. It will try again.\",\n\t\tavailabilityTooltip: \"Local agent check unavailable\",\n\t\tpatterns: [\"=controller.interface.check_failed\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"Checking computer connection.\",\n\t\tavailabilityTooltip: \"Checking computer connection\",\n\t\tpatterns: [\"=local_service.not_checked\", \"=service.not_checked\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"Checking this agent's Wake route.\",\n\t\tavailabilityTooltip: \"Checking Wake route\",\n\t\tpatterns: [\"=wake_route.registration_pending\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Connect\",\n\t\tavailabilitySummary: \"Connect a local agent before this profile can reply.\",\n\t\tavailabilityTooltip: \"Connect local agent\",\n\t\tpatterns: [\"=wake_route.registration_skipped\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Resolve this agent's Wake route before it can reply.\",\n\t\tavailabilityTooltip: \"Wake route unavailable\",\n\t\tpatterns: [\"=wake_route.registration_rejected\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"This Agent's computer connection is unavailable right now.\",\n\t\tavailabilityTooltip: \"Computer connection unavailable\",\n\t\tpatterns: [\"=wake_route.registration_unavailable\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"This Agent's computer is offline.\",\n\t\tavailabilityTooltip: \"Agent computer is offline\",\n\t\tpatterns: [\"=wake_route.registration_expired\"]\n\t}\n];\nconst buildMalformedSpaceReplyCopy = (targetName) => `${targetName} answered in its local conversation, but it did not tell OpenMeld whether to post a message or stay silent, so nothing was posted.`;\nconst buildEmptyAgentReplyCopy = (targetName) => `${targetName} finished without returning any text, so OpenMeld had nothing to post. Wake ${formatObjectTargetName(targetName)} again. If this keeps happening, open diagnostics.`;\nconst buildMissingAgentReplyIdentityCopy = (targetName) => `OpenMeld received a result from ${formatObjectTargetName(targetName)}, but the result did not identify which local agent produced it. To avoid posting under the wrong agent, OpenMeld did not publish it. Open diagnostics to inspect the local agent connection.`;\nconst PUBLIC_FAILURE_RECOVERY_BY_CODE = [\n\t{\n\t\tbody: (targetName) => {\n\t\t\treturn `${targetName === \"This agent\" ? \"The agent\" : targetName} finished, but OpenMeld couldn't post its reply. Wake ${targetName === \"This agent\" ? \"the agent\" : targetName} again. If this keeps happening, open diagnostics.`;\n\t\t},\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=runtime_coordinator.publication_retry_exhausted\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} couldn’t start because its Project isn’t connected on the computer that runs it. Connect that Project on the Agent’s computer, then try again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=project.local_connection.missing\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} couldn’t start because its Project folder is no longer available on the computer that runs it. Reconnect the folder in Projects, then try again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=project.local_connection.folder_missing\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"OpenMeld ran into a system problem before this Wake could run. Try again. If it keeps happening, open diagnostics.\",\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"=dispatch.storage.schema_missing\",\n\t\t\t\"dispatch.storage_not_ready\",\n\t\t\t\"dispatch.storage_unavailable\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_PUBLIC_COPY,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [`=${REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_REASON_CODE}`],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_PUBLIC_COPY,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [`=${REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_REASON_CODE}`],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Sign-in needed\",\n\t\tavailabilitySummary: (context) => resolveControllerSignInAvailabilityCopy(context).summary,\n\t\tavailabilityTooltip: (context) => resolveControllerSignInAvailabilityCopy(context).tooltip,\n\t\tbody: (targetName) => `${targetName}'s local provider login expired on its computer. Re-authenticate the local agent there (its own CLI, not OpenMeld), then check its status here.`,\n\t\tcontrollerInterfaceDescription: (context) => resolveControllerSignInAvailabilityCopy(context).controllerInterfaceDescription,\n\t\tcontrollerInterfaceDescriptionFallback: \"Installed, but this controller is not signed in.\",\n\t\tkind: \"local_service\",\n\t\tmappedReasonBody: \"The model provider rejected this request because the local provider login expired. Re-authenticate the local agent on its computer, then wake the agent again.\",\n\t\tpatterns: [\n\t\t\t\"=controller.auth.unauthenticated\",\n\t\t\t\"auth.\",\n\t\t\t\"auth.required\",\n\t\t\t\"credential.\",\n\t\t\t\"login.\"\n\t\t],\n\t\tprimaryActionId: \"reconnect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName}'s selected model is not available for this agent's account. Switch it to a different model, then wake the agent again.`,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: UNSUPPORTED_MODEL_PUBLIC_COPY,\n\t\tpatterns: [\"model.unsupported\", \"unsupported_model\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY,\n\t\tpatterns: [\"permission.denied.runtime\"],\n\t\tprimaryActionId: \"review_agent_permissions\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} stopped this Wake because the current Cursor plan has reached its usage limit. Upgrade the Cursor plan, then wake ${targetName} again.`,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: (targetName) => `${targetName} stopped this Wake because the current Cursor plan has reached its usage limit. Upgrade the Cursor plan, then wake ${targetName} again.`,\n\t\tpatterns: [\"=cursor.plan_upgrade_required\"],\n\t\tprimaryActionId: \"manage_cursor_plan\",\n\t\tpreferMappedReasonOverDetail: true,\n\t\trecoveryTarget: \"cursor_account\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} reached a current Usage Limit and cannot start new work. Review Usage Limits before waking it again.`,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: (targetName) => `${targetName} reached a current Usage Limit and cannot start new work. Review Usage Limits before waking it again.`,\n\t\tpatterns: [\"=usage_exhausted\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\tpreferMappedReasonOverDetail: true,\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: (targetName) => `OpenMeld is still checking ${targetName}'s current Usage. Wait a moment, then wake ${targetName} again.`,\n\t\tkind: \"system_retry\",\n\t\tmappedReasonBody: \"OpenMeld is still checking this agent's current Usage. Wait a moment, then wake it again.\",\n\t\tpatterns: [\"=usage_checking\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName}'s model provider account does not have enough credits for this Wake. Add credits or update billing directly with the provider, then wake the agent again.`,\n\t\tkind: \"system_retry\",\n\t\tmappedReasonBody: \"The model provider rejected this request because the provider account does not have enough credits. Add credits or update billing directly with the provider, then wake the agent again.\",\n\t\tpatterns: [\n\t\t\t\"provider.insufficient_balance\",\n\t\t\t\"quota.exceeded\",\n\t\t\t\"insufficient_quota\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} hit a provider rate limit before this Wake could reply. Wait a moment, then wake the agent again.`,\n\t\tkind: \"system_retry\",\n\t\tmappedReasonBody: \"The model provider rate-limited this request. Wait a moment, then wake the agent again.\",\n\t\tpatterns: [\n\t\t\t\"provider.rate_limited\",\n\t\t\t\"provider.rate_limit\",\n\t\t\t\"rate_limited\",\n\t\t\t\"rate_limit\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName}'s provider subscription does not include the access this agent needs. Review the provider plan or account on its computer before waking it again.`,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: (targetName) => `${targetName}'s provider subscription does not include the access this agent needs. Review the provider plan or account on its computer before waking it again.`,\n\t\tpatterns: [\"provider.subscription_access_unavailable\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName}'s selected model is not responding right now. Switch this agent to another model or try again later.`,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: PROVIDER_UNAVAILABLE_PUBLIC_COPY,\n\t\tpatterns: [\n\t\t\t\"provider.unavailable\",\n\t\t\t\"provider.bad_gateway\",\n\t\t\t\"model.provider_unavailable\"\n\t\t],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Fix provider access before this agent can reply.\",\n\t\tavailabilityTooltip: \"Provider access needed\",\n\t\tbody: (targetName) => `${targetName} is connected, but its provider subscription does not include the access this agent needs. Review the provider plan or account on its computer before waking it again.`,\n\t\tkind: \"account_access\",\n\t\tpatterns: [\"=provider_account.subscription_access_unavailable\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Fix provider access before this agent can reply.\",\n\t\tavailabilityTooltip: \"Provider access needed\",\n\t\tbody: (targetName) => `${targetName} is connected, but its organization has disabled the provider access this agent needs. Ask the provider account admin to enable access before waking it again.`,\n\t\tkind: \"account_access\",\n\t\tpatterns: [\"=provider_account.organization_access_disabled\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Review the provider plan, billing, or credits.\",\n\t\tavailabilityTooltip: \"Provider quota exhausted\",\n\t\tbody: (targetName) => `${targetName} is connected, but its provider quota or credit balance is exhausted. Review the provider plan, billing, or credits before waking it again.`,\n\t\tkind: \"account_access\",\n\t\tpatterns: [\"=provider_account.capacity_exhausted\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Fix provider access before this agent can reply.\",\n\t\tavailabilityTooltip: \"Provider access needed\",\n\t\tbody: (targetName) => `${targetName}'s provider account needs attention on its computer. Fix access with the provider there, then check its status here.`,\n\t\tkind: \"account_access\",\n\t\tpatterns: [\"provider_account.\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"This agent shares a reply conversation with another Agent Profile.\",\n\t\tavailabilityTooltip: \"Duplicate reply conversation\",\n\t\tbody: (targetName) => `${targetName} shares a reply conversation with another Agent Profile. Review agent settings and choose one Agent Profile to keep this reply conversation.`,\n\t\tkind: \"local_agent_connection\",\n\t\tpatterns: [\"=agent_profile_binding.controller_conversation_conflict\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"This agent cannot reply from this computer right now.\",\n\t\tavailabilityTooltip: \"Unavailable for Wake\",\n\t\tbody: (targetName) => `${targetName} is connected to a different OpenMeld account. Sign in with the correct OpenMeld account, then run setup again.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"agent_profile_binding.owner_mismatch\",\n\t\t\t\"claim_eligibility.binding_owner_mismatch\",\n\t\t\t\"claim_eligibility.owner_mismatch\",\n\t\t\t\"dispatch.claim_eligibility.binding.owner_mismatch\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Workspace unavailable\",\n\t\tavailabilitySummary: \"OpenMeld could not verify this Agent Profile's workspace.\",\n\t\tavailabilityTooltip: \"OpenMeld could not verify this Agent Profile's workspace\",\n\t\tbody: (targetName) => `OpenMeld could not verify ${targetName}'s workspace. Try again, and open diagnostics if the problem continues.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"=organization_binding_authorization.lookup_failed\",\n\t\t\t\"=organization_binding_authorization.preference_unavailable\",\n\t\t\t\"=organization_binding_authorization.space_org_unavailable\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Wrong workspace\",\n\t\tavailabilitySummary: \"This Agent Profile belongs to a different workspace.\",\n\t\tavailabilityTooltip: \"This Agent Profile belongs to another workspace\",\n\t\tbody: (targetName) => `${targetName} belongs to a different workspace. Choose an Agent Profile created in this workspace.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=agent_profile.organization_mismatch\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Workspace unavailable\",\n\t\tavailabilitySummary: \"OpenMeld could not verify this Agent Profile's workspace.\",\n\t\tavailabilityTooltip: \"OpenMeld could not verify this Agent Profile's workspace\",\n\t\tbody: (targetName) => `OpenMeld could not verify ${targetName}'s workspace. Try again, and open diagnostics if the problem continues.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"=agent_profile.organization_context_missing\",\n\t\t\t\"=agent_profile.organization_lookup_failed\",\n\t\t\t\"=agent_profile.space_organization_unavailable\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Wrong workspace\",\n\t\tavailabilitySummary: \"This Agent Profile cannot be used in this workspace.\",\n\t\tavailabilityTooltip: \"This Agent Profile cannot be used here\",\n\t\tbody: (targetName) => `${targetName} cannot be used in this workspace. Choose an Agent Profile created here.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"=organization_binding_authorization.required\",\n\t\t\t\"=organization_binding_authorization.binding_required\",\n\t\t\t\"=organization_binding_authorization.no_bindings\",\n\t\t\t\"=organization_binding_authorization.profile_org_mismatch\",\n\t\t\t\"=organization_binding_authorization.profile_owner_mismatch\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Connection mismatch\",\n\t\tavailabilitySummary: \"This Agent's saved connection does not match this computer setup. To use this setup, create a new Agent. The existing Agent has not been moved.\",\n\t\tavailabilityTooltip: \"Agent connection does not match this setup\",\n\t\tbody: (targetName) => `${targetName}'s saved connection does not match this computer setup. To use this setup, create a new Agent. The existing Agent has not been moved.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"claim_eligibility.binding_runtime_mismatch\",\n\t\t\t\"claim_eligibility.openmeld_service_runtime_id_mismatch\",\n\t\t\t\"claim_eligibility.binding_capability_mismatch\",\n\t\t\t\"=local_service.identity_mismatch\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} is connected to an older computer setup. Update setup on this computer, then try again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\n\t\t\t\"claim_eligibility.openmeld_service_runtime_id_missing\",\n\t\t\t\"claim_eligibility.openmeld_service_runtime_id_not_opaque\",\n\t\t\t\"claim_eligibility.openmeld_service_runtime_identity_invalid\",\n\t\t\t\"claim_eligibility.runtime_missing\",\n\t\t\t\"claim_eligibility.runtime_unavailable\",\n\t\t\t\"claim_eligibility.agent_controller_report_unknown\",\n\t\t\t\"claim_eligibility.agent_controller_report_missing\",\n\t\t\t\"claim_eligibility.agent_controller_report_stale\",\n\t\t\t\"claim_eligibility.agent_controller_report_disabled\",\n\t\t\t\"claim_eligibility.agent_controller_report_unavailable\"\n\t\t],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Connect\",\n\t\tavailabilitySummary: \"Connect a local agent before this profile can reply.\",\n\t\tavailabilityTooltip: \"Connect local agent\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld needs a current local agent connection from this computer before it can reply.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=agent_profile_binding.agent_controller_report_missing\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Connect\",\n\t\tavailabilitySummary: \"Connect a local agent before this profile can reply.\",\n\t\tavailabilityTooltip: \"Connect local agent\",\n\t\tbody: (targetName) => `${targetName} is connected, but this computer's local agent connection is out of date. Connect the local agent again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=agent_profile_binding.agent_controller_report_stale\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"Checking this agent's local controller.\",\n\t\tavailabilityTooltip: \"Checking local agent\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld needs a current local agent connection from this computer before it can reply.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=runtime.projection_missing\", \"=runtime.agent_controller_report_missing\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"Checking this agent's local controller.\",\n\t\tavailabilityTooltip: \"Checking local agent\",\n\t\tbody: (targetName) => `${targetName} is connected, but this computer's local agent connection is out of date. Connect the local agent again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=runtime.agent_controller_report_stale\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Connect\",\n\t\tavailabilitySummary: \"Connect a local agent before this profile can reply.\",\n\t\tavailabilityTooltip: \"Connect local agent\",\n\t\tbody: (targetName) => `${targetName} is in this space, but OpenMeld cannot tell which local agent should reply for it yet.`,\n\t\tkind: \"local_agent_connection\",\n\t\tmappedReasonBody: (targetName) => `No local agent has been selected to reply for ${formatObjectTargetName(targetName)} yet.`,\n\t\tpatterns: [\n\t\t\t\"agent_profile_binding.missing\",\n\t\t\t\"agent_profile_binding.disabled\",\n\t\t\t\"claim_eligibility.binding_missing\",\n\t\t\t\"claim_eligibility.binding_disabled\",\n\t\t\t\"claim_eligibility.binding_not_routable\",\n\t\t\t\"dispatch.claim_eligibility.blocked\",\n\t\t\t\"dispatch.claim_eligibility.binding.disabled_historical\",\n\t\t\t\"dispatch.claim_eligibility.binding.enabled_primary\",\n\t\t\t\"dispatch.claim_eligibility.binding.missing\",\n\t\t\t\"profile.unbound\"\n\t\t],\n\t\tmanualOnlyAgentDetail: \"No local agent selected for Wake\",\n\t\tprimaryActionId: \"choose_local_agent\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} has a conflicting reply connection. Wait a moment, then run setup again if the issue continues.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\n\t\t\t\"claim_eligibility.binding_conflict\",\n\t\t\t\"claim_eligibility.lease_conflict\",\n\t\t\t\"claim_eligibility.runtime_conflict\",\n\t\t\t\"dispatch.claim_eligibility.binding.conflict\"\n\t\t],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"OpenMeld could not verify permission to run this agent. Sign in again, then try once more.\",\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"claim_eligibility.caller_not_allowed\", \"claim_eligibility.not_read_after_caller_authorization_failed\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: \"This Wake request is no longer active. Send a new message and wake the agent again.\",\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\n\t\t\t\"claim_eligibility.non_wake_relation_not_dispatchable\",\n\t\t\t\"claim_eligibility.dispatch_evidence_missing\",\n\t\t\t\"claim_eligibility.dispatch_evidence_stale\",\n\t\t\t\"claim_eligibility.dispatch_missing\",\n\t\t\t\"claim_eligibility.dispatch_terminal\",\n\t\t\t\"claim_eligibility.wake_not_allowed_at_creation\",\n\t\t\t\"claim_eligibility.wake_no_longer_allowed_by_policy\",\n\t\t\t\"claim_eligibility.space_liveness_missing\",\n\t\t\t\"claim_eligibility.space_liveness_stale\",\n\t\t\t\"claim_eligibility.policy_version_mismatch\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: \"This agent is no longer a member of this space. Add it back from the space's members panel, then try again.\",\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"claim_eligibility.target_no_longer_member\", \"claim_eligibility.target_not_claimable_agent_member\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `OpenMeld stopped this Wake for ${formatObjectTargetName(targetName)} because the Wake details changed after it was accepted. Send the request again. If this keeps happening, open Diagnostics.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [`=${RUNTIME_COORDINATOR_ACCEPTED_DISPATCH_PAYLOAD_CONFLICT_REASON_CODE}`],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `This Wake expired before it reached ${formatObjectTargetName(targetName)}. Reconnect the computer, then wake the Agent again.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"runtime_coordinator.delivery_expired\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `OpenMeld could not start ${formatObjectTargetName(targetName)} in time. Reconnect the computer, then wake the Agent again.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"daemon.delivery.start_timeout\", \"delivery.start_timeout\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"OpenMeld could not resume the Agent's conversation in time. Try waking the Agent again. If this keeps happening, open Diagnostics.\",\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=context.resume_timeout\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: \"OpenMeld could not read the latest Space messages to finish this reply. Open Diagnostics for details before trying again.\",\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=dispatch.agent_reply_observation.unavailable\", \"=dispatch.agent_reply_observation.no_progress\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} stopped making progress on this Wake. Reconnect the computer before trying again.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"daemon.delivery.execution_stalled\", \"runtime.progress_stale\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `OpenMeld received progress from ${formatObjectTargetName(targetName)}, but could not finish the final result in time.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"daemon.delivery.finalization_timeout\", \"delivery.result_timeout\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} took too long to finish this Wake. Reconnect the computer before trying again.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\n\t\t\t\"daemon.delivery.timeout\",\n\t\t\t\"local_adapter.timeout\",\n\t\t\t\"timed_out_after_output\",\n\t\t\t\"timed_out_no_output\",\n\t\t\t\"=timeout\"\n\t\t],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"Connect your computer before this Agent can reply.\",\n\t\tavailabilityTooltip: \"Computer not connected\",\n\t\tbody: (targetName) => `${targetName}'s computer is disconnected from OpenMeld. Reconnect the computer so it can receive local Wake work.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=service.not_running\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"Connect your computer before this Agent can reply.\",\n\t\tavailabilityTooltip: \"Computer not connected\",\n\t\tbody: (targetName) => `OpenMeld is not set up on ${formatPossessiveTargetName(targetName)} computer. Connect the computer so it can receive local Wake work.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=service.not_installed\"],\n\t\tprimaryActionId: \"connect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Needs attention\",\n\t\tavailabilitySummary: \"OpenMeld found a service problem on this computer. Open Computer details to check it.\",\n\t\tavailabilityTooltip: \"Check OpenMeld on Computer\",\n\t\tbody: (targetName) => `OpenMeld found a service problem on ${formatPossessiveTargetName(targetName)} computer. Open Computer details to see what needs attention.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=service.drifted\"],\n\t\tprimaryActionId: \"check_status\",\n\t\trecoveryTarget: \"computer\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"Connect your computer before this Agent can reply.\",\n\t\tavailabilityTooltip: \"Computer not connected\",\n\t\tbody: (targetName) => `${targetName}'s computer is not connected to the current OpenMeld account. Reconnect the computer.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=local_service.not_connected_for_account\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"Connect your computer before this Agent can reply.\",\n\t\tavailabilityTooltip: \"Computer not connected\",\n\t\tbody: (targetName) => `OpenMeld could not check ${formatPossessiveTargetName(targetName)} computer connection. Reconnect the computer and try again.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=local_service.unavailable\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Reconnecting\",\n\t\tavailabilitySummary: \"Computer is reconnecting.\",\n\t\tavailabilityTooltip: \"Reconnecting Computer\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld cannot see an active local Wake route from this computer yet. OpenMeld is checking the route from this computer.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=local_service.reconnecting\"],\n\t\tprimaryActionId: \"check_status\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Checking\",\n\t\tavailabilitySummary: \"Checking this agent's Wake route.\",\n\t\tavailabilityTooltip: \"Checking Wake route\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld cannot see an active local Wake route from this computer yet. OpenMeld is checking the route from this computer.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=agent_execution.route_missing\", \"=route.not_registered\"],\n\t\tprimaryActionId: \"check_status\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"This Agent's computer is offline.\",\n\t\tavailabilityTooltip: \"Agent computer is offline\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld cannot see an active local Wake route from this computer yet. OpenMeld is checking the route from this computer.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=agent_execution.route_offline\", \"=route.offline\"],\n\t\tprimaryActionId: \"check_status\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"This Agent's computer connection is unavailable right now.\",\n\t\tavailabilityTooltip: \"Computer connection unavailable\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld cannot see an active local Wake route from this computer yet. OpenMeld is checking the route from this computer.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=agent_execution.route_unavailable\", \"=route.unavailable\"],\n\t\tprimaryActionId: \"check_status\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Update\",\n\t\tavailabilitySummary: \"Update OpenMeld on your computer before this Agent can reply.\",\n\t\tavailabilityTooltip: \"Update OpenMeld on Computer\",\n\t\tbody: \"Update OpenMeld on this computer before it can receive local Wake work.\",\n\t\tkind: \"local_service\",\n\t\tpatterns: [\n\t\t\t\"background_helper.installed_outdated\",\n\t\t\t\"background_helper.update_required\",\n\t\t\t\"service.update_required\"\n\t\t],\n\t\tprimaryActionId: \"update_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"OpenMeld is not set up on this computer.\",\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"background_helper.not_installed\"],\n\t\tprimaryActionId: \"connect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `The computer is connected, but ${formatObjectTargetName(targetName)} did not become ready in time for this Wake. Try waking the Agent again in a moment.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=daemon.profile.pending_first_report\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `${formatObjectTargetName(targetName)} did not start before the deadline. This Wake has expired and will not run when the computer reconnects. Send a new Wake if the work is still needed.`,\n\t\tkind: \"request_ended\",\n\t\tpatterns: [\"=wake.device_wait.expired\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: \"This waiting Wake could not start because its requester or Agent no longer has access to this Space. Review access before sending a new Wake.\",\n\t\tkind: \"request_ended\",\n\t\tpatterns: [\"=wake.device_wait.access_revoked\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: (targetName) => `OpenMeld could not reach ${formatObjectTargetName(targetName)} on this computer for this Wake. Reconnect the computer, then try again.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\n\t\t\t\"daemon.profile.offline\",\n\t\t\t\"daemon.session.not_found\",\n\t\t\t\"local_service.\",\n\t\t\t\"route.\",\n\t\t\t\"service.\",\n\t\t\t\"service.not_running\"\n\t\t],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: buildMalformedSpaceReplyCopy,\n\t\tkind: \"system_retry\",\n\t\tmappedReasonBody: buildMalformedSpaceReplyCopy,\n\t\tpatterns: [\"=openmeld.space_action.repair_failed\"],\n\t\tpreferMappedReasonDetailPatterns: [\n\t\t\t\"replied, but not with a valid space reply action\",\n\t\t\t\"finished, but openmeld couldn't post its reply\",\n\t\t\t\"finished, but openmeld could not post its reply\",\n\t\t\t\"finished, but did not produce a valid space reply\",\n\t\t\t\"finished, but its reply could not be posted\",\n\t\t\t\"finished, but the reply could not be posted\",\n\t\t\t\"openmeld did not receive a message it could post in this space\"\n\t\t],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: buildEmptyAgentReplyCopy,\n\t\tkind: \"system_retry\",\n\t\tmappedReasonBody: buildEmptyAgentReplyCopy,\n\t\tpatterns: [\"=runtime.reply.empty_output\"],\n\t\tpreferMappedReasonOverDetail: true,\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: buildMissingAgentReplyIdentityCopy,\n\t\tkind: \"system_retry\",\n\t\tmappedReasonBody: buildMissingAgentReplyIdentityCopy,\n\t\tpatterns: [\"=runtime.reply.metadata_missing.agent_controller_ref\"],\n\t\tpreferMappedReasonOverDetail: true,\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: \"OpenMeld found more than one install for this agent on this device. Choose which one OpenMeld should use here, then try again.\",\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"controller.launch.choice_required\", \"launch choice\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"This agent is missing its local workspace on this device. Run `openmeld doctor --repair`, then `openmeld setup --profile <agent-profile-id>`, and try again.\",\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"workspace.missing\", \"profile.workspace.missing\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"This agent's local workspace is broken on this device. Run `openmeld doctor --repair`, then `openmeld setup --profile <agent-profile-id>`, and try again.\",\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"workspace.invalid\", \"profile.workspace.invalid\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: CODEX_UPGRADE_REQUIRED_REASON,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"controller.client.upgrade_required\"],\n\t\tprimaryActionId: \"manage_local_agent\",\n\t\trecoveryTarget: \"computer\"\n\t},\n\t{\n\t\tbody: \"This local agent is not available on this device. Connect a local agent, then try again.\",\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"controller.runtime.missing\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} could not start on this device. Repair it on this device, then try again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"controller.launch.needs_repair\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Turned off\",\n\t\tavailabilitySummary: \"This local agent is turned off in OpenMeld on this computer. Turn it on before this profile can reply.\",\n\t\tavailabilityTooltip: \"This local agent is turned off in OpenMeld on this computer.\",\n\t\tbody: (targetName) => `${targetName}'s local agent is turned off in OpenMeld on this computer. Turn it on, then wake the agent again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tmappedReasonBody: \"This local agent is turned off in OpenMeld on this computer. Turn it on, then wake the agent again.\",\n\t\tpatterns: [\"=controller.registry.disabled\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Connect\",\n\t\tavailabilitySummary: \"Connect a local agent before this profile can reply.\",\n\t\tavailabilityTooltip: \"Connect local agent\",\n\t\tbody: (targetName) => `${targetName} is connected, but local agent setup is not complete on this computer yet. Finish local agent setup here.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"=controller.bootstrap.failed\", \"=controller.gateway.unhealthy\"],\n\t\tprimaryActionId: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tbody: \"The model provider rejected this request because the provider credentials are invalid or expired. Reconnect the provider account, then wake the agent again.\",\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: \"The model provider rejected this request because the provider credentials are invalid or expired. Reconnect the provider account, then wake the agent again.\",\n\t\tpatterns: [\n\t\t\t\"auth\",\n\t\t\t\"credential\",\n\t\t\t\"login\"\n\t\t],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: (targetName) => `${targetName} asked for permission before it could continue. OpenMeld cannot collect that permission response yet. Review the Agent Profile’s permission mode, then wake the agent again.`,\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: INTERACTION_PERMISSION_REQUIRED_PUBLIC_COPY,\n\t\tpatterns: [\"=interaction.permission_required\"],\n\t\tprimaryActionId: \"review_agent_permissions\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: INTERACTION_QUESTION_REQUIRED_PUBLIC_COPY,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=interaction.question_required\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: INTERACTION_PLAN_REQUIRED_PUBLIC_COPY,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=interaction.plan_required\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: INTERACTION_UNSUPPORTED_PUBLIC_COPY,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=interaction.unsupported\"],\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: UNSUPPORTED_REASONING_PUBLIC_COPY,\n\t\tkind: \"account_access\",\n\t\tpatterns: [\"=model.reasoning_unsupported\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: CURSOR_MODEL_INVENTORY_UNAVAILABLE_PUBLIC_COPY,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"=model.inventory_unavailable\"],\n\t\tpreferMappedReasonOverDetail: true,\n\t\trecoveryTarget: null\n\t},\n\t{\n\t\tbody: UNSUPPORTED_MODEL_PUBLIC_COPY,\n\t\tkind: \"account_access\",\n\t\tpatterns: [\n\t\t\t\"=model.unavailable\",\n\t\t\t\"model.unsupported\",\n\t\t\t\"unsupported_model\"\n\t\t],\n\t\tpreferMappedReasonOverDetail: true,\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: \"The model provider rejected this request because the provider account does not have enough credits or quota. Add credits, increase the provider quota, or update billing, then wake the agent again.\",\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: \"The model provider rejected this request because the provider account does not have enough credits or quota. Add credits, increase the provider quota, or update billing, then wake the agent again.\",\n\t\tpatterns: [\"quota\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: \"The model provider rate-limited this request. Wait a moment or raise the provider limit, then wake the agent again.\",\n\t\tkind: \"account_access\",\n\t\tmappedReasonBody: \"The model provider rate-limited this request. Wait a moment or raise the provider limit, then wake the agent again.\",\n\t\tpatterns: [\"rate\"],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: \"The agent does not have permission to reply here.\",\n\t\tkind: \"account_access\",\n\t\tpatterns: [\n\t\t\t\"forbidden\",\n\t\t\t\"permission\",\n\t\t\t\"unauthorized\"\n\t\t],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t},\n\t{\n\t\tbody: \"The model provider was unreachable. Check provider status or network access, then wake the agent again.\",\n\t\tkind: \"unknown\",\n\t\tmappedReasonBody: \"The model provider was unreachable. Check provider status or network access, then wake the agent again.\",\n\t\tpatterns: [\n\t\t\t\"network\",\n\t\t\t\"provider\",\n\t\t\t\"unavailable\",\n\t\t\t\"upstream\"\n\t\t],\n\t\tprimaryActionId: \"review_agent_settings\",\n\t\trecoveryTarget: \"agents\"\n\t}\n];\nfunction resolvePublicAgentFailureRecovery(input) {\n\tconst normalizedErrorCode = normalizeOptionalText(input.errorCode)?.toLowerCase();\n\tif (!normalizedErrorCode) return null;\n\tconst targetName = normalizeOptionalText(input.targetLabel) ?? \"This agent\";\n\tconst mapping = findPublicFailureRecoveryMapping(normalizedErrorCode);\n\tif (!mapping) return input.includeUnknown === false ? null : {\n\t\tbody: `OpenMeld did not receive enough error details to explain why ${targetName} could not reply. Open diagnostics for technical details.`,\n\t\tkind: \"unknown\",\n\t\trecoveryTarget: null\n\t};\n\tconst body = resolvePublicAgentFailureBody(mapping.body, targetName);\n\tif (mapping.recoveryTarget === null) return {\n\t\tbody,\n\t\tkind: mapping.kind,\n\t\trecoveryTarget: null\n\t};\n\treturn {\n\t\tbody,\n\t\tkind: mapping.kind,\n\t\tprimaryActionId: mapping.primaryActionId,\n\t\tprimaryActionLabel: formatAgentRecoveryActionLabel(mapping.primaryActionId),\n\t\trecoveryTarget: mapping.recoveryTarget\n\t};\n}\nfunction resolveMappedPublicAgentFailureReason(errorCode, targetLabel) {\n\tconst normalizedErrorCode = normalizeOptionalText(errorCode)?.toLowerCase();\n\tif (!normalizedErrorCode) return null;\n\tconst mapping = PUBLIC_FAILURE_RECOVERY_BY_CODE.find((candidate) => candidate.patterns.some((pattern) => matchesPublicFailureReasonPattern(normalizedErrorCode, pattern))) ?? null;\n\tif (!mapping) return null;\n\treturn resolvePublicAgentFailureBody(mapping.mappedReasonBody ?? mapping.body, normalizeOptionalText(targetLabel) ?? \"This agent\");\n}\nfunction shouldPreferMappedPublicAgentFailureReason(errorCode, detail) {\n\tconst normalizedErrorCode = normalizeOptionalText(errorCode)?.toLowerCase();\n\tif (!normalizedErrorCode) return false;\n\tconst mapping = findPublicFailureRecoveryMapping(normalizedErrorCode);\n\tif (!mapping) return false;\n\tif (mapping.preferMappedReasonOverDetail) return true;\n\tconst normalizedDetail = normalizeOptionalText(detail)?.toLowerCase();\n\treturn normalizedDetail ? mapping.preferMappedReasonDetailPatterns?.some((pattern) => normalizedDetail.includes(pattern)) ?? false : false;\n}\nfunction isProjectLocalConnectionFailureReasonCode(value) {\n\treturn projectLocalConnectionFailureReasonCodeSchema.safeParse(value).success;\n}\nfunction resolvePublicAgentAvailabilityCopy(reasonCode, context = {}) {\n\tconst normalizedReasonCode = normalizeOptionalText(reasonCode)?.toLowerCase();\n\tif (!normalizedReasonCode) return null;\n\tconst mapping = PUBLIC_AGENT_AVAILABILITY_ONLY_COPY_BY_CODE.find((candidate) => candidate.patterns.some((pattern) => matchesPublicFailureReasonPattern(normalizedReasonCode, pattern))) ?? PUBLIC_FAILURE_RECOVERY_BY_CODE.find((candidate) => candidate.availabilitySummary !== void 0 && candidate.patterns.some((pattern) => matchesPublicFailureReasonPattern(normalizedReasonCode, pattern))) ?? null;\n\tif (!mapping) return null;\n\treturn {\n\t\tavailabilityBadgeLabel: resolvePublicAgentAvailabilityCopyValue(mapping.availabilityBadgeLabel, context),\n\t\tavailabilitySummary: resolvePublicAgentAvailabilityCopyValue(mapping.availabilitySummary, context),\n\t\tavailabilityTooltip: resolvePublicAgentAvailabilityCopyValue(mapping.availabilityTooltip, context),\n\t\tcontrollerInterfaceDescription: resolvePublicAgentAvailabilityCopyValue(mapping.controllerInterfaceDescription, context),\n\t\tcontrollerInterfaceDescriptionFallback: resolvePublicAgentAvailabilityCopyValue(mapping.controllerInterfaceDescriptionFallback, context),\n\t\tmanualOnlyAgentDetail: resolvePublicAgentAvailabilityCopyValue(mapping.manualOnlyAgentDetail, context)\n\t};\n}\nfunction resolvePublicAgentAvailabilityCopyValue(value, context) {\n\treturn typeof value === \"function\" ? value(context) : value;\n}\nfunction resolveControllerSignInAvailabilityCopy(context) {\n\treturn CONTROLLER_SIGN_IN_AVAILABILITY_COPY_BY_ID[context.agentControllerId ?? \"\"] ?? DEFAULT_CONTROLLER_SIGN_IN_AVAILABILITY_COPY;\n}\nfunction normalizeOptionalText(value) {\n\tconst normalized = typeof value === \"string\" ? value.trim() : \"\";\n\treturn normalized.length > 0 ? normalized : null;\n}\nfunction formatObjectTargetName(targetName) {\n\treturn targetName === \"This agent\" ? \"this agent\" : targetName;\n}\nfunction formatPossessiveTargetName(targetName) {\n\tconst objectTargetName = formatObjectTargetName(targetName);\n\treturn objectTargetName.endsWith(\"s\") ? `${objectTargetName}'` : `${objectTargetName}'s`;\n}\nfunction matchesPublicFailureReasonPattern(normalizedErrorCode, pattern) {\n\tif (pattern.startsWith(EXACT_PATTERN_PREFIX)) return normalizedErrorCode === pattern.slice(1);\n\treturn normalizedErrorCode.includes(pattern);\n}\nfunction findPublicFailureRecoveryMapping(normalizedErrorCode) {\n\treturn PUBLIC_FAILURE_RECOVERY_BY_CODE.find((candidate) => candidate.patterns.some((pattern) => matchesPublicFailureReasonPattern(normalizedErrorCode, pattern))) ?? null;\n}\nfunction resolvePublicAgentFailureBody(body, targetName) {\n\treturn typeof body === \"function\" ? body(targetName) : body;\n}\n//#endregion\nexport { CENTER_AGENT_CONTEXT_WINDOW_EXCEEDED_PUBLIC_COPY, CENTER_AGENT_EMPTY_REPLY_PUBLIC_COPY, CENTER_AGENT_EXECUTION_IDENTITY_MISMATCH_PUBLIC_COPY, CENTER_AGENT_ORGANIZATION_UNAVAILABLE_PUBLIC_COPY, CENTER_AGENT_REPLY_PUBLICATION_FAILED_PUBLIC_COPY, CENTER_AGENT_REQUEST_FAILED_PUBLIC_COPY, CENTER_AGENT_REQUEST_START_FAILED_PUBLIC_COPY, CENTER_AGENT_REQUEST_STOPPED_PUBLIC_COPY, CENTER_AGENT_SOURCE_MESSAGE_MISSING_PUBLIC_COPY, CENTER_AGENT_TEMPORARILY_UNAVAILABLE_PUBLIC_COPY, CENTER_AGENT_TURN_TIMEOUT_PUBLIC_COPY, CODEX_UPGRADE_REQUIRED_REASON, DISPATCH_ERROR_SUMMARY_MAX_LENGTH, PROJECT_LOCAL_CONNECTION_FAILURE_REASON_CODES, REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_PUBLIC_COPY, REMOTE_AGENT_CONVERSATION_HISTORY_LIMIT_EXCEEDED_REASON_CODE, REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_PUBLIC_COPY, REMOTE_AGENT_TOOL_RESULT_TOO_LARGE_REASON_CODE, REMOTE_AGENT_WORK_LOOP_CONTINUATION_LIMIT_PUBLIC_COPY, REMOTE_AGENT_WORK_LOOP_CONTINUATION_LIMIT_REASON_CODE, isProjectLocalConnectionFailureReasonCode, projectLocalConnectionFailureReasonCodeSchema, resolveCenterAgentCallbackFailureMessage, resolveMappedPublicAgentFailureReason, resolvePublicAgentAvailabilityCopy, resolvePublicAgentFailureRecovery, resolvePublicFailureCodeCategory, sanitizeDispatchErrorSummary, shouldPreferMappedPublicAgentFailureReason };\n\n//# sourceMappingURL=public-agent-failure-reason.js.map","//#region src/schemas/protocol/constants.ts\nconst MAX_PROFILE_ID_LENGTH = 64;\nconst MAX_VISITED_PROFILE_IDS = 256;\nconst MAX_PROFILE_NAME_LENGTH = 64;\nconst MAX_TEXT_LENGTH = 1e5;\n//#endregion\nexport { MAX_PROFILE_ID_LENGTH, MAX_PROFILE_NAME_LENGTH, MAX_TEXT_LENGTH, MAX_VISITED_PROFILE_IDS };\n\n//# sourceMappingURL=constants.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/shared.ts\nconst trimmedStringFromUnknown = (value) => String(value ?? \"\").trim();\nconst nonEmptyTrimmedStringFromUnknown = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1));\nconst finiteIntegerNumber = z$1.number().int().finite();\nconst optionalBooleanQuerySchema = z$1.preprocess((value) => {\n\tif (value === void 0 || value === null || value === \"\") return;\n\tif (typeof value === \"boolean\") return value;\n\tconst normalized = String(value).trim().toLowerCase();\n\tif (normalized === \"true\" || normalized === \"1\") return true;\n\tif (normalized === \"false\" || normalized === \"0\") return false;\n\treturn value;\n}, z$1.boolean().optional());\n//#endregion\nexport { finiteIntegerNumber, nonEmptyTrimmedStringFromUnknown, optionalBooleanQuerySchema, trimmedStringFromUnknown };\n\n//# sourceMappingURL=shared.js.map"," \nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/profile.ts\nconst PROFILE_KIND_VALUES = [\n\t\"human\",\n\t\"agent\",\n\t\"system\"\n];\nconst PROFILE_HANDLE_PATTERN = /^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;\nconst UUID_PROFILE_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;\nconst AGENT_PROFILE_ID_PATTERN = /^agt_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;\nconst MAX_PROFILE_HANDLE_LENGTH = 128;\nconst normalizeOptionalProfileLabel = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value);\n\tif (normalized.length === 0) return;\n\treturn normalized.slice(0, 64);\n};\nconst normalizeOptionalProfileHandle = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value);\n\tif (normalized.length === 0) return;\n\treturn profileHandleSchema.safeParse(normalized).success ? normalized : void 0;\n};\nconst MAX_PROFILE_WORKING_DIRECTORY_LENGTH = 4096;\nconst profileWorkspaceModeSchema = z$1.enum([\"openmeld_managed\", \"custom\"]);\nconst profileWorkingDirectorySchema = z$1.string().min(1).max(MAX_PROFILE_WORKING_DIRECTORY_LENGTH).refine((value) => !value.includes(\"\\0\"), { message: \"workingDirectory must not contain NUL bytes\" });\nconst normalizeOptionalWorkingDirectory = (value) => {\n\tif (typeof value !== \"string\") return;\n\tconst parsed = profileWorkingDirectorySchema.safeParse(value);\n\treturn parsed.success ? parsed.data : void 0;\n};\nconst MAX_AVATAR_URL_LENGTH = 2048;\nconst HTTPS_URL_PATTERN = /^https?:\\/\\//i;\n/**\n* Avatar URLs are a public identity field that travels with the Profile across\n* domains. Only http(s) URLs are accepted so the value is safe to render as an\n* `<img src>` on web clients (rejects javascript:/data: injection vectors).\n*/\nconst normalizeOptionalAvatarUrl = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value);\n\tif (normalized.length === 0 || normalized.length > 2048) return;\n\treturn HTTPS_URL_PATTERN.test(normalized) ? normalized : void 0;\n};\n/** Unknown or invalid kinds are normalized to \"agent\" for wire compatibility. */\nconst profileKindWithFallbackSchema = z$1.preprocess((value) => {\n\tconst parsed = z$1.enum(PROFILE_KIND_VALUES).safeParse(value);\n\treturn parsed.success ? parsed.data : \"agent\";\n}, z$1.enum(PROFILE_KIND_VALUES));\nconst profileKindSchema = z$1.enum(PROFILE_KIND_VALUES);\nconst profileLabelSchema = z$1.string().min(1).max(64);\nconst profileHandleSchema = z$1.string().min(1).max(128).regex(PROFILE_HANDLE_PATTERN);\nconst genericProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64));\nconst uuidProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).regex(UUID_PROFILE_ID_PATTERN));\nconst agentProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).regex(AGENT_PROFILE_ID_PATTERN));\n/**\n* Runtime OpenMeld profile IDs are auth-backed and follow these rules:\n* - human/system profiles use a UUID\n* - agent profiles use agt_<UUID>\n*\n* Generic test fixtures or legacy intermediary strings should not reuse this\n* schema unless they represent a real runtime profile identity.\n*/\nconst openMeldRuntimeProfileIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).refine((value) => UUID_PROFILE_ID_PATTERN.test(value) || AGENT_PROFILE_ID_PATTERN.test(value), \"Invalid OpenMeld runtime profile ID\"));\n/**\n* Generic wire/profile normalization rules:\n* - trims and validates profileId as a non-empty string\n* - defaults missing/invalid kind to \"agent\"\n* - truncates profileName/owner labels to max length\n* - preserves agent workingDirectory verbatim when it is a valid string\n* - keeps owner only for agent profiles\n*\n* This schema intentionally stays broader than auth-backed runtime IDs because\n* protocol/system messages may still use internal synthetic profile IDs such as\n* `openmeld-system`.\n*/\nconst profileSchema = z$1.object({\n\tkind: profileKindWithFallbackSchema.optional(),\n\tprofileId: genericProfileIdSchema,\n\tprofileHandle: z$1.unknown().optional(),\n\tprofileName: z$1.unknown().optional(),\n\towner: z$1.unknown().optional(),\n\townerName: z$1.unknown().optional(),\n\tagentControllerRef: z$1.unknown().optional(),\n\tagentControllerConversationId: z$1.unknown().optional(),\n\tworkingDirectory: z$1.unknown().optional(),\n\tavatarUrl: z$1.unknown().optional()\n}).transform((value) => {\n\tconst kind = value.kind ?? \"agent\";\n\tconst profileHandle = normalizeOptionalProfileHandle(value.profileHandle);\n\tconst profileName = normalizeOptionalProfileLabel(value.profileName);\n\tconst owner = kind === \"agent\" ? normalizeOptionalProfileLabel(value.owner) : void 0;\n\tconst ownerName = kind === \"agent\" ? normalizeOptionalProfileLabel(value.ownerName) : void 0;\n\tconst agentControllerRef = kind === \"agent\" ? normalizeOptionalProfileLabel(value.agentControllerRef) : void 0;\n\tconst agentControllerConversationId = kind === \"agent\" ? normalizeOptionalProfileLabel(value.agentControllerConversationId) : void 0;\n\tconst workingDirectory = kind === \"agent\" ? normalizeOptionalWorkingDirectory(value.workingDirectory) : void 0;\n\tconst avatarUrl = normalizeOptionalAvatarUrl(value.avatarUrl);\n\treturn {\n\t\tkind,\n\t\tprofileId: value.profileId,\n\t\t...profileHandle ? { profileHandle } : {},\n\t\t...profileName ? { profileName } : {},\n\t\t...owner ? { owner } : {},\n\t\t...ownerName ? { ownerName } : {},\n\t\t...agentControllerRef ? { agentControllerRef } : {},\n\t\t...agentControllerConversationId ? { agentControllerConversationId } : {},\n\t\t...workingDirectory ? { workingDirectory } : {},\n\t\t...avatarUrl ? { avatarUrl } : {}\n\t};\n});\n//#endregion\nexport { MAX_AVATAR_URL_LENGTH, MAX_PROFILE_HANDLE_LENGTH, MAX_PROFILE_WORKING_DIRECTORY_LENGTH, agentProfileIdSchema, genericProfileIdSchema, normalizeOptionalWorkingDirectory, openMeldRuntimeProfileIdSchema, profileHandleSchema, profileKindSchema, profileLabelSchema, profileSchema, profileWorkingDirectorySchema, profileWorkspaceModeSchema, uuidProfileIdSchema };\n\n//# sourceMappingURL=profile.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"../protocol/profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/space-thread.ts\nconst ISO_DATE_TIME_SCHEMA = z$1.iso.datetime({ offset: true });\nconst spaceThreadIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64).regex(/^thr_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/u));\nconst spaceThreadSchema = z$1.strictObject({\n\tthreadId: spaceThreadIdSchema,\n\tspaceId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\trootSignalId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tcreatedByProfileId: openMeldRuntimeProfileIdSchema,\n\tcreatedAt: ISO_DATE_TIME_SCHEMA,\n\tupdatedAt: ISO_DATE_TIME_SCHEMA\n});\nconst spaceThreadContextSchema = z$1.strictObject({\n\tthreadId: spaceThreadIdSchema,\n\trootSignalId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1))\n});\nconst spaceThreadSignalPlacementKindSchema = z$1.enum([\"root\", \"thread\"]);\nconst spaceThreadSignalPlacementSchema = z$1.strictObject({\n\tthreadId: spaceThreadIdSchema,\n\tsignalId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tplacement: spaceThreadSignalPlacementKindSchema,\n\tcreatedAt: ISO_DATE_TIME_SCHEMA\n});\nconst spaceThreadEventTypeSchema = z$1.enum([\"created\"]);\nconst spaceThreadEventSchema = z$1.strictObject({\n\teventId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tthreadId: spaceThreadIdSchema,\n\teventType: spaceThreadEventTypeSchema,\n\tactorProfileId: openMeldRuntimeProfileIdSchema,\n\tclientMutationId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(200)),\n\tcreatedAt: ISO_DATE_TIME_SCHEMA\n});\nconst spaceThreadActionRefSchema = z$1.strictObject({ threadId: spaceThreadIdSchema });\n//#endregion\nexport { spaceThreadActionRefSchema, spaceThreadContextSchema, spaceThreadEventSchema, spaceThreadEventTypeSchema, spaceThreadIdSchema, spaceThreadSchema, spaceThreadSignalPlacementKindSchema, spaceThreadSignalPlacementSchema };\n\n//# sourceMappingURL=space-thread.js.map","import { nonEmptyTrimmedStringFromUnknown } from \"./shared.js\";\nimport { agentProfileIdSchema } from \"./profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/agent-stream.ts\nconst AGENT_STREAM_SNAPSHOT_MAX_CHARS = 32 * 1024;\nconst sequenceSchema = z$1.number().int().positive();\nconst timestampSchema = z$1.number().int().nonnegative();\nconst textSnapshotSchema = z$1.string().min(1).max(AGENT_STREAM_SNAPSHOT_MAX_CHARS);\nconst toolIdentifierSchema = z$1.string().trim().min(1).max(160);\nconst HOSTNAME_PATTERN = /^(?:[a-z\\d](?:[a-z\\d-]{0,61}[a-z\\d])?)(?:\\.(?:[a-z\\d](?:[a-z\\d-]{0,61}[a-z\\d])?))*$/iu;\nconst IPV6_HOSTNAME_PATTERN = /^\\[[\\da-f:.]+\\]$/iu;\nconst REPOSITORY_LABEL_PATTERN = /^[a-z\\d](?:[a-z\\d_.-]*[a-z\\d])?\\/[a-z\\d](?:[a-z\\d_.-]*[a-z\\d])?$/iu;\nconst agentWorkSubjectLabelSchema = z$1.string().trim().min(1).max(120).refine((label) => !hasControlCharacter(label), { message: \"subject label must not contain control characters\" });\nfunction hasControlCharacter(value) {\n\tfor (const character of value) {\n\t\tconst codePoint = character.codePointAt(0);\n\t\tif (codePoint !== void 0 && (codePoint <= 31 || codePoint >= 127 && codePoint <= 159)) return true;\n\t}\n\treturn false;\n}\nconst agentWorkActivityKeySchema = z$1.enum([\n\t\"agent.activity.read\",\n\t\"agent_profile.configure\",\n\t\"agent_profile.connect\",\n\t\"agent_profile.connections.read\",\n\t\"agent_profile.create\",\n\t\"agent_profile.enable\",\n\t\"agent_profile.readiness.check\",\n\t\"agent_profile.settings.read\",\n\t\"agent_profile.settings.update\",\n\t\"build.run\",\n\t\"center_agent.activity.read\",\n\t\"center_agent.attention.request\",\n\t\"center_agent.task.create\",\n\t\"connected_app.action.execute\",\n\t\"connected_app.actions.read\",\n\t\"connected_apps.read\",\n\t\"computer.local_agent.installation.select\",\n\t\"computer.local_agent.installations.read\",\n\t\"computer.openmeld_tools.settings.update\",\n\t\"computer.openmeld_tools.update\",\n\t\"dependencies.install\",\n\t\"dispatch.history.read\",\n\t\"documentation.read\",\n\t\"documentation.update\",\n\t\"environment.check\",\n\t\"execution.recovery.conversation.resume\",\n\t\"execution.recovery.inspect\",\n\t\"execution.recovery.result.replay\",\n\t\"execution.recovery.retry_as_new_execution\",\n\t\"feedback.create\",\n\t\"feedback.read\",\n\t\"feedback.update\",\n\t\"github.account.read\",\n\t\"github.branches.read\",\n\t\"github.checks.read\",\n\t\"github.code.search\",\n\t\"github.commits.compare\",\n\t\"github.commits.read\",\n\t\"github.commits.search\",\n\t\"github.directory.read\",\n\t\"github.file.delete\",\n\t\"github.file.read\",\n\t\"github.file.update\",\n\t\"github.issue.assignees.update\",\n\t\"github.issue.comment\",\n\t\"github.issue.create\",\n\t\"github.issue.labels.update\",\n\t\"github.issue.update\",\n\t\"github.issues.read\",\n\t\"github.issues.search\",\n\t\"github.pull_request.branch.update\",\n\t\"github.pull_request.comment\",\n\t\"github.pull_request.create\",\n\t\"github.pull_request.merge\",\n\t\"github.pull_request.review\",\n\t\"github.pull_request.reviewers.update\",\n\t\"github.pull_request.update\",\n\t\"github.pull_requests.read\",\n\t\"github.ref.create\",\n\t\"github.repositories.read\",\n\t\"github.repository.read\",\n\t\"github.workflow.rerun\",\n\t\"github.workflows.read\",\n\t\"image.generate\",\n\t\"image.inspect\",\n\t\"navigation.prepare\",\n\t\"organization.document.draft\",\n\t\"organization.documents.manage\",\n\t\"organization.documents.read\",\n\t\"organization.invite.create\",\n\t\"organization.invite.read\",\n\t\"organization.member_computers.read\",\n\t\"organization.member_research.start\",\n\t\"organization.member_service_status.read\",\n\t\"organization.members.read\",\n\t\"organization.memory.update\",\n\t\"organization.settings.update\",\n\t\"organization.skills.install\",\n\t\"organization.skills.read\",\n\t\"project.create\",\n\t\"project.default.set\",\n\t\"project.remove\",\n\t\"project.remove.prepare\",\n\t\"project.update\",\n\t\"projects.read\",\n\t\"quality.check\",\n\t\"repository.check\",\n\t\"repository.clone\",\n\t\"repository.inspect\",\n\t\"routine.create\",\n\t\"routine.delete\",\n\t\"routine.pause\",\n\t\"routine.resume\",\n\t\"routine.update\",\n\t\"routines.read\",\n\t\"slack.channel.history.read\",\n\t\"slack.channel.members.read\",\n\t\"slack.channels.read\",\n\t\"slack.file.read\",\n\t\"slack.file.send\",\n\t\"message_channel.file.read\",\n\t\"message_channel.file.send\",\n\t\"slack.members.read\",\n\t\"slack.message.post\",\n\t\"slack.messages.search\",\n\t\"source.read\",\n\t\"source.search\",\n\t\"source.update\",\n\t\"space.agents.add\",\n\t\"space.agents.remove\",\n\t\"space.agents.wake\",\n\t\"space.context.read\",\n\t\"space.create\",\n\t\"space.files.read\",\n\t\"space.files.update\",\n\t\"space.members.add\",\n\t\"space.message.post\",\n\t\"space.settings.update\",\n\t\"spaces.read\",\n\t\"task.delegate\",\n\t\"task.watch\",\n\t\"tasks.read\",\n\t\"tests.run\",\n\t\"web.data.extract\",\n\t\"web.links.read\",\n\t\"web.search\",\n\t\"webpage.read\",\n\t\"webpage.scrape\",\n\t\"webpage.screenshot\"\n]);\nconst agentWorkSubjectKindSchema = z$1.enum([\n\t\"agent_profile\",\n\t\"connected_app\",\n\t\"document\",\n\t\"organization\",\n\t\"project\",\n\t\"repository\",\n\t\"routine\",\n\t\"space\",\n\t\"website\"\n]);\nconst AGENT_WORK_SUBJECT_KIND_BY_KEY = {\n\t\"agent_profile.configure\": \"agent_profile\",\n\t\"agent_profile.create\": \"agent_profile\",\n\t\"connected_app.action.execute\": \"connected_app\",\n\t\"connected_app.actions.read\": \"connected_app\",\n\t\"github.branches.read\": \"repository\",\n\t\"github.checks.read\": \"repository\",\n\t\"github.code.search\": \"repository\",\n\t\"github.commits.compare\": \"repository\",\n\t\"github.commits.read\": \"repository\",\n\t\"github.commits.search\": \"repository\",\n\t\"github.directory.read\": \"repository\",\n\t\"github.file.delete\": \"repository\",\n\t\"github.file.read\": \"repository\",\n\t\"github.file.update\": \"repository\",\n\t\"github.issue.assignees.update\": \"repository\",\n\t\"github.issue.comment\": \"repository\",\n\t\"github.issue.create\": \"repository\",\n\t\"github.issue.labels.update\": \"repository\",\n\t\"github.issue.update\": \"repository\",\n\t\"github.issues.read\": \"repository\",\n\t\"github.issues.search\": \"repository\",\n\t\"github.pull_request.branch.update\": \"repository\",\n\t\"github.pull_request.comment\": \"repository\",\n\t\"github.pull_request.create\": \"repository\",\n\t\"github.pull_request.merge\": \"repository\",\n\t\"github.pull_request.review\": \"repository\",\n\t\"github.pull_request.reviewers.update\": \"repository\",\n\t\"github.pull_request.update\": \"repository\",\n\t\"github.pull_requests.read\": \"repository\",\n\t\"github.ref.create\": \"repository\",\n\t\"github.repository.read\": \"repository\",\n\t\"github.workflow.rerun\": \"repository\",\n\t\"github.workflows.read\": \"repository\",\n\t\"organization.document.draft\": \"document\",\n\t\"project.create\": \"project\",\n\t\"project.update\": \"project\",\n\t\"repository.clone\": \"repository\",\n\t\"routine.create\": \"routine\",\n\t\"routine.update\": \"routine\",\n\t\"space.create\": \"space\",\n\t\"space.settings.update\": \"space\",\n\t\"web.data.extract\": \"website\",\n\t\"web.links.read\": \"website\",\n\t\"webpage.read\": \"website\",\n\t\"webpage.scrape\": \"website\",\n\t\"webpage.screenshot\": \"website\"\n};\nconst agentWorkSubjectSchema = z$1.strictObject({\n\tkind: agentWorkSubjectKindSchema,\n\tlabel: agentWorkSubjectLabelSchema\n}).superRefine((subject, context) => {\n\tif (subject.kind === \"repository\" && !REPOSITORY_LABEL_PATTERN.test(subject.label)) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"repository subject must use owner/name\",\n\t\tpath: [\"label\"]\n\t});\n\tif (subject.kind === \"website\" && !(HOSTNAME_PATTERN.test(subject.label) || IPV6_HOSTNAME_PATTERN.test(subject.label))) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"website subject must be a hostname\",\n\t\tpath: [\"label\"]\n\t});\n});\nconst agentWorkActivitySchema = z$1.strictObject({\n\tv: z$1.literal(1),\n\tkey: agentWorkActivityKeySchema,\n\tsubject: agentWorkSubjectSchema.optional(),\n\toutcome: z$1.literal(\"confirmation_required\").optional()\n}).superRefine((work, context) => {\n\tif (work.subject && AGENT_WORK_SUBJECT_KIND_BY_KEY[work.key] !== work.subject.kind) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"subject kind is not allowed for this work key\",\n\t\tpath: [\"subject\", \"kind\"]\n\t});\n});\nconst agentStreamIdentityShape = {\n\tv: z$1.literal(1),\n\tspaceId: nonEmptyTrimmedStringFromUnknown,\n\tstreamId: nonEmptyTrimmedStringFromUnknown,\n\tsequence: sequenceSchema,\n\tprofileId: agentProfileIdSchema,\n\ttriggerMessageId: nonEmptyTrimmedStringFromUnknown,\n\tdispatchId: nonEmptyTrimmedStringFromUnknown\n};\nconst agentStreamPresenceShape = {\n\t...agentStreamIdentityShape,\n\tstate: z$1.literal(\"streaming\"),\n\tgapDetected: z$1.boolean(),\n\tcreatedAtMs: timestampSchema,\n\tupdatedAtMs: timestampSchema,\n\texpiresAtMs: timestampSchema\n};\nfunction validateAgentStreamProjectionTimestamps(projection, context) {\n\tif (projection.updatedAtMs < projection.createdAtMs) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"updatedAtMs must not precede createdAtMs\",\n\t\tpath: [\"updatedAtMs\"]\n\t});\n\tif (projection.expiresAtMs < projection.updatedAtMs) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"expiresAtMs must not precede updatedAtMs\",\n\t\tpath: [\"expiresAtMs\"]\n\t});\n}\nconst spaceAgentStreamPresenceSchema = z$1.strictObject(agentStreamPresenceShape).superRefine(validateAgentStreamProjectionTimestamps);\nconst spaceAgentStreamSnapshotSchema = z$1.strictObject({\n\t...agentStreamPresenceShape,\n\ttextSnapshot: textSnapshotSchema\n}).superRefine(validateAgentStreamProjectionTimestamps);\nconst spaceAgentStreamTextDeltaFrameSchema = z$1.strictObject({\n\ttype: z$1.literal(\"space.agent_stream_delta\"),\n\t...agentStreamIdentityShape,\n\tkind: z$1.literal(\"text\").optional(),\n\ttextSnapshot: textSnapshotSchema,\n\tstate: z$1.literal(\"streaming\"),\n\tupdatedAtMs: timestampSchema\n});\nconst spaceAgentStreamThinkingDeltaFrameSchema = z$1.strictObject({\n\ttype: z$1.literal(\"space.agent_stream_delta\"),\n\t...agentStreamIdentityShape,\n\tkind: z$1.literal(\"thinking\"),\n\tthinkingSnapshot: textSnapshotSchema,\n\tstate: z$1.literal(\"streaming\"),\n\tupdatedAtMs: timestampSchema\n});\nconst spaceAgentStreamDeltaFrameSchema = z$1.union([spaceAgentStreamTextDeltaFrameSchema, spaceAgentStreamThinkingDeltaFrameSchema]);\nconst agentStreamToolPartSchema = z$1.strictObject({\n\ttype: z$1.literal(\"tool\"),\n\ttoolCallId: toolIdentifierSchema,\n\ttoolName: toolIdentifierSchema,\n\tstate: z$1.enum([\n\t\t\"input-available\",\n\t\t\"output-available\",\n\t\t\"output-error\"\n\t]),\n\twork: agentWorkActivitySchema.optional()\n});\nconst spaceAgentActivitySchema = z$1.strictObject({\n\tv: z$1.literal(1),\n\tsteps: z$1.array(agentStreamToolPartSchema.pick({\n\t\ttoolName: true,\n\t\tstate: true,\n\t\twork: true\n\t})).min(1).max(50),\n\ttruncated: z$1.boolean()\n});\nconst spaceAgentStreamPartFrameSchema = z$1.strictObject({\n\ttype: z$1.literal(\"space.agent_stream_part\"),\n\t...agentStreamIdentityShape,\n\tpart: agentStreamToolPartSchema,\n\tupdatedAtMs: timestampSchema\n});\nconst spaceAgentStreamTerminalSchema = z$1.union([\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"final_message\"),\n\t\tpublishedSignalId: nonEmptyTrimmedStringFromUnknown\n\t}),\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"failed\"),\n\t\treasonCode: nonEmptyTrimmedStringFromUnknown,\n\t\tnoticeText: nonEmptyTrimmedStringFromUnknown\n\t}),\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"stopped\"),\n\t\treasonCode: nonEmptyTrimmedStringFromUnknown,\n\t\tnoticeText: nonEmptyTrimmedStringFromUnknown\n\t}),\n\tz$1.strictObject({\n\t\tkind: z$1.literal(\"completed_but_publish_failed\"),\n\t\treasonCode: z$1.literal(\"remote_agent.callback_publish_failed\"),\n\t\tnoticeText: nonEmptyTrimmedStringFromUnknown\n\t})\n]);\nconst spaceAgentStreamTerminalFrameSchema = z$1.strictObject({\n\ttype: z$1.literal(\"space.agent_stream_terminal\"),\n\t...agentStreamIdentityShape,\n\tterminal: spaceAgentStreamTerminalSchema,\n\tupdatedAtMs: timestampSchema\n});\n//#endregion\nexport { AGENT_STREAM_SNAPSHOT_MAX_CHARS, agentStreamToolPartSchema, spaceAgentActivitySchema, spaceAgentStreamDeltaFrameSchema, spaceAgentStreamPartFrameSchema, spaceAgentStreamPresenceSchema, spaceAgentStreamSnapshotSchema, spaceAgentStreamTerminalFrameSchema, spaceAgentStreamTerminalSchema };\n\n//# sourceMappingURL=agent-stream.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/client-message-id.ts\nconst clientMessageIdSchema = z$1.string().trim().min(1).max(200);\nconst parseOptionalClientMessageId = (value) => {\n\tconst parsed = clientMessageIdSchema.safeParse(value);\n\treturn parsed.success ? parsed.data : null;\n};\n//#endregion\nexport { clientMessageIdSchema, parseOptionalClientMessageId };\n\n//# sourceMappingURL=client-message-id.js.map","import * as zod from \"zod/v4\";\n//#region src/lazy-zod.ts\nconst NEVER = zod.NEVER;\nconst ZodIssueCode = zod.ZodIssueCode;\nconst DEFERRED_SCHEMA_METHODS = /* @__PURE__ */ new Set([\n\t\"and\",\n\t\"array\",\n\t\"base64\",\n\t\"base64url\",\n\t\"catch\",\n\t\"catchall\",\n\t\"check\",\n\t\"cidrv4\",\n\t\"cidrv6\",\n\t\"clone\",\n\t\"cuid\",\n\t\"cuid2\",\n\t\"date\",\n\t\"datetime\",\n\t\"default\",\n\t\"duration\",\n\t\"e164\",\n\t\"email\",\n\t\"emoji\",\n\t\"endsWith\",\n\t\"exactOptional\",\n\t\"exclude\",\n\t\"extend\",\n\t\"extract\",\n\t\"gt\",\n\t\"gte\",\n\t\"guid\",\n\t\"includes\",\n\t\"input\",\n\t\"int\",\n\t\"ipv4\",\n\t\"ipv6\",\n\t\"jwt\",\n\t\"keyof\",\n\t\"ksuid\",\n\t\"length\",\n\t\"loose\",\n\t\"lowercase\",\n\t\"lt\",\n\t\"lte\",\n\t\"max\",\n\t\"merge\",\n\t\"mime\",\n\t\"min\",\n\t\"multipleOf\",\n\t\"nanoid\",\n\t\"negative\",\n\t\"nonempty\",\n\t\"nonnegative\",\n\t\"nonoptional\",\n\t\"nonpositive\",\n\t\"normalize\",\n\t\"nullable\",\n\t\"nullish\",\n\t\"omit\",\n\t\"optional\",\n\t\"or\",\n\t\"output\",\n\t\"overwrite\",\n\t\"partial\",\n\t\"passthrough\",\n\t\"pick\",\n\t\"pipe\",\n\t\"positive\",\n\t\"prefault\",\n\t\"readonly\",\n\t\"refine\",\n\t\"regex\",\n\t\"removeCatch\",\n\t\"removeDefault\",\n\t\"required\",\n\t\"rest\",\n\t\"safe\",\n\t\"safeExtend\",\n\t\"size\",\n\t\"slugify\",\n\t\"startsWith\",\n\t\"step\",\n\t\"strict\",\n\t\"strip\",\n\t\"superRefine\",\n\t\"time\",\n\t\"toLowerCase\",\n\t\"toUpperCase\",\n\t\"transform\",\n\t\"trim\",\n\t\"ulid\",\n\t\"unwrap\",\n\t\"uppercase\",\n\t\"url\",\n\t\"uuid\",\n\t\"uuidv4\",\n\t\"uuidv6\",\n\t\"uuidv7\",\n\t\"with\",\n\t\"xid\"\n]);\nconst SELF_RETURNING_METHODS = /* @__PURE__ */ new Set([\"brand\", \"finite\"]);\nconst UNHANDLED_PROPERTY = Symbol(\"unhandled lazy Zod property\");\nconst globalRegistry = zod.globalRegistry;\nfunction lazySchema(createSchema) {\n\tlet schema;\n\tlet proxy;\n\tconst target = Object.create(null);\n\tlet targetIsMaterialized = false;\n\tconst resolveSchema = () => {\n\t\tschema ??= createSchema();\n\t\treturn schema;\n\t};\n\tconst readResolvedProperty = (property) => {\n\t\tconst resolved = resolveSchema();\n\t\tconst value = Reflect.get(resolved, property, resolved);\n\t\treturn typeof value === \"function\" ? value.bind(resolved) : value;\n\t};\n\tconst deferSchemaMethod = (property, args) => lazySchema(() => {\n\t\tconst resolved = resolveSchema();\n\t\tconst method = Reflect.get(resolved, property, resolved);\n\t\tif (typeof method !== \"function\") throw new TypeError(`Lazy Zod property ${String(property)} is not callable`);\n\t\tconst result = Reflect.apply(method, resolved, args);\n\t\tif (!(result instanceof zod.ZodType)) throw new TypeError(`Lazy Zod method ${String(property)} did not return a schema`);\n\t\treturn result;\n\t});\n\tconst materializeTarget = () => {\n\t\tconst resolved = resolveSchema();\n\t\tif (targetIsMaterialized) return resolved;\n\t\tReflect.setPrototypeOf(target, Reflect.getPrototypeOf(resolved));\n\t\tfor (const property of Reflect.ownKeys(resolved)) {\n\t\t\tconst descriptor = Reflect.getOwnPropertyDescriptor(resolved, property);\n\t\t\tif (descriptor) Reflect.defineProperty(target, property, descriptor);\n\t\t}\n\t\ttargetIsMaterialized = true;\n\t\treturn resolved;\n\t};\n\tconst readSpecialProperty = (property) => {\n\t\tswitch (property) {\n\t\t\tcase \"description\": {\n\t\t\t\tconst metadata = globalRegistry.get(proxy);\n\t\t\t\treturn metadata && typeof metadata === \"object\" ? Reflect.get(metadata, \"description\") : void 0;\n\t\t\t}\n\t\t\tcase \"apply\": return (operation) => operation(proxy);\n\t\t\tcase \"register\": return (registry, ...metadata) => {\n\t\t\t\tregistry.add(proxy, ...metadata);\n\t\t\t\treturn proxy;\n\t\t\t};\n\t\t\tcase \"meta\": return (...metadata) => {\n\t\t\t\tif (metadata.length === 0) return globalRegistry.get(proxy);\n\t\t\t\tconst registered = deferSchemaMethod(property, withoutRegistryIdentity(metadata));\n\t\t\t\tglobalRegistry.add(registered, ...metadata);\n\t\t\t\treturn registered;\n\t\t\t};\n\t\t\tcase \"describe\": return (description) => {\n\t\t\t\tconst described = deferSchemaMethod(property, [description]);\n\t\t\t\tglobalRegistry.add(described, { description });\n\t\t\t\treturn described;\n\t\t\t};\n\t\t\tcase \"toJSONSchema\": return (...args) => Reflect.apply(zod.toJSONSchema, zod, [proxy, ...args]);\n\t\t\tdefault: return UNHANDLED_PROPERTY;\n\t\t}\n\t};\n\tproxy = new Proxy(target, {\n\t\tdeleteProperty(_target, property) {\n\t\t\tconst deletedFromTarget = Reflect.deleteProperty(target, property);\n\t\t\tconst deletedFromSchema = Reflect.deleteProperty(resolveSchema(), property);\n\t\t\treturn deletedFromTarget && deletedFromSchema;\n\t\t},\n\t\tget(_target, property, receiver) {\n\t\t\tconst specialProperty = readSpecialProperty(property);\n\t\t\tif (specialProperty !== UNHANDLED_PROPERTY) return specialProperty;\n\t\t\tif (SELF_RETURNING_METHODS.has(property)) return () => proxy;\n\t\t\tif (DEFERRED_SCHEMA_METHODS.has(property)) return (...args) => deferSchemaMethod(property, args);\n\t\t\treturn Reflect.getOwnPropertyDescriptor(target, property) ? Reflect.get(target, property, receiver) : readResolvedProperty(property);\n\t\t},\n\t\tgetOwnPropertyDescriptor(_target, property) {\n\t\t\tconst targetDescriptor = Reflect.getOwnPropertyDescriptor(target, property);\n\t\t\tif (targetDescriptor || targetIsMaterialized) return targetDescriptor;\n\t\t\tconst descriptor = Reflect.getOwnPropertyDescriptor(resolveSchema(), property);\n\t\t\treturn descriptor ? {\n\t\t\t\t...descriptor,\n\t\t\t\tconfigurable: true\n\t\t\t} : void 0;\n\t\t},\n\t\tgetPrototypeOf() {\n\t\t\treturn targetIsMaterialized ? Reflect.getPrototypeOf(target) : Reflect.getPrototypeOf(resolveSchema());\n\t\t},\n\t\thas(_target, property) {\n\t\t\treturn Reflect.has(target, property) || Reflect.has(resolveSchema(), property);\n\t\t},\n\t\townKeys() {\n\t\t\tif (targetIsMaterialized) return Reflect.ownKeys(target);\n\t\t\treturn [.../* @__PURE__ */ new Set([...Reflect.ownKeys(target), ...Reflect.ownKeys(resolveSchema())])];\n\t\t},\n\t\tpreventExtensions() {\n\t\t\tconst resolved = materializeTarget();\n\t\t\treturn Reflect.preventExtensions(resolved) && Reflect.preventExtensions(target);\n\t\t},\n\t\tset(_target, property, value) {\n\t\t\tconst resolved = resolveSchema();\n\t\t\tif (!targetIsMaterialized) return Reflect.set(resolved, property, value);\n\t\t\treturn Reflect.set(resolved, property, value) && Reflect.set(target, property, value);\n\t\t}\n\t});\n\treturn proxy;\n}\nfunction withoutRegistryIdentity(metadata) {\n\tconst [firstMetadata] = metadata;\n\tif (!(firstMetadata && typeof firstMetadata === \"object\" && \"id\" in firstMetadata)) return metadata;\n\treturn [Object.fromEntries(Object.entries(firstMetadata).filter(([key]) => key !== \"id\")), ...metadata.slice(1)];\n}\nfunction snapshotFactoryArgument(value) {\n\treturn Array.isArray(value) ? [...value] : value;\n}\nfunction lazyFactory(factory) {\n\tconst invoke = factory;\n\treturn ((...args) => {\n\t\tconst declaredArgs = args.map(snapshotFactoryArgument);\n\t\treturn lazySchema(() => invoke(...declaredArgs));\n\t});\n}\nconst array = lazyFactory(zod.array);\nconst boolean = lazyFactory(zod.boolean);\nconst discriminatedUnion = lazyFactory(zod.discriminatedUnion);\nconst email = lazyFactory(zod.email);\nconst enumFactory = lazyFactory(zod.enum);\nconst int = lazyFactory(zod.int);\nconst literal = lazyFactory(zod.literal);\nconst neverFactory = lazyFactory(zod.never);\nconst nullFactory = lazyFactory(zod.null);\nconst number = lazyFactory(zod.number);\nconst object = lazyFactory(zod.object);\nconst preprocess = lazyFactory(zod.preprocess);\nconst record = lazyFactory(zod.record);\nconst strictObject = lazyFactory(zod.strictObject);\nconst string = lazyFactory(zod.string);\nconst tuple = lazyFactory(zod.tuple);\nconst union = lazyFactory(zod.union);\nconst undefinedFactory = lazyFactory(zod.undefined);\nconst unknown = lazyFactory(zod.unknown);\nconst url = lazyFactory(zod.url);\nconst coerce = {\n\t...zod.coerce,\n\tbigint: lazyFactory(zod.coerce.bigint),\n\tboolean: lazyFactory(zod.coerce.boolean),\n\tdate: lazyFactory(zod.coerce.date),\n\tnumber: lazyFactory(zod.coerce.number),\n\tstring: lazyFactory(zod.coerce.string)\n};\nconst iso = {\n\t...zod.iso,\n\tdate: lazyFactory(zod.iso.date),\n\tdatetime: lazyFactory(zod.iso.datetime),\n\tduration: lazyFactory(zod.iso.duration),\n\ttime: lazyFactory(zod.iso.time)\n};\n//#endregion\nexport { NEVER, ZodIssueCode, array, boolean, coerce, discriminatedUnion, email, enumFactory as enum, int, iso, lazySchema, literal, neverFactory as never, nullFactory as null, number, object, preprocess, record, strictObject, string, tuple, undefinedFactory as undefined, union, unknown, url };\n\n//# sourceMappingURL=lazy-zod.js.map","import { array, boolean, discriminatedUnion, enum as enumFactory, iso, literal, number, strictObject, string } from \"../../lazy-zod.js\";\nimport * as eagerZod from \"zod/v4\";\n//#region src/schemas/http/space-files.ts\nconst SPACE_FILE_MAX_SIZE_BYTES = 10 * 1024 * 1024;\nconst SPACE_FILE_MAX_TEXT_EDIT_SIZE_BYTES = 1024 * 1024;\nconst SPACE_FILE_MAX_NAME_LENGTH = 255;\nconst SPACE_FILE_MAX_FOLDER_DEPTH = 20;\nconst SPACE_MESSAGE_FILE_MAX_COUNT = 10;\nconst SPACE_COMPOSER_UPLOAD_TTL_MS = 1440 * 60 * 1e3;\nconst SPACE_COMPOSER_UPLOAD_OBJECT_PREFIX = \"composer-uploads/v1/\";\nconst PATH_SEPARATOR_PATTERN = /[\\\\/]/u;\nconst MEDIA_TYPE_PATTERN = /^[a-z0-9][a-z0-9!#$&^_.+-]{0,126}\\/[a-z0-9][a-z0-9!#$&^_.+-]{0,126}$/u;\nconst MIME_TYPES_BY_EXTENSION = {\n\t\".csv\": \"text/csv\",\n\t\".gif\": \"image/gif\",\n\t\".html\": \"text/html\",\n\t\".jpeg\": \"image/jpeg\",\n\t\".jpg\": \"image/jpeg\",\n\t\".json\": \"application/json\",\n\t\".md\": \"text/markdown\",\n\t\".markdown\": \"text/markdown\",\n\t\".pdf\": \"application/pdf\",\n\t\".png\": \"image/png\",\n\t\".svg\": \"image/svg+xml\",\n\t\".txt\": \"text/plain\",\n\t\".xml\": \"application/xml\",\n\t\".yaml\": \"application/yaml\",\n\t\".yml\": \"application/yaml\"\n};\nconst scopeIdSchema = string().trim().min(1).max(512);\nconst spaceFileEntryIdSchema = eagerZod.string().trim().min(1).max(128);\nconst spaceFileRevisionIdSchema = string().trim().min(1).max(128);\nconst spaceFileClientMutationIdSchema = string().trim().min(1).max(128);\nconst spaceFileRevisionNumberSchema = eagerZod.number().int().min(1);\nconst spaceFileBaseRevisionSchema = number().int().min(1).nullable();\nconst spaceFileSizeBytesSchema = number().int().min(0).max(SPACE_FILE_MAX_SIZE_BYTES);\nconst spaceComposerUploadIdSchema = string().uuid();\n/**\n* Derives the opaque file identity for a retriable create mutation.\n* Reusing the mutation identity produces the same file identity.\n*/\nasync function buildSpaceFileEntryIdForMutation(clientMutationId) {\n\treturn await buildSpaceFileMutationStorageId({\n\t\tclientMutationId,\n\t\tkind: \"file\"\n\t});\n}\n/**\n* Derives one canonical file identity from the exact Composer publication.\n* Both bounded request identities are validated independently before hashing.\n*/\nasync function buildSpaceComposerPublishedFileId(input) {\n\treturn await buildSpaceFileStorageId({\n\t\tidentityParts: [\n\t\t\t\"composer-upload\",\n\t\t\tspaceFileClientMutationIdSchema.parse(input.clientMutationId),\n\t\t\tspaceComposerUploadIdSchema.parse(input.uploadId)\n\t\t],\n\t\tkind: \"file\"\n\t});\n}\n/**\n* Derives an immutable revision identity from both the mutation and its bytes.\n* Exact retries reuse the same object key, while changed bytes conflict instead\n* of overwriting an already committed revision.\n*/\nasync function buildSpaceFileRevisionIdForMutation(input) {\n\tconst contentDigest = await sha256Hex(input.bytes);\n\tconst revisionIdentity = JSON.stringify({\n\t\tbaseRevision: spaceFileBaseRevisionSchema.parse(input.baseRevision),\n\t\tcontentDigest,\n\t\tmimeType: spaceFileMimeTypeSchema.parse(input.mimeType),\n\t\tname: input.name === void 0 ? null : spaceFileNameSchema.parse(input.name),\n\t\tparentId: input.parentId === void 0 || input.parentId === null ? null : spaceFileEntryIdSchema.parse(input.parentId)\n\t});\n\treturn await buildSpaceFileMutationStorageId({\n\t\tclientMutationId: input.clientMutationId,\n\t\trevisionIdentity,\n\t\tkind: \"revision\"\n\t});\n}\nasync function buildSpaceFileMutationStorageId(input) {\n\treturn await buildSpaceFileStorageId({\n\t\tidentityParts: [spaceFileClientMutationIdSchema.parse(input.clientMutationId), input.revisionIdentity ?? \"\"],\n\t\tkind: input.kind\n\t});\n}\nasync function buildSpaceFileStorageId(input) {\n\tconst encoded = new TextEncoder().encode([\n\t\t\"space-file\",\n\t\tinput.kind,\n\t\t...input.identityParts\n\t].join(\":\"));\n\tconst bytes = new ArrayBuffer(encoded.byteLength);\n\tnew Uint8Array(bytes).set(encoded);\n\treturn `${input.kind}-${await sha256Hex(bytes)}`;\n}\nasync function sha256Hex(bytes) {\n\tconst digest = await crypto.subtle.digest(\"SHA-256\", bytes);\n\treturn Array.from(new Uint8Array(digest), (byte) => byte.toString(16).padStart(2, \"0\")).join(\"\");\n}\nconst spaceFileMimeTypeSchema = string().trim().toLowerCase().max(255).regex(MEDIA_TYPE_PATTERN, \"File type must be a valid media type.\");\nconst spaceFileNameSchema = string().transform((value) => value.trim()).pipe(string().min(1).max(255).refine((value) => !PATH_SEPARATOR_PATTERN.test(value), { message: \"File names cannot contain path separators.\" }).refine((value) => !hasControlCharacter(value), { message: \"File names cannot contain control characters.\" }).refine((value) => value !== \".\" && value !== \"..\", { message: \"File names cannot be dot path segments.\" }));\nconst spaceFileActorSchema = strictObject({\n\tprofileId: scopeIdSchema,\n\tprofileKind: enumFactory([\"human\", \"agent\"]),\n\tdisplayName: string().trim().min(1).max(200),\n\townerUserId: scopeIdSchema.optional()\n});\nconst spaceFileAuditOperationSchema = enumFactory([\n\t\"content_read\",\n\t\"content_write\",\n\t\"folder_create\",\n\t\"entry_update\",\n\t\"entry_trash\",\n\t\"entry_restore\"\n]);\nconst spaceFileAuditResultSchema = enumFactory([\"succeeded\", \"failed\"]);\nconst spaceFileAuditEventSchema = strictObject({\n\teventId: string().trim().min(1).max(2048),\n\toperationId: scopeIdSchema,\n\trequestId: scopeIdSchema,\n\torganizationId: scopeIdSchema,\n\tspaceId: scopeIdSchema,\n\tentryId: spaceFileEntryIdSchema,\n\trevisionId: spaceFileRevisionIdSchema.nullable(),\n\toperation: spaceFileAuditOperationSchema,\n\tactorKind: enumFactory([\n\t\t\"authenticated\",\n\t\t\"anonymous_viewer\",\n\t\t\"dispatch_continuation\"\n\t]),\n\tactorProfileId: scopeIdSchema.nullable(),\n\trepresentedHumanProfileId: scopeIdSchema.nullable(),\n\tresult: spaceFileAuditResultSchema,\n\terrorCode: string().trim().min(1).max(128).nullable(),\n\toccurredAtMs: number().int().nonnegative()\n}).superRefine((value, context) => {\n\tif (value.actorKind !== \"anonymous_viewer\" !== (value.actorProfileId !== null)) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"Authenticated and dispatch actors require an actor Profile; anonymous viewers must not claim one.\",\n\t\tpath: [\"actorProfileId\"]\n\t});\n\tif (value.result === \"succeeded\" && value.errorCode !== null) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"Successful Space File audit events cannot carry an error code.\",\n\t\tpath: [\"errorCode\"]\n\t});\n\tif (value.result === \"failed\" && value.errorCode === null) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"Failed Space File audit events require an error code.\",\n\t\tpath: [\"errorCode\"]\n\t});\n});\nconst spaceFileRevisionSchema = strictObject({\n\tid: spaceFileRevisionIdSchema,\n\tfileId: spaceFileEntryIdSchema,\n\trevision: spaceFileRevisionNumberSchema,\n\tmimeType: spaceFileMimeTypeSchema,\n\tsizeBytes: spaceFileSizeBytesSchema,\n\tcreatedAt: iso.datetime({ offset: true }),\n\tcreatedBy: spaceFileActorSchema\n});\n/**\n* Canonical Space File revision embedded in a message. `fileId` and\n* `revision` identify the immutable bytes; the remaining fields are the\n* server-resolved send-time presentation snapshot.\n*/\nconst spaceMessageFileReferenceSchema = strictObject({\n\tfileId: spaceFileEntryIdSchema,\n\trevision: spaceFileRevisionNumberSchema,\n\tname: spaceFileNameSchema,\n\tmimeType: spaceFileMimeTypeSchema,\n\tsizeBytes: spaceFileSizeBytesSchema\n});\nconst spaceMessageFileReferencesSchema = array(spaceMessageFileReferenceSchema).max(10);\nconst baseEntryShape = {\n\tid: spaceFileEntryIdSchema,\n\tspaceId: scopeIdSchema,\n\tparentId: spaceFileEntryIdSchema.nullable(),\n\tname: spaceFileNameSchema,\n\tpath: string().startsWith(\"/\").max(4096),\n\tcreatedAt: iso.datetime({ offset: true }),\n\tupdatedAt: iso.datetime({ offset: true }),\n\tcreatedBy: spaceFileActorSchema,\n\tupdatedBy: spaceFileActorSchema,\n\ttrashedAt: iso.datetime({ offset: true }).nullable().default(null),\n\ttrashedBy: spaceFileActorSchema.nullable().default(null)\n};\nconst spaceFolderDescriptorSchema = strictObject({\n\t...baseEntryShape,\n\tkind: literal(\"folder\")\n});\nconst spaceFileDescriptorSchema = strictObject({\n\t...baseEntryShape,\n\tkind: literal(\"file\"),\n\tlatestRevision: spaceFileRevisionSchema\n});\nconst spaceFileEntrySchema = discriminatedUnion(\"kind\", [spaceFolderDescriptorSchema, spaceFileDescriptorSchema]);\nconst spaceFileBreadcrumbSchema = strictObject({\n\tid: spaceFileEntryIdSchema.nullable(),\n\tname: string().trim().min(1).max(255)\n});\nconst spaceFileCapabilitiesSchema = strictObject({\n\tcanRead: literal(true),\n\tcanWrite: boolean()\n});\nconst listSpaceFilesQuerySchema = strictObject({\n\tparentId: spaceFileEntryIdSchema.nullable().optional(),\n\tview: enumFactory([\"active\", \"trash\"]).default(\"active\")\n});\nconst listSpaceFilesResponseSchema = strictObject({\n\tspaceId: scopeIdSchema,\n\tparentId: spaceFileEntryIdSchema.nullable(),\n\tview: enumFactory([\"active\", \"trash\"]).default(\"active\"),\n\tbreadcrumbs: array(spaceFileBreadcrumbSchema),\n\tentries: array(spaceFileEntrySchema),\n\tcapabilities: spaceFileCapabilitiesSchema\n});\nconst getSpaceFileResponseSchema = strictObject({ file: spaceFileDescriptorSchema });\nconst readSpaceFileTextResponseSchema = strictObject({\n\tfile: spaceFileDescriptorSchema,\n\trevision: spaceFileRevisionNumberSchema,\n\tcontent: string()\n});\nconst listSpaceFileRevisionsResponseSchema = strictObject({\n\tfile: spaceFileDescriptorSchema,\n\trevisions: array(spaceFileRevisionSchema)\n});\nconst createSpaceFolderBodySchema = strictObject({\n\tname: spaceFileNameSchema,\n\tparentId: spaceFileEntryIdSchema.nullable().optional(),\n\tclientMutationId: spaceFileClientMutationIdSchema\n});\nconst createSpaceFolderResponseSchema = strictObject({ folder: spaceFolderDescriptorSchema });\nconst updateSpaceFileEntryBodySchema = strictObject({\n\tname: spaceFileNameSchema.optional(),\n\tparentId: spaceFileEntryIdSchema.nullable().optional(),\n\tclientMutationId: spaceFileClientMutationIdSchema\n}).refine((value) => value.name !== void 0 || value.parentId !== void 0, { message: \"A new name or folder is required.\" });\nconst updateSpaceFileEntryResponseSchema = strictObject({ entry: spaceFileEntrySchema });\nconst trashSpaceFileEntryBodySchema = strictObject({ clientMutationId: spaceFileClientMutationIdSchema });\nconst trashSpaceFileEntryResponseSchema = strictObject({\n\tentryId: spaceFileEntryIdSchema,\n\ttrashedAt: iso.datetime({ offset: true })\n});\nconst restoreSpaceFileEntryBodySchema = strictObject({ clientMutationId: spaceFileClientMutationIdSchema });\nconst restoreSpaceFileEntryResponseSchema = strictObject({ entry: spaceFileEntrySchema });\nconst restoreSpaceFileRevisionBodySchema = strictObject({\n\tbaseRevision: spaceFileRevisionNumberSchema,\n\tclientMutationId: spaceFileClientMutationIdSchema\n});\nconst restoreSpaceFileRevisionResponseSchema = strictObject({ file: spaceFileDescriptorSchema });\nconst queryIntegerSchema = string().trim().regex(/^\\d+$/u).transform(Number);\nconst createSpaceFileUploadQuerySchema = strictObject({\n\tname: spaceFileNameSchema,\n\tparentId: spaceFileEntryIdSchema.optional(),\n\tclientMutationId: spaceFileClientMutationIdSchema\n});\nconst updateSpaceFileContentQuerySchema = strictObject({\n\tbaseRevision: queryIntegerSchema.pipe(spaceFileRevisionNumberSchema),\n\tclientMutationId: spaceFileClientMutationIdSchema\n});\nconst uploadSpaceFileResponseSchema = strictObject({ file: spaceFileDescriptorSchema });\n/**\n* Temporary bytes selected in a Composer. This is deliberately not a Space\n* File descriptor: the upload becomes a canonical root Space File only when\n* the user sends the message.\n*/\nconst spaceComposerUploadDescriptorSchema = strictObject({\n\tid: spaceComposerUploadIdSchema,\n\tname: spaceFileNameSchema,\n\tmimeType: spaceFileMimeTypeSchema,\n\tsizeBytes: spaceFileSizeBytesSchema,\n\texpiresAt: iso.datetime({ offset: true })\n});\nconst stageSpaceComposerUploadQuerySchema = strictObject({ name: spaceFileNameSchema });\nconst stageSpaceComposerUploadResponseSchema = strictObject({ upload: spaceComposerUploadDescriptorSchema });\nconst publishSpaceComposerUploadBodySchema = strictObject({ clientMutationId: spaceFileClientMutationIdSchema });\nconst publishSpaceComposerUploadResponseSchema = strictObject({ file: spaceFileDescriptorSchema });\nconst discardSpaceComposerUploadResponseSchema = strictObject({\n\tuploadId: spaceComposerUploadIdSchema,\n\tdiscarded: literal(true)\n});\nconst resolveSpaceComposerUploadScopeResponseSchema = strictObject({\n\torganizationId: scopeIdSchema,\n\tactorProfileId: scopeIdSchema\n});\nconst spaceFileContentQuerySchema = strictObject({ revision: queryIntegerSchema.pipe(spaceFileRevisionNumberSchema).optional() });\nconst SPACE_FILE_ERROR_CODES = [\n\t\"space_file.conflict\",\n\t\"space_file.folder_not_empty\",\n\t\"space_file.invalid_parent\",\n\t\"space_file.name_conflict\",\n\t\"space_file.not_found\",\n\t\"space_file.storage_failed\",\n\t\"space_file.too_large\",\n\t\"space_file.type_unsupported\"\n];\nconst spaceFileMutationErrorCodeSchema = enumFactory(SPACE_FILE_ERROR_CODES);\nconst spaceFileMutationErrorResponseSchema = strictObject({ error: strictObject({\n\tcode: spaceFileMutationErrorCodeSchema,\n\tmessage: string().trim().min(1).max(500),\n\tcurrentFile: spaceFileDescriptorSchema.optional()\n}) });\nconst prepareSpaceFileWriteInputSchema = strictObject({\n\tspaceId: scopeIdSchema,\n\tfileId: spaceFileEntryIdSchema,\n\trevisionId: spaceFileRevisionIdSchema,\n\tname: spaceFileNameSchema.optional(),\n\tparentId: spaceFileEntryIdSchema.nullable().optional(),\n\tbaseRevision: spaceFileBaseRevisionSchema,\n\tclientMutationId: spaceFileClientMutationIdSchema,\n\tmimeType: spaceFileMimeTypeSchema,\n\tsizeBytes: spaceFileSizeBytesSchema\n});\nconst prepareSpaceFileWriteResponseSchema = strictObject({\n\torganizationId: scopeIdSchema,\n\tspaceId: scopeIdSchema,\n\tfileId: spaceFileEntryIdSchema,\n\trevisionId: spaceFileRevisionIdSchema,\n\tobjectKey: string().trim().min(1).max(4096),\n\tcommittedFile: spaceFileDescriptorSchema.optional()\n});\nconst commitSpaceFileWriteInputSchema = prepareSpaceFileWriteInputSchema;\nconst resolveSpaceFileContentInputSchema = strictObject({\n\tspaceId: scopeIdSchema,\n\tfileId: spaceFileEntryIdSchema,\n\trevision: spaceFileRevisionNumberSchema.optional()\n});\nconst resolveSpaceFileContentResponseSchema = strictObject({\n\tfile: spaceFileDescriptorSchema,\n\trevision: spaceFileRevisionSchema,\n\torganizationId: scopeIdSchema,\n\tobjectKey: string().trim().min(1).max(4096)\n});\nfunction buildSpaceFileObjectKey(input) {\n\treturn `org/${input.organizationId}/space/${input.spaceId}/files/${input.fileId}/revisions/${input.revisionId}`;\n}\nfunction buildSpaceComposerUploadObjectKey(input) {\n\tconst uploadId = spaceComposerUploadIdSchema.parse(input.uploadId);\n\treturn `${SPACE_COMPOSER_UPLOAD_OBJECT_PREFIX}org/${encodeURIComponent(input.organizationId)}/space/${encodeURIComponent(input.spaceId)}/profile/${encodeURIComponent(input.actorProfileId)}/${uploadId}`;\n}\nfunction isSpaceFileTextEditable(input) {\n\treturn input.sizeBytes <= 1048576 && (input.mimeType.startsWith(\"text/\") || input.mimeType === \"application/json\" || input.mimeType === \"application/yaml\" || input.mimeType === \"application/x-yaml\" || input.mimeType === \"application/xml\");\n}\nfunction resolveSpaceFileMimeType(input) {\n\tconst declaredMimeType = input.declaredMimeType?.trim().toLowerCase();\n\tif (declaredMimeType) return declaredMimeType;\n\tconst fileName = input.fileName.toLowerCase();\n\tconst extensionStart = fileName.lastIndexOf(\".\");\n\tconst extension = extensionStart >= 0 ? fileName.slice(extensionStart) : \"\";\n\treturn MIME_TYPES_BY_EXTENSION[extension] ?? \"application/octet-stream\";\n}\nfunction hasControlCharacter(value) {\n\treturn Array.from(value).some((character) => {\n\t\tconst codePoint = character.codePointAt(0) ?? 0;\n\t\treturn codePoint <= 31 || codePoint === 127;\n\t});\n}\n//#endregion\nexport { SPACE_COMPOSER_UPLOAD_OBJECT_PREFIX, SPACE_COMPOSER_UPLOAD_TTL_MS, SPACE_FILE_ERROR_CODES, SPACE_FILE_MAX_FOLDER_DEPTH, SPACE_FILE_MAX_NAME_LENGTH, SPACE_FILE_MAX_SIZE_BYTES, SPACE_FILE_MAX_TEXT_EDIT_SIZE_BYTES, SPACE_MESSAGE_FILE_MAX_COUNT, buildSpaceComposerPublishedFileId, buildSpaceComposerUploadObjectKey, buildSpaceFileEntryIdForMutation, buildSpaceFileObjectKey, buildSpaceFileRevisionIdForMutation, commitSpaceFileWriteInputSchema, createSpaceFileUploadQuerySchema, createSpaceFolderBodySchema, createSpaceFolderResponseSchema, discardSpaceComposerUploadResponseSchema, getSpaceFileResponseSchema, isSpaceFileTextEditable, listSpaceFileRevisionsResponseSchema, listSpaceFilesQuerySchema, listSpaceFilesResponseSchema, prepareSpaceFileWriteInputSchema, prepareSpaceFileWriteResponseSchema, publishSpaceComposerUploadBodySchema, publishSpaceComposerUploadResponseSchema, readSpaceFileTextResponseSchema, resolveSpaceComposerUploadScopeResponseSchema, resolveSpaceFileContentInputSchema, resolveSpaceFileContentResponseSchema, resolveSpaceFileMimeType, restoreSpaceFileEntryBodySchema, restoreSpaceFileEntryResponseSchema, restoreSpaceFileRevisionBodySchema, restoreSpaceFileRevisionResponseSchema, spaceComposerUploadDescriptorSchema, spaceComposerUploadIdSchema, spaceFileActorSchema, spaceFileAuditEventSchema, spaceFileAuditOperationSchema, spaceFileAuditResultSchema, spaceFileBaseRevisionSchema, spaceFileBreadcrumbSchema, spaceFileCapabilitiesSchema, spaceFileClientMutationIdSchema, spaceFileContentQuerySchema, spaceFileDescriptorSchema, spaceFileEntryIdSchema, spaceFileEntrySchema, spaceFileMimeTypeSchema, spaceFileMutationErrorCodeSchema, spaceFileMutationErrorResponseSchema, spaceFileNameSchema, spaceFileRevisionIdSchema, spaceFileRevisionNumberSchema, spaceFileRevisionSchema, spaceFileSizeBytesSchema, spaceFolderDescriptorSchema, spaceMessageFileReferenceSchema, spaceMessageFileReferencesSchema, stageSpaceComposerUploadQuerySchema, stageSpaceComposerUploadResponseSchema, trashSpaceFileEntryBodySchema, trashSpaceFileEntryResponseSchema, updateSpaceFileContentQuerySchema, updateSpaceFileEntryBodySchema, updateSpaceFileEntryResponseSchema, uploadSpaceFileResponseSchema };\n\n//# sourceMappingURL=space-files.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/http/space-mention-label.ts\nconst MULTI_SPACE_PATTERN = /\\s+/g;\nconst SPACE_MENTION_LABEL_MAX_LENGTH = 128;\nconst SPACE_MENTION_LABEL_SOURCE_VALUES = [\n\t\"profile_name\",\n\t\"mention_alias\",\n\t\"profile_name_with_short_id\",\n\t\"profile_id\"\n];\nconst spaceMentionLabelSourceSchema = z$1.enum(SPACE_MENTION_LABEL_SOURCE_VALUES);\nconst spaceMentionLabelSchema = z$1.preprocess(normalizeRawMentionLabelCandidate, z$1.string().min(1).max(128).refine((value) => !(value.includes(\"@\") || value.includes(\"(\") || value.includes(\")\")), \"Space mention labels must not contain @ or parentheses\"));\nfunction resolveSpaceMentionLabels(identities) {\n\tconst projected = [...identities].map(projectSpaceMentionLabelIdentity);\n\tconst exactLabelCounts = buildExactLabelCounts(projected);\n\treturn new Map(projected.map((identity) => {\n\t\tconst uniqueProfileName = resolveUniqueExactLabel(identity.normalizedProfileName, exactLabelCounts);\n\t\tconst uniqueMentionAlias = resolveUniqueExactLabel(identity.normalizedMentionAlias, exactLabelCounts);\n\t\tconst uniqueProfileNameWithShortId = resolveUniqueExactLabel(identity.profileNameWithShortId, exactLabelCounts);\n\t\tconst primaryLabelState = resolvePrimaryMentionLabel({\n\t\t\tmentionAlias: uniqueMentionAlias,\n\t\t\tprofileId: identity.profileId,\n\t\t\tprofileName: uniqueProfileName,\n\t\t\tprofileNameWithShortId: uniqueProfileNameWithShortId\n\t\t});\n\t\treturn [identity.profileId, {\n\t\t\texactMentionLabels: buildExactMentionLabels({\n\t\t\t\tmentionAlias: uniqueMentionAlias,\n\t\t\t\tprofileId: identity.profileId,\n\t\t\t\tprofileName: uniqueProfileName,\n\t\t\t\tprofileNameWithShortId: uniqueProfileNameWithShortId\n\t\t\t}),\n\t\t\tlabelSource: primaryLabelState.labelSource,\n\t\t\tprimaryMentionLabel: primaryLabelState.primaryMentionLabel\n\t\t}];\n\t}));\n}\nfunction resolveSingleSpaceMentionLabels(identity) {\n\tconst profileId = normalizeRequiredProfileId(identity.profileId);\n\tconst resolved = resolveSpaceMentionLabels([identity]).get(profileId);\n\tif (!resolved) throw new Error(`Missing resolved space mention labels for profile ${profileId}.`);\n\treturn resolved;\n}\nfunction projectSpaceMentionLabelIdentity(identity) {\n\tconst profileId = normalizeRequiredProfileId(identity.profileId);\n\tconst normalizedProfileName = normalizeProjectableMentionLabel(identity.profileName);\n\tconst normalizedMentionAlias = normalizeProjectableMentionLabel(identity.mentionAlias);\n\tconst profileNameWithShortId = normalizedProfileName ? `${normalizedProfileName}-${buildProfileIdShort(profileId)}` : null;\n\treturn {\n\t\tmentionAlias: normalizeOptionalText(identity.mentionAlias),\n\t\tnormalizedMentionAlias,\n\t\tnormalizedProfileName,\n\t\tprofileId,\n\t\tprofileNameWithShortId\n\t};\n}\nfunction normalizeRawMentionLabelCandidate(value) {\n\tconst normalized = trimmedStringFromUnknown(value).replace(MULTI_SPACE_PATTERN, \" \").trim();\n\tif (normalized.length === 0) return;\n\treturn normalized;\n}\nfunction normalizeProjectableMentionLabel(value) {\n\tconst parsed = spaceMentionLabelSchema.safeParse(value);\n\treturn parsed.success ? parsed.data : null;\n}\nfunction buildExactLabelCounts(identities) {\n\tconst counts = /* @__PURE__ */ new Map();\n\tfor (const identity of identities) {\n\t\taddExactLabelCount(counts, identity.profileId);\n\t\taddExactLabelCount(counts, identity.normalizedProfileName);\n\t\taddExactLabelCount(counts, identity.normalizedMentionAlias);\n\t\taddExactLabelCount(counts, identity.profileNameWithShortId);\n\t}\n\treturn counts;\n}\nfunction addExactLabelCount(counts, value) {\n\tif (!value) return;\n\tcounts.set(value, (counts.get(value) ?? 0) + 1);\n}\nfunction resolveUniqueExactLabel(value, counts) {\n\tif (!value) return null;\n\treturn counts.get(value) === 1 ? value : null;\n}\nfunction resolvePrimaryMentionLabel(input) {\n\tif (input.profileName) return {\n\t\tlabelSource: \"profile_name\",\n\t\tprimaryMentionLabel: input.profileName\n\t};\n\tif (input.mentionAlias) return {\n\t\tlabelSource: \"mention_alias\",\n\t\tprimaryMentionLabel: input.mentionAlias\n\t};\n\tif (input.profileNameWithShortId) return {\n\t\tlabelSource: \"profile_name_with_short_id\",\n\t\tprimaryMentionLabel: input.profileNameWithShortId\n\t};\n\treturn {\n\t\tlabelSource: \"profile_id\",\n\t\tprimaryMentionLabel: input.profileId\n\t};\n}\nfunction buildExactMentionLabels(input) {\n\tconst orderedCandidates = [\n\t\tinput.profileName,\n\t\tinput.mentionAlias,\n\t\tinput.profileNameWithShortId,\n\t\tinput.profileId\n\t];\n\tconst seen = /* @__PURE__ */ new Set();\n\tconst exactMentionLabels = [];\n\tfor (const candidate of orderedCandidates) {\n\t\tif (!(candidate && !seen.has(candidate))) continue;\n\t\tseen.add(candidate);\n\t\texactMentionLabels.push(candidate);\n\t}\n\treturn exactMentionLabels;\n}\nfunction buildProfileIdShort(profileId) {\n\tif (profileId.startsWith(\"agt_\")) return `agt_${profileId.slice(4, 9)}`;\n\treturn profileId.slice(0, 5);\n}\nfunction normalizeRequiredProfileId(profileId) {\n\tconst normalized = String(profileId ?? \"\").trim();\n\tif (normalized.length === 0) throw new Error(\"Space mention labels require a non-empty profileId.\");\n\treturn normalized;\n}\nfunction normalizeOptionalText(value) {\n\tconst normalized = trimmedStringFromUnknown(value);\n\treturn normalized.length > 0 ? normalized : null;\n}\n//#endregion\nexport { SPACE_MENTION_LABEL_MAX_LENGTH, SPACE_MENTION_LABEL_SOURCE_VALUES, resolveSingleSpaceMentionLabels, resolveSpaceMentionLabels, spaceMentionLabelSchema, spaceMentionLabelSourceSchema };\n\n//# sourceMappingURL=space-mention-label.js.map","import { agentProfileIdSchema } from \"./profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/core-readiness-facts-changed.ts\nconst CORE_READINESS_FACTS_CHANGED_MARKER_KIND = \"core_readiness_facts_changed\";\nconst coreReadinessFactsChangedSchema = z$1.strictObject({\n\tagentProfileId: agentProfileIdSchema,\n\tkind: z$1.literal(CORE_READINESS_FACTS_CHANGED_MARKER_KIND)\n});\n//#endregion\nexport { CORE_READINESS_FACTS_CHANGED_MARKER_KIND, coreReadinessFactsChangedSchema };\n\n//# sourceMappingURL=core-readiness-facts-changed.js.map"," \nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"./profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/signal-reply-to.ts\nconst MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH = 120;\nconst signalReplyToSchema = z$1.strictObject({\n\tsignalId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tprofileId: openMeldRuntimeProfileIdSchema,\n\tprofileKind: z$1.enum([\n\t\t\"human\",\n\t\t\"agent\",\n\t\t\"system\"\n\t]).nullable(),\n\tprofileName: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64)),\n\tpreviewText: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(120))\n});\n//#endregion\nexport { MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH, signalReplyToSchema };\n\n//# sourceMappingURL=signal-reply-to.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"../protocol/profile.js\";\nimport { coreReadinessFactsChangedSchema } from \"../protocol/core-readiness-facts-changed.js\";\nimport { signalReplyToSchema } from \"../protocol/signal-reply-to.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/signal-status.ts\nconst spaceStatusSchema = z$1.enum([\n\t\"working\",\n\t\"needs_input\",\n\t\"done\",\n\t\"blocked\",\n\t\"handoff\"\n]);\nconst signalStatusGeneratedBySchema = z$1.literal(\"openmeld\");\nconst signalStatusDataSchema = z$1.strictObject({\n\tactorProfileId: openMeldRuntimeProfileIdSchema,\n\tstatus: spaceStatusSchema,\n\tdispatchId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tresultRef: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\tcoreReadinessFactsChanged: coreReadinessFactsChangedSchema.optional(),\n\treplyTo: signalReplyToSchema.optional(),\n\ttargetProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\ttext: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(120)),\n\tgeneratedBy: signalStatusGeneratedBySchema\n});\nz$1.strictObject({\n\ttype: z$1.literal(\"signal.status\"),\n\tdata: signalStatusDataSchema\n});\n//#endregion\nexport { signalStatusDataSchema, signalStatusGeneratedBySchema, spaceStatusSchema };\n\n//# sourceMappingURL=signal-status.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/runtime-transport-stop-cause.ts\nconst runtimeTransportStopCauseSchema = z$1.enum([\n\t\"user_stop\",\n\t\"controlled_service_update\",\n\t\"service_crash\",\n\t\"network_disconnect\",\n\t\"unknown\"\n]);\n//#endregion\nexport { runtimeTransportStopCauseSchema };\n\n//# sourceMappingURL=runtime-transport-stop-cause.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"../protocol/profile.js\";\nimport { coreReadinessFactsChangedSchema } from \"../protocol/core-readiness-facts-changed.js\";\nimport { signalReplyToSchema } from \"../protocol/signal-reply-to.js\";\nimport { runtimeTransportStopCauseSchema } from \"../daemon/runtime-transport-stop-cause.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/signal-system-notice.ts\nconst signalSystemNoticeTypeSchema = z$1.enum([\n\t\"stay_silent\",\n\t\"policy_blocked\",\n\t\"terminal_failure\",\n\t\"wake_stopped\",\n\t\"execution_recovery_available\",\n\t\"execution_recovery_completed\"\n]);\nconst signalSystemNoticeGeneratedBySchema = z$1.literal(\"openmeld\");\nconst signalSystemNoticeFailureStageSchema = z$1.enum([\"execution\", \"publication\"]);\nconst signalSystemNoticeDataSchema = z$1.strictObject({\n\tnoticeType: signalSystemNoticeTypeSchema,\n\tactorProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\tactorName: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\tdispatchId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tresultRef: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\trecoveryOperationId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\tcoreReadinessFactsChanged: coreReadinessFactsChangedSchema.optional(),\n\treplyTo: signalReplyToSchema.optional(),\n\treason: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\treasonCode: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\tfailureStage: signalSystemNoticeFailureStageSchema.optional(),\n\tstopCause: runtimeTransportStopCauseSchema.optional(),\n\ttext: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tgeneratedBy: signalSystemNoticeGeneratedBySchema\n});\nconst signalSystemNoticeSchema = z$1.strictObject({\n\ttype: z$1.literal(\"signal.system_notice\"),\n\tdata: signalSystemNoticeDataSchema\n});\n//#endregion\nexport { signalSystemNoticeDataSchema, signalSystemNoticeFailureStageSchema, signalSystemNoticeGeneratedBySchema, signalSystemNoticeSchema, signalSystemNoticeTypeSchema };\n\n//# sourceMappingURL=signal-system-notice.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/center-agent-interaction-source.ts\nconst CENTER_AGENT_INTERACTION_CLIENT_MAX_CHARS = 80;\nconst CENTER_AGENT_INTERACTION_SESSION_ID_MAX_CHARS = 512;\n/**\n* Describes the authenticated client's carrier for a Center Agent request.\n* This is attribution and trace context only. It never grants identity,\n* membership, data access, or execution authority.\n*/\nconst centerAgentInteractionSourceSchema = z$1.discriminatedUnion(\"kind\", [z$1.strictObject({\n\tclient: z$1.string().trim().min(1).max(80),\n\tkind: z$1.literal(\"local_agent\"),\n\tsessionId: z$1.string().trim().min(1).max(512).optional()\n})]);\n//#endregion\nexport { CENTER_AGENT_INTERACTION_CLIENT_MAX_CHARS, CENTER_AGENT_INTERACTION_SESSION_ID_MAX_CHARS, centerAgentInteractionSourceSchema };\n\n//# sourceMappingURL=center-agent-interaction-source.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/conversation-compaction.ts\nconst conversationCompactionMarkerSchema = z$1.strictObject({\n\tcompletedAtMs: z$1.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),\n\tcount: z$1.number().int().positive().max(100),\n\tv: z$1.literal(1)\n});\n//#endregion\nexport { conversationCompactionMarkerSchema };\n\n//# sourceMappingURL=conversation-compaction.js.map","import { navigationActionSchema } from \"../../navigation-action.js\";\nimport { MAX_TEXT_LENGTH } from \"./constants.js\";\nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"./profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/message-envelope.ts\nconst MULTI_SPACE_PATTERN = /\\s+/g;\nconst CANONICAL_MENTION_LITERAL_PATTERN = /^@(?<name>.+)\\((?<type>wake|reference|mention)\\)$/u;\nconst RELATION_TEXT_PATTERN = /\\((wake|reference|mention|cc)\\)/gu;\nconst WORD_CHARACTER_PATTERN = /\\w/u;\nconst SPACE_MESSAGE_ADDRESSING_RELATION_VALUES = [\n\t\"wake\",\n\t\"reference\",\n\t\"mention\"\n];\nconst MESSAGE_MENTION_TYPE_VALUES = SPACE_MESSAGE_ADDRESSING_RELATION_VALUES;\nconst MESSAGE_ENVELOPE_TARGET_FIELD_VALUES = [\n\t\"activationTargets\",\n\t\"referenceTargets\",\n\t\"mentionTargets\"\n];\nconst SPACE_MESSAGE_ADDRESSING_TARGET_FIELD_VALUES = MESSAGE_ENVELOPE_TARGET_FIELD_VALUES;\nconst SPACE_MESSAGE_ADDRESSING_TARGET_KIND_VALUES = [\"human_profile\", \"agent_profile\"];\nconst spaceMessageAddressingRelationSchema = z$1.enum(SPACE_MESSAGE_ADDRESSING_RELATION_VALUES);\nconst messageMentionTypeSchema = spaceMessageAddressingRelationSchema;\nconst messageEnvelopeTargetFieldSchema = z$1.enum(MESSAGE_ENVELOPE_TARGET_FIELD_VALUES);\nconst spaceMessageAddressingTargetKindSchema = z$1.enum(SPACE_MESSAGE_ADDRESSING_TARGET_KIND_VALUES);\nconst MESSAGE_ENVELOPE_TARGET_FIELD_BY_MENTION_TYPE = {\n\twake: \"activationTargets\",\n\treference: \"referenceTargets\",\n\tmention: \"mentionTargets\"\n};\nconst SPACE_MESSAGE_ADDRESSING_TARGET_KIND_SUPPORT_BY_RELATION = {\n\twake: [\"agent_profile\"],\n\treference: [\"agent_profile\"],\n\tmention: [\"human_profile\"]\n};\nconst normalizeCanonicalMentionName = (value) => {\n\tconst normalized = trimmedStringFromUnknown(value).replace(MULTI_SPACE_PATTERN, \" \").trim();\n\tif (normalized.length === 0) return;\n\treturn normalized;\n};\nconst canonicalMentionNameSchema = z$1.preprocess(normalizeCanonicalMentionName, z$1.string().min(1).refine((value) => !(value.includes(\"(\") || value.includes(\")\")), \"Canonical mention name must not contain parentheses\"));\nconst canonicalMentionLiteralSchema = z$1.strictObject({\n\tname: canonicalMentionNameSchema,\n\ttype: messageMentionTypeSchema\n});\nconst canonicalMentionTextFragmentSchema = z$1.strictObject({\n\tstart: z$1.number().int().min(0),\n\tend: z$1.number().int().min(1),\n\ttext: z$1.string().min(1),\n\tparsedLiteral: canonicalMentionLiteralSchema.nullable()\n});\nconst buildTargetListSchema = (fieldName) => z$1.array(openMeldRuntimeProfileIdSchema).superRefine((targets, context) => {\n\tconst seenTargets = /* @__PURE__ */ new Set();\n\tfor (const [index, targetProfileId] of targets.entries()) {\n\t\tif (seenTargets.has(targetProfileId)) {\n\t\t\tcontext.addIssue({\n\t\t\t\tcode: z$1.ZodIssueCode.custom,\n\t\t\t\tmessage: `${fieldName} must not contain duplicate profileId`,\n\t\t\t\tpath: [index]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tseenTargets.add(targetProfileId);\n\t}\n});\nconst activationTargetsSchema = buildTargetListSchema(\"activationTargets\");\nconst referenceTargetsSchema = buildTargetListSchema(\"referenceTargets\");\nconst mentionTargetsSchema = buildTargetListSchema(\"mentionTargets\");\nconst replyToSignalIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1));\nconst validateDistinctTargetLists = (input, context) => {\n\tconst seenByTarget = /* @__PURE__ */ new Map();\n\tfor (const fieldName of MESSAGE_ENVELOPE_TARGET_FIELD_VALUES) for (const targetProfileId of input[fieldName] ?? []) {\n\t\tconst existingField = seenByTarget.get(targetProfileId);\n\t\tif (!existingField) {\n\t\t\tseenByTarget.set(targetProfileId, fieldName);\n\t\t\tcontinue;\n\t\t}\n\t\tcontext.addIssue({\n\t\t\tcode: z$1.ZodIssueCode.custom,\n\t\t\tmessage: `${fieldName} must not reuse profileId from ${existingField}`,\n\t\t\tpath: [fieldName]\n\t\t});\n\t}\n};\nconst currentMessageEnvelopeSchema = z$1.strictObject({\n\tactivationTargets: activationTargetsSchema,\n\treferenceTargets: referenceTargetsSchema,\n\tmentionTargets: mentionTargetsSchema.optional(),\n\tnavigationAction: navigationActionSchema.optional(),\n\treplyToSignalId: replyToSignalIdSchema.optional(),\n\ttext: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(MAX_TEXT_LENGTH))\n}).superRefine(validateDistinctTargetLists);\nconst currentMessageEnvelopeInputSchema = z$1.strictObject({\n\tactivationTargets: activationTargetsSchema.optional(),\n\treferenceTargets: referenceTargetsSchema.optional(),\n\tmentionTargets: mentionTargetsSchema.optional(),\n\tnavigationAction: navigationActionSchema.optional(),\n\treplyToSignalId: replyToSignalIdSchema.optional(),\n\ttext: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(MAX_TEXT_LENGTH))\n}).superRefine((value, context) => validateDistinctTargetLists({\n\tactivationTargets: value.activationTargets ?? [],\n\treferenceTargets: value.referenceTargets ?? [],\n\tmentionTargets: value.mentionTargets ?? []\n}, context));\n/**\n* Time-bounded compatibility boundary for deployed clients and persisted\n* signals authored before CC was removed. A valid legacy `ccTargets` list is\n* folded into Reference before the value enters the current domain model.\n*\n* Removal condition: the minimum supported Web, CLI, Local Service, Gateway,\n* Core, and Remote Agent versions all author and consume the current\n* envelope, and production history has been durably migrated or retained\n* behind a dedicated historical decoder.\n*/\nconst normalizeLegacyCcTargetsAsReference = (value) => {\n\tif (!(value && typeof value === \"object\") || Array.isArray(value)) return value;\n\tconst record = value;\n\tif (!Object.hasOwn(record, \"ccTargets\")) return value;\n\tconst legacyCcTargets = record.ccTargets;\n\tconst referenceTargets = record.referenceTargets;\n\tif (!Array.isArray(legacyCcTargets) || referenceTargets !== void 0 && !Array.isArray(referenceTargets)) return value;\n\tconst { ccTargets: _legacyCcTargets, ...currentFields } = record;\n\treturn {\n\t\t...currentFields,\n\t\treferenceTargets: [...Array.isArray(referenceTargets) ? referenceTargets : [], ...legacyCcTargets]\n\t};\n};\nconst messageEnvelopeSchema = z$1.preprocess(normalizeLegacyCcTargetsAsReference, currentMessageEnvelopeSchema);\nconst messageEnvelopeInputSchema = z$1.preprocess(normalizeLegacyCcTargetsAsReference, currentMessageEnvelopeInputSchema);\nconst normalizeMessageEnvelope = (value) => {\n\tconst parsed = messageEnvelopeInputSchema.safeParse(value);\n\tif (!parsed.success) throw parsed.error;\n\tconst normalized = {\n\t\tactivationTargets: parsed.data.activationTargets ?? [],\n\t\treferenceTargets: parsed.data.referenceTargets ?? [],\n\t\tmentionTargets: parsed.data.mentionTargets ?? [],\n\t\t...parsed.data.navigationAction ? { navigationAction: parsed.data.navigationAction } : {},\n\t\ttext: parsed.data.text,\n\t\t...parsed.data.replyToSignalId ? { replyToSignalId: parsed.data.replyToSignalId } : {}\n\t};\n\tconst canonical = messageEnvelopeSchema.safeParse(normalized);\n\tif (!canonical.success) throw canonical.error;\n\treturn canonical.data;\n};\nconst parseCanonicalMentionLiteral = (value) => {\n\tif (typeof value !== \"string\") return null;\n\tconst trimmed = value.trim();\n\tif (trimmed.length === 0) return null;\n\tconst match = trimmed.match(CANONICAL_MENTION_LITERAL_PATTERN);\n\tif (!match?.groups) return null;\n\tconst name = match.groups.name;\n\tconst type = match.groups.type;\n\tif (typeof name !== \"string\" || typeof type !== \"string\") return null;\n\tif (name.trim() !== name) return null;\n\tconst parsed = canonicalMentionLiteralSchema.safeParse({\n\t\tname,\n\t\ttype\n\t});\n\tif (!parsed.success) return null;\n\treturn parsed.data;\n};\nconst formatCanonicalMentionLiteral = (value) => {\n\tconst parsed = canonicalMentionLiteralSchema.safeParse(value);\n\tif (!parsed.success) throw parsed.error;\n\treturn `@${parsed.data.name}(${parsed.data.type})`;\n};\nconst collectCanonicalMentionTextFragments = (value) => {\n\tif (typeof value !== \"string\" || value.length === 0) return [];\n\tconst fragments = [];\n\tlet cursor = 0;\n\twhile (cursor < value.length) {\n\t\tconst atIndex = value.indexOf(\"@\", cursor);\n\t\tif (atIndex < 0) break;\n\t\tif (shouldSkipCanonicalMentionAt(value, atIndex)) {\n\t\t\tcursor = atIndex + 1;\n\t\t\tcontinue;\n\t\t}\n\t\tconst lineEndIndex = value.indexOf(\"\\n\", atIndex);\n\t\tconst nextAtIndex = value.indexOf(\"@\", atIndex + 1);\n\t\tconst searchEnd = Math.min(lineEndIndex < 0 ? value.length : lineEndIndex, nextAtIndex < 0 ? value.length : nextAtIndex);\n\t\tconst lineFragment = value.slice(atIndex, searchEnd);\n\t\tconst relationEndOffset = findCanonicalMentionRelationEnd(lineFragment);\n\t\tif (relationEndOffset === null) {\n\t\t\tcursor = atIndex + 1;\n\t\t\tcontinue;\n\t\t}\n\t\tconst rawMentionText = lineFragment.slice(0, relationEndOffset);\n\t\tconst leadingTrimmedLength = rawMentionText.length - rawMentionText.trimStart().length;\n\t\tconst mentionText = rawMentionText.trim();\n\t\tif (!mentionText) {\n\t\t\tcursor = atIndex + Math.max(1, relationEndOffset);\n\t\t\tcontinue;\n\t\t}\n\t\tconst start = atIndex + leadingTrimmedLength;\n\t\tconst end = start + mentionText.length;\n\t\tconst fragment = canonicalMentionTextFragmentSchema.safeParse({\n\t\t\tstart,\n\t\t\tend,\n\t\t\ttext: mentionText,\n\t\t\tparsedLiteral: parseCanonicalMentionLiteral(mentionText)\n\t\t});\n\t\tif (!fragment.success) throw fragment.error;\n\t\tfragments.push(fragment.data);\n\t\tcursor = atIndex + relationEndOffset;\n\t}\n\treturn fragments;\n};\nfunction shouldSkipCanonicalMentionAt(value, atIndex) {\n\tconst previous = atIndex > 0 ? value[atIndex - 1] ?? \"\" : \"\";\n\treturn previous === \"\\\\\" || WORD_CHARACTER_PATTERN.test(previous);\n}\nfunction findCanonicalMentionRelationEnd(value) {\n\tRELATION_TEXT_PATTERN.lastIndex = 0;\n\tconst relationMatch = RELATION_TEXT_PATTERN.exec(value);\n\tif (relationMatch?.index !== void 0) return relationMatch.index + relationMatch[0].length;\n\treturn null;\n}\nconst resolveMessageEnvelopeTargetField = (value) => {\n\tconst parsed = messageMentionTypeSchema.safeParse(value);\n\tif (!parsed.success) throw parsed.error;\n\treturn MESSAGE_ENVELOPE_TARGET_FIELD_BY_MENTION_TYPE[parsed.data];\n};\nconst resolveSpaceMessageAddressingTargetField = (value) => {\n\tconst parsed = spaceMessageAddressingRelationSchema.safeParse(value);\n\tif (!parsed.success) throw parsed.error;\n\treturn MESSAGE_ENVELOPE_TARGET_FIELD_BY_MENTION_TYPE[parsed.data];\n};\nconst isSpaceMessageAddressingRelationSupportedForTargetKind = (input) => {\n\tconst relation = spaceMessageAddressingRelationSchema.safeParse(input.relation);\n\tif (!relation.success) throw relation.error;\n\tconst targetKind = spaceMessageAddressingTargetKindSchema.safeParse(input.targetKind);\n\tif (!targetKind.success) throw targetKind.error;\n\treturn SPACE_MESSAGE_ADDRESSING_TARGET_KIND_SUPPORT_BY_RELATION[relation.data].includes(targetKind.data);\n};\nconst getSpaceMessageAddressingRelationSupportForTargetKind = (value) => {\n\tconst targetKind = spaceMessageAddressingTargetKindSchema.safeParse(value);\n\tif (!targetKind.success) throw targetKind.error;\n\treturn {\n\t\twake: isSpaceMessageAddressingRelationSupportedForTargetKind({\n\t\t\trelation: \"wake\",\n\t\t\ttargetKind: targetKind.data\n\t\t}),\n\t\treference: isSpaceMessageAddressingRelationSupportedForTargetKind({\n\t\t\trelation: \"reference\",\n\t\t\ttargetKind: targetKind.data\n\t\t}),\n\t\tmention: isSpaceMessageAddressingRelationSupportedForTargetKind({\n\t\t\trelation: \"mention\",\n\t\t\ttargetKind: targetKind.data\n\t\t})\n\t};\n};\n//#endregion\nexport { MESSAGE_ENVELOPE_TARGET_FIELD_VALUES, MESSAGE_MENTION_TYPE_VALUES, SPACE_MESSAGE_ADDRESSING_RELATION_VALUES, SPACE_MESSAGE_ADDRESSING_TARGET_FIELD_VALUES, SPACE_MESSAGE_ADDRESSING_TARGET_KIND_VALUES, canonicalMentionLiteralSchema, canonicalMentionTextFragmentSchema, collectCanonicalMentionTextFragments, formatCanonicalMentionLiteral, getSpaceMessageAddressingRelationSupportForTargetKind, isSpaceMessageAddressingRelationSupportedForTargetKind, messageEnvelopeInputSchema, messageEnvelopeSchema, messageEnvelopeTargetFieldSchema, messageMentionTypeSchema, normalizeMessageEnvelope, parseCanonicalMentionLiteral, resolveMessageEnvelopeTargetField, resolveSpaceMessageAddressingTargetField, spaceMessageAddressingRelationSchema, spaceMessageAddressingTargetKindSchema };\n\n//# sourceMappingURL=message-envelope.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/space-attachment.ts\nconst SPACE_ATTACHMENT_ALLOWED_MIME_TYPES = [\"image/jpeg\", \"image/png\"];\nconst JPEG_MAGIC_BYTES = [\n\t255,\n\t216,\n\t255\n];\nconst PNG_MAGIC_BYTES = [\n\t137,\n\t80,\n\t78,\n\t71,\n\t13,\n\t10,\n\t26,\n\t10\n];\nconst SPACE_ATTACHMENT_MAX_SIZE_BYTES = 5242880;\n/**\n* W-ATT2 owns enforcement when a message starts referencing attachments.\n*/\nconst SPACE_ATTACHMENT_MAX_COUNT_PER_MESSAGE = 4;\nconst SPACE_ATTACHMENT_MAX_DIMENSION = 2e4;\nconst SPACE_ATTACHMENT_MAX_FILE_NAME_LENGTH = 255;\nconst FILE_NAME_PATH_SEPARATOR_PATTERN = /[\\\\/]/;\nconst spaceAttachmentScopeIdSchema = z$1.string().trim().min(1).max(512);\nconst spaceAttachmentIdSchema = z$1.string().trim().min(1).max(128);\nconst spaceAttachmentMimeTypeSchema = z$1.enum(SPACE_ATTACHMENT_ALLOWED_MIME_TYPES);\nconst spaceAttachmentSizeBytesSchema = z$1.number().int().finite().min(1).max(SPACE_ATTACHMENT_MAX_SIZE_BYTES);\n/**\n* Width and height are client-declared layout hints. The server stores them\n* without decoding the image and does not verify them against the image bytes.\n*/\nconst spaceAttachmentDimensionSchema = z$1.number().int().finite().min(1).max(SPACE_ATTACHMENT_MAX_DIMENSION);\nconst spaceAttachmentFileNameSchema = z$1.string().transform((value) => value.trim().split(FILE_NAME_PATH_SEPARATOR_PATTERN).at(-1)?.trim() ?? \"\").pipe(z$1.string().min(1).max(255));\nconst spaceAttachmentDescriptorSchema = z$1.strictObject({\n\tid: spaceAttachmentIdSchema,\n\tspaceId: spaceAttachmentScopeIdSchema,\n\torganizationId: spaceAttachmentScopeIdSchema,\n\tmimeType: spaceAttachmentMimeTypeSchema,\n\tsizeBytes: spaceAttachmentSizeBytesSchema,\n\t/** Client-declared layout hint; not verified against the image bytes. */\n\twidth: spaceAttachmentDimensionSchema.optional(),\n\t/** Client-declared layout hint; not verified against the image bytes. */\n\theight: spaceAttachmentDimensionSchema.optional(),\n\tfileName: spaceAttachmentFileNameSchema.optional(),\n\tcreatedAt: z$1.iso.datetime({ offset: true })\n});\n/**\n* Attachment metadata embedded in a Space message. Scope and creation facts\n* stay in Core-owned attachment metadata and are not repeated in the signal.\n*/\nconst spaceMessageAttachmentSchema = z$1.strictObject({\n\tid: spaceAttachmentIdSchema,\n\tmimeType: spaceAttachmentMimeTypeSchema,\n\tsizeBytes: spaceAttachmentSizeBytesSchema,\n\twidth: spaceAttachmentDimensionSchema.optional(),\n\theight: spaceAttachmentDimensionSchema.optional(),\n\tfileName: spaceAttachmentFileNameSchema.optional()\n});\nconst spaceMessageAttachmentsSchema = z$1.array(spaceMessageAttachmentSchema).max(4);\nfunction detectSpaceAttachmentMimeType(bytes) {\n\tconst actual = bytes instanceof Uint8Array ? bytes : new Uint8Array(bytes);\n\tif (matchesMagicBytes(actual, PNG_MAGIC_BYTES)) return \"image/png\";\n\tif (matchesMagicBytes(actual, JPEG_MAGIC_BYTES)) return \"image/jpeg\";\n\treturn null;\n}\nfunction projectSpaceMessageAttachment(descriptor) {\n\treturn spaceMessageAttachmentSchema.parse({\n\t\tid: descriptor.id,\n\t\tmimeType: descriptor.mimeType,\n\t\tsizeBytes: descriptor.sizeBytes,\n\t\t...descriptor.width === void 0 ? {} : { width: descriptor.width },\n\t\t...descriptor.height === void 0 ? {} : { height: descriptor.height },\n\t\t...descriptor.fileName === void 0 ? {} : { fileName: descriptor.fileName }\n\t});\n}\nfunction buildSpaceAttachmentObjectKey(input) {\n\treturn `org/${input.organizationId}/space/${input.spaceId}/${input.id}`;\n}\nfunction matchesMagicBytes(bytes, expected) {\n\treturn expected.every((value, index) => bytes[index] === value);\n}\n/** Core-owned metadata payload carried inside the authenticated RPC wrapper. */\nconst recordSpaceAttachmentPayloadSchema = z$1.strictObject({\n\tspaceId: spaceAttachmentScopeIdSchema,\n\tmimeType: spaceAttachmentMimeTypeSchema,\n\tsizeBytes: spaceAttachmentSizeBytesSchema,\n\twidth: spaceAttachmentDimensionSchema.optional(),\n\theight: spaceAttachmentDimensionSchema.optional(),\n\tfileName: spaceAttachmentFileNameSchema.optional()\n});\nconst deleteSpaceAttachmentRecordInputSchema = z$1.strictObject({ attachmentId: spaceAttachmentIdSchema });\nconst deleteSpaceAttachmentRecordResultSchema = z$1.strictObject({ deleted: z$1.boolean() });\nconst resolveSpaceAttachmentForDownloadPayloadSchema = z$1.strictObject({\n\tspaceId: spaceAttachmentScopeIdSchema,\n\tattachmentId: spaceAttachmentIdSchema\n});\n//#endregion\nexport { SPACE_ATTACHMENT_ALLOWED_MIME_TYPES, SPACE_ATTACHMENT_MAX_COUNT_PER_MESSAGE, SPACE_ATTACHMENT_MAX_DIMENSION, SPACE_ATTACHMENT_MAX_FILE_NAME_LENGTH, SPACE_ATTACHMENT_MAX_SIZE_BYTES, buildSpaceAttachmentObjectKey, deleteSpaceAttachmentRecordInputSchema, deleteSpaceAttachmentRecordResultSchema, detectSpaceAttachmentMimeType, projectSpaceMessageAttachment, recordSpaceAttachmentPayloadSchema, resolveSpaceAttachmentForDownloadPayloadSchema, spaceAttachmentDescriptorSchema, spaceAttachmentDimensionSchema, spaceAttachmentFileNameSchema, spaceAttachmentIdSchema, spaceAttachmentMimeTypeSchema, spaceAttachmentSizeBytesSchema, spaceMessageAttachmentSchema, spaceMessageAttachmentsSchema };\n\n//# sourceMappingURL=space-attachment.js.map","import { agentProfileIdSchema } from \"./profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/wake-device-wait.ts\nconst MAX_WAKE_DEVICE_WAIT_MS = 10080 * 6e4;\nconst DEFAULT_WAKE_DEVICE_WAIT_MS = 1440 * 6e4;\nconst RUNTIME_COORDINATOR_DEVICE_WAITING_REASON_CODE = \"runtime_coordinator.device_waiting\";\nconst wakeDeviceWaitTargetSchema = z$1.strictObject({\n\tbindingId: z$1.string().trim().min(1).max(512),\n\topenMeldServiceRuntimeId: z$1.string().trim().min(1).max(512)\n});\nconst wakeDeviceWaitSchema = wakeDeviceWaitTargetSchema.extend({\n\tdeadlineAtMs: z$1.number().int().nonnegative(),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst wakeDeviceWaitAccessRequestSchema = z$1.strictObject({\n\tdispatchId: z$1.string().trim().min(1),\n\tsourceSignalId: z$1.string().trim().min(1),\n\tspaceId: z$1.string().trim().min(1),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst wakeDeviceWaitAccessResponseSchema = z$1.strictObject({ allowed: z$1.boolean() });\n//#endregion\nexport { DEFAULT_WAKE_DEVICE_WAIT_MS, MAX_WAKE_DEVICE_WAIT_MS, RUNTIME_COORDINATOR_DEVICE_WAITING_REASON_CODE, wakeDeviceWaitAccessRequestSchema, wakeDeviceWaitAccessResponseSchema, wakeDeviceWaitSchema, wakeDeviceWaitTargetSchema };\n\n//# sourceMappingURL=wake-device-wait.js.map","import { isLegacyAgentActivityWorkCompatible } from \"../../agent-work-activity.js\";\nimport { MAX_TEXT_LENGTH } from \"./constants.js\";\nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"./profile.js\";\nimport { spaceAgentActivitySchema } from \"./agent-stream.js\";\nimport { clientMessageIdSchema } from \"./client-message-id.js\";\nimport { spaceMessageFileReferencesSchema } from \"../http/space-files.js\";\nimport { spaceMentionLabelSchema } from \"../http/space-mention-label.js\";\nimport { coreReadinessFactsChangedSchema } from \"./core-readiness-facts-changed.js\";\nimport { MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH, signalReplyToSchema } from \"./signal-reply-to.js\";\nimport { signalStatusDataSchema as signalStatusDataSchema$1 } from \"../space-mesh/signal-status.js\";\nimport { signalSystemNoticeDataSchema as signalSystemNoticeDataSchema$1 } from \"../space-mesh/signal-system-notice.js\";\nimport { centerAgentInteractionSourceSchema } from \"./center-agent-interaction-source.js\";\nimport { conversationCompactionMarkerSchema } from \"./conversation-compaction.js\";\nimport { messageEnvelopeSchema } from \"./message-envelope.js\";\nimport { spaceMessageAttachmentsSchema } from \"./space-attachment.js\";\nimport { wakeDeviceWaitSchema } from \"./wake-device-wait.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/signal.ts\nconst MULTI_SPACE_PATTERN = /\\s+/g;\nconst DELETE_CODE_POINT = 127;\nconst COMPLETE_FENCED_BLOCK_PATTERN = /```[\\s\\S]*?```/gu;\nconst TRAILING_OPENMELD_SPACE_ACTION_BLOCK_PATTERN = /```openmeld-space-action[\\s\\S]*$/u;\nconst SPACE_MEMBER_JOIN_NOTICE_PURPOSE = \"space_membership_join_notice\";\nconst SPACE_MEMBER_REMOVE_NOTICE_PURPOSE = \"space_membership_remove_notice\";\nconst SPACE_MENTION_REJECT_NOTICE_PURPOSE = \"space_mention_reject_notice\";\nconst AGENT_REPLYING_PURPOSE = \"agent_replying\";\nconst AGENT_REPLYING_END_PURPOSE = \"agent_replying_end\";\nconst AGENT_REPLY_PREVIEW_PURPOSE = \"agent_reply_preview\";\nconst AGENT_REPLY_PREVIEW_END_PURPOSE = \"agent_reply_preview_end\";\nconst AGENT_REPLY_FINAL_PURPOSE = \"agent_reply_final\";\nconst REMOTE_AGENT_FAILURE_PURPOSE = \"remote_agent_failure\";\nconst DISPATCH_ACTIVITY_DISPATCHING_PURPOSE = \"dispatch_activity_dispatching\";\nconst DISPATCH_ACTIVITY_RETRYING_PURPOSE = \"dispatch_activity_retrying\";\nconst DISPATCH_ACTIVITY_FAILED_PURPOSE = \"dispatch_activity_failed\";\nconst CONVERSATION_CONTINUITY_WARNING_PURPOSE = \"conversation_continuity_warning\";\nconst sanitizeSignalTextPreview = (text) => {\n\tconst normalized = trimmedStringFromUnknown(text).replace(COMPLETE_FENCED_BLOCK_PATTERN, \" \").replace(TRAILING_OPENMELD_SPACE_ACTION_BLOCK_PATTERN, \" \");\n\tif (normalized.length === 0) return null;\n\tconst singleLine = normalized.split(\"\").map((character) => isControlCharacter(character) ? \" \" : character).join(\"\").replace(MULTI_SPACE_PATTERN, \" \").trim();\n\tif (singleLine.length === 0) return null;\n\treturn singleLine.length <= 120 ? singleLine : `${singleLine.slice(0, 119)}…`;\n};\nconst signalTextReplyToSchema = signalReplyToSchema;\nconst signalTextContentSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().max(MAX_TEXT_LENGTH));\nconst runtimeDeviceDisplayNameSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(80));\nconst legacySpaceAgentActivitySchema = spaceAgentActivitySchema.superRefine((activity, context) => {\n\tactivity.steps.forEach((step, index) => {\n\t\tif (!isLegacyAgentActivityWorkCompatible(step.work)) context.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"work is not compatible with legacy Agent Activity\",\n\t\t\tpath: [\n\t\t\t\t\"steps\",\n\t\t\t\tindex,\n\t\t\t\t\"work\"\n\t\t\t]\n\t\t});\n\t});\n});\nconst signalTextMetaSchema = z$1.object({\n\tdeviceWait: wakeDeviceWaitSchema.optional(),\n\trestoredFromSignalId: z$1.string().min(1).optional(),\n\trepostedAt: z$1.number().int().nonnegative().optional(),\n\tmessageRevision: z$1.number().int().nonnegative().optional(),\n\teditedAt: z$1.number().int().nonnegative().optional(),\n\trecalledAt: z$1.number().int().nonnegative().optional(),\n\tchangedMessageId: z$1.string().min(1).optional(),\n\ttransient: z$1.literal(true).optional(),\n\tagentActivity: legacySpaceAgentActivitySchema.optional(),\n\tagentWorkSummary: spaceAgentActivitySchema.optional(),\n\tclientMessageId: clientMessageIdSchema.optional(),\n\tcenterAgentExecutionInput: z$1.strictObject({\n\t\tdispatchId: z$1.string().min(1).max(200),\n\t\ttargetProfileId: openMeldRuntimeProfileIdSchema\n\t}).optional(),\n\tauthorHasRead: z$1.literal(true).optional(),\n\tcenterAgentInteractionSource: centerAgentInteractionSourceSchema.optional(),\n\tconversationCompaction: conversationCompactionMarkerSchema.optional(),\n\tsourceEventId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().max(200)).optional(),\n\tsourceClientMessageId: clientMessageIdSchema.optional(),\n\tpurpose: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(80)).optional(),\n\terrorCode: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(120)).optional(),\n\tdispatchId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().max(200)).optional(),\n\ttargetProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\ttargetProfileKind: z$1.enum([\"human\", \"agent\"]).optional(),\n\ttargetProfileName: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64)).optional(),\n\ttargetMentionLabel: spaceMentionLabelSchema.optional(),\n\truntimeDeviceDisplayName: runtimeDeviceDisplayNameSchema.optional(),\n\tcoreReadinessFactsChanged: coreReadinessFactsChangedSchema.optional(),\n\tstaleness: z$1.object({ newMessagesDuringComposition: z$1.number().int().positive() }).optional(),\n\taddedByProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\taddedByDisplayName: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64)).optional(),\n\tremovedByProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\tremovedByDisplayName: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(64)).optional()\n});\nconst validateAuthoredSignalTextMeta = (meta, context) => {\n\tif (meta.purpose !== \"space_membership_join_notice\" && meta.purpose !== \"space_membership_remove_notice\") return;\n\tif (!meta.targetProfileId) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"targetProfileId is required for space member notices\",\n\t\tpath: [\"targetProfileId\"]\n\t});\n\tif (!meta.targetProfileKind) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"targetProfileKind is required for space member notices\",\n\t\tpath: [\"targetProfileKind\"]\n\t});\n\tif (meta.purpose === \"space_membership_join_notice\" && !meta.addedByProfileId) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"addedByProfileId is required for space member notices\",\n\t\tpath: [\"addedByProfileId\"]\n\t});\n\tif (meta.purpose === \"space_membership_join_notice\" && !meta.addedByDisplayName) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"addedByDisplayName is required for space member notices\",\n\t\tpath: [\"addedByDisplayName\"]\n\t});\n\tif (meta.purpose === \"space_membership_remove_notice\" && !meta.removedByProfileId) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"removedByProfileId is required for space member notices\",\n\t\tpath: [\"removedByProfileId\"]\n\t});\n\tif (meta.purpose === \"space_membership_remove_notice\" && !meta.removedByDisplayName) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"removedByDisplayName is required for space member notices\",\n\t\tpath: [\"removedByDisplayName\"]\n\t});\n};\nconst postedSignalTextMetaSchema = signalTextMetaSchema.omit({\n\trepostedAt: true,\n\tmessageRevision: true,\n\teditedAt: true,\n\trecalledAt: true,\n\tchangedMessageId: true,\n\tagentActivity: true,\n\tagentWorkSummary: true,\n\tconversationCompaction: true\n}).extend({ deviceWait: z$1.never({ error: \"Set deviceWait only at the top level of the message request.\" }).optional() }).superRefine(validateAuthoredSignalTextMeta);\nconst systemEmittedSignalTextMetaSchema = signalTextMetaSchema.omit({\n\tagentActivity: true,\n\tagentWorkSummary: true\n}).superRefine(validateAuthoredSignalTextMeta);\nconst addSignalTextMessageEnvelopeIssues = (input, context) => {\n\tif (!input.messageEnvelope) return;\n\tif (input.messageEnvelope.text !== input.text) context.addIssue({\n\t\tcode: z$1.ZodIssueCode.custom,\n\t\tpath: [\"messageEnvelope\", \"text\"],\n\t\tmessage: \"messageEnvelope.text must match text\"\n\t});\n\tif (input.replyTo?.signalId && input.messageEnvelope.replyToSignalId && input.replyTo.signalId !== input.messageEnvelope.replyToSignalId) context.addIssue({\n\t\tcode: z$1.ZodIssueCode.custom,\n\t\tpath: [\"messageEnvelope\", \"replyToSignalId\"],\n\t\tmessage: \"messageEnvelope.replyToSignalId must match replyTo.signalId\"\n\t});\n};\nconst addSignalTextContentIssues = (input, context) => {\n\tif (input.text.length > 0 || (input.files?.length ?? 0) > 0 || (input.attachments?.length ?? 0) > 0) return;\n\tcontext.addIssue({\n\t\tcode: z$1.ZodIssueCode.custom,\n\t\tpath: [\"text\"],\n\t\tmessage: \"A message must include text or at least one file\"\n\t});\n};\nconst buildSignalTextDataSchema = (metaSchema) => z$1.strictObject({\n\ttext: signalTextContentSchema,\n\tdeviceWait: wakeDeviceWaitSchema.optional(),\n\tattachments: spaceMessageAttachmentsSchema.optional(),\n\tfiles: spaceMessageFileReferencesSchema.optional(),\n\tmessageEnvelope: messageEnvelopeSchema.optional(),\n\treplyTo: signalTextReplyToSchema.optional(),\n\tmeta: metaSchema.optional()\n}).superRefine(addSignalTextContentIssues).superRefine(addSignalTextMessageEnvelopeIssues);\nconst signalTextDataSchema = buildSignalTextDataSchema(signalTextMetaSchema);\nconst signalTextSchema = z$1.object({\n\ttype: z$1.literal(\"signal.text\"),\n\tdata: buildSignalTextDataSchema(postedSignalTextMetaSchema)\n});\nconst systemEmittedSignalTextSchema = z$1.object({\n\ttype: z$1.literal(\"signal.text\"),\n\tdata: buildSignalTextDataSchema(systemEmittedSignalTextMetaSchema)\n});\nconst signalStatusSchema = z$1.strictObject({\n\ttype: z$1.literal(\"signal.status\"),\n\tdata: signalStatusDataSchema$1\n});\nconst signalStatusDataSchema = signalStatusDataSchema$1;\nconst signalSystemNoticeSchema = z$1.strictObject({\n\ttype: z$1.literal(\"signal.system_notice\"),\n\tdata: signalSystemNoticeDataSchema$1\n});\nconst signalSystemNoticeDataSchema = signalSystemNoticeDataSchema$1;\nconst isControlCharacter = (character) => {\n\tconst codePoint = character.codePointAt(0);\n\treturn typeof codePoint === \"number\" && (codePoint < 32 || codePoint === DELETE_CODE_POINT);\n};\n//#endregion\nexport { AGENT_REPLYING_END_PURPOSE, AGENT_REPLYING_PURPOSE, AGENT_REPLY_FINAL_PURPOSE, AGENT_REPLY_PREVIEW_END_PURPOSE, AGENT_REPLY_PREVIEW_PURPOSE, CONVERSATION_CONTINUITY_WARNING_PURPOSE, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE, DISPATCH_ACTIVITY_FAILED_PURPOSE, DISPATCH_ACTIVITY_RETRYING_PURPOSE, MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH, REMOTE_AGENT_FAILURE_PURPOSE, SPACE_MEMBER_JOIN_NOTICE_PURPOSE, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE, SPACE_MENTION_REJECT_NOTICE_PURPOSE, sanitizeSignalTextPreview, signalStatusDataSchema, signalStatusSchema, signalSystemNoticeDataSchema, signalSystemNoticeSchema, signalTextDataSchema, signalTextReplyToSchema, signalTextSchema, systemEmittedSignalTextSchema };\n\n//# sourceMappingURL=signal.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/agent-profile-work-recovery.ts\nconst agentProfileWorkRecoveryActionKindSchema = z$1.enum([\n\t\"continue_interrupted_work\",\n\t\"approve_queued_work\",\n\t\"skip_interrupted_work\"\n]);\n//#endregion\nexport { agentProfileWorkRecoveryActionKindSchema };\n\n//# sourceMappingURL=agent-profile-work-recovery.js.map"," \nimport { openMeldRuntimeProfileIdSchema, profileHandleSchema, profileKindSchema, profileLabelSchema } from \"../protocol/profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/profile-identity.ts\nconst nonEmptyTextSchema = z$1.string().transform((value) => value.trim()).refine((value) => value.length > 0, \"Expected non-blank text\");\nconst OPENMELD_SYSTEM_PROFILE_ID = \"openmeld-system\";\nconst openMeldSystemProfileIdSchema = z$1.literal(OPENMELD_SYSTEM_PROFILE_ID);\nconst openMeldActorProfileIdSchema = z$1.union([openMeldRuntimeProfileIdSchema, openMeldSystemProfileIdSchema]);\nconst visitedProfileIdsSchema = z$1.array(openMeldRuntimeProfileIdSchema).max(256);\nconst openMeldProfileIdSchema = openMeldRuntimeProfileIdSchema;\nconst resolvedOpenMeldProfileSchema = z$1.strictObject({\n\topenMeldProfileId: openMeldProfileIdSchema,\n\tprofileKind: profileKindSchema,\n\tprofileName: profileLabelSchema,\n\townerUserId: nonEmptyTextSchema,\n\tprofileHandle: profileHandleSchema.optional(),\n\townerName: profileLabelSchema.optional(),\n\tagentControllerRef: nonEmptyTextSchema.optional(),\n\tavatarUrl: z$1.string().min(1).optional()\n});\nconst openMeldActorContextSchema = z$1.strictObject({\n\trequestId: nonEmptyTextSchema,\n\tcallerPrincipalId: nonEmptyTextSchema.optional(),\n\topenMeldProfileId: openMeldActorProfileIdSchema,\n\tprofileKind: profileKindSchema,\n\tprofileHandle: profileHandleSchema.optional(),\n\tprofileName: profileLabelSchema.optional(),\n\townerUserId: nonEmptyTextSchema.optional(),\n\townerName: profileLabelSchema.optional(),\n\tavatarUrl: z$1.string().min(1).optional(),\n\tagentControllerRef: nonEmptyTextSchema.optional(),\n\tdispatchChainId: nonEmptyTextSchema.optional(),\n\tautoRelayDepth: z$1.number().int().nonnegative().optional(),\n\tvisitedProfileIds: visitedProfileIdsSchema.optional(),\n\tvisitedProfileIdsHash: nonEmptyTextSchema.optional()\n}).superRefine((value, ctx) => {\n\tif (value.profileKind === \"system\") {\n\t\tif (value.openMeldProfileId !== OPENMELD_SYSTEM_PROFILE_ID) ctx.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"system actor context must use openmeld-system as openMeldProfileId\",\n\t\t\tpath: [\"openMeldProfileId\"]\n\t\t});\n\t\treturn;\n\t}\n\tif (!openMeldRuntimeProfileIdSchema.safeParse(value.openMeldProfileId).success) ctx.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"human/agent actor context must use an auth-backed OpenMeld runtime profile ID\",\n\t\tpath: [\"openMeldProfileId\"]\n\t});\n});\nconst openMeldRequestContextSchema = z$1.strictObject({\n\tactorContext: openMeldActorContextSchema,\n\tactiveOrganizationId: nonEmptyTextSchema.optional(),\n\tagentControllerConversationId: nonEmptyTextSchema.optional()\n});\n//#endregion\nexport { openMeldActorContextSchema, openMeldProfileIdSchema, openMeldRequestContextSchema, resolvedOpenMeldProfileSchema };\n\n//# sourceMappingURL=profile-identity.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/http/execution-recovery.ts\nconst requiredIdentifierSchema = z$1.string().trim().min(1).max(512);\nconst nullableIdentifierSchema = requiredIdentifierSchema.nullable();\nconst executionRecoveryActionSchema = z$1.enum([\n\t\"recover_result\",\n\t\"resume_controller_conversation\",\n\t\"retry_as_new_execution\"\n]);\nconst executionRecoveryTierSchema = z$1.enum([\n\t\"durable_result_replay\",\n\t\"exact_controller_conversation_resume\",\n\t\"fresh_execution\",\n\t\"manual_review\",\n\t\"none\"\n]);\nconst executionRecoveryDestinationSchema = z$1.discriminatedUnion(\"surface\", [z$1.strictObject({\n\tsurface: z$1.literal(\"space\"),\n\tspaceId: requiredIdentifierSchema,\n\tthreadId: nullableIdentifierSchema\n}), z$1.strictObject({\n\tsurface: z$1.enum([\"slack\", \"lark\"]),\n\tconversationId: requiredIdentifierSchema,\n\tmessageId: nullableIdentifierSchema,\n\tspaceId: requiredIdentifierSchema\n})]);\nconst executionRecoveryIdentitySchema = z$1.strictObject({\n\tspaceId: requiredIdentifierSchema,\n\tdispatchId: requiredIdentifierSchema,\n\tattemptId: nullableIdentifierSchema,\n\ttaskId: nullableIdentifierSchema,\n\ttargetProfileId: requiredIdentifierSchema,\n\truntimeCoordinatorExecutionId: nullableIdentifierSchema,\n\tresultRef: nullableIdentifierSchema,\n\tagentControllerRef: nullableIdentifierSchema,\n\tagentControllerConversationId: nullableIdentifierSchema\n});\nconst executionRecoveryActionCapabilitySchema = z$1.strictObject({\n\taction: executionRecoveryActionSchema,\n\tenabled: z$1.boolean(),\n\tlabel: z$1.enum([\n\t\t\"Recover result\",\n\t\t\"Recover reply\",\n\t\t\"Continue conversation\",\n\t\t\"Start a new Wake\",\n\t\t\"Retry as new execution\"\n\t]),\n\treasonCode: requiredIdentifierSchema,\n\twarning: z$1.string().trim().min(1).max(1e3).nullable()\n});\nconst executionRecoveryProjectionSchema = z$1.strictObject({\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\ttier: executionRecoveryTierSchema,\n\tstatus: z$1.enum([\n\t\t\"available\",\n\t\t\"in_progress\",\n\t\t\"recovered\",\n\t\t\"outcome_unknown\",\n\t\t\"unavailable\"\n\t]),\n\trecommendedAction: executionRecoveryActionSchema.nullable(),\n\tactions: z$1.strictObject({\n\t\trecoverResult: executionRecoveryActionCapabilitySchema,\n\t\tresumeControllerConversation: executionRecoveryActionCapabilitySchema,\n\t\tretryAsNewExecution: executionRecoveryActionCapabilitySchema\n\t}),\n\trecoveredPublicationId: nullableIdentifierSchema,\n\tupdatedAtMs: z$1.number().int().nonnegative()\n});\nconst inspectExecutionRecoveryQuerySchema = z$1.strictObject({ dispatchId: requiredIdentifierSchema });\nconst inspectExecutionRecoveryResponseSchema = z$1.strictObject({ recovery: executionRecoveryProjectionSchema });\nconst executeExecutionRecoveryBodySchema = z$1.strictObject({\n\taction: executionRecoveryActionSchema,\n\toperationId: requiredIdentifierSchema,\n\texpectedIdentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema\n});\nconst executeExecutionRecoveryResponseSchema = z$1.strictObject({\n\tstatus: z$1.enum([\n\t\t\"already_completed\",\n\t\t\"completed\",\n\t\t\"new_execution_requested\",\n\t\t\"outcome_unknown\",\n\t\t\"retry_later\"\n\t]),\n\taction: executionRecoveryActionSchema,\n\toperationId: requiredIdentifierSchema,\n\trecovery: executionRecoveryProjectionSchema,\n\tpublicationId: nullableIdentifierSchema,\n\tnewExecutionId: nullableIdentifierSchema,\n\treasonCode: requiredIdentifierSchema\n});\n//#endregion\nexport { executeExecutionRecoveryBodySchema, executeExecutionRecoveryResponseSchema, executionRecoveryActionCapabilitySchema, executionRecoveryActionSchema, executionRecoveryDestinationSchema, executionRecoveryIdentitySchema, executionRecoveryProjectionSchema, executionRecoveryTierSchema, inspectExecutionRecoveryQuerySchema, inspectExecutionRecoveryResponseSchema };\n\n//# sourceMappingURL=execution-recovery.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/http/organization-information-protection.ts\nconst ORGANIZATION_PROTECTED_INFORMATION_MAX_CHARS = 2e3;\nconst boundedIdentifierSchema = z$1.string().trim().min(1).max(256);\nconst isoDateTimeSchema = z$1.iso.datetime({ offset: true });\nconst organizationProtectedInformationSchema = z$1.string().trim().min(1).max(ORGANIZATION_PROTECTED_INFORMATION_MAX_CHARS);\nconst organizationInformationProtectionPolicyResponseSchema = z$1.strictObject({\n\torganizationId: boundedIdentifierSchema,\n\tprotectedInformation: organizationProtectedInformationSchema.nullable(),\n\tupdatedAt: isoDateTimeSchema.nullable(),\n\tupdatedByUserId: boundedIdentifierSchema.nullable()\n});\nconst updateOrganizationInformationProtectionPolicyBodySchema = z$1.strictObject({ protectedInformation: organizationProtectedInformationSchema.nullable() });\n//#endregion\nexport { ORGANIZATION_PROTECTED_INFORMATION_MAX_CHARS, organizationInformationProtectionPolicyResponseSchema, organizationProtectedInformationSchema, updateOrganizationInformationProtectionPolicyBodySchema };\n\n//# sourceMappingURL=organization-information-protection.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/http/space-password.ts\nconst SPACE_PASSWORD_MIN_LENGTH = 6;\nconst SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE = \"space.password_rate_limited\";\nfunction normalizeSpacePasswordText(password) {\n\treturn password.trim();\n}\nconst spacePasswordSchema = z$1.string().transform(normalizeSpacePasswordText).pipe(z$1.string().min(6));\nconst createSpacePasswordBodySchema = z$1.strictObject({ password: spacePasswordSchema.optional() });\nconst upsertSpacePasswordBodySchema = z$1.strictObject({ password: spacePasswordSchema });\nconst spacePasswordStateSchema = z$1.strictObject({ passwordProtected: z$1.boolean() });\n//#endregion\nexport { SPACE_PASSWORD_MIN_LENGTH, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, createSpacePasswordBodySchema, normalizeSpacePasswordText, spacePasswordSchema, spacePasswordStateSchema, upsertSpacePasswordBodySchema };\n\n//# sourceMappingURL=space-password.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/execution-identity.ts\nconst RUNTIME_EXECUTION_IDENTITY_MODEL_VERSION = \"openmeld.runtime.execution_identity.v1\";\nconst boundedIdentifierSchema = z$1.string().trim().min(1).max(512);\nconst runtimeExecutionAuthorityOpenMeldServiceRuntimeIdSchema = z$1.strictObject({\n\tsource: z$1.literal(\"runtime_registry_authority\"),\n\tvalue: boundedIdentifierSchema\n});\nconst runtimeExecutionIdentityCoreSchema = z$1.strictObject({\n\tmodelVersion: z$1.literal(RUNTIME_EXECUTION_IDENTITY_MODEL_VERSION),\n\tspaceId: boundedIdentifierSchema,\n\tdispatchId: boundedIdentifierSchema,\n\ttargetProfileId: boundedIdentifierSchema,\n\topenMeldServiceRuntimeId: runtimeExecutionAuthorityOpenMeldServiceRuntimeIdSchema,\n\tbindingId: boundedIdentifierSchema,\n\tagentControllerRef: boundedIdentifierSchema\n});\nconst runtimeTransportDeliveryExecutionIdentitySchema = z$1.strictObject({\n\tauthority: z$1.literal(\"core_runtime_registry_binding_route\"),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\nconst runtimeTransportRuntimeEvidenceIdentityEchoSchema = z$1.strictObject({\n\techoSource: z$1.literal(\"daemon_delivery_context\"),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\nconst runtimeTransportResultIdentityEchoSchema = z$1.strictObject({\n\techoSource: z$1.literal(\"daemon_delivery_context\"),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\nconst spaceTraceExecutionIdentityProjectionSchema = z$1.strictObject({\n\tfactSource: z$1.enum([\n\t\t\"runtime_coordinator_projection\",\n\t\t\"dispatch_attempt_execution_identity\",\n\t\t\"dispatch_claim_lease_legacy\"\n\t]),\n\tauthority: z$1.enum([\"authoritative\", \"legacy_projection\"]),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\n//#endregion\nexport { RUNTIME_EXECUTION_IDENTITY_MODEL_VERSION, runtimeExecutionAuthorityOpenMeldServiceRuntimeIdSchema, runtimeExecutionIdentityCoreSchema, runtimeTransportDeliveryExecutionIdentitySchema, runtimeTransportResultIdentityEchoSchema, runtimeTransportRuntimeEvidenceIdentityEchoSchema, spaceTraceExecutionIdentityProjectionSchema };\n\n//# sourceMappingURL=execution-identity.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/runtime-coordinator-execution-token.ts\nconst RUNTIME_COORDINATOR_EXECUTION_TOKEN_MODEL_VERSION = \"openmeld.runtime_coordinator.execution_token.v1\";\nconst RUNTIME_COORDINATOR_TOKEN_DIAGNOSTIC_MODEL_VERSION = \"openmeld.runtime_coordinator.token_diagnostic.v1\";\nconst RUNTIME_COORDINATOR_TOKEN_AUTHORITY_MODEL_VERSION = \"openmeld.runtime_coordinator.token_authority.v1\";\nconst RUNTIME_COORDINATOR_EXECUTION_TOKEN_REDACTION_MARKER = \"[REDACTED_EXECUTION_TOKEN]\";\nconst RUNTIME_COORDINATOR_TOKEN_SECRET_FIELD_NAMES = [\n\t\"executionToken\",\n\t\"rawExecutionToken\",\n\t\"rawToken\",\n\t\"sealedExecutionToken\",\n\t\"sealedToken\",\n\t\"tokenSecret\",\n\t\"tokenSecretRefOrSealedToken\",\n\t\"tokenValidationHash\",\n\t\"validationHash\"\n];\nconst boundedIdentifierSchema = z$1.string().trim().min(1).max(512);\nconst boundedNullableIdentifierSchema = boundedIdentifierSchema.nullable();\nconst boundedReasonCodeSchema = z$1.string().trim().min(1).max(160);\nconst nullablePositiveIntegerSchema = z$1.number().int().positive().nullable();\nconst nullableTimestampSchema = z$1.number().int().nonnegative().nullable();\nconst runtimeCoordinatorExecutionTokenSchema = z$1.string().trim().min(32).max(256).regex(/^rcet_v1_[A-Za-z0-9_-]+$/);\nconst runtimeCoordinatorTokenValidationHashSchema = z$1.string().trim().regex(/^sha256:[a-f0-9]{64}$/);\nconst runtimeCoordinatorTokenFingerprintSchema = z$1.string().trim().regex(/^etfp_v1_[a-f0-9]{16,64}$/);\nconst runtimeCoordinatorTokenStatusSchema = z$1.enum([\n\t\"active\",\n\t\"superseded\",\n\t\"expired\",\n\t\"revoked\",\n\t\"terminal\"\n]);\nconst runtimeCoordinatorTokenReasonCodeSchema = z$1.enum([\n\t\"delivery_accepted\",\n\t\"execution_token_authority_missing\",\n\t\"execution_token_expired\",\n\t\"execution_token_issued\",\n\t\"execution_token_mismatch\",\n\t\"execution_token_missing\",\n\t\"execution_token_revoked\",\n\t\"execution_token_scope_mismatch\",\n\t\"execution_token_superseded\",\n\t\"execution_token_terminal_late\",\n\t\"execution_token_unknown\",\n\t\"token_history_pruned\",\n\t\"token_history_retained\"\n]);\nconst RUNTIME_COORDINATOR_RETIRED_TOKEN_REASON_CODE_BY_STATUS = {\n\texpired: \"execution_token_expired\",\n\trevoked: \"execution_token_revoked\",\n\tsuperseded: \"execution_token_superseded\",\n\tterminal: \"execution_token_terminal_late\"\n};\nconst runtimeCoordinatorTokenExecutionScopeSchema = z$1.strictObject({\n\tdispatchId: boundedIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\tsourceClientMessageId: boundedIdentifierSchema.nullable(),\n\tspaceId: boundedIdentifierSchema,\n\ttargetProfileId: boundedIdentifierSchema\n});\nconst runtimeCoordinatorTokenAuthorityScopeSchema = z$1.strictObject({\n\tbindingId: boundedIdentifierSchema,\n\tagentControllerRef: boundedIdentifierSchema,\n\topenMeldServiceRuntimeId: boundedIdentifierSchema\n});\nconst runtimeCoordinatorTokenDeliveryProvenanceSchema = z$1.strictObject({\n\tconnectionGeneration: nullablePositiveIntegerSchema,\n\tdaemonSessionId: boundedNullableIdentifierSchema,\n\tleaseEpoch: nullablePositiveIntegerSchema\n});\nconst runtimeCoordinatorExecutionTokenEnvelopeSchema = z$1.strictObject({\n\tauthorityScope: runtimeCoordinatorTokenAuthorityScopeSchema,\n\tdeliveryIdempotencyKey: boundedIdentifierSchema,\n\tdeliveryProvenance: runtimeCoordinatorTokenDeliveryProvenanceSchema,\n\texecutionScope: runtimeCoordinatorTokenExecutionScopeSchema,\n\texecutionToken: runtimeCoordinatorExecutionTokenSchema,\n\texpiresAtMs: nullableTimestampSchema,\n\tissuedAtMs: z$1.number().int().nonnegative(),\n\tmodelVersion: z$1.literal(RUNTIME_COORDINATOR_EXECUTION_TOKEN_MODEL_VERSION),\n\trunId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema,\n\ttokenStatus: z$1.literal(\"active\")\n});\nconst runtimeCoordinatorExecutionTokenEchoSchema = z$1.strictObject({\n\texecutionToken: runtimeCoordinatorExecutionTokenSchema,\n\trunId: boundedIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema\n});\nconst runtimeCoordinatorTokenProjectionSchema = z$1.strictObject({\n\tdeliveryIdempotencyKey: boundedIdentifierSchema,\n\texpiresAtMs: nullableTimestampSchema,\n\tissuedAtMs: z$1.number().int().nonnegative(),\n\tmodelVersion: z$1.literal(RUNTIME_COORDINATOR_EXECUTION_TOKEN_MODEL_VERSION),\n\treasonCode: runtimeCoordinatorTokenReasonCodeSchema.nullable(),\n\tretiredAtMs: nullableTimestampSchema,\n\tretentionExpiresAtMs: nullableTimestampSchema,\n\trunId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema,\n\ttokenStatus: runtimeCoordinatorTokenStatusSchema\n});\nconst runtimeCoordinatorTokenDiagnosticEventSchema = z$1.strictObject({\n\tignoredEventSummary: z$1.string().trim().min(1).max(1e3).nullable(),\n\tmodelVersion: z$1.literal(RUNTIME_COORDINATOR_TOKEN_DIAGNOSTIC_MODEL_VERSION),\n\tobservedAtMs: z$1.number().int().nonnegative(),\n\treasonCode: runtimeCoordinatorTokenReasonCodeSchema,\n\trunId: boundedNullableIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema.nullable(),\n\ttokenStatus: runtimeCoordinatorTokenStatusSchema.nullable()\n});\nconst runtimeCoordinatorTokenRunAuthoritySchema = z$1.strictObject({\n\tdeliveryIdempotencyKey: boundedIdentifierSchema,\n\tdeliveryProvenance: runtimeCoordinatorTokenDeliveryProvenanceSchema,\n\texpiresAtMs: nullableTimestampSchema,\n\tissuedAtMs: z$1.number().int().nonnegative(),\n\tretentionExpiresAtMs: nullableTimestampSchema,\n\tretiredAtMs: nullableTimestampSchema,\n\tretiredReasonCode: runtimeCoordinatorTokenReasonCodeSchema.nullable(),\n\trunId: boundedIdentifierSchema,\n\tsupersededByRunId: boundedNullableIdentifierSchema,\n\tsupersedesRunId: boundedNullableIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema,\n\ttokenSecretRefOrSealedToken: z$1.string().trim().min(1).max(4096).nullable(),\n\ttokenStatus: runtimeCoordinatorTokenStatusSchema,\n\ttokenValidationHash: runtimeCoordinatorTokenValidationHashSchema\n});\nconst runtimeCoordinatorExecutionTokenAuthorityRecordSchema = z$1.strictObject({\n\tauthorityScope: runtimeCoordinatorTokenAuthorityScopeSchema,\n\tcurrentRunId: boundedNullableIdentifierSchema,\n\texecutionScope: runtimeCoordinatorTokenExecutionScopeSchema,\n\tmodelVersion: z$1.literal(RUNTIME_COORDINATOR_TOKEN_AUTHORITY_MODEL_VERSION),\n\tretention: z$1.strictObject({\n\t\tlastPrunedAtMs: nullableTimestampSchema,\n\t\tlateResultWindowMs: z$1.number().int().nonnegative(),\n\t\tmaxRetiredRuns: z$1.number().int().positive()\n\t}),\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\trunsById: z$1.record(boundedIdentifierSchema, runtimeCoordinatorTokenRunAuthoritySchema),\n\tterminalOutcome: z$1.strictObject({\n\t\tfinalizedAtMs: z$1.number().int().nonnegative(),\n\t\treasonCode: boundedReasonCodeSchema,\n\t\treplySignalId: boundedNullableIdentifierSchema,\n\t\tstatus: z$1.enum([\n\t\t\t\"reply_published\",\n\t\t\t\"failed_terminal\",\n\t\t\t\"cancelled\"\n\t\t])\n\t}).nullable(),\n\ttokenValidationHashIndex: z$1.record(runtimeCoordinatorTokenValidationHashSchema, boundedIdentifierSchema)\n}).superRefine((record, context) => {\n\tvalidateCurrentTokenRun(record, context);\n\tvalidateRetiredTokenHistoryLimit(record, context);\n\tvalidateTokenRunAuthorityEntries(record, context);\n});\nfunction validateCurrentTokenRun(record, context) {\n\tconst activeRunIds = Object.values(record.runsById).filter((run) => run.tokenStatus === \"active\").map((run) => run.runId);\n\tif (record.currentRunId === null && activeRunIds.length > 0) addTokenAuthorityIssue(context, [\"currentRunId\"], \"active token run requires currentRunId\");\n\tif (record.currentRunId !== null && (activeRunIds.length !== 1 || activeRunIds[0] !== record.currentRunId)) addTokenAuthorityIssue(context, [\"runsById\"], \"authority record must have exactly one current active run\");\n\tif (record.currentRunId === null) return;\n\tconst currentRun = record.runsById[record.currentRunId];\n\tif (!currentRun) {\n\t\taddTokenAuthorityIssue(context, [\"currentRunId\"], \"currentRunId must reference an existing run\");\n\t\treturn;\n\t}\n\tif (currentRun.tokenStatus !== \"active\") addTokenAuthorityIssue(context, [\n\t\t\"runsById\",\n\t\trecord.currentRunId,\n\t\t\"tokenStatus\"\n\t], \"current run must be active\");\n}\nfunction validateRetiredTokenHistoryLimit(record, context) {\n\tif (Object.values(record.runsById).filter((run) => run.tokenStatus !== \"active\").length > record.retention.maxRetiredRuns) addTokenAuthorityIssue(context, [\"retention\", \"maxRetiredRuns\"], \"retired token history exceeds maxRetiredRuns\");\n}\nfunction validateTokenRunAuthorityEntries(record, context) {\n\tfor (const [runKey, run] of Object.entries(record.runsById)) {\n\t\tif (run.runId !== runKey) addTokenAuthorityIssue(context, [\n\t\t\t\"runsById\",\n\t\t\trunKey,\n\t\t\t\"runId\"\n\t\t], \"run key must match runId\");\n\t\tvalidateTokenRunSecretBoundary(runKey, run, context);\n\t\tvalidateTokenValidationHashIndex(record, run, context);\n\t}\n}\nfunction validateTokenRunSecretBoundary(runKey, run, context) {\n\tif (run.tokenStatus === \"active\") {\n\t\tvalidateActiveTokenRunSecretBoundary(runKey, run, context);\n\t\treturn;\n\t}\n\tvalidateRetiredTokenRunSecretBoundary(runKey, run, context);\n}\nfunction validateActiveTokenRunSecretBoundary(runKey, run, context) {\n\tif (!run.tokenSecretRefOrSealedToken) addTokenAuthorityIssue(context, [\n\t\t\"runsById\",\n\t\trunKey,\n\t\t\"tokenSecretRefOrSealedToken\"\n\t], \"active run must retain a resendable token secret\");\n\tif (run.retiredAtMs !== null || run.retentionExpiresAtMs !== null || run.retiredReasonCode !== null) addTokenAuthorityIssue(context, [\"runsById\", runKey], \"active run must not carry retired metadata\");\n}\nfunction validateRetiredTokenRunSecretBoundary(runKey, run, context) {\n\tif (run.tokenSecretRefOrSealedToken !== null) {\n\t\taddTokenAuthorityIssue(context, [\n\t\t\t\"runsById\",\n\t\t\trunKey,\n\t\t\t\"tokenSecretRefOrSealedToken\"\n\t\t], \"retired run must not retain a resendable token secret\");\n\t\treturn;\n\t}\n\tif (run.retiredAtMs === null || run.retentionExpiresAtMs === null || run.retiredReasonCode === null) {\n\t\taddTokenAuthorityIssue(context, [\"runsById\", runKey], \"retired run must carry retired metadata\");\n\t\treturn;\n\t}\n\tif (run.tokenStatus === \"active\") return;\n\tif (run.retiredReasonCode !== RUNTIME_COORDINATOR_RETIRED_TOKEN_REASON_CODE_BY_STATUS[run.tokenStatus]) addTokenAuthorityIssue(context, [\n\t\t\"runsById\",\n\t\trunKey,\n\t\t\"retiredReasonCode\"\n\t], \"retired run reason must match token status\");\n}\nfunction validateTokenValidationHashIndex(record, run, context) {\n\tif (record.tokenValidationHashIndex[run.tokenValidationHash] !== run.runId) addTokenAuthorityIssue(context, [\"tokenValidationHashIndex\", run.tokenValidationHash], \"tokenValidationHashIndex must map each hash to its run\");\n}\nfunction addTokenAuthorityIssue(context, path, message) {\n\tcontext.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage,\n\t\tpath\n\t});\n}\nconst runtimeCoordinatorSafeEventPayloadJsonSchema = z$1.string().trim().min(1).superRefine((value, context) => {\n\tlet parsed;\n\ttry {\n\t\tparsed = JSON.parse(value);\n\t} catch {\n\t\tcontext.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"runtime coordinator event payloadJson must be valid JSON\"\n\t\t});\n\t\treturn;\n\t}\n\tconst sensitivePath = findSensitiveTokenFieldPath(parsed);\n\tif (sensitivePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"runtime coordinator event payloadJson must not contain execution token secrets\",\n\t\tpath: sensitivePath\n\t});\n});\nconst findSensitiveTokenFieldPath = (value, path = []) => {\n\tif (typeof value === \"string\") {\n\t\tif (isRuntimeCoordinatorTokenSecretValue(value)) return path;\n\t\treturn null;\n\t}\n\tif (!value || typeof value !== \"object\") return null;\n\tif (Array.isArray(value)) {\n\t\tfor (const [index, item] of value.entries()) {\n\t\t\tconst match = findSensitiveTokenFieldPath(item, [...path, index]);\n\t\t\tif (match) return match;\n\t\t}\n\t\treturn null;\n\t}\n\tfor (const [fieldName, fieldValue] of Object.entries(value)) {\n\t\tconst nextPath = [...path, fieldName];\n\t\tif (isAllowedRedactedTokenField(fieldName, fieldValue)) continue;\n\t\tif (isSensitiveTokenFieldName(fieldName)) return nextPath;\n\t\tconst match = findSensitiveTokenFieldPath(fieldValue, nextPath);\n\t\tif (match) return match;\n\t}\n\treturn null;\n};\nconst TOKEN_SECRET_FIELD_NAME_SET = new Set(RUNTIME_COORDINATOR_TOKEN_SECRET_FIELD_NAMES.map((fieldName) => normalizePayloadFieldName(fieldName)));\nconst SAFE_TOKEN_METADATA_FIELD_NAME_SET = /* @__PURE__ */ new Set([\n\t\"reasoncode\",\n\t\"tokenfingerprint\",\n\t\"tokenstatus\"\n]);\nconst RAW_EXECUTION_TOKEN_VALUE_PATTERN = /^rcet_v1_[A-Za-z0-9_-]+$/;\nconst TOKEN_VALIDATION_HASH_VALUE_PATTERN = /^sha256:[a-f0-9]{64}$/;\nfunction isSensitiveTokenFieldName(fieldName) {\n\tconst normalized = normalizePayloadFieldName(fieldName);\n\tif (SAFE_TOKEN_METADATA_FIELD_NAME_SET.has(normalized)) return false;\n\tif (TOKEN_SECRET_FIELD_NAME_SET.has(normalized)) return true;\n\tconst referencesToken = normalized.includes(\"token\") || normalized.includes(\"credential\") || normalized.includes(\"bearer\");\n\tconst referencesProof = normalized.includes(\"hash\") || normalized.includes(\"validation\") || normalized.includes(\"validator\") || normalized.includes(\"digest\") || normalized.includes(\"proof\") || normalized.includes(\"secret\") || normalized.includes(\"sealed\") || normalized.includes(\"signature\") || normalized.includes(\"raw\");\n\treturn referencesToken && referencesProof;\n}\nfunction isRuntimeCoordinatorTokenSecretValue(value) {\n\tconst normalized = value.trim();\n\treturn RAW_EXECUTION_TOKEN_VALUE_PATTERN.test(normalized) || TOKEN_VALIDATION_HASH_VALUE_PATTERN.test(normalized);\n}\nfunction isAllowedRedactedTokenField(fieldName, fieldValue) {\n\treturn normalizePayloadFieldName(fieldName).endsWith(\"redacted\") && fieldValue === \"[REDACTED_EXECUTION_TOKEN]\";\n}\nfunction normalizePayloadFieldName(fieldName) {\n\treturn fieldName.toLowerCase().replaceAll(/[^a-z0-9]/g, \"\");\n}\n//#endregion\nexport { RUNTIME_COORDINATOR_EXECUTION_TOKEN_MODEL_VERSION, RUNTIME_COORDINATOR_EXECUTION_TOKEN_REDACTION_MARKER, RUNTIME_COORDINATOR_RETIRED_TOKEN_REASON_CODE_BY_STATUS, RUNTIME_COORDINATOR_TOKEN_AUTHORITY_MODEL_VERSION, RUNTIME_COORDINATOR_TOKEN_DIAGNOSTIC_MODEL_VERSION, RUNTIME_COORDINATOR_TOKEN_SECRET_FIELD_NAMES, runtimeCoordinatorExecutionTokenAuthorityRecordSchema, runtimeCoordinatorExecutionTokenEchoSchema, runtimeCoordinatorExecutionTokenEnvelopeSchema, runtimeCoordinatorExecutionTokenSchema, runtimeCoordinatorSafeEventPayloadJsonSchema, runtimeCoordinatorTokenAuthorityScopeSchema, runtimeCoordinatorTokenDeliveryProvenanceSchema, runtimeCoordinatorTokenDiagnosticEventSchema, runtimeCoordinatorTokenExecutionScopeSchema, runtimeCoordinatorTokenFingerprintSchema, runtimeCoordinatorTokenProjectionSchema, runtimeCoordinatorTokenReasonCodeSchema, runtimeCoordinatorTokenRunAuthoritySchema, runtimeCoordinatorTokenStatusSchema, runtimeCoordinatorTokenValidationHashSchema };\n\n//# sourceMappingURL=runtime-coordinator-execution-token.js.map","import { runtimeExecutionAuthorityOpenMeldServiceRuntimeIdSchema } from \"./execution-identity.js\";\nimport { runtimeCoordinatorSafeEventPayloadJsonSchema } from \"./runtime-coordinator-execution-token.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/runtime-coordinator-execution.ts\nconst RUNTIME_COORDINATOR_EXECUTION_MODEL_VERSION = \"openmeld.runtime_coordinator.execution.v1\";\nconst RUNTIME_COORDINATOR_CREATION_DIAGNOSTIC_MODEL_VERSION = \"openmeld.runtime_coordinator.creation_diagnostic.v1\";\nconst boundedIdentifierSchema = z$1.string().trim().min(1).max(512);\nconst boundedReasonCodeSchema = z$1.string().trim().min(1).max(160);\nconst nullableSourceClientMessageIdSchema = z$1.string().trim().min(1).max(200).nullable();\nconst nullableIdentifierSchema = boundedIdentifierSchema.nullable();\nconst nullablePositiveIntegerSchema = z$1.number().int().positive().nullable();\nconst runtimeCoordinatorExecutionStatusSchema = z$1.enum([\n\t\"created\",\n\t\"delivery_pending\",\n\t\"delivery_accepted\",\n\t\"delivery_rejected\",\n\t\"cancellation_requested\",\n\t\"accepted_local\",\n\t\"running\",\n\t\"completed_local\",\n\t\"result_received\",\n\t\"result_accepted\",\n\t\"reply_published\",\n\t\"cancelled\",\n\t\"failed_retryable\",\n\t\"failed_terminal\",\n\t\"state_unknown\"\n]);\nconst runtimeCoordinatorExecutionEventTypeSchema = z$1.enum([\n\t\"execution_created\",\n\t\"delivery_accepted\",\n\t\"delivery_rejected\",\n\t\"cancellation_requested\",\n\t\"cancellation_delivery_accepted\",\n\t\"cancellation_delivery_rejected\",\n\t\"cancellation_control_accepted\",\n\t\"cancellation_control_rejected\",\n\t\"lifecycle_accepted_local\",\n\t\"lifecycle_running\",\n\t\"lifecycle_completed_local\",\n\t\"result_received\",\n\t\"result_accepted\",\n\t\"result_duplicate\",\n\t\"result_stale_lease\",\n\t\"result_stale_attempt\",\n\t\"result_connection_generation_mismatch\",\n\t\"result_identity_echo_mismatch\",\n\t\"result_late_diagnostic\",\n\t\"execution_token_issued\",\n\t\"execution_token_validation_failed\",\n\t\"execution_token_superseded\",\n\t\"execution_token_expired\",\n\t\"execution_token_revoked\",\n\t\"execution_token_terminal_late\",\n\t\"token_history_retained\",\n\t\"token_history_pruned\",\n\t\"runtime_coordinator_execution_id_missing\",\n\t\"runtime_coordinator_execution_id_mismatch\",\n\t\"runtime_evidence_observed\",\n\t\"runtime_evidence_identity_echo_mismatch\",\n\t\"owner_conflict_current_token\",\n\t\"owner_conflict_stale_token\",\n\t\"owner_conflict_missing_token\",\n\t\"runtime_coordinator_decision_recorded\",\n\t\"runtime_coordinator_redelivery_commanded\",\n\t\"runtime_coordinator_owner_conflict_terminal\",\n\t\"runtime_coordinator_reclaim_blocked\",\n\t\"runtime_coordinator_retry_blocked\",\n\t\"runtime_coordinator_timeout_terminal\",\n\t\"reply_published\",\n\t\"reply_publication_failed\",\n\t\"coordinator_pending_state_missing\",\n\t\"runtime_connection_lost\"\n]);\nconst runtimeCoordinatorTerminalOutcomeSchema = z$1.strictObject({\n\tkind: z$1.enum([\n\t\t\"reply_published\",\n\t\t\"failed_retryable\",\n\t\t\"failed_terminal\",\n\t\t\"cancelled\",\n\t\t\"timed_out\"\n\t]),\n\treasonCode: boundedReasonCodeSchema.nullable(),\n\tobservedAtMs: z$1.number().int().nonnegative()\n});\nconst runtimeCoordinatorCancellationStatusSchema = z$1.enum([\n\t\"not_requested\",\n\t\"requested\",\n\t\"delivery_pending\",\n\t\"delivery_rejected\",\n\t\"local_control_accepted\",\n\t\"local_control_rejected\",\n\t\"unsupported\",\n\t\"cancelled\"\n]);\nconst runtimeCoordinatorCancellationStateSchema = z$1.strictObject({\n\tstatus: runtimeCoordinatorCancellationStatusSchema,\n\treasonCode: boundedReasonCodeSchema.nullable(),\n\tobservedAtMs: z$1.number().int().nonnegative().nullable()\n});\nconst runtimeCoordinatorLegacyPointersSchema = z$1.strictObject({\n\tattemptId: nullableIdentifierSchema,\n\tclaimLeaseId: nullableIdentifierSchema,\n\tdaemonSessionId: nullableIdentifierSchema,\n\tconnectionGeneration: nullablePositiveIntegerSchema,\n\tleaseEpoch: nullablePositiveIntegerSchema\n});\nconst runtimeCoordinatorExecutionRecordSchema = z$1.strictObject({\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\tmodelVersion: z$1.literal(RUNTIME_COORDINATOR_EXECUTION_MODEL_VERSION),\n\tspaceId: boundedIdentifierSchema,\n\tdispatchId: boundedIdentifierSchema,\n\ttargetProfileId: boundedIdentifierSchema,\n\tsourceClientMessageId: nullableSourceClientMessageIdSchema,\n\topenMeldServiceRuntimeId: runtimeExecutionAuthorityOpenMeldServiceRuntimeIdSchema,\n\tbindingId: boundedIdentifierSchema,\n\tagentControllerRef: boundedIdentifierSchema,\n\tstatus: runtimeCoordinatorExecutionStatusSchema,\n\tterminalOutcome: runtimeCoordinatorTerminalOutcomeSchema.nullable(),\n\tcreatedAtMs: z$1.number().int().nonnegative(),\n\tupdatedAtMs: z$1.number().int().nonnegative(),\n\tlegacyPointers: runtimeCoordinatorLegacyPointersSchema\n}).superRefine((record, context) => {\n\tif (record.status === \"cancelled\" && record.terminalOutcome?.kind !== \"cancelled\") context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"cancelled RuntimeCoordinator executions require a cancelled terminal outcome\",\n\t\tpath: [\"terminalOutcome\"]\n\t});\n\tif (record.status === \"cancellation_requested\" && record.terminalOutcome !== null) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"cancellation_requested RuntimeCoordinator executions must not have a terminal outcome\",\n\t\tpath: [\"terminalOutcome\"]\n\t});\n});\nconst runtimeCoordinatorExecutionEventSchema = z$1.strictObject({\n\teventId: boundedIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\teventType: runtimeCoordinatorExecutionEventTypeSchema,\n\tstatusAfter: runtimeCoordinatorExecutionStatusSchema.nullable(),\n\treasonCode: boundedReasonCodeSchema.nullable(),\n\tobservedAtMs: z$1.number().int().nonnegative(),\n\tidempotencyKey: boundedIdentifierSchema,\n\tpayloadJson: runtimeCoordinatorSafeEventPayloadJsonSchema\n});\nconst runtimeCoordinatorExecutionCreationStatusSchema = z$1.enum([\"not_created\"]);\nconst runtimeCoordinatorExecutionCreationDiagnosticSchema = z$1.strictObject({\n\tmodelVersion: z$1.literal(RUNTIME_COORDINATOR_CREATION_DIAGNOSTIC_MODEL_VERSION),\n\tspaceId: boundedIdentifierSchema,\n\tdispatchId: boundedIdentifierSchema,\n\ttargetProfileId: boundedIdentifierSchema,\n\tsourceClientMessageId: nullableSourceClientMessageIdSchema,\n\tcreationStatus: runtimeCoordinatorExecutionCreationStatusSchema,\n\treasonCode: boundedReasonCodeSchema,\n\tobservedAtMs: z$1.number().int().nonnegative(),\n\tlegacyAttemptId: nullableIdentifierSchema\n});\nconst buildRuntimeCoordinatorExecutionId = (input) => {\n\tconst spaceId = normalizeRequiredRuntimeCoordinatorIdPart(\"spaceId\", input.spaceId);\n\tconst dispatchId = normalizeRequiredRuntimeCoordinatorIdPart(\"dispatchId\", input.dispatchId);\n\tconst targetProfileId = normalizeRequiredRuntimeCoordinatorIdPart(\"targetProfileId\", input.targetProfileId);\n\treturn [\n\t\t\"rce_v1\",\n\t\tencodeLengthPrefixedIdPart(spaceId),\n\t\tencodeLengthPrefixedIdPart(dispatchId),\n\t\tencodeLengthPrefixedIdPart(targetProfileId)\n\t].join(\"|\");\n};\nconst buildRuntimeCoordinatorExecutionEventId = (input) => {\n\tconst runtimeCoordinatorExecutionId = normalizeRequiredRuntimeCoordinatorIdPart(\"runtimeCoordinatorExecutionId\", input.runtimeCoordinatorExecutionId);\n\tconst idempotencyKey = normalizeRequiredRuntimeCoordinatorIdPart(\"idempotencyKey\", input.idempotencyKey);\n\treturn [\n\t\t\"rce_event_v1\",\n\t\tencodeLengthPrefixedIdPart(runtimeCoordinatorExecutionId),\n\t\tencodeLengthPrefixedIdPart(input.eventType),\n\t\tencodeLengthPrefixedIdPart(idempotencyKey)\n\t].join(\"|\");\n};\nconst encodeLengthPrefixedIdPart = (value) => {\n\treturn `${value.length}:${value}`;\n};\nconst normalizeRequiredRuntimeCoordinatorIdPart = (fieldName, value) => {\n\tconst normalized = value.trim();\n\tif (!normalized) throw new Error(`runtime_coordinator.id_invalid: ${fieldName} is required`);\n\treturn normalized;\n};\n//#endregion\nexport { RUNTIME_COORDINATOR_CREATION_DIAGNOSTIC_MODEL_VERSION, RUNTIME_COORDINATOR_EXECUTION_MODEL_VERSION, buildRuntimeCoordinatorExecutionEventId, buildRuntimeCoordinatorExecutionId, runtimeCoordinatorCancellationStateSchema, runtimeCoordinatorCancellationStatusSchema, runtimeCoordinatorExecutionCreationDiagnosticSchema, runtimeCoordinatorExecutionCreationStatusSchema, runtimeCoordinatorExecutionEventSchema, runtimeCoordinatorExecutionEventTypeSchema, runtimeCoordinatorExecutionRecordSchema, runtimeCoordinatorExecutionStatusSchema, runtimeCoordinatorLegacyPointersSchema, runtimeCoordinatorTerminalOutcomeSchema };\n\n//# sourceMappingURL=runtime-coordinator-execution.js.map","import { nonEmptyTrimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { clientMessageIdSchema } from \"../protocol/client-message-id.js\";\nimport { runtimeCoordinatorCancellationStateSchema, runtimeCoordinatorExecutionRecordSchema } from \"../daemon/runtime-coordinator-execution.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/http/space-wake-stop.ts\nconst boundedReasonCodeSchema = z$1.string().trim().min(1).max(160);\nconst boundedSelectorIdSchema = z$1.string().trim().min(1).max(512);\nconst wakeStopReasonSchema = z$1.string().trim().min(1).max(512);\nconst spaceWakeStopSelectorSchema = z$1.discriminatedUnion(\"by\", [z$1.strictObject({\n\tby: z$1.literal(\"source_signal\"),\n\tsourceSignalId: boundedSelectorIdSchema,\n\ttargetProfileId: boundedSelectorIdSchema\n}), z$1.strictObject({\n\tby: z$1.literal(\"client_message\"),\n\tclientMessageId: clientMessageIdSchema,\n\ttargetProfileId: boundedSelectorIdSchema\n})]);\nconst postSpaceWakeStopBodySchema = z$1.strictObject({\n\treason: wakeStopReasonSchema.optional(),\n\ttarget: spaceWakeStopSelectorSchema\n});\nconst postSpaceWakeStopInputSchema = z$1.strictObject({\n\tbody: postSpaceWakeStopBodySchema,\n\tspaceId: nonEmptyTrimmedStringFromUnknown\n});\nconst spaceWakeStopResponseBaseSchema = z$1.strictObject({ targetProfileId: boundedSelectorIdSchema });\nconst wakeStopExecutionIdSchema = runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId;\nconst wakeStopModeSchema = z$1.enum([\n\t\"openmeld_owned_pre_agent\",\n\t\"controller_control\",\n\t\"remote_agent_native_delivery\"\n]);\nconst wakeStopRequestPendingCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z$1.enum([\"requested\", \"delivery_pending\"]) });\nconst wakeStopCancelledCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z$1.literal(\"cancelled\") });\nconst wakeStopNotRequestedCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z$1.literal(\"not_requested\") });\nconst wakeStopNotStoppableCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z$1.enum([\"not_requested\", \"local_control_rejected\"]) });\nconst wakeStopUnsupportedCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z$1.literal(\"unsupported\") });\nconst wakeStopRetryLaterCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z$1.literal(\"delivery_rejected\") });\nconst wakeStopSuccessResponseBaseSchema = spaceWakeStopResponseBaseSchema.extend({\n\tok: z$1.literal(true),\n\truntimeCoordinatorExecutionId: wakeStopExecutionIdSchema.nullable(),\n\tstopMode: wakeStopModeSchema.optional()\n});\nconst wakeStopFailureResponseBaseSchema = spaceWakeStopResponseBaseSchema.extend({\n\tok: z$1.literal(false),\n\treasonCode: boundedReasonCodeSchema,\n\truntimeCoordinatorExecutionId: wakeStopExecutionIdSchema.nullable()\n});\nconst postSpaceWakeStopResponseSchema = z$1.discriminatedUnion(\"status\", [\n\twakeStopSuccessResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopRequestPendingCancellationStateSchema,\n\t\tstatus: z$1.literal(\"cancellation_requested\")\n\t}),\n\twakeStopSuccessResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopCancelledCancellationStateSchema,\n\t\tstatus: z$1.literal(\"cancelled\")\n\t}),\n\twakeStopSuccessResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopCancelledCancellationStateSchema,\n\t\tstatus: z$1.literal(\"already_cancelled\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopNotRequestedCancellationStateSchema,\n\t\tstatus: z$1.literal(\"not_found\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopNotStoppableCancellationStateSchema,\n\t\tstatus: z$1.literal(\"not_stoppable\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopUnsupportedCancellationStateSchema,\n\t\tstatus: z$1.literal(\"unsupported\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopRetryLaterCancellationStateSchema,\n\t\tstatus: z$1.literal(\"retry_later\")\n\t})\n]).superRefine((response, context) => {\n\tif (!response.ok) return;\n\tif (response.status === \"cancellation_requested\") {\n\t\tif (response.runtimeCoordinatorExecutionId === null && response.stopMode !== \"remote_agent_native_delivery\") context.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"controller-backed cancellation requests require a RuntimeCoordinator execution id\",\n\t\t\tpath: [\"runtimeCoordinatorExecutionId\"]\n\t\t});\n\t\tif (response.stopMode === \"openmeld_owned_pre_agent\") context.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"pre-agent Stop must be terminal cancelled, not cancellation_requested\",\n\t\t\tpath: [\"stopMode\"]\n\t\t});\n\t\treturn;\n\t}\n\tif (response.runtimeCoordinatorExecutionId === null) {\n\t\tif (response.stopMode !== \"openmeld_owned_pre_agent\" && response.stopMode !== \"remote_agent_native_delivery\") context.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"Wake Stop success without an execution id must name its OpenMeld-owned stop mode\",\n\t\t\tpath: [\"stopMode\"]\n\t\t});\n\t\treturn;\n\t}\n\tif (response.stopMode === \"openmeld_owned_pre_agent\") context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"OpenMeld-owned pre-agent Stop must not carry a RuntimeCoordinator execution id\",\n\t\tpath: [\"runtimeCoordinatorExecutionId\"]\n\t});\n});\n//#endregion\nexport { postSpaceWakeStopBodySchema, postSpaceWakeStopInputSchema, postSpaceWakeStopResponseSchema, spaceWakeStopSelectorSchema };\n\n//# sourceMappingURL=space-wake-stop.js.map","import { array, boolean, discriminatedUnion, enum as enumFactory, iso, literal, number, strictObject, string } from \"../lazy-zod.js\";\n//#region src/schemas/local-components.ts\nconst LOCAL_COMPONENTS_SCHEMA_VERSION = 1;\nconst nonEmptyStringSchema = string().trim().min(1);\nconst nullableNonEmptyStringSchema = nonEmptyStringSchema.nullable();\nconst localComponentStatusSchema = enumFactory([\n\t\"ok\",\n\t\"update_available\",\n\t\"update_required\"\n]);\nconst localComponentUpdatePolicySchema = enumFactory([\n\t\"ok\",\n\t\"available\",\n\t\"required\"\n]);\nconst localComponentUpdateStatusSchema = enumFactory([\n\t\"current\",\n\t\"update_available\",\n\t\"update_required\",\n\t\"unknown\"\n]);\nconst openMeldToolsUpdateOperationPhaseSchema = enumFactory([\n\t\"waiting_for_work\",\n\t\"updating\",\n\t\"updated\",\n\t\"restored\",\n\t\"needs_help\"\n]);\nconst openMeldToolsUpdateRequestSourceSchema = enumFactory([\n\t\"automatic\",\n\t\"center_agent\",\n\t\"cli\",\n\t\"web\"\n]);\nconst openMeldToolsUpdateOperationSchema = strictObject({\n\toperationId: nonEmptyStringSchema,\n\tphase: openMeldToolsUpdateOperationPhaseSchema,\n\trequestSource: openMeldToolsUpdateRequestSourceSchema,\n\trequestedAt: iso.datetime({ offset: true }),\n\ttargetVersion: nonEmptyStringSchema,\n\tupdatedAt: iso.datetime({ offset: true }),\n\turgency: enumFactory([\"available\", \"required\"])\n});\nconst openMeldToolsMaintenanceProjectionSchema = strictObject({\n\tautomaticUpdatesEnabled: boolean(),\n\tstatus: enumFactory([\"ready\", \"needs_help\"])\n});\nconst openMeldToolsControlCapabilitySchema = strictObject({\n\trequestAutomaticUpdate: literal(true).optional(),\n\trequestUpdate: literal(true).optional(),\n\tsetAutomaticUpdates: literal(true).optional()\n});\nconst openMeldToolsUpdateRequestResultSchema = discriminatedUnion(\"status\", [\n\tstrictObject({ status: literal(\"disabled\") }),\n\tstrictObject({ status: literal(\"unavailable\") }),\n\tstrictObject({\n\t\tcurrentVersion: nonEmptyStringSchema,\n\t\tstatus: literal(\"current\")\n\t}),\n\tstrictObject({\n\t\toperation: openMeldToolsUpdateOperationSchema,\n\t\tstatus: enumFactory([\"started\", \"already_running\"])\n\t})\n]);\nconst openMeldToolsMaintenanceMutationResultSchema = strictObject({\n\tautomaticUpdatesEnabled: boolean(),\n\tstatus: enumFactory([\"updated\", \"unchanged\"])\n});\nconst openMeldToolsControlRequestSchema = discriminatedUnion(\"operation\", [strictObject({\n\toperation: literal(\"request_update\"),\n\trequestSource: enumFactory([\n\t\t\"automatic\",\n\t\t\"center_agent\",\n\t\t\"web\"\n\t])\n}), strictObject({\n\tautomaticUpdatesEnabled: boolean(),\n\toperation: literal(\"set_automatic_updates\"),\n\trequestSource: enumFactory([\"center_agent\", \"web\"])\n})]);\nconst openMeldToolsControlResultSchema = discriminatedUnion(\"operation\", [strictObject({\n\toperation: literal(\"request_update\"),\n\tresult: openMeldToolsUpdateRequestResultSchema\n}), strictObject({\n\toperation: literal(\"set_automatic_updates\"),\n\tresult: openMeldToolsMaintenanceMutationResultSchema\n})]);\nconst openMeldToolsUpdateAttemptSchema = strictObject({\n\tv: literal(1),\n\tattempts: number().int().nonnegative(),\n\terrorMessage: nullableNonEmptyStringSchema,\n\toperation: openMeldToolsUpdateOperationSchema\n});\nconst localSetupActionSchema = enumFactory([\n\t\"none\",\n\t\"connect_service\",\n\t\"reconnect_service\",\n\t\"update_service\",\n\t\"connect_local_agent\",\n\t\"update_skills\",\n\t\"update_cli\"\n]);\nconst localSetupEntrypointSchema = literal(\"setup\");\nconst localComponentsManifestSchema = strictObject({\n\tschemaVersion: literal(1),\n\topenMeldReleaseVersion: nonEmptyStringSchema,\n\tcli: strictObject({\n\t\tpackageVersion: nonEmptyStringSchema,\n\t\tcommandContractVersion: nonEmptyStringSchema\n\t}),\n\tservice: strictObject({\n\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\tbundleVersion: nonEmptyStringSchema,\n\t\truntimeContractEpoch: nonEmptyStringSchema,\n\t\tserviceContractVersion: nonEmptyStringSchema\n\t}),\n\tskills: strictObject({\n\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\tskillContractVersion: nonEmptyStringSchema,\n\t\tskillIds: array(nonEmptyStringSchema)\n\t})\n});\nconst localComponentsReleaseManifestSchema = strictObject({\n\tschemaVersion: literal(1),\n\tupdatedAt: iso.datetime({ offset: true }),\n\tcomponents: strictObject({\n\t\tcli: strictObject({\n\t\t\tpackageVersion: nonEmptyStringSchema,\n\t\t\tcommandContractVersion: nonEmptyStringSchema,\n\t\t\tupdatePolicy: localComponentUpdatePolicySchema,\n\t\t\treason: nonEmptyStringSchema\n\t\t}),\n\t\tservice: strictObject({\n\t\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\t\tbundleVersion: nonEmptyStringSchema,\n\t\t\truntimeContractEpoch: nonEmptyStringSchema,\n\t\t\tserviceContractVersion: nonEmptyStringSchema,\n\t\t\tupdatePolicy: localComponentUpdatePolicySchema,\n\t\t\treason: nonEmptyStringSchema\n\t\t}),\n\t\tskills: strictObject({\n\t\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\t\tskillContractVersion: nonEmptyStringSchema,\n\t\t\tskillIds: array(nonEmptyStringSchema),\n\t\t\tupdatePolicy: localComponentUpdatePolicySchema,\n\t\t\treason: nonEmptyStringSchema\n\t\t})\n\t})\n});\nconst installedLocalComponentsSnapshotSchema = strictObject({\n\tschemaVersion: literal(1),\n\tinstalledAt: iso.datetime({ offset: true }),\n\tsource: enumFactory([\n\t\t\"setup\",\n\t\t\"repair\",\n\t\t\"manual\"\n\t]),\n\tmanifest: localComponentsManifestSchema\n});\nconst localComponentProjectionSchema = strictObject({\n\treasonCodes: array(nonEmptyStringSchema),\n\tstatus: localComponentStatusSchema\n});\nconst localCliComponentProjectionSchema = localComponentProjectionSchema.extend({\n\tcommandContractVersion: nonEmptyStringSchema,\n\tlatestPackageVersion: nullableNonEmptyStringSchema,\n\tpackageVersion: nonEmptyStringSchema,\n\trequiredCommandContractVersion: nullableNonEmptyStringSchema\n});\nconst localServiceComponentProjectionSchema = localComponentProjectionSchema.extend({\n\texpectedBundleHash: nullableNonEmptyStringSchema,\n\texpectedBundleVersion: nonEmptyStringSchema,\n\tinstalledBundleHash: nullableNonEmptyStringSchema,\n\tinstalledBundleVersion: nullableNonEmptyStringSchema,\n\truntimeContractEpoch: nonEmptyStringSchema,\n\tserviceContractVersion: nonEmptyStringSchema\n});\nconst localSkillsComponentProjectionSchema = localComponentProjectionSchema.extend({\n\tcontentRelease: strictObject({\n\t\trevision: number().int().positive(),\n\t\tminimumCliVersion: string().regex(/^\\d+\\.\\d+\\.\\d+$/)\n\t}).optional(),\n\texpectedBundleHash: nullableNonEmptyStringSchema,\n\tinstalledBundleHash: nullableNonEmptyStringSchema,\n\tskillContractVersion: nonEmptyStringSchema,\n\ttargetCount: number().int().nonnegative()\n});\nconst localComponentsStatusSchema = strictObject({\n\tschemaVersion: literal(1),\n\tgeneratedAt: iso.datetime({ offset: true }),\n\tentrypoint: localSetupEntrypointSchema,\n\tsummaryLabel: nonEmptyStringSchema,\n\tsummaryDescription: nonEmptyStringSchema,\n\tsetupAction: localSetupActionSchema,\n\tsetupActionLabel: nonEmptyStringSchema,\n\tsetupActionDescription: nonEmptyStringSchema,\n\tmaintenance: openMeldToolsMaintenanceProjectionSchema.optional(),\n\tupdateOperation: openMeldToolsUpdateOperationSchema.optional(),\n\tcli: localCliComponentProjectionSchema,\n\tservice: localServiceComponentProjectionSchema,\n\tskills: localSkillsComponentProjectionSchema\n});\nconst localServiceComponentUpdateProjectionSchema = strictObject({\n\tinstalledVersion: nullableNonEmptyStringSchema,\n\tlatestVersion: nullableNonEmptyStringSchema,\n\treasonCodes: array(nonEmptyStringSchema),\n\trequiredVersion: nullableNonEmptyStringSchema,\n\tstatus: localComponentUpdateStatusSchema,\n\tupdatePolicy: localComponentUpdatePolicySchema,\n\twakeBlocked: boolean()\n});\nconst localCliComponentUpdateProjectionSchema = strictObject({\n\tcommandContractVersion: nullableNonEmptyStringSchema,\n\tinstalledPackageVersion: nullableNonEmptyStringSchema,\n\tlatestPackageVersion: nullableNonEmptyStringSchema,\n\treasonCodes: array(nonEmptyStringSchema),\n\trequiredCommandContractVersion: nullableNonEmptyStringSchema,\n\tstatus: localComponentUpdateStatusSchema,\n\tupdatePolicy: localComponentUpdatePolicySchema,\n\twakeBlocked: boolean()\n});\nconst localSkillsComponentUpdateProjectionSchema = strictObject({\n\texpectedBundleHash: nullableNonEmptyStringSchema,\n\texpectedTargetCount: number().int().nonnegative(),\n\tinstalledBundleHash: nullableNonEmptyStringSchema,\n\treasonCodes: array(nonEmptyStringSchema),\n\tskillContractVersion: nullableNonEmptyStringSchema,\n\tstatus: localComponentUpdateStatusSchema,\n\ttargetCount: number().int().nonnegative().nullable(),\n\tupdatePolicy: localComponentUpdatePolicySchema,\n\twakeBlocked: boolean()\n});\nconst localComponentUpdateProjectionSchema = strictObject({\n\tschemaVersion: literal(1),\n\tgeneratedAt: iso.datetime({ offset: true }),\n\tsetupAction: localSetupActionSchema,\n\tsetupActionLabel: nonEmptyStringSchema,\n\tsetupActionDescription: nonEmptyStringSchema,\n\thumanSetupCommand: nonEmptyStringSchema,\n\tagentSetupCommand: nonEmptyStringSchema,\n\tmaintenance: openMeldToolsMaintenanceProjectionSchema.optional(),\n\tupdateOperation: openMeldToolsUpdateOperationSchema.optional(),\n\tcli: localCliComponentUpdateProjectionSchema,\n\tservice: localServiceComponentUpdateProjectionSchema,\n\tskills: localSkillsComponentUpdateProjectionSchema\n});\nfunction formatLocalSetupActionLabel(action) {\n\tswitch (action) {\n\t\tcase \"connect_service\": return \"Connect Computer\";\n\t\tcase \"reconnect_service\": return \"Reconnect Computer\";\n\t\tcase \"update_service\": return \"Update OpenMeld on Computer\";\n\t\tcase \"connect_local_agent\": return \"Connect local agent\";\n\t\tcase \"update_skills\": return \"Update OpenMeld skills\";\n\t\tcase \"update_cli\": return \"Update OpenMeld CLI\";\n\t\tcase \"none\": return \"Everything is up to date\";\n\t\tdefault: return action;\n\t}\n}\nfunction formatLocalComponentsSummaryLabel(input) {\n\tif (input.setupAction !== \"none\") return formatLocalSetupActionLabel(input.setupAction);\n\tswitch (input.cliStatus) {\n\t\tcase \"update_required\": return \"Update OpenMeld CLI\";\n\t\tcase \"update_available\": return \"OpenMeld CLI update available\";\n\t\tcase \"ok\": return \"Everything is up to date\";\n\t\tdefault: return input.cliStatus;\n\t}\n}\nfunction formatLocalComponentsSummaryDescription(input) {\n\tif (input.setupAction !== \"none\") return formatLocalSetupActionDescription(input.setupAction);\n\tswitch (input.cliStatus) {\n\t\tcase \"update_required\": return \"Update OpenMeld CLI before running this setup flow.\";\n\t\tcase \"update_available\": return \"OpenMeld CLI can be updated, but this setup flow can continue.\";\n\t\tcase \"ok\": return \"OpenMeld local components are aligned for this computer.\";\n\t\tdefault: return input.cliStatus;\n\t}\n}\nfunction formatLocalSetupActionDescription(action) {\n\tswitch (action) {\n\t\tcase \"connect_service\": return \"Connect this computer to OpenMeld so local agents can reply in Spaces.\";\n\t\tcase \"reconnect_service\": return \"Reconnect this computer to the current OpenMeld account.\";\n\t\tcase \"update_service\": return \"Update OpenMeld on this computer.\";\n\t\tcase \"connect_local_agent\": return \"Connect this Agent Profile to a local agent runtime on this computer.\";\n\t\tcase \"update_skills\": return \"Update OpenMeld skills through setup on this computer.\";\n\t\tcase \"update_cli\": return \"Update OpenMeld CLI before running this setup flow.\";\n\t\tcase \"none\": return \"OpenMeld local components are aligned for this computer.\";\n\t\tdefault: return action;\n\t}\n}\n//#endregion\nexport { LOCAL_COMPONENTS_SCHEMA_VERSION, formatLocalComponentsSummaryDescription, formatLocalComponentsSummaryLabel, formatLocalSetupActionDescription, formatLocalSetupActionLabel, installedLocalComponentsSnapshotSchema, localCliComponentProjectionSchema, localCliComponentUpdateProjectionSchema, localComponentProjectionSchema, localComponentStatusSchema, localComponentUpdatePolicySchema, localComponentUpdateProjectionSchema, localComponentUpdateStatusSchema, localComponentsManifestSchema, localComponentsReleaseManifestSchema, localComponentsStatusSchema, localServiceComponentProjectionSchema, localServiceComponentUpdateProjectionSchema, localSetupActionSchema, localSetupEntrypointSchema, localSkillsComponentProjectionSchema, localSkillsComponentUpdateProjectionSchema, openMeldToolsControlCapabilitySchema, openMeldToolsControlRequestSchema, openMeldToolsControlResultSchema, openMeldToolsMaintenanceMutationResultSchema, openMeldToolsMaintenanceProjectionSchema, openMeldToolsUpdateAttemptSchema, openMeldToolsUpdateOperationPhaseSchema, openMeldToolsUpdateOperationSchema, openMeldToolsUpdateRequestResultSchema, openMeldToolsUpdateRequestSourceSchema };\n\n//# sourceMappingURL=local-components.js.map","import { array, boolean, discriminatedUnion, enum as enumFactory, literal, number, strictObject, string } from \"../../lazy-zod.js\";\n//#region src/schemas/protocol/agent-interaction.ts\nconst AGENT_INTERACTION_SCHEMA_VERSION = 1;\nconst AGENT_INTERACTION_DEFAULT_TIMEOUT_MS = 480 * 60 * 1e3;\nconst agentInteractionKindSchema = enumFactory([\n\t\"permission\",\n\t\"question\",\n\t\"plan_review\"\n]);\nconst agentInteractionPermissionOptionIntentSchema = enumFactory([\n\t\"allow_once\",\n\t\"allow_session\",\n\t\"allow_always\",\n\t\"deny\"\n]);\nconst agentInteractionPermissionOptionSchema = strictObject({\n\toptionId: string().trim().min(1).max(256),\n\tlabel: string().trim().min(1).max(120),\n\tintent: agentInteractionPermissionOptionIntentSchema\n});\nconst agentInteractionPermissionSubjectSchema = strictObject({\n\ttype: enumFactory([\n\t\t\"command\",\n\t\t\"file_change\",\n\t\t\"tool\",\n\t\t\"additional_permissions\",\n\t\t\"other\"\n\t]),\n\tcommand: string().trim().min(1).max(16e3).nullable().optional(),\n\tcwd: string().trim().min(1).max(4096).nullable().optional(),\n\tresource: string().trim().min(1).max(4096).nullable().optional()\n});\nconst agentInteractionQuestionOptionSchema = strictObject({\n\toptionId: string().trim().min(1).max(256),\n\tlabel: string().trim().min(1).max(240),\n\tdescription: string().trim().min(1).max(1e3).nullable().optional()\n});\nconst agentInteractionQuestionSchema = strictObject({\n\tquestionId: string().trim().min(1).max(256),\n\theader: string().trim().min(1).max(120).nullable().optional(),\n\tprompt: string().trim().min(1).max(4e3),\n\toptions: array(agentInteractionQuestionOptionSchema).max(20),\n\tmultiple: boolean(),\n\tallowOther: boolean(),\n\tsecret: boolean().optional()\n});\nconst agentInteractionBaseRequestShape = {\n\tv: literal(1),\n\tinteractionId: string().trim().min(1).max(256),\n\trequestedAtMs: number().int().nonnegative(),\n\texpiresAtMs: number().int().nonnegative(),\n\ttitle: string().trim().min(1).max(240),\n\tdescription: string().trim().min(1).max(4e3).nullable().optional()\n};\nconst agentInteractionRequestSchema = discriminatedUnion(\"kind\", [\n\tstrictObject({\n\t\t...agentInteractionBaseRequestShape,\n\t\tkind: literal(\"permission\"),\n\t\toptions: array(agentInteractionPermissionOptionSchema).min(1).max(8),\n\t\tsubject: agentInteractionPermissionSubjectSchema\n\t}),\n\tstrictObject({\n\t\t...agentInteractionBaseRequestShape,\n\t\tkind: literal(\"question\"),\n\t\tquestions: array(agentInteractionQuestionSchema).min(1).max(3)\n\t}),\n\tstrictObject({\n\t\t...agentInteractionBaseRequestShape,\n\t\tkind: literal(\"plan_review\"),\n\t\tplan: string().trim().min(1).max(64e3),\n\t\tallowFeedback: boolean()\n\t})\n]);\nconst agentInteractionQuestionAnswerSchema = strictObject({\n\tquestionId: string().trim().min(1).max(256),\n\tvalues: array(string().trim().min(1).max(4e3)).min(1).max(20)\n});\nconst agentInteractionResponseSchema = discriminatedUnion(\"kind\", [\n\tstrictObject({\n\t\tkind: literal(\"permission\"),\n\t\toptionId: string().trim().min(1).max(256)\n\t}),\n\tstrictObject({\n\t\tkind: literal(\"question\"),\n\t\tanswers: array(agentInteractionQuestionAnswerSchema).min(1).max(3)\n\t}),\n\tstrictObject({\n\t\tkind: literal(\"plan_review\"),\n\t\taction: enumFactory([\"approve\", \"request_changes\"]),\n\t\tfeedback: string().trim().min(1).max(8e3).nullable().optional()\n\t}),\n\tstrictObject({ kind: literal(\"cancel\") })\n]);\nconst resolveQuestionResponseIssue = (input) => {\n\tconst answerByQuestionId = new Map(input.response.answers.map((answer) => [answer.questionId, answer]));\n\tif (answerByQuestionId.size !== input.request.questions.length || input.response.answers.length !== input.request.questions.length) return {\n\t\tmessage: \"question response must answer every question exactly once\",\n\t\tpath: [\"response\", \"answers\"]\n\t};\n\tfor (const question of input.request.questions) {\n\t\tconst answer = answerByQuestionId.get(question.questionId);\n\t\tif (!answer) return {\n\t\t\tmessage: `missing answer for question '${question.questionId}'`,\n\t\t\tpath: [\"response\", \"answers\"]\n\t\t};\n\t\tif (!question.multiple && answer.values.length !== 1) return {\n\t\t\tmessage: \"single-choice questions require exactly one answer\",\n\t\t\tpath: [\"response\", \"answers\"]\n\t\t};\n\t\tconst knownOptionIds = new Set(question.options.map((option) => option.optionId));\n\t\tif (!question.allowOther && answer.values.some((value) => !knownOptionIds.has(value))) return {\n\t\t\tmessage: \"question response contains an unavailable option\",\n\t\t\tpath: [\"response\", \"answers\"]\n\t\t};\n\t}\n\treturn null;\n};\nconst resolveAgentInteractionResolutionIssue = (input) => {\n\tconst { request, response } = input;\n\tif (response.kind === \"cancel\") return null;\n\tif (request.kind !== response.kind) return {\n\t\tmessage: \"response kind must match the pending interaction\",\n\t\tpath: [\"response\", \"kind\"]\n\t};\n\tif (request.kind === \"permission\" && response.kind === \"permission\") return request.options.some((option) => option.optionId === response.optionId) ? null : {\n\t\tmessage: \"permission response must select an available option\",\n\t\tpath: [\"response\", \"optionId\"]\n\t};\n\tif (request.kind === \"plan_review\" && response.kind === \"plan_review\") {\n\t\tif (response.action === \"request_changes\" && !(request.allowFeedback && response.feedback)) return {\n\t\t\tmessage: \"plan change requests require feedback when feedback is allowed\",\n\t\t\tpath: [\"response\", \"feedback\"]\n\t\t};\n\t\treturn response.action === \"approve\" && response.feedback ? {\n\t\t\tmessage: \"approved plans must not include change feedback\",\n\t\t\tpath: [\"response\", \"feedback\"]\n\t\t} : null;\n\t}\n\tif (request.kind === \"question\" && response.kind === \"question\") return resolveQuestionResponseIssue({\n\t\trequest,\n\t\tresponse\n\t});\n\treturn null;\n};\nconst agentInteractionResolutionSchema = strictObject({\n\trequest: agentInteractionRequestSchema,\n\tresponse: agentInteractionResponseSchema\n}).superRefine((value, context) => {\n\tconst issue = resolveAgentInteractionResolutionIssue(value);\n\tif (!issue) return;\n\tcontext.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: issue.message,\n\t\tpath: issue.path\n\t});\n});\nconst agentInteractionPendingSummarySchema = strictObject({\n\tinteractionId: string().trim().min(1).max(256),\n\tkind: agentInteractionKindSchema,\n\trequestedAtMs: number().int().nonnegative(),\n\texpiresAtMs: number().int().nonnegative(),\n\tcanRespond: boolean(),\n\trequest: agentInteractionRequestSchema.nullable()\n});\n//#endregion\nexport { AGENT_INTERACTION_DEFAULT_TIMEOUT_MS, AGENT_INTERACTION_SCHEMA_VERSION, agentInteractionKindSchema, agentInteractionPendingSummarySchema, agentInteractionPermissionOptionIntentSchema, agentInteractionPermissionOptionSchema, agentInteractionPermissionSubjectSchema, agentInteractionQuestionAnswerSchema, agentInteractionQuestionOptionSchema, agentInteractionQuestionSchema, agentInteractionRequestSchema, agentInteractionResolutionSchema, agentInteractionResponseSchema };\n\n//# sourceMappingURL=agent-interaction.js.map","import { clientMessageIdSchema } from \"./client-message-id.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/protocol/target-wake-lifecycle.ts\nconst TARGET_WAKE_LIFECYCLE_IDENTITY_MODEL_VERSION = \"openmeld.target_wake.lifecycle_identity.v1\";\nconst targetWakeLifecycleIdentifierSchema = z$1.string().trim().min(1).max(512);\nconst nullableTargetWakeLifecycleIdentifierSchema = targetWakeLifecycleIdentifierSchema.nullable();\nconst targetWakeLifecycleIdSchema = z$1.string().trim().min(1).max(2048);\nconst targetWakeLifecycleIdentitySchema = z$1.strictObject({\n\tmodelVersion: z$1.literal(TARGET_WAKE_LIFECYCLE_IDENTITY_MODEL_VERSION),\n\ttargetWakeLifecycleId: targetWakeLifecycleIdSchema,\n\tspaceId: targetWakeLifecycleIdentifierSchema,\n\tsourceSignalId: targetWakeLifecycleIdentifierSchema,\n\tclientMessageId: clientMessageIdSchema.nullable(),\n\ttargetProfileId: targetWakeLifecycleIdentifierSchema,\n\tdispatchId: nullableTargetWakeLifecycleIdentifierSchema\n}).superRefine((value, context) => {\n\tconst expectedTargetWakeLifecycleId = buildTargetWakeLifecycleId({\n\t\tspaceId: value.spaceId,\n\t\tsourceSignalId: value.sourceSignalId,\n\t\ttargetProfileId: value.targetProfileId\n\t});\n\tif (value.targetWakeLifecycleId === expectedTargetWakeLifecycleId) return;\n\tcontext.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"targetWakeLifecycleId must match spaceId, sourceSignalId, and targetProfileId\",\n\t\tpath: [\"targetWakeLifecycleId\"]\n\t});\n});\nfunction buildTargetWakeLifecycleId(input) {\n\tconst spaceId = normalizeRequiredTargetWakeLifecycleIdPart(\"spaceId\", input.spaceId);\n\tconst sourceSignalId = normalizeRequiredTargetWakeLifecycleIdPart(\"sourceSignalId\", input.sourceSignalId);\n\tconst targetProfileId = normalizeRequiredTargetWakeLifecycleIdPart(\"targetProfileId\", input.targetProfileId);\n\treturn [\n\t\t\"twl_v1\",\n\t\tencodeLengthPrefixedTargetWakeLifecycleIdPart(spaceId),\n\t\tencodeLengthPrefixedTargetWakeLifecycleIdPart(sourceSignalId),\n\t\tencodeLengthPrefixedTargetWakeLifecycleIdPart(targetProfileId)\n\t].join(\"|\");\n}\nfunction projectTargetWakeLifecycleIdentity(input) {\n\tconst spaceId = normalizeRequiredTargetWakeLifecycleIdPart(\"spaceId\", input.spaceId);\n\tconst sourceSignalId = normalizeRequiredTargetWakeLifecycleIdPart(\"sourceSignalId\", input.sourceSignalId);\n\tconst targetProfileId = normalizeRequiredTargetWakeLifecycleIdPart(\"targetProfileId\", input.targetProfileId);\n\tconst clientMessageId = normalizeOptionalClientMessageId(input.clientMessageId);\n\tconst dispatchId = normalizeOptionalTargetWakeLifecycleIdPart(input.dispatchId);\n\tconst candidate = {\n\t\tmodelVersion: TARGET_WAKE_LIFECYCLE_IDENTITY_MODEL_VERSION,\n\t\ttargetWakeLifecycleId: buildTargetWakeLifecycleId({\n\t\t\tspaceId,\n\t\t\tsourceSignalId,\n\t\t\ttargetProfileId\n\t\t}),\n\t\tspaceId,\n\t\tsourceSignalId,\n\t\tclientMessageId,\n\t\ttargetProfileId,\n\t\tdispatchId\n\t};\n\tconst parsed = targetWakeLifecycleIdentitySchema.safeParse(candidate);\n\tif (!parsed.success) throw new Error(\"invalid target Wake lifecycle identity\");\n\treturn parsed.data;\n}\nconst encodeLengthPrefixedTargetWakeLifecycleIdPart = (value) => {\n\treturn `${value.length}:${value}`;\n};\nfunction normalizeRequiredTargetWakeLifecycleIdPart(fieldName, value) {\n\tif (typeof value !== \"string\") throw new Error(`target_wake_lifecycle.identity_invalid: ${fieldName} must be a string`);\n\tconst normalized = value.trim();\n\tif (!normalized) throw new Error(`target_wake_lifecycle.identity_invalid: ${fieldName} is required`);\n\treturn normalized;\n}\nfunction normalizeOptionalTargetWakeLifecycleIdPart(value) {\n\tif (value === null || value === void 0) return null;\n\tif (typeof value !== \"string\") throw new Error(\"target_wake_lifecycle.identity_invalid: value must be a string\");\n\tconst normalized = value.trim();\n\treturn normalized.length > 0 ? normalized : null;\n}\nfunction normalizeOptionalClientMessageId(value) {\n\tif (value === null || value === void 0) return null;\n\tif (typeof value !== \"string\") throw new Error(\"target_wake_lifecycle.identity_invalid: clientMessageId must be a string\");\n\tconst parsed = clientMessageIdSchema.safeParse(value);\n\treturn parsed.success ? parsed.data : null;\n}\n//#endregion\nexport { TARGET_WAKE_LIFECYCLE_IDENTITY_MODEL_VERSION, buildTargetWakeLifecycleId, projectTargetWakeLifecycleIdentity, targetWakeLifecycleIdentitySchema };\n\n//# sourceMappingURL=target-wake-lifecycle.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/runtime/working-language.ts\nconst WORKING_LANGUAGE_TAG_MAX_CHARS = 64;\nconst workingLanguageTagSchema = z$1.string().trim().min(2).max(64).transform((value, context) => {\n\ttry {\n\t\tconst [canonical] = Intl.getCanonicalLocales(value);\n\t\tif (!canonical) throw new TypeError(\"A language tag is required.\");\n\t\treturn canonical;\n\t} catch {\n\t\tcontext.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"Expected a valid BCP 47 language tag.\"\n\t\t});\n\t\treturn z$1.NEVER;\n\t}\n});\nconst organizationWorkingLanguageModeSchema = z$1.enum([\"automatic\", \"selected\"]);\nconst workingLanguageGuidanceSchema = z$1.strictObject({\n\tlanguageTag: workingLanguageTagSchema,\n\tmode: organizationWorkingLanguageModeSchema\n});\n//#endregion\nexport { WORKING_LANGUAGE_TAG_MAX_CHARS, organizationWorkingLanguageModeSchema, workingLanguageGuidanceSchema, workingLanguageTagSchema };\n\n//# sourceMappingURL=working-language.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/authority-order.ts\nconst spaceAuthorityOrderSchema = z$1.literal(\"default\");\n//#endregion\nexport { spaceAuthorityOrderSchema };\n\n//# sourceMappingURL=authority-order.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/dispatch-policy.ts\nconst spaceDispatchPolicyModeSchema = z$1.enum([\"mention_only\", \"listen_all\"]);\nconst spaceDispatchPolicySchema = z$1.strictObject({ mode: spaceDispatchPolicyModeSchema });\n//#endregion\nexport { spaceDispatchPolicyModeSchema, spaceDispatchPolicySchema };\n\n//# sourceMappingURL=dispatch-policy.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/publication-policy.ts\nconst spacePublicationModeSchema = z$1.enum([\"collaboration\", \"raw_context_sharing\"]);\nconst spaceAllowedActionSchema = z$1.enum([\n\t\"post_message\",\n\t\"post_status\",\n\t\"stay_silent\"\n]);\nconst spaceAllowedActionsSchema = z$1.array(spaceAllowedActionSchema).superRefine((value, ctx) => {\n\tif (value.length === 0) {\n\t\tctx.addIssue({\n\t\t\tcode: \"custom\",\n\t\t\tmessage: \"allowedActions must contain at least one action\"\n\t\t});\n\t\treturn;\n\t}\n\tif (new Set(value).size !== value.length) ctx.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"allowedActions must not contain duplicates\"\n\t});\n});\n//#endregion\nexport { spaceAllowedActionSchema, spaceAllowedActionsSchema, spacePublicationModeSchema };\n\n//# sourceMappingURL=publication-policy.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/result-archive-policy.ts\nconst resultArchiveModeSchema = z$1.enum([\n\t\"none\",\n\t\"space_reply_only\",\n\t\"all_final_results\"\n]);\nconst resultArchivePolicySchema = z$1.strictObject({ mode: resultArchiveModeSchema });\n//#endregion\nexport { resultArchiveModeSchema, resultArchivePolicySchema };\n\n//# sourceMappingURL=result-archive-policy.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/space-note.ts\nconst spaceNoteSchema = z$1.string().trim().min(1);\n//#endregion\nexport { spaceNoteSchema };\n\n//# sourceMappingURL=space-note.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { spaceAuthorityOrderSchema } from \"./authority-order.js\";\nimport { spaceDispatchPolicySchema } from \"./dispatch-policy.js\";\nimport { spaceAllowedActionsSchema, spacePublicationModeSchema } from \"./publication-policy.js\";\nimport { resultArchivePolicySchema } from \"./result-archive-policy.js\";\nimport { spaceNoteSchema } from \"./space-note.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/space-contract.ts\nconst isoDateTimeSchema = z$1.iso.datetime({ offset: true });\nconst spaceBriefModeSchema = z$1.enum([\"default\", \"none\"]);\nconst spaceContractFieldsSchema = z$1.strictObject({\n\tdispatchPolicy: spaceDispatchPolicySchema,\n\tpublicationMode: spacePublicationModeSchema,\n\tallowedActions: spaceAllowedActionsSchema,\n\tresultArchivePolicy: resultArchivePolicySchema,\n\tspaceNote: spaceNoteSchema.optional(),\n\tauthorityOrder: spaceAuthorityOrderSchema,\n\tentryBrief: spaceBriefModeSchema,\n\tdispatchBrief: spaceBriefModeSchema\n});\nconst spaceContractSchema = z$1.strictObject({\n\tversion: z$1.number().int().finite().positive(),\n\tupdatedAt: isoDateTimeSchema,\n\tupdatedBy: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tdispatchPolicy: spaceDispatchPolicySchema,\n\tpublicationMode: spacePublicationModeSchema,\n\tallowedActions: spaceAllowedActionsSchema,\n\tresultArchivePolicy: resultArchivePolicySchema,\n\tspaceNote: spaceNoteSchema.optional(),\n\tauthorityOrder: spaceAuthorityOrderSchema,\n\tentryBrief: spaceBriefModeSchema,\n\tdispatchBrief: spaceBriefModeSchema\n});\n//#endregion\nexport { spaceBriefModeSchema, spaceContractFieldsSchema, spaceContractSchema };\n\n//# sourceMappingURL=space-contract.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/conversation-lifecycle.ts\nconst conversationBootstrapReasonSchema = z$1.enum([\n\t\"missing_bootstrap_state\",\n\t\"compatibility_recreate\",\n\t\"template_changed\",\n\t\"idle_stale\",\n\t\"dispatch_count_stale\",\n\t\"context_healed\",\n\t\"context_replaced\"\n]);\nconst localRuntimeContextReasonSchema = z$1.enum([\n\t\"first_local_runtime_context\",\n\t\"workspace_changed\",\n\t\"transport_mode_changed\",\n\t\"policy_changed\",\n\t\"execution_state_missing\",\n\t\"controller_changed\"\n]);\nconst agentControllerConversationResumePlanBlockedReasonSchema = z$1.enum([\"controller_changed\"]);\nconst agentControllerConversationResumePlanSchema = z$1.discriminatedUnion(\"status\", [\n\tz$1.strictObject({ status: z$1.literal(\"not_bound\") }),\n\tz$1.strictObject({ status: z$1.literal(\"continue_existing\") }),\n\tz$1.strictObject({\n\t\tstatus: z$1.literal(\"blocked\"),\n\t\treason: agentControllerConversationResumePlanBlockedReasonSchema\n\t})\n]);\nconst localRuntimeContextPlanSchema = z$1.strictObject({\n\tstatus: z$1.enum([\"reuse\", \"recreate\"]),\n\treason: z$1.union([localRuntimeContextReasonSchema, z$1.null()])\n});\nconst conversationBootstrapSchema = z$1.discriminatedUnion(\"status\", [z$1.strictObject({\n\treason: z$1.null(),\n\tstatus: z$1.literal(\"applied\")\n}), z$1.strictObject({\n\treason: conversationBootstrapReasonSchema,\n\tstatus: z$1.literal(\"pending\")\n})]);\nconst nextDispatchPlanSchema = z$1.strictObject({\n\tagentControllerConversationResume: agentControllerConversationResumePlanSchema,\n\tlocalRuntimeContext: localRuntimeContextPlanSchema,\n\tbootstrap: conversationBootstrapSchema\n});\nconst agentControllerConversationResumeSchema = z$1.discriminatedUnion(\"status\", [\n\tz$1.strictObject({ status: z$1.literal(\"not_bound\") }),\n\tz$1.strictObject({ status: z$1.literal(\"continued\") }),\n\tz$1.strictObject({ status: z$1.literal(\"replaced_by_provider\") })\n]);\nconst localRuntimeContextExecutionSchema = z$1.strictObject({\n\tstatus: z$1.enum([\"reused\", \"recreated\"]),\n\treason: z$1.union([localRuntimeContextReasonSchema, z$1.null()])\n});\nconst dispatchExecutionSchema = z$1.strictObject({\n\tagentControllerConversationResume: agentControllerConversationResumeSchema,\n\tlocalRuntimeContext: localRuntimeContextExecutionSchema,\n\tbootstrap: conversationBootstrapSchema\n});\n//#endregion\nexport { agentControllerConversationResumePlanBlockedReasonSchema, agentControllerConversationResumePlanSchema, agentControllerConversationResumeSchema, conversationBootstrapReasonSchema, conversationBootstrapSchema, dispatchExecutionSchema, localRuntimeContextExecutionSchema, localRuntimeContextPlanSchema, localRuntimeContextReasonSchema, nextDispatchPlanSchema };\n\n//# sourceMappingURL=conversation-lifecycle.js.map","import { profileWorkingDirectorySchema } from \"../protocol/profile.js\";\nimport { agentControllerConversationRefSchema } from \"./conversation-contract.js\";\nimport { conversationBootstrapReasonSchema } from \"./conversation-lifecycle.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/conversation-execution-state.ts\nconst ISO_DATE_TIME_SCHEMA = z$1.iso.datetime({ offset: true });\nconst bootstrapTemplateFactsSchema = z$1.strictObject({\n\ttemplateVersion: z$1.string().min(1),\n\tcontentFingerprint: z$1.string().min(1)\n});\nconst conversationExecutionStateSchema = z$1.strictObject({\n\tagentContextLookupKey: z$1.string().min(1),\n\tactiveContextId: z$1.string().min(1).nullable(),\n\tlastResolvedAgentControllerConversation: agentControllerConversationRefSchema.optional(),\n\tlastRuntimeWorkspacePath: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: z$1.string().min(1),\n\tbootstrapLastAppliedAt: ISO_DATE_TIME_SCHEMA.optional(),\n\tbootstrapLastActivatedAt: ISO_DATE_TIME_SCHEMA.optional(),\n\tdispatchesSinceBootstrapApplied: z$1.number().int().min(0),\n\tlastAppliedTemplateVersion: z$1.string().min(1).optional(),\n\tlastAppliedContentFingerprint: z$1.string().min(1).optional(),\n\tpendingBootstrapReason: conversationBootstrapReasonSchema.optional(),\n\tupdatedAt: ISO_DATE_TIME_SCHEMA\n});\n//#endregion\nexport { bootstrapTemplateFactsSchema, conversationExecutionStateSchema };\n\n//# sourceMappingURL=conversation-execution-state.js.map","import { MAX_PROFILE_WORKING_DIRECTORY_LENGTH } from \"../protocol/profile.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/provider-runtime-context.ts\nconst providerDispatchRuntimeContextSchema = z$1.strictObject({ providerRuntimeWorkingDirectory: z$1.string().trim().min(1).max(MAX_PROFILE_WORKING_DIRECTORY_LENGTH).refine((value) => !value.includes(\"\\0\"), { message: \"providerRuntimeWorkingDirectory must not contain NUL bytes\" }) });\n//#endregion\nexport { providerDispatchRuntimeContextSchema };\n\n//# sourceMappingURL=provider-runtime-context.js.map","import { nonEmptyTrimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { agentProfileIdSchema, profileWorkingDirectorySchema, profileWorkspaceModeSchema } from \"../protocol/profile.js\";\nimport { array, boolean, discriminatedUnion, enum as enumFactory, iso, literal, null as nullFactory, number, strictObject, string, union } from \"../../lazy-zod.js\";\nimport { runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { conversationExecutionStateSchema } from \"./conversation-execution-state.js\";\nimport { providerDispatchRuntimeContextSchema } from \"./provider-runtime-context.js\";\n//#region src/schemas/daemon/control-plane.ts\nconst OPENMELD_DAEMON_CONTROL_PLANE_SCHEMA_VERSION = 1;\nconst openMeldDaemonControlPlaneCommandSchema = enumFactory([\n\t\"status\",\n\t\"health\",\n\t\"history\",\n\t\"interrupt\",\n\t\"cancel\",\n\t\"conversation_execution_status\",\n\t\"request_agent_activity_sync\",\n\t\"sync_route_catalog\",\n\t\"set_local_agent_enabled\",\n\t\"set_profile_workspace\",\n\t\"service_update_readiness\",\n\t\"shutdown\"\n]);\nconst openMeldDaemonHealthStateSchema = enumFactory([\n\t\"ok\",\n\t\"degraded\",\n\t\"down\"\n]);\nconst openMeldDaemonRuntimeHealthStateSchema = enumFactory([\n\t\"healthy\",\n\t\"idle\",\n\t\"suspect\",\n\t\"down\"\n]);\nconst openMeldDaemonControlTargetSelectorSchema = discriminatedUnion(\"by\", [strictObject({\n\tby: literal(\"dispatch\"),\n\tdispatchId: string().min(1)\n}), strictObject({\n\tby: literal(\"task\"),\n\ttaskId: string().min(1)\n})]);\nconst openMeldDaemonInterruptRequestPayloadSchema = strictObject({\n\truntimeCoordinatorExecutionId: string().min(1).optional(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tmode: enumFactory([\"graceful\", \"force\"]).optional(),\n\treason: string().min(1).optional()\n});\nconst openMeldDaemonCancelRequestPayloadSchema = strictObject({\n\truntimeCoordinatorExecutionId: string().min(1).optional(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\treason: string().min(1).optional()\n});\nconst openMeldDaemonShutdownRequestPayloadSchema = strictObject({\n\tmode: enumFactory([\"graceful\", \"force\"]).default(\"graceful\"),\n\tgracePeriodMs: number().int().nonnegative().default(5e3)\n});\nconst openMeldDaemonServiceUpdateReadinessPayloadSchema = strictObject({\n\tacceptedWakeCount: number().int().nonnegative(),\n\tsafeToSwitch: boolean(),\n\tunacknowledgedResultCount: number().int().nonnegative()\n});\nconst openMeldDaemonConversationExecutionControllerLaunchStatusSchema = enumFactory([\n\t\"missing\",\n\t\"disabled\",\n\t\"repair_required\",\n\t\"ready\"\n]);\nconst nullableAgentControllerRefSchema = union([string().min(1), nullFactory()]);\nconst nullableNonEmptyStringSchema = union([string().min(1), nullFactory()]);\nconst openMeldDaemonConversationExecutionStatusRequestPayloadSchema = strictObject({\n\tboundAgentControllerRef: nullableAgentControllerRefSchema,\n\tagentControllerConversationId: nullableNonEmptyStringSchema,\n\tagentControllerRef: string().min(1),\n\tspaceId: nonEmptyTrimmedStringFromUnknown,\n\ttargetProfileId: agentProfileIdSchema,\n\ttransportMode: runtimeTransportModeSchema,\n\tvalidate: boolean()\n});\nconst openMeldDaemonSyncRouteCatalogRequestPayloadSchema = strictObject({ reason: string().min(1) });\nconst openMeldDaemonRequestAgentActivitySyncRequestPayloadSchema = strictObject({ reason: string().trim().min(1).max(128) });\nconst openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema = strictObject({\n\tagentId: string().trim().min(1).max(256),\n\tenabled: boolean()\n});\nconst localAgentInstallationOptionSchema = strictObject({\n\tinstallationId: string().trim().min(1).max(256),\n\tname: string().trim().min(1).max(256),\n\tdetails: string().trim().min(1).max(256),\n\tselected: boolean()\n});\nconst openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema = discriminatedUnion(\"operation\", [strictObject({\n\tagentId: string().trim().min(1).max(256),\n\toperation: literal(\"list\")\n}), strictObject({\n\tagentId: string().trim().min(1).max(256),\n\tinstallationId: string().trim().min(1).max(256),\n\toperation: literal(\"select\")\n})]);\nconst openMeldDaemonSetProfileWorkspaceRequestPayloadSchema = strictObject({\n\ttargetProfileId: agentProfileIdSchema,\n\tworkspaceMode: profileWorkspaceModeSchema,\n\tworkspacePath: profileWorkingDirectorySchema.optional()\n}).superRefine((value, context) => {\n\tif (value.workspaceMode === \"custom\" && !value.workspacePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"workspacePath is required for a custom profile workspace\",\n\t\tpath: [\"workspacePath\"]\n\t});\n\tif (value.workspaceMode === \"openmeld_managed\" && value.workspacePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"workspacePath must be omitted for an OpenMeld-managed profile workspace\",\n\t\tpath: [\"workspacePath\"]\n\t});\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema = strictObject({\n\tconfigPath: string().min(1),\n\tconfiguredWorkspacePath: string().min(1),\n\tfingerprint: string().min(1),\n\tpath: string().min(1),\n\treasonCode: nullFactory(),\n\treasonText: nullFactory(),\n\truntimeContext: providerDispatchRuntimeContextSchema,\n\tstatus: literal(\"ready\"),\n\tworkspaceMode: profileWorkspaceModeSchema\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema = strictObject({\n\tconfigPath: string().min(1),\n\tconfiguredWorkspacePath: nullFactory(),\n\tfingerprint: nullFactory(),\n\tpath: nullFactory(),\n\treasonCode: literal(\"workspace.missing\"),\n\treasonText: string().min(1),\n\truntimeContext: nullFactory(),\n\tstatus: literal(\"missing\"),\n\tworkspaceMode: nullFactory()\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema = strictObject({\n\tconfigPath: string().min(1),\n\tconfiguredWorkspacePath: union([string().min(1), nullFactory()]),\n\tfingerprint: nullFactory(),\n\tpath: nullFactory(),\n\treasonCode: literal(\"workspace.invalid\"),\n\treasonText: string().min(1),\n\truntimeContext: nullFactory(),\n\tstatus: literal(\"invalid\"),\n\tworkspaceMode: union([profileWorkspaceModeSchema, nullFactory()])\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceSchema = discriminatedUnion(\"status\", [\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema,\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema,\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema\n]);\nconst openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema = enumFactory([\n\t\"missing\",\n\t\"mismatch\",\n\t\"ready\"\n]);\nconst openMeldDaemonProviderConversationProofStatusSchema = enumFactory([\n\t\"failed\",\n\t\"not_applicable\",\n\t\"not_run\",\n\t\"passed\"\n]);\nconst openMeldDaemonProviderConversationProofProviderSchema = enumFactory([\n\t\"codex\",\n\t\"claude-code\",\n\t\"openclaw\"\n]);\nconst openMeldDaemonProviderConversationProofMethodSchema = enumFactory([\"codex_app_server_thread_resume\"]);\nconst openMeldDaemonProviderConversationProofSchema = strictObject({\n\tagentControllerConversationId: nullableNonEmptyStringSchema,\n\tcheckedAt: union([iso.datetime({ offset: true }), nullFactory()]),\n\terrorCode: nullableNonEmptyStringSchema,\n\terrorMessage: nullableNonEmptyStringSchema,\n\terrorType: nullableNonEmptyStringSchema,\n\texpiresAt: union([iso.datetime({ offset: true }), nullFactory()]),\n\tintrusive: literal(false),\n\tmethod: union([openMeldDaemonProviderConversationProofMethodSchema, nullFactory()]),\n\tprovider: union([openMeldDaemonProviderConversationProofProviderSchema, nullFactory()]),\n\tstatus: openMeldDaemonProviderConversationProofStatusSchema,\n\ttransportMode: union([runtimeTransportModeSchema, nullFactory()])\n});\nconst openMeldDaemonConversationExecutionStatusPayloadSchema = strictObject({\n\tagentContextLookupKey: string().min(1),\n\tcontrollerLaunchStatus: openMeldDaemonConversationExecutionControllerLaunchStatusSchema,\n\texecutionState: conversationExecutionStateSchema.nullable(),\n\tlocalRuntimeContext: strictObject({\n\t\tagentContextLookupKey: string().min(1),\n\t\truntimeWorkspaceFingerprint: nullableNonEmptyStringSchema,\n\t\tstatus: openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema\n\t}),\n\tproviderConversationProof: openMeldDaemonProviderConversationProofSchema,\n\truntimeWorkspace: openMeldDaemonConversationExecutionRuntimeWorkspaceSchema\n});\nconst openMeldDaemonSyncRouteCatalogStatusSchema = enumFactory([\n\t\"changed\",\n\t\"registered\",\n\t\"unchanged\",\n\t\"failed\",\n\t\"deferred\"\n]);\nconst DAEMON_PROFILE_SKIP_REASON_VALUES = [\n\t\"projection.missing\",\n\t\"controller.registry.disabled\",\n\t\"controller.launch.needs_repair\",\n\t\"runtime.adapter.unsupported\",\n\t\"controller.binding.disabled\",\n\t\"controller.binding.incomplete\",\n\t\"profile.status.inactive\",\n\t\"profile.binding.read_unavailable\",\n\t\"profile.binding.unbound\",\n\t\"workspace.missing\",\n\t\"workspace.invalid\"\n];\nconst daemonProfileSkipReasonSchema = enumFactory(DAEMON_PROFILE_SKIP_REASON_VALUES);\nconst skippedDaemonProfileSchema = strictObject({\n\tprofileId: agentProfileIdSchema,\n\tprofileName: nullableNonEmptyStringSchema,\n\tskipReason: daemonProfileSkipReasonSchema\n});\nconst openMeldDaemonSyncRouteCatalogPayloadSchema = strictObject({\n\taccepted: boolean(),\n\tsyncStatus: openMeldDaemonSyncRouteCatalogStatusSchema,\n\tprofileIds: array(agentProfileIdSchema),\n\taddedProfileIds: array(agentProfileIdSchema).optional(),\n\tkeptProfileIds: array(agentProfileIdSchema).optional(),\n\tremovedProfileIds: array(agentProfileIdSchema).optional(),\n\tskippedProfiles: array(skippedDaemonProfileSchema).optional(),\n\tnote: string().min(1).optional(),\n\terrorMessage: string().min(1).optional()\n});\nconst openMeldDaemonRequestAgentActivitySyncPayloadSchema = strictObject({ accepted: boolean() });\nconst openMeldDaemonSetLocalAgentEnabledPayloadSchema = strictObject({\n\taccepted: boolean(),\n\tagentControllerRef: string().min(1).optional(),\n\tagentId: string().trim().min(1).max(256),\n\tchanged: boolean(),\n\tenabled: boolean(),\n\tmessage: string().min(1).optional(),\n\treasonCode: string().min(1).optional(),\n\treportSyncStatus: enumFactory([\n\t\t\"submitted\",\n\t\t\"skipped\",\n\t\t\"failed\"\n\t]),\n\tstatus: enumFactory([\n\t\t\"updated\",\n\t\t\"unchanged\",\n\t\t\"rejected\"\n\t])\n});\nconst openMeldDaemonManageLocalAgentInstallationPayloadSchema = discriminatedUnion(\"accepted\", [strictObject({\n\taccepted: literal(true),\n\tagentControllerRef: string().min(1),\n\tagentId: string().trim().min(1).max(256),\n\tchanged: boolean(),\n\tinstallations: array(localAgentInstallationOptionSchema),\n\treportSyncStatus: enumFactory([\n\t\t\"submitted\",\n\t\t\"skipped\",\n\t\t\"failed\"\n\t]),\n\tselectionStatus: enumFactory([\n\t\t\"available\",\n\t\t\"blocked_by_work\",\n\t\t\"operation_in_progress\"\n\t]).optional(),\n\tselectedInstallationId: string().trim().min(1).max(256).nullable(),\n\tstatus: enumFactory([\n\t\t\"listed\",\n\t\t\"updated\",\n\t\t\"unchanged\"\n\t])\n}), strictObject({\n\taccepted: literal(false),\n\tagentId: string().trim().min(1).max(256),\n\tchanged: literal(false),\n\tinstallations: array(localAgentInstallationOptionSchema),\n\tmessage: string().min(1).optional(),\n\treasonCode: string().min(1).optional(),\n\treportSyncStatus: literal(\"failed\"),\n\tselectionStatus: enumFactory([\n\t\t\"available\",\n\t\t\"blocked_by_work\",\n\t\t\"operation_in_progress\"\n\t]).optional(),\n\tselectedInstallationId: string().trim().min(1).max(256).nullable(),\n\tstatus: literal(\"rejected\")\n})]);\nconst openMeldDaemonSetProfileWorkspacePayloadSchema = discriminatedUnion(\"accepted\", [strictObject({\n\taccepted: literal(true),\n\ttargetProfileId: agentProfileIdSchema,\n\tstatus: literal(\"updated\"),\n\tworkspaceMode: profileWorkspaceModeSchema,\n\tworkspacePath: string().min(1)\n}), strictObject({\n\taccepted: literal(false),\n\ttargetProfileId: agentProfileIdSchema,\n\tmessage: string().min(1).optional(),\n\treasonCode: string().min(1).optional(),\n\tstatus: literal(\"rejected\")\n})]);\nconst openMeldDaemonControlPlaneRequestBaseSchema = strictObject({\n\tv: literal(1),\n\trequestId: string().min(1).optional(),\n\tauthToken: string().min(1).optional()\n});\nconst openMeldDaemonControlPlaneRequestSchema = discriminatedUnion(\"command\", [\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"status\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"health\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"history\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"interrupt\"),\n\t\tpayload: openMeldDaemonInterruptRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"cancel\"),\n\t\tpayload: openMeldDaemonCancelRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"conversation_execution_status\"),\n\t\tpayload: openMeldDaemonConversationExecutionStatusRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"sync_route_catalog\"),\n\t\tpayload: openMeldDaemonSyncRouteCatalogRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"request_agent_activity_sync\"),\n\t\tpayload: openMeldDaemonRequestAgentActivitySyncRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"set_local_agent_enabled\"),\n\t\tpayload: openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"set_profile_workspace\"),\n\t\tpayload: openMeldDaemonSetProfileWorkspaceRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: literal(\"service_update_readiness\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: literal(\"shutdown\"),\n\t\tpayload: openMeldDaemonShutdownRequestPayloadSchema.optional()\n\t})\n]);\nconst openMeldDaemonStatusPayloadSchema = strictObject({\n\tinstalled: boolean(),\n\trunning: boolean(),\n\tdaemonVersion: string().min(1),\n\truntimeRoot: string().min(1),\n\tcheckedAt: string().min(1)\n});\nconst openMeldDaemonHealthPayloadSchema = strictObject({\n\tstate: openMeldDaemonHealthStateSchema,\n\truntimeState: openMeldDaemonRuntimeHealthStateSchema.optional(),\n\treasonCode: string().min(1),\n\tcheckedAt: string().min(1)\n});\nconst openMeldDaemonHistoryEntrySchema = strictObject({\n\tid: string().min(1),\n\tts: string().min(1),\n\tcode: string().min(1),\n\tmessage: string().min(1)\n});\nconst openMeldDaemonHistoryPayloadSchema = strictObject({\n\tentries: array(openMeldDaemonHistoryEntrySchema),\n\tnextCursor: string().min(1).optional()\n});\nconst openMeldDaemonInterruptPayloadSchema = strictObject({\n\taccepted: boolean(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tresolvedDispatchId: string().min(1).optional(),\n\tresolvedRuntimeCoordinatorExecutionId: string().min(1).optional(),\n\tresolvedTaskId: string().min(1).optional(),\n\tnote: string().min(1).optional(),\n\treasonCode: string().min(1).optional()\n});\nconst openMeldDaemonCancelPayloadSchema = strictObject({\n\taccepted: boolean(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tresolvedDispatchId: string().min(1).optional(),\n\tresolvedRuntimeCoordinatorExecutionId: string().min(1).optional(),\n\tresolvedTaskId: string().min(1).optional(),\n\tnote: string().min(1).optional(),\n\treasonCode: string().min(1).optional()\n});\nconst openMeldDaemonControlPlaneErrorPayloadSchema = strictObject({\n\terrorCode: string().min(1),\n\terrorMessage: string().min(1),\n\tnote: string().min(1).optional()\n});\nconst openMeldDaemonShutdownPayloadSchema = strictObject({\n\taccepted: boolean(),\n\tmode: enumFactory([\"graceful\", \"force\"]),\n\tgracePeriodMs: number().int().nonnegative()\n});\nconst openMeldDaemonControlPlaneResponseBaseSchema = strictObject({\n\tv: literal(1),\n\trequestId: string().min(1).optional()\n});\nconst openMeldDaemonStatusResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.status\"),\n\tpayload: openMeldDaemonStatusPayloadSchema\n});\nconst openMeldDaemonHealthResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.health\"),\n\tpayload: openMeldDaemonHealthPayloadSchema\n});\nconst openMeldDaemonHistoryResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.history\"),\n\tpayload: openMeldDaemonHistoryPayloadSchema\n});\nconst openMeldDaemonInterruptResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.interrupt\"),\n\tpayload: openMeldDaemonInterruptPayloadSchema\n});\nconst openMeldDaemonCancelResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.cancel\"),\n\tpayload: openMeldDaemonCancelPayloadSchema\n});\nconst openMeldDaemonConversationExecutionStatusResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.conversation_execution_status\"),\n\tpayload: openMeldDaemonConversationExecutionStatusPayloadSchema\n});\nconst openMeldDaemonSyncRouteCatalogResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.sync_route_catalog\"),\n\tpayload: openMeldDaemonSyncRouteCatalogPayloadSchema\n});\nconst openMeldDaemonRequestAgentActivitySyncResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.agent_activity_sync_requested\"),\n\tpayload: openMeldDaemonRequestAgentActivitySyncPayloadSchema\n});\nconst openMeldDaemonSetLocalAgentEnabledResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.set_local_agent_enabled\"),\n\tpayload: openMeldDaemonSetLocalAgentEnabledPayloadSchema\n});\nconst openMeldDaemonSetProfileWorkspaceResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.set_profile_workspace\"),\n\tpayload: openMeldDaemonSetProfileWorkspacePayloadSchema\n});\nconst openMeldDaemonShutdownResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.shutdown\"),\n\tpayload: openMeldDaemonShutdownPayloadSchema\n});\nconst openMeldDaemonServiceUpdateReadinessResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.update_readiness\"),\n\tpayload: openMeldDaemonServiceUpdateReadinessPayloadSchema\n});\nconst openMeldDaemonControlPlaneErrorResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: literal(\"service.error\"),\n\tpayload: openMeldDaemonControlPlaneErrorPayloadSchema\n});\nconst openMeldDaemonControlPlaneResponseSchema = discriminatedUnion(\"code\", [\n\topenMeldDaemonStatusResponseSchema,\n\topenMeldDaemonHealthResponseSchema,\n\topenMeldDaemonHistoryResponseSchema,\n\topenMeldDaemonInterruptResponseSchema,\n\topenMeldDaemonCancelResponseSchema,\n\topenMeldDaemonConversationExecutionStatusResponseSchema,\n\topenMeldDaemonSyncRouteCatalogResponseSchema,\n\topenMeldDaemonRequestAgentActivitySyncResponseSchema,\n\topenMeldDaemonSetLocalAgentEnabledResponseSchema,\n\topenMeldDaemonSetProfileWorkspaceResponseSchema,\n\topenMeldDaemonServiceUpdateReadinessResponseSchema,\n\topenMeldDaemonShutdownResponseSchema,\n\topenMeldDaemonControlPlaneErrorResponseSchema\n]);\n//#endregion\nexport { DAEMON_PROFILE_SKIP_REASON_VALUES, OPENMELD_DAEMON_CONTROL_PLANE_SCHEMA_VERSION, daemonProfileSkipReasonSchema, localAgentInstallationOptionSchema, openMeldDaemonCancelPayloadSchema, openMeldDaemonCancelRequestPayloadSchema, openMeldDaemonCancelResponseSchema, openMeldDaemonControlPlaneCommandSchema, openMeldDaemonControlPlaneErrorPayloadSchema, openMeldDaemonControlPlaneErrorResponseSchema, openMeldDaemonControlPlaneRequestSchema, openMeldDaemonControlPlaneResponseSchema, openMeldDaemonControlTargetSelectorSchema, openMeldDaemonConversationExecutionControllerLaunchStatusSchema, openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema, openMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema, openMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema, openMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema, openMeldDaemonConversationExecutionRuntimeWorkspaceSchema, openMeldDaemonConversationExecutionStatusPayloadSchema, openMeldDaemonConversationExecutionStatusRequestPayloadSchema, openMeldDaemonConversationExecutionStatusResponseSchema, openMeldDaemonHealthPayloadSchema, openMeldDaemonHealthResponseSchema, openMeldDaemonHealthStateSchema, openMeldDaemonHistoryEntrySchema, openMeldDaemonHistoryPayloadSchema, openMeldDaemonHistoryResponseSchema, openMeldDaemonInterruptPayloadSchema, openMeldDaemonInterruptRequestPayloadSchema, openMeldDaemonInterruptResponseSchema, openMeldDaemonManageLocalAgentInstallationPayloadSchema, openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema, openMeldDaemonProviderConversationProofMethodSchema, openMeldDaemonProviderConversationProofProviderSchema, openMeldDaemonProviderConversationProofSchema, openMeldDaemonProviderConversationProofStatusSchema, openMeldDaemonRequestAgentActivitySyncPayloadSchema, openMeldDaemonRequestAgentActivitySyncRequestPayloadSchema, openMeldDaemonRequestAgentActivitySyncResponseSchema, openMeldDaemonRuntimeHealthStateSchema, openMeldDaemonServiceUpdateReadinessPayloadSchema, openMeldDaemonServiceUpdateReadinessResponseSchema, openMeldDaemonSetLocalAgentEnabledPayloadSchema, openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema, openMeldDaemonSetLocalAgentEnabledResponseSchema, openMeldDaemonSetProfileWorkspacePayloadSchema, openMeldDaemonSetProfileWorkspaceRequestPayloadSchema, openMeldDaemonSetProfileWorkspaceResponseSchema, openMeldDaemonShutdownPayloadSchema, openMeldDaemonShutdownRequestPayloadSchema, openMeldDaemonShutdownResponseSchema, openMeldDaemonStatusPayloadSchema, openMeldDaemonStatusResponseSchema, openMeldDaemonSyncRouteCatalogPayloadSchema, openMeldDaemonSyncRouteCatalogRequestPayloadSchema, openMeldDaemonSyncRouteCatalogResponseSchema, openMeldDaemonSyncRouteCatalogStatusSchema, skippedDaemonProfileSchema };\n\n//# sourceMappingURL=control-plane.js.map","import { agentControllerRefSchema } from \"../daemon/agent-controller-ref.js\";\nimport { MAX_TEXT_LENGTH } from \"../protocol/constants.js\";\nimport { agentProfileIdSchema } from \"../protocol/profile.js\";\nimport { spaceThreadContextSchema } from \"../space-mesh/space-thread.js\";\nimport { array, discriminatedUnion, enum as enumFactory, literal, null as nullFactory, number, strictObject, string, union } from \"../../lazy-zod.js\";\n//#region src/schemas/runtime/agent-task-coordination.ts\nconst AGENT_TASK_COORDINATION_SCHEMA_VERSION = 1;\nconst nonEmptyIdSchema = string().trim().min(1).max(512);\nconst boundedAgentControllerRefSchema = agentControllerRefSchema.pipe(string().max(512));\nconst nullableNonEmptyIdSchema = union([nonEmptyIdSchema, nullFactory()]);\nconst nullableReasonCodeSchema = union([string().trim().min(1).max(160), nullFactory()]);\nconst agentTaskHandleBaseShape = { v: literal(1) };\nconst spaceWakeAgentTaskHandleSchema = strictObject({\n\t...agentTaskHandleBaseShape,\n\tkind: literal(\"space_wake\"),\n\tsourceClientMessageId: nonEmptyIdSchema,\n\tspaceId: nonEmptyIdSchema,\n\ttargetProfileId: agentProfileIdSchema\n});\nconst controllerAgentTaskHandleSchema = strictObject({\n\t...agentTaskHandleBaseShape,\n\tagentControllerRef: boundedAgentControllerRefSchema,\n\thostId: nonEmptyIdSchema,\n\tkind: literal(\"controller_task\"),\n\ttaskId: nonEmptyIdSchema\n});\nconst agentTaskHandleSchema = discriminatedUnion(\"kind\", [\n\tspaceWakeAgentTaskHandleSchema,\n\tstrictObject({\n\t\t...agentTaskHandleBaseShape,\n\t\tdeliveryId: nonEmptyIdSchema,\n\t\tkind: literal(\"native_delivery\")\n\t}),\n\tcontrollerAgentTaskHandleSchema\n]);\nconst agentTaskTerminalStatusSchema = enumFactory([\n\t\"succeeded\",\n\t\"completed\",\n\t\"failed\",\n\t\"stopped\",\n\t\"stayed_silent\",\n\t\"publication_failed\"\n]);\nconst agentTaskTerminalOutcomeSchema = strictObject({\n\terrorCode: nullableReasonCodeSchema,\n\teventId: nonEmptyIdSchema,\n\toccurredAtMs: number().int().nonnegative(),\n\tpublishedSignalId: nullableNonEmptyIdSchema,\n\tstatus: agentTaskTerminalStatusSchema\n});\nfunction areAgentTaskTerminalOutcomesEqual(left, right) {\n\treturn left.errorCode === right.errorCode && left.eventId === right.eventId && left.occurredAtMs === right.occurredAtMs && left.publishedSignalId === right.publishedSignalId && left.status === right.status;\n}\nconst agentTaskNeedsAttentionObservationSchema = strictObject({\n\tattentionCode: nullableReasonCodeSchema,\n\teventId: nonEmptyIdSchema,\n\toccurredAtMs: number().int().nonnegative(),\n\tstatus: literal(\"needs_attention\")\n});\nconst agentTaskCompletionObservationSchema = union([agentTaskTerminalOutcomeSchema, agentTaskNeedsAttentionObservationSchema]);\nconst agentTaskCompletionConditionSchema = enumFactory([\n\t\"terminal\",\n\t\"succeeded\",\n\t\"failed\",\n\t\"needs_attention\"\n]);\nconst agentDelegationBarrierSchema = enumFactory([\n\t\"all_terminal\",\n\t\"first_success\",\n\t\"on_failure\",\n\t\"on_each_terminal\"\n]);\nconst legacyAgentTaskContinuationDestinationShape = {\n\tsourceSignalId: nonEmptyIdSchema,\n\tspaceId: nonEmptyIdSchema,\n\tthreadContext: union([spaceThreadContextSchema, nullFactory()])\n};\nconst resumeAgentContinuationShape = {\n\tdelegationId: nonEmptyIdSchema,\n\tinstruction: string().trim().min(1).max(4e3),\n\tkind: literal(\"resume_agent\")\n};\nconst resumeTaskWatchContinuationShape = {\n\tinstruction: string().trim().min(1).max(4e3),\n\tkind: literal(\"resume_task_watch\"),\n\twatchId: nonEmptyIdSchema\n};\nconst agentTaskContinuationSchema = union([\n\tstrictObject(resumeAgentContinuationShape),\n\tstrictObject({\n\t\t...resumeAgentContinuationShape,\n\t\t...legacyAgentTaskContinuationDestinationShape\n\t}),\n\tstrictObject({\n\t\tagentProfileId: agentProfileIdSchema,\n\t\tdelegationId: nonEmptyIdSchema,\n\t\tkind: literal(\"activate_fallback\"),\n\t\tspaceId: nonEmptyIdSchema,\n\t\ttext: string().trim().min(1).max(MAX_TEXT_LENGTH)\n\t}),\n\tstrictObject(resumeTaskWatchContinuationShape),\n\tstrictObject({\n\t\t...resumeTaskWatchContinuationShape,\n\t\t...legacyAgentTaskContinuationDestinationShape\n\t})\n]);\nconst agentDelegationCompletionPolicySchema = discriminatedUnion(\"mode\", [strictObject({ mode: literal(\"child_reports_directly\") }), strictObject({\n\tmode: literal(\"resume_parent\"),\n\twhen: agentDelegationBarrierSchema\n})]);\nconst agentDelegationChildSnapshotSchema = strictObject({\n\tagentProfileId: agentProfileIdSchema,\n\trole: enumFactory([\"primary\", \"fallback\"]),\n\tstate: enumFactory([\n\t\t\"planned\",\n\t\t\"active\",\n\t\t\"terminal\",\n\t\t\"skipped\",\n\t\t\"cancelled\"\n\t]),\n\ttask: agentTaskHandleSchema,\n\tterminalOutcome: union([agentTaskTerminalOutcomeSchema, nullFactory()])\n});\nconst agentDelegationSnapshotSchema = strictObject({\n\tbarrier: union([agentDelegationBarrierSchema, nullFactory()]),\n\tchildren: array(agentDelegationChildSnapshotSchema).min(1).max(26),\n\tdelegationId: nonEmptyIdSchema,\n\tgeneration: number().int().positive()\n});\nfunction buildAgentTaskKey(handleInput) {\n\tconst handle = agentTaskHandleSchema.parse(handleInput);\n\tswitch (handle.kind) {\n\t\tcase \"space_wake\": return [\n\t\t\thandle.kind,\n\t\t\thandle.spaceId,\n\t\t\thandle.sourceClientMessageId,\n\t\t\thandle.targetProfileId\n\t\t].map(encodeURIComponent).join(\":\");\n\t\tcase \"native_delivery\": return [handle.kind, handle.deliveryId].map(encodeURIComponent).join(\":\");\n\t\tcase \"controller_task\": return [\n\t\t\thandle.kind,\n\t\t\thandle.agentControllerRef,\n\t\t\thandle.hostId,\n\t\t\thandle.taskId\n\t\t].map(encodeURIComponent).join(\":\");\n\t\tdefault: return assertNever(handle);\n\t}\n}\nfunction assertNever(value) {\n\tthrow new Error(`Unsupported Agent Task Handle: ${String(value)}`);\n}\n//#endregion\nexport { AGENT_TASK_COORDINATION_SCHEMA_VERSION, agentDelegationBarrierSchema, agentDelegationChildSnapshotSchema, agentDelegationCompletionPolicySchema, agentDelegationSnapshotSchema, agentTaskCompletionConditionSchema, agentTaskCompletionObservationSchema, agentTaskContinuationSchema, agentTaskHandleSchema, agentTaskNeedsAttentionObservationSchema, agentTaskTerminalOutcomeSchema, agentTaskTerminalStatusSchema, areAgentTaskTerminalOutcomesEqual, buildAgentTaskKey, controllerAgentTaskHandleSchema, spaceWakeAgentTaskHandleSchema };\n\n//# sourceMappingURL=agent-task-coordination.js.map","import * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/mention-dispatch-result.ts\nconst OPENMELD_DAEMON_MENTION_DISPATCH_RESULT_SCHEMA_VERSION = 2;\nconst openMeldDaemonMentionDispatchStatusSchema = z$1.enum([\n\t\"dispatch_ready\",\n\t\"blocked\",\n\t\"failed\"\n]);\nconst openMeldDaemonMentionDispatchRuleSourceSchema = z$1.enum([\n\t\"system\",\n\t\"space\",\n\t\"profile\",\n\t\"registry\"\n]);\nconst openMeldDaemonMentionDispatchResultCommonPayloadSchema = z$1.strictObject({\n\tsourceEventId: z$1.string().min(1),\n\tdispatchId: z$1.string().min(1),\n\ttargetProfileId: z$1.string().min(1),\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: z$1.string().min(1),\n\truleReason: z$1.string().min(1)\n});\nconst openMeldDaemonMentionDispatchReadyPayloadSchema = openMeldDaemonMentionDispatchResultCommonPayloadSchema.extend({ status: z$1.literal(\"dispatch_ready\") });\nconst openMeldDaemonMentionDispatchBlockedPayloadSchema = openMeldDaemonMentionDispatchResultCommonPayloadSchema.extend({\n\tstatus: z$1.literal(\"blocked\"),\n\terrorCode: z$1.string().min(1)\n});\nconst openMeldDaemonMentionDispatchFailedPayloadSchema = openMeldDaemonMentionDispatchResultCommonPayloadSchema.extend({\n\tstatus: z$1.literal(\"failed\"),\n\terrorCode: z$1.string().min(1)\n});\nconst openMeldDaemonMentionDispatchResultPayloadSchema = z$1.discriminatedUnion(\"status\", [\n\topenMeldDaemonMentionDispatchReadyPayloadSchema,\n\topenMeldDaemonMentionDispatchBlockedPayloadSchema,\n\topenMeldDaemonMentionDispatchFailedPayloadSchema\n]);\nconst openMeldDaemonMentionDispatchResultEnvelopeSchema = z$1.strictObject({\n\tv: z$1.literal(2),\n\tcode: z$1.literal(\"service.mention_dispatch_result\"),\n\tpayload: openMeldDaemonMentionDispatchResultPayloadSchema\n});\n//#endregion\nexport { OPENMELD_DAEMON_MENTION_DISPATCH_RESULT_SCHEMA_VERSION, openMeldDaemonMentionDispatchResultEnvelopeSchema, openMeldDaemonMentionDispatchResultPayloadSchema, openMeldDaemonMentionDispatchRuleSourceSchema, openMeldDaemonMentionDispatchStatusSchema };\n\n//# sourceMappingURL=mention-dispatch-result.js.map","import { spaceThreadContextSchema } from \"../space-mesh/space-thread.js\";\nimport { ZodIssueCode, array, boolean, discriminatedUnion, enum as enumFactory, literal, number, strictObject, string, union } from \"../../lazy-zod.js\";\nimport { spaceMessageFileReferencesSchema } from \"../http/space-files.js\";\nimport { spaceMentionLabelSchema } from \"../http/space-mention-label.js\";\nimport { centerAgentInteractionSourceSchema } from \"../protocol/center-agent-interaction-source.js\";\nimport { messageEnvelopeSchema } from \"../protocol/message-envelope.js\";\nimport { spaceMessageAttachmentsSchema } from \"../protocol/space-attachment.js\";\nimport { wakeDeviceWaitSchema } from \"../protocol/wake-device-wait.js\";\nimport { signalTextReplyToSchema } from \"../protocol/signal.js\";\nimport { spacePasswordSchema } from \"../http/space-password.js\";\nimport { spaceContractSchema } from \"../space-mesh/space-contract.js\";\nimport { runtimeAgentControllerConversationIdMappingSpecSchema, runtimeDispatchPolicySchema, runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { agentTaskCompletionObservationSchema, agentTaskHandleSchema } from \"../runtime/agent-task-coordination.js\";\nimport { openMeldDaemonMentionDispatchRuleSourceSchema } from \"./mention-dispatch-result.js\";\n//#region src/schemas/daemon/dispatch-queue.ts\nconst OPENMELD_DAEMON_DISPATCH_QUEUE_SCHEMA_VERSION = 2;\nconst REMOTE_AGENT_NATIVE_DELIVERY_DEADLINE_PROBE_QUEUE_SCHEMA_VERSION = 3;\nconst AGENT_TASK_CONTINUATION_QUEUE_SCHEMA_VERSION = 4;\nconst AGENT_TASK_OBSERVATION_REDRIVE_QUEUE_SCHEMA_VERSION = 5;\nconst OPENMELD_DAEMON_DISPATCH_CONTRACT_VERSION = 2;\nconst openMeldDaemonDispatchDeliveryRecoveryReasonSchema = enumFactory([\"connection_replaced\", \"route_lost\"]);\nconst openMeldDaemonDispatchQueueRecoveryReasonSchema = union([\n\topenMeldDaemonDispatchDeliveryRecoveryReasonSchema,\n\tliteral(\"agent_profile_work_coordinator_promoted\"),\n\tliteral(\"hosted_admission_incomplete\")\n]);\nconst openMeldDaemonDispatchRulesSnapshotSchema = strictObject({\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: string().min(1),\n\truleReason: string().min(1)\n});\nconst openMeldDaemonDispatchControllerSnapshotSchema = strictObject({\n\tbindingId: string().trim().min(1).nullable().optional(),\n\tconfigurationRevision: number().int().positive().optional(),\n\ttargetBindingState: enumFactory([\"bound\", \"missing\"]).describe(\"Compatibility seed evidence captured at Space handoff time. RuntimeCoordinator head lifecycle and Core Binding lookup remain the Wake outcome authorities.\"),\n\ttargetBindingEnabled: boolean().describe(\"Compatibility seed evidence captured at Space handoff time. RuntimeCoordinator head lifecycle and Core Binding lookup remain the Wake outcome authorities.\"),\n\tagentControllerRef: string().min(1).nullable()\n});\nconst openMeldDaemonAcceptedDispatchSnapshotSchema = strictObject({\n\tdeviceWait: wakeDeviceWaitSchema.optional(),\n\tcontrollerSnapshot: strictObject({\n\t\tbindingId: string().trim().min(1),\n\t\tconfigurationRevision: number().int().positive(),\n\t\ttargetBindingState: literal(\"bound\"),\n\t\ttargetBindingEnabled: literal(true),\n\t\tagentControllerRef: string().trim().min(1)\n\t}),\n\topenMeldServiceRuntimeId: string().trim().min(1),\n\tpayloadFingerprint: string().regex(/^sha256:[a-f0-9]{64}$/),\n\truntimeKind: literal(\"openmeld_service\")\n});\nconst openMeldDaemonDispatchSnapshotSchema = strictObject({\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: string().min(1),\n\truleReason: string().min(1),\n\ttargetBindingState: enumFactory([\"bound\", \"missing\"]).describe(\"Compatibility seed evidence captured at Space handoff time. Do not use this snapshot as Binding authority or per-Wake outcome truth.\"),\n\ttargetBindingEnabled: boolean().describe(\"Compatibility seed evidence captured at Space handoff time. Do not use this snapshot as Binding authority or per-Wake outcome truth.\")\n});\nconst openMeldDaemonDispatchSourceSignalSnapshotSchema = strictObject({\n\ttext: string().min(1),\n\tprofileId: string().min(1).nullable(),\n\tprofileKind: enumFactory([\n\t\t\"agent\",\n\t\t\"human\",\n\t\t\"system\"\n\t]).nullable(),\n\tprofileMentionLabel: spaceMentionLabelSchema.optional(),\n\tattachments: spaceMessageAttachmentsSchema.optional(),\n\tfiles: spaceMessageFileReferencesSchema.optional(),\n\tcenterAgentInteractionSource: centerAgentInteractionSourceSchema.optional()\n});\nconst openMeldDaemonDispatchReplyToSnapshotSchema = signalTextReplyToSchema;\nconst openMeldDaemonDispatchContinuitySnapshotSchema = strictObject({\n\tmessagesSinceThen: number().int().finite().min(0),\n\thigherAuthorityUpdates: boolean()\n});\nconst openMeldDaemonDispatchOwnerSchema = strictObject({\n\tkind: literal(\"owner_account\"),\n\tid: string().min(1)\n});\nconst openMeldDaemonDispatchQueueLegacyMessageSchemaV1 = strictObject({\n\tv: literal(1),\n\tdispatchId: string().min(1),\n\tspaceId: string().min(1),\n\tsourceEventId: string().min(1),\n\ttargetProfileId: string().min(1),\n\tidempotencyKey: string().min(1),\n\tenqueuedAtMs: number().int().nonnegative()\n});\nconst openMeldDaemonDispatchQueueMessageSchema = strictObject({\n\tv: literal(2),\n\tdispatchId: string().min(1),\n\tdeviceWait: wakeDeviceWaitSchema.optional(),\n\tspaceId: string().min(1),\n\torganizationId: string().trim().min(1).describe(\"Canonical Space Organization snapshot captured by the Space Durable Object when it creates the dispatch outbox seed. Optional only while old producers remain in the phase-1 rollout window.\").optional(),\n\tsourceEventId: string().min(1),\n\tsourceClientMessageId: string().min(1).max(200).nullable().optional(),\n\tdispatchOwner: openMeldDaemonDispatchOwnerSchema.optional(),\n\ttargetProfileId: string().min(1),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\tdispatchChainId: string().min(1),\n\tautoRelayDepth: number().int().nonnegative(),\n\tvisitedProfileIds: array(string().min(1)).max(256).default([]),\n\tvisitedProfileIdsHash: string().min(1),\n\tdispatchContractVersion: number().int().positive(),\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: string().min(1),\n\truleReason: string().min(1),\n\ttaskId: string().min(1),\n\ttransportMode: runtimeTransportModeSchema.nullable(),\n\tspacePassword: spacePasswordSchema.optional(),\n\tcontrollerSnapshot: openMeldDaemonDispatchControllerSnapshotSchema,\n\tcontextIdMappingSpec: runtimeAgentControllerConversationIdMappingSpecSchema.nullable(),\n\tdispatchRulesSnapshot: openMeldDaemonDispatchRulesSnapshotSchema,\n\tdispatchSnapshot: openMeldDaemonDispatchSnapshotSchema,\n\tspaceContractSnapshot: spaceContractSchema.optional(),\n\tcontinuitySnapshot: openMeldDaemonDispatchContinuitySnapshotSchema.optional(),\n\tsourceSignalSnapshot: openMeldDaemonDispatchSourceSignalSnapshotSchema.optional(),\n\tsourceMessageEnvelope: messageEnvelopeSchema.optional(),\n\treplyToSnapshot: openMeldDaemonDispatchReplyToSnapshotSchema.optional(),\n\tthreadContext: spaceThreadContextSchema.optional(),\n\tspaceNameSnapshot: string().min(1).nullable().optional(),\n\tsourceProfileNameSnapshot: string().min(1).nullable().optional(),\n\ttargetProfileNameSnapshot: string().min(1).nullable().optional(),\n\tdeliveryRecoveryReason: openMeldDaemonDispatchQueueRecoveryReasonSchema.optional(),\n\tidempotencyKey: string().min(1),\n\tenqueuedAtMs: number().int().nonnegative()\n}).superRefine((value, context) => {\n\tif (value.dispatchSnapshot.dispatchPolicy !== value.dispatchPolicy) context.addIssue({\n\t\tcode: ZodIssueCode.custom,\n\t\tpath: [\"dispatchSnapshot\", \"dispatchPolicy\"],\n\t\tmessage: \"dispatchSnapshot.dispatchPolicy must match dispatchPolicy\"\n\t});\n\tif (value.dispatchSnapshot.ruleSource !== value.ruleSource) context.addIssue({\n\t\tcode: ZodIssueCode.custom,\n\t\tpath: [\"dispatchSnapshot\", \"ruleSource\"],\n\t\tmessage: \"dispatchSnapshot.ruleSource must match ruleSource\"\n\t});\n\tif (value.dispatchSnapshot.ruleId !== value.ruleId) context.addIssue({\n\t\tcode: ZodIssueCode.custom,\n\t\tpath: [\"dispatchSnapshot\", \"ruleId\"],\n\t\tmessage: \"dispatchSnapshot.ruleId must match ruleId\"\n\t});\n\tif (value.dispatchSnapshot.ruleReason !== value.ruleReason) context.addIssue({\n\t\tcode: ZodIssueCode.custom,\n\t\tpath: [\"dispatchSnapshot\", \"ruleReason\"],\n\t\tmessage: \"dispatchSnapshot.ruleReason must match ruleReason\"\n\t});\n\tif (value.dispatchRulesSnapshot.dispatchPolicy !== value.dispatchPolicy || value.dispatchRulesSnapshot.ruleSource !== value.ruleSource || value.dispatchRulesSnapshot.ruleId !== value.ruleId || value.dispatchRulesSnapshot.ruleReason !== value.ruleReason) context.addIssue({\n\t\tcode: ZodIssueCode.custom,\n\t\tpath: [\"dispatchRulesSnapshot\"],\n\t\tmessage: \"dispatchRulesSnapshot must match top-level dispatch rule fields\"\n\t});\n\tif (value.controllerSnapshot.targetBindingState !== value.dispatchSnapshot.targetBindingState || value.controllerSnapshot.targetBindingEnabled !== value.dispatchSnapshot.targetBindingEnabled) context.addIssue({\n\t\tcode: ZodIssueCode.custom,\n\t\tpath: [\"controllerSnapshot\"],\n\t\tmessage: \"controllerSnapshot target binding fields must match dispatchSnapshot\"\n\t});\n});\nconst remoteAgentNativeDeliveryDeadlineProbeQueueMessageSchema = strictObject({\n\tv: literal(3),\n\tkind: literal(\"remote_agent_native_delivery_deadline_probe\"),\n\tsubmissionId: string().min(1),\n\tidempotencyKey: string().min(1),\n\torganizationId: string().min(1),\n\tspaceId: string().min(1),\n\tdispatchId: string().min(1),\n\tenqueuedAtMs: number().int().nonnegative(),\n\tdeadlineAtMs: number().int().nonnegative()\n});\nconst agentTaskContinuationQueueMessageSchema = strictObject({\n\tenqueuedAtMs: number().int().nonnegative(),\n\tidempotencyKey: string().trim().min(1).max(512),\n\tkind: literal(\"agent_task_continuation\"),\n\tsubscriptionId: string().trim().min(1).max(512),\n\tv: literal(4)\n});\nconst agentTaskObservationRedriveQueueMessageSchema = strictObject({\n\tdeliveryId: string().trim().min(1).max(1024),\n\tenqueuedAtMs: number().int().nonnegative(),\n\tidempotencyKey: string().trim().min(1).max(1536),\n\tkind: literal(\"agent_task_observation_redrive\"),\n\tobservation: agentTaskCompletionObservationSchema,\n\townerUserId: string().trim().min(1).max(512),\n\truntimeCoordinatorExecutionId: string().trim().min(1).max(512),\n\ttask: agentTaskHandleSchema,\n\tv: literal(5)\n});\nconst openMeldDaemonDispatchQueueIngressSchema = discriminatedUnion(\"v\", [\n\topenMeldDaemonDispatchQueueLegacyMessageSchemaV1,\n\topenMeldDaemonDispatchQueueMessageSchema,\n\tremoteAgentNativeDeliveryDeadlineProbeQueueMessageSchema,\n\tagentTaskContinuationQueueMessageSchema,\n\tagentTaskObservationRedriveQueueMessageSchema\n]);\nconst resolveReceivedQueueSchemaVersion = (value) => {\n\tif (!(value && typeof value === \"object\") || Array.isArray(value)) return null;\n\tconst version = value.v;\n\treturn typeof version === \"number\" && Number.isInteger(version) ? version : null;\n};\nconst buildLegacyQueueIssues = () => [{\n\tcode: ZodIssueCode.custom,\n\tmessage: \"legacy dispatch queue schema version unsupported\",\n\tpath: [\"v\"]\n}];\nconst parseCurrentDispatchQueueMessage = (value) => {\n\tconst parsed = openMeldDaemonDispatchQueueMessageSchema.safeParse(value);\n\tif (parsed.success) return {\n\t\tkind: \"current_v2\",\n\t\tmessage: parsed.data,\n\t\treceivedQueueSchemaVersion: parsed.data.v\n\t};\n\treturn {\n\t\tkind: \"invalid\",\n\t\tissues: parsed.error.issues,\n\t\treceivedQueueSchemaVersion: 2\n\t};\n};\nconst parseRemoteAgentDeadlineProbeQueueMessage = (value) => {\n\tconst parsed = remoteAgentNativeDeliveryDeadlineProbeQueueMessageSchema.safeParse(value);\n\tif (parsed.success) return {\n\t\tkind: \"remote_agent_deadline_probe\",\n\t\tmessage: parsed.data,\n\t\treceivedQueueSchemaVersion: parsed.data.v\n\t};\n\treturn {\n\t\tkind: \"invalid\",\n\t\tissues: parsed.error.issues,\n\t\treceivedQueueSchemaVersion: 3\n\t};\n};\nconst parseAgentTaskContinuationQueueMessage = (value) => {\n\tconst parsed = agentTaskContinuationQueueMessageSchema.safeParse(value);\n\tif (parsed.success) return {\n\t\tkind: \"agent_task_continuation\",\n\t\tmessage: parsed.data,\n\t\treceivedQueueSchemaVersion: parsed.data.v\n\t};\n\treturn {\n\t\tkind: \"invalid\",\n\t\tissues: parsed.error.issues,\n\t\treceivedQueueSchemaVersion: 4\n\t};\n};\nconst parseAgentTaskObservationRedriveQueueMessage = (value) => {\n\tconst parsed = agentTaskObservationRedriveQueueMessageSchema.safeParse(value);\n\tif (parsed.success) return {\n\t\tkind: \"agent_task_observation_redrive\",\n\t\tmessage: parsed.data,\n\t\treceivedQueueSchemaVersion: parsed.data.v\n\t};\n\treturn {\n\t\tkind: \"invalid\",\n\t\tissues: parsed.error.issues,\n\t\treceivedQueueSchemaVersion: 5\n\t};\n};\nconst parseLegacyDispatchQueueMessage = (value) => {\n\tconst parsed = openMeldDaemonDispatchQueueLegacyMessageSchemaV1.safeParse(value);\n\tif (parsed.success) return {\n\t\tkind: \"legacy_v1\",\n\t\tmessage: parsed.data,\n\t\tissues: buildLegacyQueueIssues(),\n\t\treceivedQueueSchemaVersion: parsed.data.v\n\t};\n\treturn {\n\t\tkind: \"invalid\",\n\t\tissues: parsed.error.issues,\n\t\treceivedQueueSchemaVersion: 1\n\t};\n};\nconst parseOpenMeldDaemonDispatchQueueIngress = (value) => {\n\tconst receivedQueueSchemaVersion = resolveReceivedQueueSchemaVersion(value);\n\tif (receivedQueueSchemaVersion === 2) return parseCurrentDispatchQueueMessage(value);\n\tif (receivedQueueSchemaVersion === 3) return parseRemoteAgentDeadlineProbeQueueMessage(value);\n\tif (receivedQueueSchemaVersion === 4) return parseAgentTaskContinuationQueueMessage(value);\n\tif (receivedQueueSchemaVersion === 5) return parseAgentTaskObservationRedriveQueueMessage(value);\n\tif (receivedQueueSchemaVersion === 1) return parseLegacyDispatchQueueMessage(value);\n\tconst parsed = openMeldDaemonDispatchQueueIngressSchema.safeParse(value);\n\tif (parsed.success) {\n\t\tif (parsed.data.v === 2) return {\n\t\t\tkind: \"current_v2\",\n\t\t\tmessage: parsed.data,\n\t\t\treceivedQueueSchemaVersion: parsed.data.v\n\t\t};\n\t\tif (parsed.data.v === 3) return {\n\t\t\tkind: \"remote_agent_deadline_probe\",\n\t\t\tmessage: parsed.data,\n\t\t\treceivedQueueSchemaVersion: parsed.data.v\n\t\t};\n\t\tif (parsed.data.v === 4) return {\n\t\t\tkind: \"agent_task_continuation\",\n\t\t\tmessage: parsed.data,\n\t\t\treceivedQueueSchemaVersion: parsed.data.v\n\t\t};\n\t\tif (parsed.data.v === 5) return {\n\t\t\tkind: \"agent_task_observation_redrive\",\n\t\t\tmessage: parsed.data,\n\t\t\treceivedQueueSchemaVersion: parsed.data.v\n\t\t};\n\t\treturn {\n\t\t\tkind: \"legacy_v1\",\n\t\t\tmessage: parsed.data,\n\t\t\tissues: buildLegacyQueueIssues(),\n\t\t\treceivedQueueSchemaVersion: parsed.data.v\n\t\t};\n\t}\n\treturn {\n\t\tkind: \"invalid\",\n\t\tissues: parsed.error.issues,\n\t\treceivedQueueSchemaVersion\n\t};\n};\n//#endregion\nexport { AGENT_TASK_CONTINUATION_QUEUE_SCHEMA_VERSION, AGENT_TASK_OBSERVATION_REDRIVE_QUEUE_SCHEMA_VERSION, OPENMELD_DAEMON_DISPATCH_CONTRACT_VERSION, OPENMELD_DAEMON_DISPATCH_QUEUE_SCHEMA_VERSION, REMOTE_AGENT_NATIVE_DELIVERY_DEADLINE_PROBE_QUEUE_SCHEMA_VERSION, agentTaskContinuationQueueMessageSchema, agentTaskObservationRedriveQueueMessageSchema, openMeldDaemonAcceptedDispatchSnapshotSchema, openMeldDaemonDispatchContinuitySnapshotSchema, openMeldDaemonDispatchControllerSnapshotSchema, openMeldDaemonDispatchDeliveryRecoveryReasonSchema, openMeldDaemonDispatchOwnerSchema, openMeldDaemonDispatchQueueIngressSchema, openMeldDaemonDispatchQueueLegacyMessageSchemaV1, openMeldDaemonDispatchQueueMessageSchema, openMeldDaemonDispatchQueueRecoveryReasonSchema, openMeldDaemonDispatchReplyToSnapshotSchema, openMeldDaemonDispatchRulesSnapshotSchema, openMeldDaemonDispatchSnapshotSchema, openMeldDaemonDispatchSourceSignalSnapshotSchema, parseOpenMeldDaemonDispatchQueueIngress, remoteAgentNativeDeliveryDeadlineProbeQueueMessageSchema };\n\n//# sourceMappingURL=dispatch-queue.js.map","import { profileWorkingDirectorySchema } from \"../protocol/profile.js\";\n//#region src/schemas/daemon/local-folder-path.ts\nconst WINDOWS_ABSOLUTE_PATH_PATTERN = /^[A-Za-z]:[\\\\/]/u;\nconst localFolderPathSchema = profileWorkingDirectorySchema.refine((value) => value.startsWith(\"/\") || value.startsWith(\"\\\\\\\\\") || WINDOWS_ABSOLUTE_PATH_PATTERN.test(value), \"Enter the full folder path on this computer.\");\n//#endregion\nexport { localFolderPathSchema };\n\n//# sourceMappingURL=local-folder-path.js.map","import { daemonServiceLaneSchema } from \"./service-contract.js\";\nimport { openMeldRequestContextSchema } from \"./profile-identity.js\";\nimport { localFolderPathSchema } from \"./local-folder-path.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/local-folder-picker.ts\nconst boundedIdentifierSchema = z$1.string().trim().min(1).max(512);\nconst LOCAL_FOLDER_PICKER_FRAME_VERSION = 1;\nconst OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER = \"x-openmeld-local-folder-picker-capability\";\nconst LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY = \"local-folder-picker-v1\";\nconst localFolderPickerRuntimeCapabilitySchema = z$1.strictObject({ selectFolders: z$1.literal(true) });\nconst localFolderPickerPurposeSchema = z$1.enum([\n\t\"computer_file_access\",\n\t\"project_connection\",\n\t\"agent_profile_working_folder\"\n]);\nconst localFolderPickerRequestSchema = z$1.strictObject({\n\tallowMultiple: z$1.boolean(),\n\texpectedDeviceId: boundedIdentifierSchema,\n\tpurpose: localFolderPickerPurposeSchema\n});\nconst localFolderPickerErrorCodeSchema = z$1.enum([\n\t\"local.folder_picker.device_mismatch\",\n\t\"local.folder_picker.helper_missing\",\n\t\"local.folder_picker.internal_error\",\n\t\"local.folder_picker.invalid_request\",\n\t\"local.folder_picker.invalid_response\",\n\t\"local.folder_picker.no_interactive_session\",\n\t\"local.folder_picker.picker_busy\",\n\t\"local.folder_picker.portal_unavailable\",\n\t\"local.folder_picker.service_offline\",\n\t\"local.folder_picker.service_update_required\",\n\t\"local.folder_picker.timed_out\",\n\t\"local.folder_picker.unsupported_platform\"\n]);\nconst localFolderPickerHelperErrorCodeSchema = z$1.enum([\n\t\"local.folder_picker.internal_error\",\n\t\"local.folder_picker.invalid_response\",\n\t\"local.folder_picker.no_interactive_session\",\n\t\"local.folder_picker.portal_unavailable\",\n\t\"local.folder_picker.timed_out\",\n\t\"local.folder_picker.unsupported_platform\"\n]);\nconst localFolderPickerHelperSelectedResultSchema = z$1.strictObject({\n\tpaths: z$1.array(localFolderPathSchema).min(1).max(128),\n\tstatus: z$1.literal(\"selected\")\n});\nconst localFolderPickerHelperCancelledResultSchema = z$1.strictObject({ status: z$1.literal(\"cancelled\") });\nconst localFolderPickerHelperUnavailableResultSchema = z$1.strictObject({\n\tcode: localFolderPickerHelperErrorCodeSchema,\n\tstatus: z$1.literal(\"unavailable\")\n});\nconst localFolderPickerHelperResultSchema = z$1.discriminatedUnion(\"status\", [\n\tlocalFolderPickerHelperSelectedResultSchema,\n\tlocalFolderPickerHelperCancelledResultSchema,\n\tlocalFolderPickerHelperUnavailableResultSchema\n]);\nconst localFolderPickerHelperProtocolResultSchema = z$1.discriminatedUnion(\"status\", [\n\tlocalFolderPickerHelperSelectedResultSchema.extend({ v: z$1.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION) }),\n\tlocalFolderPickerHelperCancelledResultSchema.extend({ v: z$1.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION) }),\n\tlocalFolderPickerHelperUnavailableResultSchema.extend({ v: z$1.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION) })\n]);\nconst localFolderPickerSelectedResultSchema = z$1.strictObject({\n\tdeviceId: boundedIdentifierSchema,\n\tpaths: z$1.array(localFolderPathSchema).min(1).max(128),\n\tstatus: z$1.literal(\"selected\")\n});\nconst localFolderPickerCancelledResultSchema = z$1.strictObject({\n\tdeviceId: boundedIdentifierSchema,\n\tstatus: z$1.literal(\"cancelled\")\n});\nconst localFolderPickerUnavailableResultSchema = z$1.strictObject({\n\tcode: localFolderPickerErrorCodeSchema,\n\tmessage: z$1.string().trim().min(1).max(1024),\n\tstatus: z$1.literal(\"unavailable\")\n});\nconst localFolderPickerResultSchema = z$1.discriminatedUnion(\"status\", [\n\tlocalFolderPickerSelectedResultSchema,\n\tlocalFolderPickerCancelledResultSchema,\n\tlocalFolderPickerUnavailableResultSchema\n]);\nconst localFolderPickerRpcInputSchema = localFolderPickerRequestSchema.extend({ context: openMeldRequestContextSchema });\nconst localFolderPickerRequestFrameSchema = z$1.strictObject({\n\tcode: z$1.literal(\"daemon.local_folder_picker.select_folders\"),\n\tpayload: z$1.strictObject({\n\t\trequest: localFolderPickerRequestSchema,\n\t\trequestId: boundedIdentifierSchema\n\t}),\n\tv: z$1.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION)\n});\nconst localFolderPickerResultFrameSchema = z$1.strictObject({\n\tcode: z$1.literal(\"daemon.local_folder_picker.select_folders_result\"),\n\tpayload: z$1.strictObject({\n\t\trequestId: boundedIdentifierSchema,\n\t\tresult: localFolderPickerResultSchema\n\t}),\n\tv: z$1.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION)\n});\nconst localFolderPickerDaemonFrameSchema = z$1.discriminatedUnion(\"code\", [localFolderPickerRequestFrameSchema, localFolderPickerResultFrameSchema]);\nconst runtimeTransportLocalFolderPickerRequestSchema = z$1.strictObject({\n\tdeviceId: boundedIdentifierSchema,\n\tlane: daemonServiceLaneSchema,\n\townerUserId: boundedIdentifierSchema,\n\trequest: localFolderPickerRequestSchema,\n\trequestId: boundedIdentifierSchema,\n\tv: z$1.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION)\n});\n//#endregion\nexport { LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER, localFolderPickerCancelledResultSchema, localFolderPickerDaemonFrameSchema, localFolderPickerErrorCodeSchema, localFolderPickerHelperErrorCodeSchema, localFolderPickerHelperProtocolResultSchema, localFolderPickerHelperResultSchema, localFolderPickerPurposeSchema, localFolderPickerRequestFrameSchema, localFolderPickerRequestSchema, localFolderPickerResultFrameSchema, localFolderPickerResultSchema, localFolderPickerRpcInputSchema, localFolderPickerRuntimeCapabilitySchema, localFolderPickerSelectedResultSchema, localFolderPickerUnavailableResultSchema, runtimeTransportLocalFolderPickerRequestSchema };\n\n//# sourceMappingURL=local-folder-picker.js.map","import { runtimeStreamingModeSchema, runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/daemon/provider-runtime-capability.ts\nconst providerRuntimeStreamingCapabilitySchema = z$1.enum([\"preview_capable\", \"final_only\"]);\nconst providerRuntimeImageInputCapabilitySchema = z$1.enum([\"local_file_path\", \"unsupported\"]);\nconst providerRuntimeWorkingDirectoryModeSchema = z$1.enum([\n\t\"spawn_cwd\",\n\t\"cli_flag\",\n\t\"provider_workspace\",\n\t\"unsupported\"\n]);\nconst providerRuntimePreparationRequirementSchema = z$1.enum([\"none\", \"required\"]);\nconst providerRuntimeContinuationCapabilitySchema = z$1.enum([\"standard\", \"provider_specific\"]);\nconst providerRuntimeWorkspaceResumeBehaviorSchema = z$1.enum([\n\t\"transparent\",\n\t\"provider_specific_switch\",\n\t\"validate_only\"\n]);\nconst providerRuntimeCapabilityDeclarationSchema = z$1.strictObject({\n\tstreamingCapability: providerRuntimeStreamingCapabilitySchema,\n\timageInputCapability: providerRuntimeImageInputCapabilitySchema.optional(),\n\truntimeWorkingDirectoryMode: providerRuntimeWorkingDirectoryModeSchema,\n\tpreparationRequirement: providerRuntimePreparationRequirementSchema,\n\tcontinuationCapability: providerRuntimeContinuationCapabilitySchema,\n\tworkspaceResumeBehavior: providerRuntimeWorkspaceResumeBehaviorSchema\n});\nconst daemonRuntimeAdapterCapabilitySnapshotSchema = z$1.strictObject({\n\tadapterId: z$1.string().min(1),\n\ttransportModes: z$1.array(runtimeTransportModeSchema).min(1),\n\tdefaultStreamingMode: runtimeStreamingModeSchema.optional(),\n\tcapabilityDeclaration: providerRuntimeCapabilityDeclarationSchema\n});\n//#endregion\nexport { daemonRuntimeAdapterCapabilitySnapshotSchema, providerRuntimeCapabilityDeclarationSchema, providerRuntimeContinuationCapabilitySchema, providerRuntimeImageInputCapabilitySchema, providerRuntimePreparationRequirementSchema, providerRuntimeStreamingCapabilitySchema, providerRuntimeWorkingDirectoryModeSchema, providerRuntimeWorkspaceResumeBehaviorSchema };\n\n//# sourceMappingURL=provider-runtime-capability.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"../protocol/profile.js\";\nimport { spaceThreadActionRefSchema } from \"./space-thread.js\";\nimport { spaceMessageFileReferencesSchema } from \"../http/space-files.js\";\n \nimport { spaceStatusSchema } from \"./signal-status.js\";\nimport { messageEnvelopeSchema } from \"../protocol/message-envelope.js\";\nimport * as z$1 from \"zod/v4\";\n//#region src/schemas/space-mesh/openmeld-space-action.ts\nconst SPACE_UPDATES_DEFAULT_LIMIT = 20;\nconst SPACE_UPDATES_MAX_LIMIT = 200;\nconst signalIdRefSchema = z$1.strictObject({ signalId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)) });\nconst openMeldSpaceActionReplyToSchema = z$1.union([z$1.literal(\"current\"), signalIdRefSchema]);\nconst openMeldSpaceActionReadUpdatesFromSchema = z$1.union([z$1.literal(\"last_public_reply\"), signalIdRefSchema]);\nconst openMeldSpaceActionReadResultBySchema = z$1.union([z$1.strictObject({ resultRef: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)) }), z$1.strictObject({ dispatchId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)) })]);\nconst openMeldSpacePostMessageActionSchema = z$1.strictObject({\n\ttype: z$1.literal(\"post_message\"),\n\tobservedThroughSignalId: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)).optional(),\n\tmessageEnvelope: messageEnvelopeSchema,\n\tfiles: spaceMessageFileReferencesSchema.optional(),\n\tthread: spaceThreadActionRefSchema.optional(),\n\tsaveResult: z$1.boolean().optional()\n});\nconst openMeldSpacePostStatusActionSchema = z$1.strictObject({\n\ttype: z$1.literal(\"post_status\"),\n\tstatus: spaceStatusSchema,\n\ttargetProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\ttext: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(120)),\n\treplyTo: openMeldSpaceActionReplyToSchema.optional(),\n\tthread: spaceThreadActionRefSchema.optional(),\n\tsaveResult: z$1.boolean().optional()\n});\nconst openMeldSpaceStaySilentActionSchema = z$1.strictObject({\n\ttype: z$1.literal(\"stay_silent\"),\n\treason: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1)),\n\tsaveResult: z$1.boolean().optional()\n});\nconst openMeldSpaceReadUpdatesActionSchema = z$1.strictObject({\n\ttype: z$1.literal(\"read_updates\"),\n\tfrom: openMeldSpaceActionReadUpdatesFromSchema,\n\tthread: spaceThreadActionRefSchema.optional(),\n\tlimit: z$1.number().int().finite().positive().max(200).optional()\n});\nconst openMeldSpaceReadResultActionSchema = z$1.strictObject({\n\ttype: z$1.literal(\"read_result\"),\n\tby: openMeldSpaceActionReadResultBySchema\n});\nconst openMeldSpaceActionSchema = z$1.union([\n\topenMeldSpacePostMessageActionSchema,\n\topenMeldSpacePostStatusActionSchema,\n\topenMeldSpaceStaySilentActionSchema,\n\topenMeldSpaceReadUpdatesActionSchema,\n\topenMeldSpaceReadResultActionSchema\n]);\nconst openMeldSpaceEgressActionSchema = z$1.union([\n\topenMeldSpacePostMessageActionSchema,\n\topenMeldSpacePostStatusActionSchema,\n\topenMeldSpaceStaySilentActionSchema\n]);\n//#endregion\nexport { SPACE_UPDATES_DEFAULT_LIMIT, SPACE_UPDATES_MAX_LIMIT, openMeldSpaceActionReadResultBySchema, openMeldSpaceActionReadUpdatesFromSchema, openMeldSpaceActionReplyToSchema, openMeldSpaceActionSchema, openMeldSpaceEgressActionSchema, openMeldSpacePostMessageActionSchema, openMeldSpacePostStatusActionSchema, openMeldSpaceReadResultActionSchema, openMeldSpaceReadUpdatesActionSchema, openMeldSpaceStaySilentActionSchema };\n\n//# sourceMappingURL=openmeld-space-action.js.map","import { projectLocalConnectionFailureReasonCodeSchema } from \"../../public-agent-failure-reason.js\";\nimport { profileWorkingDirectorySchema } from \"../protocol/profile.js\";\nimport { boolean, discriminatedUnion, enum as enumFactory, int, literal, null as nullFactory, number, strictObject, string, union } from \"../../lazy-zod.js\";\nimport { agentControllerConversationRefSchema } from \"./conversation-contract.js\";\nimport { runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { dispatchExecutionSchema } from \"./conversation-lifecycle.js\";\nimport { bootstrapTemplateFactsSchema } from \"./conversation-execution-state.js\";\nimport { openMeldSpaceEgressActionSchema } from \"../space-mesh/openmeld-space-action.js\";\n//#region src/schemas/daemon/task-result.ts\nconst OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION = 4;\nconst OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_PREVIOUS = 3;\nconst OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_LEGACY = 2;\nconst OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_OLDEST = 1;\nconst openMeldDaemonTaskResultStatusSchema = enumFactory([\n\t\"success\",\n\t\"partial_success\",\n\t\"failed\"\n]);\nconst openMeldDaemonTaskResultErrorTypeSchema = enumFactory([\n\t\"config\",\n\t\"network\",\n\t\"adapter\",\n\t\"policy\",\n\t\"timeout\",\n\t\"internal\",\n\t\"auth\"\n]);\nconst openMeldDaemonProviderAccessEvidenceProviderSchema = enumFactory([\n\t\"claude-code\",\n\t\"codex\",\n\t\"opencode\",\n\t\"openclaw\"\n]);\nconst openMeldDaemonProviderAccessEvidenceReasonCodeSchema = enumFactory([\n\t\"usage_exhausted\",\n\t\"provider_account.capacity_exhausted\",\n\t\"provider_account.organization_access_disabled\",\n\t\"provider_account.subscription_access_unavailable\"\n]);\nconst OPENMELD_ORIGINAL_ERROR_MAX_LENGTH = 2e3;\nconst ORIGINAL_ERROR_DIAGNOSTIC_FIELD_PATTERN = /(?:^|\\n)\\s*(?:args|command|cwd|raw(?:[_ ]payload)?|stack|stderr|stdout)\\s*:/i;\nconst ORIGINAL_ERROR_LOCAL_PATH_PATTERN = /(?:^|[\\s('\"`])(?:\\/(?:Users|home|private|tmp|var)\\/|[a-z]:\\\\)/i;\nconst ORIGINAL_ERROR_RAW_PAYLOAD_PATTERN = /^\\s*[[{]/;\nconst ORIGINAL_ERROR_SECRET_PATTERN = /(?:\\bsk-[a-z0-9_-]{16,}|\\b(?:api[_ -]?key|authorization|access[_ -]?token)\\s*[:=]\\s*\\S+)/i;\nconst ORIGINAL_ERROR_STACK_TRACE_PATTERN = /(?:^|\\n)\\s*(?:at\\s+\\S+|Error:.*\\n\\s*at\\s+)/;\nfunction isOriginalErrorSafeForMessageDetails(value) {\n\treturn !(ORIGINAL_ERROR_DIAGNOSTIC_FIELD_PATTERN.test(value) || ORIGINAL_ERROR_LOCAL_PATH_PATTERN.test(value) || ORIGINAL_ERROR_RAW_PAYLOAD_PATTERN.test(value) || ORIGINAL_ERROR_SECRET_PATTERN.test(value) || ORIGINAL_ERROR_STACK_TRACE_PATTERN.test(value));\n}\nconst openMeldDaemonOriginalErrorSchema = string().trim().min(1).max(OPENMELD_ORIGINAL_ERROR_MAX_LENGTH).refine(isOriginalErrorSafeForMessageDetails, { message: \"original error must not contain diagnostics, sensitive values, or local paths\" });\nconst openMeldDaemonProviderAccessEvidenceSourceSchema = literal(\"wake_failure\");\nconst openMeldDaemonProviderAccessEvidenceSchema = strictObject({\n\tobservedAtMs: number().int().nonnegative(),\n\tprovider: openMeldDaemonProviderAccessEvidenceProviderSchema,\n\treasonCode: openMeldDaemonProviderAccessEvidenceReasonCodeSchema,\n\tsource: openMeldDaemonProviderAccessEvidenceSourceSchema\n});\nconst openMeldDaemonTaskResultSpaceActionProvenanceSchema = enumFactory([\n\t\"cli_action\",\n\t\"direct\",\n\t\"local_repair\",\n\t\"controller_repair\"\n]);\nconst openMeldDaemonTaskResultSpaceActionFailureRepairModeSchema = enumFactory([\n\t\"required_check\",\n\t\"local_synthetic\",\n\t\"controller_roundtrip\"\n]);\nconst openMeldDaemonTaskResultSpaceActionCarrierKindSchema = enumFactory([\n\t\"fenced_block\",\n\t\"invalid_json\",\n\t\"none\",\n\t\"trailing_json\"\n]);\nconst openMeldDaemonTaskResultSpaceActionFailureDiagnosticsSchema = strictObject({\n\tcarrierKind: openMeldDaemonTaskResultSpaceActionCarrierKindSchema,\n\tinvalidOutputPreview: union([string().min(1), nullFactory()]),\n\tpublicFailureReason: union([string().min(1), nullFactory()]).optional().default(null),\n\trepairMode: openMeldDaemonTaskResultSpaceActionFailureRepairModeSchema,\n\tspaceActionCandidatePresent: boolean(),\n\tspaceActionParseError: union([string().min(1), nullFactory()])\n});\nconst openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema = enumFactory([\n\t\"missing_after_restart\",\n\t\"missing_before_restart\",\n\t\"visible\",\n\t\"visible_after_restart\"\n]);\nconst openMeldDaemonTaskResultOpenClawGatewayVisibilitySchema = strictObject({\n\tagentId: string().min(1),\n\tgatewayRestartAttempted: boolean(),\n\tgatewayVisibility: openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema\n});\nconst openMeldDaemonTaskResultOpenClawBindingClassificationSchema = enumFactory([\n\t\"missing\",\n\t\"canonical_owned\",\n\t\"legacy\",\n\t\"foreign\"\n]);\nconst openMeldDaemonTaskResultOpenClawBindingSchema = strictObject({ classification: openMeldDaemonTaskResultOpenClawBindingClassificationSchema });\nconst openMeldDaemonTaskResultLocalOwnerConflictSchema = strictObject({\n\tactiveAttemptId: string().min(1).nullable(),\n\tactiveDispatchId: string().min(1).nullable(),\n\tactiveExecutionTokenRunId: string().min(1).nullable(),\n\tactiveRuntimeCoordinatorExecutionId: string().min(1).nullable(),\n\tactiveTaskId: string().min(1).nullable(),\n\treason: literal(\"task.owner_conflict\"),\n\trejectedAttemptId: string().min(1),\n\trejectedDispatchId: string().min(1),\n\trejectedExecutionTokenRunId: string().min(1).nullable(),\n\trejectedRuntimeCoordinatorExecutionId: string().min(1).nullable(),\n\trejectedTaskId: string().min(1)\n});\nconst openMeldDaemonTaskResultPromptTraceSchema = strictObject({\n\tfingerprint: string().min(1),\n\tlength: int().nonnegative(),\n\tpreview: union([string().min(1), nullFactory()])\n});\nconst openMeldDaemonTaskResultClaimLeaseSchema = strictObject({\n\tclaimLeaseId: string().min(1),\n\toutcome: enumFactory([\"existing_lease\", \"new_lease\"]),\n\tstatus: literal(\"accepted\")\n});\nconst openMeldDaemonTaskResultProjectFailureContextSchema = strictObject({\n\tbindingGeneration: string().min(1).optional(),\n\tprojectId: string().min(1)\n});\nconst openMeldDaemonTaskResultTokenUsageBreakdownSchema = strictObject({\n\tcacheWriteInputTokens: int().nonnegative().optional(),\n\tcachedInputTokens: int().nonnegative(),\n\tinputTokens: int().nonnegative(),\n\toutputTokens: int().nonnegative(),\n\treasoningOutputTokens: int().nonnegative(),\n\ttotalTokens: int().nonnegative()\n});\nconst openMeldDaemonTaskResultTokenUsageSchema = strictObject({\n\tlast: openMeldDaemonTaskResultTokenUsageBreakdownSchema,\n\tmodelContextWindow: int().nonnegative().nullable(),\n\ttotal: openMeldDaemonTaskResultTokenUsageBreakdownSchema\n});\nconst openMeldDaemonTaskResultTelemetrySchema = strictObject({\n\tcompletedAtMs: number().int().nonnegative(),\n\tcontextCompactionObserved: boolean().optional(),\n\tcontextHealed: boolean().optional(),\n\texitCode: int().nullable().optional(),\n\texitObservedAtMs: number().int().nonnegative().optional(),\n\texitSignal: string().min(1).nullable().optional(),\n\tfirstOutputAtMs: number().int().nonnegative().optional(),\n\tfirstStderrAtMs: number().int().nonnegative().optional(),\n\tfirstStdoutAtMs: number().int().nonnegative().optional(),\n\tinvokedAtMs: number().int().nonnegative(),\n\tpreviewEmitted: boolean().optional(),\n\tprocessId: number().int().positive().optional(),\n\tprocessSpawnedAtMs: number().int().nonnegative().optional(),\n\tresumedContext: boolean(),\n\tstdinClosedAtMs: number().int().nonnegative().optional(),\n\tstreamingMode: enumFactory([\"final\", \"stream\"]).optional(),\n\ttimeoutTriggeredAtMs: number().int().nonnegative().optional(),\n\ttokenUsage: openMeldDaemonTaskResultTokenUsageSchema.optional()\n});\nconst openMeldDaemonTaskResultCommonSchemaV1 = strictObject({\n\ttaskId: string().min(1),\n\tsourceEventId: string().min(1),\n\tagentId: string().min(1),\n\tdeduped: boolean(),\n\tagentControllerRef: string().min(1).optional(),\n\tagentControllerConversationId: string().min(1).optional()\n});\nconst openMeldDaemonTaskResultCommonSchema = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tattemptId: string().min(1),\n\ttelemetry: openMeldDaemonTaskResultTelemetrySchema.optional(),\n\tagentControllerConversation: agentControllerConversationRefSchema.optional(),\n\teffectiveRuntimeWorkingDirectory: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: string().min(1).optional(),\n\ttransportMode: runtimeTransportModeSchema.optional(),\n\tpromptTrace: openMeldDaemonTaskResultPromptTraceSchema.optional(),\n\tprojectFailureContext: openMeldDaemonTaskResultProjectFailureContextSchema.optional(),\n\tclaimLease: openMeldDaemonTaskResultClaimLeaseSchema.optional(),\n\tbootstrapTemplateFacts: bootstrapTemplateFactsSchema.optional(),\n\tdispatchExecution: dispatchExecutionSchema.optional(),\n\topenClawGatewayVisibility: openMeldDaemonTaskResultOpenClawGatewayVisibilitySchema.optional(),\n\topenClawBinding: openMeldDaemonTaskResultOpenClawBindingSchema.optional(),\n\tlocalOwnerConflict: openMeldDaemonTaskResultLocalOwnerConflictSchema.optional(),\n\tspaceAction: openMeldSpaceEgressActionSchema.optional(),\n\tspaceActionFailureDiagnostics: openMeldDaemonTaskResultSpaceActionFailureDiagnosticsSchema.optional(),\n\tspaceActionProvenance: openMeldDaemonTaskResultSpaceActionProvenanceSchema.optional(),\n\tsuppressPublicOutcome: boolean().optional()\n});\nconst openMeldDaemonTaskResultCommonSchemaV3 = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tattemptId: string().min(1),\n\ttelemetry: openMeldDaemonTaskResultTelemetrySchema.optional(),\n\tagentControllerConversation: agentControllerConversationRefSchema.optional(),\n\teffectiveRuntimeWorkingDirectory: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: string().min(1).optional(),\n\tbootstrapTemplateFacts: bootstrapTemplateFactsSchema.optional(),\n\tdispatchExecution: dispatchExecutionSchema.optional(),\n\topenClawGatewayVisibility: openMeldDaemonTaskResultOpenClawGatewayVisibilitySchema.optional(),\n\topenClawBinding: openMeldDaemonTaskResultOpenClawBindingSchema.optional(),\n\tspaceAction: openMeldSpaceEgressActionSchema.optional(),\n\tsuppressPublicOutcome: boolean().optional()\n});\nconst openMeldDaemonTaskResultPayloadSchema = discriminatedUnion(\"status\", [\n\topenMeldDaemonTaskResultCommonSchema.extend({\n\t\tstatus: literal(\"success\"),\n\t\toutput: string().min(1)\n\t}),\n\topenMeldDaemonTaskResultCommonSchema.extend({\n\t\tstatus: literal(\"partial_success\"),\n\t\toutput: string().min(1),\n\t\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\t\terrorCode: string().min(1).optional(),\n\t\tpartialReason: string().min(1),\n\t\terrorMessage: string().min(1).optional()\n\t}),\n\topenMeldDaemonTaskResultCommonSchema.extend({\n\t\tstatus: literal(\"failed\"),\n\t\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\t\terrorCode: string().min(1).optional(),\n\t\terrorMessage: string().min(1).optional(),\n\t\toriginalError: openMeldDaemonOriginalErrorSchema.optional(),\n\t\tproviderAccessEvidence: openMeldDaemonProviderAccessEvidenceSchema.optional()\n\t})\n]).superRefine((value, ctx) => {\n\tconst isProjectConnectionFailure = value.status === \"failed\" && projectLocalConnectionFailureReasonCodeSchema.safeParse(value.errorCode).success;\n\tif (isProjectConnectionFailure && !value.projectFailureContext) ctx.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"Project connection failures must include path-free Project trace context\",\n\t\tpath: [\"projectFailureContext\"]\n\t});\n\tif (!isProjectConnectionFailure && value.projectFailureContext) ctx.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"Project trace context is only valid for Project connection failures\",\n\t\tpath: [\"projectFailureContext\"]\n\t});\n});\nconst openMeldDaemonTaskResultPayloadSchemaV3 = discriminatedUnion(\"status\", [\n\topenMeldDaemonTaskResultCommonSchemaV3.extend({\n\t\tstatus: literal(\"success\"),\n\t\toutput: string().min(1)\n\t}),\n\topenMeldDaemonTaskResultCommonSchemaV3.extend({\n\t\tstatus: literal(\"partial_success\"),\n\t\toutput: string().min(1),\n\t\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\t\terrorCode: string().min(1).optional(),\n\t\tpartialReason: string().min(1),\n\t\terrorMessage: string().min(1).optional()\n\t}),\n\topenMeldDaemonTaskResultCommonSchemaV3.extend({\n\t\tstatus: literal(\"failed\"),\n\t\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\t\terrorCode: string().min(1).optional(),\n\t\terrorMessage: string().min(1).optional()\n\t})\n]);\nconst openMeldDaemonTaskResultPayloadSchemaV1 = discriminatedUnion(\"status\", [\n\topenMeldDaemonTaskResultCommonSchemaV1.extend({\n\t\tstatus: literal(\"success\"),\n\t\toutput: string().min(1)\n\t}),\n\topenMeldDaemonTaskResultCommonSchemaV1.extend({\n\t\tstatus: literal(\"partial_success\"),\n\t\toutput: string().min(1),\n\t\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\t\terrorCode: string().min(1).optional(),\n\t\tpartialReason: string().min(1),\n\t\terrorMessage: string().min(1).optional()\n\t}),\n\topenMeldDaemonTaskResultCommonSchemaV1.extend({\n\t\tstatus: literal(\"failed\"),\n\t\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\t\terrorCode: string().min(1).optional(),\n\t\terrorMessage: string().min(1).optional()\n\t})\n]);\nconst openMeldDaemonTaskResultEnvelopeWriteSchema = strictObject({\n\tv: literal(4),\n\tcode: literal(\"service.task_result\"),\n\tpayload: openMeldDaemonTaskResultPayloadSchema\n});\nconst openMeldDaemonTaskResultEnvelopeSchemaV3 = strictObject({\n\tv: literal(OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_PREVIOUS),\n\tcode: literal(\"service.task_result\"),\n\tpayload: openMeldDaemonTaskResultPayloadSchemaV3\n});\nconst openMeldDaemonTaskResultEnvelopeSchema = union([\n\topenMeldDaemonTaskResultEnvelopeWriteSchema,\n\tstrictObject({\n\t\tv: literal(OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_LEGACY),\n\t\tcode: literal(\"service.task_result\"),\n\t\tpayload: openMeldDaemonTaskResultPayloadSchemaV3\n\t}),\n\topenMeldDaemonTaskResultEnvelopeSchemaV3,\n\tstrictObject({\n\t\tv: literal(OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_OLDEST),\n\t\tcode: literal(\"service.task_result\"),\n\t\tpayload: openMeldDaemonTaskResultPayloadSchemaV1\n\t})\n]);\n//#endregion\nexport { OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH, isOriginalErrorSafeForMessageDetails, openMeldDaemonOriginalErrorSchema, openMeldDaemonProviderAccessEvidenceProviderSchema, openMeldDaemonProviderAccessEvidenceReasonCodeSchema, openMeldDaemonProviderAccessEvidenceSchema, openMeldDaemonProviderAccessEvidenceSourceSchema, openMeldDaemonTaskResultClaimLeaseSchema, openMeldDaemonTaskResultEnvelopeSchema, openMeldDaemonTaskResultEnvelopeWriteSchema, openMeldDaemonTaskResultErrorTypeSchema, openMeldDaemonTaskResultLocalOwnerConflictSchema, openMeldDaemonTaskResultOpenClawBindingClassificationSchema, openMeldDaemonTaskResultOpenClawBindingSchema, openMeldDaemonTaskResultOpenClawGatewayVisibilitySchema, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema, openMeldDaemonTaskResultPayloadSchema, openMeldDaemonTaskResultProjectFailureContextSchema, openMeldDaemonTaskResultPromptTraceSchema, openMeldDaemonTaskResultSpaceActionCarrierKindSchema, openMeldDaemonTaskResultSpaceActionFailureDiagnosticsSchema, openMeldDaemonTaskResultSpaceActionFailureRepairModeSchema, openMeldDaemonTaskResultSpaceActionProvenanceSchema, openMeldDaemonTaskResultStatusSchema, openMeldDaemonTaskResultTelemetrySchema, openMeldDaemonTaskResultTokenUsageSchema };\n\n//# sourceMappingURL=task-result.js.map","import { agentControllerRefSchema } from \"./agent-controller-ref.js\";\nimport { MAX_TEXT_LENGTH } from \"../protocol/constants.js\";\nimport { agentProfileIdSchema, profileHandleSchema, profileWorkingDirectorySchema, profileWorkspaceModeSchema } from \"../protocol/profile.js\";\nimport { spaceThreadContextSchema } from \"../space-mesh/space-thread.js\";\nimport { agentStreamToolPartSchema } from \"../protocol/agent-stream.js\";\nimport { clientMessageIdSchema } from \"../protocol/client-message-id.js\";\nimport { array, boolean, discriminatedUnion, enum as enumFactory, int, literal, null as nullFactory, number, record, strictObject, string, tuple, union, unknown } from \"../../lazy-zod.js\";\nimport { spaceMentionLabelSchema } from \"../http/space-mention-label.js\";\nimport { runtimeTransportStopCauseSchema } from \"./runtime-transport-stop-cause.js\";\nimport { messageEnvelopeSchema } from \"../protocol/message-envelope.js\";\nimport { agentProfileWorkRecoveryActionKindSchema } from \"../agent-profile-work-recovery.js\";\nimport { daemonServiceLaneSchema } from \"./service-contract.js\";\nimport { executionRecoveryDestinationSchema, executionRecoveryIdentitySchema } from \"../http/execution-recovery.js\";\nimport { organizationProtectedInformationSchema } from \"../http/organization-information-protection.js\";\nimport { spacePasswordSchema } from \"../http/space-password.js\";\nimport { runtimeTransportDeliveryExecutionIdentitySchema, runtimeTransportResultIdentityEchoSchema, runtimeTransportRuntimeEvidenceIdentityEchoSchema } from \"./execution-identity.js\";\nimport { runtimeCoordinatorExecutionTokenEchoSchema, runtimeCoordinatorExecutionTokenEnvelopeSchema } from \"./runtime-coordinator-execution-token.js\";\nimport { runtimeCoordinatorExecutionRecordSchema } from \"./runtime-coordinator-execution.js\";\nimport { postSpaceWakeStopResponseSchema } from \"../http/space-wake-stop.js\";\nimport { localComponentsStatusSchema, openMeldToolsControlCapabilitySchema, openMeldToolsControlRequestSchema, openMeldToolsControlResultSchema } from \"../local-components.js\";\nimport { agentInteractionPendingSummarySchema, agentInteractionRequestSchema, agentInteractionResponseSchema } from \"../protocol/agent-interaction.js\";\nimport { targetWakeLifecycleIdentitySchema } from \"../protocol/target-wake-lifecycle.js\";\nimport { workingLanguageGuidanceSchema } from \"../runtime/working-language.js\";\nimport { spaceContractSchema } from \"../space-mesh/space-contract.js\";\nimport { runtimeAgentControllerConversationIdMappingSpecSchema, runtimeDispatchPolicySchema, runtimeStreamingModeSchema, runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { openMeldDaemonCancelPayloadSchema, openMeldDaemonCancelRequestPayloadSchema, openMeldDaemonInterruptPayloadSchema, openMeldDaemonInterruptRequestPayloadSchema, openMeldDaemonManageLocalAgentInstallationPayloadSchema, openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema, openMeldDaemonSetLocalAgentEnabledPayloadSchema, openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema, openMeldDaemonSetProfileWorkspacePayloadSchema, openMeldDaemonSetProfileWorkspaceRequestPayloadSchema, openMeldDaemonSyncRouteCatalogPayloadSchema, openMeldDaemonSyncRouteCatalogRequestPayloadSchema, skippedDaemonProfileSchema } from \"./control-plane.js\";\nimport { openMeldDaemonAcceptedDispatchSnapshotSchema, openMeldDaemonDispatchContinuitySnapshotSchema, openMeldDaemonDispatchControllerSnapshotSchema, openMeldDaemonDispatchDeliveryRecoveryReasonSchema, openMeldDaemonDispatchReplyToSnapshotSchema, openMeldDaemonDispatchRulesSnapshotSchema, openMeldDaemonDispatchSourceSignalSnapshotSchema } from \"./dispatch-queue.js\";\nimport { localFolderPickerRuntimeCapabilitySchema } from \"./local-folder-picker.js\";\nimport { daemonRuntimeAdapterCapabilitySnapshotSchema } from \"./provider-runtime-capability.js\";\nimport { openMeldDaemonTaskResultEnvelopeSchema } from \"./task-result.js\";\n//#region src/schemas/daemon/runtime-transport.ts\nconst RUNTIME_TRANSPORT_SCHEMA_VERSION = 1;\nconst CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH = \"runtime-transport-epoch-2026-07-default-project\";\nconst daemonRuntimeContractSchema = strictObject({ epoch: string().min(1) });\nconst daemonRuntimeContractReasonCodeSchema = enumFactory([\n\t\"daemon.runtime_contract.compatible\",\n\t\"daemon.runtime_contract.missing\",\n\t\"daemon.runtime_contract.mismatch\"\n]);\nconst daemonExecutionCompatibilitySchema = strictObject({\n\tstatus: enumFactory([\"compatible\", \"update_required\"]),\n\texpectedEpoch: string().min(1),\n\tobservedEpoch: union([string().min(1), nullFactory()]),\n\treasonCode: daemonRuntimeContractReasonCodeSchema\n});\nconst runtimeTransportAgentProfileExecutionStateRequestSchema = strictObject({\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst runtimeTransportAgentProfileExecutionStateResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({ status: literal(\"active\") }),\n\tstrictObject({ status: literal(\"inactive\") }),\n\tstrictObject({\n\t\treasonCode: string().trim().min(1).max(256),\n\t\tstatus: literal(\"unavailable\")\n\t})\n]);\nconst runtimeTransportAgentProfileWorkReferenceSchema = strictObject({\n\tsourceSignalId: string().trim().min(1).max(512),\n\tspaceId: string().trim().min(1).max(512)\n});\nconst runtimeTransportAgentProfileWorkRecoveryActionSchema = agentProfileWorkRecoveryActionKindSchema;\nconst runtimeTransportAgentProfileWorkRecoveryReadRequestSchema = strictObject({\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst runtimeTransportAgentProfileWorkRecoveryReadResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\taction: runtimeTransportAgentProfileWorkRecoveryActionSchema,\n\t\tauthorizedContinuationClientMessageId: clientMessageIdSchema.nullable(),\n\t\tinterruptedClientMessageId: clientMessageIdSchema,\n\t\tinterruptedDispatchId: string().trim().min(1).max(512),\n\t\tinterruptedTargetWakeLifecycleId: string().trim().min(1).max(512).optional(),\n\t\tinterruptedSourceSignalId: string().trim().min(1).max(512).optional(),\n\t\tspaceId: string().trim().min(1).max(512),\n\t\tstatus: literal(\"available\")\n\t}),\n\tstrictObject({ status: literal(\"not_pending\") }),\n\tstrictObject({ status: literal(\"unavailable\") })\n]);\nconst runtimeTransportAgentProfileOperationalContextSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\treasonCode: string().trim().min(1).max(256),\n\t\tstatus: literal(\"checking\")\n\t}),\n\tstrictObject({\n\t\tstatus: literal(\"idle\"),\n\t\twaitingCount: literal(0)\n\t}),\n\tstrictObject({\n\t\tcurrentWorkReference: runtimeTransportAgentProfileWorkReferenceSchema.optional(),\n\t\tqueuedWorkReferences: array(runtimeTransportAgentProfileWorkReferenceSchema).max(50).optional(),\n\t\tstatus: literal(\"working\"),\n\t\twaitingCount: number().int().min(0).max(50)\n\t}),\n\tstrictObject({\n\t\tcurrentWorkReference: runtimeTransportAgentProfileWorkReferenceSchema.optional(),\n\t\tqueuedWorkReferences: array(runtimeTransportAgentProfileWorkReferenceSchema).max(50).optional(),\n\t\trecoveryAction: runtimeTransportAgentProfileWorkRecoveryActionSchema.optional(),\n\t\trecoveryTargetWakeLifecycleId: string().trim().min(1).max(512).optional(),\n\t\tstatus: literal(\"paused\"),\n\t\twaitingCount: number().int().min(0).max(50)\n\t})\n]);\nconst runtimeTransportAgentProfileOperationalContextsRequestSchema = strictObject({\n\tincludeWorkReferences: boolean(),\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileIds: array(agentProfileIdSchema).min(1).max(100)\n});\nconst runtimeTransportAgentProfileOperationalContextsResponseSchema = strictObject({ contexts: array(strictObject({\n\toperationalContext: runtimeTransportAgentProfileOperationalContextSchema,\n\ttargetProfileId: agentProfileIdSchema\n})).max(100) });\nconst runtimeTransportAgentProfileWorkRecoveryTargetSchema = strictObject({\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst MAX_RUNTIME_TRANSPORT_AGENT_PROFILE_WORK_USAGE_AVAILABLE_TARGETS = 100;\nconst runtimeTransportAgentProfileWorkUsageAvailableRequestSchema = strictObject({\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileIds: array(agentProfileIdSchema).min(1).max(100)\n});\nconst runtimeTransportAgentProfileWorkUsageAvailableResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tchangedProfileIds: array(agentProfileIdSchema).max(100),\n\tcontinuationProfileIds: array(agentProfileIdSchema).max(100).default([]),\n\tstatus: literal(\"updated\")\n}), strictObject({\n\tchangedProfileIds: tuple([]),\n\tcontinuationProfileIds: tuple([]).default([]),\n\tstatus: literal(\"unavailable\")\n})]);\nconst runtimeTransportAgentProfileWorkContinuationAuthorizeRequestSchema = runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({\n\tcontinuationClientMessageId: clientMessageIdSchema,\n\tcurrentAgentControllerRef: agentControllerRefSchema,\n\tcurrentBindingId: string().trim().min(1).max(512),\n\tcurrentConfigurationRevision: number().int().positive(),\n\tcurrentDefaultProjectId: string().trim().min(1).nullable().optional(),\n\texpectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512),\n\trequireAcceptedExecutionTargetRevision: literal(true)\n});\nconst runtimeTransportAgentProfileWorkContinuationAuthorizeResponseSchema = strictObject({ status: enumFactory([\n\t\"authorized\",\n\t\"needs_attention\",\n\t\"not_pending\",\n\t\"unavailable\"\n]) });\nconst runtimeTransportAgentProfileWorkContinuationNeedsAttentionRequestSchema = runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({ expectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512) });\nconst runtimeTransportAgentProfileWorkContinuationNeedsAttentionResponseSchema = strictObject({ status: enumFactory([\n\t\"marked\",\n\t\"not_pending\",\n\t\"unavailable\"\n]) });\nconst runtimeTransportAgentProfileWorkQueueApproveRequestSchema = runtimeTransportAgentProfileWorkRecoveryTargetSchema;\nconst runtimeTransportAgentProfileWorkQueueApproveResponseSchema = strictObject({ status: enumFactory([\n\t\"approved\",\n\t\"not_pending\",\n\t\"unavailable\"\n]) });\nconst runtimeTransportAgentProfileWorkSkipRequestSchema = runtimeTransportAgentProfileWorkRecoveryTargetSchema.extend({ expectedInterruptedTargetWakeLifecycleId: string().trim().min(1).max(512) });\nconst runtimeTransportAgentProfileWorkSkipResponseSchema = strictObject({ status: enumFactory([\n\t\"skipped\",\n\t\"not_pending\",\n\t\"unavailable\"\n]) });\nconst runtimeTransportAgentProfileExecutionTargetMutationRequestSchema = strictObject({\n\toperationId: string().trim().min(1).max(256),\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst runtimeTransportAgentProfileExecutionTargetMutationAcquireResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\texpiresAtMs: number().int().nonnegative(),\n\t\toperationId: string().trim().min(1).max(256),\n\t\tstatus: literal(\"acquired\")\n\t}),\n\tstrictObject({\n\t\treasonCode: string().trim().min(1).max(256),\n\t\tstatus: literal(\"blocked\")\n\t}),\n\tstrictObject({\n\t\treasonCode: string().trim().min(1).max(256),\n\t\tstatus: literal(\"unavailable\")\n\t})\n]);\nconst runtimeTransportAgentProfileExecutionTargetMutationReleaseResponseSchema = discriminatedUnion(\"status\", [strictObject({ status: literal(\"released\") }), strictObject({ status: literal(\"not_owner\") })]);\nconst runtimeTransportErrorCodeSchema = enumFactory([\n\t\"daemon.session.reject_conflict\",\n\t\"daemon.session.not_found\",\n\t\"daemon.session.connection_replaced\",\n\t\"daemon.session.stale_lease\",\n\t\"daemon.profile.offline\",\n\t\"daemon.profile.pending_first_report\",\n\t\"daemon.profile.configuration_not_synced\",\n\t\"daemon.runtime_contract.missing\",\n\t\"daemon.runtime_contract.mismatch\",\n\t\"daemon.delivery.timeout\",\n\t\"daemon.delivery.start_timeout\",\n\t\"daemon.delivery.execution_stalled\",\n\t\"daemon.delivery.finalization_timeout\",\n\t\"daemon.result.conflict\",\n\t\"daemon.result.identity_mismatch\",\n\t\"daemon.result.inbox_unavailable\",\n\t\"daemon.result.finalization_unavailable\",\n\t\"space.agent_reply.context_changed\",\n\t\"core.transport_restarting\",\n\t\"execution_token_authority_missing\",\n\t\"execution_token_expired\",\n\t\"execution_token_mismatch\",\n\t\"execution_token_missing\",\n\t\"execution_token_revoked\",\n\t\"execution_token_scope_mismatch\",\n\t\"execution_token_superseded\",\n\t\"execution_token_terminal_late\",\n\t\"execution_token_unknown\",\n\t\"runtime_coordinator.execution_id_missing\",\n\t\"runtime_coordinator.execution_id_mismatch\",\n\t\"runtime_coordinator.head_execution_link_unavailable\",\n\t\"runtime_coordinator.pre_agent_stop_requested\",\n\t\"runtime_coordinator.execution_token_authority_unavailable\",\n\t\"runtime_coordinator.execution_token_scope_mismatch\",\n\t\"runtime_coordinator.execution_token_unavailable\"\n]);\nconst runtimeTransportLeaseSchema = strictObject({\n\tprofileId: string().min(1),\n\tleaseEpoch: number().int().positive()\n});\nconst runtimeTransportBaseCapabilitiesSchema = strictObject({\n\tagentReplyContextReview: literal(true).optional(),\n\tinformationProtectionPrompt: literal(true).optional(),\n\tworkingLanguagePrompt: literal(true).optional(),\n\tlocalAgentInteraction: literal(true).optional(),\n\tprofileConfigurationRevision: literal(true).optional(),\n\tlocalComponents: localComponentsStatusSchema.optional(),\n\topenMeldToolsControl: openMeldToolsControlCapabilitySchema.optional(),\n\tlocalAgentControl: strictObject({\n\t\tcancel: literal(true).optional(),\n\t\tinterrupt: literal(true).optional(),\n\t\tmanageInstallations: literal(true).optional(),\n\t\tmanageInstallationsSafely: literal(true).optional(),\n\t\tforkSession: literal(true).optional(),\n\t\trefreshCatalog: literal(true).optional(),\n\t\tresumeControllerConversation: literal(true).optional(),\n\t\tsetEnabled: literal(true).optional(),\n\t\tsetProfileWorkspace: literal(true).optional()\n\t}).optional(),\n\tlocalProjectControl: strictObject({\n\t\tconnectCandidate: literal(true).optional(),\n\t\tconnectDeclaredPath: literal(true).optional(),\n\t\tdiscoverProjects: literal(true).optional(),\n\t\treadConnections: literal(true).optional(),\n\t\tmoveConnection: literal(true).optional(),\n\t\tremoveConnection: literal(true).optional(),\n\t\tremoveMissingConnections: literal(true).optional(),\n\t\tsetDefaultConnection: literal(true).optional()\n\t}).optional(),\n\truntimeAdapters: array(daemonRuntimeAdapterCapabilitySnapshotSchema).min(1).optional()\n});\nconst runtimeTransportCapabilitiesSchema = runtimeTransportBaseCapabilitiesSchema.extend({\n\tcomputerFileAccess: strictObject({\n\t\treadPolicy: literal(true).optional(),\n\t\tupdatePolicy: literal(true).optional()\n\t}).optional(),\n\tlocalFolderPicker: localFolderPickerRuntimeCapabilitySchema.optional()\n});\nconst localWakeRouteWorkingFolderObservationIdentityShape = {\n\tbindingId: string().min(1),\n\tconfigurationRevision: number().int().positive(),\n\tobservedAtMs: number().int().nonnegative(),\n\tprofileId: string().min(1)\n};\nconst localProjectBindingGenerationSchema = string().trim().min(1);\nconst defaultProjectIdSchema = string().trim().min(1);\nconst localWakeRouteWorkingFolderReasonCodeSchema = enumFactory([\n\t\"project.local_connection.missing\",\n\t\"project.local_connection.folder_missing\",\n\t\"project.local_connection.invalid\",\n\t\"profile.workspace.missing\",\n\t\"profile.workspace.invalid\"\n]);\nconst localWakeRouteWorkingFolderObservationSchema = union([\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: defaultProjectIdSchema,\n\t\tlocalProjectBindingGeneration: localProjectBindingGenerationSchema,\n\t\treasonCode: nullFactory(),\n\t\tsource: literal(\"default_project\"),\n\t\tstatus: literal(\"ready\")\n\t}),\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: defaultProjectIdSchema,\n\t\tlocalProjectBindingGeneration: nullFactory(),\n\t\treasonCode: literal(\"project.local_connection.missing\"),\n\t\tsource: literal(\"default_project\"),\n\t\tstatus: literal(\"missing\")\n\t}),\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: defaultProjectIdSchema,\n\t\tlocalProjectBindingGeneration: localProjectBindingGenerationSchema,\n\t\treasonCode: literal(\"project.local_connection.folder_missing\"),\n\t\tsource: literal(\"default_project\"),\n\t\tstatus: literal(\"missing\")\n\t}),\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: defaultProjectIdSchema,\n\t\tlocalProjectBindingGeneration: localProjectBindingGenerationSchema,\n\t\treasonCode: literal(\"project.local_connection.invalid\"),\n\t\tsource: literal(\"default_project\"),\n\t\tstatus: literal(\"invalid\")\n\t}),\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: nullFactory(),\n\t\tlocalProjectBindingGeneration: nullFactory(),\n\t\treasonCode: nullFactory(),\n\t\tsource: literal(\"profile_workspace\"),\n\t\tstatus: literal(\"ready\")\n\t}),\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: nullFactory(),\n\t\tlocalProjectBindingGeneration: nullFactory(),\n\t\treasonCode: literal(\"profile.workspace.missing\"),\n\t\tsource: literal(\"profile_workspace\"),\n\t\tstatus: literal(\"missing\")\n\t}),\n\tstrictObject({\n\t\t...localWakeRouteWorkingFolderObservationIdentityShape,\n\t\tdefaultProjectId: nullFactory(),\n\t\tlocalProjectBindingGeneration: nullFactory(),\n\t\treasonCode: literal(\"profile.workspace.invalid\"),\n\t\tsource: literal(\"profile_workspace\"),\n\t\tstatus: literal(\"invalid\")\n\t})\n]);\nconst localWakeRouteReportBaseShape = {\n\treportedAtMs: number().int().nonnegative(),\n\tdaemonSessionId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: string().trim().min(1).nullable().optional(),\n\tincludedProfileIds: array(string().min(1)).max(512),\n\tprofileConfigurationRevisions: array(strictObject({\n\t\tbindingId: string().min(1),\n\t\tconfigurationRevision: number().int().positive(),\n\t\tprofileId: string().min(1)\n\t})).max(512).optional(),\n\tskippedProfiles: array(skippedDaemonProfileSchema).max(512)\n};\nconst localWakeRouteReportSchema = union([strictObject(localWakeRouteReportBaseShape), strictObject({\n\t...localWakeRouteReportBaseShape,\n\texpectedRoutesContractVersion: literal(\"v4\"),\n\tworkingFolderObservations: array(localWakeRouteWorkingFolderObservationSchema).max(512)\n})]);\nconst runtimeTransportRejectedProfileRegistrationSchema = strictObject({\n\tprofileId: string().min(1),\n\treasonCode: runtimeTransportErrorCodeSchema,\n\trejectedAtMs: number().int().nonnegative(),\n\tdaemonSessionId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: string().trim().min(1).nullable().optional()\n});\nconst runtimeTransportRegisterSessionRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tdaemonSessionId: string().min(1),\n\tserviceVersion: string().trim().min(1).optional(),\n\tconnectionGeneration: number().int().positive(),\n\tprofileIds: array(string().min(1)).max(512),\n\tlocalWakeRouteReport: localWakeRouteReportSchema.optional(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\truntimeContract: daemonRuntimeContractSchema.optional(),\n\tconnectedAtMs: number().int().nonnegative()\n});\nconst runtimeTransportRegisterSessionResponseSchema = strictObject({\n\tok: boolean(),\n\tconnectionGeneration: number().int().positive(),\n\tacceptedLeases: array(runtimeTransportLeaseSchema),\n\trejectedProfiles: array(strictObject({\n\t\tprofileId: string().min(1),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t}))\n});\nconst runtimeTransportHeartbeatRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tdaemonSessionId: string().min(1),\n\tacceptingDispatches: boolean().optional(),\n\tstopCause: runtimeTransportStopCauseSchema.optional(),\n\tserviceVersion: string().trim().min(1).optional(),\n\tleases: array(runtimeTransportLeaseSchema).max(512),\n\tcapabilities: runtimeTransportCapabilitiesSchema.optional(),\n\truntimeContract: daemonRuntimeContractSchema.optional(),\n\tsentAtMs: number().int().nonnegative()\n});\nconst runtimeTransportHeartbeatResponseSchema = strictObject({\n\tok: boolean(),\n\tserverNowMs: number().int().nonnegative(),\n\tstaleLeases: array(runtimeTransportLeaseSchema),\n\treasonCode: runtimeTransportErrorCodeSchema.optional()\n});\nconst runtimeTransportRouteCatalogChangedReasonSchema = string().trim().min(1).max(100);\nconst runtimeTransportRouteCatalogChangedFramePayloadSchema = strictObject({ reason: runtimeTransportRouteCatalogChangedReasonSchema });\nconst runtimeTransportNotifyRouteCatalogChangedRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\treason: runtimeTransportRouteCatalogChangedReasonSchema,\n\taffectedProfileIds: array(string().trim().min(1)).max(200).optional()\n});\nconst runtimeTransportNotifyRouteCatalogChangedResponseSchema = strictObject({\n\tok: boolean(),\n\tnotifiedSessions: number().int().nonnegative()\n});\nconst runtimeTransportLookupOwnerServiceRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1)\n});\nconst runtimeTransportLiveSessionSchema = strictObject({\n\tdaemonSessionId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: string().trim().min(1).nullable().optional(),\n\tconnectionGeneration: number().int().positive(),\n\tlastHeartbeatMs: number().int().nonnegative(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\texecutionCompatibility: daemonExecutionCompatibilitySchema\n});\nconst runtimeTransportLookupOwnerServiceResponseSchema = discriminatedUnion(\"online\", [strictObject({\n\tonline: literal(true),\n\tsessions: array(runtimeTransportLiveSessionSchema).min(1)\n}), strictObject({\n\tonline: literal(false),\n\treasonCode: runtimeTransportErrorCodeSchema\n})]);\nconst runtimeTransportSocketDisconnectClassSchema = enumFactory([\n\t\"abnormal_socket_close\",\n\t\"normal_shutdown\",\n\t\"possible_deploy_or_edge_restart\"\n]);\nconst runtimeTransportSocketCloseReasonCodeSchema = enumFactory([\n\t\"abnormal_closure\",\n\t\"going_away\",\n\t\"normal_closure\",\n\t\"other\",\n\t\"socket_error\"\n]);\nconst runtimeTransportSocketDisconnectRateBucketSchema = strictObject({\n\thourStartMs: number().int().nonnegative(),\n\tdisconnectClass: runtimeTransportSocketDisconnectClassSchema,\n\tdeployAdjacentReason: string().trim().min(1).max(100).nullable(),\n\tcount: number().int().positive(),\n\tfirstObservedAtMs: number().int().nonnegative(),\n\tlastObservedAtMs: number().int().nonnegative()\n});\nconst runtimeTransportSessionDisconnectDiagnosticSchema = strictObject({\n\tcloseCode: number().int().nonnegative().max(4999),\n\tcloseReasonCode: runtimeTransportSocketCloseReasonCodeSchema,\n\tconnectedAtMs: number().int().nonnegative(),\n\tconnectionGeneration: number().int().positive(),\n\tdaemonSessionId: string().min(1).max(128),\n\tdeployAdjacentReason: string().trim().min(1).max(100).nullable(),\n\tdeviceId: string().min(1).max(128),\n\tdisconnectedAtMs: number().int().nonnegative(),\n\tdisconnectClass: runtimeTransportSocketDisconnectClassSchema,\n\tdurationMs: number().int().nonnegative(),\n\theartbeatAgeMs: number().int().nonnegative(),\n\tlane: daemonServiceLaneSchema,\n\tlastHeartbeatMs: number().int().nonnegative(),\n\tprofileCount: number().int().nonnegative(),\n\tprofileIds: array(string().min(1).max(128)).max(20),\n\tserviceVersion: string().trim().min(1).max(64).nullable(),\n\twasClean: boolean()\n});\nconst runtimeTransportDisconnectRatesResponseSchema = discriminatedUnion(\"ok\", [strictObject({\n\tok: literal(true),\n\townerUserId: string().min(1).nullable(),\n\twindowMs: number().int().nonnegative(),\n\tbuckets: array(runtimeTransportSocketDisconnectRateBucketSchema),\n\trecentSessions: array(runtimeTransportSessionDisconnectDiagnosticSchema).max(20).optional()\n}), strictObject({\n\tok: literal(false),\n\treasonCode: string().trim().min(1),\n\tbuckets: array(runtimeTransportSocketDisconnectRateBucketSchema).length(0),\n\trecentSessions: array(runtimeTransportSessionDisconnectDiagnosticSchema).length(0).optional()\n})]);\nconst runtimeTransportSetLocalAgentEnabledRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tagentId: string().trim().min(1).max(256),\n\tenabled: boolean()\n});\nconst runtimeTransportSetLocalAgentEnabledResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"accepted\"),\n\tpayload: openMeldDaemonSetLocalAgentEnabledPayloadSchema\n}), strictObject({\n\tstatus: literal(\"rejected\"),\n\treasonCode: string().min(1),\n\tmessage: string().min(1)\n})]);\nconst runtimeTransportManageLocalAgentInstallationRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\trequest: openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema\n});\nconst runtimeTransportManageLocalAgentInstallationResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"accepted\"),\n\tpayload: openMeldDaemonManageLocalAgentInstallationPayloadSchema\n}), strictObject({\n\tstatus: literal(\"rejected\"),\n\treasonCode: string().min(1),\n\tmessage: string().min(1)\n})]);\nconst runtimeTransportOpenMeldToolsControlRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\trequestId: string().min(1),\n\trequest: openMeldToolsControlRequestSchema\n});\nconst runtimeTransportOpenMeldToolsControlResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"accepted\"),\n\tresult: openMeldToolsControlResultSchema\n}), strictObject({\n\tstatus: literal(\"rejected\"),\n\treasonCode: string().min(1),\n\tmessage: string().min(1)\n})]);\nconst runtimeTransportRefreshLocalAgentCatalogRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\treason: string().trim().min(1).max(120)\n});\nconst runtimeTransportRefreshLocalAgentCatalogResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"accepted\"),\n\tpayload: openMeldDaemonSyncRouteCatalogPayloadSchema\n}), strictObject({\n\tstatus: literal(\"rejected\"),\n\treasonCode: string().min(1),\n\tmessage: string().min(1)\n})]);\nconst runtimeTransportSetProfileWorkspaceRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\ttargetProfileId: agentProfileIdSchema,\n\tworkspaceMode: profileWorkspaceModeSchema,\n\tworkspacePath: profileWorkingDirectorySchema.optional()\n}).superRefine((value, context) => {\n\tif (value.workspaceMode === \"custom\" && !value.workspacePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"workspacePath is required for a custom profile workspace\",\n\t\tpath: [\"workspacePath\"]\n\t});\n\tif (value.workspaceMode === \"openmeld_managed\" && value.workspacePath) context.addIssue({\n\t\tcode: \"custom\",\n\t\tmessage: \"workspacePath must be omitted for an OpenMeld-managed profile workspace\",\n\t\tpath: [\"workspacePath\"]\n\t});\n});\nconst runtimeTransportSetProfileWorkspaceResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"accepted\"),\n\tpayload: openMeldDaemonSetProfileWorkspacePayloadSchema\n}), strictObject({\n\tstatus: literal(\"rejected\"),\n\treasonCode: string().min(1),\n\tmessage: string().min(1)\n})]);\nconst agentSessionForkOperationSchema = strictObject({\n\tagentControllerRef: agentControllerRefSchema,\n\toperationId: string().trim().min(1).max(256),\n\torganizationId: string().trim().min(1).max(256),\n\tprofileName: string().trim().min(1).max(64),\n\tprojectId: string().trim().min(1).max(256),\n\tsourceNativeSessionId: string().trim().min(1).max(512)\n});\nconst runtimeTransportForkAgentSessionRequestSchema = agentSessionForkOperationSchema.extend({\n\tv: literal(1),\n\townerUserId: string().trim().min(1),\n\tdeviceId: string().trim().min(1),\n\tlane: daemonServiceLaneSchema\n});\nconst runtimeTransportForkAgentSessionResultSchema = discriminatedUnion(\"status\", [\n\tagentSessionForkOperationSchema.extend({\n\t\tchildNativeSessionId: string().trim().min(1).max(512),\n\t\tstatus: literal(\"completed\")\n\t}),\n\tagentSessionForkOperationSchema.extend({\n\t\tmessage: string().trim().min(1).max(1e3),\n\t\treasonCode: string().trim().min(1).max(256),\n\t\tstatus: literal(\"rejected\")\n\t}),\n\tagentSessionForkOperationSchema.extend({\n\t\tmessage: string().trim().min(1).max(1e3),\n\t\treasonCode: string().trim().min(1).max(256),\n\t\tstatus: literal(\"outcome_unknown\")\n\t})\n]);\nconst runtimeTransportLocalAgentControlForkSessionFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\trequest: agentSessionForkOperationSchema\n});\nconst runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: openMeldDaemonManageLocalAgentInstallationRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: openMeldDaemonSyncRouteCatalogRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: openMeldDaemonSetProfileWorkspaceRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlCancelFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: openMeldDaemonCancelRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlInterruptFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: openMeldDaemonInterruptRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlResultFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tpayload: union([\n\t\topenMeldDaemonManageLocalAgentInstallationPayloadSchema,\n\t\topenMeldDaemonSetLocalAgentEnabledPayloadSchema,\n\t\topenMeldDaemonSetProfileWorkspacePayloadSchema,\n\t\topenMeldDaemonSyncRouteCatalogPayloadSchema,\n\t\topenMeldDaemonCancelPayloadSchema,\n\t\topenMeldDaemonInterruptPayloadSchema,\n\t\truntimeTransportForkAgentSessionResultSchema\n\t])\n});\nconst runtimeTransportOpenMeldToolsControlFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\trequest: openMeldToolsControlRequestSchema\n});\nconst runtimeTransportOpenMeldToolsControlResultFramePayloadSchema = strictObject({\n\trequestId: string().min(1),\n\tresult: openMeldToolsControlResultSchema\n});\nconst runtimeTransportInspectExecutionRecoveryRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema\n});\nconst runtimeTransportInspectExecutionRecoveryResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"available\"),\n\texactAssociationVerified: literal(true),\n\tserviceSupportsResume: literal(true),\n\tidentity: executionRecoveryIdentitySchema,\n\treasonCode: literal(\"execution_recovery.exact_controller_conversation_available\")\n}), strictObject({\n\tstatus: literal(\"unavailable\"),\n\texactAssociationVerified: boolean(),\n\tidentity: executionRecoveryIdentitySchema.nullable(),\n\tserviceSupportsResume: boolean(),\n\treasonCode: string().trim().min(1)\n})]);\nconst runtimeTransportResumeControllerConversationRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().trim().min(1),\n\toperationId: string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\tproviderRuntimeWorkingDirectory: string().trim().min(1).max(4096)\n});\nconst runtimeTransportResumeControllerConversationFramePayloadSchema = strictObject({\n\trequestId: string().trim().min(1),\n\toperationId: string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\tproviderRuntimeWorkingDirectory: string().trim().min(1).max(4096),\n\tsourceEventId: string().trim().min(1),\n\ttransportMode: runtimeTransportModeSchema\n});\nconst runtimeTransportResumeControllerConversationResultSchema = discriminatedUnion(\"status\", [strictObject({\n\tstatus: literal(\"completed\"),\n\toperationId: string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\toutput: string().trim().min(1),\n\tagentControllerConversationId: string().trim().min(1)\n}), strictObject({\n\tstatus: enumFactory([\"outcome_unknown\", \"rejected\"]),\n\toperationId: string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\treasonCode: string().trim().min(1),\n\tmessage: string().trim().min(1)\n})]);\nconst runtimeTransportResumeControllerConversationResultFramePayloadSchema = strictObject({\n\trequestId: string().trim().min(1),\n\tresult: runtimeTransportResumeControllerConversationResultSchema\n});\nconst runtimeTransportResumeControllerConversationResponseSchema = runtimeTransportResumeControllerConversationResultSchema;\nconst runtimeTransportLookupRouteRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tprofileId: string().min(1)\n});\nconst runtimeTransportLookupRouteOwnerServiceEvidenceSchema = strictObject({\n\tdaemonSessionId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: string().trim().min(1).nullable().optional(),\n\tconnectionGeneration: number().int().positive(),\n\tlastHeartbeatMs: number().int().nonnegative(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\texecutionCompatibility: daemonExecutionCompatibilitySchema\n});\nconst runtimeTransportLookupRouteResponseSchema = discriminatedUnion(\"online\", [strictObject({\n\tonline: literal(true),\n\tacceptingDispatches: boolean().optional(),\n\tstopCause: runtimeTransportStopCauseSchema.optional(),\n\tdaemonSessionId: string().min(1),\n\tdeviceId: string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: string().trim().min(1).nullable().optional(),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tlastHeartbeatMs: number().int().nonnegative(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\texecutionCompatibility: daemonExecutionCompatibilitySchema,\n\tlocalWakeRouteReport: localWakeRouteReportSchema.optional()\n}), strictObject({\n\tonline: literal(false),\n\treasonCode: runtimeTransportErrorCodeSchema,\n\tlastHeartbeatMs: number().int().nonnegative().optional(),\n\townerService: runtimeTransportLookupRouteOwnerServiceEvidenceSchema.optional(),\n\texecutionCompatibility: daemonExecutionCompatibilitySchema.optional(),\n\tlocalWakeRouteReport: localWakeRouteReportSchema.optional(),\n\trejectedProfileRegistration: runtimeTransportRejectedProfileRegistrationSchema.optional()\n})]);\nconst runtimeTransportLookupRoutesBatchRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tprofileIds: array(string().min(1)).min(1).max(100)\n});\nconst runtimeTransportLookupRoutesBatchResponseSchema = strictObject({ routes: record(string(), runtimeTransportLookupRouteResponseSchema) });\nconst runtimeTransportDispatchSourceSignalSchema = strictObject({\n\tprofileId: string().min(1).nullable(),\n\tprofileKind: enumFactory([\n\t\t\"agent\",\n\t\t\"human\",\n\t\t\"system\"\n\t]).nullable(),\n\tprofileHandle: profileHandleSchema.optional(),\n\tprofileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttext: string().min(1).max(MAX_TEXT_LENGTH)\n});\nconst runtimeTransportDeliverDispatchPayloadSchema = strictObject({\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\texecutionToken: runtimeCoordinatorExecutionTokenEnvelopeSchema.optional(),\n\tattemptId: string().min(1),\n\tdispatchId: string().min(1),\n\texecutionIdentity: runtimeTransportDeliveryExecutionIdentitySchema,\n\ttaskId: string().min(1),\n\tspaceId: string().min(1),\n\tsourceEventId: string().min(1),\n\tsourceClientMessageId: string().min(1).max(200).nullable().optional(),\n\tsourceSignal: runtimeTransportDispatchSourceSignalSchema,\n\ttargetProfileId: string().min(1),\n\tdefaultProjectId: string().trim().min(1).optional(),\n\torganizationProtectedInformation: organizationProtectedInformationSchema.optional(),\n\tworkingLanguage: workingLanguageGuidanceSchema.optional(),\n\tdispatchContractVersion: number().int().positive(),\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\tcontrollerSnapshot: openMeldDaemonDispatchControllerSnapshotSchema,\n\tcontextIdMappingSpec: runtimeAgentControllerConversationIdMappingSpecSchema.nullable(),\n\tdispatchRulesSnapshot: openMeldDaemonDispatchRulesSnapshotSchema,\n\tspaceContractSnapshot: spaceContractSchema.optional(),\n\tcontinuitySnapshot: openMeldDaemonDispatchContinuitySnapshotSchema.optional(),\n\tenqueuedAtMs: number().int().nonnegative(),\n\tidempotencyKey: string().min(1),\n\tspacePassword: spacePasswordSchema.optional(),\n\ttargetProfileName: string().min(1).max(64).optional(),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileIsCenterAgent: boolean().optional(),\n\tagentControllerConversationId: string().trim().min(1).optional(),\n\tdeliveryRecoveryReason: openMeldDaemonDispatchDeliveryRecoveryReasonSchema.optional(),\n\tdispatchChainId: string().min(1).optional(),\n\tautoRelayDepth: number().int().nonnegative().optional(),\n\tvisitedProfileIds: array(string().min(1)).max(256).optional(),\n\tvisitedProfileIdsHash: string().min(1).optional(),\n\ttransportMode: runtimeTransportModeSchema.nullable().optional(),\n\tstreamingMode: runtimeStreamingModeSchema.optional(),\n\tsourceSignalSnapshot: openMeldDaemonDispatchSourceSignalSnapshotSchema.optional(),\n\tsourceMessageEnvelope: messageEnvelopeSchema.optional(),\n\treplyToSnapshot: openMeldDaemonDispatchReplyToSnapshotSchema.optional(),\n\tthreadContext: spaceThreadContextSchema.optional(),\n\tspaceNameSnapshot: string().min(1).nullable().optional()\n});\nconst runtimeTransportDeliverDispatchRequestSchema = strictObject({\n\tv: literal(1),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\townerUserId: string().min(1),\n\tprofileId: string().min(1),\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tdeliveryRecoveryReason: openMeldDaemonDispatchDeliveryRecoveryReasonSchema.optional(),\n\tpayload: runtimeTransportDeliverDispatchPayloadSchema\n});\nconst runtimeTransportDeliverDispatchResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\taccepted: literal(true),\n\t\tstatus: literal(\"delivered\")\n\t}),\n\tstrictObject({\n\t\taccepted: literal(true),\n\t\tstatus: literal(\"already_pending\"),\n\t\texistingAttemptId: string().min(1)\n\t}),\n\tstrictObject({\n\t\taccepted: literal(true),\n\t\tstatus: literal(\"already_completed\"),\n\t\tcompletedAttemptId: string().min(1)\n\t}),\n\tstrictObject({\n\t\taccepted: literal(false),\n\t\tstatus: literal(\"rejected\"),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t})\n]);\nconst runtimeTransportWaitDispatchResultRequestSchema = strictObject({\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\ttimeoutMs: number().int().positive().optional()\n});\nconst runtimeCoordinatorDecisionReasonCodeSchema = string().trim().min(1).max(160);\nconst runtimeTransportRuntimeCoordinatorDecisionEventKindSchema = enumFactory([\n\t\"owner_conflict\",\n\t\"reclaim\",\n\t\"retry\",\n\t\"timeout\"\n]);\nconst runtimeTransportRuntimeCoordinatorDecisionTriggerSchema = enumFactory([\n\t\"alarm\",\n\t\"daemon\",\n\t\"queue\"\n]);\nconst runtimeTransportRuntimeCoordinatorDecisionRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tdispatchId: string().min(1),\n\tspaceId: string().min(1),\n\ttargetProfileId: string().min(1),\n\tsourceClientMessageId: string().min(1).max(200).nullable(),\n\tattemptId: string().min(1).nullable().optional(),\n\tclaimDecision: enumFactory([\n\t\t\"continue_existing\",\n\t\t\"reset_existing\",\n\t\t\"claim_recovery\",\n\t\t\"claim_existing_inside_window\",\n\t\t\"reclaim_stale_dispatching\",\n\t\t\"reclaim_stale_queued\"\n\t]).optional(),\n\teventKind: runtimeTransportRuntimeCoordinatorDecisionEventKindSchema,\n\tidempotencyKey: string().min(1).max(512),\n\tobservedRunId: string().min(1).nullable().optional(),\n\treasonCode: runtimeCoordinatorDecisionReasonCodeSchema.optional(),\n\ttrigger: runtimeTransportRuntimeCoordinatorDecisionTriggerSchema\n});\nconst runtimeTransportRuntimeCoordinatorDecisionResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tok: literal(true),\n\tstatus: enumFactory([\"already_recorded\", \"recorded\"]),\n\taction: enumFactory([\n\t\t\"diagnostic_only\",\n\t\t\"keep_waiting\",\n\t\t\"owner_conflict_terminal\",\n\t\t\"redeliver_current_run\",\n\t\t\"redelivery_deferred\",\n\t\t\"reclaim_blocked\",\n\t\t\"retry_blocked\",\n\t\t\"retry_run_issued\",\n\t\t\"terminal_failed\",\n\t\t\"timeout_terminal\"\n\t]),\n\treasonCode: runtimeCoordinatorDecisionReasonCodeSchema,\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId\n}), strictObject({\n\tok: literal(false),\n\tstatus: literal(\"retry_later\"),\n\treasonCode: runtimeCoordinatorDecisionReasonCodeSchema,\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId\n})]);\nconst runtimeTransportRuntimeCoordinatorWakeStopRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tdispatchId: string().min(1),\n\tspaceId: string().min(1),\n\tsourceClientMessageId: string().min(1).max(200).nullable(),\n\ttargetProfileId: string().min(1),\n\treason: string().trim().min(1).max(512).optional()\n});\nconst runtimeTransportRuntimeCoordinatorWakeStopResponseSchema = postSpaceWakeStopResponseSchema;\nconst runtimeTransportDeletedAgentProfileWakeCancellationRequestSchema = strictObject({\n\townerUserId: string().trim().min(1).max(256),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema = enumFactory([\"runtime_coordinator.pre_agent_stop_requested\"]);\nconst runtimeTransportRuntimeCoordinatorHeadPreAgentStopRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdispatchId: string().min(1),\n\tidempotencyKey: string().min(1).max(512),\n\treason: string().trim().min(1).max(512).optional(),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileName: string().min(1).max(64).optional(),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadPreAgentStopResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tok: literal(true),\n\tprimaryDispatchId: string().min(1),\n\tpublicationIntentId: string().min(1).max(4096),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema,\n\truntimeCoordinatorExecutionId: nullFactory(),\n\tstatus: enumFactory([\"stopped_before_execution\", \"already_stopped\"]),\n\ttargetWakeLifecycleId: string().min(1).max(2048)\n}), strictObject({\n\tok: literal(false),\n\tprimaryDispatchId: string().min(1).nullable(),\n\tpublicationIntentId: string().min(1).max(4096).nullable(),\n\treasonCode: string().min(1).max(160),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),\n\tstatus: enumFactory([\n\t\t\"conflict\",\n\t\t\"execution_linked\",\n\t\t\"retry_later\"\n\t]),\n\ttargetWakeLifecycleId: string().min(1).max(2048)\n})]);\nconst runtimeTransportDeletedAgentProfileWakeCancellationResponseSchema = strictObject({\n\texecutionStopOutcomes: array(runtimeTransportRuntimeCoordinatorWakeStopResponseSchema),\n\theadStopOutcomes: array(runtimeTransportRuntimeCoordinatorHeadPreAgentStopResponseSchema),\n\tstatus: enumFactory([\n\t\t\"inactive\",\n\t\t\"cancellation_requested\",\n\t\t\"partially_requested\",\n\t\t\"unavailable\"\n\t]),\n\ttargetProfileId: agentProfileIdSchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema = enumFactory([\n\t\"create_execution\",\n\t\"skip_duplicate\",\n\t\"wait_in_queue\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadAcceptRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdispatchId: string().min(1),\n\tidempotencyKey: string().min(1).max(512),\n\tacceptedDispatchSnapshot: openMeldDaemonAcceptedDispatchSnapshotSchema.optional(),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileName: string().min(1).max(64).optional(),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadAcceptResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\tacceptedDispatchSnapshot: openMeldDaemonAcceptedDispatchSnapshotSchema.optional(),\n\t\taction: runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema,\n\t\tok: literal(true),\n\t\tprimaryDispatchId: string().min(1),\n\t\treasonCode: string().min(1).max(160),\n\t\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),\n\t\tstatus: enumFactory([\n\t\t\t\"accepted\",\n\t\t\t\"already_accepted\",\n\t\t\t\"execution_linked\",\n\t\t\t\"publication_intent_ready\",\n\t\t\t\"stopped_before_execution\"\n\t\t]),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048)\n\t}),\n\tstrictObject({\n\t\tacceptedDispatchSnapshot: openMeldDaemonAcceptedDispatchSnapshotSchema.optional(),\n\t\taction: literal(\"wait_in_queue\"),\n\t\tok: literal(true),\n\t\tprimaryDispatchId: string().min(1),\n\t\tqueuePosition: number().int().positive().max(50),\n\t\treasonCode: literal(\"agent_profile_work_coordinator.queued\"),\n\t\truntimeCoordinatorExecutionId: nullFactory(),\n\t\tstatus: literal(\"queued\"),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048),\n\t\twaitingCount: number().int().positive().max(50)\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\tprimaryDispatchId: string().min(1).nullable(),\n\t\treasonCode: string().min(1).max(160),\n\t\tstatus: enumFactory([\"conflict\", \"retry_later\"]),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048)\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\tprimaryDispatchId: nullFactory(),\n\t\treasonCode: literal(\"agent_profile_work_coordinator.queue_full\"),\n\t\tstatus: literal(\"queue_full\"),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048),\n\t\twaitingCount: literal(50)\n\t})\n]);\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema = enumFactory([\n\t\"accepted\",\n\t\"execution_linked\",\n\t\"publication_intent_ready\",\n\t\"queued\",\n\t\"stopped_before_execution\",\n\t\"waiting\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema = string().trim().min(1).max(160);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema = enumFactory([\n\t\"space_access_unavailable\",\n\t\"binding_required\",\n\t\"agent_profile_unavailable\",\n\t\"local_agent_unavailable\",\n\t\"local_connection_mismatch\",\n\t\"provider_access_unavailable\",\n\t\"provider_usage_unavailable\",\n\t\"service_not_connected\",\n\t\"update_required\",\n\t\"wake_route_registration_pending\",\n\t\"workspace_unavailable\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema = enumFactory([\n\t\"send_new_wake\",\n\t\"set_up_agent_binding\",\n\t\"enable_agent_binding\",\n\t\"repair_agent_binding\",\n\t\"authorize_agent_binding_for_organization\",\n\t\"check_status\",\n\t\"connect_local_agent\",\n\t\"enable_local_agent\",\n\t\"reconnect_agent_binding\",\n\t\"review_agent_settings\",\n\t\"start_or_restart_openmeld_service\",\n\t\"update_openmeld_service\",\n\t\"wait_for_usage_report\",\n\t\"wait_for_usage_reset\",\n\t\"wait_for_wake_route_report\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema = enumFactory([\n\t\"dispatch_preflight\",\n\t\"dispatch_delivery_pre_execution\",\n\t\"runtime_coordinator_head_waiting_deadline\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionRequestSchema = strictObject({\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdispatchId: string().min(1),\n\tidempotencyKey: string().min(1).max(512),\n\tdecisionSource: runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema.optional(),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\tpublicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema,\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tok: literal(true),\n\tprimaryDispatchId: string().min(1),\n\tpublicationIntentId: string().min(1).max(4096),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\truntimeCoordinatorExecutionId: nullFactory(),\n\tstatus: enumFactory([\"publication_intent_ready\", \"already_recorded\"]),\n\ttargetWakeLifecycleId: string().min(1).max(2048)\n}), strictObject({\n\tok: literal(false),\n\tprimaryDispatchId: string().min(1).nullable(),\n\tpublicationIntentId: string().min(1).max(4096).nullable(),\n\treasonCode: string().min(1).max(160),\n\truntimeCoordinatorExecutionId: nullFactory(),\n\tstatus: enumFactory([\"conflict\", \"retry_later\"]),\n\ttargetWakeLifecycleId: string().min(1).max(2048)\n})]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema = enumFactory([\n\t\"wake.device_wait.access_check_unavailable\",\n\t\"daemon.service.draining\",\n\t\"daemon.profile.offline\",\n\t\"daemon.profile.pending_first_report\",\n\t\"wake.device_wait.readiness_checking\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema = enumFactory([\n\t\"space_access_unavailable\",\n\t\"service_not_connected\",\n\t\"wake_route_registration_pending\",\n\t\"local_agent_unavailable\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema = enumFactory([\n\t\"start_or_restart_openmeld_service\",\n\t\"wait_for_wake_route_report\",\n\t\"check_status\"\n]);\nconst runtimeCoordinatorOfflineWaitingDecisionShape = {\n\treasonCode: literal(\"daemon.profile.offline\"),\n\tuserRecoveryAction: literal(\"start_or_restart_openmeld_service\"),\n\twaitingCategory: literal(\"service_not_connected\")\n};\nconst runtimeCoordinatorPendingFirstReportWaitingDecisionShape = {\n\treasonCode: literal(\"daemon.profile.pending_first_report\"),\n\tuserRecoveryAction: literal(\"wait_for_wake_route_report\"),\n\twaitingCategory: literal(\"wake_route_registration_pending\")\n};\nconst runtimeCoordinatorReadinessWaitingDecisionShape = {\n\treasonCode: enumFactory([\"wake.device_wait.readiness_checking\", \"daemon.service.draining\"]),\n\tuserRecoveryAction: literal(\"check_status\"),\n\twaitingCategory: literal(\"local_agent_unavailable\")\n};\nconst runtimeCoordinatorAccessWaitingDecisionShape = {\n\treasonCode: literal(\"wake.device_wait.access_check_unavailable\"),\n\tuserRecoveryAction: literal(\"check_status\"),\n\twaitingCategory: literal(\"space_access_unavailable\")\n};\nconst runtimeCoordinatorHeadWaitingBoundaryCommonShape = {\n\tdeadlineAtMs: number().int().nonnegative(),\n\tdeadlineOutcome: literal(\"publication_intent_ready\"),\n\tobservedAtMs: number().int().nonnegative(),\n\tsoftDeadlineAtMs: number().int().nonnegative(),\n\ttriggerOwner: literal(\"runtime_coordinator\"),\n\twaitingSinceMs: number().int().nonnegative()\n};\nconst runtimeTransportRuntimeCoordinatorHeadWaitingBoundarySchema = discriminatedUnion(\"reasonCode\", [\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingBoundaryCommonShape,\n\t\t...runtimeCoordinatorAccessWaitingDecisionShape,\n\t\ttrigger: literal(\"space_access_rechecked\"),\n\t\tuserVisibleState: literal(\"waiting_for_space_access\"),\n\t\twaitingFor: literal(\"space_access_check\")\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingBoundaryCommonShape,\n\t\t...runtimeCoordinatorReadinessWaitingDecisionShape,\n\t\ttrigger: literal(\"agent_readiness_reported\"),\n\t\tuserVisibleState: literal(\"waiting_for_agent_readiness\"),\n\t\twaitingFor: literal(\"agent_readiness_report\")\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingBoundaryCommonShape,\n\t\t...runtimeCoordinatorOfflineWaitingDecisionShape,\n\t\ttrigger: literal(\"openmeld_service_route_connected\"),\n\t\tuserVisibleState: literal(\"waiting_for_openmeld_service\"),\n\t\twaitingFor: literal(\"openmeld_service_route_connection\")\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingBoundaryCommonShape,\n\t\t...runtimeCoordinatorPendingFirstReportWaitingDecisionShape,\n\t\ttrigger: literal(\"wake_route_reported\"),\n\t\tuserVisibleState: literal(\"waiting_for_wake_route_report\"),\n\t\twaitingFor: literal(\"wake_route_report\")\n\t})\n]);\nconst runtimeCoordinatorHeadWaitingRequestCommonShape = {\n\tv: literal(1),\n\townerUserId: string().min(1),\n\tdispatchId: string().min(1),\n\tidempotencyKey: string().min(1).max(512),\n\tobservedAtMs: number().int().nonnegative(),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n};\nconst runtimeTransportRuntimeCoordinatorHeadWaitingRequestSchema = discriminatedUnion(\"reasonCode\", [\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingRequestCommonShape,\n\t\t...runtimeCoordinatorAccessWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingRequestCommonShape,\n\t\t...runtimeCoordinatorReadinessWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingRequestCommonShape,\n\t\t...runtimeCoordinatorOfflineWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingRequestCommonShape,\n\t\t...runtimeCoordinatorPendingFirstReportWaitingDecisionShape\n\t})\n]);\nconst runtimeCoordinatorHeadWaitingResponseCommonShape = {\n\tdeadlineAtMs: number().int().nonnegative(),\n\tnextTriggerAtMs: number().int().nonnegative(),\n\tok: literal(true),\n\tprimaryDispatchId: string().min(1),\n\truntimeCoordinatorExecutionId: nullFactory(),\n\tsoftDeadlineAtMs: number().int().nonnegative(),\n\tstatus: literal(\"waiting\"),\n\ttargetWakeLifecycleId: string().min(1).max(2048)\n};\nconst runtimeTransportRuntimeCoordinatorHeadWaitingResponseSchema = union([\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingResponseCommonShape,\n\t\t...runtimeCoordinatorAccessWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingResponseCommonShape,\n\t\t...runtimeCoordinatorReadinessWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingResponseCommonShape,\n\t\t...runtimeCoordinatorOfflineWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\t...runtimeCoordinatorHeadWaitingResponseCommonShape,\n\t\t...runtimeCoordinatorPendingFirstReportWaitingDecisionShape\n\t}),\n\tstrictObject({\n\t\tok: literal(true),\n\t\tprimaryDispatchId: string().min(1),\n\t\tpublicationIntentId: string().min(1).max(4096),\n\t\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\t\truntimeCoordinatorExecutionId: nullFactory(),\n\t\tstatus: literal(\"publication_intent_ready\"),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048)\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\tprimaryDispatchId: string().min(1).nullable(),\n\t\treasonCode: string().min(1).max(160),\n\t\truntimeCoordinatorExecutionId: nullFactory(),\n\t\tstatus: enumFactory([\"conflict\", \"retry_later\"]),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048)\n\t})\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionTraceSchema = strictObject({\n\tdecidedAtMs: int().min(0),\n\tpublicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\tsource: runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema,\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadPublicationIntentTraceSchema = union([strictObject({\n\tintentId: string().min(1).max(4096),\n\tkind: literal(\"no_execution_failure\"),\n\tpublicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,\n\treadyAtMs: int().min(0),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\tstatus: literal(\"ready_for_phase_6\"),\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema\n}), strictObject({\n\tintentId: string().min(1).max(4096),\n\tkind: literal(\"stopped_notice\"),\n\treadyAtMs: int().min(0),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema,\n\tstatus: literal(\"ready_for_phase_6\")\n})]);\nconst runtimeTransportRuntimeCoordinatorHeadPublicationOutcomeTraceSchema = strictObject({\n\tfailurePublicationCommandId: string().min(1).max(4096),\n\tfinalMessageKind: enumFactory([\n\t\t\"failure_notice\",\n\t\t\"status\",\n\t\t\"success_reply\",\n\t\t\"unknown\"\n\t]).nullable(),\n\tobservedAtMs: int().min(0),\n\tpublicationErrorCode: string().min(1).max(160).nullable(),\n\tpublishedSignalId: string().min(1).nullable(),\n\tstatus: enumFactory([\n\t\t\"failure_published\",\n\t\t\"already_final\",\n\t\t\"failure_publication_failed\"\n\t])\n});\nconst runtimeTransportRuntimeCoordinatorHeadPublicationExhaustionTraceSchema = strictObject({\n\tattemptCount: int().positive(),\n\texhaustedAtMs: int().min(0),\n\tlastFailureAtMs: int().min(0),\n\tlastReasonCode: string().min(1).max(160),\n\treasonCode: literal(\"runtime_coordinator.publication_retry_exhausted\"),\n\tstatus: literal(\"publication_exhausted\")\n});\nconst runtimeTransportRuntimeCoordinatorHeadTargetDisplayTraceSchema = strictObject({\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.nullable(),\n\ttargetProfileName: string().min(1).max(64).nullable()\n});\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRecordSchema = strictObject({\n\tcreatedAtMs: int().min(0),\n\tduplicateDispatchCount: int().min(0),\n\texecutionLinkedAtMs: int().min(0).nullable(),\n\tmodelVersion: literal(\"openmeld.runtime_coordinator.head_lifecycle.v1\"),\n\tnoExecutionDecision: union([runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionTraceSchema, nullFactory()]),\n\townerUserId: string().min(1),\n\tprimaryDispatchId: string().min(1),\n\tpublicationIntent: union([runtimeTransportRuntimeCoordinatorHeadPublicationIntentTraceSchema, nullFactory()]),\n\tpublicationExhaustion: runtimeTransportRuntimeCoordinatorHeadPublicationExhaustionTraceSchema.optional(),\n\tpublicationOutcome: runtimeTransportRuntimeCoordinatorHeadPublicationOutcomeTraceSchema.optional(),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),\n\tstatus: runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema,\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema,\n\ttargetWakeLifecycleId: string().min(1).max(2048),\n\ttargetDisplay: runtimeTransportRuntimeCoordinatorHeadTargetDisplayTraceSchema.optional(),\n\tupdatedAtMs: int().min(0),\n\twaitingBoundary: union([runtimeTransportRuntimeCoordinatorHeadWaitingBoundarySchema, nullFactory()])\n});\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRequestSchema = strictObject({\n\tv: literal(1),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleTraceResponseSchema = discriminatedUnion(\"readStatus\", [\n\tstrictObject({\n\t\tlifecycle: runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRecordSchema,\n\t\tok: literal(true),\n\t\treadStatus: literal(\"found\")\n\t}),\n\tstrictObject({\n\t\tok: literal(true),\n\t\treadStatus: literal(\"missing\"),\n\t\treasonCode: literal(\"runtime_coordinator.head_lifecycle_not_found\"),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048)\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\treadStatus: literal(\"authority_unavailable\"),\n\t\treasonCode: string().min(1).max(160),\n\t\ttargetWakeLifecycleId: string().min(1).max(2048)\n\t})\n]);\nconst runtimeTransportPreExecutionHandoffReasonCodeSchema = enumFactory([\"daemon.profile.offline\"]);\nconst runtimeTransportPreExecutionHandoffRequestSchema = strictObject({\n\tv: literal(1),\n\tattemptId: string().min(1).nullable().optional(),\n\tautoRelayDepth: number().int().nonnegative().optional(),\n\tdispatchChainId: string().min(1).nullable().optional(),\n\tdispatchId: string().min(1),\n\tfirstSeenAtMs: number().int().nonnegative(),\n\tidempotencyKey: string().min(1).max(512),\n\tobservedAtMs: number().int().nonnegative(),\n\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\tsourceClientMessageId: string().min(1).max(200).nullable().optional(),\n\tsourceEventId: string().min(1),\n\tspaceId: string().min(1),\n\tspacePassword: spacePasswordSchema.optional(),\n\ttargetProfileId: string().min(1),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileName: string().min(1).max(64).optional(),\n\ttaskId: string().min(1),\n\tthreadContext: spaceThreadContextSchema.optional(),\n\tvisitedProfileIds: array(string().min(1)).max(256).optional(),\n\tvisitedProfileIdsHash: string().min(1).nullable().optional()\n});\nconst runtimeTransportPreExecutionHandoffResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\tdeadlineAtMs: number().int().nonnegative(),\n\t\tnextAlarmAtMs: number().int().nonnegative(),\n\t\tok: literal(true),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tstatus: literal(\"waiting_for_recovery\")\n\t}),\n\tstrictObject({\n\t\tdeadlineAtMs: number().int().nonnegative(),\n\t\tok: literal(true),\n\t\tpublishedSignalId: string().min(1),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tresultRef: string().min(1),\n\t\tstatus: literal(\"failure_published\")\n\t}),\n\tstrictObject({\n\t\tdeadlineAtMs: number().int().nonnegative(),\n\t\tnextPublicationRetryAtMs: number().int().nonnegative(),\n\t\tok: literal(true),\n\t\tpublicationErrorCode: string().min(1),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tresultRef: string().min(1),\n\t\tstatus: literal(\"failure_publication_retry_scheduled\")\n\t}),\n\tstrictObject({\n\t\tdeadlineAtMs: number().int().nonnegative(),\n\t\tok: literal(true),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tstatus: literal(\"handoff_recovered\")\n\t}),\n\tstrictObject({\n\t\tdeadlineAtMs: number().int().nonnegative(),\n\t\tok: literal(true),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tstatus: literal(\"legacy_evidence_only\")\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\treasonCode: string().min(1),\n\t\tstatus: literal(\"retry_later\")\n\t})\n]);\nconst runtimeTransportDispatchLifecyclePhaseSchema = enumFactory([\n\t\"accepted_local\",\n\t\"running\",\n\t\"completed_local\"\n]);\nconst runtimeTransportAgentControllerConversationOccupancySchema = strictObject({\n\tagentControllerConversationId: string().trim().min(1),\n\tcontractVersion: literal(1),\n\tstate: enumFactory([\"available\", \"occupied\"])\n});\nconst runtimeTransportDispatchLocalQueueWaitReasonSchema = enumFactory([\n\t\"agent_controller_maintenance\",\n\t\"global_concurrency\",\n\t\"local_execution_lane_concurrency\",\n\t\"none\"\n]);\nconst runtimeTransportDispatchLocalQueueDiagnosticsSchema = strictObject({\n\tactiveForLane: number().int().nonnegative(),\n\tactiveGlobal: number().int().nonnegative(),\n\tglobalConcurrency: number().int().positive(),\n\tqueueDepth: number().int().nonnegative(),\n\tqueueMax: number().int().positive(),\n\tqueuePosition: union([number().int().positive(), nullFactory()]),\n\tstatus: enumFactory([\"queued\", \"starting_runtime\"]),\n\twaitReason: runtimeTransportDispatchLocalQueueWaitReasonSchema\n});\nconst runtimeTransportDispatchLifecycleRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tphase: runtimeTransportDispatchLifecyclePhaseSchema,\n\tlifecycleAtMs: number().int().nonnegative(),\n\tagentControllerConversationOccupancy: runtimeTransportAgentControllerConversationOccupancySchema.optional(),\n\tlocalQueue: runtimeTransportDispatchLocalQueueDiagnosticsSchema.optional()\n});\nconst runtimeTransportDispatchRuntimeEvidencePhaseSchema = enumFactory([\n\t\"received\",\n\t\"claimed\",\n\t\"runtime_started\",\n\t\"first_output\",\n\t\"completed\",\n\t\"failed\"\n]);\nconst runtimeTransportDispatchRuntimeEvidenceRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tphase: runtimeTransportDispatchRuntimeEvidencePhaseSchema,\n\tevidenceAtMs: number().int().nonnegative(),\n\ttaskId: string().min(1),\n\tspaceId: string().min(1),\n\tsourceSignalId: string().min(1),\n\tsourceClientMessageId: string().min(1).max(200).nullable().optional(),\n\ttargetProfileId: string().min(1),\n\tclaimLeaseId: string().min(1).optional(),\n\tdurationMs: number().finite().nonnegative().optional(),\n\treasonCode: string().trim().min(1).max(160).optional(),\n\terrorName: string().trim().min(1).max(160).optional()\n});\nconst LOCAL_AGENT_TOOL_ACTIVITY_NAMES = [\n\t\"agent_run_command\",\n\t\"agent_read_files\",\n\t\"agent_edit_files\",\n\t\"agent_search_files\",\n\t\"agent_search_web\",\n\t\"agent_open_webpage\",\n\t\"agent_delegate_task\",\n\t\"agent_work_with_image\",\n\t\"agent_use_tool\"\n];\nconst localAgentToolActivityNameSchema = enumFactory(LOCAL_AGENT_TOOL_ACTIVITY_NAMES);\nconst localAgentStreamToolPartSchema = agentStreamToolPartSchema.extend({ toolName: localAgentToolActivityNameSchema });\nconst runtimeTransportDispatchToolActivityRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tsequence: number().int().positive(),\n\tobservedAtMs: number().int().nonnegative(),\n\ttaskId: string().min(1),\n\tspaceId: string().min(1),\n\tsourceSignalId: string().min(1),\n\ttargetProfileId: string().min(1),\n\tpart: localAgentStreamToolPartSchema\n});\nconst runtimeTransportDispatchInteractionRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema,\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\ttaskId: string().min(1),\n\tinteraction: agentInteractionRequestSchema\n});\nconst runtimeTransportDispatchInteractionResponseFramePayloadSchema = strictObject({\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\tinteractionId: string().trim().min(1).max(256),\n\tresponse: agentInteractionResponseSchema,\n\trespondedAtMs: number().int().nonnegative()\n});\nconst runtimeTransportDispatchInteractionDeliveredRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema,\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tinteractionId: string().trim().min(1).max(256),\n\tdeliveredAtMs: number().int().nonnegative()\n});\nconst runtimeTransportRuntimeCoordinatorReadInteractionRequestSchema = strictObject({\n\tv: literal(1),\n\tactorOwnerUserId: string().min(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId\n});\nconst runtimeTransportRuntimeCoordinatorReadInteractionResponseSchema = strictObject({ pendingInteraction: agentInteractionPendingSummarySchema.nullable() });\nconst runtimeTransportRuntimeCoordinatorRespondInteractionRequestSchema = strictObject({\n\tv: literal(1),\n\tactorOwnerUserId: string().min(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tinteractionId: string().trim().min(1).max(256),\n\tresponse: agentInteractionResponseSchema\n});\nconst runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema = discriminatedUnion(\"status\", [strictObject({\n\tok: literal(true),\n\tstatus: enumFactory([\"accepted\", \"already_resolved\"]),\n\trespondedAtMs: number().int().nonnegative()\n}), strictObject({\n\tok: literal(false),\n\tstatus: enumFactory([\n\t\t\"expired\",\n\t\t\"interaction_mismatch\",\n\t\t\"not_found\",\n\t\t\"owner_mismatch\",\n\t\t\"response_invalid\",\n\t\t\"retry_later\"\n\t]),\n\tmessage: string().trim().min(1).max(1e3)\n})]);\nconst nullableLifecyclePhaseTimestampSchema = union([number().int().nonnegative(), nullFactory()]);\nconst runtimeTransportDispatchLifecycleSnapshotSchema = strictObject({\n\tphase: enumFactory([\n\t\t\"starting\",\n\t\t\"accepted_local\",\n\t\t\"running\",\n\t\t\"completed_local\",\n\t\t\"result_received\"\n\t]),\n\tcreatedAtMs: number().int().nonnegative(),\n\tacceptedLocalAtMs: nullableLifecyclePhaseTimestampSchema,\n\trunningAtMs: nullableLifecyclePhaseTimestampSchema,\n\tcompletedLocalAtMs: nullableLifecyclePhaseTimestampSchema,\n\tlastLifecycleAtMs: number().int().nonnegative()\n});\nconst runtimeTransportWaitDispatchResultResponseSchema = discriminatedUnion(\"state\", [\n\tstrictObject({\n\t\tstate: literal(\"completed\"),\n\t\tlifecycle: runtimeTransportDispatchLifecycleSnapshotSchema.optional(),\n\t\ttaskResult: openMeldDaemonTaskResultEnvelopeSchema\n\t}),\n\tstrictObject({\n\t\tstate: literal(\"pending\"),\n\t\tlifecycle: runtimeTransportDispatchLifecycleSnapshotSchema\n\t}),\n\tstrictObject({\n\t\tstate: literal(\"failed\"),\n\t\tlifecycle: runtimeTransportDispatchLifecycleSnapshotSchema.optional(),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t})\n]);\nconst runtimeTransportSubmitTaskResultRequestSchema = strictObject({\n\tv: literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1).optional(),\n\texecutionIdentityEcho: runtimeTransportResultIdentityEchoSchema,\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\ttaskResult: openMeldDaemonTaskResultEnvelopeSchema\n});\nconst runtimeTransportSubmitTaskResultResponseSchema = discriminatedUnion(\"status\", [\n\tstrictObject({\n\t\tok: literal(true),\n\t\tstatus: literal(\"accepted\")\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\tstatus: literal(\"review_required\"),\n\t\treasonCode: literal(\"space.agent_reply.context_changed\")\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\tstatus: literal(\"retry_later\"),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t}),\n\tstrictObject({\n\t\tok: literal(false),\n\t\tstatus: literal(\"rejected_terminal\"),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t})\n]);\nconst runtimeTransportDispatchPreviewRequestSchema = strictObject({\n\tv: literal(1),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\tpreviewText: string().min(1).max(MAX_TEXT_LENGTH)\n});\nconst runtimeTransportDispatchPreviewEndRequestSchema = strictObject({\n\tv: literal(1),\n\tdispatchId: string().min(1),\n\tattemptId: string().min(1),\n\tdaemonSessionId: string().min(1),\n\tconnectionGeneration: number().int().positive(),\n\tleaseEpoch: number().int().positive(),\n\ttargetProfileName: string().min(1).max(64).optional()\n});\nconst daemonStreamCodeSchema = enumFactory([\n\t\"daemon.computer_file_access.read_policy\",\n\t\"daemon.computer_file_access.read_policy_result\",\n\t\"daemon.computer_file_access.update_policy\",\n\t\"daemon.computer_file_access.update_policy_result\",\n\t\"daemon.local_folder_picker.select_folders\",\n\t\"daemon.local_folder_picker.select_folders_result\",\n\t\"daemon.session.register\",\n\t\"daemon.session.heartbeat\",\n\t\"daemon.dispatch.deliver\",\n\t\"daemon.dispatch.lifecycle\",\n\t\"daemon.dispatch.runtime_evidence\",\n\t\"daemon.dispatch.tool_activity\",\n\t\"daemon.dispatch.interaction_request\",\n\t\"daemon.dispatch.interaction_response\",\n\t\"daemon.dispatch.interaction_delivered\",\n\t\"daemon.dispatch.preview\",\n\t\"daemon.dispatch.preview_end\",\n\t\"daemon.dispatch.accepted\",\n\t\"daemon.dispatch.result\",\n\t\"daemon.route_catalog.changed\",\n\t\"daemon.local_agent_control.cancel\",\n\t\"daemon.local_agent_control.interrupt\",\n\t\"daemon.local_agent_control.fork_session\",\n\t\"daemon.local_agent_control.manage_installation\",\n\t\"daemon.local_agent_control.refresh_catalog\",\n\t\"daemon.local_agent_control.set_enabled\",\n\t\"daemon.local_agent_control.set_profile_workspace\",\n\t\"daemon.local_agent_control.result\",\n\t\"daemon.openmeld_tools_control.request\",\n\t\"daemon.openmeld_tools_control.result\",\n\t\"daemon.execution_recovery.resume_controller_conversation\",\n\t\"daemon.execution_recovery.resume_controller_conversation_result\",\n\t\"daemon.local_project_control.discover_projects\",\n\t\"daemon.local_project_control.discover_projects_result\",\n\t\"daemon.local_project_control.connect_candidate\",\n\t\"daemon.local_project_control.connect_candidate_result\",\n\t\"daemon.local_project_control.connect_declared_path\",\n\t\"daemon.local_project_control.connect_declared_path_result\",\n\t\"daemon.local_project_control.set_default_connection\",\n\t\"daemon.local_project_control.set_default_connection_result\",\n\t\"daemon.local_project_control.remove_connection\",\n\t\"daemon.local_project_control.remove_connection_result\",\n\t\"daemon.local_project_control.remove_missing_connections\",\n\t\"daemon.local_project_control.remove_missing_connections_result\",\n\t\"daemon.error\"\n]);\nconst daemonStreamFrameSchema = strictObject({\n\tv: literal(1),\n\tcode: daemonStreamCodeSchema,\n\tpayload: record(string(), unknown())\n});\nconst daemonStreamErrorFrameCodeSchema = runtimeTransportErrorCodeSchema.or(union([literal(\"schema.invalid\"), literal(\"schema.invalid.runtime_response\")]));\nconst daemonStreamErrorFrameSchema = strictObject({\n\tv: literal(1),\n\tcode: literal(\"daemon.error\"),\n\tpayload: strictObject({\n\t\tcode: daemonStreamErrorFrameCodeSchema,\n\t\tmessage: string().min(1)\n\t})\n});\n//#endregion\nexport { CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, LOCAL_AGENT_TOOL_ACTIVITY_NAMES, MAX_RUNTIME_TRANSPORT_AGENT_PROFILE_WORK_USAGE_AVAILABLE_TARGETS, RUNTIME_TRANSPORT_SCHEMA_VERSION, daemonExecutionCompatibilitySchema, daemonRuntimeContractReasonCodeSchema, daemonRuntimeContractSchema, daemonStreamCodeSchema, daemonStreamErrorFrameCodeSchema, daemonStreamErrorFrameSchema, daemonStreamFrameSchema, localAgentToolActivityNameSchema, localWakeRouteReportSchema, localWakeRouteWorkingFolderObservationSchema, localWakeRouteWorkingFolderReasonCodeSchema, runtimeTransportAgentControllerConversationOccupancySchema, runtimeTransportAgentProfileExecutionStateRequestSchema, runtimeTransportAgentProfileExecutionStateResponseSchema, runtimeTransportAgentProfileExecutionTargetMutationAcquireResponseSchema, runtimeTransportAgentProfileExecutionTargetMutationReleaseResponseSchema, runtimeTransportAgentProfileExecutionTargetMutationRequestSchema, runtimeTransportAgentProfileOperationalContextSchema, runtimeTransportAgentProfileOperationalContextsRequestSchema, runtimeTransportAgentProfileOperationalContextsResponseSchema, runtimeTransportAgentProfileWorkContinuationAuthorizeRequestSchema, runtimeTransportAgentProfileWorkContinuationAuthorizeResponseSchema, runtimeTransportAgentProfileWorkContinuationNeedsAttentionRequestSchema, runtimeTransportAgentProfileWorkContinuationNeedsAttentionResponseSchema, runtimeTransportAgentProfileWorkQueueApproveRequestSchema, runtimeTransportAgentProfileWorkQueueApproveResponseSchema, runtimeTransportAgentProfileWorkRecoveryActionSchema, runtimeTransportAgentProfileWorkRecoveryReadRequestSchema, runtimeTransportAgentProfileWorkRecoveryReadResponseSchema, runtimeTransportAgentProfileWorkSkipRequestSchema, runtimeTransportAgentProfileWorkSkipResponseSchema, runtimeTransportAgentProfileWorkUsageAvailableRequestSchema, runtimeTransportAgentProfileWorkUsageAvailableResponseSchema, runtimeTransportBaseCapabilitiesSchema, runtimeTransportCapabilitiesSchema, runtimeTransportDeletedAgentProfileWakeCancellationRequestSchema, runtimeTransportDeletedAgentProfileWakeCancellationResponseSchema, runtimeTransportDeliverDispatchPayloadSchema, runtimeTransportDeliverDispatchRequestSchema, runtimeTransportDeliverDispatchResponseSchema, runtimeTransportDisconnectRatesResponseSchema, runtimeTransportDispatchInteractionDeliveredRequestSchema, runtimeTransportDispatchInteractionRequestSchema, runtimeTransportDispatchInteractionResponseFramePayloadSchema, runtimeTransportDispatchLifecyclePhaseSchema, runtimeTransportDispatchLifecycleRequestSchema, runtimeTransportDispatchLifecycleSnapshotSchema, runtimeTransportDispatchLocalQueueDiagnosticsSchema, runtimeTransportDispatchLocalQueueWaitReasonSchema, runtimeTransportDispatchPreviewEndRequestSchema, runtimeTransportDispatchPreviewRequestSchema, runtimeTransportDispatchRuntimeEvidencePhaseSchema, runtimeTransportDispatchRuntimeEvidenceRequestSchema, runtimeTransportDispatchSourceSignalSchema, runtimeTransportDispatchToolActivityRequestSchema, runtimeTransportErrorCodeSchema, runtimeTransportForkAgentSessionRequestSchema, runtimeTransportForkAgentSessionResultSchema, runtimeTransportHeartbeatRequestSchema, runtimeTransportHeartbeatResponseSchema, runtimeTransportInspectExecutionRecoveryRequestSchema, runtimeTransportInspectExecutionRecoveryResponseSchema, runtimeTransportLeaseSchema, runtimeTransportLocalAgentControlCancelFramePayloadSchema, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema, runtimeTransportLocalAgentControlInterruptFramePayloadSchema, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, runtimeTransportLocalAgentControlResultFramePayloadSchema, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, runtimeTransportLookupOwnerServiceRequestSchema, runtimeTransportLookupOwnerServiceResponseSchema, runtimeTransportLookupRouteOwnerServiceEvidenceSchema, runtimeTransportLookupRouteRequestSchema, runtimeTransportLookupRouteResponseSchema, runtimeTransportLookupRoutesBatchRequestSchema, runtimeTransportLookupRoutesBatchResponseSchema, runtimeTransportManageLocalAgentInstallationRequestSchema, runtimeTransportManageLocalAgentInstallationResponseSchema, runtimeTransportNotifyRouteCatalogChangedRequestSchema, runtimeTransportNotifyRouteCatalogChangedResponseSchema, runtimeTransportOpenMeldToolsControlFramePayloadSchema, runtimeTransportOpenMeldToolsControlRequestSchema, runtimeTransportOpenMeldToolsControlResponseSchema, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema, runtimeTransportPreExecutionHandoffReasonCodeSchema, runtimeTransportPreExecutionHandoffRequestSchema, runtimeTransportPreExecutionHandoffResponseSchema, runtimeTransportRefreshLocalAgentCatalogRequestSchema, runtimeTransportRefreshLocalAgentCatalogResponseSchema, runtimeTransportRegisterSessionRequestSchema, runtimeTransportRegisterSessionResponseSchema, runtimeTransportRejectedProfileRegistrationSchema, runtimeTransportResumeControllerConversationFramePayloadSchema, runtimeTransportResumeControllerConversationRequestSchema, runtimeTransportResumeControllerConversationResponseSchema, runtimeTransportResumeControllerConversationResultFramePayloadSchema, runtimeTransportResumeControllerConversationResultSchema, runtimeTransportRouteCatalogChangedFramePayloadSchema, runtimeTransportRouteCatalogChangedReasonSchema, runtimeTransportRuntimeCoordinatorDecisionEventKindSchema, runtimeTransportRuntimeCoordinatorDecisionRequestSchema, runtimeTransportRuntimeCoordinatorDecisionResponseSchema, runtimeTransportRuntimeCoordinatorDecisionTriggerSchema, runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema, runtimeTransportRuntimeCoordinatorHeadAcceptRequestSchema, runtimeTransportRuntimeCoordinatorHeadAcceptResponseSchema, runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema, runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRecordSchema, runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRequestSchema, runtimeTransportRuntimeCoordinatorHeadLifecycleTraceResponseSchema, runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema, runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema, runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema, runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema, runtimeTransportRuntimeCoordinatorHeadNoExecutionRequestSchema, runtimeTransportRuntimeCoordinatorHeadNoExecutionResponseSchema, runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema, runtimeTransportRuntimeCoordinatorHeadPreAgentStopRequestSchema, runtimeTransportRuntimeCoordinatorHeadPreAgentStopResponseSchema, runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema, runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema, runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema, runtimeTransportRuntimeCoordinatorHeadWaitingRequestSchema, runtimeTransportRuntimeCoordinatorHeadWaitingResponseSchema, runtimeTransportRuntimeCoordinatorReadInteractionRequestSchema, runtimeTransportRuntimeCoordinatorReadInteractionResponseSchema, runtimeTransportRuntimeCoordinatorRespondInteractionRequestSchema, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, runtimeTransportRuntimeCoordinatorWakeStopRequestSchema, runtimeTransportRuntimeCoordinatorWakeStopResponseSchema, runtimeTransportSessionDisconnectDiagnosticSchema, runtimeTransportSetLocalAgentEnabledRequestSchema, runtimeTransportSetLocalAgentEnabledResponseSchema, runtimeTransportSetProfileWorkspaceRequestSchema, runtimeTransportSetProfileWorkspaceResponseSchema, runtimeTransportSocketCloseReasonCodeSchema, runtimeTransportSocketDisconnectClassSchema, runtimeTransportSocketDisconnectRateBucketSchema, runtimeTransportSubmitTaskResultRequestSchema, runtimeTransportSubmitTaskResultResponseSchema, runtimeTransportWaitDispatchResultRequestSchema, runtimeTransportWaitDispatchResultResponseSchema };\n\n//# sourceMappingURL=runtime-transport.js.map"],"mappings":";;;;;;AACA,MAAM,4BAA4B;CACjC,cAAc;CACd,oBAAoB;CACpB,0BAA0B;CAC1B,qBAAqB;CACrB,oBAAoB;CACpB,oBAAoB;CACpB,4BAA4B;CAC5B,uBAAuB;CACvB,0BAA0B;CAC1B,uBAAuB;CACvB,qBAAqB;CACrB,yBAAyB;CACzB,wBAAwB;AACzB;AACA,SAAS,+BAA+B,UAAU;CACjD,OAAO,0BAA0B;AAClC;;;ACjBA,MAAM,gCAAgC;AACtC,MAAM,8BAA8B;AACpC,MAAM,qBAAqB;AAC3B,MAAM,8CAA8C;AACpD,MAAM,2BAA2B;AACjC,MAAM,2BAA2B;AACjC,MAAM,mCAAmC;AACzC,MAAM,+BAA+B,IAAI,IAAI;CAC5C;CACA;CACA;AACD,CAAC;AACD,MAAM,2CAA2C,IAAI,I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CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,mBAAmB;EAC9B,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,yDAAyD;EACpE,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU;GACT;GACA;GACA;GACA;EACD;EACA,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,6BAA6B,WAAW;EAC9D,MAAM;EACN,UAAU;GACT;GACA;GACA;EACD;EACA,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,sCAAsC;EACjD,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,6BAA6B,WAAW;EAC9D,MAAM;EACN,UAAU;GACT;GACA;GACA;EACD;EACA,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU;GACT;GACA;GACA;GACA;GACA;EACD;EACA,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU;GACT;GACA;GACA;GACA;EACD;EACA,gBAAgB;CACjB;CACA;EACC,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,wDAAwD;EACnE,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,sDAAsD;EACjE,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,+BAA+B,0CAA0C;EACpF,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU,CAAC,wCAAwC;EACnD,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,wBAAwB;EACxB,qBAAqB;EACrB,qBAAqB;EACrB,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,mBAAmB,eAAe,iDAAiD,uBAAuB,UAAU,EAAE;EACtH,UAAU;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,uBAAuB;EACvB,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,OAAO,eAAe,GAAG,WAAW;EACpC,MAAM;EACN,UAAU;GACT;GACA;GACA;GACA;EACD;EACA,iBAAiB;EACjB,gBAAgB;CACjB;CACA;EACC,MAAM;EACN,MAAM;EACN,UAAU,CAAC,wCAAwC,8DAA8D;EACjH,gBAAgB;CACjB;CACA;EACC,MAAM;EACN,MAAM;EACN,UAAU;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACD;EACA,gBAAgB;CACjB;CACA;EACC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M,uBAAuB,IAAI,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG;AAC/D,MAAM,mBAAmB;AACzB,MAAM,wBAAwB;AAC9B,MAAM,2BAA2B;AACjC,MAAM,8BAA8B,IAAI,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,QAAQ,UAAU,CAACC,sBAAoB,KAAK,GAAG,EAAE,SAAS,oDAAoD,CAAC;AACvL,SAASA,sBAAoB,OAAO;CACnC,KAAK,MAAM,aAAa,OAAO;EAC9B,MAAM,YAAY,UAAU,YAAY,CAAC;EACzC,IAAI,cAAc,KAAK,MAAM,aAAa,MAAM,aAAa,OAAO,aAAa,MAAM,OAAO;CAC/F;CACA,OAAO;AACR;AACA,MAAM,6BAA6B,IAAI,KAAK;CAC3C;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,6BAA6B,IAAI,KAAK;CAC3C;CACA;CACA;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AAC,IAAI,CAAC,CAAC,CAAC,IAAI,GAAG;AAChE,MAAM,gCAAgC,UAAU;CAC/C,MAAM,SAAS,sBAAsB,UAAU,KAAK;CACpD,OAAO,OAAO,UAAU,OAAO,OAAO;AACvC;;;ACJA,MAAM,QAAQC,IAAI;AAClB,MAAM,eAAeA,IAAI;AACzB,MAAM,0CAA0C,IAAI,IAAI;CACvD;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,yCAAyC,IAAI,IAAI,CAAC,SAAS,QAAQ,CAAC;AAC1E,MAAM,qBAAqB,OAAO,6BAA6B;AAC/D,MAAM,iBAAiBA,IAAI;AAC3B,SAAS,WAAW,cAAc;CACjC,IAAI;CACJ,IAAI;CACJ,MAAM,SAAS,OAAO,OAAO,IAAI;CACjC,IAAI,uBAAuB;CAC3B,MAAM,sBAAsB;EAC3B,WAAW,aAAa;EACxB,OAAO;CACR;CACA,MAAM,wBAAwB,aAAa;EAC1C,MAAM,WAAW,cAAc;EAC/B,MAAM,QAAQ,QAAQ,IAAI,UAAU,UAAU,QAAQ;EACtD,OAAO,OAAO,UAAU,aAAa,MAAM,KAAK,QAAQ,IAAI;CAC7D;CACA,MAAM,qBAAqB,UAAU,SAAS,iBAAiB;EAC9D,MAAM,WAAW,cAAc;EAC/B,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