deepline 0.3.534 → 0.3.535

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 (166) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +22 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/call-requeue-state-machine.ts +420 -0
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +658 -25
  5. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +26 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/durable-retry-policy.ts +624 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +51 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +245 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +21 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/provider-no-progress.ts +6 -2
  11. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +10 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +55 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +6 -0
  14. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +101 -0
  15. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +63 -13
  16. package/dist/cli/auth-VDCU3T6A.js +43 -0
  17. package/dist/cli/{auth-MHQYIMVX.mjs → auth-ZCTMB5RA.mjs} +5 -5
  18. package/dist/cli/{billing-YQLNP4S5.js → billing-GVFKZQH3.js} +82 -82
  19. package/dist/cli/{billing-LX2PSBJ4.mjs → billing-OU2ZHL72.mjs} +7 -7
  20. package/dist/cli/{chunk-MQX363YF.js → chunk-243O3FH5.js} +5 -5
  21. package/dist/cli/{chunk-MYSKWJMA.js → chunk-2D6SWQTK.js} +13 -13
  22. package/dist/cli/{chunk-NDFNBJGL.js → chunk-4NLRWKZB.js} +26 -26
  23. package/dist/cli/{chunk-5LZ5VSOK.mjs → chunk-4QELPWUW.mjs} +2 -2
  24. package/dist/cli/{chunk-GTXSUPCJ.js → chunk-5EKNDNFQ.js} +2 -2
  25. package/dist/cli/{chunk-V7SCRUFQ.js → chunk-6LHX33VN.js} +6 -6
  26. package/dist/cli/{chunk-ENCA6O2D.mjs → chunk-6TYRRNXY.mjs} +2 -2
  27. package/dist/cli/{chunk-AK622KIG.mjs → chunk-7CWSAEYS.mjs} +1 -1
  28. package/dist/cli/{chunk-DZS4JC7I.js → chunk-7PXP2FQK.js} +2 -2
  29. package/dist/cli/{chunk-KJVY7V2X.mjs → chunk-7R5DAANG.mjs} +1 -1
  30. package/dist/cli/{chunk-6IFZPEJE.mjs → chunk-AUEUAPVS.mjs} +1 -1
  31. package/dist/cli/{chunk-XRZJKHUA.mjs → chunk-BF65LB7X.mjs} +3 -3
  32. package/dist/cli/{chunk-B2AS3R5W.js → chunk-CIDATNTY.js} +16 -16
  33. package/dist/cli/{chunk-UWNVFAFN.js → chunk-D4MHCCIR.js} +4 -4
  34. package/dist/cli/{chunk-GVGQ6NZW.js → chunk-DAPKLYST.js} +41 -41
  35. package/dist/cli/{chunk-BDWZBMGV.mjs → chunk-DFJODFMC.mjs} +5 -5
  36. package/dist/cli/{chunk-7GFR5Y4J.mjs → chunk-DWPY6ZID.mjs} +1 -1
  37. package/dist/cli/{chunk-KSA2XE4T.js → chunk-DYIWDUY4.js} +104 -104
  38. package/dist/cli/{chunk-5FXMEEF4.mjs → chunk-E3CLOVG5.mjs} +17 -5
  39. package/dist/cli/{chunk-DGKTHWWH.js → chunk-FGN75ZN6.js} +23 -7
  40. package/dist/cli/{chunk-MG6YL4M7.mjs → chunk-FZKPPB5P.mjs} +17 -1
  41. package/dist/cli/{chunk-2P3NVX65.mjs → chunk-G2DLG32W.mjs} +10 -10
  42. package/dist/cli/{chunk-O53LHONF.mjs → chunk-H6SWS5CG.mjs} +2 -2
  43. package/dist/cli/{chunk-XBK6WCVA.js → chunk-HWPOXCCK.js} +3 -3
  44. package/dist/cli/{chunk-HCD36BP6.js → chunk-HYBZWSSH.js} +44 -44
  45. package/dist/cli/{chunk-BXIUZM5N.mjs → chunk-J75DANZY.mjs} +2 -2
  46. package/dist/cli/{chunk-KXQCUX3X.mjs → chunk-JQQG4QL4.mjs} +3 -3
  47. package/dist/cli/{chunk-62SOZ67Y.mjs → chunk-JWWYLGUT.mjs} +2 -2
  48. package/dist/cli/{chunk-IX45S5VC.js → chunk-K3IPGMGP.js} +11 -11
  49. package/dist/cli/{chunk-OMVVHX4U.mjs → chunk-K53NKWZO.mjs} +5 -5
  50. package/dist/cli/{chunk-WR4WETRU.mjs → chunk-K76AEBFY.mjs} +4 -4
  51. package/dist/cli/{chunk-HPJAE6PP.js → chunk-KA6ZERJL.js} +6 -6
  52. package/dist/cli/{chunk-MQORQ7WL.js → chunk-KOZBZPRM.js} +53 -53
  53. package/dist/cli/{chunk-EGTUOYYG.js → chunk-KWGXHPHL.js} +7 -7
  54. package/dist/cli/{chunk-WDNRPZED.mjs → chunk-LVISZFYO.mjs} +2 -2
  55. package/dist/cli/{chunk-TVINIDHB.js → chunk-OM732MGV.js} +9 -9
  56. package/dist/cli/{chunk-JBBJDFUJ.js → chunk-PHLNYBAA.js} +5 -5
  57. package/dist/cli/{chunk-RH3YRMUY.js → chunk-PI5R65OQ.js} +1 -1
  58. package/dist/cli/{chunk-NNAE7E23.mjs → chunk-QYBAHYP4.mjs} +6 -6
  59. package/dist/cli/{chunk-TQH3533L.mjs → chunk-R2KKEHJN.mjs} +5 -5
  60. package/dist/cli/{chunk-6CEUQYMB.js → chunk-RFQWSH6I.js} +3 -3
  61. package/dist/cli/{chunk-TG2UB3A5.mjs → chunk-RKY4LBX3.mjs} +1 -1
  62. package/dist/cli/{chunk-D3J2Y2BP.js → chunk-T7RBM2WX.js} +14 -14
  63. package/dist/cli/{chunk-DQ5ADV2J.mjs → chunk-TCVCFZP6.mjs} +1 -1
  64. package/dist/cli/{chunk-LGRZCHKC.js → chunk-UUQ2OXMH.js} +16 -16
  65. package/dist/cli/{chunk-E7TP25I2.mjs → chunk-W5YJYU4G.mjs} +1 -1
  66. package/dist/cli/{chunk-VAG5YKP6.mjs → chunk-W6T23EUC.mjs} +1 -1
  67. package/dist/cli/{chunk-EYXUAJAU.mjs → chunk-WAIBM6KX.mjs} +5 -5
  68. package/dist/cli/{chunk-VE7ZPLN2.js → chunk-WNNA4L6Z.js} +22 -22
  69. package/dist/cli/{chunk-SUWTLXCV.js → chunk-XSOTEVOB.js} +17 -5
  70. package/dist/cli/{chunk-6GTGWZJG.mjs → chunk-YFZLZNTH.mjs} +2 -2
  71. package/dist/cli/{chunk-A6HNT4EE.js → chunk-ZUVE63Y7.js} +2 -2
  72. package/dist/cli/command-docs.js +2 -2
  73. package/dist/cli/command-docs.mjs +1 -1
  74. package/dist/cli/{csv-U3M2G76R.js → csv-CD55KEIO.js} +13 -13
  75. package/dist/cli/{csv-4ID4E5W3.mjs → csv-CLPVMIRF.mjs} +4 -4
  76. package/dist/cli/{db-LHX5BBCZ.mjs → db-AU4SMWUN.mjs} +6 -6
  77. package/dist/cli/{db-IHAQIKEQ.js → db-MQKLDAEO.js} +27 -27
  78. package/dist/cli/describe-5BFNHT5V.js +50 -0
  79. package/dist/cli/{describe-CI4MREFF.mjs → describe-AWJUXE2U.mjs} +18 -18
  80. package/dist/cli/describe-core.d.mts +3 -3
  81. package/dist/cli/describe-core.d.ts +3 -3
  82. package/dist/cli/{executions-CJ5LV23G.js → executions-77GOLWRM.js} +8 -8
  83. package/dist/cli/{executions-UJ6JZUL5.mjs → executions-TFIJPUX7.mjs} +6 -6
  84. package/dist/cli/{feedback-YGTPJBRJ.mjs → feedback-2WRSZ5WL.mjs} +6 -6
  85. package/dist/cli/{feedback-TGUBVGRP.js → feedback-OV5YAL3A.js} +14 -14
  86. package/dist/cli/git-HGMX52XU.js +25 -0
  87. package/dist/cli/{git-3DOTQHJO.mjs → git-VNS4ATLZ.mjs} +5 -5
  88. package/dist/cli/index.js +145 -145
  89. package/dist/cli/index.mjs +44 -44
  90. package/dist/cli/{legacy-noops-RBBYRVLG.mjs → legacy-noops-C732QDCY.mjs} +6 -6
  91. package/dist/cli/{legacy-noops-BHEHVFHI.js → legacy-noops-HDOB5C6F.js} +9 -9
  92. package/dist/cli/{monitors-5AJCG6IV.mjs → monitors-2LYEFXOU.mjs} +7 -7
  93. package/dist/cli/{monitors-XECKLAXA.js → monitors-5IUMHH3E.js} +100 -100
  94. package/dist/cli/{org-DOBAIYWG.js → org-ADW2EVAC.js} +86 -86
  95. package/dist/cli/{org-ZAAIEZKB.mjs → org-G4YGZPHS.mjs} +6 -6
  96. package/dist/cli/{pages-FUOSF6BE.mjs → pages-KXKWSCEV.mjs} +6 -6
  97. package/dist/cli/{pages-TLC2N6L7.js → pages-VTJGAI2D.js} +18 -18
  98. package/dist/cli/{play-KLYRMQPF.mjs → play-7GQ56C2D.mjs} +69 -22
  99. package/dist/cli/{play-E74VN6B7.js → play-EHSOSSHT.js} +367 -320
  100. package/dist/cli/{providers-APZ6SOSK.js → providers-PWCF6OOO.js} +9 -9
  101. package/dist/cli/{providers-XTQXV5LB.mjs → providers-WL3YTCSV.mjs} +6 -6
  102. package/dist/cli/{quickstart-X7RHHQCH.mjs → quickstart-323XOPGI.mjs} +4 -4
  103. package/dist/cli/{quickstart-S6WN6NWW.js → quickstart-ZKI5MURA.js} +6 -6
  104. package/dist/cli/{run-3YLIJJ57.js → run-XZPWA6JS.js} +41 -41
  105. package/dist/cli/{run-TZPBBSPX.mjs → run-ZCNZU3K2.mjs} +23 -23
  106. package/dist/cli/{search-VLHE2CMZ.mjs → search-CVLVSFMJ.mjs} +8 -8
  107. package/dist/cli/search-J6EY7DQN.js +33 -0
  108. package/dist/cli/{search-output-73BYB7UE.mjs → search-output-6PY6RN2R.mjs} +4 -4
  109. package/dist/cli/{search-output-GCT7PQIT.js → search-output-7HRSSRBS.js} +6 -6
  110. package/dist/cli/{secrets-RLOTGKQZ.mjs → secrets-6S2ZWDIM.mjs} +6 -6
  111. package/dist/cli/{secrets-J6CEKXKQ.js → secrets-IYD5VKY4.js} +15 -15
  112. package/dist/cli/sessions-7HPIVSQ4.js +22 -0
  113. package/dist/cli/{sessions-7HZ7OZ62.mjs → sessions-GVEX5TUJ.mjs} +6 -6
  114. package/dist/cli/{settings-72K5YCIS.mjs → settings-BN5MJZ3C.mjs} +13 -13
  115. package/dist/cli/{settings-WRV5XEZC.js → settings-CANK4HJQ.js} +86 -86
  116. package/dist/cli/{setup-KQFY6WT4.mjs → setup-JNMSCCU4.mjs} +10 -10
  117. package/dist/cli/{setup-QVXWT2EQ.js → setup-YSGKGLSJ.js} +50 -50
  118. package/dist/cli/{skills-C3K3E473.mjs → skills-QCQN2UM2.mjs} +8 -8
  119. package/dist/cli/skills-WDGSSKJZ.js +37 -0
  120. package/dist/cli/{tools-4A2OH6MB.mjs → tools-CDPOID7V.mjs} +17 -17
  121. package/dist/cli/tools-URNVXSTZ.js +57 -0
  122. package/dist/cli/{update-BS6USKPR.mjs → update-D3ZERUQ3.mjs} +10 -10
  123. package/dist/cli/update-Q6JW32IA.js +35 -0
  124. package/dist/cli/{views-4NZGAXHL.js → views-4NV2KQKA.js} +18 -18
  125. package/dist/cli/{views-WB6GFTRX.mjs → views-RDZRWQBQ.mjs} +6 -6
  126. package/dist/cli/{workflow-2D4WX55R.mjs → workflow-2CG3TVCG.mjs} +7 -7
  127. package/dist/cli/{workflow-L2QTQZYV.js → workflow-RABJCAZC.js} +17 -17
  128. package/dist/{client-DoUVSkqC.d.mts → client-DhSvMO3A.d.mts} +1 -1
  129. package/dist/{client-core-CPlwsC1Q.d.mts → client-core-CVG1Et-4.d.mts} +9 -1
  130. package/dist/{client-core-C7KkUIE_.d.ts → client-core-CdWH6Sii.d.ts} +9 -1
  131. package/dist/{client-DQm56zMs.d.ts → client-oGNJMQFd.d.ts} +1 -1
  132. package/dist/{compiler-manifest-DsxsQP-T.d.mts → compiler-manifest-D2ZlBGxj.d.mts} +44 -0
  133. package/dist/{compiler-manifest-DsxsQP-T.d.ts → compiler-manifest-D2ZlBGxj.d.ts} +44 -0
  134. package/dist/{errors-qdJUVQ3g.d.mts → errors-B-gOQdj-.d.mts} +1 -1
  135. package/dist/{errors-Bk5h1D-C.d.ts → errors-CB0KAmmV.d.ts} +1 -1
  136. package/dist/{index-PaupwX1B.d.mts → index-BbJADro4.d.mts} +1 -1
  137. package/dist/{index-bL66eHYz.d.ts → index-c3nvUGCS.d.ts} +1 -1
  138. package/dist/index.d.mts +7 -7
  139. package/dist/index.d.ts +7 -7
  140. package/dist/index.js +9 -9
  141. package/dist/index.mjs +6 -6
  142. package/dist/install-integrity.json +118 -116
  143. package/dist/plays/bundle-play-file.d.mts +3 -3
  144. package/dist/plays/bundle-play-file.d.ts +3 -3
  145. package/dist/plays/bundle-play-file.mjs +52 -0
  146. package/dist/plays/play-description.d.mts +2 -2
  147. package/dist/plays/play-description.d.ts +2 -2
  148. package/dist/plays/run-request.d.mts +2 -2
  149. package/dist/plays/run-request.d.ts +2 -2
  150. package/dist/release.d.mts +1 -1
  151. package/dist/release.d.ts +1 -1
  152. package/dist/release.js +2 -2
  153. package/dist/release.mjs +1 -1
  154. package/dist/server.d.mts +4 -4
  155. package/dist/server.d.ts +4 -4
  156. package/dist/server.js +5 -5
  157. package/dist/server.mjs +3 -3
  158. package/package.json +1 -1
  159. package/dist/cli/auth-UP2RGPI6.js +0 -43
  160. package/dist/cli/describe-IVTSD7ST.js +0 -50
  161. package/dist/cli/git-R3W25XIF.js +0 -25
  162. package/dist/cli/search-NB5CBALV.js +0 -33
  163. package/dist/cli/sessions-SFCZSB77.js +0 -22
  164. package/dist/cli/skills-WIJEHVLA.js +0 -37
  165. package/dist/cli/tools-VMMERMLO.js +0 -57
  166. package/dist/cli/update-54WZQDTS.js +0 -35
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-2P3NVX65.mjs";
3
+ } from "./chunk-G2DLG32W.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-DQ5ADV2J.mjs";
6
+ } from "./chunk-TCVCFZP6.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-WDNRPZED.mjs";
17
+ } from "./chunk-LVISZFYO.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-5LZ5VSOK.mjs";
21
+ } from "./chunk-4QELPWUW.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-62SOZ67Y.mjs";
24
+ } from "./chunk-JWWYLGUT.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-E7TP25I2.mjs";
28
+ } from "./chunk-W5YJYU4G.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-EYXUAJAU.mjs";
7
+ } from "./chunk-WAIBM6KX.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-BDWZBMGV.mjs";
11
+ } from "./chunk-DFJODFMC.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-62SOZ67Y.mjs";
15
+ } from "./chunk-JWWYLGUT.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-E7TP25I2.mjs";
18
+ } from "./chunk-W5YJYU4G.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-TG2UB3A5.mjs";
21
+ } from "./chunk-RKY4LBX3.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
3
+ var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkKWGXHPHLjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkKWGXHPHLjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZPGGW27Q.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-AK622KIG.mjs";
20
+ } from "./chunk-7CWSAEYS.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
4
+ var _chunkHWPOXCCKjs = require('./chunk-HWPOXCCK.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkUWNVFAFNjs = require('./chunk-UWNVFAFN.js');
10
+ var _chunkD4MHCCIRjs = require('./chunk-D4MHCCIR.js');
11
11
 
12
12
 
13
13
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkUWNVFAFNjs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkD4MHCCIRjs.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkUWNVFAFNjs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkD4MHCCIRjs.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkUWNVFAFNjs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkD4MHCCIRjs.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkUWNVFAFNjs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkD4MHCCIRjs.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkUWNVFAFNjs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkUWNVFAFNjs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkUWNVFAFNjs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkD4MHCCIRjs.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkD4MHCCIRjs.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkD4MHCCIRjs.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkHWPOXCCKjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkUWNVFAFNjs.SDK_VERSION,
240
+ cli_version: _chunkD4MHCCIRjs.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkUWNVFAFNjs.SDK_VERSION,
360
+ cli_version: _chunkD4MHCCIRjs.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkHWPOXCCKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkHWPOXCCKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-62SOZ67Y.mjs";
11
+ } from "./chunk-JWWYLGUT.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkKSA2XE4Tjs = require('./chunk-KSA2XE4T.js');
3
+ var _chunkDYIWDUY4js = require('./chunk-DYIWDUY4.js');
4
4
 
5
5
 
6
- var _chunkV7SCRUFQjs = require('./chunk-V7SCRUFQ.js');
6
+ var _chunk6LHX33VNjs = require('./chunk-6LHX33VN.js');
7
7
 
8
8
 
9
9
 
@@ -14,18 +14,18 @@ var _chunk5YAJGRWBjs = require('./chunk-5YAJGRWB.js');
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunkMQX363YFjs = require('./chunk-MQX363YF.js');
17
+ var _chunk243O3FH5js = require('./chunk-243O3FH5.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkD3J2Y2BPjs = require('./chunk-D3J2Y2BP.js');
21
+ var _chunkT7RBM2WXjs = require('./chunk-T7RBM2WX.js');
22
22
 
23
23
 
24
- var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
24
+ var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
28
+ var _chunkHWPOXCCKjs = require('./chunk-HWPOXCCK.js');
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  var _fs = require('fs');
@@ -34,14 +34,14 @@ var _path = require('path');
34
34
  // src/cli/doc-read-reporting.ts
35
35
  var REPORT_TIMEOUT_MS = 1e3;
36
36
  async function reportDocRead(docId) {
37
- if (_chunkD3J2Y2BPjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkT7RBM2WXjs.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkXBK6WCVAjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunkHWPOXCCKjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunkHWPOXCCKjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
41
41
  if (!apiKey) return;
42
42
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
43
43
  method: "POST",
44
- headers: _chunkD3J2Y2BPjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunkT7RBM2WXjs.failureReportHeaders.call(void 0, apiKey),
45
45
  body: JSON.stringify({ doc_id: docId }),
46
46
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
47
47
  });
@@ -54,16 +54,16 @@ function nothingNamed(name) {
54
54
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
55
55
  }
56
56
  function findNamed2(name, options) {
57
- return _chunk5YAJGRWBjs.findNamed.call(void 0, name, options, _chunk5YAJGRWBjs.describeLookupsFor.call(void 0, new (0, _chunkMQX363YFjs.DeeplineClient)()));
57
+ return _chunk5YAJGRWBjs.findNamed.call(void 0, name, options, _chunk5YAJGRWBjs.describeLookupsFor.call(void 0, new (0, _chunk243O3FH5js.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunkMQX363YFjs.DeeplineClient)();
60
+ const client = new (0, _chunk243O3FH5js.DeeplineClient)();
61
61
  const lookups = _chunk5YAJGRWBjs.describeLookupsFor.call(void 0, client);
62
62
  const outcome = await _chunk5YAJGRWBjs.describeName.call(void 0, name, options, {
63
63
  ...lookups,
64
64
  // `tools describe` has already fetched the tool for its compatibility check.
65
65
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
66
- seedStarterScript: _chunkKSA2XE4Tjs.seedToolListScript
66
+ seedStarterScript: _chunkDYIWDUY4js.seedToolListScript
67
67
  });
68
68
  if (outcome.status === "missing") {
69
69
  if (onMissing) return onMissing();
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
89
89
  ` : text;
90
90
  _fs.writeFileSync.call(void 0, path, content);
91
91
  const bytes = Buffer.byteLength(content);
92
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
92
+ _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
93
93
  { path, bytes },
94
94
  { json, text: `Wrote ${path} (${bytes} bytes)
95
95
  ` }
96
96
  );
97
97
  return 0;
98
98
  }
99
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunkV7SCRUFQjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunk6LHX33VNjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
104
  "Describe anything search returns: a tool, monitor type, or play."
105
105
  ).addHelpText(
106
106
  "after",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-TG2UB3A5.mjs";
4
+ } from "./chunk-RKY4LBX3.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-QNHHZ63P.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-62SOZ67Y.mjs";
3
+ } from "./chunk-JWWYLGUT.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-6IFZPEJE.mjs";
4
+ } from "./chunk-AUEUAPVS.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-WR4WETRU.mjs";
7
+ } from "./chunk-K76AEBFY.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-BDWZBMGV.mjs";
10
+ } from "./chunk-DFJODFMC.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-62SOZ67Y.mjs";
13
+ } from "./chunk-JWWYLGUT.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-E7TP25I2.mjs";
16
+ } from "./chunk-W5YJYU4G.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -4,21 +4,21 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkB2AS3R5Wjs = require('./chunk-B2AS3R5W.js');
7
+ var _chunkCIDATNTYjs = require('./chunk-CIDATNTY.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkHCD36BP6js = require('./chunk-HCD36BP6.js');
11
+ var _chunkHYBZWSSHjs = require('./chunk-HYBZWSSH.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
15
+ var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
16
16
 
17
17
 
18
- var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
18
+ var _chunkHWPOXCCKjs = require('./chunk-HWPOXCCK.js');
19
19
 
20
20
 
21
- var _chunkUWNVFAFNjs = require('./chunk-UWNVFAFN.js');
21
+ var _chunkD4MHCCIRjs = require('./chunk-D4MHCCIR.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 = _chunkXBK6WCVAjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
+ apiKey = _chunkHWPOXCCKjs.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/${_chunkUWNVFAFNjs.SDK_VERSION}`,
64
+ "User-Agent": `deepline-ts-sdk/${_chunkD4MHCCIRjs.SDK_VERSION}`,
65
65
  "X-Deepline-Client-Family": "sdk",
66
66
  "X-Deepline-CLI-Family": "sdk",
67
- "X-Deepline-CLI-Version": _chunkUWNVFAFNjs.SDK_VERSION,
68
- "X-Deepline-SDK-Version": _chunkUWNVFAFNjs.SDK_VERSION
67
+ "X-Deepline-CLI-Version": _chunkD4MHCCIRjs.SDK_VERSION,
68
+ "X-Deepline-SDK-Version": _chunkD4MHCCIRjs.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()]) || _chunkUWNVFAFNjs.SDK_VERSION,
72
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkD4MHCCIRjs.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") || !_chunkB2AS3R5Wjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkHCD36BP6js.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") || !_chunkCIDATNTYjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkHYBZWSSHjs.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()]) || _chunkUWNVFAFNjs.SDK_VERSION;
95
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkD4MHCCIRjs.SDK_VERSION;
96
96
  if (!target) return false;
97
- return _chunkB2AS3R5Wjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
+ return _chunkCIDATNTYjs.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()]) || _chunkUWNVFAFNjs.SDK_VERSION;
150
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkD4MHCCIRjs.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 = _chunkB2AS3R5Wjs.resolveUpdatePlan.call(void 0, {
158
+ const plan = _chunkCIDATNTYjs.resolveUpdatePlan.call(void 0, {
159
159
  packageSpec,
160
160
  requireVerifiedNpmOwnership: true,
161
161
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
162
162
  });
163
- if (!_chunkB2AS3R5Wjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
+ if (!_chunkCIDATNTYjs.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 (_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) {
170
+ if (_chunkKWGXHPHLjs.isJsonOutputMode.call(void 0, )) {
171
171
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
172
- _chunkEGTUOYYGjs.addJsonNotice.call(void 0, {
172
+ _chunkKWGXHPHLjs.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 (!_chunkB2AS3R5Wjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
+ if (!_chunkCIDATNTYjs.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 _chunkB2AS3R5Wjs.runAutomaticUpdatePlan.call(void 0, plan);
198
+ const updateResult = await _chunkCIDATNTYjs.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 _chunkHCD36BP6js.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
236
+ await _chunkHYBZWSSHjs.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 (!_chunkEGTUOYYGjs.isJsonOutputMode.call(void 0, )) console.error(line);
263
+ if (!_chunkKWGXHPHLjs.isJsonOutputMode.call(void 0, )) console.error(line);
264
264
  }
265
265
  function beginToolExecuteCommand() {
266
266
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -616,25 +616,27 @@ Examples:
616
616
  "tools workspace-connections": {
617
617
  core: `
618
618
  Purpose:
619
- List shared OAuth connections in an enrolled internal Enterprise workspace.
619
+ List managed shared OAuth connections in a workspace with Integration connections enabled.
620
620
  Output:
621
621
  [[cli:Use --json for records with provider, status, label, and connection version.]]
622
622
  Cost:
623
623
  Does not spend Deepline credits.
624
624
  `,
625
- rolloutFeature: "google-calendar-availability-pilot"
625
+ rolloutFeature: "integration-connections"
626
626
  },
627
627
  "tools workspace-connection": {
628
628
  core: `
629
629
  Purpose:
630
- Manage a shared HubSpot or Google Calendar connection as a workspace admin.
630
+ Manage shared Google Calendar access as a workspace owner or admin.
631
+ In Production, use deepline tools connect hubspot --link to manage shared HubSpot.
632
+ Enrolled Preview workspaces can manage a dedicated shared HubSpot connection here.
631
633
  Input:
632
634
  Pass the provider and connect, reconnect, replace, or disconnect.
633
635
  Complete OAuth consent in the browser.
634
636
  Cost:
635
637
  Does not spend Deepline credits.
636
638
  `,
637
- rolloutFeature: "google-calendar-availability-pilot"
639
+ rolloutFeature: "integration-connections"
638
640
  },
639
641
  "tools availability-calendars": {
640
642
  core: `
@@ -646,7 +648,7 @@ Output:
646
648
  Cost:
647
649
  Does not spend Deepline credits.
648
650
  `,
649
- rolloutFeature: "google-calendar-availability-pilot"
651
+ rolloutFeature: "integration-connections"
650
652
  },
651
653
  "tools connect": {
652
654
  core: `
@@ -1011,6 +1013,16 @@ Authoring rules:
1011
1013
  { description }) runs a
1012
1014
  prebuilt as one stage. Independent calls run together with Promise.all;
1013
1015
  a call that needs another's result waits for it.
1016
+ Retries: a call whose provider keeps failing (an outage, a 5xx other than
1017
+ a 504 timeout, a 429 past its pacing, a refusal for credits outside a
1018
+ map) is retried on a durable timer under
1019
+ Deepline's retry policy, and the Play sees the error only after those
1020
+ retries end. Set the call's own policy with deepline.tools.execute({ ...,
1021
+ retry: { maximumAttempts, initialIntervalMs, backoffCoefficient,
1022
+ maximumIntervalMs, nonRetryable } }); maximumAttempts counts the first
1023
+ attempt. A waterfall leg that falls back sets retry: { maximumAttempts: 1 }
1024
+ so its catch runs at once. Until durable retries are the default for new
1025
+ Plays, a call opts in by setting retry; retry: {} takes the defaults.
1014
1026
  Failures: catch only ProviderTransientError, and only when another
1015
1027
  provider can answer the same question. Keep the last provider outside
1016
1028
  the catch so an exhausted waterfall fails loudly. Never branch on an
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-MG6YL4M7.mjs";
6
+ } from "./chunk-FZKPPB5P.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-FKD3KL5Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-62SOZ67Y.mjs";
14
+ } from "./chunk-JWWYLGUT.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-ZPGGW27Q.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkEGTUOYYGjs = require('./chunk-EGTUOYYG.js');
3
+ var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkEGTUOYYGjs.printCommandEnvelope.call(void 0,
60
+ _chunkKWGXHPHLjs.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkSUWTLXCVjs = require('./chunk-SUWTLXCV.js');
10
+ var _chunkXSOTEVOBjs = require('./chunk-XSOTEVOB.js');
11
11
  require('./chunk-R7J7CJPZ.js');
12
12
  require('./chunk-YGCKMI5P.js');
13
13
  require('./chunk-COGTRVWW.js');
@@ -20,4 +20,4 @@ require('./chunk-COGTRVWW.js');
20
20
 
21
21
 
22
22
 
23
- exports.CLI_DOC_SURFACE = _chunkSUWTLXCVjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkSUWTLXCVjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkSUWTLXCVjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkSUWTLXCVjs.commandDocKey; exports.helpDetailFromArgv = _chunkSUWTLXCVjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkSUWTLXCVjs.renderActionExplanation; exports.renderCommandExplanation = _chunkSUWTLXCVjs.renderCommandExplanation; exports.renderDocText = _chunkSUWTLXCVjs.renderDocText;
23
+ exports.CLI_DOC_SURFACE = _chunkXSOTEVOBjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkXSOTEVOBjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkXSOTEVOBjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkXSOTEVOBjs.commandDocKey; exports.helpDetailFromArgv = _chunkXSOTEVOBjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkXSOTEVOBjs.renderActionExplanation; exports.renderCommandExplanation = _chunkXSOTEVOBjs.renderCommandExplanation; exports.renderDocText = _chunkXSOTEVOBjs.renderDocText;
@@ -7,7 +7,7 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-5FXMEEF4.mjs";
10
+ } from "./chunk-E3CLOVG5.mjs";
11
11
  import "./chunk-5LUF4LAR.mjs";
12
12
  import "./chunk-7I4B6V2S.mjs";
13
13
  import "./chunk-KRD6H754.mjs";