deepline 0.3.359 → 0.3.360

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 (95) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/quickstart-prompts.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +53 -3
  4. package/dist/cli/auth-5ZEJNJGA.js +33 -0
  5. package/dist/cli/{auth-ZOW4L37H.mjs → auth-WIK56FTM.mjs} +4 -4
  6. package/dist/cli/{billing-YZJ5Q4ZC.js → billing-E2YWHGEG.js} +73 -73
  7. package/dist/cli/{billing-JPMZX77W.mjs → billing-Z5INYWJF.mjs} +4 -4
  8. package/dist/cli/{chunk-4DCOBHTZ.mjs → chunk-24ANFAKD.mjs} +4 -4
  9. package/dist/cli/{chunk-WNBXT425.mjs → chunk-3KPODTZE.mjs} +1 -1
  10. package/dist/cli/{chunk-ZY6QZZ5K.mjs → chunk-3ZTBGOJ3.mjs} +2 -2
  11. package/dist/cli/{chunk-VGXKDHTJ.js → chunk-47GSGU6B.js} +2 -2
  12. package/dist/cli/{chunk-5ZKZWXVN.js → chunk-47MAIUPI.js} +4 -4
  13. package/dist/cli/{chunk-72362UER.mjs → chunk-655HMFLH.mjs} +1 -1
  14. package/dist/cli/{chunk-SVAI3Z3Q.js → chunk-ABGZWLSA.js} +60 -60
  15. package/dist/cli/{chunk-36TKIMVG.mjs → chunk-AH3DNTXN.mjs} +2 -2
  16. package/dist/cli/{chunk-BJYW3XTM.mjs → chunk-CDIMKTXU.mjs} +1 -1
  17. package/dist/cli/{chunk-U2G2WO43.mjs → chunk-DLY2RISW.mjs} +2 -2
  18. package/dist/cli/{chunk-WR7H6MZ6.mjs → chunk-EYIROXZM.mjs} +1 -1
  19. package/dist/cli/{chunk-LXKJTNB3.js → chunk-G6C345OF.js} +9 -9
  20. package/dist/cli/{chunk-FCZIE4UQ.mjs → chunk-GB76G34M.mjs} +1 -1
  21. package/dist/cli/{chunk-QDLSDKEK.js → chunk-J6ITJPCD.js} +8 -8
  22. package/dist/cli/{chunk-JHX6XSLT.mjs → chunk-JIECDRJ5.mjs} +2 -2
  23. package/dist/cli/{chunk-WLDT7GTI.js → chunk-JVELAXQN.js} +26 -26
  24. package/dist/cli/{chunk-UKXON54N.mjs → chunk-KRKGZZWZ.mjs} +5 -5
  25. package/dist/cli/{chunk-EMMXSY6F.js → chunk-LBIP5OGA.js} +50 -50
  26. package/dist/cli/{chunk-UC6KM43R.js → chunk-LEV3TVKG.js} +15 -15
  27. package/dist/cli/{chunk-ARNODHMC.js → chunk-QKOCMGEF.js} +6 -6
  28. package/dist/cli/{chunk-I7XYIKAK.js → chunk-RXH44EQO.js} +45 -45
  29. package/dist/cli/{chunk-DZ34Z4DO.mjs → chunk-S5MGA7JG.mjs} +3 -3
  30. package/dist/cli/{chunk-P4CCF5ZV.js → chunk-TSUDECVA.js} +8 -8
  31. package/dist/cli/{chunk-M2DOAC65.mjs → chunk-UOBW6B2A.mjs} +6 -6
  32. package/dist/cli/{chunk-LDGO56ZU.js → chunk-VF7JBQBP.js} +224 -224
  33. package/dist/cli/{chunk-3EF4OMSE.js → chunk-W7ZGLLOM.js} +1 -1
  34. package/dist/cli/{client-32IMOGBO.mjs → client-H4GIBJEM.mjs} +3 -3
  35. package/dist/cli/client-IGY5ULGD.js +20 -0
  36. package/dist/cli/{csv-BCPDP5UL.js → csv-HHPA7FJT.js} +12 -12
  37. package/dist/cli/{csv-4QWZUAJP.mjs → csv-QBPUHPT6.mjs} +3 -3
  38. package/dist/cli/{db-T4CMZPJQ.mjs → db-JFB6NXGD.mjs} +4 -4
  39. package/dist/cli/{db-OF2SH2BI.js → db-VZDYPTH2.js} +29 -29
  40. package/dist/cli/{describe-5WQ55FIR.mjs → describe-7YDQ6X4L.mjs} +8 -8
  41. package/dist/cli/{describe-LIHZ4U6X.js → describe-KOTIPFHY.js} +15 -15
  42. package/dist/cli/{executions-R7WAC2JA.mjs → executions-SYDFJPUP.mjs} +4 -4
  43. package/dist/cli/{executions-JSXFOVBH.js → executions-YQ4UVHK7.js} +6 -6
  44. package/dist/cli/{feedback-Y42C4WP2.js → feedback-HU4GBNRY.js} +7 -7
  45. package/dist/cli/{feedback-2V5PBCPX.mjs → feedback-YOSAFSEC.mjs} +3 -3
  46. package/dist/cli/git-AXOGXUBF.js +23 -0
  47. package/dist/cli/{git-Y6VXODAK.mjs → git-TFGQOVE6.mjs} +4 -4
  48. package/dist/cli/index.js +82 -82
  49. package/dist/cli/index.mjs +32 -32
  50. package/dist/cli/{legacy-noops-KDRTNUUC.js → legacy-noops-IDVIJV7Y.js} +7 -7
  51. package/dist/cli/{legacy-noops-YEEZNYIS.mjs → legacy-noops-VWUMF3R6.mjs} +4 -4
  52. package/dist/cli/{monitors-RVXH73TC.js → monitors-GUYQVP3C.js} +85 -85
  53. package/dist/cli/{monitors-7GHIY5BR.mjs → monitors-HNDXF2DV.mjs} +4 -4
  54. package/dist/cli/{org-ZGU7BBDD.mjs → org-BWAZSZBF.mjs} +4 -4
  55. package/dist/cli/{org-OMUUGH6W.js → org-EQZMRW7P.js} +60 -60
  56. package/dist/cli/play-RXDF5ZEA.js +153 -0
  57. package/dist/cli/{play-PB6LSSNG.mjs → play-ZPTBDDX7.mjs} +7 -7
  58. package/dist/cli/{providers-J3OTP5VK.js → providers-K236SWCW.js} +7 -7
  59. package/dist/cli/{providers-GFR4DPBC.mjs → providers-Q3UVYCU6.mjs} +4 -4
  60. package/dist/cli/{quickstart-MXH3LZQ5.mjs → quickstart-H6W5GM2C.mjs} +3 -3
  61. package/dist/cli/{quickstart-ALUTGFAA.js → quickstart-REECR6WN.js} +5 -5
  62. package/dist/cli/search-CICEFEUG.js +26 -0
  63. package/dist/cli/{search-OVRR4XOJ.mjs → search-V75LFUFC.mjs} +5 -5
  64. package/dist/cli/{secrets-KT4OFUKB.js → secrets-BFGK3D5L.js} +13 -13
  65. package/dist/cli/{secrets-VXXVGDET.mjs → secrets-O3SO6JKW.mjs} +4 -4
  66. package/dist/cli/{sessions-GXDEX5EM.js → sessions-AT2ZDTED.js} +5 -5
  67. package/dist/cli/{sessions-JP4XKXEJ.mjs → sessions-KNMG5C5R.mjs} +4 -4
  68. package/dist/cli/{settings-BJT3RAJD.js → settings-B65AQVIF.js} +74 -74
  69. package/dist/cli/{settings-MMC5Q5FJ.mjs → settings-MM5LQN5C.mjs} +7 -7
  70. package/dist/cli/{setup-RP4VN7WE.js → setup-DCJZLL5Q.js} +41 -41
  71. package/dist/cli/{setup-6LWUQ34C.mjs → setup-XDVYHF5Z.mjs} +6 -6
  72. package/dist/cli/{skills-VRVG63GO.mjs → skills-2QD2ECZC.mjs} +4 -4
  73. package/dist/cli/skills-PBCTBNZ4.js +28 -0
  74. package/dist/cli/tools-NIOHIQID.js +40 -0
  75. package/dist/cli/{tools-M4VNLWYB.mjs → tools-PYVK75OA.mjs} +6 -6
  76. package/dist/cli/update-2O3MQ4OU.js +28 -0
  77. package/dist/cli/{update-HXQVI37L.mjs → update-QV7SWPRZ.mjs} +6 -6
  78. package/dist/cli/{workflow-PE2IONVL.mjs → workflow-3YH3SYG5.mjs} +5 -5
  79. package/dist/cli/{workflow-JTA3DWCM.js → workflow-Q7XOX2UK.js} +15 -15
  80. package/dist/index.js +6 -6
  81. package/dist/index.mjs +3 -3
  82. package/dist/install-integrity.json +74 -74
  83. package/dist/release.d.mts +1 -1
  84. package/dist/release.d.ts +1 -1
  85. package/dist/release.js +2 -2
  86. package/dist/release.mjs +1 -1
  87. package/package.json +1 -1
  88. package/dist/cli/auth-CN5UHM3M.js +0 -33
  89. package/dist/cli/client-TNHDPNDK.js +0 -20
  90. package/dist/cli/git-D5SJIU36.js +0 -23
  91. package/dist/cli/play-XKIDMLH7.js +0 -153
  92. package/dist/cli/search-X3IZW2TP.js +0 -26
  93. package/dist/cli/skills-3S5UET5W.js +0 -28
  94. package/dist/cli/tools-MTRW5VF6.js +0 -40
  95. package/dist/cli/update-5PPNAWY7.js +0 -28
@@ -21,7 +21,7 @@ var _chunkLA46MMTLjs = require('./chunk-LA46MMTL.js');
21
21
 
22
22
 
23
23
 
24
- var _chunk5ZKZWXVNjs = require('./chunk-5ZKZWXVN.js');
24
+ var _chunk47MAIUPIjs = require('./chunk-47MAIUPI.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, _chunk5ZKZWXVNjs.CustomerDbQueryOutcomeUnknownError)(
170
+ throw new (0, _chunk47MAIUPIjs.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, _chunk5ZKZWXVNjs.CustomerDbQueryOutcomeUnknownError)(
178
+ throw new (0, _chunk47MAIUPIjs.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, _chunk5ZKZWXVNjs.CustomerDbQueryOutcomeUnknownError)(
189
+ throw new (0, _chunk47MAIUPIjs.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
- [_chunk5ZKZWXVNjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2914
- ...receivers ? { [_chunk5ZKZWXVNjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
2913
+ [_chunk47MAIUPIjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
2914
+ ...receivers ? { [_chunk47MAIUPIjs.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 { [_chunk5ZKZWXVNjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
2930
+ return { [_chunk47MAIUPIjs.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 = _chunk5ZKZWXVNjs.resolveConfig.call(void 0, options);
3221
- this.http = new (0, _chunk5ZKZWXVNjs.HttpClient)(this.config);
3220
+ this.config = _chunk47MAIUPIjs.resolveConfig.call(void 0, options);
3221
+ this.http = new (0, _chunk47MAIUPIjs.HttpClient)(this.config);
3222
3222
  this.toolCalls = new ToolCalls(
3223
3223
  this.http,
3224
3224
  this.config.timeout,
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-NXGCO4JB.mjs";
15
15
  import {
16
16
  SDK_RELEASE
17
- } from "./chunk-BJYW3XTM.mjs";
17
+ } from "./chunk-CDIMKTXU.mjs";
18
18
 
19
19
  // src/errors.ts
20
20
  var CustomerDbQueryOutcomeUnknownError = class extends DeeplineError {
@@ -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 _chunkLXKJTNB3js = require('./chunk-LXKJTNB3.js');
3
+ var _chunkG6C345OFjs = require('./chunk-G6C345OF.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
7
+ var _chunkQKOCMGEFjs = require('./chunk-QKOCMGEF.js');
8
8
 
9
9
 
10
10
 
11
- var _chunk5ZKZWXVNjs = require('./chunk-5ZKZWXVN.js');
11
+ var _chunk47MAIUPIjs = require('./chunk-47MAIUPI.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, _chunk5ZKZWXVNjs.sdkCliStateDirPath.call(void 0, _chunk5ZKZWXVNjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
21
+ return _path.join.call(void 0, _chunk47MAIUPIjs.sdkCliStateDirPath.call(void 0, _chunk47MAIUPIjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
22
22
  }
23
23
  function rememberSearchRef(searchRef) {
24
24
  try {
@@ -153,7 +153,7 @@ function searchRow(item) {
153
153
  }
154
154
  function renderSearchResults(result) {
155
155
  if (result.results.length === 0)
156
- return _chunkARNODHMCjs.renderCommandEnvelopeText.call(void 0, result);
156
+ return _chunkQKOCMGEFjs.renderCommandEnvelopeText.call(void 0, result);
157
157
  const rows = result.results.map(searchRow);
158
158
  const kinds = new Set(rows.map((row) => row.kind));
159
159
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -177,7 +177,7 @@ function renderSearchResults(result) {
177
177
  actions: _optionalChain([render, 'optionalAccess', _11 => _11.actions])
178
178
  };
179
179
  const followUps = _optionalChain([remaining, 'access', _12 => _12.sections, 'optionalAccess', _13 => _13.length]) || _optionalChain([remaining, 'access', _14 => _14.actions, 'optionalAccess', _15 => _15.length]) ? `
180
- ${_chunkARNODHMCjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
180
+ ${_chunkQKOCMGEFjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
181
181
  const notes = rows.flatMap(
182
182
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
183
183
  );
@@ -254,7 +254,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
254
254
  console.error(USAGE);
255
255
  return 1;
256
256
  }
257
- const { search_ref: searchRef, ...result } = await new (0, _chunkLXKJTNB3js.DeeplineClient)().search({
257
+ const { search_ref: searchRef, ...result } = await new (0, _chunkG6C345OFjs.DeeplineClient)().search({
258
258
  query,
259
259
  types,
260
260
  exclude,
@@ -268,7 +268,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
268
268
  });
269
269
  if (searchRef) rememberSearchRef(searchRef);
270
270
  pointAtDescribe(result);
271
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0, result, {
271
+ _chunkQKOCMGEFjs.printCommandEnvelope.call(void 0, result, {
272
272
  json: options.json === true,
273
273
  text: renderSearchResults(result)
274
274
  });
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-WR7H6MZ6.mjs";
5
+ } from "./chunk-EYIROXZM.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-FCZIE4UQ.mjs";
28
+ } from "./chunk-GB76G34M.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkARNODHMCjs = require('./chunk-ARNODHMC.js');
5
+ var _chunkQKOCMGEFjs = require('./chunk-QKOCMGEF.js');
6
6
 
7
7
 
8
- var _chunk5ZKZWXVNjs = require('./chunk-5ZKZWXVN.js');
8
+ var _chunk47MAIUPIjs = require('./chunk-47MAIUPI.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkQKOCMGEFjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
39
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkQKOCMGEFjs.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
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
139
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkQKOCMGEFjs.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
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
153
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkQKOCMGEFjs.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
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
200
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkQKOCMGEFjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
227
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkQKOCMGEFjs.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
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
254
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkQKOCMGEFjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
269
+ _chunkQKOCMGEFjs.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 = _chunk5ZKZWXVNjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk47MAIUPIjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkARNODHMCjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkQKOCMGEFjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkQKOCMGEFjs.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
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
322
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkQKOCMGEFjs.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
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
371
+ _chunkQKOCMGEFjs.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 } = _chunkARNODHMCjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkQKOCMGEFjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkARNODHMCjs.printCommandEnvelope.call(void 0,
392
+ _chunkQKOCMGEFjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  recentSearchRef,
13
13
  registerDeprecatedSearchCommand
14
- } from "./chunk-DZ34Z4DO.mjs";
14
+ } from "./chunk-S5MGA7JG.mjs";
15
15
  import {
16
16
  extractSummaryFields,
17
17
  projectRowOutput,
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  DeeplineClient,
28
28
  validateExecutionIdempotencyKey
29
- } from "./chunk-72362UER.mjs";
29
+ } from "./chunk-655HMFLH.mjs";
30
30
  import {
31
31
  beginToolExecuteCommand,
32
32
  getToolExecuteInvocationId,
@@ -40,11 +40,11 @@ import {
40
40
  printJsonError,
41
41
  renderCommandEnvelopeText,
42
42
  shouldEmitJson
43
- } from "./chunk-WR7H6MZ6.mjs";
43
+ } from "./chunk-EYIROXZM.mjs";
44
44
  import {
45
45
  resolveConfig,
46
46
  sdkCliStateDirPath
47
- } from "./chunk-FCZIE4UQ.mjs";
47
+ } from "./chunk-GB76G34M.mjs";
48
48
  import {
49
49
  DeeplineError
50
50
  } from "./chunk-NXGCO4JB.mjs";
@@ -1030,7 +1030,7 @@ Examples:
1030
1030
  process.exitCode = await narrowView();
1031
1031
  return;
1032
1032
  }
1033
- const { describeAnything } = await import("./describe-5WQ55FIR.mjs");
1033
+ const { describeAnything } = await import("./describe-7YDQ6X4L.mjs");
1034
1034
  process.exitCode = await describeAnything(
1035
1035
  toolId,
1036
1036
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },