deepline 0.3.352 → 0.3.353

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 (118) hide show
  1. package/dist/bundling-sources/sdk/src/gtm.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -20
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +2 -14
  5. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/plays/tool-categories.ts +19 -0
  7. package/dist/bundling-sources/shared_libs/plays/tool-category-descriptions.ts +1 -1
  8. package/dist/cli/{auth-6ZAHOPUC.mjs → auth-FVIZVTCB.mjs} +4 -4
  9. package/dist/cli/auth-GJZ3S4QH.js +31 -0
  10. package/dist/cli/{billing-FTCAIIPO.js → billing-NWL7KQPZ.js} +73 -73
  11. package/dist/cli/{billing-KE6CAAO5.mjs → billing-PYTYGWPG.mjs} +4 -4
  12. package/dist/cli/{chunk-SM4G43FY.js → chunk-2UWRFDI4.js} +60 -60
  13. package/dist/cli/{chunk-YIO2PX4J.mjs → chunk-37F4EUJA.mjs} +161 -1848
  14. package/dist/cli/{chunk-5TQPSUU6.js → chunk-55XOA2VW.js} +8 -8
  15. package/dist/cli/{chunk-54IUI747.mjs → chunk-BVHUTDCW.mjs} +5 -5
  16. package/dist/cli/{chunk-J5NA2TTX.js → chunk-C374C22Y.js} +2 -2
  17. package/dist/cli/{chunk-SGFPTY4H.mjs → chunk-CQQ5N4YO.mjs} +2 -2
  18. package/dist/cli/{chunk-J5MZZVDK.mjs → chunk-CXMSK2VV.mjs} +2 -2
  19. package/dist/cli/{chunk-XK7AH232.mjs → chunk-D477W2OQ.mjs} +4 -4
  20. package/dist/cli/{chunk-HD2RKIVK.mjs → chunk-DY253DRK.mjs} +2 -2
  21. package/dist/cli/{chunk-27JIZEAJ.js → chunk-EDEO7NG4.js} +1 -1
  22. package/dist/cli/{chunk-GVESPYSY.mjs → chunk-ERFN2QY4.mjs} +1 -102
  23. package/dist/cli/{chunk-LVEDPCLJ.js → chunk-GEJDBXXM.js} +1 -102
  24. package/dist/cli/{chunk-HMN5SUFL.mjs → chunk-GFLHAA2O.mjs} +1 -1
  25. package/dist/cli/{chunk-2PQR43BD.js → chunk-HU4SUDWU.js} +567 -2254
  26. package/dist/cli/{chunk-WOHBA5PV.js → chunk-IF75RD6U.js} +1 -1
  27. package/dist/cli/{chunk-NNMGGD5Z.mjs → chunk-IVGFLYQ6.mjs} +1 -1
  28. package/dist/cli/{chunk-Q3CSXWFU.js → chunk-JHPVZR6F.js} +4 -4
  29. package/dist/cli/{chunk-2ULH52Q7.mjs → chunk-LLI4RITH.mjs} +3 -3
  30. package/dist/cli/{chunk-QOIXZWOE.js → chunk-M4UPRX3M.js} +8 -8
  31. package/dist/cli/{chunk-TAC3JIFE.mjs → chunk-MI6ZP7XI.mjs} +1 -1
  32. package/dist/cli/{chunk-P6CGAEDF.js → chunk-NFEQHNDQ.js} +26 -26
  33. package/dist/cli/{chunk-4W3B4CNE.js → chunk-NPU4SMKT.js} +9 -9
  34. package/dist/cli/{chunk-OWG4Y7JK.mjs → chunk-NZNUDZDW.mjs} +2 -2
  35. package/dist/cli/{chunk-V5JPRCQ2.js → chunk-R2T4HQ64.js} +6 -6
  36. package/dist/cli/{chunk-HUZXWOSK.mjs → chunk-R4RG4FV5.mjs} +1 -1
  37. package/dist/cli/{chunk-EHYJYOXF.mjs → chunk-RRDCBCRI.mjs} +1 -1
  38. package/dist/cli/{chunk-3EIK6KTE.mjs → chunk-U3FUXTIB.mjs} +1 -1
  39. package/dist/cli/{chunk-VQFBIGMU.js → chunk-VALAAQQM.js} +48 -48
  40. package/dist/cli/{chunk-2JXDY3LE.js → chunk-XI5IMY45.js} +2 -2
  41. package/dist/cli/{chunk-VLQPMYSU.js → chunk-Z6LVVOOJ.js} +15 -15
  42. package/dist/cli/{chunk-L6BHFEYM.js → chunk-ZCCXX55K.js} +45 -45
  43. package/dist/cli/{chunk-ULX7APDZ.mjs → chunk-ZDEO3EGW.mjs} +1 -1
  44. package/dist/cli/{client-25RBAXIY.mjs → client-IH7I5D7T.mjs} +3 -3
  45. package/dist/cli/client-Z6BCEGFA.js +20 -0
  46. package/dist/cli/{csv-7BOK5ZD7.mjs → csv-G5WXNCLQ.mjs} +3 -3
  47. package/dist/cli/{csv-7XXJZ736.js → csv-TJIWKUCX.js} +12 -12
  48. package/dist/cli/{db-TFPYJCZ5.js → db-3DCS2JXS.js} +29 -29
  49. package/dist/cli/{db-7Q7L5SKP.mjs → db-EBHV2MGE.mjs} +4 -4
  50. package/dist/cli/{describe-TQYXSFZ2.js → describe-5XKBPWD7.js} +16 -16
  51. package/dist/cli/{describe-JTEJNG67.mjs → describe-QUOLGZKH.mjs} +9 -9
  52. package/dist/cli/{executions-33MNWCXR.mjs → executions-EERWIJ5I.mjs} +4 -4
  53. package/dist/cli/{executions-XYCJEW5I.js → executions-NYIOENKH.js} +6 -6
  54. package/dist/cli/{feedback-LXSEEBNL.mjs → feedback-4RYJJCYL.mjs} +3 -3
  55. package/dist/cli/{feedback-D3RSQCQE.js → feedback-Z2I5MQYZ.js} +7 -7
  56. package/dist/cli/{git-IES2ZBYO.mjs → git-EMU7AKX3.mjs} +4 -4
  57. package/dist/cli/git-QYQ5ZFIG.js +23 -0
  58. package/dist/cli/index.js +79 -79
  59. package/dist/cli/index.mjs +31 -31
  60. package/dist/cli/{legacy-noops-YIOGLZXX.js → legacy-noops-BEUYYRSU.js} +7 -7
  61. package/dist/cli/{legacy-noops-ILCWGUAR.mjs → legacy-noops-HHLNM523.mjs} +4 -4
  62. package/dist/cli/{monitors-R3CZHVU2.mjs → monitors-BVJSHUV4.mjs} +7 -7
  63. package/dist/cli/{monitors-MQSSH43U.js → monitors-KQXLMPZ4.js} +96 -96
  64. package/dist/cli/{org-62P7YRHW.js → org-HRYNVOUH.js} +60 -60
  65. package/dist/cli/{org-Z75A63SM.mjs → org-KSROOKSJ.mjs} +4 -4
  66. package/dist/cli/play-CRHUA45Q.js +153 -0
  67. package/dist/cli/{play-FUUFAV34.mjs → play-PGFW6PFE.mjs} +8 -8
  68. package/dist/cli/{providers-Q2VZF65A.js → providers-BJM725CV.js} +7 -7
  69. package/dist/cli/{providers-OQNPHTKA.mjs → providers-EUKJK6ZE.mjs} +4 -4
  70. package/dist/cli/{quickstart-7X6HUVWX.mjs → quickstart-72JYHUJC.mjs} +3 -3
  71. package/dist/cli/{quickstart-VZ7BYW4Y.js → quickstart-FEERYTYY.js} +5 -5
  72. package/dist/cli/{search-SJKLKSER.mjs → search-LUAIOM56.mjs} +5 -5
  73. package/dist/cli/search-X25S2U54.js +26 -0
  74. package/dist/cli/{secrets-EKH3FPAO.js → secrets-J65QCH57.js} +13 -13
  75. package/dist/cli/{secrets-JQUKCHON.mjs → secrets-YYFRYS2Z.mjs} +4 -4
  76. package/dist/cli/{sessions-NDLKL26C.js → sessions-FWUUEK6V.js} +5 -5
  77. package/dist/cli/{sessions-RSFW7OYD.mjs → sessions-WBA67YYT.mjs} +4 -4
  78. package/dist/cli/{settings-HPUE5C2G.js → settings-I7AZ4JVI.js} +74 -74
  79. package/dist/cli/{settings-DR4YKJTJ.mjs → settings-RUMTSUE5.mjs} +7 -7
  80. package/dist/cli/{setup-4FT6NMU6.mjs → setup-BHRRNT5C.mjs} +6 -6
  81. package/dist/cli/{setup-Y2HCWQ4D.js → setup-R3IUFNDP.js} +41 -41
  82. package/dist/cli/{skills-EQR5K67V.mjs → skills-EKD5O7GQ.mjs} +4 -4
  83. package/dist/cli/skills-OOZ5SDVB.js +28 -0
  84. package/dist/cli/{tools-ZRCNCMOO.mjs → tools-L5OA2343.mjs} +6 -6
  85. package/dist/cli/tools-MYH33NTL.js +40 -0
  86. package/dist/cli/update-EWNPE3NF.js +28 -0
  87. package/dist/cli/{update-UJNIMTRS.mjs → update-UUHL6FER.mjs} +6 -6
  88. package/dist/cli/{workflow-4M63OBSC.js → workflow-7NBSG5OT.js} +15 -15
  89. package/dist/cli/{workflow-EN3TQFKU.mjs → workflow-V24VHOQT.mjs} +5 -5
  90. package/dist/{client-4DbE-U6e.d.ts → client-Chzd2LFo.d.ts} +1 -25
  91. package/dist/{client-DIJpwhl-.d.mts → client-jV6bQunU.d.mts} +1 -25
  92. package/dist/helpers.d.mts +1 -1
  93. package/dist/helpers.d.ts +1 -1
  94. package/dist/index.d.mts +2 -2
  95. package/dist/index.d.ts +2 -2
  96. package/dist/index.js +25 -39
  97. package/dist/index.mjs +23 -37
  98. package/dist/install-integrity.json +83 -83
  99. package/dist/monitor-fleet-contract.js +3 -3
  100. package/dist/monitor-fleet-contract.mjs +2 -2
  101. package/dist/monitor-input-contract.js +2 -2
  102. package/dist/monitor-input-contract.mjs +1 -1
  103. package/dist/plays/run-request.d.mts +1 -1
  104. package/dist/plays/run-request.d.ts +1 -1
  105. package/dist/release.d.mts +1 -1
  106. package/dist/release.d.ts +1 -1
  107. package/dist/release.js +2 -2
  108. package/dist/release.mjs +1 -1
  109. package/package.json +1 -1
  110. package/dist/bundling-sources/shared_libs/plays/bootstrap-routes.ts +0 -127
  111. package/dist/cli/auth-ZYLA55Y2.js +0 -31
  112. package/dist/cli/client-AY2RSEDD.js +0 -20
  113. package/dist/cli/git-56MVO4Y5.js +0 -23
  114. package/dist/cli/play-K4RS3VMC.js +0 -153
  115. package/dist/cli/search-H3TNOWKP.js +0 -26
  116. package/dist/cli/skills-OGQZAKOB.js +0 -28
  117. package/dist/cli/tools-3HM7A7XQ.js +0 -40
  118. package/dist/cli/update-ZB6CXLCS.js +0 -28
@@ -59,7 +59,7 @@ function monitorSpec(value, path, issues) {
59
59
  code: "PLAY_BINDING_NOT_IN_MONITOR_SPEC",
60
60
  path: authoredMonitorFieldPath(path, "play"),
61
61
  message: "A monitor does not own Play bindings.",
62
- suggestion: "Declare sqlListeners in the Play, or run: deepline plays bootstrap monitor-triggered --out on-event.play.ts"
62
+ suggestion: "Declare sqlListeners in the Play."
63
63
  });
64
64
  continue;
65
65
  }
@@ -15,7 +15,7 @@ import {
15
15
  RETAINED_PIPELINE_RECEIVERS_HEADER,
16
16
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
17
17
  resolveConfig
18
- } from "./chunk-3EIK6KTE.mjs";
18
+ } from "./chunk-U3FUXTIB.mjs";
19
19
  import {
20
20
  PLAY_RUNTIME_BACKENDS,
21
21
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -4,7 +4,7 @@
4
4
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
5
5
 
6
6
 
7
- var _chunk27JIZEAJjs = require('./chunk-27JIZEAJ.js');
7
+ var _chunkEDEO7NG4js = require('./chunk-EDEO7NG4.js');
8
8
 
9
9
 
10
10
 
@@ -743,9 +743,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
743
743
  }
744
744
 
745
745
  // src/version.ts
746
- var SDK_VERSION = _chunk27JIZEAJjs.SDK_RELEASE.version;
747
- var SDK_API_MAJOR = _chunk27JIZEAJjs.SDK_RELEASE.contracts.api.currentMajor;
748
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk27JIZEAJjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
746
+ var SDK_VERSION = _chunkEDEO7NG4js.SDK_RELEASE.version;
747
+ var SDK_API_MAJOR = _chunkEDEO7NG4js.SDK_RELEASE.contracts.api.currentMajor;
748
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkEDEO7NG4js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
749
749
 
750
750
  // src/agent-runtime.ts
751
751
 
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-NNMGGD5Z.mjs";
3
+ } from "./chunk-IVGFLYQ6.mjs";
4
4
  import {
5
5
  printCommandEnvelope,
6
6
  renderCommandEnvelopeText
7
- } from "./chunk-ULX7APDZ.mjs";
7
+ } from "./chunk-ZDEO3EGW.mjs";
8
8
  import {
9
9
  resolveConfig,
10
10
  sdkCliStateDirPath
11
- } from "./chunk-3EIK6KTE.mjs";
11
+ } from "./chunk-U3FUXTIB.mjs";
12
12
 
13
13
  // src/cli/commands/search.ts
14
14
  import { Option } from "commander";
@@ -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 _chunk4W3B4CNEjs = require('./chunk-4W3B4CNE.js');
3
+ var _chunkNPU4SMKTjs = require('./chunk-NPU4SMKT.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkV5JPRCQ2js = require('./chunk-V5JPRCQ2.js');
7
+ var _chunkR2T4HQ64js = require('./chunk-R2T4HQ64.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkQ3CSXWFUjs = require('./chunk-Q3CSXWFU.js');
11
+ var _chunkJHPVZR6Fjs = require('./chunk-JHPVZR6F.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, _chunkQ3CSXWFUjs.sdkCliStateDirPath.call(void 0, _chunkQ3CSXWFUjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
21
+ return _path.join.call(void 0, _chunkJHPVZR6Fjs.sdkCliStateDirPath.call(void 0, _chunkJHPVZR6Fjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
22
22
  }
23
23
  function rememberSearchRef(searchRef) {
24
24
  try {
@@ -145,7 +145,7 @@ function searchRow(item) {
145
145
  }
146
146
  function renderSearchResults(result) {
147
147
  if (result.results.length === 0)
148
- return _chunkV5JPRCQ2js.renderCommandEnvelopeText.call(void 0, result);
148
+ return _chunkR2T4HQ64js.renderCommandEnvelopeText.call(void 0, result);
149
149
  const rows = result.results.map(searchRow);
150
150
  const kinds = new Set(rows.map((row) => row.kind));
151
151
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -169,7 +169,7 @@ function renderSearchResults(result) {
169
169
  actions: _optionalChain([render, 'optionalAccess', _11 => _11.actions])
170
170
  };
171
171
  const followUps = _optionalChain([remaining, 'access', _12 => _12.sections, 'optionalAccess', _13 => _13.length]) || _optionalChain([remaining, 'access', _14 => _14.actions, 'optionalAccess', _15 => _15.length]) ? `
172
- ${_chunkV5JPRCQ2js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
172
+ ${_chunkR2T4HQ64js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
173
173
  const notes = rows.flatMap(
174
174
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
175
175
  );
@@ -246,7 +246,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
246
246
  console.error(USAGE);
247
247
  return 1;
248
248
  }
249
- const { search_ref: searchRef, ...result } = await new (0, _chunk4W3B4CNEjs.DeeplineClient)().search({
249
+ const { search_ref: searchRef, ...result } = await new (0, _chunkNPU4SMKTjs.DeeplineClient)().search({
250
250
  query,
251
251
  types,
252
252
  exclude,
@@ -260,7 +260,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
260
260
  });
261
261
  if (searchRef) rememberSearchRef(searchRef);
262
262
  pointAtDescribe(result);
263
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0, result, {
263
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0, result, {
264
264
  json: options.json === true,
265
265
  text: renderSearchResults(result)
266
266
  });
@@ -59,7 +59,7 @@ function monitorSpec(value, path, issues) {
59
59
  code: "PLAY_BINDING_NOT_IN_MONITOR_SPEC",
60
60
  path: authoredMonitorFieldPath(path, "play"),
61
61
  message: "A monitor does not own Play bindings.",
62
- suggestion: "Declare sqlListeners in the Play, or run: deepline plays bootstrap monitor-triggered --out on-event.play.ts"
62
+ suggestion: "Declare sqlListeners in the Play."
63
63
  });
64
64
  continue;
65
65
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkV5JPRCQ2js = require('./chunk-V5JPRCQ2.js');
5
+ var _chunkR2T4HQ64js = require('./chunk-R2T4HQ64.js');
6
6
 
7
7
 
8
- var _chunkQ3CSXWFUjs = require('./chunk-Q3CSXWFU.js');
8
+ var _chunkJHPVZR6Fjs = require('./chunk-JHPVZR6F.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
39
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
139
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
153
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
200
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
227
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
254
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
269
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkQ3CSXWFUjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkJHPVZR6Fjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkV5JPRCQ2js.openInBrowser.call(void 0, connectUrl);
292
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkR2T4HQ64js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
322
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
371
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkV5JPRCQ2js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkR2T4HQ64js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkV5JPRCQ2js.printCommandEnvelope.call(void 0,
392
+ _chunkR2T4HQ64js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -15,7 +15,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkQ3CSXWFUjs = require('./chunk-Q3CSXWFU.js');
18
+ var _chunkJHPVZR6Fjs = require('./chunk-JHPVZR6F.js');
19
19
 
20
20
 
21
21
 
@@ -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, _chunkQ3CSXWFUjs.CustomerDbQueryOutcomeUnknownError)(
170
+ throw new (0, _chunkJHPVZR6Fjs.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, _chunkQ3CSXWFUjs.CustomerDbQueryOutcomeUnknownError)(
178
+ throw new (0, _chunkJHPVZR6Fjs.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, _chunkQ3CSXWFUjs.CustomerDbQueryOutcomeUnknownError)(
189
+ throw new (0, _chunkJHPVZR6Fjs.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
- [_chunkQ3CSXWFUjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2914
- ...receivers ? { [_chunkQ3CSXWFUjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2913
+ [_chunkJHPVZR6Fjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2914
+ ...receivers ? { [_chunkJHPVZR6Fjs.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 { [_chunkQ3CSXWFUjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2930
+ return { [_chunkJHPVZR6Fjs.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 = _chunkQ3CSXWFUjs.resolveConfig.call(void 0, options);
3221
- this.http = new (0, _chunkQ3CSXWFUjs.HttpClient)(this.config);
3220
+ this.config = _chunkJHPVZR6Fjs.resolveConfig.call(void 0, options);
3221
+ this.http = new (0, _chunkJHPVZR6Fjs.HttpClient)(this.config);
3222
3222
  this.toolCalls = new ToolCalls(
3223
3223
  this.http,
3224
3224
  this.config.timeout,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-ULX7APDZ.mjs";
4
+ } from "./chunk-ZDEO3EGW.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-3EIK6KTE.mjs";
7
+ } from "./chunk-U3FUXTIB.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkQ3CSXWFUjs = require('./chunk-Q3CSXWFU.js');
6
+ var _chunkJHPVZR6Fjs = require('./chunk-JHPVZR6F.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 = _chunkQ3CSXWFUjs.resolveConfig.call(void 0, );
229
- return { config, http: new (0, _chunkQ3CSXWFUjs.HttpClient)(config) };
228
+ const config = _chunkJHPVZR6Fjs.resolveConfig.call(void 0, );
229
+ return { config, http: new (0, _chunkJHPVZR6Fjs.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: _chunkQ3CSXWFUjs.detectAgentRuntime.call(void 0, )
569
+ agent_runtime: _chunkJHPVZR6Fjs.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 _chunkQ3CSXWFUjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
816
+ return _chunkJHPVZR6Fjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
817
817
  ...valueRecord,
818
- command_context: _chunkQ3CSXWFUjs.resolveCliCommandContext.call(void 0, )
818
+ command_context: _chunkJHPVZR6Fjs.resolveCliCommandContext.call(void 0, )
819
819
  } : value;
820
820
  }
821
821
  function printJson(value, fields) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lintMonitorSpecTemplate
3
- } from "./chunk-TAC3JIFE.mjs";
3
+ } from "./chunk-MI6ZP7XI.mjs";
4
4
 
5
5
  // ../integration-contracts/monitor-fleet-contract.ts
6
6
  var MONITOR_FLEET_MAX_MEMBERS = 1e3;
@@ -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.352",
52
+ version: "0.3.353",
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
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DLIRSHV6.mjs";
5
5
  import {
6
6
  SDK_RELEASE
7
- } from "./chunk-EHYJYOXF.mjs";
7
+ } from "./chunk-RRDCBCRI.mjs";
8
8
  import {
9
9
  DeeplineError,
10
10
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,