deepline 0.3.331 → 0.3.333

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 (102) hide show
  1. package/dist/bundling-sources/sdk/src/billing-idempotency.ts +5 -1
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +26 -23
  4. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +16 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +30 -9
  6. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +95 -24
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +132 -37
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +6 -3
  10. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +87 -3
  11. package/dist/cli/auth-26GA3RM6.js +31 -0
  12. package/dist/cli/{auth-TVTO43JD.mjs → auth-OQ356CEE.mjs} +4 -4
  13. package/dist/cli/{billing-Y4EX5FFA.js → billing-3APFTHNY.js} +71 -71
  14. package/dist/cli/{billing-FBZ5CCU7.mjs → billing-7YVHLDMO.mjs} +4 -4
  15. package/dist/cli/{chunk-RI57LHLC.mjs → chunk-2CLENWOQ.mjs} +1 -1
  16. package/dist/cli/{chunk-KGZPY524.js → chunk-3WQJWQ5T.js} +60 -60
  17. package/dist/cli/{chunk-YIYK57LW.mjs → chunk-4DUEB2WO.mjs} +2 -2
  18. package/dist/cli/{chunk-T7E5KIPE.js → chunk-5A44CWQE.js} +48 -48
  19. package/dist/cli/{chunk-VEP3POWB.mjs → chunk-5UN6KLD2.mjs} +1 -1
  20. package/dist/cli/{chunk-L4CJXV7D.js → chunk-64CZWDWT.js} +8 -8
  21. package/dist/cli/{chunk-RRJ6AA5L.mjs → chunk-6JPZJ5W7.mjs} +2 -2
  22. package/dist/cli/{chunk-BXZN544J.mjs → chunk-ABVOFJAE.mjs} +1 -1
  23. package/dist/cli/{chunk-NHR3O4OV.js → chunk-AFVETOG3.js} +15 -15
  24. package/dist/cli/{chunk-4JYLNJMD.mjs → chunk-AGGDEQDF.mjs} +1 -1
  25. package/dist/cli/{chunk-LFV2A7GB.js → chunk-DROPDYOD.js} +1 -1
  26. package/dist/cli/{chunk-ZGWURYZK.js → chunk-F2QKAGST.js} +10 -10
  27. package/dist/cli/{chunk-O52SKQQT.mjs → chunk-F2XAQHQC.mjs} +4 -4
  28. package/dist/cli/{chunk-CKAZY2JT.mjs → chunk-H5SORD7Q.mjs} +2 -2
  29. package/dist/cli/{chunk-DU72PAVF.mjs → chunk-HNX3RC6V.mjs} +1 -1
  30. package/dist/cli/{chunk-YCYWPBRV.js → chunk-IDEK4DND.js} +2 -2
  31. package/dist/cli/{chunk-MDQOGPQY.js → chunk-IYFKFNEB.js} +225 -225
  32. package/dist/cli/{chunk-KXWOO3GI.js → chunk-KBXHB5P3.js} +26 -26
  33. package/dist/cli/{chunk-HG5NWSN2.mjs → chunk-KREEYWVL.mjs} +6 -6
  34. package/dist/cli/{chunk-EGRTGSNS.mjs → chunk-N5KGBQPG.mjs} +3 -3
  35. package/dist/cli/{chunk-PS5BFY2W.mjs → chunk-NI4FJRFJ.mjs} +5 -5
  36. package/dist/cli/{chunk-XZG75ELG.js → chunk-PRZ4S4NU.js} +6 -6
  37. package/dist/cli/{chunk-RX2WWVZ7.js → chunk-STVJ7ZPD.js} +6 -6
  38. package/dist/cli/{chunk-QEI6SNAT.mjs → chunk-SXX4ST3D.mjs} +2 -2
  39. package/dist/cli/{chunk-ELDOV5XG.js → chunk-UHHTRBJF.js} +45 -45
  40. package/dist/cli/{chunk-3AQ3L2NX.js → chunk-V77J5ISS.js} +4 -4
  41. package/dist/cli/client-IZRTEBU4.js +20 -0
  42. package/dist/cli/{client-Q7J5R5PT.mjs → client-WKS7HQRP.mjs} +3 -3
  43. package/dist/cli/{csv-WBEF4KIZ.js → csv-MMW6EKKD.js} +12 -12
  44. package/dist/cli/{csv-RVG3V4YX.mjs → csv-ZFY2LD2K.mjs} +3 -3
  45. package/dist/cli/{db-4SPPGSEV.js → db-FMOQU6QW.js} +29 -29
  46. package/dist/cli/{db-AVIQ5WHJ.mjs → db-Q2NJVILC.mjs} +4 -4
  47. package/dist/cli/{describe-IQ3FOLGV.js → describe-4KG2JAQV.js} +15 -15
  48. package/dist/cli/{describe-4UA6N4YX.mjs → describe-EWP7DMNU.mjs} +8 -8
  49. package/dist/cli/{executions-VCULCPYR.mjs → executions-UOD7FWEE.mjs} +4 -4
  50. package/dist/cli/{executions-3ZUK3YJB.js → executions-Y4XSGKN6.js} +6 -6
  51. package/dist/cli/{feedback-SZLTZXWC.mjs → feedback-3F3EURZC.mjs} +3 -3
  52. package/dist/cli/{feedback-7YKDOMWW.js → feedback-TEJJUXDI.js} +6 -6
  53. package/dist/cli/{git-H4YS7TQW.mjs → git-5YM22RGA.mjs} +4 -4
  54. package/dist/cli/git-GNEZSTVF.js +23 -0
  55. package/dist/cli/index.js +79 -79
  56. package/dist/cli/index.mjs +31 -31
  57. package/dist/cli/{legacy-noops-K6U4YL3K.mjs → legacy-noops-D5XBVUHS.mjs} +4 -4
  58. package/dist/cli/{legacy-noops-GU7X3U2Y.js → legacy-noops-T5OUSXMR.js} +7 -7
  59. package/dist/cli/{monitors-2HHSSSDD.mjs → monitors-LPZNYNQW.mjs} +4 -4
  60. package/dist/cli/{monitors-IUEWN2VX.js → monitors-VI7VBQRP.js} +85 -85
  61. package/dist/cli/{org-6NBBO7G3.mjs → org-BYIDOMJB.mjs} +4 -4
  62. package/dist/cli/{org-E5TYEFPX.js → org-OBGIV5QE.js} +60 -60
  63. package/dist/cli/play-5JYRSXAL.js +153 -0
  64. package/dist/cli/{play-C2BQ4MJG.mjs → play-Y5PQQRBO.mjs} +7 -7
  65. package/dist/cli/{providers-N2LG7Y3E.mjs → providers-GEGIGKOL.mjs} +4 -4
  66. package/dist/cli/{providers-FM6LWHA4.js → providers-VH6J7FFY.js} +7 -7
  67. package/dist/cli/{quickstart-GQQ6ODNU.mjs → quickstart-GHITFT27.mjs} +3 -3
  68. package/dist/cli/{quickstart-I4K6ZDU6.js → quickstart-ZQX5XNHG.js} +5 -5
  69. package/dist/cli/{search-NKDQSOQ5.mjs → search-AFX3DYAC.mjs} +5 -5
  70. package/dist/cli/search-YIXGQFXA.js +26 -0
  71. package/dist/cli/{secrets-FGKGASDL.mjs → secrets-4EOVXQJM.mjs} +4 -4
  72. package/dist/cli/{secrets-BBI5NYLT.js → secrets-F37M7D7R.js} +13 -13
  73. package/dist/cli/{sessions-7MWWKIUT.mjs → sessions-RX5SFHDI.mjs} +4 -4
  74. package/dist/cli/{sessions-YUTDWUVR.js → sessions-T57Q72GD.js} +5 -5
  75. package/dist/cli/{settings-U55P74SS.js → settings-3FVWW7GL.js} +74 -74
  76. package/dist/cli/{settings-JGJWBESE.mjs → settings-764O5ZEH.mjs} +7 -7
  77. package/dist/cli/{setup-XYIDQ46U.js → setup-FQVRVTR6.js} +41 -41
  78. package/dist/cli/{setup-7D577YQO.mjs → setup-X7OAHFTO.mjs} +6 -6
  79. package/dist/cli/skills-DPGB67XX.js +28 -0
  80. package/dist/cli/{skills-Y6WBNBPF.mjs → skills-O6ILHPV5.mjs} +4 -4
  81. package/dist/cli/{tools-OPTIBRZP.mjs → tools-HL4SQG35.mjs} +6 -6
  82. package/dist/cli/tools-WZCXSXER.js +40 -0
  83. package/dist/cli/update-63MANY7U.js +28 -0
  84. package/dist/cli/{update-HKJQ762M.mjs → update-A3P2RSIB.mjs} +6 -6
  85. package/dist/cli/{workflow-2ZOG35IA.mjs → workflow-44424AVE.mjs} +5 -5
  86. package/dist/cli/{workflow-EBIKBXXC.js → workflow-62AGKI6T.js} +15 -15
  87. package/dist/index.js +6 -6
  88. package/dist/index.mjs +3 -3
  89. package/dist/install-integrity.json +74 -74
  90. package/dist/release.d.mts +1 -1
  91. package/dist/release.d.ts +1 -1
  92. package/dist/release.js +2 -2
  93. package/dist/release.mjs +1 -1
  94. package/package.json +1 -1
  95. package/dist/cli/auth-YYTF3NO4.js +0 -31
  96. package/dist/cli/client-46KHPTTQ.js +0 -20
  97. package/dist/cli/git-DCZP3E3P.js +0 -23
  98. package/dist/cli/play-MPDZPEYN.js +0 -153
  99. package/dist/cli/search-6G6FUVTJ.js +0 -26
  100. package/dist/cli/skills-PXHET5MG.js +0 -28
  101. package/dist/cli/tools-BCSXPN5X.js +0 -40
  102. package/dist/cli/update-2NXG3NKT.js +0 -28
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkXZG75ELGjs = require('./chunk-XZG75ELG.js');
5
+ var _chunkPRZ4S4NUjs = require('./chunk-PRZ4S4NU.js');
6
6
 
7
7
 
8
- var _chunk3AQ3L2NXjs = require('./chunk-3AQ3L2NX.js');
8
+ var _chunkV77J5ISSjs = require('./chunk-V77J5ISS.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
39
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkPRZ4S4NUjs.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
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
139
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkPRZ4S4NUjs.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
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
153
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkPRZ4S4NUjs.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
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
200
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
227
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkPRZ4S4NUjs.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
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
254
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
269
+ _chunkPRZ4S4NUjs.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 = _chunk3AQ3L2NXjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkV77J5ISSjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkXZG75ELGjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkPRZ4S4NUjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkPRZ4S4NUjs.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
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
322
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkPRZ4S4NUjs.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
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
371
+ _chunkPRZ4S4NUjs.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 } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
392
+ _chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -10,11 +10,11 @@ import {
10
10
  } from "./chunk-EDWJY6T4.mjs";
11
11
  import {
12
12
  registerDeprecatedSearchCommand
13
- } from "./chunk-EGRTGSNS.mjs";
13
+ } from "./chunk-N5KGBQPG.mjs";
14
14
  import {
15
15
  handleDeploymentGet,
16
16
  handleDeploymentsList
17
- } from "./chunk-YIYK57LW.mjs";
17
+ } from "./chunk-4DUEB2WO.mjs";
18
18
  import {
19
19
  PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY,
20
20
  PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER,
@@ -39,7 +39,7 @@ import {
39
39
  normalizeRunEventOperationRequest,
40
40
  parseLogLevel,
41
41
  playInputExampleArgs
42
- } from "./chunk-QEI6SNAT.mjs";
42
+ } from "./chunk-SXX4ST3D.mjs";
43
43
  import {
44
44
  CSV_DATA_INPUT_KEY,
45
45
  buildNamedPlayRunRequest,
@@ -72,10 +72,10 @@ import {
72
72
  printJsonError,
73
73
  renderCommandEnvelopeText,
74
74
  shouldEmitJson
75
- } from "./chunk-DU72PAVF.mjs";
75
+ } from "./chunk-HNX3RC6V.mjs";
76
76
  import {
77
77
  fetchWithDeploymentProtection
78
- } from "./chunk-VEP3POWB.mjs";
78
+ } from "./chunk-5UN6KLD2.mjs";
79
79
  import {
80
80
  PLAY_DEFAULT_EXPORT,
81
81
  extractDefinedPlayName,
@@ -18156,7 +18156,7 @@ Examples:
18156
18156
  process.exitCode = await ownView();
18157
18157
  return;
18158
18158
  }
18159
- const { describeAnything } = await import("./describe-4UA6N4YX.mjs");
18159
+ const { describeAnything } = await import("./describe-EWP7DMNU.mjs");
18160
18160
  process.exitCode = await describeAnything(
18161
18161
  name,
18162
18162
  {
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-QEI6SNAT.mjs";
3
+ } from "./chunk-SXX4ST3D.mjs";
4
4
  import {
5
5
  printCommandEnvelope,
6
6
  renderCommandEnvelopeText
7
- } from "./chunk-DU72PAVF.mjs";
7
+ } from "./chunk-HNX3RC6V.mjs";
8
8
  import {
9
9
  resolveConfig,
10
10
  sdkCliStateDirPath
11
- } from "./chunk-VEP3POWB.mjs";
11
+ } from "./chunk-5UN6KLD2.mjs";
12
12
 
13
13
  // src/cli/search-ref.ts
14
14
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  recentSearchRef,
12
12
  registerDeprecatedSearchCommand
13
- } from "./chunk-EGRTGSNS.mjs";
13
+ } from "./chunk-N5KGBQPG.mjs";
14
14
  import {
15
15
  extractSummaryFields,
16
16
  projectRowOutput,
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  DeeplineClient,
24
24
  validateExecutionIdempotencyKey
25
- } from "./chunk-QEI6SNAT.mjs";
25
+ } from "./chunk-SXX4ST3D.mjs";
26
26
  import {
27
27
  beginToolExecuteCommand,
28
28
  getToolExecuteInvocationId,
@@ -36,11 +36,11 @@ import {
36
36
  printJsonError,
37
37
  renderCommandEnvelopeText,
38
38
  shouldEmitJson
39
- } from "./chunk-DU72PAVF.mjs";
39
+ } from "./chunk-HNX3RC6V.mjs";
40
40
  import {
41
41
  resolveConfig,
42
42
  sdkCliStateDirPath
43
- } from "./chunk-VEP3POWB.mjs";
43
+ } from "./chunk-5UN6KLD2.mjs";
44
44
  import {
45
45
  playToolListGetterMode
46
46
  } from "./chunk-NTVTZAVZ.mjs";
@@ -1029,7 +1029,7 @@ Examples:
1029
1029
  process.exitCode = await narrowView();
1030
1030
  return;
1031
1031
  }
1032
- const { describeAnything } = await import("./describe-4UA6N4YX.mjs");
1032
+ const { describeAnything } = await import("./describe-EWP7DMNU.mjs");
1033
1033
  process.exitCode = await describeAnything(
1034
1034
  toolId,
1035
1035
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk3AQ3L2NXjs = require('./chunk-3AQ3L2NX.js');
6
+ var _chunkV77J5ISSjs = require('./chunk-V77J5ISS.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -136,8 +136,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
136
136
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
137
137
  var defaultBrowserCommandRunner = childProcess;
138
138
  function getAuthedHttpClient() {
139
- const config = _chunk3AQ3L2NXjs.resolveConfig.call(void 0, );
140
- return { config, http: new (0, _chunk3AQ3L2NXjs.HttpClient)(config) };
139
+ const config = _chunkV77J5ISSjs.resolveConfig.call(void 0, );
140
+ return { config, http: new (0, _chunkV77J5ISSjs.HttpClient)(config) };
141
141
  }
142
142
  function stableOsUserId() {
143
143
  try {
@@ -477,7 +477,7 @@ function collectLocalEnvInfo() {
477
477
  os: `${process.platform} ${process.arch}`,
478
478
  node_version: process.version,
479
479
  home_dir: homeDir,
480
- agent_runtime: _chunk3AQ3L2NXjs.detectAgentRuntime.call(void 0, )
480
+ agent_runtime: _chunkV77J5ISSjs.detectAgentRuntime.call(void 0, )
481
481
  };
482
482
  const env = process.env;
483
483
  const optional = {
@@ -725,9 +725,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
725
725
  }
726
726
  function withAgentCommandContext(value) {
727
727
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
728
- return _chunk3AQ3L2NXjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
728
+ return _chunkV77J5ISSjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
729
729
  ...valueRecord,
730
- command_context: _chunk3AQ3L2NXjs.resolveCliCommandContext.call(void 0, )
730
+ command_context: _chunkV77J5ISSjs.resolveCliCommandContext.call(void 0, )
731
731
  } : value;
732
732
  }
733
733
  function printJson(value, fields) {
@@ -1,7 +1,7 @@
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 _chunkXZG75ELGjs = require('./chunk-XZG75ELG.js');
4
+ var _chunkPRZ4S4NUjs = require('./chunk-PRZ4S4NU.js');
5
5
 
6
6
  // src/cli/commands/sessions.ts
7
7
 
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
420
420
  return { encodedContent: encoded, needsChunking: true };
421
421
  }
422
422
  async function uploadPayload(path, payload) {
423
- const { http } = _chunkXZG75ELGjs.getAuthedHttpClient.call(void 0, );
423
+ const { http } = _chunkPRZ4S4NUjs.getAuthedHttpClient.call(void 0, );
424
424
  return await http.post(path, payload);
425
425
  }
426
426
  async function uploadChunkedSessions(sessions, options) {
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
452
452
  environments: sessions.map(() => detectShellContext()),
453
453
  ...options.rating ? { rating: options.rating } : {}
454
454
  });
455
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
455
+ _chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
456
456
  {
457
457
  ...response,
458
458
  ok: true,
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
481
481
  filename: _path.basename.call(void 0, filePath),
482
482
  ...rating ? { rating } : {}
483
483
  });
484
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
484
+ _chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
485
485
  {
486
486
  ...response2,
487
487
  ok: true,
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
530
530
  environment: detectShellContext(),
531
531
  ...rating ? { rating } : {}
532
532
  });
533
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
533
+ _chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
534
534
  {
535
535
  ...response,
536
536
  ok: true,
@@ -635,7 +635,7 @@ ${refreshMeta}
635
635
  </body>
636
636
  </html>`;
637
637
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
638
- _chunkXZG75ELGjs.printCommandEnvelope.call(void 0,
638
+ _chunkPRZ4S4NUjs.printCommandEnvelope.call(void 0,
639
639
  {
640
640
  ok: true,
641
641
  file: outputPath,
@@ -15,7 +15,7 @@ import {
15
15
  RETAINED_PIPELINE_RECEIVERS_HEADER,
16
16
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
17
17
  resolveConfig
18
- } from "./chunk-VEP3POWB.mjs";
18
+ } from "./chunk-5UN6KLD2.mjs";
19
19
  import {
20
20
  PLAY_RUNTIME_BACKENDS,
21
21
  RAW_V2_TOOL_RESPONSE_CONTRACT,
@@ -85,7 +85,7 @@ function playInputExampleArgs(schema) {
85
85
  // src/billing-idempotency.ts
86
86
  function requireBillingIdempotencyKey(value) {
87
87
  const normalized = value.trim();
88
- let valid = normalized.length > 0 && normalized.length <= 200 && normalized === value;
88
+ let valid = normalized.length > 0 && normalized.length <= 200 && normalized === value && !/[\u0000-\u0008\u000a-\u001f\u007f]/.test(value);
89
89
  if (valid) {
90
90
  try {
91
91
  valid = new Headers({ "Idempotency-Key": value }).get("Idempotency-Key") === value;