deepline 0.3.498 → 0.3.499

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-32FRISRT.js +43 -0
  3. package/dist/cli/{auth-TNYYAPIX.mjs → auth-TECJ27G3.mjs} +5 -5
  4. package/dist/cli/{billing-G6QBOZAE.mjs → billing-PMKO73VG.mjs} +6 -6
  5. package/dist/cli/{billing-MP43H3ZK.js → billing-ULZGAED6.js} +79 -79
  6. package/dist/cli/{chunk-VFYKFPZD.js → chunk-2PKZ3RUU.js} +16 -16
  7. package/dist/cli/{chunk-EAQXRAVF.js → chunk-2RZHMCDL.js} +4 -4
  8. package/dist/cli/{chunk-3XNYGMPZ.mjs → chunk-3GP52OHV.mjs} +10 -10
  9. package/dist/cli/{chunk-LGE6ZOEO.mjs → chunk-43ZERPGR.mjs} +1 -1
  10. package/dist/cli/{chunk-H7YR4EYF.mjs → chunk-56JE475N.mjs} +9 -5
  11. package/dist/cli/{chunk-FPRS3FP4.js → chunk-57LW4TGY.js} +26 -26
  12. package/dist/cli/{chunk-VETP54NO.mjs → chunk-5IDORX4E.mjs} +4 -4
  13. package/dist/cli/{chunk-TPQFCUPV.js → chunk-7OQZZHZ4.js} +15 -11
  14. package/dist/cli/{chunk-RZA6HSXX.mjs → chunk-7UC2UZYW.mjs} +6 -6
  15. package/dist/cli/{chunk-VUNAIAMX.js → chunk-7WUMIRBV.js} +5 -5
  16. package/dist/cli/{chunk-SR3PRGWB.mjs → chunk-A2VCFBZN.mjs} +1 -1
  17. package/dist/cli/{chunk-PKTJN6PF.js → chunk-AGZRRHSB.js} +3 -3
  18. package/dist/cli/{chunk-KRR2Z2FH.js → chunk-AKLI4XSG.js} +2 -2
  19. package/dist/cli/{chunk-RZO743TC.mjs → chunk-BBFWIYAF.mjs} +2 -2
  20. package/dist/cli/{chunk-ELZYHPE7.mjs → chunk-C2V5U6HO.mjs} +5 -5
  21. package/dist/cli/{chunk-XNYAIV4E.js → chunk-FG5OZ5FB.js} +8 -8
  22. package/dist/cli/{chunk-IBCROFZW.js → chunk-G7BB2VOC.js} +41 -41
  23. package/dist/cli/{chunk-4RSOYJ67.mjs → chunk-IGCSKXGK.mjs} +3 -3
  24. package/dist/cli/{chunk-BQIEYWGQ.js → chunk-JIZHGOZ5.js} +94 -94
  25. package/dist/cli/{chunk-MRHMC33S.mjs → chunk-JM52ATUS.mjs} +1 -1
  26. package/dist/cli/{chunk-KLA4IUOI.mjs → chunk-JQHJKARU.mjs} +28 -22
  27. package/dist/cli/{chunk-4TVN2676.mjs → chunk-JUQESEJX.mjs} +2 -2
  28. package/dist/cli/{chunk-PHBJ2VDS.js → chunk-K54BUQSK.js} +7 -7
  29. package/dist/cli/{chunk-QUIJUNXX.js → chunk-KLQ5CR77.js} +30 -24
  30. package/dist/cli/{chunk-OFNXUDEC.mjs → chunk-KOD45UP5.mjs} +5 -5
  31. package/dist/cli/{chunk-KV4RNW2H.mjs → chunk-KZJKRU24.mjs} +4 -4
  32. package/dist/cli/{chunk-XUTIBRKF.js → chunk-L6C7C7IJ.js} +1 -1
  33. package/dist/cli/{chunk-QDNP6KOF.js → chunk-L7O7AFSF.js} +21 -21
  34. package/dist/cli/{chunk-DB7SJKGI.js → chunk-LUNXREUI.js} +6 -6
  35. package/dist/cli/{chunk-IE6FYMUS.mjs → chunk-MQ5YPD7K.mjs} +1 -1
  36. package/dist/cli/{chunk-C7BH7T3T.mjs → chunk-OWHQ4OG5.mjs} +2 -2
  37. package/dist/cli/{chunk-O4H53SJ4.mjs → chunk-P3MGNLZF.mjs} +2 -2
  38. package/dist/cli/{chunk-OL2QEEXF.js → chunk-PE3UHMMZ.js} +5 -5
  39. package/dist/cli/{chunk-EHOC6NCN.mjs → chunk-PSYGSXDS.mjs} +1 -1
  40. package/dist/cli/{chunk-UUFZFJL4.mjs → chunk-QXI2W7YY.mjs} +4 -4
  41. package/dist/cli/{chunk-IUCAVYXR.js → chunk-SLWCXGKP.js} +16 -16
  42. package/dist/cli/{chunk-2HCZHIMT.mjs → chunk-TFFJ2PRN.mjs} +5 -3
  43. package/dist/cli/{chunk-YCGVVUGX.js → chunk-TUDYBF4Y.js} +9 -9
  44. package/dist/cli/{chunk-2QS3MCJ2.mjs → chunk-UMPCQ4EE.mjs} +2 -2
  45. package/dist/cli/{chunk-TLG75Q77.js → chunk-UOQUCFAK.js} +53 -53
  46. package/dist/cli/{chunk-ZEYB6QPW.mjs → chunk-WEVIUQGZ.mjs} +2 -2
  47. package/dist/cli/{chunk-XGUGFGCF.js → chunk-WSOM3TY6.js} +3 -3
  48. package/dist/cli/{chunk-UA2GU7NB.js → chunk-XSUQAUG4.js} +7 -7
  49. package/dist/cli/{chunk-6JVJZ7YG.mjs → chunk-YAW7ET4P.mjs} +1 -1
  50. package/dist/cli/{chunk-N3T3L3WW.js → chunk-YPTZJ7LO.js} +5 -3
  51. package/dist/cli/{chunk-QERMP4TW.js → chunk-YRQWGWRJ.js} +2 -2
  52. package/dist/cli/{chunk-TDUTNTA5.js → chunk-Z2MO7FZG.js} +53 -53
  53. package/dist/cli/{chunk-PAHFVOFZ.mjs → chunk-ZVAD65CF.mjs} +1 -1
  54. package/dist/cli/command-docs.js +2 -2
  55. package/dist/cli/command-docs.mjs +1 -1
  56. package/dist/cli/{csv-LBUOESU2.mjs → csv-ACO5YC46.mjs} +4 -4
  57. package/dist/cli/{csv-SCXUWRVV.js → csv-VGSQ3JYE.js} +13 -13
  58. package/dist/cli/{db-3SI2OXIV.mjs → db-CXNZOXGM.mjs} +6 -6
  59. package/dist/cli/{db-CC2D2GSL.js → db-QOUPHFFN.js} +27 -27
  60. package/dist/cli/describe-DEXYQMBO.js +50 -0
  61. package/dist/cli/{describe-ZK5CMT4M.mjs → describe-J4O5GCJS.mjs} +17 -17
  62. package/dist/cli/{executions-DVPHIG2I.mjs → executions-SJETRLXW.mjs} +6 -6
  63. package/dist/cli/{executions-YKYQIRPP.js → executions-YIECH2CL.js} +8 -8
  64. package/dist/cli/{feedback-BVLYZ3BM.js → feedback-5BRCNERV.js} +8 -8
  65. package/dist/cli/{feedback-UQRMPU2S.mjs → feedback-GSAFFMF6.mjs} +4 -4
  66. package/dist/cli/git-RDKLITUC.js +25 -0
  67. package/dist/cli/{git-WTMZ66HP.mjs → git-SF5XIGLU.mjs} +5 -5
  68. package/dist/cli/index.js +141 -141
  69. package/dist/cli/index.mjs +41 -41
  70. package/dist/cli/{legacy-noops-TVJ5WOBD.js → legacy-noops-5TBT4XC6.js} +8 -8
  71. package/dist/cli/{legacy-noops-RUQT6DB3.mjs → legacy-noops-TZA3CALE.mjs} +5 -5
  72. package/dist/cli/{monitors-ZQBZMFUL.mjs → monitors-XAYWJNSV.mjs} +7 -7
  73. package/dist/cli/{monitors-UYYJBO6U.js → monitors-XNB5YNC3.js} +95 -95
  74. package/dist/cli/{org-4TZED2IF.js → org-2UYWJXG7.js} +72 -72
  75. package/dist/cli/{org-UACQHFY6.mjs → org-S5VZL5KZ.mjs} +6 -6
  76. package/dist/cli/{pages-R2KSZCYK.mjs → pages-NGVJO7PA.mjs} +6 -6
  77. package/dist/cli/{pages-HDYYGZOT.js → pages-ZQRRTZIT.js} +18 -18
  78. package/dist/cli/{play-DQ4AZ2NV.mjs → play-3JNERHSC.mjs} +37 -27
  79. package/dist/cli/{play-ZMYWHAV3.js → play-P3OYQ7JV.js} +406 -396
  80. package/dist/cli/{providers-X53WCX46.mjs → providers-27O6BOAP.mjs} +6 -6
  81. package/dist/cli/{providers-I7GXTYG4.js → providers-2FFGAPUR.js} +9 -9
  82. package/dist/cli/{quickstart-GKW46HUR.js → quickstart-5G2UPKJV.js} +6 -6
  83. package/dist/cli/{quickstart-DKVF32MY.mjs → quickstart-B2EXIAU6.mjs} +4 -4
  84. package/dist/cli/{run-VLX775L5.js → run-2TGD7FAL.js} +82 -43
  85. package/dist/cli/{run-A36EBVLD.mjs → run-3QFXYV3Z.mjs} +69 -30
  86. package/dist/cli/{search-QHO4AYS2.mjs → search-GXEEOMVD.mjs} +7 -7
  87. package/dist/cli/search-YKTYDBCN.js +32 -0
  88. package/dist/cli/{search-output-YF5HCWKU.mjs → search-output-DMIJQTAA.mjs} +4 -4
  89. package/dist/cli/{search-output-P7GWSTNO.js → search-output-I4RZPHU6.js} +6 -6
  90. package/dist/cli/{secrets-XTHBAX26.mjs → secrets-DQI5YCS6.mjs} +6 -6
  91. package/dist/cli/{secrets-3X56AV2F.js → secrets-MJMNRXZX.js} +15 -15
  92. package/dist/cli/{sessions-4ZVZABXN.mjs → sessions-HAUN3VYE.mjs} +5 -5
  93. package/dist/cli/{sessions-AJUQJR4G.js → sessions-QS74ZTRH.js} +6 -6
  94. package/dist/cli/{settings-AX5JF47R.mjs → settings-E64HIUXW.mjs} +11 -11
  95. package/dist/cli/{settings-R7RQC5Z3.js → settings-VQBOS6VU.js} +78 -78
  96. package/dist/cli/{setup-QB62E6K5.js → setup-KRW3JCJE.js} +49 -49
  97. package/dist/cli/{setup-DTXQODYK.mjs → setup-NRUG42F2.mjs} +9 -9
  98. package/dist/cli/{skills-N6OY5ABC.mjs → skills-AHLZRTKZ.mjs} +7 -7
  99. package/dist/cli/skills-PGVIJK6Q.js +36 -0
  100. package/dist/cli/{tools-3T4GKGS4.mjs → tools-INRRIWOU.mjs} +16 -16
  101. package/dist/cli/tools-IXXN2RE4.js +57 -0
  102. package/dist/cli/{update-QDT4SFW3.mjs → update-ETOWEJ7D.mjs} +9 -9
  103. package/dist/cli/update-QW4RV2UX.js +34 -0
  104. package/dist/cli/{workflow-Q7LQETNW.mjs → workflow-JT2DOSCJ.mjs} +7 -7
  105. package/dist/cli/{workflow-FW3FPOWU.js → workflow-RUAYQK4D.js} +17 -17
  106. package/dist/index.js +9 -9
  107. package/dist/index.mjs +6 -6
  108. package/dist/install-integrity.json +100 -100
  109. package/dist/release.d.mts +1 -1
  110. package/dist/release.d.ts +1 -1
  111. package/dist/release.js +2 -2
  112. package/dist/release.mjs +1 -1
  113. package/dist/server.js +5 -5
  114. package/dist/server.mjs +3 -3
  115. package/package.json +1 -1
  116. package/dist/cli/auth-NYYFDCMT.js +0 -43
  117. package/dist/cli/describe-DAUL3SDQ.js +0 -50
  118. package/dist/cli/git-MFIJCRX6.js +0 -25
  119. package/dist/cli/search-STXZIGVB.js +0 -32
  120. package/dist/cli/skills-IEP5L5MQ.js +0 -36
  121. package/dist/cli/tools-JWBXEZKY.js +0 -57
  122. package/dist/cli/update-QME3C2VP.js +0 -34
@@ -1,19 +1,19 @@
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 _chunkKRR2Z2FHjs = require('./chunk-KRR2Z2FH.js');
4
+ var _chunkAKLI4XSGjs = require('./chunk-AKLI4XSG.js');
5
5
 
6
6
 
7
- var _chunkIBCROFZWjs = require('./chunk-IBCROFZW.js');
7
+ var _chunkG7BB2VOCjs = require('./chunk-G7BB2VOC.js');
8
8
 
9
9
 
10
- var _chunkTLG75Q77js = require('./chunk-TLG75Q77.js');
10
+ var _chunkUOQUCFAKjs = require('./chunk-UOQUCFAK.js');
11
11
 
12
12
 
13
- var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
13
+ var _chunk7OQZZHZ4js = require('./chunk-7OQZZHZ4.js');
14
14
 
15
15
 
16
- var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
16
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkTLG75Q77js.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkUOQUCFAKjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkKRR2Z2FHjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkKRR2Z2FHjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkAKLI4XSGjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkAKLI4XSGjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkXGUGFGCFjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkWSOM3TY6js.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkTLG75Q77js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkUOQUCFAKjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkXGUGFGCFjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkWSOM3TY6js.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkIBCROFZWjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkG7BB2VOCjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk7OQZZHZ4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
1284
+ _chunk7OQZZHZ4js.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk7OQZZHZ4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
1327
+ _chunk7OQZZHZ4js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkXUTIBRKFjs = require('./chunk-XUTIBRKF.js');
19
+ var _chunkL6C7C7IJjs = require('./chunk-L6C7C7IJ.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkXUTIBRKFjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkXUTIBRKFjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkXUTIBRKFjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkL6C7C7IJjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkL6C7C7IJjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkL6C7C7IJjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-KLA4IUOI.mjs";
5
+ } from "./chunk-JQHJKARU.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-VETP54NO.mjs";
9
+ } from "./chunk-5IDORX4E.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-RZO743TC.mjs";
51
+ } from "./chunk-BBFWIYAF.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-6JVJZ7YG.mjs";
54
+ } from "./chunk-YAW7ET4P.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-ELZYHPE7.mjs";
64
+ } from "./chunk-C2V5U6HO.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-EHOC6NCN.mjs";
69
+ } from "./chunk-PSYGSXDS.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-UUFZFJL4.mjs";
75
+ } from "./chunk-QXI2W7YY.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-H7YR4EYF.mjs";
83
+ } from "./chunk-56JE475N.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-PAHFVOFZ.mjs";
88
+ } from "./chunk-ZVAD65CF.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-ZK5CMT4M.mjs");
1041
+ const { describeAnything } = await import("./describe-J4O5GCJS.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-UUFZFJL4.mjs";
3
+ } from "./chunk-QXI2W7YY.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-PAHFVOFZ.mjs";
5
+ } from "./chunk-ZVAD65CF.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-MRHMC33S.mjs";
8
+ } from "./chunk-JM52ATUS.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -125,7 +125,7 @@ var ANSI_PATTERN = /\x1b\[[0-9;?]*[A-Za-z]|\r/g;
125
125
  var installed = false;
126
126
  var pending = [];
127
127
  var rawStderrWrite = null;
128
- var stdoutWritten = false;
128
+ var jsonOutputHandled = false;
129
129
  function isJsonOutputMode() {
130
130
  return process.argv.includes("--json");
131
131
  }
@@ -135,7 +135,7 @@ function installJsonStderrGuard() {
135
135
  rawStderrWrite = process.stderr.write.bind(process.stderr);
136
136
  const stdoutWrite = process.stdout.write.bind(process.stdout);
137
137
  process.stdout.write = ((...args) => {
138
- stdoutWritten = true;
138
+ markJsonOutputHandled();
139
139
  return stdoutWrite(...args);
140
140
  });
141
141
  const capture = (chunk) => {
@@ -162,8 +162,11 @@ function addJsonNotice(notice) {
162
162
  function writeRawStderr(text) {
163
163
  (rawStderrWrite ?? process.stderr.write.bind(process.stderr))(text);
164
164
  }
165
+ function markJsonOutputHandled() {
166
+ jsonOutputHandled = true;
167
+ }
165
168
  function takeSilentJsonFailureMessage(exitCode) {
166
- if (!installed || stdoutWritten || !exitCode || Number(exitCode) === 0) {
169
+ if (!installed || jsonOutputHandled || !exitCode || Number(exitCode) === 0) {
167
170
  return null;
168
171
  }
169
172
  const index = pending.findIndex((notice) => typeof notice === "string");
@@ -1049,6 +1052,7 @@ export {
1049
1052
  installJsonStderrGuard,
1050
1053
  addJsonNotice,
1051
1054
  writeRawStderr,
1055
+ markJsonOutputHandled,
1052
1056
  takeSilentJsonFailureMessage,
1053
1057
  getAuthedHttpClient,
1054
1058
  openInBrowser,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
5
+ var _chunk7OQZZHZ4js = require('./chunk-7OQZZHZ4.js');
6
6
 
7
7
 
8
- var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
8
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk7OQZZHZ4js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
39
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk7OQZZHZ4js.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
139
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk7OQZZHZ4js.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
153
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk7OQZZHZ4js.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
200
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk7OQZZHZ4js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
227
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk7OQZZHZ4js.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
254
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk7OQZZHZ4js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
269
+ _chunk7OQZZHZ4js.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 = _chunkXGUGFGCFjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkWSOM3TY6js.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkTPQFCUPVjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk7OQZZHZ4js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk7OQZZHZ4js.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
322
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk7OQZZHZ4js.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
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
371
+ _chunk7OQZZHZ4js.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 } = _chunkTPQFCUPVjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk7OQZZHZ4js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkTPQFCUPVjs.printCommandEnvelope.call(void 0,
392
+ _chunk7OQZZHZ4js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-RZO743TC.mjs";
6
+ } from "./chunk-BBFWIYAF.mjs";
7
7
  import {
8
8
  printCommandEnvelope
9
- } from "./chunk-H7YR4EYF.mjs";
9
+ } from "./chunk-56JE475N.mjs";
10
10
  import {
11
11
  resolveConfig,
12
12
  sdkCliStateDirPath
13
- } from "./chunk-PAHFVOFZ.mjs";
13
+ } from "./chunk-ZVAD65CF.mjs";
14
14
 
15
15
  // src/cli/commands/search.ts
16
16
  import { Option } from "commander";
@@ -133,7 +133,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
133
133
  });
134
134
  if (searchRef) rememberSearchRef(searchRef);
135
135
  pointAtDescribe(result);
136
- const { renderSearchResults } = await import("./search-output-YF5HCWKU.mjs");
136
+ const { renderSearchResults } = await import("./search-output-DMIJQTAA.mjs");
137
137
  printCommandEnvelope(result, {
138
138
  json: options.json === true,
139
139
  text: renderSearchResults(result, summaryWidth)
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
5
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.js');
6
6
 
7
7
 
8
- var _chunkEAQXRAVFjs = require('./chunk-EAQXRAVF.js');
8
+ var _chunk2RZHMCDLjs = require('./chunk-2RZHMCDL.js');
9
9
 
10
10
 
11
11
 
@@ -125,7 +125,7 @@ var ANSI_PATTERN = /\x1b\[[0-9;?]*[A-Za-z]|\r/g;
125
125
  var installed = false;
126
126
  var pending = [];
127
127
  var rawStderrWrite = null;
128
- var stdoutWritten = false;
128
+ var jsonOutputHandled = false;
129
129
  function isJsonOutputMode() {
130
130
  return process.argv.includes("--json");
131
131
  }
@@ -135,7 +135,7 @@ function installJsonStderrGuard() {
135
135
  rawStderrWrite = process.stderr.write.bind(process.stderr);
136
136
  const stdoutWrite = process.stdout.write.bind(process.stdout);
137
137
  process.stdout.write = ((...args) => {
138
- stdoutWritten = true;
138
+ markJsonOutputHandled();
139
139
  return stdoutWrite(...args);
140
140
  });
141
141
  const capture = (chunk) => {
@@ -162,8 +162,11 @@ function addJsonNotice(notice) {
162
162
  function writeRawStderr(text) {
163
163
  (_nullishCoalesce(rawStderrWrite, () => ( process.stderr.write.bind(process.stderr))))(text);
164
164
  }
165
+ function markJsonOutputHandled() {
166
+ jsonOutputHandled = true;
167
+ }
165
168
  function takeSilentJsonFailureMessage(exitCode) {
166
- if (!installed || stdoutWritten || !exitCode || Number(exitCode) === 0) {
169
+ if (!installed || jsonOutputHandled || !exitCode || Number(exitCode) === 0) {
167
170
  return null;
168
171
  }
169
172
  const index = pending.findIndex((notice) => typeof notice === "string");
@@ -290,8 +293,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
293
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
294
  var defaultBrowserCommandRunner = childProcess;
292
295
  function getAuthedHttpClient() {
293
- const config = _chunkXGUGFGCFjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkXGUGFGCFjs.HttpClient)(config) };
296
+ const config = _chunkWSOM3TY6js.resolveConfig.call(void 0, );
297
+ return { config, http: new (0, _chunkWSOM3TY6js.HttpClient)(config) };
295
298
  }
296
299
  function stableOsUserId() {
297
300
  try {
@@ -631,7 +634,7 @@ function collectLocalEnvInfo() {
631
634
  os: `${process.platform} ${process.arch}`,
632
635
  node_version: process.version,
633
636
  home_dir: homeDir,
634
- agent_runtime: _chunkEAQXRAVFjs.detectAgentRuntime.call(void 0, )
637
+ agent_runtime: _chunk2RZHMCDLjs.detectAgentRuntime.call(void 0, )
635
638
  };
636
639
  const env = process.env;
637
640
  const optional = {
@@ -878,9 +881,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
881
  }
879
882
  function withAgentCommandContext(value) {
880
883
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkEAQXRAVFjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
884
+ return _chunk2RZHMCDLjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
885
  ...valueRecord,
883
- command_context: _chunkXGUGFGCFjs.resolveCliCommandContext.call(void 0, )
886
+ command_context: _chunkWSOM3TY6js.resolveCliCommandContext.call(void 0, )
884
887
  } : value;
885
888
  }
886
889
  function printJson(value, fields) {
@@ -1074,4 +1077,5 @@ function printCommandEnvelope(envelope, options = {}) {
1074
1077
 
1075
1078
 
1076
1079
 
1077
- exports.parseJsonFields = parseJsonFields; exports.jsonFieldArgs = jsonFieldArgs; exports.describeArgs = describeArgs; exports.isJsonOutputMode = isJsonOutputMode; exports.installJsonStderrGuard = installJsonStderrGuard; exports.addJsonNotice = addJsonNotice; exports.writeRawStderr = writeRawStderr; exports.takeSilentJsonFailureMessage = takeSilentJsonFailureMessage; exports.getAuthedHttpClient = getAuthedHttpClient; exports.openInBrowser = openInBrowser; exports.sleep = sleep; exports.collectLocalEnvInfo = collectLocalEnvInfo; exports.readCsvRows = readCsvRows; exports.csvStringFromRows = csvStringFromRows; exports.csvSafeJsonString = csvSafeJsonString; exports.recordRows = recordRows; exports.dataExportRows = dataExportRows; exports.dataExportColumns = dataExportColumns; exports.dataExportCsvString = dataExportCsvString; exports.markdownTableFromRows = markdownTableFromRows; exports.printJson = printJson; exports.printCompactJson = printCompactJson; exports.formatToolExecutionErrorDiagnostic = formatToolExecutionErrorDiagnostic; exports.errorToJsonPayload = errorToJsonPayload; exports.formatProviderConcurrencyDiagnostic = formatProviderConcurrencyDiagnostic; exports.printJsonError = printJsonError; exports.shouldEmitJson = shouldEmitJson; exports.argsWantJson = argsWantJson; exports.createTimestampedName = createTimestampedName; exports.clip = clip; exports.renderCommandEnvelopeText = renderCommandEnvelopeText; exports.printCommandEnvelope = printCommandEnvelope;
1080
+
1081
+ exports.parseJsonFields = parseJsonFields; exports.jsonFieldArgs = jsonFieldArgs; exports.describeArgs = describeArgs; exports.isJsonOutputMode = isJsonOutputMode; exports.installJsonStderrGuard = installJsonStderrGuard; exports.addJsonNotice = addJsonNotice; exports.writeRawStderr = writeRawStderr; exports.markJsonOutputHandled = markJsonOutputHandled; exports.takeSilentJsonFailureMessage = takeSilentJsonFailureMessage; exports.getAuthedHttpClient = getAuthedHttpClient; exports.openInBrowser = openInBrowser; exports.sleep = sleep; exports.collectLocalEnvInfo = collectLocalEnvInfo; exports.readCsvRows = readCsvRows; exports.csvStringFromRows = csvStringFromRows; exports.csvSafeJsonString = csvSafeJsonString; exports.recordRows = recordRows; exports.dataExportRows = dataExportRows; exports.dataExportColumns = dataExportColumns; exports.dataExportCsvString = dataExportCsvString; exports.markdownTableFromRows = markdownTableFromRows; exports.printJson = printJson; exports.printCompactJson = printCompactJson; exports.formatToolExecutionErrorDiagnostic = formatToolExecutionErrorDiagnostic; exports.errorToJsonPayload = errorToJsonPayload; exports.formatProviderConcurrencyDiagnostic = formatProviderConcurrencyDiagnostic; exports.printJsonError = printJsonError; exports.shouldEmitJson = shouldEmitJson; exports.argsWantJson = argsWantJson; exports.createTimestampedName = createTimestampedName; exports.clip = clip; exports.renderCommandEnvelopeText = renderCommandEnvelopeText; exports.printCommandEnvelope = printCommandEnvelope;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-3XNYGMPZ.mjs";
3
+ } from "./chunk-3GP52OHV.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-KLA4IUOI.mjs";
6
+ } from "./chunk-JQHJKARU.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,18 +14,18 @@ import {
14
14
  } from "./chunk-SAW3FBCA.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-RZO743TC.mjs";
17
+ } from "./chunk-BBFWIYAF.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-UUFZFJL4.mjs";
21
+ } from "./chunk-QXI2W7YY.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-H7YR4EYF.mjs";
24
+ } from "./chunk-56JE475N.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-PAHFVOFZ.mjs";
28
+ } from "./chunk-ZVAD65CF.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -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 _chunkUA2GU7NBjs = require('./chunk-UA2GU7NB.js');
3
+ var _chunkXSUQAUG4js = require('./chunk-XSUQAUG4.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXGUGFGCFjs = require('./chunk-XGUGFGCF.js');
7
+ var _chunkWSOM3TY6js = require('./chunk-WSOM3TY6.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 = _chunkXGUGFGCFjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkUA2GU7NBjs.PlayClient)(
142
- new (0, _chunkXGUGFGCFjs.HttpClient)(config),
140
+ const config = _chunkWSOM3TY6js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkXSUQAUG4js.PlayClient)(
142
+ new (0, _chunkWSOM3TY6js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -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.498",
52
+ version: "0.3.499",
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."
@@ -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 _chunkTPQFCUPVjs = require('./chunk-TPQFCUPV.js');
3
+ var _chunk7OQZZHZ4js = require('./chunk-7OQZZHZ4.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 && !_chunkTPQFCUPVjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunk7OQZZHZ4js.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 (_chunkTPQFCUPVjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunk7OQZZHZ4js.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);