deepline 0.3.492 → 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 (173) 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/scheduled-jobs.json +36 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +5 -4
  8. package/dist/bundling-sources/shared_libs/play-runtime/crustdata-company-identify-batching.ts +162 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +19 -3
  10. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/receipt-sql.ts +17 -23
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +28 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +75 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +20 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +412 -59
  16. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +38 -10
  17. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +19 -11
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +165 -12
  19. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-state-machine.ts +358 -0
  20. package/dist/cli/{auth-4I6QY5WX.mjs → auth-3NAY3AST.mjs} +5 -5
  21. package/dist/cli/auth-KYQLDI6V.js +43 -0
  22. package/dist/cli/{billing-2H4GOJZY.js → billing-FSB4BBBO.js} +80 -80
  23. package/dist/cli/{billing-4F6L4JSI.mjs → billing-SBWQCC7B.mjs} +7 -7
  24. package/dist/cli/{chunk-MQ2LQOAM.mjs → chunk-2BRTYIAH.mjs} +23 -9
  25. package/dist/cli/{chunk-E47VAVAR.js → chunk-2H4OFVR5.js} +5 -5
  26. package/dist/cli/{chunk-ZDTPSVGF.js → chunk-2I7VN65H.js} +10 -10
  27. package/dist/cli/{chunk-LCCFGSV7.mjs → chunk-2IHGVAGT.mjs} +2 -2
  28. package/dist/cli/{chunk-BDUFZSUL.js → chunk-2NGIBJM2.js} +8 -8
  29. package/dist/cli/{chunk-OTUT3XTX.mjs → chunk-3QGUWB6E.mjs} +4 -4
  30. package/dist/cli/{chunk-3BRDP4UP.mjs → chunk-4IJFQV3O.mjs} +1 -1
  31. package/dist/cli/{chunk-PIC6M4X3.mjs → chunk-4NIGNT7X.mjs} +1 -1
  32. package/dist/cli/{chunk-YVOYZPMY.mjs → chunk-5DIZ2G74.mjs} +2 -2
  33. package/dist/cli/{chunk-TKLDKIJU.mjs → chunk-5JPKRDFC.mjs} +7 -5
  34. package/dist/cli/{chunk-FTXIJTV2.mjs → chunk-5WOPBX3H.mjs} +1 -1
  35. package/dist/cli/{chunk-R5MP3CIY.mjs → chunk-67ZG7XZV.mjs} +3 -3
  36. package/dist/cli/{chunk-W4FEX5ZF.js → chunk-7HABWOMB.js} +261 -261
  37. package/dist/cli/{chunk-FPLN7PHP.js → chunk-AGTXL6LZ.js} +5 -5
  38. package/dist/cli/{chunk-SE23YSBK.js → chunk-AWMCZAUR.js} +3 -3
  39. package/dist/cli/{chunk-HHTVRICE.js → chunk-C2MRDPA5.js} +17 -17
  40. package/dist/cli/{chunk-ONONSV2Q.mjs → chunk-DVQHG6AM.mjs} +1 -0
  41. package/dist/cli/{chunk-O3K22ZC7.js → chunk-DWJ4RXSA.js} +34 -11
  42. package/dist/cli/{chunk-6YO4OJPM.mjs → chunk-DYP27IWC.mjs} +99 -24
  43. package/dist/cli/{chunk-EANFUHRM.mjs → chunk-E5ILCMKQ.mjs} +1 -1
  44. package/dist/cli/{chunk-Y7QCMOGZ.mjs → chunk-EBAS3UT2.mjs} +6 -6
  45. package/dist/cli/{chunk-DJOLMS2A.js → chunk-EFO5GVYS.js} +1 -1
  46. package/dist/cli/{chunk-NF7NUKWF.js → chunk-EYG336YV.js} +132 -57
  47. package/dist/cli/{chunk-OKHBAAJG.mjs → chunk-GSC35TPZ.mjs} +2 -2
  48. package/dist/cli/{chunk-MPITIXW4.mjs → chunk-HLM2UFQ5.mjs} +13 -5
  49. package/dist/cli/{chunk-TVUE4CPW.js → chunk-HTUSTPP4.js} +32 -32
  50. package/dist/cli/{chunk-GDSZWTJK.mjs → chunk-IJJ6D5WL.mjs} +12 -12
  51. package/dist/cli/{chunk-3TISK5RQ.js → chunk-IJOHWGPF.js} +6 -6
  52. package/dist/cli/{chunk-NBL6JMIY.js → chunk-IOBPR2VO.js} +17 -17
  53. package/dist/cli/{chunk-EFFHRXKB.js → chunk-IOMEJKGK.js} +2 -2
  54. package/dist/cli/{chunk-A7ZMG2QZ.mjs → chunk-IRDYBMA7.mjs} +34 -11
  55. package/dist/cli/{chunk-B2JE3HD6.js → chunk-JO2JZUBR.js} +3 -3
  56. package/dist/cli/{chunk-4IP5MLWU.js → chunk-JO5FFSR7.js} +6 -1
  57. package/dist/cli/{chunk-O2FB42N2.js → chunk-KCDZWS2B.js} +56 -56
  58. package/dist/cli/{chunk-CGDUFVNE.mjs → chunk-KGDDQMI7.mjs} +2 -2
  59. package/dist/cli/{chunk-UUH4GQRL.mjs → chunk-KKSKYZO4.mjs} +1 -1
  60. package/dist/cli/{chunk-OTDX4A4W.js → chunk-LGTZYI5B.js} +21 -21
  61. package/dist/cli/{chunk-JJAHWKJ2.js → chunk-MLEUOTEQ.js} +73 -59
  62. package/dist/cli/{chunk-YOCEY4EI.mjs → chunk-NALJJTPS.mjs} +5 -5
  63. package/dist/cli/{chunk-HFEJ7JJT.js → chunk-NPNAEPY4.js} +26 -26
  64. package/dist/cli/{chunk-3IBKEOL4.js → chunk-NWIDPT7H.js} +4 -4
  65. package/dist/cli/{chunk-AUQQVDAB.js → chunk-PKV5CD3W.js} +1 -0
  66. package/dist/cli/{chunk-4RB74KJX.js → chunk-QTPS5RLG.js} +15 -15
  67. package/dist/cli/{chunk-4OLXMJ2L.js → chunk-RLX5ZFNX.js} +8 -6
  68. package/dist/cli/{chunk-DEJIN4DF.mjs → chunk-SAW3FBCA.mjs} +5 -0
  69. package/dist/cli/{chunk-RC366IJS.mjs → chunk-SXD2EYAH.mjs} +6 -6
  70. package/dist/cli/{chunk-YNWET57Z.js → chunk-TIFRRLZT.js} +7 -7
  71. package/dist/cli/{chunk-ZCKUNXXR.mjs → chunk-TNQOR6XQ.mjs} +1 -1
  72. package/dist/cli/{chunk-OGNIB64W.js → chunk-UCMY2SO2.js} +23 -15
  73. package/dist/cli/{chunk-O65HDVA7.mjs → chunk-VFHIYWMC.mjs} +5 -5
  74. package/dist/cli/{chunk-JHBRJDUC.js → chunk-WCZFCOMZ.js} +7 -7
  75. package/dist/cli/{chunk-FFOJRD53.mjs → chunk-WTFI7BVH.mjs} +3 -3
  76. package/dist/cli/{chunk-42Z6VC2Q.js → chunk-XLE7KXE7.js} +2 -2
  77. package/dist/cli/{chunk-Q3CCCTRQ.js → chunk-XQX476QK.js} +14 -14
  78. package/dist/cli/{chunk-F6EQWY4E.mjs → chunk-Y3NN2UAF.mjs} +2 -2
  79. package/dist/cli/{chunk-MJFVF5AW.mjs → chunk-ZQH4TXM2.mjs} +2 -2
  80. package/dist/cli/{chunk-DVGCPOEA.mjs → chunk-ZVW7EWTC.mjs} +7 -7
  81. package/dist/cli/{chunk-4GJIJHRQ.mjs → chunk-ZVXB7OU7.mjs} +1 -1
  82. package/dist/cli/command-docs.js +2 -2
  83. package/dist/cli/command-docs.mjs +1 -1
  84. package/dist/cli/{csv-JGJNDRSA.js → csv-DKYZE2KM.js} +13 -13
  85. package/dist/cli/{csv-VGXGV7YM.mjs → csv-XR22YQXT.mjs} +4 -4
  86. package/dist/cli/{db-OYG27ZBM.mjs → db-EOKG36YN.mjs} +7 -7
  87. package/dist/cli/{db-W52WJ6E5.js → db-RNYRTCMV.js} +28 -28
  88. package/dist/cli/describe-ICFXOQBW.mjs +50 -0
  89. package/dist/cli/describe-RS75I33X.js +50 -0
  90. package/dist/cli/describe-core.d.mts +2 -2
  91. package/dist/cli/describe-core.d.ts +2 -2
  92. package/dist/cli/describe-core.js +4 -4
  93. package/dist/cli/describe-core.mjs +3 -3
  94. package/dist/cli/{executions-EVE4KUGL.mjs → executions-3RAOACNS.mjs} +7 -7
  95. package/dist/cli/{executions-LAJHZGPY.js → executions-OBWPSWH7.js} +9 -9
  96. package/dist/cli/{feedback-75QB7KVG.mjs → feedback-6EQRVBKF.mjs} +4 -4
  97. package/dist/cli/{feedback-ZABCN7RT.js → feedback-6GPEUBLF.js} +8 -8
  98. package/dist/cli/getting-started.d.mts +12 -10
  99. package/dist/cli/getting-started.d.ts +12 -10
  100. package/dist/cli/getting-started.js +4 -2
  101. package/dist/cli/getting-started.mjs +3 -1
  102. package/dist/cli/{git-QIFEYQGY.mjs → git-CVQ24DTR.mjs} +5 -5
  103. package/dist/cli/git-DEFE4SSB.js +25 -0
  104. package/dist/cli/index.js +143 -143
  105. package/dist/cli/index.mjs +43 -43
  106. package/dist/cli/{legacy-noops-PNTWBBGY.mjs → legacy-noops-QULJZYNH.mjs} +5 -5
  107. package/dist/cli/{legacy-noops-2TBIAMCM.js → legacy-noops-XPOATG5V.js} +8 -8
  108. package/dist/cli/{monitors-LOHUYJEI.mjs → monitors-AFT5YJPZ.mjs} +49 -9
  109. package/dist/cli/{monitors-UKBOEGBS.js → monitors-OJ4CMREE.js} +169 -129
  110. package/dist/cli/{org-E7A6QLBW.js → org-RKT52CSL.js} +73 -73
  111. package/dist/cli/{org-JRUKUOUF.mjs → org-WHKNXANG.mjs} +7 -7
  112. package/dist/cli/{pages-K76HA473.mjs → pages-EEAQFGVD.mjs} +7 -7
  113. package/dist/cli/{pages-EUDFFLLD.js → pages-SOE3R667.js} +18 -18
  114. package/dist/cli/{play-DG2N66SV.mjs → play-LXFWHUBP.mjs} +147 -52
  115. package/dist/cli/{play-UWHNUJRA.js → play-OTJJ4E4T.js} +661 -566
  116. package/dist/cli/{providers-DZX6TTC6.js → providers-RU4HIAT3.js} +10 -10
  117. package/dist/cli/{providers-RUTTPUZD.mjs → providers-U3CPKTMM.mjs} +7 -7
  118. package/dist/cli/{quickstart-RGZZN2YE.mjs → quickstart-75AO2AJC.mjs} +5 -5
  119. package/dist/cli/{quickstart-U4NMD7KX.js → quickstart-N72IVA2Y.js} +13 -13
  120. package/dist/cli/{run-MOJWQYFQ.mjs → run-IGWFL6WH.mjs} +29 -28
  121. package/dist/cli/{run-5UNF4FHG.js → run-MMYES3IW.js} +44 -43
  122. package/dist/cli/search-EQURI7SZ.js +32 -0
  123. package/dist/cli/{search-5B3ZDU7H.mjs → search-FIYESBLZ.mjs} +8 -8
  124. package/dist/cli/{search-output-VQWJS3FN.js → search-output-2FXN4ZWD.js} +9 -6
  125. package/dist/cli/{search-output-QS4IWWHA.mjs → search-output-3I5KSW36.mjs} +7 -4
  126. package/dist/cli/{secrets-S3PJMEAC.js → secrets-HCZQ6JNP.js} +16 -16
  127. package/dist/cli/{secrets-V5XVDBIS.mjs → secrets-O7IUQ3VT.mjs} +7 -7
  128. package/dist/cli/{sessions-Y5QMEZ3D.js → sessions-5AYTT4IW.js} +6 -6
  129. package/dist/cli/{sessions-5V3X24XI.mjs → sessions-KY7A3EZO.mjs} +5 -5
  130. package/dist/cli/{settings-3U6RRO5F.js → settings-P4VFYWJK.js} +80 -80
  131. package/dist/cli/{settings-LHZYY5PT.mjs → settings-WSMRR2GS.mjs} +13 -13
  132. package/dist/cli/{setup-MLLIGO2S.js → setup-J7CA3EJL.js} +57 -57
  133. package/dist/cli/{setup-AJLWXYAN.mjs → setup-YTVKVQC7.mjs} +13 -13
  134. package/dist/cli/skills-KKPEGLAR.js +36 -0
  135. package/dist/cli/{skills-5O2MUWKK.mjs → skills-W5WY764N.mjs} +10 -10
  136. package/dist/cli/tools-65Y4QTW6.js +57 -0
  137. package/dist/cli/{tools-PWNMI5CD.mjs → tools-YECI6N3N.mjs} +20 -20
  138. package/dist/cli/{update-SXT4QW7S.mjs → update-BIFBIEII.mjs} +10 -10
  139. package/dist/cli/update-WDG7VFOW.js +34 -0
  140. package/dist/cli/{workflow-3WTF5IYT.js → workflow-D2TUFFH6.js} +18 -18
  141. package/dist/cli/{workflow-KPRM6ARO.mjs → workflow-XZVDNARC.mjs} +8 -8
  142. package/dist/{client-Cb1ej1Vr.d.ts → client-BDB_VbE4.d.ts} +1 -1
  143. package/dist/{client-vWpbLNCB.d.mts → client-CNzJ1LTF.d.mts} +1 -1
  144. package/dist/{client-core-CoBTvsXG.d.mts → client-core-CSv3DlPD.d.mts} +10 -3
  145. package/dist/{client-core-BmVs6SP0.d.ts → client-core-xEa9x3pl.d.ts} +10 -3
  146. package/dist/index.d.mts +3 -3
  147. package/dist/index.d.ts +3 -3
  148. package/dist/index.js +10 -10
  149. package/dist/index.mjs +7 -7
  150. package/dist/install-integrity.json +115 -114
  151. package/dist/plays/play-description.d.mts +1 -1
  152. package/dist/plays/play-description.d.ts +1 -1
  153. package/dist/plays/run-request.d.mts +1 -1
  154. package/dist/plays/run-request.d.ts +1 -1
  155. package/dist/plays/run-request.js +2 -2
  156. package/dist/plays/run-request.mjs +1 -1
  157. package/dist/release.d.mts +1 -1
  158. package/dist/release.d.ts +1 -1
  159. package/dist/release.js +2 -2
  160. package/dist/release.mjs +1 -1
  161. package/dist/server.d.mts +2 -2
  162. package/dist/server.d.ts +2 -2
  163. package/dist/server.js +6 -6
  164. package/dist/server.mjs +4 -4
  165. package/package.json +1 -1
  166. package/dist/cli/auth-7BCLZU6K.js +0 -43
  167. package/dist/cli/describe-FIXCRO5N.mjs +0 -50
  168. package/dist/cli/describe-G3O6OUBG.js +0 -50
  169. package/dist/cli/git-QBAR46NW.js +0 -25
  170. package/dist/cli/search-3DAEJL6S.js +0 -32
  171. package/dist/cli/skills-BBLIML5M.js +0 -36
  172. package/dist/cli/tools-X5SQXUMM.js +0 -57
  173. package/dist/cli/update-AEJ2ZSZQ.js +0 -34
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-O65HDVA7.mjs";
5
+ } from "./chunk-VFHIYWMC.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-PIC6M4X3.mjs";
25
+ } from "./chunk-4NIGNT7X.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-ZCKUNXXR.mjs";
32
+ } from "./chunk-TNQOR6XQ.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-HBL4PM5Q.mjs";
@@ -397,6 +397,22 @@ async function reportApprovalLinkShown(baseUrl, claim, mode) {
397
397
  } catch {
398
398
  }
399
399
  }
400
+ var CLAIM_REVEAL_REFUSAL_CODES = /* @__PURE__ */ new Set([
401
+ "CLAIM_ALREADY_REVEALED",
402
+ "CLAIM_REVEAL_FAILED"
403
+ ]);
404
+ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
405
+ if (status === 400 && CLAIM_REVEAL_REFUSAL_CODES.has(data.code)) {
406
+ clearPendingClaim(baseUrl, authScope);
407
+ console.error(
408
+ typeof data.error === "string" && data.error ? data.error : "Could not finish connecting. Run: deepline auth register"
409
+ );
410
+ return EXIT_AUTH;
411
+ }
412
+ console.error(`Auth status error (status ${status}).`);
413
+ if (typeof data.error === "string" && data.error) console.error(data.error);
414
+ return EXIT_SERVER;
415
+ }
400
416
  async function handleRegister(args, options) {
401
417
  const baseUrl = autoDetectBaseUrl().replace(/\/$/, "");
402
418
  let orgName = "";
@@ -498,13 +514,12 @@ async function handleRegister(args, options) {
498
514
  console.log("Status: unauthorized");
499
515
  return EXIT_AUTH;
500
516
  }
501
- if (s >= 500 || s === 0 || s === 400) {
517
+ if (s >= 500 || s === 0) {
502
518
  await sleep(2e3);
503
519
  continue;
504
520
  }
505
521
  if (s >= 400) {
506
- console.error(`Auth status error (status ${s}).`);
507
- return EXIT_SERVER;
522
+ return endClaimPollOnRefusal(s, statusData, baseUrl, authScope);
508
523
  }
509
524
  const state = String(statusData.status || "").toLowerCase();
510
525
  if (statusData.code === "REQUESTED_WORKSPACE_NOT_IN_ACCOUNT") {
@@ -588,13 +603,12 @@ async function handleWait(args) {
588
603
  console.error("Claim is invalid. Run: deepline auth register");
589
604
  return EXIT_AUTH;
590
605
  }
591
- if (status >= 500 || status === 0 || status === 400) {
606
+ if (status >= 500 || status === 0) {
592
607
  await sleep(Math.min(2e3, Math.max(0, deadline - Date.now())));
593
608
  continue;
594
609
  }
595
610
  if (status >= 400) {
596
- console.error(`Auth status error (status ${status}).`);
597
- return EXIT_SERVER;
611
+ return endClaimPollOnRefusal(status, data, baseUrl, authScope);
598
612
  }
599
613
  const state = String(data.status || "").toLowerCase();
600
614
  if (data.code === "REQUESTED_WORKSPACE_NOT_IN_ACCOUNT") {
@@ -1,16 +1,16 @@
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 _chunkTVUE4CPWjs = require('./chunk-TVUE4CPW.js');
3
+ var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
7
+ var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkTVUE4CPWjs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkHTUSTPP4js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkB2JE3HD6js.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkB2JE3HD6js.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkJO2JZUBRjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkB2JE3HD6js = require('./chunk-B2JE3HD6.js');
5
+ var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
6
6
 
7
7
 
8
- var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
8
+ var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
9
9
 
10
10
 
11
11
 
@@ -20,8 +20,8 @@ var RUN_FIELDS = new Set(
20
20
  var ROOTS = {
21
21
  describe: "name playKey reference displayName description pinned toolCategories tags origin ownerType canEdit canClone aliases inputSchema outputSchema staticPipeline csvInput rowOutputSchema runCommand examples cloneEditStarter currentPublishedVersion liveVersion triggerStatus triggerMetadata isDraftDirty latestRunId runtimeLimit activeScheduledPlays dashboardUrl command_context",
22
22
  check: "kind target checked scope name exportName valid stage issues inputSchema outputSchema recognized triggers runtimeLimit limits featureFlags sourceHash artifactHash graphHash toolGetterHints exports actions diagnostics reference origin ownerType activeScheduledPlays command_context",
23
- run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
24
- get: "schemaVersion kind run dashboardUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
23
+ run: "schemaVersion kind run datasets actions apiVersion rateLimited dashboardUrl runUrl progress rowOutcomes steps errors error warnings result resultState execution command_context diagnostics",
24
+ get: "schemaVersion kind run dashboardUrl runUrl runStatus steps failures errorDetails rowOutcomes warnings failedLogs datasets result resultState actions diagnostics command_context",
25
25
  config: "runId contract command_context",
26
26
  export: "runId datasets csv_path json_path format source rowCount columns notice metadata_path actions command_context"
27
27
  };
@@ -51,7 +51,7 @@ function parseJsonFields(args, surface) {
51
51
  );
52
52
  }
53
53
  if (parts[0] === "run" && parts[1] && !RUN_FIELDS.has(parts[1])) {
54
- const hint = parts[1] === "url" ? " Use run.dashboardUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
54
+ const hint = parts[1] === "url" ? " Use runUrl." : parts[1] === "stats" ? " Dataset summaries are in datasets; run timing is in run.durationMs." : "";
55
55
  throw new (0, _chunkDIAWYWT5js.DeeplineError)(
56
56
  `Unknown --json run field '${parts[1]}'. Available: ${[...RUN_FIELDS].join(", ")}.${hint}`,
57
57
  void 0,
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkB2JE3HD6js.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkB2JE3HD6js.HttpClient)(config) };
293
+ const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkJO2JZUBRjs.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunk3IBKEOL4js.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunk3IBKEOL4js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkB2JE3HD6js.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkJO2JZUBRjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-O65HDVA7.mjs";
4
+ } from "./chunk-VFHIYWMC.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-ZCKUNXXR.mjs";
7
+ } from "./chunk-TNQOR6XQ.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -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(); } } 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 _chunkZDTPSVGFjs = require('./chunk-ZDTPSVGF.js');
4
+ var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
5
5
 
6
6
 
7
- var _chunk3IBKEOL4js = require('./chunk-3IBKEOL4.js');
7
+ var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunk3IBKEOL4js.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkNWIDPT7Hjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkZDTPSVGFjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk2I7VN65Hjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
487
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
519
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
569
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkZDTPSVGFjs.printCommandEnvelope.call(void 0,
677
+ _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-OKHBAAJG.mjs";
6
+ } from "./chunk-GSC35TPZ.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-O65HDVA7.mjs";
9
+ } from "./chunk-VFHIYWMC.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-PIC6M4X3.mjs";
13
+ } from "./chunk-4NIGNT7X.mjs";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  import { Option } from "commander";
@@ -132,7 +132,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
132
132
  });
133
133
  if (searchRef) rememberSearchRef(searchRef);
134
134
  pointAtDescribe(result);
135
- const { renderSearchResults } = await import("./search-output-QS4IWWHA.mjs");
135
+ const { renderSearchResults } = await import("./search-output-3I5KSW36.mjs");
136
136
  printCommandEnvelope(result, {
137
137
  json: options.json === true,
138
138
  text: renderSearchResults(result, summaryWidth)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-DVGCPOEA.mjs";
3
+ } from "./chunk-ZVW7EWTC.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-ZCKUNXXR.mjs";
4
+ } from "./chunk-TNQOR6XQ.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-FFOJRD53.mjs";
3
+ } from "./chunk-WTFI7BVH.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-PIC6M4X3.mjs";
7
+ } from "./chunk-4NIGNT7X.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -34,24 +34,25 @@ var DEEPLINE_GTM_STARTER_PROMPTS = [
34
34
  var DEEPLINE_GTM_PRIMARY_STARTER_PROMPT = DEEPLINE_GTM_STARTER_PROMPTS[0].prompt;
35
35
  var DEEPLINE_GTM_HANDOFF_QUESTION = "What would you like to do with Deepline?";
36
36
  var DEEPLINE_GTM_CUSTOM_OPTION = "Tell me what you want to accomplish and I'll help you build it";
37
+ var DEEPLINE_GTM_GLOBAL_SKILL_ROOTS = "~/.claude/skills or ~/.agents/skills";
37
38
  var DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE = "~/.agents/skills/deepline-gtm/SKILL.md";
38
- function deeplineGtmStarterSkillStep(codexSkillFile) {
39
- return `Load the deepline-gtm skill first. Claude Code: invoke it with the selected prompt. Codex and others: read ${codexSkillFile}, installed mid-session so unlisted. Then run the starter command as written, adding no flags.`;
39
+ function deeplineGtmStarterSkillStep(skillRoots) {
40
+ return `Load the deepline-gtm skill first; if it's unknown or not found, read deepline-gtm/SKILL.md from ${skillRoots}. Then run the starter command as written, adding no flags.`;
40
41
  }
41
42
  var DEEPLINE_GTM_STARTER_SKILL_STEP = deeplineGtmStarterSkillStep(
42
- `${DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE} (project .agents/skills/ if setup reports local scope)`
43
+ `${DEEPLINE_GTM_GLOBAL_SKILL_ROOTS} (project .claude/skills or .agents/skills if setup reports local scope)`
43
44
  );
44
45
  var DEEPLINE_GTM_STARTER_OPTIONS = [
45
46
  ...DEEPLINE_GTM_STARTER_PROMPTS.map(({ prompt }) => prompt),
46
47
  DEEPLINE_GTM_CUSTOM_OPTION
47
48
  ];
48
- function deeplineGtmGettingStartedPayload(codexSkillFile = DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE) {
49
+ function deeplineGtmGettingStartedPayload(skillRoots = DEEPLINE_GTM_GLOBAL_SKILL_ROOTS) {
49
50
  return {
50
51
  skill: DEEPLINE_GTM_SKILL,
51
52
  examples: DEEPLINE_GTM_STARTER_PROMPTS,
52
53
  question: DEEPLINE_GTM_HANDOFF_QUESTION,
53
54
  customOption: DEEPLINE_GTM_CUSTOM_OPTION,
54
- starterBehavior: deeplineGtmStarterSkillStep(codexSkillFile),
55
+ starterBehavior: deeplineGtmStarterSkillStep(skillRoots),
55
56
  customProblemBehavior: "Turn the business problem into one exact /deepline-gtm prompt, show that reusable prompt, then execute it without asking the user to paste it again."
56
57
  };
57
58
  }
@@ -62,6 +63,7 @@ export {
62
63
  DEEPLINE_GTM_PRIMARY_STARTER_PROMPT,
63
64
  DEEPLINE_GTM_HANDOFF_QUESTION,
64
65
  DEEPLINE_GTM_CUSTOM_OPTION,
66
+ DEEPLINE_GTM_GLOBAL_SKILL_ROOTS,
65
67
  DEEPLINE_GTM_GLOBAL_CODEX_SKILL_FILE,
66
68
  deeplineGtmStarterSkillStep,
67
69
  DEEPLINE_GTM_STARTER_SKILL_STEP,
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-DEJIN4DF.mjs";
5
+ } from "./chunk-SAW3FBCA.mjs";
6
6
  import {
7
7
  Capability,
8
8
  observedMaxText
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-FFOJRD53.mjs";
6
+ } from "./chunk-WTFI7BVH.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
- } from "./chunk-ONONSV2Q.mjs";
9
+ } from "./chunk-DVQHG6AM.mjs";
10
10
  import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-O65HDVA7.mjs";
14
+ } from "./chunk-VFHIYWMC.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";