deepline 0.3.312 → 0.3.313

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/play-runtime/scheduler-backends/postgres.ts +60 -37
  3. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +11 -6
  4. package/dist/cli/auth-56NYRTQK.js +31 -0
  5. package/dist/cli/{auth-ACDTPM3M.mjs → auth-LNA6WCQA.mjs} +4 -4
  6. package/dist/cli/{billing-FVBBJ77L.mjs → billing-D37QNIE3.mjs} +4 -4
  7. package/dist/cli/{billing-YTJFHEGU.js → billing-GJJUUCOZ.js} +70 -70
  8. package/dist/cli/{chunk-GTEDCRKC.mjs → chunk-3ZC4PHJ6.mjs} +1 -1
  9. package/dist/cli/{chunk-T4IJQKRE.js → chunk-4UXNEC5C.js} +26 -26
  10. package/dist/cli/{chunk-V7N6BJQD.js → chunk-6G7ZYA6E.js} +50 -50
  11. package/dist/cli/{chunk-6OGNRAS7.mjs → chunk-BLMO3JMZ.mjs} +2 -2
  12. package/dist/cli/{chunk-I25C4KL7.mjs → chunk-BS4GAUMH.mjs} +6 -6
  13. package/dist/cli/{chunk-ZH7KTVAB.mjs → chunk-CSH4PKPJ.mjs} +1 -1
  14. package/dist/cli/{chunk-WPTUKXIF.mjs → chunk-DOI3UBGV.mjs} +1 -1
  15. package/dist/cli/{chunk-YYU3PYVK.js → chunk-FJUIXWZF.js} +48 -48
  16. package/dist/cli/{chunk-TID5XLTZ.js → chunk-FSZTWQFK.js} +4 -4
  17. package/dist/cli/{chunk-6LLJWMYH.js → chunk-GQXEHX5X.js} +6 -6
  18. package/dist/cli/{chunk-AA66YTS7.mjs → chunk-HM2TSTCT.mjs} +1 -1
  19. package/dist/cli/{chunk-ZQJDRSR5.js → chunk-HY2SSFRI.js} +1 -1
  20. package/dist/cli/{chunk-7SW43OAX.js → chunk-I4FHFGMA.js} +60 -60
  21. package/dist/cli/{chunk-FQVTHBEH.js → chunk-JG2ZTDZV.js} +15 -15
  22. package/dist/cli/{chunk-6KKETQSI.js → chunk-KNGTN7NE.js} +6 -6
  23. package/dist/cli/{chunk-BRJOVSTH.js → chunk-MHETTUWR.js} +2 -2
  24. package/dist/cli/{chunk-NJNYWVEF.mjs → chunk-N2DXWS6W.mjs} +2 -2
  25. package/dist/cli/{chunk-NMZPK7LM.mjs → chunk-OTA5C7DD.mjs} +1 -1
  26. package/dist/cli/{chunk-QFSLMI42.js → chunk-P4N7233B.js} +220 -220
  27. package/dist/cli/{chunk-EHVJ7XXD.mjs → chunk-QCXDLOGA.mjs} +2 -2
  28. package/dist/cli/{chunk-VJDKV5RU.js → chunk-QQMKX7JW.js} +6 -6
  29. package/dist/cli/{chunk-MK4K5MQU.mjs → chunk-RDUS2EDE.mjs} +3 -3
  30. package/dist/cli/{chunk-OV6IFAXH.mjs → chunk-UQBMMN4U.mjs} +5 -5
  31. package/dist/cli/{chunk-ULI6UVV6.js → chunk-VSAYSOVC.js} +6 -6
  32. package/dist/cli/{chunk-ENSDO4SG.mjs → chunk-XFEPRIW7.mjs} +4 -4
  33. package/dist/cli/{chunk-NWFE4PGX.mjs → chunk-YZ5PP6TX.mjs} +1 -1
  34. package/dist/cli/{client-ENGOMTTU.mjs → client-6RVRZ4OY.mjs} +3 -3
  35. package/dist/cli/client-XUTMYJDL.js +20 -0
  36. package/dist/cli/{csv-6WOJC6NZ.js → csv-2UHRG67O.js} +12 -12
  37. package/dist/cli/{csv-ENKTPYAJ.mjs → csv-SBOHBKEG.mjs} +3 -3
  38. package/dist/cli/{db-DSCJZYJU.mjs → db-TUFTPYEA.mjs} +4 -4
  39. package/dist/cli/{db-BAEVP4QK.js → db-VRE7CLIQ.js} +20 -20
  40. package/dist/cli/{describe-X2AFAC4B.js → describe-GS5A2XH4.js} +15 -15
  41. package/dist/cli/{describe-PAUHJF7H.mjs → describe-WCBZTSOF.mjs} +8 -8
  42. package/dist/cli/{executions-LXS6NLCV.js → executions-ENMOOKWH.js} +6 -6
  43. package/dist/cli/{executions-R6JOR67D.mjs → executions-UTN3O372.mjs} +4 -4
  44. package/dist/cli/{feedback-HXP2D7K6.js → feedback-BLN6SIRG.js} +6 -6
  45. package/dist/cli/{feedback-CYRVNCGT.mjs → feedback-PXBA3AG7.mjs} +3 -3
  46. package/dist/cli/git-26D3VD2I.js +23 -0
  47. package/dist/cli/{git-XBYBZB4R.mjs → git-YDMIRW3Q.mjs} +4 -4
  48. package/dist/cli/index.js +74 -74
  49. package/dist/cli/index.mjs +31 -31
  50. package/dist/cli/{legacy-noops-AUNAFEZP.js → legacy-noops-CWTUWTDB.js} +7 -7
  51. package/dist/cli/{legacy-noops-OQP6VZKE.mjs → legacy-noops-OVG2SICQ.mjs} +4 -4
  52. package/dist/cli/{monitors-L2HAAPAL.mjs → monitors-ATIDXJA4.mjs} +4 -4
  53. package/dist/cli/{monitors-QSIZG3CJ.js → monitors-T63OPBTY.js} +85 -85
  54. package/dist/cli/{org-JUHQGBQE.js → org-7RVAPMRN.js} +60 -60
  55. package/dist/cli/{org-UCSN5XRC.mjs → org-NXKNIM3H.mjs} +4 -4
  56. package/dist/cli/{play-5AT2RB3M.mjs → play-B62OVHD4.mjs} +7 -7
  57. package/dist/cli/play-WM3NZVE7.js +152 -0
  58. package/dist/cli/{providers-CVG4L3VR.js → providers-EITVEGXD.js} +7 -7
  59. package/dist/cli/{providers-GVPAPZ4L.mjs → providers-U7B7JEYY.mjs} +4 -4
  60. package/dist/cli/{quickstart-7OIFIQG3.js → quickstart-G64F2XRU.js} +5 -5
  61. package/dist/cli/{quickstart-Y6ZU27LE.mjs → quickstart-VSWTYNJM.mjs} +3 -3
  62. package/dist/cli/{search-4I2Y2NKK.mjs → search-SKYTFKKF.mjs} +5 -5
  63. package/dist/cli/search-TXQJJQWY.js +26 -0
  64. package/dist/cli/{secrets-3Z4IUEBA.mjs → secrets-4DNS7KWS.mjs} +4 -4
  65. package/dist/cli/{secrets-O2UFLU52.js → secrets-JSFHSCGM.js} +13 -13
  66. package/dist/cli/{sessions-OMAXRY5I.mjs → sessions-HB7RQ4XN.mjs} +4 -4
  67. package/dist/cli/{sessions-T6MWWQRH.js → sessions-MLTYPPCG.js} +5 -5
  68. package/dist/cli/{settings-R4LO5NMY.js → settings-3PCKNBPU.js} +74 -74
  69. package/dist/cli/{settings-C47WXZY5.mjs → settings-BT5WCU65.mjs} +7 -7
  70. package/dist/cli/{setup-JPJVTIQ6.mjs → setup-EIWDTMCK.mjs} +6 -6
  71. package/dist/cli/{setup-FIUTV4DD.js → setup-EYZWTDJI.js} +41 -41
  72. package/dist/cli/skills-73T4BSDE.js +28 -0
  73. package/dist/cli/{skills-6WVTMKP5.mjs → skills-AQ3ORN2C.mjs} +4 -4
  74. package/dist/cli/{tools-TKS77TNU.mjs → tools-OFTB2BGP.mjs} +6 -6
  75. package/dist/cli/tools-ZGSOHWBY.js +38 -0
  76. package/dist/cli/{update-GD754XMA.mjs → update-ERQTFSAR.mjs} +6 -6
  77. package/dist/cli/update-L4V5TF7I.js +28 -0
  78. package/dist/cli/{workflow-OCUQCNXA.js → workflow-6D6NHUH4.js} +15 -15
  79. package/dist/cli/{workflow-YKQSPXQZ.mjs → workflow-SRLWGGBM.mjs} +5 -5
  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-TFDGA24W.js +0 -31
  89. package/dist/cli/client-T6YGH6TT.js +0 -20
  90. package/dist/cli/git-JOE2RM3Q.js +0 -23
  91. package/dist/cli/play-2SNMTZGK.js +0 -152
  92. package/dist/cli/search-DS36UHOX.js +0 -26
  93. package/dist/cli/skills-GLPKPF7R.js +0 -28
  94. package/dist/cli/tools-L3YLQ7BR.js +0 -38
  95. package/dist/cli/update-HXI35NME.js +0 -28
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk6LLJWMYHjs = require('./chunk-6LLJWMYH.js');
5
+ var _chunkGQXEHX5Xjs = require('./chunk-GQXEHX5X.js');
6
6
 
7
7
 
8
- var _chunkTID5XLTZjs = require('./chunk-TID5XLTZ.js');
8
+ var _chunkFSZTWQFKjs = require('./chunk-FSZTWQFK.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkGQXEHX5Xjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
39
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkGQXEHX5Xjs.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
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
139
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkGQXEHX5Xjs.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
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
153
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkGQXEHX5Xjs.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
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
200
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkGQXEHX5Xjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
227
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkGQXEHX5Xjs.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
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
254
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkGQXEHX5Xjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
269
+ _chunkGQXEHX5Xjs.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 = _chunkTID5XLTZjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkFSZTWQFKjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk6LLJWMYHjs.openInBrowser.call(void 0, connectUrl);
292
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkGQXEHX5Xjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkGQXEHX5Xjs.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
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
322
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkGQXEHX5Xjs.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
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
371
+ _chunkGQXEHX5Xjs.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 } = _chunk6LLJWMYHjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkGQXEHX5Xjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
392
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -7,7 +7,7 @@ var _chunkXNL3SEMCjs = require('./chunk-XNL3SEMC.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkVJDKV5RUjs = require('./chunk-VJDKV5RU.js');
10
+ var _chunkQQMKX7JWjs = require('./chunk-QQMKX7JW.js');
11
11
 
12
12
 
13
13
 
@@ -18,7 +18,7 @@ var _chunkVJDKV5RUjs = require('./chunk-VJDKV5RU.js');
18
18
  var _chunkNXDRDJ4Kjs = require('./chunk-NXDRDJ4K.js');
19
19
 
20
20
 
21
- var _chunkULI6UVV6js = require('./chunk-ULI6UVV6.js');
21
+ var _chunkVSAYSOVCjs = require('./chunk-VSAYSOVC.js');
22
22
 
23
23
 
24
24
 
@@ -33,11 +33,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
33
33
 
34
34
 
35
35
 
36
- var _chunk6LLJWMYHjs = require('./chunk-6LLJWMYH.js');
36
+ var _chunkGQXEHX5Xjs = require('./chunk-GQXEHX5X.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkTID5XLTZjs = require('./chunk-TID5XLTZ.js');
40
+ var _chunkFSZTWQFKjs = require('./chunk-FSZTWQFK.js');
41
41
 
42
42
 
43
43
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -82,10 +82,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
82
82
  }
83
83
  };
84
84
  function pendingToolExecutionPath(input) {
85
- const config = _chunkTID5XLTZjs.resolveConfig.call(void 0, );
85
+ const config = _chunkFSZTWQFKjs.resolveConfig.call(void 0, );
86
86
  const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkNXDRDJ4Kjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
87
87
  return _path.join.call(void 0,
88
- _chunkTID5XLTZjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
88
+ _chunkFSZTWQFKjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
89
89
  `pending-tool-execution-${fingerprint}.json`
90
90
  );
91
91
  }
@@ -517,12 +517,12 @@ function categoryEnumerationRender(summaries) {
517
517
  };
518
518
  }
519
519
  async function listToolCategories(emitJson, compact) {
520
- const client = new (0, _chunkULI6UVV6js.DeeplineClient)();
520
+ const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
521
521
  const rawTools = await client.listTools({ compact });
522
522
  const items = rawTools.map(toListedTool);
523
523
  const summaries = aggregateCategorySummaries(rawTools);
524
524
  const outputItems = compact ? items.map(compactTool) : items;
525
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
525
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
526
526
  {
527
527
  tools: outputItems,
528
528
  count: outputItems.length,
@@ -541,7 +541,7 @@ function unknownCategoryError(category, summaries, emitJson) {
541
541
  const known = summaries.map((item) => item.name);
542
542
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
543
543
  if (emitJson) {
544
- _chunk6LLJWMYHjs.printJson.call(void 0, {
544
+ _chunkGQXEHX5Xjs.printJson.call(void 0, {
545
545
  ok: false,
546
546
  exitCode: 4,
547
547
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -555,13 +555,13 @@ function unknownCategoryError(category, summaries, emitJson) {
555
555
  const render = categoryEnumerationRender(summaries);
556
556
  console.error(message);
557
557
  console.error("");
558
- console.error(_chunk6LLJWMYHjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
558
+ console.error(_chunkGQXEHX5Xjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
559
559
  console.error("");
560
560
  console.error(`Valid categories: ${known.join(", ")}`);
561
561
  return 4;
562
562
  }
563
563
  async function listToolsInCategory(category, emitJson) {
564
- const client = new (0, _chunkULI6UVV6js.DeeplineClient)();
564
+ const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
565
565
  const rawTools = await client.listTools({
566
566
  categories: category,
567
567
  compact: false
@@ -598,7 +598,7 @@ async function listToolsInCategory(category, emitJson) {
598
598
  }
599
599
  ]
600
600
  };
601
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
601
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
602
602
  {
603
603
  category,
604
604
  total: rows.length,
@@ -611,7 +611,7 @@ async function listToolsInCategory(category, emitJson) {
611
611
  return 0;
612
612
  }
613
613
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
614
- const client = new (0, _chunkULI6UVV6js.DeeplineClient)();
614
+ const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
615
615
  const items = (await client.listTools({
616
616
  categories: requestedCategories.join(","),
617
617
  compact
@@ -640,7 +640,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
640
640
  ]
641
641
  };
642
642
  const outputItems = compact ? items.map(compactTool) : items;
643
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
643
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
644
644
  {
645
645
  tools: outputItems,
646
646
  count: outputItems.length,
@@ -659,13 +659,13 @@ async function listTools(category, options = {}) {
659
659
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]), () => ( ""));
660
660
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
661
661
  const compact = options.compact !== false;
662
- const emitJson = options.json === true || _chunk6LLJWMYHjs.shouldEmitJson.call(void 0, );
662
+ const emitJson = options.json === true || _chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, );
663
663
  if (positional && flagCategories.length > 0) {
664
664
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
665
665
  if (!flagIsSameSingle) {
666
666
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
667
667
  if (emitJson) {
668
- _chunk6LLJWMYHjs.printJson.call(void 0, {
668
+ _chunkGQXEHX5Xjs.printJson.call(void 0, {
669
669
  ok: false,
670
670
  exitCode: 2,
671
671
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -692,7 +692,7 @@ async function grepTools(queryInput, options = {}) {
692
692
  console.error("Usage: deepline tools grep <query> [--json]");
693
693
  return 1;
694
694
  }
695
- const client = new (0, _chunkULI6UVV6js.DeeplineClient)();
695
+ const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
696
696
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
697
697
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
698
698
  const jsonOutput = options.json === true;
@@ -735,7 +735,7 @@ async function grepTools(queryInput, options = {}) {
735
735
  query,
736
736
  mode
737
737
  }) : null;
738
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
738
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
739
739
  {
740
740
  tools: outputTools,
741
741
  count: outputTools.length,
@@ -753,7 +753,7 @@ async function grepTools(queryInput, options = {}) {
753
753
  } : {},
754
754
  commandTemplates: TOOL_COMMAND_TEMPLATES
755
755
  },
756
- { json: options.json || _chunk6LLJWMYHjs.shouldEmitJson.call(void 0, ) }
756
+ { json: options.json || _chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, ) }
757
757
  );
758
758
  return 0;
759
759
  }
@@ -909,7 +909,7 @@ Examples:
909
909
  json: Boolean(options.json)
910
910
  });
911
911
  });
912
- _chunkVJDKV5RUjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
912
+ _chunkQQMKX7JWjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
913
913
  tools.command("grep <query>").description(
914
914
  "Literal grep over tool ids, descriptions, categories, and input fields."
915
915
  ).addHelpText(
@@ -1010,7 +1010,7 @@ Examples:
1010
1010
  process.exitCode = await narrowView();
1011
1011
  return;
1012
1012
  }
1013
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-X2AFAC4B.js")));
1013
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-GS5A2XH4.js")));
1014
1014
  process.exitCode = await describeAnything(
1015
1015
  toolId,
1016
1016
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -1107,7 +1107,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1107
1107
  console.error("Usage: deepline tools describe <toolId> [--json]");
1108
1108
  return 1;
1109
1109
  }
1110
- const client = new (0, _chunkULI6UVV6js.DeeplineClient)();
1110
+ const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
1111
1111
  let tool;
1112
1112
  try {
1113
1113
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1161,7 +1161,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1161
1161
  const lines = toolPricingOnlyLines(tool, toolId);
1162
1162
  if (inferenceQuote)
1163
1163
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1164
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
1164
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
1165
1165
  {
1166
1166
  toolId: String(tool.toolId || toolId),
1167
1167
  cost: Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1179,7 +1179,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1179
1179
  }
1180
1180
  if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
1181
1181
  const contract = toolContractJsonForDescribe(tool, toolId);
1182
- _chunk6LLJWMYHjs.printCompactJson.call(void 0, {
1182
+ _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
1183
1183
  toolId: contract.toolId,
1184
1184
  ...options.schemaOnly ? {
1185
1185
  inputSchema: contract.inputSchema,
@@ -1202,7 +1202,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1202
1202
  return 0;
1203
1203
  }
1204
1204
  if (options.contractJson) {
1205
- _chunk6LLJWMYHjs.printCompactJson.call(void 0, {
1205
+ _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
1206
1206
  ...toolContractJsonForDescribe(tool, toolId),
1207
1207
  ...modelDescription ? { modelOptions: modelDescription } : {},
1208
1208
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1211,7 +1211,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1211
1211
  }
1212
1212
  const emitJson = options.json === true;
1213
1213
  if (emitJson) {
1214
- _chunk6LLJWMYHjs.printCompactJson.call(void 0, {
1214
+ _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
1215
1215
  ...toolMetadataJsonForDescribe(tool, toolId),
1216
1216
  ...modelDescription ? { modelOptions: modelDescription } : {},
1217
1217
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1242,8 +1242,8 @@ ${formatModelDescription(modelDescription)}`);
1242
1242
  if (inferenceQuote) printInferenceQuoteSummary(inferenceQuote);
1243
1243
  return 0;
1244
1244
  }
1245
- if (_chunk6LLJWMYHjs.shouldEmitJson.call(void 0, )) {
1246
- _chunk6LLJWMYHjs.printCompactJson.call(void 0, {
1245
+ if (_chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, )) {
1246
+ _chunkGQXEHX5Xjs.printCompactJson.call(void 0, {
1247
1247
  ...toolContractJsonForDescribe(tool, toolId),
1248
1248
  ...modelDescription ? { modelOptions: modelDescription } : {},
1249
1249
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2915,15 +2915,15 @@ async function executeTool(args) {
2915
2915
  try {
2916
2916
  parsed = parseExecuteOptions(args);
2917
2917
  } catch (error) {
2918
- if (_chunk6LLJWMYHjs.argsWantJson.call(void 0, args)) {
2919
- _chunk6LLJWMYHjs.printJsonError.call(void 0, error);
2918
+ if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
2919
+ _chunkGQXEHX5Xjs.printJsonError.call(void 0, error);
2920
2920
  } else {
2921
2921
  console.error(error instanceof Error ? error.message : String(error));
2922
2922
  }
2923
2923
  return 1;
2924
2924
  }
2925
2925
  const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
2926
- const client = new (0, _chunkULI6UVV6js.DeeplineClient)();
2926
+ const client = new (0, _chunkVSAYSOVCjs.DeeplineClient)();
2927
2927
  let metadata;
2928
2928
  try {
2929
2929
  metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
@@ -2937,8 +2937,8 @@ async function executeTool(args) {
2937
2937
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2938
2938
  );
2939
2939
  if (play) {
2940
- if (_chunk6LLJWMYHjs.argsWantJson.call(void 0, args)) {
2941
- _chunk6LLJWMYHjs.printJsonError.call(void 0,
2940
+ if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
2941
+ _chunkGQXEHX5Xjs.printJsonError.call(void 0,
2942
2942
  new Error(playAliasToolErrorMessage(parsed.toolId, play))
2943
2943
  );
2944
2944
  } else {
@@ -2950,8 +2950,8 @@ async function executeTool(args) {
2950
2950
  throw error;
2951
2951
  }
2952
2952
  if (isPlayLikeTool(metadata)) {
2953
- if (_chunk6LLJWMYHjs.argsWantJson.call(void 0, args)) {
2954
- _chunk6LLJWMYHjs.printJsonError.call(void 0,
2953
+ if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
2954
+ _chunkGQXEHX5Xjs.printJsonError.call(void 0,
2955
2955
  new Error(
2956
2956
  playLikeToolExecuteErrorMessage(
2957
2957
  parsed.toolId,
@@ -2987,7 +2987,7 @@ async function executeTool(args) {
2987
2987
  responseIntent,
2988
2988
  ...idempotencyKey ? { idempotencyKey } : {},
2989
2989
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2990
- searchRef: _chunkVJDKV5RUjs.recentSearchRef.call(void 0, ),
2990
+ searchRef: _chunkQQMKX7JWjs.recentSearchRef.call(void 0, ),
2991
2991
  cliInvocationId
2992
2992
  }).catch((error) => {
2993
2993
  const guidanceLines = toolGuidanceLines(metadata.guidance);
@@ -3026,8 +3026,8 @@ async function executeTool(args) {
3026
3026
  );
3027
3027
  const executeExitCode = toolExecuteExitCode(baseEnvelope);
3028
3028
  const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
3029
- if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunk6LLJWMYHjs.shouldEmitJson.call(void 0, ))) {
3030
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3029
+ if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, ))) {
3030
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3031
3031
  return true;
3032
3032
  }
3033
3033
  if (parsed.outputFormat === "json_file") {
@@ -3035,7 +3035,7 @@ async function executeTool(args) {
3035
3035
  rawResponse,
3036
3036
  `payload_${parsed.toolId}`
3037
3037
  );
3038
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
3038
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
3039
3039
  {
3040
3040
  ...baseEnvelope,
3041
3041
  local: {
@@ -3052,8 +3052,8 @@ async function executeTool(args) {
3052
3052
  const error = new Error(
3053
3053
  `${parsed.toolId} did not expose row-shaped output to write as CSV. Re-run with --json to inspect the raw tool response.`
3054
3054
  );
3055
- if (_chunk6LLJWMYHjs.argsWantJson.call(void 0, args)) {
3056
- _chunk6LLJWMYHjs.printJsonError.call(void 0, error);
3055
+ if (_chunkGQXEHX5Xjs.argsWantJson.call(void 0, args)) {
3056
+ _chunkGQXEHX5Xjs.printJsonError.call(void 0, error);
3057
3057
  } else {
3058
3058
  console.error(error.message);
3059
3059
  }
@@ -3064,18 +3064,18 @@ async function executeTool(args) {
3064
3064
  rawResponse,
3065
3065
  `payload_${parsed.toolId}`
3066
3066
  );
3067
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
3067
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
3068
3068
  {
3069
3069
  ...baseEnvelope,
3070
3070
  local: {
3071
3071
  payload_file: jsonPath
3072
3072
  }
3073
3073
  },
3074
- { json: parsed.outputFormat === "csv_file" || _chunk6LLJWMYHjs.shouldEmitJson.call(void 0, ) }
3074
+ { json: parsed.outputFormat === "csv_file" || _chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, ) }
3075
3075
  );
3076
3076
  return true;
3077
3077
  }
3078
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3078
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3079
3079
  return true;
3080
3080
  }
3081
3081
  const rowOutput = _chunkNXDRDJ4Kjs.projectRowOutput.call(void 0, listConversion);
@@ -3097,19 +3097,19 @@ async function executeTool(args) {
3097
3097
  seededScript
3098
3098
  });
3099
3099
  if (parsed.outputFormat === "csv_file") {
3100
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3100
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3101
3101
  return true;
3102
3102
  }
3103
3103
  if (parsed.outPath) {
3104
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3105
- json: _chunk6LLJWMYHjs.argsWantJson.call(void 0, args) || _chunk6LLJWMYHjs.shouldEmitJson.call(void 0, ),
3104
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3105
+ json: _chunkGQXEHX5Xjs.argsWantJson.call(void 0, args) || _chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, ),
3106
3106
  text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
3107
3107
  `
3108
3108
  });
3109
3109
  return true;
3110
3110
  }
3111
3111
  if (parsed.noPreview) {
3112
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0,
3112
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0,
3113
3113
  {
3114
3114
  ...materializedEnvelope,
3115
3115
  local: {
@@ -3117,12 +3117,12 @@ async function executeTool(args) {
3117
3117
  output_path: csv.path
3118
3118
  }
3119
3119
  },
3120
- { json: _chunk6LLJWMYHjs.shouldEmitJson.call(void 0, ), text: `${csv.path}
3120
+ { json: _chunkGQXEHX5Xjs.shouldEmitJson.call(void 0, ), text: `${csv.path}
3121
3121
  ` }
3122
3122
  );
3123
3123
  return true;
3124
3124
  }
3125
- _chunk6LLJWMYHjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
3125
+ _chunkGQXEHX5Xjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
3126
3126
  return true;
3127
3127
  });
3128
3128
  if (delivered) {
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-ZH7KTVAB.mjs";
5
+ } from "./chunk-CSH4PKPJ.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-WPTUKXIF.mjs";
28
+ } from "./chunk-DOI3UBGV.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -7,11 +7,11 @@ import {
7
7
  } from "./chunk-EDWJY6T4.mjs";
8
8
  import {
9
9
  registerDeprecatedSearchCommand
10
- } from "./chunk-MK4K5MQU.mjs";
10
+ } from "./chunk-RDUS2EDE.mjs";
11
11
  import {
12
12
  handleDeploymentGet,
13
13
  handleDeploymentsList
14
- } from "./chunk-EHVJ7XXD.mjs";
14
+ } from "./chunk-QCXDLOGA.mjs";
15
15
  import {
16
16
  PLAY_BOOTSTRAP_COMPANY_PROVIDER_CATEGORY,
17
17
  PLAY_BOOTSTRAP_OUTPUT_FIELD_BY_FINDER,
@@ -34,7 +34,7 @@ import {
34
34
  normalizeRunEventOperationRequest,
35
35
  parseLogLevel,
36
36
  playInputExampleArgs
37
- } from "./chunk-NWFE4PGX.mjs";
37
+ } from "./chunk-YZ5PP6TX.mjs";
38
38
  import {
39
39
  CSV_DATA_INPUT_KEY,
40
40
  buildNamedPlayRunRequest,
@@ -66,10 +66,10 @@ import {
66
66
  printJson,
67
67
  printJsonError,
68
68
  renderCommandEnvelopeText
69
- } from "./chunk-ZH7KTVAB.mjs";
69
+ } from "./chunk-CSH4PKPJ.mjs";
70
70
  import {
71
71
  fetchWithDeploymentProtection
72
- } from "./chunk-WPTUKXIF.mjs";
72
+ } from "./chunk-DOI3UBGV.mjs";
73
73
  import {
74
74
  PLAY_DEFAULT_EXPORT,
75
75
  extractDefinedPlayName,
@@ -17921,7 +17921,7 @@ Examples:
17921
17921
  process.exitCode = await ownView();
17922
17922
  return;
17923
17923
  }
17924
- const { describeAnything } = await import("./describe-PAUHJF7H.mjs");
17924
+ const { describeAnything } = await import("./describe-WCBZTSOF.mjs");
17925
17925
  process.exitCode = await describeAnything(
17926
17926
  name,
17927
17927
  {
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-WPTUKXIF.mjs";
6
+ } from "./chunk-DOI3UBGV.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-DLIRSHV6.mjs";
5
5
  import {
6
6
  SDK_RELEASE
7
- } from "./chunk-AA66YTS7.mjs";
7
+ } from "./chunk-HM2TSTCT.mjs";
8
8
  import {
9
9
  DeeplineError,
10
10
  TOOL_EXECUTION_ERROR_SCHEMA_VERSION,