openmeld 0.3.213 → 0.3.214

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.
Files changed (97) hide show
  1. package/dist/{add-me-membership-GbaxKxz-.js → add-me-membership-BaqG9F5c.js} +2 -2
  2. package/dist/{add-me-membership-GbaxKxz-.js.map → add-me-membership-BaqG9F5c.js.map} +1 -1
  3. package/dist/{agents-BNoz9DA5.js → agents-y9C8FCyv.js} +8 -8
  4. package/dist/{agents-BNoz9DA5.js.map → agents-y9C8FCyv.js.map} +1 -1
  5. package/dist/{api-client-foundation-TEBOwWl1.js → api-client-foundation-BYnU1pbS.js} +1 -1
  6. package/dist/{api-client-foundation-km8Ol1P4.js → api-client-foundation-CKRP7Ymg.js} +3 -3
  7. package/dist/{api-client-foundation-km8Ol1P4.js.map → api-client-foundation-CKRP7Ymg.js.map} +1 -1
  8. package/dist/auth-session-BWKfXWxl.js +4 -0
  9. package/dist/{auth-session-DgHvRt5i.js → auth-session-gaLjWIKR.js} +8 -6
  10. package/dist/auth-session-gaLjWIKR.js.map +1 -0
  11. package/dist/{base-url-C6sHRNGu.js → base-url-BczddvzH.js} +2 -2
  12. package/dist/{base-url-C6sHRNGu.js.map → base-url-BczddvzH.js.map} +1 -1
  13. package/dist/{base-url-BE3pFiOZ.js → base-url-CfyKRz89.js} +1 -1
  14. package/dist/{command-Dsa8gaFe.js → command-C72QNhjP.js} +12 -12
  15. package/dist/{command-Dsa8gaFe.js.map → command-C72QNhjP.js.map} +1 -1
  16. package/dist/{computer-connection-D8tX14R_.js → computer-connection-Dv9kex7h.js} +2 -2
  17. package/dist/{computer-connection-D8tX14R_.js.map → computer-connection-Dv9kex7h.js.map} +1 -1
  18. package/dist/{computer-connection-review-CjOXBWiV.js → computer-connection-review-_ZLPsdE_.js} +6 -6
  19. package/dist/{computer-connection-review-CjOXBWiV.js.map → computer-connection-review-_ZLPsdE_.js.map} +1 -1
  20. package/dist/{computer-disconnect-k6UVCsVF.js → computer-disconnect-BJ-Tl-7q.js} +9 -9
  21. package/dist/{computer-disconnect-k6UVCsVF.js.map → computer-disconnect-BJ-Tl-7q.js.map} +1 -1
  22. package/dist/{computer-setup-continuation-DhY_sJis.js → computer-setup-continuation-CN383Vvy.js} +4 -4
  23. package/dist/{computer-setup-continuation-DhY_sJis.js.map → computer-setup-continuation-CN383Vvy.js.map} +1 -1
  24. package/dist/{daemon-runtime-lease-Dd4hdHNo.js → daemon-runtime-lease-CIzOT1zx.js} +2 -2
  25. package/dist/{daemon-runtime-lease-Dd4hdHNo.js.map → daemon-runtime-lease-CIzOT1zx.js.map} +1 -1
  26. package/dist/{daemon-runtime-lease-y3n1K0-C.js → daemon-runtime-lease-_M6hW8Mg.js} +1 -1
  27. package/dist/{daemon-service-manager-GiMCiTmu.js → daemon-service-manager-DxS5eH_N.js} +4 -4
  28. package/dist/{daemon-service-manager-GiMCiTmu.js.map → daemon-service-manager-DxS5eH_N.js.map} +1 -1
  29. package/dist/{daemon-service-manager-Bh0LoLed.js → daemon-service-manager-fPpyIyrU.js} +1 -1
  30. package/dist/{daemon-service-runtime-CY6wdBe1.js → daemon-service-runtime-CGT3yVOs.js} +22 -16
  31. package/dist/{daemon-service-runtime-CY6wdBe1.js.map → daemon-service-runtime-CGT3yVOs.js.map} +1 -1
  32. package/dist/{daemon-service-update-coordinator-BcbbIDzC.js → daemon-service-update-coordinator--xLHNqDT.js} +625 -55
  33. package/dist/daemon-service-update-coordinator--xLHNqDT.js.map +1 -0
  34. package/dist/{daemon-state-C37ZtIZK.js → daemon-state-CoAZLwpi.js} +3 -3
  35. package/dist/{daemon-state-C37ZtIZK.js.map → daemon-state-CoAZLwpi.js.map} +1 -1
  36. package/dist/dist-CABuqfdH.js +4 -0
  37. package/dist/{dist-CAx_kxvt.js → dist-Dj3TOx03.js} +481 -195
  38. package/dist/dist-Dj3TOx03.js.map +1 -0
  39. package/dist/distribution-BDQT2ilb.js +20 -0
  40. package/dist/distribution-BDQT2ilb.js.map +1 -0
  41. package/dist/{elapsed-time-Do3uIV__.js → elapsed-time-CCFWbCC8.js} +5 -5
  42. package/dist/{elapsed-time-Do3uIV__.js.map → elapsed-time-CCFWbCC8.js.map} +1 -1
  43. package/dist/{installation-inventory-C92AkQkA.js → installation-inventory-C4WKcVEj.js} +6 -6
  44. package/dist/{installation-inventory-C92AkQkA.js.map → installation-inventory-C4WKcVEj.js.map} +1 -1
  45. package/dist/{lock-Dxp6o_t_.js → lock-CAt9uTnZ.js} +5 -48
  46. package/dist/lock-CAt9uTnZ.js.map +1 -0
  47. package/dist/{openmeld-I4pLxQsY.js → openmeld-DpV9lAF-.js} +312 -188
  48. package/dist/openmeld-DpV9lAF-.js.map +1 -0
  49. package/dist/openmeld-dev.js +1 -1
  50. package/dist/{openmeld-environment-target-NtJYJe1D.js → openmeld-environment-target-BWI2adGw.js} +3 -3
  51. package/dist/{openmeld-environment-target-NtJYJe1D.js.map → openmeld-environment-target-BWI2adGw.js.map} +1 -1
  52. package/dist/{openmeld-maintenance-worker-D5VAO9GD.js → openmeld-maintenance-worker-Blfu_oOo.js} +9 -9
  53. package/dist/{openmeld-maintenance-worker-D5VAO9GD.js.map → openmeld-maintenance-worker-Blfu_oOo.js.map} +1 -1
  54. package/dist/{openmeld-tools-update-join-DsQdgYNw.js → openmeld-tools-update-join-BpLwmowQ.js} +4 -4
  55. package/dist/{openmeld-tools-update-join-DsQdgYNw.js.map → openmeld-tools-update-join-BpLwmowQ.js.map} +1 -1
  56. package/dist/openmeld.js +3 -3
  57. package/dist/{prepare-session-executor-BEzlM0hJ.js → prepare-session-executor-Cfm3EvXl.js} +16 -16
  58. package/dist/{prepare-session-executor-BEzlM0hJ.js.map → prepare-session-executor-Cfm3EvXl.js.map} +1 -1
  59. package/dist/process-identity-Clby123a.js +145 -0
  60. package/dist/process-identity-Clby123a.js.map +1 -0
  61. package/dist/{runtime-transport-DxISZdzf.js → runtime-transport-D8G8sANa.js} +92 -6
  62. package/dist/runtime-transport-D8G8sANa.js.map +1 -0
  63. package/dist/{service-Cev-7yAJ.js → service-Cl_Ge6oJ.js} +720 -35
  64. package/dist/service-Cl_Ge6oJ.js.map +1 -0
  65. package/dist/{distribution-DY2fBeSW.js → service-account-admission-Dy2W3n3_.js} +9 -19
  66. package/dist/service-account-admission-Dy2W3n3_.js.map +1 -0
  67. package/dist/{service-account-authorization-AbowIr6n.js → service-account-authorization-4oZuo8sT.js} +6 -6
  68. package/dist/{service-account-authorization-AbowIr6n.js.map → service-account-authorization-4oZuo8sT.js.map} +1 -1
  69. package/dist/{service-account-control-BV_tBiio.js → service-account-control-CTXv3924.js} +11 -12
  70. package/dist/service-account-control-CTXv3924.js.map +1 -0
  71. package/dist/{service-control-capabilities-BGXPenm1.js → service-control-capabilities-B-vCQoBV.js} +1 -1
  72. package/dist/service-control-capabilities-ptf0u8n5.js +70 -0
  73. package/dist/service-control-capabilities-ptf0u8n5.js.map +1 -0
  74. package/dist/service-control-carrier-capability-hvpD7hGf.js +24 -0
  75. package/dist/service-control-carrier-capability-hvpD7hGf.js.map +1 -0
  76. package/dist/upgrade-EWdIdoHm.js +4 -0
  77. package/dist/{upgrade-9h70HCQP.js → upgrade-vuPM1iX3.js} +7 -7
  78. package/dist/{upgrade-9h70HCQP.js.map → upgrade-vuPM1iX3.js.map} +1 -1
  79. package/dist/{windows-user-task-DxPN7TzK.js → windows-user-task-FdycoSb4.js} +1 -1
  80. package/dist/{windows-user-task-DqJWtlAm.js → windows-user-task-i0oHCBc0.js} +49 -19
  81. package/dist/windows-user-task-i0oHCBc0.js.map +1 -0
  82. package/package.json +2 -2
  83. package/dist/auth-session-D6UDl3r3.js +0 -4
  84. package/dist/auth-session-DgHvRt5i.js.map +0 -1
  85. package/dist/daemon-service-update-coordinator-BcbbIDzC.js.map +0 -1
  86. package/dist/dist-Bsz_wafH.js +0 -4
  87. package/dist/dist-CAx_kxvt.js.map +0 -1
  88. package/dist/distribution-DY2fBeSW.js.map +0 -1
  89. package/dist/lock-Dxp6o_t_.js.map +0 -1
  90. package/dist/openmeld-I4pLxQsY.js.map +0 -1
  91. package/dist/runtime-transport-DxISZdzf.js.map +0 -1
  92. package/dist/service-Cev-7yAJ.js.map +0 -1
  93. package/dist/service-account-control-BV_tBiio.js.map +0 -1
  94. package/dist/service-control-capabilities-DUudAKoj.js +0 -54
  95. package/dist/service-control-capabilities-DUudAKoj.js.map +0 -1
  96. package/dist/upgrade-CXgHeEKK.js +0 -4
  97. package/dist/windows-user-task-DqJWtlAm.js.map +0 -1
@@ -0,0 +1,145 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { win32 } from "node:path";
4
+ import { execFileSync } from "node:child_process";
5
+ //#region ../../runtime/adapters/core/dist/process-environment.js
6
+ const WINDOWS_KEY_SPELLINGS = {
7
+ PATH: "PATH",
8
+ PATHEXT: "PATHEXT",
9
+ SYSTEMROOT: "SystemRoot",
10
+ COMSPEC: "ComSpec",
11
+ WINDIR: "WINDIR",
12
+ USERPROFILE: "USERPROFILE",
13
+ HOMEDRIVE: "HOMEDRIVE",
14
+ HOMEPATH: "HOMEPATH",
15
+ APPDATA: "APPDATA",
16
+ LOCALAPPDATA: "LOCALAPPDATA",
17
+ TEMP: "TEMP",
18
+ TMP: "TMP"
19
+ };
20
+ /** Match Node's Windows duplicate-key precedence, then use stable OS key names. */
21
+ function normalizeCommandEnvironment(source, platform = process.platform) {
22
+ if (platform !== "win32") return { ...source };
23
+ const result = {};
24
+ const seen = /* @__PURE__ */ new Set();
25
+ for (const key of Object.keys(source).sort()) {
26
+ const value = source[key];
27
+ const identity = key.toUpperCase();
28
+ if (value === void 0 || seen.has(identity)) continue;
29
+ seen.add(identity);
30
+ result[WINDOWS_KEY_SPELLINGS[identity] ?? key] = value;
31
+ }
32
+ return result;
33
+ }
34
+ /** Non-secret Windows runtime context needed by an independently started process. */
35
+ const WINDOWS_RUNTIME_ENV_KEYS = [
36
+ "SystemRoot",
37
+ "ComSpec",
38
+ "WINDIR",
39
+ "PATHEXT",
40
+ "USERPROFILE",
41
+ "HOMEDRIVE",
42
+ "HOMEPATH",
43
+ "APPDATA",
44
+ "LOCALAPPDATA",
45
+ "TEMP",
46
+ "TMP"
47
+ ];
48
+ //#endregion
49
+ //#region ../../runtime/adapters/core/dist/windows-system.js
50
+ function resolveWindowsPowerShellPath(env = process.env) {
51
+ const source = normalizeCommandEnvironment(env, "win32");
52
+ const root = source.SystemRoot ?? source.WINDIR;
53
+ if (!(root && win32.isAbsolute(root))) throw new Error("Windows system directory is unavailable.");
54
+ return win32.join(root, "System32", "WindowsPowerShell", "v1.0", "powershell.exe");
55
+ }
56
+ function powerShellEncodedArguments(script) {
57
+ return [
58
+ "-NoLogo",
59
+ "-NoProfile",
60
+ "-NonInteractive",
61
+ "-EncodedCommand",
62
+ Buffer.from(script, "utf16le").toString("base64")
63
+ ];
64
+ }
65
+ const FILE_TIME_PATTERN = /^\d{10,20}$/u;
66
+ let currentProcessFileTime;
67
+ /** An opened process handle binds the observation to the actual instance, not a reused PID. */
68
+ function readWindowsProcessStartFileTime(pid) {
69
+ if (!(Number.isSafeInteger(pid) && pid > 0)) return null;
70
+ if (pid === process.pid && currentProcessFileTime) return currentProcessFileTime;
71
+ const script = `$ErrorActionPreference='Stop'; $p=[Diagnostics.Process]::GetProcessById(${pid}); try { $null=$p.Handle; [Console]::Write($p.StartTime.ToUniversalTime().ToFileTimeUtc().ToString([Globalization.CultureInfo]::InvariantCulture)) } finally { $p.Dispose() }`;
72
+ try {
73
+ const output = execFileSync(resolveWindowsPowerShellPath(), powerShellEncodedArguments(script), {
74
+ encoding: "utf8",
75
+ windowsHide: true,
76
+ timeout: 5e3,
77
+ maxBuffer: 1024,
78
+ stdio: [
79
+ "ignore",
80
+ "pipe",
81
+ "ignore"
82
+ ]
83
+ }).trim();
84
+ if (!FILE_TIME_PATTERN.test(output)) return null;
85
+ if (pid === process.pid) currentProcessFileTime = output;
86
+ return output;
87
+ } catch {
88
+ return null;
89
+ }
90
+ }
91
+ //#endregion
92
+ //#region src/system/process-identity.ts
93
+ const WINDOWS_PROCESS_IDENTITY_PATTERN = /^win32:\d{10,20}$/u;
94
+ function isPreciseProcessStartIdentity(value) {
95
+ return typeof value === "string" && (value.startsWith("ps:") && value.length > 3 || WINDOWS_PROCESS_IDENTITY_PATTERN.test(value));
96
+ }
97
+ const CURRENT_PROCESS_START_IDENTITY = readProcessStartIdentity(process.pid) ?? `fallback:${process.pid}:${Math.floor(Date.now() - process.uptime() * 1e3)}`;
98
+ function isProcessIdentityAlive(input, platform = process.platform) {
99
+ if (!isProcessAlive(input.ownerPid)) return false;
100
+ const observedIdentity = readProcessStartIdentity(input.ownerPid, platform);
101
+ if (isPreciseProcessStartIdentity(observedIdentity) && isPreciseProcessStartIdentity(input.ownerProcessStartedAt) && observedIdentity.split(":", 1)[0] === input.ownerProcessStartedAt.split(":", 1)[0]) return observedIdentity === input.ownerProcessStartedAt;
102
+ return true;
103
+ }
104
+ function readProcessStartIdentity(pid, platform = process.platform) {
105
+ if (!(Number.isSafeInteger(pid) && pid > 0)) return null;
106
+ if (platform === "win32") {
107
+ const created = readWindowsProcessStartFileTime(pid);
108
+ return created === null ? null : `win32:${created}`;
109
+ }
110
+ try {
111
+ const output = execFileSync("ps", [
112
+ "-o",
113
+ "lstart=",
114
+ "-p",
115
+ String(pid)
116
+ ], {
117
+ encoding: "utf8",
118
+ stdio: [
119
+ "ignore",
120
+ "pipe",
121
+ "ignore"
122
+ ],
123
+ timeout: 1e3,
124
+ windowsHide: true
125
+ }).trim();
126
+ return output.length > 0 ? `ps:${output}` : null;
127
+ } catch {
128
+ return null;
129
+ }
130
+ }
131
+ function isProcessAlive(pid) {
132
+ try {
133
+ process.kill(pid, 0);
134
+ return true;
135
+ } catch (error) {
136
+ return !isNodeError(error, "ESRCH");
137
+ }
138
+ }
139
+ function isNodeError(error, code) {
140
+ return error instanceof Error && "code" in error && String(error.code) === code;
141
+ }
142
+ //#endregion
143
+ export { powerShellEncodedArguments as a, WINDOWS_RUNTIME_ENV_KEYS as c, readProcessStartIdentity as i, normalizeCommandEnvironment as l, isPreciseProcessStartIdentity as n, readWindowsProcessStartFileTime as o, isProcessIdentityAlive as r, resolveWindowsPowerShellPath as s, CURRENT_PROCESS_START_IDENTITY as t };
144
+
145
+ //# sourceMappingURL=process-identity-Clby123a.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-identity-Clby123a.js","names":[],"sources":["../../../runtime/adapters/core/dist/process-environment.js","../../../runtime/adapters/core/dist/windows-system.js","../src/system/process-identity.ts"],"sourcesContent":["const WINDOWS_KEY_SPELLINGS = {\n PATH: \"PATH\",\n PATHEXT: \"PATHEXT\",\n SYSTEMROOT: \"SystemRoot\",\n COMSPEC: \"ComSpec\",\n WINDIR: \"WINDIR\",\n USERPROFILE: \"USERPROFILE\",\n HOMEDRIVE: \"HOMEDRIVE\",\n HOMEPATH: \"HOMEPATH\",\n APPDATA: \"APPDATA\",\n LOCALAPPDATA: \"LOCALAPPDATA\",\n TEMP: \"TEMP\",\n TMP: \"TMP\",\n};\n/** Match Node's Windows duplicate-key precedence, then use stable OS key names. */\nexport function normalizeCommandEnvironment(source, platform = process.platform) {\n if (platform !== \"win32\") {\n return { ...source };\n }\n const result = {};\n const seen = new Set();\n for (const key of Object.keys(source).sort()) {\n const value = source[key];\n const identity = key.toUpperCase();\n if (value === undefined || seen.has(identity)) {\n continue;\n }\n seen.add(identity);\n result[WINDOWS_KEY_SPELLINGS[identity] ?? key] = value;\n }\n return result;\n}\n/** Non-secret Windows runtime context needed by an independently started process. */\nexport const WINDOWS_RUNTIME_ENV_KEYS = [\n \"SystemRoot\",\n \"ComSpec\",\n \"WINDIR\",\n \"PATHEXT\",\n \"USERPROFILE\",\n \"HOMEDRIVE\",\n \"HOMEPATH\",\n \"APPDATA\",\n \"LOCALAPPDATA\",\n \"TEMP\",\n \"TMP\",\n];\n","import { execFileSync } from \"node:child_process\";\nimport { win32 } from \"node:path\";\nimport { normalizeCommandEnvironment } from \"./process-environment.js\";\nexport function resolveWindowsPowerShellPath(env = process.env) {\n const source = normalizeCommandEnvironment(env, \"win32\");\n const root = source.SystemRoot ?? source.WINDIR;\n if (!(root && win32.isAbsolute(root))) {\n throw new Error(\"Windows system directory is unavailable.\");\n }\n return win32.join(root, \"System32\", \"WindowsPowerShell\", \"v1.0\", \"powershell.exe\");\n}\nexport function powerShellEncodedArguments(script) {\n return [\n \"-NoLogo\",\n \"-NoProfile\",\n \"-NonInteractive\",\n \"-EncodedCommand\",\n Buffer.from(script, \"utf16le\").toString(\"base64\"),\n ];\n}\nconst FILE_TIME_PATTERN = /^\\d{10,20}$/u;\nlet currentProcessFileTime;\n/** An opened process handle binds the observation to the actual instance, not a reused PID. */\nexport function readWindowsProcessStartFileTime(pid) {\n if (!(Number.isSafeInteger(pid) && pid > 0)) {\n return null;\n }\n if (pid === process.pid && currentProcessFileTime) {\n return currentProcessFileTime;\n }\n const script = `$ErrorActionPreference='Stop'; $p=[Diagnostics.Process]::GetProcessById(${pid}); try { $null=$p.Handle; [Console]::Write($p.StartTime.ToUniversalTime().ToFileTimeUtc().ToString([Globalization.CultureInfo]::InvariantCulture)) } finally { $p.Dispose() }`;\n try {\n const output = execFileSync(resolveWindowsPowerShellPath(), powerShellEncodedArguments(script), {\n encoding: \"utf8\",\n windowsHide: true,\n timeout: 5000,\n maxBuffer: 1024,\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n }).trim();\n if (!FILE_TIME_PATTERN.test(output)) {\n return null;\n }\n if (pid === process.pid) {\n currentProcessFileTime = output;\n }\n return output;\n }\n catch {\n return null;\n }\n}\n","import { execFileSync } from \"node:child_process\";\nimport { readWindowsProcessStartFileTime } from \"@openmeld/adapter-core/windows-system\";\n\nconst WINDOWS_PROCESS_IDENTITY_PATTERN = /^win32:\\d{10,20}$/u;\n\nexport function isPreciseProcessStartIdentity(value: unknown): value is string {\n return (\n typeof value === \"string\" &&\n ((value.startsWith(\"ps:\") && value.length > 3) ||\n WINDOWS_PROCESS_IDENTITY_PATTERN.test(value))\n );\n}\n\nexport const CURRENT_PROCESS_START_IDENTITY =\n readProcessStartIdentity(process.pid) ??\n `fallback:${process.pid}:${Math.floor(Date.now() - process.uptime() * 1000)}`;\n\nexport function isProcessIdentityAlive(\n input: { ownerPid: number; ownerProcessStartedAt: string },\n platform: NodeJS.Platform = process.platform\n): boolean {\n if (!isProcessAlive(input.ownerPid)) {\n return false;\n }\n const observedIdentity = readProcessStartIdentity(input.ownerPid, platform);\n if (\n isPreciseProcessStartIdentity(observedIdentity) &&\n isPreciseProcessStartIdentity(input.ownerProcessStartedAt) &&\n observedIdentity.split(\":\", 1)[0] ===\n input.ownerProcessStartedAt.split(\":\", 1)[0]\n ) {\n return observedIdentity === input.ownerProcessStartedAt;\n }\n // Fail closed when a live process cannot be identified precisely. A caller\n // may recover only after it can prove that the transition owner has exited.\n return true;\n}\n\nexport function readProcessStartIdentity(\n pid: number,\n platform: NodeJS.Platform = process.platform\n): string | null {\n if (!(Number.isSafeInteger(pid) && pid > 0)) {\n return null;\n }\n if (platform === \"win32\") {\n const created = readWindowsProcessStartFileTime(pid);\n return created === null ? null : `win32:${created}`;\n }\n try {\n const output = execFileSync(\"ps\", [\"-o\", \"lstart=\", \"-p\", String(pid)], {\n encoding: \"utf8\",\n stdio: [\"ignore\", \"pipe\", \"ignore\"],\n timeout: 1000,\n windowsHide: true,\n }).trim();\n return output.length > 0 ? `ps:${output}` : null;\n } catch {\n return null;\n }\n}\n\nfunction isProcessAlive(pid: number): boolean {\n try {\n process.kill(pid, 0);\n return true;\n } catch (error) {\n return !isNodeError(error, \"ESRCH\");\n }\n}\n\nfunction isNodeError(error: unknown, code: string): boolean {\n return (\n error instanceof Error && \"code\" in error && String(error.code) === code\n );\n}\n"],"mappings":";;;;;AAAA,MAAM,wBAAwB;CAC1B,MAAM;CACN,SAAS;CACT,YAAY;CACZ,SAAS;CACT,QAAQ;CACR,aAAa;CACb,WAAW;CACX,UAAU;CACV,SAAS;CACT,cAAc;CACd,MAAM;CACN,KAAK;AACT;;AAEA,SAAgB,4BAA4B,QAAQ,WAAW,QAAQ,UAAU;CAC7E,IAAI,aAAa,SACb,OAAO,EAAE,GAAG,OAAO;CAEvB,MAAM,SAAS,CAAC;CAChB,MAAM,uBAAO,IAAI,IAAI;CACrB,KAAK,MAAM,OAAO,OAAO,KAAK,MAAM,CAAC,CAAC,KAAK,GAAG;EAC1C,MAAM,QAAQ,OAAO;EACrB,MAAM,WAAW,IAAI,YAAY;EACjC,IAAI,UAAU,KAAA,KAAa,KAAK,IAAI,QAAQ,GACxC;EAEJ,KAAK,IAAI,QAAQ;EACjB,OAAO,sBAAsB,aAAa,OAAO;CACrD;CACA,OAAO;AACX;;AAEA,MAAa,2BAA2B;CACpC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;;;AC1CA,SAAgB,6BAA6B,MAAM,QAAQ,KAAK;CAC5D,MAAM,SAAS,4BAA4B,KAAK,OAAO;CACvD,MAAM,OAAO,OAAO,cAAc,OAAO;CACzC,IAAI,EAAE,QAAQ,MAAM,WAAW,IAAI,IAC/B,MAAM,IAAI,MAAM,0CAA0C;CAE9D,OAAO,MAAM,KAAK,MAAM,YAAY,qBAAqB,QAAQ,gBAAgB;AACrF;AACA,SAAgB,2BAA2B,QAAQ;CAC/C,OAAO;EACH;EACA;EACA;EACA;EACA,OAAO,KAAK,QAAQ,SAAS,CAAC,CAAC,SAAS,QAAQ;CACpD;AACJ;AACA,MAAM,oBAAoB;AAC1B,IAAI;;AAEJ,SAAgB,gCAAgC,KAAK;CACjD,IAAI,EAAE,OAAO,cAAc,GAAG,KAAK,MAAM,IACrC,OAAO;CAEX,IAAI,QAAQ,QAAQ,OAAO,wBACvB,OAAO;CAEX,MAAM,SAAS,2EAA2E,IAAI;CAC9F,IAAI;EACA,MAAM,SAAS,aAAa,6BAA6B,GAAG,2BAA2B,MAAM,GAAG;GAC5F,UAAU;GACV,aAAa;GACb,SAAS;GACT,WAAW;GACX,OAAO;IAAC;IAAU;IAAQ;GAAQ;EACtC,CAAC,CAAC,CAAC,KAAK;EACR,IAAI,CAAC,kBAAkB,KAAK,MAAM,GAC9B,OAAO;EAEX,IAAI,QAAQ,QAAQ,KAChB,yBAAyB;EAE7B,OAAO;CACX,QACM;EACF,OAAO;CACX;AACJ;;;AC/CA,MAAM,mCAAmC;AAEzC,SAAgB,8BAA8B,OAAiC;CAC7E,OACE,OAAO,UAAU,aACf,MAAM,WAAW,KAAK,KAAK,MAAM,SAAS,KAC1C,iCAAiC,KAAK,KAAK;AAEjD;AAEA,MAAa,iCACX,yBAAyB,QAAQ,GAAG,KACpC,YAAY,QAAQ,IAAI,GAAG,KAAK,MAAM,KAAK,IAAI,IAAI,QAAQ,OAAO,IAAI,GAAI;AAE5E,SAAgB,uBACd,OACA,WAA4B,QAAQ,UAC3B;CACT,IAAI,CAAC,eAAe,MAAM,QAAQ,GAChC,OAAO;CAET,MAAM,mBAAmB,yBAAyB,MAAM,UAAU,QAAQ;CAC1E,IACE,8BAA8B,gBAAgB,KAC9C,8BAA8B,MAAM,qBAAqB,KACzD,iBAAiB,MAAM,KAAK,CAAC,CAAC,CAAC,OAC7B,MAAM,sBAAsB,MAAM,KAAK,CAAC,CAAC,CAAC,IAE5C,OAAO,qBAAqB,MAAM;CAIpC,OAAO;AACT;AAEA,SAAgB,yBACd,KACA,WAA4B,QAAQ,UACrB;CACf,IAAI,EAAE,OAAO,cAAc,GAAG,KAAK,MAAM,IACvC,OAAO;CAET,IAAI,aAAa,SAAS;EACxB,MAAM,UAAU,gCAAgC,GAAG;EACnD,OAAO,YAAY,OAAO,OAAO,SAAS;CAC5C;CACA,IAAI;EACF,MAAM,SAAS,aAAa,MAAM;GAAC;GAAM;GAAW;GAAM,OAAO,GAAG;EAAC,GAAG;GACtE,UAAU;GACV,OAAO;IAAC;IAAU;IAAQ;GAAQ;GAClC,SAAS;GACT,aAAa;EACf,CAAC,CAAC,CAAC,KAAK;EACR,OAAO,OAAO,SAAS,IAAI,MAAM,WAAW;CAC9C,QAAQ;EACN,OAAO;CACT;AACF;AAEA,SAAS,eAAe,KAAsB;CAC5C,IAAI;EACF,QAAQ,KAAK,KAAK,CAAC;EACnB,OAAO;CACT,SAAS,OAAO;EACd,OAAO,CAAC,YAAY,OAAO,OAAO;CACpC;AACF;AAEA,SAAS,YAAY,OAAgB,MAAuB;CAC1D,OACE,iBAAiB,SAAS,UAAU,SAAS,OAAO,MAAM,IAAI,MAAM;AAExE"}
@@ -2844,10 +2844,10 @@ const spaceFileRevisionIdSchema = string().trim().min(1).max(128);
2844
2844
  const spaceFileClientMutationIdSchema = string().trim().min(1).max(128);
2845
2845
  const spaceFileRevisionNumberSchema = z$1.number().int().min(1);
2846
2846
  const spaceFileBaseRevisionSchema = number().int().min(1).nullable();
2847
- const spaceFileSizeBytesSchema = number().int().min(0).max(SPACE_FILE_MAX_SIZE_BYTES);
2847
+ const spaceFileSizeBytesSchema = z$1.number().int().min(0).max(SPACE_FILE_MAX_SIZE_BYTES);
2848
2848
  const spaceComposerUploadIdSchema = string().uuid();
2849
- const spaceFileMimeTypeSchema = string().trim().toLowerCase().max(255).regex(MEDIA_TYPE_PATTERN, "File type must be a valid media type.");
2850
- const spaceFileNameSchema = string().transform((value) => value.trim()).pipe(string().min(1).max(255).refine((value) => !PATH_SEPARATOR_PATTERN.test(value), { message: "File names cannot contain path separators." }).refine((value) => !hasControlCharacter(value), { message: "File names cannot contain control characters." }).refine((value) => value !== "." && value !== "..", { message: "File names cannot be dot path segments." }));
2849
+ const spaceFileMimeTypeSchema = z$1.string().trim().toLowerCase().max(255).regex(MEDIA_TYPE_PATTERN, "File type must be a valid media type.");
2850
+ const spaceFileNameSchema = z$1.string().trim().min(1).max(255).refine((value) => !PATH_SEPARATOR_PATTERN.test(value), { message: "File names cannot contain path separators." }).refine((value) => !hasControlCharacter(value), { message: "File names cannot contain control characters." }).refine((value) => value !== "." && value !== "..", { message: "File names cannot be dot path segments." });
2851
2851
  const spaceFileActorSchema = strictObject({
2852
2852
  profileId: scopeIdSchema,
2853
2853
  profileKind: enumFactory(["human", "agent"]),
@@ -2913,7 +2913,7 @@ const spaceFileRevisionSchema = strictObject({
2913
2913
  * `revision` identify the immutable bytes; the remaining fields are the
2914
2914
  * server-resolved send-time presentation snapshot.
2915
2915
  */
2916
- const spaceMessageFileReferenceSchema = strictObject({
2916
+ const spaceMessageFileReferenceSchema = z$1.strictObject({
2917
2917
  fileId: spaceFileEntryIdSchema,
2918
2918
  revision: spaceFileRevisionNumberSchema,
2919
2919
  name: spaceFileNameSchema,
@@ -3097,6 +3097,89 @@ function hasControlCharacter(value) {
3097
3097
  });
3098
3098
  }
3099
3099
  //#endregion
3100
+ //#region ../../packages/schemas/dist/space-work-handoff.js
3101
+ const SPACE_WORK_HANDOFF_CAPABILITY_HEADER = "x-openmeld-space-work-handoff";
3102
+ const unsafeSegment = /[<>:"\\|?*\u0000-\u001f]|[. ]$/u;
3103
+ const reservedSegment = /^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/iu;
3104
+ const spaceWorkRelativePathSchema = z$1.string().min(1).max(1024).refine((path) => path.split("/").every((part) => part.length > 0 && part !== "." && part !== ".." && part.toLowerCase() !== ".git" && part.toLowerCase() !== ".openmeld-skills" && !unsafeSegment.test(part) && !reservedSegment.test(part)), "Use a relative file path without reserved names, traversal, or unsafe characters.");
3105
+ const spaceWorkFileSelectionSchema = z$1.strictObject({
3106
+ fileId: z$1.string().min(1).max(128),
3107
+ revision: z$1.number().int().positive(),
3108
+ relativePath: spaceWorkRelativePathSchema
3109
+ });
3110
+ const spaceWorkSelectionSchema = z$1.strictObject({
3111
+ schemaVersion: z$1.literal(1),
3112
+ files: z$1.array(spaceWorkFileSelectionSchema).min(1).max(10)
3113
+ }).superRefine(({ files }, context) => {
3114
+ const paths = /* @__PURE__ */ new Set();
3115
+ const ids = /* @__PURE__ */ new Set();
3116
+ for (const file of files) {
3117
+ const path = file.relativePath.normalize("NFC").toLowerCase();
3118
+ if (ids.has(file.fileId) || [...paths].some((other) => other === path || other.startsWith(`${path}/`) || path.startsWith(`${other}/`))) context.addIssue({
3119
+ code: "custom",
3120
+ message: "Select each file once with distinct, non-overlapping paths."
3121
+ });
3122
+ ids.add(file.fileId);
3123
+ paths.add(path);
3124
+ }
3125
+ });
3126
+ const SPACE_WORK_MAX_BYTES = 10 * SPACE_FILE_RAW_UPLOAD_MAX_BYTES;
3127
+ const spaceWorkHandoffSchema = spaceWorkSelectionSchema.safeExtend({
3128
+ skills: z$1.array(z$1.strictObject({
3129
+ skillId: z$1.string().min(1).max(128),
3130
+ releaseId: z$1.string().min(1).max(128),
3131
+ digest: z$1.string().regex(/^[a-f0-9]{64}$/u),
3132
+ name: z$1.string().min(1).max(128)
3133
+ })).max(10).refine((skills) => new Set(skills.map((skill) => skill.skillId)).size === skills.length, "Select each Skill once."),
3134
+ work: z$1.strictObject({
3135
+ goal: z$1.string().min(1).max(4e3),
3136
+ completed: z$1.string().max(4e3),
3137
+ nextSteps: z$1.string().min(1).max(4e3)
3138
+ }),
3139
+ requirements: z$1.array(z$1.string().min(1).max(500)).max(10)
3140
+ });
3141
+ z$1.object({ workingCopyId: z$1.string().uuid().optional() });
3142
+ const spaceWorkingCopyResultSchema = z$1.union([
3143
+ z$1.strictObject({
3144
+ copyId: z$1.string().uuid(),
3145
+ root: z$1.string(),
3146
+ ready: z$1.literal(true)
3147
+ }),
3148
+ z$1.strictObject({
3149
+ copyId: z$1.string().uuid(),
3150
+ reconciled: z$1.literal(true)
3151
+ }),
3152
+ z$1.strictObject({
3153
+ copyId: z$1.string().uuid(),
3154
+ refreshed: z$1.literal(true)
3155
+ }),
3156
+ z$1.strictObject({
3157
+ copyId: z$1.string().uuid(),
3158
+ resolved: z$1.literal(true)
3159
+ }),
3160
+ z$1.strictObject({
3161
+ copyId: z$1.string().uuid(),
3162
+ references: z$1.array(spaceMessageFileReferenceSchema).max(10),
3163
+ files: z$1.array(spaceWorkFileSelectionSchema).max(10)
3164
+ }),
3165
+ z$1.strictObject({
3166
+ copyId: z$1.string().uuid(),
3167
+ root: z$1.string(),
3168
+ files: z$1.array(spaceWorkFileSelectionSchema.extend({
3169
+ incomingRevision: z$1.number().int().positive().optional(),
3170
+ incomingPath: spaceWorkRelativePathSchema.optional(),
3171
+ status: z$1.enum([
3172
+ "conflict",
3173
+ "pending",
3174
+ "preparing",
3175
+ "missing",
3176
+ "clean",
3177
+ "changed"
3178
+ ])
3179
+ })).max(10)
3180
+ })
3181
+ ]);
3182
+ //#endregion
3100
3183
  //#region ../../packages/schemas/dist/schemas/protocol/center-agent-interaction-source.js
3101
3184
  /**
3102
3185
  * Describes the authenticated client's carrier for a Center Agent request.
@@ -3312,6 +3395,7 @@ const legacySpaceAgentActivitySchema = spaceAgentActivitySchema.superRefine((act
3312
3395
  });
3313
3396
  });
3314
3397
  const signalTextMetaSchema = z$1.object({
3398
+ workHandoff: spaceWorkHandoffSchema.optional(),
3315
3399
  threadWakeContinuation: z$1.literal(true).optional(),
3316
3400
  deviceWait: wakeDeviceWaitSchema.optional(),
3317
3401
  restoredFromSignalId: z$1.string().min(1).optional(),
@@ -3694,6 +3778,7 @@ const openMeldDaemonDispatchSnapshotSchema = strictObject({
3694
3778
  targetBindingEnabled: boolean().describe("Compatibility seed evidence captured at Space handoff time. Do not use this snapshot as Binding authority or per-Wake outcome truth.")
3695
3779
  });
3696
3780
  const openMeldDaemonDispatchSourceSignalSnapshotSchema = strictObject({
3781
+ workHandoff: spaceWorkHandoffSchema.optional(),
3697
3782
  contextMessages: array(strictObject({
3698
3783
  signalId: string().min(1),
3699
3784
  author: string().min(1).nullable(),
@@ -5577,6 +5662,7 @@ const runtimeTransportCapabilitiesSchema = strictObject({
5577
5662
  }).optional(),
5578
5663
  runtimeAdapters: array(daemonRuntimeAdapterCapabilitySnapshotSchema).min(1).optional()
5579
5664
  }).extend({
5665
+ spaceWorkHandoff: literal(true).optional(),
5580
5666
  computerFileAccess: strictObject({
5581
5667
  readPolicy: literal(true).optional(),
5582
5668
  updatePolicy: literal(true).optional()
@@ -7042,6 +7128,6 @@ strictObject({
7042
7128
  })
7043
7129
  });
7044
7130
  //#endregion
7045
- export { shouldPreferMappedPublicAgentFailureReason as $, parseOptionalClientMessageId as $n, spaceFileActorSchema as $t, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema as A, normalizeMessageEnvelope as An, localFolderPathSchema as Ar, spaceAttachmentMimeTypeSchema as At, isOriginalErrorSafeForMessageDetails as B, spaceAgentStreamDeltaFrameSchema as Bn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as Br, createSpaceFolderResponseSchema as Bt, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as C, buildTargetWakeLifecycleId as Cn, LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY as Cr, signalSystemNoticeDataSchema as Ct, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema as D, formatCanonicalMentionLiteral as Dn, localFolderPickerHelperResultSchema as Dr, spaceAttachmentDescriptorSchema as Dt, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as E, collectCanonicalMentionTextFragments as En, localFolderPickerHelperProtocolResultSchema as Er, wakeDeviceWaitTargetSchema as Et, runtimeTransportResumeControllerConversationResultFramePayloadSchema as F, executionContextAssignmentSchema as Fn, startReplyReadinessSummarySchema as Fr, spaceStatusSchema as Ft, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as G, AGENT_INTERACTION_DEFAULT_TIMEOUT_MS as Gn, profileErrorResponseSchema as Gr, listSpaceFilesResponseSchema as Gt, openMeldDaemonProviderAccessEvidenceProviderSchema as H, spaceAgentStreamPresenceSchema as Hn, authProfileManagedRoleSchema as Hr, getSpaceFileResponseSchema as Ht, runtimeTransportRouteCatalogChangedFramePayloadSchema as I, executionContextSelectionSchema as In, localAgentCatalogLaunchStatusSchema as Ir, centerAgentInteractionSourceSchema as It, openMeldSpaceEgressActionSchema as J, agentInteractionResolutionSchema as Jn, updateProfileResponseSchema as Jr, resolveSpaceFileMimeType as Jt, openMeldDaemonTaskResultPayloadSchema as K, agentInteractionPendingSummarySchema as Kn, updateAgentProfileDefaultProjectBodySchema as Kr, publishSpaceComposerUploadResponseSchema as Kt, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema as L, executionContextTaskSchema as Ln, localAgentCatalogSchema as Lr, SPACE_FILE_ERROR_CODES as Lt, runtimeTransportRegisterSessionResponseSchema as M, computerSetupModeSchema as Mn, START_BOUNDED_VERSION_SCHEMA as Mr, spaceMessageAttachmentSchema as Mt, runtimeTransportRejectedProfileRegistrationSchema as N, openMeldNavigationTargetSchema as Nn, START_ISO_DATE_TIME_SCHEMA as Nr, spaceMessageAttachmentsSchema as Nt, runtimeTransportLookupRouteOwnerServiceEvidenceSchema as O, getSpaceMessageAddressingRelationSupportForTargetKind as On, localFolderPickerRequestSchema as Or, spaceAttachmentDimensionSchema as Ot, runtimeTransportResumeControllerConversationFramePayloadSchema as P, openMeldWebUrlSchema as Pn, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as Pr, conversationCompactionMarkerSchema as Pt, sanitizeDispatchErrorSummary as Q, clientMessageIdSchema as Qn, resolveCommandAgentWorkActivity as Qr, spaceComposerUploadIdSchema as Qt, runtimeTransportSubmitTaskResultRequestSchema as R, AGENT_STREAM_SNAPSHOT_MAX_CHARS as Rn, localAgentCatalogWithLifecycleSchema as Rr, SPACE_FILE_MAX_SIZE_BYTES as Rt, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema as S, workingLanguageTagSchema as Sn, agentProfileWorkRecoveryActionKindSchema as Sr, signalStatusDataSchema as St, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as T, MESSAGE_MENTION_TYPE_VALUES as Tn, localFolderPickerDaemonFrameSchema as Tr, signalTextSchema as Tt, openMeldDaemonProviderAccessEvidenceSchema as U, spaceAgentStreamSnapshotSchema as Un, authProfileViewSchema as Ur, isSpaceFileTextEditable as Ut, openMeldDaemonOriginalErrorSchema as V, spaceAgentStreamPartFrameSchema as Vn, authProfileKindSchema as Vr, discardSpaceComposerUploadResponseSchema as Vt, openMeldDaemonTaskResultEnvelopeWriteSchema as W, spaceAgentStreamTerminalFrameSchema as Wn, profileCapabilitiesResponseSchema as Wr, listSpaceFileRevisionsResponseSchema as Wt, resolvePublicAgentAvailabilityCopy as X, postSpaceWakeStopBodySchema as Xn, openMeldRequestContextSchema as Xr, restoreSpaceFileRevisionResponseSchema as Xt, resolveMappedPublicAgentFailureReason as Y, agentInteractionResponseSchema as Yn, openMeldProfileIdSchema as Yr, restoreSpaceFileEntryResponseSchema as Yt, resolvePublicAgentFailureRecovery as Z, postSpaceWakeStopResponseSchema as Zn, MAX_TEXT_LENGTH as Zr, spaceComposerUploadDescriptorSchema as Zt, runtimeTransportErrorCodeSchema as _, resultArchivePolicySchema as _n, OPENMELD_REASONING_STREAM_HEADER as _r, DISPATCH_ACTIVITY_RETRYING_PURPOSE as _t, localWakeRouteWorkingFolderObservationSchema as a, spaceFileRevisionNumberSchema as an, spaceTraceExecutionIdentityProjectionSchema as ar, agentTaskTerminalOutcomeSchema as at, runtimeTransportHeartbeatResponseSchema as b, spaceDispatchPolicySchema as bn, executeExecutionRecoveryResponseSchema as br, SPACE_MENTION_REJECT_NOTICE_PURPOSE as bt, runtimeTransportDispatchInteractionDeliveredRequestSchema as c, trashSpaceFileEntryResponseSchema as cn, spacePasswordSchema as cr, controllerAgentTaskHandleSchema as ct, runtimeTransportDispatchLifecycleRequestSchema as d, spaceThreadContextSchema as dn, spaceMentionLabelSchema as dr, AGENT_REPLYING_PURPOSE as dt, spaceFileClientMutationIdSchema as en, runtimeCoordinatorExecutionCreationDiagnosticSchema as er, spaceCallerContextSchema as et, runtimeTransportDispatchPreviewEndRequestSchema as f, spaceThreadEventSchema as fn, spaceMentionLabelSourceSchema as fr, AGENT_REPLY_PREVIEW_END_PURPOSE as ft, runtimeTransportDispatchToolActivityRequestSchema as g, spaceContractSchema as gn, LOCAL_AGENT_REASONING_MAX_CHARS as gr, DISPATCH_ACTIVITY_FAILED_PURPOSE as gt, runtimeTransportDispatchRuntimeEvidenceRequestSchema as h, spaceContractFieldsSchema as hn, updateOrganizationInformationProtectionPolicyBodySchema as hr, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as ht, localWakeRouteReportSchema as i, spaceFileNameSchema as in, runtimeTransportDeliveryExecutionIdentitySchema as ir, agentTaskHandleSchema as it, runtimeTransportRegisterSessionRequestSchema as j, resolveMessageEnvelopeTargetField as jn, START_BOUNDED_ID_SCHEMA as jr, spaceAttachmentSizeBytesSchema as jt, runtimeTransportOpenMeldToolsControlFramePayloadSchema as k, messageEnvelopeSchema as kn, localFolderPickerResultSchema as kr, spaceAttachmentFileNameSchema as kt, runtimeTransportDispatchInteractionRequestSchema as l, updateSpaceFileEntryResponseSchema as ln, resolveSingleSpaceMentionLabels as lr, spaceWakeAgentTaskHandleSchema as lt, runtimeTransportDispatchReasoningRequestSchema as m, spaceThreadSignalPlacementSchema as mn, organizationProtectedInformationSchema as mr, CONVERSATION_CONTINUITY_WARNING_PURPOSE as mt, daemonExecutionCompatibilitySchema as n, spaceFileEntryIdSchema as nn, runtimeCoordinatorExecutionRecordSchema as nr, agentTaskCompletionConditionSchema as nt, runtimeTransportCapabilitiesSchema as o, spaceMessageFileReferencesSchema as on, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE as or, areAgentTaskTerminalOutcomesEqual as ot, runtimeTransportDispatchPreviewRequestSchema as p, spaceThreadSchema as pn, organizationInformationProtectionPolicyResponseSchema as pr, AGENT_REPLY_PREVIEW_PURPOSE as pt, openMeldDaemonTaskResultProjectFailureContextSchema as q, agentInteractionRequestSchema as qn, updateAgentProfileDefaultProjectResponseSchema as qr, readSpaceFileTextResponseSchema as qt, daemonStreamFrameSchema as r, spaceFileMimeTypeSchema as rn, runtimeCoordinatorExecutionTokenEnvelopeSchema as rr, agentTaskCompletionObservationSchema as rt, runtimeTransportDeliverDispatchRequestSchema as s, stageSpaceComposerUploadResponseSchema as sn, normalizeSpacePasswordText as sr, buildAgentTaskKey as st, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as t, spaceFileDescriptorSchema as tn, runtimeCoordinatorExecutionEventSchema as tr, agentDelegationSnapshotSchema as tt, runtimeTransportDispatchInteractionResponseFramePayloadSchema as u, uploadSpaceFileResponseSchema as un, resolveSpaceMentionLabels as ur, AGENT_REPLYING_END_PURPOSE as ut, runtimeTransportForkAgentSessionResultSchema as v, spaceAllowedActionsSchema as vn, localAgentReasoningPreferencesSchema as vr, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as vt, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema as w, targetWakeLifecycleIdentitySchema as wn, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER as wr, signalTextDataSchema as wt, runtimeTransportLocalAgentControlCancelFramePayloadSchema as x, workingLanguageGuidanceSchema as xn, inspectExecutionRecoveryResponseSchema as xr, sanitizeSignalTextPreview as xt, runtimeTransportHeartbeatRequestSchema as y, spacePublicationModeSchema as yn, executeExecutionRecoveryBodySchema as yr, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as yt, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH as z, agentStreamToolPartSchema as zn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as zr, SPACE_FILE_RAW_UPLOAD_MAX_BYTES as zt };
7131
+ export { shouldPreferMappedPublicAgentFailureReason as $, agentInteractionPendingSummarySchema as $n, updateAgentProfileDefaultProjectBodySchema as $r, readSpaceFileTextResponseSchema as $t, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema as A, buildTargetWakeLifecycleId as An, LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY as Ar, spaceAttachmentMimeTypeSchema as At, isOriginalErrorSafeForMessageDetails as B, openMeldNavigationTargetSchema as Bn, START_ISO_DATE_TIME_SCHEMA as Br, spaceWorkRelativePathSchema as Bt, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as C, spaceContractSchema as Cn, LOCAL_AGENT_REASONING_MAX_CHARS as Cr, signalSystemNoticeDataSchema as Ct, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema as D, spaceDispatchPolicySchema as Dn, executeExecutionRecoveryResponseSchema as Dr, spaceAttachmentDescriptorSchema as Dt, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as E, spacePublicationModeSchema as En, executeExecutionRecoveryBodySchema as Er, wakeDeviceWaitTargetSchema as Et, runtimeTransportResumeControllerConversationResultFramePayloadSchema as F, getSpaceMessageAddressingRelationSupportForTargetKind as Fn, localFolderPickerRequestSchema as Fr, spaceStatusSchema as Ft, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as G, AGENT_STREAM_SNAPSHOT_MAX_CHARS as Gn, localAgentCatalogWithLifecycleSchema as Gr, SPACE_FILE_RAW_UPLOAD_MAX_BYTES as Gt, openMeldDaemonProviderAccessEvidenceProviderSchema as H, executionContextAssignmentSchema as Hn, startReplyReadinessSummarySchema as Hr, spaceWorkingCopyResultSchema as Ht, runtimeTransportRouteCatalogChangedFramePayloadSchema as I, messageEnvelopeSchema as In, localFolderPickerResultSchema as Ir, centerAgentInteractionSourceSchema as It, openMeldSpaceEgressActionSchema as J, spaceAgentStreamPartFrameSchema as Jn, authProfileKindSchema as Jr, getSpaceFileResponseSchema as Jt, openMeldDaemonTaskResultPayloadSchema as K, agentStreamToolPartSchema as Kn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as Kr, createSpaceFolderResponseSchema as Kt, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema as L, normalizeMessageEnvelope as Ln, localFolderPathSchema as Lr, SPACE_WORK_HANDOFF_CAPABILITY_HEADER as Lt, runtimeTransportRegisterSessionResponseSchema as M, MESSAGE_MENTION_TYPE_VALUES as Mn, localFolderPickerDaemonFrameSchema as Mr, spaceMessageAttachmentSchema as Mt, runtimeTransportRejectedProfileRegistrationSchema as N, collectCanonicalMentionTextFragments as Nn, localFolderPickerHelperProtocolResultSchema as Nr, spaceMessageAttachmentsSchema as Nt, runtimeTransportLookupRouteOwnerServiceEvidenceSchema as O, workingLanguageGuidanceSchema as On, inspectExecutionRecoveryResponseSchema as Or, spaceAttachmentDimensionSchema as Ot, runtimeTransportResumeControllerConversationFramePayloadSchema as P, formatCanonicalMentionLiteral as Pn, localFolderPickerHelperResultSchema as Pr, conversationCompactionMarkerSchema as Pt, sanitizeDispatchErrorSummary as Q, AGENT_INTERACTION_DEFAULT_TIMEOUT_MS as Qn, profileErrorResponseSchema as Qr, publishSpaceComposerUploadResponseSchema as Qt, runtimeTransportSubmitTaskResultRequestSchema as R, resolveMessageEnvelopeTargetField as Rn, START_BOUNDED_ID_SCHEMA as Rr, SPACE_WORK_MAX_BYTES as Rt, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema as S, spaceContractFieldsSchema as Sn, updateOrganizationInformationProtectionPolicyBodySchema as Sr, signalStatusDataSchema as St, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as T, spaceAllowedActionsSchema as Tn, localAgentReasoningPreferencesSchema as Tr, signalTextSchema as Tt, openMeldDaemonProviderAccessEvidenceSchema as U, executionContextSelectionSchema as Un, localAgentCatalogLaunchStatusSchema as Ur, SPACE_FILE_ERROR_CODES as Ut, openMeldDaemonOriginalErrorSchema as V, openMeldWebUrlSchema as Vn, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as Vr, spaceWorkSelectionSchema as Vt, openMeldDaemonTaskResultEnvelopeWriteSchema as W, executionContextTaskSchema as Wn, localAgentCatalogSchema as Wr, SPACE_FILE_MAX_SIZE_BYTES as Wt, resolvePublicAgentAvailabilityCopy as X, spaceAgentStreamSnapshotSchema as Xn, authProfileViewSchema as Xr, listSpaceFileRevisionsResponseSchema as Xt, resolveMappedPublicAgentFailureReason as Y, spaceAgentStreamPresenceSchema as Yn, authProfileManagedRoleSchema as Yr, isSpaceFileTextEditable as Yt, resolvePublicAgentFailureRecovery as Z, spaceAgentStreamTerminalFrameSchema as Zn, profileCapabilitiesResponseSchema as Zr, listSpaceFilesResponseSchema as Zt, runtimeTransportErrorCodeSchema as _, uploadSpaceFileResponseSchema as _n, resolveSpaceMentionLabels as _r, DISPATCH_ACTIVITY_RETRYING_PURPOSE as _t, localWakeRouteWorkingFolderObservationSchema as a, resolveCommandAgentWorkActivity as ai, spaceFileActorSchema as an, clientMessageIdSchema as ar, agentTaskTerminalOutcomeSchema as at, runtimeTransportHeartbeatResponseSchema as b, spaceThreadSchema as bn, organizationInformationProtectionPolicyResponseSchema as br, SPACE_MENTION_REJECT_NOTICE_PURPOSE as bt, runtimeTransportDispatchInteractionDeliveredRequestSchema as c, spaceFileEntryIdSchema as cn, runtimeCoordinatorExecutionEventSchema as cr, controllerAgentTaskHandleSchema as ct, runtimeTransportDispatchLifecycleRequestSchema as d, spaceFileRevisionNumberSchema as dn, runtimeTransportDeliveryExecutionIdentitySchema as dr, AGENT_REPLYING_PURPOSE as dt, updateAgentProfileDefaultProjectResponseSchema as ei, resolveSpaceFileMimeType as en, agentInteractionRequestSchema as er, spaceCallerContextSchema as et, runtimeTransportDispatchPreviewEndRequestSchema as f, spaceMessageFileReferenceSchema as fn, spaceTraceExecutionIdentityProjectionSchema as fr, AGENT_REPLY_PREVIEW_END_PURPOSE as ft, runtimeTransportDispatchToolActivityRequestSchema as g, updateSpaceFileEntryResponseSchema as gn, resolveSingleSpaceMentionLabels as gr, DISPATCH_ACTIVITY_FAILED_PURPOSE as gt, runtimeTransportDispatchRuntimeEvidenceRequestSchema as h, trashSpaceFileEntryResponseSchema as hn, spacePasswordSchema as hr, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as ht, localWakeRouteReportSchema as i, MAX_TEXT_LENGTH as ii, spaceComposerUploadIdSchema as in, postSpaceWakeStopResponseSchema as ir, agentTaskHandleSchema as it, runtimeTransportRegisterSessionRequestSchema as j, targetWakeLifecycleIdentitySchema as jn, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER as jr, spaceAttachmentSizeBytesSchema as jt, runtimeTransportOpenMeldToolsControlFramePayloadSchema as k, workingLanguageTagSchema as kn, agentProfileWorkRecoveryActionKindSchema as kr, spaceAttachmentFileNameSchema as kt, runtimeTransportDispatchInteractionRequestSchema as l, spaceFileMimeTypeSchema as ln, runtimeCoordinatorExecutionRecordSchema as lr, spaceWakeAgentTaskHandleSchema as lt, runtimeTransportDispatchReasoningRequestSchema as m, stageSpaceComposerUploadResponseSchema as mn, normalizeSpacePasswordText as mr, CONVERSATION_CONTINUITY_WARNING_PURPOSE as mt, daemonExecutionCompatibilitySchema as n, openMeldProfileIdSchema as ni, restoreSpaceFileRevisionResponseSchema as nn, agentInteractionResponseSchema as nr, agentTaskCompletionConditionSchema as nt, runtimeTransportCapabilitiesSchema as o, spaceFileClientMutationIdSchema as on, parseOptionalClientMessageId as or, areAgentTaskTerminalOutcomesEqual as ot, runtimeTransportDispatchPreviewRequestSchema as p, spaceMessageFileReferencesSchema as pn, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE as pr, AGENT_REPLY_PREVIEW_PURPOSE as pt, openMeldDaemonTaskResultProjectFailureContextSchema as q, spaceAgentStreamDeltaFrameSchema as qn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as qr, discardSpaceComposerUploadResponseSchema as qt, daemonStreamFrameSchema as r, openMeldRequestContextSchema as ri, spaceComposerUploadDescriptorSchema as rn, postSpaceWakeStopBodySchema as rr, agentTaskCompletionObservationSchema as rt, runtimeTransportDeliverDispatchRequestSchema as s, spaceFileDescriptorSchema as sn, runtimeCoordinatorExecutionCreationDiagnosticSchema as sr, buildAgentTaskKey as st, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as t, updateProfileResponseSchema as ti, restoreSpaceFileEntryResponseSchema as tn, agentInteractionResolutionSchema as tr, agentDelegationSnapshotSchema as tt, runtimeTransportDispatchInteractionResponseFramePayloadSchema as u, spaceFileNameSchema as un, runtimeCoordinatorExecutionTokenEnvelopeSchema as ur, AGENT_REPLYING_END_PURPOSE as ut, runtimeTransportForkAgentSessionResultSchema as v, spaceThreadContextSchema as vn, spaceMentionLabelSchema as vr, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as vt, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema as w, resultArchivePolicySchema as wn, OPENMELD_REASONING_STREAM_HEADER as wr, signalTextDataSchema as wt, runtimeTransportLocalAgentControlCancelFramePayloadSchema as x, spaceThreadSignalPlacementSchema as xn, organizationProtectedInformationSchema as xr, sanitizeSignalTextPreview as xt, runtimeTransportHeartbeatRequestSchema as y, spaceThreadEventSchema as yn, spaceMentionLabelSourceSchema as yr, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as yt, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH as z, computerSetupModeSchema as zn, START_BOUNDED_VERSION_SCHEMA as zr, spaceWorkHandoffSchema as zt };
7046
7132
 
7047
- //# sourceMappingURL=runtime-transport-DxISZdzf.js.map
7133
+ //# sourceMappingURL=runtime-transport-D8G8sANa.js.map