deepline 0.3.372 → 0.3.374

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 (116) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +1 -53
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +15 -23
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +65 -3
  5. package/dist/bundling-sources/shared_libs/plays/email-status.ts +95 -0
  6. package/dist/bundling-sources/shared_libs/plays/extractor-targets.ts +14 -0
  7. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +253 -0
  8. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +2 -0
  9. package/dist/cli/auth-IFXXXZP6.js +33 -0
  10. package/dist/cli/{auth-ODSACXLF.mjs → auth-YGCDA4WG.mjs} +4 -4
  11. package/dist/cli/{billing-OPIOZLAN.mjs → billing-3ZLR3CJU.mjs} +4 -4
  12. package/dist/cli/{billing-4ERXY2DZ.js → billing-ZXRKPD5D.js} +73 -73
  13. package/dist/cli/{chunk-XSPAI6MF.mjs → chunk-2DAWTVNN.mjs} +2 -2
  14. package/dist/cli/{chunk-E5UD3JDQ.js → chunk-3VN4FTE3.js} +289 -5
  15. package/dist/cli/{chunk-VVFH745L.js → chunk-3XKAOV74.js} +6 -6
  16. package/dist/cli/{chunk-N5TPMNTT.js → chunk-53PZA4EP.js} +8 -8
  17. package/dist/cli/{chunk-BFLPCGOR.mjs → chunk-62IBVKWB.mjs} +1 -1
  18. package/dist/cli/{chunk-2RC5JQ3C.mjs → chunk-A62HBMHY.mjs} +1 -1
  19. package/dist/cli/{chunk-3GK3SH3G.mjs → chunk-E6BZWURC.mjs} +200 -13
  20. package/dist/cli/{chunk-KC2YOJTU.mjs → chunk-FT6O2ZVJ.mjs} +319 -115
  21. package/dist/cli/{chunk-5HYD3GMS.mjs → chunk-GT6KGIWV.mjs} +3 -3
  22. package/dist/cli/{chunk-RUYZAREB.js → chunk-HC5L6KGE.js} +9 -9
  23. package/dist/cli/{chunk-JAERLCMH.mjs → chunk-IZVGMVNX.mjs} +1 -1
  24. package/dist/cli/{chunk-ML2ZY7YD.js → chunk-JK547IDB.js} +4 -4
  25. package/dist/cli/{chunk-D6O3NJHX.js → chunk-MOBOAZMA.js} +60 -60
  26. package/dist/cli/{chunk-DONL233W.mjs → chunk-MQ5UW5AZ.mjs} +4 -4
  27. package/dist/cli/{chunk-MIMV5LTU.mjs → chunk-NNYQ24O5.mjs} +1 -1
  28. package/dist/cli/{chunk-DM5QUZJR.js → chunk-NOSIMGZV.js} +1 -1
  29. package/dist/cli/{chunk-AQFA7HMN.js → chunk-O7KJYX7R.js} +15 -15
  30. package/dist/cli/{chunk-U3W7E5WT.mjs → chunk-OS7GXARW.mjs} +27 -15
  31. package/dist/cli/{chunk-BVUGPOU3.mjs → chunk-OYTPVM2R.mjs} +2 -2
  32. package/dist/cli/{chunk-EFJL5FCU.js → chunk-PCYCNZLR.js} +8 -8
  33. package/dist/cli/{chunk-6MDAGRZP.js → chunk-RT5ICJ5V.js} +2 -2
  34. package/dist/cli/{chunk-GZQKUFM5.js → chunk-RXR7A2MX.js} +26 -26
  35. package/dist/cli/{chunk-4LIUZ4QR.mjs → chunk-SBB27CIJ.mjs} +2 -2
  36. package/dist/cli/{chunk-RJ7JJMQO.js → chunk-T35LCTC7.js} +266 -254
  37. package/dist/cli/{chunk-IUWPC5K6.js → chunk-TZTGK5JQ.js} +50 -50
  38. package/dist/cli/{chunk-FGHRRJ3D.mjs → chunk-VZSVYNZH.mjs} +1 -1
  39. package/dist/cli/{chunk-WJWO74MM.js → chunk-X5V2QTDR.js} +390 -186
  40. package/dist/cli/{chunk-JB6ERQUV.mjs → chunk-Y6VOGHF2.mjs} +284 -0
  41. package/dist/cli/{chunk-3CTB7V5F.mjs → chunk-YFFH6NDU.mjs} +2 -2
  42. package/dist/cli/{chunk-2JRRXXTA.js → chunk-YPVTQRUM.js} +201 -14
  43. package/dist/cli/client-O6IEMURJ.js +20 -0
  44. package/dist/cli/{client-KF2J754U.mjs → client-TV254HC4.mjs} +3 -3
  45. package/dist/cli/{csv-UL3MCD5D.mjs → csv-VEHHRUG4.mjs} +3 -3
  46. package/dist/cli/{csv-UJ3M7NFP.js → csv-WSRTANXI.js} +12 -12
  47. package/dist/cli/{db-SIOWA63T.mjs → db-BH25DX2G.mjs} +4 -4
  48. package/dist/cli/{db-444XYOTV.js → db-JXZNMFCE.js} +29 -29
  49. package/dist/cli/{describe-RRBESS3S.js → describe-N2OBGVJM.js} +61 -32
  50. package/dist/cli/{describe-GI5GHAKO.mjs → describe-TMBECHTX.mjs} +46 -17
  51. package/dist/cli/{executions-ERXZUOL5.js → executions-TX5CQF66.js} +6 -6
  52. package/dist/cli/{executions-4YDP6BXI.mjs → executions-Y4HQHYSO.mjs} +4 -4
  53. package/dist/cli/{feedback-3M7D7DZQ.js → feedback-ASEJ5A7I.js} +7 -7
  54. package/dist/cli/{feedback-CPWQL5LU.mjs → feedback-W7SRXYSP.mjs} +3 -3
  55. package/dist/cli/{git-XN6C3TJZ.mjs → git-2W7CZZRC.mjs} +4 -4
  56. package/dist/cli/git-SSSOIQ2L.js +23 -0
  57. package/dist/cli/index.js +81 -81
  58. package/dist/cli/index.mjs +32 -32
  59. package/dist/cli/{legacy-noops-5XDGOFWH.js → legacy-noops-NJYAAGBY.js} +7 -7
  60. package/dist/cli/{legacy-noops-KXQ6TFFL.mjs → legacy-noops-TXMPY3P7.mjs} +4 -4
  61. package/dist/cli/{monitors-33IU5JR6.mjs → monitors-G4L65QGQ.mjs} +4 -4
  62. package/dist/cli/{monitors-KH22PDOC.js → monitors-YLKTQ57D.js} +85 -85
  63. package/dist/cli/{org-MHYMWUEP.mjs → org-BCHOWKIA.mjs} +4 -4
  64. package/dist/cli/{org-X4NSLQG5.js → org-ENXO2A33.js} +64 -64
  65. package/dist/cli/{play-LCZKHKW2.mjs → play-JBY7HUYN.mjs} +8 -8
  66. package/dist/cli/play-SSJ3PO4D.js +155 -0
  67. package/dist/cli/{providers-J6LWCF5R.js → providers-GWFX3E7C.js} +7 -7
  68. package/dist/cli/{providers-L5FJTSEA.mjs → providers-JV2DZG43.mjs} +4 -4
  69. package/dist/cli/{quickstart-NE3BTWGL.mjs → quickstart-AIXURXZQ.mjs} +3 -3
  70. package/dist/cli/{quickstart-OOPFA4MX.js → quickstart-CASPK7F4.js} +5 -5
  71. package/dist/cli/{search-DBXOEOIE.mjs → search-DYQB7LHK.mjs} +5 -5
  72. package/dist/cli/search-N7K6A2YV.js +26 -0
  73. package/dist/cli/{secrets-WPMU7UBD.js → secrets-AZQG2E4U.js} +13 -13
  74. package/dist/cli/{secrets-U2MLWZH2.mjs → secrets-RQZPIPO5.mjs} +4 -4
  75. package/dist/cli/{sessions-WYNC4AUE.mjs → sessions-3FJJDMBB.mjs} +4 -4
  76. package/dist/cli/{sessions-YYZ3UJDS.js → sessions-ZY6RBYD4.js} +5 -5
  77. package/dist/cli/{settings-WQDFX3X6.js → settings-GXKWNR5V.js} +74 -74
  78. package/dist/cli/{settings-FQZSHFC6.mjs → settings-UNZDQGSE.mjs} +7 -7
  79. package/dist/cli/{setup-JKYJT35S.mjs → setup-PIRXJ2KJ.mjs} +6 -6
  80. package/dist/cli/{setup-DKYVNDTM.js → setup-UURZD4YO.js} +41 -41
  81. package/dist/cli/skills-4OUZLKTW.js +28 -0
  82. package/dist/cli/{skills-VHVCJJJY.mjs → skills-B4AQEIAF.mjs} +4 -4
  83. package/dist/cli/tools-MIZS5UN6.js +40 -0
  84. package/dist/cli/{tools-E23PU7KM.mjs → tools-UMGQKUSW.mjs} +8 -8
  85. package/dist/cli/update-3CO7LA4M.js +28 -0
  86. package/dist/cli/{update-4A4VU6CW.mjs → update-SFUTMEKL.mjs} +6 -6
  87. package/dist/cli/{workflow-WB2USWAA.js → workflow-CDAJCMT7.js} +15 -15
  88. package/dist/cli/{workflow-2ZR2ECTG.mjs → workflow-ON6XVW36.mjs} +5 -5
  89. package/dist/{client-Cw0e2Uec.d.mts → client-Cn-txrXv.d.mts} +1 -1
  90. package/dist/{client-CwdiawoG.d.ts → client-fPoIN-3V.d.ts} +1 -1
  91. package/dist/{compiler-manifest-DgdW0q0b.d.mts → compiler-manifest-CY2v8ab0.d.mts} +2 -0
  92. package/dist/{compiler-manifest-DgdW0q0b.d.ts → compiler-manifest-CY2v8ab0.d.ts} +2 -0
  93. package/dist/{index-C3nQQTI-.d.mts → index-B9fBZH1g.d.mts} +1 -1
  94. package/dist/{index-CEYQAfS0.d.ts → index-BZ6uzZJl.d.ts} +1 -1
  95. package/dist/index.d.mts +5 -5
  96. package/dist/index.d.ts +5 -5
  97. package/dist/index.js +79 -249
  98. package/dist/index.mjs +10 -180
  99. package/dist/install-integrity.json +85 -84
  100. package/dist/plays/bundle-play-file.d.mts +3 -3
  101. package/dist/plays/bundle-play-file.d.ts +3 -3
  102. package/dist/plays/run-request.d.mts +2 -2
  103. package/dist/plays/run-request.d.ts +2 -2
  104. package/dist/release.d.mts +1 -1
  105. package/dist/release.d.ts +1 -1
  106. package/dist/release.js +2 -2
  107. package/dist/release.mjs +1 -1
  108. package/package.json +1 -1
  109. package/dist/cli/auth-4SXMV3CD.js +0 -33
  110. package/dist/cli/client-UUNLXOHF.js +0 -20
  111. package/dist/cli/git-ITSCNUVB.js +0 -23
  112. package/dist/cli/play-4QRPOBWW.js +0 -155
  113. package/dist/cli/search-UGQDBP76.js +0 -26
  114. package/dist/cli/skills-VBQMXDAX.js +0 -28
  115. package/dist/cli/tools-ACEJZMJD.js +0 -40
  116. package/dist/cli/update-V5KMYHVE.js +0 -28
@@ -1,17 +1,17 @@
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 _chunk6MDAGRZPjs = require('./chunk-6MDAGRZP.js');
4
+ var _chunkRT5ICJ5Vjs = require('./chunk-RT5ICJ5V.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkD6O3NJHXjs = require('./chunk-D6O3NJHX.js');
8
+ var _chunkMOBOAZMAjs = require('./chunk-MOBOAZMA.js');
9
9
 
10
10
 
11
- var _chunkVVFH745Ljs = require('./chunk-VVFH745L.js');
11
+ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
12
12
 
13
13
 
14
- var _chunkML2ZY7YDjs = require('./chunk-ML2ZY7YD.js');
14
+ var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -489,7 +489,7 @@ function normalizedNpmPrefix(value) {
489
489
  }
490
490
  function resolveNpmGlobalPrefix(env) {
491
491
  try {
492
- const plan = _chunkD6O3NJHXjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunkMOBOAZMAjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
493
493
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
494
494
  encoding: "utf8",
495
495
  env,
@@ -545,8 +545,8 @@ function resolveUpdatePlan(options = {}) {
545
545
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
546
546
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
547
547
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
548
- const npmVersion = options.npmVersion === void 0 ? _chunk6MDAGRZPjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunk6MDAGRZPjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
548
+ const npmVersion = options.npmVersion === void 0 ? _chunkRT5ICJ5Vjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunkRT5ICJ5Vjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
550
550
  const args = installPrefix ? [
551
551
  "install",
552
552
  "-g",
@@ -556,7 +556,7 @@ function resolveUpdatePlan(options = {}) {
556
556
  packageSpec
557
557
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
558
558
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
559
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkML2ZY7YDjs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkJK547IDBjs.autoDetectBaseUrl.call(void 0, )
560
560
  );
561
561
  return {
562
562
  kind: "npm-global",
@@ -703,7 +703,7 @@ function sidecarInstallFailure(versionDir) {
703
703
  function runCommand(command, args, env = process.env) {
704
704
  return new Promise((resolveResult) => {
705
705
  let output = "";
706
- const plan = _chunkD6O3NJHXjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunkMOBOAZMAjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
707
707
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
708
708
  stdio: ["inherit", "pipe", "pipe"],
709
709
  shell: plan.shell,
@@ -1079,14 +1079,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1079
1079
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1080
1080
  }
1081
1081
  async function runUpdateCommand(options, dependencies = {}) {
1082
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkML2ZY7YDjs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkJK547IDBjs.autoDetectBaseUrl));
1083
1083
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1084
1084
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1085
1085
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1086
1086
  const originalWrite = process.stdout.write.bind(process.stdout);
1087
1087
  process.stdout.write = (() => true);
1088
1088
  try {
1089
- const exitCode = await _chunkD6O3NJHXjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunkMOBOAZMAjs.runSkillsCommand.call(void 0, { json: true });
1090
1090
  if (exitCode !== 0) {
1091
1091
  throw new Error(
1092
1092
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1157,11 +1157,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1157
1157
  ]
1158
1158
  };
1159
1159
  if (options.json && !options.executeWithJson) {
1160
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
1164
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  ...plan,
1167
1167
  render: {
@@ -1174,7 +1174,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1174
1174
  return 0;
1175
1175
  }
1176
1176
  if (plan.kind === "source" || plan.kind === "homebrew") {
1177
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1178
1178
  return 0;
1179
1179
  }
1180
1180
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1204,7 +1204,7 @@ To retry with full installer output, run: deepline skills
1204
1204
  );
1205
1205
  }
1206
1206
  if (options.executeWithJson && options.json) {
1207
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
1207
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordPlayTermination,
4
4
  schemaFields
5
- } from "./chunk-3GK3SH3G.mjs";
5
+ } from "./chunk-E6BZWURC.mjs";
6
6
  import {
7
7
  shellQuote
8
8
  } from "./chunk-OVDNJAJN.mjs";
@@ -19,11 +19,11 @@ import {
19
19
  } from "./chunk-EDWJY6T4.mjs";
20
20
  import {
21
21
  registerDeprecatedSearchCommand
22
- } from "./chunk-5HYD3GMS.mjs";
22
+ } from "./chunk-GT6KGIWV.mjs";
23
23
  import {
24
24
  handleDeploymentGet,
25
25
  handleDeploymentsList
26
- } from "./chunk-XSPAI6MF.mjs";
26
+ } from "./chunk-2DAWTVNN.mjs";
27
27
  import {
28
28
  pinLocalPlayImports,
29
29
  planLocalPlayExecution
@@ -42,7 +42,7 @@ import {
42
42
  normalizeRunEventOperationRequest,
43
43
  parseLogLevel,
44
44
  playInputExampleArgs
45
- } from "./chunk-2RC5JQ3C.mjs";
45
+ } from "./chunk-A62HBMHY.mjs";
46
46
  import {
47
47
  CSV_DATA_INPUT_KEY,
48
48
  buildNamedPlayRunRequest,
@@ -75,10 +75,10 @@ import {
75
75
  printJsonError,
76
76
  renderCommandEnvelopeText,
77
77
  shouldEmitJson
78
- } from "./chunk-MIMV5LTU.mjs";
78
+ } from "./chunk-NNYQ24O5.mjs";
79
79
  import {
80
80
  fetchWithDeploymentProtection
81
- } from "./chunk-FGHRRJ3D.mjs";
81
+ } from "./chunk-VZSVYNZH.mjs";
82
82
  import {
83
83
  DeeplineError
84
84
  } from "./chunk-NXGCO4JB.mjs";
@@ -10305,9 +10305,7 @@ function buildRunNextCommands(status) {
10305
10305
  const exportDatasetCmds = Array.isArray(actions2.exportDatasetCmds) ? actions2.exportDatasetCmds : !status.package && extractCanonicalRowsInfo(status) ? [`deepline runs export ${runId} --out output.csv`] : [];
10306
10306
  const commands = {
10307
10307
  get: String(actions2.getRunCmd ?? `deepline runs get ${runId}`),
10308
- full: String(
10309
- actions2.getFullRunCmd ?? `deepline runs get ${runId} --full`
10310
- ),
10308
+ full: String(actions2.getFullRunCmd ?? `deepline runs get ${runId} --full`),
10311
10309
  ...exportDatasetCmds.length === 1 ? { export: String(exportDatasetCmds[0]) } : {},
10312
10310
  logs: String(
10313
10311
  !status.package ? `deepline runs logs ${runId} --out run.log` : actions2.getLogsCmd ?? `deepline runs logs ${runId} --limit 100`
@@ -12297,9 +12295,7 @@ function formatActiveRunConflictError(input) {
12297
12295
  ` active: ${runId}${status ? ` status=${status}` : ""}${startedAt ? ` startedAt=${startedAt}` : ""}`
12298
12296
  );
12299
12297
  lines.push(` get: deepline runs get ${runId}`);
12300
- lines.push(
12301
- ` stop: deepline runs stop ${runId} --reason "stale lock"`
12302
- );
12298
+ lines.push(` stop: deepline runs stop ${runId} --reason "stale lock"`);
12303
12299
  }
12304
12300
  lines.push(
12305
12301
  ` rerun: start another run with the same deepline plays run command`
@@ -15331,6 +15327,18 @@ function describedPlay(play) {
15331
15327
  const reference = formatPlayListReference(play);
15332
15328
  const starter = play.cloneEditStarter ?? buildCloneEditStarter(play);
15333
15329
  const csv = play.csvInput ?? {};
15330
+ const csvField2 = typeof csv.inputField === "string" ? csv.inputField : "csv";
15331
+ const alongside = /* @__PURE__ */ new Set([
15332
+ csvField2,
15333
+ "columns",
15334
+ ...Array.isArray(csv.runLevelControlFields) ? csv.runLevelControlFields.map(String) : []
15335
+ ]);
15336
+ const declared = schemaFields(play.inputSchema).map((field) => field.name);
15337
+ const rowNames = schemaFields(csv.rowInputSchema).map((field) => field.name);
15338
+ const replaced = play.csvInput ? (rowNames.length > 0 ? rowNames : declared).filter(
15339
+ (name) => declared.includes(name) && !alongside.has(name)
15340
+ ) : [];
15341
+ const exclusive = replaced.length ? { field: csvField2, with: replaced } : void 0;
15334
15342
  const headers = isRecord2(csv.defaultColumns) ? csv.defaultColumns : {};
15335
15343
  const rowInputs = schemaFields(csv.rowInputSchema).map((field) => {
15336
15344
  const header = [headers[field.name]].flat().filter((name) => name && name !== field.name).join(" or ");
@@ -15361,7 +15369,10 @@ function describedPlay(play) {
15361
15369
  // A CSV play's run command is built by the server around its columns.
15362
15370
  ...play.csvInput ? { cli: play.runCommand } : {}
15363
15371
  },
15364
- ...starter ? { source: starter.command } : {}
15372
+ ...starter ? { source: starter.command } : {},
15373
+ ...exclusive ? { exclusive } : {},
15374
+ // A prebuilt's cost is what its recent runs were charged; there is no rate.
15375
+ ...play.observedCost?.displayText ? { cost: play.observedCost.displayText } : {}
15365
15376
  };
15366
15377
  }
15367
15378
  function printPlayDescription(play) {
@@ -16483,13 +16494,14 @@ Examples:
16483
16494
  process.exitCode = await ownView();
16484
16495
  return;
16485
16496
  }
16486
- const { describeAnything } = await import("./describe-GI5GHAKO.mjs");
16497
+ const { describeAnything } = await import("./describe-TMBECHTX.mjs");
16487
16498
  process.exitCode = await describeAnything(
16488
16499
  name,
16489
16500
  {
16490
16501
  ...options,
16491
16502
  kinds: ["prebuilts", "custom"],
16492
- json: Boolean(options.json)
16503
+ json: Boolean(options.json),
16504
+ fullRecord: true
16493
16505
  },
16494
16506
  // An unknown play keeps this command's suggestions.
16495
16507
  ownView
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-MIMV5LTU.mjs";
6
+ } from "./chunk-NNYQ24O5.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-FGHRRJ3D.mjs";
25
+ } from "./chunk-VZSVYNZH.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -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 _chunkVVFH745Ljs = require('./chunk-VVFH745L.js');
4
+ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
5
5
 
6
6
 
7
- var _chunkML2ZY7YDjs = require('./chunk-ML2ZY7YD.js');
7
+ var _chunkJK547IDBjs = require('./chunk-JK547IDB.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 = _chunkML2ZY7YDjs.agentSessionIdFromEnvironment.call(void 0, );
142
+ const sessionId = _chunkJK547IDBjs.agentSessionIdFromEnvironment.call(void 0, );
143
143
  const cwd = process.cwd();
144
144
  return _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(newestFirst.find((candidate) => candidate.sessionId === sessionId), () => ( newestFirst.find(
145
145
  (candidate) => sessionStartedInDirectory(candidate, cwd)
@@ -448,7 +448,7 @@ function buildSessionUploadContent(raw) {
448
448
  return { encodedContent: encoded, needsChunking: true };
449
449
  }
450
450
  async function uploadPayload(path, payload) {
451
- const { http } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
451
+ const { http } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
452
452
  return await http.post(path, payload);
453
453
  }
454
454
  async function uploadChunkedSessions(sessions, options) {
@@ -481,7 +481,7 @@ async function uploadChunkedSessions(sessions, options) {
481
481
  ...options.rating ? { rating: options.rating } : {}
482
482
  });
483
483
  const sessionIds = sessions.map((session) => session.sessionId);
484
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
484
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response,
487
487
  ok: true,
@@ -513,7 +513,7 @@ async function handleSessionsSend(options) {
513
513
  filename: _path.basename.call(void 0, filePath),
514
514
  ...rating ? { rating } : {}
515
515
  });
516
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
516
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
517
517
  {
518
518
  ...response2,
519
519
  ok: true,
@@ -563,7 +563,7 @@ async function handleSessionsSend(options) {
563
563
  ...rating ? { rating } : {}
564
564
  });
565
565
  const sessionIds = built.map((session) => session.sessionId);
566
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
566
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
567
567
  {
568
568
  ...response,
569
569
  ok: true,
@@ -671,7 +671,7 @@ ${refreshMeta}
671
671
  </body>
672
672
  </html>`;
673
673
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
674
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
674
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
675
675
  {
676
676
  ok: true,
677
677
  file: outputPath,
@@ -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 _chunkD6O3NJHXjs = require('./chunk-D6O3NJHX.js');
3
+ var _chunkMOBOAZMAjs = require('./chunk-MOBOAZMA.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 = _chunkD6O3NJHXjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkMOBOAZMAjs.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,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkVVFH745Ljs = require('./chunk-VVFH745L.js');
5
+ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
6
6
 
7
7
 
8
- var _chunkML2ZY7YDjs = require('./chunk-ML2ZY7YD.js');
8
+ var _chunkJK547IDBjs = require('./chunk-JK547IDB.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
39
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk3XKAOV74js.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
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
139
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk3XKAOV74js.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
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
153
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk3XKAOV74js.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
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
200
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
227
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk3XKAOV74js.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
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
254
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
269
+ _chunk3XKAOV74js.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 = _chunkML2ZY7YDjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkJK547IDBjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkVVFH745Ljs.openInBrowser.call(void 0, connectUrl);
292
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk3XKAOV74js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk3XKAOV74js.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
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
322
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk3XKAOV74js.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
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
371
+ _chunk3XKAOV74js.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 } = _chunkVVFH745Ljs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkVVFH745Ljs.printCommandEnvelope.call(void 0,
392
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-MIMV5LTU.mjs";
4
+ } from "./chunk-NNYQ24O5.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-FGHRRJ3D.mjs";
7
+ } from "./chunk-VZSVYNZH.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {