lody 0.114.1 → 0.115.1

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 (86) hide show
  1. package/README.md +2 -0
  2. package/dist/{session-access-DBWXcozo.js → access-Sut1_1-c.js} +263 -130
  3. package/dist/{acp-http-proxy-CEqdfPIb.js → acp-http-proxy-BeNRWwOZ.js} +2 -2
  4. package/dist/{acp-interaction-owner-C9DnwDek.js → acp-interaction-owner-C9StwzDm.js} +14 -13
  5. package/dist/{agent-execution-KNblr7op.js → agent-execution-D1-dEIN6.js} +5 -5
  6. package/dist/{analytics-events-DgubpwYf.js → analytics-events-DGIORHJT.js} +2 -2
  7. package/dist/{app-DO6nxrTQ.js → app-DybCBRpG.js} +15 -14
  8. package/dist/{auth-BzBqWcHJ.js → auth-CxHKHxDT.js} +2 -2
  9. package/dist/{automation-CaVyvwqU.js → automation-BbL6PGrs.js} +15 -14
  10. package/dist/chunks/{vendor-loro-repo-KiPOxZ47.js → vendor-loro-repo-B1zdQ8Qd.js} +3 -2
  11. package/dist/chunks/{vendor-undici-D9lUGEXQ.js → vendor-undici-Cm00wA7x.js} +3 -2
  12. package/dist/chunks/{vendor-undici-Dkj-EYtJ.js → vendor-undici-aSjjVk9-.js} +4 -3
  13. package/dist/claude-acp.js +3 -2
  14. package/dist/{cli-presence-application-BPo9zPWo.js → cli-presence-application-CY-gZ1oV.js} +7 -6
  15. package/dist/{client-CG7iYu4O.js → client-CwiNAaqh.js} +14 -13
  16. package/dist/codex-acp.js +3 -2
  17. package/dist/{command-runtime-CU9xs2mb.js → command-runtime-DPLzRrVX.js} +283 -153
  18. package/dist/{control-IZGSPxqh.js → control-CjCKRghv.js} +18 -17
  19. package/dist/{fs-atomic-sI-5rfuh.js → cross-workspace-2kVoqI7D.js} +67 -7
  20. package/dist/{daemon-ChBsVK29.js → daemon-CmTF75AJ.js} +11 -10
  21. package/dist/{daemon-runner-Czhapxd-.js → daemon-runner-BdNyXd7w.js} +9 -8
  22. package/dist/{daemon-session-tools-BkNAXJte.js → daemon-session-tools-DDJ0ZkgG.js} +25 -24
  23. package/dist/{daemon-shared-lCH0JHQD.js → daemon-shared-NcwWGSEj.js} +2 -2
  24. package/dist/{device-preview-rocdCptj.js → device-preview-BjqAbZ9g.js} +50 -25
  25. package/dist/devin-acp.js +3 -2
  26. package/dist/{discovery-query-hcHHutEn.js → discovery-query-C_7lyBI8.js} +2 -2
  27. package/dist/{dsh-BBMJN1_w.js → dsh-DCn2Ulq7.js} +5 -5
  28. package/dist/{dsh-plugins-DyDJ4nyX.js → dsh-plugins--w3O3Cm-.js} +5 -4
  29. package/dist/{e2ee-Rp-kqqRV.js → e2ee-DqyknB-N.js} +2 -2
  30. package/dist/{e2ee-execution-intent-kcGw6188.js → e2ee-execution-intent-DYBEG410.js} +4 -4
  31. package/dist/{export-CW3tgEh5.js → export-B0A0f1n5.js} +19 -18
  32. package/dist/{feedback-wAp0AIne.js → feedback-Bf4WcwtG.js} +2 -2
  33. package/dist/{feedback-DXHiE_SV.js → feedback-CTLrPxfa.js} +15 -14
  34. package/dist/{github-Ds3oR20B.js → github-BoJLPXg6.js} +14 -13
  35. package/dist/grok-acp.js +3 -2
  36. package/dist/{http-transport-DDAJ_zUL.js → http-transport-BooHDDeW.js} +3 -3
  37. package/dist/{index-Z-zMjsvr.js → index-37XwBsdD.js} +629 -731
  38. package/dist/{index-BR78_63y.js → index-BTgKuz44.js} +7 -7
  39. package/dist/{index-DNfm72S8.js → index-Cv0X-m7e.js} +20 -19
  40. package/dist/{index-cUL6BMen.js → index-HbTq3Nar.js} +15 -14
  41. package/dist/{index-vrW0djgm.js → index-_zr02om2.js} +29 -28
  42. package/dist/index.js +7 -6
  43. package/dist/{internal-BlRJVTRc.js → internal-iqLidMef.js} +25 -24
  44. package/dist/{local-ipc-BQZPuSjl.js → local-ipc-B8vySppK.js} +12 -3
  45. package/dist/{local-project-control-client-vC7RtUIF.js → local-project-control-client-DCRW0hsE.js} +3 -3
  46. package/dist/{lody-mcp-http-protocol-d_6zEbk9.js → lody-mcp-http-protocol-DBLKn7SZ.js} +4 -4
  47. package/dist/{lody-mcp-server-DOkbYw6c.js → lody-mcp-server-BkbuBj2a.js} +22 -19
  48. package/dist/{login-Nwpcfzb7.js → login-DN7qq61J.js} +7 -6
  49. package/dist/{login-shell-env-DiOZ-bog.js → login-shell-env-BUnglQb8.js} +2 -2
  50. package/dist/{logout-C13Nc5pT.js → logout-BVCa6yvW.js} +7 -6
  51. package/dist/{machine-DJ0Pn0js.js → machine-BuRCztBz.js} +23 -22
  52. package/dist/{machine-protocol-capabilities-LN7bzFSN.js → machine-protocol-capabilities-DEhAj9SH.js} +80 -77
  53. package/dist/{mcp-z0JBqqIQ.js → mcp-DDTy-1He.js} +20 -19
  54. package/dist/{migrate-DxEEhXQ9.js → migrate-CeZ3FAo1.js} +231 -73
  55. package/dist/{operation-CuFKC3x2.js → operation-c5nZQaoi.js} +16 -15
  56. package/dist/{operation-store-D1TdJgBc.js → operation-store-rllAX2mr.js} +3 -3
  57. package/dist/{presence-BGW-7JQJ.js → presence-CZco7UQH.js} +4 -4
  58. package/dist/{presence-legacy-BI0h0kBA.js → presence-legacy-1c8FbspQ.js} +3 -3
  59. package/dist/{project-BPuPcKZT.js → project-AnFPgvxa.js} +21 -20
  60. package/dist/{register-hqq68K_S.js → register-CzsBj61f.js} +26 -26
  61. package/dist/{remote-pairing-BixLRGZN.js → remote-pairing-902c7Lc2.js} +19 -18
  62. package/dist/{reset-identity-Arhv456z.js → reset-identity-H49O09ak.js} +19 -18
  63. package/dist/{review-DDMytOEX.js → review-DMhUT4ss.js} +2 -2
  64. package/dist/{review-viewer-CkjhHGL8.js → review-viewer-CtbOWnpA.js} +3 -3
  65. package/dist/{schedule-C2ooWjeY.js → schedule-DUydtd6X.js} +20 -19
  66. package/dist/{schedule-command-client-Dp2K-GDf.js → schedule-command-client-BAM4vGB1.js} +19 -18
  67. package/dist/{schedule-command-service-D7OwaAhZ.js → schedule-command-service-Dbm7dPmk.js} +20 -19
  68. package/dist/{schedule-documents-7GqM7IcI.js → schedule-documents-tN5e545R.js} +3 -3
  69. package/dist/{schedule-recurrence-CGZIb0Pu.js → schedule-recurrence-BVxMRfp4.js} +3 -3
  70. package/dist/{schedule-repository-D8Ui2jvb.js → schedule-repository-dz9iwR0x.js} +3 -3
  71. package/dist/{schedule-run-preparation-BEKS3RjW.js → schedule-run-preparation-Ov7uQi4c.js} +5 -5
  72. package/dist/{schedule-types-DTul4K9c.js → schedule-types-BquxGfza.js} +537 -391
  73. package/dist/{service-CTj21Cv2.js → service-BU6NY-d_.js} +4 -58
  74. package/dist/{session-p5D9mnGA.js → session-C59Ymj52.js} +170 -39
  75. package/dist/{session-file-blob-store-bjZk_Pby.js → session-file-blob-store-CBHDgf4e.js} +2 -2
  76. package/dist/{session-image-download-Bz47jmHy.js → session-image-download-DUwc2Fb4.js} +3 -3
  77. package/dist/{session-input-Bm4DZ_ah.js → session-input-MeZheBJ0.js} +2 -2
  78. package/dist/{session-link-CZ1z8J8d.js → session-link-demCF_Y_.js} +2 -2
  79. package/dist/{session-link-export-CF0aLI3O.js → session-link-export-BM1zZQRs.js} +3 -3
  80. package/dist/{session-operation-targets-yk7bQTAn.js → session-operation-targets-lq3rsTnV.js} +3 -3
  81. package/dist/{setting-CO0xphaD.js → setting-C2ZA33mw.js} +8 -6
  82. package/dist/{start-DjcjoPvR.js → start-DSTSWWdZ.js} +391 -142
  83. package/dist/{sync-CUa0QP_M.js → sync-wxZ8lAMt.js} +15 -14
  84. package/dist/{workspace-DA-wPD10.js → workspace-B7Ta4ZRU.js} +17 -16
  85. package/dist/{workspace-legacy-UCwDS1Zb.js → workspace-legacy-BDeOVRwz.js} +184 -66
  86. package/package.json +1 -1
package/README.md CHANGED
@@ -351,6 +351,8 @@ a custom OSS data root. No workspace is created automatically.
351
351
 
352
352
  This imports full Loro history and referenced local file attachments, keeps existing
353
353
  cloud conversations/settings, and disables execution of imported sessions/schedules.
354
+ Encrypted targets require an approved paired CLI machine with the current epoch key;
355
+ all uploaded content and attachments use its encrypted transports.
354
356
  Roost and unsupported formats fail before record uploads. Source data is retained;
355
357
  rerunning resumes the frozen snapshot. It does not copy code directories or native
356
358
  agent credentials. See [migration and recovery](src/lib/oss-migration/README.md).
@@ -1,13 +1,13 @@
1
- import { z as AndroidEmulatorCommandSchema, br as publicMcpServer, bk as assertPublicMcpServer } from "./local-ipc-BQZPuSjl.js";
1
+ import { z as AndroidEmulatorCommandSchema, br as publicMcpServer, bk as assertPublicMcpServer } from "./local-ipc-B8vySppK.js";
2
2
  import { d as IosSimulatorCommandSchema } from "./ios-simulator-BduF_qia.js";
3
3
  import { a as RpcSecretPublicKeySchema } from "./rpc-secret-CPdan_XW.js";
4
- import { ae as PreviewTargetSchema, d7 as MessageAuthorSchema, z as SessionHistoryInputConfigSchema, y as normalizeLegacyAcpSessionConfig, di as PlanEntrySchema, d9 as MessageContentSchema, fi as isRecord$1, gd as isLodySubagentEvent, g5 as sanitizeLodyInternalInstructions, bY as LODY_INTERNAL_PROMPT_SCAN_TAIL, fu as mergeSubagentTaskPayload, fH as parseLodyTaskMeta, fM as parseSubagentTaskWire, f5 as isAcpModelConfigOptionsShape, f4 as isAcpModelConfigOptions, f3 as isAcpModelCapabilities, d1 as MemoryAssociationSchema, eS as getAcpConfigOptionStructureKey, ga as toAcpModelConfigOptions, eU as getAcpConfigOptionsShapeId, fB as normalizeProjectMcpDefault, aB as isWorkspaceMcpServerMeta, fv as normalizeAgentRole, fh as isProjectMcpKey, g7 as serializeAgentRoleRow } from "./schedule-types-DTul4K9c.js";
4
+ import { ae as PreviewTargetSchema, dc as MessageAuthorSchema, z as SessionHistoryInputConfigSchema, y as normalizeLegacyAcpSessionConfig, dn as PlanEntrySchema, de as MessageContentSchema, fl as isRecord$1, gh as isLodySubagentEvent, g9 as sanitizeLodyInternalInstructions, c1 as LODY_INTERNAL_PROMPT_SCAN_TAIL, fx as mergeSubagentTaskPayload, fL as parseLodyTaskMeta, fQ as parseSubagentTaskWire, f9 as isAcpModelConfigOptionsShape, f8 as isAcpModelConfigOptions, f7 as isAcpModelCapabilities, d6 as MemoryAssociationSchema, eW as getAcpConfigOptionStructureKey, ge as toAcpModelConfigOptions, eY as getAcpConfigOptionsShapeId, fm as isSensitiveAcpConfigOptionId, fF as normalizeProjectMcpDefault, aC as isWorkspaceMcpServerMeta, fz as normalizeAgentRole, fk as isProjectMcpKey, gb as serializeAgentRoleRow } from "./schedule-types-BquxGfza.js";
5
5
  import { o as object, n as number, c as string, k as discriminatedUnion, a as literal, d as boolean, f as _enum, e as array, r as record, h as unknown, p as preprocess, J as ZodDiscriminatedUnion, H as ZodObject, I as ZodLiteral, s as safeParse, K as ZodUnion, L as ZodOptional, M as ZodNullable, O as ZodPipe, P as ZodArray, Q as ZodNever, u as union, C as custom, G as uuid, N as NEVER } from "./chunks/vendor-zod-DAcQjQuC.js";
6
6
  import { p as parseGitHubPullRequestUrl, y as parseGitHubPrNumber, x as normalizeWorkspaceProject } from "./project-path-CAQE9bes.js";
7
7
  import { J as SESSION_FILE_PREVIEW_SNIFF_BYTES, d as getAcpCapabilityCacheKey, h as isManagedBuiltinAgentType, q as isBuiltinAgentType, w as isMagpieGatewayUrl, a1 as isCustomAcpLaunchSpec, a0 as isBuiltinRuntimeOverrides, Z as hasPersistedBuiltinRuntimeOverrides, X as hasBuiltinRuntimeOverrideValues, n as normalizeMagpieGateway } from "./magpie-import-IrqfCF6i.js";
8
8
  import { g as getServerNow } from "./time-sync-D63wG9u-.js";
9
9
  import { i as isDraft, o as original, I as Immer2, e as enablePatches } from "./chunks/vendor-immer-F2vkwr8n.js";
10
- const identifier = string().min(1).max(200);
10
+ const identifier$1 = string().min(1).max(200);
11
11
  const PreviewControlOperationSchema = discriminatedUnion("action", [
12
12
  object({
13
13
  action: literal("ios-simulator"),
@@ -21,13 +21,13 @@ const PreviewControlOperationSchema = discriminatedUnion("action", [
21
21
  }).strict(),
22
22
  object({ action: literal("create"), target: PreviewTargetSchema, restart: boolean() }).strict(),
23
23
  object({ action: literal("revoke"), stopProcess: boolean().optional() }).strict(),
24
- object({ action: literal("status"), renewEndpointId: identifier.optional() }).strict()
24
+ object({ action: literal("status"), renewEndpointId: identifier$1.optional() }).strict()
25
25
  ]);
26
26
  const PreviewControlIntentSchema = object({
27
- workspaceId: identifier,
28
- machineId: identifier,
29
- sessionId: identifier,
30
- requesterUserId: identifier,
27
+ workspaceId: identifier$1,
28
+ machineId: identifier$1,
29
+ sessionId: identifier$1,
30
+ requesterUserId: identifier$1,
31
31
  runtimeNonce: string().uuid(),
32
32
  requestId: string().uuid(),
33
33
  operation: PreviewControlOperationSchema
@@ -38,7 +38,7 @@ const PreviewControlProofSchema = object({
38
38
  requestToken: string().min(1).max(8192)
39
39
  }).strict();
40
40
  const PreviewControlVerificationSchema = object({
41
- requesterUserId: identifier,
41
+ requesterUserId: identifier$1,
42
42
  expiresAt: number().int().nonnegative()
43
43
  }).strict();
44
44
  const DEFAULT_WORKTREE_SETUP_TIMEOUT_MS = 10 * 60 * 1e3;
@@ -5992,14 +5992,35 @@ const normalizeAgentSessionDefaults = (value) => {
5992
5992
  const configOptionValues = {};
5993
5993
  if (isRecord(value.configOptionValues)) {
5994
5994
  for (const [configId, optionValue] of Object.entries(value.configOptionValues)) {
5995
- if (!configId) continue;
5995
+ if (!configId || isSensitiveAcpConfigOptionId(configId)) continue;
5996
5996
  if (typeof optionValue === "string" || typeof optionValue === "boolean")
5997
5997
  configOptionValues[configId] = optionValue;
5998
5998
  }
5999
5999
  }
6000
+ const modelConfigOptionValues = {};
6001
+ if (isRecord(value.modelConfigOptionValues)) {
6002
+ for (const [entryModelId, modelRecord] of Object.entries(value.modelConfigOptionValues)) {
6003
+ if (!entryModelId || !isRecord(modelRecord)) continue;
6004
+ const normalizedModelValues = {};
6005
+ for (const [configId, optionValue] of Object.entries(modelRecord)) {
6006
+ if (!configId || isSensitiveAcpConfigOptionId(configId)) continue;
6007
+ if (typeof optionValue === "string" || typeof optionValue === "boolean") {
6008
+ normalizedModelValues[configId] = optionValue;
6009
+ }
6010
+ }
6011
+ if (Object.keys(normalizedModelValues).length > 0) {
6012
+ modelConfigOptionValues[entryModelId] = normalizedModelValues;
6013
+ }
6014
+ }
6015
+ }
6016
+ const hasModelValues = Object.keys(modelConfigOptionValues).length > 0;
6000
6017
  const modelId = isNonEmptyString(value.modelId) ? value.modelId : void 0;
6001
- if (!modelId && !Object.keys(configOptionValues).length) return void 0;
6002
- return { ...modelId ? { modelId } : {}, configOptionValues };
6018
+ if (!modelId && !Object.keys(configOptionValues).length && !hasModelValues) return void 0;
6019
+ return {
6020
+ ...modelId ? { modelId } : {},
6021
+ configOptionValues,
6022
+ ...hasModelValues ? { modelConfigOptionValues } : {}
6023
+ };
6003
6024
  };
6004
6025
  const normalizeAgentConfigMeta = (value) => {
6005
6026
  if (!isRecord(value) || !isNonEmptyString(value.id) || !isNonEmptyString(value.machineId) || !isNonEmptyString(value.name) || !isMissing(value.description) && typeof value.description !== "string" || !isAgentConfigCliType(value.cliType) || !isNonEmptyString(value.agentType) || !isStringRecord(value.env)) {
@@ -7245,6 +7266,116 @@ async function sessionHistoryWriteIntentDigest(requestId, operation, payload) {
7245
7266
  const digest = new Uint8Array(await crypto.subtle.digest("SHA-256", bytes));
7246
7267
  return [...digest].map((byte) => byte.toString(16).padStart(2, "0")).join("");
7247
7268
  }
7269
+ const PROMPT_SHORTCUT_LIMITS = {
7270
+ /** Author-facing field lengths, shared with the editor's own `maxLength`. */
7271
+ name: 60,
7272
+ emoji: 8,
7273
+ description: 240,
7274
+ promptBytes: 256 * 1024,
7275
+ mentions: 50
7276
+ };
7277
+ const normalizeShortcutEmoji = (value) => {
7278
+ if (typeof value !== "string") return void 0;
7279
+ const stripped = value.replace(new RegExp("\\p{Cc}", "gu"), "").replace(/\s+/gu, "");
7280
+ const capped = Array.from(stripped).slice(0, PROMPT_SHORTCUT_LIMITS.emoji).join("");
7281
+ return capped || void 0;
7282
+ };
7283
+ const utf8 = new TextEncoder();
7284
+ const shortcutByteLength = (value) => utf8.encode(value).byteLength;
7285
+ const identifier = string().min(1).max(200);
7286
+ const projectSchema = discriminatedUnion("kind", [
7287
+ object({ kind: literal("github"), repository: string().regex(/^[^/\s]+\/[^/\s]+$/) }).strict(),
7288
+ object({ kind: literal("local"), id: identifier, machineId: identifier }).strict()
7289
+ ]);
7290
+ const PromptShortcutScopeSchema = object({
7291
+ project: projectSchema.optional(),
7292
+ machineId: identifier.optional(),
7293
+ providerKey: identifier.optional()
7294
+ }).strict();
7295
+ const PromptShortcutTargetSchema = discriminatedUnion("kind", [
7296
+ object({
7297
+ kind: literal("file"),
7298
+ project: projectSchema,
7299
+ path: string().min(1).max(4096),
7300
+ directory: boolean().optional()
7301
+ }).strict(),
7302
+ object({
7303
+ kind: literal("skill"),
7304
+ source: _enum(["project", "global", "system"]),
7305
+ project: projectSchema.optional(),
7306
+ machineId: identifier.optional(),
7307
+ path: string().min(1).max(4096),
7308
+ compatibleProviders: array(identifier).min(1).max(32)
7309
+ }).strict(),
7310
+ object({ kind: literal("agent_role"), agentRoleId: identifier }).strict(),
7311
+ object({
7312
+ kind: literal("issue"),
7313
+ repository: string().regex(/^[^/\s]+\/[^/\s]+$/),
7314
+ number: number().int().positive()
7315
+ }).strict(),
7316
+ object({
7317
+ kind: literal("pull_request"),
7318
+ repository: string().regex(/^[^/\s]+\/[^/\s]+$/),
7319
+ number: number().int().positive()
7320
+ }).strict()
7321
+ ]);
7322
+ const PromptShortcutMentionSchema = object({
7323
+ start: number().int().nonnegative(),
7324
+ end: number().int().positive(),
7325
+ label: string().min(1).max(4096),
7326
+ target: PromptShortcutTargetSchema
7327
+ }).strict();
7328
+ const stripLegacyShortcutVisibility = (value) => {
7329
+ if (value && typeof value === "object" && !Array.isArray(value) && "visibility" in value && (value.visibility === "private" || value.visibility === "workspace" || value.visibility === void 0)) {
7330
+ const { visibility: _legacyVisibility, ...rest } = value;
7331
+ return rest;
7332
+ }
7333
+ return value;
7334
+ };
7335
+ const PromptShortcutObjectSchema = object({
7336
+ v: literal(1),
7337
+ id: identifier,
7338
+ workspaceId: identifier,
7339
+ ownerUserId: identifier,
7340
+ name: string().trim().min(1).max(PROMPT_SHORTCUT_LIMITS.name),
7341
+ // Stored normalized: a synced row from another client is rejected rather
7342
+ // than silently repaired, so every reader sees the same glyph.
7343
+ emoji: string().refine((value) => normalizeShortcutEmoji(value) === value).optional(),
7344
+ slug: string().regex(/^[a-z0-9][a-z0-9-]{0,39}$/),
7345
+ description: string().max(PROMPT_SHORTCUT_LIMITS.description).optional(),
7346
+ prompt: string().refine(
7347
+ (value) => shortcutByteLength(value) <= PROMPT_SHORTCUT_LIMITS.promptBytes,
7348
+ "Prompt exceeds the byte limit"
7349
+ ),
7350
+ mentions: array(PromptShortcutMentionSchema).max(PROMPT_SHORTCUT_LIMITS.mentions),
7351
+ scope: PromptShortcutScopeSchema,
7352
+ revision: identifier,
7353
+ createdAt: number().int().nonnegative(),
7354
+ updatedAt: number().int().nonnegative()
7355
+ }).strict();
7356
+ preprocess(
7357
+ stripLegacyShortcutVisibility,
7358
+ PromptShortcutObjectSchema
7359
+ );
7360
+ class PromptShortcutError extends Error {
7361
+ constructor(code, message, details = []) {
7362
+ super(message);
7363
+ this.code = code;
7364
+ this.details = details;
7365
+ this.name = "PromptShortcutError";
7366
+ }
7367
+ }
7368
+ const encodeWorkspaceSegment = (value) => {
7369
+ if (!value || value.length > 200 || /[:/\s\0]/.test(value) || value.includes(".."))
7370
+ throw new PromptShortcutError("invalid_template", "Invalid shortcut stream identifier");
7371
+ return encodeURIComponent(value);
7372
+ };
7373
+ function getWorkspaceShortcutIndexStreamId(workspaceId) {
7374
+ return `${encodeWorkspaceSegment(workspaceId)}:shortcut-index`;
7375
+ }
7376
+ function getWorkspaceShortcutBodyStreamId(workspaceId, bodyDocId) {
7377
+ return `${encodeWorkspaceSegment(workspaceId)}:shortcut:${encodeWorkspaceSegment(bodyDocId)}`;
7378
+ }
7248
7379
  export {
7249
7380
  WORKSPACE_API_PATH_PREFIX as $,
7250
7381
  ACP_CAPABILITY_ROW_FAMILIES as A,
@@ -7405,7 +7536,7 @@ export {
7405
7536
  applyNotificationOnHistory as by,
7406
7537
  applyPreviewEmbeddingHeaders as bz,
7407
7538
  getSessionImageDownloadApiPath as c,
7408
- isQuickTunnelViewerUrl as c$,
7539
+ isPullRequestExplicitlyLinked as c$,
7409
7540
  deriveLocationsFromRawInput as c0,
7410
7541
  deriveLocationsFromToolCallContent as c1,
7411
7542
  deriveRepoIdFromGitHubRepo as c2,
@@ -7422,27 +7553,27 @@ export {
7422
7553
  getSessionImageUploadApiPath as cD,
7423
7554
  getSessionPullRequestLegacyFields as cE,
7424
7555
  getWorkspaceMcpCatalog as cF,
7425
- getWorktreeHostPath as cG,
7426
- getWorktreeHostPathFromDotlodyPath as cH,
7427
- getWorktreeRelativePath as cI,
7428
- getWorktreeSetupScriptForShell as cJ,
7429
- hasFailedLatestTurn as cK,
7430
- hasOtherDevinSubagentMeta as cL,
7431
- hasRecentResumeNotice as cM,
7432
- hasReportedPreviewTarget as cN,
7433
- hasWorkspaceChanges as cO,
7434
- historyUnionCandidates as cP,
7435
- inheritHistoryStreamText as cQ,
7436
- isActiveSessionStatus as cR,
7437
- isClaudeCodeTool as cS,
7438
- isDirectLocalProject as cT,
7439
- isEmptyFlockBundle as cU,
7440
- isLocalRepoId as cV,
7441
- isLoopbackPreviewHost as cW,
7442
- isMachineFlockDocId as cX,
7443
- isMissingHistoryUserTurn as cY,
7444
- isPullRequestExplicitlyLinked as cZ,
7445
- isPullRequestUnlinked as c_,
7556
+ getWorkspaceShortcutBodyStreamId as cG,
7557
+ getWorkspaceShortcutIndexStreamId as cH,
7558
+ getWorktreeHostPath as cI,
7559
+ getWorktreeHostPathFromDotlodyPath as cJ,
7560
+ getWorktreeRelativePath as cK,
7561
+ getWorktreeSetupScriptForShell as cL,
7562
+ hasFailedLatestTurn as cM,
7563
+ hasOtherDevinSubagentMeta as cN,
7564
+ hasRecentResumeNotice as cO,
7565
+ hasReportedPreviewTarget as cP,
7566
+ hasWorkspaceChanges as cQ,
7567
+ historyUnionCandidates as cR,
7568
+ inheritHistoryStreamText as cS,
7569
+ isActiveSessionStatus as cT,
7570
+ isClaudeCodeTool as cU,
7571
+ isDirectLocalProject as cV,
7572
+ isEmptyFlockBundle as cW,
7573
+ isLocalRepoId as cX,
7574
+ isLoopbackPreviewHost as cY,
7575
+ isMachineFlockDocId as cZ,
7576
+ isMissingHistoryUserTurn as c_,
7446
7577
  getClaudeCodeToolName as ca,
7447
7578
  getDefaultSessionWorkdirFromDotlodyPath as cb,
7448
7579
  getDevinSubagentContextId as cc,
@@ -7470,102 +7601,104 @@ export {
7470
7601
  getSessionFileMultipartPartApiPath as cy,
7471
7602
  getSessionFilePartCount as cz,
7472
7603
  getSessionFileDownloadApiPath as d,
7473
- serializeMachineFlockKey as d$,
7474
- isReplayEntryExcluded as d0,
7475
- isScheduleImportFenced as d1,
7476
- isSessionHistoryDelivered as d2,
7477
- isSessionHistoryPendingForDispatch as d3,
7478
- isSessionHistoryStatusAwaitingStart as d4,
7479
- isTextPreviewable as d5,
7480
- isToolTitleTruncatedForHistory as d6,
7481
- isValidSessionFilePathSegment as d7,
7482
- isValidSessionImagePathSegment as d8,
7483
- listWorkspacePinSections as d9,
7484
- parseWorkspaceFlockKey as dA,
7485
- parseWorkspaceFlockRow as dB,
7486
- passesTextCoarseFilter as dC,
7487
- planAgentHistoryMutation as dD,
7488
- planBuiltinAgentOptOutForDeletedConfig as dE,
7489
- planPullRequestLifecycle as dF,
7490
- planPullRequestLinkCheck as dG,
7491
- pullRequestLifecycleField as dH,
7492
- pullRequestLinkCheckField as dI,
7493
- pullRequestLinkField as dJ,
7494
- pullRequestUrlKey as dK,
7495
- readPullRequestLifecycle as dL,
7496
- readSessionPullRequestLinks as dM,
7497
- removePreviewAccessTokenFromSearch as dN,
7498
- removePreviewQueryParamFromSearch as dO,
7499
- resolveSessionHistoryBackendKind as dP,
7500
- resolveSessionHistoryStatus as dQ,
7501
- resolveSessionPrimaryPullRequest as dR,
7502
- resolveSessionPullRequestHistory as dS,
7503
- resolveSessionPullRequestViews as dT,
7504
- resolveWorktreeSetupShellForPlatform as dU,
7505
- roomKey as dV,
7506
- sameRoom as dW,
7507
- sanitizePreviewProxyResponseHeaders as dX,
7508
- scrubInlineBase64DataUris as dY,
7509
- selectPrimarySessionPullRequest as dZ,
7510
- serializeLoroOpId as d_,
7511
- listWorkspaceProjects as da,
7512
- machineFlockRowsEqual as db,
7513
- matchesHistoryProviderBinding as dc,
7514
- mergeFlockVersions as dd,
7515
- mergeSessionLaunchConfig as de,
7516
- normalizeCodexEndpoint as df,
7517
- normalizeFileDiff as dg,
7518
- normalizeFileDiffCodeCollabCheckpoint as dh,
7519
- parseClaudeCodeTerminalCommand as di,
7520
- parseClaudeCodeTerminalOutput as dj,
7521
- parseCodexCollabAgentTasks as dk,
7522
- parseCodexTerminalCommand as dl,
7523
- parseCodexTerminalOutput as dm,
7524
- parseDevinSubagentTaskMeta as dn,
7525
- parseGitHubRepo as dp,
7526
- parseLodyMessagePhase as dq,
7527
- parseMachineFlockDocId as dr,
7528
- parseMachineFlockKey as ds,
7529
- parseMachineFlockRow as dt,
7530
- parseMachineMonitorStates as du,
7531
- parsePullRequestUrl as dv,
7532
- parseSerializedLoroOpId as dw,
7533
- parseSessionImageThumbnailOptions as dx,
7534
- parseSessionNotification as dy,
7535
- parseSessionNotifications as dz,
7604
+ selectPrimarySessionPullRequest as d$,
7605
+ isPullRequestUnlinked as d0,
7606
+ isQuickTunnelViewerUrl as d1,
7607
+ isReplayEntryExcluded as d2,
7608
+ isScheduleImportFenced as d3,
7609
+ isSessionHistoryDelivered as d4,
7610
+ isSessionHistoryPendingForDispatch as d5,
7611
+ isSessionHistoryStatusAwaitingStart as d6,
7612
+ isTextPreviewable as d7,
7613
+ isToolTitleTruncatedForHistory as d8,
7614
+ isValidSessionFilePathSegment as d9,
7615
+ parseSessionNotification as dA,
7616
+ parseSessionNotifications as dB,
7617
+ parseWorkspaceFlockKey as dC,
7618
+ parseWorkspaceFlockRow as dD,
7619
+ passesTextCoarseFilter as dE,
7620
+ planAgentHistoryMutation as dF,
7621
+ planBuiltinAgentOptOutForDeletedConfig as dG,
7622
+ planPullRequestLifecycle as dH,
7623
+ planPullRequestLinkCheck as dI,
7624
+ pullRequestLifecycleField as dJ,
7625
+ pullRequestLinkCheckField as dK,
7626
+ pullRequestLinkField as dL,
7627
+ pullRequestUrlKey as dM,
7628
+ readPullRequestLifecycle as dN,
7629
+ readSessionPullRequestLinks as dO,
7630
+ removePreviewAccessTokenFromSearch as dP,
7631
+ removePreviewQueryParamFromSearch as dQ,
7632
+ resolveSessionHistoryBackendKind as dR,
7633
+ resolveSessionHistoryStatus as dS,
7634
+ resolveSessionPrimaryPullRequest as dT,
7635
+ resolveSessionPullRequestHistory as dU,
7636
+ resolveSessionPullRequestViews as dV,
7637
+ resolveWorktreeSetupShellForPlatform as dW,
7638
+ roomKey as dX,
7639
+ sameRoom as dY,
7640
+ sanitizePreviewProxyResponseHeaders as dZ,
7641
+ scrubInlineBase64DataUris as d_,
7642
+ isValidSessionImagePathSegment as da,
7643
+ listWorkspacePinSections as db,
7644
+ listWorkspaceProjects as dc,
7645
+ machineFlockRowsEqual as dd,
7646
+ matchesHistoryProviderBinding as de,
7647
+ mergeFlockVersions as df,
7648
+ mergeSessionLaunchConfig as dg,
7649
+ normalizeCodexEndpoint as dh,
7650
+ normalizeFileDiff as di,
7651
+ normalizeFileDiffCodeCollabCheckpoint as dj,
7652
+ parseClaudeCodeTerminalCommand as dk,
7653
+ parseClaudeCodeTerminalOutput as dl,
7654
+ parseCodexCollabAgentTasks as dm,
7655
+ parseCodexTerminalCommand as dn,
7656
+ parseCodexTerminalOutput as dp,
7657
+ parseDevinSubagentTaskMeta as dq,
7658
+ parseGitHubRepo as dr,
7659
+ parseLodyMessagePhase as ds,
7660
+ parseMachineFlockDocId as dt,
7661
+ parseMachineFlockKey as du,
7662
+ parseMachineFlockRow as dv,
7663
+ parseMachineMonitorStates as dw,
7664
+ parsePullRequestUrl as dx,
7665
+ parseSerializedLoroOpId as dy,
7666
+ parseSessionImageThumbnailOptions as dz,
7536
7667
  isLoroRepoDocDeleted as e,
7537
- serializeWorkspaceFlockKey as e0,
7538
- sessionHistoryWriteIntentDigest as e1,
7539
- setPreviewQueryParamInUrl as e2,
7540
- shouldUseSingleShotUpload as e3,
7541
- sniffLooksLikeText as e4,
7542
- stripPreviewFrameAncestorsDirective as e5,
7543
- stripToolCallContentForHistory as e6,
7544
- stripToolCallPayloadsForHistory as e7,
7545
- targetLocalHistoryTargets as e8,
7546
- targetLocalToolCallIds as e9,
7547
- toLodyMachineMonitorStreamUrl as ea,
7548
- truncateTerminalCommandForHistory as eb,
7549
- truncateTerminalOutputForHistory as ec,
7550
- truncateToolTextForHistory as ed,
7551
- truncateToolTitleForHistory as ee,
7552
- workspaceFlockKeys as ef,
7553
- writeAcpModelConfigOptionsToFlock as eg,
7554
- writeWorkspaceAgentRoleToFlock as eh,
7555
- writeWorkspaceProjectToFlock as ei,
7556
- zAvailableCommandsUpdate as ej,
7557
- zConfigOptionUpdate as ek,
7558
- zContentBlock as el,
7559
- zCurrentModeUpdate as em,
7560
- zPlan as en,
7561
- zSessionNotification as eo,
7562
- zSessionUpdate as ep,
7563
- zToolCall as eq,
7564
- zToolCallUpdate as er,
7565
- notificationPresentationSchema as es,
7566
- resolveNotificationPresentation as et,
7567
- notificationReplyPreview as eu,
7568
- notificationLabel as ev,
7668
+ serializeLoroOpId as e0,
7669
+ serializeMachineFlockKey as e1,
7670
+ serializeWorkspaceFlockKey as e2,
7671
+ sessionHistoryWriteIntentDigest as e3,
7672
+ setPreviewQueryParamInUrl as e4,
7673
+ shouldUseSingleShotUpload as e5,
7674
+ sniffLooksLikeText as e6,
7675
+ stripPreviewFrameAncestorsDirective as e7,
7676
+ stripToolCallContentForHistory as e8,
7677
+ stripToolCallPayloadsForHistory as e9,
7678
+ targetLocalHistoryTargets as ea,
7679
+ targetLocalToolCallIds as eb,
7680
+ toLodyMachineMonitorStreamUrl as ec,
7681
+ truncateTerminalCommandForHistory as ed,
7682
+ truncateTerminalOutputForHistory as ee,
7683
+ truncateToolTextForHistory as ef,
7684
+ truncateToolTitleForHistory as eg,
7685
+ workspaceFlockKeys as eh,
7686
+ writeAcpModelConfigOptionsToFlock as ei,
7687
+ writeWorkspaceAgentRoleToFlock as ej,
7688
+ writeWorkspaceProjectToFlock as ek,
7689
+ zAvailableCommandsUpdate as el,
7690
+ zConfigOptionUpdate as em,
7691
+ zContentBlock as en,
7692
+ zCurrentModeUpdate as eo,
7693
+ zPlan as ep,
7694
+ zSessionNotification as eq,
7695
+ zSessionUpdate as er,
7696
+ zToolCall as es,
7697
+ zToolCallUpdate as et,
7698
+ notificationPresentationSchema as eu,
7699
+ resolveNotificationPresentation as ev,
7700
+ notificationReplyPreview as ew,
7701
+ notificationLabel as ex,
7569
7702
  readMachineFlockRowsFromFlock as f,
7570
7703
  getMachineFlockDocId as g,
7571
7704
  getMachineFlockAcpCapabilities as h,
@@ -7588,4 +7721,4 @@ export {
7588
7721
  getMachineFlockProviderSetupCancellations as y,
7589
7722
  getMachineFlockAgentConfigs as z
7590
7723
  };
7591
- //# sourceMappingURL=session-access-DBWXcozo.js.map
7724
+ //# sourceMappingURL=access-Sut1_1-c.js.map
@@ -1,7 +1,7 @@
1
1
  import require$$2 from "node:http";
2
2
  import https from "node:https";
3
3
  import { d as distExports } from "./chunks/vendor-https-proxy-agent-DgeanQ7j.js";
4
- import { a as undiciExports } from "./chunks/vendor-undici-Dkj-EYtJ.js";
4
+ import { a as undiciExports } from "./chunks/vendor-undici-aSjjVk9-.js";
5
5
  import { p as proxyFromEnvExports } from "./chunks/vendor-proxy-from-env-FcxQm0KP.js";
6
6
  const PROXY_ENV_KEYS = [
7
7
  "ALL_PROXY",
@@ -293,4 +293,4 @@ function installAcpAdapterHttpProxySupport(options = {}) {
293
293
  export {
294
294
  installAcpAdapterHttpProxySupport as i
295
295
  };
296
- //# sourceMappingURL=acp-http-proxy-CEqdfPIb.js.map
296
+ //# sourceMappingURL=acp-http-proxy-BeNRWwOZ.js.map
@@ -1,6 +1,6 @@
1
1
  import { createHash } from "node:crypto";
2
- import { al as e2eeAcpInteractionInputContext, am as e2eeAcpInteractionResponseContext } from "./command-runtime-CU9xs2mb.js";
3
- import "./login-shell-env-DiOZ-bog.js";
2
+ import { al as e2eeAcpInteractionInputContext, am as e2eeAcpInteractionResponseContext } from "./command-runtime-DPLzRrVX.js";
3
+ import "./login-shell-env-BUnglQb8.js";
4
4
  import "./chunks/vendor-posthog-node-CwZyUQxO.js";
5
5
  import "path";
6
6
  import "./chunks/vendor-@posthog-core-BB1ZGy3x.js";
@@ -10,7 +10,7 @@ import "node:async_hooks";
10
10
  import "./installation-profile-BgCqPyUj.js";
11
11
  import "node:os";
12
12
  import "node:path";
13
- import "./http-transport-DDAJ_zUL.js";
13
+ import "./http-transport-BooHDDeW.js";
14
14
  import "./process-DrX1wZZk.js";
15
15
  import "node:child_process";
16
16
  import "node:url";
@@ -42,7 +42,7 @@ import "buffer";
42
42
  import "util";
43
43
  import "node:zlib";
44
44
  import "node:diagnostics_channel";
45
- import "./chunks/vendor-undici-D9lUGEXQ.js";
45
+ import "./chunks/vendor-undici-Cm00wA7x.js";
46
46
  import "node:assert";
47
47
  import "node:http";
48
48
  import "node:util";
@@ -50,6 +50,7 @@ import "node:querystring";
50
50
  import "node:perf_hooks";
51
51
  import "node:util/types";
52
52
  import "node:worker_threads";
53
+ import "node:http2";
53
54
  import "node:console";
54
55
  import "node:dns";
55
56
  import "node:events";
@@ -95,8 +96,8 @@ import "./chunks/vendor-proxy-from-env-agT35mrt.js";
95
96
  import "./const-LYLptZ7f.js";
96
97
  import "./chunks/vendor-zod-DAcQjQuC.js";
97
98
  import "./time-sync-D63wG9u-.js";
98
- import "./local-ipc-BQZPuSjl.js";
99
- import "./schedule-types-DTul4K9c.js";
99
+ import "./local-ipc-B8vySppK.js";
100
+ import "./schedule-types-BquxGfza.js";
100
101
  import "./daemon-update-qOLnkZcv.js";
101
102
  import "./magpie-import-IrqfCF6i.js";
102
103
  import "./project-path-CAQE9bes.js";
@@ -105,7 +106,7 @@ import "./rpc-secret-CPdan_XW.js";
105
106
  import "node:string_decoder";
106
107
  import "./code-collab-Cgso3Ix3.js";
107
108
  import "./ios-simulator-BduF_qia.js";
108
- import "./auth-BzBqWcHJ.js";
109
+ import "./auth-CxHKHxDT.js";
109
110
  import "./chunks/vendor-chalk-MVIUzg44.js";
110
111
  import "./chunks/vendor-ora-VZtLV0pD.js";
111
112
  import "./chunks/vendor-cli-cursor-BxGMzrFe.js";
@@ -134,19 +135,19 @@ import "./chunks/vendor-@better-fetch-fetch-Cuh8CnyA.js";
134
135
  import "./chunks/vendor-@better-auth-api-key-D0bKvhcn.js";
135
136
  import "./chunks/vendor-@convex-dev-better-auth-DvFvwHmk.js";
136
137
  import "./convex-site-url-Ca_MfzFd.js";
137
- import "./session-access-DBWXcozo.js";
138
+ import "./access-Sut1_1-c.js";
138
139
  import "./chunks/vendor-immer-F2vkwr8n.js";
139
140
  import "./chunks/vendor-loro-crdt-2CFvB1HS.js";
140
141
  import "./chunks/vendor-loro-mirror-kwb2EtZx.js";
141
142
  import "perf_hooks";
142
143
  import "./chunks/vendor-ws-D1QOrWHI.js";
143
- import "./chunks/vendor-loro-repo-KiPOxZ47.js";
144
+ import "./chunks/vendor-loro-repo-B1zdQ8Qd.js";
144
145
  import "./chunks/vendor-@loro-dev-flock-wasm-BH1ts_Xn.js";
145
146
  import "better-sqlite3";
146
147
  import "./chunks/vendor-@loro-dev-streams-crdt-BOuVa3yO.js";
147
148
  import "./chunks/vendor-@loro-dev-streams-client-DPTfaXHE.js";
148
- import "./presence-legacy-BI0h0kBA.js";
149
- import "./presence-BGW-7JQJ.js";
149
+ import "./presence-legacy-1c8FbspQ.js";
150
+ import "./presence-CZco7UQH.js";
150
151
  import "./chunks/vendor-croner-B5ClZHUj.js";
151
152
  import "fs/promises";
152
153
  import "./chunks/vendor-uuid-ZvTlSCzA.js";
@@ -156,7 +157,7 @@ import "./cli-platform-Cfc6A61f.js";
156
157
  import "./capabilities-Btwk4R--.js";
157
158
  import "./runtime-artifacts-CjowfwNS.js";
158
159
  import "./github-credential-runtime-Vuv6HxRs.js";
159
- import "./machine-protocol-capabilities-LN7bzFSN.js";
160
+ import "./machine-protocol-capabilities-DEhAj9SH.js";
160
161
  function createAcpInteractionOwner(options) {
161
162
  const sessions = /* @__PURE__ */ new Map();
162
163
  const tombstones = /* @__PURE__ */ new Map();
@@ -495,4 +496,4 @@ function createAcpInteractionOwner(options) {
495
496
  export {
496
497
  createAcpInteractionOwner
497
498
  };
498
- //# sourceMappingURL=acp-interaction-owner-C9DnwDek.js.map
499
+ //# sourceMappingURL=acp-interaction-owner-C9StwzDm.js.map
@@ -1,22 +1,22 @@
1
1
  import { existsSync } from "node:fs";
2
2
  import { RealtimeJournal, RealtimeJournalError } from "./realtime-journal-DyMe8jsR.js";
3
- import { t as turnExecutionDigest } from "./e2ee-execution-intent-kcGw6188.js";
3
+ import { t as turnExecutionDigest } from "./e2ee-execution-intent-DYBEG410.js";
4
4
  import { R as fnUntraced, j as fail, s as succeed, L as try_, y as map } from "./chunks/vendor-effect-CNM-5PoN.js";
5
5
  import { o as object, e as array, c as string, h as unknown, z as tuple, a as literal } from "./chunks/vendor-zod-DAcQjQuC.js";
6
6
  import "node:crypto";
7
7
  import "node:path";
8
8
  import "better-sqlite3";
9
9
  import "./derivation-limits-DFGnDRcs.js";
10
- import "./schedule-types-DTul4K9c.js";
10
+ import "./schedule-types-BquxGfza.js";
11
11
  import "./daemon-update-qOLnkZcv.js";
12
12
  import "./magpie-import-IrqfCF6i.js";
13
13
  import "./project-path-CAQE9bes.js";
14
14
  import "./capabilities-CNX3VCPQ.js";
15
15
  import "./rpc-secret-CPdan_XW.js";
16
- import "./presence-BGW-7JQJ.js";
16
+ import "./presence-CZco7UQH.js";
17
17
  import "./chunks/vendor-croner-B5ClZHUj.js";
18
18
  import "./time-sync-D63wG9u-.js";
19
- import "./session-input-Bm4DZ_ah.js";
19
+ import "./session-input-MeZheBJ0.js";
20
20
  const attempt = (body) => try_({ try: body, catch: (cause) => cause });
21
21
  const encryptedMemberRequester = (cryptoUserId) => `e2ee-member:${cryptoUserId}`;
22
22
  const memberRequesterPrefix = encryptedMemberRequester("");
@@ -342,4 +342,4 @@ export {
342
342
  lazyExecutionJournal,
343
343
  makeEncryptedAgentExecution
344
344
  };
345
- //# sourceMappingURL=agent-execution-KNblr7op.js.map
345
+ //# sourceMappingURL=agent-execution-D1-dEIN6.js.map
@@ -1,4 +1,4 @@
1
- import { c as captureCli } from "./login-shell-env-DiOZ-bog.js";
1
+ import { c as captureCli } from "./login-shell-env-BUnglQb8.js";
2
2
  function captureDaemonEvent(event, properties) {
3
3
  captureCli(`cli/${event}`, properties, { tier: "A" });
4
4
  }
@@ -35,4 +35,4 @@ export {
35
35
  captureCliActiveUser as f,
36
36
  captureCliActivePing as g
37
37
  };
38
- //# sourceMappingURL=analytics-events-DgubpwYf.js.map
38
+ //# sourceMappingURL=analytics-events-DGIORHJT.js.map