openmeld 0.3.237 → 0.3.238

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 (109) hide show
  1. package/dist/{add-me-membership-BEqSnfgo.js → add-me-membership-_7nC0hkr.js} +2 -2
  2. package/dist/{add-me-membership-BEqSnfgo.js.map → add-me-membership-_7nC0hkr.js.map} +1 -1
  3. package/dist/{agents-_Hh6L3Fi.js → agents-kG9UvazC.js} +10 -10
  4. package/dist/{agents-_Hh6L3Fi.js.map → agents-kG9UvazC.js.map} +1 -1
  5. package/dist/{api-client-foundation-ZuYF2Uah.js → api-client-foundation-DIcNjG9w.js} +1 -1
  6. package/dist/{api-client-foundation-CGc8AuMo.js → api-client-foundation-DNbvvZW2.js} +3 -3
  7. package/dist/{api-client-foundation-CGc8AuMo.js.map → api-client-foundation-DNbvvZW2.js.map} +1 -1
  8. package/dist/{auth-session-B3oyTcSI.js → auth-session-BTRu2Kc5.js} +2 -2
  9. package/dist/{auth-session-B3oyTcSI.js.map → auth-session-BTRu2Kc5.js.map} +1 -1
  10. package/dist/auth-session-D2f7Lud02.js +4 -0
  11. package/dist/{channel-BB6aEY--.js → channel-BxlX3o3i.js} +78 -4
  12. package/dist/channel-BxlX3o3i.js.map +1 -0
  13. package/dist/{command-D71NHS4j.js → command-Cyw5Gj59.js} +37 -123
  14. package/dist/command-Cyw5Gj59.js.map +1 -0
  15. package/dist/{computer-connection-DyL3C3HO.js → computer-connection-Sntn_-XO.js} +2 -2
  16. package/dist/{computer-connection-DyL3C3HO.js.map → computer-connection-Sntn_-XO.js.map} +1 -1
  17. package/dist/{computer-connection-review-BXuXP6KH.js → computer-connection-review-DWiapsro.js} +5 -5
  18. package/dist/{computer-connection-review-BXuXP6KH.js.map → computer-connection-review-DWiapsro.js.map} +1 -1
  19. package/dist/{computer-disconnect-BXZKVvxj.js → computer-disconnect-Bxxreumk.js} +8 -8
  20. package/dist/{computer-disconnect-BXZKVvxj.js.map → computer-disconnect-Bxxreumk.js.map} +1 -1
  21. package/dist/{computer-setup-continuation-DOvxRtAh.js → computer-setup-continuation-DkPRFlA1.js} +4 -4
  22. package/dist/{computer-setup-continuation-DOvxRtAh.js.map → computer-setup-continuation-DkPRFlA1.js.map} +1 -1
  23. package/dist/{daemon-device-id-Dwm7CHtX.js → daemon-device-id-D7lbw6c4.js} +226 -42
  24. package/dist/daemon-device-id-D7lbw6c4.js.map +1 -0
  25. package/dist/{daemon-lifecycle-journal-DrDyXoUO.js → daemon-lifecycle-journal-C0P8xFTk.js} +3 -3
  26. package/dist/{daemon-lifecycle-journal-DrDyXoUO.js.map → daemon-lifecycle-journal-C0P8xFTk.js.map} +1 -1
  27. package/dist/{daemon-service-runtime-D-tDDWWf.js → daemon-service-runtime-DhV7AKAv.js} +2 -2
  28. package/dist/{daemon-service-runtime-D-tDDWWf.js.map → daemon-service-runtime-DhV7AKAv.js.map} +1 -1
  29. package/dist/{daemon-service-update-coordinator-ykoOjGCd.js → daemon-service-update-coordinator-BM4ha5Nj.js} +9 -10
  30. package/dist/{daemon-service-update-coordinator-ykoOjGCd.js.map → daemon-service-update-coordinator-BM4ha5Nj.js.map} +1 -1
  31. package/dist/{dispatch-owned-runtime-eRa3wkl9.js → dispatch-owned-runtime-CfPwparq.js} +7 -7
  32. package/dist/{dispatch-owned-runtime-eRa3wkl9.js.map → dispatch-owned-runtime-CfPwparq.js.map} +1 -1
  33. package/dist/dist-Bfz_GJ0l.js +4 -0
  34. package/dist/{dist-DEjtwiDJ.js → dist-s_YTHAIc.js} +307 -16
  35. package/dist/dist-s_YTHAIc.js.map +1 -0
  36. package/dist/{elapsed-time-BnibmBPb.js → dual-view-guide-catalog-DDYa38RT.js} +215 -164
  37. package/dist/dual-view-guide-catalog-DDYa38RT.js.map +1 -0
  38. package/dist/elapsed-time-Ck4GiT9P.js +165 -0
  39. package/dist/elapsed-time-Ck4GiT9P.js.map +1 -0
  40. package/dist/{entry-CVxgr9uQ.js → entry-CTw122mn.js} +7 -8
  41. package/dist/{entry-CVxgr9uQ.js.map → entry-CTw122mn.js.map} +1 -1
  42. package/dist/{installation-inventory-HHLOQ2g7.js → installation-inventory-CSNq9dzc.js} +3 -3
  43. package/dist/{installation-inventory-HHLOQ2g7.js.map → installation-inventory-CSNq9dzc.js.map} +1 -1
  44. package/dist/{installer-Bg4KA0DR.js → installer-B4MjFlzg.js} +2 -2
  45. package/dist/{installer-Bg4KA0DR.js.map → installer-B4MjFlzg.js.map} +1 -1
  46. package/dist/{meta-api-CjvtAPvQ.js → meta-api-tg1rD8mP.js} +117 -6
  47. package/dist/meta-api-tg1rD8mP.js.map +1 -0
  48. package/dist/{openmeld-o_rTSEOO.js → openmeld-MSrVnYw0.js} +128 -88
  49. package/dist/openmeld-MSrVnYw0.js.map +1 -0
  50. package/dist/{openmeld-maintenance-worker-Cwv6_5UL.js → openmeld-maintenance-worker-CQGwuIl9.js} +9 -9
  51. package/dist/{openmeld-maintenance-worker-Cwv6_5UL.js.map → openmeld-maintenance-worker-CQGwuIl9.js.map} +1 -1
  52. package/dist/{openmeld-tools-update-join-IFQf70sm.js → openmeld-tools-update-join-CzBRWKVT.js} +4 -4
  53. package/dist/{openmeld-tools-update-join-IFQf70sm.js.map → openmeld-tools-update-join-CzBRWKVT.js.map} +1 -1
  54. package/dist/openmeld.js +4 -4
  55. package/dist/{prepare-provider-runtime-B_huS5DY.js → prepare-provider-runtime-L7u8iHAb.js} +94 -11
  56. package/dist/{prepare-provider-runtime-B_huS5DY.js.map → prepare-provider-runtime-L7u8iHAb.js.map} +1 -1
  57. package/dist/{prepare-session-executor-WWjgnqsh.js → prepare-session-executor-D8LvC1d8.js} +19 -20
  58. package/dist/{prepare-session-executor-WWjgnqsh.js.map → prepare-session-executor-D8LvC1d8.js.map} +1 -1
  59. package/dist/{presenter-MJ5YgsOT.js → presenter-BcxiQyJg.js} +13 -3
  60. package/dist/presenter-BcxiQyJg.js.map +1 -0
  61. package/dist/{process-channel-C2dB41fO.js → process-channel-QRugdtrY.js} +2 -2
  62. package/dist/{process-channel-C2dB41fO.js.map → process-channel-QRugdtrY.js.map} +1 -1
  63. package/dist/{runtime-DjEQja8c.js → runtime-C2v7iKNY.js} +126 -16
  64. package/dist/runtime-C2v7iKNY.js.map +1 -0
  65. package/dist/{runtime-agent-controller-reporting-submission-CRS5CwMp.js → runtime-agent-controller-reporting-submission-BFXtOHAU.js} +8 -8
  66. package/dist/{runtime-agent-controller-reporting-submission-CRS5CwMp.js.map → runtime-agent-controller-reporting-submission-BFXtOHAU.js.map} +1 -1
  67. package/dist/{runtime-transport-B-GZhwVt.js → runtime-transport-BVCHi4qM.js} +10 -6
  68. package/dist/runtime-transport-BVCHi4qM.js.map +1 -0
  69. package/dist/{service-CleUczqJ.js → service-6waBVmON.js} +43 -20
  70. package/dist/service-6waBVmON.js.map +1 -0
  71. package/dist/{service-account-authorization-s1bXEswT.js → service-account-authorization-C1CdX1P3.js} +2 -2
  72. package/dist/{service-account-authorization-s1bXEswT.js.map → service-account-authorization-C1CdX1P3.js.map} +1 -1
  73. package/dist/{service-account-control-CjZ5uqK4.js → service-account-control-BBY6pX86.js} +8 -9
  74. package/dist/{service-account-control-CjZ5uqK4.js.map → service-account-control-BBY6pX86.js.map} +1 -1
  75. package/dist/{service-control-capabilities-D5izhuhD.js → service-control-capabilities-BP9UE3a7.js} +3 -3
  76. package/dist/{service-control-capabilities-D5izhuhD.js.map → service-control-capabilities-BP9UE3a7.js.map} +1 -1
  77. package/dist/{service-control-capabilities-Bcho1Rwq.js → service-control-capabilities-CQjhvDFx.js} +1 -1
  78. package/dist/{state-CbrhgfNh.js → state-BJJLEoJY.js} +2 -2
  79. package/dist/{state-CbrhgfNh.js.map → state-BJJLEoJY.js.map} +1 -1
  80. package/dist/{updates-api-B7x39-DR.js → updates-api-dsNUTfpa.js} +142 -11
  81. package/dist/updates-api-dsNUTfpa.js.map +1 -0
  82. package/dist/upgrade-CUyMj35o.js +4 -0
  83. package/dist/{upgrade-BQSA2LfT.js → upgrade-DwlRN4_U.js} +9 -9
  84. package/dist/{upgrade-BQSA2LfT.js.map → upgrade-DwlRN4_U.js.map} +1 -1
  85. package/dist/windows/openmeld-windows-process.exe +0 -0
  86. package/package.json +12 -12
  87. package/skills/openmeld-cli/playbooks/space-ops.md +24 -2
  88. package/skills/openmeld-cli/references/commands.md +9 -2
  89. package/dist/auth-session-CoFlCq7_.js +0 -4
  90. package/dist/channel-BB6aEY--.js.map +0 -1
  91. package/dist/command-D71NHS4j.js.map +0 -1
  92. package/dist/context-43g3bIde.js +0 -162
  93. package/dist/context-43g3bIde.js.map +0 -1
  94. package/dist/daemon-device-id-Dwm7CHtX.js.map +0 -1
  95. package/dist/dist-CaCD0K8a.js +0 -216
  96. package/dist/dist-CaCD0K8a.js.map +0 -1
  97. package/dist/dist-DEjtwiDJ.js.map +0 -1
  98. package/dist/dist-DGNsLSYJ.js +0 -4
  99. package/dist/elapsed-time-BnibmBPb.js.map +0 -1
  100. package/dist/io-DT66typ4.js +0 -16
  101. package/dist/io-DT66typ4.js.map +0 -1
  102. package/dist/meta-api-CjvtAPvQ.js.map +0 -1
  103. package/dist/openmeld-o_rTSEOO.js.map +0 -1
  104. package/dist/presenter-MJ5YgsOT.js.map +0 -1
  105. package/dist/runtime-DjEQja8c.js.map +0 -1
  106. package/dist/runtime-transport-B-GZhwVt.js.map +0 -1
  107. package/dist/service-CleUczqJ.js.map +0 -1
  108. package/dist/updates-api-B7x39-DR.js.map +0 -1
  109. package/dist/upgrade-636PQBli.js +0 -4
@@ -1,21 +1,54 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { D as openMeldRootDir, R as runtimeDir, U as systemDir, t as OPENMELD_HOME_ENV_KEY, y as normalizeAccountKey } from "./paths-De9xdA2h.js";
3
+ import { D as openMeldRootDir, R as runtimeDir, U as systemDir, b as normalizeOpenMeldProfileId, i as accountProfileViewPath, t as OPENMELD_HOME_ENV_KEY, y as normalizeAccountKey } from "./paths-De9xdA2h.js";
4
4
  import { t as isLoopbackHostname } from "./loopback-hostname-DHQPKq8N.js";
5
- import { Ai as authProfileManagedRoleSchema, Ei as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, Mi as profileCapabilitiesResponseSchema, Ni as profileErrorResponseSchema, Ti as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH } from "./runtime-transport-B-GZhwVt.js";
5
+ import { Di as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE, Ei as ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE, Ni as profileCapabilitiesResponseSchema, Pi as profileErrorResponseSchema, Ri as openMeldProfileIdSchema, ji as authProfileManagedRoleSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH } from "./runtime-transport-BVCHi4qM.js";
6
6
  import { E as agentProfileIdSchema, b as skippedDaemonProfileSchema } from "./control-plane-QqGL-jtT.js";
7
7
  import { n as runtimeAgentControllerConversationIdMappingSpecSchema, o as runtimeStreamingModeSchema, r as runtimeAgentControllerLaunchContractSchema, s as runtimeTransportModeSchema, u as conversationPolicySchema } from "./controller-contract-DAOCaefz.js";
8
- import { $ as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, F as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, I as DAEMON_RUNTIME_CONTRACT_EPOCH$1, K as MIN_HEARTBEAT_INTERVAL_MS$1, L as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, P as CATALOG_SYNC_RETRY_INTERVAL_MS$1, R as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, U as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, V as DEFAULT_HEARTBEAT_INTERVAL_MS$1, W as MAX_HEARTBEAT_INTERVAL_MS$1, X as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, Y as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, Z as REGISTER_RESPONSE_TIMEOUT_MS$1, d as getAuthSessionState, et as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, tt as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, z as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1 } from "./auth-session-B3oyTcSI.js";
8
+ import { $ as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS$1, F as CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1, I as DAEMON_RUNTIME_CONTRACT_EPOCH$1, K as MIN_HEARTBEAT_INTERVAL_MS$1, L as DAEMON_STREAM_CONNECT_TIMEOUT_MS$1, P as CATALOG_SYNC_RETRY_INTERVAL_MS$1, R as DAEMON_STREAM_KEEPALIVE_INTERVAL_MS$1, U as HEARTBEAT_RESPONSE_TIMEOUT_MS$1, V as DEFAULT_HEARTBEAT_INTERVAL_MS$1, W as MAX_HEARTBEAT_INTERVAL_MS$1, X as PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS$1, Y as PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS$1, Z as REGISTER_RESPONSE_TIMEOUT_MS$1, d as getAuthSessionState, et as RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS$1, tt as RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS$1, z as DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS$1 } from "./auth-session-BTRu2Kc5.js";
9
9
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
10
10
  import { n as agentControllerPermissionModeSchema, r as agentControllerCollaborationModeSchema, t as openCodePermissionConfigSchema } from "./open-code-permission-DHFJYc_o.js";
11
11
  import { _ as resolveCliContext, g as readCliContextState, h as listCliContextStates, y as writeCliContextState } from "./lock-BMI00i2F.js";
12
+ import { _ as getConfiguredViewCustomization } from "./base-url-0AoeTi3w.js";
12
13
  import { h as daemonRuntimeRootPath, m as daemonRuntimeDataPath } from "./daemon-state-Dte9re5V.js";
13
14
  import { r as formatOpenMeldCliCommands, t as formatInlineOpenMeldCliCommands } from "./cli-entry-command-CR_9QU1i.js";
14
15
  import { n as toErrorMessage$1 } from "./dist-BLuEEVHh.js";
15
16
  import { createHash, randomUUID } from "node:crypto";
16
- import { join } from "node:path";
17
+ import { dirname, join } from "node:path";
17
18
  import { mkdir, readFile, readdir, rename, rm, stat, writeFile } from "node:fs/promises";
18
19
  import * as z$1 from "zod/v4";
20
+ //#region ../../packages/schemas/dist/schemas/runtime/agent-execution-steer.js
21
+ /** The caller must resolve and authorize the exact live execution's task. */
22
+ const agentExecutionSteerRequestSchema = z$1.strictObject({
23
+ taskId: z$1.string().min(1),
24
+ inputId: z$1.string().min(1),
25
+ text: z$1.string().trim().min(1).max(1e5)
26
+ });
27
+ const agentExecutionSteerResponseSchema = z$1.discriminatedUnion("status", [
28
+ z$1.strictObject({
29
+ status: z$1.literal("applied"),
30
+ taskId: z$1.string().min(1),
31
+ threadId: z$1.string().min(1),
32
+ turnId: z$1.string().min(1)
33
+ }),
34
+ z$1.strictObject({
35
+ status: z$1.literal("not_applied"),
36
+ taskId: z$1.string().min(1),
37
+ reasonCode: z$1.enum([
38
+ "execution_input.target_unavailable",
39
+ "execution_input.unsupported",
40
+ "execution_input.rejected"
41
+ ])
42
+ }),
43
+ z$1.strictObject({
44
+ status: z$1.literal("unconfirmed"),
45
+ taskId: z$1.string().min(1),
46
+ reasonCode: z$1.literal("execution_input.application_unconfirmed"),
47
+ diagnosticCode: z$1.string().min(1).max(160),
48
+ nativeErrorCode: z$1.number().int().optional()
49
+ })
50
+ ]);
51
+ //#endregion
19
52
  //#region ../../packages/schemas/dist/schemas/daemon/route-catalog-cache.js
20
53
  const DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME = "openmeld-daemon-route-catalog-cache-v4";
21
54
  const cachedDaemonRouteConfigSchema = z$1.strictObject({
@@ -72,13 +105,13 @@ function resolveOpenMeldAccountContext(input) {
72
105
  key: normalizeAccountKey({}),
73
106
  source: "fallback"
74
107
  };
75
- const normalizedBaseUrl = normalizeOptionalString$4(session.authBaseUrl);
108
+ const normalizedBaseUrl = normalizeOptionalString$5(session.authBaseUrl);
76
109
  const hostKey = resolveHostKey(normalizedBaseUrl);
77
110
  const user = normalizeUser(session.user);
78
111
  const userKey = user?.id ?? user?.email ?? buildSessionScopedUserKey({
79
112
  authBaseUrl: normalizedBaseUrl,
80
- clientId: normalizeOptionalString$4(session.clientId),
81
- createdAt: normalizeOptionalString$4(session.createdAt)
113
+ clientId: normalizeOptionalString$5(session.clientId),
114
+ createdAt: normalizeOptionalString$5(session.createdAt)
82
115
  });
83
116
  return {
84
117
  key: normalizeAccountKey({
@@ -91,7 +124,7 @@ function resolveOpenMeldAccountContext(input) {
91
124
  };
92
125
  }
93
126
  async function resolveCurrentOpenMeldAccountContext() {
94
- const { getAuthSessionMetadata } = await import("./auth-session-CoFlCq7_.js");
127
+ const { getAuthSessionMetadata } = await import("./auth-session-D2f7Lud02.js");
95
128
  return resolveOpenMeldAccountContext({ session: await getAuthSessionMetadata().catch(() => null) });
96
129
  }
97
130
  function resolveHostKey(baseUrl) {
@@ -114,9 +147,9 @@ function buildSessionScopedUserKey(input) {
114
147
  function normalizeUser(value) {
115
148
  if (!(value && typeof value === "object")) return null;
116
149
  const record = value;
117
- const id = normalizeOptionalString$4(record.id);
118
- const email = normalizeOptionalString$4(record.email);
119
- const name = normalizeOptionalString$4(record.name);
150
+ const id = normalizeOptionalString$5(record.id);
151
+ const email = normalizeOptionalString$5(record.email);
152
+ const name = normalizeOptionalString$5(record.name);
120
153
  if (!(id || email || name)) return null;
121
154
  return {
122
155
  ...id ? { id } : {},
@@ -124,12 +157,99 @@ function normalizeUser(value) {
124
157
  ...name ? { name } : {}
125
158
  };
126
159
  }
127
- function normalizeOptionalString$4(value) {
160
+ function normalizeOptionalString$5(value) {
128
161
  if (typeof value !== "string") return null;
129
162
  const normalized = value.trim();
130
163
  return normalized.length > 0 ? normalized : null;
131
164
  }
132
165
  //#endregion
166
+ //#region src/config/profile-view.ts
167
+ async function getProfileDefaultView(openMeldProfileId) {
168
+ const normalizedOpenMeldProfileId = normalizeOpenMeldProfileId(openMeldProfileId);
169
+ const path = await resolveAccountProfileViewPath(normalizedOpenMeldProfileId);
170
+ const raw = await readFile(path, "utf8").catch(() => null);
171
+ if (!raw) return "auto";
172
+ try {
173
+ const parsed = JSON.parse(raw);
174
+ if (parsed.v !== 1) return "auto";
175
+ const normalizedStoredProfileView = normalizeStoredProfileView(parsed);
176
+ if (!normalizedStoredProfileView) return "auto";
177
+ if (normalizedStoredProfileView.payload.openMeldProfileId !== normalizedOpenMeldProfileId) {
178
+ await rm(path, { force: true });
179
+ return "auto";
180
+ }
181
+ if (normalizedStoredProfileView.needsRewrite) await writeProfileViewFile(path, normalizedStoredProfileView.payload);
182
+ return normalizedStoredProfileView.payload.defaultView;
183
+ } catch {
184
+ return "auto";
185
+ }
186
+ }
187
+ async function setProfileDefaultView(input) {
188
+ const openMeldProfileId = normalizeOpenMeldProfileId(input.openMeldProfileId);
189
+ const path = await resolveAccountProfileViewPath(openMeldProfileId);
190
+ if (input.view === "auto") {
191
+ await rm(path, { force: true });
192
+ return;
193
+ }
194
+ await writeProfileViewFile(path, {
195
+ v: 1,
196
+ openMeldProfileId,
197
+ defaultView: input.view,
198
+ updatedAt: (/* @__PURE__ */ new Date()).toISOString()
199
+ });
200
+ }
201
+ async function writeProfileViewFile(path, payload) {
202
+ await mkdir(dirname(path), { recursive: true });
203
+ const tempPath = `${path}.tmp-${process.pid}-${Date.now()}`;
204
+ await writeFile(tempPath, `${JSON.stringify(payload, null, 2)}\n`, "utf8");
205
+ try {
206
+ await rename(tempPath, path);
207
+ } catch (error) {
208
+ await rm(tempPath, { force: true }).catch(() => void 0);
209
+ throw error;
210
+ }
211
+ }
212
+ async function resolveAccountProfileViewPath(openMeldProfileId) {
213
+ return accountProfileViewPath((await resolveCurrentOpenMeldAccountContext()).key, openMeldProfileId);
214
+ }
215
+ function normalizeStoredProfileView(input) {
216
+ const openMeldProfileId = normalizeOptionalOpenMeldProfileId(input.openMeldProfileId);
217
+ const legacyProfile = normalizeOptionalOpenMeldProfileId(input.profile);
218
+ const resolvedOpenMeldProfileId = openMeldProfileId ?? legacyProfile;
219
+ if (!resolvedOpenMeldProfileId) return null;
220
+ const defaultView = normalizeStoredDefaultView(input.defaultView);
221
+ if (!defaultView) return null;
222
+ const updatedAt = normalizeStoredUpdatedAt(input.updatedAt);
223
+ return {
224
+ needsRewrite: openMeldProfileId !== resolvedOpenMeldProfileId || input.profile !== void 0 || input.updatedAt !== updatedAt,
225
+ payload: {
226
+ v: 1,
227
+ openMeldProfileId: resolvedOpenMeldProfileId,
228
+ defaultView,
229
+ updatedAt
230
+ }
231
+ };
232
+ }
233
+ function normalizeStoredDefaultView(value) {
234
+ if (value === "human" || value === "agent") return value;
235
+ return null;
236
+ }
237
+ function normalizeStoredUpdatedAt(value) {
238
+ if (typeof value === "string") {
239
+ const trimmedValue = value.trim();
240
+ if (trimmedValue.length > 0 && !Number.isNaN(Date.parse(trimmedValue))) return trimmedValue;
241
+ }
242
+ return (/* @__PURE__ */ new Date()).toISOString();
243
+ }
244
+ function normalizeOptionalOpenMeldProfileId(value) {
245
+ if (typeof value !== "string") return null;
246
+ try {
247
+ return normalizeOpenMeldProfileId(value);
248
+ } catch {
249
+ return null;
250
+ }
251
+ }
252
+ //#endregion
133
253
  //#region src/auth/auth-guidance.ts
134
254
  const AUTH_MISMATCH_ERROR_RE = /session auth:\s*(.+?),\s*gateway:\s*(.+?)\);?\s*run/u;
135
255
  const AUTH_MISMATCH_SUMMARY_RE = /Current session is for\s+(.+?),\s+but.+?\s+is\s+(.+?)\./u;
@@ -147,9 +267,9 @@ function createAuthenticationError(input) {
147
267
  return new OpenMeldAuthenticationError(resolveAuthenticationGuidance(input));
148
268
  }
149
269
  function resolveAuthenticationGuidance(input) {
150
- const action = normalizeOptionalString$3(input.action);
151
- const authBaseUrl = normalizeOptionalString$3(input.authBaseUrl);
152
- const gatewayUrl = normalizeOptionalString$3(input.gatewayUrl);
270
+ const action = normalizeOptionalString$4(input.action);
271
+ const authBaseUrl = normalizeOptionalString$4(input.authBaseUrl);
272
+ const gatewayUrl = normalizeOptionalString$4(input.gatewayUrl);
153
273
  if (input.reason === "mismatch") return {
154
274
  reason: input.reason,
155
275
  action,
@@ -173,7 +293,7 @@ function resolveAuthenticationGuidance(input) {
173
293
  };
174
294
  }
175
295
  function buildCommandAuthenticationPromptMessage(action) {
176
- const normalizedAction = normalizeOptionalString$3(action);
296
+ const normalizedAction = normalizeOptionalString$4(action);
177
297
  if (!normalizedAction) return "Sign in is required to continue. What do you want to do?";
178
298
  return `Sign in is required before ${normalizedAction}. What do you want to do?`;
179
299
  }
@@ -260,7 +380,7 @@ function resolveAuthenticationGuidanceFromMessage(message) {
260
380
  function extractAuthenticationPromptAction(promptMessage) {
261
381
  const normalizedMessage = String(promptMessage ?? "").trim();
262
382
  if (normalizedMessage.length === 0) return null;
263
- return normalizeOptionalString$3(AUTH_PROMPT_ACTION_RE.exec(normalizedMessage)?.groups?.action);
383
+ return normalizeOptionalString$4(AUTH_PROMPT_ACTION_RE.exec(normalizedMessage)?.groups?.action);
264
384
  }
265
385
  function resolveRequiredAuthenticationGuidance(reason) {
266
386
  switch (reason) {
@@ -340,7 +460,7 @@ function buildAgentAuthenticationNotes(guidance) {
340
460
  if (guidance.gatewayUrl) notes.push(`Current gateway: ${guidance.gatewayUrl}`);
341
461
  return notes;
342
462
  }
343
- function normalizeOptionalString$3(value) {
463
+ function normalizeOptionalString$4(value) {
344
464
  const normalized = String(value ?? "").trim();
345
465
  return normalized.length > 0 ? normalized : null;
346
466
  }
@@ -494,15 +614,15 @@ function parseLegacySelectionPayload(raw) {
494
614
  try {
495
615
  const payload = JSON.parse(raw);
496
616
  if (payload.v !== 1) return null;
497
- const sessionId = normalizeOptionalString$2(payload.sessionId);
498
- const openMeldProfileId = normalizeOptionalString$2(payload.openMeldProfileId);
617
+ const sessionId = normalizeOptionalString$3(payload.sessionId);
618
+ const openMeldProfileId = normalizeOptionalString$3(payload.openMeldProfileId);
499
619
  if (!(sessionId && openMeldProfileId)) return null;
500
620
  return {
501
621
  v: 1,
502
622
  sessionId,
503
- sessionSource: normalizeOptionalString$2(payload.sessionSource) ?? "manual",
623
+ sessionSource: normalizeOptionalString$3(payload.sessionSource) ?? "manual",
504
624
  openMeldProfileId,
505
- updatedAt: normalizeOptionalString$2(payload.updatedAt) ?? (/* @__PURE__ */ new Date(0)).toISOString()
625
+ updatedAt: normalizeOptionalString$3(payload.updatedAt) ?? (/* @__PURE__ */ new Date(0)).toISOString()
506
626
  };
507
627
  } catch {
508
628
  return null;
@@ -532,12 +652,12 @@ function toSafeSessionFile(value) {
532
652
  const maxBaseLength = Math.max(1, SESSION_FILE_MAX_LENGTH - SESSION_FILE_HASH_LENGTH - 1);
533
653
  return `${safeBase.slice(0, maxBaseLength)}-${hash}`;
534
654
  }
535
- function normalizeOptionalString$2(value) {
655
+ function normalizeOptionalString$3(value) {
536
656
  const normalized = String(value ?? "").trim();
537
657
  return normalized.length > 0 ? normalized : null;
538
658
  }
539
659
  function normalizeRequiredString(value, field) {
540
- const normalized = normalizeOptionalString$2(value);
660
+ const normalized = normalizeOptionalString$3(value);
541
661
  if (!normalized) throw new Error(`${field} is required`);
542
662
  return normalized;
543
663
  }
@@ -643,7 +763,7 @@ var AuthProfilesApiError = class extends Error {
643
763
  this.name = "AuthProfilesApiError";
644
764
  this.status = input.status;
645
765
  this.endpoint = input.endpoint;
646
- this.code = normalizeOptionalString$1(input.code);
766
+ this.code = normalizeOptionalString$2(input.code);
647
767
  }
648
768
  };
649
769
  function isAuthProfilesApiError(error) {
@@ -669,13 +789,13 @@ async function resolveOpenMeldProfile(input) {
669
789
  method: "POST",
670
790
  path: "/v1/profiles/resolve",
671
791
  body: {
672
- ...normalizeOptionalString$1(input.openMeldProfileId) ? { openMeldProfileId: normalizeOptionalString$1(input.openMeldProfileId) } : {},
792
+ ...normalizeOptionalString$2(input.openMeldProfileId) ? { openMeldProfileId: normalizeOptionalString$2(input.openMeldProfileId) } : {},
673
793
  ...input.profileKind ? { profileKind: input.profileKind } : {}
674
794
  }
675
795
  }), "profile"));
676
796
  }
677
797
  async function resolveOpenMeldProfileByIdOrName(input) {
678
- const profileIdentifier = normalizeOptionalString$1(input.profileIdentifier);
798
+ const profileIdentifier = normalizeOptionalString$2(input.profileIdentifier);
679
799
  if (!profileIdentifier) throw new Error("profile identifier is required");
680
800
  try {
681
801
  return await resolveOpenMeldProfile({
@@ -694,8 +814,8 @@ async function resolveOpenMeldProfileByIdOrName(input) {
694
814
  }
695
815
  }
696
816
  function createOpenMeldAgentProfile(input) {
697
- const profileName = normalizeOptionalString$1(input.profileName);
698
- const creatorProfileId = normalizeOptionalString$1(input.creatorProfileId) ?? void 0;
817
+ const profileName = normalizeOptionalString$2(input.profileName);
818
+ const creatorProfileId = normalizeOptionalString$2(input.creatorProfileId) ?? void 0;
699
819
  if (!profileName) throw new Error("profile name is required");
700
820
  return createOpenMeldAgentProfileRequest({
701
821
  profileName,
@@ -703,8 +823,8 @@ function createOpenMeldAgentProfile(input) {
703
823
  });
704
824
  }
705
825
  async function createOpenMeldHumanProfile(input) {
706
- const profileName = normalizeOptionalString$1(input.profileName);
707
- const creatorProfileId = normalizeOptionalString$1(input.creatorProfileId) ?? void 0;
826
+ const profileName = normalizeOptionalString$2(input.profileName);
827
+ const creatorProfileId = normalizeOptionalString$2(input.creatorProfileId) ?? void 0;
708
828
  if (!profileName) throw new Error("profile name is required");
709
829
  try {
710
830
  assertAdditionalHumanProfileCreationEnabled(await getOpenMeldProfileCapabilities());
@@ -727,9 +847,9 @@ async function createOpenMeldHumanProfile(input) {
727
847
  return created;
728
848
  }
729
849
  async function updateOpenMeldProfile(input) {
730
- const openMeldProfileId = normalizeOptionalString$1(input.openMeldProfileId);
850
+ const openMeldProfileId = normalizeOptionalString$2(input.openMeldProfileId);
731
851
  if (!openMeldProfileId) throw new Error("openMeldProfileId is required");
732
- const profileName = normalizeOptionalString$1(input.profileName);
852
+ const profileName = normalizeOptionalString$2(input.profileName);
733
853
  if (!Boolean(profileName)) throw new Error("profileName is required");
734
854
  const updated = parseOpenMeldProfileItem(readRecordField(await requestOpenMeldProfilesApi({
735
855
  method: "PATCH",
@@ -740,7 +860,7 @@ async function updateOpenMeldProfile(input) {
740
860
  return updated;
741
861
  }
742
862
  async function deleteOpenMeldProfile(input) {
743
- const openMeldProfileId = normalizeOptionalString$1(input.openMeldProfileId);
863
+ const openMeldProfileId = normalizeOptionalString$2(input.openMeldProfileId);
744
864
  if (!openMeldProfileId) throw new Error("openMeldProfileId is required");
745
865
  const deleted = parseOpenMeldProfileItem(readRecordField(await requestOpenMeldProfilesApi({
746
866
  method: "DELETE",
@@ -927,12 +1047,12 @@ function readArrayField(input, field) {
927
1047
  return value.filter(isRecord);
928
1048
  }
929
1049
  function readRequiredStringField(input, field) {
930
- const value = normalizeOptionalString$1(input[field]);
1050
+ const value = normalizeOptionalString$2(input[field]);
931
1051
  if (!value) throw new Error(`invalid profile payload: missing ${field}`);
932
1052
  return value;
933
1053
  }
934
1054
  function readOptionalStringField(input, field) {
935
- return normalizeOptionalString$1(input[field]);
1055
+ return normalizeOptionalString$2(input[field]);
936
1056
  }
937
1057
  function readBooleanField(input, field) {
938
1058
  return input[field] === true;
@@ -942,7 +1062,7 @@ function readOptionalBooleanField(input, field) {
942
1062
  if (typeof value === "boolean") return value;
943
1063
  return null;
944
1064
  }
945
- function normalizeOptionalString$1(value) {
1065
+ function normalizeOptionalString$2(value) {
946
1066
  const normalized = String(value ?? "").trim();
947
1067
  return normalized.length > 0 ? normalized : null;
948
1068
  }
@@ -968,7 +1088,7 @@ async function parseResponseJson(response) {
968
1088
  }
969
1089
  function extractApiErrorMessage(payload, status) {
970
1090
  const record = isRecord(payload) ? payload : {};
971
- const message = normalizeOptionalString$1(record.message) ?? normalizeOptionalString$1(record.error_description) ?? normalizeOptionalString$1(record.error);
1091
+ const message = normalizeOptionalString$2(record.message) ?? normalizeOptionalString$2(record.error_description) ?? normalizeOptionalString$2(record.error);
972
1092
  if (message) return message;
973
1093
  return `request failed with status ${status}`;
974
1094
  }
@@ -1022,7 +1142,7 @@ function isSelectedOpenMeldProfileRequiredError(error) {
1022
1142
  return error.message.startsWith(PROFILE_REQUIRED_ERROR_PREFIX) && error.message.endsWith(PROFILE_REQUIRED_ERROR_SUFFIX);
1023
1143
  }
1024
1144
  async function resolveOpenMeldProfileOrNull(input = {}) {
1025
- const explicitOpenMeldProfileId = normalizeOptionalString(input.openMeldProfileId);
1145
+ const explicitOpenMeldProfileId = normalizeOptionalString$1(input.openMeldProfileId);
1026
1146
  if (explicitOpenMeldProfileId) return await resolveExplicitOpenMeldProfile(explicitOpenMeldProfileId, {
1027
1147
  profileKind: input.profileKind,
1028
1148
  allowUnauthenticated: input.allowUnauthenticated === true,
@@ -1095,7 +1215,7 @@ async function resolveSelectedOpenMeldProfile(selectedOpenMeldProfileId, input)
1095
1215
  throw error;
1096
1216
  }
1097
1217
  }
1098
- function normalizeOptionalString(value) {
1218
+ function normalizeOptionalString$1(value) {
1099
1219
  const normalized = String(value ?? "").trim();
1100
1220
  return normalized.length > 0 ? normalized : null;
1101
1221
  }
@@ -1107,6 +1227,70 @@ function isProfileMissingError(error) {
1107
1227
  return (error instanceof Error ? error.message : String(error ?? "")).includes("profile not found");
1108
1228
  }
1109
1229
  //#endregion
1230
+ //#region src/config/view-profile-key.ts
1231
+ async function resolveViewProfileKey(inputProfile) {
1232
+ const explicit = normalizeOptionalString(inputProfile);
1233
+ if (explicit) {
1234
+ const profileId = openMeldProfileIdSchema.safeParse(explicit);
1235
+ if (profileId.success) return profileId.data;
1236
+ return (await resolveOpenMeldProfileByIdOrName({ profileIdentifier: explicit }).catch(() => null))?.openMeldProfileId ?? explicit;
1237
+ }
1238
+ const selected = await getSelectedOpenMeldProfileId();
1239
+ if (selected) return selected;
1240
+ return null;
1241
+ }
1242
+ function normalizeOptionalString(value) {
1243
+ const normalized = String(value ?? "").trim();
1244
+ return normalized.length > 0 ? normalized : null;
1245
+ }
1246
+ //#endregion
1247
+ //#region src/runtime/context.ts
1248
+ async function resolveRuntimeContext(input) {
1249
+ const viewOpenMeldProfileId = await resolveViewProfileKey(input?.profile);
1250
+ const configuredViewMode = await readConfiguredDefaultView(viewOpenMeldProfileId);
1251
+ const viewMode = parseCliViewMode(input?.view ?? configuredViewMode);
1252
+ const interactive = input?.interactive ?? isInteractiveSession();
1253
+ const viewCustomization = await readViewCustomization();
1254
+ if (viewMode === "human" || viewMode === "agent") return {
1255
+ viewMode,
1256
+ resolvedView: viewMode,
1257
+ interactive,
1258
+ ...viewOpenMeldProfileId ? { openMeldProfileId: viewOpenMeldProfileId } : {},
1259
+ ...viewCustomization ? { viewCustomization } : {}
1260
+ };
1261
+ const openMeldProfile = await resolveOpenMeldProfileOrNull({
1262
+ openMeldProfileId: input?.profile,
1263
+ allowUnauthenticated: true,
1264
+ persistSelection: false,
1265
+ allowDefaultFallback: false
1266
+ }).catch(() => null);
1267
+ const resolvedView = openMeldProfile?.profileKind === "agent" ? "agent" : "human";
1268
+ const resolvedOpenMeldProfileId = openMeldProfile ? openMeldProfile.openMeldProfileId : viewOpenMeldProfileId;
1269
+ return {
1270
+ viewMode,
1271
+ resolvedView,
1272
+ interactive,
1273
+ ...resolvedOpenMeldProfileId ? { openMeldProfileId: resolvedOpenMeldProfileId } : {},
1274
+ ...openMeldProfile?.profileKind ? { profileKind: openMeldProfile.profileKind } : {},
1275
+ ...viewCustomization ? { viewCustomization } : {}
1276
+ };
1277
+ }
1278
+ function parseCliViewMode(value) {
1279
+ const normalized = String(value ?? "auto").trim().toLowerCase();
1280
+ if (normalized === "auto" || normalized === "human" || normalized === "agent") return normalized;
1281
+ throw new Error(`invalid --view value: ${normalized} (use auto|human|agent)`);
1282
+ }
1283
+ function readViewCustomization() {
1284
+ return getConfiguredViewCustomization().catch(() => null);
1285
+ }
1286
+ function readConfiguredDefaultView(openMeldProfileId) {
1287
+ if (!openMeldProfileId) return Promise.resolve("auto");
1288
+ return getProfileDefaultView(openMeldProfileId).catch(() => "auto");
1289
+ }
1290
+ function isInteractiveSession() {
1291
+ return Boolean(process.stdin.isTTY && process.stdout.isTTY);
1292
+ }
1293
+ //#endregion
1110
1294
  //#region src/local-service/core/constants.ts
1111
1295
  const CATALOG_SYNC_RETRY_INTERVAL_MS = CATALOG_SYNC_RETRY_INTERVAL_MS$1;
1112
1296
  const CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS = CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS$1;
@@ -1292,6 +1476,6 @@ async function migrateLegacyDaemonDeviceId(input) {
1292
1476
  });
1293
1477
  }
1294
1478
  //#endregion
1295
- export { touchDaemonCatalogSyncSignal as $, DEFAULT_RECONNECT_DELAY_MS as A, requireOpenMeldProfile as B, CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS as C, DAEMON_STREAM_CONNECT_TIMEOUT_MS as D, DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE as E, REGISTER_RESPONSE_TIMEOUT_MS as F, getOpenMeldProfileCapabilities as G, createOpenMeldAgentProfile as H, RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS as I, resolveOpenMeldProfile as J, listOpenMeldProfiles as K, RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS as L, MAX_RECONNECT_DELAY_MS as M, PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS as N, DAEMON_STREAM_KEEPALIVE_INTERVAL_MS as O, PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS as P, readDaemonCatalogSyncSignal as Q, RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS as R, CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS as S, DAEMON_RUNTIME_CONTRACT_META_FILE as T, createOpenMeldHumanProfile as U, resolveOpenMeldProfileOrNull as V, deleteOpenMeldProfile as W, updateOpenMeldProfile as X, resolveOpenMeldProfileByIdOrName as Y, assertAdditionalHumanProfileCreationEnabled as Z, toErrorMessage as _, cachedDaemonRouteConfigSchema as _t, asRecord as a, buildAgentAuthenticationGuide as at, CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS as b, normalizeHeartbeatIntervalMs as c, buildHumanAuthenticationCard as ct, normalizeText as d, resolveAuthenticationGuidance as dt, alignSelectedOpenMeldProfileStorage as et, nowIsoString as f, resolveAuthenticationGuidanceFromError as ft, parseTransportMode as g, DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME as gt, parseStreamingMode as h, resolveCurrentOpenMeldAccountContext as ht, resolvePreferredDaemonDeviceId as i, setSelectedOpenMeldProfileId as it, HEARTBEAT_RESPONSE_TIMEOUT_MS as j, DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS as k, normalizeNonNegativeInteger as l, createAuthenticationError as lt, parseRuntimeTransportMode as m, resolveAuthenticationReasonFromState as mt, ensureDaemonRuntimePaths as n, clearSelectedOpenMeldProfileId as nt, dirnamePath as o, buildAuthenticationStatusLabel as ot, parseContextIdMappingSpec as p, resolveAuthenticationGuidanceFromMessage as pt, primeOpenMeldProfilesSessionCache as q, resolveDaemonDeviceId as r, getSelectedOpenMeldProfileId as rt, emitRunLine as s, buildCommandAuthenticationPromptMessage as st, buildLedgerPaths as t, clearAllSelectedOpenMeldProfileIds as tt, normalizeOptionalText as u, extractAuthenticationPromptAction as ut, warnDaemonEvent as v, daemonRouteCatalogCacheSchema as vt, DAEMON_RUNTIME_CONTRACT_EPOCH as w, CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS as x, CATALOG_SYNC_RETRY_INTERVAL_MS as y, isSelectedOpenMeldProfileRequiredError as z };
1479
+ export { assertAdditionalHumanProfileCreationEnabled as $, DEFAULT_RECONNECT_DELAY_MS as A, resolveRuntimeContext as B, CONTROLLED_SHUTDOWN_SOCKET_CLOSE_TIMEOUT_MS as C, agentExecutionSteerRequestSchema as Ct, DAEMON_STREAM_CONNECT_TIMEOUT_MS as D, DAEMON_RUNTIME_CONTRACT_REPAIR_REPORT_FILE as E, REGISTER_RESPONSE_TIMEOUT_MS as F, createOpenMeldAgentProfile as G, isSelectedOpenMeldProfileRequiredError as H, RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_INTERVAL_MS as I, getOpenMeldProfileCapabilities as J, createOpenMeldHumanProfile as K, RUNTIME_AGENT_CONTROLLER_REPORT_SYNC_RETRY_INTERVAL_MS as L, MAX_RECONNECT_DELAY_MS as M, PROVIDER_CONVERSATION_PROOF_SYNC_INTERVAL_MS as N, DAEMON_STREAM_KEEPALIVE_INTERVAL_MS as O, PROVIDER_CONVERSATION_PROOF_SYNC_RETRY_INTERVAL_MS as P, updateOpenMeldProfile as Q, RUNTIME_STATE_PERSIST_MIN_INTERVAL_MS as R, CONTROLLED_SHUTDOWN_RESULT_ACK_TIMEOUT_MS as S, daemonRouteCatalogCacheSchema as St, DAEMON_RUNTIME_CONTRACT_META_FILE as T, requireOpenMeldProfile as U, resolveViewProfileKey as V, resolveOpenMeldProfileOrNull as W, primeOpenMeldProfilesSessionCache as X, listOpenMeldProfiles as Y, resolveOpenMeldProfile as Z, toErrorMessage as _, getProfileDefaultView as _t, asRecord as a, getSelectedOpenMeldProfileId as at, CATALOG_SYNC_SIGNAL_POLL_INTERVAL_MS as b, DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME as bt, normalizeHeartbeatIntervalMs as c, buildAuthenticationStatusLabel as ct, normalizeText as d, createAuthenticationError as dt, readDaemonCatalogSyncSignal as et, nowIsoString as f, extractAuthenticationPromptAction as ft, parseTransportMode as g, resolveAuthenticationReasonFromState as gt, parseStreamingMode as h, resolveAuthenticationGuidanceFromMessage as ht, resolvePreferredDaemonDeviceId as i, clearSelectedOpenMeldProfileId as it, HEARTBEAT_RESPONSE_TIMEOUT_MS as j, DAEMON_STREAM_KEEPALIVE_PONG_TIMEOUT_MS as k, normalizeNonNegativeInteger as l, buildCommandAuthenticationPromptMessage as lt, parseRuntimeTransportMode as m, resolveAuthenticationGuidanceFromError as mt, ensureDaemonRuntimePaths as n, alignSelectedOpenMeldProfileStorage as nt, dirnamePath as o, setSelectedOpenMeldProfileId as ot, parseContextIdMappingSpec as p, resolveAuthenticationGuidance as pt, deleteOpenMeldProfile as q, resolveDaemonDeviceId as r, clearAllSelectedOpenMeldProfileIds as rt, emitRunLine as s, buildAgentAuthenticationGuide as st, buildLedgerPaths as t, touchDaemonCatalogSyncSignal as tt, normalizeOptionalText as u, buildHumanAuthenticationCard as ut, warnDaemonEvent as v, setProfileDefaultView as vt, DAEMON_RUNTIME_CONTRACT_EPOCH as w, agentExecutionSteerResponseSchema as wt, CONTROLLED_SHUTDOWN_REQUEST_TIMEOUT_MS as x, cachedDaemonRouteConfigSchema as xt, CATALOG_SYNC_RETRY_INTERVAL_MS as y, resolveCurrentOpenMeldAccountContext as yt, parseCliViewMode as z };
1296
1480
 
1297
- //# sourceMappingURL=daemon-device-id-Dwm7CHtX.js.map
1481
+ //# sourceMappingURL=daemon-device-id-D7lbw6c4.js.map