deepline 0.3.467 → 0.3.469

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 (137) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +0 -5
  3. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +0 -9
  4. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +2 -31
  5. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-priority-execution.ts +0 -39
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +14 -8
  7. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +2 -1
  8. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +22 -1
  9. package/dist/cli/{auth-7H62VDZD.mjs → auth-HHMOHWIF.mjs} +5 -5
  10. package/dist/cli/auth-LEYK6ZW7.js +41 -0
  11. package/dist/cli/{billing-N5BNGGYN.js → billing-26PU55WM.js} +79 -79
  12. package/dist/cli/{billing-6TM3ZXDR.mjs → billing-KQORGOK4.mjs} +6 -6
  13. package/dist/cli/{chunk-7ZZWOJTM.js → chunk-2BBBUZVW.js} +3 -3
  14. package/dist/cli/{chunk-42AW4SQR.js → chunk-2GMJDL3C.js} +21 -21
  15. package/dist/cli/{chunk-R5ZJICJA.mjs → chunk-2OFJVQ7L.mjs} +1 -1
  16. package/dist/cli/{chunk-SHGBHP6J.js → chunk-3G4MRUY7.js} +3 -3
  17. package/dist/cli/{chunk-TNAXVJEG.mjs → chunk-4CJLSC6I.mjs} +4 -4
  18. package/dist/cli/{chunk-C4GBOGTW.mjs → chunk-5WQM5HAQ.mjs} +2 -2
  19. package/dist/cli/{chunk-FFOAOQ77.js → chunk-6SZNOJSR.js} +6 -6
  20. package/dist/cli/{chunk-FVA6XLRA.js → chunk-7JY5HB23.js} +7 -7
  21. package/dist/cli/{chunk-VOPKDTJT.js → chunk-7S33CZMU.js} +2 -2
  22. package/dist/cli/{chunk-5RXKAXFD.mjs → chunk-CUCH65D3.mjs} +2 -2
  23. package/dist/cli/{chunk-I3LWDZRN.mjs → chunk-D7DUKSFS.mjs} +1 -1
  24. package/dist/cli/{chunk-AUVEQ3JX.mjs → chunk-DI3K3PJE.mjs} +1 -1
  25. package/dist/cli/{chunk-KMYCHMZF.js → chunk-E55WWSW4.js} +26 -26
  26. package/dist/cli/{chunk-MRBDFPJ7.mjs → chunk-E6O62X6Z.mjs} +2 -2
  27. package/dist/cli/{chunk-6UZ4MRWN.mjs → chunk-FA3G556U.mjs} +2 -2
  28. package/dist/cli/{chunk-LKVOV7PX.js → chunk-GFHBE35X.js} +93 -93
  29. package/dist/cli/{chunk-WISHPL5Q.mjs → chunk-GVRTIZJN.mjs} +5 -5
  30. package/dist/cli/{chunk-NU64F53H.mjs → chunk-HB2M7RWZ.mjs} +10 -10
  31. package/dist/cli/{chunk-AU4BWQTT.mjs → chunk-I5ZF67WP.mjs} +5 -5
  32. package/dist/cli/{chunk-SYLR33PS.mjs → chunk-I7TGFUQJ.mjs} +3 -3
  33. package/dist/cli/{chunk-3ZGSR6X7.js → chunk-KOBMP4ZD.js} +1 -1
  34. package/dist/cli/{chunk-H3QDLCRT.js → chunk-KPFO7CQM.js} +53 -53
  35. package/dist/cli/{chunk-C6EGT3LO.js → chunk-L34QVDRW.js} +6 -6
  36. package/dist/cli/{chunk-MGUQGKHE.js → chunk-LBG7M2UO.js} +8 -8
  37. package/dist/cli/{chunk-KUCUHRLC.mjs → chunk-N6QVWV5R.mjs} +2 -2
  38. package/dist/cli/{chunk-FRY76AFK.js → chunk-NWAFIAHT.js} +8 -8
  39. package/dist/cli/{chunk-WTVTCSPY.js → chunk-ODOFLA34.js} +4 -4
  40. package/dist/cli/{chunk-RH6DVPGW.mjs → chunk-PAY27R7P.mjs} +2 -2
  41. package/dist/cli/{chunk-DCDTCG2D.mjs → chunk-PKCDG6W5.mjs} +2 -2
  42. package/dist/cli/{chunk-YIJS7ET7.js → chunk-RC7X6KBQ.js} +51 -51
  43. package/dist/cli/{chunk-4LTQYDZG.mjs → chunk-RXG2KE3N.mjs} +4 -4
  44. package/dist/cli/{chunk-LAMHSZ74.js → chunk-SNAPSOK7.js} +10 -10
  45. package/dist/cli/{chunk-ZTA4JIAB.js → chunk-SXTMM4DA.js} +9 -9
  46. package/dist/cli/{chunk-VGWH3BFC.mjs → chunk-T3OOWRPX.mjs} +1 -1
  47. package/dist/cli/{chunk-7Y53LJLE.js → chunk-TEYQKQAQ.js} +5 -5
  48. package/dist/cli/{chunk-G35HNL6P.mjs → chunk-UI2UC3OD.mjs} +1 -1
  49. package/dist/cli/{chunk-HTXQUA3V.mjs → chunk-URGJLSJX.mjs} +1 -1
  50. package/dist/cli/{chunk-FQIGRZ52.mjs → chunk-VERY76VG.mjs} +1 -1
  51. package/dist/cli/{chunk-FP3DH46P.mjs → chunk-WCKFCSRX.mjs} +4 -4
  52. package/dist/cli/{chunk-OSKGEBE7.mjs → chunk-WFI46NX4.mjs} +1 -1
  53. package/dist/cli/{chunk-AD5BZUAP.js → chunk-X7MME4NT.js} +5 -5
  54. package/dist/cli/{chunk-WS2BY2ST.js → chunk-XXIAG42J.js} +36 -36
  55. package/dist/cli/{chunk-CER3XHT3.mjs → chunk-YCIQYY5F.mjs} +3 -3
  56. package/dist/cli/{chunk-FS55YDCW.js → chunk-YSRQJ4M3.js} +3 -3
  57. package/dist/cli/{chunk-WGMNXDRZ.js → chunk-ZWZKQBJJ.js} +2 -2
  58. package/dist/cli/{chunk-WBYC7AYC.js → chunk-ZZ3WOBZQ.js} +16 -16
  59. package/dist/cli/{csv-435JAJ45.mjs → csv-DVAQAKEI.mjs} +4 -4
  60. package/dist/cli/{csv-BPZ4VLR6.js → csv-RTWPHENL.js} +13 -13
  61. package/dist/cli/{db-EBR2UQK3.js → db-BY4Y6CQ3.js} +27 -27
  62. package/dist/cli/{db-IEUTNOOC.mjs → db-OFAOD5AT.mjs} +6 -6
  63. package/dist/cli/describe-FS5CSJTO.js +48 -0
  64. package/dist/cli/{describe-GM233O75.mjs → describe-QOO27KPQ.mjs} +17 -17
  65. package/dist/cli/describe-core.d.mts +2 -2
  66. package/dist/cli/describe-core.d.ts +2 -2
  67. package/dist/cli/{executions-LDPBVSKZ.mjs → executions-EUHFCB47.mjs} +6 -6
  68. package/dist/cli/{executions-5SWPQTLB.js → executions-QHGGAQOE.js} +8 -8
  69. package/dist/cli/{feedback-JB7BBF64.mjs → feedback-47CCLALE.mjs} +4 -4
  70. package/dist/cli/{feedback-YFW5KT36.js → feedback-5G4CUZFN.js} +8 -8
  71. package/dist/cli/{git-MCGUPO2W.mjs → git-5I2AXG4O.mjs} +5 -5
  72. package/dist/cli/git-IWVY3SXC.js +25 -0
  73. package/dist/cli/index.js +135 -135
  74. package/dist/cli/index.mjs +40 -40
  75. package/dist/cli/{legacy-noops-LMGSIBWM.js → legacy-noops-5OBXYGLC.js} +8 -8
  76. package/dist/cli/{legacy-noops-EHNXHQL7.mjs → legacy-noops-AJYRHCWF.mjs} +5 -5
  77. package/dist/cli/{monitors-VRQ32EAA.js → monitors-5CWZZ7D7.js} +91 -91
  78. package/dist/cli/{monitors-355EWLGN.mjs → monitors-IWFCIY3H.mjs} +7 -7
  79. package/dist/cli/{org-MJ6XMAI4.mjs → org-7EP6FXX6.mjs} +6 -6
  80. package/dist/cli/{org-W3YZN65W.js → org-7HCL5RO7.js} +72 -72
  81. package/dist/cli/{pages-JPK6UVMV.js → pages-GTECAV7A.js} +17 -17
  82. package/dist/cli/{pages-62QNUXV2.mjs → pages-UJWA7YNZ.mjs} +6 -6
  83. package/dist/cli/{play-WPPJQBBS.js → play-MMGWGTTZ.js} +304 -304
  84. package/dist/cli/{play-CKBPES6Q.mjs → play-X3SYW37L.mjs} +17 -17
  85. package/dist/cli/{providers-DH5JJ5HN.js → providers-VQL4X4VL.js} +9 -9
  86. package/dist/cli/{providers-LLPKHVXL.mjs → providers-ZBCQLB5Y.mjs} +6 -6
  87. package/dist/cli/{quickstart-NNEF37EG.js → quickstart-SIFBA4UU.js} +6 -6
  88. package/dist/cli/{quickstart-K5HVPO2L.mjs → quickstart-TIPHHFSA.mjs} +4 -4
  89. package/dist/cli/{run-SKIZFJ5O.mjs → run-4L6ZW53Z.mjs} +22 -22
  90. package/dist/cli/{run-N2KY2VNQ.js → run-XKSIVFEN.js} +36 -36
  91. package/dist/cli/search-2WGVKZ2E.js +32 -0
  92. package/dist/cli/{search-2WXJ3GID.mjs → search-6HLAN32O.mjs} +7 -7
  93. package/dist/cli/{secrets-6GEQ75OU.mjs → secrets-4HTY4MSI.mjs} +6 -6
  94. package/dist/cli/{secrets-5YVX7LK7.js → secrets-KYRIVDA6.js} +15 -15
  95. package/dist/cli/{sessions-H3QES7C2.js → sessions-EVKRTCFM.js} +6 -6
  96. package/dist/cli/{sessions-GOPZ3YRN.mjs → sessions-JEV4COUF.mjs} +5 -5
  97. package/dist/cli/{settings-IP47HYC6.mjs → settings-QSABRUHQ.mjs} +11 -11
  98. package/dist/cli/{settings-62SU5ROV.js → settings-WFZNZVHF.js} +78 -78
  99. package/dist/cli/{setup-YCCU7TU4.js → setup-JFEGYAMU.js} +44 -44
  100. package/dist/cli/{setup-LCKXUSW5.mjs → setup-KG22OTJO.mjs} +9 -9
  101. package/dist/cli/{skills-3QAQI6X7.mjs → skills-5XJM7UBQ.mjs} +7 -7
  102. package/dist/cli/skills-6DY62DEQ.js +31 -0
  103. package/dist/cli/{tools-HKD4G6HA.mjs → tools-2AMQKFP4.mjs} +16 -16
  104. package/dist/cli/tools-ENIGWVGY.js +55 -0
  105. package/dist/cli/{update-2VYSBSDD.mjs → update-KEN737KZ.mjs} +9 -9
  106. package/dist/cli/update-XZBBPRDV.js +33 -0
  107. package/dist/cli/{workflow-EFRGY6JD.mjs → workflow-L6Q5H3OO.mjs} +7 -7
  108. package/dist/cli/{workflow-MMWGUSGY.js → workflow-T622YRL4.js} +17 -17
  109. package/dist/{client-BOEAXwJj.d.ts → client-B3tlWsw7.d.ts} +1 -1
  110. package/dist/{client-DL0koOaP.d.mts → client-CdJR18SJ.d.mts} +1 -1
  111. package/dist/{client-core-CowyuxKu.d.mts → client-core-ByJD7QXj.d.mts} +1 -1
  112. package/dist/{client-core-BX_8khUY.d.ts → client-core-CxHBKfE5.d.ts} +1 -1
  113. package/dist/index.d.mts +3 -3
  114. package/dist/index.d.ts +3 -3
  115. package/dist/index.js +9 -9
  116. package/dist/index.mjs +6 -6
  117. package/dist/install-integrity.json +100 -100
  118. package/dist/plays/play-description.d.mts +1 -1
  119. package/dist/plays/play-description.d.ts +1 -1
  120. package/dist/plays/run-request.d.mts +1 -1
  121. package/dist/plays/run-request.d.ts +1 -1
  122. package/dist/release.d.mts +1 -1
  123. package/dist/release.d.ts +1 -1
  124. package/dist/release.js +2 -2
  125. package/dist/release.mjs +1 -1
  126. package/dist/server.d.mts +2 -2
  127. package/dist/server.d.ts +2 -2
  128. package/dist/server.js +5 -5
  129. package/dist/server.mjs +3 -3
  130. package/package.json +1 -1
  131. package/dist/cli/auth-EXW5E3DI.js +0 -41
  132. package/dist/cli/describe-EPT52IUE.js +0 -48
  133. package/dist/cli/git-7L7LKOKW.js +0 -25
  134. package/dist/cli/search-HO7ARG3H.js +0 -32
  135. package/dist/cli/skills-UVAIKQNC.js +0 -31
  136. package/dist/cli/tools-KAIUUBTD.js +0 -55
  137. package/dist/cli/update-Q3AMECAG.js +0 -33
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkWBYC7AYCjs = require('./chunk-WBYC7AYC.js');
7
+ var _chunkZZ3WOBZQjs = require('./chunk-ZZ3WOBZQ.js');
8
8
 
9
9
 
10
- var _chunkH3QDLCRTjs = require('./chunk-H3QDLCRT.js');
10
+ var _chunkKPFO7CQMjs = require('./chunk-KPFO7CQM.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
14
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
15
15
 
16
16
 
17
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
17
+ var _chunk3G4MRUY7js = require('./chunk-3G4MRUY7.js');
18
18
 
19
19
 
20
- var _chunkWTVTCSPYjs = require('./chunk-WTVTCSPY.js');
20
+ var _chunkODOFLA34js = require('./chunk-ODOFLA34.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkSHGBHP6Jjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunk3G4MRUY7js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkWTVTCSPYjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkODOFLA34js.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkWTVTCSPYjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkWTVTCSPYjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkODOFLA34js.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkODOFLA34js.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkWTVTCSPYjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkODOFLA34js.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkWBYC7AYCjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkH3QDLCRTjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkZZ3WOBZQjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkKPFO7CQMjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkWTVTCSPYjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkODOFLA34js.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkWBYC7AYCjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkZZ3WOBZQjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkWTVTCSPYjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkODOFLA34js.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkWBYC7AYCjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkZZ3WOBZQjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkWBYC7AYCjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkZZ3WOBZQjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkFVA6XLRAjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunk7JY5HB23js.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkFVA6XLRAjs.addJsonNotice.call(void 0, {
171
+ _chunk7JY5HB23js.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkWBYC7AYCjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkZZ3WOBZQjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  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";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkWBYC7AYCjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkZZ3WOBZQjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkFVA6XLRAjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunk7JY5HB23js.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-FP3DH46P.mjs";
3
+ } from "./chunk-WCKFCSRX.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -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 _chunkWTVTCSPYjs = require('./chunk-WTVTCSPY.js');
4
+ var _chunkODOFLA34js = require('./chunk-ODOFLA34.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 (_chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkODOFLA34js.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 _chunkWTVTCSPYjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkODOFLA34js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-NU64F53H.mjs";
3
+ } from "./chunk-HB2M7RWZ.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-VGWH3BFC.mjs";
6
+ } from "./chunk-T3OOWRPX.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-JVHOS3K3.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-KUCUHRLC.mjs";
17
+ } from "./chunk-N6QVWV5R.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-RH6DVPGW.mjs";
20
+ } from "./chunk-PAY27R7P.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-RH6DVPGW.mjs";
4
+ } from "./chunk-PAY27R7P.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-AUVEQ3JX.mjs";
7
+ } from "./chunk-DI3K3PJE.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkVOPKDTJTjs = require('./chunk-VOPKDTJT.js');
3
+ var _chunk7S33CZMUjs = require('./chunk-7S33CZMU.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkH3QDLCRTjs = require('./chunk-H3QDLCRT.js');
8
+ var _chunkKPFO7CQMjs = require('./chunk-KPFO7CQM.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkH3QDLCRTjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkVOPKDTJTjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkKPFO7CQMjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunk7S33CZMUjs.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkH3QDLCRTjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkKPFO7CQMjs.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkH3QDLCRTjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkKPFO7CQMjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
5
+ var _chunk3G4MRUY7js = require('./chunk-3G4MRUY7.js');
6
6
 
7
7
 
8
- var _chunkWTVTCSPYjs = require('./chunk-WTVTCSPY.js');
8
+ var _chunkODOFLA34js = require('./chunk-ODOFLA34.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunkSHGBHP6Jjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkSHGBHP6Jjs.HttpClient)(config) };
293
+ const config = _chunk3G4MRUY7js.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunk3G4MRUY7js.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkODOFLA34js.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkWTVTCSPYjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkODOFLA34js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkSHGBHP6Jjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunk3G4MRUY7js.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
3
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkFVA6XLRAjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunk7JY5HB23js.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-RH6DVPGW.mjs";
5
+ } from "./chunk-PAY27R7P.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-G35HNL6P.mjs";
8
+ } from "./chunk-UI2UC3OD.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-RH6DVPGW.mjs";
3
+ } from "./chunk-PAY27R7P.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-OSKGEBE7.mjs";
19
+ } from "./chunk-WFI46NX4.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
5
+ var _chunk7JY5HB23js = require('./chunk-7JY5HB23.js');
6
6
 
7
7
 
8
- var _chunkSHGBHP6Jjs = require('./chunk-SHGBHP6J.js');
8
+ var _chunk3G4MRUY7js = require('./chunk-3G4MRUY7.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunk7JY5HB23js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
39
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
139
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
153
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
200
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunk7JY5HB23js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
227
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
254
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunk7JY5HB23js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
269
+ _chunk7JY5HB23js.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 = _chunkSHGBHP6Jjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunk3G4MRUY7js.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkFVA6XLRAjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunk7JY5HB23js.openInBrowser.call(void 0, connectUrl);
292
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
322
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunk7JY5HB23js.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
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
371
+ _chunk7JY5HB23js.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 } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunk7JY5HB23js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
392
+ _chunk7JY5HB23js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-HTXQUA3V.mjs";
3
+ } from "./chunk-URGJLSJX.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-G35HNL6P.mjs";
7
+ } from "./chunk-UI2UC3OD.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-FQIGRZ52.mjs";
3
+ } from "./chunk-VERY76VG.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-FP3DH46P.mjs";
8
+ } from "./chunk-WCKFCSRX.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {