deepline 0.3.346 → 0.3.348

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 (125) hide show
  1. package/dist/bundling-sources/sdk/src/client.ts +5 -0
  2. package/dist/bundling-sources/sdk/src/http.ts +14 -0
  3. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/tool-calls.ts +78 -17
  6. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +29 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +32 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +17 -1
  9. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +18 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +9 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +11 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +6 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +3 -0
  14. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +13 -0
  15. package/dist/cli/{auth-HTWHQNMY.mjs → auth-ME53BGXD.mjs} +4 -4
  16. package/dist/cli/auth-YHS2NN4I.js +31 -0
  17. package/dist/cli/{billing-X56CVZWC.mjs → billing-466LUN65.mjs} +31 -4
  18. package/dist/cli/{billing-4DCHVGO5.js → billing-EMRJAWNG.js} +99 -72
  19. package/dist/cli/{chunk-MOVEHSNM.mjs → chunk-2G7KMDDI.mjs} +1 -1
  20. package/dist/cli/{chunk-T7EVEXHS.js → chunk-2JRKH263.js} +15 -15
  21. package/dist/cli/{chunk-KQCTQGUU.mjs → chunk-35PLGSH6.mjs} +52 -16
  22. package/dist/cli/{chunk-EJ2NVO5K.js → chunk-4JJN7BDI.js} +48 -48
  23. package/dist/cli/{chunk-2GRMXCLZ.mjs → chunk-5AZNXX2S.mjs} +1 -1
  24. package/dist/cli/{chunk-L2R72RQJ.js → chunk-5HLM2PGK.js} +8 -8
  25. package/dist/cli/{chunk-5NNSJTJ3.js → chunk-5IYFQJHX.js} +280 -244
  26. package/dist/cli/{chunk-FKKNYKDY.js → chunk-5O4B6AUN.js} +2 -0
  27. package/dist/cli/{chunk-XAM3XOUA.mjs → chunk-5UWZ52IW.mjs} +2 -2
  28. package/dist/cli/{chunk-2RJ7RMRM.js → chunk-6NM2IY4B.js} +8 -8
  29. package/dist/cli/{chunk-NTVTZAVZ.mjs → chunk-7E66A24V.mjs} +2 -0
  30. package/dist/cli/{chunk-3GLIYDIF.mjs → chunk-BAJXRIRP.mjs} +2 -2
  31. package/dist/cli/{chunk-62TKYGY6.mjs → chunk-CA7RR4UD.mjs} +3 -3
  32. package/dist/cli/{chunk-O4SXVVNQ.mjs → chunk-CEC3BXRV.mjs} +1 -1
  33. package/dist/cli/{chunk-IIOBMOMH.mjs → chunk-DSWSEHRX.mjs} +1 -1
  34. package/dist/cli/{chunk-4Q572AVS.js → chunk-EWYHXSV4.js} +6 -6
  35. package/dist/cli/{chunk-22GXXUTB.js → chunk-GVJPI7MB.js} +33 -27
  36. package/dist/cli/{chunk-SGBSQHXS.js → chunk-IICCYB57.js} +64 -62
  37. package/dist/cli/{chunk-5QG2UAYH.js → chunk-KGKPHGDT.js} +2 -2
  38. package/dist/cli/{chunk-GCBLVWDQ.mjs → chunk-L645OZEB.mjs} +17 -8
  39. package/dist/cli/{chunk-ZR4EHO62.mjs → chunk-MM6X5ADB.mjs} +2 -2
  40. package/dist/cli/{chunk-AFNEQ43J.js → chunk-MX53GIOB.js} +40 -1
  41. package/dist/cli/{chunk-YUKZHAFW.js → chunk-NX4WJO5P.js} +26 -26
  42. package/dist/cli/{chunk-GGSLHWTB.js → chunk-PQZURAHR.js} +1 -1
  43. package/dist/cli/{chunk-WKZTHHJI.mjs → chunk-Q37KLZXK.mjs} +10 -8
  44. package/dist/cli/{chunk-OJVAVQLB.js → chunk-QGKPTBRR.js} +3 -3
  45. package/dist/cli/{chunk-ZEUFYRUR.js → chunk-SIE7MILM.js} +257 -248
  46. package/dist/cli/{chunk-YEKAGC52.js → chunk-U5U2DJ3A.js} +60 -60
  47. package/dist/cli/{chunk-NVNHV73C.mjs → chunk-UCVFMPAO.mjs} +2 -2
  48. package/dist/cli/{chunk-VC7M2QR7.mjs → chunk-VWSEZMCR.mjs} +7 -1
  49. package/dist/cli/{chunk-P4IKGWYF.mjs → chunk-XVWOERRO.mjs} +4 -4
  50. package/dist/cli/{chunk-JOA6IKDE.mjs → chunk-Z6B4UPM4.mjs} +39 -0
  51. package/dist/cli/client-F47WSZBF.js +20 -0
  52. package/dist/cli/{client-C2KUT452.mjs → client-K3EFOESB.mjs} +3 -3
  53. package/dist/cli/{csv-3TAA2MTR.js → csv-4UFHUMIR.js} +12 -12
  54. package/dist/cli/{csv-SLACAH4F.mjs → csv-ZFH725GM.mjs} +3 -3
  55. package/dist/cli/{db-BT6Q3FE6.js → db-EJHH7IBM.js} +29 -29
  56. package/dist/cli/{db-IN4I6KJ5.mjs → db-KTJSJ6LJ.mjs} +4 -4
  57. package/dist/cli/{describe-EDXTYMOF.mjs → describe-2GXTRRSJ.mjs} +11 -11
  58. package/dist/cli/{describe-FJZXYKFH.js → describe-ZQXDXWKZ.js} +27 -27
  59. package/dist/cli/{executions-YYQC2TVR.js → executions-FEBZXTAI.js} +6 -6
  60. package/dist/cli/{executions-X36QA5NY.mjs → executions-ZFEW2R3V.mjs} +4 -4
  61. package/dist/cli/{feedback-KTEPHZ4S.mjs → feedback-BYMYIBHU.mjs} +3 -3
  62. package/dist/cli/{feedback-BS3S46O3.js → feedback-F3LKI327.js} +7 -7
  63. package/dist/cli/{git-3ZVYB63W.mjs → git-A3V2AKGA.mjs} +4 -4
  64. package/dist/cli/git-PWHYGNBR.js +23 -0
  65. package/dist/cli/index.js +79 -79
  66. package/dist/cli/index.mjs +31 -31
  67. package/dist/cli/{legacy-noops-VVBJXM2K.mjs → legacy-noops-IMOMP5NH.mjs} +4 -4
  68. package/dist/cli/{legacy-noops-V5R7ITER.js → legacy-noops-TYXWVLSD.js} +7 -7
  69. package/dist/cli/{monitors-J6XDE76B.js → monitors-BG2EP4M2.js} +85 -85
  70. package/dist/cli/{monitors-KYTMBNUQ.mjs → monitors-PJWHKJAG.mjs} +4 -4
  71. package/dist/cli/{org-RGABGQKP.mjs → org-CVCRHGQF.mjs} +4 -4
  72. package/dist/cli/{org-MHF2NGDV.js → org-NM7EROYH.js} +60 -60
  73. package/dist/cli/{play-UII4SSA7.mjs → play-ESB6ZDMP.mjs} +10 -10
  74. package/dist/cli/play-MYWKV6MH.js +153 -0
  75. package/dist/cli/{providers-LQOSKPUH.mjs → providers-BPDX7QBF.mjs} +4 -4
  76. package/dist/cli/{providers-3GDMD7T6.js → providers-EXITLSJG.js} +7 -7
  77. package/dist/cli/{quickstart-R34Z7EMU.js → quickstart-55MBPFRI.js} +5 -5
  78. package/dist/cli/{quickstart-GAMYLCLJ.mjs → quickstart-P5HLSTZB.mjs} +3 -3
  79. package/dist/cli/search-2JFDCWWK.js +26 -0
  80. package/dist/cli/{search-AOOMDVF5.mjs → search-UJ3KOFZV.mjs} +5 -5
  81. package/dist/cli/{secrets-T4XXIASK.js → secrets-TLV2Q4Z5.js} +13 -13
  82. package/dist/cli/{secrets-U7YGLUSX.mjs → secrets-XJCZM2M2.mjs} +4 -4
  83. package/dist/cli/{sessions-VPXR4DSZ.mjs → sessions-4XMG3DEE.mjs} +4 -4
  84. package/dist/cli/{sessions-JQGKWKJS.js → sessions-DJWLUVXM.js} +5 -5
  85. package/dist/cli/{settings-LP55G43L.mjs → settings-3ZGLOANJ.mjs} +7 -7
  86. package/dist/cli/{settings-LXF45R7X.js → settings-KBNCPN3E.js} +74 -74
  87. package/dist/cli/{setup-36QA4JI3.mjs → setup-R3UV4ZXN.mjs} +6 -6
  88. package/dist/cli/{setup-MA2GLU4N.js → setup-WZZXC7H5.js} +41 -41
  89. package/dist/cli/{skills-HB6PARLZ.mjs → skills-44RXNHZH.mjs} +4 -4
  90. package/dist/cli/skills-52WTBX7A.js +28 -0
  91. package/dist/cli/tools-4ESTBMSN.js +40 -0
  92. package/dist/cli/{tools-E7K7R4AO.mjs → tools-NLUPNYR3.mjs} +8 -8
  93. package/dist/cli/{update-IT63P3NV.mjs → update-57GQJRXF.mjs} +6 -6
  94. package/dist/cli/update-V2FZCYNP.js +28 -0
  95. package/dist/cli/{workflow-UO3PMX7R.mjs → workflow-ARCLSKBC.mjs} +5 -5
  96. package/dist/cli/{workflow-SJHASZ5C.js → workflow-XI7LZRTQ.js} +15 -15
  97. package/dist/{client-DW3zASj8.d.ts → client-4DbE-U6e.d.ts} +9 -1
  98. package/dist/{client-BHReRdWK.d.mts → client-DIJpwhl-.d.mts} +9 -1
  99. package/dist/{compiler-manifest-CButyeZ8.d.mts → compiler-manifest-DgdW0q0b.d.mts} +42 -1
  100. package/dist/{compiler-manifest-CButyeZ8.d.ts → compiler-manifest-DgdW0q0b.d.ts} +42 -1
  101. package/dist/{index-BMsNUoL5.d.mts → index-C3nQQTI-.d.mts} +1 -1
  102. package/dist/{index-LDRzwo09.d.ts → index-CEYQAfS0.d.ts} +1 -1
  103. package/dist/index.d.mts +6 -6
  104. package/dist/index.d.ts +6 -6
  105. package/dist/index.js +7 -7
  106. package/dist/index.mjs +4 -4
  107. package/dist/install-integrity.json +87 -86
  108. package/dist/plays/bundle-play-file.d.mts +3 -3
  109. package/dist/plays/bundle-play-file.d.ts +3 -3
  110. package/dist/plays/bundle-play-file.mjs +2 -2
  111. package/dist/plays/run-request.d.mts +2 -2
  112. package/dist/plays/run-request.d.ts +2 -2
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/package.json +1 -1
  118. package/dist/cli/auth-5YTC2XH2.js +0 -31
  119. package/dist/cli/client-4RKYHB7Z.js +0 -20
  120. package/dist/cli/git-ZHAD5TJN.js +0 -23
  121. package/dist/cli/play-ZWAH3U44.js +0 -153
  122. package/dist/cli/search-FVB7ZNCO.js +0 -26
  123. package/dist/cli/skills-GUWC4FV7.js +0 -28
  124. package/dist/cli/tools-T5WIAD5Z.js +0 -40
  125. package/dist/cli/update-QY6RY3A6.js +0 -28
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk4Q572AVSjs = require('./chunk-4Q572AVS.js');
5
+ var _chunkEWYHXSV4js = require('./chunk-EWYHXSV4.js');
6
6
 
7
7
 
8
- var _chunk22GXXUTBjs = require('./chunk-22GXXUTB.js');
8
+ var _chunkGVJPI7MBjs = require('./chunk-GVJPI7MB.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkEWYHXSV4js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
39
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkEWYHXSV4js.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
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
139
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkEWYHXSV4js.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
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
153
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkEWYHXSV4js.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
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
200
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkEWYHXSV4js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
227
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkEWYHXSV4js.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
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
254
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkEWYHXSV4js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
269
+ _chunkEWYHXSV4js.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 = _chunk22GXXUTBjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkGVJPI7MBjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk4Q572AVSjs.openInBrowser.call(void 0, connectUrl);
292
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkEWYHXSV4js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkEWYHXSV4js.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
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
322
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkEWYHXSV4js.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
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
371
+ _chunkEWYHXSV4js.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 } = _chunk4Q572AVSjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkEWYHXSV4js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk4Q572AVSjs.printCommandEnvelope.call(void 0,
392
+ _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -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.346",
52
+ version: "0.3.348",
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
@@ -1,16 +1,17 @@
1
1
  import {
2
2
  addDescribeOptions,
3
3
  rateLimitSummary,
4
+ recordApiResponse,
4
5
  schemaField,
5
6
  schemaFields
6
- } from "./chunk-JOA6IKDE.mjs";
7
+ } from "./chunk-Z6B4UPM4.mjs";
7
8
  import {
8
9
  shellQuote
9
10
  } from "./chunk-OVDNJAJN.mjs";
10
11
  import {
11
12
  recentSearchRef,
12
13
  registerDeprecatedSearchCommand
13
- } from "./chunk-62TKYGY6.mjs";
14
+ } from "./chunk-CA7RR4UD.mjs";
14
15
  import {
15
16
  extractSummaryFields,
16
17
  projectRowOutput,
@@ -22,7 +23,7 @@ import {
22
23
  import {
23
24
  DeeplineClient,
24
25
  validateExecutionIdempotencyKey
25
- } from "./chunk-KQCTQGUU.mjs";
26
+ } from "./chunk-35PLGSH6.mjs";
26
27
  import {
27
28
  beginToolExecuteCommand,
28
29
  getToolExecuteInvocationId,
@@ -36,14 +37,14 @@ import {
36
37
  printJsonError,
37
38
  renderCommandEnvelopeText,
38
39
  shouldEmitJson
39
- } from "./chunk-2GRMXCLZ.mjs";
40
+ } from "./chunk-5AZNXX2S.mjs";
40
41
  import {
41
42
  resolveConfig,
42
43
  sdkCliStateDirPath
43
- } from "./chunk-VC7M2QR7.mjs";
44
+ } from "./chunk-VWSEZMCR.mjs";
44
45
  import {
45
46
  playToolListGetterMode
46
- } from "./chunk-NTVTZAVZ.mjs";
47
+ } from "./chunk-7E66A24V.mjs";
47
48
  import {
48
49
  DeeplineError
49
50
  } from "./chunk-NXGCO4JB.mjs";
@@ -1029,7 +1030,7 @@ Examples:
1029
1030
  process.exitCode = await narrowView();
1030
1031
  return;
1031
1032
  }
1032
- const { describeAnything } = await import("./describe-EDXTYMOF.mjs");
1033
+ const { describeAnything } = await import("./describe-2GXTRRSJ.mjs");
1033
1034
  process.exitCode = await describeAnything(
1034
1035
  toolId,
1035
1036
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -3015,7 +3016,8 @@ async function executeTool(toolId, options) {
3015
3016
  ...idempotencyKey ? { idempotencyKey } : {},
3016
3017
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
3017
3018
  searchRef: recentSearchRef(),
3018
- cliInvocationId
3019
+ cliInvocationId,
3020
+ onResponseReceived: recordApiResponse
3019
3021
  }).catch((error) => {
3020
3022
  const guidanceLines = toolGuidanceLines(metadata.guidance);
3021
3023
  if (guidanceLines.length > 0) {
@@ -3,7 +3,7 @@
3
3
  var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
4
4
 
5
5
 
6
- var _chunkFKKNYKDYjs = require('./chunk-FKKNYKDY.js');
6
+ var _chunk5O4B6AUNjs = require('./chunk-5O4B6AUN.js');
7
7
 
8
8
 
9
9
 
@@ -54,7 +54,7 @@ function buildPlayContractCompatibility(input) {
54
54
  artifactVersion: PLAY_ARTIFACT_VERSION,
55
55
  runtimeBackend: _nullishCoalesce(_optionalChain([input, 'optionalAccess', _ => _.runtimeBackend]), () => ( null)),
56
56
  toolErrorSchemaVersion: _nullishCoalesce(_optionalChain([input, 'optionalAccess', _2 => _2.toolErrorSchemaVersion]), () => ( _chunk7P5AA3SNjs.TOOL_EXECUTION_ERROR_SCHEMA_VERSION)),
57
- authoringContractEdition: _nullishCoalesce(_optionalChain([input, 'optionalAccess', _3 => _3.authoringContractEdition]), () => ( _chunkFKKNYKDYjs.PLAY_AUTHORING_CONTRACT_EDITION)),
57
+ authoringContractEdition: _nullishCoalesce(_optionalChain([input, 'optionalAccess', _3 => _3.authoringContractEdition]), () => ( _chunk5O4B6AUNjs.PLAY_AUTHORING_CONTRACT_EDITION)),
58
58
  toolResponseContract: _nullishCoalesce(_optionalChain([input, 'optionalAccess', _4 => _4.toolResponseContract]), () => ( _chunkS6R3OX7Bjs.RAW_V2_TOOL_RESPONSE_CONTRACT)),
59
59
  toolResponseReceiptRevision: _chunkS6R3OX7Bjs.normalizeToolResponseReceiptRevision.call(void 0,
60
60
  _nullishCoalesce(_optionalChain([input, 'optionalAccess', _5 => _5.toolResponseReceiptRevision]), () => ( _chunkS6R3OX7Bjs.RAW_V2_TOOL_RESPONSE_RECEIPT_REVISION))
@@ -2733,7 +2733,7 @@ async function bundlePlayFile(filePath, options) {
2733
2733
  analysis.graphHash = sha256(
2734
2734
  `${analysis.graphHash}
2735
2735
  entry-export:${exportName}
2736
- authoring-contract-edition:${_chunkFKKNYKDYjs.PLAY_AUTHORING_CONTRACT_EDITION}`
2736
+ authoring-contract-edition:${_chunk5O4B6AUNjs.PLAY_AUTHORING_CONTRACT_EDITION}`
2737
2737
  );
2738
2738
  const sourceFiles = Object.fromEntries(
2739
2739
  Object.entries(analysis.sourceFiles).map(([sourcePath, sourceCode]) => [