deepline 0.3.491 → 0.3.493

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 (184) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +11 -5
  2. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +6 -0
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/verdict.ts +25 -9
  6. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +54 -0
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
  10. package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
  12. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +5 -3
  13. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +293 -110
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
  23. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
  24. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +104 -2
  25. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +7 -2
  26. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +4 -0
  27. package/dist/bundling-sources/shared_libs/product-notifications/content.ts +13 -0
  28. package/dist/bundling-sources/shared_libs/product-notifications/email.ts +49 -10
  29. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +22 -0
  30. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +6 -1
  31. package/dist/cli/{auth-FXAC472Y.mjs → auth-3NAY3AST.mjs} +5 -5
  32. package/dist/cli/auth-KYQLDI6V.js +43 -0
  33. package/dist/cli/{billing-PDOA3KZ3.js → billing-FSB4BBBO.js} +80 -80
  34. package/dist/cli/{billing-UM4LE33K.mjs → billing-SBWQCC7B.mjs} +7 -7
  35. package/dist/cli/{chunk-HSJK6EMU.mjs → chunk-2BRTYIAH.mjs} +23 -9
  36. package/dist/cli/{chunk-B2TXKEED.js → chunk-2H4OFVR5.js} +5 -5
  37. package/dist/cli/{chunk-BCKIBVEJ.js → chunk-2I7VN65H.js} +10 -10
  38. package/dist/cli/{chunk-LMG7O6XJ.mjs → chunk-2IHGVAGT.mjs} +2 -2
  39. package/dist/cli/{chunk-5KMGKG4B.js → chunk-2NGIBJM2.js} +8 -8
  40. package/dist/cli/{chunk-2MW6TGNZ.mjs → chunk-3QGUWB6E.mjs} +4 -4
  41. package/dist/cli/{chunk-ORKLMANE.mjs → chunk-4IJFQV3O.mjs} +1 -1
  42. package/dist/cli/{chunk-PIPEPCRL.mjs → chunk-4NIGNT7X.mjs} +1 -1
  43. package/dist/cli/{chunk-H6UIS36S.mjs → chunk-5DIZ2G74.mjs} +2 -2
  44. package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
  45. package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-5WOPBX3H.mjs} +1 -1
  46. package/dist/cli/{chunk-KGJVDR4Q.mjs → chunk-67ZG7XZV.mjs} +3 -3
  47. package/dist/cli/{chunk-DUFRH43S.js → chunk-7HABWOMB.js} +261 -261
  48. package/dist/cli/{chunk-MN6DCV63.js → chunk-AGTXL6LZ.js} +5 -5
  49. package/dist/cli/{chunk-Q7G7CU4W.js → chunk-AWMCZAUR.js} +3 -3
  50. package/dist/cli/{chunk-HHTVRICE.js → chunk-C2MRDPA5.js} +17 -17
  51. package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
  52. package/dist/cli/{chunk-O3K22ZC7.js → chunk-DWJ4RXSA.js} +34 -11
  53. package/dist/cli/{chunk-MAM6ZOVS.mjs → chunk-DYP27IWC.mjs} +99 -24
  54. package/dist/cli/{chunk-NUOKAKZW.mjs → chunk-E5ILCMKQ.mjs} +1 -1
  55. package/dist/cli/{chunk-OLHWZM4A.mjs → chunk-EBAS3UT2.mjs} +6 -6
  56. package/dist/cli/{chunk-74H5OTRM.js → chunk-EFO5GVYS.js} +1 -1
  57. package/dist/cli/{chunk-X7YOVJBC.js → chunk-EYG336YV.js} +132 -57
  58. package/dist/cli/{chunk-YV4DP6KQ.mjs → chunk-GSC35TPZ.mjs} +2 -2
  59. package/dist/cli/{chunk-EPD7NSDJ.mjs → chunk-HLM2UFQ5.mjs} +13 -5
  60. package/dist/cli/{chunk-IG3GSBBE.js → chunk-HTUSTPP4.js} +32 -32
  61. package/dist/cli/{chunk-CFPFTS3A.mjs → chunk-IJJ6D5WL.mjs} +12 -12
  62. package/dist/cli/{chunk-TH7JLR5D.js → chunk-IJOHWGPF.js} +6 -6
  63. package/dist/cli/{chunk-RFSXXDH7.js → chunk-IOBPR2VO.js} +17 -17
  64. package/dist/cli/{chunk-HNG2U3IG.js → chunk-IOMEJKGK.js} +2 -2
  65. package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-IRDYBMA7.mjs} +34 -11
  66. package/dist/cli/{chunk-ZEZ3CZ3X.js → chunk-JO2JZUBR.js} +3 -3
  67. package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
  68. package/dist/cli/{chunk-SJOHQ2WW.js → chunk-KCDZWS2B.js} +56 -56
  69. package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-KGDDQMI7.mjs} +2 -2
  70. package/dist/cli/{chunk-OYJTLEB4.mjs → chunk-KKSKYZO4.mjs} +1 -1
  71. package/dist/cli/{chunk-TMAS3WH3.js → chunk-LGTZYI5B.js} +21 -21
  72. package/dist/cli/{chunk-SUMKWA53.js → chunk-MLEUOTEQ.js} +73 -59
  73. package/dist/cli/{chunk-3WRWPNHE.mjs → chunk-NALJJTPS.mjs} +5 -5
  74. package/dist/cli/{chunk-27MRSV6O.js → chunk-NPNAEPY4.js} +26 -26
  75. package/dist/cli/{chunk-AEKJZJ4R.js → chunk-NWIDPT7H.js} +4 -4
  76. package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
  77. package/dist/cli/{chunk-3FMU6F6E.js → chunk-QTPS5RLG.js} +15 -15
  78. package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
  79. package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
  80. package/dist/cli/{chunk-S4CYM4EC.mjs → chunk-SXD2EYAH.mjs} +6 -6
  81. package/dist/cli/{chunk-YNWET57Z.js → chunk-TIFRRLZT.js} +7 -7
  82. package/dist/cli/{chunk-6PMM7VJN.mjs → chunk-TNQOR6XQ.mjs} +1 -1
  83. package/dist/cli/{chunk-6UARNRXT.js → chunk-UCMY2SO2.js} +23 -15
  84. package/dist/cli/{chunk-X75ONMDJ.mjs → chunk-VFHIYWMC.mjs} +5 -5
  85. package/dist/cli/{chunk-ZX2FXZJN.js → chunk-WCZFCOMZ.js} +7 -7
  86. package/dist/cli/{chunk-IIO7UOVW.mjs → chunk-WTFI7BVH.mjs} +3 -3
  87. package/dist/cli/{chunk-I64PYCTB.js → chunk-XLE7KXE7.js} +2 -2
  88. package/dist/cli/{chunk-CRBBGKRH.js → chunk-XQX476QK.js} +14 -14
  89. package/dist/cli/{chunk-WCWVXN3R.mjs → chunk-Y3NN2UAF.mjs} +2 -2
  90. package/dist/cli/{chunk-3K4IAV7I.mjs → chunk-ZQH4TXM2.mjs} +2 -2
  91. package/dist/cli/{chunk-VC3SH4QW.mjs → chunk-ZVW7EWTC.mjs} +7 -7
  92. package/dist/cli/{chunk-QBOE5LEH.mjs → chunk-ZVXB7OU7.mjs} +1 -1
  93. package/dist/cli/command-docs.js +2 -2
  94. package/dist/cli/command-docs.mjs +1 -1
  95. package/dist/cli/{csv-IGPAPAES.js → csv-DKYZE2KM.js} +13 -13
  96. package/dist/cli/{csv-RNMQHECI.mjs → csv-XR22YQXT.mjs} +4 -4
  97. package/dist/cli/{db-CKMVVGXJ.mjs → db-EOKG36YN.mjs} +7 -7
  98. package/dist/cli/{db-32OXM3TO.js → db-RNYRTCMV.js} +28 -28
  99. package/dist/cli/describe-ICFXOQBW.mjs +50 -0
  100. package/dist/cli/describe-RS75I33X.js +50 -0
  101. package/dist/cli/describe-core.d.mts +2 -2
  102. package/dist/cli/describe-core.d.ts +2 -2
  103. package/dist/cli/describe-core.js +4 -4
  104. package/dist/cli/describe-core.mjs +3 -3
  105. package/dist/cli/{executions-S4M4JMCU.mjs → executions-3RAOACNS.mjs} +7 -7
  106. package/dist/cli/{executions-PCZS7B2M.js → executions-OBWPSWH7.js} +9 -9
  107. package/dist/cli/{feedback-FGUJVCBS.mjs → feedback-6EQRVBKF.mjs} +4 -4
  108. package/dist/cli/{feedback-6EGKPZ3U.js → feedback-6GPEUBLF.js} +8 -8
  109. package/dist/cli/getting-started.d.mts +12 -10
  110. package/dist/cli/getting-started.d.ts +12 -10
  111. package/dist/cli/getting-started.js +4 -2
  112. package/dist/cli/getting-started.mjs +3 -1
  113. package/dist/cli/{git-LR4ARG5H.mjs → git-CVQ24DTR.mjs} +5 -5
  114. package/dist/cli/git-DEFE4SSB.js +25 -0
  115. package/dist/cli/index.js +143 -143
  116. package/dist/cli/index.mjs +43 -43
  117. package/dist/cli/{legacy-noops-S37PJ7OJ.mjs → legacy-noops-QULJZYNH.mjs} +5 -5
  118. package/dist/cli/{legacy-noops-VX4JEQR6.js → legacy-noops-XPOATG5V.js} +8 -8
  119. package/dist/cli/{monitors-H3AX6CZG.mjs → monitors-AFT5YJPZ.mjs} +49 -9
  120. package/dist/cli/{monitors-ADASJI72.js → monitors-OJ4CMREE.js} +169 -129
  121. package/dist/cli/{org-ZRJ3C56J.js → org-RKT52CSL.js} +73 -73
  122. package/dist/cli/{org-D3F5LUDW.mjs → org-WHKNXANG.mjs} +7 -7
  123. package/dist/cli/{pages-PSHU366M.mjs → pages-EEAQFGVD.mjs} +7 -7
  124. package/dist/cli/{pages-5TKO3644.js → pages-SOE3R667.js} +18 -18
  125. package/dist/cli/{play-AUDDK7XB.mjs → play-LXFWHUBP.mjs} +147 -52
  126. package/dist/cli/{play-VDAETQDI.js → play-OTJJ4E4T.js} +661 -566
  127. package/dist/cli/{providers-IURPWRWD.js → providers-RU4HIAT3.js} +10 -10
  128. package/dist/cli/{providers-X7YMZSKQ.mjs → providers-U3CPKTMM.mjs} +7 -7
  129. package/dist/cli/{quickstart-6AGWVFNX.mjs → quickstart-75AO2AJC.mjs} +5 -5
  130. package/dist/cli/{quickstart-Y6GFXLDV.js → quickstart-N72IVA2Y.js} +13 -13
  131. package/dist/cli/{run-TG7J45NS.mjs → run-IGWFL6WH.mjs} +29 -28
  132. package/dist/cli/{run-TQFGOXNT.js → run-MMYES3IW.js} +44 -43
  133. package/dist/cli/search-EQURI7SZ.js +32 -0
  134. package/dist/cli/{search-3G4J2GC6.mjs → search-FIYESBLZ.mjs} +8 -8
  135. package/dist/cli/{search-output-NPZICK5C.js → search-output-2FXN4ZWD.js} +9 -6
  136. package/dist/cli/{search-output-ZGNHDCLL.mjs → search-output-3I5KSW36.mjs} +7 -4
  137. package/dist/cli/{secrets-KTTHT4ZG.js → secrets-HCZQ6JNP.js} +16 -16
  138. package/dist/cli/{secrets-EAWJBRUD.mjs → secrets-O7IUQ3VT.mjs} +7 -7
  139. package/dist/cli/{sessions-S4YVBPAW.js → sessions-5AYTT4IW.js} +6 -6
  140. package/dist/cli/{sessions-D4Q3LCEQ.mjs → sessions-KY7A3EZO.mjs} +5 -5
  141. package/dist/cli/{settings-BAK3VOWW.js → settings-P4VFYWJK.js} +80 -80
  142. package/dist/cli/{settings-JUORW6NL.mjs → settings-WSMRR2GS.mjs} +13 -13
  143. package/dist/cli/{setup-NJPHTW32.js → setup-J7CA3EJL.js} +57 -57
  144. package/dist/cli/{setup-AXFGCXJE.mjs → setup-YTVKVQC7.mjs} +13 -13
  145. package/dist/cli/skills-KKPEGLAR.js +36 -0
  146. package/dist/cli/{skills-SKJVDJEF.mjs → skills-W5WY764N.mjs} +10 -10
  147. package/dist/cli/tools-65Y4QTW6.js +57 -0
  148. package/dist/cli/{tools-63THJVJZ.mjs → tools-YECI6N3N.mjs} +20 -20
  149. package/dist/cli/{update-KSID5F74.mjs → update-BIFBIEII.mjs} +10 -10
  150. package/dist/cli/update-WDG7VFOW.js +34 -0
  151. package/dist/cli/{workflow-BLSMWBKW.js → workflow-D2TUFFH6.js} +18 -18
  152. package/dist/cli/{workflow-C4B54X2Z.mjs → workflow-XZVDNARC.mjs} +8 -8
  153. package/dist/{client-CQgGFxAH.d.ts → client-BDB_VbE4.d.ts} +1 -1
  154. package/dist/{client-B4R1scm2.d.mts → client-CNzJ1LTF.d.mts} +1 -1
  155. package/dist/{client-core-DMvHWjub.d.mts → client-core-CSv3DlPD.d.mts} +76 -5
  156. package/dist/{client-core-BUNjKBKq.d.ts → client-core-xEa9x3pl.d.ts} +76 -5
  157. package/dist/index.d.mts +3 -3
  158. package/dist/index.d.ts +3 -3
  159. package/dist/index.js +10 -10
  160. package/dist/index.mjs +7 -7
  161. package/dist/install-integrity.json +115 -114
  162. package/dist/plays/play-description.d.mts +1 -1
  163. package/dist/plays/play-description.d.ts +1 -1
  164. package/dist/plays/run-request.d.mts +1 -1
  165. package/dist/plays/run-request.d.ts +1 -1
  166. package/dist/plays/run-request.js +2 -2
  167. package/dist/plays/run-request.mjs +1 -1
  168. package/dist/release.d.mts +1 -1
  169. package/dist/release.d.ts +1 -1
  170. package/dist/release.js +2 -2
  171. package/dist/release.mjs +1 -1
  172. package/dist/server.d.mts +2 -2
  173. package/dist/server.d.ts +2 -2
  174. package/dist/server.js +6 -6
  175. package/dist/server.mjs +4 -4
  176. package/package.json +1 -1
  177. package/dist/cli/auth-QIDL3YCW.js +0 -43
  178. package/dist/cli/describe-67GMIEIO.js +0 -50
  179. package/dist/cli/describe-QR7I3VOF.mjs +0 -50
  180. package/dist/cli/git-PIH5Z5LN.js +0 -25
  181. package/dist/cli/search-VC43NUY7.js +0 -32
  182. package/dist/cli/skills-4NQZISNK.js +0 -36
  183. package/dist/cli/tools-BAHK33FQ.js +0 -57
  184. package/dist/cli/update-EMIGRGJ7.js +0 -34
@@ -1,10 +1,10 @@
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 _chunkIG3GSBBEjs = require('./chunk-IG3GSBBE.js');
3
+ var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkZEZ3CZ3Xjs = require('./chunk-ZEZ3CZ3X.js');
7
+ var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkZEZ3CZ3Xjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkIG3GSBBEjs.PlayClient)(
142
- new (0, _chunkZEZ3CZ3Xjs.HttpClient)(config),
140
+ const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkHTUSTPP4js.PlayClient)(
142
+ new (0, _chunkJO2JZUBRjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -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 _chunkBCKIBVEJjs = require('./chunk-BCKIBVEJ.js');
3
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.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 && !_chunkBCKIBVEJjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunk2I7VN65Hjs.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 (_chunkBCKIBVEJjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkYNWET57Zjs = require('./chunk-YNWET57Z.js');
6
+ var _chunkTIFRRLZTjs = require('./chunk-TIFRRLZT.js');
7
7
 
8
8
 
9
9
 
@@ -13,7 +13,7 @@ var _chunkYNWET57Zjs = require('./chunk-YNWET57Z.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk4IP5MLWUjs = require('./chunk-4IP5MLWU.js');
16
+ var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
17
17
 
18
18
 
19
19
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -31,13 +31,13 @@ var VIEWS = {
31
31
  details: model,
32
32
  lines: [
33
33
  ...unlisted,
34
- ..._chunkYNWET57Zjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
34
+ ..._chunkTIFRRLZTjs.formatModelDescription.call(void 0, model).trimEnd().split("\n")
35
35
  ]
36
36
  };
37
37
  },
38
38
  byok: async (_value, tool) => ({
39
39
  details: _nullishCoalesce(tool.byok, () => ( {})),
40
- lines: _chunk4IP5MLWUjs.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
40
+ lines: _chunkJO5FFSR7js.byokLines.call(void 0, _nullishCoalesce(tool.byok, () => ( {})))
41
41
  })
42
42
  };
43
43
  var isFeatureView = (value) => typeof value === "string" && Object.hasOwn(VIEWS, value);
@@ -116,7 +116,7 @@ async function findNamed(reference, options, lookups) {
116
116
  const record = await lookups.play(reference2);
117
117
  if (!record) return null;
118
118
  return {
119
- described: _chunk4IP5MLWUjs.describedPlay.call(void 0, record),
119
+ described: _chunkJO5FFSR7js.describedPlay.call(void 0, record),
120
120
  record: { ...record },
121
121
  schemas: {
122
122
  inputSchema: _nullishCoalesce(record.inputSchema, () => ( null)),
@@ -131,18 +131,18 @@ async function findNamed(reference, options, lookups) {
131
131
  const features = toolFeatures(record);
132
132
  return {
133
133
  described: {
134
- ..._chunkYNWET57Zjs.describedTool.call(void 0, record, name),
134
+ ..._chunkTIFRRLZTjs.describedTool.call(void 0, record, name),
135
135
  // Shown when the tool runs only on your own credentials; otherwise
136
136
  // it is a feature, described with --feature byok.
137
137
  ..._optionalChain([byok, 'optionalAccess', _3 => _3.required]) === true ? { byok } : {},
138
138
  ...features.length ? { features: features.map(({ view: _view, ...feature }) => feature) } : {}
139
139
  },
140
- record: _chunkYNWET57Zjs.toolMetadataJsonForDescribe.call(void 0,
140
+ record: _chunkTIFRRLZTjs.toolMetadataJsonForDescribe.call(void 0,
141
141
  record,
142
142
  name,
143
143
  lookups.seedStarterScript
144
144
  ),
145
- schemas: _chunkYNWET57Zjs.publicToolSchemas.call(void 0, record),
145
+ schemas: _chunkTIFRRLZTjs.publicToolSchemas.call(void 0, record),
146
146
  feature: (featureName, value) => {
147
147
  const feature = features.find(({ name: name2 }) => name2 === featureName);
148
148
  return feature ? describeFeature(record, feature, value, {
@@ -178,7 +178,7 @@ async function describeName(name, options, lookups) {
178
178
  const note = shadows ? `Showing your workspace play "${name}". It has the same name as a Deepline ${shadows.kind.replace("_", " ")}; see that one with: ${shadows.describeCommand}` : null;
179
179
  const verbose = options.verbose === true;
180
180
  const isPlay = described.kind === "prebuilt_play" || described.kind === "custom_play";
181
- const dashboardUrl = isPlay ? _chunk4IP5MLWUjs.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
181
+ const dashboardUrl = isPlay ? _chunkJO5FFSR7js.buildPlayDashboardUrl.call(void 0, lookups.baseUrl, described.id) : null;
182
182
  if (options.webUrl) {
183
183
  if (!dashboardUrl) {
184
184
  return {
@@ -242,7 +242,7 @@ async function describeName(name, options, lookups) {
242
242
  },
243
243
  lines: [
244
244
  `${described.id} [${described.kind.replace("_", " ")}]`,
245
- ..._chunk4IP5MLWUjs.schemaLines.call(void 0, described, {
245
+ ..._chunkJO5FFSR7js.schemaLines.call(void 0, described, {
246
246
  full: true,
247
247
  secondary: true,
248
248
  ...fields.length ? { fields } : {}
@@ -251,17 +251,17 @@ async function describeName(name, options, lookups) {
251
251
  } : {
252
252
  envelope: {
253
253
  ...summary,
254
- inputs: inputs.map(_chunk4IP5MLWUjs.topLevelField),
255
- outputs: outputs.map(_chunk4IP5MLWUjs.topLevelField),
256
- ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunk4IP5MLWUjs.topLevelField) } : {},
257
- ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunk4IP5MLWUjs.topLevelField) } : {},
258
- runExamples: _chunk4IP5MLWUjs.examples.call(void 0, described, { verbose }),
254
+ inputs: inputs.map(_chunkJO5FFSR7js.topLevelField),
255
+ outputs: outputs.map(_chunkJO5FFSR7js.topLevelField),
256
+ ...described.rowInputs ? { rowInputs: described.rowInputs.map(_chunkJO5FFSR7js.topLevelField) } : {},
257
+ ...described.rowOutputs ? { rowOutputs: described.rowOutputs.map(_chunkJO5FFSR7js.topLevelField) } : {},
258
+ runExamples: _chunkJO5FFSR7js.examples.call(void 0, described, { verbose }),
259
259
  ...dashboardUrl ? { dashboardUrl } : {},
260
260
  ...shadows ? { shadows, note } : {}
261
261
  },
262
262
  lines: [
263
263
  ...note ? [`Note: ${note}`, ""] : [],
264
- ..._chunk4IP5MLWUjs.describedLines.call(void 0, described, {
264
+ ..._chunkJO5FFSR7js.describedLines.call(void 0, described, {
265
265
  cli: shown && (!named || options.cliExample === true),
266
266
  play: shown && (!named || options.playExample === true),
267
267
  explain: named,
@@ -278,7 +278,7 @@ async function describeName(name, options, lookups) {
278
278
  // its value stands, so callers of the older commands read what they did.
279
279
  { ...view.envelope, ...record }
280
280
  ) : {
281
- ..._chunk4IP5MLWUjs.describedJson.call(void 0, described, {
281
+ ..._chunkJO5FFSR7js.describedJson.call(void 0, described, {
282
282
  secondary: verbose || fields.length > 0,
283
283
  verbose
284
284
  }),
@@ -391,6 +391,7 @@ function normalizePlayRunStart(raw) {
391
391
  name: runPackage.run.playName,
392
392
  status,
393
393
  ...runPackage.run.dashboardUrl ? { dashboardUrl: runPackage.run.dashboardUrl } : {},
394
+ ...runPackage.run.runUrl ? { runUrl: runPackage.run.runUrl } : {},
394
395
  ...runPackage.rateLimited ? { rateLimited: runPackage.rateLimited } : {},
395
396
  ...isTerminalPlayRunLifecycleStatus(status) ? raw.finalStatusView === "full" && raw.runId === runPackage.run.id ? { finalStatus: raw, finalStatusView: "full" } : { finalStatus: runPackage } : {},
396
397
  package: runPackage
@@ -170,9 +170,9 @@ Auth in non-interactive shells:
170
170
  until it happens, so an unattended agent must not call it.
171
171
 
172
172
  Skills:
173
- The bare skills command reinstalls the Deepline skill files on disk. To see
174
- which skills are installed without changing anything, run
175
- skills --dry-run and read the plan.
173
+ skills install reinstalls the Deepline skill files on disk. To see which
174
+ skills are installed without changing anything, run skills install
175
+ --dry-run and read the plan.
176
176
  ]]
177
177
  `
178
178
  },
@@ -1089,7 +1089,8 @@ Input:
1089
1089
  [[cli:
1090
1090
  Output (JSON, printed when the run ends):
1091
1091
  run {id, playName, status ("completed", "failed", "stopped")},
1092
- dashboardUrl, steps[] with per-step progress, rowOutcomes, warnings,
1092
+ runUrl (the Play page with this run selected; link it when you report the
1093
+ run), dashboardUrl, steps[] with per-step progress, rowOutcomes, warnings,
1093
1094
  datasets[] {datasetId, name, storage {schema, table}}, and actions holding
1094
1095
  exact follow-up commands: getRunCmd, getFullRunCmd, getBillingCmd,
1095
1096
  getLogsCmd, exportDatasetCmds[], queryTableSqlCmds[]. Rows are not in this
@@ -1102,7 +1103,7 @@ Output (JSON, printed when the run ends):
1102
1103
  [[mcp:
1103
1104
  Output:
1104
1105
  The run package deepline_get_run returns, once the run ends: run {id,
1105
- playName, status, dashboardUrl}, steps[] with per-step progress,
1106
+ playName, status, runUrl, dashboardUrl}, steps[] with per-step progress,
1106
1107
  rowOutcomes, warnings, datasets[] {tableNamespace, sqlQualifiedTableName,
1107
1108
  actions}, and next {inspect, full, billing, logs}, each naming the MCP call
1108
1109
  for that follow-up. Pass a dataset's tableNamespace as table_namespace to
@@ -1322,14 +1323,15 @@ When:
1322
1323
  Input:
1323
1324
  The run id. --full resolves a full-only result and adds diagnostics with
1324
1325
  billing and timeline (large). --log-failed attaches the failure log window.
1326
+ --web opens the run page in a browser; --web-url prints only its URL.
1325
1327
  --input prints the original input (may contain customer data). --json
1326
1328
  prints JSON; --json run.status,datasets.name selects fields.
1327
1329
  To parse the output (also with --full), add --json; stdout is then one JSON document.
1328
1330
  ]]
1329
1331
  [[cli:
1330
1332
  Output (JSON):
1331
- kind "run_overview", run {id, playName, status, startedAt, finishedAt,
1332
- durationMs}, steps[] {id, kind, status, label, progress {total, executed,
1333
+ kind "run_overview", runUrl (the Play page with this run selected),
1334
+ run {id, playName, status, startedAt, finishedAt, durationMs}, steps[] {id, kind, status, label, progress {total, executed,
1333
1335
  reused, failed, completedRows}}, failures.steps[], errorDetails,
1334
1336
  rowOutcomes, warnings[], datasets[] {datasetId, name, rowCount, summary,
1335
1337
  storage {schema, table}, preview {returnedRows, totalRows, partial, rows}},
@@ -1341,9 +1343,9 @@ Output (JSON):
1341
1343
  ]]
1342
1344
  [[mcp:
1343
1345
  Output:
1344
- The run package (kind "play_run"): run {id, playName, status}, steps[],
1345
- rowOutcomes, warnings, datasets[] {tableNamespace, sqlQualifiedTableName,
1346
- actions}, and next.*.command, each naming the MCP call for a follow-up.
1346
+ The run package (kind "play_run"): run {id, playName, status, runUrl},
1347
+ steps[], rowOutcomes, warnings, datasets[] {tableNamespace,
1348
+ sqlQualifiedTableName, actions}, and next.*.command, each naming the MCP call for a follow-up.
1347
1349
  With full: true the package is under package, beside the diagnostics.
1348
1350
  ]]
1349
1351
  Cost:
@@ -1875,6 +1877,27 @@ Cost:
1875
1877
  },
1876
1878
  skills: {
1877
1879
  core: `
1880
+ Purpose:
1881
+ Read the Deepline agent skills (deepline-gtm and its siblings) without
1882
+ installing anything.
1883
+ When:
1884
+ Before starting GTM work, read the skill: skills show prints
1885
+ deepline-gtm, skills list names every skill, skills show <name> prints one.
1886
+ [[cli:
1887
+ Input:
1888
+ list | show [name] | install; --json. With no verb, prints this help.
1889
+ ]]
1890
+ Output:
1891
+ list prints one name and description per line; show prints the skill's
1892
+ SKILL.md as markdown. Neither writes anything.
1893
+ Cost:
1894
+ Free.
1895
+ Avoid:
1896
+ To install or refresh skill files use [[skills install]].
1897
+ `
1898
+ },
1899
+ "skills install": {
1900
+ core: `
1878
1901
  Purpose:
1879
1902
  Reinstall the Deepline agent skill files (deepline-gtm and its siblings)
1880
1903
  from the current release. It writes to disk.
@@ -1891,7 +1914,7 @@ Output (JSON):
1891
1914
  Cost:
1892
1915
  Free.
1893
1916
  Avoid:
1894
- The bare command replaces skill files; in a sandbox or a task that said
1917
+ Without --dry-run it replaces skill files; in a sandbox or a task that said
1895
1918
  not to change skills, use [[--dry-run]].
1896
1919
  `
1897
1920
  },
@@ -11,23 +11,23 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-VC3SH4QW.mjs";
14
+ } from "./chunk-ZVW7EWTC.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-X75ONMDJ.mjs";
17
+ } from "./chunk-VFHIYWMC.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-PIPEPCRL.mjs";
23
+ } from "./chunk-4NIGNT7X.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-6PMM7VJN.mjs";
27
+ } from "./chunk-TNQOR6XQ.mjs";
28
28
  import {
29
- DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE
30
- } from "./chunk-TKLDKIJU.mjs";
29
+ DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
+ } from "./chunk-5JPKRDFC.mjs";
31
31
 
32
32
  // src/cli/commands/skills.ts
33
33
  import { spawn } from "child_process";
@@ -76,15 +76,15 @@ function workspaceSkillRootsForAgents(agents) {
76
76
  )
77
77
  ].sort((a, b) => a.localeCompare(b));
78
78
  }
79
- function deeplineGtmCodexSkillFile(root) {
80
- if (root === null) return DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE;
81
- return join(
82
- root,
83
- WORKSPACE_SKILL_ROOTS_BY_AGENT.codex[0],
84
- "skills",
85
- "deepline-gtm",
86
- "SKILL.md"
79
+ function deeplineGtmSkillRoots(root) {
80
+ if (root === null) {
81
+ const claudeConfig = process.env.CLAUDE_CONFIG_DIR?.trim();
82
+ return claudeConfig ? `${join(claudeConfig, "skills")} or ~/.agents/skills` : DEEPLINE_GTM_GLOBAL_SKILL_ROOTS;
83
+ }
84
+ const [claude, codex] = ["claude-code", "codex"].map(
85
+ (agent) => join(root, WORKSPACE_SKILL_ROOTS_BY_AGENT[agent][0], "skills")
87
86
  );
87
+ return `${claude} or ${codex}`;
88
88
  }
89
89
  function installedSkillRoots(agent, scope, root) {
90
90
  if (scope === "local") {
@@ -286,7 +286,64 @@ function runProcess(command, args, cwd) {
286
286
  });
287
287
  });
288
288
  }
289
+ async function showSkills(options, name) {
290
+ const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
291
+ const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
+ try {
293
+ const response = await fetch(url, {
294
+ signal: AbortSignal.timeout(SKILLS_PROCESS_TIMEOUT_MS)
295
+ });
296
+ if (!response.ok) {
297
+ throw new Error(
298
+ response.status === 404 && name ? `no skill named ${name}; run deepline skills list` : `HTTP ${response.status} from ${url}`
299
+ );
300
+ }
301
+ if (name) {
302
+ const markdown = await response.text();
303
+ printCommandEnvelope(
304
+ { ok: true, status: "completed", skill: { name, markdown } },
305
+ { json: options.json, text: markdown }
306
+ );
307
+ return 0;
308
+ }
309
+ const index = await response.json();
310
+ const skills = (index.skills ?? []).filter(
311
+ (skill) => skill.install_surface === "v1" && skill.name
312
+ );
313
+ printCommandEnvelope(
314
+ {
315
+ ok: true,
316
+ status: "completed",
317
+ skills: skills.map(({ name: name2, description }) => ({ name: name2, description })),
318
+ next: "deepline skills show <name>"
319
+ },
320
+ {
321
+ json: options.json,
322
+ text: `${skills.map((skill) => `${skill.name}: ${skill.description ?? ""}`).join("\n")}
323
+
324
+ Read one with: deepline skills show <name>
325
+ `
326
+ }
327
+ );
328
+ return 0;
329
+ } catch (error) {
330
+ printCommandEnvelope(
331
+ {
332
+ ok: false,
333
+ status: "failed",
334
+ code: "SKILL_UNAVAILABLE",
335
+ exitCode: 5,
336
+ message: `Could not fetch skills: ${error instanceof Error ? error.message : String(error)}`
337
+ },
338
+ { json: options.json }
339
+ );
340
+ return 5;
341
+ }
342
+ }
289
343
  async function runSkillsCommand(options, dependencies = {}) {
344
+ if (options.list || options.name) {
345
+ return showSkills(options, options.list ? null : options.name ?? null);
346
+ }
290
347
  let scope;
291
348
  let root;
292
349
  try {
@@ -382,7 +439,7 @@ async function runSkillsCommand(options, dependencies = {}) {
382
439
  scope,
383
440
  agents,
384
441
  message: error.message,
385
- next: `Resolve this filesystem error, then run: deepline skills --scope ${scope}`
442
+ next: `Resolve this filesystem error, then run: deepline skills install --scope ${scope}`
386
443
  },
387
444
  { json: options.json }
388
445
  );
@@ -398,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
398
455
  scope,
399
456
  agents,
400
457
  message: "A background Deepline skills refresh is still running for these agents.",
401
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${skillsInstallLeasePath(baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${skillsInstallLeasePath(baseUrl, agents)}`
402
459
  },
403
460
  { json: options.json }
404
461
  );
@@ -456,7 +513,7 @@ async function runSkillsInstallWithLease(input) {
456
513
  scope,
457
514
  agents,
458
515
  message: error instanceof Error ? error.message : String(error),
459
- next: `deepline skills --scope ${scope}`
516
+ next: `deepline skills install --scope ${scope}`
460
517
  },
461
518
  { json: options.json }
462
519
  );
@@ -473,7 +530,7 @@ async function runSkillsInstallWithLease(input) {
473
530
  agents,
474
531
  missingSkills: missing,
475
532
  message: `The skills installer exited successfully but did not install: ${missing.join(", ")}.`,
476
- next: `deepline skills --scope ${scope}`
533
+ next: `deepline skills install --scope ${scope}`
477
534
  },
478
535
  { json: options.json }
479
536
  );
@@ -545,7 +602,25 @@ async function runSkillsInstallWithLease(input) {
545
602
  return 0;
546
603
  }
547
604
  function registerSkillsCommand(program) {
548
- program.command("skills").description("Replace Deepline agent skills with the current release.").option("--scope <scope>", "Install scope: global or local").option("--agent <agent>", "Override the detected agent target").option("--dry-run", "Print the install plan without changing files").option("--json", "Emit one JSON result envelope").addHelpText(
605
+ const skills = program.command("skills").description("List, read, and install Deepline agent skills.").addHelpText(
606
+ "after",
607
+ `
608
+ Examples:
609
+ deepline skills show
610
+ deepline skills list
611
+ deepline skills show deepline-research
612
+ deepline skills install
613
+ `
614
+ ).action(() => {
615
+ skills.outputHelp();
616
+ });
617
+ skills.command("list").description("List every Deepline agent skill; changes nothing.").option("--json", "Emit one JSON result envelope").action(async (options) => {
618
+ process.exitCode = await runSkillsCommand({ ...options, list: true });
619
+ });
620
+ skills.command("show").description("Print a skill (deepline-gtm by default); changes nothing.").argument("[name]", "A skill name", "deepline-gtm").option("--json", "Emit one JSON result envelope").action(async (name, options) => {
621
+ process.exitCode = await runSkillsCommand({ ...options, name });
622
+ });
623
+ skills.command("install").description("Replace Deepline agent skills with the current release.").option("--scope <scope>", "Install scope: global or local").option("--agent <agent>", "Override the detected agent target").option("--dry-run", "Print the install plan without changing files").option("--json", "Emit one JSON result envelope").addHelpText(
549
624
  "after",
550
625
  `
551
626
  Notes:
@@ -554,9 +629,9 @@ Notes:
554
629
  persistent project.
555
630
 
556
631
  Examples:
557
- deepline skills
558
- deepline skills --scope local
559
- deepline skills --agent codex --dry-run
632
+ deepline skills install
633
+ deepline skills install --scope local
634
+ deepline skills install --agent codex --dry-run
560
635
  `
561
636
  ).action(async (options) => {
562
637
  process.exitCode = await runSkillsCommand(options);
@@ -573,7 +648,7 @@ Examples:
573
648
  status: "failed",
574
649
  code: "SKILLS_AUTO_SYNC_CLAIM_REQUIRED",
575
650
  exitCode: 2,
576
- message: "skills-auto-sync is started by ordinary deepline commands and requires the lease token they pass; run `deepline skills` to install skills yourself."
651
+ message: "skills-auto-sync is started by ordinary deepline commands and requires the lease token they pass; run `deepline skills install` to install skills yourself."
577
652
  },
578
653
  { json: true }
579
654
  );
@@ -590,7 +665,7 @@ Examples:
590
665
 
591
666
  export {
592
667
  workspaceSkillRootsForAgents,
593
- deeplineGtmCodexSkillFile,
668
+ deeplineGtmSkillRoots,
594
669
  missingInstalledSkills,
595
670
  inferActiveSkillsScope,
596
671
  detectSkillsAgents,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-X75ONMDJ.mjs";
3
+ } from "./chunk-VFHIYWMC.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-ORKLMANE.mjs";
4
+ } from "./chunk-4IJFQV3O.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-MAM6ZOVS.mjs";
7
+ } from "./chunk-DYP27IWC.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-VC3SH4QW.mjs";
10
+ } from "./chunk-ZVW7EWTC.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-X75ONMDJ.mjs";
13
+ } from "./chunk-VFHIYWMC.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-PIPEPCRL.mjs";
16
+ } from "./chunk-4NIGNT7X.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1319,7 +1319,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1319
1319
  stderr.write(
1320
1320
  `Deepline SDK/CLI update completed, but the optional local agent-skills refresh failed. Your CLI update succeeded; this does not affect authentication, data, billing, or the command result.
1321
1321
  Skills refresh detail: ${detail}
1322
- To retry with full installer output, run: deepline skills
1322
+ To retry with full installer output, run: deepline skills install
1323
1323
  `
1324
1324
  );
1325
1325
  }
@@ -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.491",
52
+ version: "0.3.493",
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."