deepline 0.3.488 → 0.3.489

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 (122) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/cli/{auth-3BTWD5NT.mjs → auth-5RIU6GT7.mjs} +5 -5
  3. package/dist/cli/auth-PSIS3XA6.js +43 -0
  4. package/dist/cli/{billing-QROEPF5K.mjs → billing-T4TMPRFS.mjs} +6 -6
  5. package/dist/cli/{billing-CHCBRT2F.js → billing-T5MAGF25.js} +79 -79
  6. package/dist/cli/{chunk-N7LKHN5C.mjs → chunk-2QUROYZU.mjs} +1 -1
  7. package/dist/cli/{chunk-NSAI3D4H.mjs → chunk-35N4S2E6.mjs} +1 -1
  8. package/dist/cli/{chunk-2LNTFODA.mjs → chunk-3S5VBG6Z.mjs} +2 -2
  9. package/dist/cli/{chunk-KV5MCYQE.js → chunk-4EFD6R2V.js} +37 -37
  10. package/dist/cli/{chunk-QRBDW3X6.mjs → chunk-4GWEZPZR.mjs} +6 -1
  11. package/dist/cli/{chunk-SV2VOJF4.js → chunk-5DEJ3TLB.js} +7 -7
  12. package/dist/cli/{chunk-ZYJBIZLV.js → chunk-6FMP5XRF.js} +6 -6
  13. package/dist/cli/{chunk-IXQQWEYK.mjs → chunk-6PHHQDM6.mjs} +1 -1
  14. package/dist/cli/{chunk-TKK4TR7B.mjs → chunk-7R243PYK.mjs} +1 -1
  15. package/dist/cli/{chunk-IL5AF6AR.mjs → chunk-A7ZMG2QZ.mjs} +24 -12
  16. package/dist/cli/{chunk-IS24BRFV.mjs → chunk-C55LNEUF.mjs} +1 -1
  17. package/dist/cli/{chunk-EMPGZXFN.mjs → chunk-DHAJSTSH.mjs} +4 -4
  18. package/dist/cli/{chunk-OWYXDSU5.js → chunk-DY7T6VNT.js} +21 -21
  19. package/dist/cli/{chunk-4BVJ6YSN.js → chunk-F3TDT57M.js} +5 -5
  20. package/dist/cli/{chunk-TMIWNHL4.js → chunk-FFDWL5N2.js} +16 -16
  21. package/dist/cli/{chunk-QHMEOHN4.js → chunk-FH7ZABHW.js} +94 -94
  22. package/dist/cli/{chunk-XGQBBMSP.js → chunk-FL7NHJTS.js} +10 -10
  23. package/dist/cli/{chunk-6JTJWIXZ.js → chunk-FNKSRKTA.js} +3 -3
  24. package/dist/cli/{chunk-QT2SPITP.mjs → chunk-G7POOFBJ.mjs} +2 -2
  25. package/dist/cli/{chunk-KI74RLCP.js → chunk-GW6HV7Z7.js} +3 -3
  26. package/dist/cli/{chunk-6RZ2UVFW.mjs → chunk-H66YVVT7.mjs} +1 -1
  27. package/dist/cli/{chunk-GBQLNEB7.js → chunk-I4NWMPT3.js} +53 -53
  28. package/dist/cli/{chunk-SE252VCN.js → chunk-K2RUSHZ7.js} +4 -4
  29. package/dist/cli/{chunk-CVBMI2HY.mjs → chunk-L2GMFNAO.mjs} +3 -3
  30. package/dist/cli/{chunk-P2IEBDEG.js → chunk-LM5UIDFA.js} +7 -7
  31. package/dist/cli/{chunk-HDUDLOGI.mjs → chunk-LMUOUIBV.mjs} +5 -5
  32. package/dist/cli/{chunk-HO4PLJHS.mjs → chunk-NBHCEVWY.mjs} +4 -4
  33. package/dist/cli/{chunk-OKAZHDYN.js → chunk-O3K22ZC7.js} +24 -12
  34. package/dist/cli/{chunk-GXZK35XL.mjs → chunk-OTQ2CO6M.mjs} +2 -2
  35. package/dist/cli/{chunk-F4W4J6BT.mjs → chunk-QJ4FWKUU.mjs} +2 -2
  36. package/dist/cli/{chunk-TZSRQYKH.mjs → chunk-QXWE6PHI.mjs} +2 -2
  37. package/dist/cli/{chunk-2OHR2B5U.js → chunk-R23HZ6AV.js} +2 -2
  38. package/dist/cli/{chunk-TJRGYEDA.mjs → chunk-RACN23LT.mjs} +4 -4
  39. package/dist/cli/{chunk-4BQEGVNC.js → chunk-RI2PLVD4.js} +7 -7
  40. package/dist/cli/{chunk-73H5KG5T.js → chunk-S4F2R2LO.js} +9 -9
  41. package/dist/cli/{chunk-AYJVYXES.mjs → chunk-S5PMBDY6.mjs} +10 -10
  42. package/dist/cli/{chunk-LBFU3VRY.js → chunk-SZHNIKTR.js} +26 -26
  43. package/dist/cli/{chunk-3T6HNVZN.mjs → chunk-TMQ3PCSY.mjs} +2 -2
  44. package/dist/cli/{chunk-MBHPAZEA.js → chunk-UI67QLIR.js} +53 -53
  45. package/dist/cli/{chunk-WER5FPHI.js → chunk-UYZNRLDE.js} +6 -1
  46. package/dist/cli/{chunk-BU2MZXN6.js → chunk-UZ7VPOTA.js} +3 -3
  47. package/dist/cli/{chunk-ZJVQXD7M.js → chunk-VP65YKOA.js} +5 -5
  48. package/dist/cli/{chunk-QWEQV3R3.js → chunk-WIKIF67Q.js} +8 -8
  49. package/dist/cli/{chunk-KQKPDXIZ.mjs → chunk-WRJ6MEY5.mjs} +1 -1
  50. package/dist/cli/{chunk-C5M43H4F.mjs → chunk-Y3SG26KP.mjs} +4 -4
  51. package/dist/cli/{chunk-UUKMZK23.mjs → chunk-YEX3VNAY.mjs} +2 -2
  52. package/dist/cli/{chunk-G52LFTXC.js → chunk-YSB44HZB.js} +2 -2
  53. package/dist/cli/{chunk-XMBIESQ7.mjs → chunk-ZICPJKMP.mjs} +5 -5
  54. package/dist/cli/command-docs.js +2 -2
  55. package/dist/cli/command-docs.mjs +1 -1
  56. package/dist/cli/{csv-74EFMI3L.mjs → csv-WAD54M7T.mjs} +4 -4
  57. package/dist/cli/{csv-WQ5IPBPJ.js → csv-XTKN255I.js} +13 -13
  58. package/dist/cli/{db-JMTHP7J2.mjs → db-2ELZMJFC.mjs} +6 -6
  59. package/dist/cli/{db-LUU3EFBM.js → db-TTS6Y4FI.js} +27 -27
  60. package/dist/cli/describe-2V7H5LJP.js +49 -0
  61. package/dist/cli/{describe-PKBLERG6.mjs → describe-Z7GWMGKU.mjs} +17 -17
  62. package/dist/cli/{executions-SM32REFN.mjs → executions-2TQH54AB.mjs} +6 -6
  63. package/dist/cli/{executions-LVMXG5GY.js → executions-WUBVVJXN.js} +8 -8
  64. package/dist/cli/{feedback-AECGZDEG.js → feedback-6KAY4LE6.js} +8 -8
  65. package/dist/cli/{feedback-V7PEANAR.mjs → feedback-QI75ZVF2.mjs} +4 -4
  66. package/dist/cli/{git-BDX3U6NA.mjs → git-3PI2SXVS.mjs} +5 -5
  67. package/dist/cli/git-DCADFTQ6.js +25 -0
  68. package/dist/cli/index.js +141 -141
  69. package/dist/cli/index.mjs +41 -41
  70. package/dist/cli/{legacy-noops-JRGBSX4O.js → legacy-noops-BNEVRTQT.js} +8 -8
  71. package/dist/cli/{legacy-noops-W6E7TXE4.mjs → legacy-noops-SIDE3HLT.mjs} +5 -5
  72. package/dist/cli/{monitors-RKWUYNER.mjs → monitors-BYQ5V5MX.mjs} +7 -7
  73. package/dist/cli/{monitors-JT6QZITH.js → monitors-WRWVVXUZ.js} +91 -91
  74. package/dist/cli/{org-PALGDO5U.js → org-KWCSSJ3Y.js} +72 -72
  75. package/dist/cli/{org-5XOHJY6O.mjs → org-OZNDX3G2.mjs} +6 -6
  76. package/dist/cli/{pages-Q5MG4J6F.mjs → pages-DXU3TNND.mjs} +6 -6
  77. package/dist/cli/{pages-UKICE2RA.js → pages-OQVOMVF5.js} +17 -17
  78. package/dist/cli/{play-MR324ZTD.js → play-6D7U66KO.js} +312 -312
  79. package/dist/cli/{play-PY5AT3JQ.mjs → play-ZFG4HDDX.mjs} +17 -17
  80. package/dist/cli/{providers-V3YMXJFB.mjs → providers-4RRQIK3Q.mjs} +6 -6
  81. package/dist/cli/{providers-MGBLIMRF.js → providers-H7R3Z5HS.js} +9 -9
  82. package/dist/cli/{quickstart-LYQ5N6VI.js → quickstart-FQ5E5G6O.js} +6 -6
  83. package/dist/cli/{quickstart-MMETU4RG.mjs → quickstart-TFKRPMCH.mjs} +4 -4
  84. package/dist/cli/{run-PZ7CWOJJ.mjs → run-GRCGGUUM.mjs} +29 -134
  85. package/dist/cli/{run-A5CNTDYQ.js → run-QRDJTXKB.js} +43 -148
  86. package/dist/cli/search-2FB7WQUS.js +32 -0
  87. package/dist/cli/{search-IRDHHP7N.mjs → search-OEVSDE3U.mjs} +7 -7
  88. package/dist/cli/{search-output-N7RQNWBW.js → search-output-F6KBWKT2.js} +6 -6
  89. package/dist/cli/{search-output-7UAKSD7H.mjs → search-output-VK5ZDVKL.mjs} +4 -4
  90. package/dist/cli/{secrets-XN4UDYNN.mjs → secrets-DCRVVQV2.mjs} +6 -6
  91. package/dist/cli/{secrets-XJGQ3BLJ.js → secrets-KKAAZENS.js} +15 -15
  92. package/dist/cli/{sessions-4UUVDBAO.js → sessions-FDHENJVG.js} +6 -6
  93. package/dist/cli/{sessions-324MFEFP.mjs → sessions-XVBIXCXU.mjs} +5 -5
  94. package/dist/cli/{settings-REBKKLBF.js → settings-36HMWFAP.js} +78 -78
  95. package/dist/cli/{settings-4EZEUQOS.mjs → settings-OBVR52US.mjs} +11 -11
  96. package/dist/cli/{setup-G3VQ5NCJ.mjs → setup-KFYQZYP3.mjs} +9 -9
  97. package/dist/cli/{setup-ELPVMUCK.js → setup-M6OWOPMB.js} +47 -47
  98. package/dist/cli/{skills-RLUDQJWB.mjs → skills-AZDPA6IQ.mjs} +7 -7
  99. package/dist/cli/skills-URCPOKZZ.js +33 -0
  100. package/dist/cli/tools-4G5J5NQP.js +56 -0
  101. package/dist/cli/{tools-MRAFK3MJ.mjs → tools-F6XEUK7H.mjs} +16 -16
  102. package/dist/cli/{update-WRTYTP3Y.mjs → update-QMGJRICE.mjs} +9 -9
  103. package/dist/cli/update-UWVL2OYA.js +33 -0
  104. package/dist/cli/{workflow-ALJ3HLW4.mjs → workflow-L5WNCAPB.mjs} +7 -7
  105. package/dist/cli/{workflow-LHS32WIT.js → workflow-M4YPUASM.js} +17 -17
  106. package/dist/index.js +9 -9
  107. package/dist/index.mjs +6 -6
  108. package/dist/install-integrity.json +100 -100
  109. package/dist/release.d.mts +5 -1
  110. package/dist/release.d.ts +5 -1
  111. package/dist/release.js +2 -2
  112. package/dist/release.mjs +1 -1
  113. package/dist/server.js +5 -5
  114. package/dist/server.mjs +3 -3
  115. package/package.json +1 -1
  116. package/dist/cli/auth-F3OYGJ7T.js +0 -43
  117. package/dist/cli/describe-35UK3DNO.js +0 -49
  118. package/dist/cli/git-3KBELBUI.js +0 -25
  119. package/dist/cli/search-4SG3UMIQ.js +0 -32
  120. package/dist/cli/skills-X5FY5KJM.js +0 -33
  121. package/dist/cli/tools-PCRPD5XD.js +0 -56
  122. package/dist/cli/update-Q4ND4F7E.js +0 -33
@@ -5,7 +5,7 @@ import {
5
5
  parsePlayRunHeaderFlag,
6
6
  parsePlayRunOptions,
7
7
  resolvePlayRunCliOptions
8
- } from "./chunk-F4W4J6BT.mjs";
8
+ } from "./chunk-QJ4FWKUU.mjs";
9
9
  import {
10
10
  TABLE_EXPORT_ERROR_COLUMN,
11
11
  addDescribeOptions,
@@ -17,15 +17,15 @@ import {
17
17
  underscoreKeysLast,
18
18
  writeExecutionOutput,
19
19
  writeRunDatasetCsv
20
- } from "./chunk-6RZ2UVFW.mjs";
20
+ } from "./chunk-H66YVVT7.mjs";
21
21
  import {
22
22
  registerDeprecatedSearchCommand
23
- } from "./chunk-HO4PLJHS.mjs";
23
+ } from "./chunk-NBHCEVWY.mjs";
24
24
  import "./chunk-5AEDYVB6.mjs";
25
25
  import {
26
26
  handleDeploymentGet,
27
27
  handleDeploymentsList
28
- } from "./chunk-GXZK35XL.mjs";
28
+ } from "./chunk-OTQ2CO6M.mjs";
29
29
  import {
30
30
  buildPlayDashboardUrl
31
31
  } from "./chunk-JVHOS3K3.mjs";
@@ -57,10 +57,10 @@ import {
57
57
  import {
58
58
  pinLocalPlayImports,
59
59
  planLocalPlayExecution
60
- } from "./chunk-QT2SPITP.mjs";
60
+ } from "./chunk-G7POOFBJ.mjs";
61
61
  import {
62
62
  DeeplineClient
63
- } from "./chunk-TZSRQYKH.mjs";
63
+ } from "./chunk-QXWE6PHI.mjs";
64
64
  import {
65
65
  RUN_EVENT_SEARCH_KIND_VALUES,
66
66
  RunEventQueryInputError,
@@ -73,7 +73,7 @@ import {
73
73
  normalizePlayStatus,
74
74
  normalizeRunEventOperationRequest,
75
75
  parseLogLevel
76
- } from "./chunk-IS24BRFV.mjs";
76
+ } from "./chunk-C55LNEUF.mjs";
77
77
  import "./chunk-L2VKAASU.mjs";
78
78
  import {
79
79
  CSV_DATA_INPUT_KEY,
@@ -95,18 +95,18 @@ import "./chunk-UBKA33KY.mjs";
95
95
  import {
96
96
  checkPlayRunCompatibility,
97
97
  usesCliPlayAdmission
98
- } from "./chunk-3T6HNVZN.mjs";
98
+ } from "./chunk-TMQ3PCSY.mjs";
99
99
  import {
100
100
  isCliTraceEnabled,
101
101
  recordCliTrace,
102
102
  resolveCliMaintenancePolicy,
103
103
  traceCliSpan
104
- } from "./chunk-NSAI3D4H.mjs";
105
- import "./chunk-C5M43H4F.mjs";
104
+ } from "./chunk-35N4S2E6.mjs";
105
+ import "./chunk-Y3SG26KP.mjs";
106
106
  import {
107
107
  createCliProgress,
108
108
  getActiveCliProgress
109
- } from "./chunk-TKK4TR7B.mjs";
109
+ } from "./chunk-7R243PYK.mjs";
110
110
  import {
111
111
  argsWantJson,
112
112
  describeArgs,
@@ -120,17 +120,17 @@ import {
120
120
  printJsonError,
121
121
  renderCommandEnvelopeText,
122
122
  shouldEmitJson
123
- } from "./chunk-UUKMZK23.mjs";
124
- import "./chunk-N7LKHN5C.mjs";
123
+ } from "./chunk-YEX3VNAY.mjs";
124
+ import "./chunk-2QUROYZU.mjs";
125
125
  import {
126
126
  fetchWithDeploymentProtection
127
- } from "./chunk-KQKPDXIZ.mjs";
127
+ } from "./chunk-WRJ6MEY5.mjs";
128
128
  import "./chunk-4QF2K7TM.mjs";
129
129
  import "./chunk-DLIRSHV6.mjs";
130
130
  import {
131
131
  DeeplineError
132
132
  } from "./chunk-HBL4PM5Q.mjs";
133
- import "./chunk-QRBDW3X6.mjs";
133
+ import "./chunk-4GWEZPZR.mjs";
134
134
  import "./chunk-WZYKRD7T.mjs";
135
135
  import {
136
136
  __commonJS,
@@ -16577,7 +16577,7 @@ Examples:
16577
16577
  process.exitCode = await ownView();
16578
16578
  return;
16579
16579
  }
16580
- const { describeAnything } = await import("./describe-PKBLERG6.mjs");
16580
+ const { describeAnything } = await import("./describe-Z7GWMGKU.mjs");
16581
16581
  process.exitCode = await describeAnything(
16582
16582
  name,
16583
16583
  {
@@ -16911,7 +16911,7 @@ Examples:
16911
16911
  new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
16912
16912
  ).action(async (runId, options) => {
16913
16913
  if (TOOL_EXECUTION_ID.test(runId)) {
16914
- const { getToolExecutionReceipt } = await import("./tools-MRAFK3MJ.mjs");
16914
+ const { getToolExecutionReceipt } = await import("./tools-F6XEUK7H.mjs");
16915
16915
  process.exitCode = await getToolExecutionReceipt(runId, {
16916
16916
  receiptJson: options.json !== void 0
16917
16917
  });
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-TZSRQYKH.mjs";
4
- import "./chunk-IS24BRFV.mjs";
3
+ } from "./chunk-QXWE6PHI.mjs";
4
+ import "./chunk-C55LNEUF.mjs";
5
5
  import "./chunk-L2VKAASU.mjs";
6
6
  import "./chunk-ONONSV2Q.mjs";
7
7
  import "./chunk-S3A4IXBQ.mjs";
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
9
9
  import {
10
10
  printCommandEnvelope,
11
11
  shouldEmitJson
12
- } from "./chunk-UUKMZK23.mjs";
13
- import "./chunk-N7LKHN5C.mjs";
14
- import "./chunk-KQKPDXIZ.mjs";
12
+ } from "./chunk-YEX3VNAY.mjs";
13
+ import "./chunk-2QUROYZU.mjs";
14
+ import "./chunk-WRJ6MEY5.mjs";
15
15
  import "./chunk-4QF2K7TM.mjs";
16
16
  import "./chunk-DLIRSHV6.mjs";
17
17
  import "./chunk-HBL4PM5Q.mjs";
18
- import "./chunk-QRBDW3X6.mjs";
18
+ import "./chunk-4GWEZPZR.mjs";
19
19
  import "./chunk-WZYKRD7T.mjs";
20
20
  import "./chunk-KRD6H754.mjs";
21
21
 
@@ -1,7 +1,7 @@
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 _chunk4BVJ6YSNjs = require('./chunk-4BVJ6YSN.js');
4
- require('./chunk-SV2VOJF4.js');
3
+ var _chunkF3TDT57Mjs = require('./chunk-F3TDT57M.js');
4
+ require('./chunk-5DEJ3TLB.js');
5
5
  require('./chunk-E4CABWXL.js');
6
6
  require('./chunk-AUQQVDAB.js');
7
7
  require('./chunk-NMU3VR5U.js');
@@ -9,21 +9,21 @@ require('./chunk-XDVT3GOM.js');
9
9
 
10
10
 
11
11
 
12
- var _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
13
- require('./chunk-BU2MZXN6.js');
14
- require('./chunk-SE252VCN.js');
12
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
13
+ require('./chunk-UZ7VPOTA.js');
14
+ require('./chunk-K2RUSHZ7.js');
15
15
  require('./chunk-ALJJRZNJ.js');
16
16
  require('./chunk-XNYIZMNQ.js');
17
17
  require('./chunk-DIAWYWT5.js');
18
- require('./chunk-WER5FPHI.js');
18
+ require('./chunk-UYZNRLDE.js');
19
19
  require('./chunk-OG64RBAC.js');
20
20
  require('./chunk-COGTRVWW.js');
21
21
 
22
22
  // src/cli/commands/providers.ts
23
23
  async function listProviders(options = {}) {
24
- const client = new (0, _chunk4BVJ6YSNjs.DeeplineClient)();
24
+ const client = new (0, _chunkF3TDT57Mjs.DeeplineClient)();
25
25
  const changed = options.changed === true;
26
- const emitJson = options.json === true || _chunk4BQEGVNCjs.shouldEmitJson.call(void 0, );
26
+ const emitJson = options.json === true || _chunkRI2PLVD4js.shouldEmitJson.call(void 0, );
27
27
  const providers = await client.listProviders({ changed });
28
28
  const render = {
29
29
  sections: [
@@ -42,7 +42,7 @@ async function listProviders(options = {}) {
42
42
  }
43
43
  ]
44
44
  };
45
- _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
45
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
46
46
  {
47
47
  providers,
48
48
  count: providers.length,
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
5
- require('./chunk-BU2MZXN6.js');
6
- require('./chunk-SE252VCN.js');
4
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
5
+ require('./chunk-UZ7VPOTA.js');
6
+ require('./chunk-K2RUSHZ7.js');
7
7
  require('./chunk-ALJJRZNJ.js');
8
8
  require('./chunk-XNYIZMNQ.js');
9
9
  require('./chunk-DIAWYWT5.js');
10
- require('./chunk-WER5FPHI.js');
10
+ require('./chunk-UYZNRLDE.js');
11
11
  require('./chunk-OG64RBAC.js');
12
12
 
13
13
 
@@ -17,12 +17,12 @@ require('./chunk-COGTRVWW.js');
17
17
 
18
18
  // src/cli/commands/quickstart.ts
19
19
  async function handleQuickstart(options) {
20
- const jsonOutput = _chunk4BQEGVNCjs.shouldEmitJson.call(void 0, options.json === true);
20
+ const jsonOutput = _chunkRI2PLVD4js.shouldEmitJson.call(void 0, options.json === true);
21
21
  const gettingStarted = {
22
22
  skill: _chunk6V7KVRR5js.DEEPLINE_GTM_SKILL,
23
23
  examples: _chunk6V7KVRR5js.DEEPLINE_GTM_STARTER_PROMPTS
24
24
  };
25
- _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
25
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
26
26
  {
27
27
  ok: true,
28
28
  status: "deprecated",
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-UUKMZK23.mjs";
5
- import "./chunk-N7LKHN5C.mjs";
6
- import "./chunk-KQKPDXIZ.mjs";
4
+ } from "./chunk-YEX3VNAY.mjs";
5
+ import "./chunk-2QUROYZU.mjs";
6
+ import "./chunk-WRJ6MEY5.mjs";
7
7
  import "./chunk-4QF2K7TM.mjs";
8
8
  import "./chunk-DLIRSHV6.mjs";
9
9
  import "./chunk-HBL4PM5Q.mjs";
10
- import "./chunk-QRBDW3X6.mjs";
10
+ import "./chunk-4GWEZPZR.mjs";
11
11
  import "./chunk-WZYKRD7T.mjs";
12
12
  import {
13
13
  DEEPLINE_GTM_SKILL,
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  looksLikeFilePath,
3
3
  resolvePlayRunCliOptions
4
- } from "./chunk-F4W4J6BT.mjs";
4
+ } from "./chunk-QJ4FWKUU.mjs";
5
5
  import {
6
6
  findNamed,
7
7
  nothingNamed
8
- } from "./chunk-EMPGZXFN.mjs";
9
- import "./chunk-AYJVYXES.mjs";
8
+ } from "./chunk-DHAJSTSH.mjs";
9
+ import "./chunk-S5PMBDY6.mjs";
10
10
  import {
11
11
  openLogDestination,
12
12
  preflightExecutionOutput,
13
13
  writeExecutionOutput
14
- } from "./chunk-6RZ2UVFW.mjs";
15
- import "./chunk-HO4PLJHS.mjs";
14
+ } from "./chunk-H66YVVT7.mjs";
15
+ import "./chunk-NBHCEVWY.mjs";
16
16
  import "./chunk-5AEDYVB6.mjs";
17
17
  import {
18
18
  DEEPLINE_NAMESPACE
@@ -24,29 +24,29 @@ import "./chunk-XRDXNAAY.mjs";
24
24
  import "./chunk-F6QV42MC.mjs";
25
25
  import "./chunk-FR2ILQ4G.mjs";
26
26
  import "./chunk-FIVKWNMT.mjs";
27
- import "./chunk-TZSRQYKH.mjs";
27
+ import "./chunk-QXWE6PHI.mjs";
28
28
  import "./chunk-3RGWTKK3.mjs";
29
- import "./chunk-IS24BRFV.mjs";
29
+ import "./chunk-C55LNEUF.mjs";
30
30
  import "./chunk-L2VKAASU.mjs";
31
31
  import "./chunk-ONONSV2Q.mjs";
32
32
  import "./chunk-S3A4IXBQ.mjs";
33
33
  import "./chunk-UBKA33KY.mjs";
34
- import "./chunk-HDUDLOGI.mjs";
35
- import "./chunk-NSAI3D4H.mjs";
36
- import "./chunk-XMBIESQ7.mjs";
37
- import "./chunk-IXQQWEYK.mjs";
38
- import "./chunk-TJRGYEDA.mjs";
39
- import "./chunk-C5M43H4F.mjs";
34
+ import "./chunk-LMUOUIBV.mjs";
35
+ import "./chunk-35N4S2E6.mjs";
36
+ import "./chunk-ZICPJKMP.mjs";
37
+ import "./chunk-6PHHQDM6.mjs";
38
+ import "./chunk-RACN23LT.mjs";
39
+ import "./chunk-Y3SG26KP.mjs";
40
40
  import {
41
41
  createCliProgress
42
- } from "./chunk-TKK4TR7B.mjs";
43
- import "./chunk-UUKMZK23.mjs";
44
- import "./chunk-N7LKHN5C.mjs";
45
- import "./chunk-KQKPDXIZ.mjs";
42
+ } from "./chunk-7R243PYK.mjs";
43
+ import "./chunk-YEX3VNAY.mjs";
44
+ import "./chunk-2QUROYZU.mjs";
45
+ import "./chunk-WRJ6MEY5.mjs";
46
46
  import "./chunk-4QF2K7TM.mjs";
47
47
  import "./chunk-DLIRSHV6.mjs";
48
48
  import "./chunk-HBL4PM5Q.mjs";
49
- import "./chunk-QRBDW3X6.mjs";
49
+ import "./chunk-4GWEZPZR.mjs";
50
50
  import "./chunk-WZYKRD7T.mjs";
51
51
  import "./chunk-KRD6H754.mjs";
52
52
 
@@ -115,7 +115,7 @@ async function runAnything(name, options) {
115
115
  throw new Error("--max-credits takes a number of credits above 0.");
116
116
  }
117
117
  if (options.timeout !== void 0 && options.timeout !== "0") {
118
- const { parseToolExecuteTimeout } = await import("./tools-MRAFK3MJ.mjs");
118
+ const { parseToolExecuteTimeout } = await import("./tools-F6XEUK7H.mjs");
119
119
  timeoutMs = parseToolExecuteTimeout(options.timeout);
120
120
  }
121
121
  } catch (error) {
@@ -136,7 +136,7 @@ async function runAnything(name, options) {
136
136
  if (name !== void 0) {
137
137
  return refuse("Use a name or -e, not both.", output);
138
138
  }
139
- const { writeInlinePlay } = await import("./play-PY5AT3JQ.mjs");
139
+ const { writeInlinePlay } = await import("./play-ZFG4HDDX.mjs");
140
140
  let file;
141
141
  try {
142
142
  file = writeInlinePlay(options.eval);
@@ -196,7 +196,7 @@ async function runAnything(name, options) {
196
196
  if (runner.via === "play") {
197
197
  return runPlay(runner.reference, { ...play, revision });
198
198
  }
199
- const { executeToolForReceipt } = await import("./tools-MRAFK3MJ.mjs");
199
+ const { executeToolForReceipt } = await import("./tools-F6XEUK7H.mjs");
200
200
  return executeToolForReceipt({
201
201
  toolId: runner.toolId,
202
202
  params: input,
@@ -227,7 +227,7 @@ function dryRun(described, input, output) {
227
227
  return missing.length ? 2 : 0;
228
228
  }
229
229
  async function runPlay(reference, play) {
230
- const { handlePlayRun, writePlayRunReceipt } = await import("./play-PY5AT3JQ.mjs");
230
+ const { handlePlayRun, writePlayRunReceipt } = await import("./play-ZFG4HDDX.mjs");
231
231
  const { output, options, revision } = play;
232
232
  if (options.dryRun) {
233
233
  return handlePlayRun(
@@ -320,122 +320,17 @@ async function runPlay(reference, play) {
320
320
  }
321
321
  }
322
322
  function registerRunCommand(program) {
323
- program.command("run [name]").description(
324
- "Run anything search returns: a tool, a play, or a local play file."
325
- ).option(
323
+ program.command("run [name]").description("Run a tool, a play, a play file, or inline code.").option(
326
324
  "-e, --eval <code>",
327
- "Run code as the body of a play function, in place of a name"
328
- ).option("--input <json>", "Input as a JSON object").option(
329
- "--input-file <path>",
330
- "Input as a JSON object read from a file; - reads stdin"
331
- ).option(
332
- "--json-out <path>",
333
- "Save the whole result as JSON to this new file; - writes it to stdout"
334
- ).option(
325
+ "Code to run as a play body, instead of a name"
326
+ ).option("--input <json>", "Input as a JSON object").option("--input-file <path>", "Input from a JSON file; - reads stdin").option("--json-out <path>", "Save the result as JSON to this new file").option(
335
327
  "--csv-out <[list=]path>",
336
- "Save a row list as CSV to this new file; [list=] picks which; repeatable",
328
+ "Save rows as CSV to this new file; repeat for more lists",
337
329
  (value, previous = []) => [...previous, value]
338
- ).option(
339
- "--fields <paths>",
340
- "Only these comma-separated dotted paths, in the receipt and the CSV"
341
- ).option("--full", "Show every field's type and first value").option("--lines <n>", "Show up to this many lines of values (default 32)").option("--json", "Print the receipt as JSON instead of text").option(
342
- "--receipt-out <path>",
343
- "Also save the JSON receipt to this new file"
344
- ).option(
345
- "--dry-run",
346
- "Check the input against the contract and show the price; nothing is sent"
347
- ).option(
348
- "--fresh",
349
- "Call providers again instead of reusing results saved by earlier runs"
350
- ).option(
351
- "--max-credits <credits>",
352
- "Stop a play run that would spend more Deepline credits than this"
353
- ).option(
330
+ ).option("--fields <paths>", "Only these dotted paths, comma-separated").option("--dry-run", "Check the input and show the price; runs nothing").option(
354
331
  "--timeout <duration>",
355
- "Stop waiting after this long (90s, 10m, 1h); 0 returns a play at once"
356
- ).option(
357
- "--logs-out <path>",
358
- "Write a play's live logs to this new file; - writes them to stdout"
359
- ).addHelpText(
360
- "after",
361
- `
362
- Name:
363
- Any id deepline search returns: a tool id, a play name or reference, or a
364
- local play file. It resolves as deepline describe resolves it.
365
- deepline/<name> the Deepline tool or play, when a play your workspace
366
- created has the same name (that one runs by default)
367
- <play>@latest the newest saved revision; <play>@<revision-id> one
368
- revision. The live revision runs by default.
369
- -e '<code>' in place of a name: the code is the body of a play
370
- function, input holds --input, and deepline is the
371
- runtime, as in a .play.ts file in this directory.
372
-
373
- Input:
374
- One JSON object whose fields are the inputs deepline describe lists.
375
- A play that reads a CSV takes the path as a field: '{"csv":"leads.csv"}'.
376
-
377
- Output:
378
- The data is always saved to a file: a new temporary one unless --json-out
379
- or --csv-out names one. Output paths must not exist yet. A tool's data is
380
- the provider's response; a play's is its result, each dataset handle
381
- replaced by that dataset's rows.
382
- The receipt says what ran, how it ended and what it cost, where the data
383
- is, and what came back, within 32 lines (--lines changes it):
384
- default the tool's declared outputs, else the data itself, read
385
- breadth-first: every top-level field before nested ones
386
- --fields only the paths you name; a path through a list applies to
387
- each item, so people.email is every person's email
388
- --full every field's type and first value
389
- --csv-out writes the row list it names, else the one --fields reaches
390
- into, else the tool's declared row list, else the largest:
391
- --csv-out people=people.csv. Repeat it for more lists. --fields under a
392
- list's path choose its columns; company.domain becomes its own column.
393
- The full JSON Schema goes to a file the receipt names. --json prints the
394
- receipt as JSON; --receipt-out also saves it to a file.
395
-
396
- Where things are printed:
397
- stdout the receipt; or the data, under --json-out - or --csv-out -
398
- stderr progress, the live logs' path, and the receipt when the data
399
- is on stdout
400
- Only one of --json-out, --csv-out and --logs-out may use -.
401
-
402
- Waiting:
403
- run waits for the result. --timeout stops waiting, not the work: a play
404
- keeps running and the receipt says how to check on it. --timeout 0
405
- returns a play's run id at once. A play's live logs go to a temporary
406
- file named on stderr when it starts; --logs-out chooses the file.
407
-
408
- Reuse:
409
- A tool call is saved under a retry key before it is sent. Running the same
410
- call again within the hour, after an interruption, replays it instead of
411
- paying twice. Plays reuse the results of calls they made before.
412
- --fresh calls the providers again.
413
-
414
- Cost:
415
- --dry-run shows the price first. --max-credits caps one play run, in
416
- place of the play's own billing.maxCreditsPerRun: a run that reaches it
417
- stops, and its receipt says so. A tool call has one price, so the cap
418
- applies to plays.
419
-
420
- Follow-up:
421
- deepline runs get <id> reads a run, or a tool call for 24 hours, again
422
- by the id its receipt gave.
423
-
424
- Exit codes:
425
- 0 completed
426
- 1 the tool or play failed, or is still running after --timeout
427
- 2 nothing ran: bad input or flags, an existing output file, an unknown
428
- name, a monitor type, or a --dry-run that found missing input
429
-
430
- Examples:
431
- deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
432
- deepline run person-linkedin-to-email --input-file input.json --dry-run
433
- deepline run my.play.ts --input '{"csv":"leads.csv"}' --csv-out out.csv
434
- deepline run company-search --input-file - --json-out - < input.json
435
- deepline run my-play@latest --timeout 0
436
- deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
437
- `
438
- ).action(async (name, options) => {
332
+ "Stop waiting after 90s, 10m, 1h; 0 returns at once"
333
+ ).option("--max-credits <credits>", "Stop a play run that would spend more").option("--fresh", "Call providers again instead of reusing saved results").option("--json", "Print the receipt as JSON").option("--full", "Show every field of the result").option("--lines <n>", "Lines of values in the receipt (default 32)").option("--receipt-out <path>", "Also save the receipt as JSON").option("--logs-out <path>", "Save a play's live logs here; - prints them").action(async (name, options) => {
439
334
  process.exitCode = await runAnything(name, options);
440
335
  });
441
336
  }