deepline 0.3.442 → 0.3.444

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 (126) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +4 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +27 -6
  4. package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +153 -31
  5. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +32 -0
  6. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +34 -21
  7. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +1 -1
  8. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +11 -0
  9. package/dist/cli/auth-KWVGTCBU.js +40 -0
  10. package/dist/cli/{auth-CUZJMTNS.mjs → auth-XTFEJXCK.mjs} +4 -4
  11. package/dist/cli/{billing-W2U5VKFI.js → billing-37ATIT7G.js} +73 -73
  12. package/dist/cli/{billing-SWH3WAMC.mjs → billing-3RZZWNAR.mjs} +4 -4
  13. package/dist/cli/{chunk-L3JU24MF.js → chunk-2Y3YBOS4.js} +11 -8
  14. package/dist/cli/{chunk-D7IDBZDR.js → chunk-53HWKCD3.js} +8 -8
  15. package/dist/cli/{chunk-SZUU2WTZ.js → chunk-7J4VZRO5.js} +1 -1
  16. package/dist/cli/{chunk-RWK35AB3.js → chunk-7VAQZERC.js} +6 -6
  17. package/dist/cli/{chunk-L2FWEP4G.mjs → chunk-A5LNESLL.mjs} +4 -4
  18. package/dist/cli/{chunk-7BH4ZOWE.js → chunk-AFFH22ER.js} +2 -2
  19. package/dist/cli/{chunk-P4GMPKMW.mjs → chunk-AJ54W32A.mjs} +1 -1
  20. package/dist/cli/{chunk-KKTRHDLN.mjs → chunk-C4CG252T.mjs} +3 -3
  21. package/dist/cli/{chunk-AR5YQQF5.mjs → chunk-CGVTZKKZ.mjs} +2 -2
  22. package/dist/cli/{chunk-2GNX6SCO.mjs → chunk-CO3S56DX.mjs} +7 -2
  23. package/dist/cli/{chunk-NBFXQCWM.js → chunk-EPK465ZH.js} +8 -8
  24. package/dist/cli/{chunk-KPKU53YO.mjs → chunk-FKAHVFPJ.mjs} +1 -1
  25. package/dist/cli/{chunk-D5IOUCJS.js → chunk-FS7TP7F2.js} +52 -52
  26. package/dist/cli/{chunk-ODWSTSRJ.mjs → chunk-GYLEMRHP.mjs} +5 -5
  27. package/dist/cli/{chunk-6YWIRIOI.mjs → chunk-HPBZAYSS.mjs} +2 -2
  28. package/dist/cli/{chunk-DM6Q634K.js → chunk-HTAXXY66.js} +7 -2
  29. package/dist/cli/{chunk-SKXQZUMX.mjs → chunk-HU6PIQDF.mjs} +2 -2
  30. package/dist/cli/{chunk-5ZQEDZDQ.mjs → chunk-J6NVL526.mjs} +1 -1
  31. package/dist/cli/{chunk-GEHYAQSI.mjs → chunk-JD7GAMDF.mjs} +2 -2
  32. package/dist/cli/{chunk-C4WXHMKN.js → chunk-JMARKXIB.js} +2 -2
  33. package/dist/cli/{chunk-GEQOPXOS.js → chunk-KNAKCMGJ.js} +17 -17
  34. package/dist/cli/{chunk-VUYUI35Q.js → chunk-LRNYRGCN.js} +20 -11
  35. package/dist/cli/{chunk-O765GAOA.mjs → chunk-LS32ZMEI.mjs} +15 -11
  36. package/dist/cli/{chunk-WY4W6PRD.mjs → chunk-LUGZDR4E.mjs} +3 -3
  37. package/dist/cli/{chunk-TP4TMEML.mjs → chunk-MBCQHTXT.mjs} +4 -1
  38. package/dist/cli/{chunk-77DW6WSO.js → chunk-OCYDAMHG.js} +249 -245
  39. package/dist/cli/{chunk-LCT6MTYQ.js → chunk-OTHCIRIC.js} +50 -50
  40. package/dist/cli/{chunk-RR2LZVRA.js → chunk-OZT66JBQ.js} +35 -35
  41. package/dist/cli/{chunk-GXOQRZXG.js → chunk-PP66EATA.js} +2 -2
  42. package/dist/cli/{chunk-R2QWSSAG.js → chunk-QFXPA2E4.js} +7 -7
  43. package/dist/cli/{chunk-SOCWFREM.js → chunk-QR3SSTAE.js} +10 -10
  44. package/dist/cli/{chunk-HYJKJJUM.js → chunk-RNM7JYV6.js} +20 -20
  45. package/dist/cli/{chunk-VLQWLPQU.mjs → chunk-RVM54NYN.mjs} +1 -1
  46. package/dist/cli/{chunk-SMM2EKDC.mjs → chunk-VAQYDKRH.mjs} +1 -1
  47. package/dist/cli/{chunk-7ICMVQL5.mjs → chunk-VHVZVLV7.mjs} +1 -1
  48. package/dist/cli/{chunk-YGMUSZLV.mjs → chunk-VJUFRXFU.mjs} +3 -3
  49. package/dist/cli/{chunk-2JHQ24IT.js → chunk-VVJWB47B.js} +16 -16
  50. package/dist/cli/{chunk-MLJBCS3E.mjs → chunk-W25OALCJ.mjs} +10 -1
  51. package/dist/cli/{chunk-LXTSVUZN.mjs → chunk-WQPJQEDE.mjs} +1 -1
  52. package/dist/cli/{chunk-K2DHO3IM.js → chunk-WYWZZZ2Q.js} +26 -26
  53. package/dist/cli/{chunk-DUUY2JKP.mjs → chunk-X4YO4AXG.mjs} +2 -2
  54. package/dist/cli/{chunk-2GVUZA6C.js → chunk-YIFQGY5A.js} +4 -4
  55. package/dist/cli/command-docs.js +2 -2
  56. package/dist/cli/command-docs.mjs +1 -1
  57. package/dist/cli/{csv-C5Z4OZQN.js → csv-EIJQ6RT5.js} +12 -12
  58. package/dist/cli/{csv-HSR32EPA.mjs → csv-HA2HOVSY.mjs} +3 -3
  59. package/dist/cli/{db-AK4ZYYRP.js → db-V3QK6J3D.js} +25 -25
  60. package/dist/cli/{db-JJGI4J5I.mjs → db-X4YIZUGS.mjs} +4 -4
  61. package/dist/cli/{describe-JVSD6F2G.js → describe-AM3JLWNF.js} +24 -24
  62. package/dist/cli/{describe-C35MTKF4.mjs → describe-MSL3BOWA.mjs} +16 -16
  63. package/dist/cli/describe-core.d.mts +1 -1
  64. package/dist/cli/describe-core.d.ts +1 -1
  65. package/dist/cli/describe-core.js +4 -4
  66. package/dist/cli/describe-core.mjs +3 -3
  67. package/dist/cli/{executions-ZECDB4NA.mjs → executions-EGH4NDY5.mjs} +4 -4
  68. package/dist/cli/{executions-ZEA7O4PX.js → executions-QFQVDHSS.js} +6 -6
  69. package/dist/cli/{feedback-WQC4SX75.js → feedback-77DLEOWO.js} +7 -7
  70. package/dist/cli/{feedback-W7UL4V47.mjs → feedback-RQLOXTWK.mjs} +3 -3
  71. package/dist/cli/git-OIDNWUNY.js +24 -0
  72. package/dist/cli/{git-QBB7LEAV.mjs → git-ZRSKT7ML.mjs} +4 -4
  73. package/dist/cli/index.js +135 -135
  74. package/dist/cli/index.mjs +37 -37
  75. package/dist/cli/{legacy-noops-E5NFHPKQ.mjs → legacy-noops-QNQCSKJV.mjs} +4 -4
  76. package/dist/cli/{legacy-noops-2QPJTEF4.js → legacy-noops-Y3ZMVJSZ.js} +7 -7
  77. package/dist/cli/{monitors-MWBA46VZ.js → monitors-4RY75IKZ.js} +84 -84
  78. package/dist/cli/{monitors-E56RLT6N.mjs → monitors-VEFE3ZSZ.mjs} +4 -4
  79. package/dist/cli/{org-KE2DDK5A.mjs → org-X6ZD3GOS.mjs} +4 -4
  80. package/dist/cli/{org-HGIWXACI.js → org-YOT76AE4.js} +66 -66
  81. package/dist/cli/{play-WO5UXBZM.js → play-7XEA7F7Y.js} +296 -296
  82. package/dist/cli/{play-LGTF4IYG.mjs → play-AXDXVYTK.mjs} +12 -12
  83. package/dist/cli/{providers-AIJPT54M.js → providers-CS3UWBH5.js} +7 -7
  84. package/dist/cli/{providers-77KQS23B.mjs → providers-JKYTNJDM.mjs} +4 -4
  85. package/dist/cli/{quickstart-EFMHLU4T.mjs → quickstart-BHATVOX5.mjs} +3 -3
  86. package/dist/cli/{quickstart-CZQFBJVH.js → quickstart-R2PI3T74.js} +5 -5
  87. package/dist/cli/{search-U5KEPKNV.mjs → search-46CJMKQ7.mjs} +5 -5
  88. package/dist/cli/search-CNDIFIZG.js +30 -0
  89. package/dist/cli/{secrets-JYHZIRO4.mjs → secrets-I2VZ75XW.mjs} +4 -4
  90. package/dist/cli/{secrets-CBBR73U4.js → secrets-NCBNWNNK.js} +13 -13
  91. package/dist/cli/{sessions-XA2EZDXD.js → sessions-SFZPFEXX.js} +5 -5
  92. package/dist/cli/{sessions-T74U74J7.mjs → sessions-UCMJTFYV.mjs} +4 -4
  93. package/dist/cli/{settings-C45BH4CU.mjs → settings-AJ2FOCRS.mjs} +8 -8
  94. package/dist/cli/{settings-ND4437UB.js → settings-N6CUAM55.js} +75 -75
  95. package/dist/cli/{setup-FQ7JS4HM.js → setup-DB34HKIL.js} +42 -42
  96. package/dist/cli/{setup-QDH6FAEZ.mjs → setup-LRWULRUP.mjs} +7 -7
  97. package/dist/cli/skills-Y7CEDG56.js +29 -0
  98. package/dist/cli/{skills-ZFSBA754.mjs → skills-Z5TF33TE.mjs} +5 -5
  99. package/dist/cli/{tools-OVGOFORB.mjs → tools-MOWM5ABI.mjs} +15 -15
  100. package/dist/cli/tools-RQWYUW3K.js +44 -0
  101. package/dist/cli/{update-BNU7VX5M.mjs → update-4LXOHDJU.mjs} +7 -7
  102. package/dist/cli/update-XKRUZQSS.js +31 -0
  103. package/dist/cli/{workflow-FX6GLQ3H.mjs → workflow-IWVOD4N3.mjs} +5 -5
  104. package/dist/cli/{workflow-JSSXWU3T.js → workflow-RS57FL5I.js} +15 -15
  105. package/dist/{client-BqQ7Rb11.d.ts → client-CBitBZpr.d.ts} +15 -3
  106. package/dist/{client-BCmnJaL9.d.mts → client-CTUbBRgg.d.mts} +15 -3
  107. package/dist/index.d.mts +2 -2
  108. package/dist/index.d.ts +2 -2
  109. package/dist/index.js +6 -6
  110. package/dist/index.mjs +3 -3
  111. package/dist/install-integrity.json +90 -90
  112. package/dist/plays/play-description.d.mts +1 -1
  113. package/dist/plays/play-description.d.ts +1 -1
  114. package/dist/plays/run-request.d.mts +1 -1
  115. package/dist/plays/run-request.d.ts +1 -1
  116. package/dist/release.d.mts +1 -1
  117. package/dist/release.d.ts +1 -1
  118. package/dist/release.js +2 -2
  119. package/dist/release.mjs +1 -1
  120. package/package.json +1 -1
  121. package/dist/cli/auth-HAO2GLGH.js +0 -40
  122. package/dist/cli/git-E7CXCBZZ.js +0 -24
  123. package/dist/cli/search-XMNR7CYI.js +0 -30
  124. package/dist/cli/skills-CSA2YFW6.js +0 -29
  125. package/dist/cli/tools-GUALRDI7.js +0 -44
  126. package/dist/cli/update-K4WJSWDB.js +0 -31
@@ -28,7 +28,7 @@ var _chunkKXMNM4AQjs = require('./chunk-KXMNM4AQ.js');
28
28
 
29
29
 
30
30
 
31
- var _chunk2GVUZA6Cjs = require('./chunk-2GVUZA6C.js');
31
+ var _chunkYIFQGY5Ajs = require('./chunk-YIFQGY5A.js');
32
32
 
33
33
 
34
34
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -647,7 +647,7 @@ var ToolCalls = class {
647
647
  idempotencyKey,
648
648
  onResponse: (response2) => {
649
649
  lastResponse = null;
650
- atomicToolsSupported = response2.headers.get(_chunk2GVUZA6Cjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
650
+ atomicToolsSupported = response2.headers.get(_chunkYIFQGY5Ajs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
651
651
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
652
652
  if (_optionalChain([options, 'optionalAccess', _29 => _29.onServerTiming])) {
653
653
  try {
@@ -997,8 +997,8 @@ function runtimeSelectionHeaders(runtime, env) {
997
997
  }
998
998
  const receivers = _optionalChain([env, 'access', _51 => _51.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _52 => _52.trim, 'call', _53 => _53()]);
999
999
  return {
1000
- [_chunk2GVUZA6Cjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
- ...receivers ? { [_chunk2GVUZA6Cjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1000
+ [_chunkYIFQGY5Ajs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1001
+ ...receivers ? { [_chunkYIFQGY5Ajs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1002
1002
  };
1003
1003
  }
1004
1004
  function normalizeTestPolicyOverrides(value, source) {
@@ -1069,7 +1069,7 @@ var PlayClient = class {
1069
1069
  return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
1070
1070
  this.http,
1071
1071
  resolved.request,
1072
- _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk2GVUZA6Cjs.SDK_API_MAJOR) } : headers,
1072
+ _optionalChain([options, 'optionalAccess', _61 => _61.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkYIFQGY5Ajs.SDK_API_MAJOR) } : headers,
1073
1073
  options
1074
1074
  );
1075
1075
  }
@@ -1135,9 +1135,9 @@ var PlayClient = class {
1135
1135
  }
1136
1136
  };
1137
1137
  function createPlayClient(options) {
1138
- const config = _chunk2GVUZA6Cjs.resolveConfig.call(void 0, options);
1138
+ const config = _chunkYIFQGY5Ajs.resolveConfig.call(void 0, options);
1139
1139
  return new PlayClient(
1140
- new (0, _chunk2GVUZA6Cjs.HttpClient)(config),
1140
+ new (0, _chunkYIFQGY5Ajs.HttpClient)(config),
1141
1141
  _nullishCoalesce(config.environment, () => ( process.env))
1142
1142
  );
1143
1143
  }
@@ -3151,7 +3151,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3151
3151
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3152
3152
  );
3153
3153
  }
3154
- return { [_chunk2GVUZA6Cjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3154
+ return { [_chunkYIFQGY5Ajs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3155
3155
  }
3156
3156
  function sleep(ms) {
3157
3157
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3389,9 +3389,9 @@ var DeeplineClient = (_class = class _DeeplineClient {
3389
3389
  * @throws {@link ConfigError} if no API key can be resolved from any source.
3390
3390
  */
3391
3391
  constructor(options) {
3392
- this.config = _chunk2GVUZA6Cjs.resolveConfig.call(void 0, options);
3392
+ this.config = _chunkYIFQGY5Ajs.resolveConfig.call(void 0, options);
3393
3393
  this.environment = _nullishCoalesce(this.config.environment, () => ( process.env));
3394
- this.http = new (0, _chunk2GVUZA6Cjs.HttpClient)(this.config);
3394
+ this.http = new (0, _chunkYIFQGY5Ajs.HttpClient)(this.config);
3395
3395
  this.playClient = new PlayClient(this.http, this.environment);
3396
3396
  this.toolCalls = new ToolCalls(
3397
3397
  this.http,
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk2JHQ24ITjs = require('./chunk-2JHQ24IT.js');
7
+ var _chunkVVJWB47Bjs = require('./chunk-VVJWB47B.js');
8
8
 
9
9
 
10
- var _chunkD5IOUCJSjs = require('./chunk-D5IOUCJS.js');
10
+ var _chunkFS7TP7F2js = require('./chunk-FS7TP7F2.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkL3JU24MFjs = require('./chunk-L3JU24MF.js');
14
+ var _chunk2Y3YBOS4js = require('./chunk-2Y3YBOS4.js');
15
15
 
16
16
 
17
17
 
18
- var _chunk2GVUZA6Cjs = require('./chunk-2GVUZA6C.js');
18
+ var _chunkYIFQGY5Ajs = require('./chunk-YIFQGY5A.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunk2GVUZA6Cjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkYIFQGY5Ajs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunk2GVUZA6Cjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkYIFQGY5Ajs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunk2GVUZA6Cjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunk2GVUZA6Cjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkYIFQGY5Ajs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkYIFQGY5Ajs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk2GVUZA6Cjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkYIFQGY5Ajs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunk2JHQ24ITjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkD5IOUCJSjs.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkVVJWB47Bjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkFS7TP7F2js.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk2GVUZA6Cjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkYIFQGY5Ajs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunk2JHQ24ITjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkVVJWB47Bjs.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk2GVUZA6Cjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkYIFQGY5Ajs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunk2JHQ24ITjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkVVJWB47Bjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunk2JHQ24ITjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkVVJWB47Bjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunkL3JU24MFjs.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunk2Y3YBOS4js.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkL3JU24MFjs.addJsonNotice.call(void 0, {
169
+ _chunk2Y3YBOS4js.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunk2JHQ24ITjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkVVJWB47Bjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunk2JHQ24ITjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkVVJWB47Bjs.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunkL3JU24MFjs.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunk2Y3YBOS4js.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -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.442",
52
+ version: "0.3.444",
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,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-TP4TMEML.mjs";
3
+ } from "./chunk-MBCQHTXT.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-P4GMPKMW.mjs";
31
+ } from "./chunk-AJ54W32A.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-4QF2K7TM.mjs";
@@ -11,10 +11,10 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-WY4W6PRD.mjs";
14
+ } from "./chunk-LUGZDR4E.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-TP4TMEML.mjs";
17
+ } from "./chunk-MBCQHTXT.mjs";
18
18
  import {
19
19
  SDK_VERSION,
20
20
  autoDetectBaseUrl,
@@ -22,7 +22,7 @@ import {
22
22
  ensureProjectPrivatePathsIgnored,
23
23
  resolveProjectPinTarget,
24
24
  sdkCliStateDirPath
25
- } from "./chunk-P4GMPKMW.mjs";
25
+ } from "./chunk-AJ54W32A.mjs";
26
26
 
27
27
  // src/cli/commands/skills.ts
28
28
  import { spawn } from "child_process";
@@ -1,19 +1,19 @@
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 _chunkC4WXHMKNjs = require('./chunk-C4WXHMKN.js');
4
+ var _chunkJMARKXIBjs = require('./chunk-JMARKXIB.js');
5
5
 
6
6
 
7
- var _chunkRR2LZVRAjs = require('./chunk-RR2LZVRA.js');
7
+ var _chunkOZT66JBQjs = require('./chunk-OZT66JBQ.js');
8
8
 
9
9
 
10
- var _chunkD5IOUCJSjs = require('./chunk-D5IOUCJS.js');
10
+ var _chunkFS7TP7F2js = require('./chunk-FS7TP7F2.js');
11
11
 
12
12
 
13
- var _chunkL3JU24MFjs = require('./chunk-L3JU24MF.js');
13
+ var _chunk2Y3YBOS4js = require('./chunk-2Y3YBOS4.js');
14
14
 
15
15
 
16
- var _chunk2GVUZA6Cjs = require('./chunk-2GVUZA6C.js');
16
+ var _chunkYIFQGY5Ajs = require('./chunk-YIFQGY5A.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkD5IOUCJSjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkFS7TP7F2js.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkC4WXHMKNjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkC4WXHMKNjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkJMARKXIBjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkJMARKXIBjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk2GVUZA6Cjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkYIFQGY5Ajs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkD5IOUCJSjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkFS7TP7F2js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk2GVUZA6Cjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkYIFQGY5Ajs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkRR2LZVRAjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkOZT66JBQjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
1284
+ _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
1327
+ _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -165,11 +165,19 @@ function rateLimitSummary(limits) {
165
165
  const { requestsPerWindow: requests, windowMs } = limit;
166
166
  if (typeof requests !== "number" || typeof windowMs !== "number") return [];
167
167
  return [
168
- `${requests} requests/${windows[windowMs] ?? `${windowMs / 1e3}s`}`
168
+ `${requests} requests/${windows[windowMs] ?? `${windowMs / 1e3}s`}${rateLimitQualifier(limit)}`
169
169
  ];
170
170
  });
171
171
  return parts.length ? parts.join(", ") : void 0;
172
172
  }
173
+ function rateLimitQualifier(limit) {
174
+ const sources = Array.isArray(limit.credentialSources) ? limit.credentialSources : null;
175
+ const notes = [
176
+ sources?.length === 1 && sources[0] === "env" ? "on Deepline's managed key" : null,
177
+ limit.resetsAt === "utc_midnight" ? "resets 00:00 UTC" : null
178
+ ].filter(Boolean);
179
+ return notes.length ? ` ${notes.join(", ")}` : "";
180
+ }
173
181
  function exampleValue(field) {
174
182
  if (field.example !== void 0) return field.example;
175
183
  if (field.type.startsWith(RECORD)) {
@@ -707,6 +715,7 @@ export {
707
715
  schemaField,
708
716
  schemaFields,
709
717
  rateLimitSummary,
718
+ rateLimitQualifier,
710
719
  schemaLines,
711
720
  examples,
712
721
  describedLines,
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-MLJBCS3E.mjs";
5
+ } from "./chunk-W25OALCJ.mjs";
6
6
  import {
7
7
  Capability,
8
8
  observedMaxText
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkL3JU24MFjs = require('./chunk-L3JU24MF.js');
5
+ var _chunk2Y3YBOS4js = require('./chunk-2Y3YBOS4.js');
6
6
 
7
7
 
8
- var _chunk2GVUZA6Cjs = require('./chunk-2GVUZA6C.js');
8
+ var _chunkYIFQGY5Ajs = require('./chunk-YIFQGY5A.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk2Y3YBOS4js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
39
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk2Y3YBOS4js.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
139
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk2Y3YBOS4js.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
153
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk2Y3YBOS4js.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
200
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk2Y3YBOS4js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
227
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk2Y3YBOS4js.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
254
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk2Y3YBOS4js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
269
+ _chunk2Y3YBOS4js.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 = _chunk2GVUZA6Cjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkYIFQGY5Ajs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkL3JU24MFjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk2Y3YBOS4js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk2Y3YBOS4js.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
322
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk2Y3YBOS4js.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
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
371
+ _chunk2Y3YBOS4js.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 } = _chunkL3JU24MFjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk2Y3YBOS4js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkL3JU24MFjs.printCommandEnvelope.call(void 0,
392
+ _chunk2Y3YBOS4js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-SMM2EKDC.mjs";
3
+ } from "./chunk-VAQYDKRH.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-WY4W6PRD.mjs";
8
+ } from "./chunk-LUGZDR4E.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -17,7 +17,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
18
18
 
19
19
 
20
- var _chunkSZUU2WTZjs = require('./chunk-SZUU2WTZ.js');
20
+ var _chunk7J4VZRO5js = require('./chunk-7J4VZRO5.js');
21
21
 
22
22
  // src/config.ts
23
23
 
@@ -649,9 +649,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
649
649
  }
650
650
 
651
651
  // src/version.ts
652
- var SDK_VERSION = _chunkSZUU2WTZjs.SDK_RELEASE.version;
653
- var SDK_API_MAJOR = _chunkSZUU2WTZjs.SDK_RELEASE.contracts.api.currentMajor;
654
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkSZUU2WTZjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
652
+ var SDK_VERSION = _chunk7J4VZRO5js.SDK_RELEASE.version;
653
+ var SDK_API_MAJOR = _chunk7J4VZRO5js.SDK_RELEASE.contracts.api.currentMajor;
654
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunk7J4VZRO5js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
655
655
 
656
656
  // src/agent-runtime.ts
657
657
 
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkDM6Q634Kjs = require('./chunk-DM6Q634K.js');
9
+ var _chunkHTAXXY66js = require('./chunk-HTAXXY66.js');
10
10
  require('./chunk-COGTRVWW.js');
11
11
 
12
12
 
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
16
16
 
17
17
 
18
18
 
19
- exports.CLI_DOC_SURFACE = _chunkDM6Q634Kjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkDM6Q634Kjs.COMMAND_DOCS; exports.commandDocKey = _chunkDM6Q634Kjs.commandDocKey; exports.helpDetailFromArgv = _chunkDM6Q634Kjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkDM6Q634Kjs.renderActionExplanation; exports.renderCommandExplanation = _chunkDM6Q634Kjs.renderCommandExplanation; exports.renderDocText = _chunkDM6Q634Kjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkHTAXXY66js.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkHTAXXY66js.COMMAND_DOCS; exports.commandDocKey = _chunkHTAXXY66js.commandDocKey; exports.helpDetailFromArgv = _chunkHTAXXY66js.helpDetailFromArgv; exports.renderActionExplanation = _chunkHTAXXY66js.renderActionExplanation; exports.renderCommandExplanation = _chunkHTAXXY66js.renderCommandExplanation; exports.renderDocText = _chunkHTAXXY66js.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-2GNX6SCO.mjs";
9
+ } from "./chunk-CO3S56DX.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,