deepline 0.3.374 → 0.3.376

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 (99) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/transient-service-error.ts +56 -4
  3. package/dist/cli/auth-BTFXJQLT.js +35 -0
  4. package/dist/cli/{auth-YGCDA4WG.mjs → auth-MLCDUTJY.mjs} +6 -4
  5. package/dist/cli/{billing-ZXRKPD5D.js → billing-IONI4V7P.js} +73 -73
  6. package/dist/cli/{billing-3ZLR3CJU.mjs → billing-OUGNDBL4.mjs} +4 -4
  7. package/dist/cli/{chunk-TZTGK5JQ.js → chunk-34KUUN3Z.js} +52 -51
  8. package/dist/cli/{chunk-MOBOAZMA.js → chunk-47X6MQ7J.js} +60 -60
  9. package/dist/cli/{chunk-O7KJYX7R.js → chunk-4V2Q3JO6.js} +15 -15
  10. package/dist/cli/{chunk-JSK6GUY6.js → chunk-4WINCNNH.js} +13 -9
  11. package/dist/cli/{chunk-T35LCTC7.js → chunk-5HDB7XXT.js} +235 -235
  12. package/dist/cli/{chunk-62IBVKWB.mjs → chunk-5HJHTZI6.mjs} +1 -1
  13. package/dist/cli/{chunk-RT5ICJ5V.js → chunk-6EYTKUDI.js} +2 -2
  14. package/dist/cli/{chunk-IZVGMVNX.mjs → chunk-7LX2G2PU.mjs} +1 -1
  15. package/dist/cli/{chunk-NOSIMGZV.js → chunk-7ZZSGV4A.js} +1 -1
  16. package/dist/cli/{chunk-YPVTQRUM.js → chunk-A6ZTYKYF.js} +33 -7
  17. package/dist/cli/{chunk-HC5L6KGE.js → chunk-ETUV6RRK.js} +1495 -1495
  18. package/dist/cli/{chunk-46JCJ7FT.mjs → chunk-FWF24ULX.mjs} +13 -9
  19. package/dist/cli/{chunk-GT6KGIWV.mjs → chunk-GMRWUGXB.mjs} +3 -3
  20. package/dist/cli/{chunk-A62HBMHY.mjs → chunk-H7SLESX6.mjs} +1467 -1467
  21. package/dist/cli/{chunk-VZSVYNZH.mjs → chunk-HDB4GAWY.mjs} +12 -12
  22. package/dist/cli/{chunk-RXR7A2MX.js → chunk-KHZ6WEVF.js} +26 -26
  23. package/dist/cli/{chunk-OS7GXARW.mjs → chunk-L6OSOKS6.mjs} +7 -7
  24. package/dist/cli/{chunk-NNYQ24O5.mjs → chunk-MHRDXS7J.mjs} +1 -1
  25. package/dist/cli/{chunk-JK547IDB.js → chunk-N6KIEYZV.js} +15 -15
  26. package/dist/cli/{chunk-3XKAOV74.js → chunk-QSH5CHRI.js} +6 -6
  27. package/dist/cli/{chunk-OYTPVM2R.mjs → chunk-SPZNLE2D.mjs} +2 -2
  28. package/dist/cli/{chunk-2DAWTVNN.mjs → chunk-UABI2T3Z.mjs} +2 -2
  29. package/dist/cli/{chunk-E6BZWURC.mjs → chunk-UE2UHYT3.mjs} +33 -7
  30. package/dist/cli/{chunk-MQ5UW5AZ.mjs → chunk-V7ZREPSD.mjs} +4 -4
  31. package/dist/cli/{chunk-SBB27CIJ.mjs → chunk-VL5ERG22.mjs} +2 -2
  32. package/dist/cli/{chunk-FT6O2ZVJ.mjs → chunk-VNBAOWN3.mjs} +13 -32
  33. package/dist/cli/{chunk-PCYCNZLR.js → chunk-Y4MXBE3V.js} +8 -8
  34. package/dist/cli/{chunk-X5V2QTDR.js → chunk-Y5W5IIA4.js} +65 -84
  35. package/dist/cli/{chunk-YFFH6NDU.mjs → chunk-YXQ7SRL3.mjs} +3 -2
  36. package/dist/cli/{chunk-53PZA4EP.js → chunk-ZXFGA2VK.js} +8 -8
  37. package/dist/cli/command-docs.js +2 -2
  38. package/dist/cli/command-docs.mjs +1 -1
  39. package/dist/cli/{csv-WSRTANXI.js → csv-LPC7BGZ2.js} +12 -12
  40. package/dist/cli/{csv-VEHHRUG4.mjs → csv-NITSP7QJ.mjs} +3 -3
  41. package/dist/cli/{db-BH25DX2G.mjs → db-JVDYEXNC.mjs} +4 -4
  42. package/dist/cli/{db-JXZNMFCE.js → db-WGD54UKM.js} +29 -29
  43. package/dist/cli/{describe-N2OBGVJM.js → describe-GA7LSJRY.js} +144 -34
  44. package/dist/cli/{describe-TMBECHTX.mjs → describe-SVMLA6SN.mjs} +130 -20
  45. package/dist/cli/{executions-Y4HQHYSO.mjs → executions-CXBJDGMU.mjs} +4 -4
  46. package/dist/cli/{executions-TX5CQF66.js → executions-P47HEI4N.js} +6 -6
  47. package/dist/cli/{feedback-W7SRXYSP.mjs → feedback-34OSXUQ2.mjs} +3 -3
  48. package/dist/cli/{feedback-ASEJ5A7I.js → feedback-GWKWE5CU.js} +7 -7
  49. package/dist/cli/git-MIPISCON.js +23 -0
  50. package/dist/cli/{git-2W7CZZRC.mjs → git-YAROF6D3.mjs} +4 -4
  51. package/dist/cli/index.js +106 -91
  52. package/dist/cli/index.mjs +63 -48
  53. package/dist/cli/{legacy-noops-TXMPY3P7.mjs → legacy-noops-2G55OKIU.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-NJYAAGBY.js → legacy-noops-MDZQL3QH.js} +7 -7
  55. package/dist/cli/{monitors-G4L65QGQ.mjs → monitors-KUGKMABN.mjs} +4 -4
  56. package/dist/cli/{monitors-YLKTQ57D.js → monitors-X7QYWFSP.js} +85 -85
  57. package/dist/cli/{org-ENXO2A33.js → org-6XL3IBT2.js} +64 -64
  58. package/dist/cli/{org-BCHOWKIA.mjs → org-CNBBAN4W.mjs} +4 -4
  59. package/dist/cli/{play-JBY7HUYN.mjs → play-33ZMPAR5.mjs} +8 -8
  60. package/dist/cli/play-3CM3P2DS.js +155 -0
  61. package/dist/cli/{providers-JV2DZG43.mjs → providers-3OSQNFPE.mjs} +4 -4
  62. package/dist/cli/{providers-GWFX3E7C.js → providers-5POAURDT.js} +7 -7
  63. package/dist/cli/{quickstart-CASPK7F4.js → quickstart-LQGPDJTS.js} +5 -5
  64. package/dist/cli/{quickstart-AIXURXZQ.mjs → quickstart-QICTOOW6.mjs} +3 -3
  65. package/dist/cli/search-A2YLJ4I5.js +26 -0
  66. package/dist/cli/{search-DYQB7LHK.mjs → search-HBIX4SF4.mjs} +5 -5
  67. package/dist/cli/{secrets-RQZPIPO5.mjs → secrets-6MRGZPHT.mjs} +4 -4
  68. package/dist/cli/{secrets-AZQG2E4U.js → secrets-QKPBNQ3E.js} +13 -13
  69. package/dist/cli/{sessions-3FJJDMBB.mjs → sessions-NODY2OW4.mjs} +4 -4
  70. package/dist/cli/{sessions-ZY6RBYD4.js → sessions-NP7BLZD2.js} +5 -5
  71. package/dist/cli/{settings-GXKWNR5V.js → settings-42QHXUB2.js} +74 -74
  72. package/dist/cli/{settings-UNZDQGSE.mjs → settings-JCEIOTNL.mjs} +7 -7
  73. package/dist/cli/{setup-PIRXJ2KJ.mjs → setup-3QR4RGMG.mjs} +6 -6
  74. package/dist/cli/{setup-UURZD4YO.js → setup-5XXWP54Y.js} +41 -41
  75. package/dist/cli/skills-4JJEAA66.js +28 -0
  76. package/dist/cli/{skills-B4AQEIAF.mjs → skills-U4OMXLNS.mjs} +4 -4
  77. package/dist/cli/{tools-UMGQKUSW.mjs → tools-45OROEZQ.mjs} +7 -7
  78. package/dist/cli/tools-FDCFSA7W.js +40 -0
  79. package/dist/cli/{update-SFUTMEKL.mjs → update-2XCRMJ4R.mjs} +6 -6
  80. package/dist/cli/update-VYL4TXIE.js +28 -0
  81. package/dist/cli/{workflow-CDAJCMT7.js → workflow-47P4LQNC.js} +15 -15
  82. package/dist/cli/{workflow-ON6XVW36.mjs → workflow-7X3GCOPY.mjs} +5 -5
  83. package/dist/index.js +8 -8
  84. package/dist/index.mjs +7 -7
  85. package/dist/install-integrity.json +76 -78
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-IFXXXZP6.js +0 -33
  92. package/dist/cli/client-O6IEMURJ.js +0 -20
  93. package/dist/cli/client-TV254HC4.mjs +0 -20
  94. package/dist/cli/git-SSSOIQ2L.js +0 -23
  95. package/dist/cli/play-SSJ3PO4D.js +0 -155
  96. package/dist/cli/search-N7K6A2YV.js +0 -26
  97. package/dist/cli/skills-4OUZLKTW.js +0 -28
  98. package/dist/cli/tools-MIZS5UN6.js +0 -40
  99. package/dist/cli/update-3CO7LA4M.js +0 -28
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-NXGCO4JB.mjs";
15
15
  import {
16
16
  SDK_RELEASE
17
- } from "./chunk-IZVGMVNX.mjs";
17
+ } from "./chunk-7LX2G2PU.mjs";
18
18
 
19
19
  // src/errors.ts
20
20
  var CustomerDbQueryOutcomeUnknownError = class extends DeeplineError {
@@ -944,17 +944,6 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
944
944
  return complete;
945
945
  }
946
946
 
947
- // ../play-runtime/coordinator-headers.ts
948
- var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
949
- var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
950
- var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
951
- var RUNTIME_SCHEDULER_SCHEMA_OVERRIDE_HEADER = "x-deepline-runtime-scheduler-schema";
952
- var RUNTIME_ENVIRONMENT_TOKEN_HEADER = "x-deepline-runtime-environment-token";
953
- var RETAINED_PIPELINE_RECEIVERS_HEADER = "x-deepline-retained-pipeline-receivers";
954
- var ABSURD_RELEASE_OVERRIDE_HEADER = "x-deepline-absurd-release";
955
- var PREFERRED_RECEIPT_GATEWAY_MACHINE_ID_HEADER = "x-deepline-preferred-receipt-gateway-machine-id";
956
- var SYNTHETIC_RUN_HEADER = "x-deepline-synthetic-run";
957
-
958
947
  // src/deployment-protection.ts
959
948
  function deploymentProtectionHeaders() {
960
949
  const token = typeof process !== "undefined" ? process.env?.VERCEL_PROTECTION_BYPASS_TOKEN : void 0;
@@ -971,6 +960,17 @@ var fetchWithDeploymentProtection = (input, init) => {
971
960
  return fetch(input, { ...init, headers });
972
961
  };
973
962
 
963
+ // ../play-runtime/coordinator-headers.ts
964
+ var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
965
+ var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
966
+ var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
967
+ var RUNTIME_SCHEDULER_SCHEMA_OVERRIDE_HEADER = "x-deepline-runtime-scheduler-schema";
968
+ var RUNTIME_ENVIRONMENT_TOKEN_HEADER = "x-deepline-runtime-environment-token";
969
+ var RETAINED_PIPELINE_RECEIVERS_HEADER = "x-deepline-retained-pipeline-receivers";
970
+ var ABSURD_RELEASE_OVERRIDE_HEADER = "x-deepline-absurd-release";
971
+ var PREFERRED_RECEIPT_GATEWAY_MACHINE_ID_HEADER = "x-deepline-preferred-receipt-gateway-machine-id";
972
+ var SYNTHETIC_RUN_HEADER = "x-deepline-synthetic-run";
973
+
974
974
  // ../play-runtime/runtime-incident-drills.ts
975
975
  var RUNTIME_TEST_FAULT_IDS = [
976
976
  "receipt_complete_write_fail",
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
5
+ var _chunkQSH5CHRIjs = require('./chunk-QSH5CHRI.js');
6
6
 
7
7
 
8
- var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
8
+ var _chunkN6KIEYZVjs = require('./chunk-N6KIEYZV.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkQSH5CHRIjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
39
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkQSH5CHRIjs.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
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
139
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkQSH5CHRIjs.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
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
153
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkQSH5CHRIjs.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
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
200
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkQSH5CHRIjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
227
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkQSH5CHRIjs.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
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
254
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkQSH5CHRIjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
269
+ _chunkQSH5CHRIjs.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 = _chunkJK547IDBjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkN6KIEYZVjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunk3XKAOV74js.openInBrowser.call(void 0, connectUrl);
292
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkQSH5CHRIjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkQSH5CHRIjs.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
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
322
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkQSH5CHRIjs.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
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
371
+ _chunkQSH5CHRIjs.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 } = _chunk3XKAOV74js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkQSH5CHRIjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
392
+ _chunkQSH5CHRIjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordPlayTermination,
4
4
  schemaFields
5
- } from "./chunk-E6BZWURC.mjs";
5
+ } from "./chunk-UE2UHYT3.mjs";
6
6
  import {
7
7
  shellQuote
8
8
  } from "./chunk-OVDNJAJN.mjs";
@@ -19,11 +19,11 @@ import {
19
19
  } from "./chunk-EDWJY6T4.mjs";
20
20
  import {
21
21
  registerDeprecatedSearchCommand
22
- } from "./chunk-GT6KGIWV.mjs";
22
+ } from "./chunk-GMRWUGXB.mjs";
23
23
  import {
24
24
  handleDeploymentGet,
25
25
  handleDeploymentsList
26
- } from "./chunk-2DAWTVNN.mjs";
26
+ } from "./chunk-UABI2T3Z.mjs";
27
27
  import {
28
28
  pinLocalPlayImports,
29
29
  planLocalPlayExecution
@@ -42,7 +42,7 @@ import {
42
42
  normalizeRunEventOperationRequest,
43
43
  parseLogLevel,
44
44
  playInputExampleArgs
45
- } from "./chunk-A62HBMHY.mjs";
45
+ } from "./chunk-H7SLESX6.mjs";
46
46
  import {
47
47
  CSV_DATA_INPUT_KEY,
48
48
  buildNamedPlayRunRequest,
@@ -75,10 +75,10 @@ import {
75
75
  printJsonError,
76
76
  renderCommandEnvelopeText,
77
77
  shouldEmitJson
78
- } from "./chunk-NNYQ24O5.mjs";
78
+ } from "./chunk-MHRDXS7J.mjs";
79
79
  import {
80
80
  fetchWithDeploymentProtection
81
- } from "./chunk-VZSVYNZH.mjs";
81
+ } from "./chunk-HDB4GAWY.mjs";
82
82
  import {
83
83
  DeeplineError
84
84
  } from "./chunk-NXGCO4JB.mjs";
@@ -16494,7 +16494,7 @@ Examples:
16494
16494
  process.exitCode = await ownView();
16495
16495
  return;
16496
16496
  }
16497
- const { describeAnything } = await import("./describe-TMBECHTX.mjs");
16497
+ const { describeAnything } = await import("./describe-SVMLA6SN.mjs");
16498
16498
  process.exitCode = await describeAnything(
16499
16499
  name,
16500
16500
  {
@@ -3,7 +3,7 @@ import {
3
3
  detectAgentRuntime,
4
4
  resolveCliCommandContext,
5
5
  resolveConfig
6
- } from "./chunk-VZSVYNZH.mjs";
6
+ } from "./chunk-HDB4GAWY.mjs";
7
7
  import {
8
8
  DeeplineError
9
9
  } from "./chunk-NXGCO4JB.mjs";
@@ -14,7 +14,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
14
14
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
15
15
 
16
16
 
17
- var _chunkNOSIMGZVjs = require('./chunk-NOSIMGZV.js');
17
+ var _chunk7ZZSGV4Ajs = require('./chunk-7ZZSGV4A.js');
18
18
 
19
19
  // src/errors.ts
20
20
  var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunk7P5AA3SNjs.DeeplineError {
@@ -743,9 +743,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
743
743
  }
744
744
 
745
745
  // src/version.ts
746
- var SDK_VERSION = _chunkNOSIMGZVjs.SDK_RELEASE.version;
747
- var SDK_API_MAJOR = _chunkNOSIMGZVjs.SDK_RELEASE.contracts.api.currentMajor;
748
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkNOSIMGZVjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
746
+ var SDK_VERSION = _chunk7ZZSGV4Ajs.SDK_RELEASE.version;
747
+ var SDK_API_MAJOR = _chunk7ZZSGV4Ajs.SDK_RELEASE.contracts.api.currentMajor;
748
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunk7ZZSGV4Ajs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
749
749
 
750
750
  // src/agent-runtime.ts
751
751
 
@@ -944,17 +944,6 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
944
944
  return complete;
945
945
  }
946
946
 
947
- // ../play-runtime/coordinator-headers.ts
948
- var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
949
- var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
950
- var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
951
- var RUNTIME_SCHEDULER_SCHEMA_OVERRIDE_HEADER = "x-deepline-runtime-scheduler-schema";
952
- var RUNTIME_ENVIRONMENT_TOKEN_HEADER = "x-deepline-runtime-environment-token";
953
- var RETAINED_PIPELINE_RECEIVERS_HEADER = "x-deepline-retained-pipeline-receivers";
954
- var ABSURD_RELEASE_OVERRIDE_HEADER = "x-deepline-absurd-release";
955
- var PREFERRED_RECEIPT_GATEWAY_MACHINE_ID_HEADER = "x-deepline-preferred-receipt-gateway-machine-id";
956
- var SYNTHETIC_RUN_HEADER = "x-deepline-synthetic-run";
957
-
958
947
  // src/deployment-protection.ts
959
948
  function deploymentProtectionHeaders() {
960
949
  const token = typeof process !== "undefined" ? _optionalChain([process, 'access', _153 => _153.env, 'optionalAccess', _154 => _154.VERCEL_PROTECTION_BYPASS_TOKEN]) : void 0;
@@ -971,6 +960,17 @@ var fetchWithDeploymentProtection = (input, init) => {
971
960
  return fetch(input, { ...init, headers });
972
961
  };
973
962
 
963
+ // ../play-runtime/coordinator-headers.ts
964
+ var COORDINATOR_INTERNAL_TOKEN_HEADER = "x-deepline-internal-token";
965
+ var COORDINATOR_URL_OVERRIDE_HEADER = "x-deepline-coordinator-url";
966
+ var WORKER_CALLBACK_URL_OVERRIDE_HEADER = "x-deepline-worker-callback-url";
967
+ var RUNTIME_SCHEDULER_SCHEMA_OVERRIDE_HEADER = "x-deepline-runtime-scheduler-schema";
968
+ var RUNTIME_ENVIRONMENT_TOKEN_HEADER = "x-deepline-runtime-environment-token";
969
+ var RETAINED_PIPELINE_RECEIVERS_HEADER = "x-deepline-retained-pipeline-receivers";
970
+ var ABSURD_RELEASE_OVERRIDE_HEADER = "x-deepline-absurd-release";
971
+ var PREFERRED_RECEIPT_GATEWAY_MACHINE_ID_HEADER = "x-deepline-preferred-receipt-gateway-machine-id";
972
+ var SYNTHETIC_RUN_HEADER = "x-deepline-synthetic-run";
973
+
974
974
  // ../play-runtime/runtime-incident-drills.ts
975
975
  var RUNTIME_TEST_FAULT_IDS = [
976
976
  "receipt_complete_write_fail",
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
6
+ var _chunkN6KIEYZVjs = require('./chunk-N6KIEYZV.js');
7
7
 
8
8
 
9
9
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -225,8 +225,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
225
225
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
226
226
  var defaultBrowserCommandRunner = childProcess;
227
227
  function getAuthedHttpClient() {
228
- const config = _chunkJK547IDBjs.resolveConfig.call(void 0, );
229
- return { config, http: new (0, _chunkJK547IDBjs.HttpClient)(config) };
228
+ const config = _chunkN6KIEYZVjs.resolveConfig.call(void 0, );
229
+ return { config, http: new (0, _chunkN6KIEYZVjs.HttpClient)(config) };
230
230
  }
231
231
  function stableOsUserId() {
232
232
  try {
@@ -566,7 +566,7 @@ function collectLocalEnvInfo() {
566
566
  os: `${process.platform} ${process.arch}`,
567
567
  node_version: process.version,
568
568
  home_dir: homeDir,
569
- agent_runtime: _chunkJK547IDBjs.detectAgentRuntime.call(void 0, )
569
+ agent_runtime: _chunkN6KIEYZVjs.detectAgentRuntime.call(void 0, )
570
570
  };
571
571
  const env = process.env;
572
572
  const optional = {
@@ -813,9 +813,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
813
813
  }
814
814
  function withAgentCommandContext(value) {
815
815
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
816
- return _chunkJK547IDBjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
816
+ return _chunkN6KIEYZVjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
817
817
  ...valueRecord,
818
- command_context: _chunkJK547IDBjs.resolveCliCommandContext.call(void 0, )
818
+ command_context: _chunkN6KIEYZVjs.resolveCliCommandContext.call(void 0, )
819
819
  } : value;
820
820
  }
821
821
  function printJson(value, fields) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-GAMFK2ZP.mjs";
4
4
  import {
5
5
  printCommandEnvelope
6
- } from "./chunk-NNYQ24O5.mjs";
6
+ } from "./chunk-MHRDXS7J.mjs";
7
7
  import {
8
8
  DEFAULT_SKILL_AGENTS,
9
9
  KNOWN_SKILL_AGENTS,
@@ -22,7 +22,7 @@ import {
22
22
  sdkCliStateDirPath,
23
23
  skillsAgentPathSegment,
24
24
  writeSdkSkillsLocalVersion
25
- } from "./chunk-VZSVYNZH.mjs";
25
+ } from "./chunk-HDB4GAWY.mjs";
26
26
  import {
27
27
  DeeplineError
28
28
  } from "./chunk-NXGCO4JB.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-NNYQ24O5.mjs";
5
+ } from "./chunk-MHRDXS7J.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-VZSVYNZH.mjs";
8
+ } from "./chunk-HDB4GAWY.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -4,6 +4,17 @@ import {
4
4
 
5
5
  // src/cli/described.ts
6
6
  var SHAPE = "{}";
7
+ var RECORD = "Record<string, ";
8
+ function featureLines(id, features) {
9
+ if (!features.length) return [];
10
+ const width = Math.max(...features.map(({ name }) => name.length));
11
+ return [
12
+ `Features (deepline describe ${id} --feature <name>[=<value>]):`,
13
+ ...features.map(
14
+ ({ name, summary, defaultValue }) => ` ${name.padEnd(width)} ${summary}${defaultValue ? ` Default: ${defaultValue}.` : ""}`
15
+ )
16
+ ];
17
+ }
7
18
  function byokLines(byok) {
8
19
  if (typeof byok.supported !== "boolean") {
9
20
  return ["BYOK: unknown (this server does not report it)"];
@@ -65,6 +76,13 @@ function schemaType(schema) {
65
76
  ...item.fields ? { fields: item.fields } : {}
66
77
  };
67
78
  }
79
+ if (isRecord(schema.additionalProperties)) {
80
+ const value = schemaType(schema.additionalProperties);
81
+ return {
82
+ type: `${RECORD}${value.type}>${nullable}`,
83
+ ...value.fields ? { fields: value.fields } : {}
84
+ };
85
+ }
68
86
  return {
69
87
  type: types.filter((type) => type !== "null").join(" | ") + nullable || "unknown"
70
88
  };
@@ -152,9 +170,18 @@ function rateLimitSummary(limits) {
152
170
  }
153
171
  function exampleValue(field) {
154
172
  if (field.example !== void 0) return field.example;
173
+ if (field.type.startsWith(RECORD)) {
174
+ const value = field.type.slice(RECORD.length).replace(/>( \| null)?$/, "");
175
+ return { key: exampleValue({ ...field, type: value }) };
176
+ }
155
177
  const type = field.type.toLowerCase();
156
178
  if (type.includes("[]")) return [];
157
- if (type.startsWith(SHAPE) || type.startsWith("object")) return {};
179
+ if (type.startsWith(SHAPE)) {
180
+ return Object.fromEntries(
181
+ (field.fields ?? []).filter((child) => child.required).map((child) => [child.name, exampleValue(child)])
182
+ );
183
+ }
184
+ if (type.startsWith("object")) return {};
158
185
  if (type.startsWith("integer") || type.startsWith("number")) return 1;
159
186
  if (type.startsWith("boolean")) return true;
160
187
  return "...";
@@ -423,6 +450,7 @@ function describedLines(described, view) {
423
450
  ...described.guidance.map((line) => `Guidance: ${line}`),
424
451
  ...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
425
452
  ...described.byok ? byokLines(described.byok) : [],
453
+ ...featureLines(described.id, described.features ?? []),
426
454
  ...schemaLines(described, {
427
455
  full: view.fullSchema,
428
456
  secondary: view.verbose,
@@ -528,6 +556,7 @@ function describedJson(described, view) {
528
556
  ...described.cost ? { cost: described.cost } : {},
529
557
  ...described.rateLimit ? { rateLimit: described.rateLimit } : {},
530
558
  ...described.byok ? { byok: described.byok } : {},
559
+ ...described.features?.length ? { features: described.features } : {},
531
560
  ...described.guidance.length ? { guidance: described.guidance } : {},
532
561
  ...blocks,
533
562
  ...used.size ? { types } : {},
@@ -595,6 +624,9 @@ function addDescribeOptions(command, options = {}) {
595
624
  ).option(
596
625
  "--fields <names>",
597
626
  "Show only these fields, comma-separated, plus every required input"
627
+ ).option(
628
+ "--feature <name[=value]>",
629
+ "Describe one feature of a tool, such as a model: --feature model=openai/gpt-5.6-luna. A tool lists its features."
598
630
  ).option(
599
631
  "-o, --out <path>",
600
632
  "Save the output to this file instead of printing it"
@@ -605,12 +637,6 @@ function addDescribeOptions(command, options = {}) {
605
637
  "Print only the schema, with every field, and nothing else"
606
638
  );
607
639
  }
608
- if (options.byok !== false) {
609
- command.option(
610
- "--byok",
611
- "For a tool, also show whether it can run on your own provider credentials, and how to connect them (always shown when it must)"
612
- );
613
- }
614
640
  if (options.json !== false) {
615
641
  command.option(
616
642
  "--json",
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-62IBVKWB.mjs";
4
+ } from "./chunk-5HJHTZI6.mjs";
5
5
  import {
6
6
  resolveShellSpawn,
7
7
  runSkillsCommand
8
- } from "./chunk-OYTPVM2R.mjs";
8
+ } from "./chunk-SPZNLE2D.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-NNYQ24O5.mjs";
11
+ } from "./chunk-MHRDXS7J.mjs";
12
12
  import {
13
13
  autoDetectBaseUrl
14
- } from "./chunk-VZSVYNZH.mjs";
14
+ } from "./chunk-HDB4GAWY.mjs";
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  import { spawn, spawnSync } from "child_process";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-NNYQ24O5.mjs";
4
+ } from "./chunk-MHRDXS7J.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-VZSVYNZH.mjs";
7
+ } from "./chunk-HDB4GAWY.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {