deepline 0.3.553 → 0.3.554

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 (151) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{auth-I3QAU4RV.mjs → auth-HJUNW7T2.mjs} +5 -5
  3. package/dist/cli/auth-SP6SKZJZ.js +44 -0
  4. package/dist/cli/{billing-YGFFVAIC.js → billing-4TSA5HEC.js} +102 -102
  5. package/dist/cli/{billing-3IC54OQQ.mjs → billing-SJYRJAQ2.mjs} +9 -9
  6. package/dist/cli/{chunk-2B5B5KAW.js → chunk-2HMN5H54.js} +53 -50
  7. package/dist/cli/{chunk-72V4PDH5.mjs → chunk-2ORPFQUA.mjs} +3 -3
  8. package/dist/cli/{chunk-BVDKFS2T.js → chunk-2OVHNHCF.js} +2 -2
  9. package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-33WRQSQ2.mjs} +4 -0
  10. package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
  11. package/dist/cli/{chunk-INEMTYMT.mjs → chunk-3Z4VFCXO.mjs} +7 -7
  12. package/dist/cli/{chunk-HEBO3XNZ.js → chunk-4DOFGIEJ.js} +12 -12
  13. package/dist/cli/{chunk-LFOERUQY.mjs → chunk-52Q5KETX.mjs} +1 -1
  14. package/dist/cli/{chunk-AGLR6QVN.js → chunk-5CYZHOKI.js} +4 -4
  15. package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-62AUAWQV.mjs} +4 -4
  16. package/dist/cli/{chunk-NDNHYONK.mjs → chunk-62HWJXST.mjs} +2 -2
  17. package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-6EXOAT6T.mjs} +2 -2
  18. package/dist/cli/{chunk-Y6SP3JMI.js → chunk-7OWI736E.js} +30 -30
  19. package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-B6HO2XWH.mjs} +13 -13
  20. package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-BOZAP2EM.mjs} +10 -7
  21. package/dist/cli/chunk-BVXIGOBZ.js +32 -0
  22. package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-D6Z6POKE.mjs} +5 -5
  23. package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-DSKSFFK2.mjs} +1 -1
  24. package/dist/cli/{chunk-JLGP5XAJ.js → chunk-DUBXUAAO.js} +5 -5
  25. package/dist/cli/{chunk-IMX7J4DU.js → chunk-E74KGKFZ.js} +5 -5
  26. package/dist/cli/{chunk-YUA6HA6D.js → chunk-ECHKAC7M.js} +2 -2
  27. package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
  28. package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-F7CMRKSK.mjs} +1 -1
  29. package/dist/cli/{chunk-SBH4CKPN.js → chunk-FBAFX43W.js} +10 -10
  30. package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-FXQ3JKE3.mjs} +1 -1
  31. package/dist/cli/{chunk-55F6HNOY.mjs → chunk-GA2M3G3Y.mjs} +4 -4
  32. package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-GHT2NDL7.js} +9 -9
  33. package/dist/cli/{chunk-WOCHZCUJ.js → chunk-GRZENGNE.js} +2 -2
  34. package/dist/cli/{chunk-7O6J6A7P.js → chunk-IVZKMJUK.js} +4 -0
  35. package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-KVBQY4ST.mjs} +2 -2
  36. package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-KZHBDMGF.mjs} +2 -2
  37. package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
  38. package/dist/cli/{chunk-RTV4RF7N.js → chunk-M7STM3MZ.js} +26 -26
  39. package/dist/cli/{chunk-7GEMELKI.js → chunk-OPTV7D2V.js} +431 -330
  40. package/dist/cli/{chunk-CACFJODG.js → chunk-OVEYWO4H.js} +8 -8
  41. package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
  42. package/dist/cli/{chunk-4747TPLV.js → chunk-PQQMPUCZ.js} +3 -3
  43. package/dist/cli/{chunk-45OAVGU6.mjs → chunk-Q7ACILL2.mjs} +2 -2
  44. package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-RBBTCYQB.mjs} +3 -3
  45. package/dist/cli/{chunk-7YRJ5UC4.js → chunk-RTHMGSZX.js} +20 -20
  46. package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-S6W6SJ6E.mjs} +1 -1
  47. package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
  48. package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
  49. package/dist/cli/{chunk-74RES4DS.js → chunk-TJ6HLN56.js} +5 -5
  50. package/dist/cli/{chunk-IUOGII7D.js → chunk-TOO3YM5N.js} +6 -6
  51. package/dist/cli/{chunk-UVQJYV76.mjs → chunk-UBBYHB2B.mjs} +2 -2
  52. package/dist/cli/{chunk-AGICYWGN.mjs → chunk-UC4BDZKI.mjs} +2 -2
  53. package/dist/cli/{chunk-6NE3RRRY.js → chunk-UNNOZKRT.js} +1 -1
  54. package/dist/cli/{chunk-FM7LPUPA.js → chunk-UOT7HPBH.js} +41 -41
  55. package/dist/cli/{chunk-DP2VH7CO.js → chunk-UYCZFQYQ.js} +11 -11
  56. package/dist/cli/{chunk-MLABYI4M.js → chunk-VIUUTEHY.js} +3 -3
  57. package/dist/cli/{chunk-LH5PZKER.mjs → chunk-VLO5NFH2.mjs} +1 -1
  58. package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-VQ75KX7G.mjs} +2 -2
  59. package/dist/cli/{chunk-3NTP2OSG.js → chunk-VV4XGZ24.js} +13 -13
  60. package/dist/cli/{chunk-LRDHPOZW.js → chunk-W6CZDTIR.js} +53 -53
  61. package/dist/cli/{chunk-7SERLBNR.js → chunk-WL7P32PI.js} +20 -20
  62. package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-XD3MFTHA.mjs} +1 -1
  63. package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
  64. package/dist/cli/{chunk-DP64MD6U.mjs → chunk-XU6QNM4D.mjs} +1 -1
  65. package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-YCOGPOUX.mjs} +2 -2
  66. package/dist/cli/{chunk-XLIHTJVM.js → chunk-YQKCH4R7.js} +20 -20
  67. package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-YY55NYAH.mjs} +133 -32
  68. package/dist/cli/command-docs.js +2 -2
  69. package/dist/cli/command-docs.mjs +1 -1
  70. package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +6 -6
  71. package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
  72. package/dist/cli/{csv-SA6ELJY6.js → csv-4ZQ2RATI.js} +13 -13
  73. package/dist/cli/{csv-ZXZGHWOM.mjs → csv-Y3BFPEM6.mjs} +4 -4
  74. package/dist/cli/{db-A54SP6AD.mjs → db-3JYY4JNN.mjs} +7 -7
  75. package/dist/cli/{db-JHFEIQBU.js → db-VEIFS4M7.js} +29 -29
  76. package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
  77. package/dist/cli/describe-FG625QPF.js +50 -0
  78. package/dist/cli/describe-core.js +5 -5
  79. package/dist/cli/describe-core.mjs +4 -4
  80. package/dist/cli/{executions-TLFZRHBJ.js → executions-HPZXOOVX.js} +8 -8
  81. package/dist/cli/{executions-HL2M2DFU.mjs → executions-PCXZKEHM.mjs} +6 -6
  82. package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-Y6VKZNY6.mjs} +6 -6
  83. package/dist/cli/{feedback-5UEX5UZK.js → feedback-ZKFHFVL6.js} +14 -14
  84. package/dist/cli/git-RUBMALLH.js +26 -0
  85. package/dist/cli/{git-LKGXVIVC.mjs → git-UMPR2QYC.mjs} +5 -5
  86. package/dist/cli/index.js +147 -147
  87. package/dist/cli/index.mjs +46 -46
  88. package/dist/cli/{integrations-6RUTLMN7.js → integrations-3GQCTRTF.js} +15 -15
  89. package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-V3TM6XAB.mjs} +7 -7
  90. package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-JZBUD7ZE.mjs} +6 -6
  91. package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-VYCO7NGW.js} +9 -9
  92. package/dist/cli/{mcp-6LWFP7RW.js → mcp-4OIWTCE6.js} +24 -24
  93. package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-PH4KZ76P.mjs} +4 -4
  94. package/dist/cli/{monitors-STM6A7OU.js → monitors-E2A6VPBY.js} +100 -100
  95. package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-SSMGIDGX.mjs} +7 -7
  96. package/dist/cli/{org-3SYOUQCX.mjs → org-SFDKSK5D.mjs} +6 -6
  97. package/dist/cli/{org-ZOBSNSIB.js → org-WUDZGWBT.js} +121 -121
  98. package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-QT7LQBPK.mjs} +6 -6
  99. package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-Y7SZTLSL.js} +14 -14
  100. package/dist/cli/{play-SN5YWLS7.mjs → play-EK7KSFPL.mjs} +21 -21
  101. package/dist/cli/{play-SM4CW2GS.js → play-GDNHCRRR.js} +372 -372
  102. package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-FVZLRXAU.mjs} +6 -6
  103. package/dist/cli/{providers-WZARYMCF.js → providers-ZKOSECLV.js} +9 -9
  104. package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-KSDKIXYD.js} +6 -6
  105. package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UJZ6PIQV.mjs} +4 -4
  106. package/dist/cli/{run-ZUHCZOJS.mjs → run-E7MZ7P35.mjs} +30 -28
  107. package/dist/cli/{run-FLZ6OTM7.js → run-PD2BBG6S.js} +51 -49
  108. package/dist/cli/search-TKSPTPHA.js +32 -0
  109. package/dist/cli/{search-HLPPKQEO.mjs → search-VTFUFTOY.mjs} +7 -7
  110. package/dist/cli/{search-output-RXJLU36B.js → search-output-G2AGDCOY.js} +9 -9
  111. package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-PFVXQCWA.mjs} +6 -6
  112. package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-7CIMEMX7.mjs} +6 -6
  113. package/dist/cli/{secrets-QJNG7G2Y.js → secrets-BCOQ4U7U.js} +15 -15
  114. package/dist/cli/sessions-4CO556VD.js +23 -0
  115. package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-IUCQZEF7.mjs} +6 -6
  116. package/dist/cli/{settings-RR3LZXL7.mjs → settings-KZN62UQK.mjs} +12 -12
  117. package/dist/cli/{settings-44I44P5F.js → settings-REL4736M.js} +85 -85
  118. package/dist/cli/{setup-KGWRWH4B.mjs → setup-2P7OG3OU.mjs} +11 -14
  119. package/dist/cli/{setup-KTEYOCJO.js → setup-2XIVBBCS.js} +51 -54
  120. package/dist/cli/skills-JYT5DEY6.js +37 -0
  121. package/dist/cli/{skills-FPRID2I5.mjs → skills-VIGNDJKI.mjs} +7 -7
  122. package/dist/cli/tools-NTVUQ2TG.js +57 -0
  123. package/dist/cli/{tools-PI4WMDLY.mjs → tools-W3QT5EJY.mjs} +20 -20
  124. package/dist/cli/{update-VJOJAZ7B.mjs → update-GZVBVMY3.mjs} +9 -9
  125. package/dist/cli/update-TWJZPUZM.js +37 -0
  126. package/dist/cli/{views-OVPSINZO.mjs → views-BOGEH424.mjs} +6 -6
  127. package/dist/cli/{views-NTUOLNQU.js → views-TOLJNLSV.js} +21 -21
  128. package/dist/cli/{workflow-2UDYDM6F.js → workflow-ENWFRK5M.js} +17 -17
  129. package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-VDG2FDQV.mjs} +7 -7
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +122 -122
  133. package/dist/release.d.mts +1 -1
  134. package/dist/release.d.ts +1 -1
  135. package/dist/release.js +2 -2
  136. package/dist/release.mjs +1 -1
  137. package/dist/server.js +5 -5
  138. package/dist/server.mjs +3 -3
  139. package/package.json +1 -1
  140. package/dist/cli/auth-MQCN7WGZ.js +0 -44
  141. package/dist/cli/chunk-AID3OYVJ.js +0 -8
  142. package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
  143. package/dist/cli/concurrent-runs-help-CFJH4KXV.js +0 -22
  144. package/dist/cli/describe-PHQ33AGS.mjs +0 -50
  145. package/dist/cli/describe-RHJ4XRFI.js +0 -50
  146. package/dist/cli/git-4JWOOHBG.js +0 -26
  147. package/dist/cli/search-JJWVHR3N.js +0 -32
  148. package/dist/cli/sessions-DHTBT2GN.js +0 -23
  149. package/dist/cli/skills-EPZPEXI2.js +0 -37
  150. package/dist/cli/tools-IGQQ5TML.js +0 -57
  151. package/dist/cli/update-4RNCVYGE.js +0 -37
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkAGLR6QVNjs = require('./chunk-AGLR6QVN.js');
40
+ var _chunk5CYZHOKIjs = require('./chunk-5CYZHOKI.js');
41
41
 
42
42
 
43
43
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -705,7 +705,7 @@ var ToolCalls = class {
705
705
  idempotencyKey,
706
706
  onResponse: (response2) => {
707
707
  lastResponse = null;
708
- atomicToolsSupported = response2.headers.get(_chunkAGLR6QVNjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
708
+ atomicToolsSupported = response2.headers.get(_chunk5CYZHOKIjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
709
709
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
710
710
  if (_optionalChain([options, 'optionalAccess', _33 => _33.onServerTiming])) {
711
711
  try {
@@ -1092,15 +1092,15 @@ function runtimeSelectionHeaders(runtime, env) {
1092
1092
  }
1093
1093
  const receivers = _optionalChain([env, 'access', _58 => _58.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1094
1094
  return {
1095
- [_chunkAGLR6QVNjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1096
- ...receivers ? { [_chunkAGLR6QVNjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1095
+ [_chunk5CYZHOKIjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1096
+ ...receivers ? { [_chunk5CYZHOKIjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1097
1097
  };
1098
1098
  }
1099
1099
  function playRunStartHeaders(runtime, env) {
1100
1100
  const headers = runtimeSelectionHeaders(runtime, env);
1101
1101
  const experimentSwitches = _optionalChain([env, 'access', _61 => _61.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
1102
1102
  if (!experimentSwitches) return headers;
1103
- return { ...headers, [_chunkAGLR6QVNjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1103
+ return { ...headers, [_chunk5CYZHOKIjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1104
1104
  }
1105
1105
  function normalizeTestPolicyOverrides(value, source) {
1106
1106
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1170,7 +1170,7 @@ var PlayClient = class {
1170
1170
  return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
1171
1171
  this.http,
1172
1172
  resolved.request,
1173
- _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkAGLR6QVNjs.SDK_API_MAJOR) } : headers,
1173
+ _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk5CYZHOKIjs.SDK_API_MAJOR) } : headers,
1174
1174
  options
1175
1175
  );
1176
1176
  }
@@ -3411,7 +3411,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3411
3411
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3412
3412
  );
3413
3413
  }
3414
- return { [_chunkAGLR6QVNjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3414
+ return { [_chunk5CYZHOKIjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3415
3415
  }
3416
3416
  function sleep(ms) {
3417
3417
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4347,7 +4347,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4347
4347
  );
4348
4348
  const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
4349
4349
  ...runtimeHeaders,
4350
- "X-Deepline-API-Major": String(_chunkAGLR6QVNjs.SDK_API_MAJOR)
4350
+ "X-Deepline-API-Major": String(_chunk5CYZHOKIjs.SDK_API_MAJOR)
4351
4351
  } : runtimeHeaders;
4352
4352
  const http = this.http;
4353
4353
  let submitted = false;
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-UEVKMZLR.mjs";
6
+ } from "./chunk-TGUQET3O.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,
@@ -13,7 +13,7 @@ import {
13
13
  examples,
14
14
  schemaLines,
15
15
  topLevelField
16
- } from "./chunk-E7WZOX2A.mjs";
16
+ } from "./chunk-XFZX6FNM.mjs";
17
17
  import {
18
18
  DeeplineError
19
19
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
3
+ var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkYQKCH4R7js.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkYQKCH4R7js.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-72V4PDH5.mjs";
3
+ } from "./chunk-2ORPFQUA.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-LFOERUQY.mjs";
10
+ } from "./chunk-52Q5KETX.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-DP64MD6U.mjs";
3
+ } from "./chunk-XU6QNM4D.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-AGICYWGN.mjs";
7
+ } from "./chunk-UC4BDZKI.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment,
10
10
  claudeProjectsRoots,
11
11
  coworkTranscriptFromEnvironment
12
- } from "./chunk-OTV2UUKW.mjs";
12
+ } from "./chunk-S6W6SJ6E.mjs";
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
  import {
@@ -1,29 +1,29 @@
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 _chunk7GEMELKIjs = require('./chunk-7GEMELKI.js');
3
+ var _chunkOPTV7D2Vjs = require('./chunk-OPTV7D2V.js');
4
4
 
5
5
 
6
- var _chunkDP2VH7COjs = require('./chunk-DP2VH7CO.js');
6
+ var _chunkUYCZFQYQjs = require('./chunk-UYCZFQYQ.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkIH6GDNKWjs = require('./chunk-IH6GDNKW.js');
11
+ var _chunkEN5NHCCQjs = require('./chunk-EN5NHCCQ.js');
12
12
 
13
13
 
14
- var _chunkTFEXSHPMjs = require('./chunk-TFEXSHPM.js');
14
+ var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
15
15
 
16
16
 
17
- var _chunkJLGP5XAJjs = require('./chunk-JLGP5XAJ.js');
17
+ var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
22
+ var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
26
+ var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkXLIHTJVMjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkYQKCH4R7js.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkMLABYI4Mjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkMLABYI4Mjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkVIUUTEHYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkVIUUTEHYjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkXLIHTJVMjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkYQKCH4R7js.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkIH6GDNKWjs.findNamed.call(void 0, name, options, _chunkIH6GDNKWjs.describeLookupsFor.call(void 0, new (0, _chunkJLGP5XAJjs.DeeplineClient)()));
55
+ return _chunkEN5NHCCQjs.findNamed.call(void 0, name, options, _chunkEN5NHCCQjs.describeLookupsFor.call(void 0, new (0, _chunkDUBXUAAOjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
59
- const lookups = _chunkIH6GDNKWjs.describeLookupsFor.call(void 0, client);
60
- const outcome = await _chunkIH6GDNKWjs.describeName.call(void 0, name, options, {
58
+ const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
59
+ const lookups = _chunkEN5NHCCQjs.describeLookupsFor.call(void 0, client);
60
+ const outcome = await _chunkEN5NHCCQjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunk7GEMELKIjs.seedToolListScript
64
+ seedStarterScript: _chunkOPTV7D2Vjs.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -90,18 +90,18 @@ function deliver(envelope, lines, { json, out }) {
90
90
  ` : text;
91
91
  _fs.writeFileSync.call(void 0, path, content);
92
92
  const bytes = Buffer.byteLength(content);
93
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
93
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
94
94
  { path, bytes },
95
95
  { json, text: `Wrote ${path} (${bytes} bytes)
96
96
  ` }
97
97
  );
98
98
  return 0;
99
99
  }
100
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
+ _chunkYQKCH4R7js.printCommandEnvelope.call(void 0, envelope, { json, text });
101
101
  return 0;
102
102
  }
103
103
  function registerDescribeCommand(program) {
104
- _chunkDP2VH7COjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
+ _chunkUYCZFQYQjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
105
105
  "Describe anything search returns: a tool, monitor type, or play."
106
106
  ).addHelpText(
107
107
  "after",
@@ -142,7 +142,7 @@ Schema size and format:
142
142
  by default; the output names them, and --verbose shows them.
143
143
  --fields email,miss_reason shows only the fields you name, plus every
144
144
  required input, and names the rest. Use it when you know what you need.
145
- A schema over ${_chunkTFEXSHPMjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
145
+ A schema over ${_chunkLY5MMXFFjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
146
146
  names. A shape used more than once is printed once under Types.
147
147
  --full-schema the normal output, with the schema not folded
148
148
  --schema-only only the schema, not folded, and nothing else
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-2MGZAI54.mjs";
22
22
  import {
23
23
  SDK_RELEASE
24
- } from "./chunk-GAVZ4EOD.mjs";
24
+ } from "./chunk-FXQ3JKE3.mjs";
25
25
 
26
26
  // src/version.ts
27
27
  var SDK_VERSION = SDK_RELEASE.version;
@@ -0,0 +1,32 @@
1
+ // src/cli/shell-quote.ts
2
+ function shellQuote(value) {
3
+ return `'${value.replace(/'/g, `'\\''`)}'`;
4
+ }
5
+ function shellArgument(value, platform = process.platform) {
6
+ if (platform !== "win32") return shellQuote(value);
7
+ if (/^[A-Za-z0-9_+:./\\-][A-Za-z0-9_+=:./\\-]*$/.test(value)) return value;
8
+ if (!/["\u201C\u201D\u201E$`!%\\\r\n]/.test(value)) return `"${value}"`;
9
+ return `'${value.replace(/['\u2018\u2019\u201A\u201B]/g, (quote) => quote + quote)}'`;
10
+ }
11
+ var EXAMPLE_INPUT_FILE = "input.json";
12
+ function exampleJsonInput(json, platform = process.platform) {
13
+ if (platform !== "win32") return { argument: `--input ${shellQuote(json)}` };
14
+ return {
15
+ argument: `--input-file ${EXAMPLE_INPUT_FILE}`,
16
+ file: { path: EXAMPLE_INPUT_FILE, contents: json }
17
+ };
18
+ }
19
+ function examplePlaceholderInput(platform = process.platform) {
20
+ return platform === "win32" ? `--input-file ${EXAMPLE_INPUT_FILE}` : `--input '{...}'`;
21
+ }
22
+ function exampleInputFileLine(file) {
23
+ return `Save this as ${file.path}: ${file.contents}`;
24
+ }
25
+
26
+ export {
27
+ shellQuote,
28
+ shellArgument,
29
+ exampleJsonInput,
30
+ examplePlaceholderInput,
31
+ exampleInputFileLine
32
+ };
@@ -2,7 +2,12 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-E7WZOX2A.mjs";
5
+ } from "./chunk-XFZX6FNM.mjs";
6
+ import {
7
+ exampleInputFileLine,
8
+ exampleJsonInput,
9
+ examplePlaceholderInput
10
+ } from "./chunk-STXDSVQZ.mjs";
6
11
  import {
7
12
  playToolListGetterMode
8
13
  } from "./chunk-FR2ILQ4G.mjs";
@@ -168,11 +173,16 @@ function playReferenceForTool(tool) {
168
173
  function playSearchCommandForToolId(toolId) {
169
174
  return `deepline search ${JSON.stringify(toolId.replace(/_/g, " "))}`;
170
175
  }
171
- function playRunCommandForTool(tool, toolId, input) {
176
+ function playRunCommandForTool(tool, toolId, input, platform = process.platform) {
172
177
  const playReference = playReferenceForTool(tool);
173
178
  if (!playReference) return playSearchCommandForToolId(toolId);
174
- const inputArg = input === void 0 ? "'{...}'" : `'${JSON.stringify(input)}'`;
175
- return `deepline run ${playReference} --input ${inputArg}`;
179
+ if (input === void 0) {
180
+ return `deepline run ${playReference} ${examplePlaceholderInput(platform)}`;
181
+ }
182
+ const { argument, file } = exampleJsonInput(JSON.stringify(input), platform);
183
+ const command = `deepline run ${playReference} ${argument}`;
184
+ return file ? `${exampleInputFileLine(file)}
185
+ ${command}` : command;
176
186
  }
177
187
  function toolContractJsonForDescribe(tool, requestedToolId, authoringContractEdition, seedStarterScript) {
178
188
  const toolId = String(tool.toolId || requestedToolId);
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkCACFJODGjs = require('./chunk-CACFJODG.js');
3
+ var _chunkOVEYWO4Hjs = require('./chunk-OVEYWO4H.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
7
+ var _chunkVIUUTEHYjs = require('./chunk-VIUUTEHY.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkMLABYI4Mjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkCACFJODGjs.PlayClient)(
142
- new (0, _chunkMLABYI4Mjs.HttpClient)(config),
140
+ const config = _chunkVIUUTEHYjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkOVEYWO4Hjs.PlayClient)(
142
+ new (0, _chunkVIUUTEHYjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkWOCHZCUJjs = require('./chunk-WOCHZCUJ.js');
3
+ var _chunkGRZENGNEjs = require('./chunk-GRZENGNE.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunk2B5B5KAWjs = require('./chunk-2B5B5KAW.js');
8
+ var _chunk2HMN5H54js = require('./chunk-2HMN5H54.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,18 +18,18 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunk2B5B5KAWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkWOCHZCUJjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunk2HMN5H54js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkGRZENGNEjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunk2B5B5KAWjs.requireSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunk2HMN5H54js.requireSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
29
29
  })
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
- _chunk2B5B5KAWjs.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
32
+ _chunk2HMN5H54js.enforceSdkCompatibilityResponse.call(void 0, compatibility, {
33
33
  quietAdvisory: true
34
34
  });
35
35
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-LH5PZKER.mjs";
3
+ } from "./chunk-VLO5NFH2.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-LFOERUQY.mjs";
7
+ } from "./chunk-52Q5KETX.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-LFOERUQY.mjs";
7
+ } from "./chunk-52Q5KETX.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-OTV2UUKW.mjs";
14
+ } from "./chunk-S6W6SJ6E.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.553",
52
+ version: "0.3.554",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."