deepline 0.3.487 → 0.3.488

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 (119) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-GIBZFTUJ.mjs → auth-3BTWD5NT.mjs} +5 -5
  4. package/dist/cli/auth-F3OYGJ7T.js +43 -0
  5. package/dist/cli/{billing-TZINXSTI.js → billing-CHCBRT2F.js} +79 -79
  6. package/dist/cli/{billing-T3SN2T4T.mjs → billing-QROEPF5K.mjs} +6 -6
  7. package/dist/cli/{chunk-LE3BAE4T.mjs → chunk-2LNTFODA.mjs} +2 -2
  8. package/dist/cli/{chunk-JZNSRGDL.js → chunk-2OHR2B5U.js} +2 -2
  9. package/dist/cli/{chunk-YWRMI4WC.mjs → chunk-3T6HNVZN.mjs} +2 -2
  10. package/dist/cli/{chunk-WXEAAVBK.js → chunk-4BQEGVNC.js} +7 -7
  11. package/dist/cli/{chunk-BWXQIRPZ.js → chunk-4BVJ6YSN.js} +5 -5
  12. package/dist/cli/{chunk-O4LTC7S6.js → chunk-6JTJWIXZ.js} +22 -8
  13. package/dist/cli/{chunk-HK6RIWDN.mjs → chunk-6RZ2UVFW.mjs} +1 -1
  14. package/dist/cli/{chunk-QZ4DVKYU.js → chunk-73H5KG5T.js} +9 -9
  15. package/dist/cli/{chunk-VPSK464I.mjs → chunk-AYJVYXES.mjs} +10 -10
  16. package/dist/cli/{chunk-E2CSKE27.js → chunk-BU2MZXN6.js} +3 -3
  17. package/dist/cli/{chunk-5BWN4XAO.mjs → chunk-C5M43H4F.mjs} +4 -4
  18. package/dist/cli/{chunk-4AZFKKGK.mjs → chunk-CVBMI2HY.mjs} +3 -3
  19. package/dist/cli/{chunk-6VW4YVWH.mjs → chunk-EMPGZXFN.mjs} +4 -4
  20. package/dist/cli/{chunk-CEJFXV7R.mjs → chunk-F4W4J6BT.mjs} +2 -2
  21. package/dist/cli/{chunk-HKK3NTTF.js → chunk-G52LFTXC.js} +2 -2
  22. package/dist/cli/{chunk-JDFYXDDA.js → chunk-GBQLNEB7.js} +53 -53
  23. package/dist/cli/{chunk-6MRJ3SMS.mjs → chunk-GXZK35XL.mjs} +2 -2
  24. package/dist/cli/{chunk-VHXDX7WY.mjs → chunk-HDUDLOGI.mjs} +5 -5
  25. package/dist/cli/{chunk-WOG5SFF2.mjs → chunk-HO4PLJHS.mjs} +4 -4
  26. package/dist/cli/{chunk-2EQPUMZG.mjs → chunk-IS24BRFV.mjs} +1 -1
  27. package/dist/cli/{chunk-JH2XVGTM.mjs → chunk-IXQQWEYK.mjs} +1 -1
  28. package/dist/cli/{chunk-DAXLSR65.js → chunk-KI74RLCP.js} +3 -3
  29. package/dist/cli/{chunk-JWTTCWZM.mjs → chunk-KQKPDXIZ.mjs} +1 -1
  30. package/dist/cli/{chunk-TY7AFVAC.js → chunk-KV5MCYQE.js} +37 -37
  31. package/dist/cli/{chunk-6YMPAQEI.js → chunk-LBFU3VRY.js} +26 -26
  32. package/dist/cli/{chunk-FMN7S7KB.js → chunk-MBHPAZEA.js} +53 -53
  33. package/dist/cli/{chunk-YVK3WEBE.mjs → chunk-N7LKHN5C.mjs} +1 -1
  34. package/dist/cli/{chunk-76EUEG45.mjs → chunk-NSAI3D4H.mjs} +1 -1
  35. package/dist/cli/{chunk-TDUPHVI2.js → chunk-OWYXDSU5.js} +21 -21
  36. package/dist/cli/{chunk-75LPU4AO.js → chunk-P2IEBDEG.js} +7 -7
  37. package/dist/cli/{chunk-NR6ZSXYE.js → chunk-QHMEOHN4.js} +94 -94
  38. package/dist/cli/{chunk-IAK7OKDC.mjs → chunk-QRBDW3X6.mjs} +1 -1
  39. package/dist/cli/{chunk-ATEO2Y3W.mjs → chunk-QT2SPITP.mjs} +2 -2
  40. package/dist/cli/{chunk-YIVYI5XH.js → chunk-QWEQV3R3.js} +8 -8
  41. package/dist/cli/{chunk-BXOHHCXG.js → chunk-SE252VCN.js} +4 -4
  42. package/dist/cli/{chunk-XVSMWD6E.js → chunk-SV2VOJF4.js} +7 -7
  43. package/dist/cli/{chunk-DJJ2UYSX.mjs → chunk-TJRGYEDA.mjs} +4 -4
  44. package/dist/cli/{chunk-MQYUH3DR.mjs → chunk-TKK4TR7B.mjs} +15 -1
  45. package/dist/cli/{chunk-ZJIFSEJS.js → chunk-TMIWNHL4.js} +16 -16
  46. package/dist/cli/{chunk-RXKFJTFH.mjs → chunk-TZSRQYKH.mjs} +2 -2
  47. package/dist/cli/{chunk-4LMPONJM.mjs → chunk-UUKMZK23.mjs} +2 -2
  48. package/dist/cli/{chunk-NDUZXNGV.js → chunk-WER5FPHI.js} +1 -1
  49. package/dist/cli/{chunk-WFMTJFGG.js → chunk-XGQBBMSP.js} +10 -10
  50. package/dist/cli/{chunk-RFBM4KSE.mjs → chunk-XMBIESQ7.mjs} +5 -5
  51. package/dist/cli/{chunk-ZOENOU2W.js → chunk-ZJVQXD7M.js} +5 -5
  52. package/dist/cli/{chunk-WZQSBYFU.js → chunk-ZYJBIZLV.js} +6 -6
  53. package/dist/cli/{csv-42ZQOY2Y.mjs → csv-74EFMI3L.mjs} +4 -4
  54. package/dist/cli/{csv-IKHCVOV5.js → csv-WQ5IPBPJ.js} +13 -13
  55. package/dist/cli/{db-B3RLPXTA.mjs → db-JMTHP7J2.mjs} +6 -6
  56. package/dist/cli/{db-3AWAIV6O.js → db-LUU3EFBM.js} +27 -27
  57. package/dist/cli/describe-35UK3DNO.js +49 -0
  58. package/dist/cli/{describe-NEPMNE33.mjs → describe-PKBLERG6.mjs} +17 -17
  59. package/dist/cli/{executions-3KJXWIGK.js → executions-LVMXG5GY.js} +8 -8
  60. package/dist/cli/{executions-W53OBSB6.mjs → executions-SM32REFN.mjs} +6 -6
  61. package/dist/cli/{feedback-3MSNFC6M.js → feedback-AECGZDEG.js} +8 -8
  62. package/dist/cli/{feedback-GJNATGAP.mjs → feedback-V7PEANAR.mjs} +4 -4
  63. package/dist/cli/git-3KBELBUI.js +25 -0
  64. package/dist/cli/{git-5BWKZFNE.mjs → git-BDX3U6NA.mjs} +5 -5
  65. package/dist/cli/index.js +137 -137
  66. package/dist/cli/index.mjs +40 -40
  67. package/dist/cli/{legacy-noops-GSW6TMAJ.js → legacy-noops-JRGBSX4O.js} +8 -8
  68. package/dist/cli/{legacy-noops-A7YMA3NB.mjs → legacy-noops-W6E7TXE4.mjs} +5 -5
  69. package/dist/cli/{monitors-T5RMXFKT.js → monitors-JT6QZITH.js} +91 -91
  70. package/dist/cli/{monitors-24QFIRCI.mjs → monitors-RKWUYNER.mjs} +7 -7
  71. package/dist/cli/{org-ZZPKJOQY.mjs → org-5XOHJY6O.mjs} +6 -6
  72. package/dist/cli/{org-3JJQOXLF.js → org-PALGDO5U.js} +72 -72
  73. package/dist/cli/{pages-ZFCV37XK.mjs → pages-Q5MG4J6F.mjs} +6 -6
  74. package/dist/cli/{pages-3GK3SKKB.js → pages-UKICE2RA.js} +17 -17
  75. package/dist/cli/{play-4MINBQNW.js → play-MR324ZTD.js} +312 -312
  76. package/dist/cli/{play-DX36FVSU.mjs → play-PY5AT3JQ.mjs} +17 -17
  77. package/dist/cli/{providers-YDQHY35D.js → providers-MGBLIMRF.js} +9 -9
  78. package/dist/cli/{providers-Z4EYMZJM.mjs → providers-V3YMXJFB.mjs} +6 -6
  79. package/dist/cli/{quickstart-OTZVKVIE.js → quickstart-LYQ5N6VI.js} +6 -6
  80. package/dist/cli/{quickstart-YMI4OECS.mjs → quickstart-MMETU4RG.mjs} +4 -4
  81. package/dist/cli/{run-P345MQLC.js → run-A5CNTDYQ.js} +37 -36
  82. package/dist/cli/{run-OBU3YFOJ.mjs → run-PZ7CWOJJ.mjs} +23 -22
  83. package/dist/cli/search-4SG3UMIQ.js +32 -0
  84. package/dist/cli/{search-5FBWOI2H.mjs → search-IRDHHP7N.mjs} +7 -7
  85. package/dist/cli/{search-output-673LGTLF.mjs → search-output-7UAKSD7H.mjs} +4 -4
  86. package/dist/cli/{search-output-WOTMZA55.js → search-output-N7RQNWBW.js} +6 -6
  87. package/dist/cli/{secrets-IWYY42YD.js → secrets-XJGQ3BLJ.js} +15 -15
  88. package/dist/cli/{secrets-QX45TZJK.mjs → secrets-XN4UDYNN.mjs} +6 -6
  89. package/dist/cli/{sessions-Z2ZB3EZ7.mjs → sessions-324MFEFP.mjs} +5 -5
  90. package/dist/cli/{sessions-ZUK654NJ.js → sessions-4UUVDBAO.js} +6 -6
  91. package/dist/cli/{settings-6VY7HTEE.mjs → settings-4EZEUQOS.mjs} +11 -11
  92. package/dist/cli/{settings-ZXXP7DHM.js → settings-REBKKLBF.js} +78 -78
  93. package/dist/cli/{setup-RE7T3PAE.js → setup-ELPVMUCK.js} +47 -47
  94. package/dist/cli/{setup-SD66A4OE.mjs → setup-G3VQ5NCJ.mjs} +9 -9
  95. package/dist/cli/{skills-ARPNJ7MN.mjs → skills-RLUDQJWB.mjs} +7 -7
  96. package/dist/cli/skills-X5FY5KJM.js +33 -0
  97. package/dist/cli/{tools-R3TUCRX3.mjs → tools-MRAFK3MJ.mjs} +16 -16
  98. package/dist/cli/tools-PCRPD5XD.js +56 -0
  99. package/dist/cli/update-Q4ND4F7E.js +33 -0
  100. package/dist/cli/{update-2DPZJQK4.mjs → update-WRTYTP3Y.mjs} +9 -9
  101. package/dist/cli/{workflow-2WPRQNRF.mjs → workflow-ALJ3HLW4.mjs} +7 -7
  102. package/dist/cli/{workflow-GIWX7OZC.js → workflow-LHS32WIT.js} +17 -17
  103. package/dist/index.js +9 -9
  104. package/dist/index.mjs +6 -6
  105. package/dist/install-integrity.json +98 -98
  106. package/dist/release.d.mts +1 -1
  107. package/dist/release.d.ts +1 -1
  108. package/dist/release.js +2 -2
  109. package/dist/release.mjs +1 -1
  110. package/dist/server.js +5 -5
  111. package/dist/server.mjs +3 -3
  112. package/package.json +1 -1
  113. package/dist/cli/auth-Q4U7IFFV.js +0 -43
  114. package/dist/cli/describe-HLO35E5Y.js +0 -49
  115. package/dist/cli/git-WRFBKH6H.js +0 -25
  116. package/dist/cli/search-IV22OQLS.js +0 -32
  117. package/dist/cli/skills-ZDKFUVNP.js +0 -33
  118. package/dist/cli/tools-AUU42AVE.js +0 -56
  119. package/dist/cli/update-QLF3A6YY.js +0 -33
@@ -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.487",
52
+ version: "0.3.488",
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,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-2EQPUMZG.mjs";
3
+ } from "./chunk-IS24BRFV.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-YVK3WEBE.mjs";
7
+ } from "./chunk-N7LKHN5C.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -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 _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
4
+ var _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
5
5
 
6
6
 
7
- var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
7
+ var _chunkSE252VCNjs = require('./chunk-SE252VCN.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 = _chunkBXOHHCXGjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkSE252VCNjs.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkWXEAAVBKjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunk4BQEGVNCjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
487
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
519
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
569
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
677
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkNDUZXNGVjs = require('./chunk-NDUZXNGV.js');
19
+ var _chunkWER5FPHIjs = require('./chunk-WER5FPHI.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkNDUZXNGVjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkNDUZXNGVjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkNDUZXNGVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkWER5FPHIjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkWER5FPHIjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkWER5FPHIjs.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');
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
34
+ var _chunkSE252VCNjs = require('./chunk-SE252VCN.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkBXOHHCXGjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkSE252VCNjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1031,8 +1031,8 @@ function runtimeSelectionHeaders(runtime, env) {
1031
1031
  }
1032
1032
  const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
1033
1033
  return {
1034
- [_chunkBXOHHCXGjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
- ...receivers ? { [_chunkBXOHHCXGjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1034
+ [_chunkSE252VCNjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1035
+ ...receivers ? { [_chunkSE252VCNjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1036
1036
  };
1037
1037
  }
1038
1038
  function normalizeTestPolicyOverrides(value, source) {
@@ -1103,7 +1103,7 @@ var PlayClient = class {
1103
1103
  return _chunkAUQQVDABjs.startPlayRun.call(void 0,
1104
1104
  this.http,
1105
1105
  resolved.request,
1106
- _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkBXOHHCXGjs.SDK_API_MAJOR) } : headers,
1106
+ _optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkSE252VCNjs.SDK_API_MAJOR) } : headers,
1107
1107
  options
1108
1108
  );
1109
1109
  }
@@ -3200,7 +3200,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3200
3200
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3201
3201
  );
3202
3202
  }
3203
- return { [_chunkBXOHHCXGjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3203
+ return { [_chunkSE252VCNjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3204
3204
  }
3205
3205
  function sleep(ms) {
3206
3206
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4001,7 +4001,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4001
4001
  );
4002
4002
  const headers = _optionalChain([options, 'optionalAccess', _181 => _181.cliAdmission]) ? {
4003
4003
  ...runtimeHeaders,
4004
- "X-Deepline-API-Major": String(_chunkBXOHHCXGjs.SDK_API_MAJOR)
4004
+ "X-Deepline-API-Major": String(_chunkSE252VCNjs.SDK_API_MAJOR)
4005
4005
  } : runtimeHeaders;
4006
4006
  const http = this.http;
4007
4007
  let submitted = false;
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-5BWN4XAO.mjs";
14
+ } from "./chunk-C5M43H4F.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-4LMPONJM.mjs";
17
+ } from "./chunk-UUKMZK23.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-YVK3WEBE.mjs";
23
+ } from "./chunk-N7LKHN5C.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-JWTTCWZM.mjs";
27
+ } from "./chunk-KQKPDXIZ.mjs";
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4LMPONJM.mjs";
3
+ } from "./chunk-UUKMZK23.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -15,6 +15,8 @@ var CliProgress = class {
15
15
  /** Where live log lines go instead of stderr, as `deepline run --logs-out` sets. */
16
16
  logWriter = null;
17
17
  enabled;
18
+ /** Progress goes to the log writer, not stderr, as a non-terminal `deepline run` sets. */
19
+ quiet = false;
18
20
  // --json output is one JSON document: progress never renders under it.
19
21
  constructor(enabled) {
20
22
  this.enabled = enabled && !isJsonOutputMode();
@@ -22,10 +24,18 @@ var CliProgress = class {
22
24
  setLogWriter(writer) {
23
25
  this.logWriter = writer;
24
26
  }
27
+ setQuiet(quiet) {
28
+ this.quiet = quiet;
29
+ }
25
30
  phase(message) {
26
31
  if (!this.enabled || this.lastMessage === message) {
27
32
  return;
28
33
  }
34
+ if (this.quiet) {
35
+ this.lastMessage = message;
36
+ this.logWriter?.(message);
37
+ return;
38
+ }
29
39
  if (this.interactive && this.lastMessage) {
30
40
  this.settle("\u2713");
31
41
  }
@@ -71,6 +81,10 @@ var CliProgress = class {
71
81
  }
72
82
  }
73
83
  writeLine(line, stream = process.stderr) {
84
+ if (this.quiet && stream === process.stderr) {
85
+ this.logWriter?.(line);
86
+ return;
87
+ }
74
88
  if (!this.enabled || !this.interactive) {
75
89
  stream.write(`${line}
76
90
  `);
@@ -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 _chunkJZNSRGDLjs = require('./chunk-JZNSRGDL.js');
4
+ var _chunk2OHR2B5Ujs = require('./chunk-2OHR2B5U.js');
5
5
 
6
6
 
7
- var _chunkTY7AFVACjs = require('./chunk-TY7AFVAC.js');
7
+ var _chunkKV5MCYQEjs = require('./chunk-KV5MCYQE.js');
8
8
 
9
9
 
10
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
10
+ var _chunkMBHPAZEAjs = require('./chunk-MBHPAZEA.js');
11
11
 
12
12
 
13
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
13
+ var _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
14
14
 
15
15
 
16
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
16
+ var _chunkBU2MZXN6js = require('./chunk-BU2MZXN6.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 = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkMBHPAZEAjs.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 ? _chunkJZNSRGDLjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkJZNSRGDLjs.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 ? _chunk2OHR2B5Ujs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunk2OHR2B5Ujs.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()]) || _chunkE2CSKE27js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkBU2MZXN6js.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 = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkMBHPAZEAjs.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, () => ( _chunkE2CSKE27js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkBU2MZXN6js.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 _chunkTY7AFVACjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkKV5MCYQEjs.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
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
1284
+ _chunk4BQEGVNCjs.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
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk4BQEGVNCjs.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
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
1327
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-2EQPUMZG.mjs";
3
+ } from "./chunk-IS24BRFV.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-YVK3WEBE.mjs";
7
+ } from "./chunk-N7LKHN5C.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-YVK3WEBE.mjs";
5
+ } from "./chunk-N7LKHN5C.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-JWTTCWZM.mjs";
8
+ } from "./chunk-KQKPDXIZ.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -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.487",
52
+ version: "0.3.488",
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,9 +1,9 @@
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 _chunkNR6ZSXYEjs = require('./chunk-NR6ZSXYE.js');
3
+ var _chunkQHMEOHN4js = require('./chunk-QHMEOHN4.js');
4
4
 
5
5
 
6
- var _chunkDAXLSR65js = require('./chunk-DAXLSR65.js');
6
+ var _chunkKI74RLCPjs = require('./chunk-KI74RLCP.js');
7
7
 
8
8
 
9
9
 
@@ -14,10 +14,10 @@ var _chunkCSBMKHTVjs = require('./chunk-CSBMKHTV.js');
14
14
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
15
15
 
16
16
 
17
- var _chunkBWXQIRPZjs = require('./chunk-BWXQIRPZ.js');
17
+ var _chunk4BVJ6YSNjs = require('./chunk-4BVJ6YSN.js');
18
18
 
19
19
 
20
- var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
20
+ var _chunk4BQEGVNCjs = require('./chunk-4BQEGVNC.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkCSBMKHTVjs.findNamed.call(void 0, name, options, _chunkCSBMKHTVjs.describeLookupsFor.call(void 0, new (0, _chunkBWXQIRPZjs.DeeplineClient)()));
29
+ return _chunkCSBMKHTVjs.findNamed.call(void 0, name, options, _chunkCSBMKHTVjs.describeLookupsFor.call(void 0, new (0, _chunk4BVJ6YSNjs.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkBWXQIRPZjs.DeeplineClient)();
32
+ const client = new (0, _chunk4BVJ6YSNjs.DeeplineClient)();
33
33
  const lookups = _chunkCSBMKHTVjs.describeLookupsFor.call(void 0, client);
34
34
  const outcome = await _chunkCSBMKHTVjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunkNR6ZSXYEjs.seedToolListScript
38
+ seedStarterScript: _chunkQHMEOHN4js.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
63
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunk4BQEGVNCjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunkDAXLSR65js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkKI74RLCPjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-JH2XVGTM.mjs";
4
+ } from "./chunk-IXQQWEYK.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-DJJ2UYSX.mjs";
7
+ } from "./chunk-TJRGYEDA.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-5BWN4XAO.mjs";
10
+ } from "./chunk-C5M43H4F.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-4LMPONJM.mjs";
13
+ } from "./chunk-UUKMZK23.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-YVK3WEBE.mjs";
16
+ } from "./chunk-N7LKHN5C.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -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 _chunkXVSMWD6Ejs = require('./chunk-XVSMWD6E.js');
3
+ var _chunkSV2VOJF4js = require('./chunk-SV2VOJF4.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
7
+ var _chunkBU2MZXN6js = require('./chunk-BU2MZXN6.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 = _chunkE2CSKE27js.resolveConfig.call(void 0, options);
141
- return new (0, _chunkXVSMWD6Ejs.PlayClient)(
142
- new (0, _chunkE2CSKE27js.HttpClient)(config),
140
+ const config = _chunkBU2MZXN6js.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkSV2VOJF4js.PlayClient)(
142
+ new (0, _chunkBU2MZXN6js.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkHKK3NTTFjs = require('./chunk-HKK3NTTF.js');
3
+ var _chunkG52LFTXCjs = require('./chunk-G52LFTXC.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
8
+ var _chunkMBHPAZEAjs = require('./chunk-MBHPAZEA.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkFMN7S7KBjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkHKK3NTTFjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkMBHPAZEAjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkG52LFTXCjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkFMN7S7KBjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkMBHPAZEAjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkFMN7S7KBjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkMBHPAZEAjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-4LMPONJM.mjs";
8
- import "./chunk-YVK3WEBE.mjs";
9
- import "./chunk-JWTTCWZM.mjs";
7
+ } from "./chunk-UUKMZK23.mjs";
8
+ import "./chunk-N7LKHN5C.mjs";
9
+ import "./chunk-KQKPDXIZ.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-IAK7OKDC.mjs";
13
+ import "./chunk-QRBDW3X6.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16