deepline 0.3.368 → 0.3.369

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 (93) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +7 -1
  2. package/dist/cli/{auth-RUWM7VTH.mjs → auth-F5YPFL6L.mjs} +4 -4
  3. package/dist/cli/auth-L3ZF67G5.js +33 -0
  4. package/dist/cli/{billing-PLBQKLDK.js → billing-3HHLCETY.js} +73 -73
  5. package/dist/cli/{billing-WSS57VQY.mjs → billing-LNO6FPPM.mjs} +4 -4
  6. package/dist/cli/{chunk-GTC2KAZQ.js → chunk-2AENFV3B.js} +4 -4
  7. package/dist/cli/{chunk-GHZUH33K.mjs → chunk-4RVNJQ7D.mjs} +6 -1
  8. package/dist/cli/{chunk-EZUGGC5A.mjs → chunk-5IXQ6VP4.mjs} +1 -1
  9. package/dist/cli/{chunk-YCJMDCTH.js → chunk-6A3GNWSU.js} +8 -8
  10. package/dist/cli/{chunk-NZHVJB2W.js → chunk-74XTRGY5.js} +2 -2
  11. package/dist/cli/{chunk-IG7OYVS7.mjs → chunk-COEBGYBW.mjs} +6 -6
  12. package/dist/cli/{chunk-S3MDB6SI.mjs → chunk-EJC3INZD.mjs} +1 -1
  13. package/dist/cli/{chunk-SNENR3BL.js → chunk-ERMXQOIV.js} +6 -6
  14. package/dist/cli/{chunk-HZT2Y7WB.js → chunk-FXVRQHJC.js} +15 -15
  15. package/dist/cli/{chunk-PU53IS6H.mjs → chunk-H4N6FMJ5.mjs} +2 -2
  16. package/dist/cli/{chunk-OTI7CDLE.mjs → chunk-JGLIB4JN.mjs} +5 -5
  17. package/dist/cli/{chunk-DZOEDNSU.js → chunk-KGZRUGL7.js} +9 -9
  18. package/dist/cli/{chunk-S4Y7B2O3.js → chunk-KR5NWPWI.js} +6 -1
  19. package/dist/cli/{chunk-A2OLR6DK.mjs → chunk-KU4X5TWN.mjs} +2 -2
  20. package/dist/cli/{chunk-7AWSYT7H.js → chunk-LH3BV773.js} +8 -8
  21. package/dist/cli/{chunk-GJO4H3NN.js → chunk-OEQC4QLU.js} +60 -60
  22. package/dist/cli/{chunk-BKEYQHJ2.js → chunk-P7W5OMQ6.js} +50 -50
  23. package/dist/cli/{chunk-AUWKAVXB.js → chunk-PRMAO43X.js} +51 -51
  24. package/dist/cli/{chunk-7PQTQSJY.mjs → chunk-RIT4UED6.mjs} +3 -3
  25. package/dist/cli/{chunk-XUMWO4ST.mjs → chunk-SDOPEZYS.mjs} +4 -4
  26. package/dist/cli/{chunk-ZS2YQ4YK.mjs → chunk-TRRFXE4X.mjs} +2 -2
  27. package/dist/cli/{chunk-LEZWRLB3.mjs → chunk-U5VEW7LL.mjs} +1 -1
  28. package/dist/cli/{chunk-THO6F53F.mjs → chunk-VUYCB2RY.mjs} +1 -1
  29. package/dist/cli/{chunk-2YOKZW46.js → chunk-X6FNDFTD.js} +26 -26
  30. package/dist/cli/{chunk-27QA6Q4G.js → chunk-XH3EIQAZ.js} +224 -224
  31. package/dist/cli/{chunk-ENGMDXHN.mjs → chunk-YCLPW7QO.mjs} +2 -2
  32. package/dist/cli/client-HL2AHZPQ.js +20 -0
  33. package/dist/cli/{client-JJEEIOIL.mjs → client-HURLYTDV.mjs} +3 -3
  34. package/dist/cli/{csv-EPNNU27J.js → csv-BZ7QNGLU.js} +12 -12
  35. package/dist/cli/{csv-75D36YRA.mjs → csv-ZECPS6DF.mjs} +3 -3
  36. package/dist/cli/{db-6HYSGMLN.mjs → db-EUNDS5UG.mjs} +4 -4
  37. package/dist/cli/{db-SWNKJUU5.js → db-JXLCCIML.js} +29 -29
  38. package/dist/cli/{describe-XMUHTICA.js → describe-DNDL3TC6.js} +15 -15
  39. package/dist/cli/{describe-N2KSBPOR.mjs → describe-L6LADCXI.mjs} +8 -8
  40. package/dist/cli/{executions-3ESWUDHH.js → executions-GPKPWEHO.js} +6 -6
  41. package/dist/cli/{executions-WHSG2JGN.mjs → executions-GRCD2GHT.mjs} +4 -4
  42. package/dist/cli/{feedback-2VHTJXU7.mjs → feedback-5WG2HNZ6.mjs} +3 -3
  43. package/dist/cli/{feedback-CGZE7L7A.js → feedback-VJCNBYVQ.js} +7 -7
  44. package/dist/cli/{git-IG4J5OUT.mjs → git-3G5Q4TPI.mjs} +4 -4
  45. package/dist/cli/git-MSJ6SFLT.js +23 -0
  46. package/dist/cli/index.js +82 -82
  47. package/dist/cli/index.mjs +32 -32
  48. package/dist/cli/{legacy-noops-7WXL7PB3.mjs → legacy-noops-7WLCNXLD.mjs} +4 -4
  49. package/dist/cli/{legacy-noops-QF7S6JJB.js → legacy-noops-YAO3LDPI.js} +7 -7
  50. package/dist/cli/{monitors-6XYT53X6.js → monitors-MQ6KNDOH.js} +85 -85
  51. package/dist/cli/{monitors-QS4QFORU.mjs → monitors-NRQN7M3A.mjs} +4 -4
  52. package/dist/cli/{org-NLR3D3M7.js → org-TGKGLAB4.js} +64 -64
  53. package/dist/cli/{org-5IGU7FES.mjs → org-X46ICV24.mjs} +4 -4
  54. package/dist/cli/{play-JVENSY4T.mjs → play-PCLCMTVK.mjs} +7 -7
  55. package/dist/cli/play-TJBPVFUK.js +153 -0
  56. package/dist/cli/{providers-T4GCIOTW.js → providers-IPH3TV6J.js} +7 -7
  57. package/dist/cli/{providers-RSVO5U4E.mjs → providers-T2S532QL.mjs} +4 -4
  58. package/dist/cli/{quickstart-ZDFOKNYW.mjs → quickstart-6CO5FGYE.mjs} +3 -3
  59. package/dist/cli/{quickstart-IHAG5QZ6.js → quickstart-GXFHMZL7.js} +5 -5
  60. package/dist/cli/search-34MPYWVW.js +26 -0
  61. package/dist/cli/{search-ZGEYJSMF.mjs → search-6HML4FB2.mjs} +5 -5
  62. package/dist/cli/{secrets-DVTEZCPE.js → secrets-J6T743DQ.js} +13 -13
  63. package/dist/cli/{secrets-OQZRZBP6.mjs → secrets-KCNIINW5.mjs} +4 -4
  64. package/dist/cli/{sessions-XYEG53JJ.js → sessions-ABXL2OZV.js} +5 -5
  65. package/dist/cli/{sessions-XM7PFJL2.mjs → sessions-FQHM34TD.mjs} +4 -4
  66. package/dist/cli/{settings-TKXYRYYH.mjs → settings-3UXXWUZ3.mjs} +7 -7
  67. package/dist/cli/{settings-NWEBQOX4.js → settings-HB5DSAUW.js} +74 -74
  68. package/dist/cli/{setup-3UD5TDRJ.mjs → setup-2MOBCKAB.mjs} +6 -6
  69. package/dist/cli/{setup-JRU6VGFQ.js → setup-TMJJLEYX.js} +41 -41
  70. package/dist/cli/skills-D3IIQSUK.js +28 -0
  71. package/dist/cli/{skills-GLLMNOCY.mjs → skills-LWS7PNTF.mjs} +4 -4
  72. package/dist/cli/{tools-VXXAMH2X.mjs → tools-TIUE2AK7.mjs} +6 -6
  73. package/dist/cli/tools-XWUSCNVK.js +40 -0
  74. package/dist/cli/update-7O5MXP5K.js +28 -0
  75. package/dist/cli/{update-UCGMUUDQ.mjs → update-IYXAP5MI.mjs} +6 -6
  76. package/dist/cli/{workflow-BGGKNZTG.mjs → workflow-3CVYOEKJ.mjs} +5 -5
  77. package/dist/cli/{workflow-G2UU7WTU.js → workflow-SGF3DFKJ.js} +15 -15
  78. package/dist/index.js +6 -6
  79. package/dist/index.mjs +3 -3
  80. package/dist/install-integrity.json +74 -74
  81. package/dist/release.d.mts +5 -1
  82. package/dist/release.d.ts +5 -1
  83. package/dist/release.js +2 -2
  84. package/dist/release.mjs +1 -1
  85. package/package.json +1 -1
  86. package/dist/cli/auth-NJ6RE6XQ.js +0 -33
  87. package/dist/cli/client-UPKWYV32.js +0 -20
  88. package/dist/cli/git-WPEOAE72.js +0 -23
  89. package/dist/cli/play-3ECRZYD5.js +0 -153
  90. package/dist/cli/search-RYLADJUK.js +0 -26
  91. package/dist/cli/skills-PZQDJJWN.js +0 -28
  92. package/dist/cli/tools-WYXBAUMT.js +0 -40
  93. package/dist/cli/update-WM6SOME3.js +0 -28
@@ -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.368",
52
+ version: "0.3.369",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -93,6 +93,11 @@ var SDK_RELEASE = {
93
93
  introducedIn: "0.3.91",
94
94
  reason: "deepline search was added in SDK CLI 0.3.91 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update."
95
95
  },
96
+ {
97
+ command: "describe",
98
+ introducedIn: "0.3.312",
99
+ reason: "deepline describe was added in SDK CLI 0.3.312 as the one describe for tools, monitor types, and plays. On an older version run deepline tools describe or deepline plays describe, or update."
100
+ },
96
101
  {
97
102
  command: "notifications",
98
103
  introducedIn: "0.2.40",
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-NXGCO4JB.mjs";
15
15
  import {
16
16
  SDK_RELEASE
17
- } from "./chunk-GHZUH33K.mjs";
17
+ } from "./chunk-4RVNJQ7D.mjs";
18
18
 
19
19
  // src/errors.ts
20
20
  var CustomerDbQueryOutcomeUnknownError = class extends DeeplineError {
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkSNENR3BLjs = require('./chunk-SNENR3BL.js');
4
+ var _chunkERMXQOIVjs = require('./chunk-ERMXQOIV.js');
5
5
 
6
6
 
7
- var _chunkGTC2KAZQjs = require('./chunk-GTC2KAZQ.js');
7
+ var _chunk2AENFV3Bjs = require('./chunk-2AENFV3B.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkGTC2KAZQjs.agentSessionIdFromEnvironment.call(void 0, );
142
+ const sessionId = _chunk2AENFV3Bjs.agentSessionIdFromEnvironment.call(void 0, );
143
143
  const cwd = process.cwd();
144
144
  return _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(newestFirst.find((candidate) => candidate.sessionId === sessionId), () => ( newestFirst.find(
145
145
  (candidate) => sessionStartedInDirectory(candidate, cwd)
@@ -448,7 +448,7 @@ function buildSessionUploadContent(raw) {
448
448
  return { encodedContent: encoded, needsChunking: true };
449
449
  }
450
450
  async function uploadPayload(path, payload) {
451
- const { http } = _chunkSNENR3BLjs.getAuthedHttpClient.call(void 0, );
451
+ const { http } = _chunkERMXQOIVjs.getAuthedHttpClient.call(void 0, );
452
452
  return await http.post(path, payload);
453
453
  }
454
454
  async function uploadChunkedSessions(sessions, options) {
@@ -481,7 +481,7 @@ async function uploadChunkedSessions(sessions, options) {
481
481
  ...options.rating ? { rating: options.rating } : {}
482
482
  });
483
483
  const sessionIds = sessions.map((session) => session.sessionId);
484
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0,
484
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response,
487
487
  ok: true,
@@ -513,7 +513,7 @@ async function handleSessionsSend(options) {
513
513
  filename: _path.basename.call(void 0, filePath),
514
514
  ...rating ? { rating } : {}
515
515
  });
516
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0,
516
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0,
517
517
  {
518
518
  ...response2,
519
519
  ok: true,
@@ -563,7 +563,7 @@ async function handleSessionsSend(options) {
563
563
  ...rating ? { rating } : {}
564
564
  });
565
565
  const sessionIds = built.map((session) => session.sessionId);
566
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0,
566
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0,
567
567
  {
568
568
  ...response,
569
569
  ok: true,
@@ -671,7 +671,7 @@ ${refreshMeta}
671
671
  </body>
672
672
  </html>`;
673
673
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
674
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0,
674
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0,
675
675
  {
676
676
  ok: true,
677
677
  file: outputPath,
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkGJO4H3NNjs = require('./chunk-GJO4H3NN.js');
3
+ var _chunkOEQC4QLUjs = require('./chunk-OEQC4QLU.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 = _chunkGJO4H3NNjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkOEQC4QLUjs.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,
@@ -19,11 +19,11 @@ import {
19
19
  } from "./chunk-EDWJY6T4.mjs";
20
20
  import {
21
21
  registerDeprecatedSearchCommand
22
- } from "./chunk-7PQTQSJY.mjs";
22
+ } from "./chunk-RIT4UED6.mjs";
23
23
  import {
24
24
  handleDeploymentGet,
25
25
  handleDeploymentsList
26
- } from "./chunk-ZS2YQ4YK.mjs";
26
+ } from "./chunk-TRRFXE4X.mjs";
27
27
  import {
28
28
  pinLocalPlayImports,
29
29
  planLocalPlayExecution
@@ -42,7 +42,7 @@ import {
42
42
  normalizeRunEventOperationRequest,
43
43
  parseLogLevel,
44
44
  playInputExampleArgs
45
- } from "./chunk-THO6F53F.mjs";
45
+ } from "./chunk-VUYCB2RY.mjs";
46
46
  import {
47
47
  CSV_DATA_INPUT_KEY,
48
48
  buildNamedPlayRunRequest,
@@ -75,10 +75,10 @@ import {
75
75
  printJsonError,
76
76
  renderCommandEnvelopeText,
77
77
  shouldEmitJson
78
- } from "./chunk-S3MDB6SI.mjs";
78
+ } from "./chunk-EJC3INZD.mjs";
79
79
  import {
80
80
  fetchWithDeploymentProtection
81
- } from "./chunk-EZUGGC5A.mjs";
81
+ } from "./chunk-5IXQ6VP4.mjs";
82
82
  import {
83
83
  DeeplineError
84
84
  } from "./chunk-NXGCO4JB.mjs";
@@ -16476,7 +16476,7 @@ Examples:
16476
16476
  process.exitCode = await ownView();
16477
16477
  return;
16478
16478
  }
16479
- const { describeAnything } = await import("./describe-N2KSBPOR.mjs");
16479
+ const { describeAnything } = await import("./describe-L6LADCXI.mjs");
16480
16480
  process.exitCode = await describeAnything(
16481
16481
  name,
16482
16482
  {
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-EZUGGC5A.mjs";
6
+ } from "./chunk-5IXQ6VP4.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkGTC2KAZQjs = require('./chunk-GTC2KAZQ.js');
6
+ var _chunk2AENFV3Bjs = require('./chunk-2AENFV3B.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -225,8 +225,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
225
225
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
226
226
  var defaultBrowserCommandRunner = childProcess;
227
227
  function getAuthedHttpClient() {
228
- const config = _chunkGTC2KAZQjs.resolveConfig.call(void 0, );
229
- return { config, http: new (0, _chunkGTC2KAZQjs.HttpClient)(config) };
228
+ const config = _chunk2AENFV3Bjs.resolveConfig.call(void 0, );
229
+ return { config, http: new (0, _chunk2AENFV3Bjs.HttpClient)(config) };
230
230
  }
231
231
  function stableOsUserId() {
232
232
  try {
@@ -566,7 +566,7 @@ function collectLocalEnvInfo() {
566
566
  os: `${process.platform} ${process.arch}`,
567
567
  node_version: process.version,
568
568
  home_dir: homeDir,
569
- agent_runtime: _chunkGTC2KAZQjs.detectAgentRuntime.call(void 0, )
569
+ agent_runtime: _chunk2AENFV3Bjs.detectAgentRuntime.call(void 0, )
570
570
  };
571
571
  const env = process.env;
572
572
  const optional = {
@@ -813,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
813
813
  }
814
814
  function withAgentCommandContext(value) {
815
815
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
816
- return _chunkGTC2KAZQjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
816
+ return _chunk2AENFV3Bjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
817
817
  ...valueRecord,
818
- command_context: _chunkGTC2KAZQjs.resolveCliCommandContext.call(void 0, )
818
+ command_context: _chunk2AENFV3Bjs.resolveCliCommandContext.call(void 0, )
819
819
  } : value;
820
820
  }
821
821
  function printJson(value, fields) {
@@ -1,17 +1,17 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkNZHVJB2Wjs = require('./chunk-NZHVJB2W.js');
4
+ var _chunk74XTRGY5js = require('./chunk-74XTRGY5.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkGJO4H3NNjs = require('./chunk-GJO4H3NN.js');
8
+ var _chunkOEQC4QLUjs = require('./chunk-OEQC4QLU.js');
9
9
 
10
10
 
11
- var _chunkSNENR3BLjs = require('./chunk-SNENR3BL.js');
11
+ var _chunkERMXQOIVjs = require('./chunk-ERMXQOIV.js');
12
12
 
13
13
 
14
- var _chunkGTC2KAZQjs = require('./chunk-GTC2KAZQ.js');
14
+ var _chunk2AENFV3Bjs = require('./chunk-2AENFV3B.js');
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  var _child_process = require('child_process');
@@ -489,7 +489,7 @@ function normalizedNpmPrefix(value) {
489
489
  }
490
490
  function resolveNpmGlobalPrefix(env) {
491
491
  try {
492
- const plan = _chunkGJO4H3NNjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
492
+ const plan = _chunkOEQC4QLUjs.resolveShellSpawn.call(void 0, "npm", ["prefix", "-g"], process.platform, env);
493
493
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
494
494
  encoding: "utf8",
495
495
  env,
@@ -545,8 +545,8 @@ function resolveUpdatePlan(options = {}) {
545
545
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
546
546
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
547
547
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
548
- const npmVersion = options.npmVersion === void 0 ? _chunkNZHVJB2Wjs.readNpmVersion.call(void 0, env) : options.npmVersion;
549
- const npmGlobalInstallFlags = _chunkNZHVJB2Wjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
548
+ const npmVersion = options.npmVersion === void 0 ? _chunk74XTRGY5js.readNpmVersion.call(void 0, env) : options.npmVersion;
549
+ const npmGlobalInstallFlags = _chunk74XTRGY5js.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
550
550
  const args = installPrefix ? [
551
551
  "install",
552
552
  "-g",
@@ -556,7 +556,7 @@ function resolveUpdatePlan(options = {}) {
556
556
  packageSpec
557
557
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
558
558
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
559
- _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunkGTC2KAZQjs.autoDetectBaseUrl.call(void 0, )
559
+ _optionalChain([env, 'access', _18 => _18.DEEPLINE_HOST_URL, 'optionalAccess', _19 => _19.trim, 'call', _20 => _20()]) || _chunk2AENFV3Bjs.autoDetectBaseUrl.call(void 0, )
560
560
  );
561
561
  return {
562
562
  kind: "npm-global",
@@ -703,7 +703,7 @@ function sidecarInstallFailure(versionDir) {
703
703
  function runCommand(command, args, env = process.env) {
704
704
  return new Promise((resolveResult) => {
705
705
  let output = "";
706
- const plan = _chunkGJO4H3NNjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
706
+ const plan = _chunkOEQC4QLUjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
707
707
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
708
708
  stdio: ["inherit", "pipe", "pipe"],
709
709
  shell: plan.shell,
@@ -1079,14 +1079,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1079
1079
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1080
1080
  }
1081
1081
  async function runUpdateCommand(options, dependencies = {}) {
1082
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGTC2KAZQjs.autoDetectBaseUrl));
1082
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk2AENFV3Bjs.autoDetectBaseUrl));
1083
1083
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1084
1084
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1085
1085
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1086
1086
  const originalWrite = process.stdout.write.bind(process.stdout);
1087
1087
  process.stdout.write = (() => true);
1088
1088
  try {
1089
- const exitCode = await _chunkGJO4H3NNjs.runSkillsCommand.call(void 0, { json: true });
1089
+ const exitCode = await _chunkOEQC4QLUjs.runSkillsCommand.call(void 0, { json: true });
1090
1090
  if (exitCode !== 0) {
1091
1091
  throw new Error(
1092
1092
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1157,11 +1157,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1157
1157
  ]
1158
1158
  };
1159
1159
  if (options.json && !options.executeWithJson) {
1160
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1160
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1161
1161
  return 0;
1162
1162
  }
1163
1163
  if (options.printCommand) {
1164
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0,
1164
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  ...plan,
1167
1167
  render: {
@@ -1174,7 +1174,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1174
1174
  return 0;
1175
1175
  }
1176
1176
  if (plan.kind === "source" || plan.kind === "homebrew") {
1177
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1177
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1178
1178
  return 0;
1179
1179
  }
1180
1180
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1204,7 +1204,7 @@ To retry with full installer output, run: deepline skills --json
1204
1204
  );
1205
1205
  }
1206
1206
  if (options.executeWithJson && options.json) {
1207
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0,
1207
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0,
1208
1208
  {
1209
1209
  ok: true,
1210
1210
  pinnedVersion
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-S3MDB6SI.mjs";
5
+ } from "./chunk-EJC3INZD.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-EZUGGC5A.mjs";
28
+ } from "./chunk-5IXQ6VP4.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -13,7 +13,7 @@ import {
13
13
  observedMaxText,
14
14
  recentSearchRef,
15
15
  registerDeprecatedSearchCommand
16
- } from "./chunk-7PQTQSJY.mjs";
16
+ } from "./chunk-RIT4UED6.mjs";
17
17
  import {
18
18
  extractSummaryFields,
19
19
  projectRowOutput,
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  DeeplineClient,
30
30
  validateExecutionIdempotencyKey
31
- } from "./chunk-THO6F53F.mjs";
31
+ } from "./chunk-VUYCB2RY.mjs";
32
32
  import {
33
33
  beginToolExecuteCommand,
34
34
  getToolExecuteInvocationId,
@@ -42,11 +42,11 @@ import {
42
42
  printJsonError,
43
43
  renderCommandEnvelopeText,
44
44
  shouldEmitJson
45
- } from "./chunk-S3MDB6SI.mjs";
45
+ } from "./chunk-EJC3INZD.mjs";
46
46
  import {
47
47
  resolveConfig,
48
48
  sdkCliStateDirPath
49
- } from "./chunk-EZUGGC5A.mjs";
49
+ } from "./chunk-5IXQ6VP4.mjs";
50
50
  import {
51
51
  DeeplineError
52
52
  } from "./chunk-NXGCO4JB.mjs";
@@ -936,7 +936,7 @@ Examples:
936
936
  process.exitCode = await narrowView();
937
937
  return;
938
938
  }
939
- const { describeAnything } = await import("./describe-N2KSBPOR.mjs");
939
+ const { describeAnything } = await import("./describe-L6LADCXI.mjs");
940
940
  process.exitCode = await describeAnything(
941
941
  toolId,
942
942
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -21,7 +21,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
21
21
 
22
22
 
23
23
 
24
- var _chunkGTC2KAZQjs = require('./chunk-GTC2KAZQ.js');
24
+ var _chunk2AENFV3Bjs = require('./chunk-2AENFV3B.js');
25
25
 
26
26
 
27
27
 
@@ -167,7 +167,7 @@ async function queryCustomerDatabase(http, input) {
167
167
  if (error instanceof _chunk7P5AA3SNjs.DeeplineError && (_optionalChain([error, 'access', _2 => _2.code, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("NETWORK_")]) || // Older API readers return PostgreSQL errors as HTTP 400, including
168
168
  // lost connections and explicitly unknown transaction resolution.
169
169
  /^08[A-Z0-9]{3}$/.test(_nullishCoalesce(error.code, () => ( ""))) || ["57P01", "57P02", "57P03"].includes(_nullishCoalesce(error.code, () => ( ""))) || error.statusCode === 408 || (_nullishCoalesce(error.statusCode, () => ( 0))) >= 500)) {
170
- throw new (0, _chunkGTC2KAZQjs.CustomerDbQueryOutcomeUnknownError)(
170
+ throw new (0, _chunk2AENFV3Bjs.CustomerDbQueryOutcomeUnknownError)(
171
171
  error,
172
172
  plan.request.body.operation_key
173
173
  );
@@ -175,7 +175,7 @@ async function queryCustomerDatabase(http, input) {
175
175
  throw error;
176
176
  }
177
177
  if (!result || typeof result !== "object" || Array.isArray(result) || typeof result.command !== "string" || !Array.isArray(result.columns) || !Array.isArray(result.rows) || typeof result.truncated !== "boolean" || result.row_count !== null && (!Number.isSafeInteger(result.row_count) || result.row_count < 0) || !Number.isSafeInteger(result.row_count_returned) || result.row_count_returned < 0) {
178
- throw new (0, _chunkGTC2KAZQjs.CustomerDbQueryOutcomeUnknownError)(
178
+ throw new (0, _chunk2AENFV3Bjs.CustomerDbQueryOutcomeUnknownError)(
179
179
  new (0, _chunk7P5AA3SNjs.DeeplineError)(
180
180
  "The SQL response did not contain a valid result.",
181
181
  200,
@@ -186,7 +186,7 @@ async function queryCustomerDatabase(http, input) {
186
186
  }
187
187
  const operation = result.operation;
188
188
  if (input.operationKey !== void 0 && (!operation || operation.operation_key !== input.operationKey || !Number.isSafeInteger(operation.completed_at_ms) || operation.completed_at_ms < 0 || !["executed", "operation_recovery"].includes(operation.source))) {
189
- throw new (0, _chunkGTC2KAZQjs.CustomerDbQueryOutcomeUnknownError)(
189
+ throw new (0, _chunk2AENFV3Bjs.CustomerDbQueryOutcomeUnknownError)(
190
190
  new (0, _chunk7P5AA3SNjs.DeeplineError)(
191
191
  "The server did not confirm the original atomic SQL operation.",
192
192
  200,
@@ -2910,8 +2910,8 @@ function runtimeSelectionHeaders(runtime) {
2910
2910
  }
2911
2911
  const receivers = _optionalChain([process, 'access', _104 => _104.env, 'access', _105 => _105.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _106 => _106.trim, 'call', _107 => _107()]);
2912
2912
  return {
2913
- [_chunkGTC2KAZQjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2914
- ...receivers ? { [_chunkGTC2KAZQjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2913
+ [_chunk2AENFV3Bjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2914
+ ...receivers ? { [_chunk2AENFV3Bjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2915
2915
  };
2916
2916
  }
2917
2917
  function isolatedCiRuntimeEventReadHeaders() {
@@ -2927,7 +2927,7 @@ function isolatedCiRuntimeEventReadHeaders() {
2927
2927
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
2928
2928
  );
2929
2929
  }
2930
- return { [_chunkGTC2KAZQjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2930
+ return { [_chunk2AENFV3Bjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2931
2931
  }
2932
2932
  function normalizeTestPolicyOverrides(value, source) {
2933
2933
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -3217,8 +3217,8 @@ var DeeplineClient = (_class = class _DeeplineClient {
3217
3217
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3218
3218
  */
3219
3219
  constructor(options) {
3220
- this.config = _chunkGTC2KAZQjs.resolveConfig.call(void 0, options);
3221
- this.http = new (0, _chunkGTC2KAZQjs.HttpClient)(this.config);
3220
+ this.config = _chunk2AENFV3Bjs.resolveConfig.call(void 0, options);
3221
+ this.http = new (0, _chunk2AENFV3Bjs.HttpClient)(this.config);
3222
3222
  this.toolCalls = new ToolCalls(
3223
3223
  this.http,
3224
3224
  this.config.timeout,
@@ -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.368",
52
+ version: "0.3.369",
53
53
  updateSummary: "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.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -93,6 +93,11 @@ var SDK_RELEASE = {
93
93
  introducedIn: "0.3.91",
94
94
  reason: "deepline search was added in SDK CLI 0.3.91 as the one search across tools, monitors, and plays. On an older version run deepline tools search or deepline plays search, or update."
95
95
  },
96
+ {
97
+ command: "describe",
98
+ introducedIn: "0.3.312",
99
+ reason: "deepline describe was added in SDK CLI 0.3.312 as the one describe for tools, monitor types, and plays. On an older version run deepline tools describe or deepline plays describe, or update."
100
+ },
96
101
  {
97
102
  command: "notifications",
98
103
  introducedIn: "0.2.40",
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-S3MDB6SI.mjs";
4
+ } from "./chunk-EJC3INZD.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-EZUGGC5A.mjs";
7
+ } from "./chunk-5IXQ6VP4.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -1,14 +1,14 @@
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 _chunkDZOEDNSUjs = require('./chunk-DZOEDNSU.js');
3
+ var _chunkKGZRUGL7js = require('./chunk-KGZRUGL7.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkSNENR3BLjs = require('./chunk-SNENR3BL.js');
7
+ var _chunkERMXQOIVjs = require('./chunk-ERMXQOIV.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkGTC2KAZQjs = require('./chunk-GTC2KAZQ.js');
11
+ var _chunk2AENFV3Bjs = require('./chunk-2AENFV3B.js');
12
12
 
13
13
  // src/cli/commands/search.ts
14
14
  var _commander = require('commander');
@@ -18,7 +18,7 @@ var _fs = require('fs');
18
18
  var _path = require('path');
19
19
  var SEARCH_REF_TTL_MS = 15 * 6e4;
20
20
  function lastSearchPath() {
21
- return _path.join.call(void 0, _chunkGTC2KAZQjs.sdkCliStateDirPath.call(void 0, _chunkGTC2KAZQjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
21
+ return _path.join.call(void 0, _chunk2AENFV3Bjs.sdkCliStateDirPath.call(void 0, _chunk2AENFV3Bjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
22
22
  }
23
23
  function rememberSearchRef(searchRef) {
24
24
  try {
@@ -259,7 +259,7 @@ function searchRow(item) {
259
259
  }
260
260
  function renderSearchResults(result) {
261
261
  if (result.results.length === 0)
262
- return _chunkSNENR3BLjs.renderCommandEnvelopeText.call(void 0, result);
262
+ return _chunkERMXQOIVjs.renderCommandEnvelopeText.call(void 0, result);
263
263
  const rows = result.results.map(searchRow);
264
264
  const kinds = new Set(rows.map((row) => row.kind));
265
265
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -283,7 +283,7 @@ function renderSearchResults(result) {
283
283
  actions: _optionalChain([render, 'optionalAccess', _11 => _11.actions])
284
284
  };
285
285
  const followUps = _optionalChain([remaining, 'access', _12 => _12.sections, 'optionalAccess', _13 => _13.length]) || _optionalChain([remaining, 'access', _14 => _14.actions, 'optionalAccess', _15 => _15.length]) ? `
286
- ${_chunkSNENR3BLjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
286
+ ${_chunkERMXQOIVjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
287
287
  const notes = rows.flatMap(
288
288
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
289
289
  );
@@ -360,7 +360,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
360
360
  console.error(USAGE);
361
361
  return 1;
362
362
  }
363
- const { search_ref: searchRef, ...result } = await new (0, _chunkDZOEDNSUjs.DeeplineClient)().search({
363
+ const { search_ref: searchRef, ...result } = await new (0, _chunkKGZRUGL7js.DeeplineClient)().search({
364
364
  query,
365
365
  types,
366
366
  exclude,
@@ -374,7 +374,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
374
374
  });
375
375
  if (searchRef) rememberSearchRef(searchRef);
376
376
  pointAtDescribe(result);
377
- _chunkSNENR3BLjs.printCommandEnvelope.call(void 0, result, {
377
+ _chunkERMXQOIVjs.printCommandEnvelope.call(void 0, result, {
378
378
  json: options.json === true,
379
379
  text: renderSearchResults(result)
380
380
  });