deepline 0.3.568 → 0.3.570

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 (156) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +20 -5
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +17 -10
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +1 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +17 -1
  6. package/dist/cli/{auth-AV6JJ2Y6.mjs → auth-KHJKNEYN.mjs} +5 -5
  7. package/dist/cli/auth-X2LWGPF4.js +44 -0
  8. package/dist/cli/{billing-3RUXM4OW.js → billing-Q4BRUODF.js} +102 -102
  9. package/dist/cli/{billing-3RVJZROW.mjs → billing-R5AO4M3S.mjs} +9 -9
  10. package/dist/cli/{chunk-VVGHZ7S6.mjs → chunk-2GBOHROU.mjs} +1 -1
  11. package/dist/cli/{chunk-LKXBFVYU.js → chunk-2GTLZNSK.js} +53 -53
  12. package/dist/cli/{chunk-5KHSPLPO.js → chunk-2MXS53XJ.js} +20 -20
  13. package/dist/cli/{chunk-GXSJTCCG.mjs → chunk-3YHMHV6U.mjs} +4 -4
  14. package/dist/cli/{chunk-FQIOTHEZ.mjs → chunk-5OOGWYSR.mjs} +1 -1
  15. package/dist/cli/{chunk-G7GN3RGE.mjs → chunk-64MOX3SN.mjs} +15 -3
  16. package/dist/cli/{chunk-GLTA22I3.mjs → chunk-73RTZMDV.mjs} +84 -11
  17. package/dist/cli/{chunk-TSNVG3T5.mjs → chunk-77HEH4RY.mjs} +1 -1
  18. package/dist/cli/{chunk-SHO6BOXN.mjs → chunk-BEE5VGCL.mjs} +11 -11
  19. package/dist/cli/{chunk-ANRKUFUG.js → chunk-CHHXUEVC.js} +100 -100
  20. package/dist/cli/{chunk-RJJNXV36.js → chunk-DPZAEVPO.js} +20 -20
  21. package/dist/cli/{chunk-HQX2P4NH.mjs → chunk-EEUBKKJE.mjs} +1 -1
  22. package/dist/cli/{chunk-VIMSKO7W.mjs → chunk-EJB4V77N.mjs} +5 -5
  23. package/dist/cli/{chunk-VEPXXRHO.mjs → chunk-EYEPXZNS.mjs} +2 -2
  24. package/dist/cli/{chunk-O4FCX6BS.js → chunk-FABLUH75.js} +3 -3
  25. package/dist/cli/{chunk-DIPM4GTS.js → chunk-FDSQSUZF.js} +5 -5
  26. package/dist/cli/{chunk-RH3WIX2W.mjs → chunk-GFGXDDJH.mjs} +2 -2
  27. package/dist/cli/{chunk-F62RQL3X.js → chunk-GPXLMRCB.js} +3 -3
  28. package/dist/cli/{chunk-5SOJGKQM.mjs → chunk-HPWP2B3D.mjs} +1 -1
  29. package/dist/cli/{chunk-SONHOBIK.mjs → chunk-I4N62RWB.mjs} +2 -2
  30. package/dist/cli/{chunk-MOJOAX3X.mjs → chunk-I5EZZFQL.mjs} +3 -3
  31. package/dist/cli/{chunk-H4BU2RRU.js → chunk-J6M2AX3P.js} +118 -108
  32. package/dist/cli/{chunk-JJSKWDUI.js → chunk-J6PTH725.js} +6 -6
  33. package/dist/cli/{chunk-OWSTUCIB.js → chunk-JSHE4W6W.js} +5 -5
  34. package/dist/cli/{chunk-QVERY22Q.mjs → chunk-MH3WE5O6.mjs} +2 -2
  35. package/dist/cli/{chunk-BXNCAZ7G.mjs → chunk-MVHKTZCX.mjs} +1 -1
  36. package/dist/cli/{chunk-ZVJ2YNAH.js → chunk-N6KF6X3D.js} +15 -3
  37. package/dist/cli/{chunk-UPUBCTSS.js → chunk-NIO2T6OC.js} +2 -2
  38. package/dist/cli/{chunk-JIEUKZ7J.js → chunk-NR7QW2E7.js} +2 -2
  39. package/dist/cli/{chunk-4QGZUHDF.mjs → chunk-NVYQ6WCW.mjs} +5 -5
  40. package/dist/cli/{chunk-4PAGRUZA.js → chunk-NWAFCOUF.js} +15 -15
  41. package/dist/cli/{chunk-V5WFPMUC.mjs → chunk-O3ET4XR3.mjs} +4 -4
  42. package/dist/cli/{chunk-AAXGFMYQ.mjs → chunk-OOTXBEHG.mjs} +15 -5
  43. package/dist/cli/{chunk-KKIDGS7O.js → chunk-OPZHUL6T.js} +10 -10
  44. package/dist/cli/{chunk-RZMU7ISG.js → chunk-OV6EKORX.js} +26 -26
  45. package/dist/cli/{chunk-PPQHQ4J2.js → chunk-OWEUQCBZ.js} +48 -48
  46. package/dist/cli/{chunk-5NBR7V5U.js → chunk-PERYT4ZA.js} +1 -1
  47. package/dist/cli/{chunk-Y4Q4LQRX.js → chunk-PSMYOQFI.js} +13 -13
  48. package/dist/cli/{chunk-D2DYHEH7.js → chunk-Q4P6STRD.js} +23 -23
  49. package/dist/cli/{chunk-VW2EUXY2.mjs → chunk-RS6KPFQX.mjs} +5 -5
  50. package/dist/cli/{chunk-2BWPNLYG.js → chunk-SOZ2SB43.js} +9 -9
  51. package/dist/cli/{chunk-JPSKSXNS.mjs → chunk-TMT3S2JR.mjs} +2 -2
  52. package/dist/cli/{chunk-LQTLFFUB.mjs → chunk-TWHTVGGW.mjs} +2 -2
  53. package/dist/cli/{chunk-RUAEON5J.js → chunk-UDN6EYBJ.js} +4 -4
  54. package/dist/cli/{chunk-S2HGTJET.mjs → chunk-UWQLRBXY.mjs} +5 -5
  55. package/dist/cli/{chunk-WYXXJA5J.js → chunk-W26YT37U.js} +41 -41
  56. package/dist/cli/{chunk-TM3Z7JXT.mjs → chunk-WINZRS3A.mjs} +1 -1
  57. package/dist/cli/{chunk-JRTB75JO.js → chunk-WNUFRUNS.js} +95 -22
  58. package/dist/cli/{chunk-JT7S45KT.mjs → chunk-XHFSNMEU.mjs} +3 -3
  59. package/dist/cli/{chunk-7X34FUYS.js → chunk-YQP4ZUOJ.js} +7 -7
  60. package/dist/cli/{chunk-KMWH6VY2.mjs → chunk-YXJVYY5V.mjs} +2 -2
  61. package/dist/cli/{chunk-PE2XN2VM.js → chunk-ZGOCDLJQ.js} +2 -2
  62. package/dist/cli/{chunk-M3IMARRH.mjs → chunk-ZZ4D74UL.mjs} +1 -1
  63. package/dist/cli/{chunk-5KDMJLQX.js → chunk-ZZ7ZH27W.js} +5 -5
  64. package/dist/cli/command-docs.js +2 -2
  65. package/dist/cli/command-docs.mjs +1 -1
  66. package/dist/cli/{concurrent-runs-help-SJ27PPHV.mjs → concurrent-runs-help-Q26CEJ7I.mjs} +6 -6
  67. package/dist/cli/concurrent-runs-help-QDURIV4N.js +22 -0
  68. package/dist/cli/{csv-ZN4QI6PJ.mjs → csv-6LI6HLKG.mjs} +4 -4
  69. package/dist/cli/{csv-BGXZKS5R.js → csv-Z34I5QIU.js} +13 -13
  70. package/dist/cli/{db-SVBVPMWN.mjs → db-K5GKIKQU.mjs} +6 -6
  71. package/dist/cli/{db-KTAZ5FBG.js → db-NUDEYQCF.js} +27 -27
  72. package/dist/cli/describe-BY7LKP53.js +50 -0
  73. package/dist/cli/{describe-4CGCRK24.mjs → describe-EB4KTEPT.mjs} +18 -18
  74. package/dist/cli/describe-core.d.mts +2 -2
  75. package/dist/cli/describe-core.d.ts +2 -2
  76. package/dist/cli/{executions-YL5CTGWP.mjs → executions-DAGHJZEI.mjs} +6 -6
  77. package/dist/cli/{executions-75DO2GBS.js → executions-KHOUABZ3.js} +8 -8
  78. package/dist/cli/{feedback-VEA3XJM3.mjs → feedback-A57YETEA.mjs} +6 -6
  79. package/dist/cli/{feedback-2SMUBQZR.js → feedback-XLAWTPK2.js} +14 -14
  80. package/dist/cli/git-CR6PBWBH.js +26 -0
  81. package/dist/cli/{git-BEYEHMCX.mjs → git-U3FNR34D.mjs} +5 -5
  82. package/dist/cli/index.js +147 -147
  83. package/dist/cli/index.mjs +46 -46
  84. package/dist/cli/{integrations-RXWE6WUZ.mjs → integrations-LXUMB4RY.mjs} +7 -7
  85. package/dist/cli/{integrations-PIXZBU2N.js → integrations-YVOJ5D6W.js} +29 -29
  86. package/dist/cli/{legacy-noops-PJHP4GRU.mjs → legacy-noops-4Z2RBTHW.mjs} +6 -6
  87. package/dist/cli/{legacy-noops-XHVEYEJN.js → legacy-noops-IZVLGQZJ.js} +9 -9
  88. package/dist/cli/{mcp-276ZFIUM.js → mcp-GRGI3KYH.js} +24 -24
  89. package/dist/cli/{mcp-SUOIVUOM.mjs → mcp-ZHXRVV7D.mjs} +4 -4
  90. package/dist/cli/{monitors-AVGNLV7V.mjs → monitors-7ZVYJ3CX.mjs} +7 -7
  91. package/dist/cli/{monitors-DGBB7X4G.js → monitors-XFN5D6EW.js} +100 -100
  92. package/dist/cli/{org-U5275K5D.js → org-RWWXN5TK.js} +121 -121
  93. package/dist/cli/{org-WKP2BZJQ.mjs → org-YY5JTKNV.mjs} +6 -6
  94. package/dist/cli/{outcomes-LSCS6QE5.js → outcomes-AOZVYNJT.js} +14 -14
  95. package/dist/cli/{outcomes-H3RAH5ES.mjs → outcomes-MGWUZNQ6.mjs} +6 -6
  96. package/dist/cli/{play-7MSJU3LP.mjs → play-AJR7BT3R.mjs} +19 -19
  97. package/dist/cli/{play-GNT7SITC.js → play-S34KIOWS.js} +324 -324
  98. package/dist/cli/{providers-YDKHHCO4.mjs → providers-QRWQGVIC.mjs} +6 -6
  99. package/dist/cli/{providers-KTEG2ZNS.js → providers-S4WMWHBW.js} +9 -9
  100. package/dist/cli/{quickstart-T2NJMACU.js → quickstart-GET2M3BQ.js} +6 -6
  101. package/dist/cli/{quickstart-F6IH43NP.mjs → quickstart-NLAIOXVY.mjs} +4 -4
  102. package/dist/cli/{run-MIRJIW45.js → run-BOHHBZSI.js} +44 -44
  103. package/dist/cli/{run-AJB4MQGO.mjs → run-R2RYHNVS.mjs} +23 -23
  104. package/dist/cli/search-CZVM2OX5.js +32 -0
  105. package/dist/cli/{search-V6YPFL6J.mjs → search-VBIVRRRO.mjs} +7 -7
  106. package/dist/cli/{search-output-GGCIICSW.js → search-output-EVNRKEGZ.js} +6 -6
  107. package/dist/cli/{search-output-4VDZLO42.mjs → search-output-OCYIQFV6.mjs} +4 -4
  108. package/dist/cli/{secrets-L2VDRZDZ.js → secrets-52T2SCZ5.js} +15 -15
  109. package/dist/cli/{secrets-XUENPM5D.mjs → secrets-TNCO45WJ.mjs} +6 -6
  110. package/dist/cli/{sessions-W7LHEE35.mjs → sessions-4XE7AR3A.mjs} +6 -6
  111. package/dist/cli/sessions-GOHYDYMH.js +23 -0
  112. package/dist/cli/{settings-NB6Y53VR.js → settings-TKRF2B3K.js} +85 -85
  113. package/dist/cli/{settings-IVFOUU7V.mjs → settings-ZFCHR7MW.mjs} +12 -12
  114. package/dist/cli/{setup-2F42I4HW.js → setup-AWNE4VNL.js} +49 -49
  115. package/dist/cli/{setup-QUL7OO6A.mjs → setup-QY3ZML4C.mjs} +9 -9
  116. package/dist/cli/skills-54CGCMPF.js +37 -0
  117. package/dist/cli/{skills-SL3DNAH6.mjs → skills-GUGJDCFY.mjs} +7 -7
  118. package/dist/cli/tools-A7FEGDPX.js +57 -0
  119. package/dist/cli/{tools-TD5EJ2UD.mjs → tools-NBKPWOWD.mjs} +17 -17
  120. package/dist/cli/update-3J52CJHB.js +37 -0
  121. package/dist/cli/{update-Z53GM6PX.mjs → update-KLGVIBRY.mjs} +9 -9
  122. package/dist/cli/{views-VAQGFKXN.js → views-MDXEIVQ7.js} +21 -21
  123. package/dist/cli/{views-ZB6AOING.mjs → views-OEOW2EZO.mjs} +6 -6
  124. package/dist/cli/{workflow-OKDLEK3G.mjs → workflow-LK4SIUOM.mjs} +7 -7
  125. package/dist/cli/{workflow-PSIQ5HVP.js → workflow-PUSTWPW4.js} +17 -17
  126. package/dist/{client-D5mo-R-t.d.mts → client-ClJlqkKt.d.mts} +1 -1
  127. package/dist/{client-B8_eh5F-.d.ts → client-DCnExziW.d.ts} +1 -1
  128. package/dist/{client-core-Br12Asu-.d.ts → client-core-BKq5ZNAl.d.ts} +14 -2
  129. package/dist/{client-core-BPu-brbA.d.mts → client-core-DAOPQnGD.d.mts} +14 -2
  130. package/dist/index.d.mts +3 -3
  131. package/dist/index.d.ts +3 -3
  132. package/dist/index.js +9 -9
  133. package/dist/index.mjs +6 -6
  134. package/dist/install-integrity.json +118 -118
  135. package/dist/plays/play-description.d.mts +1 -1
  136. package/dist/plays/play-description.d.ts +1 -1
  137. package/dist/plays/run-request.d.mts +1 -1
  138. package/dist/plays/run-request.d.ts +1 -1
  139. package/dist/release.d.mts +1 -1
  140. package/dist/release.d.ts +1 -1
  141. package/dist/release.js +2 -2
  142. package/dist/release.mjs +1 -1
  143. package/dist/server.d.mts +2 -2
  144. package/dist/server.d.ts +2 -2
  145. package/dist/server.js +5 -5
  146. package/dist/server.mjs +3 -3
  147. package/package.json +1 -1
  148. package/dist/cli/auth-IPONFGG7.js +0 -44
  149. package/dist/cli/concurrent-runs-help-66WCD2Y4.js +0 -22
  150. package/dist/cli/describe-M3MOFAVN.js +0 -50
  151. package/dist/cli/git-XDS5BHBG.js +0 -26
  152. package/dist/cli/search-YPZ575MY.js +0 -32
  153. package/dist/cli/sessions-GJLSOVLW.js +0 -23
  154. package/dist/cli/skills-2KAEOH2N.js +0 -37
  155. package/dist/cli/tools-W6223Q4W.js +0 -57
  156. package/dist/cli/update-IZBYF422.js +0 -37
@@ -6467,18 +6467,27 @@ export class DeeplineClient {
6467
6467
  return this.http.get(`/api/v2/integrations/connect?${params}`);
6468
6468
  }
6469
6469
 
6470
- /** Save provider-owned credential fields without starting an OAuth browser flow. */
6470
+ /**
6471
+ * Save provider-owned credential fields without starting an OAuth browser flow.
6472
+ * `teamId` names a workspace whose own connection this saves; absent or null
6473
+ * saves the org default every workspace without its own connection uses.
6474
+ */
6471
6475
  async setIntegrationCredentials(
6472
6476
  provider: string,
6473
6477
  credentials: Record<string, string>,
6474
- options?: { expectedConnectionId?: string },
6475
- ): Promise<{ ok: boolean; credential_saved?: boolean }> {
6478
+ options?: { expectedConnectionId?: string; teamId?: string | null },
6479
+ ): Promise<{
6480
+ ok: boolean;
6481
+ credential_saved?: boolean;
6482
+ team_id?: string | null;
6483
+ }> {
6476
6484
  return this.http.post('/api/v2/integrations/connect', {
6477
6485
  provider,
6478
6486
  credentials,
6479
6487
  ...(options?.expectedConnectionId
6480
6488
  ? { expected_connection_id: options.expectedConnectionId }
6481
6489
  : {}),
6490
+ ...(options?.teamId ? { team_id: options.teamId } : {}),
6482
6491
  });
6483
6492
  }
6484
6493
 
@@ -6528,15 +6537,20 @@ export class DeeplineClient {
6528
6537
  );
6529
6538
  }
6530
6539
 
6531
- /** Start provider OAuth and return the URL to open in a browser. */
6540
+ /**
6541
+ * Start provider OAuth and return the URL to open in a browser. `teamId`
6542
+ * names a workspace whose own connection the grant saves; absent or null
6543
+ * connects the org default.
6544
+ */
6532
6545
  async startIntegrationOAuth(
6533
6546
  provider: string,
6534
6547
  options: {
6535
6548
  preset?: string;
6536
6549
  scopes?: string[];
6537
6550
  optionalScopes?: string[];
6551
+ teamId?: string | null;
6538
6552
  } = {},
6539
- ): Promise<{ ok: boolean; redirect_url: string }> {
6553
+ ): Promise<{ ok: boolean; redirect_url: string; team_id?: string | null }> {
6540
6554
  const scopes = options.scopes?.map((scope) => scope.trim()).filter(Boolean);
6541
6555
  if (scopes !== undefined && scopes.length === 0) {
6542
6556
  throw new Error('scopes must contain at least one OAuth scope.');
@@ -6548,6 +6562,7 @@ export class DeeplineClient {
6548
6562
  ...(options.optionalScopes !== undefined
6549
6563
  ? { optional_scopes: options.optionalScopes }
6550
6564
  : {}),
6565
+ ...(options.teamId ? { team_id: options.teamId } : {}),
6551
6566
  });
6552
6567
  }
6553
6568
 
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
205
205
  // getters keep their established compatibility behavior.
206
206
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
207
207
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
208
- version: '0.3.568',
208
+ version: '0.3.570',
209
209
  updateSummary: {
210
210
  introducedIn: '0.3.90',
211
211
  summary:
@@ -44,22 +44,29 @@ export const MAX_MEMBER_DEFINITION_BYTES = 2_048;
44
44
  * and 20 radars (201,319 bytes) were each accepted and stored intact.
45
45
  */
46
46
  export const FLEET_BULK_CREATE_BODY_BUDGET_BYTES = 800_000;
47
+ /** Members one staged-commit chunk carries; see `commitStagedChunk`. */
48
+ export const STAGED_COMMIT_CHUNK_MEMBERS = 250;
47
49
  /**
48
- * The largest plan published in ONE Convex transaction (`commitPlan`). It is
49
- * the size that transaction was built and ceiling-tested for; a larger plan is
50
- * staged in chunks of STAGED_COMMIT_CHUNK_MEMBERS.
50
+ * The largest plan published in ONE Convex transaction (`commitPlan`): one
51
+ * staged chunk, so no transaction a sync makes is larger than a chunk. A larger
52
+ * plan is staged in chunks of STAGED_COMMIT_CHUNK_MEMBERS.
53
+ *
54
+ * It was 1,000, the size `commitPlan` was ceiling-tested for in operations and
55
+ * reads, but not in time: a 1,000-member Exa first sync (2,049 writes, 7.9 MB)
56
+ * ran 874-911 ms of Convex's 1 s mutation limit and then timed out three times
57
+ * in a row. Exa's per-member cap is 1,000, so every full Exa sync took that
58
+ * path. `commitPlan` keeps admitting the old planner's 1,000-member plans
59
+ * (`MAX_COMMIT_MEMBERS`) for good: new Convex serves the outgoing app
60
+ * indefinitely during a failed release.
51
61
  */
52
- export const SINGLE_COMMIT_MAX_MEMBERS = 1_000;
62
+ export const SINGLE_COMMIT_MAX_MEMBERS = STAGED_COMMIT_CHUNK_MEMBERS;
53
63
  /**
54
- * The most plan bytes one `commitPlan` transaction carries: the
55
- * SINGLE_COMMIT_MAX_MEMBERS × MAX_MEMBER_DEFINITION_BYTES budget its read
56
- * arithmetic was proved against. A plan over it is staged in chunks of
57
- * STAGED_COMMIT_CHUNK_MEMBERS regardless of its member count.
64
+ * The most plan bytes one `commitPlan` transaction, or one staged chunk,
65
+ * carries: SINGLE_COMMIT_MAX_MEMBERS × MAX_MEMBER_DEFINITION_BYTES. A plan
66
+ * over it is staged regardless of its member count.
58
67
  */
59
68
  export const SINGLE_COMMIT_MAX_PLAN_BYTES =
60
69
  SINGLE_COMMIT_MAX_MEMBERS * MAX_MEMBER_DEFINITION_BYTES;
61
- /** Members one staged-commit chunk carries; see `commitStagedChunk`. */
62
- export const STAGED_COMMIT_CHUNK_MEMBERS = 250;
63
70
  /**
64
71
  * A time-boxed Fleet sync (#10717). A client that re-sends a sync until it is
65
72
  * committed asks for one with this header, whose value is the commit budget
@@ -1872,6 +1872,7 @@ async function createEarlyModalSandbox(
1872
1872
  try {
1873
1873
  const confirmAttempts = await terminateEarlySandboxConfirmed({
1874
1874
  sandbox: late,
1875
+ reattach: lookups.fromId,
1875
1876
  readExitCode: readEarlySandboxExitCode(lookups),
1876
1877
  sleep: sleepMs,
1877
1878
  attempts: EARLY_SANDBOX_TERMINATE_CONFIRM_ATTEMPTS,
@@ -546,13 +546,27 @@ const earlyTerminateConfirmDelayMs = (attempt: number) =>
546
546
  */
547
547
  export async function terminateEarlySandboxConfirmed(input: {
548
548
  sandbox: Pick<EarlySandboxHandle, 'terminate' | 'sandboxId'>;
549
+ /**
550
+ * A fresh handle for each re-terminate. Modal's `terminate()` detaches the
551
+ * handle it was called on, so re-terminating the same object throws
552
+ * "Unable to perform operation on a detached sandbox" (Production
553
+ * 2026-11-29, sb-jUEG8DC959LBI3LAEr2dUp: the first terminate went through,
554
+ * the confirmation reported unconfirmed).
555
+ */
556
+ reattach: (
557
+ sandboxId: string,
558
+ ) => Promise<Pick<EarlySandboxHandle, 'terminate'>>;
549
559
  readExitCode: (sandboxId: string) => Promise<number | null>;
550
560
  sleep: (ms: number) => Promise<void>;
551
561
  attempts: number;
552
562
  }): Promise<number> {
553
563
  for (let attempt = 1; attempt <= input.attempts; attempt++) {
554
564
  // Idempotent; repeated because a not-yet-running sandbox may miss it.
555
- await input.sandbox.terminate();
565
+ const handle =
566
+ attempt === 1
567
+ ? input.sandbox
568
+ : await input.reattach(input.sandbox.sandboxId);
569
+ await handle.terminate();
556
570
  if ((await input.readExitCode(input.sandbox.sandboxId)) !== null)
557
571
  return attempt;
558
572
  await input.sleep(earlyTerminateConfirmDelayMs(attempt));
@@ -591,6 +605,7 @@ export async function reapEarlySandboxById(input: {
591
605
  if (!isUnadoptedEarlySandbox(tags)) return 'not_early';
592
606
  const confirmAttempts = await terminateEarlySandboxConfirmed({
593
607
  sandbox: fresh,
608
+ reattach: input.calls.fromId,
594
609
  readExitCode: readEarlySandboxExitCode(input.calls),
595
610
  sleep: input.sleep ?? sleepMs,
596
611
  attempts: input.attempts ?? EARLY_SANDBOX_TERMINATE_CONFIRM_ATTEMPTS,
@@ -740,6 +755,7 @@ export async function sweepOrphanEarlySandboxes(input: {
740
755
  claimed += 1;
741
756
  const confirmAttempts = await terminateEarlySandboxConfirmed({
742
757
  sandbox: fresh,
758
+ reattach: input.calls.fromId,
743
759
  readExitCode: readEarlySandboxExitCode(input.calls),
744
760
  sleep: input.sleep ?? sleepMs,
745
761
  attempts: EARLY_SANDBOX_SWEEP_CONFIRM_ATTEMPTS,
@@ -14,15 +14,15 @@ import {
14
14
  reportSetupCompleted,
15
15
  resolvePendingAuthClaimForResume,
16
16
  statusBannerLine
17
- } from "./chunk-MOJOAX3X.mjs";
18
- import "./chunk-SONHOBIK.mjs";
19
- import "./chunk-TSNVG3T5.mjs";
20
- import "./chunk-5SOJGKQM.mjs";
17
+ } from "./chunk-I5EZZFQL.mjs";
18
+ import "./chunk-I4N62RWB.mjs";
19
+ import "./chunk-77HEH4RY.mjs";
20
+ import "./chunk-HPWP2B3D.mjs";
21
21
  import "./chunk-ASB47RXJ.mjs";
22
22
  import "./chunk-DLIRSHV6.mjs";
23
23
  import "./chunk-Z3A2S3QM.mjs";
24
24
  import "./chunk-2MGZAI54.mjs";
25
- import "./chunk-FQIOTHEZ.mjs";
25
+ import "./chunk-5OOGWYSR.mjs";
26
26
  import "./chunk-WZYKRD7T.mjs";
27
27
  import "./chunk-KRD6H754.mjs";
28
28
  export {
@@ -0,0 +1,44 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunk2GTLZNSKjs = require('./chunk-2GTLZNSK.js');
18
+ require('./chunk-2MXS53XJ.js');
19
+ require('./chunk-FABLUH75.js');
20
+ require('./chunk-UDN6EYBJ.js');
21
+ require('./chunk-6VLFQZK6.js');
22
+ require('./chunk-XNYIZMNQ.js');
23
+ require('./chunk-LFQJW4S2.js');
24
+ require('./chunk-CFJFUVX2.js');
25
+ require('./chunk-PERYT4ZA.js');
26
+ require('./chunk-OG64RBAC.js');
27
+ require('./chunk-COGTRVWW.js');
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+ exports.EXIT_WORKSPACE_MISMATCH = _chunk2GTLZNSKjs.EXIT_WORKSPACE_MISMATCH; exports.authStatusLine = _chunk2GTLZNSKjs.authStatusLine; exports.clearPendingClaim = _chunk2GTLZNSKjs.clearPendingClaim; exports.clearSatisfiedPendingClaim = _chunk2GTLZNSKjs.clearSatisfiedPendingClaim; exports.handleRegister = _chunk2GTLZNSKjs.handleRegister; exports.handleStatus = _chunk2GTLZNSKjs.handleStatus; exports.handleWait = _chunk2GTLZNSKjs.handleWait; exports.httpJson = _chunk2GTLZNSKjs.httpJson; exports.readPendingAuthClaim = _chunk2GTLZNSKjs.readPendingAuthClaim; exports.readStatusBanner = _chunk2GTLZNSKjs.readStatusBanner; exports.registerAuthCommands = _chunk2GTLZNSKjs.registerAuthCommands; exports.reportApprovalLinkShown = _chunk2GTLZNSKjs.reportApprovalLinkShown; exports.reportSetupCompleted = _chunk2GTLZNSKjs.reportSetupCompleted; exports.resolvePendingAuthClaimForResume = _chunk2GTLZNSKjs.resolvePendingAuthClaimForResume; exports.statusBannerLine = _chunk2GTLZNSKjs.statusBannerLine;