deepline 0.3.487 → 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 (123) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-GIBZFTUJ.mjs → auth-5RIU6GT7.mjs} +5 -5
  4. package/dist/cli/auth-PSIS3XA6.js +43 -0
  5. package/dist/cli/{billing-T3SN2T4T.mjs → billing-T4TMPRFS.mjs} +6 -6
  6. package/dist/cli/{billing-TZINXSTI.js → billing-T5MAGF25.js} +79 -79
  7. package/dist/cli/{chunk-YVK3WEBE.mjs → chunk-2QUROYZU.mjs} +1 -1
  8. package/dist/cli/{chunk-76EUEG45.mjs → chunk-35N4S2E6.mjs} +1 -1
  9. package/dist/cli/{chunk-LE3BAE4T.mjs → chunk-3S5VBG6Z.mjs} +2 -2
  10. package/dist/cli/{chunk-TY7AFVAC.js → chunk-4EFD6R2V.js} +37 -37
  11. package/dist/cli/{chunk-IAK7OKDC.mjs → chunk-4GWEZPZR.mjs} +6 -1
  12. package/dist/cli/{chunk-XVSMWD6E.js → chunk-5DEJ3TLB.js} +7 -7
  13. package/dist/cli/{chunk-WZQSBYFU.js → chunk-6FMP5XRF.js} +6 -6
  14. package/dist/cli/{chunk-JH2XVGTM.mjs → chunk-6PHHQDM6.mjs} +1 -1
  15. package/dist/cli/{chunk-MQYUH3DR.mjs → chunk-7R243PYK.mjs} +15 -1
  16. package/dist/cli/{chunk-IL5AF6AR.mjs → chunk-A7ZMG2QZ.mjs} +24 -12
  17. package/dist/cli/{chunk-2EQPUMZG.mjs → chunk-C55LNEUF.mjs} +1 -1
  18. package/dist/cli/{chunk-6VW4YVWH.mjs → chunk-DHAJSTSH.mjs} +4 -4
  19. package/dist/cli/{chunk-TDUPHVI2.js → chunk-DY7T6VNT.js} +21 -21
  20. package/dist/cli/{chunk-BWXQIRPZ.js → chunk-F3TDT57M.js} +5 -5
  21. package/dist/cli/{chunk-ZJIFSEJS.js → chunk-FFDWL5N2.js} +16 -16
  22. package/dist/cli/{chunk-NR6ZSXYE.js → chunk-FH7ZABHW.js} +94 -94
  23. package/dist/cli/{chunk-WFMTJFGG.js → chunk-FL7NHJTS.js} +10 -10
  24. package/dist/cli/{chunk-O4LTC7S6.js → chunk-FNKSRKTA.js} +22 -8
  25. package/dist/cli/{chunk-ATEO2Y3W.mjs → chunk-G7POOFBJ.mjs} +2 -2
  26. package/dist/cli/{chunk-DAXLSR65.js → chunk-GW6HV7Z7.js} +3 -3
  27. package/dist/cli/{chunk-HK6RIWDN.mjs → chunk-H66YVVT7.mjs} +1 -1
  28. package/dist/cli/{chunk-JDFYXDDA.js → chunk-I4NWMPT3.js} +53 -53
  29. package/dist/cli/{chunk-BXOHHCXG.js → chunk-K2RUSHZ7.js} +4 -4
  30. package/dist/cli/{chunk-4AZFKKGK.mjs → chunk-L2GMFNAO.mjs} +3 -3
  31. package/dist/cli/{chunk-75LPU4AO.js → chunk-LM5UIDFA.js} +7 -7
  32. package/dist/cli/{chunk-VHXDX7WY.mjs → chunk-LMUOUIBV.mjs} +5 -5
  33. package/dist/cli/{chunk-WOG5SFF2.mjs → chunk-NBHCEVWY.mjs} +4 -4
  34. package/dist/cli/{chunk-OKAZHDYN.js → chunk-O3K22ZC7.js} +24 -12
  35. package/dist/cli/{chunk-6MRJ3SMS.mjs → chunk-OTQ2CO6M.mjs} +2 -2
  36. package/dist/cli/{chunk-CEJFXV7R.mjs → chunk-QJ4FWKUU.mjs} +2 -2
  37. package/dist/cli/{chunk-RXKFJTFH.mjs → chunk-QXWE6PHI.mjs} +2 -2
  38. package/dist/cli/{chunk-JZNSRGDL.js → chunk-R23HZ6AV.js} +2 -2
  39. package/dist/cli/{chunk-DJJ2UYSX.mjs → chunk-RACN23LT.mjs} +4 -4
  40. package/dist/cli/{chunk-WXEAAVBK.js → chunk-RI2PLVD4.js} +7 -7
  41. package/dist/cli/{chunk-QZ4DVKYU.js → chunk-S4F2R2LO.js} +9 -9
  42. package/dist/cli/{chunk-VPSK464I.mjs → chunk-S5PMBDY6.mjs} +10 -10
  43. package/dist/cli/{chunk-6YMPAQEI.js → chunk-SZHNIKTR.js} +26 -26
  44. package/dist/cli/{chunk-YWRMI4WC.mjs → chunk-TMQ3PCSY.mjs} +2 -2
  45. package/dist/cli/{chunk-FMN7S7KB.js → chunk-UI67QLIR.js} +53 -53
  46. package/dist/cli/{chunk-NDUZXNGV.js → chunk-UYZNRLDE.js} +6 -1
  47. package/dist/cli/{chunk-E2CSKE27.js → chunk-UZ7VPOTA.js} +3 -3
  48. package/dist/cli/{chunk-ZOENOU2W.js → chunk-VP65YKOA.js} +5 -5
  49. package/dist/cli/{chunk-YIVYI5XH.js → chunk-WIKIF67Q.js} +8 -8
  50. package/dist/cli/{chunk-JWTTCWZM.mjs → chunk-WRJ6MEY5.mjs} +1 -1
  51. package/dist/cli/{chunk-5BWN4XAO.mjs → chunk-Y3SG26KP.mjs} +4 -4
  52. package/dist/cli/{chunk-4LMPONJM.mjs → chunk-YEX3VNAY.mjs} +2 -2
  53. package/dist/cli/{chunk-HKK3NTTF.js → chunk-YSB44HZB.js} +2 -2
  54. package/dist/cli/{chunk-RFBM4KSE.mjs → chunk-ZICPJKMP.mjs} +5 -5
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-42ZQOY2Y.mjs → csv-WAD54M7T.mjs} +4 -4
  58. package/dist/cli/{csv-IKHCVOV5.js → csv-XTKN255I.js} +13 -13
  59. package/dist/cli/{db-B3RLPXTA.mjs → db-2ELZMJFC.mjs} +6 -6
  60. package/dist/cli/{db-3AWAIV6O.js → db-TTS6Y4FI.js} +27 -27
  61. package/dist/cli/describe-2V7H5LJP.js +49 -0
  62. package/dist/cli/{describe-NEPMNE33.mjs → describe-Z7GWMGKU.mjs} +17 -17
  63. package/dist/cli/{executions-W53OBSB6.mjs → executions-2TQH54AB.mjs} +6 -6
  64. package/dist/cli/{executions-3KJXWIGK.js → executions-WUBVVJXN.js} +8 -8
  65. package/dist/cli/{feedback-3MSNFC6M.js → feedback-6KAY4LE6.js} +8 -8
  66. package/dist/cli/{feedback-GJNATGAP.mjs → feedback-QI75ZVF2.mjs} +4 -4
  67. package/dist/cli/{git-5BWKZFNE.mjs → git-3PI2SXVS.mjs} +5 -5
  68. package/dist/cli/git-DCADFTQ6.js +25 -0
  69. package/dist/cli/index.js +141 -141
  70. package/dist/cli/index.mjs +41 -41
  71. package/dist/cli/{legacy-noops-GSW6TMAJ.js → legacy-noops-BNEVRTQT.js} +8 -8
  72. package/dist/cli/{legacy-noops-A7YMA3NB.mjs → legacy-noops-SIDE3HLT.mjs} +5 -5
  73. package/dist/cli/{monitors-24QFIRCI.mjs → monitors-BYQ5V5MX.mjs} +7 -7
  74. package/dist/cli/{monitors-T5RMXFKT.js → monitors-WRWVVXUZ.js} +91 -91
  75. package/dist/cli/{org-3JJQOXLF.js → org-KWCSSJ3Y.js} +72 -72
  76. package/dist/cli/{org-ZZPKJOQY.mjs → org-OZNDX3G2.mjs} +6 -6
  77. package/dist/cli/{pages-ZFCV37XK.mjs → pages-DXU3TNND.mjs} +6 -6
  78. package/dist/cli/{pages-3GK3SKKB.js → pages-OQVOMVF5.js} +17 -17
  79. package/dist/cli/{play-4MINBQNW.js → play-6D7U66KO.js} +312 -312
  80. package/dist/cli/{play-DX36FVSU.mjs → play-ZFG4HDDX.mjs} +17 -17
  81. package/dist/cli/{providers-Z4EYMZJM.mjs → providers-4RRQIK3Q.mjs} +6 -6
  82. package/dist/cli/{providers-YDQHY35D.js → providers-H7R3Z5HS.js} +9 -9
  83. package/dist/cli/{quickstart-OTZVKVIE.js → quickstart-FQ5E5G6O.js} +6 -6
  84. package/dist/cli/{quickstart-YMI4OECS.mjs → quickstart-TFKRPMCH.mjs} +4 -4
  85. package/dist/cli/{run-OBU3YFOJ.mjs → run-GRCGGUUM.mjs} +30 -134
  86. package/dist/cli/{run-P345MQLC.js → run-QRDJTXKB.js} +44 -148
  87. package/dist/cli/search-2FB7WQUS.js +32 -0
  88. package/dist/cli/{search-5FBWOI2H.mjs → search-OEVSDE3U.mjs} +7 -7
  89. package/dist/cli/{search-output-WOTMZA55.js → search-output-F6KBWKT2.js} +6 -6
  90. package/dist/cli/{search-output-673LGTLF.mjs → search-output-VK5ZDVKL.mjs} +4 -4
  91. package/dist/cli/{secrets-QX45TZJK.mjs → secrets-DCRVVQV2.mjs} +6 -6
  92. package/dist/cli/{secrets-IWYY42YD.js → secrets-KKAAZENS.js} +15 -15
  93. package/dist/cli/{sessions-ZUK654NJ.js → sessions-FDHENJVG.js} +6 -6
  94. package/dist/cli/{sessions-Z2ZB3EZ7.mjs → sessions-XVBIXCXU.mjs} +5 -5
  95. package/dist/cli/{settings-ZXXP7DHM.js → settings-36HMWFAP.js} +78 -78
  96. package/dist/cli/{settings-6VY7HTEE.mjs → settings-OBVR52US.mjs} +11 -11
  97. package/dist/cli/{setup-SD66A4OE.mjs → setup-KFYQZYP3.mjs} +9 -9
  98. package/dist/cli/{setup-RE7T3PAE.js → setup-M6OWOPMB.js} +47 -47
  99. package/dist/cli/{skills-ARPNJ7MN.mjs → skills-AZDPA6IQ.mjs} +7 -7
  100. package/dist/cli/skills-URCPOKZZ.js +33 -0
  101. package/dist/cli/tools-4G5J5NQP.js +56 -0
  102. package/dist/cli/{tools-R3TUCRX3.mjs → tools-F6XEUK7H.mjs} +16 -16
  103. package/dist/cli/{update-2DPZJQK4.mjs → update-QMGJRICE.mjs} +9 -9
  104. package/dist/cli/update-UWVL2OYA.js +33 -0
  105. package/dist/cli/{workflow-2WPRQNRF.mjs → workflow-L5WNCAPB.mjs} +7 -7
  106. package/dist/cli/{workflow-GIWX7OZC.js → workflow-M4YPUASM.js} +17 -17
  107. package/dist/index.js +9 -9
  108. package/dist/index.mjs +6 -6
  109. package/dist/install-integrity.json +100 -100
  110. package/dist/release.d.mts +5 -1
  111. package/dist/release.d.ts +5 -1
  112. package/dist/release.js +2 -2
  113. package/dist/release.mjs +1 -1
  114. package/dist/server.js +5 -5
  115. package/dist/server.mjs +3 -3
  116. package/package.json +1 -1
  117. package/dist/cli/auth-Q4U7IFFV.js +0 -43
  118. package/dist/cli/describe-HLO35E5Y.js +0 -49
  119. package/dist/cli/git-WRFBKH6H.js +0 -25
  120. package/dist/cli/search-IV22OQLS.js +0 -32
  121. package/dist/cli/skills-ZDKFUVNP.js +0 -33
  122. package/dist/cli/tools-AUU42AVE.js +0 -56
  123. package/dist/cli/update-QLF3A6YY.js +0 -33
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-RXKFJTFH.mjs";
6
+ } from "./chunk-QXWE6PHI.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-4LMPONJM.mjs";
9
+ } from "./chunk-YEX3VNAY.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-YVK3WEBE.mjs";
13
+ } from "./chunk-2QUROYZU.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-673LGTLF.mjs");
135
+ const { renderSearchResults } = await import("./search-output-VK5ZDVKL.mjs");
136
136
  printCommandEnvelope(result, {
137
137
  json: options.json === true,
138
138
  text: renderSearchResults(result, summaryWidth)
@@ -439,21 +439,33 @@ Cost:
439
439
  run: {
440
440
  core: `
441
441
  Purpose:
442
- Run a tool, a play or a play file by name, or code inline with -e, with
443
- one JSON input. Every kind answers with the same receipt.
442
+ Run a tool, a play, a play file, or a few lines of code. One command for
443
+ all of them.
444
444
  When:
445
- After describe, once you know the inputs. --dry-run checks the input and
446
- the price first. -e runs a few lines that call tools without writing a
447
- play file.
445
+ After describe, once you know the inputs. For paid work, add --dry-run
446
+ first to check the input and see the price.
447
+ Input:
448
+ The id from search, and one JSON object: --input '{...}' or
449
+ --input-file input.json. A play that reads a CSV takes its path:
450
+ --input '{"csv":"leads.csv"}'. -e '<code>' runs code as a play body.
451
+ <play>@latest runs the newest revision; deepline/<id> runs Deepline's
452
+ version when your workspace has one with the same name.
453
+ Examples:
454
+ deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
455
+ deepline run person-to-email-batch --input '{"csv":"leads.csv"}' --dry-run
456
+ deepline run person-to-email-batch --input '{"csv":"leads.csv"}' --csv-out emails.csv
457
+ deepline run my.play.ts --input-file input.json --json-out result.json
458
+ deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
448
459
  Output:
449
- The data in a file, and a receipt with what ran, its cost, and the values
450
- that came back. --json prints the receipt as JSON.
451
- Next:
452
- Read the data file the receipt names. deepline runs get <id> reads the
453
- run or tool call again.
460
+ A receipt: what ran, its status and cost, where the data was saved, and
461
+ the first values. The full data is always saved to a file; --csv-out and
462
+ --json-out choose where. --fields picks values and CSV columns. Exit code
463
+ 0 completed, 1 failed or still running, 2 nothing ran.
454
464
  Cost:
455
- Spends credits as the tool or play does. Running an interrupted call again
456
- replays it at no extra cost.
465
+ What the tool or play charges. --max-credits caps a play run. Running an
466
+ interrupted call again replays it without paying twice.
467
+ Next:
468
+ Read the saved file. deepline runs get <id> shows the run again.
457
469
  `
458
470
  },
459
471
  tools: {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-4LMPONJM.mjs";
5
+ } from "./chunk-YEX3VNAY.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-YVK3WEBE.mjs";
8
+ } from "./chunk-2QUROYZU.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-2EQPUMZG.mjs";
6
+ } from "./chunk-C55LNEUF.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-ONONSV2Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-4LMPONJM.mjs";
14
+ } from "./chunk-YEX3VNAY.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-2EQPUMZG.mjs";
3
+ } from "./chunk-C55LNEUF.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-YVK3WEBE.mjs";
7
+ } from "./chunk-2QUROYZU.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -1,6 +1,6 @@
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
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
3
+ var _chunkUI67QLIRjs = require('./chunk-UI67QLIR.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkUI67QLIRjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-5BWN4XAO.mjs";
14
+ } from "./chunk-Y3SG26KP.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-4LMPONJM.mjs";
17
+ } from "./chunk-YEX3VNAY.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-YVK3WEBE.mjs";
23
+ } from "./chunk-2QUROYZU.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-JWTTCWZM.mjs";
27
+ } from "./chunk-WRJ6MEY5.mjs";
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  import { spawn } from "child_process";
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
5
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
6
6
 
7
7
 
8
- var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
8
+ var _chunkK2RUSHZ7js = require('./chunk-K2RUSHZ7.js');
9
9
 
10
10
 
11
11
 
@@ -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 = _chunkE2CSKE27js.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkE2CSKE27js.HttpClient)(config) };
293
+ const config = _chunkUZ7VPOTAjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkUZ7VPOTAjs.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: _chunkBXOHHCXGjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkK2RUSHZ7js.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 _chunkBXOHHCXGjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkK2RUSHZ7js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkE2CSKE27js.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkUZ7VPOTAjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkXVSMWD6Ejs = require('./chunk-XVSMWD6E.js');
6
+ var _chunk5DEJ3TLBjs = require('./chunk-5DEJ3TLB.js');
7
7
 
8
8
 
9
9
  var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
@@ -11,7 +11,7 @@ var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
14
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkWXEAAVBKjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkRI2PLVD4js.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkWXEAAVBKjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkWXEAAVBKjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkRI2PLVD4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkRI2PLVD4js.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkXVSMWD6Ejs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunk5DEJ3TLBjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkXVSMWD6Ejs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5DEJ3TLBjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkWXEAAVBKjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkWXEAAVBKjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkRI2PLVD4js.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkRI2PLVD4js.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkWXEAAVBKjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkRI2PLVD4js.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-HK6RIWDN.mjs";
5
+ } from "./chunk-H66YVVT7.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-WOG5SFF2.mjs";
9
+ } from "./chunk-NBHCEVWY.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-RXKFJTFH.mjs";
51
+ } from "./chunk-QXWE6PHI.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-2EQPUMZG.mjs";
54
+ } from "./chunk-C55LNEUF.mjs";
55
55
  import {
56
56
  stableStringify
57
57
  } from "./chunk-UBKA33KY.mjs";
@@ -61,18 +61,18 @@ import {
61
61
  maybeAutoUpdateAndRelaunch,
62
62
  registerCompatibilityCatalog,
63
63
  runToolExecuteStage
64
- } from "./chunk-VHXDX7WY.mjs";
64
+ } from "./chunk-LMUOUIBV.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-76EUEG45.mjs";
69
+ } from "./chunk-35N4S2E6.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-5BWN4XAO.mjs";
75
+ } from "./chunk-Y3SG26KP.mjs";
76
76
  import {
77
77
  printCommandEnvelope,
78
78
  printCompactJson,
@@ -80,12 +80,12 @@ import {
80
80
  printJsonError,
81
81
  renderCommandEnvelopeText,
82
82
  shouldEmitJson
83
- } from "./chunk-4LMPONJM.mjs";
83
+ } from "./chunk-YEX3VNAY.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-YVK3WEBE.mjs";
88
+ } from "./chunk-2QUROYZU.mjs";
89
89
  import {
90
90
  DeeplineError
91
91
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await import("./describe-NEPMNE33.mjs");
1041
+ const { describeAnything } = await import("./describe-Z7GWMGKU.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
5
+ var _chunkRI2PLVD4js = require('./chunk-RI2PLVD4.js');
6
6
 
7
7
 
8
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
8
+ var _chunkUZ7VPOTAjs = require('./chunk-UZ7VPOTA.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
39
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
139
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
153
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
200
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
227
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
254
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
269
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkE2CSKE27js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkUZ7VPOTAjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkWXEAAVBKjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkRI2PLVD4js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
322
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
371
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkRI2PLVD4js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
392
+ _chunkRI2PLVD4js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-76EUEG45.mjs";
3
+ } from "./chunk-35N4S2E6.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-5BWN4XAO.mjs";
8
+ } from "./chunk-Y3SG26KP.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {