openmeld 0.3.42

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runtime-transport-rv43yBPB.js","names":["nonEmptyStringSchema","normalizeOptionalText","nullableIdentifierSchema","boundedIdentifierSchema","isoDateTimeSchema","MULTI_SPACE_PATTERN","boundedIdentifierSchema","boundedIdentifierSchema","boundedReasonCodeSchema","nullablePositiveIntegerSchema","boundedIdentifierSchema","boundedReasonCodeSchema","nullableNonEmptyStringSchema","MULTI_SPACE_PATTERN","ISO_DATE_TIME_SCHEMA","signalStatusDataSchema","signalSystemNoticeDataSchema","signalSystemNoticeSchema"],"sources":["../../../packages/schemas/dist/agent-recovery-action.js","../../../packages/schemas/dist/agent-work-activity.js","../../../packages/schemas/dist/navigation-action.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/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-mention-label.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/protocol/client-message-id.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/agent-stream.js","../../../packages/schemas/dist/schemas/protocol/message-envelope.js","../../../packages/schemas/dist/schemas/protocol/target-wake-lifecycle.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/space-mesh/space-thread.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/protocol/center-agent-interaction-source.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/conversation-compaction.js","../../../packages/schemas/dist/schemas/protocol/space-attachment.js","../../../packages/schemas/dist/schemas/protocol/signal.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 OpenMeld Service\",\n\tconnect_local_agent: \"Connect local agent\",\n\tmanage_cursor_plan: \"Manage Cursor plan\",\n\treconnect_openmeld_service: \"Reconnect OpenMeld Service\",\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 Service\",\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 { z } from \"zod/v4\";\n//#region src/navigation-action.ts\nconst nonEmptyStringSchema = z.string().trim().min(1);\nconst LOCAL_WEB_URL = \"http://localhost\";\nconst TRAILING_SLASH_PATTERN = /\\/+$/u;\nconst computerSetupModeSchema = z.enum([\n\t\"setup\",\n\t\"reconnect\",\n\t\"update_service\"\n]);\nconst openMeldWebUrlSchema = z.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.discriminatedUnion(\"mode\", [\n\tz.strictObject({\n\t\tkind: z.literal(\"computer_setup\"),\n\t\tmode: z.literal(\"setup\")\n\t}),\n\tz.strictObject({\n\t\tconnectedComputerId: nonEmptyStringSchema,\n\t\tkind: z.literal(\"computer_setup\"),\n\t\tmode: z.literal(\"reconnect\")\n\t}),\n\tz.strictObject({\n\t\tconnectedComputerId: nonEmptyStringSchema,\n\t\tkind: z.literal(\"computer_setup\"),\n\t\tmode: z.literal(\"update_service\")\n\t})\n]);\nconst openMeldNavigationTargetSchema = z.union([\n\tz.strictObject({\n\t\tkind: z.literal(\"organization_app\"),\n\t\tservice: z.literal(\"github\")\n\t}),\n\tz.strictObject({\n\t\tkind: z.literal(\"space\"),\n\t\tspaceId: nonEmptyStringSchema\n\t}),\n\tz.strictObject({ kind: z.literal(\"projects\") }),\n\tz.strictObject({\n\t\tkind: z.literal(\"project\"),\n\t\tprojectId: nonEmptyStringSchema\n\t}),\n\tz.strictObject({ kind: z.literal(\"slack_identity_link\") }),\n\tz.strictObject({\n\t\tconnectToUserId: nonEmptyStringSchema.optional(),\n\t\tkind: z.literal(\"message_channel_identity_link\"),\n\t\tpurpose: z.enum([\"continue_request\", \"optional_setup\"]),\n\t\trequestedAction: nonEmptyStringSchema.max(160).optional()\n\t}),\n\tcomputerSetupNavigationTargetSchema\n]);\nconst navigationActionSchema = z.strictObject({\n\tlabel: nonEmptyStringSchema,\n\ttarget: openMeldNavigationTargetSchema,\n\turl: openMeldWebUrlSchema\n});\nfunction buildOrganizationRootPath(orgSlug) {\n\treturn `/o/${encodePathSegment(nonEmptyStringSchema.parse(orgSlug))}`;\n}\nfunction buildOrganizationAppsPath(orgSlug) {\n\treturn `${buildOrganizationRootPath(orgSlug)}/center-agent/apps`;\n}\nfunction buildOrganizationAppPath(input) {\n\treturn `${buildOrganizationAppsPath(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/apps/${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 Service\";\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, buildOrganizationAppPath, buildOrganizationAppsPath, buildOrganizationRootPath, buildOrganizationSpacePath, buildSlackIdentityLinkNavigationAction, computerSetupModeSchema, computerSetupNavigationTargetSchema, navigationActionSchema, openMeldNavigationTargetSchema, openMeldWebUrlSchema };\n\n//# sourceMappingURL=navigation-action.js.map","import { formatAgentRecoveryActionLabel } from \"./agent-recovery-action.js\";\nimport { z } from \"zod/v4\";\n//#region src/public-agent-failure-reason.ts\nconst PROJECT_LOCAL_CONNECTION_FAILURE_REASON_CODES = [\"project.local_connection.missing\", \"project.local_connection.folder_missing\"];\nconst projectLocalConnectionFailureReasonCodeSchema = z.enum(PROJECT_LOCAL_CONNECTION_FAILURE_REASON_CODES);\nconst CODEX_UPGRADE_REQUIRED_REASON = \"Codex on this device is too old for the current model. Upgrade Codex on this device, then try again.\";\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 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 OPENCLAW_PERMISSION_REQUIRED_RE = /\\b[a-z0-9_]+_permission_required\\b/;\nconst LEADING_ERROR_CODE_PREFIX_RE = /^[a-z][\\w.]*:\\s+/i;\nconst HTML_ERROR_BODY_RE = /^\\s*</;\nconst DISPATCH_ERROR_SUMMARY_MAX_LENGTH = 512;\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 local OpenMeld Service 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\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: \"Remote Agent can answer now.\",\n\t\tavailabilityTooltip: \"Remote Agent available\",\n\t\tpatterns: [\"=remote_agent.available\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Resting\",\n\t\tavailabilitySummary: \"Remote Agent is resting until the next budget window.\",\n\t\tavailabilityTooltip: \"Remote Agent resting\",\n\t\tpatterns: [\"=remote_agent.budget_resting\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Unavailable\",\n\t\tavailabilitySummary: \"Remote Agent cannot answer right now.\",\n\t\tavailabilityTooltip: \"Remote Agent unavailable\",\n\t\tpatterns: [\"remote_agent.\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Available\",\n\t\tavailabilitySummary: \"Can reply from this computer in Spaces.\",\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 OpenMeld Service.\",\n\t\tavailabilityTooltip: \"Checking OpenMeld Service\",\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 Wake route is unavailable right now. Check OpenMeld Service on its computer.\",\n\t\tavailabilityTooltip: \"Wake route unavailable. Check OpenMeld Service on its computer.\",\n\t\tpatterns: [\"=wake_route.registration_unavailable\"]\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"This agent's connection is offline. Check OpenMeld Service on its computer.\",\n\t\tavailabilityTooltip: \"Agent connection is offline. Check OpenMeld Service on its computer.\",\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}'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 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: \"Blocked\",\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 Claude Code subscription needs attention before this agent can reply. Open Claude Code and check the Claude Code subscription for this local agent.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=provider_account.subscription_access_unavailable\"],\n\t\tprimaryActionId: \"reconnect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Blocked\",\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 Claude Code access is disabled before this agent can reply. Open Claude Code or ask your Claude admin to enable Claude Code access for this local agent.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=provider_account.organization_access_disabled\"],\n\t\tprimaryActionId: \"reconnect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Blocked\",\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: \"local_service\",\n\t\tpatterns: [\"provider_account.\"],\n\t\tprimaryActionId: \"reconnect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\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: \"Wake access off\",\n\t\tavailabilitySummary: \"Turn on Wake access before this agent can reply in this Organization.\",\n\t\tavailabilityTooltip: \"Wake access is off for this Organization\",\n\t\tbody: (targetName) => `Wake access is off for ${targetName} in this organization. Turn it on to let ${targetName} reply in this Space.`,\n\t\tkind: \"system_retry\",\n\t\tpatterns: [\"organization_binding_authorization.\"],\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.binding_runtime_mismatch\",\n\t\t\t\"claim_eligibility.openmeld_service_runtime_id_missing\",\n\t\t\t\"claim_eligibility.openmeld_service_runtime_id_mismatch\",\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\tbody: (targetName) => `${targetName} is connected to a different local agent setup. Update setup on this computer, then try again.`,\n\t\tkind: \"local_agent_prepare\",\n\t\tpatterns: [\"claim_eligibility.binding_capability_mismatch\"],\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) => `This Wake expired before it reached ${formatObjectTargetName(targetName)}. Start or reconnect OpenMeld Service, 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. Start or reconnect OpenMeld Service, 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: (targetName) => `${targetName} stopped making progress on this Wake. Reconnect OpenMeld Service 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 OpenMeld Service 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 OpenMeld Service on this computer before this agent can reply.\",\n\t\tavailabilityTooltip: \"OpenMeld Service is not connected on this computer.\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld Service is not running on this computer. Start OpenMeld Service so this computer 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 OpenMeld Service on this computer before this agent can reply.\",\n\t\tavailabilityTooltip: \"OpenMeld Service is not connected on this computer.\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld Service is not installed on this computer. Install OpenMeld Service so this computer 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: \"Update\",\n\t\tavailabilitySummary: \"Update OpenMeld Service before this agent can reply.\",\n\t\tavailabilityTooltip: \"Update OpenMeld Service\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld Service on this computer needs repair before it can receive local Wake work.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=service.drifted\"],\n\t\tprimaryActionId: \"update_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"Connect OpenMeld Service on this computer before this agent can reply.\",\n\t\tavailabilityTooltip: \"OpenMeld Service is not connected on this computer.\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld Service is not connected for this OpenMeld account on this computer. Reconnect OpenMeld Service for this account.`,\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 OpenMeld Service on this computer before this agent can reply.\",\n\t\tavailabilityTooltip: \"OpenMeld Service is not connected on this computer.\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld Service is using a different local runtime than this agent expects. Reconnect OpenMeld Service on this computer.`,\n\t\tkind: \"local_service\",\n\t\tpatterns: [\"=local_service.identity_mismatch\"],\n\t\tprimaryActionId: \"reconnect_openmeld_service\",\n\t\trecoveryTarget: \"prepare_setup\"\n\t},\n\t{\n\t\tavailabilityBadgeLabel: \"Offline\",\n\t\tavailabilitySummary: \"Connect OpenMeld Service on this computer before this agent can reply.\",\n\t\tavailabilityTooltip: \"OpenMeld Service is not connected on this computer.\",\n\t\tbody: (targetName) => `${targetName} is connected, but OpenMeld could not check OpenMeld Service for this account. Reconnect OpenMeld Service 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: \"OpenMeld Service is reconnecting on this computer.\",\n\t\tavailabilityTooltip: \"Reconnecting OpenMeld Service\",\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 connection is offline. Check OpenMeld Service on its computer.\",\n\t\tavailabilityTooltip: \"Agent connection is offline. Check OpenMeld Service on its 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: [\"=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 Wake route is unavailable right now. Check OpenMeld Service on its computer.\",\n\t\tavailabilityTooltip: \"Wake route unavailable. Check OpenMeld Service on its 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: [\"=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 Service before this agent can reply.\",\n\t\tavailabilityTooltip: \"Update OpenMeld Service\",\n\t\tbody: \"OpenMeld Service must be updated before this computer 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 Service is not installed 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) => `OpenMeld could not reach ${formatObjectTargetName(targetName)} on this computer for this Wake. Reconnect OpenMeld Service, 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: \"connect_local_agent\",\n\t\trecoveryTarget: \"prepare_setup\"\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 resolveDetailedPublicAgentFailureReason(errorMessage) {\n\tconst normalizedMessage = normalizeProviderFailureMessage(errorMessage);\n\tif (!normalizedMessage) return null;\n\tconst lowered = normalizedMessage.toLowerCase();\n\tconst usageLimitReason = resolveProviderUsageLimitPassthroughReason(normalizedMessage, lowered);\n\tif (usageLimitReason) return usageLimitReason;\n\tconst providerFailureReason = resolveRuntimeOrProviderAccountFailureReason(lowered);\n\tif (providerFailureReason) return providerFailureReason;\n\tif (lowered.includes(\"model is not supported\") && lowered.includes(\"chatgpt account\")) return \"The current Codex model is not available for this ChatGPT-backed account.\";\n\tif (lowered.includes(\"requires a newer version of codex\")) return CODEX_UPGRADE_REQUIRED_REASON;\n\tif (lowered.includes(\"model is not supported\") || lowered.includes(\"unsupported model\")) return UNSUPPORTED_MODEL_PUBLIC_COPY;\n\tif (lowered.includes(\"oauth token refresh failed\") || lowered.includes(\"failed to refresh oauth token\")) {\n\t\tif (lowered.includes(\"openclaw logs --follow\")) return \"Authentication failed in OpenClaw. Run `openclaw logs --follow`, re-authenticate, then retry.\";\n\t\treturn \"Authentication failed while refreshing the provider token. Re-authenticate in the provider CLI, then retry.\";\n\t}\n\tif (isClaudeCodeSubscriptionAccessFailure(lowered)) return \"Claude Code subscription access is unavailable. Check your Claude Code subscription, then try again.\";\n\tif (isClaudeCodeAccountAccessFailure(lowered)) return \"Claude Code access is disabled for this account or organization. Enable Claude Code access in Claude, then try again.\";\n\tif (lowered.includes(\"openclaw is not installed or not on path\")) return \"OpenMeld could not start OpenClaw on this device. Install OpenClaw or fix its PATH for background services, then try again.\";\n\tif (lowered.includes(\"launch contract is required for runtime dispatch\")) return \"OpenMeld could not start this agent on this device. Repair it on this device, then try again.\";\n\tif (lowered.includes(\"openmeld found more than one\") && lowered.includes(\"install\")) return \"OpenMeld found more than one install for this agent on this device. Choose which one OpenMeld should use here, then try again.\";\n\tif (isProviderUnreachableFailure(lowered)) return \"The model provider was unreachable. Check provider status or network access, then wake the agent again.\";\n\treturn null;\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: \"system_retry\",\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 isProviderBalanceFailure(value) {\n\treturn value.includes(\"insufficient balance\") || value.includes(\"insufficient_balance\") || value.includes(\"not enough credits\") || value.includes(\"out of credits\") || value.includes(\"credits exhausted\") || value.includes(\"credit balance\") || value.includes(\"account balance\") || value.includes(\"balance is too low\") || value.includes(\"payment required\");\n}\nfunction isRuntimePermissionApprovalFailure(value) {\n\treturn value.includes(\"permission.denied.runtime\") || value.includes(\"permission requested\") && (value.includes(\"auto-reject\") || value.includes(\"auto rejecting\") || value.includes(\"auto rejected\") || value.includes(\"rejecting\")) || value.includes(\"permission for this tool use was denied\") || value.includes(\"permission for this action was denied\") || value.includes(\"permission for this action has been denied\") || value.includes(\"denied by auto mode classifier\") || value.includes(\"user rejected tool use\") || value.includes(\"command denied by sandbox:\") || value.includes(\"sandbox denied exec error\") || value.includes(\"this action was rejected due to unacceptable risk\") || value.includes(\"execution denied:\") && (value.includes(\"policy\") || value.includes(\"forbidden\") || value.includes(\"approval\") || value.includes(\"sandbox\")) || value.includes(\"rejected:\") && value.includes(\"blocked by policy\") || value.includes(\"requires approval\") && value.includes(\"policy\") || value.includes(\"policy forbids commands starting\") || value.includes(\"system_run_denied:\") || value.includes(\"system_run_disabled: security=deny\") || value.includes(\"exec denied:\") || value.includes(\"exec.denied\") || value.includes(\"permission:screenrecording\") || OPENCLAW_PERMISSION_REQUIRED_RE.test(value);\n}\nfunction resolveProviderUsageLimitPassthroughReason(rawMessage, lowered) {\n\tif (!(lowered.includes(\"usage limit\") || lowered.includes(\"hit your usage limit\"))) return null;\n\treturn normalizeOptionalText(stripLeadingErrorCodePrefix(rawMessage));\n}\nfunction stripLeadingErrorCodePrefix(value) {\n\treturn value.replace(LEADING_ERROR_CODE_PREFIX_RE, \"\");\n}\nfunction resolveRuntimeOrProviderAccountFailureReason(value) {\n\tif (isRuntimePermissionApprovalFailure(value)) return RUNTIME_PERMISSION_DENIAL_PUBLIC_COPY;\n\tif (isProviderBalanceFailure(value)) return \"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\tif (isProviderCredentialFailure(value)) return \"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\tif (isProviderRateLimitFailure(value)) return \"The model provider rate-limited this request. Wait a moment, then wake the agent again.\";\n\tif (isProviderUnavailableFailure(value)) return PROVIDER_UNAVAILABLE_PUBLIC_COPY;\n\treturn null;\n}\nfunction isProviderCredentialFailure(value) {\n\treturn value.includes(\"invalid api key\") || value.includes(\"invalid token\") || value.includes(\"expired token\") || value.includes(\"missing api key\") || value.includes(\"missing credentials\") || value.includes(\"authentication_failed\") || value.includes(\"oauth_org_not_allowed\") || value.includes(\"failed to authenticate\") || value.includes(\"oauth session expired\") || value.includes(\"unauthorized\") || value.includes(\"not logged in\") || value.includes(\"401\");\n}\nfunction isProviderRateLimitFailure(value) {\n\treturn value.includes(\"rate limit\") || value.includes(\"rate_limit\") || value.includes(\"too many requests\") || value.includes(\"throttl\") || value.includes(\"429\");\n}\nfunction isProviderUnavailableFailure(value) {\n\treturn value.includes(\"bad gateway\") || value.includes(\"gateway timeout\") || value.includes(\"service unavailable\") || value.includes(\"provider unavailable\") || value.includes(\"provider is unavailable\") || value.includes(\"socket hang up\") || value.includes(\"econnreset\") || value.includes(\"etimedout\");\n}\nfunction isProviderUnreachableFailure(value) {\n\tconst hasProviderContext = value.includes(\"provider\") || value.includes(\"upstream\") || value.includes(\"network\") || value.includes(\"connection\") || value.includes(\"request\");\n\treturn value.includes(\"upstream_unreachable\") || value.includes(\"provider_unreachable\") || value.includes(\"provider unavailable\") || value.includes(\"provider is unavailable\") || value.includes(\"upstream unavailable\") || value.includes(\"connection refused\") || value.includes(\"network unreachable\") || value.includes(\"dns\") || (value.includes(\"timeout\") || value.includes(\"timed out\")) && hasProviderContext;\n}\nfunction isClaudeCodeAccountAccessFailure(value) {\n\treturn value.includes(\"organization\") && value.includes(\"disabled\") && value.includes(\"access\") || value.includes(\"claude code\") && (value.includes(\"access is disabled\") || value.includes(\"disabled claude code\") || value.includes(\"access unavailable\") || value.includes(\"not enabled\"));\n}\nfunction isClaudeCodeSubscriptionAccessFailure(value) {\n\treturn value.includes(\"subscription\") && (value.includes(\"disabled\") || value.includes(\"inactive\") || value.includes(\"required\") || value.includes(\"unavailable\"));\n}\nfunction normalizeProviderFailureMessage(value) {\n\tconst normalized = normalizeOptionalText(value);\n\tif (!normalized) return null;\n\treturn normalizeOptionalText(extractJsonDetail(normalized)) ?? normalized;\n}\nfunction extractJsonDetail(value) {\n\ttry {\n\t\tconst parsed = JSON.parse(value);\n\t\tif (!parsed || typeof parsed !== \"object\" || Array.isArray(parsed)) return null;\n\t\tconst record = parsed;\n\t\treturn normalizeOptionalText(record.detail) ?? normalizeOptionalText(record.message) ?? (record.error && typeof record.error === \"object\" && !Array.isArray(record.error) ? normalizeOptionalText(record.error.message) : null);\n\t} catch {\n\t\treturn null;\n\t}\n}\nfunction formatObjectTargetName(targetName) {\n\treturn targetName === \"This agent\" ? \"this agent\" : targetName;\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 { 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, isProjectLocalConnectionFailureReasonCode, projectLocalConnectionFailureReasonCodeSchema, resolveDetailedPublicAgentFailureReason, 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 { z } from \"zod/v4\";\n//#region src/schemas/protocol/shared.ts\nconst trimmedStringFromUnknown = (value) => String(value ?? \"\").trim();\nconst nonEmptyTrimmedStringFromUnknown = z.preprocess(trimmedStringFromUnknown, z.string().min(1));\nconst finiteIntegerNumber = z.number().int().finite();\nconst optionalBooleanQuerySchema = z.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.boolean().optional());\n//#endregion\nexport { finiteIntegerNumber, nonEmptyTrimmedStringFromUnknown, optionalBooleanQuerySchema, trimmedStringFromUnknown };\n\n//# sourceMappingURL=shared.js.map"," \nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport { z } 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.enum([\"openmeld_managed\", \"custom\"]);\nconst profileWorkingDirectorySchema = z.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.preprocess((value) => {\n\tconst parsed = z.enum(PROFILE_KIND_VALUES).safeParse(value);\n\treturn parsed.success ? parsed.data : \"agent\";\n}, z.enum(PROFILE_KIND_VALUES));\nconst profileKindSchema = z.enum(PROFILE_KIND_VALUES);\nconst profileLabelSchema = z.string().min(1).max(64);\nconst profileHandleSchema = z.string().min(1).max(128).regex(PROFILE_HANDLE_PATTERN);\nconst genericProfileIdSchema = z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(64));\nconst uuidProfileIdSchema = z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(64).regex(UUID_PROFILE_ID_PATTERN));\nconst agentProfileIdSchema = z.preprocess(trimmedStringFromUnknown, z.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.preprocess(trimmedStringFromUnknown, z.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.object({\n\tkind: profileKindWithFallbackSchema.optional(),\n\tprofileId: genericProfileIdSchema,\n\tprofileHandle: z.unknown().optional(),\n\tprofileName: z.unknown().optional(),\n\towner: z.unknown().optional(),\n\townerName: z.unknown().optional(),\n\tagentControllerRef: z.unknown().optional(),\n\tagentControllerConversationId: z.unknown().optional(),\n\tworkingDirectory: z.unknown().optional(),\n\tavatarUrl: z.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"," \nimport { openMeldRuntimeProfileIdSchema, profileHandleSchema, profileKindSchema, profileLabelSchema } from \"../protocol/profile.js\";\nimport { z } from \"zod/v4\";\n//#region src/schemas/daemon/profile-identity.ts\nconst nonEmptyTextSchema = z.string().transform((value) => value.trim()).refine((value) => value.length > 0, \"Expected non-blank text\");\nconst OPENMELD_SYSTEM_PROFILE_ID = \"openmeld-system\";\nconst openMeldSystemProfileIdSchema = z.literal(OPENMELD_SYSTEM_PROFILE_ID);\nconst openMeldActorProfileIdSchema = z.union([openMeldRuntimeProfileIdSchema, openMeldSystemProfileIdSchema]);\nconst visitedProfileIdsSchema = z.array(openMeldRuntimeProfileIdSchema).max(256);\nconst openMeldProfileIdSchema = openMeldRuntimeProfileIdSchema;\nconst resolvedOpenMeldProfileSchema = z.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.string().min(1).optional()\n});\nconst openMeldActorContextSchema = z.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.string().min(1).optional(),\n\tagentControllerRef: nonEmptyTextSchema.optional(),\n\tdispatchChainId: nonEmptyTextSchema.optional(),\n\tautoRelayDepth: z.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.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 { z } from \"zod/v4\";\n//#region src/schemas/http/execution-recovery.ts\nconst requiredIdentifierSchema = z.string().trim().min(1).max(512);\nconst nullableIdentifierSchema = requiredIdentifierSchema.nullable();\nconst executionRecoveryActionSchema = z.enum([\n\t\"recover_result\",\n\t\"resume_controller_conversation\",\n\t\"retry_as_new_execution\"\n]);\nconst executionRecoveryTierSchema = z.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.discriminatedUnion(\"surface\", [z.strictObject({\n\tsurface: z.literal(\"space\"),\n\tspaceId: requiredIdentifierSchema,\n\tthreadId: nullableIdentifierSchema\n}), z.strictObject({\n\tsurface: z.enum([\"slack\", \"lark\"]),\n\tconversationId: requiredIdentifierSchema,\n\tmessageId: nullableIdentifierSchema,\n\tspaceId: requiredIdentifierSchema\n})]);\nconst executionRecoveryIdentitySchema = z.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.strictObject({\n\taction: executionRecoveryActionSchema,\n\tenabled: z.boolean(),\n\tlabel: z.enum([\n\t\t\"Recover result\",\n\t\t\"Recover reply\",\n\t\t\"Continue conversation\",\n\t\t\"Retry as new execution\"\n\t]),\n\treasonCode: requiredIdentifierSchema,\n\twarning: z.string().trim().min(1).max(1e3).nullable()\n});\nconst executionRecoveryProjectionSchema = z.strictObject({\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\ttier: executionRecoveryTierSchema,\n\tstatus: z.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.strictObject({\n\t\trecoverResult: executionRecoveryActionCapabilitySchema,\n\t\tresumeControllerConversation: executionRecoveryActionCapabilitySchema,\n\t\tretryAsNewExecution: executionRecoveryActionCapabilitySchema\n\t}),\n\trecoveredPublicationId: nullableIdentifierSchema,\n\tupdatedAtMs: z.number().int().nonnegative()\n});\nconst inspectExecutionRecoveryQuerySchema = z.strictObject({ dispatchId: requiredIdentifierSchema });\nconst inspectExecutionRecoveryResponseSchema = z.strictObject({ recovery: executionRecoveryProjectionSchema });\nconst executeExecutionRecoveryBodySchema = z.strictObject({\n\taction: executionRecoveryActionSchema,\n\toperationId: requiredIdentifierSchema,\n\texpectedIdentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema\n});\nconst executeExecutionRecoveryResponseSchema = z.strictObject({\n\tstatus: z.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 { z } from \"zod/v4\";\n//#region src/schemas/http/organization-information-protection.ts\nconst ORGANIZATION_PROTECTED_INFORMATION_MAX_CHARS = 2e3;\nconst boundedIdentifierSchema = z.string().trim().min(1).max(256);\nconst isoDateTimeSchema = z.iso.datetime({ offset: true });\nconst organizationProtectedInformationSchema = z.string().trim().min(1).max(ORGANIZATION_PROTECTED_INFORMATION_MAX_CHARS);\nconst organizationInformationProtectionPolicyResponseSchema = z.strictObject({\n\torganizationId: boundedIdentifierSchema,\n\tprotectedInformation: organizationProtectedInformationSchema.nullable(),\n\tupdatedAt: isoDateTimeSchema.nullable(),\n\tupdatedByUserId: boundedIdentifierSchema.nullable()\n});\nconst updateOrganizationInformationProtectionPolicyBodySchema = z.strictObject({ protectedInformation: organizationProtectedInformationSchema.nullable() });\n//#endregion\nexport { ORGANIZATION_PROTECTED_INFORMATION_MAX_CHARS, organizationInformationProtectionPolicyResponseSchema, organizationProtectedInformationSchema, updateOrganizationInformationProtectionPolicyBodySchema };\n\n//# sourceMappingURL=organization-information-protection.js.map","import { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { z } 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.enum(SPACE_MENTION_LABEL_SOURCE_VALUES);\nconst spaceMentionLabelSchema = z.preprocess(normalizeRawMentionLabelCandidate, z.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 { z } 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.string().transform(normalizeSpacePasswordText).pipe(z.string().min(6));\nconst createSpacePasswordBodySchema = z.strictObject({ password: spacePasswordSchema.optional() });\nconst upsertSpacePasswordBodySchema = z.strictObject({ password: spacePasswordSchema });\nconst spacePasswordStateSchema = z.strictObject({ passwordProtected: z.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 { z } 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.string().trim().min(1).max(512);\nconst runtimeExecutionAuthorityOpenMeldServiceRuntimeIdSchema = z.strictObject({\n\tsource: z.literal(\"runtime_registry_authority\"),\n\tvalue: boundedIdentifierSchema\n});\nconst runtimeExecutionIdentityCoreSchema = z.strictObject({\n\tmodelVersion: z.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.strictObject({\n\tauthority: z.literal(\"core_runtime_registry_binding_route\"),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\nconst runtimeTransportRuntimeEvidenceIdentityEchoSchema = z.strictObject({\n\techoSource: z.literal(\"daemon_delivery_context\"),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\nconst runtimeTransportResultIdentityEchoSchema = z.strictObject({\n\techoSource: z.literal(\"daemon_delivery_context\"),\n\tcore: runtimeExecutionIdentityCoreSchema\n});\nconst spaceTraceExecutionIdentityProjectionSchema = z.strictObject({\n\tfactSource: z.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.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 { z } 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.string().trim().min(1).max(512);\nconst boundedNullableIdentifierSchema = boundedIdentifierSchema.nullable();\nconst boundedReasonCodeSchema = z.string().trim().min(1).max(160);\nconst nullablePositiveIntegerSchema = z.number().int().positive().nullable();\nconst nullableTimestampSchema = z.number().int().nonnegative().nullable();\nconst runtimeCoordinatorExecutionTokenSchema = z.string().trim().min(32).max(256).regex(/^rcet_v1_[A-Za-z0-9_-]+$/);\nconst runtimeCoordinatorTokenValidationHashSchema = z.string().trim().regex(/^sha256:[a-f0-9]{64}$/);\nconst runtimeCoordinatorTokenFingerprintSchema = z.string().trim().regex(/^etfp_v1_[a-f0-9]{16,64}$/);\nconst runtimeCoordinatorTokenStatusSchema = z.enum([\n\t\"active\",\n\t\"superseded\",\n\t\"expired\",\n\t\"revoked\",\n\t\"terminal\"\n]);\nconst runtimeCoordinatorTokenReasonCodeSchema = z.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.strictObject({\n\tdispatchId: boundedIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\tsourceClientMessageId: boundedIdentifierSchema.nullable(),\n\tspaceId: boundedIdentifierSchema,\n\ttargetProfileId: boundedIdentifierSchema\n});\nconst runtimeCoordinatorTokenAuthorityScopeSchema = z.strictObject({\n\tbindingId: boundedIdentifierSchema,\n\tagentControllerRef: boundedIdentifierSchema,\n\topenMeldServiceRuntimeId: boundedIdentifierSchema\n});\nconst runtimeCoordinatorTokenDeliveryProvenanceSchema = z.strictObject({\n\tconnectionGeneration: nullablePositiveIntegerSchema,\n\tdaemonSessionId: boundedNullableIdentifierSchema,\n\tleaseEpoch: nullablePositiveIntegerSchema\n});\nconst runtimeCoordinatorExecutionTokenEnvelopeSchema = z.strictObject({\n\tauthorityScope: runtimeCoordinatorTokenAuthorityScopeSchema,\n\tdeliveryIdempotencyKey: boundedIdentifierSchema,\n\tdeliveryProvenance: runtimeCoordinatorTokenDeliveryProvenanceSchema,\n\texecutionScope: runtimeCoordinatorTokenExecutionScopeSchema,\n\texecutionToken: runtimeCoordinatorExecutionTokenSchema,\n\texpiresAtMs: nullableTimestampSchema,\n\tissuedAtMs: z.number().int().nonnegative(),\n\tmodelVersion: z.literal(RUNTIME_COORDINATOR_EXECUTION_TOKEN_MODEL_VERSION),\n\trunId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema,\n\ttokenStatus: z.literal(\"active\")\n});\nconst runtimeCoordinatorExecutionTokenEchoSchema = z.strictObject({\n\texecutionToken: runtimeCoordinatorExecutionTokenSchema,\n\trunId: boundedIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema\n});\nconst runtimeCoordinatorTokenProjectionSchema = z.strictObject({\n\tdeliveryIdempotencyKey: boundedIdentifierSchema,\n\texpiresAtMs: nullableTimestampSchema,\n\tissuedAtMs: z.number().int().nonnegative(),\n\tmodelVersion: z.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.strictObject({\n\tignoredEventSummary: z.string().trim().min(1).max(1e3).nullable(),\n\tmodelVersion: z.literal(RUNTIME_COORDINATOR_TOKEN_DIAGNOSTIC_MODEL_VERSION),\n\tobservedAtMs: z.number().int().nonnegative(),\n\treasonCode: runtimeCoordinatorTokenReasonCodeSchema,\n\trunId: boundedNullableIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\ttokenFingerprint: runtimeCoordinatorTokenFingerprintSchema.nullable(),\n\ttokenStatus: runtimeCoordinatorTokenStatusSchema.nullable()\n});\nconst runtimeCoordinatorTokenRunAuthoritySchema = z.strictObject({\n\tdeliveryIdempotencyKey: boundedIdentifierSchema,\n\tdeliveryProvenance: runtimeCoordinatorTokenDeliveryProvenanceSchema,\n\texpiresAtMs: nullableTimestampSchema,\n\tissuedAtMs: z.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.string().trim().min(1).max(4096).nullable(),\n\ttokenStatus: runtimeCoordinatorTokenStatusSchema,\n\ttokenValidationHash: runtimeCoordinatorTokenValidationHashSchema\n});\nconst runtimeCoordinatorExecutionTokenAuthorityRecordSchema = z.strictObject({\n\tauthorityScope: runtimeCoordinatorTokenAuthorityScopeSchema,\n\tcurrentRunId: boundedNullableIdentifierSchema,\n\texecutionScope: runtimeCoordinatorTokenExecutionScopeSchema,\n\tmodelVersion: z.literal(RUNTIME_COORDINATOR_TOKEN_AUTHORITY_MODEL_VERSION),\n\tretention: z.strictObject({\n\t\tlastPrunedAtMs: nullableTimestampSchema,\n\t\tlateResultWindowMs: z.number().int().nonnegative(),\n\t\tmaxRetiredRuns: z.number().int().positive()\n\t}),\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\trunsById: z.record(boundedIdentifierSchema, runtimeCoordinatorTokenRunAuthoritySchema),\n\tterminalOutcome: z.strictObject({\n\t\tfinalizedAtMs: z.number().int().nonnegative(),\n\t\treasonCode: boundedReasonCodeSchema,\n\t\treplySignalId: boundedNullableIdentifierSchema,\n\t\tstatus: z.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.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.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 { z } 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.string().trim().min(1).max(512);\nconst boundedReasonCodeSchema = z.string().trim().min(1).max(160);\nconst nullableSourceClientMessageIdSchema = z.string().trim().min(1).max(200).nullable();\nconst nullableIdentifierSchema = boundedIdentifierSchema.nullable();\nconst nullablePositiveIntegerSchema = z.number().int().positive().nullable();\nconst runtimeCoordinatorExecutionStatusSchema = z.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.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.strictObject({\n\tkind: z.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.number().int().nonnegative()\n});\nconst runtimeCoordinatorCancellationStatusSchema = z.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.strictObject({\n\tstatus: runtimeCoordinatorCancellationStatusSchema,\n\treasonCode: boundedReasonCodeSchema.nullable(),\n\tobservedAtMs: z.number().int().nonnegative().nullable()\n});\nconst runtimeCoordinatorLegacyPointersSchema = z.strictObject({\n\tattemptId: nullableIdentifierSchema,\n\tclaimLeaseId: nullableIdentifierSchema,\n\tdaemonSessionId: nullableIdentifierSchema,\n\tconnectionGeneration: nullablePositiveIntegerSchema,\n\tleaseEpoch: nullablePositiveIntegerSchema\n});\nconst runtimeCoordinatorExecutionRecordSchema = z.strictObject({\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\tmodelVersion: z.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.number().int().nonnegative(),\n\tupdatedAtMs: z.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.strictObject({\n\teventId: boundedIdentifierSchema,\n\truntimeCoordinatorExecutionId: boundedIdentifierSchema,\n\teventType: runtimeCoordinatorExecutionEventTypeSchema,\n\tstatusAfter: runtimeCoordinatorExecutionStatusSchema.nullable(),\n\treasonCode: boundedReasonCodeSchema.nullable(),\n\tobservedAtMs: z.number().int().nonnegative(),\n\tidempotencyKey: boundedIdentifierSchema,\n\tpayloadJson: runtimeCoordinatorSafeEventPayloadJsonSchema\n});\nconst runtimeCoordinatorExecutionCreationStatusSchema = z.enum([\"not_created\"]);\nconst runtimeCoordinatorExecutionCreationDiagnosticSchema = z.strictObject({\n\tmodelVersion: z.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.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 { z } from \"zod/v4\";\n//#region src/schemas/protocol/client-message-id.ts\nconst clientMessageIdSchema = z.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 { nonEmptyTrimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { runtimeCoordinatorCancellationStateSchema, runtimeCoordinatorExecutionRecordSchema } from \"../daemon/runtime-coordinator-execution.js\";\nimport { clientMessageIdSchema } from \"../protocol/client-message-id.js\";\nimport { z } from \"zod/v4\";\n//#region src/schemas/http/space-wake-stop.ts\nconst boundedReasonCodeSchema = z.string().trim().min(1).max(160);\nconst boundedSelectorIdSchema = z.string().trim().min(1).max(512);\nconst wakeStopReasonSchema = z.string().trim().min(1).max(512);\nconst spaceWakeStopSelectorSchema = z.discriminatedUnion(\"by\", [z.strictObject({\n\tby: z.literal(\"source_signal\"),\n\tsourceSignalId: boundedSelectorIdSchema,\n\ttargetProfileId: boundedSelectorIdSchema\n}), z.strictObject({\n\tby: z.literal(\"client_message\"),\n\tclientMessageId: clientMessageIdSchema,\n\ttargetProfileId: boundedSelectorIdSchema\n})]);\nconst postSpaceWakeStopBodySchema = z.strictObject({\n\treason: wakeStopReasonSchema.optional(),\n\ttarget: spaceWakeStopSelectorSchema\n});\nconst postSpaceWakeStopInputSchema = z.strictObject({\n\tbody: postSpaceWakeStopBodySchema,\n\tspaceId: nonEmptyTrimmedStringFromUnknown\n});\nconst spaceWakeStopResponseBaseSchema = z.strictObject({ targetProfileId: boundedSelectorIdSchema });\nconst wakeStopExecutionIdSchema = runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId;\nconst wakeStopModeSchema = z.enum([\n\t\"openmeld_owned_pre_agent\",\n\t\"controller_control\",\n\t\"remote_agent_native_delivery\"\n]);\nconst wakeStopRequestPendingCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z.enum([\"requested\", \"delivery_pending\"]) });\nconst wakeStopCancelledCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z.literal(\"cancelled\") });\nconst wakeStopNotRequestedCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z.literal(\"not_requested\") });\nconst wakeStopNotStoppableCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z.enum([\"not_requested\", \"local_control_rejected\"]) });\nconst wakeStopUnsupportedCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z.literal(\"unsupported\") });\nconst wakeStopRetryLaterCancellationStateSchema = runtimeCoordinatorCancellationStateSchema.extend({ status: z.literal(\"delivery_rejected\") });\nconst wakeStopSuccessResponseBaseSchema = spaceWakeStopResponseBaseSchema.extend({\n\tok: z.literal(true),\n\truntimeCoordinatorExecutionId: wakeStopExecutionIdSchema.nullable(),\n\tstopMode: wakeStopModeSchema.optional()\n});\nconst wakeStopFailureResponseBaseSchema = spaceWakeStopResponseBaseSchema.extend({\n\tok: z.literal(false),\n\treasonCode: boundedReasonCodeSchema,\n\truntimeCoordinatorExecutionId: wakeStopExecutionIdSchema.nullable()\n});\nconst postSpaceWakeStopResponseSchema = z.discriminatedUnion(\"status\", [\n\twakeStopSuccessResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopRequestPendingCancellationStateSchema,\n\t\tstatus: z.literal(\"cancellation_requested\")\n\t}),\n\twakeStopSuccessResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopCancelledCancellationStateSchema,\n\t\tstatus: z.literal(\"cancelled\")\n\t}),\n\twakeStopSuccessResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopCancelledCancellationStateSchema,\n\t\tstatus: z.literal(\"already_cancelled\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopNotRequestedCancellationStateSchema,\n\t\tstatus: z.literal(\"not_found\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopNotStoppableCancellationStateSchema,\n\t\tstatus: z.literal(\"not_stoppable\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopUnsupportedCancellationStateSchema,\n\t\tstatus: z.literal(\"unsupported\")\n\t}),\n\twakeStopFailureResponseBaseSchema.extend({\n\t\tcancellationState: wakeStopRetryLaterCancellationStateSchema,\n\t\tstatus: z.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 { z } from \"zod/v4\";\n//#region src/schemas/local-components.ts\nconst LOCAL_COMPONENTS_SCHEMA_VERSION = 1;\nconst nonEmptyStringSchema = z.string().trim().min(1);\nconst nullableNonEmptyStringSchema = nonEmptyStringSchema.nullable();\nconst localComponentStatusSchema = z.enum([\n\t\"ok\",\n\t\"update_available\",\n\t\"update_required\"\n]);\nconst localComponentUpdatePolicySchema = z.enum([\n\t\"ok\",\n\t\"available\",\n\t\"required\"\n]);\nconst localComponentUpdateStatusSchema = z.enum([\n\t\"current\",\n\t\"update_available\",\n\t\"update_required\",\n\t\"unknown\"\n]);\nconst localSetupActionSchema = z.enum([\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 = z.literal(\"setup\");\nconst localComponentsManifestSchema = z.strictObject({\n\tschemaVersion: z.literal(1),\n\topenMeldReleaseVersion: nonEmptyStringSchema,\n\tcli: z.strictObject({\n\t\tpackageVersion: nonEmptyStringSchema,\n\t\tcommandContractVersion: nonEmptyStringSchema\n\t}),\n\tservice: z.strictObject({\n\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\tbundleVersion: nonEmptyStringSchema,\n\t\truntimeContractEpoch: nonEmptyStringSchema,\n\t\tserviceContractVersion: nonEmptyStringSchema\n\t}),\n\tskills: z.strictObject({\n\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\tskillContractVersion: nonEmptyStringSchema,\n\t\tskillIds: z.array(nonEmptyStringSchema)\n\t})\n});\nconst localComponentsReleaseManifestSchema = z.strictObject({\n\tschemaVersion: z.literal(1),\n\tupdatedAt: z.iso.datetime({ offset: true }),\n\tcomponents: z.strictObject({\n\t\tcli: z.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: z.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: z.strictObject({\n\t\t\tbundleHash: nullableNonEmptyStringSchema,\n\t\t\tskillContractVersion: nonEmptyStringSchema,\n\t\t\tskillIds: z.array(nonEmptyStringSchema),\n\t\t\tupdatePolicy: localComponentUpdatePolicySchema,\n\t\t\treason: nonEmptyStringSchema\n\t\t})\n\t})\n});\nconst installedLocalComponentsSnapshotSchema = z.strictObject({\n\tschemaVersion: z.literal(1),\n\tinstalledAt: z.iso.datetime({ offset: true }),\n\tsource: z.enum([\n\t\t\"setup\",\n\t\t\"repair\",\n\t\t\"manual\"\n\t]),\n\tmanifest: localComponentsManifestSchema\n});\nconst localComponentProjectionSchema = z.strictObject({\n\treasonCodes: z.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\texpectedBundleHash: nullableNonEmptyStringSchema,\n\tinstalledBundleHash: nullableNonEmptyStringSchema,\n\tskillContractVersion: nonEmptyStringSchema,\n\ttargetCount: z.number().int().nonnegative()\n});\nconst localComponentsStatusSchema = z.strictObject({\n\tschemaVersion: z.literal(1),\n\tgeneratedAt: z.iso.datetime({ offset: true }),\n\tentrypoint: localSetupEntrypointSchema,\n\tsummaryLabel: nonEmptyStringSchema,\n\tsummaryDescription: nonEmptyStringSchema,\n\tsetupAction: localSetupActionSchema,\n\tsetupActionLabel: nonEmptyStringSchema,\n\tsetupActionDescription: nonEmptyStringSchema,\n\tcli: localCliComponentProjectionSchema,\n\tservice: localServiceComponentProjectionSchema,\n\tskills: localSkillsComponentProjectionSchema\n});\nconst localServiceComponentUpdateProjectionSchema = z.strictObject({\n\tinstalledVersion: nullableNonEmptyStringSchema,\n\tlatestVersion: nullableNonEmptyStringSchema,\n\treasonCodes: z.array(nonEmptyStringSchema),\n\trequiredVersion: nullableNonEmptyStringSchema,\n\tstatus: localComponentUpdateStatusSchema,\n\tupdatePolicy: localComponentUpdatePolicySchema,\n\twakeBlocked: z.boolean()\n});\nconst localCliComponentUpdateProjectionSchema = z.strictObject({\n\tcommandContractVersion: nullableNonEmptyStringSchema,\n\tinstalledPackageVersion: nullableNonEmptyStringSchema,\n\tlatestPackageVersion: nullableNonEmptyStringSchema,\n\treasonCodes: z.array(nonEmptyStringSchema),\n\trequiredCommandContractVersion: nullableNonEmptyStringSchema,\n\tstatus: localComponentUpdateStatusSchema,\n\tupdatePolicy: localComponentUpdatePolicySchema,\n\twakeBlocked: z.boolean()\n});\nconst localSkillsComponentUpdateProjectionSchema = z.strictObject({\n\texpectedBundleHash: nullableNonEmptyStringSchema,\n\texpectedTargetCount: z.number().int().nonnegative(),\n\tinstalledBundleHash: nullableNonEmptyStringSchema,\n\treasonCodes: z.array(nonEmptyStringSchema),\n\tskillContractVersion: nullableNonEmptyStringSchema,\n\tstatus: localComponentUpdateStatusSchema,\n\ttargetCount: z.number().int().nonnegative().nullable(),\n\tupdatePolicy: localComponentUpdatePolicySchema,\n\twakeBlocked: z.boolean()\n});\nconst localComponentUpdateProjectionSchema = z.strictObject({\n\tschemaVersion: z.literal(1),\n\tgeneratedAt: z.iso.datetime({ offset: true }),\n\tsetupAction: localSetupActionSchema,\n\tsetupActionLabel: nonEmptyStringSchema,\n\tsetupActionDescription: nonEmptyStringSchema,\n\thumanSetupCommand: nonEmptyStringSchema,\n\tagentSetupCommand: nonEmptyStringSchema,\n\tcli: localCliComponentUpdateProjectionSchema,\n\tservice: localServiceComponentUpdateProjectionSchema,\n\tskills: localSkillsComponentUpdateProjectionSchema\n});\nfunction formatLocalSetupActionLabel(action) {\n\tswitch (action) {\n\t\tcase \"connect_service\": return \"Connect OpenMeld Service\";\n\t\tcase \"reconnect_service\": return \"Reconnect OpenMeld Service\";\n\t\tcase \"update_service\": return \"Update OpenMeld Service\";\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 OpenMeld Service for the current OpenMeld account on this computer.\";\n\t\tcase \"update_service\": return \"Update OpenMeld Service through setup 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 };\n\n//# sourceMappingURL=local-components.js.map","import { z } from \"zod/v4\";\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 = z.enum([\n\t\"permission\",\n\t\"question\",\n\t\"plan_review\"\n]);\nconst agentInteractionPermissionOptionIntentSchema = z.enum([\n\t\"allow_once\",\n\t\"allow_session\",\n\t\"allow_always\",\n\t\"deny\"\n]);\nconst agentInteractionPermissionOptionSchema = z.strictObject({\n\toptionId: z.string().trim().min(1).max(256),\n\tlabel: z.string().trim().min(1).max(120),\n\tintent: agentInteractionPermissionOptionIntentSchema\n});\nconst agentInteractionPermissionSubjectSchema = z.strictObject({\n\ttype: z.enum([\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: z.string().trim().min(1).max(16e3).nullable().optional(),\n\tcwd: z.string().trim().min(1).max(4096).nullable().optional(),\n\tresource: z.string().trim().min(1).max(4096).nullable().optional()\n});\nconst agentInteractionQuestionOptionSchema = z.strictObject({\n\toptionId: z.string().trim().min(1).max(256),\n\tlabel: z.string().trim().min(1).max(240),\n\tdescription: z.string().trim().min(1).max(1e3).nullable().optional()\n});\nconst agentInteractionQuestionSchema = z.strictObject({\n\tquestionId: z.string().trim().min(1).max(256),\n\theader: z.string().trim().min(1).max(120).nullable().optional(),\n\tprompt: z.string().trim().min(1).max(4e3),\n\toptions: z.array(agentInteractionQuestionOptionSchema).max(20),\n\tmultiple: z.boolean(),\n\tallowOther: z.boolean(),\n\tsecret: z.boolean().optional()\n});\nconst agentInteractionBaseRequestShape = {\n\tv: z.literal(1),\n\tinteractionId: z.string().trim().min(1).max(256),\n\trequestedAtMs: z.number().int().nonnegative(),\n\texpiresAtMs: z.number().int().nonnegative(),\n\ttitle: z.string().trim().min(1).max(240),\n\tdescription: z.string().trim().min(1).max(4e3).nullable().optional()\n};\nconst agentInteractionRequestSchema = z.discriminatedUnion(\"kind\", [\n\tz.strictObject({\n\t\t...agentInteractionBaseRequestShape,\n\t\tkind: z.literal(\"permission\"),\n\t\toptions: z.array(agentInteractionPermissionOptionSchema).min(1).max(8),\n\t\tsubject: agentInteractionPermissionSubjectSchema\n\t}),\n\tz.strictObject({\n\t\t...agentInteractionBaseRequestShape,\n\t\tkind: z.literal(\"question\"),\n\t\tquestions: z.array(agentInteractionQuestionSchema).min(1).max(3)\n\t}),\n\tz.strictObject({\n\t\t...agentInteractionBaseRequestShape,\n\t\tkind: z.literal(\"plan_review\"),\n\t\tplan: z.string().trim().min(1).max(64e3),\n\t\tallowFeedback: z.boolean()\n\t})\n]);\nconst agentInteractionQuestionAnswerSchema = z.strictObject({\n\tquestionId: z.string().trim().min(1).max(256),\n\tvalues: z.array(z.string().trim().min(1).max(4e3)).min(1).max(20)\n});\nconst agentInteractionResponseSchema = z.discriminatedUnion(\"kind\", [\n\tz.strictObject({\n\t\tkind: z.literal(\"permission\"),\n\t\toptionId: z.string().trim().min(1).max(256)\n\t}),\n\tz.strictObject({\n\t\tkind: z.literal(\"question\"),\n\t\tanswers: z.array(agentInteractionQuestionAnswerSchema).min(1).max(3)\n\t}),\n\tz.strictObject({\n\t\tkind: z.literal(\"plan_review\"),\n\t\taction: z.enum([\"approve\", \"request_changes\"]),\n\t\tfeedback: z.string().trim().min(1).max(8e3).nullable().optional()\n\t}),\n\tz.strictObject({ kind: z.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 = z.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 = z.strictObject({\n\tinteractionId: z.string().trim().min(1).max(256),\n\tkind: agentInteractionKindSchema,\n\trequestedAtMs: z.number().int().nonnegative(),\n\texpiresAtMs: z.number().int().nonnegative(),\n\tcanRespond: z.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 { nonEmptyTrimmedStringFromUnknown } from \"./shared.js\";\nimport { agentProfileIdSchema } from \"./profile.js\";\nimport { z } from \"zod/v4\";\n//#region src/schemas/protocol/agent-stream.ts\nconst AGENT_STREAM_SNAPSHOT_MAX_CHARS = 32 * 1024;\nconst sequenceSchema = z.number().int().positive();\nconst timestampSchema = z.number().int().nonnegative();\nconst textSnapshotSchema = z.string().min(1).max(AGENT_STREAM_SNAPSHOT_MAX_CHARS);\nconst toolIdentifierSchema = z.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.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.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.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\"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_service_status.read\",\n\t\"organization.members.read\",\n\t\"organization.memory.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.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.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.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.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.strictObject({\n\tv: z.literal(1),\n\tkey: agentWorkActivityKeySchema,\n\tsubject: agentWorkSubjectSchema.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.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.literal(\"streaming\"),\n\tgapDetected: z.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.strictObject(agentStreamPresenceShape).superRefine(validateAgentStreamProjectionTimestamps);\nconst spaceAgentStreamSnapshotSchema = z.strictObject({\n\t...agentStreamPresenceShape,\n\ttextSnapshot: textSnapshotSchema\n}).superRefine(validateAgentStreamProjectionTimestamps);\nconst spaceAgentStreamTextDeltaFrameSchema = z.strictObject({\n\ttype: z.literal(\"space.agent_stream_delta\"),\n\t...agentStreamIdentityShape,\n\tkind: z.literal(\"text\").optional(),\n\ttextSnapshot: textSnapshotSchema,\n\tstate: z.literal(\"streaming\"),\n\tupdatedAtMs: timestampSchema\n});\nconst spaceAgentStreamThinkingDeltaFrameSchema = z.strictObject({\n\ttype: z.literal(\"space.agent_stream_delta\"),\n\t...agentStreamIdentityShape,\n\tkind: z.literal(\"thinking\"),\n\tthinkingSnapshot: textSnapshotSchema,\n\tstate: z.literal(\"streaming\"),\n\tupdatedAtMs: timestampSchema\n});\nconst spaceAgentStreamDeltaFrameSchema = z.union([spaceAgentStreamTextDeltaFrameSchema, spaceAgentStreamThinkingDeltaFrameSchema]);\nconst agentStreamToolPartSchema = z.strictObject({\n\ttype: z.literal(\"tool\"),\n\ttoolCallId: toolIdentifierSchema,\n\ttoolName: toolIdentifierSchema,\n\tstate: z.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.strictObject({\n\tv: z.literal(1),\n\tsteps: z.array(agentStreamToolPartSchema.pick({\n\t\ttoolName: true,\n\t\tstate: true,\n\t\twork: true\n\t})).min(1).max(50),\n\ttruncated: z.boolean()\n});\nconst spaceAgentStreamPartFrameSchema = z.strictObject({\n\ttype: z.literal(\"space.agent_stream_part\"),\n\t...agentStreamIdentityShape,\n\tpart: agentStreamToolPartSchema,\n\tupdatedAtMs: timestampSchema\n});\nconst spaceAgentStreamTerminalSchema = z.union([\n\tz.strictObject({\n\t\tkind: z.literal(\"final_message\"),\n\t\tpublishedSignalId: nonEmptyTrimmedStringFromUnknown\n\t}),\n\tz.strictObject({\n\t\tkind: z.literal(\"failed\"),\n\t\treasonCode: nonEmptyTrimmedStringFromUnknown,\n\t\tnoticeText: nonEmptyTrimmedStringFromUnknown\n\t}),\n\tz.strictObject({\n\t\tkind: z.literal(\"stopped\"),\n\t\treasonCode: nonEmptyTrimmedStringFromUnknown,\n\t\tnoticeText: nonEmptyTrimmedStringFromUnknown\n\t}),\n\tz.strictObject({\n\t\tkind: z.literal(\"completed_but_publish_failed\"),\n\t\treasonCode: z.literal(\"remote_agent.callback_publish_failed\"),\n\t\tnoticeText: nonEmptyTrimmedStringFromUnknown\n\t})\n]);\nconst spaceAgentStreamTerminalFrameSchema = z.strictObject({\n\ttype: z.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 { navigationActionSchema } from \"../../navigation-action.js\";\nimport { MAX_TEXT_LENGTH } from \"./constants.js\";\nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"./profile.js\";\nimport { z } 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)\\)$/u;\nconst RELATION_TEXT_PATTERN = /\\((wake|reference|cc)\\)/gu;\nconst WORD_CHARACTER_PATTERN = /\\w/u;\nconst SPACE_MESSAGE_ADDRESSING_RELATION_VALUES = [\"wake\", \"reference\"];\nconst MESSAGE_MENTION_TYPE_VALUES = SPACE_MESSAGE_ADDRESSING_RELATION_VALUES;\nconst MESSAGE_ENVELOPE_TARGET_FIELD_VALUES = [\"activationTargets\", \"referenceTargets\"];\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.enum(SPACE_MESSAGE_ADDRESSING_RELATION_VALUES);\nconst messageMentionTypeSchema = spaceMessageAddressingRelationSchema;\nconst messageEnvelopeTargetFieldSchema = z.enum(MESSAGE_ENVELOPE_TARGET_FIELD_VALUES);\nconst spaceMessageAddressingTargetKindSchema = z.enum(SPACE_MESSAGE_ADDRESSING_TARGET_KIND_VALUES);\nconst MESSAGE_ENVELOPE_TARGET_FIELD_BY_MENTION_TYPE = {\n\twake: \"activationTargets\",\n\treference: \"referenceTargets\"\n};\nconst SPACE_MESSAGE_ADDRESSING_TARGET_KIND_SUPPORT_BY_RELATION = {\n\twake: [\"agent_profile\"],\n\treference: [\"human_profile\", \"agent_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.preprocess(normalizeCanonicalMentionName, z.string().min(1).refine((value) => !(value.includes(\"(\") || value.includes(\")\")), \"Canonical mention name must not contain parentheses\"));\nconst canonicalMentionLiteralSchema = z.strictObject({\n\tname: canonicalMentionNameSchema,\n\ttype: messageMentionTypeSchema\n});\nconst canonicalMentionTextFragmentSchema = z.strictObject({\n\tstart: z.number().int().min(0),\n\tend: z.number().int().min(1),\n\ttext: z.string().min(1),\n\tparsedLiteral: canonicalMentionLiteralSchema.nullable()\n});\nconst buildTargetListSchema = (fieldName) => z.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.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 replyToSignalIdSchema = z.preprocess(trimmedStringFromUnknown, z.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.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.strictObject({\n\tactivationTargets: activationTargetsSchema,\n\treferenceTargets: referenceTargetsSchema,\n\tnavigationAction: navigationActionSchema.optional(),\n\treplyToSignalId: replyToSignalIdSchema.optional(),\n\ttext: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(MAX_TEXT_LENGTH))\n}).superRefine(validateDistinctTargetLists);\nconst currentMessageEnvelopeInputSchema = z.strictObject({\n\tactivationTargets: activationTargetsSchema.optional(),\n\treferenceTargets: referenceTargetsSchema.optional(),\n\tnavigationAction: navigationActionSchema.optional(),\n\treplyToSignalId: replyToSignalIdSchema.optional(),\n\ttext: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(MAX_TEXT_LENGTH))\n}).superRefine((value, context) => validateDistinctTargetLists({\n\tactivationTargets: value.activationTargets ?? [],\n\treferenceTargets: value.referenceTargets ?? []\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 two-relation\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.preprocess(normalizeLegacyCcTargetsAsReference, currentMessageEnvelopeSchema);\nconst messageEnvelopeInputSchema = z.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\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};\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 { clientMessageIdSchema } from \"./client-message-id.js\";\nimport { z } 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.string().trim().min(1).max(512);\nconst nullableTargetWakeLifecycleIdentifierSchema = targetWakeLifecycleIdentifierSchema.nullable();\nconst targetWakeLifecycleIdSchema = z.string().trim().min(1).max(2048);\nconst targetWakeLifecycleIdentitySchema = z.strictObject({\n\tmodelVersion: z.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 { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/authority-order.ts\nconst spaceAuthorityOrderSchema = z.literal(\"default\");\n//#endregion\nexport { spaceAuthorityOrderSchema };\n\n//# sourceMappingURL=authority-order.js.map","import { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/dispatch-policy.ts\nconst spaceDispatchPolicyModeSchema = z.enum([\"mention_only\", \"listen_all\"]);\nconst spaceDispatchPolicySchema = z.strictObject({ mode: spaceDispatchPolicyModeSchema });\n//#endregion\nexport { spaceDispatchPolicyModeSchema, spaceDispatchPolicySchema };\n\n//# sourceMappingURL=dispatch-policy.js.map","import { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/publication-policy.ts\nconst spacePublicationModeSchema = z.enum([\"collaboration\", \"raw_context_sharing\"]);\nconst spaceAllowedActionSchema = z.enum([\n\t\"post_message\",\n\t\"post_status\",\n\t\"stay_silent\"\n]);\nconst spaceAllowedActionsSchema = z.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 { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/result-archive-policy.ts\nconst resultArchiveModeSchema = z.enum([\n\t\"none\",\n\t\"space_reply_only\",\n\t\"all_final_results\"\n]);\nconst resultArchivePolicySchema = z.strictObject({ mode: resultArchiveModeSchema });\n//#endregion\nexport { resultArchiveModeSchema, resultArchivePolicySchema };\n\n//# sourceMappingURL=result-archive-policy.js.map","import { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/space-note.ts\nconst spaceNoteSchema = z.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 { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/space-contract.ts\nconst isoDateTimeSchema = z.iso.datetime({ offset: true });\nconst spaceBriefModeSchema = z.enum([\"default\", \"none\"]);\nconst spaceContractFieldsSchema = z.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.strictObject({\n\tversion: z.number().int().finite().positive(),\n\tupdatedAt: isoDateTimeSchema,\n\tupdatedBy: z.preprocess(trimmedStringFromUnknown, z.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 { trimmedStringFromUnknown } from \"../protocol/shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"../protocol/profile.js\";\nimport { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/space-thread.ts\nconst ISO_DATE_TIME_SCHEMA = z.iso.datetime({ offset: true });\nconst spaceThreadIdSchema = z.preprocess(trimmedStringFromUnknown, z.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.strictObject({\n\tthreadId: spaceThreadIdSchema,\n\tspaceId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\trootSignalId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tcreatedByProfileId: openMeldRuntimeProfileIdSchema,\n\tcreatedAt: ISO_DATE_TIME_SCHEMA,\n\tupdatedAt: ISO_DATE_TIME_SCHEMA\n});\nconst spaceThreadContextSchema = z.strictObject({\n\tthreadId: spaceThreadIdSchema,\n\trootSignalId: z.preprocess(trimmedStringFromUnknown, z.string().min(1))\n});\nconst spaceThreadSignalPlacementKindSchema = z.enum([\"root\", \"thread\"]);\nconst spaceThreadSignalPlacementSchema = z.strictObject({\n\tthreadId: spaceThreadIdSchema,\n\tsignalId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tplacement: spaceThreadSignalPlacementKindSchema,\n\tcreatedAt: ISO_DATE_TIME_SCHEMA\n});\nconst spaceThreadEventTypeSchema = z.enum([\"created\"]);\nconst spaceThreadEventSchema = z.strictObject({\n\teventId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tthreadId: spaceThreadIdSchema,\n\teventType: spaceThreadEventTypeSchema,\n\tactorProfileId: openMeldRuntimeProfileIdSchema,\n\tclientMutationId: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(200)),\n\tcreatedAt: ISO_DATE_TIME_SCHEMA\n});\nconst spaceThreadActionRefSchema = z.strictObject({ threadId: spaceThreadIdSchema });\n//#endregion\nexport { spaceThreadActionRefSchema, spaceThreadContextSchema, spaceThreadEventSchema, spaceThreadEventTypeSchema, spaceThreadIdSchema, spaceThreadSchema, spaceThreadSignalPlacementKindSchema, spaceThreadSignalPlacementSchema };\n\n//# sourceMappingURL=space-thread.js.map","import { z } from \"zod/v4\";\n//#region src/schemas/daemon/conversation-lifecycle.ts\nconst conversationBootstrapReasonSchema = z.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.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.enum([\"controller_changed\"]);\nconst agentControllerConversationResumePlanSchema = z.discriminatedUnion(\"status\", [\n\tz.strictObject({ status: z.literal(\"not_bound\") }),\n\tz.strictObject({ status: z.literal(\"continue_existing\") }),\n\tz.strictObject({\n\t\tstatus: z.literal(\"blocked\"),\n\t\treason: agentControllerConversationResumePlanBlockedReasonSchema\n\t})\n]);\nconst localRuntimeContextPlanSchema = z.strictObject({\n\tstatus: z.enum([\"reuse\", \"recreate\"]),\n\treason: z.union([localRuntimeContextReasonSchema, z.null()])\n});\nconst conversationBootstrapSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\treason: z.null(),\n\tstatus: z.literal(\"applied\")\n}), z.strictObject({\n\treason: conversationBootstrapReasonSchema,\n\tstatus: z.literal(\"pending\")\n})]);\nconst nextDispatchPlanSchema = z.strictObject({\n\tagentControllerConversationResume: agentControllerConversationResumePlanSchema,\n\tlocalRuntimeContext: localRuntimeContextPlanSchema,\n\tbootstrap: conversationBootstrapSchema\n});\nconst agentControllerConversationResumeSchema = z.discriminatedUnion(\"status\", [\n\tz.strictObject({ status: z.literal(\"not_bound\") }),\n\tz.strictObject({ status: z.literal(\"continued\") }),\n\tz.strictObject({ status: z.literal(\"replaced_by_provider\") })\n]);\nconst localRuntimeContextExecutionSchema = z.strictObject({\n\tstatus: z.enum([\"reused\", \"recreated\"]),\n\treason: z.union([localRuntimeContextReasonSchema, z.null()])\n});\nconst dispatchExecutionSchema = z.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 { z } from \"zod/v4\";\n//#region src/schemas/daemon/conversation-execution-state.ts\nconst ISO_DATE_TIME_SCHEMA = z.iso.datetime({ offset: true });\nconst bootstrapTemplateFactsSchema = z.strictObject({\n\ttemplateVersion: z.string().min(1),\n\tcontentFingerprint: z.string().min(1)\n});\nconst conversationExecutionStateSchema = z.strictObject({\n\tagentContextLookupKey: z.string().min(1),\n\tactiveContextId: z.string().min(1).nullable(),\n\tlastResolvedAgentControllerConversation: agentControllerConversationRefSchema.optional(),\n\tlastRuntimeWorkspacePath: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: z.string().min(1),\n\tbootstrapLastAppliedAt: ISO_DATE_TIME_SCHEMA.optional(),\n\tbootstrapLastActivatedAt: ISO_DATE_TIME_SCHEMA.optional(),\n\tdispatchesSinceBootstrapApplied: z.number().int().min(0),\n\tlastAppliedTemplateVersion: z.string().min(1).optional(),\n\tlastAppliedContentFingerprint: z.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 { z } from \"zod/v4\";\n//#region src/schemas/daemon/provider-runtime-context.ts\nconst providerDispatchRuntimeContextSchema = z.strictObject({ providerRuntimeWorkingDirectory: z.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 { runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { conversationExecutionStateSchema } from \"./conversation-execution-state.js\";\nimport { providerDispatchRuntimeContextSchema } from \"./provider-runtime-context.js\";\nimport { z } from \"zod/v4\";\n//#region src/schemas/daemon/control-plane.ts\nconst OPENMELD_DAEMON_CONTROL_PLANE_SCHEMA_VERSION = 1;\nconst openMeldDaemonControlPlaneCommandSchema = z.enum([\n\t\"status\",\n\t\"health\",\n\t\"history\",\n\t\"interrupt\",\n\t\"cancel\",\n\t\"conversation_execution_status\",\n\t\"sync_route_catalog\",\n\t\"set_local_agent_enabled\",\n\t\"set_profile_workspace\",\n\t\"shutdown\"\n]);\nconst openMeldDaemonHealthStateSchema = z.enum([\n\t\"ok\",\n\t\"degraded\",\n\t\"down\"\n]);\nconst openMeldDaemonRuntimeHealthStateSchema = z.enum([\n\t\"healthy\",\n\t\"idle\",\n\t\"suspect\",\n\t\"down\"\n]);\nconst openMeldDaemonControlTargetSelectorSchema = z.discriminatedUnion(\"by\", [z.strictObject({\n\tby: z.literal(\"dispatch\"),\n\tdispatchId: z.string().min(1)\n}), z.strictObject({\n\tby: z.literal(\"task\"),\n\ttaskId: z.string().min(1)\n})]);\nconst openMeldDaemonInterruptRequestPayloadSchema = z.strictObject({\n\truntimeCoordinatorExecutionId: z.string().min(1).optional(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tmode: z.enum([\"graceful\", \"force\"]).optional(),\n\treason: z.string().min(1).optional()\n});\nconst openMeldDaemonCancelRequestPayloadSchema = z.strictObject({\n\truntimeCoordinatorExecutionId: z.string().min(1).optional(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\treason: z.string().min(1).optional()\n});\nconst openMeldDaemonShutdownRequestPayloadSchema = z.strictObject({\n\tmode: z.enum([\"graceful\", \"force\"]).default(\"graceful\"),\n\tgracePeriodMs: z.number().int().nonnegative().default(5e3)\n});\nconst openMeldDaemonConversationExecutionControllerLaunchStatusSchema = z.enum([\n\t\"missing\",\n\t\"disabled\",\n\t\"repair_required\",\n\t\"ready\"\n]);\nconst nullableAgentControllerRefSchema = z.union([z.string().min(1), z.null()]);\nconst nullableNonEmptyStringSchema = z.union([z.string().min(1), z.null()]);\nconst openMeldDaemonConversationExecutionStatusRequestPayloadSchema = z.strictObject({\n\tboundAgentControllerRef: nullableAgentControllerRefSchema,\n\tagentControllerConversationId: nullableNonEmptyStringSchema,\n\tagentControllerRef: z.string().min(1),\n\tspaceId: nonEmptyTrimmedStringFromUnknown,\n\ttargetProfileId: agentProfileIdSchema,\n\ttransportMode: runtimeTransportModeSchema,\n\tvalidate: z.boolean()\n});\nconst openMeldDaemonSyncRouteCatalogRequestPayloadSchema = z.strictObject({ reason: z.string().min(1) });\nconst openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema = z.strictObject({\n\tagentId: z.string().trim().min(1).max(256),\n\tenabled: z.boolean()\n});\nconst openMeldDaemonSetProfileWorkspaceRequestPayloadSchema = z.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 = z.strictObject({\n\tconfigPath: z.string().min(1),\n\tconfiguredWorkspacePath: z.string().min(1),\n\tfingerprint: z.string().min(1),\n\tpath: z.string().min(1),\n\treasonCode: z.null(),\n\treasonText: z.null(),\n\truntimeContext: providerDispatchRuntimeContextSchema,\n\tstatus: z.literal(\"ready\"),\n\tworkspaceMode: profileWorkspaceModeSchema\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema = z.strictObject({\n\tconfigPath: z.string().min(1),\n\tconfiguredWorkspacePath: z.null(),\n\tfingerprint: z.null(),\n\tpath: z.null(),\n\treasonCode: z.literal(\"workspace.missing\"),\n\treasonText: z.string().min(1),\n\truntimeContext: z.null(),\n\tstatus: z.literal(\"missing\"),\n\tworkspaceMode: z.null()\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema = z.strictObject({\n\tconfigPath: z.string().min(1),\n\tconfiguredWorkspacePath: z.union([z.string().min(1), z.null()]),\n\tfingerprint: z.null(),\n\tpath: z.null(),\n\treasonCode: z.literal(\"workspace.invalid\"),\n\treasonText: z.string().min(1),\n\truntimeContext: z.null(),\n\tstatus: z.literal(\"invalid\"),\n\tworkspaceMode: z.union([profileWorkspaceModeSchema, z.null()])\n});\nconst openMeldDaemonConversationExecutionRuntimeWorkspaceSchema = z.discriminatedUnion(\"status\", [\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceReadySchema,\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceMissingSchema,\n\topenMeldDaemonConversationExecutionRuntimeWorkspaceInvalidSchema\n]);\nconst openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema = z.enum([\n\t\"missing\",\n\t\"mismatch\",\n\t\"ready\"\n]);\nconst openMeldDaemonProviderConversationProofStatusSchema = z.enum([\n\t\"failed\",\n\t\"not_applicable\",\n\t\"not_run\",\n\t\"passed\"\n]);\nconst openMeldDaemonProviderConversationProofProviderSchema = z.enum([\n\t\"codex\",\n\t\"claude-code\",\n\t\"openclaw\"\n]);\nconst openMeldDaemonProviderConversationProofMethodSchema = z.enum([\"codex_app_server_thread_resume\"]);\nconst openMeldDaemonProviderConversationProofSchema = z.strictObject({\n\tagentControllerConversationId: nullableNonEmptyStringSchema,\n\tcheckedAt: z.union([z.iso.datetime({ offset: true }), z.null()]),\n\terrorCode: nullableNonEmptyStringSchema,\n\terrorMessage: nullableNonEmptyStringSchema,\n\terrorType: nullableNonEmptyStringSchema,\n\texpiresAt: z.union([z.iso.datetime({ offset: true }), z.null()]),\n\tintrusive: z.literal(false),\n\tmethod: z.union([openMeldDaemonProviderConversationProofMethodSchema, z.null()]),\n\tprovider: z.union([openMeldDaemonProviderConversationProofProviderSchema, z.null()]),\n\tstatus: openMeldDaemonProviderConversationProofStatusSchema,\n\ttransportMode: z.union([runtimeTransportModeSchema, z.null()])\n});\nconst openMeldDaemonConversationExecutionStatusPayloadSchema = z.strictObject({\n\tagentContextLookupKey: z.string().min(1),\n\tcontrollerLaunchStatus: openMeldDaemonConversationExecutionControllerLaunchStatusSchema,\n\texecutionState: conversationExecutionStateSchema.nullable(),\n\tlocalRuntimeContext: z.strictObject({\n\t\tagentContextLookupKey: z.string().min(1),\n\t\truntimeWorkspaceFingerprint: nullableNonEmptyStringSchema,\n\t\tstatus: openMeldDaemonConversationExecutionLocalRuntimeContextStatusSchema\n\t}),\n\tproviderConversationProof: openMeldDaemonProviderConversationProofSchema,\n\truntimeWorkspace: openMeldDaemonConversationExecutionRuntimeWorkspaceSchema\n});\nconst openMeldDaemonSyncRouteCatalogStatusSchema = z.enum([\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 = z.enum(DAEMON_PROFILE_SKIP_REASON_VALUES);\nconst skippedDaemonProfileSchema = z.strictObject({\n\tprofileId: agentProfileIdSchema,\n\tprofileName: nullableNonEmptyStringSchema,\n\tskipReason: daemonProfileSkipReasonSchema\n});\nconst openMeldDaemonSyncRouteCatalogPayloadSchema = z.strictObject({\n\taccepted: z.boolean(),\n\tsyncStatus: openMeldDaemonSyncRouteCatalogStatusSchema,\n\tprofileIds: z.array(agentProfileIdSchema),\n\taddedProfileIds: z.array(agentProfileIdSchema).optional(),\n\tkeptProfileIds: z.array(agentProfileIdSchema).optional(),\n\tremovedProfileIds: z.array(agentProfileIdSchema).optional(),\n\tskippedProfiles: z.array(skippedDaemonProfileSchema).optional(),\n\tnote: z.string().min(1).optional(),\n\terrorMessage: z.string().min(1).optional()\n});\nconst openMeldDaemonSetLocalAgentEnabledPayloadSchema = z.strictObject({\n\taccepted: z.boolean(),\n\tagentControllerRef: z.string().min(1).optional(),\n\tagentId: z.string().trim().min(1).max(256),\n\tchanged: z.boolean(),\n\tenabled: z.boolean(),\n\tmessage: z.string().min(1).optional(),\n\treasonCode: z.string().min(1).optional(),\n\treportSyncStatus: z.enum([\n\t\t\"submitted\",\n\t\t\"skipped\",\n\t\t\"failed\"\n\t]),\n\tstatus: z.enum([\n\t\t\"updated\",\n\t\t\"unchanged\",\n\t\t\"rejected\"\n\t])\n});\nconst openMeldDaemonSetProfileWorkspacePayloadSchema = z.discriminatedUnion(\"accepted\", [z.strictObject({\n\taccepted: z.literal(true),\n\ttargetProfileId: agentProfileIdSchema,\n\tstatus: z.literal(\"updated\"),\n\tworkspaceMode: profileWorkspaceModeSchema,\n\tworkspacePath: z.string().min(1)\n}), z.strictObject({\n\taccepted: z.literal(false),\n\ttargetProfileId: agentProfileIdSchema,\n\tmessage: z.string().min(1).optional(),\n\treasonCode: z.string().min(1).optional(),\n\tstatus: z.literal(\"rejected\")\n})]);\nconst openMeldDaemonControlPlaneRequestBaseSchema = z.strictObject({\n\tv: z.literal(1),\n\trequestId: z.string().min(1).optional(),\n\tauthToken: z.string().min(1).optional()\n});\nconst openMeldDaemonControlPlaneRequestSchema = z.discriminatedUnion(\"command\", [\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: z.literal(\"status\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: z.literal(\"health\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({ command: z.literal(\"history\") }),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"interrupt\"),\n\t\tpayload: openMeldDaemonInterruptRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"cancel\"),\n\t\tpayload: openMeldDaemonCancelRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"conversation_execution_status\"),\n\t\tpayload: openMeldDaemonConversationExecutionStatusRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"sync_route_catalog\"),\n\t\tpayload: openMeldDaemonSyncRouteCatalogRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"set_local_agent_enabled\"),\n\t\tpayload: openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"set_profile_workspace\"),\n\t\tpayload: openMeldDaemonSetProfileWorkspaceRequestPayloadSchema\n\t}),\n\topenMeldDaemonControlPlaneRequestBaseSchema.extend({\n\t\tcommand: z.literal(\"shutdown\"),\n\t\tpayload: openMeldDaemonShutdownRequestPayloadSchema.optional()\n\t})\n]);\nconst openMeldDaemonStatusPayloadSchema = z.strictObject({\n\tinstalled: z.boolean(),\n\trunning: z.boolean(),\n\tdaemonVersion: z.string().min(1),\n\truntimeRoot: z.string().min(1),\n\tcheckedAt: z.string().min(1)\n});\nconst openMeldDaemonHealthPayloadSchema = z.strictObject({\n\tstate: openMeldDaemonHealthStateSchema,\n\truntimeState: openMeldDaemonRuntimeHealthStateSchema.optional(),\n\treasonCode: z.string().min(1),\n\tcheckedAt: z.string().min(1)\n});\nconst openMeldDaemonHistoryEntrySchema = z.strictObject({\n\tid: z.string().min(1),\n\tts: z.string().min(1),\n\tcode: z.string().min(1),\n\tmessage: z.string().min(1)\n});\nconst openMeldDaemonHistoryPayloadSchema = z.strictObject({\n\tentries: z.array(openMeldDaemonHistoryEntrySchema),\n\tnextCursor: z.string().min(1).optional()\n});\nconst openMeldDaemonInterruptPayloadSchema = z.strictObject({\n\taccepted: z.boolean(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tresolvedDispatchId: z.string().min(1).optional(),\n\tresolvedRuntimeCoordinatorExecutionId: z.string().min(1).optional(),\n\tresolvedTaskId: z.string().min(1).optional(),\n\tnote: z.string().min(1).optional(),\n\treasonCode: z.string().min(1).optional()\n});\nconst openMeldDaemonCancelPayloadSchema = z.strictObject({\n\taccepted: z.boolean(),\n\ttarget: openMeldDaemonControlTargetSelectorSchema,\n\tresolvedDispatchId: z.string().min(1).optional(),\n\tresolvedRuntimeCoordinatorExecutionId: z.string().min(1).optional(),\n\tresolvedTaskId: z.string().min(1).optional(),\n\tnote: z.string().min(1).optional(),\n\treasonCode: z.string().min(1).optional()\n});\nconst openMeldDaemonControlPlaneErrorPayloadSchema = z.strictObject({\n\terrorCode: z.string().min(1),\n\terrorMessage: z.string().min(1),\n\tnote: z.string().min(1).optional()\n});\nconst openMeldDaemonShutdownPayloadSchema = z.strictObject({\n\taccepted: z.boolean(),\n\tmode: z.enum([\"graceful\", \"force\"]),\n\tgracePeriodMs: z.number().int().nonnegative()\n});\nconst openMeldDaemonControlPlaneResponseBaseSchema = z.strictObject({\n\tv: z.literal(1),\n\trequestId: z.string().min(1).optional()\n});\nconst openMeldDaemonStatusResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.status\"),\n\tpayload: openMeldDaemonStatusPayloadSchema\n});\nconst openMeldDaemonHealthResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.health\"),\n\tpayload: openMeldDaemonHealthPayloadSchema\n});\nconst openMeldDaemonHistoryResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.history\"),\n\tpayload: openMeldDaemonHistoryPayloadSchema\n});\nconst openMeldDaemonInterruptResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.interrupt\"),\n\tpayload: openMeldDaemonInterruptPayloadSchema\n});\nconst openMeldDaemonCancelResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.cancel\"),\n\tpayload: openMeldDaemonCancelPayloadSchema\n});\nconst openMeldDaemonConversationExecutionStatusResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.conversation_execution_status\"),\n\tpayload: openMeldDaemonConversationExecutionStatusPayloadSchema\n});\nconst openMeldDaemonSyncRouteCatalogResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.sync_route_catalog\"),\n\tpayload: openMeldDaemonSyncRouteCatalogPayloadSchema\n});\nconst openMeldDaemonSetLocalAgentEnabledResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.set_local_agent_enabled\"),\n\tpayload: openMeldDaemonSetLocalAgentEnabledPayloadSchema\n});\nconst openMeldDaemonSetProfileWorkspaceResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.set_profile_workspace\"),\n\tpayload: openMeldDaemonSetProfileWorkspacePayloadSchema\n});\nconst openMeldDaemonShutdownResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.shutdown\"),\n\tpayload: openMeldDaemonShutdownPayloadSchema\n});\nconst openMeldDaemonControlPlaneErrorResponseSchema = openMeldDaemonControlPlaneResponseBaseSchema.extend({\n\tcode: z.literal(\"service.error\"),\n\tpayload: openMeldDaemonControlPlaneErrorPayloadSchema\n});\nconst openMeldDaemonControlPlaneResponseSchema = z.discriminatedUnion(\"code\", [\n\topenMeldDaemonStatusResponseSchema,\n\topenMeldDaemonHealthResponseSchema,\n\topenMeldDaemonHistoryResponseSchema,\n\topenMeldDaemonInterruptResponseSchema,\n\topenMeldDaemonCancelResponseSchema,\n\topenMeldDaemonConversationExecutionStatusResponseSchema,\n\topenMeldDaemonSyncRouteCatalogResponseSchema,\n\topenMeldDaemonSetLocalAgentEnabledResponseSchema,\n\topenMeldDaemonSetProfileWorkspaceResponseSchema,\n\topenMeldDaemonShutdownResponseSchema,\n\topenMeldDaemonControlPlaneErrorResponseSchema\n]);\n//#endregion\nexport { DAEMON_PROFILE_SKIP_REASON_VALUES, OPENMELD_DAEMON_CONTROL_PLANE_SCHEMA_VERSION, daemonProfileSkipReasonSchema, 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, openMeldDaemonProviderConversationProofMethodSchema, openMeldDaemonProviderConversationProofProviderSchema, openMeldDaemonProviderConversationProofSchema, openMeldDaemonProviderConversationProofStatusSchema, openMeldDaemonRuntimeHealthStateSchema, openMeldDaemonSetLocalAgentEnabledPayloadSchema, openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema, openMeldDaemonSetLocalAgentEnabledResponseSchema, openMeldDaemonSetProfileWorkspacePayloadSchema, openMeldDaemonSetProfileWorkspaceRequestPayloadSchema, openMeldDaemonSetProfileWorkspaceResponseSchema, openMeldDaemonShutdownPayloadSchema, openMeldDaemonShutdownRequestPayloadSchema, openMeldDaemonShutdownResponseSchema, openMeldDaemonStatusPayloadSchema, openMeldDaemonStatusResponseSchema, openMeldDaemonSyncRouteCatalogPayloadSchema, openMeldDaemonSyncRouteCatalogRequestPayloadSchema, openMeldDaemonSyncRouteCatalogResponseSchema, openMeldDaemonSyncRouteCatalogStatusSchema, skippedDaemonProfileSchema };\n\n//# sourceMappingURL=control-plane.js.map","import { z } 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.discriminatedUnion(\"kind\", [z.strictObject({\n\tclient: z.string().trim().min(1).max(80),\n\tkind: z.literal(\"local_agent\"),\n\tsessionId: z.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 { agentProfileIdSchema } from \"./profile.js\";\nimport { z } 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.strictObject({\n\tagentProfileId: agentProfileIdSchema,\n\tkind: z.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 { z } from \"zod/v4\";\n//#region src/schemas/protocol/signal-reply-to.ts\nconst MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH = 120;\nconst signalReplyToSchema = z.strictObject({\n\tsignalId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tprofileId: openMeldRuntimeProfileIdSchema,\n\tprofileKind: z.enum([\n\t\t\"human\",\n\t\t\"agent\",\n\t\t\"system\"\n\t]).nullable(),\n\tprofileName: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(64)),\n\tpreviewText: z.preprocess(trimmedStringFromUnknown, z.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 { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/signal-status.ts\nconst spaceStatusSchema = z.enum([\n\t\"working\",\n\t\"needs_input\",\n\t\"done\",\n\t\"blocked\",\n\t\"handoff\"\n]);\nconst signalStatusGeneratedBySchema = z.literal(\"openmeld\");\nconst signalStatusDataSchema = z.strictObject({\n\tactorProfileId: openMeldRuntimeProfileIdSchema,\n\tstatus: spaceStatusSchema,\n\tdispatchId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tresultRef: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\tcoreReadinessFactsChanged: coreReadinessFactsChangedSchema.optional(),\n\treplyTo: signalReplyToSchema.optional(),\n\ttargetProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\ttext: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(120)),\n\tgeneratedBy: signalStatusGeneratedBySchema\n});\nz.strictObject({\n\ttype: z.literal(\"signal.status\"),\n\tdata: signalStatusDataSchema\n});\n//#endregion\nexport { signalStatusDataSchema, signalStatusGeneratedBySchema, spaceStatusSchema };\n\n//# sourceMappingURL=signal-status.js.map","import { z } from \"zod/v4\";\n//#region src/schemas/daemon/runtime-transport-stop-cause.ts\nconst runtimeTransportStopCauseSchema = z.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 { z } from \"zod/v4\";\n//#region src/schemas/space-mesh/signal-system-notice.ts\nconst signalSystemNoticeTypeSchema = z.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.literal(\"openmeld\");\nconst signalSystemNoticeFailureStageSchema = z.enum([\"execution\", \"publication\"]);\nconst signalSystemNoticeDataSchema = z.strictObject({\n\tnoticeType: signalSystemNoticeTypeSchema,\n\tactorProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\tactorName: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\tdispatchId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tresultRef: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\trecoveryOperationId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\tcoreReadinessFactsChanged: coreReadinessFactsChangedSchema.optional(),\n\treplyTo: signalReplyToSchema.optional(),\n\treason: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\treasonCode: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\tfailureStage: signalSystemNoticeFailureStageSchema.optional(),\n\tstopCause: runtimeTransportStopCauseSchema.optional(),\n\ttext: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tgeneratedBy: signalSystemNoticeGeneratedBySchema\n});\nconst signalSystemNoticeSchema = z.strictObject({\n\ttype: z.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 { z } from \"zod/v4\";\n//#region src/schemas/protocol/conversation-compaction.ts\nconst conversationCompactionMarkerSchema = z.strictObject({\n\tcompletedAtMs: z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),\n\tcount: z.number().int().positive().max(100),\n\tv: z.literal(1)\n});\n//#endregion\nexport { conversationCompactionMarkerSchema };\n\n//# sourceMappingURL=conversation-compaction.js.map","import { z } 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.string().trim().min(1).max(512);\nconst spaceAttachmentIdSchema = z.string().trim().min(1).max(128);\nconst spaceAttachmentMimeTypeSchema = z.enum(SPACE_ATTACHMENT_ALLOWED_MIME_TYPES);\nconst spaceAttachmentSizeBytesSchema = z.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.number().int().finite().min(1).max(SPACE_ATTACHMENT_MAX_DIMENSION);\nconst spaceAttachmentFileNameSchema = z.string().transform((value) => value.trim().split(FILE_NAME_PATH_SEPARATOR_PATTERN).at(-1)?.trim() ?? \"\").pipe(z.string().min(1).max(255));\nconst spaceAttachmentDescriptorSchema = z.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.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.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.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.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.strictObject({ attachmentId: spaceAttachmentIdSchema });\nconst deleteSpaceAttachmentRecordResultSchema = z.strictObject({ deleted: z.boolean() });\nconst resolveSpaceAttachmentForDownloadPayloadSchema = z.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 { isLegacyAgentActivityWorkCompatible } from \"../../agent-work-activity.js\";\nimport { MAX_TEXT_LENGTH } from \"./constants.js\";\nimport { trimmedStringFromUnknown } from \"./shared.js\";\nimport { openMeldRuntimeProfileIdSchema } from \"./profile.js\";\nimport { spaceMentionLabelSchema } from \"../http/space-mention-label.js\";\nimport { clientMessageIdSchema } from \"./client-message-id.js\";\nimport { spaceAgentActivitySchema } from \"./agent-stream.js\";\nimport { messageEnvelopeSchema } from \"./message-envelope.js\";\nimport { centerAgentInteractionSourceSchema } from \"./center-agent-interaction-source.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 { conversationCompactionMarkerSchema } from \"./conversation-compaction.js\";\nimport { spaceMessageAttachmentsSchema } from \"./space-attachment.js\";\nimport { z } 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 centerAgentTaskReferenceSchema = z.strictObject({ taskId: z.string().trim().min(1).max(256) });\nconst CENTER_AGENT_TASK_REFERENCE_MAX_COUNT = 20;\nconst signalTextContentSchema = z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(MAX_TEXT_LENGTH));\nconst runtimeDeviceDisplayNameSchema = z.preprocess(trimmedStringFromUnknown, z.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.object({\n\ttransient: z.literal(true).optional(),\n\tagentActivity: legacySpaceAgentActivitySchema.optional(),\n\tagentWorkSummary: spaceAgentActivitySchema.optional(),\n\tcenterAgentTaskReferences: z.array(centerAgentTaskReferenceSchema).max(20).optional(),\n\tclientMessageId: clientMessageIdSchema.optional(),\n\tcenterAgentInteractionSource: centerAgentInteractionSourceSchema.optional(),\n\tconversationCompaction: conversationCompactionMarkerSchema.optional(),\n\tsourceEventId: z.preprocess(trimmedStringFromUnknown, z.string().max(200)).optional(),\n\tsourceClientMessageId: clientMessageIdSchema.optional(),\n\tpurpose: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(80)).optional(),\n\terrorCode: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(120)).optional(),\n\tdispatchId: z.preprocess(trimmedStringFromUnknown, z.string().max(200)).optional(),\n\ttargetProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\ttargetProfileKind: z.enum([\"human\", \"agent\"]).optional(),\n\ttargetProfileName: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(64)).optional(),\n\ttargetMentionLabel: spaceMentionLabelSchema.optional(),\n\truntimeDeviceDisplayName: runtimeDeviceDisplayNameSchema.optional(),\n\tcoreReadinessFactsChanged: coreReadinessFactsChangedSchema.optional(),\n\tstaleness: z.object({ newMessagesDuringComposition: z.number().int().positive() }).optional(),\n\taddedByProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\taddedByDisplayName: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(64)).optional(),\n\tremovedByProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\tremovedByDisplayName: z.preprocess(trimmedStringFromUnknown, z.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\tagentActivity: true,\n\tagentWorkSummary: true,\n\tcenterAgentTaskReferences: true,\n\tconversationCompaction: true\n}).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.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.ZodIssueCode.custom,\n\t\tpath: [\"messageEnvelope\", \"replyToSignalId\"],\n\t\tmessage: \"messageEnvelope.replyToSignalId must match replyTo.signalId\"\n\t});\n};\nconst buildSignalTextDataSchema = (metaSchema) => z.strictObject({\n\ttext: signalTextContentSchema,\n\tattachments: spaceMessageAttachmentsSchema.optional(),\n\tmessageEnvelope: messageEnvelopeSchema.optional(),\n\treplyTo: signalTextReplyToSchema.optional(),\n\tmeta: metaSchema.optional()\n}).superRefine(addSignalTextMessageEnvelopeIssues);\nconst signalTextDataSchema = buildSignalTextDataSchema(signalTextMetaSchema);\nconst signalTextSchema = z.object({\n\ttype: z.literal(\"signal.text\"),\n\tdata: buildSignalTextDataSchema(postedSignalTextMetaSchema)\n});\nconst systemEmittedSignalTextSchema = z.object({\n\ttype: z.literal(\"signal.text\"),\n\tdata: buildSignalTextDataSchema(systemEmittedSignalTextMetaSchema)\n});\nconst signalStatusSchema = z.strictObject({\n\ttype: z.literal(\"signal.status\"),\n\tdata: signalStatusDataSchema$1\n});\nconst signalStatusDataSchema = signalStatusDataSchema$1;\nconst signalSystemNoticeSchema = z.strictObject({\n\ttype: z.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, CENTER_AGENT_TASK_REFERENCE_MAX_COUNT, 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, centerAgentTaskReferenceSchema, sanitizeSignalTextPreview, signalStatusDataSchema, signalStatusSchema, signalSystemNoticeDataSchema, signalSystemNoticeSchema, signalTextDataSchema, signalTextReplyToSchema, signalTextSchema, systemEmittedSignalTextSchema };\n\n//# sourceMappingURL=signal.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 { z } from \"zod/v4\";\n//#region src/schemas/runtime/agent-task-coordination.ts\nconst AGENT_TASK_COORDINATION_SCHEMA_VERSION = 1;\nconst nonEmptyIdSchema = z.string().trim().min(1).max(512);\nconst boundedAgentControllerRefSchema = agentControllerRefSchema.pipe(z.string().max(512));\nconst nullableNonEmptyIdSchema = z.union([nonEmptyIdSchema, z.null()]);\nconst nullableReasonCodeSchema = z.union([z.string().trim().min(1).max(160), z.null()]);\nconst agentTaskHandleBaseShape = { v: z.literal(1) };\nconst spaceWakeAgentTaskHandleSchema = z.strictObject({\n\t...agentTaskHandleBaseShape,\n\tkind: z.literal(\"space_wake\"),\n\tsourceClientMessageId: nonEmptyIdSchema,\n\tspaceId: nonEmptyIdSchema,\n\ttargetProfileId: agentProfileIdSchema\n});\nconst controllerAgentTaskHandleSchema = z.strictObject({\n\t...agentTaskHandleBaseShape,\n\tagentControllerRef: boundedAgentControllerRefSchema,\n\thostId: nonEmptyIdSchema,\n\tkind: z.literal(\"controller_task\"),\n\ttaskId: nonEmptyIdSchema\n});\nconst agentTaskHandleSchema = z.discriminatedUnion(\"kind\", [\n\tspaceWakeAgentTaskHandleSchema,\n\tz.strictObject({\n\t\t...agentTaskHandleBaseShape,\n\t\tdeliveryId: nonEmptyIdSchema,\n\t\tkind: z.literal(\"native_delivery\")\n\t}),\n\tcontrollerAgentTaskHandleSchema\n]);\nconst agentTaskTerminalStatusSchema = z.enum([\n\t\"succeeded\",\n\t\"completed\",\n\t\"failed\",\n\t\"stopped\",\n\t\"stayed_silent\",\n\t\"publication_failed\"\n]);\nconst agentTaskTerminalOutcomeSchema = z.strictObject({\n\terrorCode: nullableReasonCodeSchema,\n\teventId: nonEmptyIdSchema,\n\toccurredAtMs: z.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 = z.strictObject({\n\tattentionCode: nullableReasonCodeSchema,\n\teventId: nonEmptyIdSchema,\n\toccurredAtMs: z.number().int().nonnegative(),\n\tstatus: z.literal(\"needs_attention\")\n});\nconst agentTaskCompletionObservationSchema = z.union([agentTaskTerminalOutcomeSchema, agentTaskNeedsAttentionObservationSchema]);\nconst agentTaskCompletionConditionSchema = z.enum([\n\t\"terminal\",\n\t\"succeeded\",\n\t\"failed\",\n\t\"needs_attention\"\n]);\nconst agentDelegationBarrierSchema = z.enum([\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: z.union([spaceThreadContextSchema, z.null()])\n};\nconst resumeAgentContinuationShape = {\n\tdelegationId: nonEmptyIdSchema,\n\tinstruction: z.string().trim().min(1).max(4e3),\n\tkind: z.literal(\"resume_agent\")\n};\nconst resumeTaskWatchContinuationShape = {\n\tinstruction: z.string().trim().min(1).max(4e3),\n\tkind: z.literal(\"resume_task_watch\"),\n\twatchId: nonEmptyIdSchema\n};\nconst agentTaskContinuationSchema = z.union([\n\tz.strictObject(resumeAgentContinuationShape),\n\tz.strictObject({\n\t\t...resumeAgentContinuationShape,\n\t\t...legacyAgentTaskContinuationDestinationShape\n\t}),\n\tz.strictObject({\n\t\tagentProfileId: agentProfileIdSchema,\n\t\tdelegationId: nonEmptyIdSchema,\n\t\tkind: z.literal(\"activate_fallback\"),\n\t\tspaceId: nonEmptyIdSchema,\n\t\ttext: z.string().trim().min(1).max(MAX_TEXT_LENGTH)\n\t}),\n\tz.strictObject(resumeTaskWatchContinuationShape),\n\tz.strictObject({\n\t\t...resumeTaskWatchContinuationShape,\n\t\t...legacyAgentTaskContinuationDestinationShape\n\t})\n]);\nconst agentDelegationCompletionPolicySchema = z.discriminatedUnion(\"mode\", [z.strictObject({ mode: z.literal(\"child_reports_directly\") }), z.strictObject({\n\tmode: z.literal(\"resume_parent\"),\n\twhen: agentDelegationBarrierSchema\n})]);\nconst agentDelegationChildSnapshotSchema = z.strictObject({\n\tagentProfileId: agentProfileIdSchema,\n\trole: z.enum([\"primary\", \"fallback\"]),\n\tstate: z.enum([\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: z.union([agentTaskTerminalOutcomeSchema, z.null()])\n});\nconst agentDelegationSnapshotSchema = z.strictObject({\n\tbarrier: z.union([agentDelegationBarrierSchema, z.null()]),\n\tchildren: z.array(agentDelegationChildSnapshotSchema).min(1).max(26),\n\tdelegationId: nonEmptyIdSchema,\n\tgeneration: z.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 { z } from \"zod/v4\";\n//#region src/schemas/daemon/mention-dispatch-result.ts\nconst OPENMELD_DAEMON_MENTION_DISPATCH_RESULT_SCHEMA_VERSION = 2;\nconst openMeldDaemonMentionDispatchStatusSchema = z.enum([\n\t\"dispatch_ready\",\n\t\"blocked\",\n\t\"failed\"\n]);\nconst openMeldDaemonMentionDispatchRuleSourceSchema = z.enum([\n\t\"system\",\n\t\"space\",\n\t\"profile\",\n\t\"registry\"\n]);\nconst openMeldDaemonMentionDispatchResultCommonPayloadSchema = z.strictObject({\n\tsourceEventId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\ttargetProfileId: z.string().min(1),\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: z.string().min(1),\n\truleReason: z.string().min(1)\n});\nconst openMeldDaemonMentionDispatchReadyPayloadSchema = openMeldDaemonMentionDispatchResultCommonPayloadSchema.extend({ status: z.literal(\"dispatch_ready\") });\nconst openMeldDaemonMentionDispatchBlockedPayloadSchema = openMeldDaemonMentionDispatchResultCommonPayloadSchema.extend({\n\tstatus: z.literal(\"blocked\"),\n\terrorCode: z.string().min(1)\n});\nconst openMeldDaemonMentionDispatchFailedPayloadSchema = openMeldDaemonMentionDispatchResultCommonPayloadSchema.extend({\n\tstatus: z.literal(\"failed\"),\n\terrorCode: z.string().min(1)\n});\nconst openMeldDaemonMentionDispatchResultPayloadSchema = z.discriminatedUnion(\"status\", [\n\topenMeldDaemonMentionDispatchReadyPayloadSchema,\n\topenMeldDaemonMentionDispatchBlockedPayloadSchema,\n\topenMeldDaemonMentionDispatchFailedPayloadSchema\n]);\nconst openMeldDaemonMentionDispatchResultEnvelopeSchema = z.strictObject({\n\tv: z.literal(2),\n\tcode: z.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 { spaceMentionLabelSchema } from \"../http/space-mention-label.js\";\nimport { spacePasswordSchema } from \"../http/space-password.js\";\nimport { messageEnvelopeSchema } from \"../protocol/message-envelope.js\";\nimport { spaceContractSchema } from \"../space-mesh/space-contract.js\";\nimport { spaceThreadContextSchema } from \"../space-mesh/space-thread.js\";\nimport { runtimeAgentControllerConversationIdMappingSpecSchema, runtimeDispatchPolicySchema, runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { centerAgentInteractionSourceSchema } from \"../protocol/center-agent-interaction-source.js\";\nimport { spaceMessageAttachmentsSchema } from \"../protocol/space-attachment.js\";\nimport { signalTextReplyToSchema } from \"../protocol/signal.js\";\nimport { agentTaskCompletionObservationSchema, agentTaskHandleSchema } from \"../runtime/agent-task-coordination.js\";\nimport { openMeldDaemonMentionDispatchRuleSourceSchema } from \"./mention-dispatch-result.js\";\nimport { z } from \"zod/v4\";\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 = z.enum([\"connection_replaced\", \"route_lost\"]);\nconst openMeldDaemonDispatchRulesSnapshotSchema = z.strictObject({\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: z.string().min(1),\n\truleReason: z.string().min(1)\n});\nconst openMeldDaemonDispatchControllerSnapshotSchema = z.strictObject({\n\tbindingId: z.string().trim().min(1).nullable().optional(),\n\tconfigurationRevision: z.number().int().positive().optional(),\n\ttargetBindingState: z.enum([\"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: z.boolean().describe(\"Compatibility seed evidence captured at Space handoff time. RuntimeCoordinator head lifecycle and Core Binding lookup remain the Wake outcome authorities.\"),\n\tagentControllerRef: z.string().min(1).nullable()\n});\nconst openMeldDaemonDispatchSnapshotSchema = z.strictObject({\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: z.string().min(1),\n\truleReason: z.string().min(1),\n\ttargetBindingState: z.enum([\"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: z.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 = z.strictObject({\n\ttext: z.string().min(1),\n\tprofileId: z.string().min(1).nullable(),\n\tprofileKind: z.enum([\n\t\t\"agent\",\n\t\t\"human\",\n\t\t\"system\"\n\t]).nullable(),\n\tprofileMentionLabel: spaceMentionLabelSchema.optional(),\n\tattachments: spaceMessageAttachmentsSchema.optional(),\n\tcenterAgentInteractionSource: centerAgentInteractionSourceSchema.optional()\n});\nconst openMeldDaemonDispatchReplyToSnapshotSchema = signalTextReplyToSchema;\nconst openMeldDaemonDispatchContinuitySnapshotSchema = z.strictObject({\n\tmessagesSinceThen: z.number().int().finite().min(0),\n\thigherAuthorityUpdates: z.boolean()\n});\nconst openMeldDaemonDispatchOwnerSchema = z.strictObject({\n\tkind: z.literal(\"owner_account\"),\n\tid: z.string().min(1)\n});\nconst openMeldDaemonDispatchQueueLegacyMessageSchemaV1 = z.strictObject({\n\tv: z.literal(1),\n\tdispatchId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tsourceEventId: z.string().min(1),\n\ttargetProfileId: z.string().min(1),\n\tidempotencyKey: z.string().min(1),\n\tenqueuedAtMs: z.number().int().nonnegative()\n});\nconst openMeldDaemonDispatchQueueMessageSchema = z.strictObject({\n\tv: z.literal(2),\n\tdispatchId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tsourceEventId: z.string().min(1),\n\tsourceClientMessageId: z.string().min(1).max(200).nullable().optional(),\n\tdispatchOwner: openMeldDaemonDispatchOwnerSchema.optional(),\n\ttargetProfileId: z.string().min(1),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\tdispatchChainId: z.string().min(1),\n\tautoRelayDepth: z.number().int().nonnegative(),\n\tvisitedProfileIds: z.array(z.string().min(1)).max(256).default([]),\n\tvisitedProfileIdsHash: z.string().min(1),\n\tdispatchContractVersion: z.number().int().positive(),\n\tdispatchPolicy: runtimeDispatchPolicySchema,\n\truleSource: openMeldDaemonMentionDispatchRuleSourceSchema,\n\truleId: z.string().min(1),\n\truleReason: z.string().min(1),\n\ttaskId: z.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: z.string().min(1).nullable().optional(),\n\tsourceProfileNameSnapshot: z.string().min(1).nullable().optional(),\n\ttargetProfileNameSnapshot: z.string().min(1).nullable().optional(),\n\tdeliveryRecoveryReason: openMeldDaemonDispatchDeliveryRecoveryReasonSchema.optional(),\n\tidempotencyKey: z.string().min(1),\n\tenqueuedAtMs: z.number().int().nonnegative()\n}).superRefine((value, context) => {\n\tif (value.dispatchSnapshot.dispatchPolicy !== value.dispatchPolicy) context.addIssue({\n\t\tcode: z.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: z.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: z.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: z.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: z.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: z.ZodIssueCode.custom,\n\t\tpath: [\"controllerSnapshot\"],\n\t\tmessage: \"controllerSnapshot target binding fields must match dispatchSnapshot\"\n\t});\n});\nconst remoteAgentNativeDeliveryDeadlineProbeQueueMessageSchema = z.strictObject({\n\tv: z.literal(3),\n\tkind: z.literal(\"remote_agent_native_delivery_deadline_probe\"),\n\tsubmissionId: z.string().min(1),\n\tidempotencyKey: z.string().min(1),\n\torganizationId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\tenqueuedAtMs: z.number().int().nonnegative(),\n\tdeadlineAtMs: z.number().int().nonnegative()\n});\nconst agentTaskContinuationQueueMessageSchema = z.strictObject({\n\tenqueuedAtMs: z.number().int().nonnegative(),\n\tidempotencyKey: z.string().trim().min(1).max(512),\n\tkind: z.literal(\"agent_task_continuation\"),\n\tsubscriptionId: z.string().trim().min(1).max(512),\n\tv: z.literal(4)\n});\nconst agentTaskObservationRedriveQueueMessageSchema = z.strictObject({\n\tdeliveryId: z.string().trim().min(1).max(1024),\n\tenqueuedAtMs: z.number().int().nonnegative(),\n\tidempotencyKey: z.string().trim().min(1).max(1536),\n\tkind: z.literal(\"agent_task_observation_redrive\"),\n\tobservation: agentTaskCompletionObservationSchema,\n\townerUserId: z.string().trim().min(1).max(512),\n\truntimeCoordinatorExecutionId: z.string().trim().min(1).max(512),\n\ttask: agentTaskHandleSchema,\n\tv: z.literal(5)\n});\nconst openMeldDaemonDispatchQueueIngressSchema = z.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: z.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, openMeldDaemonDispatchContinuitySnapshotSchema, openMeldDaemonDispatchControllerSnapshotSchema, openMeldDaemonDispatchDeliveryRecoveryReasonSchema, openMeldDaemonDispatchOwnerSchema, openMeldDaemonDispatchQueueIngressSchema, openMeldDaemonDispatchQueueLegacyMessageSchemaV1, openMeldDaemonDispatchQueueMessageSchema, 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 { z } from \"zod/v4\";\n//#region src/schemas/daemon/local-folder-picker.ts\nconst boundedIdentifierSchema = z.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.strictObject({ selectFolders: z.literal(true) });\nconst localFolderPickerPurposeSchema = z.enum([\n\t\"computer_file_access\",\n\t\"project_connection\",\n\t\"agent_profile_working_folder\"\n]);\nconst localFolderPickerRequestSchema = z.strictObject({\n\tallowMultiple: z.boolean(),\n\texpectedDeviceId: boundedIdentifierSchema,\n\tpurpose: localFolderPickerPurposeSchema\n});\nconst localFolderPickerErrorCodeSchema = z.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.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.strictObject({\n\tpaths: z.array(localFolderPathSchema).min(1).max(128),\n\tstatus: z.literal(\"selected\")\n});\nconst localFolderPickerHelperCancelledResultSchema = z.strictObject({ status: z.literal(\"cancelled\") });\nconst localFolderPickerHelperUnavailableResultSchema = z.strictObject({\n\tcode: localFolderPickerHelperErrorCodeSchema,\n\tstatus: z.literal(\"unavailable\")\n});\nconst localFolderPickerHelperResultSchema = z.discriminatedUnion(\"status\", [\n\tlocalFolderPickerHelperSelectedResultSchema,\n\tlocalFolderPickerHelperCancelledResultSchema,\n\tlocalFolderPickerHelperUnavailableResultSchema\n]);\nconst localFolderPickerHelperProtocolResultSchema = z.discriminatedUnion(\"status\", [\n\tlocalFolderPickerHelperSelectedResultSchema.extend({ v: z.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION) }),\n\tlocalFolderPickerHelperCancelledResultSchema.extend({ v: z.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION) }),\n\tlocalFolderPickerHelperUnavailableResultSchema.extend({ v: z.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION) })\n]);\nconst localFolderPickerSelectedResultSchema = z.strictObject({\n\tdeviceId: boundedIdentifierSchema,\n\tpaths: z.array(localFolderPathSchema).min(1).max(128),\n\tstatus: z.literal(\"selected\")\n});\nconst localFolderPickerCancelledResultSchema = z.strictObject({\n\tdeviceId: boundedIdentifierSchema,\n\tstatus: z.literal(\"cancelled\")\n});\nconst localFolderPickerUnavailableResultSchema = z.strictObject({\n\tcode: localFolderPickerErrorCodeSchema,\n\tmessage: z.string().trim().min(1).max(1024),\n\tstatus: z.literal(\"unavailable\")\n});\nconst localFolderPickerResultSchema = z.discriminatedUnion(\"status\", [\n\tlocalFolderPickerSelectedResultSchema,\n\tlocalFolderPickerCancelledResultSchema,\n\tlocalFolderPickerUnavailableResultSchema\n]);\nconst localFolderPickerRpcInputSchema = localFolderPickerRequestSchema.extend({ context: openMeldRequestContextSchema });\nconst localFolderPickerRequestFrameSchema = z.strictObject({\n\tcode: z.literal(\"daemon.local_folder_picker.select_folders\"),\n\tpayload: z.strictObject({\n\t\trequest: localFolderPickerRequestSchema,\n\t\trequestId: boundedIdentifierSchema\n\t}),\n\tv: z.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION)\n});\nconst localFolderPickerResultFrameSchema = z.strictObject({\n\tcode: z.literal(\"daemon.local_folder_picker.select_folders_result\"),\n\tpayload: z.strictObject({\n\t\trequestId: boundedIdentifierSchema,\n\t\tresult: localFolderPickerResultSchema\n\t}),\n\tv: z.literal(LOCAL_FOLDER_PICKER_FRAME_VERSION)\n});\nconst localFolderPickerDaemonFrameSchema = z.discriminatedUnion(\"code\", [localFolderPickerRequestFrameSchema, localFolderPickerResultFrameSchema]);\nconst runtimeTransportLocalFolderPickerRequestSchema = z.strictObject({\n\tdeviceId: boundedIdentifierSchema,\n\tlane: daemonServiceLaneSchema,\n\townerUserId: boundedIdentifierSchema,\n\trequest: localFolderPickerRequestSchema,\n\trequestId: boundedIdentifierSchema,\n\tv: z.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 { z } from \"zod/v4\";\n//#region src/schemas/daemon/provider-runtime-capability.ts\nconst providerRuntimeStreamingCapabilitySchema = z.enum([\"preview_capable\", \"final_only\"]);\nconst providerRuntimeImageInputCapabilitySchema = z.enum([\"local_file_path\", \"unsupported\"]);\nconst providerRuntimeWorkingDirectoryModeSchema = z.enum([\n\t\"spawn_cwd\",\n\t\"cli_flag\",\n\t\"provider_workspace\",\n\t\"unsupported\"\n]);\nconst providerRuntimePreparationRequirementSchema = z.enum([\"none\", \"required\"]);\nconst providerRuntimeContinuationCapabilitySchema = z.enum([\"standard\", \"provider_specific\"]);\nconst providerRuntimeWorkspaceResumeBehaviorSchema = z.enum([\n\t\"transparent\",\n\t\"provider_specific_switch\",\n\t\"validate_only\"\n]);\nconst providerRuntimeCapabilityDeclarationSchema = z.strictObject({\n\tstreamingCapability: providerRuntimeStreamingCapabilitySchema,\n\timageInputCapability: providerRuntimeImageInputCapabilitySchema.optional(),\n\truntimeWorkingDirectoryMode: providerRuntimeWorkingDirectoryModeSchema,\n\tpreparationRequirement: providerRuntimePreparationRequirementSchema,\n\tcontinuationCapability: providerRuntimeContinuationCapabilitySchema,\n\tworkspaceResumeBehavior: providerRuntimeWorkspaceResumeBehaviorSchema\n});\nconst daemonRuntimeAdapterCapabilitySnapshotSchema = z.strictObject({\n\tadapterId: z.string().min(1),\n\ttransportModes: z.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 { messageEnvelopeSchema } from \"../protocol/message-envelope.js\";\nimport { spaceThreadActionRefSchema } from \"./space-thread.js\";\n \nimport { spaceStatusSchema } from \"./signal-status.js\";\nimport { z } 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.strictObject({ signalId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)) });\nconst openMeldSpaceActionReplyToSchema = z.union([z.literal(\"current\"), signalIdRefSchema]);\nconst openMeldSpaceActionReadUpdatesFromSchema = z.union([z.literal(\"last_public_reply\"), signalIdRefSchema]);\nconst openMeldSpaceActionReadResultBySchema = z.union([z.strictObject({ resultRef: z.preprocess(trimmedStringFromUnknown, z.string().min(1)) }), z.strictObject({ dispatchId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)) })]);\nconst openMeldSpacePostMessageActionSchema = z.strictObject({\n\ttype: z.literal(\"post_message\"),\n\tobservedThroughSignalId: z.preprocess(trimmedStringFromUnknown, z.string().min(1)).optional(),\n\tmessageEnvelope: messageEnvelopeSchema,\n\tthread: spaceThreadActionRefSchema.optional(),\n\tsaveResult: z.boolean().optional()\n});\nconst openMeldSpacePostStatusActionSchema = z.strictObject({\n\ttype: z.literal(\"post_status\"),\n\tstatus: spaceStatusSchema,\n\ttargetProfileId: openMeldRuntimeProfileIdSchema.optional(),\n\ttext: z.preprocess(trimmedStringFromUnknown, z.string().min(1).max(120)),\n\treplyTo: openMeldSpaceActionReplyToSchema.optional(),\n\tthread: spaceThreadActionRefSchema.optional(),\n\tsaveResult: z.boolean().optional()\n});\nconst openMeldSpaceStaySilentActionSchema = z.strictObject({\n\ttype: z.literal(\"stay_silent\"),\n\treason: z.preprocess(trimmedStringFromUnknown, z.string().min(1)),\n\tsaveResult: z.boolean().optional()\n});\nconst openMeldSpaceReadUpdatesActionSchema = z.strictObject({\n\ttype: z.literal(\"read_updates\"),\n\tfrom: openMeldSpaceActionReadUpdatesFromSchema,\n\tthread: spaceThreadActionRefSchema.optional(),\n\tlimit: z.number().int().finite().positive().max(200).optional()\n});\nconst openMeldSpaceReadResultActionSchema = z.strictObject({\n\ttype: z.literal(\"read_result\"),\n\tby: openMeldSpaceActionReadResultBySchema\n});\nconst openMeldSpaceActionSchema = z.union([\n\topenMeldSpacePostMessageActionSchema,\n\topenMeldSpacePostStatusActionSchema,\n\topenMeldSpaceStaySilentActionSchema,\n\topenMeldSpaceReadUpdatesActionSchema,\n\topenMeldSpaceReadResultActionSchema\n]);\nconst openMeldSpaceEgressActionSchema = z.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 { 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\";\nimport { z } from \"zod/v4\";\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 = z.enum([\n\t\"success\",\n\t\"partial_success\",\n\t\"failed\"\n]);\nconst openMeldDaemonTaskResultErrorTypeSchema = z.enum([\n\t\"config\",\n\t\"network\",\n\t\"adapter\",\n\t\"policy\",\n\t\"timeout\",\n\t\"internal\",\n\t\"auth\"\n]);\nconst openMeldDaemonProviderAccessEvidenceProviderSchema = z.enum([\n\t\"claude-code\",\n\t\"codex\",\n\t\"opencode\",\n\t\"openclaw\"\n]);\nconst openMeldDaemonProviderAccessEvidenceReasonCodeSchema = z.enum([\"provider_account.organization_access_disabled\", \"provider_account.subscription_access_unavailable\"]);\nconst openMeldDaemonProviderAccessEvidenceSourceSchema = z.literal(\"wake_failure\");\nconst openMeldDaemonProviderAccessEvidenceSchema = z.strictObject({\n\tobservedAtMs: z.number().int().nonnegative(),\n\tprovider: openMeldDaemonProviderAccessEvidenceProviderSchema,\n\treasonCode: openMeldDaemonProviderAccessEvidenceReasonCodeSchema,\n\tsource: openMeldDaemonProviderAccessEvidenceSourceSchema\n});\nconst openMeldDaemonTaskResultSpaceActionProvenanceSchema = z.enum([\n\t\"cli_action\",\n\t\"direct\",\n\t\"local_repair\",\n\t\"controller_repair\"\n]);\nconst openMeldDaemonTaskResultSpaceActionFailureRepairModeSchema = z.enum([\n\t\"required_check\",\n\t\"local_synthetic\",\n\t\"controller_roundtrip\"\n]);\nconst openMeldDaemonTaskResultSpaceActionCarrierKindSchema = z.enum([\n\t\"fenced_block\",\n\t\"invalid_json\",\n\t\"none\",\n\t\"trailing_json\"\n]);\nconst openMeldDaemonTaskResultSpaceActionFailureDiagnosticsSchema = z.strictObject({\n\tcarrierKind: openMeldDaemonTaskResultSpaceActionCarrierKindSchema,\n\tinvalidOutputPreview: z.union([z.string().min(1), z.null()]),\n\tpublicFailureReason: z.union([z.string().min(1), z.null()]).optional().default(null),\n\trepairMode: openMeldDaemonTaskResultSpaceActionFailureRepairModeSchema,\n\tspaceActionCandidatePresent: z.boolean(),\n\tspaceActionParseError: z.union([z.string().min(1), z.null()])\n});\nconst openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema = z.enum([\n\t\"missing_after_restart\",\n\t\"missing_before_restart\",\n\t\"visible\",\n\t\"visible_after_restart\"\n]);\nconst openMeldDaemonTaskResultOpenClawGatewayVisibilitySchema = z.strictObject({\n\tagentId: z.string().min(1),\n\tgatewayRestartAttempted: z.boolean(),\n\tgatewayVisibility: openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema\n});\nconst openMeldDaemonTaskResultOpenClawBindingClassificationSchema = z.enum([\n\t\"missing\",\n\t\"canonical_owned\",\n\t\"legacy\",\n\t\"foreign\"\n]);\nconst openMeldDaemonTaskResultOpenClawBindingSchema = z.strictObject({ classification: openMeldDaemonTaskResultOpenClawBindingClassificationSchema });\nconst openMeldDaemonTaskResultLocalOwnerConflictSchema = z.strictObject({\n\tactiveAttemptId: z.string().min(1).nullable(),\n\tactiveDispatchId: z.string().min(1).nullable(),\n\tactiveExecutionTokenRunId: z.string().min(1).nullable(),\n\tactiveRuntimeCoordinatorExecutionId: z.string().min(1).nullable(),\n\tactiveTaskId: z.string().min(1).nullable(),\n\treason: z.literal(\"task.owner_conflict\"),\n\trejectedAttemptId: z.string().min(1),\n\trejectedDispatchId: z.string().min(1),\n\trejectedExecutionTokenRunId: z.string().min(1).nullable(),\n\trejectedRuntimeCoordinatorExecutionId: z.string().min(1).nullable(),\n\trejectedTaskId: z.string().min(1)\n});\nconst openMeldDaemonTaskResultPromptTraceSchema = z.strictObject({\n\tfingerprint: z.string().min(1),\n\tlength: z.int().nonnegative(),\n\tpreview: z.union([z.string().min(1), z.null()])\n});\nconst openMeldDaemonTaskResultClaimLeaseSchema = z.strictObject({\n\tclaimLeaseId: z.string().min(1),\n\toutcome: z.enum([\"existing_lease\", \"new_lease\"]),\n\tstatus: z.literal(\"accepted\")\n});\nconst openMeldDaemonTaskResultProjectFailureContextSchema = z.strictObject({\n\tbindingGeneration: z.string().min(1).optional(),\n\tprojectId: z.string().min(1)\n});\nconst openMeldDaemonTaskResultTokenUsageBreakdownSchema = z.strictObject({\n\tcacheWriteInputTokens: z.int().nonnegative().optional(),\n\tcachedInputTokens: z.int().nonnegative(),\n\tinputTokens: z.int().nonnegative(),\n\toutputTokens: z.int().nonnegative(),\n\treasoningOutputTokens: z.int().nonnegative(),\n\ttotalTokens: z.int().nonnegative()\n});\nconst openMeldDaemonTaskResultTokenUsageSchema = z.strictObject({\n\tlast: openMeldDaemonTaskResultTokenUsageBreakdownSchema,\n\tmodelContextWindow: z.int().nonnegative().nullable(),\n\ttotal: openMeldDaemonTaskResultTokenUsageBreakdownSchema\n});\nconst openMeldDaemonTaskResultTelemetrySchema = z.strictObject({\n\tcompletedAtMs: z.number().int().nonnegative(),\n\tcontextCompactionObserved: z.boolean().optional(),\n\tcontextHealed: z.boolean().optional(),\n\texitCode: z.int().nullable().optional(),\n\texitObservedAtMs: z.number().int().nonnegative().optional(),\n\texitSignal: z.string().min(1).nullable().optional(),\n\tfirstOutputAtMs: z.number().int().nonnegative().optional(),\n\tfirstStderrAtMs: z.number().int().nonnegative().optional(),\n\tfirstStdoutAtMs: z.number().int().nonnegative().optional(),\n\tinvokedAtMs: z.number().int().nonnegative(),\n\tpreviewEmitted: z.boolean().optional(),\n\tprocessId: z.number().int().positive().optional(),\n\tprocessSpawnedAtMs: z.number().int().nonnegative().optional(),\n\tresumedContext: z.boolean(),\n\tstdinClosedAtMs: z.number().int().nonnegative().optional(),\n\tstreamingMode: z.enum([\"final\", \"stream\"]).optional(),\n\ttimeoutTriggeredAtMs: z.number().int().nonnegative().optional(),\n\ttokenUsage: openMeldDaemonTaskResultTokenUsageSchema.optional()\n});\nconst openMeldDaemonTaskResultCommonSchemaV1 = z.strictObject({\n\ttaskId: z.string().min(1),\n\tsourceEventId: z.string().min(1),\n\tagentId: z.string().min(1),\n\tdeduped: z.boolean(),\n\tagentControllerRef: z.string().min(1).optional(),\n\tagentControllerConversationId: z.string().min(1).optional()\n});\nconst openMeldDaemonTaskResultCommonSchema = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tattemptId: z.string().min(1),\n\ttelemetry: openMeldDaemonTaskResultTelemetrySchema.optional(),\n\tagentControllerConversation: agentControllerConversationRefSchema.optional(),\n\teffectiveRuntimeWorkingDirectory: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: z.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: z.boolean().optional()\n});\nconst openMeldDaemonTaskResultCommonSchemaV3 = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tattemptId: z.string().min(1),\n\ttelemetry: openMeldDaemonTaskResultTelemetrySchema.optional(),\n\tagentControllerConversation: agentControllerConversationRefSchema.optional(),\n\teffectiveRuntimeWorkingDirectory: profileWorkingDirectorySchema.optional(),\n\truntimeWorkspaceFingerprint: z.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: z.boolean().optional()\n});\nconst openMeldDaemonTaskResultSuccessPayloadSchema = openMeldDaemonTaskResultCommonSchema.extend({\n\tstatus: z.literal(\"success\"),\n\toutput: z.string().min(1)\n});\nconst openMeldDaemonTaskResultPartialSuccessPayloadSchema = openMeldDaemonTaskResultCommonSchema.extend({\n\tstatus: z.literal(\"partial_success\"),\n\toutput: z.string().min(1),\n\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\terrorCode: z.string().min(1).optional(),\n\tpartialReason: z.string().min(1),\n\terrorMessage: z.string().min(1).optional()\n});\nconst openMeldDaemonTaskResultFailedPayloadSchema = openMeldDaemonTaskResultCommonSchema.extend({\n\tstatus: z.literal(\"failed\"),\n\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\terrorCode: z.string().min(1).optional(),\n\terrorMessage: z.string().min(1).optional(),\n\tproviderAccessEvidence: openMeldDaemonProviderAccessEvidenceSchema.optional()\n});\nconst openMeldDaemonTaskResultPayloadSchema = z.discriminatedUnion(\"status\", [\n\topenMeldDaemonTaskResultSuccessPayloadSchema,\n\topenMeldDaemonTaskResultPartialSuccessPayloadSchema,\n\topenMeldDaemonTaskResultFailedPayloadSchema\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 openMeldDaemonTaskResultSuccessPayloadSchemaV3 = openMeldDaemonTaskResultCommonSchemaV3.extend({\n\tstatus: z.literal(\"success\"),\n\toutput: z.string().min(1)\n});\nconst openMeldDaemonTaskResultPartialSuccessPayloadSchemaV3 = openMeldDaemonTaskResultCommonSchemaV3.extend({\n\tstatus: z.literal(\"partial_success\"),\n\toutput: z.string().min(1),\n\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\terrorCode: z.string().min(1).optional(),\n\tpartialReason: z.string().min(1),\n\terrorMessage: z.string().min(1).optional()\n});\nconst openMeldDaemonTaskResultFailedPayloadSchemaV3 = openMeldDaemonTaskResultCommonSchemaV3.extend({\n\tstatus: z.literal(\"failed\"),\n\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\terrorCode: z.string().min(1).optional(),\n\terrorMessage: z.string().min(1).optional()\n});\nconst openMeldDaemonTaskResultPayloadSchemaV3 = z.discriminatedUnion(\"status\", [\n\topenMeldDaemonTaskResultSuccessPayloadSchemaV3,\n\topenMeldDaemonTaskResultPartialSuccessPayloadSchemaV3,\n\topenMeldDaemonTaskResultFailedPayloadSchemaV3\n]);\nconst openMeldDaemonTaskResultSuccessPayloadSchemaV1 = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tstatus: z.literal(\"success\"),\n\toutput: z.string().min(1)\n});\nconst openMeldDaemonTaskResultPartialSuccessPayloadSchemaV1 = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tstatus: z.literal(\"partial_success\"),\n\toutput: z.string().min(1),\n\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\terrorCode: z.string().min(1).optional(),\n\tpartialReason: z.string().min(1),\n\terrorMessage: z.string().min(1).optional()\n});\nconst openMeldDaemonTaskResultFailedPayloadSchemaV1 = openMeldDaemonTaskResultCommonSchemaV1.extend({\n\tstatus: z.literal(\"failed\"),\n\terrorType: openMeldDaemonTaskResultErrorTypeSchema,\n\terrorCode: z.string().min(1).optional(),\n\terrorMessage: z.string().min(1).optional()\n});\nconst openMeldDaemonTaskResultPayloadSchemaV1 = z.discriminatedUnion(\"status\", [\n\topenMeldDaemonTaskResultSuccessPayloadSchemaV1,\n\topenMeldDaemonTaskResultPartialSuccessPayloadSchemaV1,\n\topenMeldDaemonTaskResultFailedPayloadSchemaV1\n]);\nconst openMeldDaemonTaskResultEnvelopeWriteSchema = z.strictObject({\n\tv: z.literal(4),\n\tcode: z.literal(\"service.task_result\"),\n\tpayload: openMeldDaemonTaskResultPayloadSchema\n});\nconst openMeldDaemonTaskResultEnvelopeSchemaV3 = z.strictObject({\n\tv: z.literal(OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_PREVIOUS),\n\tcode: z.literal(\"service.task_result\"),\n\tpayload: openMeldDaemonTaskResultPayloadSchemaV3\n});\nconst openMeldDaemonTaskResultEnvelopeSchemaV2 = z.strictObject({\n\tv: z.literal(OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_LEGACY),\n\tcode: z.literal(\"service.task_result\"),\n\tpayload: openMeldDaemonTaskResultPayloadSchemaV3\n});\nconst openMeldDaemonTaskResultEnvelopeSchemaV1 = z.strictObject({\n\tv: z.literal(OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION_OLDEST),\n\tcode: z.literal(\"service.task_result\"),\n\tpayload: openMeldDaemonTaskResultPayloadSchemaV1\n});\nconst openMeldDaemonTaskResultEnvelopeSchema = z.union([\n\topenMeldDaemonTaskResultEnvelopeWriteSchema,\n\topenMeldDaemonTaskResultEnvelopeSchemaV2,\n\topenMeldDaemonTaskResultEnvelopeSchemaV3,\n\topenMeldDaemonTaskResultEnvelopeSchemaV1\n]);\n//#endregion\nexport { OPENMELD_DAEMON_TASK_RESULT_SCHEMA_VERSION, 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 { daemonServiceLaneSchema } from \"./service-contract.js\";\nimport { MAX_TEXT_LENGTH } from \"../protocol/constants.js\";\nimport { agentProfileIdSchema, profileHandleSchema, profileWorkingDirectorySchema, profileWorkspaceModeSchema } from \"../protocol/profile.js\";\nimport { executionRecoveryDestinationSchema, executionRecoveryIdentitySchema } from \"../http/execution-recovery.js\";\nimport { organizationProtectedInformationSchema } from \"../http/organization-information-protection.js\";\nimport { spaceMentionLabelSchema } from \"../http/space-mention-label.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 } from \"../local-components.js\";\nimport { agentInteractionPendingSummarySchema, agentInteractionRequestSchema, agentInteractionResponseSchema } from \"../protocol/agent-interaction.js\";\nimport { agentStreamToolPartSchema } from \"../protocol/agent-stream.js\";\nimport { messageEnvelopeSchema } from \"../protocol/message-envelope.js\";\nimport { targetWakeLifecycleIdentitySchema } from \"../protocol/target-wake-lifecycle.js\";\nimport { spaceContractSchema } from \"../space-mesh/space-contract.js\";\nimport { spaceThreadContextSchema } from \"../space-mesh/space-thread.js\";\nimport { runtimeAgentControllerConversationIdMappingSpecSchema, runtimeDispatchPolicySchema, runtimeStreamingModeSchema, runtimeTransportModeSchema } from \"./controller-contract.js\";\nimport { openMeldDaemonCancelPayloadSchema, openMeldDaemonCancelRequestPayloadSchema, openMeldDaemonInterruptPayloadSchema, openMeldDaemonInterruptRequestPayloadSchema, openMeldDaemonSetLocalAgentEnabledPayloadSchema, openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema, openMeldDaemonSetProfileWorkspacePayloadSchema, openMeldDaemonSetProfileWorkspaceRequestPayloadSchema, openMeldDaemonSyncRouteCatalogPayloadSchema, openMeldDaemonSyncRouteCatalogRequestPayloadSchema, skippedDaemonProfileSchema } from \"./control-plane.js\";\nimport { runtimeTransportStopCauseSchema } from \"./runtime-transport-stop-cause.js\";\nimport { 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\";\nimport { z } from \"zod/v4\";\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 = z.strictObject({ epoch: z.string().min(1) });\nconst daemonRuntimeContractReasonCodeSchema = z.enum([\n\t\"daemon.runtime_contract.compatible\",\n\t\"daemon.runtime_contract.missing\",\n\t\"daemon.runtime_contract.mismatch\"\n]);\nconst daemonExecutionCompatibilitySchema = z.strictObject({\n\tstatus: z.enum([\"compatible\", \"update_required\"]),\n\texpectedEpoch: z.string().min(1),\n\tobservedEpoch: z.union([z.string().min(1), z.null()]),\n\treasonCode: daemonRuntimeContractReasonCodeSchema\n});\nconst runtimeTransportErrorCodeSchema = z.enum([\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\"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 = z.strictObject({\n\tprofileId: z.string().min(1),\n\tleaseEpoch: z.number().int().positive()\n});\nconst runtimeTransportBaseCapabilitiesSchema = z.strictObject({\n\tinformationProtectionPrompt: z.literal(true).optional(),\n\tlocalAgentInteraction: z.literal(true).optional(),\n\tprofileConfigurationRevision: z.literal(true).optional(),\n\tlocalComponents: localComponentsStatusSchema.optional(),\n\tlocalAgentControl: z.strictObject({\n\t\tcancel: z.literal(true).optional(),\n\t\tinterrupt: z.literal(true).optional(),\n\t\trefreshCatalog: z.literal(true).optional(),\n\t\tresumeControllerConversation: z.literal(true).optional(),\n\t\tsetEnabled: z.literal(true).optional(),\n\t\tsetProfileWorkspace: z.literal(true).optional()\n\t}).optional(),\n\tlocalProjectControl: z.strictObject({\n\t\tconnectCandidate: z.literal(true).optional(),\n\t\tconnectDeclaredPath: z.literal(true).optional(),\n\t\tdiscoverProjects: z.literal(true).optional(),\n\t\tmoveConnection: z.literal(true).optional(),\n\t\tremoveConnection: z.literal(true).optional(),\n\t\tremoveMissingConnections: z.literal(true).optional(),\n\t\tsetDefaultConnection: z.literal(true).optional()\n\t}).optional(),\n\truntimeAdapters: z.array(daemonRuntimeAdapterCapabilitySnapshotSchema).min(1).optional()\n});\nconst runtimeTransportCapabilitiesSchema = runtimeTransportBaseCapabilitiesSchema.extend({\n\tcomputerFileAccess: z.strictObject({\n\t\treadPolicy: z.literal(true).optional(),\n\t\tupdatePolicy: z.literal(true).optional()\n\t}).optional(),\n\tlocalFolderPicker: localFolderPickerRuntimeCapabilitySchema.optional()\n});\nconst localWakeRouteReportSchema = z.strictObject({\n\treportedAtMs: z.number().int().nonnegative(),\n\tdaemonSessionId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: z.string().trim().min(1).nullable().optional(),\n\tincludedProfileIds: z.array(z.string().min(1)).max(512),\n\tprofileConfigurationRevisions: z.array(z.strictObject({\n\t\tbindingId: z.string().min(1),\n\t\tconfigurationRevision: z.number().int().positive(),\n\t\tprofileId: z.string().min(1)\n\t})).max(512).optional(),\n\tskippedProfiles: z.array(skippedDaemonProfileSchema).max(512)\n});\nconst runtimeTransportRejectedProfileRegistrationSchema = z.strictObject({\n\tprofileId: z.string().min(1),\n\treasonCode: runtimeTransportErrorCodeSchema,\n\trejectedAtMs: z.number().int().nonnegative(),\n\tdaemonSessionId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: z.string().trim().min(1).nullable().optional()\n});\nconst runtimeTransportRegisterSessionRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tdaemonSessionId: z.string().min(1),\n\tserviceVersion: z.string().trim().min(1).optional(),\n\tconnectionGeneration: z.number().int().positive(),\n\tprofileIds: z.array(z.string().min(1)).max(512),\n\tlocalWakeRouteReport: localWakeRouteReportSchema.optional(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\truntimeContract: daemonRuntimeContractSchema.optional(),\n\tconnectedAtMs: z.number().int().nonnegative()\n});\nconst runtimeTransportRegisterSessionResponseSchema = z.strictObject({\n\tok: z.boolean(),\n\tconnectionGeneration: z.number().int().positive(),\n\tacceptedLeases: z.array(runtimeTransportLeaseSchema),\n\trejectedProfiles: z.array(z.strictObject({\n\t\tprofileId: z.string().min(1),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t}))\n});\nconst runtimeTransportHeartbeatRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tdaemonSessionId: z.string().min(1),\n\tacceptingDispatches: z.boolean().optional(),\n\tstopCause: runtimeTransportStopCauseSchema.optional(),\n\tserviceVersion: z.string().trim().min(1).optional(),\n\tleases: z.array(runtimeTransportLeaseSchema).max(512),\n\tcapabilities: runtimeTransportCapabilitiesSchema.optional(),\n\truntimeContract: daemonRuntimeContractSchema.optional(),\n\tsentAtMs: z.number().int().nonnegative()\n});\nconst runtimeTransportHeartbeatResponseSchema = z.strictObject({\n\tok: z.boolean(),\n\tserverNowMs: z.number().int().nonnegative(),\n\tstaleLeases: z.array(runtimeTransportLeaseSchema),\n\treasonCode: runtimeTransportErrorCodeSchema.optional()\n});\nconst runtimeTransportRouteCatalogChangedReasonSchema = z.string().trim().min(1).max(100);\nconst runtimeTransportRouteCatalogChangedFramePayloadSchema = z.strictObject({ reason: runtimeTransportRouteCatalogChangedReasonSchema });\nconst runtimeTransportNotifyRouteCatalogChangedRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\treason: runtimeTransportRouteCatalogChangedReasonSchema,\n\taffectedProfileIds: z.array(z.string().trim().min(1)).max(200).optional()\n});\nconst runtimeTransportNotifyRouteCatalogChangedResponseSchema = z.strictObject({\n\tok: z.boolean(),\n\tnotifiedSessions: z.number().int().nonnegative()\n});\nconst runtimeTransportLookupOwnerServiceRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1)\n});\nconst runtimeTransportLiveSessionSchema = z.strictObject({\n\tdaemonSessionId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: z.string().trim().min(1).nullable().optional(),\n\tconnectionGeneration: z.number().int().positive(),\n\tlastHeartbeatMs: z.number().int().nonnegative(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\texecutionCompatibility: daemonExecutionCompatibilitySchema\n});\nconst runtimeTransportLookupOwnerServiceResponseSchema = z.discriminatedUnion(\"online\", [z.strictObject({\n\tonline: z.literal(true),\n\tsessions: z.array(runtimeTransportLiveSessionSchema).min(1)\n}), z.strictObject({\n\tonline: z.literal(false),\n\treasonCode: runtimeTransportErrorCodeSchema\n})]);\nconst runtimeTransportSocketDisconnectClassSchema = z.enum([\n\t\"abnormal_socket_close\",\n\t\"normal_shutdown\",\n\t\"possible_deploy_or_edge_restart\"\n]);\nconst runtimeTransportSocketCloseReasonCodeSchema = z.enum([\n\t\"abnormal_closure\",\n\t\"going_away\",\n\t\"normal_closure\",\n\t\"other\",\n\t\"socket_error\"\n]);\nconst runtimeTransportSocketDisconnectRateBucketSchema = z.strictObject({\n\thourStartMs: z.number().int().nonnegative(),\n\tdisconnectClass: runtimeTransportSocketDisconnectClassSchema,\n\tdeployAdjacentReason: z.string().trim().min(1).max(100).nullable(),\n\tcount: z.number().int().positive(),\n\tfirstObservedAtMs: z.number().int().nonnegative(),\n\tlastObservedAtMs: z.number().int().nonnegative()\n});\nconst runtimeTransportSessionDisconnectDiagnosticSchema = z.strictObject({\n\tcloseCode: z.number().int().nonnegative().max(4999),\n\tcloseReasonCode: runtimeTransportSocketCloseReasonCodeSchema,\n\tconnectedAtMs: z.number().int().nonnegative(),\n\tconnectionGeneration: z.number().int().positive(),\n\tdaemonSessionId: z.string().min(1).max(128),\n\tdeployAdjacentReason: z.string().trim().min(1).max(100).nullable(),\n\tdeviceId: z.string().min(1).max(128),\n\tdisconnectedAtMs: z.number().int().nonnegative(),\n\tdisconnectClass: runtimeTransportSocketDisconnectClassSchema,\n\tdurationMs: z.number().int().nonnegative(),\n\theartbeatAgeMs: z.number().int().nonnegative(),\n\tlane: daemonServiceLaneSchema,\n\tlastHeartbeatMs: z.number().int().nonnegative(),\n\tprofileCount: z.number().int().nonnegative(),\n\tprofileIds: z.array(z.string().min(1).max(128)).max(20),\n\tserviceVersion: z.string().trim().min(1).max(64).nullable(),\n\twasClean: z.boolean()\n});\nconst runtimeTransportDisconnectRatesResponseSchema = z.discriminatedUnion(\"ok\", [z.strictObject({\n\tok: z.literal(true),\n\townerUserId: z.string().min(1).nullable(),\n\twindowMs: z.number().int().nonnegative(),\n\tbuckets: z.array(runtimeTransportSocketDisconnectRateBucketSchema),\n\trecentSessions: z.array(runtimeTransportSessionDisconnectDiagnosticSchema).max(20).optional()\n}), z.strictObject({\n\tok: z.literal(false),\n\treasonCode: z.string().trim().min(1),\n\tbuckets: z.array(runtimeTransportSocketDisconnectRateBucketSchema).length(0),\n\trecentSessions: z.array(runtimeTransportSessionDisconnectDiagnosticSchema).length(0).optional()\n})]);\nconst runtimeTransportSetLocalAgentEnabledRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tagentId: z.string().trim().min(1).max(256),\n\tenabled: z.boolean()\n});\nconst runtimeTransportSetLocalAgentEnabledResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tstatus: z.literal(\"accepted\"),\n\tpayload: openMeldDaemonSetLocalAgentEnabledPayloadSchema\n}), z.strictObject({\n\tstatus: z.literal(\"rejected\"),\n\treasonCode: z.string().min(1),\n\tmessage: z.string().min(1)\n})]);\nconst runtimeTransportRefreshLocalAgentCatalogRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\treason: z.string().trim().min(1).max(120)\n});\nconst runtimeTransportRefreshLocalAgentCatalogResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tstatus: z.literal(\"accepted\"),\n\tpayload: openMeldDaemonSyncRouteCatalogPayloadSchema\n}), z.strictObject({\n\tstatus: z.literal(\"rejected\"),\n\treasonCode: z.string().min(1),\n\tmessage: z.string().min(1)\n})]);\nconst runtimeTransportSetProfileWorkspaceRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdeviceId: z.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 = z.discriminatedUnion(\"status\", [z.strictObject({\n\tstatus: z.literal(\"accepted\"),\n\tpayload: openMeldDaemonSetProfileWorkspacePayloadSchema\n}), z.strictObject({\n\tstatus: z.literal(\"rejected\"),\n\treasonCode: z.string().min(1),\n\tmessage: z.string().min(1)\n})]);\nconst runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema = z.strictObject({\n\trequestId: z.string().min(1),\n\tpayload: openMeldDaemonSetLocalAgentEnabledRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema = z.strictObject({\n\trequestId: z.string().min(1),\n\tpayload: openMeldDaemonSyncRouteCatalogRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema = z.strictObject({\n\trequestId: z.string().min(1),\n\tpayload: openMeldDaemonSetProfileWorkspaceRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlCancelFramePayloadSchema = z.strictObject({\n\trequestId: z.string().min(1),\n\tpayload: openMeldDaemonCancelRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlInterruptFramePayloadSchema = z.strictObject({\n\trequestId: z.string().min(1),\n\tpayload: openMeldDaemonInterruptRequestPayloadSchema\n});\nconst runtimeTransportLocalAgentControlResultFramePayloadSchema = z.strictObject({\n\trequestId: z.string().min(1),\n\tpayload: z.union([\n\t\topenMeldDaemonSetLocalAgentEnabledPayloadSchema,\n\t\topenMeldDaemonSetProfileWorkspacePayloadSchema,\n\t\topenMeldDaemonSyncRouteCatalogPayloadSchema,\n\t\topenMeldDaemonCancelPayloadSchema,\n\t\topenMeldDaemonInterruptPayloadSchema\n\t])\n});\nconst runtimeTransportInspectExecutionRecoveryRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema\n});\nconst runtimeTransportInspectExecutionRecoveryResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tstatus: z.literal(\"available\"),\n\texactAssociationVerified: z.literal(true),\n\tserviceSupportsResume: z.literal(true),\n\tidentity: executionRecoveryIdentitySchema,\n\treasonCode: z.literal(\"execution_recovery.exact_controller_conversation_available\")\n}), z.strictObject({\n\tstatus: z.literal(\"unavailable\"),\n\texactAssociationVerified: z.boolean(),\n\tidentity: executionRecoveryIdentitySchema.nullable(),\n\tserviceSupportsResume: z.boolean(),\n\treasonCode: z.string().trim().min(1)\n})]);\nconst runtimeTransportResumeControllerConversationRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().trim().min(1),\n\toperationId: z.string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\tproviderRuntimeWorkingDirectory: z.string().trim().min(1).max(4096)\n});\nconst runtimeTransportResumeControllerConversationFramePayloadSchema = z.strictObject({\n\trequestId: z.string().trim().min(1),\n\toperationId: z.string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\tproviderRuntimeWorkingDirectory: z.string().trim().min(1).max(4096),\n\tsourceEventId: z.string().trim().min(1),\n\ttransportMode: runtimeTransportModeSchema\n});\nconst runtimeTransportResumeControllerConversationResultSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tstatus: z.literal(\"completed\"),\n\toperationId: z.string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\toutput: z.string().trim().min(1),\n\tagentControllerConversationId: z.string().trim().min(1)\n}), z.strictObject({\n\tstatus: z.enum([\"outcome_unknown\", \"rejected\"]),\n\toperationId: z.string().trim().min(1),\n\tidentity: executionRecoveryIdentitySchema,\n\tdestination: executionRecoveryDestinationSchema,\n\treasonCode: z.string().trim().min(1),\n\tmessage: z.string().trim().min(1)\n})]);\nconst runtimeTransportResumeControllerConversationResultFramePayloadSchema = z.strictObject({\n\trequestId: z.string().trim().min(1),\n\tresult: runtimeTransportResumeControllerConversationResultSchema\n});\nconst runtimeTransportResumeControllerConversationResponseSchema = runtimeTransportResumeControllerConversationResultSchema;\nconst runtimeTransportLookupRouteRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tprofileId: z.string().min(1)\n});\nconst runtimeTransportLookupRouteOwnerServiceEvidenceSchema = z.strictObject({\n\tdaemonSessionId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: z.string().trim().min(1).nullable().optional(),\n\tconnectionGeneration: z.number().int().positive(),\n\tlastHeartbeatMs: z.number().int().nonnegative(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\texecutionCompatibility: daemonExecutionCompatibilitySchema\n});\nconst runtimeTransportLookupRouteResponseSchema = z.discriminatedUnion(\"online\", [z.strictObject({\n\tonline: z.literal(true),\n\tacceptingDispatches: z.boolean().optional(),\n\tstopCause: runtimeTransportStopCauseSchema.optional(),\n\tdaemonSessionId: z.string().min(1),\n\tdeviceId: z.string().min(1),\n\tlane: daemonServiceLaneSchema,\n\tserviceVersion: z.string().trim().min(1).nullable().optional(),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tlastHeartbeatMs: z.number().int().nonnegative(),\n\tcapabilities: runtimeTransportCapabilitiesSchema,\n\texecutionCompatibility: daemonExecutionCompatibilitySchema,\n\tlocalWakeRouteReport: localWakeRouteReportSchema.optional()\n}), z.strictObject({\n\tonline: z.literal(false),\n\treasonCode: runtimeTransportErrorCodeSchema,\n\tlastHeartbeatMs: z.number().int().nonnegative().optional(),\n\townerService: runtimeTransportLookupRouteOwnerServiceEvidenceSchema.optional(),\n\texecutionCompatibility: daemonExecutionCompatibilitySchema.optional(),\n\tlocalWakeRouteReport: localWakeRouteReportSchema.optional(),\n\trejectedProfileRegistration: runtimeTransportRejectedProfileRegistrationSchema.optional()\n})]);\nconst runtimeTransportLookupRoutesBatchRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tprofileIds: z.array(z.string().min(1)).min(1).max(100)\n});\nconst runtimeTransportLookupRoutesBatchResponseSchema = z.strictObject({ routes: z.record(z.string(), runtimeTransportLookupRouteResponseSchema) });\nconst runtimeTransportDispatchSourceSignalSchema = z.strictObject({\n\tprofileId: z.string().min(1).nullable(),\n\tprofileKind: z.enum([\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: z.string().min(1).max(MAX_TEXT_LENGTH)\n});\nconst runtimeTransportDeliverDispatchPayloadSchema = z.strictObject({\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\texecutionToken: runtimeCoordinatorExecutionTokenEnvelopeSchema.optional(),\n\tattemptId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\texecutionIdentity: runtimeTransportDeliveryExecutionIdentitySchema,\n\ttaskId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tsourceEventId: z.string().min(1),\n\tsourceClientMessageId: z.string().min(1).max(200).nullable().optional(),\n\tsourceSignal: runtimeTransportDispatchSourceSignalSchema,\n\ttargetProfileId: z.string().min(1),\n\tdefaultProjectId: z.string().trim().min(1).optional(),\n\torganizationProtectedInformation: organizationProtectedInformationSchema.optional(),\n\tdispatchContractVersion: z.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: z.number().int().nonnegative(),\n\tidempotencyKey: z.string().min(1),\n\tspacePassword: spacePasswordSchema.optional(),\n\ttargetProfileName: z.string().min(1).max(64).optional(),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileIsCenterAgent: z.boolean().optional(),\n\tagentControllerConversationId: z.string().trim().min(1).optional(),\n\tdeliveryRecoveryReason: openMeldDaemonDispatchDeliveryRecoveryReasonSchema.optional(),\n\tdispatchChainId: z.string().min(1).optional(),\n\tautoRelayDepth: z.number().int().nonnegative().optional(),\n\tvisitedProfileIds: z.array(z.string().min(1)).max(256).optional(),\n\tvisitedProfileIdsHash: z.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: z.string().min(1).nullable().optional()\n});\nconst runtimeTransportDeliverDispatchRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\townerUserId: z.string().min(1),\n\tprofileId: z.string().min(1),\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tdeliveryRecoveryReason: openMeldDaemonDispatchDeliveryRecoveryReasonSchema.optional(),\n\tpayload: runtimeTransportDeliverDispatchPayloadSchema\n});\nconst runtimeTransportDeliverDispatchResponseSchema = z.discriminatedUnion(\"status\", [\n\tz.strictObject({\n\t\taccepted: z.literal(true),\n\t\tstatus: z.literal(\"delivered\")\n\t}),\n\tz.strictObject({\n\t\taccepted: z.literal(true),\n\t\tstatus: z.literal(\"already_pending\"),\n\t\texistingAttemptId: z.string().min(1)\n\t}),\n\tz.strictObject({\n\t\taccepted: z.literal(true),\n\t\tstatus: z.literal(\"already_completed\"),\n\t\tcompletedAttemptId: z.string().min(1)\n\t}),\n\tz.strictObject({\n\t\taccepted: z.literal(false),\n\t\tstatus: z.literal(\"rejected\"),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t})\n]);\nconst runtimeTransportWaitDispatchResultRequestSchema = z.strictObject({\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\ttimeoutMs: z.number().int().positive().optional()\n});\nconst runtimeCoordinatorDecisionReasonCodeSchema = z.string().trim().min(1).max(160);\nconst runtimeTransportRuntimeCoordinatorDecisionEventKindSchema = z.enum([\n\t\"owner_conflict\",\n\t\"reclaim\",\n\t\"retry\",\n\t\"timeout\"\n]);\nconst runtimeTransportRuntimeCoordinatorDecisionTriggerSchema = z.enum([\n\t\"alarm\",\n\t\"daemon\",\n\t\"queue\"\n]);\nconst runtimeTransportRuntimeCoordinatorDecisionRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tdispatchId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\ttargetProfileId: z.string().min(1),\n\tsourceClientMessageId: z.string().min(1).max(200).nullable(),\n\tattemptId: z.string().min(1).nullable().optional(),\n\tclaimDecision: z.enum([\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: z.string().min(1).max(512),\n\tobservedRunId: z.string().min(1).nullable().optional(),\n\treasonCode: runtimeCoordinatorDecisionReasonCodeSchema.optional(),\n\ttrigger: runtimeTransportRuntimeCoordinatorDecisionTriggerSchema\n});\nconst runtimeTransportRuntimeCoordinatorDecisionResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tok: z.literal(true),\n\tstatus: z.enum([\"already_recorded\", \"recorded\"]),\n\taction: z.enum([\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}), z.strictObject({\n\tok: z.literal(false),\n\tstatus: z.literal(\"retry_later\"),\n\treasonCode: runtimeCoordinatorDecisionReasonCodeSchema,\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId\n})]);\nconst runtimeTransportRuntimeCoordinatorWakeStopRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tdispatchId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tsourceClientMessageId: z.string().min(1).max(200).nullable(),\n\ttargetProfileId: z.string().min(1),\n\treason: z.string().trim().min(1).max(512).optional()\n});\nconst runtimeTransportRuntimeCoordinatorWakeStopResponseSchema = postSpaceWakeStopResponseSchema;\nconst runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema = z.enum([\"runtime_coordinator.pre_agent_stop_requested\"]);\nconst runtimeTransportRuntimeCoordinatorHeadPreAgentStopRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\tidempotencyKey: z.string().min(1).max(512),\n\treason: z.string().trim().min(1).max(512).optional(),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileName: z.string().min(1).max(64).optional(),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadPreAgentStopResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tok: z.literal(true),\n\tprimaryDispatchId: z.string().min(1),\n\tpublicationIntentId: z.string().min(1).max(4096),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema,\n\truntimeCoordinatorExecutionId: z.null(),\n\tstatus: z.enum([\"stopped_before_execution\", \"already_stopped\"]),\n\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n}), z.strictObject({\n\tok: z.literal(false),\n\tprimaryDispatchId: z.string().min(1).nullable(),\n\tpublicationIntentId: z.string().min(1).max(4096).nullable(),\n\treasonCode: z.string().min(1).max(160),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),\n\tstatus: z.enum([\n\t\t\"conflict\",\n\t\t\"execution_linked\",\n\t\t\"retry_later\"\n\t]),\n\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n})]);\nconst runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema = z.enum([\"create_execution\", \"skip_duplicate\"]);\nconst runtimeTransportRuntimeCoordinatorHeadAcceptRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\tidempotencyKey: z.string().min(1).max(512),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileName: z.string().min(1).max(64).optional(),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadAcceptResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\taction: runtimeTransportRuntimeCoordinatorHeadAcceptActionSchema,\n\tok: z.literal(true),\n\tprimaryDispatchId: z.string().min(1),\n\treasonCode: z.string().min(1).max(160),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),\n\tstatus: z.enum([\n\t\t\"accepted\",\n\t\t\"already_accepted\",\n\t\t\"execution_linked\",\n\t\t\"publication_intent_ready\",\n\t\t\"stopped_before_execution\"\n\t]),\n\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n}), z.strictObject({\n\tok: z.literal(false),\n\tprimaryDispatchId: z.string().min(1).nullable(),\n\treasonCode: z.string().min(1).max(160),\n\tstatus: z.enum([\"conflict\", \"retry_later\"]),\n\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n})]);\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema = z.enum([\n\t\"accepted\",\n\t\"execution_linked\",\n\t\"publication_intent_ready\",\n\t\"stopped_before_execution\",\n\t\"waiting\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema = z.enum([\n\t\"agent_profile_binding.missing\",\n\t\"agent_profile_binding.disabled\",\n\t\"agent_profile_binding.owner_mismatch\",\n\t\"organization_binding_authorization.required\",\n\t\"local_service.identity_mismatch\",\n\t\"daemon.profile.offline\",\n\t\"service.update_required\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema = z.enum([\n\t\"binding_required\",\n\t\"local_connection_mismatch\",\n\t\"service_not_connected\",\n\t\"update_required\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema = z.enum([\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\"reconnect_agent_binding\",\n\t\"start_or_restart_openmeld_service\",\n\t\"update_openmeld_service\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema = z.enum([\n\t\"dispatch_preflight\",\n\t\"dispatch_delivery_pre_execution\",\n\t\"runtime_coordinator_head_waiting_deadline\"\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\tidempotencyKey: z.string().min(1).max(512),\n\tdecisionSource: runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema.optional(),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\tpublicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema,\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tok: z.literal(true),\n\tprimaryDispatchId: z.string().min(1),\n\tpublicationIntentId: z.string().min(1).max(4096),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\truntimeCoordinatorExecutionId: z.null(),\n\tstatus: z.enum([\"publication_intent_ready\", \"already_recorded\"]),\n\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n}), z.strictObject({\n\tok: z.literal(false),\n\tprimaryDispatchId: z.string().min(1).nullable(),\n\tpublicationIntentId: z.string().min(1).max(4096).nullable(),\n\treasonCode: z.string().min(1).max(160),\n\truntimeCoordinatorExecutionId: z.null(),\n\tstatus: z.enum([\"conflict\", \"retry_later\"]),\n\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n})]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema = z.enum([\"daemon.profile.offline\"]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema = z.enum([\"service_not_connected\"]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema = z.enum([\"start_or_restart_openmeld_service\"]);\nconst runtimeTransportRuntimeCoordinatorHeadWaitingBoundarySchema = z.strictObject({\n\tdeadlineAtMs: z.number().int().nonnegative(),\n\tdeadlineOutcome: z.literal(\"publication_intent_ready\"),\n\tobservedAtMs: z.number().int().nonnegative(),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema,\n\tsoftDeadlineAtMs: z.number().int().nonnegative(),\n\ttrigger: z.literal(\"openmeld_service_route_connected\"),\n\ttriggerOwner: z.literal(\"runtime_coordinator\"),\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema,\n\tuserVisibleState: z.literal(\"waiting_for_openmeld_service\"),\n\twaitingCategory: runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema,\n\twaitingFor: z.literal(\"openmeld_service_route_connection\"),\n\twaitingSinceMs: z.number().int().nonnegative()\n});\nconst runtimeTransportRuntimeCoordinatorHeadWaitingRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\townerUserId: z.string().min(1),\n\tdispatchId: z.string().min(1),\n\tidempotencyKey: z.string().min(1).max(512),\n\tobservedAtMs: z.number().int().nonnegative(),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema,\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema,\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema,\n\twaitingCategory: runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadWaitingResponseSchema = z.discriminatedUnion(\"status\", [\n\tz.strictObject({\n\t\tdeadlineAtMs: z.number().int().nonnegative(),\n\t\tnextTriggerAtMs: z.number().int().nonnegative(),\n\t\tok: z.literal(true),\n\t\tprimaryDispatchId: z.string().min(1),\n\t\treasonCode: runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema,\n\t\truntimeCoordinatorExecutionId: z.null(),\n\t\tsoftDeadlineAtMs: z.number().int().nonnegative(),\n\t\tstatus: z.literal(\"waiting\"),\n\t\ttargetWakeLifecycleId: z.string().min(1).max(2048),\n\t\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema,\n\t\twaitingCategory: runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(true),\n\t\tprimaryDispatchId: z.string().min(1),\n\t\tpublicationIntentId: z.string().min(1).max(4096),\n\t\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\t\truntimeCoordinatorExecutionId: z.null(),\n\t\tstatus: z.literal(\"publication_intent_ready\"),\n\t\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(false),\n\t\tprimaryDispatchId: z.string().min(1).nullable(),\n\t\treasonCode: z.string().min(1).max(160),\n\t\truntimeCoordinatorExecutionId: z.null(),\n\t\tstatus: z.enum([\"conflict\", \"retry_later\"]),\n\t\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n\t})\n]);\nconst runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionTraceSchema = z.strictObject({\n\tdecidedAtMs: z.int().min(0),\n\tpublicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\tsource: runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema,\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadPublicationIntentTraceSchema = z.union([z.strictObject({\n\tintentId: z.string().min(1).max(4096),\n\tkind: z.literal(\"no_execution_failure\"),\n\tpublicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,\n\treadyAtMs: z.int().min(0),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,\n\tstatus: z.literal(\"ready_for_phase_6\"),\n\tuserRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema\n}), z.strictObject({\n\tintentId: z.string().min(1).max(4096),\n\tkind: z.literal(\"stopped_notice\"),\n\treadyAtMs: z.int().min(0),\n\treasonCode: runtimeTransportRuntimeCoordinatorHeadPreAgentStopReasonCodeSchema,\n\tstatus: z.literal(\"ready_for_phase_6\")\n})]);\nconst runtimeTransportRuntimeCoordinatorHeadPublicationOutcomeTraceSchema = z.strictObject({\n\tfailurePublicationCommandId: z.string().min(1).max(4096),\n\tfinalMessageKind: z.enum([\n\t\t\"failure_notice\",\n\t\t\"status\",\n\t\t\"success_reply\",\n\t\t\"unknown\"\n\t]).nullable(),\n\tobservedAtMs: z.int().min(0),\n\tpublicationErrorCode: z.string().min(1).max(160).nullable(),\n\tpublishedSignalId: z.string().min(1).nullable(),\n\tstatus: z.enum([\n\t\t\"failure_published\",\n\t\t\"already_final\",\n\t\t\"failure_publication_failed\"\n\t])\n});\nconst runtimeTransportRuntimeCoordinatorHeadPublicationExhaustionTraceSchema = z.strictObject({\n\tattemptCount: z.int().positive(),\n\texhaustedAtMs: z.int().min(0),\n\tlastFailureAtMs: z.int().min(0),\n\tlastReasonCode: z.string().min(1).max(160),\n\treasonCode: z.literal(\"runtime_coordinator.publication_retry_exhausted\"),\n\tstatus: z.literal(\"publication_exhausted\")\n});\nconst runtimeTransportRuntimeCoordinatorHeadTargetDisplayTraceSchema = z.strictObject({\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.nullable(),\n\ttargetProfileName: z.string().min(1).max(64).nullable()\n});\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRecordSchema = z.strictObject({\n\tcreatedAtMs: z.int().min(0),\n\tduplicateDispatchCount: z.int().min(0),\n\texecutionLinkedAtMs: z.int().min(0).nullable(),\n\tmodelVersion: z.literal(\"openmeld.runtime_coordinator.head_lifecycle.v1\"),\n\tnoExecutionDecision: z.union([runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionTraceSchema, z.null()]),\n\townerUserId: z.string().min(1),\n\tprimaryDispatchId: z.string().min(1),\n\tpublicationIntent: z.union([runtimeTransportRuntimeCoordinatorHeadPublicationIntentTraceSchema, z.null()]),\n\tpublicationExhaustion: runtimeTransportRuntimeCoordinatorHeadPublicationExhaustionTraceSchema.optional(),\n\tpublicationOutcome: runtimeTransportRuntimeCoordinatorHeadPublicationOutcomeTraceSchema.optional(),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),\n\tstatus: runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema,\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema,\n\ttargetWakeLifecycleId: z.string().min(1).max(2048),\n\ttargetDisplay: runtimeTransportRuntimeCoordinatorHeadTargetDisplayTraceSchema.optional(),\n\tupdatedAtMs: z.int().min(0),\n\twaitingBoundary: z.union([runtimeTransportRuntimeCoordinatorHeadWaitingBoundarySchema, z.null()])\n});\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\ttargetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema\n});\nconst runtimeTransportRuntimeCoordinatorHeadLifecycleTraceResponseSchema = z.discriminatedUnion(\"readStatus\", [\n\tz.strictObject({\n\t\tlifecycle: runtimeTransportRuntimeCoordinatorHeadLifecycleTraceRecordSchema,\n\t\tok: z.literal(true),\n\t\treadStatus: z.literal(\"found\")\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(true),\n\t\treadStatus: z.literal(\"missing\"),\n\t\treasonCode: z.literal(\"runtime_coordinator.head_lifecycle_not_found\"),\n\t\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(false),\n\t\treadStatus: z.literal(\"authority_unavailable\"),\n\t\treasonCode: z.string().min(1).max(160),\n\t\ttargetWakeLifecycleId: z.string().min(1).max(2048)\n\t})\n]);\nconst runtimeTransportPreExecutionHandoffReasonCodeSchema = z.enum([\"daemon.profile.offline\"]);\nconst runtimeTransportPreExecutionHandoffRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\tattemptId: z.string().min(1).nullable().optional(),\n\tautoRelayDepth: z.number().int().nonnegative().optional(),\n\tdispatchChainId: z.string().min(1).nullable().optional(),\n\tdispatchId: z.string().min(1),\n\tfirstSeenAtMs: z.number().int().nonnegative(),\n\tidempotencyKey: z.string().min(1).max(512),\n\tobservedAtMs: z.number().int().nonnegative(),\n\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\tsourceClientMessageId: z.string().min(1).max(200).nullable().optional(),\n\tsourceEventId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tspacePassword: spacePasswordSchema.optional(),\n\ttargetProfileId: z.string().min(1),\n\ttargetProfileMentionLabel: spaceMentionLabelSchema.optional(),\n\ttargetProfileName: z.string().min(1).max(64).optional(),\n\ttaskId: z.string().min(1),\n\tthreadContext: spaceThreadContextSchema.optional(),\n\tvisitedProfileIds: z.array(z.string().min(1)).max(256).optional(),\n\tvisitedProfileIdsHash: z.string().min(1).nullable().optional()\n});\nconst runtimeTransportPreExecutionHandoffResponseSchema = z.discriminatedUnion(\"status\", [\n\tz.strictObject({\n\t\tdeadlineAtMs: z.number().int().nonnegative(),\n\t\tnextAlarmAtMs: z.number().int().nonnegative(),\n\t\tok: z.literal(true),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tstatus: z.literal(\"waiting_for_recovery\")\n\t}),\n\tz.strictObject({\n\t\tdeadlineAtMs: z.number().int().nonnegative(),\n\t\tok: z.literal(true),\n\t\tpublishedSignalId: z.string().min(1),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tresultRef: z.string().min(1),\n\t\tstatus: z.literal(\"failure_published\")\n\t}),\n\tz.strictObject({\n\t\tdeadlineAtMs: z.number().int().nonnegative(),\n\t\tnextPublicationRetryAtMs: z.number().int().nonnegative(),\n\t\tok: z.literal(true),\n\t\tpublicationErrorCode: z.string().min(1),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tresultRef: z.string().min(1),\n\t\tstatus: z.literal(\"failure_publication_retry_scheduled\")\n\t}),\n\tz.strictObject({\n\t\tdeadlineAtMs: z.number().int().nonnegative(),\n\t\tok: z.literal(true),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tstatus: z.literal(\"handoff_recovered\")\n\t}),\n\tz.strictObject({\n\t\tdeadlineAtMs: z.number().int().nonnegative(),\n\t\tok: z.literal(true),\n\t\treasonCode: runtimeTransportPreExecutionHandoffReasonCodeSchema,\n\t\tstatus: z.literal(\"legacy_evidence_only\")\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(false),\n\t\treasonCode: z.string().min(1),\n\t\tstatus: z.literal(\"retry_later\")\n\t})\n]);\nconst runtimeTransportDispatchLifecyclePhaseSchema = z.enum([\n\t\"accepted_local\",\n\t\"running\",\n\t\"completed_local\"\n]);\nconst runtimeTransportDispatchLocalQueueWaitReasonSchema = z.enum([\n\t\"global_concurrency\",\n\t\"local_execution_lane_concurrency\",\n\t\"none\"\n]);\nconst runtimeTransportDispatchLocalQueueDiagnosticsSchema = z.strictObject({\n\tactiveForLane: z.number().int().nonnegative(),\n\tactiveGlobal: z.number().int().nonnegative(),\n\tglobalConcurrency: z.number().int().positive(),\n\tqueueDepth: z.number().int().nonnegative(),\n\tqueueMax: z.number().int().positive(),\n\tqueuePosition: z.union([z.number().int().positive(), z.null()]),\n\tstatus: z.enum([\"queued\", \"starting_runtime\"]),\n\twaitReason: runtimeTransportDispatchLocalQueueWaitReasonSchema\n});\nconst runtimeTransportDispatchLifecycleRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tphase: runtimeTransportDispatchLifecyclePhaseSchema,\n\tlifecycleAtMs: z.number().int().nonnegative(),\n\tlocalQueue: runtimeTransportDispatchLocalQueueDiagnosticsSchema.optional()\n});\nconst runtimeTransportDispatchRuntimeEvidencePhaseSchema = z.enum([\n\t\"received\",\n\t\"claimed\",\n\t\"runtime_started\",\n\t\"first_output\",\n\t\"completed\",\n\t\"failed\"\n]);\nconst runtimeTransportDispatchRuntimeEvidenceRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tphase: runtimeTransportDispatchRuntimeEvidencePhaseSchema,\n\tevidenceAtMs: z.number().int().nonnegative(),\n\ttaskId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tsourceSignalId: z.string().min(1),\n\tsourceClientMessageId: z.string().min(1).max(200).nullable().optional(),\n\ttargetProfileId: z.string().min(1),\n\tclaimLeaseId: z.string().min(1).optional(),\n\tdurationMs: z.number().finite().nonnegative().optional(),\n\treasonCode: z.string().trim().min(1).max(160).optional(),\n\terrorName: z.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 = z.enum(LOCAL_AGENT_TOOL_ACTIVITY_NAMES);\nconst localAgentStreamToolPartSchema = agentStreamToolPartSchema.extend({ toolName: localAgentToolActivityNameSchema });\nconst runtimeTransportDispatchToolActivityRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tsequence: z.number().int().positive(),\n\tobservedAtMs: z.number().int().nonnegative(),\n\ttaskId: z.string().min(1),\n\tspaceId: z.string().min(1),\n\tsourceSignalId: z.string().min(1),\n\ttargetProfileId: z.string().min(1),\n\tpart: localAgentStreamToolPartSchema\n});\nconst runtimeTransportDispatchInteractionRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema,\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\ttaskId: z.string().min(1),\n\tinteraction: agentInteractionRequestSchema\n});\nconst runtimeTransportDispatchInteractionResponseFramePayloadSchema = z.strictObject({\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\tinteractionId: z.string().trim().min(1).max(256),\n\tresponse: agentInteractionResponseSchema,\n\trespondedAtMs: z.number().int().nonnegative()\n});\nconst runtimeTransportDispatchInteractionDeliveredRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema,\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\texecutionIdentityEcho: runtimeTransportRuntimeEvidenceIdentityEchoSchema,\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tinteractionId: z.string().trim().min(1).max(256),\n\tdeliveredAtMs: z.number().int().nonnegative()\n});\nconst runtimeTransportRuntimeCoordinatorReadInteractionRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\tactorOwnerUserId: z.string().min(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId\n});\nconst runtimeTransportRuntimeCoordinatorReadInteractionResponseSchema = z.strictObject({ pendingInteraction: agentInteractionPendingSummarySchema.nullable() });\nconst runtimeTransportRuntimeCoordinatorRespondInteractionRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\tactorOwnerUserId: z.string().min(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId,\n\tinteractionId: z.string().trim().min(1).max(256),\n\tresponse: agentInteractionResponseSchema\n});\nconst runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema = z.discriminatedUnion(\"status\", [z.strictObject({\n\tok: z.literal(true),\n\tstatus: z.enum([\"accepted\", \"already_resolved\"]),\n\trespondedAtMs: z.number().int().nonnegative()\n}), z.strictObject({\n\tok: z.literal(false),\n\tstatus: z.enum([\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: z.string().trim().min(1).max(1e3)\n})]);\nconst nullableLifecyclePhaseTimestampSchema = z.union([z.number().int().nonnegative(), z.null()]);\nconst runtimeTransportDispatchLifecycleSnapshotSchema = z.strictObject({\n\tphase: z.enum([\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: z.number().int().nonnegative(),\n\tacceptedLocalAtMs: nullableLifecyclePhaseTimestampSchema,\n\trunningAtMs: nullableLifecyclePhaseTimestampSchema,\n\tcompletedLocalAtMs: nullableLifecyclePhaseTimestampSchema,\n\tlastLifecycleAtMs: z.number().int().nonnegative()\n});\nconst runtimeTransportWaitDispatchResultResponseSchema = z.discriminatedUnion(\"state\", [\n\tz.strictObject({\n\t\tstate: z.literal(\"completed\"),\n\t\tlifecycle: runtimeTransportDispatchLifecycleSnapshotSchema.optional(),\n\t\ttaskResult: openMeldDaemonTaskResultEnvelopeSchema\n\t}),\n\tz.strictObject({\n\t\tstate: z.literal(\"pending\"),\n\t\tlifecycle: runtimeTransportDispatchLifecycleSnapshotSchema\n\t}),\n\tz.strictObject({\n\t\tstate: z.literal(\"failed\"),\n\t\tlifecycle: runtimeTransportDispatchLifecycleSnapshotSchema.optional(),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t})\n]);\nconst runtimeTransportSubmitTaskResultRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\truntimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.optional(),\n\texecutionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema.optional(),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1).optional(),\n\texecutionIdentityEcho: runtimeTransportResultIdentityEchoSchema,\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\ttaskResult: openMeldDaemonTaskResultEnvelopeSchema\n});\nconst runtimeTransportSubmitTaskResultResponseSchema = z.discriminatedUnion(\"status\", [\n\tz.strictObject({\n\t\tok: z.literal(true),\n\t\tstatus: z.literal(\"accepted\")\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(false),\n\t\tstatus: z.literal(\"retry_later\"),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t}),\n\tz.strictObject({\n\t\tok: z.literal(false),\n\t\tstatus: z.literal(\"rejected_terminal\"),\n\t\treasonCode: runtimeTransportErrorCodeSchema\n\t})\n]);\nconst runtimeTransportDispatchPreviewRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\tpreviewText: z.string().min(1).max(MAX_TEXT_LENGTH)\n});\nconst runtimeTransportDispatchPreviewEndRequestSchema = z.strictObject({\n\tv: z.literal(1),\n\tdispatchId: z.string().min(1),\n\tattemptId: z.string().min(1),\n\tdaemonSessionId: z.string().min(1),\n\tconnectionGeneration: z.number().int().positive(),\n\tleaseEpoch: z.number().int().positive(),\n\ttargetProfileName: z.string().min(1).max(64).optional()\n});\nconst daemonStreamCodeSchema = z.enum([\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.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.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 = z.strictObject({\n\tv: z.literal(1),\n\tcode: daemonStreamCodeSchema,\n\tpayload: z.record(z.string(), z.unknown())\n});\nconst daemonStreamErrorFrameCodeSchema = runtimeTransportErrorCodeSchema.or(z.union([z.literal(\"schema.invalid\"), z.literal(\"schema.invalid.runtime_response\")]));\nconst daemonStreamErrorFrameSchema = z.strictObject({\n\tv: z.literal(1),\n\tcode: z.literal(\"daemon.error\"),\n\tpayload: z.strictObject({\n\t\tcode: daemonStreamErrorFrameCodeSchema,\n\t\tmessage: z.string().min(1)\n\t})\n});\n//#endregion\nexport { CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, LOCAL_AGENT_TOOL_ACTIVITY_NAMES, RUNTIME_TRANSPORT_SCHEMA_VERSION, daemonExecutionCompatibilitySchema, daemonRuntimeContractReasonCodeSchema, daemonRuntimeContractSchema, daemonStreamCodeSchema, daemonStreamErrorFrameCodeSchema, daemonStreamErrorFrameSchema, daemonStreamFrameSchema, localAgentToolActivityNameSchema, localWakeRouteReportSchema, runtimeTransportBaseCapabilitiesSchema, runtimeTransportCapabilitiesSchema, runtimeTransportDeliverDispatchPayloadSchema, runtimeTransportDeliverDispatchRequestSchema, runtimeTransportDeliverDispatchResponseSchema, runtimeTransportDisconnectRatesResponseSchema, runtimeTransportDispatchInteractionDeliveredRequestSchema, runtimeTransportDispatchInteractionRequestSchema, runtimeTransportDispatchInteractionResponseFramePayloadSchema, runtimeTransportDispatchLifecyclePhaseSchema, runtimeTransportDispatchLifecycleRequestSchema, runtimeTransportDispatchLifecycleSnapshotSchema, runtimeTransportDispatchLocalQueueDiagnosticsSchema, runtimeTransportDispatchLocalQueueWaitReasonSchema, runtimeTransportDispatchPreviewEndRequestSchema, runtimeTransportDispatchPreviewRequestSchema, runtimeTransportDispatchRuntimeEvidencePhaseSchema, runtimeTransportDispatchRuntimeEvidenceRequestSchema, runtimeTransportDispatchSourceSignalSchema, runtimeTransportDispatchToolActivityRequestSchema, runtimeTransportErrorCodeSchema, runtimeTransportHeartbeatRequestSchema, runtimeTransportHeartbeatResponseSchema, runtimeTransportInspectExecutionRecoveryRequestSchema, runtimeTransportInspectExecutionRecoveryResponseSchema, runtimeTransportLeaseSchema, runtimeTransportLocalAgentControlCancelFramePayloadSchema, runtimeTransportLocalAgentControlInterruptFramePayloadSchema, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema, runtimeTransportLocalAgentControlResultFramePayloadSchema, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema, runtimeTransportLookupOwnerServiceRequestSchema, runtimeTransportLookupOwnerServiceResponseSchema, runtimeTransportLookupRouteOwnerServiceEvidenceSchema, runtimeTransportLookupRouteRequestSchema, runtimeTransportLookupRouteResponseSchema, runtimeTransportLookupRoutesBatchRequestSchema, runtimeTransportLookupRoutesBatchResponseSchema, runtimeTransportNotifyRouteCatalogChangedRequestSchema, runtimeTransportNotifyRouteCatalogChangedResponseSchema, 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,4BAA4B;CAC5B,uBAAuB;CACvB,0BAA0B;CAC1B,uBAAuB;CACvB,qBAAqB;CACrB,yBAAyB;CACzB,wBAAwB;AACzB;AACA,SAAS,+BAA+B,UAAU;CACjD,OAAO,0BAA0B;AAClC;;;AChBA,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,IAAI;CACxD;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,2CAA2C,IAAI,IAAI;CACxD;CACA;CACA;AACD,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A;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,EAAE,KAAK;CACzC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD,CAAC;AACD,MAAM,iCAAiC;CACtC,2BAA2B;CAC3B,wBAAwB;CACxB,gCAAgC;CAChC,8BAA8B;CAC9B,wBAAwB;CACxB,sBAAsB;CACtB,sBAAsB;CACtB,0BAA0B;CAC1B,uBAAuB;CACvB,yBAAyB;CACzB,yBAAyB;CACzB,sBAAsB;CACtB,oBAAoB;CACpB,sBAAsB;CACtB,iCAAiC;CACjC,wBAAwB;CACxB,uBAAuB;CACvB,8BAA8B;CAC9B,uBAAuB;CACvB,sBAAsB;CACtB,wBAAwB;CACxB,qCAAqC;CACrC,+BAA+B;CAC/B,8BAA8B;CAC9B,6BAA6B;CAC7B,8BAA8B;CAC9B,wCAAwC;CACxC,8BAA8B;CAC9B,6BAA6B;CAC7B,qBAAqB;CACrB,0BAA0B;CAC1B,yBAAyB;CACzB,yBAAyB;CACzB,+BAA+B;CAC/B,kBAAkB;CAClB,kBAAkB;CAClB,oBAAoB;CACpB,kBAAkB;CAClB,kBAAkB;CAClB,gBAAgB;CAChB,yBAAyB;CACzB,oBAAoB;CACpB,kBAAkB;CAClB,gBAAgB;CAChB,kBAAkB;CAClB,sBAAsB;AACvB;AACA,MAAM,yBAAyB,EAAE,aAAa;CAC7C,MAAM;CACN,OAAO;AACR,CAAC,CAAC,CAAC,aAAa,SAAS,YAAY;CACpC,IAAI,QAAQ,SAAS,gBA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