deepline 0.3.454 → 0.3.455

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 (110) hide show
  1. package/dist/bundling-sources/sdk/src/http.ts +17 -3
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/tool-calls.ts +13 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +2 -0
  5. package/dist/cli/{auth-YNPT3IER.mjs → auth-BGPCPVHW.mjs} +4 -4
  6. package/dist/cli/auth-SRR4DW75.js +40 -0
  7. package/dist/cli/{billing-TLRVAOXB.mjs → billing-6BLEXHCR.mjs} +4 -4
  8. package/dist/cli/{billing-VXIIND6T.js → billing-FCC2YOKB.js} +73 -73
  9. package/dist/cli/{chunk-VXBEHDM6.js → chunk-2R7JD2NY.js} +8 -6
  10. package/dist/cli/{chunk-KPPL2WNH.js → chunk-2SN2EEQW.js} +16 -16
  11. package/dist/cli/{chunk-THJ7ORNM.mjs → chunk-2VHR5DXQ.mjs} +3 -3
  12. package/dist/cli/{chunk-5OQMUDPM.mjs → chunk-3E4WSS35.mjs} +1 -1
  13. package/dist/cli/{chunk-5GJH2BYN.mjs → chunk-3RQY2OG7.mjs} +2 -2
  14. package/dist/cli/{chunk-EXWKHMMP.mjs → chunk-4BZFRLKU.mjs} +5 -5
  15. package/dist/cli/{chunk-2I7GE7KB.mjs → chunk-4Z3X5CWI.mjs} +1 -1
  16. package/dist/cli/{chunk-WONLZMDF.js → chunk-6F7TD4M4.js} +6 -6
  17. package/dist/cli/{chunk-7V3OKSB2.js → chunk-6TOMXZX3.js} +1 -1
  18. package/dist/cli/{chunk-YETNOEAZ.mjs → chunk-B7K3QD5W.mjs} +10 -9
  19. package/dist/cli/{chunk-S2PO3X5R.js → chunk-BCB2QNG4.js} +2 -2
  20. package/dist/cli/{chunk-BUYQU7TB.js → chunk-CZREA5NE.js} +8 -8
  21. package/dist/cli/{chunk-LWYOJG66.mjs → chunk-DPTEABFU.mjs} +1 -1
  22. package/dist/cli/{chunk-7ICOQRW5.js → chunk-EXZOUJCD.js} +3 -3
  23. package/dist/cli/{chunk-DCZSJON4.mjs → chunk-FCQ52RUB.mjs} +2 -2
  24. package/dist/cli/{chunk-U72KDMYJ.mjs → chunk-IUSGWMGK.mjs} +2 -2
  25. package/dist/cli/{chunk-SJH66N73.js → chunk-J7WYWQF4.js} +6 -6
  26. package/dist/cli/{chunk-VHGGHRGY.js → chunk-LQH2KJ53.js} +93 -92
  27. package/dist/cli/{chunk-TECW24CR.mjs → chunk-LRA5YJVV.mjs} +5 -3
  28. package/dist/cli/{chunk-FKGXZXRP.js → chunk-MCMLQ7GD.js} +8 -8
  29. package/dist/cli/{chunk-YPYR4ACF.js → chunk-MFKTYIBJ.js} +51 -51
  30. package/dist/cli/{chunk-YXCLG3KB.mjs → chunk-PQ4JU2MV.mjs} +4 -2
  31. package/dist/cli/{chunk-LVHRP7XM.mjs → chunk-R5VMRVRN.mjs} +4 -4
  32. package/dist/cli/{chunk-P5IQ6LIK.js → chunk-RQMEYYN4.js} +35 -35
  33. package/dist/cli/{chunk-RDAUQGPG.mjs → chunk-RYGDM5BG.mjs} +1 -1
  34. package/dist/cli/{chunk-QLMQ2NAQ.js → chunk-SMZUU4NY.js} +2 -2
  35. package/dist/cli/{chunk-33FEF4RH.js → chunk-UVJLG5KD.js} +50 -50
  36. package/dist/cli/{chunk-CPXT4KPC.mjs → chunk-VIGEE67Z.mjs} +3 -3
  37. package/dist/cli/{chunk-IJ5WCZ32.js → chunk-VMGTYM3A.js} +20 -20
  38. package/dist/cli/{chunk-Z5PQSTYX.js → chunk-W3DIXRDT.js} +241 -239
  39. package/dist/cli/{chunk-UT6W675P.mjs → chunk-WBULEVM4.mjs} +1 -1
  40. package/dist/cli/{chunk-G6ZOZQXT.mjs → chunk-WVGPAP7A.mjs} +3 -3
  41. package/dist/cli/{chunk-27NNEBIS.mjs → chunk-YIFCV77L.mjs} +2 -2
  42. package/dist/cli/{chunk-6JY2NGJN.js → chunk-YKEWDVZC.js} +26 -26
  43. package/dist/cli/{csv-I4CAAV6A.mjs → csv-27T3L4RC.mjs} +3 -3
  44. package/dist/cli/{csv-BSKJR3CR.js → csv-TEAA2YV5.js} +12 -12
  45. package/dist/cli/{db-RA3IL6MC.js → db-J3PPU7GX.js} +25 -25
  46. package/dist/cli/{db-EQP24K3B.mjs → db-N3NRYYI4.mjs} +4 -4
  47. package/dist/cli/{describe-62KPTIFH.js → describe-PX7XBLZF.js} +17 -17
  48. package/dist/cli/{describe-EZDVJDPQ.mjs → describe-SJBCCTR7.mjs} +13 -13
  49. package/dist/cli/describe-core.d.mts +1 -1
  50. package/dist/cli/describe-core.d.ts +1 -1
  51. package/dist/cli/{executions-2HBBXRPM.js → executions-WXIL4C5M.js} +6 -6
  52. package/dist/cli/{executions-W5KR56KP.mjs → executions-XN376RR4.mjs} +4 -4
  53. package/dist/cli/{feedback-6UTOLSFP.mjs → feedback-KHJXJ2K7.mjs} +3 -3
  54. package/dist/cli/{feedback-CVYS7ZPV.js → feedback-LG5NWE3R.js} +7 -7
  55. package/dist/cli/{git-JXH64LI4.mjs → git-726A5HHA.mjs} +4 -4
  56. package/dist/cli/git-PXYOFDQH.js +24 -0
  57. package/dist/cli/index.js +132 -132
  58. package/dist/cli/index.mjs +37 -37
  59. package/dist/cli/{legacy-noops-5XTXIPU2.js → legacy-noops-QI6VN34P.js} +7 -7
  60. package/dist/cli/{legacy-noops-NYMLGQNX.mjs → legacy-noops-V4WS63SD.mjs} +4 -4
  61. package/dist/cli/{monitors-CEU6SP2B.mjs → monitors-AAWRYPHY.mjs} +5 -5
  62. package/dist/cli/{monitors-J6HAQLX2.js → monitors-ICQ2Q4XT.js} +89 -89
  63. package/dist/cli/{org-CYE3DCIT.js → org-5JV6KYY2.js} +66 -66
  64. package/dist/cli/{org-RRKAJM5V.mjs → org-7VJKBTZX.mjs} +4 -4
  65. package/dist/cli/{play-PXISXZ2P.mjs → play-2D6ZIJEV.mjs} +11 -11
  66. package/dist/cli/{play-NJDW74YH.js → play-HDI2MLJL.js} +284 -284
  67. package/dist/cli/{providers-JE3MUBYK.js → providers-GIE2W4ZG.js} +7 -7
  68. package/dist/cli/{providers-6QGGDOWK.mjs → providers-KSKVBQFP.mjs} +4 -4
  69. package/dist/cli/{quickstart-MKJ7TYQZ.mjs → quickstart-7OGLDF3M.mjs} +3 -3
  70. package/dist/cli/{quickstart-AQBBOFQL.js → quickstart-JKNKNDXG.js} +5 -5
  71. package/dist/cli/{search-6PKFZ2JD.mjs → search-CPKXOGV4.mjs} +5 -5
  72. package/dist/cli/search-LOWDQS5X.js +30 -0
  73. package/dist/cli/{secrets-IKGJYESD.js → secrets-LFQXTVIE.js} +13 -13
  74. package/dist/cli/{secrets-QBWRVZCT.mjs → secrets-QHGLI7O6.mjs} +4 -4
  75. package/dist/cli/{sessions-462I5YEQ.js → sessions-HVMTS7N5.js} +5 -5
  76. package/dist/cli/{sessions-SVYTBNRJ.mjs → sessions-M4OT6NPP.mjs} +4 -4
  77. package/dist/cli/{settings-WHLTLPXZ.js → settings-42WLEHAZ.js} +76 -76
  78. package/dist/cli/{settings-FH4XZ7FE.mjs → settings-BJBOMHL2.mjs} +9 -9
  79. package/dist/cli/{setup-IKTCP3QB.js → setup-6TZ4L5LT.js} +43 -43
  80. package/dist/cli/{setup-ISCNCB4W.mjs → setup-ILUF7GCP.mjs} +8 -8
  81. package/dist/cli/{skills-HITZS5EJ.mjs → skills-7RIWQDD6.mjs} +6 -6
  82. package/dist/cli/skills-I5OWZZ2Z.js +30 -0
  83. package/dist/cli/{tools-SQUTVLPO.mjs → tools-J3VDLDF2.mjs} +13 -13
  84. package/dist/cli/tools-Y4SPWXFJ.js +45 -0
  85. package/dist/cli/{update-AFYEREBX.mjs → update-GMXJF4WT.mjs} +8 -8
  86. package/dist/cli/update-HQ5WT3G6.js +32 -0
  87. package/dist/cli/{workflow-AAOOROIR.js → workflow-LVVK2N3T.js} +15 -15
  88. package/dist/cli/{workflow-VBCZPKVF.mjs → workflow-W7NQS26K.mjs} +5 -5
  89. package/dist/{client-Ct6OBj9Y.d.mts → client-BbU5_j7n.d.mts} +7 -0
  90. package/dist/{client-BV7tC6oq.d.ts → client-CYqG23K1.d.ts} +7 -0
  91. package/dist/index.d.mts +2 -2
  92. package/dist/index.d.ts +2 -2
  93. package/dist/index.js +6 -6
  94. package/dist/index.mjs +3 -3
  95. package/dist/install-integrity.json +82 -82
  96. package/dist/plays/play-description.d.mts +1 -1
  97. package/dist/plays/play-description.d.ts +1 -1
  98. package/dist/plays/run-request.d.mts +1 -1
  99. package/dist/plays/run-request.d.ts +1 -1
  100. package/dist/release.d.mts +1 -1
  101. package/dist/release.d.ts +1 -1
  102. package/dist/release.js +2 -2
  103. package/dist/release.mjs +1 -1
  104. package/package.json +1 -1
  105. package/dist/cli/auth-GUZWKNXM.js +0 -40
  106. package/dist/cli/git-U6FMVAAM.js +0 -24
  107. package/dist/cli/search-EJGRNQQK.js +0 -30
  108. package/dist/cli/skills-LC2YKUSO.js +0 -30
  109. package/dist/cli/tools-Y55OXE72.js +0 -45
  110. package/dist/cli/update-Q3I6MSEQ.js +0 -32
@@ -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 _chunkS2PO3X5Rjs = require('./chunk-S2PO3X5R.js');
4
+ var _chunkBCB2QNG4js = require('./chunk-BCB2QNG4.js');
5
5
 
6
6
 
7
- var _chunkP5IQ6LIKjs = require('./chunk-P5IQ6LIK.js');
7
+ var _chunkRQMEYYN4js = require('./chunk-RQMEYYN4.js');
8
8
 
9
9
 
10
- var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
10
+ var _chunkMFKTYIBJjs = require('./chunk-MFKTYIBJ.js');
11
11
 
12
12
 
13
- var _chunkSJH66N73js = require('./chunk-SJH66N73.js');
13
+ var _chunkJ7WYWQF4js = require('./chunk-J7WYWQF4.js');
14
14
 
15
15
 
16
- var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
16
+ var _chunk2R7JD2NYjs = require('./chunk-2R7JD2NY.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 = _chunkYPYR4ACFjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkMFKTYIBJjs.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 ? _chunkS2PO3X5Rjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkS2PO3X5Rjs.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 ? _chunkBCB2QNG4js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkBCB2QNG4js.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()]) || _chunkVXBEHDM6js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk2R7JD2NYjs.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 = _chunkYPYR4ACFjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkMFKTYIBJjs.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, () => ( _chunkVXBEHDM6js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk2R7JD2NYjs.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 _chunkP5IQ6LIKjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkRQMEYYN4js.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
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
1284
+ _chunkJ7WYWQF4js.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
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkJ7WYWQF4js.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
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkSJH66N73js.printCommandEnvelope.call(void 0,
1327
+ _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-G6ZOZQXT.mjs";
14
+ } from "./chunk-WVGPAP7A.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-RDAUQGPG.mjs";
17
+ } from "./chunk-RYGDM5BG.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-TECW24CR.mjs";
25
+ } from "./chunk-LRA5YJVV.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-G6ZOZQXT.mjs";
3
+ } from "./chunk-WVGPAP7A.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-RDAUQGPG.mjs";
4
+ } from "./chunk-RYGDM5BG.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-TECW24CR.mjs";
7
+ } from "./chunk-LRA5YJVV.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-5OQMUDPM.mjs";
4
+ } from "./chunk-3E4WSS35.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-THJ7ORNM.mjs";
7
+ } from "./chunk-2VHR5DXQ.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-G6ZOZQXT.mjs";
10
+ } from "./chunk-WVGPAP7A.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-RDAUQGPG.mjs";
13
+ } from "./chunk-RYGDM5BG.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-TECW24CR.mjs";
16
+ } from "./chunk-LRA5YJVV.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-RDAUQGPG.mjs";
3
+ } from "./chunk-RYGDM5BG.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkQLMQ2NAQjs = require('./chunk-QLMQ2NAQ.js');
3
+ var _chunkSMZUU4NYjs = require('./chunk-SMZUU4NY.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
8
+ var _chunkMFKTYIBJjs = require('./chunk-MFKTYIBJ.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkYPYR4ACFjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkQLMQ2NAQjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkMFKTYIBJjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkSMZUU4NYjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkYPYR4ACFjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkMFKTYIBJjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkYPYR4ACFjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkMFKTYIBJjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -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.454",
52
+ version: "0.3.455",
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."
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  recentSearchRef,
7
7
  registerDeprecatedSearchCommand
8
- } from "./chunk-CPXT4KPC.mjs";
8
+ } from "./chunk-VIGEE67Z.mjs";
9
9
  import {
10
10
  arrayField,
11
11
  formatModelDescription,
@@ -48,7 +48,7 @@ import {
48
48
  import {
49
49
  DeeplineClient,
50
50
  validateExecutionIdempotencyKey
51
- } from "./chunk-YXCLG3KB.mjs";
51
+ } from "./chunk-PQ4JU2MV.mjs";
52
52
  import {
53
53
  stableStringify
54
54
  } from "./chunk-UBKA33KY.mjs";
@@ -58,18 +58,18 @@ import {
58
58
  maybeAutoUpdateAndRelaunch,
59
59
  registerCompatibilityCatalog,
60
60
  runToolExecuteStage
61
- } from "./chunk-LVHRP7XM.mjs";
61
+ } from "./chunk-R5VMRVRN.mjs";
62
62
  import {
63
63
  isCliTraceEnabled,
64
64
  recordCliTrace,
65
65
  resolveCliMaintenancePolicy
66
- } from "./chunk-UT6W675P.mjs";
66
+ } from "./chunk-WBULEVM4.mjs";
67
67
  import {
68
68
  checkSdkCompatibility,
69
69
  enforceSdkCompatibilityResponse,
70
70
  flushDeferredSkillsSyncNotices,
71
71
  syncSdkSkillsIfNeeded
72
- } from "./chunk-G6ZOZQXT.mjs";
72
+ } from "./chunk-WVGPAP7A.mjs";
73
73
  import {
74
74
  printCommandEnvelope,
75
75
  printCompactJson,
@@ -77,12 +77,12 @@ import {
77
77
  printJsonError,
78
78
  renderCommandEnvelopeText,
79
79
  shouldEmitJson
80
- } from "./chunk-RDAUQGPG.mjs";
80
+ } from "./chunk-RYGDM5BG.mjs";
81
81
  import {
82
82
  readSdkSkillsLocalVersion,
83
83
  resolveConfig,
84
84
  sdkCliStateDirPath
85
- } from "./chunk-TECW24CR.mjs";
85
+ } from "./chunk-LRA5YJVV.mjs";
86
86
  import {
87
87
  DeeplineError
88
88
  } from "./chunk-HBL4PM5Q.mjs";
@@ -971,7 +971,7 @@ Examples:
971
971
  process.exitCode = await narrowView();
972
972
  return;
973
973
  }
974
- const { describeAnything } = await import("./describe-EZDVJDPQ.mjs");
974
+ const { describeAnything } = await import("./describe-SJBCCTR7.mjs");
975
975
  process.exitCode = await describeAnything(
976
976
  toolId,
977
977
  {
@@ -2537,7 +2537,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2537
2537
  }
2538
2538
  return await client.executeTool(parsed.toolId, parsed.params, {
2539
2539
  ...executeOptions,
2540
- atomicToolOnly: true
2540
+ atomicToolOnly: true,
2541
+ ...metadata?.executionMetadata?.retrySafeAmbiguousDelivery === true ? { retryAmbiguousDelivery: true } : {}
2541
2542
  });
2542
2543
  } catch (error) {
2543
2544
  if (!(error instanceof DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
@@ -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 _chunkYPYR4ACFjs = require('./chunk-YPYR4ACF.js');
3
+ var _chunkMFKTYIBJjs = require('./chunk-MFKTYIBJ.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 = _chunkYPYR4ACFjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkMFKTYIBJjs.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,
@@ -3,15 +3,15 @@
3
3
  var _chunkZM2YPJQJjs = require('./chunk-ZM2YPJQJ.js');
4
4
 
5
5
 
6
- var _chunkZ5PQSTYXjs = require('./chunk-Z5PQSTYX.js');
6
+ var _chunkW3DIXRDTjs = require('./chunk-W3DIXRDT.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkSJH66N73js = require('./chunk-SJH66N73.js');
10
+ var _chunkJ7WYWQF4js = require('./chunk-J7WYWQF4.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
14
+ var _chunk2R7JD2NYjs = require('./chunk-2R7JD2NY.js');
15
15
 
16
16
 
17
17
 
@@ -5713,7 +5713,7 @@ var _fs = require('fs');
5713
5713
  var _path = require('path');
5714
5714
  var SEARCH_REF_TTL_MS = 15 * 6e4;
5715
5715
  function lastSearchPath() {
5716
- return _path.join.call(void 0, _chunkVXBEHDM6js.sdkCliStateDirPath.call(void 0, _chunkVXBEHDM6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5716
+ return _path.join.call(void 0, _chunk2R7JD2NYjs.sdkCliStateDirPath.call(void 0, _chunk2R7JD2NYjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
5717
5717
  }
5718
5718
  function rememberSearchRef(searchRef) {
5719
5719
  try {
@@ -5877,7 +5877,7 @@ var OPTIONAL_COLUMNS = [
5877
5877
  ];
5878
5878
  function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5879
5879
  if (result.results.length === 0)
5880
- return _chunkSJH66N73js.renderCommandEnvelopeText.call(void 0, result);
5880
+ return _chunkJ7WYWQF4js.renderCommandEnvelopeText.call(void 0, result);
5881
5881
  const rows = result.results.map((item) => searchRow(item, summaryWidth));
5882
5882
  const kinds = new Set(rows.map((row) => row.kind));
5883
5883
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -5902,7 +5902,7 @@ function renderSearchResults(result, summaryWidth = DEFAULT_SUMMARY_WIDTH) {
5902
5902
  actions: _optionalChain([render, 'optionalAccess', _12 => _12.actions])
5903
5903
  };
5904
5904
  const followUps = _optionalChain([remaining, 'access', _13 => _13.sections, 'optionalAccess', _14 => _14.length]) || _optionalChain([remaining, 'access', _15 => _15.actions, 'optionalAccess', _16 => _16.length]) ? `
5905
- ${_chunkSJH66N73js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5905
+ ${_chunkJ7WYWQF4js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
5906
5906
  const notes = rows.flatMap(
5907
5907
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
5908
5908
  );
@@ -5987,7 +5987,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
5987
5987
  console.error("--summary-width must be an integer of at least 2.");
5988
5988
  return 1;
5989
5989
  }
5990
- const { search_ref: searchRef, ...result } = await new (0, _chunkZ5PQSTYXjs.DeeplineClient)().search({
5990
+ const { search_ref: searchRef, ...result } = await new (0, _chunkW3DIXRDTjs.DeeplineClient)().search({
5991
5991
  query,
5992
5992
  types,
5993
5993
  exclude,
@@ -6001,7 +6001,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
6001
6001
  });
6002
6002
  if (searchRef) rememberSearchRef(searchRef);
6003
6003
  pointAtDescribe(result);
6004
- _chunkSJH66N73js.printCommandEnvelope.call(void 0, result, {
6004
+ _chunkJ7WYWQF4js.printCommandEnvelope.call(void 0, result, {
6005
6005
  json: options.json === true,
6006
6006
  text: renderSearchResults(result, summaryWidth)
6007
6007
  });
@@ -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.454",
52
+ version: "0.3.455",
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 _chunkSJH66N73js = require('./chunk-SJH66N73.js');
3
+ var _chunkJ7WYWQF4js = require('./chunk-J7WYWQF4.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -15,7 +15,7 @@ var CliProgress = (_class = class {
15
15
 
16
16
  // --json output is one JSON document: progress never renders under it.
17
17
  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);
18
- this.enabled = enabled && !_chunkSJH66N73js.isJsonOutputMode.call(void 0, );
18
+ this.enabled = enabled && !_chunkJ7WYWQF4js.isJsonOutputMode.call(void 0, );
19
19
  }
20
20
  phase(message) {
21
21
  if (!this.enabled || this.lastMessage === message) {
@@ -40,7 +40,7 @@ var CliProgress = (_class = class {
40
40
  this.settle("\u2717");
41
41
  }
42
42
  writeLogLine(line) {
43
- if (_chunkSJH66N73js.isJsonOutputMode.call(void 0, )) return;
43
+ if (_chunkJ7WYWQF4js.isJsonOutputMode.call(void 0, )) return;
44
44
  if (!this.enabled) {
45
45
  process.stderr.write(`${line}
46
46
  `);
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-RDAUQGPG.mjs";
5
+ } from "./chunk-RYGDM5BG.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-TECW24CR.mjs";
28
+ } from "./chunk-LRA5YJVV.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-RDAUQGPG.mjs";
5
+ } from "./chunk-RYGDM5BG.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-TECW24CR.mjs";
8
+ } from "./chunk-LRA5YJVV.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkVXBEHDM6js = require('./chunk-VXBEHDM6.js');
6
+ var _chunk2R7JD2NYjs = require('./chunk-2R7JD2NY.js');
7
7
 
8
8
 
9
9
 
@@ -288,8 +288,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
288
288
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
289
289
  var defaultBrowserCommandRunner = childProcess;
290
290
  function getAuthedHttpClient() {
291
- const config = _chunkVXBEHDM6js.resolveConfig.call(void 0, );
292
- return { config, http: new (0, _chunkVXBEHDM6js.HttpClient)(config) };
291
+ const config = _chunk2R7JD2NYjs.resolveConfig.call(void 0, );
292
+ return { config, http: new (0, _chunk2R7JD2NYjs.HttpClient)(config) };
293
293
  }
294
294
  function stableOsUserId() {
295
295
  try {
@@ -629,7 +629,7 @@ function collectLocalEnvInfo() {
629
629
  os: `${process.platform} ${process.arch}`,
630
630
  node_version: process.version,
631
631
  home_dir: homeDir,
632
- agent_runtime: _chunkVXBEHDM6js.detectAgentRuntime.call(void 0, )
632
+ agent_runtime: _chunk2R7JD2NYjs.detectAgentRuntime.call(void 0, )
633
633
  };
634
634
  const env = process.env;
635
635
  const optional = {
@@ -876,9 +876,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
876
876
  }
877
877
  function withAgentCommandContext(value) {
878
878
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
879
- return _chunkVXBEHDM6js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
879
+ return _chunk2R7JD2NYjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
880
880
  ...valueRecord,
881
- command_context: _chunkVXBEHDM6js.resolveCliCommandContext.call(void 0, )
881
+ command_context: _chunk2R7JD2NYjs.resolveCliCommandContext.call(void 0, )
882
882
  } : value;
883
883
  }
884
884
  function printJson(value, fields) {