deepline 0.3.501 → 0.3.502

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 (134) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +2 -2
  3. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-fly-rollback-alignment.ts +29 -14
  4. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +264 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +5 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +32 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +30 -8
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +22 -4
  9. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -0
  10. package/dist/cli/{auth-6ECHXOI4.mjs → auth-EFHLOVG4.mjs} +5 -5
  11. package/dist/cli/auth-VM3IKP5F.js +43 -0
  12. package/dist/cli/{billing-75NZYRXA.mjs → billing-Q5XKEYPP.mjs} +6 -6
  13. package/dist/cli/{billing-QRR7O6BD.js → billing-SKT2VE34.js} +79 -79
  14. package/dist/cli/{chunk-RFV7PPLS.mjs → chunk-2JS3H6H6.mjs} +3 -3
  15. package/dist/cli/{chunk-66XDYH5T.mjs → chunk-2MVIS2UI.mjs} +2 -2
  16. package/dist/cli/{chunk-XEBFJ2PH.js → chunk-2S2F6YSI.js} +41 -41
  17. package/dist/cli/{chunk-463ZOO2L.js → chunk-32YQBJON.js} +7 -7
  18. package/dist/cli/{chunk-EOO7OSS4.mjs → chunk-3KEZVGGV.mjs} +4 -4
  19. package/dist/cli/{chunk-EHVFBD36.mjs → chunk-3MJSWVQ2.mjs} +1 -1
  20. package/dist/cli/{chunk-5S7MLAI7.mjs → chunk-4CCMD7QM.mjs} +20 -19
  21. package/dist/cli/{chunk-T7E3XEPG.mjs → chunk-4WTC5SSN.mjs} +7 -7
  22. package/dist/cli/{chunk-NA3J3F2Z.mjs → chunk-54QXWK3C.mjs} +1 -1
  23. package/dist/cli/{chunk-V5NHEYU7.mjs → chunk-7ZYSXSJJ.mjs} +5 -5
  24. package/dist/cli/{chunk-J6SVNKRP.js → chunk-AJL2Q6IQ.js} +2 -2
  25. package/dist/cli/{chunk-QQ3JJYE2.js → chunk-DKAMCJIT.js} +9 -9
  26. package/dist/cli/{chunk-C5R3UH5V.mjs → chunk-DRBD4IYQ.mjs} +1 -1
  27. package/dist/cli/{chunk-VVEMPC2I.js → chunk-DYHTXGLX.js} +2 -2
  28. package/dist/cli/{chunk-SV2TEZ2M.js → chunk-EUWRKWT4.js} +4 -4
  29. package/dist/cli/{chunk-GBICEYUA.js → chunk-FVM4PS5Q.js} +116 -8
  30. package/dist/cli/{chunk-I42EOZKQ.js → chunk-FWDAEWCD.js} +5 -5
  31. package/dist/cli/{chunk-FS7XYDOF.js → chunk-GINKIZ7S.js} +16 -16
  32. package/dist/cli/{chunk-VTDAJZIJ.mjs → chunk-HIVRCTDR.mjs} +1 -1
  33. package/dist/cli/{chunk-OKOXB3LY.mjs → chunk-HMZF2CSP.mjs} +2 -2
  34. package/dist/cli/{chunk-EKF4DKUA.js → chunk-IL666WJE.js} +5 -5
  35. package/dist/cli/{chunk-HDKXSHGA.js → chunk-JFBJLNBI.js} +53 -53
  36. package/dist/cli/{chunk-KSHAFYYG.mjs → chunk-JFUXUSKB.mjs} +112 -4
  37. package/dist/cli/{chunk-TOE7LHEA.js → chunk-JL6H4H3G.js} +6 -6
  38. package/dist/cli/{chunk-BOFCF4L7.js → chunk-JLYDLK6X.js} +3 -3
  39. package/dist/cli/{chunk-O3DDVP7Z.mjs → chunk-L5CTJY74.mjs} +1 -1
  40. package/dist/cli/{chunk-4OXHLTCP.js → chunk-LA3UYRVZ.js} +1 -1
  41. package/dist/cli/{chunk-Z6AUOV7D.mjs → chunk-MP5QY4A2.mjs} +2 -2
  42. package/dist/cli/{chunk-ZUQHQGC5.mjs → chunk-MYUISF3P.mjs} +5 -5
  43. package/dist/cli/{chunk-WJUDAHIQ.mjs → chunk-NKLM4J4X.mjs} +1 -1
  44. package/dist/cli/{chunk-UJRN6YP6.mjs → chunk-NXVYLX3F.mjs} +2 -2
  45. package/dist/cli/{chunk-J74N375S.mjs → chunk-NZXB27TP.mjs} +4 -4
  46. package/dist/cli/{chunk-VL72UKNW.js → chunk-OEUMXKR5.js} +26 -26
  47. package/dist/cli/{chunk-7L6QNHUL.mjs → chunk-OFBLT2LQ.mjs} +1 -1
  48. package/dist/cli/{chunk-PNF2ZU4R.js → chunk-OVZOMSH2.js} +8 -8
  49. package/dist/cli/{chunk-CJJ7JBM2.js → chunk-Q3NM6ZL3.js} +19 -19
  50. package/dist/cli/{chunk-APAHMCGR.js → chunk-QNELA7SX.js} +53 -53
  51. package/dist/cli/{chunk-EKZQ5LQO.js → chunk-QOJBRCAS.js} +3 -3
  52. package/dist/cli/{chunk-MSLXAVVK.mjs → chunk-R5F7JXT4.mjs} +2 -2
  53. package/dist/cli/{chunk-N2TJJNCW.js → chunk-TAK3MVXY.js} +270 -269
  54. package/dist/cli/{chunk-UR7JOSLT.js → chunk-UOANF3DR.js} +7 -7
  55. package/dist/cli/{chunk-MADTHS56.mjs → chunk-W5CHE5Q2.mjs} +1 -1
  56. package/dist/cli/{chunk-W6JTHVPF.js → chunk-WKFAX2K7.js} +21 -21
  57. package/dist/cli/{chunk-KTOAJP4N.js → chunk-X5MGQ7UT.js} +6 -6
  58. package/dist/cli/{chunk-RU5ROUFO.js → chunk-XMKUJ44Z.js} +5 -5
  59. package/dist/cli/{chunk-5X4AUFYW.js → chunk-YDXEXVBV.js} +7 -7
  60. package/dist/cli/{chunk-PXIF74UJ.mjs → chunk-YL2CCF6T.mjs} +4 -4
  61. package/dist/cli/{chunk-ZUOKIBLJ.mjs → chunk-YWOQYYYS.mjs} +2 -2
  62. package/dist/cli/{chunk-T4U245E4.mjs → chunk-Z2H7OQ6E.mjs} +2 -2
  63. package/dist/cli/{chunk-VD2374K7.mjs → chunk-ZNB6GR3P.mjs} +1 -1
  64. package/dist/cli/{csv-RZJ4SOIL.mjs → csv-6AEPKKCO.mjs} +4 -4
  65. package/dist/cli/{csv-JXX2LXK5.js → csv-OXGSCV75.js} +13 -13
  66. package/dist/cli/{db-T2KJNONM.js → db-6NVHDUZY.js} +27 -27
  67. package/dist/cli/{db-MUTT2NWI.mjs → db-K3KRK4CZ.mjs} +6 -6
  68. package/dist/cli/describe-JOUAXXPE.js +49 -0
  69. package/dist/cli/{describe-K3UMAAVO.mjs → describe-P3ZJS7TQ.mjs} +19 -20
  70. package/dist/cli/describe-core.js +3 -4
  71. package/dist/cli/describe-core.mjs +2 -3
  72. package/dist/cli/{executions-7HSLDRHR.js → executions-2C2FFG52.js} +8 -8
  73. package/dist/cli/{executions-PHS4R2OX.mjs → executions-I7XW6WWK.mjs} +6 -6
  74. package/dist/cli/{feedback-BJZRM637.js → feedback-47B57A5Y.js} +8 -8
  75. package/dist/cli/{feedback-RWMDCIDF.mjs → feedback-RSTNBJAI.mjs} +4 -4
  76. package/dist/cli/{git-YW6VHYZG.mjs → git-3G5AFKBT.mjs} +5 -5
  77. package/dist/cli/git-OPKIC6JQ.js +25 -0
  78. package/dist/cli/index.js +137 -137
  79. package/dist/cli/index.mjs +40 -40
  80. package/dist/cli/{legacy-noops-5UBSUPGG.mjs → legacy-noops-NQ262TKL.mjs} +5 -5
  81. package/dist/cli/{legacy-noops-2WUV2XD7.js → legacy-noops-P665PBG4.js} +8 -8
  82. package/dist/cli/{monitors-YZZRKSTG.js → monitors-IPWAD7LS.js} +95 -95
  83. package/dist/cli/{monitors-HWOQO3OK.mjs → monitors-KUPZODZS.mjs} +7 -7
  84. package/dist/cli/{org-JY7HLHBA.js → org-WFC3N672.js} +72 -72
  85. package/dist/cli/{org-NCXT6RB4.mjs → org-ZCQGEM3L.mjs} +6 -6
  86. package/dist/cli/{pages-6ZOHXL6X.js → pages-N5BNC67L.js} +18 -18
  87. package/dist/cli/{pages-QJO53QAT.mjs → pages-VE66IU7B.mjs} +6 -6
  88. package/dist/cli/{play-SQRS7JN3.mjs → play-EIMDIAJB.mjs} +17 -17
  89. package/dist/cli/{play-TAYGSR35.js → play-NKIRJSKX.js} +315 -315
  90. package/dist/cli/{providers-3IR3N5DT.mjs → providers-KDTJ63ED.mjs} +6 -6
  91. package/dist/cli/{providers-4Q5LOIQ5.js → providers-XU3AGY2F.js} +9 -9
  92. package/dist/cli/{quickstart-ITNUZENY.js → quickstart-OSCHOSXU.js} +6 -6
  93. package/dist/cli/{quickstart-KCZCYO6B.mjs → quickstart-TXFXUODF.mjs} +4 -4
  94. package/dist/cli/{run-YQ57LMKN.js → run-ET2KVTPK.js} +43 -44
  95. package/dist/cli/{run-JCWRWDSK.mjs → run-ODGML35U.mjs} +24 -25
  96. package/dist/cli/search-6U54Y3OK.js +32 -0
  97. package/dist/cli/{search-FUM27HQP.mjs → search-DK67K6PR.mjs} +7 -7
  98. package/dist/cli/{search-output-EWEYT34M.mjs → search-output-6SOKQTCW.mjs} +53 -75
  99. package/dist/cli/{search-output-XAMWKRJH.js → search-output-KXP4FA62.js} +58 -80
  100. package/dist/cli/{secrets-YTI4IAKR.mjs → secrets-C6SYTMU7.mjs} +6 -6
  101. package/dist/cli/{secrets-2IRRRZBL.js → secrets-WPS6NMNK.js} +15 -15
  102. package/dist/cli/{sessions-HWTRDXBQ.js → sessions-IP562J5Z.js} +6 -6
  103. package/dist/cli/{sessions-EFS4KUPF.mjs → sessions-PXVOH34X.mjs} +5 -5
  104. package/dist/cli/{settings-NTOO42DY.mjs → settings-FBUQGYVJ.mjs} +11 -11
  105. package/dist/cli/{settings-FRVEIOKR.js → settings-SUDUIVMY.js} +78 -78
  106. package/dist/cli/{setup-6ZIOAE2V.js → setup-I5H6IOEY.js} +49 -49
  107. package/dist/cli/{setup-PAVQPALX.mjs → setup-JSIMTR73.mjs} +9 -9
  108. package/dist/cli/{skills-3O3XTPUM.mjs → skills-FJQ3LX6N.mjs} +7 -7
  109. package/dist/cli/skills-VHININXC.js +36 -0
  110. package/dist/cli/{tools-7QSB65UL.mjs → tools-IGBK4BVE.mjs} +17 -18
  111. package/dist/cli/tools-XMBMHVKF.js +56 -0
  112. package/dist/cli/{update-T6CYS5ZT.mjs → update-7MTT6F5K.mjs} +9 -9
  113. package/dist/cli/update-H7JVW43I.js +34 -0
  114. package/dist/cli/{workflow-OMSXZ73T.mjs → workflow-PM2J2OU3.mjs} +7 -7
  115. package/dist/cli/{workflow-4KMJBMGX.js → workflow-UX3ZX6BQ.js} +17 -17
  116. package/dist/index.js +9 -9
  117. package/dist/index.mjs +6 -6
  118. package/dist/install-integrity.json +103 -104
  119. package/dist/release.d.mts +1 -1
  120. package/dist/release.d.ts +1 -1
  121. package/dist/release.js +2 -2
  122. package/dist/release.mjs +1 -1
  123. package/dist/server.js +5 -5
  124. package/dist/server.mjs +3 -3
  125. package/package.json +1 -1
  126. package/dist/cli/auth-VP7PMXKQ.js +0 -43
  127. package/dist/cli/chunk-XK5DMLZE.js +0 -111
  128. package/dist/cli/chunk-XRDXNAAY.mjs +0 -111
  129. package/dist/cli/describe-SEXUJLE4.js +0 -50
  130. package/dist/cli/git-VNS7UQWN.js +0 -25
  131. package/dist/cli/search-I425FRTK.js +0 -32
  132. package/dist/cli/skills-6ZNMO2PR.js +0 -36
  133. package/dist/cli/tools-DPV2JES6.js +0 -57
  134. package/dist/cli/update-Q5GUDEAW.js +0 -34
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
5
+ var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
6
6
 
7
7
 
8
8
 
@@ -22,14 +22,14 @@ var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
22
22
 
23
23
 
24
24
 
25
- var _chunkBOFCF4L7js = require('./chunk-BOFCF4L7.js');
25
+ var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunkSV2TEZ2Mjs = require('./chunk-SV2TEZ2M.js');
32
+ var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
33
33
 
34
34
 
35
35
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -60,7 +60,7 @@ function statusBannerLine(value) {
60
60
  return `Service notice: ${banner.message}`;
61
61
  }
62
62
  function envFilePath(baseUrl) {
63
- return _chunkBOFCF4L7js.hostEnvFilePath.call(void 0, baseUrl);
63
+ return _chunkJLYDLK6Xjs.hostEnvFilePath.call(void 0, baseUrl);
64
64
  }
65
65
  function normalizeAuthScope(value) {
66
66
  if (!value || value === "global") return "global";
@@ -73,7 +73,7 @@ function parseAuthScope(args) {
73
73
  }
74
74
  function pendingClaimPath(baseUrl, scope) {
75
75
  if (scope === "folder") {
76
- const target = _chunkBOFCF4L7js.resolveProjectPinTarget.call(void 0, );
76
+ const target = _chunkJLYDLK6Xjs.resolveProjectPinTarget.call(void 0, );
77
77
  if (!target.ok) {
78
78
  throw new Error(
79
79
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -83,10 +83,10 @@ function pendingClaimPath(baseUrl, scope) {
83
83
  }
84
84
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
85
85
  }
86
- return `${_chunkBOFCF4L7js.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
86
+ return `${_chunkJLYDLK6Xjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
87
87
  }
88
88
  function legacyPendingClaimTokenPath(baseUrl) {
89
- return `${_chunkBOFCF4L7js.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
89
+ return `${_chunkJLYDLK6Xjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
90
90
  }
91
91
  function savePendingClaim(baseUrl, claim) {
92
92
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -190,21 +190,21 @@ function parseRegisterWaitMode(args) {
190
190
  function shouldWaitForRegisterClaim(mode) {
191
191
  if (mode === "yes") return true;
192
192
  if (mode === "no") return false;
193
- return _chunkSV2TEZ2Mjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
193
+ return _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
194
194
  }
195
195
  function saveEnvValues(values, baseUrl, scope) {
196
196
  const filtered = {
197
- ...values[_chunkBOFCF4L7js.HOST_URL_ENV] ? { [_chunkBOFCF4L7js.HOST_URL_ENV]: values[_chunkBOFCF4L7js.HOST_URL_ENV] } : {},
198
- ...values[_chunkBOFCF4L7js.API_KEY_ENV] ? { [_chunkBOFCF4L7js.API_KEY_ENV]: values[_chunkBOFCF4L7js.API_KEY_ENV] } : {},
199
- ...values[_chunkBOFCF4L7js.ACTIVE_ORG_ID_ENV] ? { [_chunkBOFCF4L7js.ACTIVE_ORG_ID_ENV]: values[_chunkBOFCF4L7js.ACTIVE_ORG_ID_ENV] } : {},
200
- ...Object.prototype.hasOwnProperty.call(values, _chunkBOFCF4L7js.ACTIVE_ORG_NAME_ENV) ? { [_chunkBOFCF4L7js.ACTIVE_ORG_NAME_ENV]: values[_chunkBOFCF4L7js.ACTIVE_ORG_NAME_ENV] } : {},
197
+ ...values[_chunkJLYDLK6Xjs.HOST_URL_ENV] ? { [_chunkJLYDLK6Xjs.HOST_URL_ENV]: values[_chunkJLYDLK6Xjs.HOST_URL_ENV] } : {},
198
+ ...values[_chunkJLYDLK6Xjs.API_KEY_ENV] ? { [_chunkJLYDLK6Xjs.API_KEY_ENV]: values[_chunkJLYDLK6Xjs.API_KEY_ENV] } : {},
199
+ ...values[_chunkJLYDLK6Xjs.ACTIVE_ORG_ID_ENV] ? { [_chunkJLYDLK6Xjs.ACTIVE_ORG_ID_ENV]: values[_chunkJLYDLK6Xjs.ACTIVE_ORG_ID_ENV] } : {},
200
+ ...Object.prototype.hasOwnProperty.call(values, _chunkJLYDLK6Xjs.ACTIVE_ORG_NAME_ENV) ? { [_chunkJLYDLK6Xjs.ACTIVE_ORG_NAME_ENV]: values[_chunkJLYDLK6Xjs.ACTIVE_ORG_NAME_ENV] } : {},
201
201
  // An explicit empty list must reach the store: it clears a stale line.
202
- ...Object.prototype.hasOwnProperty.call(values, _chunkBOFCF4L7js.FEATURES_ENV) ? { [_chunkBOFCF4L7js.FEATURES_ENV]: values[_chunkBOFCF4L7js.FEATURES_ENV] } : {}
202
+ ...Object.prototype.hasOwnProperty.call(values, _chunkJLYDLK6Xjs.FEATURES_ENV) ? { [_chunkJLYDLK6Xjs.FEATURES_ENV]: values[_chunkJLYDLK6Xjs.FEATURES_ENV] } : {}
203
203
  };
204
204
  if (scope === "folder") {
205
- _chunkBOFCF4L7js.saveProjectDeeplineEnvValues.call(void 0, filtered);
205
+ _chunkJLYDLK6Xjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
206
206
  } else {
207
- _chunkBOFCF4L7js.saveHostEnvValues.call(void 0, baseUrl, filtered);
207
+ _chunkJLYDLK6Xjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
208
208
  }
209
209
  }
210
210
  function activeOrgEnvValues(data) {
@@ -212,21 +212,21 @@ function activeOrgEnvValues(data) {
212
212
  if (!orgId) return {};
213
213
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
214
214
  return {
215
- [_chunkBOFCF4L7js.ACTIVE_ORG_ID_ENV]: orgId,
216
- [_chunkBOFCF4L7js.ACTIVE_ORG_NAME_ENV]: orgName,
217
- ..._chunkBOFCF4L7js.featureEnvValues.call(void 0, data)
215
+ [_chunkJLYDLK6Xjs.ACTIVE_ORG_ID_ENV]: orgId,
216
+ [_chunkJLYDLK6Xjs.ACTIVE_ORG_NAME_ENV]: orgName,
217
+ ..._chunkJLYDLK6Xjs.featureEnvValues.call(void 0, data)
218
218
  };
219
219
  }
220
220
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
221
221
  const headers = {
222
222
  "Content-Type": "application/json",
223
- "User-Agent": `deepline-ts-sdk/${_chunkSV2TEZ2Mjs.SDK_VERSION}`,
223
+ "User-Agent": `deepline-ts-sdk/${_chunkEUWRKWT4js.SDK_VERSION}`,
224
224
  "X-Deepline-Client-Family": "sdk",
225
225
  "X-Deepline-CLI-Family": "sdk",
226
- "X-Deepline-Agent-Runtime": _chunkSV2TEZ2Mjs.detectAgentRuntime.call(void 0, ),
227
- "X-Deepline-CLI-Version": _chunkSV2TEZ2Mjs.SDK_VERSION,
228
- "X-Deepline-SDK-Version": _chunkSV2TEZ2Mjs.SDK_VERSION,
229
- "X-Deepline-API-Contract": _chunkSV2TEZ2Mjs.SDK_API_CONTRACT
226
+ "X-Deepline-Agent-Runtime": _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ),
227
+ "X-Deepline-CLI-Version": _chunkEUWRKWT4js.SDK_VERSION,
228
+ "X-Deepline-SDK-Version": _chunkEUWRKWT4js.SDK_VERSION,
229
+ "X-Deepline-API-Contract": _chunkEUWRKWT4js.SDK_API_CONTRACT
230
230
  };
231
231
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
232
232
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -265,10 +265,10 @@ async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT
265
265
  if (failure.name === "AbortError" || failure.name === "TimeoutError") {
266
266
  throw failure;
267
267
  }
268
- const causeCode = _chunkSV2TEZ2Mjs.networkCauseCode.call(void 0, failure);
268
+ const causeCode = _chunkEUWRKWT4js.networkCauseCode.call(void 0, failure);
269
269
  throw Object.assign(
270
270
  new (0, _chunkDIAWYWT5js.DeeplineError)(
271
- _chunkSV2TEZ2Mjs.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
271
+ _chunkEUWRKWT4js.connectionFailureMessage.call(void 0, new URL(url).origin, failure),
272
272
  void 0,
273
273
  "NETWORK_ERROR",
274
274
  causeCode ? { causeCode } : void 0
@@ -285,7 +285,7 @@ async function readStatusBanner(baseUrl) {
285
285
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
286
286
  }
287
287
  async function reportSetupCompleted(input) {
288
- const apiKey = input.authScope === "folder" ? _chunkBOFCF4L7js.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkBOFCF4L7js.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
288
+ const apiKey = input.authScope === "folder" ? _chunkJLYDLK6Xjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkJLYDLK6Xjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
289
289
  if (!apiKey) return;
290
290
  try {
291
291
  await httpJson(
@@ -414,7 +414,7 @@ function endClaimPollOnRefusal(status, data, baseUrl, authScope) {
414
414
  return EXIT_SERVER;
415
415
  }
416
416
  async function handleRegister(args, options) {
417
- const baseUrl = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
417
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
418
418
  let orgName = "";
419
419
  let orgId = "";
420
420
  let agentName = "";
@@ -473,19 +473,19 @@ async function handleRegister(args, options) {
473
473
  savePendingClaim(baseUrl, pendingClaim);
474
474
  saveEnvValues(
475
475
  {
476
- [_chunkBOFCF4L7js.HOST_URL_ENV]: baseUrl
476
+ [_chunkJLYDLK6Xjs.HOST_URL_ENV]: baseUrl
477
477
  },
478
478
  baseUrl,
479
479
  authScope
480
480
  );
481
481
  }
482
482
  if (claimUrl) {
483
- const shouldOpen = waitMode !== "no" && _chunkSV2TEZ2Mjs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
483
+ const shouldOpen = waitMode !== "no" && _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
484
484
  console.log(
485
485
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
486
486
  );
487
487
  console.log(` ${claimUrl}`);
488
- if (shouldOpen) _chunk5X4AUFYWjs.openInBrowser.call(void 0, claimUrl);
488
+ if (shouldOpen) _chunkYDXEXVBVjs.openInBrowser.call(void 0, claimUrl);
489
489
  if (claimToken && pendingClaim.approvalLinkReporting && !_optionalChain([options, 'optionalAccess', _16 => _16.deferApprovalLinkReport])) {
490
490
  await reportApprovalLinkShown(
491
491
  baseUrl,
@@ -534,8 +534,8 @@ async function handleRegister(args, options) {
534
534
  if (apiKey) {
535
535
  saveEnvValues(
536
536
  {
537
- [_chunkBOFCF4L7js.HOST_URL_ENV]: baseUrl,
538
- [_chunkBOFCF4L7js.API_KEY_ENV]: apiKey,
537
+ [_chunkJLYDLK6Xjs.HOST_URL_ENV]: baseUrl,
538
+ [_chunkJLYDLK6Xjs.API_KEY_ENV]: apiKey,
539
539
  ...activeOrgEnvValues(statusData)
540
540
  },
541
541
  baseUrl,
@@ -557,7 +557,7 @@ async function handleRegister(args, options) {
557
557
  }
558
558
  }
559
559
  async function handleWait(args) {
560
- const baseUrl = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
560
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
561
  let timeoutSeconds = 300;
562
562
  let requestedScope;
563
563
  if (args.includes("--auth-scope")) {
@@ -581,7 +581,7 @@ async function handleWait(args) {
581
581
  const authScope = resumed.scope;
582
582
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _17 => _17.claimToken]), () => ( ""));
583
583
  if (!pendingClaim) {
584
- const scopedApiKey = authScope === "folder" ? _chunkBOFCF4L7js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkBOFCF4L7js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
584
+ const scopedApiKey = authScope === "folder" ? _chunkJLYDLK6Xjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkJLYDLK6Xjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
585
585
  if (scopedApiKey) {
586
586
  console.log("Already connected.");
587
587
  return EXIT_OK;
@@ -623,8 +623,8 @@ async function handleWait(args) {
623
623
  if (apiKey) {
624
624
  saveEnvValues(
625
625
  {
626
- [_chunkBOFCF4L7js.HOST_URL_ENV]: baseUrl,
627
- [_chunkBOFCF4L7js.API_KEY_ENV]: apiKey,
626
+ [_chunkJLYDLK6Xjs.HOST_URL_ENV]: baseUrl,
627
+ [_chunkJLYDLK6Xjs.API_KEY_ENV]: apiKey,
628
628
  ...activeOrgEnvValues(data)
629
629
  },
630
630
  baseUrl,
@@ -648,8 +648,8 @@ async function handleWait(args) {
648
648
  return EXIT_AUTH;
649
649
  }
650
650
  async function authStatusLine(timeoutMs = 3e3) {
651
- const baseUrl = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
- const apiKey = _chunkBOFCF4L7js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
651
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
652
+ const apiKey = _chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
653
653
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
654
654
  try {
655
655
  const { status, data } = await httpJson(
@@ -672,9 +672,9 @@ async function authStatusLine(timeoutMs = 3e3) {
672
672
  }
673
673
  }
674
674
  async function handleStatus(args) {
675
- const baseUrl = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
675
+ const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
676
676
  const reveal = args.includes("--reveal");
677
- const jsonOutput = _chunk5X4AUFYWjs.argsWantJson.call(void 0, args);
677
+ const jsonOutput = _chunkYDXEXVBVjs.argsWantJson.call(void 0, args);
678
678
  const hasExplicitAuthScope = args.includes("--auth-scope");
679
679
  let authScope = null;
680
680
  if (hasExplicitAuthScope) {
@@ -715,14 +715,14 @@ async function handleStatus(args) {
715
715
  };
716
716
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
717
717
  }
718
- const apiKey = authScope === "folder" ? _chunkBOFCF4L7js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkBOFCF4L7js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkBOFCF4L7js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
718
+ const apiKey = authScope === "folder" ? _chunkJLYDLK6Xjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkJLYDLK6Xjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
719
719
  if (!apiKey) {
720
720
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
721
721
  baseUrl,
722
722
  _nullishCoalesce(authScope, () => ( void 0))
723
723
  );
724
724
  if (pendingClaim) {
725
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
725
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
726
726
  {
727
727
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
728
728
  status: "pending",
@@ -743,7 +743,7 @@ async function handleStatus(args) {
743
743
  );
744
744
  return EXIT_OK;
745
745
  }
746
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
746
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
747
747
  {
748
748
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
749
749
  status: "not connected",
@@ -776,7 +776,7 @@ async function handleStatus(args) {
776
776
  }
777
777
  );
778
778
  if (status === 401 || status === 403) {
779
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
779
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
780
780
  {
781
781
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
782
782
  status: "unauthorized",
@@ -803,7 +803,7 @@ async function handleStatus(args) {
803
803
  console.error(`Auth status error (status ${status}).`);
804
804
  return EXIT_SERVER;
805
805
  }
806
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkBOFCF4L7js.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
806
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkJLYDLK6Xjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
807
807
  clearSatisfiedPendingClaim(
808
808
  baseUrl,
809
809
  resolvedAuthScope,
@@ -831,28 +831,28 @@ async function handleStatus(args) {
831
831
  if (apiKeyResp) {
832
832
  saveEnvValues(
833
833
  {
834
- [_chunkBOFCF4L7js.HOST_URL_ENV]: baseUrl,
835
- [_chunkBOFCF4L7js.API_KEY_ENV]: apiKeyResp,
834
+ [_chunkJLYDLK6Xjs.HOST_URL_ENV]: baseUrl,
835
+ [_chunkJLYDLK6Xjs.API_KEY_ENV]: apiKeyResp,
836
836
  ...activeOrgEnvValues(data)
837
837
  },
838
838
  baseUrl,
839
839
  resolvedAuthScope
840
840
  );
841
841
  if (resolvedAuthScope === "folder") {
842
- const target = _chunkBOFCF4L7js.resolveProjectPinTarget.call(void 0, );
842
+ const target = _chunkJLYDLK6Xjs.resolveProjectPinTarget.call(void 0, );
843
843
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
844
844
  } else {
845
845
  savedApiKeyPath = envFilePath(baseUrl);
846
846
  }
847
847
  }
848
- } else if (resolvedAuthScope === "folder" || _chunkBOFCF4L7js.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
- saveEnvValues(_chunkBOFCF4L7js.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
848
+ } else if (resolvedAuthScope === "folder" || _chunkJLYDLK6Xjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
849
+ saveEnvValues(_chunkJLYDLK6Xjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
850
850
  }
851
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
851
+ _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
852
852
  {
853
853
  ...payload,
854
- ..._chunkSV2TEZ2Mjs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
- command_context: _chunkBOFCF4L7js.resolveCliCommandContext.call(void 0,
854
+ ..._chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
855
+ command_context: _chunkJLYDLK6Xjs.resolveCliCommandContext.call(void 0,
856
856
  { baseUrl, apiKey },
857
857
  resolvedAuthScope
858
858
  )
@@ -3,10 +3,6 @@ import {
3
3
  schemaField,
4
4
  schemaFields
5
5
  } from "./chunk-SAW3FBCA.mjs";
6
- import {
7
- Capability,
8
- observedMaxText
9
- } from "./chunk-XRDXNAAY.mjs";
10
6
  import {
11
7
  playToolListGetterMode
12
8
  } from "./chunk-FR2ILQ4G.mjs";
@@ -18,6 +14,116 @@ import {
18
14
  isDeeplineExtractorTarget
19
15
  } from "./chunk-2GEYN3H4.mjs";
20
16
 
17
+ // src/cli/tool-description.ts
18
+ function observedMaxText(pricing) {
19
+ const max = recordValue(recordValue(pricing).observedMax);
20
+ if (typeof max.creditsPerCall !== "number" || max.creditsPerCall <= 0)
21
+ return "";
22
+ const avg = typeof max.avgCreditsPerCall === "number" && typeof max.sampleCount === "number" ? `${max.avgCreditsPerCall} avg, ` : "";
23
+ const calls = avg && typeof max.sampleCount === "number" ? `${max.sampleCount} observed, ` : "";
24
+ return `observed ${avg}${max.creditsPerCall} max credits/call (${calls}last ${String(max.windowDays)} days)`;
25
+ }
26
+ var Capability = class _Capability {
27
+ #catalogEntry;
28
+ constructor(catalogEntry) {
29
+ this.#catalogEntry = catalogEntry;
30
+ }
31
+ static fromCatalogEntry(catalogEntry) {
32
+ return new _Capability(catalogEntry);
33
+ }
34
+ describe() {
35
+ return CapabilityDescription.fromCatalogEntry(this.#catalogEntry);
36
+ }
37
+ };
38
+ var CapabilityDescription = class _CapabilityDescription {
39
+ #catalogEntry;
40
+ constructor(catalogEntry) {
41
+ this.#catalogEntry = catalogEntry;
42
+ }
43
+ static fromCatalogEntry(catalogEntry) {
44
+ return new _CapabilityDescription(catalogEntry);
45
+ }
46
+ /**
47
+ * The customer price already resolved by the catalog. This intentionally
48
+ * omits provider-price fields, even when a catalog Adapter carried them.
49
+ */
50
+ customerCost() {
51
+ const legacyCost = recordValue(this.#catalogEntry.cost);
52
+ const pricing = recordValue(this.#catalogEntry.pricing);
53
+ const unit = stringValue(pricing.unit);
54
+ const legacyPricingModel = stringValue(
55
+ legacyCost.pricingModel ?? legacyCost.pricing_model
56
+ );
57
+ const pricingModel = unit === "call" ? "fixed" : unit === "result" || unit === "page" ? `per_${unit}` : unit === "usage" ? "provider_usage" : legacyPricingModel;
58
+ const canonicalCredits = pricingNumber(
59
+ pricing,
60
+ "creditsPerUnit",
61
+ "credits_per_unit",
62
+ this.#catalogEntry.deeplineCreditsPerPricingUnit ?? this.#catalogEntry.deepline_credits_per_pricing_unit
63
+ );
64
+ const canonicalUsd = pricingNumber(
65
+ pricing,
66
+ "usdPerUnit",
67
+ "usd_per_unit",
68
+ this.#catalogEntry.deeplineUsdPerPricingUnit ?? this.#catalogEntry.deepline_usd_per_pricing_unit
69
+ );
70
+ const billingSource = stringValue(
71
+ this.#catalogEntry.billingSource ?? this.#catalogEntry.billing_source
72
+ );
73
+ const billingSourceLabel = stringValue(
74
+ this.#catalogEntry.billingSourceLabel ?? this.#catalogEntry.billing_source_label
75
+ );
76
+ const isFree = billingSource === "free";
77
+ const displayText = stringValue(
78
+ pricing.displayText ?? pricing.display_text
79
+ );
80
+ const summary = stringValue(pricing.summary);
81
+ const showManagedPricing = !isFree && billingSource !== "own_provider_credentials";
82
+ const details = !isFree && Array.isArray(pricing.details) ? pricing.details.filter(
83
+ (value) => typeof value === "string"
84
+ ) : [];
85
+ return {
86
+ pricingModel: pricingModel || null,
87
+ unit: unit || null,
88
+ displayText: isFree ? "Free" : displayText,
89
+ summary: isFree ? null : summary,
90
+ billingMode: stringValue(
91
+ legacyCost.billingMode ?? legacyCost.billing_mode
92
+ ),
93
+ billingSource,
94
+ billingSourceLabel,
95
+ deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
96
+ deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
97
+ ...pricing.estimatedRange && showManagedPricing ? {
98
+ estimatedRange: pricing.estimatedRange
99
+ } : {},
100
+ ...pricing.observedReference && showManagedPricing ? {
101
+ observedReference: pricing.observedReference
102
+ } : {},
103
+ ...details.length || showManagedPricing && (pricing.estimatedRange || pricing.observedReference) ? { details } : {},
104
+ ...pricing.observedMax && showManagedPricing ? {
105
+ observedMax: pricing.observedMax
106
+ } : {}
107
+ };
108
+ }
109
+ };
110
+ function recordValue(value) {
111
+ return value && typeof value === "object" && !Array.isArray(value) ? value : {};
112
+ }
113
+ function stringValue(value) {
114
+ return typeof value === "string" && value.trim() ? value : null;
115
+ }
116
+ function numberValue(value) {
117
+ return typeof value === "number" && Number.isFinite(value) ? value : null;
118
+ }
119
+ function pricingNumber(pricing, canonicalKey, aliasKey, legacyValue) {
120
+ for (const key of [canonicalKey, aliasKey]) {
121
+ if (Object.prototype.hasOwnProperty.call(pricing, key))
122
+ return numberValue(pricing[key]);
123
+ }
124
+ return numberValue(legacyValue);
125
+ }
126
+
21
127
  // src/cli/described-tool.ts
22
128
  function isPlayLikeTool(tool) {
23
129
  const record = tool;
@@ -743,6 +849,8 @@ function arrayField2(value, key) {
743
849
  }
744
850
 
745
851
  export {
852
+ observedMaxText,
853
+ Capability,
746
854
  isPlayLikeTool,
747
855
  isMonitorTypeTool,
748
856
  playReferenceForTool,
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkJ6SVNKRPjs = require('./chunk-J6SVNKRP.js');
3
+ var _chunkAJL2Q6IQjs = require('./chunk-AJL2Q6IQ.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkAPAHMCGRjs = require('./chunk-APAHMCGR.js');
8
+ var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -18,11 +18,11 @@ function usesCliPlayAdmission(command, args) {
18
18
  }
19
19
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured", signal) {
20
20
  _optionalChain([signal, 'optionalAccess', _ => _.throwIfAborted, 'call', _2 => _2()]);
21
- if (maintenancePolicy !== "off") _chunkAPAHMCGRjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
- const compatibility = await _chunkJ6SVNKRPjs.traceCliSpan.call(void 0,
21
+ if (maintenancePolicy !== "off") _chunkQNELA7SXjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
22
+ const compatibility = await _chunkAJL2Q6IQjs.traceCliSpan.call(void 0,
23
23
  "cli.sdk_compatibility",
24
24
  { baseUrl, command: "plays run" },
25
- () => _chunkAPAHMCGRjs.checkSdkCompatibility.call(void 0, baseUrl, {
25
+ () => _chunkQNELA7SXjs.checkSdkCompatibility.call(void 0, baseUrl, {
26
26
  command: "plays run",
27
27
  persistCache: maintenancePolicy !== "off",
28
28
  signal
@@ -30,7 +30,7 @@ async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configure
30
30
  );
31
31
  _optionalChain([signal, 'optionalAccess', _3 => _3.throwIfAborted, 'call', _4 => _4()]);
32
32
  if (compatibility.error) throw compatibility.error;
33
- _chunkAPAHMCGRjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
33
+ _chunkQNELA7SXjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
34
34
  quietAdvisory: true
35
35
  });
36
36
  }
@@ -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 _chunkSV2TEZ2Mjs = require('./chunk-SV2TEZ2M.js');
4
+ var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkSV2TEZ2Mjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkSV2TEZ2Mjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkEUWRKWT4js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-66XDYH5T.mjs";
11
+ } from "./chunk-2MVIS2UI.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -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.501",
52
+ version: "0.3.502",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "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."
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-66XDYH5T.mjs";
4
+ } from "./chunk-2MVIS2UI.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-EHVFBD36.mjs";
7
+ } from "./chunk-3MJSWVQ2.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-V5NHEYU7.mjs";
7
+ } from "./chunk-7ZYSXSJJ.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-J74N375S.mjs";
10
+ } from "./chunk-NZXB27TP.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-66XDYH5T.mjs";
14
+ } from "./chunk-2MVIS2UI.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-MADTHS56.mjs";
17
+ } from "./chunk-W5CHE5Q2.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-EHVFBD36.mjs";
20
+ } from "./chunk-3MJSWVQ2.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-66XDYH5T.mjs";
3
+ } from "./chunk-2MVIS2UI.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-VTDAJZIJ.mjs";
6
+ } from "./chunk-HIVRCTDR.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-N4TR6QRI.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-66XDYH5T.mjs";
14
+ } from "./chunk-2MVIS2UI.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-WJUDAHIQ.mjs";
3
+ } from "./chunk-NKLM4J4X.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-MADTHS56.mjs";
15
+ } from "./chunk-W5CHE5Q2.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-EHVFBD36.mjs";
23
+ } from "./chunk-3MJSWVQ2.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-7L6QNHUL.mjs";
29
+ } from "./chunk-OFBLT2LQ.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";