deepline 0.3.532 → 0.3.534

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 (157) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +46 -7
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +148 -63
  4. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +26 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +32 -14
  6. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +9 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/engine-suspension.ts +1 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/ports.ts +2 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/attempts/postgres-fence-adapter.ts +2 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +8 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +27 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +8 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +12 -1
  15. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  16. package/dist/cli/{auth-ZB3NN4E7.mjs → auth-MHQYIMVX.mjs} +5 -5
  17. package/dist/cli/auth-UP2RGPI6.js +43 -0
  18. package/dist/cli/{billing-5GGO7DQS.mjs → billing-LX2PSBJ4.mjs} +7 -7
  19. package/dist/cli/{billing-32EF4HJM.js → billing-YQLNP4S5.js} +82 -82
  20. package/dist/cli/{chunk-W5KSUNTE.mjs → chunk-2P3NVX65.mjs} +68 -13
  21. package/dist/cli/{chunk-EVXRQXNV.mjs → chunk-5FXMEEF4.mjs} +35 -0
  22. package/dist/cli/{chunk-YM6JAKYP.mjs → chunk-5LZ5VSOK.mjs} +2 -2
  23. package/dist/cli/{chunk-S2HHY26V.mjs → chunk-62SOZ67Y.mjs} +2 -2
  24. package/dist/cli/{chunk-QZINISXP.js → chunk-6CEUQYMB.js} +3 -3
  25. package/dist/cli/{chunk-6LBD6G6U.mjs → chunk-6GTGWZJG.mjs} +2 -2
  26. package/dist/cli/{chunk-CRWX26LR.mjs → chunk-6IFZPEJE.mjs} +1 -1
  27. package/dist/cli/{chunk-F2YLC4ZG.mjs → chunk-7GFR5Y4J.mjs} +1 -1
  28. package/dist/cli/{chunk-L5V5SLI7.js → chunk-A6HNT4EE.js} +2 -2
  29. package/dist/cli/{chunk-3NUYO5QO.mjs → chunk-AK622KIG.mjs} +1 -1
  30. package/dist/cli/{chunk-FU4MMUGM.js → chunk-B2AS3R5W.js} +16 -16
  31. package/dist/cli/{chunk-VCRCMK7M.mjs → chunk-BDWZBMGV.mjs} +5 -5
  32. package/dist/cli/{chunk-B77ZRM6M.mjs → chunk-BXIUZM5N.mjs} +2 -2
  33. package/dist/cli/{chunk-2ZGZBN6D.js → chunk-D3J2Y2BP.js} +14 -14
  34. package/dist/cli/{chunk-VHHD5D44.js → chunk-DGKTHWWH.js} +122 -104
  35. package/dist/cli/{chunk-T2QY36E3.mjs → chunk-DQ5ADV2J.mjs} +1 -1
  36. package/dist/cli/{chunk-SMDX4BM5.js → chunk-DZS4JC7I.js} +2 -2
  37. package/dist/cli/{chunk-VN432I4S.mjs → chunk-E7TP25I2.mjs} +1 -1
  38. package/dist/cli/{chunk-KEE57BF2.js → chunk-EGTUOYYG.js} +7 -7
  39. package/dist/cli/{chunk-DSNTHXR7.mjs → chunk-ENCA6O2D.mjs} +2 -2
  40. package/dist/cli/{chunk-GABQIZJR.mjs → chunk-EYXUAJAU.mjs} +5 -5
  41. package/dist/cli/{chunk-2T7YE5UH.js → chunk-GTXSUPCJ.js} +2 -2
  42. package/dist/cli/{chunk-NQDUXVBK.js → chunk-GVGQ6NZW.js} +41 -41
  43. package/dist/cli/{chunk-AQHMHYXX.js → chunk-HCD36BP6.js} +44 -44
  44. package/dist/cli/{chunk-NBIDYAN6.js → chunk-HPJAE6PP.js} +6 -6
  45. package/dist/cli/{chunk-7S3DJFW5.js → chunk-IX45S5VC.js} +11 -11
  46. package/dist/cli/{chunk-TS6XF2QP.js → chunk-JBBJDFUJ.js} +5 -5
  47. package/dist/cli/{chunk-THQPLSJD.mjs → chunk-KJVY7V2X.mjs} +1 -1
  48. package/dist/cli/{chunk-GBVTSWL3.js → chunk-KSA2XE4T.js} +182 -127
  49. package/dist/cli/{chunk-VZKCZO4J.mjs → chunk-KXQCUX3X.mjs} +3 -3
  50. package/dist/cli/{chunk-WU33X2QL.js → chunk-LGRZCHKC.js} +16 -16
  51. package/dist/cli/{chunk-RRCSFOF3.mjs → chunk-MG6YL4M7.mjs} +24 -6
  52. package/dist/cli/{chunk-KQW27FSR.js → chunk-MQORQ7WL.js} +53 -53
  53. package/dist/cli/{chunk-O7JU5GUR.js → chunk-MQX363YF.js} +5 -5
  54. package/dist/cli/{chunk-4S3ONSLF.js → chunk-MYSKWJMA.js} +13 -13
  55. package/dist/cli/{chunk-HR2RDDAC.js → chunk-NDFNBJGL.js} +26 -26
  56. package/dist/cli/{chunk-TFWREZYG.mjs → chunk-NNAE7E23.mjs} +6 -6
  57. package/dist/cli/{chunk-VIC2MI4W.mjs → chunk-O53LHONF.mjs} +2 -2
  58. package/dist/cli/{chunk-EJLCIQA4.mjs → chunk-OMVVHX4U.mjs} +5 -5
  59. package/dist/cli/{chunk-64CEFPF4.js → chunk-RH3YRMUY.js} +1 -1
  60. package/dist/cli/{chunk-V6LUMGVI.js → chunk-SUWTLXCV.js} +35 -0
  61. package/dist/cli/{chunk-47UF3DDN.mjs → chunk-TG2UB3A5.mjs} +1 -1
  62. package/dist/cli/{chunk-C6VCDDDD.mjs → chunk-TQH3533L.mjs} +5 -5
  63. package/dist/cli/{chunk-MHTKWZM3.js → chunk-TVINIDHB.js} +9 -9
  64. package/dist/cli/{chunk-CSMLW5VE.js → chunk-UWNVFAFN.js} +4 -4
  65. package/dist/cli/{chunk-H6OYTU2Y.js → chunk-V7SCRUFQ.js} +6 -6
  66. package/dist/cli/{chunk-HREGFD2I.mjs → chunk-VAG5YKP6.mjs} +1 -1
  67. package/dist/cli/{chunk-JJSJ47CA.js → chunk-VE7ZPLN2.js} +22 -22
  68. package/dist/cli/{chunk-O2A4C4WP.mjs → chunk-WDNRPZED.mjs} +2 -2
  69. package/dist/cli/{chunk-VWEDIFHT.mjs → chunk-WR4WETRU.mjs} +4 -4
  70. package/dist/cli/{chunk-BQ2KAFVQ.js → chunk-XBK6WCVA.js} +3 -3
  71. package/dist/cli/{chunk-AOAXIJL2.mjs → chunk-XRZJKHUA.mjs} +3 -3
  72. package/dist/cli/command-docs.js +2 -2
  73. package/dist/cli/command-docs.mjs +1 -1
  74. package/dist/cli/{csv-LM44ZFL3.mjs → csv-4ID4E5W3.mjs} +4 -4
  75. package/dist/cli/{csv-4JBCPMEH.js → csv-U3M2G76R.js} +13 -13
  76. package/dist/cli/{db-UVNXGK6L.js → db-IHAQIKEQ.js} +27 -27
  77. package/dist/cli/{db-IFJEGJ6M.mjs → db-LHX5BBCZ.mjs} +6 -6
  78. package/dist/cli/{describe-TWTOPGII.mjs → describe-CI4MREFF.mjs} +18 -18
  79. package/dist/cli/describe-IVTSD7ST.js +50 -0
  80. package/dist/cli/describe-core.d.mts +2 -2
  81. package/dist/cli/describe-core.d.ts +2 -2
  82. package/dist/cli/{executions-3I6RU7AO.js → executions-CJ5LV23G.js} +8 -8
  83. package/dist/cli/{executions-NEV2P5MX.mjs → executions-UJ6JZUL5.mjs} +6 -6
  84. package/dist/cli/{feedback-NHO56EWZ.js → feedback-TGUBVGRP.js} +14 -14
  85. package/dist/cli/{feedback-IO5ZAWKK.mjs → feedback-YGTPJBRJ.mjs} +6 -6
  86. package/dist/cli/{git-MQISNZ5F.mjs → git-3DOTQHJO.mjs} +5 -5
  87. package/dist/cli/git-R3W25XIF.js +25 -0
  88. package/dist/cli/index.js +145 -145
  89. package/dist/cli/index.mjs +44 -44
  90. package/dist/cli/{legacy-noops-SLAQE7HN.js → legacy-noops-BHEHVFHI.js} +9 -9
  91. package/dist/cli/{legacy-noops-DNRJHNQB.mjs → legacy-noops-RBBYRVLG.mjs} +6 -6
  92. package/dist/cli/{monitors-NAX7SUAR.mjs → monitors-5AJCG6IV.mjs} +7 -7
  93. package/dist/cli/{monitors-JRNATYS2.js → monitors-XECKLAXA.js} +100 -100
  94. package/dist/cli/{org-BHOREX5D.js → org-DOBAIYWG.js} +86 -86
  95. package/dist/cli/{org-34VCNPUD.mjs → org-ZAAIEZKB.mjs} +6 -6
  96. package/dist/cli/{pages-ZWVHNJOE.mjs → pages-FUOSF6BE.mjs} +6 -6
  97. package/dist/cli/{pages-GB337AQG.js → pages-TLC2N6L7.js} +18 -18
  98. package/dist/cli/{play-DAUQ7OAO.js → play-E74VN6B7.js} +317 -317
  99. package/dist/cli/{play-GJ7OEYSB.mjs → play-KLYRMQPF.mjs} +18 -18
  100. package/dist/cli/{providers-W7QY5FUK.js → providers-APZ6SOSK.js} +9 -9
  101. package/dist/cli/{providers-KA2RKD6E.mjs → providers-XTQXV5LB.mjs} +6 -6
  102. package/dist/cli/{quickstart-D4DPUR7R.js → quickstart-S6WN6NWW.js} +6 -6
  103. package/dist/cli/{quickstart-7KOAL3BD.mjs → quickstart-X7RHHQCH.mjs} +4 -4
  104. package/dist/cli/{run-QFVN2WUQ.js → run-3YLIJJ57.js} +41 -41
  105. package/dist/cli/{run-AYJSQED7.mjs → run-TZPBBSPX.mjs} +23 -23
  106. package/dist/cli/search-NB5CBALV.js +33 -0
  107. package/dist/cli/{search-MEE7OV2B.mjs → search-VLHE2CMZ.mjs} +8 -8
  108. package/dist/cli/{search-output-G36JH6D6.mjs → search-output-73BYB7UE.mjs} +4 -4
  109. package/dist/cli/{search-output-OW6UPOI6.js → search-output-GCT7PQIT.js} +6 -6
  110. package/dist/cli/{secrets-CJJQJUJC.js → secrets-J6CEKXKQ.js} +15 -15
  111. package/dist/cli/{secrets-OFNYIJT6.mjs → secrets-RLOTGKQZ.mjs} +6 -6
  112. package/dist/cli/{sessions-B6VCVU4Z.mjs → sessions-7HZ7OZ62.mjs} +6 -6
  113. package/dist/cli/sessions-SFCZSB77.js +22 -0
  114. package/dist/cli/{settings-PPFLSXDP.mjs → settings-72K5YCIS.mjs} +13 -13
  115. package/dist/cli/{settings-H4Q524LF.js → settings-WRV5XEZC.js} +86 -86
  116. package/dist/cli/{setup-WI3WDRRE.mjs → setup-KQFY6WT4.mjs} +10 -10
  117. package/dist/cli/{setup-SJAM7XHR.js → setup-QVXWT2EQ.js} +50 -50
  118. package/dist/cli/{skills-QSRYGMG2.mjs → skills-C3K3E473.mjs} +8 -8
  119. package/dist/cli/skills-WIJEHVLA.js +37 -0
  120. package/dist/cli/{tools-RUC4ULAD.mjs → tools-4A2OH6MB.mjs} +17 -17
  121. package/dist/cli/tools-VMMERMLO.js +57 -0
  122. package/dist/cli/update-54WZQDTS.js +35 -0
  123. package/dist/cli/{update-DPWNL2UB.mjs → update-BS6USKPR.mjs} +10 -10
  124. package/dist/cli/{views-CVDVQALA.js → views-4NZGAXHL.js} +18 -18
  125. package/dist/cli/{views-JP66QRA3.mjs → views-WB6GFTRX.mjs} +6 -6
  126. package/dist/cli/{workflow-MVTX2PY3.mjs → workflow-2D4WX55R.mjs} +7 -7
  127. package/dist/cli/{workflow-JM6JUI7I.js → workflow-L2QTQZYV.js} +17 -17
  128. package/dist/{client-CBCVhL8U.d.ts → client-DQm56zMs.d.ts} +1 -1
  129. package/dist/{client-Bd2meveV.d.mts → client-DoUVSkqC.d.mts} +1 -1
  130. package/dist/{client-core-CsRRWCFy.d.ts → client-core-C7KkUIE_.d.ts} +32 -1
  131. package/dist/{client-core-CGj8V9mw.d.mts → client-core-CPlwsC1Q.d.mts} +32 -1
  132. package/dist/index.d.mts +3 -3
  133. package/dist/index.d.ts +3 -3
  134. package/dist/index.js +9 -9
  135. package/dist/index.mjs +6 -6
  136. package/dist/install-integrity.json +110 -110
  137. package/dist/plays/play-description.d.mts +1 -1
  138. package/dist/plays/play-description.d.ts +1 -1
  139. package/dist/plays/run-request.d.mts +1 -1
  140. package/dist/plays/run-request.d.ts +1 -1
  141. package/dist/release.d.mts +1 -1
  142. package/dist/release.d.ts +1 -1
  143. package/dist/release.js +2 -2
  144. package/dist/release.mjs +1 -1
  145. package/dist/server.d.mts +2 -2
  146. package/dist/server.d.ts +2 -2
  147. package/dist/server.js +5 -5
  148. package/dist/server.mjs +3 -3
  149. package/package.json +1 -1
  150. package/dist/cli/auth-7YWTPQSQ.js +0 -43
  151. package/dist/cli/describe-AF73GGH6.js +0 -50
  152. package/dist/cli/git-AOKC6WL3.js +0 -25
  153. package/dist/cli/search-JVCK5AB4.js +0 -33
  154. package/dist/cli/sessions-DXN6BQ7Q.js +0 -22
  155. package/dist/cli/skills-6MNJK2VQ.js +0 -37
  156. package/dist/cli/tools-OT43MSZE.js +0 -57
  157. package/dist/cli/update-PHOSO3TL.js +0 -35
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
5
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
6
6
 
7
7
 
8
- var _chunkBQ2KAFVQjs = require('./chunk-BQ2KAFVQ.js');
8
+ var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
39
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
139
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
153
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
200
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
227
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
254
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
269
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkBQ2KAFVQjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkXBK6WCVAjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkKEE57BF2js.openInBrowser.call(void 0, connectUrl);
292
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkEGTUOYYGjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
322
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
371
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkKEE57BF2js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkEGTUOYYGjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkKEE57BF2js.printCommandEnvelope.call(void 0,
392
+ _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-W5KSUNTE.mjs";
3
+ } from "./chunk-2P3NVX65.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-T2QY36E3.mjs";
6
+ } from "./chunk-DQ5ADV2J.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-7AOFSZJM.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-O2A4C4WP.mjs";
17
+ } from "./chunk-WDNRPZED.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-YM6JAKYP.mjs";
21
+ } from "./chunk-5LZ5VSOK.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-S2HHY26V.mjs";
24
+ } from "./chunk-62SOZ67Y.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-VN432I4S.mjs";
28
+ } from "./chunk-E7TP25I2.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-S2HHY26V.mjs";
5
+ } from "./chunk-62SOZ67Y.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-VN432I4S.mjs";
8
+ } from "./chunk-E7TP25I2.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-O2A4C4WP.mjs";
6
+ } from "./chunk-WDNRPZED.mjs";
7
7
  import {
8
8
  resolveSdkCliFailureExitCode
9
- } from "./chunk-YM6JAKYP.mjs";
9
+ } from "./chunk-5LZ5VSOK.mjs";
10
10
  import {
11
11
  errorToJsonPayload,
12
12
  printCommandEnvelope
13
- } from "./chunk-S2HHY26V.mjs";
13
+ } from "./chunk-62SOZ67Y.mjs";
14
14
  import {
15
15
  resolveConfig,
16
16
  sdkCliStateDirPath
17
- } from "./chunk-VN432I4S.mjs";
17
+ } from "./chunk-E7TP25I2.mjs";
18
18
 
19
19
  // src/cli/commands/search.ts
20
20
  import { Option } from "commander";
@@ -136,7 +136,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
136
136
  }
137
137
  const client = new DeeplineClient();
138
138
  const json = options.json === true;
139
- const renderer = json ? void 0 : await import("./search-output-G36JH6D6.mjs");
139
+ const renderer = json ? void 0 : await import("./search-output-73BYB7UE.mjs");
140
140
  const searches = [];
141
141
  const chunks = [];
142
142
  const refs = /* @__PURE__ */ new Map();
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.532",
52
+ version: "0.3.534",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -613,6 +613,41 @@ Examples:
613
613
  [[cli:deepline tools balance leadmagic --json]]
614
614
  `
615
615
  },
616
+ "tools workspace-connections": {
617
+ core: `
618
+ Purpose:
619
+ List shared OAuth connections in an enrolled internal Enterprise workspace.
620
+ Output:
621
+ [[cli:Use --json for records with provider, status, label, and connection version.]]
622
+ Cost:
623
+ Does not spend Deepline credits.
624
+ `,
625
+ rolloutFeature: "google-calendar-availability-pilot"
626
+ },
627
+ "tools workspace-connection": {
628
+ core: `
629
+ Purpose:
630
+ Manage a shared HubSpot or Google Calendar connection as a workspace admin.
631
+ Input:
632
+ Pass the provider and connect, reconnect, replace, or disconnect.
633
+ Complete OAuth consent in the browser.
634
+ Cost:
635
+ Does not spend Deepline credits.
636
+ `,
637
+ rolloutFeature: "google-calendar-availability-pilot"
638
+ },
639
+ "tools availability-calendars": {
640
+ core: `
641
+ Purpose:
642
+ Find out where to get calendar IDs for the managed availability pilot.
643
+ Output:
644
+ Instructions to get calendar IDs from Google Calendar or the calendar owners
645
+ and use those IDs in tool and Play inputs.
646
+ Cost:
647
+ Does not spend Deepline credits.
648
+ `,
649
+ rolloutFeature: "google-calendar-availability-pilot"
650
+ },
616
651
  "tools connect": {
617
652
  core: `
618
653
  Purpose:
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZPGGW27Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-3NUYO5QO.mjs";
20
+ } from "./chunk-AK622KIG.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-GABQIZJR.mjs";
7
+ } from "./chunk-EYXUAJAU.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-VCRCMK7M.mjs";
11
+ } from "./chunk-BDWZBMGV.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-S2HHY26V.mjs";
15
+ } from "./chunk-62SOZ67Y.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-VN432I4S.mjs";
18
+ } from "./chunk-E7TP25I2.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-47UF3DDN.mjs";
21
+ } from "./chunk-TG2UB3A5.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkVHHD5D44js = require('./chunk-VHHD5D44.js');
6
+ var _chunkDGKTHWWHjs = require('./chunk-DGKTHWWH.js');
7
7
 
8
8
 
9
9
  var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
@@ -11,7 +11,7 @@ var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
14
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
15
15
 
16
16
 
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkKEE57BF2js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkEGTUOYYGjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkKEE57BF2js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkKEE57BF2js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkEGTUOYYGjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkEGTUOYYGjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkVHHD5D44js.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkDGKTHWWHjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkVHHD5D44js.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkDGKTHWWHjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkKEE57BF2js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkKEE57BF2js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkEGTUOYYGjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkEGTUOYYGjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkKEE57BF2js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkEGTUOYYGjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
18
18
 
19
19
 
20
- var _chunk64CEFPF4js = require('./chunk-64CEFPF4.js');
20
+ var _chunkRH3YRMUYjs = require('./chunk-RH3YRMUY.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunk64CEFPF4js.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunk64CEFPF4js.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk64CEFPF4js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkRH3YRMUYjs.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkRH3YRMUYjs.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkRH3YRMUYjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _fs = require('fs');
@@ -8,7 +8,7 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
11
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -249,7 +249,7 @@ function projectRunDatasetCell(value) {
249
249
  const logicalValue = parseSerializedDatasetValue(value);
250
250
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
251
251
  if (typeof logicalValue === "object") {
252
- return _chunkKEE57BF2js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
252
+ return _chunkEGTUOYYGjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
253
  }
254
254
  return logicalValue;
255
255
  }
@@ -641,7 +641,7 @@ function csvText(rows, columns = []) {
641
641
  rows: rows.map((row) => record(row) ? row : { value: row }),
642
642
  columns
643
643
  });
644
- return _chunkKEE57BF2js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
644
+ return _chunkEGTUOYYGjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
645
  }
646
646
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
647
647
  let temp;
@@ -768,7 +768,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
768
768
  };
769
769
  if (options.receiptOut && !skipReceiptFile) {
770
770
  persist(options.receiptOut, jsonText(receipt));
771
- _chunkKEE57BF2js.markJsonOutputHandled.call(void 0, );
771
+ _chunkEGTUOYYGjs.markJsonOutputHandled.call(void 0, );
772
772
  } else {
773
773
  printReceipt(receipt, options, {
774
774
  data: hasData ? result.data : void 0,
@@ -1027,8 +1027,8 @@ function printReceipt(receipt, options, extra) {
1027
1027
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1028
  ` : receiptText(receipt, options, extra);
1029
1029
  if (options.receiptOut !== void 0) {
1030
- _chunkKEE57BF2js.writeRawStderr.call(void 0, text);
1031
- _chunkKEE57BF2js.markJsonOutputHandled.call(void 0, );
1030
+ _chunkEGTUOYYGjs.writeRawStderr.call(void 0, text);
1031
+ _chunkEGTUOYYGjs.markJsonOutputHandled.call(void 0, );
1032
1032
  } else {
1033
1033
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
1034
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-S2HHY26V.mjs";
3
+ } from "./chunk-62SOZ67Y.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -4,21 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkFU4MMUGMjs = require('./chunk-FU4MMUGM.js');
7
+ var _chunkB2AS3R5Wjs = require('./chunk-B2AS3R5W.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkAQHMHYXXjs = require('./chunk-AQHMHYXX.js');
11
+ var _chunkHCD36BP6js = require('./chunk-HCD36BP6.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkKEE57BF2js = require('./chunk-KEE57BF2.js');
15
+ var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
16
16
 
17
17
 
18
- var _chunkBQ2KAFVQjs = require('./chunk-BQ2KAFVQ.js');
18
+ var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
19
19
 
20
20
 
21
- var _chunkCSMLW5VEjs = require('./chunk-CSMLW5VE.js');
21
+ var _chunkUWNVFAFNjs = require('./chunk-UWNVFAFN.js');
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -45,7 +45,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
45
45
  async function reportAutoUpdateEvent(input) {
46
46
  let apiKey = "";
47
47
  try {
48
- apiKey = _chunkBQ2KAFVQjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
49
  } catch (e2) {
50
50
  return;
51
51
  }
@@ -61,15 +61,15 @@ async function reportAutoUpdateEvent(input) {
61
61
  headers: {
62
62
  Authorization: `Bearer ${apiKey}`,
63
63
  "Content-Type": "application/json",
64
- "User-Agent": `deepline-ts-sdk/${_chunkCSMLW5VEjs.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkUWNVFAFNjs.SDK_VERSION}`,
65
65
  "X-Deepline-Client-Family": "sdk",
66
66
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkCSMLW5VEjs.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkCSMLW5VEjs.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkUWNVFAFNjs.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkUWNVFAFNjs.SDK_VERSION
69
69
  },
70
70
  body: JSON.stringify({
71
71
  event: input.event,
72
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkCSMLW5VEjs.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkUWNVFAFNjs.SDK_VERSION,
73
73
  target_version: input.response.latest,
74
74
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
75
75
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -88,13 +88,13 @@ function envTruthy(name) {
88
88
  return value === "1" || value === "true" || value === "yes";
89
89
  }
90
90
  function shouldSkipSelfUpdate(policy) {
91
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkFU4MMUGMjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkAQHMHYXXjs.isCiEnvironment.call(void 0, );
91
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkB2AS3R5Wjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkHCD36BP6js.isCiEnvironment.call(void 0, );
92
92
  }
93
93
  function isDowngradeAutoUpdateResponse(response) {
94
94
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
95
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkCSMLW5VEjs.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkUWNVFAFNjs.SDK_VERSION;
96
96
  if (!target) return false;
97
- return _chunkFU4MMUGMjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunkB2AS3R5Wjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
98
  }
99
99
  function relaunchCurrentCommand(plan, runtime = {}) {
100
100
  return new Promise((resolve) => {
@@ -147,7 +147,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
147
147
  }
148
148
  if (isDowngradeAutoUpdateResponse(response)) {
149
149
  const target = response.latest;
150
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkCSMLW5VEjs.SDK_VERSION;
150
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkUWNVFAFNjs.SDK_VERSION;
151
151
  process.stderr.write(
152
152
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
153
153
  `
@@ -155,21 +155,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
155
155
  return false;
156
156
  }
157
157
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
158
- const plan = _chunkFU4MMUGMjs.resolveUpdatePlan.call(void 0, {
158
+ const plan = _chunkB2AS3R5Wjs.resolveUpdatePlan.call(void 0, {
159
159
  packageSpec,
160
160
  requireVerifiedNpmOwnership: true,
161
161
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
162
162
  });
163
- if (!_chunkFU4MMUGMjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
+ if (!_chunkB2AS3R5Wjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
164
  return false;
165
165
  }
166
166
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
167
167
  deferredAutoUpdate = async () => {
168
168
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
169
169
  };
170
- if (_chunkKEE57BF2js.isJsonOutputMode.call(void 0, )) {
170
+ if (_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) {
171
171
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
172
- _chunkKEE57BF2js.addJsonNotice.call(void 0, {
172
+ _chunkEGTUOYYGjs.addJsonNotice.call(void 0, {
173
173
  code: "sdk_update_queued",
174
174
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
175
175
  });
@@ -182,7 +182,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
182
182
  return true;
183
183
  }
184
184
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
185
- if (!_chunkFU4MMUGMjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
+ if (!_chunkB2AS3R5Wjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
186
  const autoUpdate = response.auto_update;
187
187
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
188
188
  process.stderr.write(
@@ -195,7 +195,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
195
195
  event: "started",
196
196
  installKind: plan.kind
197
197
  });
198
- const updateResult = await _chunkFU4MMUGMjs.runAutomaticUpdatePlan.call(void 0, plan);
198
+ const updateResult = await _chunkB2AS3R5Wjs.runAutomaticUpdatePlan.call(void 0, plan);
199
199
  if (updateResult.status === "skipped_previous_failure") {
200
200
  void reportAutoUpdateEvent({
201
201
  baseUrl,
@@ -233,7 +233,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
233
233
  exitCode: 0
234
234
  });
235
235
  try {
236
- await _chunkAQHMHYXXjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
236
+ await _chunkHCD36BP6js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
237
  mode: "detached",
238
238
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
239
239
  afterCliUpdate: {
@@ -260,7 +260,7 @@ var _crypto = require('crypto');
260
260
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
261
261
  var activeToolExecuteCommand = null;
262
262
  function progressLine(line) {
263
- if (!_chunkKEE57BF2js.isJsonOutputMode.call(void 0, )) console.error(line);
263
+ if (!_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
264
  }
265
265
  function beginToolExecuteCommand() {
266
266
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-RRCSFOF3.mjs";
3
+ } from "./chunk-MG6YL4M7.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-VN432I4S.mjs";
7
+ } from "./chunk-E7TP25I2.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {