@trydecember/cli 0.2.15 → 0.2.16

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 (2) hide show
  1. package/dist/december.js +573 -847
  2. package/package.json +1 -1
package/dist/december.js CHANGED
@@ -4,7 +4,6 @@ var __create = Object.create;
4
4
  var __getProtoOf = Object.getPrototypeOf;
5
5
  var __defProp = Object.defineProperty;
6
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
8
  function __accessProp(key) {
10
9
  return this[key];
@@ -31,23 +30,6 @@ var __toESM = (mod, isNodeMode, target) => {
31
30
  cache.set(mod, to);
32
31
  return to;
33
32
  };
34
- var __toCommonJS = (from) => {
35
- var entry = (__moduleCache ??= new WeakMap).get(from), desc;
36
- if (entry)
37
- return entry;
38
- entry = __defProp({}, "__esModule", { value: true });
39
- if (from && typeof from === "object" || typeof from === "function") {
40
- for (var key of __getOwnPropNames(from))
41
- if (!__hasOwnProp.call(entry, key))
42
- __defProp(entry, key, {
43
- get: __accessProp.bind(from, key),
44
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
45
- });
46
- }
47
- __moduleCache.set(from, entry);
48
- return entry;
49
- };
50
- var __moduleCache;
51
33
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
52
34
  var __returnValue = (v) => v;
53
35
  function __exportSetter(name, newValue) {
@@ -9031,7 +9013,7 @@ var init_openai2 = __esm(() => {
9031
9013
  init_models();
9032
9014
  });
9033
9015
 
9034
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
9016
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
9035
9017
  function __classPrivateFieldSet2(receiver, state, value, kind, f) {
9036
9018
  if (kind === "m")
9037
9019
  throw new TypeError("Private method is not writable");
@@ -9050,7 +9032,7 @@ function __classPrivateFieldGet2(receiver, state, kind, f) {
9050
9032
  }
9051
9033
  var init_tslib2 = () => {};
9052
9034
 
9053
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
9035
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
9054
9036
  var uuid42 = function() {
9055
9037
  const { crypto: crypto2 } = globalThis;
9056
9038
  if (crypto2?.randomUUID) {
@@ -9062,7 +9044,7 @@ var uuid42 = function() {
9062
9044
  return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ randomByte() & 15 >> +c / 4).toString(16));
9063
9045
  };
9064
9046
 
9065
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/errors.mjs
9047
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/errors.mjs
9066
9048
  function isAbortError2(err) {
9067
9049
  return typeof err === "object" && err !== null && (("name" in err) && err.name === "AbortError" || ("message" in err) && String(err.message).includes("FetchRequestCanceledException"));
9068
9050
  }
@@ -9089,7 +9071,7 @@ var castToError2 = (err) => {
9089
9071
  return new Error(err);
9090
9072
  };
9091
9073
 
9092
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/error.mjs
9074
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/error.mjs
9093
9075
  var AnthropicError, APIError2, APIUserAbortError2, APIConnectionError2, APIConnectionTimeoutError2, RetryableError, BadRequestError2, AuthenticationError2, PermissionDeniedError2, NotFoundError2, ConflictError2, UnprocessableEntityError2, RateLimitError2, InternalServerError2;
9094
9076
  var init_error3 = __esm(() => {
9095
9077
  AnthropicError = class AnthropicError extends Error {
@@ -9191,7 +9173,7 @@ var init_error3 = __esm(() => {
9191
9173
  };
9192
9174
  });
9193
9175
 
9194
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs
9176
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs
9195
9177
  function maybeObj2(x) {
9196
9178
  if (typeof x !== "object") {
9197
9179
  return {};
@@ -9231,7 +9213,7 @@ var init_values2 = __esm(() => {
9231
9213
  isReadonlyArray2 = isArray2;
9232
9214
  });
9233
9215
 
9234
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs
9216
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs
9235
9217
  var sleep3 = (ms, signal) => new Promise((resolve) => {
9236
9218
  if (signal?.aborted)
9237
9219
  return resolve();
@@ -9246,10 +9228,10 @@ var sleep3 = (ms, signal) => new Promise((resolve) => {
9246
9228
  signal?.addEventListener("abort", onAbort, { once: true });
9247
9229
  });
9248
9230
 
9249
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/version.mjs
9250
- var VERSION2 = "0.112.1";
9231
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/version.mjs
9232
+ var VERSION2 = "0.112.3";
9251
9233
 
9252
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
9234
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
9253
9235
  function getDetectedPlatform2() {
9254
9236
  if (typeof Deno !== "undefined" && Deno.build != null) {
9255
9237
  return "deno";
@@ -9374,7 +9356,7 @@ var isRunningInBrowser2 = () => {
9374
9356
  };
9375
9357
  var init_detect_platform2 = () => {};
9376
9358
 
9377
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/shims.mjs
9359
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/shims.mjs
9378
9360
  function getDefaultFetch2() {
9379
9361
  if (typeof fetch !== "undefined") {
9380
9362
  return fetch;
@@ -9445,7 +9427,7 @@ async function CancelReadableStream2(stream) {
9445
9427
  await cancelPromise;
9446
9428
  }
9447
9429
 
9448
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
9430
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
9449
9431
  var FallbackEncoder2 = ({ headers, body }) => {
9450
9432
  return {
9451
9433
  bodyHeaders: {
@@ -9455,7 +9437,7 @@ var FallbackEncoder2 = ({ headers, body }) => {
9455
9437
  };
9456
9438
  };
9457
9439
 
9458
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs
9440
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs
9459
9441
  var default_format2 = "RFC3986", default_formatter2 = (v) => String(v), formatters2, RFC17382 = "RFC1738";
9460
9442
  var init_formats2 = __esm(() => {
9461
9443
  formatters2 = {
@@ -9464,7 +9446,7 @@ var init_formats2 = __esm(() => {
9464
9446
  };
9465
9447
  });
9466
9448
 
9467
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs
9449
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs
9468
9450
  function is_buffer2(obj) {
9469
9451
  if (!obj || typeof obj !== "object") {
9470
9452
  return false;
@@ -9538,7 +9520,7 @@ var init_utils3 = __esm(() => {
9538
9520
  })();
9539
9521
  });
9540
9522
 
9541
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs
9523
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs
9542
9524
  function is_non_nullish_primitive2(v) {
9543
9525
  return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
9544
9526
  }
@@ -9770,7 +9752,7 @@ var init_stringify2 = __esm(() => {
9770
9752
  sentinel2 = {};
9771
9753
  });
9772
9754
 
9773
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs
9755
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs
9774
9756
  function stringifyQuery2(query2) {
9775
9757
  return stringify2(query2, { arrayFormat: "brackets" });
9776
9758
  }
@@ -9778,7 +9760,7 @@ var init_query2 = __esm(() => {
9778
9760
  init_stringify2();
9779
9761
  });
9780
9762
 
9781
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs
9763
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs
9782
9764
  function requireSecureTokenEndpoint(baseURL) {
9783
9765
  if (!baseURL)
9784
9766
  return;
@@ -9936,12 +9918,12 @@ var init_types = __esm(() => {
9936
9918
  };
9937
9919
  });
9938
9920
 
9939
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs
9921
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs
9940
9922
  function nowAsSeconds() {
9941
9923
  return Math.floor(Date.now() / 1000);
9942
9924
  }
9943
9925
 
9944
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs
9926
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs
9945
9927
  class TokenCache {
9946
9928
  constructor(provider, onAdvisoryRefreshError) {
9947
9929
  this.cached = null;
@@ -10011,7 +9993,7 @@ var init_token_cache = __esm(() => {
10011
9993
  init_types();
10012
9994
  });
10013
9995
 
10014
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs
9996
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs
10015
9997
  var readEnv2 = (env2) => {
10016
9998
  if (typeof globalThis.process !== "undefined") {
10017
9999
  return globalThis.process.env?.[env2]?.trim() || undefined;
@@ -10022,7 +10004,7 @@ var readEnv2 = (env2) => {
10022
10004
  return;
10023
10005
  };
10024
10006
 
10025
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs
10007
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs
10026
10008
  function concatBytes2(buffers) {
10027
10009
  let length = 0;
10028
10010
  for (const buffer of buffers) {
@@ -10046,12 +10028,12 @@ function decodeUTF82(bytes) {
10046
10028
  }
10047
10029
  var encodeUTF8_2, decodeUTF8_2;
10048
10030
 
10049
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs
10031
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/base64.mjs
10050
10032
  var init_base642 = __esm(() => {
10051
10033
  init_error3();
10052
10034
  });
10053
10035
 
10054
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs
10036
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs
10055
10037
  function noop2() {}
10056
10038
  function makeLogFn2(fnLevel, logger, logLevel) {
10057
10039
  if (!logger || levelNumbers2[fnLevel] > levelNumbers2[logLevel]) {
@@ -10136,7 +10118,7 @@ var init_log2 = __esm(() => {
10136
10118
  cachedLoggers2 = /* @__PURE__ */ new WeakMap;
10137
10119
  });
10138
10120
 
10139
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils.mjs
10121
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils.mjs
10140
10122
  var init_utils4 = __esm(() => {
10141
10123
  init_values2();
10142
10124
  init_base642();
@@ -10144,7 +10126,7 @@ var init_utils4 = __esm(() => {
10144
10126
  init_query2();
10145
10127
  });
10146
10128
 
10147
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/credentials.mjs
10129
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/credentials.mjs
10148
10130
  function validateProfileName(name) {
10149
10131
  if (!name) {
10150
10132
  throw new Error("profile name is empty");
@@ -10313,7 +10295,7 @@ var init_credentials = __esm(() => {
10313
10295
  PROFILE_NAME_PATTERN = /^[A-Za-z0-9_.-]+$/;
10314
10296
  });
10315
10297
 
10316
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs
10298
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs
10317
10299
  function identityTokenFromFile(path2) {
10318
10300
  if (!path2) {
10319
10301
  throw new AnthropicError("Identity token file path is empty");
@@ -10343,7 +10325,7 @@ var init_identity_token = __esm(() => {
10343
10325
  init_error3();
10344
10326
  });
10345
10327
 
10346
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs
10328
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs
10347
10329
  function oidcFederationProvider(config) {
10348
10330
  return async () => {
10349
10331
  requireSecureTokenEndpoint(config.baseURL);
@@ -10404,7 +10386,7 @@ var init_oidc_federation = __esm(() => {
10404
10386
  init_types();
10405
10387
  });
10406
10388
 
10407
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs
10389
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs
10408
10390
  function userOAuthProvider(config) {
10409
10391
  return async (opts) => {
10410
10392
  const fs = await import("node:fs");
@@ -10482,7 +10464,7 @@ var init_user_oauth = __esm(() => {
10482
10464
  init_types();
10483
10465
  });
10484
10466
 
10485
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs
10467
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs
10486
10468
  function resolveCredentialsFromConfig(config, options) {
10487
10469
  const credentialsPath = config.authentication.credentials_path ?? null;
10488
10470
  const effectiveBaseURL = (config.base_url || options.baseURL).replace(/\/+$/, "");
@@ -10621,7 +10603,7 @@ var init_credential_chain = __esm(() => {
10621
10603
  init_user_oauth();
10622
10604
  });
10623
10605
 
10624
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
10606
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
10625
10607
  class LineDecoder2 {
10626
10608
  constructor() {
10627
10609
  _LineDecoder_buffer2.set(this, undefined);
@@ -10702,7 +10684,7 @@ var init_line2 = __esm(() => {
10702
10684
  LineDecoder2.NEWLINE_REGEXP = /\r\n|[\n\r]/g;
10703
10685
  });
10704
10686
 
10705
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/streaming.mjs
10687
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/streaming.mjs
10706
10688
  async function* _iterSSEMessages2(response, controller) {
10707
10689
  if (!response.body) {
10708
10690
  controller.abort();
@@ -10954,7 +10936,7 @@ var init_streaming3 = __esm(() => {
10954
10936
  };
10955
10937
  });
10956
10938
 
10957
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/parse.mjs
10939
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/parse.mjs
10958
10940
  async function defaultParseResponse2(client, props) {
10959
10941
  const { response, requestLogID, retryOfRequestLogID, startTime } = props;
10960
10942
  const body = await (async () => {
@@ -11005,7 +10987,7 @@ var init_parse2 = __esm(() => {
11005
10987
  init_log2();
11006
10988
  });
11007
10989
 
11008
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/middleware.mjs
10990
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/middleware.mjs
11009
10991
  function isFetchOriginError(err) {
11010
10992
  return typeof err === "object" && err !== null && fetchOriginErrors.has(err);
11011
10993
  }
@@ -11106,7 +11088,7 @@ var init_middleware = __esm(() => {
11106
11088
  fetchOriginErrors = new WeakSet;
11107
11089
  });
11108
11090
 
11109
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/api-promise.mjs
11091
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/api-promise.mjs
11110
11092
  var _APIPromise_client2, APIPromise2;
11111
11093
  var init_api_promise2 = __esm(() => {
11112
11094
  init_tslib2();
@@ -11150,7 +11132,7 @@ var init_api_promise2 = __esm(() => {
11150
11132
  _APIPromise_client2 = new WeakMap;
11151
11133
  });
11152
11134
 
11153
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/pagination.mjs
11135
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/pagination.mjs
11154
11136
  var _AbstractPage_client2, AbstractPage2, PagePromise2, Page2, PageCursor, BidirectionalPageCursor;
11155
11137
  var init_pagination2 = __esm(() => {
11156
11138
  init_tslib2();
@@ -11299,7 +11281,7 @@ var init_pagination2 = __esm(() => {
11299
11281
  };
11300
11282
  });
11301
11283
 
11302
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/uploads.mjs
11284
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/uploads.mjs
11303
11285
  function makeFile2(fileBits, fileName, options) {
11304
11286
  checkFileSupport2();
11305
11287
  return new File(fileBits, fileName ?? "unknown_file", options);
@@ -11374,7 +11356,7 @@ var init_uploads4 = __esm(() => {
11374
11356
  supportsFormDataMap2 = /* @__PURE__ */ new WeakMap;
11375
11357
  });
11376
11358
 
11377
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/to-file.mjs
11359
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/to-file.mjs
11378
11360
  async function toFile2(value, name, options) {
11379
11361
  checkFileSupport2();
11380
11362
  value = await value;
@@ -11431,22 +11413,22 @@ var init_to_file2 = __esm(() => {
11431
11413
  init_uploads4();
11432
11414
  });
11433
11415
 
11434
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/uploads.mjs
11416
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/uploads.mjs
11435
11417
  var init_uploads5 = __esm(() => {
11436
11418
  init_to_file2();
11437
11419
  });
11438
11420
 
11439
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/shared.mjs
11421
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/shared.mjs
11440
11422
  var init_shared2 = () => {};
11441
11423
 
11442
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/resource.mjs
11424
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/core/resource.mjs
11443
11425
  class APIResource2 {
11444
11426
  constructor(client) {
11445
11427
  this._client = client;
11446
11428
  }
11447
11429
  }
11448
11430
 
11449
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/headers.mjs
11431
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/headers.mjs
11450
11432
  function* iterateHeaders2(headers) {
11451
11433
  if (!headers)
11452
11434
  return;
@@ -11535,7 +11517,7 @@ var init_headers2 = __esm(() => {
11535
11517
  APPEND_HEADERS = new Set(["x-stainless-helper"]);
11536
11518
  });
11537
11519
 
11538
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs
11520
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs
11539
11521
  function encodeURIPath2(str2) {
11540
11522
  return str2.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g, encodeURIComponent);
11541
11523
  }
@@ -11593,7 +11575,7 @@ var init_path2 = __esm(() => {
11593
11575
  path2 = /* @__PURE__ */ createPathTagFunction2(encodeURIPath2);
11594
11576
  });
11595
11577
 
11596
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs
11578
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs
11597
11579
  var DeploymentRuns;
11598
11580
  var init_deployment_runs = __esm(() => {
11599
11581
  init_pagination2();
@@ -11624,7 +11606,7 @@ var init_deployment_runs = __esm(() => {
11624
11606
  };
11625
11607
  });
11626
11608
 
11627
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs
11609
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs
11628
11610
  var Deployments;
11629
11611
  var init_deployments = __esm(() => {
11630
11612
  init_pagination2();
@@ -11717,7 +11699,7 @@ var init_deployments = __esm(() => {
11717
11699
  };
11718
11700
  });
11719
11701
 
11720
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs
11702
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs
11721
11703
  var Dreams;
11722
11704
  var init_dreams = __esm(() => {
11723
11705
  init_pagination2();
@@ -11779,7 +11761,7 @@ var init_dreams = __esm(() => {
11779
11761
  };
11780
11762
  });
11781
11763
 
11782
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs
11764
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs
11783
11765
  function helperHeader(value) {
11784
11766
  return { [STAINLESS_HELPER_HEADER]: value };
11785
11767
  }
@@ -11829,7 +11811,7 @@ var init_stainless_helper_header = __esm(() => {
11829
11811
  SDK_HELPER_SYMBOL = Symbol("anthropic.sdk.stainlessHelper");
11830
11812
  });
11831
11813
 
11832
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs
11814
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs
11833
11815
  var Files4;
11834
11816
  var init_files4 = __esm(() => {
11835
11817
  init_pagination2();
@@ -11898,7 +11880,7 @@ var init_files4 = __esm(() => {
11898
11880
  };
11899
11881
  });
11900
11882
 
11901
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs
11883
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs
11902
11884
  var Models2;
11903
11885
  var init_models3 = __esm(() => {
11904
11886
  init_pagination2();
@@ -11929,7 +11911,7 @@ var init_models3 = __esm(() => {
11929
11911
  };
11930
11912
  });
11931
11913
 
11932
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs
11914
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs
11933
11915
  var UserProfiles;
11934
11916
  var init_user_profiles = __esm(() => {
11935
11917
  init_pagination2();
@@ -12751,7 +12733,7 @@ var require_dist = __commonJS((exports) => {
12751
12733
  Webhook.prefix = "whsec_";
12752
12734
  });
12753
12735
 
12754
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs
12736
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs
12755
12737
  var import_standardwebhooks, Webhooks2;
12756
12738
  var init_webhooks4 = __esm(() => {
12757
12739
  import_standardwebhooks = __toESM(require_dist(), 1);
@@ -12769,7 +12751,7 @@ var init_webhooks4 = __esm(() => {
12769
12751
  };
12770
12752
  });
12771
12753
 
12772
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs
12754
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs
12773
12755
  var Versions2;
12774
12756
  var init_versions2 = __esm(() => {
12775
12757
  init_pagination2();
@@ -12790,7 +12772,7 @@ var init_versions2 = __esm(() => {
12790
12772
  };
12791
12773
  });
12792
12774
 
12793
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs
12775
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs
12794
12776
  var Agents;
12795
12777
  var init_agents = __esm(() => {
12796
12778
  init_versions2();
@@ -12861,7 +12843,7 @@ var init_agents = __esm(() => {
12861
12843
  Agents.Versions = Versions2;
12862
12844
  });
12863
12845
 
12864
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs
12846
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs
12865
12847
  function linkAbort(external, controller) {
12866
12848
  if (!external)
12867
12849
  return () => {};
@@ -12874,7 +12856,7 @@ function linkAbort(external, controller) {
12874
12856
  return () => external.removeEventListener("abort", onAbort);
12875
12857
  }
12876
12858
 
12877
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs
12859
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs
12878
12860
  function isStatus(e, code) {
12879
12861
  return e instanceof APIError2 && e.status === code;
12880
12862
  }
@@ -12897,7 +12879,7 @@ var init_backoff = __esm(() => {
12897
12879
  init_error3();
12898
12880
  });
12899
12881
 
12900
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs
12882
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs
12901
12883
  function copyClientForHelper(client, { authToken, helper }) {
12902
12884
  if (!authToken) {
12903
12885
  throw new AnthropicError(`copyClientForHelper: expected a non-empty authToken but received ${JSON.stringify(authToken)}`);
@@ -12928,7 +12910,7 @@ var init_helper_client = __esm(() => {
12928
12910
  init_stainless_helper_header();
12929
12911
  });
12930
12912
 
12931
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs
12913
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs
12932
12914
  function backoff2(attempt) {
12933
12915
  return backoff(attempt, POLL_BACKOFF_BASE_MS, POLL_BACKOFF_CAP_MS);
12934
12916
  }
@@ -13051,7 +13033,7 @@ var init_poller = __esm(() => {
13051
13033
  };
13052
13034
  });
13053
13035
 
13054
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs
13036
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs
13055
13037
  class AsyncQueue {
13056
13038
  constructor() {
13057
13039
  _AsyncQueue_items.set(this, []);
@@ -13109,7 +13091,7 @@ var init_async_queue = __esm(() => {
13109
13091
  _AsyncQueue_items = new WeakMap, _AsyncQueue_waiters = new WeakMap, _AsyncQueue_closed = new WeakMap;
13110
13092
  });
13111
13093
 
13112
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs
13094
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs
13113
13095
  var ToolError;
13114
13096
  var init_ToolError = __esm(() => {
13115
13097
  ToolError = class ToolError extends Error {
@@ -13126,7 +13108,7 @@ var init_ToolError = __esm(() => {
13126
13108
  };
13127
13109
  });
13128
13110
 
13129
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs
13111
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs
13130
13112
  function toolName(tool) {
13131
13113
  return "name" in tool ? tool.name : tool.mcp_server_name;
13132
13114
  }
@@ -13146,7 +13128,7 @@ var init_BetaRunnableTool = __esm(() => {
13146
13128
  init_ToolError();
13147
13129
  });
13148
13130
 
13149
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs
13131
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs
13150
13132
  function isEndTurnIdle(ev) {
13151
13133
  return ev.type === "session.status_idle" && ev.stop_reason?.type === "end_turn";
13152
13134
  }
@@ -13594,7 +13576,7 @@ var init_SessionToolRunner = __esm(() => {
13594
13576
  };
13595
13577
  });
13596
13578
 
13597
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs
13579
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/transform-json-schema.mjs
13598
13580
  var SUPPORTED_STRING_FORMATS;
13599
13581
  var init_transform_json_schema = __esm(() => {
13600
13582
  init_utils4();
@@ -13612,7 +13594,7 @@ var init_transform_json_schema = __esm(() => {
13612
13594
  ]);
13613
13595
  });
13614
13596
 
13615
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs
13597
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/helpers/beta/json-schema.mjs
13616
13598
  function betaTool(options) {
13617
13599
  if (options.inputSchema.type !== "object") {
13618
13600
  throw new Error(`JSON schema for tool "${options.name}" must be an object, but got ${options.inputSchema.type}`);
@@ -13632,7 +13614,7 @@ var init_json_schema = __esm(() => {
13632
13614
  init_transform_json_schema();
13633
13615
  });
13634
13616
 
13635
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs
13617
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs
13636
13618
  function promiseWithResolvers() {
13637
13619
  let resolve;
13638
13620
  let reject;
@@ -13643,7 +13625,7 @@ function promiseWithResolvers() {
13643
13625
  return { promise, resolve, reject };
13644
13626
  }
13645
13627
 
13646
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs
13628
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/tools/agent-toolset/fs-util.mjs
13647
13629
  import * as fs from "node:fs/promises";
13648
13630
  import * as path3 from "node:path";
13649
13631
  import { randomUUID } from "node:crypto";
@@ -13744,7 +13726,7 @@ var init_fs_util = __esm(() => {
13744
13726
  init_ToolError();
13745
13727
  });
13746
13728
 
13747
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs
13729
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/tools/agent-toolset/skills.mjs
13748
13730
  import * as fs2 from "node:fs/promises";
13749
13731
  import * as fssync from "node:fs";
13750
13732
  import * as path4 from "node:path";
@@ -13909,7 +13891,7 @@ var init_skills2 = __esm(() => {
13909
13891
  execFileAsync = promisify(execFile);
13910
13892
  });
13911
13893
 
13912
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs
13894
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs
13913
13895
  var exports_node = {};
13914
13896
  __export(exports_node, {
13915
13897
  setupSkills: () => setupSkills,
@@ -14493,7 +14475,7 @@ var init_node = __esm(() => {
14493
14475
  };
14494
14476
  });
14495
14477
 
14496
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs
14478
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs
14497
14479
  class EnvironmentWorker {
14498
14480
  constructor(opts) {
14499
14481
  _EnvironmentWorker_instances.add(this);
@@ -14658,7 +14640,7 @@ var init_worker = __esm(() => {
14658
14640
  };
14659
14641
  });
14660
14642
 
14661
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs
14643
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs
14662
14644
  var Work;
14663
14645
  var init_work = __esm(() => {
14664
14646
  init_pagination2();
@@ -14768,7 +14750,7 @@ var init_work = __esm(() => {
14768
14750
  Work.EnvironmentWorker = EnvironmentWorker;
14769
14751
  });
14770
14752
 
14771
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs
14753
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs
14772
14754
  var Environments;
14773
14755
  var init_environments = __esm(() => {
14774
14756
  init_work();
@@ -14848,7 +14830,7 @@ var init_environments = __esm(() => {
14848
14830
  Environments.Work = Work;
14849
14831
  });
14850
14832
 
14851
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs
14833
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs
14852
14834
  var Memories;
14853
14835
  var init_memories = __esm(() => {
14854
14836
  init_pagination2();
@@ -14915,7 +14897,7 @@ var init_memories = __esm(() => {
14915
14897
  };
14916
14898
  });
14917
14899
 
14918
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs
14900
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs
14919
14901
  var MemoryVersions;
14920
14902
  var init_memory_versions = __esm(() => {
14921
14903
  init_pagination2();
@@ -14957,7 +14939,7 @@ var init_memory_versions = __esm(() => {
14957
14939
  };
14958
14940
  });
14959
14941
 
14960
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs
14942
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs
14961
14943
  var MemoryStores;
14962
14944
  var init_memory_stores = __esm(() => {
14963
14945
  init_memories();
@@ -15041,12 +15023,12 @@ var init_memory_stores = __esm(() => {
15041
15023
  MemoryStores.MemoryVersions = MemoryVersions;
15042
15024
  });
15043
15025
 
15044
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/error.mjs
15026
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/error.mjs
15045
15027
  var init_error4 = __esm(() => {
15046
15028
  init_error3();
15047
15029
  });
15048
15030
 
15049
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
15031
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
15050
15032
  var JSONLDecoder;
15051
15033
  var init_jsonl = __esm(() => {
15052
15034
  init_error3();
@@ -15083,7 +15065,7 @@ var init_jsonl = __esm(() => {
15083
15065
  };
15084
15066
  });
15085
15067
 
15086
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs
15068
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs
15087
15069
  var Batches2;
15088
15070
  var init_batches2 = __esm(() => {
15089
15071
  init_pagination2();
@@ -15169,7 +15151,7 @@ var init_batches2 = __esm(() => {
15169
15151
  };
15170
15152
  });
15171
15153
 
15172
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/constants.mjs
15154
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/constants.mjs
15173
15155
  var MODEL_NONSTREAMING_TOKENS;
15174
15156
  var init_constants = __esm(() => {
15175
15157
  MODEL_NONSTREAMING_TOKENS = {
@@ -15184,7 +15166,7 @@ var init_constants = __esm(() => {
15184
15166
  };
15185
15167
  });
15186
15168
 
15187
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs
15169
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs
15188
15170
  function getOutputFormat(params) {
15189
15171
  return params?.output_format ?? params?.output_config?.format;
15190
15172
  }
@@ -15260,12 +15242,12 @@ var init_beta_parser = __esm(() => {
15260
15242
  init_error3();
15261
15243
  });
15262
15244
 
15263
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/streaming.mjs
15245
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/streaming.mjs
15264
15246
  var init_streaming4 = __esm(() => {
15265
15247
  init_streaming3();
15266
15248
  });
15267
15249
 
15268
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs
15250
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs
15269
15251
  var tokenize = (input) => {
15270
15252
  let current = 0;
15271
15253
  let tokens = [];
@@ -15482,7 +15464,7 @@ var tokenize = (input) => {
15482
15464
  }, partialParse2 = (input) => JSON.parse(generate(unstrip(strip(tokenize(input)))));
15483
15465
  var init_parser3 = () => {};
15484
15466
 
15485
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.mjs
15467
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.mjs
15486
15468
  function withLazyInput(prev, jsonBuf) {
15487
15469
  const next = {};
15488
15470
  for (const key of Object.keys(prev)) {
@@ -15510,7 +15492,7 @@ var init_message_stream_utils = __esm(() => {
15510
15492
  init_parser3();
15511
15493
  });
15512
15494
 
15513
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs
15495
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs
15514
15496
  function tracksToolInput(content) {
15515
15497
  return content.type === "tool_use" || content.type === "server_tool_use" || content.type === "mcp_tool_use";
15516
15498
  }
@@ -16064,7 +16046,7 @@ var init_BetaMessageStream = __esm(() => {
16064
16046
  };
16065
16047
  });
16066
16048
 
16067
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs
16049
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs
16068
16050
  var DEFAULT_TOKEN_THRESHOLD = 1e5, DEFAULT_SUMMARY_PROMPT = `You have been working on the task described above but have not yet completed it. Write a continuation summary that will allow you (or another instance of yourself) to resume work efficiently in a future context window where the conversation history will be replaced with this summary. Your summary should be structured, concise, and actionable. Include:
16069
16051
  1. Task Overview
16070
16052
  The user's core request and success criteria
@@ -16089,7 +16071,7 @@ Any promises made to the user
16089
16071
  Be concise but complete—err on the side of including information that would prevent duplicate work or repeated mistakes. Write in a way that enables immediate resumption of the task.
16090
16072
  Wrap your summary in <summary></summary> tags.`;
16091
16073
 
16092
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs
16074
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs
16093
16075
  async function generateToolResponse(params, lastMessage = params.messages.at(-1), requestOptions) {
16094
16076
  if (!lastMessage || lastMessage.role !== "assistant" || !lastMessage.content || typeof lastMessage.content === "string") {
16095
16077
  return null;
@@ -16358,7 +16340,7 @@ var init_BetaToolRunner = __esm(() => {
16358
16340
  };
16359
16341
  });
16360
16342
 
16361
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs
16343
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs
16362
16344
  function transformOutputFormat(params) {
16363
16345
  if (!params.output_format) {
16364
16346
  return params;
@@ -16485,7 +16467,7 @@ Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resour
16485
16467
  Messages3.ToolError = ToolError;
16486
16468
  });
16487
16469
 
16488
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs
16470
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs
16489
16471
  var Events;
16490
16472
  var init_events = __esm(() => {
16491
16473
  init_pagination2();
@@ -16535,7 +16517,7 @@ var init_events = __esm(() => {
16535
16517
  Events.SessionToolRunner = SessionToolRunner;
16536
16518
  });
16537
16519
 
16538
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs
16520
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs
16539
16521
  var Resources;
16540
16522
  var init_resources2 = __esm(() => {
16541
16523
  init_pagination2();
@@ -16598,7 +16580,7 @@ var init_resources2 = __esm(() => {
16598
16580
  };
16599
16581
  });
16600
16582
 
16601
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs
16583
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs
16602
16584
  var Events2;
16603
16585
  var init_events2 = __esm(() => {
16604
16586
  init_pagination2();
@@ -16630,7 +16612,7 @@ var init_events2 = __esm(() => {
16630
16612
  };
16631
16613
  });
16632
16614
 
16633
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs
16615
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs
16634
16616
  var Threads3;
16635
16617
  var init_threads3 = __esm(() => {
16636
16618
  init_events2();
@@ -16678,7 +16660,7 @@ var init_threads3 = __esm(() => {
16678
16660
  Threads3.Events = Events2;
16679
16661
  });
16680
16662
 
16681
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs
16663
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs
16682
16664
  var Sessions3;
16683
16665
  var init_sessions3 = __esm(() => {
16684
16666
  init_events();
@@ -16766,7 +16748,7 @@ var init_sessions3 = __esm(() => {
16766
16748
  Sessions3.Threads = Threads3;
16767
16749
  });
16768
16750
 
16769
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs
16751
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs
16770
16752
  var Versions3;
16771
16753
  var init_versions3 = __esm(() => {
16772
16754
  init_pagination2();
@@ -16833,7 +16815,7 @@ var init_versions3 = __esm(() => {
16833
16815
  };
16834
16816
  });
16835
16817
 
16836
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs
16818
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs
16837
16819
  var Skills2;
16838
16820
  var init_skills3 = __esm(() => {
16839
16821
  init_versions3();
@@ -16893,7 +16875,7 @@ var init_skills3 = __esm(() => {
16893
16875
  Skills2.Versions = Versions3;
16894
16876
  });
16895
16877
 
16896
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs
16878
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs
16897
16879
  var Certificates3;
16898
16880
  var init_certificates3 = __esm(() => {
16899
16881
  init_pagination2();
@@ -16945,7 +16927,7 @@ var init_certificates3 = __esm(() => {
16945
16927
  };
16946
16928
  });
16947
16929
 
16948
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs
16930
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs
16949
16931
  var Tunnels;
16950
16932
  var init_tunnels = __esm(() => {
16951
16933
  init_certificates3();
@@ -17025,7 +17007,7 @@ var init_tunnels = __esm(() => {
17025
17007
  Tunnels.Certificates = Certificates3;
17026
17008
  });
17027
17009
 
17028
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs
17010
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs
17029
17011
  var Credentials;
17030
17012
  var init_credentials2 = __esm(() => {
17031
17013
  init_pagination2();
@@ -17108,7 +17090,7 @@ var init_credentials2 = __esm(() => {
17108
17090
  };
17109
17091
  });
17110
17092
 
17111
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs
17093
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs
17112
17094
  var Vaults;
17113
17095
  var init_vaults = __esm(() => {
17114
17096
  init_credentials2();
@@ -17188,7 +17170,7 @@ var init_vaults = __esm(() => {
17188
17170
  Vaults.Credentials = Credentials;
17189
17171
  });
17190
17172
 
17191
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs
17173
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs
17192
17174
  var Beta2;
17193
17175
  var init_beta2 = __esm(() => {
17194
17176
  init_deployment_runs();
@@ -17258,7 +17240,7 @@ var init_beta2 = __esm(() => {
17258
17240
  Beta2.Tunnels = Tunnels;
17259
17241
  });
17260
17242
 
17261
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/completions.mjs
17243
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/completions.mjs
17262
17244
  var Completions3;
17263
17245
  var init_completions4 = __esm(() => {
17264
17246
  init_headers2();
@@ -17279,7 +17261,7 @@ var init_completions4 = __esm(() => {
17279
17261
  };
17280
17262
  });
17281
17263
 
17282
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/parser.mjs
17264
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/parser.mjs
17283
17265
  function getOutputFormat2(params) {
17284
17266
  return params?.output_config?.format;
17285
17267
  }
@@ -17343,7 +17325,7 @@ var init_parser4 = __esm(() => {
17343
17325
  init_error3();
17344
17326
  });
17345
17327
 
17346
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs
17328
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs
17347
17329
  function tracksToolInput2(content) {
17348
17330
  return content.type === "tool_use" || content.type === "server_tool_use";
17349
17331
  }
@@ -17856,7 +17838,7 @@ var init_MessageStream = __esm(() => {
17856
17838
  };
17857
17839
  });
17858
17840
 
17859
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs
17841
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs
17860
17842
  var Batches3;
17861
17843
  var init_batches3 = __esm(() => {
17862
17844
  init_pagination2();
@@ -17903,7 +17885,7 @@ var init_batches3 = __esm(() => {
17903
17885
  };
17904
17886
  });
17905
17887
 
17906
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs
17888
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs
17907
17889
  var Messages4, DEPRECATED_MODELS2, MODELS_TO_WARN_WITH_THINKING_ENABLED2;
17908
17890
  var init_messages4 = __esm(() => {
17909
17891
  init_headers2();
@@ -17989,7 +17971,7 @@ Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resour
17989
17971
  Messages4.Batches = Batches3;
17990
17972
  });
17991
17973
 
17992
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/models.mjs
17974
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/models.mjs
17993
17975
  var Models3;
17994
17976
  var init_models4 = __esm(() => {
17995
17977
  init_pagination2();
@@ -18020,7 +18002,7 @@ var init_models4 = __esm(() => {
18020
18002
  };
18021
18003
  });
18022
18004
 
18023
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/index.mjs
18005
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/resources/index.mjs
18024
18006
  var init_resources3 = __esm(() => {
18025
18007
  init_beta2();
18026
18008
  init_completions4();
@@ -18029,7 +18011,7 @@ var init_resources3 = __esm(() => {
18029
18011
  init_shared2();
18030
18012
  });
18031
18013
 
18032
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/client.mjs
18014
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/client.mjs
18033
18015
  class BaseAnthropic {
18034
18016
  get credentials() {
18035
18017
  return this._authState.provider;
@@ -18682,7 +18664,7 @@ var init_client2 = __esm(() => {
18682
18664
  Anthropic.Beta = Beta2;
18683
18665
  });
18684
18666
 
18685
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/middleware.mjs
18667
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/lib/middleware.mjs
18686
18668
  var encoder;
18687
18669
  var init_middleware2 = __esm(() => {
18688
18670
  init_error3();
@@ -18693,7 +18675,7 @@ var init_middleware2 = __esm(() => {
18693
18675
  encoder = new TextEncoder;
18694
18676
  });
18695
18677
 
18696
- // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.1+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/index.mjs
18678
+ // ../../node_modules/.bun/@anthropic-ai+sdk@0.112.3+68a1e3a0c4588df3/node_modules/@anthropic-ai/sdk/index.mjs
18697
18679
  var init_sdk = __esm(() => {
18698
18680
  init_client2();
18699
18681
  init_uploads5();
@@ -97884,6 +97866,77 @@ var init_node2 = __esm(() => {
97884
97866
  };
97885
97867
  });
97886
97868
 
97869
+ // ../../node_modules/.bun/uuid@11.1.1/node_modules/uuid/dist/esm/native.js
97870
+ import { randomUUID as randomUUID3 } from "crypto";
97871
+ var native_default;
97872
+ var init_native = __esm(() => {
97873
+ native_default = { randomUUID: randomUUID3 };
97874
+ });
97875
+
97876
+ // ../../node_modules/.bun/uuid@11.1.1/node_modules/uuid/dist/esm/rng.js
97877
+ import { randomFillSync } from "crypto";
97878
+ function rng() {
97879
+ if (poolPtr > rnds8Pool.length - 16) {
97880
+ randomFillSync(rnds8Pool);
97881
+ poolPtr = 0;
97882
+ }
97883
+ return rnds8Pool.slice(poolPtr, poolPtr += 16);
97884
+ }
97885
+ var rnds8Pool, poolPtr;
97886
+ var init_rng = __esm(() => {
97887
+ rnds8Pool = new Uint8Array(256);
97888
+ poolPtr = rnds8Pool.length;
97889
+ });
97890
+
97891
+ // ../../node_modules/.bun/uuid@11.1.1/node_modules/uuid/dist/esm/stringify.js
97892
+ function unsafeStringify(arr, offset = 0) {
97893
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
97894
+ }
97895
+ var byteToHex;
97896
+ var init_stringify3 = __esm(() => {
97897
+ byteToHex = [];
97898
+ for (let i2 = 0;i2 < 256; ++i2) {
97899
+ byteToHex.push((i2 + 256).toString(16).slice(1));
97900
+ }
97901
+ });
97902
+
97903
+ // ../../node_modules/.bun/uuid@11.1.1/node_modules/uuid/dist/esm/v4.js
97904
+ function v4(options, buf, offset) {
97905
+ if (native_default.randomUUID && !buf && !options) {
97906
+ return native_default.randomUUID();
97907
+ }
97908
+ options = options || {};
97909
+ const rnds = options.random ?? options.rng?.() ?? rng();
97910
+ if (rnds.length < 16) {
97911
+ throw new Error("Random bytes length must be >= 16");
97912
+ }
97913
+ rnds[6] = rnds[6] & 15 | 64;
97914
+ rnds[8] = rnds[8] & 63 | 128;
97915
+ if (buf) {
97916
+ offset = offset || 0;
97917
+ if (offset < 0 || offset + 16 > buf.length) {
97918
+ throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
97919
+ }
97920
+ for (let i2 = 0;i2 < 16; ++i2) {
97921
+ buf[offset + i2] = rnds[i2];
97922
+ }
97923
+ return buf;
97924
+ }
97925
+ return unsafeStringify(rnds);
97926
+ }
97927
+ var v4_default;
97928
+ var init_v4 = __esm(() => {
97929
+ init_native();
97930
+ init_rng();
97931
+ init_stringify3();
97932
+ v4_default = v4;
97933
+ });
97934
+
97935
+ // ../../node_modules/.bun/uuid@11.1.1/node_modules/uuid/dist/esm/index.js
97936
+ var init_esm = __esm(() => {
97937
+ init_v4();
97938
+ });
97939
+
97887
97940
  // ../../packages/providers/src/providers/gemini.ts
97888
97941
  function sanitizeSchemaForGemini(schema) {
97889
97942
  if (!schema || typeof schema !== "object")
@@ -97934,7 +97987,9 @@ function geminiProvider(apiKey) {
97934
97987
  delete extraFields.thoughtSignature;
97935
97988
  }
97936
97989
  }
97937
- } catch {}
97990
+ } catch (e2) {
97991
+ console.warn("[gemini provider] failed to parse toolCallId:", e2);
97992
+ }
97938
97993
  for (let i2 = geminiMessages.length - 1;i2 >= 0; i2--) {
97939
97994
  const prev = geminiMessages[i2];
97940
97995
  if (prev.role === "model") {
@@ -97975,7 +98030,9 @@ function geminiProvider(apiKey) {
97975
98030
  delete extraFields.thoughtSignature;
97976
98031
  }
97977
98032
  }
97978
- } catch {}
98033
+ } catch (e2) {
98034
+ console.warn("[gemini provider] failed to parse tool call id:", e2);
98035
+ }
97979
98036
  const part = {
97980
98037
  functionCall: {
97981
98038
  ...extraFields,
@@ -98043,7 +98100,7 @@ function geminiProvider(apiKey) {
98043
98100
  if (fc.id) {
98044
98101
  extraFields.id = fc.id;
98045
98102
  } else {
98046
- extraFields.id = Math.random().toString(36).substring(7);
98103
+ extraFields.id = v4_default();
98047
98104
  }
98048
98105
  if (part.thoughtSignature) {
98049
98106
  extraFields.thoughtSignature = part.thoughtSignature;
@@ -98070,6 +98127,7 @@ function geminiProvider(apiKey) {
98070
98127
  var init_gemini = __esm(() => {
98071
98128
  init_src();
98072
98129
  init_node2();
98130
+ init_esm();
98073
98131
  init_models();
98074
98132
  });
98075
98133
 
@@ -98077,8 +98135,8 @@ var init_gemini = __esm(() => {
98077
98135
  function openrouterProvider(apiKey) {
98078
98136
  const key = apiKey || process.env.OPENROUTER_API_KEY;
98079
98137
  const provider = openaiProvider("https://openrouter.ai/api/v1", key, {
98080
- "HTTP-Referer": "https://december.dev",
98081
- "X-Title": "December Cloud"
98138
+ "HTTP-Referer": "https://trydecember.com",
98139
+ "X-Title": "December"
98082
98140
  });
98083
98141
  return {
98084
98142
  ...provider,
@@ -98296,242 +98354,29 @@ var init_compaction = __esm(() => {
98296
98354
  init_src3();
98297
98355
  });
98298
98356
 
98299
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/max.js
98300
- var max_default = "ffffffff-ffff-ffff-ffff-ffffffffffff";
98301
-
98302
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/nil.js
98303
- var nil_default = "00000000-0000-0000-0000-000000000000";
98304
-
98305
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/regex.js
98306
- var regex_default;
98307
- var init_regex = __esm(() => {
98308
- regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;
98309
- });
98310
-
98311
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/validate.js
98312
- function validate(uuid3) {
98313
- return typeof uuid3 === "string" && regex_default.test(uuid3);
98314
- }
98315
- var validate_default;
98316
- var init_validate = __esm(() => {
98317
- init_regex();
98318
- validate_default = validate;
98319
- });
98320
-
98321
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/parse.js
98322
- function parse2(uuid3) {
98323
- if (!validate_default(uuid3)) {
98324
- throw TypeError("Invalid UUID");
98325
- }
98326
- let v;
98327
- return Uint8Array.of((v = parseInt(uuid3.slice(0, 8), 16)) >>> 24, v >>> 16 & 255, v >>> 8 & 255, v & 255, (v = parseInt(uuid3.slice(9, 13), 16)) >>> 8, v & 255, (v = parseInt(uuid3.slice(14, 18), 16)) >>> 8, v & 255, (v = parseInt(uuid3.slice(19, 23), 16)) >>> 8, v & 255, (v = parseInt(uuid3.slice(24, 36), 16)) / 1099511627776 & 255, v / 4294967296 & 255, v >>> 24 & 255, v >>> 16 & 255, v >>> 8 & 255, v & 255);
98328
- }
98329
- var parse_default;
98330
- var init_parse3 = __esm(() => {
98331
- init_validate();
98332
- parse_default = parse2;
98333
- });
98334
-
98335
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/stringify.js
98336
- function unsafeStringify(arr, offset = 0) {
98337
- return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
98338
- }
98339
- function stringify3(arr, offset = 0) {
98340
- const uuid3 = unsafeStringify(arr, offset);
98341
- if (!validate_default(uuid3)) {
98342
- throw TypeError("Stringified UUID is invalid");
98343
- }
98344
- return uuid3;
98345
- }
98346
- var byteToHex, stringify_default;
98347
- var init_stringify3 = __esm(() => {
98348
- init_validate();
98349
- byteToHex = [];
98350
- for (let i2 = 0;i2 < 256; ++i2) {
98351
- byteToHex.push((i2 + 256).toString(16).slice(1));
98352
- }
98353
- stringify_default = stringify3;
98354
- });
98355
-
98356
98357
  // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/rng.js
98357
- function rng() {
98358
+ function rng2() {
98358
98359
  return crypto.getRandomValues(rnds8);
98359
98360
  }
98360
98361
  var rnds8;
98361
- var init_rng = __esm(() => {
98362
+ var init_rng2 = __esm(() => {
98362
98363
  rnds8 = new Uint8Array(16);
98363
98364
  });
98364
98365
 
98365
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v1.js
98366
- function v1(options, buf, offset) {
98367
- let bytes;
98368
- const isV6 = options?._v6 ?? false;
98369
- if (options) {
98370
- const optionsKeys = Object.keys(options);
98371
- if (optionsKeys.length === 1 && optionsKeys[0] === "_v6") {
98372
- options = undefined;
98373
- }
98374
- }
98375
- if (options) {
98376
- bytes = v1Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.nsecs, options.clockseq, options.node, buf, offset);
98377
- } else {
98378
- const now = Date.now();
98379
- const rnds = rng();
98380
- updateV1State(_state, now, rnds);
98381
- bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset);
98382
- }
98383
- return buf ?? unsafeStringify(bytes);
98384
- }
98385
- function updateV1State(state, now, rnds) {
98386
- state.msecs ??= -Infinity;
98387
- state.nsecs ??= 0;
98388
- if (now === state.msecs) {
98389
- state.nsecs++;
98390
- if (state.nsecs >= 1e4) {
98391
- state.node = undefined;
98392
- state.nsecs = 0;
98393
- }
98394
- } else if (now > state.msecs) {
98395
- state.nsecs = 0;
98396
- } else if (now < state.msecs) {
98397
- state.node = undefined;
98398
- }
98399
- if (!state.node) {
98400
- state.node = rnds.slice(10, 16);
98401
- state.node[0] |= 1;
98402
- state.clockseq = (rnds[8] << 8 | rnds[9]) & 16383;
98403
- }
98404
- state.msecs = now;
98405
- return state;
98406
- }
98407
- function v1Bytes(rnds, msecs, nsecs, clockseq, node, buf, offset = 0) {
98408
- if (rnds.length < 16) {
98409
- throw new Error("Random bytes length must be >= 16");
98410
- }
98411
- if (!buf) {
98412
- buf = new Uint8Array(16);
98413
- offset = 0;
98414
- } else {
98415
- if (offset < 0 || offset + 16 > buf.length) {
98416
- throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
98417
- }
98418
- }
98419
- msecs ??= Date.now();
98420
- nsecs ??= 0;
98421
- clockseq ??= (rnds[8] << 8 | rnds[9]) & 16383;
98422
- node ??= rnds.slice(10, 16);
98423
- msecs += 12219292800000;
98424
- const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296;
98425
- buf[offset++] = tl >>> 24 & 255;
98426
- buf[offset++] = tl >>> 16 & 255;
98427
- buf[offset++] = tl >>> 8 & 255;
98428
- buf[offset++] = tl & 255;
98429
- const tmh = msecs / 4294967296 * 1e4 & 268435455;
98430
- buf[offset++] = tmh >>> 8 & 255;
98431
- buf[offset++] = tmh & 255;
98432
- buf[offset++] = tmh >>> 24 & 15 | 16;
98433
- buf[offset++] = tmh >>> 16 & 255;
98434
- buf[offset++] = clockseq >>> 8 | 128;
98435
- buf[offset++] = clockseq & 255;
98436
- for (let n = 0;n < 6; ++n) {
98437
- buf[offset++] = node[n];
98438
- }
98439
- return buf;
98440
- }
98441
- var _state, v1_default;
98442
- var init_v1 = __esm(() => {
98443
- init_rng();
98444
- init_stringify3();
98445
- _state = {};
98446
- v1_default = v1;
98447
- });
98448
-
98449
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v1ToV6.js
98450
- function v1ToV6(uuid3) {
98451
- const v1Bytes2 = typeof uuid3 === "string" ? parse_default(uuid3) : uuid3;
98452
- const v6Bytes = _v1ToV6(v1Bytes2);
98453
- return typeof uuid3 === "string" ? unsafeStringify(v6Bytes) : v6Bytes;
98454
- }
98455
- function _v1ToV6(v1Bytes2) {
98456
- return Uint8Array.of((v1Bytes2[6] & 15) << 4 | v1Bytes2[7] >> 4 & 15, (v1Bytes2[7] & 15) << 4 | (v1Bytes2[4] & 240) >> 4, (v1Bytes2[4] & 15) << 4 | (v1Bytes2[5] & 240) >> 4, (v1Bytes2[5] & 15) << 4 | (v1Bytes2[0] & 240) >> 4, (v1Bytes2[0] & 15) << 4 | (v1Bytes2[1] & 240) >> 4, (v1Bytes2[1] & 15) << 4 | (v1Bytes2[2] & 240) >> 4, 96 | v1Bytes2[2] & 15, v1Bytes2[3], v1Bytes2[8], v1Bytes2[9], v1Bytes2[10], v1Bytes2[11], v1Bytes2[12], v1Bytes2[13], v1Bytes2[14], v1Bytes2[15]);
98366
+ // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/stringify.js
98367
+ function unsafeStringify2(arr, offset = 0) {
98368
+ return (byteToHex2[arr[offset + 0]] + byteToHex2[arr[offset + 1]] + byteToHex2[arr[offset + 2]] + byteToHex2[arr[offset + 3]] + "-" + byteToHex2[arr[offset + 4]] + byteToHex2[arr[offset + 5]] + "-" + byteToHex2[arr[offset + 6]] + byteToHex2[arr[offset + 7]] + "-" + byteToHex2[arr[offset + 8]] + byteToHex2[arr[offset + 9]] + "-" + byteToHex2[arr[offset + 10]] + byteToHex2[arr[offset + 11]] + byteToHex2[arr[offset + 12]] + byteToHex2[arr[offset + 13]] + byteToHex2[arr[offset + 14]] + byteToHex2[arr[offset + 15]]).toLowerCase();
98457
98369
  }
98458
- var init_v1ToV6 = __esm(() => {
98459
- init_parse3();
98460
- init_stringify3();
98461
- });
98462
-
98463
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/md5.js
98464
- import { createHash } from "node:crypto";
98465
- function md5(bytes) {
98466
- if (Array.isArray(bytes)) {
98467
- bytes = Buffer.from(bytes);
98468
- } else if (typeof bytes === "string") {
98469
- bytes = Buffer.from(bytes, "utf8");
98370
+ var byteToHex2;
98371
+ var init_stringify4 = __esm(() => {
98372
+ byteToHex2 = [];
98373
+ for (let i2 = 0;i2 < 256; ++i2) {
98374
+ byteToHex2.push((i2 + 256).toString(16).slice(1));
98470
98375
  }
98471
- return createHash("md5").update(bytes).digest();
98472
- }
98473
- var md5_default;
98474
- var init_md5 = __esm(() => {
98475
- md5_default = md5;
98476
- });
98477
-
98478
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v35.js
98479
- function stringToBytes2(str2) {
98480
- str2 = unescape(encodeURIComponent(str2));
98481
- const bytes = new Uint8Array(str2.length);
98482
- for (let i2 = 0;i2 < str2.length; ++i2) {
98483
- bytes[i2] = str2.charCodeAt(i2);
98484
- }
98485
- return bytes;
98486
- }
98487
- function v35(version, hash, value, namespace, buf, offset) {
98488
- const valueBytes = typeof value === "string" ? stringToBytes2(value) : value;
98489
- const namespaceBytes = typeof namespace === "string" ? parse_default(namespace) : namespace;
98490
- if (typeof namespace === "string") {
98491
- namespace = parse_default(namespace);
98492
- }
98493
- if (namespace?.length !== 16) {
98494
- throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
98495
- }
98496
- let bytes = new Uint8Array(16 + valueBytes.length);
98497
- bytes.set(namespaceBytes);
98498
- bytes.set(valueBytes, namespaceBytes.length);
98499
- bytes = hash(bytes);
98500
- bytes[6] = bytes[6] & 15 | version;
98501
- bytes[8] = bytes[8] & 63 | 128;
98502
- if (buf) {
98503
- offset ??= 0;
98504
- if (offset < 0 || offset + 16 > buf.length) {
98505
- throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
98506
- }
98507
- for (let i2 = 0;i2 < 16; ++i2) {
98508
- buf[offset + i2] = bytes[i2];
98509
- }
98510
- return buf;
98511
- }
98512
- return unsafeStringify(bytes);
98513
- }
98514
- var DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", URL2 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
98515
- var init_v35 = __esm(() => {
98516
- init_parse3();
98517
- init_stringify3();
98518
- });
98519
-
98520
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v3.js
98521
- function v3(value, namespace, buf, offset) {
98522
- return v35(48, md5_default, value, namespace, buf, offset);
98523
- }
98524
- var v3_default;
98525
- var init_v3 = __esm(() => {
98526
- init_md5();
98527
- init_v35();
98528
- v3.DNS = DNS;
98529
- v3.URL = URL2;
98530
- v3_default = v3;
98531
98376
  });
98532
98377
 
98533
98378
  // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v4.js
98534
- function v4(options, buf, offset) {
98379
+ function v42(options, buf, offset) {
98535
98380
  if (!buf && !options && crypto.randomUUID) {
98536
98381
  return crypto.randomUUID();
98537
98382
  }
@@ -98539,7 +98384,7 @@ function v4(options, buf, offset) {
98539
98384
  }
98540
98385
  function _v4(options, buf, offset) {
98541
98386
  options = options || {};
98542
- const rnds = options.random ?? options.rng?.() ?? rng();
98387
+ const rnds = options.random ?? options.rng?.() ?? rng2();
98543
98388
  if (rnds.length < 16) {
98544
98389
  throw new Error("Random bytes length must be >= 16");
98545
98390
  }
@@ -98555,193 +98400,18 @@ function _v4(options, buf, offset) {
98555
98400
  }
98556
98401
  return buf;
98557
98402
  }
98558
- return unsafeStringify(rnds);
98559
- }
98560
- var v4_default;
98561
- var init_v4 = __esm(() => {
98562
- init_rng();
98563
- init_stringify3();
98564
- v4_default = v4;
98565
- });
98566
-
98567
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/sha1.js
98568
- import { createHash as createHash2 } from "node:crypto";
98569
- function sha1(bytes) {
98570
- if (Array.isArray(bytes)) {
98571
- bytes = Buffer.from(bytes);
98572
- } else if (typeof bytes === "string") {
98573
- bytes = Buffer.from(bytes, "utf8");
98574
- }
98575
- return createHash2("sha1").update(bytes).digest();
98576
- }
98577
- var sha1_default;
98578
- var init_sha1 = __esm(() => {
98579
- sha1_default = sha1;
98580
- });
98581
-
98582
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v5.js
98583
- function v5(value, namespace, buf, offset) {
98584
- return v35(80, sha1_default, value, namespace, buf, offset);
98585
- }
98586
- var v5_default;
98587
- var init_v5 = __esm(() => {
98588
- init_sha1();
98589
- init_v35();
98590
- v5.DNS = DNS;
98591
- v5.URL = URL2;
98592
- v5_default = v5;
98593
- });
98594
-
98595
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v6.js
98596
- function v6(options, buf, offset) {
98597
- options ??= {};
98598
- offset ??= 0;
98599
- let bytes = v1_default({ ...options, _v6: true }, new Uint8Array(16));
98600
- bytes = v1ToV6(bytes);
98601
- if (buf) {
98602
- if (offset < 0 || offset + 16 > buf.length) {
98603
- throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
98604
- }
98605
- for (let i2 = 0;i2 < 16; i2++) {
98606
- buf[offset + i2] = bytes[i2];
98607
- }
98608
- return buf;
98609
- }
98610
- return unsafeStringify(bytes);
98611
- }
98612
- var v6_default;
98613
- var init_v6 = __esm(() => {
98614
- init_stringify3();
98615
- init_v1();
98616
- init_v1ToV6();
98617
- v6_default = v6;
98618
- });
98619
-
98620
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v6ToV1.js
98621
- function v6ToV1(uuid3) {
98622
- const v6Bytes = typeof uuid3 === "string" ? parse_default(uuid3) : uuid3;
98623
- const v1Bytes2 = _v6ToV1(v6Bytes);
98624
- return typeof uuid3 === "string" ? unsafeStringify(v1Bytes2) : v1Bytes2;
98625
- }
98626
- function _v6ToV1(v6Bytes) {
98627
- return Uint8Array.of((v6Bytes[3] & 15) << 4 | v6Bytes[4] >> 4 & 15, (v6Bytes[4] & 15) << 4 | (v6Bytes[5] & 240) >> 4, (v6Bytes[5] & 15) << 4 | v6Bytes[6] & 15, v6Bytes[7], (v6Bytes[1] & 15) << 4 | (v6Bytes[2] & 240) >> 4, (v6Bytes[2] & 15) << 4 | (v6Bytes[3] & 240) >> 4, 16 | (v6Bytes[0] & 240) >> 4, (v6Bytes[0] & 15) << 4 | (v6Bytes[1] & 240) >> 4, v6Bytes[8], v6Bytes[9], v6Bytes[10], v6Bytes[11], v6Bytes[12], v6Bytes[13], v6Bytes[14], v6Bytes[15]);
98628
- }
98629
- var init_v6ToV1 = __esm(() => {
98630
- init_parse3();
98631
- init_stringify3();
98632
- });
98633
-
98634
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/v7.js
98635
- function v7(options, buf, offset) {
98636
- let bytes;
98637
- if (options) {
98638
- bytes = v7Bytes(options.random ?? options.rng?.() ?? rng(), options.msecs, options.seq, buf, offset);
98639
- } else {
98640
- const now = Date.now();
98641
- const rnds = rng();
98642
- updateV7State(_state2, now, rnds);
98643
- bytes = v7Bytes(rnds, _state2.msecs, _state2.seq, buf, offset);
98644
- }
98645
- return buf ?? unsafeStringify(bytes);
98646
- }
98647
- function updateV7State(state, now, rnds) {
98648
- state.msecs ??= -Infinity;
98649
- state.seq ??= 0;
98650
- if (now > state.msecs) {
98651
- state.seq = rnds[6] << 23 | rnds[7] << 16 | rnds[8] << 8 | rnds[9];
98652
- state.msecs = now;
98653
- } else {
98654
- state.seq = state.seq + 1 | 0;
98655
- if (state.seq === 0) {
98656
- state.msecs++;
98657
- }
98658
- }
98659
- return state;
98403
+ return unsafeStringify2(rnds);
98660
98404
  }
98661
- function v7Bytes(rnds, msecs, seq, buf, offset = 0) {
98662
- if (rnds.length < 16) {
98663
- throw new Error("Random bytes length must be >= 16");
98664
- }
98665
- if (!buf) {
98666
- buf = new Uint8Array(16);
98667
- offset = 0;
98668
- } else {
98669
- if (offset < 0 || offset + 16 > buf.length) {
98670
- throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
98671
- }
98672
- }
98673
- msecs ??= Date.now();
98674
- seq ??= rnds[6] * 127 << 24 | rnds[7] << 16 | rnds[8] << 8 | rnds[9];
98675
- buf[offset++] = msecs / 1099511627776 & 255;
98676
- buf[offset++] = msecs / 4294967296 & 255;
98677
- buf[offset++] = msecs / 16777216 & 255;
98678
- buf[offset++] = msecs / 65536 & 255;
98679
- buf[offset++] = msecs / 256 & 255;
98680
- buf[offset++] = msecs & 255;
98681
- buf[offset++] = 112 | seq >>> 28 & 15;
98682
- buf[offset++] = seq >>> 20 & 255;
98683
- buf[offset++] = 128 | seq >>> 14 & 63;
98684
- buf[offset++] = seq >>> 6 & 255;
98685
- buf[offset++] = seq << 2 & 255 | rnds[10] & 3;
98686
- buf[offset++] = rnds[11];
98687
- buf[offset++] = rnds[12];
98688
- buf[offset++] = rnds[13];
98689
- buf[offset++] = rnds[14];
98690
- buf[offset++] = rnds[15];
98691
- return buf;
98692
- }
98693
- var _state2, v7_default;
98694
- var init_v7 = __esm(() => {
98695
- init_rng();
98696
- init_stringify3();
98697
- _state2 = {};
98698
- v7_default = v7;
98699
- });
98700
-
98701
- // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/version.js
98702
- function version(uuid3) {
98703
- if (!validate_default(uuid3)) {
98704
- throw TypeError("Invalid UUID");
98705
- }
98706
- return parseInt(uuid3.slice(14, 15), 16);
98707
- }
98708
- var version_default;
98709
- var init_version = __esm(() => {
98710
- init_validate();
98711
- version_default = version;
98405
+ var v4_default2;
98406
+ var init_v42 = __esm(() => {
98407
+ init_rng2();
98408
+ init_stringify4();
98409
+ v4_default2 = v42;
98712
98410
  });
98713
98411
 
98714
98412
  // ../../node_modules/.bun/uuid@14.0.1/node_modules/uuid/dist-node/index.js
98715
- var exports_dist_node = {};
98716
- __export(exports_dist_node, {
98717
- version: () => version_default,
98718
- validate: () => validate_default,
98719
- v7: () => v7_default,
98720
- v6ToV1: () => v6ToV1,
98721
- v6: () => v6_default,
98722
- v5: () => v5_default,
98723
- v4: () => v4_default,
98724
- v3: () => v3_default,
98725
- v1ToV6: () => v1ToV6,
98726
- v1: () => v1_default,
98727
- stringify: () => stringify_default,
98728
- parse: () => parse_default,
98729
- NIL: () => nil_default,
98730
- MAX: () => max_default
98731
- });
98732
98413
  var init_dist_node = __esm(() => {
98733
- init_parse3();
98734
- init_stringify3();
98735
- init_v1();
98736
- init_v1ToV6();
98737
- init_v3();
98738
- init_v4();
98739
- init_v5();
98740
- init_v6();
98741
- init_v6ToV1();
98742
- init_v7();
98743
- init_validate();
98744
- init_version();
98414
+ init_v42();
98745
98415
  });
98746
98416
 
98747
98417
  // ../../packages/agent/src/conversation-manager.ts
@@ -98758,7 +98428,7 @@ class ConversationManager {
98758
98428
  }
98759
98429
  addMessage(msg) {
98760
98430
  if (!msg.id)
98761
- msg.id = (init_dist_node(), __toCommonJS(exports_dist_node)).v4();
98431
+ msg.id = v4_default2();
98762
98432
  if (msg.parentId === undefined) {
98763
98433
  const parent = this._messages[this._messages.length - 1];
98764
98434
  msg.parentId = parent ? parent.id : undefined;
@@ -98779,6 +98449,7 @@ class ConversationManager {
98779
98449
  }
98780
98450
  var init_conversation_manager = __esm(() => {
98781
98451
  init_compaction();
98452
+ init_dist_node();
98782
98453
  });
98783
98454
 
98784
98455
  // ../../packages/agent/src/agent.ts
@@ -98825,7 +98496,7 @@ class Agent {
98825
98496
  convertToLlm;
98826
98497
  constructor(config) {
98827
98498
  this.llm = config.llm;
98828
- this.systemPrompt = config.systemPrompt || "You are a helpful autonomous software engineer.";
98499
+ this.systemPrompt = config.systemPrompt || "You are a helpful coding agent.";
98829
98500
  this.sessionId = config.sessionId || "default";
98830
98501
  this.sessionRepository = config.sessionRepository;
98831
98502
  this.hooks = config.hooks;
@@ -99429,7 +99100,7 @@ async function executeSingleTool(agent, toolCall, eventQueue, signal) {
99429
99100
  if (agent.sessionId.startsWith("subagent-")) {
99430
99101
  throw new Error("Depth limit reached: Subagents cannot spawn their own subagents.");
99431
99102
  }
99432
- const subagentId = `subagent-${v4_default().slice(0, 8)}`;
99103
+ const subagentId = `subagent-${v4_default2().slice(0, 8)}`;
99433
99104
  const readOnlyTools = Array.from(agent.tools.values()).filter((t2) => ["read_file", "list_dir", "find_files", "grep_search"].includes(t2.name));
99434
99105
  const subagent = new Agent({
99435
99106
  sessionId: subagentId,
@@ -100584,7 +100255,7 @@ var _parse = (_Err) => (schema, value, _ctx, _params) => {
100584
100255
  }, _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
100585
100256
  return _safeParseAsync(_Err)(schema, value, _ctx);
100586
100257
  };
100587
- var init_parse4 = __esm(() => {
100258
+ var init_parse3 = __esm(() => {
100588
100259
  init_core();
100589
100260
  init_errors();
100590
100261
  init_util();
@@ -100614,10 +100285,10 @@ function datetime(args) {
100614
100285
  const timeRegex = `${time2}(?:${opts.join("|")})`;
100615
100286
  return new RegExp(`^${dateSource}T(?:${timeRegex})$`);
100616
100287
  }
100617
- var cuid, cuid2, ulid, xid, ksuid, nanoid, duration, guid, uuid3 = (version2) => {
100618
- if (!version2)
100288
+ var cuid, cuid2, ulid, xid, ksuid, nanoid, duration, guid, uuid3 = (version) => {
100289
+ if (!version)
100619
100290
  return /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;
100620
- return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version2}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
100291
+ return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
100621
100292
  }, email, _emoji = `^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`, ipv4, ipv6, cidrv4, cidrv6, base643, base64url, httpProtocol, e164, dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`, date, string = (params) => {
100622
100293
  const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
100623
100294
  return new RegExp(`^${regex}$`);
@@ -101083,9 +100754,9 @@ class Doc {
101083
100754
  }
101084
100755
 
101085
100756
  // ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/core/versions.js
101086
- var version2;
100757
+ var version;
101087
100758
  var init_versions4 = __esm(() => {
101088
- version2 = {
100759
+ version = {
101089
100760
  major: 4,
101090
100761
  minor: 4,
101091
100762
  patch: 3
@@ -101375,7 +101046,7 @@ var $ZodType, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, $ZodU
101375
101046
  var init_schemas = __esm(() => {
101376
101047
  init_checks();
101377
101048
  init_core();
101378
- init_parse4();
101049
+ init_parse3();
101379
101050
  init_regexes();
101380
101051
  init_util();
101381
101052
  init_versions4();
@@ -101385,7 +101056,7 @@ var init_schemas = __esm(() => {
101385
101056
  inst ?? (inst = {});
101386
101057
  inst._zod.def = def;
101387
101058
  inst._zod.bag = inst._zod.bag || {};
101388
- inst._zod.version = version2;
101059
+ inst._zod.version = version;
101389
101060
  const checks = [...inst._zod.def.checks ?? []];
101390
101061
  if (inst._zod.traits.has("$ZodCheck")) {
101391
101062
  checks.unshift(inst);
@@ -103892,7 +103563,7 @@ var init_core2 = __esm(() => {
103892
103563
  init_locales();
103893
103564
  init_json_schema2();
103894
103565
  init_core();
103895
- init_parse4();
103566
+ init_parse3();
103896
103567
  init_errors();
103897
103568
  init_schemas();
103898
103569
  init_checks();
@@ -103903,7 +103574,7 @@ var init_core2 = __esm(() => {
103903
103574
  });
103904
103575
 
103905
103576
  // ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/mini/parse.js
103906
- var init_parse5 = __esm(() => {
103577
+ var init_parse4 = __esm(() => {
103907
103578
  init_core2();
103908
103579
  });
103909
103580
 
@@ -103925,7 +103596,7 @@ var init_external = __esm(() => {
103925
103596
  init_locales();
103926
103597
  init_iso();
103927
103598
  init_coerce();
103928
- init_parse5();
103599
+ init_parse4();
103929
103600
  init_schemas2();
103930
103601
  init_checks2();
103931
103602
  });
@@ -104092,11 +103763,11 @@ var init_errors2 = __esm(() => {
104092
103763
  });
104093
103764
 
104094
103765
  // ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/classic/parse.js
104095
- var parse6, parseAsync2, safeParse3, safeParseAsync2, encode4, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2;
104096
- var init_parse6 = __esm(() => {
103766
+ var parse5, parseAsync2, safeParse3, safeParseAsync2, encode4, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2;
103767
+ var init_parse5 = __esm(() => {
104097
103768
  init_core2();
104098
103769
  init_errors2();
104099
- parse6 = /* @__PURE__ */ _parse(ZodRealError);
103770
+ parse5 = /* @__PURE__ */ _parse(ZodRealError);
104100
103771
  parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
104101
103772
  safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
104102
103773
  safeParseAsync2 = /* @__PURE__ */ _safeParseAsync(ZodRealError);
@@ -104333,7 +104004,7 @@ var init_schemas3 = __esm(() => {
104333
104004
  init_to_json_schema();
104334
104005
  init_checks3();
104335
104006
  init_iso2();
104336
- init_parse6();
104007
+ init_parse5();
104337
104008
  _installedGroups = /* @__PURE__ */ new WeakMap;
104338
104009
  ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
104339
104010
  $ZodType.init(inst, def);
@@ -104347,7 +104018,7 @@ var init_schemas3 = __esm(() => {
104347
104018
  inst.def = def;
104348
104019
  inst.type = def.type;
104349
104020
  Object.defineProperty(inst, "_def", { value: def });
104350
- inst.parse = (data, params) => parse6(inst, data, params, { callee: inst.parse });
104021
+ inst.parse = (data, params) => parse5(inst, data, params, { callee: inst.parse });
104351
104022
  inst.safeParse = (data, params) => safeParse3(inst, data, params);
104352
104023
  inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
104353
104024
  inst.safeParseAsync = async (data, params) => safeParseAsync2(inst, data, params);
@@ -104981,7 +104652,7 @@ var init_external2 = __esm(() => {
104981
104652
  init_schemas3();
104982
104653
  init_checks3();
104983
104654
  init_errors2();
104984
- init_parse6();
104655
+ init_parse5();
104985
104656
  init_compat();
104986
104657
  config(en_default());
104987
104658
  });
@@ -104992,14 +104663,14 @@ var init_classic = __esm(() => {
104992
104663
  });
104993
104664
 
104994
104665
  // ../../node_modules/.bun/zod@4.4.3/node_modules/zod/v4/index.js
104995
- var init_v42 = __esm(() => {
104666
+ var init_v43 = __esm(() => {
104996
104667
  init_classic();
104997
104668
  });
104998
104669
 
104999
104670
  // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
105000
104671
  var LATEST_PROTOCOL_VERSION = "2025-11-25", SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task", JSONRPC_VERSION = "2.0", AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success, JSONRPCNotificationSchema, isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success, JSONRPCResultResponseSchema, isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
105001
104672
  var init_types2 = __esm(() => {
105002
- init_v42();
104673
+ init_v43();
105003
104674
  SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
105004
104675
  AssertObjectSchema = custom((v) => v !== null && (typeof v === "object" || typeof v === "function"));
105005
104676
  ProgressTokenSchema = union([string2(), number2().int()]);
@@ -106007,7 +105678,7 @@ var init_zodToJsonSchema = __esm(() => {
106007
105678
  });
106008
105679
 
106009
105680
  // ../../node_modules/.bun/zod-to-json-schema@3.25.2+68a1e3a0c4588df3/node_modules/zod-to-json-schema/dist/esm/index.js
106010
- var init_esm = __esm(() => {
105681
+ var init_esm2 = __esm(() => {
106011
105682
  init_zodToJsonSchema();
106012
105683
  init_Options();
106013
105684
  init_Refs();
@@ -106064,7 +105735,7 @@ function parseWithCompat(schema, data) {
106064
105735
  }
106065
105736
  var init_zod_json_schema_compat = __esm(() => {
106066
105737
  init_zod_compat();
106067
- init_esm();
105738
+ init_esm2();
106068
105739
  });
106069
105740
 
106070
105741
  // ../../node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
@@ -107041,10 +106712,10 @@ var require_code = __commonJS((exports) => {
107041
106712
  function interpolate(x2) {
107042
106713
  return typeof x2 == "number" || typeof x2 == "boolean" || x2 === null ? x2 : safeStringify(Array.isArray(x2) ? x2.join(",") : x2);
107043
106714
  }
107044
- function stringify4(x2) {
106715
+ function stringify3(x2) {
107045
106716
  return new _Code(safeStringify(x2));
107046
106717
  }
107047
- exports.stringify = stringify4;
106718
+ exports.stringify = stringify3;
107048
106719
  function safeStringify(x2) {
107049
106720
  return JSON.stringify(x2).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
107050
106721
  }
@@ -108698,8 +108369,8 @@ var require_keyword = __commonJS((exports) => {
108698
108369
  var _a7;
108699
108370
  const { gen, keyword, schema, parentSchema, $data, it } = cxt;
108700
108371
  checkAsyncKeyword(it, def);
108701
- const validate2 = !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate;
108702
- const validateRef = useKeyword(gen, keyword, validate2);
108372
+ const validate = !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate;
108373
+ const validateRef = useKeyword(gen, keyword, validate);
108703
108374
  const valid = gen.let("valid");
108704
108375
  cxt.block$data(valid, validateKeyword);
108705
108376
  cxt.ok((_a7 = def.valid) !== null && _a7 !== undefined ? _a7 : valid);
@@ -109758,28 +109429,28 @@ var require_compile = __commonJS((exports) => {
109758
109429
  if (this.opts.code.process)
109759
109430
  sourceCode = this.opts.code.process(sourceCode, sch);
109760
109431
  const makeValidate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode);
109761
- const validate2 = makeValidate(this, this.scope.get());
109762
- this.scope.value(validateName, { ref: validate2 });
109763
- validate2.errors = null;
109764
- validate2.schema = sch.schema;
109765
- validate2.schemaEnv = sch;
109432
+ const validate = makeValidate(this, this.scope.get());
109433
+ this.scope.value(validateName, { ref: validate });
109434
+ validate.errors = null;
109435
+ validate.schema = sch.schema;
109436
+ validate.schemaEnv = sch;
109766
109437
  if (sch.$async)
109767
- validate2.$async = true;
109438
+ validate.$async = true;
109768
109439
  if (this.opts.code.source === true) {
109769
- validate2.source = { validateName, validateCode, scopeValues: gen._values };
109440
+ validate.source = { validateName, validateCode, scopeValues: gen._values };
109770
109441
  }
109771
109442
  if (this.opts.unevaluated) {
109772
109443
  const { props, items } = schemaCxt;
109773
- validate2.evaluated = {
109444
+ validate.evaluated = {
109774
109445
  props: props instanceof codegen_1.Name ? undefined : props,
109775
109446
  items: items instanceof codegen_1.Name ? undefined : items,
109776
109447
  dynamicProps: props instanceof codegen_1.Name,
109777
109448
  dynamicItems: items instanceof codegen_1.Name
109778
109449
  };
109779
- if (validate2.source)
109780
- validate2.source.evaluated = (0, codegen_1.stringify)(validate2.evaluated);
109450
+ if (validate.source)
109451
+ validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);
109781
109452
  }
109782
- sch.validate = validate2;
109453
+ sch.validate = validate;
109783
109454
  return sch;
109784
109455
  } catch (e2) {
109785
109456
  delete sch.validate;
@@ -110407,21 +110078,21 @@ var require_fast_uri = __commonJS((exports, module) => {
110407
110078
  if (typeof uri === "string") {
110408
110079
  uri = normalizeString(uri, options);
110409
110080
  } else if (typeof uri === "object") {
110410
- uri = parse8(serialize(uri, options), options);
110081
+ uri = parse7(serialize(uri, options), options);
110411
110082
  }
110412
110083
  return uri;
110413
110084
  }
110414
110085
  function resolve4(baseURI, relativeURI, options) {
110415
110086
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
110416
- const resolved = resolveComponent(parse8(baseURI, schemelessOptions), parse8(relativeURI, schemelessOptions), schemelessOptions, true);
110087
+ const resolved = resolveComponent(parse7(baseURI, schemelessOptions), parse7(relativeURI, schemelessOptions), schemelessOptions, true);
110417
110088
  schemelessOptions.skipEscape = true;
110418
110089
  return serialize(resolved, schemelessOptions);
110419
110090
  }
110420
110091
  function resolveComponent(base, relative2, options, skipNormalization) {
110421
110092
  const target = {};
110422
110093
  if (!skipNormalization) {
110423
- base = parse8(serialize(base, options), options);
110424
- relative2 = parse8(serialize(relative2, options), options);
110094
+ base = parse7(serialize(base, options), options);
110095
+ relative2 = parse7(serialize(relative2, options), options);
110425
110096
  }
110426
110097
  options = options || {};
110427
110098
  if (!options.tolerant && relative2.scheme) {
@@ -110645,7 +110316,7 @@ var require_fast_uri = __commonJS((exports, module) => {
110645
110316
  }
110646
110317
  return { parsed, malformedAuthorityOrPort };
110647
110318
  }
110648
- function parse8(uri, opts) {
110319
+ function parse7(uri, opts) {
110649
110320
  return parseWithStatus(uri, opts).parsed;
110650
110321
  }
110651
110322
  function normalizeString(uri, opts) {
@@ -110674,7 +110345,7 @@ var require_fast_uri = __commonJS((exports, module) => {
110674
110345
  resolveComponent,
110675
110346
  equal,
110676
110347
  serialize,
110677
- parse: parse8
110348
+ parse: parse7
110678
110349
  };
110679
110350
  module.exports = fastUri;
110680
110351
  module.exports.default = fastUri;
@@ -113190,8 +112861,8 @@ var require_ajv = __commonJS((exports, module) => {
113190
112861
  var require_formats = __commonJS((exports) => {
113191
112862
  Object.defineProperty(exports, "__esModule", { value: true });
113192
112863
  exports.formatNames = exports.fastFormats = exports.fullFormats = undefined;
113193
- function fmtDef(validate2, compare) {
113194
- return { validate: validate2, compare };
112864
+ function fmtDef(validate, compare) {
112865
+ return { validate, compare };
113195
112866
  }
113196
112867
  exports.fullFormats = {
113197
112868
  date: fmtDef(date4, compareDate),
@@ -114460,7 +114131,7 @@ var require_parse3 = __commonJS((exports, module) => {
114460
114131
  }
114461
114132
  return parsed;
114462
114133
  }
114463
- function parse8(command, args, options) {
114134
+ function parse7(command, args, options) {
114464
114135
  if (args && !Array.isArray(args)) {
114465
114136
  options = args;
114466
114137
  args = null;
@@ -114479,7 +114150,7 @@ var require_parse3 = __commonJS((exports, module) => {
114479
114150
  };
114480
114151
  return options.shell ? parsed : parseNonShell(parsed);
114481
114152
  }
114482
- module.exports = parse8;
114153
+ module.exports = parse7;
114483
114154
  });
114484
114155
 
114485
114156
  // ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js
@@ -114532,16 +114203,16 @@ var require_enoent = __commonJS((exports, module) => {
114532
114203
  // ../../node_modules/.bun/cross-spawn@7.0.6/node_modules/cross-spawn/index.js
114533
114204
  var require_cross_spawn = __commonJS((exports, module) => {
114534
114205
  var cp2 = __require("child_process");
114535
- var parse8 = require_parse3();
114206
+ var parse7 = require_parse3();
114536
114207
  var enoent = require_enoent();
114537
114208
  function spawn3(command, args, options) {
114538
- const parsed = parse8(command, args, options);
114209
+ const parsed = parse7(command, args, options);
114539
114210
  const spawned = cp2.spawn(parsed.command, parsed.args, parsed.options);
114540
114211
  enoent.hookChildProcess(spawned, parsed);
114541
114212
  return spawned;
114542
114213
  }
114543
114214
  function spawnSync(command, args, options) {
114544
- const parsed = parse8(command, args, options);
114215
+ const parsed = parse7(command, args, options);
114545
114216
  const result = cp2.spawnSync(parsed.command, parsed.args, parsed.options);
114546
114217
  result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
114547
114218
  return result;
@@ -114549,7 +114220,7 @@ var require_cross_spawn = __commonJS((exports, module) => {
114549
114220
  module.exports = spawn3;
114550
114221
  module.exports.spawn = spawn3;
114551
114222
  module.exports.sync = spawnSync;
114552
- module.exports._parse = parse8;
114223
+ module.exports._parse = parse7;
114553
114224
  module.exports._enoent = enoent;
114554
114225
  });
114555
114226
 
@@ -114832,7 +114503,7 @@ var require_parse4 = __commonJS((exports) => {
114832
114503
  function isWhitespace2(c) {
114833
114504
  return c === 32 || c === 9 || c === 10 || c === 12 || c === 13;
114834
114505
  }
114835
- function parse8(selector) {
114506
+ function parse7(selector) {
114836
114507
  var subselects = [];
114837
114508
  var endIndex = parseSelector(subselects, "".concat(selector), 0);
114838
114509
  if (endIndex < selector.length) {
@@ -114840,7 +114511,7 @@ var require_parse4 = __commonJS((exports) => {
114840
114511
  }
114841
114512
  return subselects;
114842
114513
  }
114843
- exports.parse = parse8;
114514
+ exports.parse = parse7;
114844
114515
  function parseSelector(subselects, selector, selectorIndex) {
114845
114516
  var tokens = [];
114846
114517
  function getName4(offset) {
@@ -115164,12 +114835,12 @@ var require_stringify2 = __commonJS((exports) => {
115164
114835
  ], false).map(function(c) {
115165
114836
  return c.charCodeAt(0);
115166
114837
  }));
115167
- function stringify5(selector) {
114838
+ function stringify4(selector) {
115168
114839
  return selector.map(function(token) {
115169
114840
  return token.map(stringifyToken).join("");
115170
114841
  }).join(", ");
115171
114842
  }
115172
- exports.stringify = stringify5;
114843
+ exports.stringify = stringify4;
115173
114844
  function stringifyToken(token, index, arr) {
115174
114845
  switch (token.type) {
115175
114846
  case types_1.SelectorType.Child:
@@ -115191,7 +114862,7 @@ var require_stringify2 = __commonJS((exports) => {
115191
114862
  case types_1.SelectorType.PseudoElement:
115192
114863
  return "::".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? "" : "(".concat(escapeName(token.data, charsToEscapeInPseudoValue), ")"));
115193
114864
  case types_1.SelectorType.Pseudo:
115194
- return ":".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? "" : "(".concat(typeof token.data === "string" ? escapeName(token.data, charsToEscapeInPseudoValue) : stringify5(token.data), ")"));
114865
+ return ":".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? "" : "(".concat(typeof token.data === "string" ? escapeName(token.data, charsToEscapeInPseudoValue) : stringify4(token.data), ")"));
115195
114866
  case types_1.SelectorType.Attribute: {
115196
114867
  if (token.name === "id" && token.action === types_1.AttributeAction.Equals && token.ignoreCase === "quirks" && !token.namespace) {
115197
114868
  return "#".concat(escapeName(token.value, charsToEscapeInName));
@@ -119980,7 +119651,7 @@ var require_util5 = __commonJS((exports, module) => {
119980
119651
  var { IncomingMessage } = __require("node:http");
119981
119652
  var stream = __require("node:stream");
119982
119653
  var net = __require("node:net");
119983
- var { stringify: stringify6 } = __require("node:querystring");
119654
+ var { stringify: stringify5 } = __require("node:querystring");
119984
119655
  var { EventEmitter: EE } = __require("node:events");
119985
119656
  var timers = require_timers();
119986
119657
  var { InvalidArgumentError, ConnectTimeoutError } = require_errors4();
@@ -120046,7 +119717,7 @@ var require_util5 = __commonJS((exports, module) => {
120046
119717
  if (pathHasQueryOrFragment(url)) {
120047
119718
  throw new Error('Query params cannot be passed when url already contains "?" or "#".');
120048
119719
  }
120049
- const stringified = stringify6(queryParams);
119720
+ const stringified = stringify5(queryParams);
120050
119721
  if (stringified) {
120051
119722
  url += "?" + stringified;
120052
119723
  }
@@ -120849,22 +120520,22 @@ var require_diagnostics = __commonJS((exports, module) => {
120849
120520
  isTrackingClientEvents = true;
120850
120521
  diagnosticsChannel.subscribe("undici:client:beforeConnect", (evt) => {
120851
120522
  const {
120852
- connectParams: { version: version3, protocol, port, host }
120523
+ connectParams: { version: version2, protocol, port, host }
120853
120524
  } = evt;
120854
- debugLog("connecting to %s%s using %s%s", host, port ? `:${port}` : "", protocol, version3);
120525
+ debugLog("connecting to %s%s using %s%s", host, port ? `:${port}` : "", protocol, version2);
120855
120526
  });
120856
120527
  diagnosticsChannel.subscribe("undici:client:connected", (evt) => {
120857
120528
  const {
120858
- connectParams: { version: version3, protocol, port, host }
120529
+ connectParams: { version: version2, protocol, port, host }
120859
120530
  } = evt;
120860
- debugLog("connected to %s%s using %s%s", host, port ? `:${port}` : "", protocol, version3);
120531
+ debugLog("connected to %s%s using %s%s", host, port ? `:${port}` : "", protocol, version2);
120861
120532
  });
120862
120533
  diagnosticsChannel.subscribe("undici:client:connectError", (evt) => {
120863
120534
  const {
120864
- connectParams: { version: version3, protocol, port, host },
120535
+ connectParams: { version: version2, protocol, port, host },
120865
120536
  error: error4
120866
120537
  } = evt;
120867
- debugLog("connection to %s%s using %s%s errored - %s", host, port ? `:${port}` : "", protocol, version3, error4.message);
120538
+ debugLog("connection to %s%s using %s%s errored - %s", host, port ? `:${port}` : "", protocol, version2, error4.message);
120868
120539
  });
120869
120540
  diagnosticsChannel.subscribe("undici:client:sendHeaders", (evt) => {
120870
120541
  const {
@@ -128342,10 +128013,10 @@ var require_socks5_client = __commonJS((exports, module) => {
128342
128013
  if (this.buffer.length < 2) {
128343
128014
  return;
128344
128015
  }
128345
- const version3 = this.buffer[0];
128016
+ const version2 = this.buffer[0];
128346
128017
  const method = this.buffer[1];
128347
- if (version3 !== SOCKS_VERSION) {
128348
- throw new Socks5ProxyError(`Invalid SOCKS version: ${version3}`, "UND_ERR_SOCKS5_VERSION");
128018
+ if (version2 !== SOCKS_VERSION) {
128019
+ throw new Socks5ProxyError(`Invalid SOCKS version: ${version2}`, "UND_ERR_SOCKS5_VERSION");
128349
128020
  }
128350
128021
  if (method === AUTH_METHODS.NO_ACCEPTABLE) {
128351
128022
  throw new Socks5ProxyError("No acceptable authentication method", "UND_ERR_SOCKS5_AUTH_REJECTED");
@@ -128384,10 +128055,10 @@ var require_socks5_client = __commonJS((exports, module) => {
128384
128055
  if (this.buffer.length < 2) {
128385
128056
  return;
128386
128057
  }
128387
- const version3 = this.buffer[0];
128058
+ const version2 = this.buffer[0];
128388
128059
  const status = this.buffer[1];
128389
- if (version3 !== 1) {
128390
- throw new Socks5ProxyError(`Invalid auth sub-negotiation version: ${version3}`, "UND_ERR_SOCKS5_AUTH_VERSION");
128060
+ if (version2 !== 1) {
128061
+ throw new Socks5ProxyError(`Invalid auth sub-negotiation version: ${version2}`, "UND_ERR_SOCKS5_AUTH_VERSION");
128391
128062
  }
128392
128063
  if (status !== 0) {
128393
128064
  throw new Socks5ProxyError("Authentication failed", "UND_ERR_SOCKS5_AUTH_FAILED");
@@ -128423,11 +128094,11 @@ var require_socks5_client = __commonJS((exports, module) => {
128423
128094
  if (this.buffer.length < 4) {
128424
128095
  return;
128425
128096
  }
128426
- const version3 = this.buffer[0];
128097
+ const version2 = this.buffer[0];
128427
128098
  const reply = this.buffer[1];
128428
128099
  const addressType = this.buffer[3];
128429
- if (version3 !== SOCKS_VERSION) {
128430
- throw new Socks5ProxyError(`Invalid SOCKS version in reply: ${version3}`, "UND_ERR_SOCKS5_REPLY_VERSION");
128100
+ if (version2 !== SOCKS_VERSION) {
128101
+ throw new Socks5ProxyError(`Invalid SOCKS version in reply: ${version2}`, "UND_ERR_SOCKS5_REPLY_VERSION");
128431
128102
  }
128432
128103
  let responseLength = 4;
128433
128104
  if (addressType === ADDRESS_TYPES.IPV4) {
@@ -128510,7 +128181,7 @@ var require_socks5_client = __commonJS((exports, module) => {
128510
128181
 
128511
128182
  // ../../node_modules/.bun/undici@7.28.0/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js
128512
128183
  var require_socks5_proxy_agent = __commonJS((exports, module) => {
128513
- var { URL: URL3 } = __require("node:url");
128184
+ var { URL: URL2 } = __require("node:url");
128514
128185
  var tls;
128515
128186
  var DispatcherBase = require_dispatcher_base();
128516
128187
  var { InvalidArgumentError } = require_errors4();
@@ -128539,7 +128210,7 @@ var require_socks5_proxy_agent = __commonJS((exports, module) => {
128539
128210
  if (!proxyUrl) {
128540
128211
  throw new InvalidArgumentError("Proxy URL is mandatory");
128541
128212
  }
128542
- const url = typeof proxyUrl === "string" ? new URL3(proxyUrl) : proxyUrl;
128213
+ const url = typeof proxyUrl === "string" ? new URL2(proxyUrl) : proxyUrl;
128543
128214
  if (url.protocol !== "socks5:" && url.protocol !== "socks:") {
128544
128215
  throw new InvalidArgumentError("Proxy URL must use socks5:// or socks:// protocol");
128545
128216
  }
@@ -128636,7 +128307,7 @@ var require_socks5_proxy_agent = __commonJS((exports, module) => {
128636
128307
  connections: opts.connections,
128637
128308
  connect: async (connectOpts, callback) => {
128638
128309
  try {
128639
- const url = new URL3(origin);
128310
+ const url = new URL2(origin);
128640
128311
  const targetHost = url.hostname;
128641
128312
  const targetPort = parseInt(url.port) || (url.protocol === "https:" ? 443 : 80);
128642
128313
  debug("establishing SOCKS5 connection to", targetHost, targetPort);
@@ -138695,7 +138366,7 @@ var require_util8 = __commonJS((exports, module) => {
138695
138366
  throw new Error("Invalid cookie max-age");
138696
138367
  }
138697
138368
  }
138698
- function stringify6(cookie) {
138369
+ function stringify5(cookie) {
138699
138370
  if (cookie.name.length === 0) {
138700
138371
  return null;
138701
138372
  }
@@ -138749,7 +138420,7 @@ var require_util8 = __commonJS((exports, module) => {
138749
138420
  validateCookiePath,
138750
138421
  validateCookieValue,
138751
138422
  toIMFDate,
138752
- stringify: stringify6
138423
+ stringify: stringify5
138753
138424
  };
138754
138425
  });
138755
138426
 
@@ -138877,7 +138548,7 @@ var require_parse5 = __commonJS((exports, module) => {
138877
138548
  // ../../node_modules/.bun/undici@7.28.0/node_modules/undici/lib/web/cookies/index.js
138878
138549
  var require_cookies = __commonJS((exports, module) => {
138879
138550
  var { parseSetCookie } = require_parse5();
138880
- var { stringify: stringify6 } = require_util8();
138551
+ var { stringify: stringify5 } = require_util8();
138881
138552
  var { webidl } = require_webidl();
138882
138553
  var { Headers: Headers3 } = require_headers();
138883
138554
  var brandChecks = webidl.brandCheckMultiple([Headers3, globalThis.Headers].filter(Boolean));
@@ -138925,7 +138596,7 @@ var require_cookies = __commonJS((exports, module) => {
138925
138596
  webidl.argumentLengthCheck(arguments, 2, "setCookie");
138926
138597
  brandChecks(headers);
138927
138598
  cookie = webidl.converters.Cookie(cookie);
138928
- const str2 = stringify6(cookie);
138599
+ const str2 = stringify5(cookie);
138929
138600
  if (str2) {
138930
138601
  headers.append("set-cookie", str2, true);
138931
138602
  }
@@ -139479,7 +139150,7 @@ var require_frame = __commonJS((exports, module) => {
139479
139150
  var BUFFER_SIZE = 8 * 1024;
139480
139151
  var buffer = null;
139481
139152
  var bufIdx = BUFFER_SIZE;
139482
- var randomFillSync = runtimeFeatures.has("crypto") ? __require("node:crypto").randomFillSync : function randomFillSync2(buffer2, _offset, _size2) {
139153
+ var randomFillSync2 = runtimeFeatures.has("crypto") ? __require("node:crypto").randomFillSync : function randomFillSync3(buffer2, _offset, _size2) {
139483
139154
  for (let i2 = 0;i2 < buffer2.length; ++i2) {
139484
139155
  buffer2[i2] = Math.random() * 255 | 0;
139485
139156
  }
@@ -139488,7 +139159,7 @@ var require_frame = __commonJS((exports, module) => {
139488
139159
  function generateMask() {
139489
139160
  if (bufIdx === BUFFER_SIZE) {
139490
139161
  bufIdx = 0;
139491
- randomFillSync(buffer ??= Buffer.allocUnsafeSlow(BUFFER_SIZE), 0, BUFFER_SIZE);
139162
+ randomFillSync2(buffer ??= Buffer.allocUnsafeSlow(BUFFER_SIZE), 0, BUFFER_SIZE);
139492
139163
  }
139493
139164
  return [buffer[bufIdx++], buffer[bufIdx++], buffer[bufIdx++], buffer[bufIdx++]];
139494
139165
  }
@@ -139671,10 +139342,10 @@ var require_connection2 = __commonJS((exports, module) => {
139671
139342
  });
139672
139343
  return controller;
139673
139344
  }
139674
- function closeWebSocketConnection(object4, code, reason, validate2 = false) {
139345
+ function closeWebSocketConnection(object4, code, reason, validate = false) {
139675
139346
  code ??= null;
139676
139347
  reason ??= "";
139677
- if (validate2)
139348
+ if (validate)
139678
139349
  validateCloseCodeAndReason(code, reason);
139679
139350
  if (isClosed(object4.readyState) || isClosing(object4.readyState)) {} else if (!isEstablished(object4.readyState)) {
139680
139351
  failWebsocketConnection(object4);
@@ -141701,7 +141372,7 @@ var require_serializer = __commonJS((exports, module) => {
141701
141372
  // ../../node_modules/.bun/whatwg-mimetype@4.0.0/node_modules/whatwg-mimetype/lib/mime-type.js
141702
141373
  var require_mime_type = __commonJS((exports, module) => {
141703
141374
  var MIMETypeParameters = require_mime_type_parameters();
141704
- var parse15 = require_parser3();
141375
+ var parse14 = require_parser3();
141705
141376
  var serialize3 = require_serializer();
141706
141377
  var {
141707
141378
  asciiLowercase,
@@ -141710,7 +141381,7 @@ var require_mime_type = __commonJS((exports, module) => {
141710
141381
  module.exports = class MIMEType {
141711
141382
  constructor(string4) {
141712
141383
  string4 = String(string4);
141713
- const result = parse15(string4);
141384
+ const result = parse14(string4);
141714
141385
  if (result === null) {
141715
141386
  throw new Error(`Could not parse MIME type string "${string4}"`);
141716
141387
  }
@@ -156534,8 +156205,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
156534
156205
  if (Array.isArray(arr))
156535
156206
  return arr;
156536
156207
  }
156537
- var compareVersions = function compareVersions2(v12, v2) {
156538
- var n1 = validateAndParse(v12);
156208
+ var compareVersions = function compareVersions2(v1, v2) {
156209
+ var n1 = validateAndParse(v1);
156539
156210
  var n2 = validateAndParse(v2);
156540
156211
  var p1 = n1.pop();
156541
156212
  var p2 = n2.pop();
@@ -156549,22 +156220,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
156549
156220
  }
156550
156221
  return 0;
156551
156222
  };
156552
- var validate3 = function validate4(version3) {
156553
- return typeof version3 === "string" && /^[v\d]/.test(version3) && semver.test(version3);
156223
+ var validate2 = function validate3(version2) {
156224
+ return typeof version2 === "string" && /^[v\d]/.test(version2) && semver.test(version2);
156554
156225
  };
156555
- var compare = function compare2(v12, v2, operator) {
156226
+ var compare = function compare2(v1, v2, operator) {
156556
156227
  assertValidOperator(operator);
156557
- var res = compareVersions(v12, v2);
156228
+ var res = compareVersions(v1, v2);
156558
156229
  return operatorResMap[operator].includes(res);
156559
156230
  };
156560
- var satisfies = function satisfies2(version3, range2) {
156231
+ var satisfies = function satisfies2(version2, range2) {
156561
156232
  var m2 = range2.match(/^([<>=~^]+)/);
156562
156233
  var op = m2 ? m2[1] : "=";
156563
156234
  if (op !== "^" && op !== "~")
156564
- return compare(version3, range2, op);
156565
- var _validateAndParse = validateAndParse(version3), _validateAndParse2 = _slicedToArray(_validateAndParse, 5), v12 = _validateAndParse2[0], v2 = _validateAndParse2[1], v32 = _validateAndParse2[2], vp = _validateAndParse2[4];
156235
+ return compare(version2, range2, op);
156236
+ var _validateAndParse = validateAndParse(version2), _validateAndParse2 = _slicedToArray(_validateAndParse, 5), v1 = _validateAndParse2[0], v2 = _validateAndParse2[1], v3 = _validateAndParse2[2], vp = _validateAndParse2[4];
156566
156237
  var _validateAndParse3 = validateAndParse(range2), _validateAndParse4 = _slicedToArray(_validateAndParse3, 5), r1 = _validateAndParse4[0], r2 = _validateAndParse4[1], r3 = _validateAndParse4[2], rp = _validateAndParse4[4];
156567
- var v = [v12, v2, v32];
156238
+ var v = [v1, v2, v3];
156568
156239
  var r4 = [r1, r2 !== null && r2 !== undefined ? r2 : "x", r3 !== null && r3 !== undefined ? r3 : "x"];
156569
156240
  if (rp) {
156570
156241
  if (!vp)
@@ -156574,8 +156245,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
156574
156245
  if (compareSegments(vp.split("."), rp.split(".")) === -1)
156575
156246
  return false;
156576
156247
  }
156577
- var nonZero = r4.findIndex(function(v8) {
156578
- return v8 !== "0";
156248
+ var nonZero = r4.findIndex(function(v5) {
156249
+ return v5 !== "0";
156579
156250
  }) + 1;
156580
156251
  var i2 = op === "~" ? 2 : nonZero > 1 ? nonZero : 1;
156581
156252
  if (compareSegments(v.slice(0, i2), r4.slice(0, i2)) !== 0)
@@ -156585,13 +156256,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
156585
156256
  return true;
156586
156257
  };
156587
156258
  var semver = /^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;
156588
- var validateAndParse = function validateAndParse2(version3) {
156589
- if (typeof version3 !== "string") {
156259
+ var validateAndParse = function validateAndParse2(version2) {
156260
+ if (typeof version2 !== "string") {
156590
156261
  throw new TypeError("Invalid argument expected string");
156591
156262
  }
156592
- var match2 = version3.match(semver);
156263
+ var match2 = version2.match(semver);
156593
156264
  if (!match2) {
156594
- throw new Error("Invalid argument not valid semver ('".concat(version3, "' received)"));
156265
+ throw new Error("Invalid argument not valid semver ('".concat(version2, "' received)"));
156595
156266
  }
156596
156267
  match2.shift();
156597
156268
  return match2;
@@ -158308,11 +157979,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
158308
157979
  return (r2 === "string" ? String : Number)(t2);
158309
157980
  }
158310
157981
  var FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER = "999.9.9";
158311
- function hasAssignedBackend(version3) {
158312
- if (version3 == null || version3 === "") {
157982
+ function hasAssignedBackend(version2) {
157983
+ if (version2 == null || version2 === "") {
158313
157984
  return false;
158314
157985
  }
158315
- return gte2(version3, FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER);
157986
+ return gte2(version2, FIRST_DEVTOOLS_BACKEND_LOCKSTEP_VER);
158316
157987
  }
158317
157988
  function cleanForBridge(data2, isPathAllowed) {
158318
157989
  var path9 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
@@ -160085,9 +159756,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
160085
159756
  }
160086
159757
  });
160087
159758
  agent_defineProperty(_this, "getBackendVersion", function() {
160088
- var version3 = "7.0.1-3cde211b0c";
160089
- if (version3) {
160090
- _this._bridge.send("backendVersion", version3);
159759
+ var version2 = "7.0.1-3cde211b0c";
159760
+ if (version2) {
159761
+ _this._bridge.send("backendVersion", version2);
160091
159762
  }
160092
159763
  });
160093
159764
  agent_defineProperty(_this, "getBridgeProtocol", function() {
@@ -163104,7 +162775,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163104
162775
  } : function() {
163105
162776
  return Date.now();
163106
162777
  };
163107
- function getInternalReactConstants(version3) {
162778
+ function getInternalReactConstants(version2) {
163108
162779
  var ReactPriorityLevels = {
163109
162780
  ImmediatePriority: 99,
163110
162781
  UserBlockingPriority: 98,
@@ -163113,7 +162784,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163113
162784
  IdlePriority: 95,
163114
162785
  NoPriority: 90
163115
162786
  };
163116
- if (gt3(version3, "17.0.2")) {
162787
+ if (gt3(version2, "17.0.2")) {
163117
162788
  ReactPriorityLevels = {
163118
162789
  ImmediatePriority: 1,
163119
162790
  UserBlockingPriority: 2,
@@ -163124,16 +162795,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163124
162795
  };
163125
162796
  }
163126
162797
  var StrictModeBits = 0;
163127
- if (gte2(version3, "18.0.0-alpha")) {
162798
+ if (gte2(version2, "18.0.0-alpha")) {
163128
162799
  StrictModeBits = 24;
163129
- } else if (gte2(version3, "16.9.0")) {
162800
+ } else if (gte2(version2, "16.9.0")) {
163130
162801
  StrictModeBits = 1;
163131
- } else if (gte2(version3, "16.3.0")) {
162802
+ } else if (gte2(version2, "16.3.0")) {
163132
162803
  StrictModeBits = 2;
163133
162804
  }
163134
162805
  var SuspenseyImagesMode = 32;
163135
162806
  var ReactTypeOfWork = null;
163136
- if (gt3(version3, "17.0.1")) {
162807
+ if (gt3(version2, "17.0.1")) {
163137
162808
  ReactTypeOfWork = {
163138
162809
  CacheComponent: 24,
163139
162810
  ClassComponent: 1,
@@ -163170,7 +162841,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163170
162841
  ViewTransitionComponent: 30,
163171
162842
  ActivityComponent: 31
163172
162843
  };
163173
- } else if (gte2(version3, "17.0.0-alpha")) {
162844
+ } else if (gte2(version2, "17.0.0-alpha")) {
163174
162845
  ReactTypeOfWork = {
163175
162846
  CacheComponent: -1,
163176
162847
  ClassComponent: 1,
@@ -163207,7 +162878,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163207
162878
  ViewTransitionComponent: -1,
163208
162879
  ActivityComponent: -1
163209
162880
  };
163210
- } else if (gte2(version3, "16.6.0-beta.0")) {
162881
+ } else if (gte2(version2, "16.6.0-beta.0")) {
163211
162882
  ReactTypeOfWork = {
163212
162883
  CacheComponent: -1,
163213
162884
  ClassComponent: 1,
@@ -163244,7 +162915,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163244
162915
  ViewTransitionComponent: -1,
163245
162916
  ActivityComponent: -1
163246
162917
  };
163247
- } else if (gte2(version3, "16.4.3-alpha")) {
162918
+ } else if (gte2(version2, "16.4.3-alpha")) {
163248
162919
  ReactTypeOfWork = {
163249
162920
  CacheComponent: -1,
163250
162921
  ClassComponent: 2,
@@ -163532,14 +163203,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163532
163203
  }
163533
163204
  }
163534
163205
  function renderer_attach(hook, rendererID, renderer, global2, shouldStartProfilingNow, profilingSettings) {
163535
- var version3 = renderer.reconcilerVersion || renderer.version;
163536
- var _getInternalReactCons = getInternalReactConstants(version3), getDisplayNameForFiber = _getInternalReactCons.getDisplayNameForFiber, getTypeSymbol = _getInternalReactCons.getTypeSymbol, ReactPriorityLevels = _getInternalReactCons.ReactPriorityLevels, ReactTypeOfWork = _getInternalReactCons.ReactTypeOfWork, StrictModeBits = _getInternalReactCons.StrictModeBits, SuspenseyImagesMode = _getInternalReactCons.SuspenseyImagesMode;
163206
+ var version2 = renderer.reconcilerVersion || renderer.version;
163207
+ var _getInternalReactCons = getInternalReactConstants(version2), getDisplayNameForFiber = _getInternalReactCons.getDisplayNameForFiber, getTypeSymbol = _getInternalReactCons.getTypeSymbol, ReactPriorityLevels = _getInternalReactCons.ReactPriorityLevels, ReactTypeOfWork = _getInternalReactCons.ReactTypeOfWork, StrictModeBits = _getInternalReactCons.StrictModeBits, SuspenseyImagesMode = _getInternalReactCons.SuspenseyImagesMode;
163537
163208
  var { ActivityComponent, ClassComponent, ContextConsumer, DehydratedSuspenseComponent, ForwardRef, Fragment, FunctionComponent, HostRoot, HostHoistable, HostSingleton, HostPortal, HostComponent, HostText, IncompleteClassComponent, IncompleteFunctionComponent, IndeterminateComponent, LegacyHiddenComponent, MemoComponent, OffscreenComponent, SimpleMemoComponent, SuspenseComponent, SuspenseListComponent, TracingMarkerComponent, Throw: Throw2, ViewTransitionComponent } = ReactTypeOfWork;
163538
163209
  var { ImmediatePriority, UserBlockingPriority, NormalPriority, LowPriority, IdlePriority, NoPriority } = ReactPriorityLevels;
163539
163210
  var { getLaneLabelMap, injectProfilingHooks, overrideHookState, overrideHookStateDeletePath, overrideHookStateRenamePath, overrideProps, overridePropsDeletePath, overridePropsRenamePath, scheduleRefresh, setErrorHandler, setSuspenseHandler, scheduleUpdate, scheduleRetry, getCurrentFiber } = renderer;
163540
163211
  var supportsTogglingError = typeof setErrorHandler === "function" && typeof scheduleUpdate === "function";
163541
163212
  var supportsTogglingSuspense = typeof setSuspenseHandler === "function" && typeof scheduleUpdate === "function";
163542
- var supportsPerformanceTracks = gte2(version3, "19.2.0");
163213
+ var supportsPerformanceTracks = gte2(version2, "19.2.0");
163543
163214
  if (typeof scheduleRefresh === "function") {
163544
163215
  renderer.scheduleRefresh = function() {
163545
163216
  try {
@@ -163560,7 +163231,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
163560
163231
  getLaneLabelMap,
163561
163232
  currentDispatcherRef: getDispatcherRef(renderer),
163562
163233
  workTagMap: ReactTypeOfWork,
163563
- reactVersion: version3
163234
+ reactVersion: version2
163564
163235
  });
163565
163236
  injectProfilingHooks(response.profilingHooks);
163566
163237
  getTimelineData = response.getTimelineData;
@@ -169194,8 +168865,8 @@ The error thrown in the component is:
169194
168865
  getEnvironmentNames
169195
168866
  };
169196
168867
  }
169197
- function isMatchingRender(version3) {
169198
- return !hasAssignedBackend(version3);
168868
+ function isMatchingRender(version2) {
168869
+ return !hasAssignedBackend(version2);
169199
168870
  }
169200
168871
  function attachRenderer(hook, id, renderer, global2, shouldStartProfilingNow, profilingSettings) {
169201
168872
  if (!isMatchingRender(renderer.reconcilerVersion || renderer.version)) {
@@ -172608,29 +172279,29 @@ var require_semver3 = __commonJS((exports, module) => {
172608
172279
  };
172609
172280
 
172610
172281
  class SemVer {
172611
- constructor(version3, options) {
172282
+ constructor(version2, options) {
172612
172283
  options = parseOptions(options);
172613
- if (version3 instanceof SemVer) {
172614
- if (version3.loose === !!options.loose && version3.includePrerelease === !!options.includePrerelease) {
172615
- return version3;
172284
+ if (version2 instanceof SemVer) {
172285
+ if (version2.loose === !!options.loose && version2.includePrerelease === !!options.includePrerelease) {
172286
+ return version2;
172616
172287
  } else {
172617
- version3 = version3.version;
172288
+ version2 = version2.version;
172618
172289
  }
172619
- } else if (typeof version3 !== "string") {
172620
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version3}".`);
172290
+ } else if (typeof version2 !== "string") {
172291
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);
172621
172292
  }
172622
- if (version3.length > MAX_LENGTH) {
172293
+ if (version2.length > MAX_LENGTH) {
172623
172294
  throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
172624
172295
  }
172625
- debug("SemVer", version3, options);
172296
+ debug("SemVer", version2, options);
172626
172297
  this.options = options;
172627
172298
  this.loose = !!options.loose;
172628
172299
  this.includePrerelease = !!options.includePrerelease;
172629
- const m2 = version3.trim().match(options.loose ? re[t2.LOOSE] : re[t2.FULL]);
172300
+ const m2 = version2.trim().match(options.loose ? re[t2.LOOSE] : re[t2.FULL]);
172630
172301
  if (!m2) {
172631
- throw new TypeError(`Invalid Version: ${version3}`);
172302
+ throw new TypeError(`Invalid Version: ${version2}`);
172632
172303
  }
172633
- this.raw = version3;
172304
+ this.raw = version2;
172634
172305
  this.major = +m2[1];
172635
172306
  this.minor = +m2[2];
172636
172307
  this.patch = +m2[3];
@@ -172872,12 +172543,12 @@ var require_semver3 = __commonJS((exports, module) => {
172872
172543
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/parse.js
172873
172544
  var require_parse6 = __commonJS((exports, module) => {
172874
172545
  var SemVer = require_semver3();
172875
- var parse15 = (version3, options, throwErrors = false) => {
172876
- if (version3 instanceof SemVer) {
172877
- return version3;
172546
+ var parse14 = (version2, options, throwErrors = false) => {
172547
+ if (version2 instanceof SemVer) {
172548
+ return version2;
172878
172549
  }
172879
172550
  try {
172880
- return new SemVer(version3, options);
172551
+ return new SemVer(version2, options);
172881
172552
  } catch (er) {
172882
172553
  if (!throwErrors) {
172883
172554
  return null;
@@ -172885,14 +172556,14 @@ var require_parse6 = __commonJS((exports, module) => {
172885
172556
  throw er;
172886
172557
  }
172887
172558
  };
172888
- module.exports = parse15;
172559
+ module.exports = parse14;
172889
172560
  });
172890
172561
 
172891
172562
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/valid.js
172892
172563
  var require_valid3 = __commonJS((exports, module) => {
172893
- var parse15 = require_parse6();
172894
- var valid = (version3, options) => {
172895
- const v = parse15(version3, options);
172564
+ var parse14 = require_parse6();
172565
+ var valid = (version2, options) => {
172566
+ const v = parse14(version2, options);
172896
172567
  return v ? v.version : null;
172897
172568
  };
172898
172569
  module.exports = valid;
@@ -172900,9 +172571,9 @@ var require_valid3 = __commonJS((exports, module) => {
172900
172571
 
172901
172572
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/clean.js
172902
172573
  var require_clean2 = __commonJS((exports, module) => {
172903
- var parse15 = require_parse6();
172904
- var clean = (version3, options) => {
172905
- const s2 = parse15(version3.trim().replace(/^[=v]+/, ""), options);
172574
+ var parse14 = require_parse6();
172575
+ var clean = (version2, options) => {
172576
+ const s2 = parse14(version2.trim().replace(/^[=v]+/, ""), options);
172906
172577
  return s2 ? s2.version : null;
172907
172578
  };
172908
172579
  module.exports = clean;
@@ -172911,14 +172582,14 @@ var require_clean2 = __commonJS((exports, module) => {
172911
172582
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/inc.js
172912
172583
  var require_inc2 = __commonJS((exports, module) => {
172913
172584
  var SemVer = require_semver3();
172914
- var inc = (version3, release, options, identifier, identifierBase) => {
172585
+ var inc = (version2, release, options, identifier, identifierBase) => {
172915
172586
  if (typeof options === "string") {
172916
172587
  identifierBase = identifier;
172917
172588
  identifier = options;
172918
172589
  options = undefined;
172919
172590
  }
172920
172591
  try {
172921
- return new SemVer(version3 instanceof SemVer ? version3.version : version3, options).inc(release, identifier, identifierBase).version;
172592
+ return new SemVer(version2 instanceof SemVer ? version2.version : version2, options).inc(release, identifier, identifierBase).version;
172922
172593
  } catch (er) {
172923
172594
  return null;
172924
172595
  }
@@ -172928,17 +172599,17 @@ var require_inc2 = __commonJS((exports, module) => {
172928
172599
 
172929
172600
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/diff.js
172930
172601
  var require_diff2 = __commonJS((exports, module) => {
172931
- var parse15 = require_parse6();
172932
- var diff2 = (version1, version22) => {
172933
- const v12 = parse15(version1, null, true);
172934
- const v2 = parse15(version22, null, true);
172935
- const comparison = v12.compare(v2);
172602
+ var parse14 = require_parse6();
172603
+ var diff2 = (version1, version2) => {
172604
+ const v1 = parse14(version1, null, true);
172605
+ const v2 = parse14(version2, null, true);
172606
+ const comparison = v1.compare(v2);
172936
172607
  if (comparison === 0) {
172937
172608
  return null;
172938
172609
  }
172939
172610
  const v1Higher = comparison > 0;
172940
- const highVersion = v1Higher ? v12 : v2;
172941
- const lowVersion = v1Higher ? v2 : v12;
172611
+ const highVersion = v1Higher ? v1 : v2;
172612
+ const lowVersion = v1Higher ? v2 : v1;
172942
172613
  const highHasPre = !!highVersion.prerelease.length;
172943
172614
  const lowHasPre = !!lowVersion.prerelease.length;
172944
172615
  if (lowHasPre && !highHasPre) {
@@ -172953,13 +172624,13 @@ var require_diff2 = __commonJS((exports, module) => {
172953
172624
  }
172954
172625
  }
172955
172626
  const prefix = highHasPre ? "pre" : "";
172956
- if (v12.major !== v2.major) {
172627
+ if (v1.major !== v2.major) {
172957
172628
  return prefix + "major";
172958
172629
  }
172959
- if (v12.minor !== v2.minor) {
172630
+ if (v1.minor !== v2.minor) {
172960
172631
  return prefix + "minor";
172961
172632
  }
172962
- if (v12.patch !== v2.patch) {
172633
+ if (v1.patch !== v2.patch) {
172963
172634
  return prefix + "patch";
172964
172635
  }
172965
172636
  return "prerelease";
@@ -172990,9 +172661,9 @@ var require_patch2 = __commonJS((exports, module) => {
172990
172661
 
172991
172662
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/prerelease.js
172992
172663
  var require_prerelease2 = __commonJS((exports, module) => {
172993
- var parse15 = require_parse6();
172994
- var prerelease = (version3, options) => {
172995
- const parsed = parse15(version3, options);
172664
+ var parse14 = require_parse6();
172665
+ var prerelease = (version2, options) => {
172666
+ const parsed = parse14(version2, options);
172996
172667
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
172997
172668
  };
172998
172669
  module.exports = prerelease;
@@ -173136,26 +172807,26 @@ var require_cmp2 = __commonJS((exports, module) => {
173136
172807
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/coerce.js
173137
172808
  var require_coerce2 = __commonJS((exports, module) => {
173138
172809
  var SemVer = require_semver3();
173139
- var parse15 = require_parse6();
172810
+ var parse14 = require_parse6();
173140
172811
  var { safeRe: re, t: t2 } = require_re2();
173141
- var coerce = (version3, options) => {
173142
- if (version3 instanceof SemVer) {
173143
- return version3;
172812
+ var coerce = (version2, options) => {
172813
+ if (version2 instanceof SemVer) {
172814
+ return version2;
173144
172815
  }
173145
- if (typeof version3 === "number") {
173146
- version3 = String(version3);
172816
+ if (typeof version2 === "number") {
172817
+ version2 = String(version2);
173147
172818
  }
173148
- if (typeof version3 !== "string") {
172819
+ if (typeof version2 !== "string") {
173149
172820
  return null;
173150
172821
  }
173151
172822
  options = options || {};
173152
172823
  let match2 = null;
173153
172824
  if (!options.rtl) {
173154
- match2 = version3.match(options.includePrerelease ? re[t2.COERCEFULL] : re[t2.COERCE]);
172825
+ match2 = version2.match(options.includePrerelease ? re[t2.COERCEFULL] : re[t2.COERCE]);
173155
172826
  } else {
173156
172827
  const coerceRtlRegex = options.includePrerelease ? re[t2.COERCERTLFULL] : re[t2.COERCERTL];
173157
172828
  let next2;
173158
- while ((next2 = coerceRtlRegex.exec(version3)) && (!match2 || match2.index + match2[0].length !== version3.length)) {
172829
+ while ((next2 = coerceRtlRegex.exec(version2)) && (!match2 || match2.index + match2[0].length !== version2.length)) {
173159
172830
  if (!match2 || next2.index + next2[0].length !== match2.index + match2[0].length) {
173160
172831
  match2 = next2;
173161
172832
  }
@@ -173171,42 +172842,42 @@ var require_coerce2 = __commonJS((exports, module) => {
173171
172842
  const patch = match2[4] || "0";
173172
172843
  const prerelease = options.includePrerelease && match2[5] ? `-${match2[5]}` : "";
173173
172844
  const build = options.includePrerelease && match2[6] ? `+${match2[6]}` : "";
173174
- return parse15(`${major}.${minor}.${patch}${prerelease}${build}`, options);
172845
+ return parse14(`${major}.${minor}.${patch}${prerelease}${build}`, options);
173175
172846
  };
173176
172847
  module.exports = coerce;
173177
172848
  });
173178
172849
 
173179
172850
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/truncate.js
173180
172851
  var require_truncate2 = __commonJS((exports, module) => {
173181
- var parse15 = require_parse6();
172852
+ var parse14 = require_parse6();
173182
172853
  var constants3 = require_constants9();
173183
172854
  var SemVer = require_semver3();
173184
- var truncate3 = (version3, truncation, options) => {
172855
+ var truncate3 = (version2, truncation, options) => {
173185
172856
  if (!constants3.RELEASE_TYPES.includes(truncation)) {
173186
172857
  return null;
173187
172858
  }
173188
- const clonedVersion = cloneInputVersion(version3, options);
172859
+ const clonedVersion = cloneInputVersion(version2, options);
173189
172860
  return clonedVersion && doTruncation(clonedVersion, truncation);
173190
172861
  };
173191
- var cloneInputVersion = (version3, options) => {
173192
- const versionStringToParse = version3 instanceof SemVer ? version3.version : version3;
173193
- return parse15(versionStringToParse, options);
172862
+ var cloneInputVersion = (version2, options) => {
172863
+ const versionStringToParse = version2 instanceof SemVer ? version2.version : version2;
172864
+ return parse14(versionStringToParse, options);
173194
172865
  };
173195
- var doTruncation = (version3, truncation) => {
172866
+ var doTruncation = (version2, truncation) => {
173196
172867
  if (isPrerelease(truncation)) {
173197
- return version3.version;
172868
+ return version2.version;
173198
172869
  }
173199
- version3.prerelease = [];
172870
+ version2.prerelease = [];
173200
172871
  switch (truncation) {
173201
172872
  case "major":
173202
- version3.minor = 0;
173203
- version3.patch = 0;
172873
+ version2.minor = 0;
172874
+ version2.patch = 0;
173204
172875
  break;
173205
172876
  case "minor":
173206
- version3.patch = 0;
172877
+ version2.patch = 0;
173207
172878
  break;
173208
172879
  }
173209
- return version3.format();
172880
+ return version2.format();
173210
172881
  };
173211
172882
  var isPrerelease = (type) => {
173212
172883
  return type.startsWith("pre");
@@ -173372,19 +173043,19 @@ var require_range2 = __commonJS((exports, module) => {
173372
173043
  });
173373
173044
  });
173374
173045
  }
173375
- test(version3) {
173376
- if (!version3) {
173046
+ test(version2) {
173047
+ if (!version2) {
173377
173048
  return false;
173378
173049
  }
173379
- if (typeof version3 === "string") {
173050
+ if (typeof version2 === "string") {
173380
173051
  try {
173381
- version3 = new SemVer(version3, this.options);
173052
+ version2 = new SemVer(version2, this.options);
173382
173053
  } catch (er) {
173383
173054
  return false;
173384
173055
  }
173385
173056
  }
173386
173057
  for (let i2 = 0;i2 < this.set.length; i2++) {
173387
- if (testSet(this.set[i2], version3, this.options)) {
173058
+ if (testSet(this.set[i2], version2, this.options)) {
173388
173059
  return true;
173389
173060
  }
173390
173061
  }
@@ -173605,13 +173276,13 @@ var require_range2 = __commonJS((exports, module) => {
173605
173276
  }
173606
173277
  return `${from} ${to}`.trim();
173607
173278
  };
173608
- var testSet = (set3, version3, options) => {
173279
+ var testSet = (set3, version2, options) => {
173609
173280
  for (let i2 = 0;i2 < set3.length; i2++) {
173610
- if (!set3[i2].test(version3)) {
173281
+ if (!set3[i2].test(version2)) {
173611
173282
  return false;
173612
173283
  }
173613
173284
  }
173614
- if (version3.prerelease.length && !options.includePrerelease) {
173285
+ if (version2.prerelease.length && !options.includePrerelease) {
173615
173286
  for (let i2 = 0;i2 < set3.length; i2++) {
173616
173287
  debug(set3[i2].semver);
173617
173288
  if (set3[i2].semver === Comparator.ANY) {
@@ -173619,7 +173290,7 @@ var require_range2 = __commonJS((exports, module) => {
173619
173290
  }
173620
173291
  if (set3[i2].semver.prerelease.length > 0) {
173621
173292
  const allowed = set3[i2].semver;
173622
- if (allowed.major === version3.major && allowed.minor === version3.minor && allowed.patch === version3.patch) {
173293
+ if (allowed.major === version2.major && allowed.minor === version2.minor && allowed.patch === version2.patch) {
173623
173294
  return true;
173624
173295
  }
173625
173296
  }
@@ -173678,19 +173349,19 @@ var require_comparator2 = __commonJS((exports, module) => {
173678
173349
  toString() {
173679
173350
  return this.value;
173680
173351
  }
173681
- test(version3) {
173682
- debug("Comparator.test", version3, this.options.loose);
173683
- if (this.semver === ANY || version3 === ANY) {
173352
+ test(version2) {
173353
+ debug("Comparator.test", version2, this.options.loose);
173354
+ if (this.semver === ANY || version2 === ANY) {
173684
173355
  return true;
173685
173356
  }
173686
- if (typeof version3 === "string") {
173357
+ if (typeof version2 === "string") {
173687
173358
  try {
173688
- version3 = new SemVer(version3, this.options);
173359
+ version2 = new SemVer(version2, this.options);
173689
173360
  } catch (er) {
173690
173361
  return false;
173691
173362
  }
173692
173363
  }
173693
- return cmp(version3, this.operator, this.semver, this.options);
173364
+ return cmp(version2, this.operator, this.semver, this.options);
173694
173365
  }
173695
173366
  intersects(comp, options) {
173696
173367
  if (!(comp instanceof Comparator)) {
@@ -173744,13 +173415,13 @@ var require_comparator2 = __commonJS((exports, module) => {
173744
173415
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/functions/satisfies.js
173745
173416
  var require_satisfies2 = __commonJS((exports, module) => {
173746
173417
  var Range = require_range2();
173747
- var satisfies = (version3, range2, options) => {
173418
+ var satisfies = (version2, range2, options) => {
173748
173419
  try {
173749
173420
  range2 = new Range(range2, options);
173750
173421
  } catch (er) {
173751
173422
  return false;
173752
173423
  }
173753
- return range2.test(version3);
173424
+ return range2.test(version2);
173754
173425
  };
173755
173426
  module.exports = satisfies;
173756
173427
  });
@@ -173892,8 +173563,8 @@ var require_outside2 = __commonJS((exports, module) => {
173892
173563
  var lt2 = require_lt2();
173893
173564
  var lte2 = require_lte2();
173894
173565
  var gte2 = require_gte2();
173895
- var outside = (version3, range2, hilo, options) => {
173896
- version3 = new SemVer(version3, options);
173566
+ var outside = (version2, range2, hilo, options) => {
173567
+ version2 = new SemVer(version2, options);
173897
173568
  range2 = new Range(range2, options);
173898
173569
  let gtfn, ltefn, ltfn, comp, ecomp;
173899
173570
  switch (hilo) {
@@ -173914,7 +173585,7 @@ var require_outside2 = __commonJS((exports, module) => {
173914
173585
  default:
173915
173586
  throw new TypeError('Must provide a hilo val of "<" or ">"');
173916
173587
  }
173917
- if (satisfies(version3, range2, options)) {
173588
+ if (satisfies(version2, range2, options)) {
173918
173589
  return false;
173919
173590
  }
173920
173591
  for (let i2 = 0;i2 < range2.set.length; ++i2) {
@@ -173936,9 +173607,9 @@ var require_outside2 = __commonJS((exports, module) => {
173936
173607
  if (high.operator === comp || high.operator === ecomp) {
173937
173608
  return false;
173938
173609
  }
173939
- if ((!low.operator || low.operator === comp) && ltefn(version3, low.semver)) {
173610
+ if ((!low.operator || low.operator === comp) && ltefn(version2, low.semver)) {
173940
173611
  return false;
173941
- } else if (low.operator === ecomp && ltfn(version3, low.semver)) {
173612
+ } else if (low.operator === ecomp && ltfn(version2, low.semver)) {
173942
173613
  return false;
173943
173614
  }
173944
173615
  }
@@ -173950,14 +173621,14 @@ var require_outside2 = __commonJS((exports, module) => {
173950
173621
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/ranges/gtr.js
173951
173622
  var require_gtr2 = __commonJS((exports, module) => {
173952
173623
  var outside = require_outside2();
173953
- var gtr = (version3, range2, options) => outside(version3, range2, ">", options);
173624
+ var gtr = (version2, range2, options) => outside(version2, range2, ">", options);
173954
173625
  module.exports = gtr;
173955
173626
  });
173956
173627
 
173957
173628
  // ../../node_modules/.bun/semver@7.8.4/node_modules/semver/ranges/ltr.js
173958
173629
  var require_ltr2 = __commonJS((exports, module) => {
173959
173630
  var outside = require_outside2();
173960
- var ltr = (version3, range2, options) => outside(version3, range2, "<", options);
173631
+ var ltr = (version2, range2, options) => outside(version2, range2, "<", options);
173961
173632
  module.exports = ltr;
173962
173633
  });
173963
173634
 
@@ -173981,12 +173652,12 @@ var require_simplify2 = __commonJS((exports, module) => {
173981
173652
  let first2 = null;
173982
173653
  let prev2 = null;
173983
173654
  const v = versions2.sort((a, b) => compare(a, b, options));
173984
- for (const version3 of v) {
173985
- const included = satisfies(version3, range2, options);
173655
+ for (const version2 of v) {
173656
+ const included = satisfies(version2, range2, options);
173986
173657
  if (included) {
173987
- prev2 = version3;
173658
+ prev2 = version2;
173988
173659
  if (!first2) {
173989
- first2 = version3;
173660
+ first2 = version2;
173990
173661
  }
173991
173662
  } else {
173992
173663
  if (prev2) {
@@ -174185,7 +173856,7 @@ var require_semver4 = __commonJS((exports, module) => {
174185
173856
  var constants3 = require_constants9();
174186
173857
  var SemVer = require_semver3();
174187
173858
  var identifiers = require_identifiers2();
174188
- var parse15 = require_parse6();
173859
+ var parse14 = require_parse6();
174189
173860
  var valid = require_valid3();
174190
173861
  var clean = require_clean2();
174191
173862
  var inc = require_inc2();
@@ -174224,7 +173895,7 @@ var require_semver4 = __commonJS((exports, module) => {
174224
173895
  var simplifyRange = require_simplify2();
174225
173896
  var subset = require_subset2();
174226
173897
  module.exports = {
174227
- parse: parse15,
173898
+ parse: parse14,
174228
173899
  valid,
174229
173900
  clean,
174230
173901
  inc,
@@ -174280,38 +173951,38 @@ function macOSVersion() {
174280
173951
  if (!isMacOS) {
174281
173952
  return;
174282
173953
  }
174283
- if (!version3) {
173954
+ if (!version2) {
174284
173955
  const file = fs13.readFileSync("/System/Library/CoreServices/SystemVersion.plist", "utf8");
174285
173956
  const matches2 = parseVersion(file);
174286
173957
  if (!matches2) {
174287
173958
  return;
174288
173959
  }
174289
- version3 = clean(matches2);
173960
+ version2 = clean(matches2);
174290
173961
  }
174291
- return version3;
173962
+ return version2;
174292
173963
  }
174293
- function isMacOSVersionGreaterThanOrEqualTo(version4) {
173964
+ function isMacOSVersionGreaterThanOrEqualTo(version3) {
174294
173965
  if (!isMacOS) {
174295
173966
  return false;
174296
173967
  }
174297
- version4 = version4.replace("10.16", "11");
174298
- return import_semver.default.gte(macOSVersion(), clean(version4));
173968
+ version3 = version3.replace("10.16", "11");
173969
+ return import_semver.default.gte(macOSVersion(), clean(version3));
174299
173970
  }
174300
- function assertMacOSVersionGreaterThanOrEqualTo(version4) {
174301
- version4 = version4.replace("10.16", "11");
174302
- if (!isMacOSVersionGreaterThanOrEqualTo(version4)) {
174303
- throw new Error(`Requires macOS ${version4} or later`);
173971
+ function assertMacOSVersionGreaterThanOrEqualTo(version3) {
173972
+ version3 = version3.replace("10.16", "11");
173973
+ if (!isMacOSVersionGreaterThanOrEqualTo(version3)) {
173974
+ throw new Error(`Requires macOS ${version3} or later`);
174304
173975
  }
174305
173976
  }
174306
- var import_semver, isMacOS, version3, clean = (version4) => {
174307
- const { length } = version4.split(".");
173977
+ var import_semver, isMacOS, version2, clean = (version3) => {
173978
+ const { length } = version3.split(".");
174308
173979
  if (length === 1) {
174309
- return `${version4}.0.0`;
173980
+ return `${version3}.0.0`;
174310
173981
  }
174311
173982
  if (length === 2) {
174312
- return `${version4}.0`;
173983
+ return `${version3}.0`;
174313
173984
  }
174314
- return version4;
173985
+ return version3;
174315
173986
  }, parseVersion = (plist) => {
174316
173987
  const matches2 = /<key>ProductVersion<\/key>\s*<string>([\d.]+)<\/string>/.exec(plist);
174317
173988
  if (!matches2) {
@@ -178048,7 +177719,7 @@ var handleNativeStream = ({ stdioItem, stdioItem: { type }, isStdioArray, fdNumb
178048
177719
  }
178049
177720
  return standardStream;
178050
177721
  };
178051
- var init_native = __esm(() => {
177722
+ var init_native2 = __esm(() => {
178052
177723
  init_standard_stream();
178053
177724
  init_uint_array();
178054
177725
  init_fd_options();
@@ -178314,7 +177985,7 @@ var init_handle = __esm(() => {
178314
177985
  init_type();
178315
177986
  init_direction();
178316
177987
  init_stdio_option();
178317
- init_native();
177988
+ init_native2();
178318
177989
  init_input_option();
178319
177990
  init_duplicate();
178320
177991
  INVALID_STDIO_ARRAY_OPTIONS = new Set(["ignore", "ipc"]);
@@ -178473,7 +178144,7 @@ Instead, \`yield\` should either be called with a value, or not be called at all
178473
178144
  if (condition) { yield value; }`);
178474
178145
  }
178475
178146
  };
178476
- var init_validate2 = __esm(() => {
178147
+ var init_validate = __esm(() => {
178477
178148
  init_uint_array();
178478
178149
  });
178479
178150
 
@@ -178651,7 +178322,7 @@ var generatorToStream = ({
178651
178322
  var init_generator = __esm(() => {
178652
178323
  init_type();
178653
178324
  init_split();
178654
- init_validate2();
178325
+ init_validate();
178655
178326
  init_encoding_transform();
178656
178327
  init_run_async();
178657
178328
  });
@@ -182304,7 +181975,7 @@ var require_core4 = __commonJS((exports, module) => {
182304
181975
  }
182305
181976
  return mode;
182306
181977
  }
182307
- var version4 = "10.7.3";
181978
+ var version3 = "10.7.3";
182308
181979
  function hasValueOrEmptyAttribute(value) {
182309
181980
  return Boolean(value || value === "");
182310
181981
  }
@@ -182455,11 +182126,11 @@ var require_core4 = __commonJS((exports, module) => {
182455
182126
  var warn = (message, ...args) => {
182456
182127
  console.log(`WARN: ${message}`, ...args);
182457
182128
  };
182458
- var deprecated = (version5, message) => {
182459
- if (seenDeprecations[`${version5}/${message}`])
182129
+ var deprecated = (version4, message) => {
182130
+ if (seenDeprecations[`${version4}/${message}`])
182460
182131
  return;
182461
- console.log(`Deprecated as of ${version5}. ${message}`);
182462
- seenDeprecations[`${version5}/${message}`] = true;
182132
+ console.log(`Deprecated as of ${version4}. ${message}`);
182133
+ seenDeprecations[`${version4}/${message}`] = true;
182463
182134
  };
182464
182135
  var escape$1 = escapeHTML;
182465
182136
  var inherit$1 = inherit;
@@ -183065,7 +182736,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`);
183065
182736
  hljs.safeMode = function() {
183066
182737
  SAFE_MODE = true;
183067
182738
  };
183068
- hljs.versionString = version4;
182739
+ hljs.versionString = version3;
183069
182740
  for (const key in MODES) {
183070
182741
  if (typeof MODES[key] === "object") {
183071
182742
  deepFreezeEs6(MODES[key]);
@@ -220506,7 +220177,7 @@ var require_serializer2 = __commonJS((exports, module) => {
220506
220177
  var require_lib4 = __commonJS((exports) => {
220507
220178
  var Parser3 = require_parser4();
220508
220179
  var Serializer = require_serializer2();
220509
- exports.parse = function parse15(html3, options) {
220180
+ exports.parse = function parse14(html3, options) {
220510
220181
  const parser = new Parser3(options);
220511
220182
  return parser.parse(html3);
220512
220183
  };
@@ -222671,14 +222342,14 @@ var require_theme = __commonJS((exports) => {
222671
222342
  return jsonTheme;
222672
222343
  }
222673
222344
  exports.toJson = toJson;
222674
- function stringify6(theme) {
222345
+ function stringify5(theme) {
222675
222346
  return JSON.stringify(toJson(theme));
222676
222347
  }
222677
- exports.stringify = stringify6;
222678
- function parse15(json3) {
222348
+ exports.stringify = stringify5;
222349
+ function parse14(json3) {
222679
222350
  return fromJson(JSON.parse(json3));
222680
222351
  }
222681
- exports.parse = parse15;
222352
+ exports.parse = parse14;
222682
222353
  });
222683
222354
 
222684
222355
  // ../../node_modules/.bun/cli-highlight@2.1.11/node_modules/cli-highlight/dist/index.js
@@ -224461,7 +224132,7 @@ var require_main2 = __commonJS((exports, module) => {
224461
224132
  return supportsAnsi() ? `\x1B[2m${text3}\x1B[0m` : text3;
224462
224133
  }
224463
224134
  var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
224464
- function parse15(src) {
224135
+ function parse14(src) {
224465
224136
  const obj = {};
224466
224137
  let lines = src.toString();
224467
224138
  lines = lines.replace(/\r\n?/mg, `
@@ -224735,7 +224406,7 @@ var require_main2 = __commonJS((exports, module) => {
224735
224406
  _parseVault,
224736
224407
  config: config2,
224737
224408
  decrypt,
224738
- parse: parse15,
224409
+ parse: parse14,
224739
224410
  populate
224740
224411
  };
224741
224412
  exports.configDotenv = DotenvModule.configDotenv;
@@ -225225,7 +224896,7 @@ var require_utils7 = __commonJS((exports) => {
225225
224896
  var require_stringify3 = __commonJS((exports, module) => {
225226
224897
  var utils = require_utils7();
225227
224898
  module.exports = (ast, options = {}) => {
225228
- const stringify6 = (node2, parent2 = {}) => {
224899
+ const stringify5 = (node2, parent2 = {}) => {
225229
224900
  const invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent2);
225230
224901
  const invalidNode = node2.invalid === true && options.escapeInvalid === true;
225231
224902
  let output = "";
@@ -225240,12 +224911,12 @@ var require_stringify3 = __commonJS((exports, module) => {
225240
224911
  }
225241
224912
  if (node2.nodes) {
225242
224913
  for (const child of node2.nodes) {
225243
- output += stringify6(child);
224914
+ output += stringify5(child);
225244
224915
  }
225245
224916
  }
225246
224917
  return output;
225247
224918
  };
225248
- return stringify6(ast);
224919
+ return stringify5(ast);
225249
224920
  };
225250
224921
  });
225251
224922
 
@@ -225512,7 +225183,7 @@ var require_fill_range = __commonJS((exports, module) => {
225512
225183
  ;
225513
225184
  return index2 > 0;
225514
225185
  };
225515
- var stringify6 = (start, end2, options) => {
225186
+ var stringify5 = (start, end2, options) => {
225516
225187
  if (typeof start === "string" || typeof end2 === "string") {
225517
225188
  return true;
225518
225189
  }
@@ -225614,7 +225285,7 @@ var require_fill_range = __commonJS((exports, module) => {
225614
225285
  step = Math.max(Math.abs(step), 1);
225615
225286
  let padded = zeros(startString) || zeros(endString) || zeros(stepString);
225616
225287
  let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0;
225617
- let toNumber2 = padded === false && stringify6(start, end2, options) === false;
225288
+ let toNumber2 = padded === false && stringify5(start, end2, options) === false;
225618
225289
  let format2 = options.transform || transform3(toNumber2);
225619
225290
  if (options.toRegex && step === 1) {
225620
225291
  return toRange(toMaxLen(start, maxLen), toMaxLen(end2, maxLen), true, options);
@@ -225744,7 +225415,7 @@ var require_compile2 = __commonJS((exports, module) => {
225744
225415
  // ../../node_modules/.bun/braces@3.0.3/node_modules/braces/lib/expand.js
225745
225416
  var require_expand = __commonJS((exports, module) => {
225746
225417
  var fill2 = require_fill_range();
225747
- var stringify6 = require_stringify3();
225418
+ var stringify5 = require_stringify3();
225748
225419
  var utils = require_utils7();
225749
225420
  var append3 = (queue2 = "", stash = "", enclose = false) => {
225750
225421
  const result2 = [];
@@ -225781,7 +225452,7 @@ var require_expand = __commonJS((exports, module) => {
225781
225452
  q2 = p.queue;
225782
225453
  }
225783
225454
  if (node2.invalid || node2.dollar) {
225784
- q2.push(append3(q2.pop(), stringify6(node2, options)));
225455
+ q2.push(append3(q2.pop(), stringify5(node2, options)));
225785
225456
  return;
225786
225457
  }
225787
225458
  if (node2.type === "brace" && node2.invalid !== true && node2.nodes.length === 2) {
@@ -225795,7 +225466,7 @@ var require_expand = __commonJS((exports, module) => {
225795
225466
  }
225796
225467
  let range2 = fill2(...args, options);
225797
225468
  if (range2.length === 0) {
225798
- range2 = stringify6(node2, options);
225469
+ range2 = stringify5(node2, options);
225799
225470
  }
225800
225471
  q2.push(append3(q2.pop(), range2));
225801
225472
  node2.nodes = [];
@@ -225889,7 +225560,7 @@ var require_constants10 = __commonJS((exports, module) => {
225889
225560
 
225890
225561
  // ../../node_modules/.bun/braces@3.0.3/node_modules/braces/lib/parse.js
225891
225562
  var require_parse7 = __commonJS((exports, module) => {
225892
- var stringify6 = require_stringify3();
225563
+ var stringify5 = require_stringify3();
225893
225564
  var {
225894
225565
  MAX_LENGTH,
225895
225566
  CHAR_BACKSLASH,
@@ -225907,7 +225578,7 @@ var require_parse7 = __commonJS((exports, module) => {
225907
225578
  CHAR_NO_BREAK_SPACE,
225908
225579
  CHAR_ZERO_WIDTH_NOBREAK_SPACE
225909
225580
  } = require_constants10();
225910
- var parse15 = (input, options = {}) => {
225581
+ var parse14 = (input, options = {}) => {
225911
225582
  if (typeof input !== "string") {
225912
225583
  throw new TypeError("Expected a string");
225913
225584
  }
@@ -226050,7 +225721,7 @@ var require_parse7 = __commonJS((exports, module) => {
226050
225721
  if (block.ranges > 0) {
226051
225722
  block.ranges = 0;
226052
225723
  const open5 = block.nodes.shift();
226053
- block.nodes = [open5, { type: "text", value: stringify6(block) }];
225724
+ block.nodes = [open5, { type: "text", value: stringify5(block) }];
226054
225725
  }
226055
225726
  push({ type: "comma", value });
226056
225727
  block.commas++;
@@ -226111,15 +225782,15 @@ var require_parse7 = __commonJS((exports, module) => {
226111
225782
  push({ type: "eos" });
226112
225783
  return ast;
226113
225784
  };
226114
- module.exports = parse15;
225785
+ module.exports = parse14;
226115
225786
  });
226116
225787
 
226117
225788
  // ../../node_modules/.bun/braces@3.0.3/node_modules/braces/index.js
226118
225789
  var require_braces = __commonJS((exports, module) => {
226119
- var stringify6 = require_stringify3();
225790
+ var stringify5 = require_stringify3();
226120
225791
  var compile4 = require_compile2();
226121
225792
  var expand = require_expand();
226122
- var parse15 = require_parse7();
225793
+ var parse14 = require_parse7();
226123
225794
  var braces = (input, options = {}) => {
226124
225795
  let output = [];
226125
225796
  if (Array.isArray(input)) {
@@ -226139,12 +225810,12 @@ var require_braces = __commonJS((exports, module) => {
226139
225810
  }
226140
225811
  return output;
226141
225812
  };
226142
- braces.parse = (input, options = {}) => parse15(input, options);
225813
+ braces.parse = (input, options = {}) => parse14(input, options);
226143
225814
  braces.stringify = (input, options = {}) => {
226144
225815
  if (typeof input === "string") {
226145
- return stringify6(braces.parse(input, options), options);
225816
+ return stringify5(braces.parse(input, options), options);
226146
225817
  }
226147
- return stringify6(input, options);
225818
+ return stringify5(input, options);
226148
225819
  };
226149
225820
  braces.compile = (input, options = {}) => {
226150
225821
  if (typeof input === "string") {
@@ -226927,7 +226598,7 @@ var require_parse8 = __commonJS((exports, module) => {
226927
226598
  }
226928
226599
  return { risky: false };
226929
226600
  };
226930
- var parse15 = (input, options) => {
226601
+ var parse14 = (input, options) => {
226931
226602
  if (typeof input !== "string") {
226932
226603
  throw new TypeError("Expected a string");
226933
226604
  }
@@ -227099,7 +226770,7 @@ var require_parse8 = __commonJS((exports, module) => {
227099
226770
  output = token.close = `)$))${extglobStar}`;
227100
226771
  }
227101
226772
  if (token.inner.includes("*") && (rest2 = remaining()) && /^\.[^\\/.]+$/.test(rest2)) {
227102
- const expression = parse15(rest2, { ...options, fastpaths: false }).output;
226773
+ const expression = parse14(rest2, { ...options, fastpaths: false }).output;
227103
226774
  output = token.close = `)${expression})${extglobStar})`;
227104
226775
  }
227105
226776
  if (token.prev.type === "bos") {
@@ -227628,7 +227299,7 @@ var require_parse8 = __commonJS((exports, module) => {
227628
227299
  }
227629
227300
  return state;
227630
227301
  };
227631
- parse15.fastpaths = (input, options) => {
227302
+ parse14.fastpaths = (input, options) => {
227632
227303
  const opts = { ...options };
227633
227304
  const max2 = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
227634
227305
  const len = input.length;
@@ -227697,14 +227368,14 @@ var require_parse8 = __commonJS((exports, module) => {
227697
227368
  }
227698
227369
  return source;
227699
227370
  };
227700
- module.exports = parse15;
227371
+ module.exports = parse14;
227701
227372
  });
227702
227373
 
227703
227374
  // ../../node_modules/.bun/picomatch@2.3.2/node_modules/picomatch/lib/picomatch.js
227704
227375
  var require_picomatch = __commonJS((exports, module) => {
227705
227376
  var path20 = __require("path");
227706
227377
  var scan = require_scan();
227707
- var parse15 = require_parse8();
227378
+ var parse14 = require_parse8();
227708
227379
  var utils = require_utils8();
227709
227380
  var constants6 = require_constants11();
227710
227381
  var isObject4 = (val2) => val2 && typeof val2 === "object" && !Array.isArray(val2);
@@ -227794,7 +227465,7 @@ var require_picomatch = __commonJS((exports, module) => {
227794
227465
  picomatch.parse = (pattern, options) => {
227795
227466
  if (Array.isArray(pattern))
227796
227467
  return pattern.map((p) => picomatch.parse(p, options));
227797
- return parse15(pattern, { ...options, fastpaths: false });
227468
+ return parse14(pattern, { ...options, fastpaths: false });
227798
227469
  };
227799
227470
  picomatch.scan = (input, options) => scan(input, options);
227800
227471
  picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
@@ -227820,10 +227491,10 @@ var require_picomatch = __commonJS((exports, module) => {
227820
227491
  }
227821
227492
  let parsed = { negated: false, fastpaths: true };
227822
227493
  if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) {
227823
- parsed.output = parse15.fastpaths(input, options);
227494
+ parsed.output = parse14.fastpaths(input, options);
227824
227495
  }
227825
227496
  if (!parsed.output) {
227826
- parsed = parse15(input, options);
227497
+ parsed = parse14(input, options);
227827
227498
  }
227828
227499
  return picomatch.compileRe(parsed, options, returnOutput, returnState);
227829
227500
  };
@@ -233946,21 +233617,20 @@ var BrowserTool = {
233946
233617
  inputSchema: browserSchema,
233947
233618
  execute: async ({ url }, context) => {
233948
233619
  try {
233949
- const vncServerPort = 5900;
233950
- const websockifyPort = 6080;
233951
- const res = await fetch(url, {
233952
- headers: {
233953
- "User-Agent": "Mozilla/5.0 (compatible; DecemberAgent/1.0)"
233954
- }
233955
- });
233956
- const html = await res.text();
233957
- if (!res.ok) {
233958
- return `HTTP Error (${res.status}): ${html}`;
233620
+ if (!context.operations.browser) {
233621
+ return `Failed to fetch URL: Browser operations are not supported in this environment.`;
233622
+ }
233623
+ const result = await context.operations.browser.navigate(url);
233624
+ if (result.error) {
233625
+ return `Failed to fetch URL: ${result.error}`;
233959
233626
  }
233960
- const cleanText = html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi, "").replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
233961
- return truncateOutput(cleanText, 25000, 100).text + `
233627
+ let output = truncateOutput(result.text, 25000, 100).text;
233628
+ if (result.vncUrl) {
233629
+ output += `
233962
233630
 
233963
- [VNC STREAM STARTED: ws://localhost:${websockifyPort}]`;
233631
+ [VNC STREAM STARTED: ${result.vncUrl}]`;
233632
+ }
233633
+ return output;
233964
233634
  } catch (error3) {
233965
233635
  return `Failed to fetch URL: ${error3.message}`;
233966
233636
  }
@@ -237582,7 +237252,7 @@ var import_css_what2 = __toESM(require_commonjs(), 1);
237582
237252
  var whitespace = new Set([9, 10, 12, 13, 32]);
237583
237253
  var ZERO = 48;
237584
237254
  var NINE = 57;
237585
- function parse8(formula) {
237255
+ function parse7(formula) {
237586
237256
  formula = formula.trim().toLowerCase();
237587
237257
  if (formula === "even") {
237588
237258
  return [2, 0];
@@ -237655,7 +237325,7 @@ function compile(parsed) {
237655
237325
 
237656
237326
  // ../../node_modules/.bun/nth-check@2.1.1/node_modules/nth-check/lib/esm/index.js
237657
237327
  function nthCheck(formula) {
237658
- return compile(parse8(formula));
237328
+ return compile(parse7(formula));
237659
237329
  }
237660
237330
 
237661
237331
  // ../../node_modules/.bun/css-select@5.2.2/node_modules/css-select/lib/esm/pseudo-selectors/filters.js
@@ -238744,7 +238414,7 @@ __export(exports_manipulation, {
238744
238414
 
238745
238415
  // ../../node_modules/.bun/cheerio@1.2.0/node_modules/cheerio/dist/esm/parse.js
238746
238416
  function getParse(parser) {
238747
- return function parse12(content, options, isDocument2, context) {
238417
+ return function parse11(content, options, isDocument2, context) {
238748
238418
  if (typeof Buffer !== "undefined" && Buffer.isBuffer(content)) {
238749
238419
  content = content.toString();
238750
238420
  }
@@ -239131,7 +238801,7 @@ function setCss(el, prop2, value, idx) {
239131
238801
  } else if (val2 != null) {
239132
238802
  styles[prop2] = val2;
239133
238803
  }
239134
- el.attribs["style"] = stringify5(styles);
238804
+ el.attribs["style"] = stringify4(styles);
239135
238805
  } else if (typeof prop2 === "object") {
239136
238806
  const keys = Object.keys(prop2);
239137
238807
  for (let i2 = 0;i2 < keys.length; i2++) {
@@ -239143,7 +238813,7 @@ function setCss(el, prop2, value, idx) {
239143
238813
  function getCss(el, prop2) {
239144
238814
  if (!el || !isTag2(el))
239145
238815
  return;
239146
- const styles = parse12(el.attribs["style"]);
238816
+ const styles = parse11(el.attribs["style"]);
239147
238817
  if (typeof prop2 === "string") {
239148
238818
  return styles[prop2];
239149
238819
  }
@@ -239158,10 +238828,10 @@ function getCss(el, prop2) {
239158
238828
  }
239159
238829
  return styles;
239160
238830
  }
239161
- function stringify5(obj) {
238831
+ function stringify4(obj) {
239162
238832
  return Object.keys(obj).reduce((str2, prop2) => `${str2}${str2 ? " " : ""}${prop2}: ${obj[prop2]};`, "");
239163
238833
  }
239164
- function parse12(styles) {
238834
+ function parse11(styles) {
239165
238835
  styles = (styles || "").trim();
239166
238836
  if (!styles)
239167
238837
  return {};
@@ -239269,13 +238939,13 @@ Cheerio.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];
239269
238939
  Object.assign(Cheerio.prototype, exports_attributes, exports_traversing, exports_manipulation, exports_css, exports_forms, exports_extract);
239270
238940
 
239271
238941
  // ../../node_modules/.bun/cheerio@1.2.0/node_modules/cheerio/dist/esm/load.js
239272
- function getLoad(parse13, render3) {
238942
+ function getLoad(parse12, render3) {
239273
238943
  return function load(content, options, isDocument2 = true) {
239274
238944
  if (content == null) {
239275
238945
  throw new Error("cheerio.load() expects a string");
239276
238946
  }
239277
238947
  const internalOpts = flattenOptions(options);
239278
- const initialRoot = parse13(content, internalOpts, isDocument2, null);
238948
+ const initialRoot = parse12(content, internalOpts, isDocument2, null);
239279
238949
 
239280
238950
  class LoadedCheerio extends Cheerio {
239281
238951
  _make(selector, context) {
@@ -239284,7 +238954,7 @@ function getLoad(parse13, render3) {
239284
238954
  return cheerio;
239285
238955
  }
239286
238956
  _parse(content2, options2, isDocument3, context) {
239287
- return parse13(content2, options2, isDocument3, context);
238957
+ return parse12(content2, options2, isDocument3, context);
239288
238958
  }
239289
238959
  _render(dom) {
239290
238960
  return render3(dom, this.options);
@@ -239294,13 +238964,13 @@ function getLoad(parse13, render3) {
239294
238964
  if (selector && isCheerio(selector))
239295
238965
  return selector;
239296
238966
  const options2 = flattenOptions(opts, internalOpts);
239297
- const r2 = typeof root2 === "string" ? [parse13(root2, options2, false, null)] : ("length" in root2) ? root2 : [root2];
238967
+ const r2 = typeof root2 === "string" ? [parse12(root2, options2, false, null)] : ("length" in root2) ? root2 : [root2];
239298
238968
  const rootInstance = isCheerio(r2) ? r2 : new LoadedCheerio(r2, null, options2);
239299
238969
  rootInstance._root = rootInstance;
239300
238970
  if (!selector) {
239301
238971
  return new LoadedCheerio(undefined, rootInstance, options2);
239302
238972
  }
239303
- const elements = typeof selector === "string" && isHtml(selector) ? parse13(selector, options2, false, null).children : isNode(selector) ? [selector] : Array.isArray(selector) ? selector : undefined;
238973
+ const elements = typeof selector === "string" && isHtml(selector) ? parse12(selector, options2, false, null).children : isNode(selector) ? [selector] : Array.isArray(selector) ? selector : undefined;
239304
238974
  const instance = new LoadedCheerio(elements, rootInstance, options2);
239305
238975
  if (elements) {
239306
238976
  return instance;
@@ -239309,7 +238979,7 @@ function getLoad(parse13, render3) {
239309
238979
  throw new TypeError("Unexpected type of selector");
239310
238980
  }
239311
238981
  let search = selector;
239312
- const searchContext = context ? typeof context === "string" ? isHtml(context) ? new LoadedCheerio([parse13(context, options2, false, null)], rootInstance, options2) : (search = `${context} ${search}`, rootInstance) : isCheerio(context) ? context : new LoadedCheerio(Array.isArray(context) ? context : [context], rootInstance, options2) : rootInstance;
238982
+ const searchContext = context ? typeof context === "string" ? isHtml(context) ? new LoadedCheerio([parse12(context, options2, false, null)], rootInstance, options2) : (search = `${context} ${search}`, rootInstance) : isCheerio(context) ? context : new LoadedCheerio(Array.isArray(context) ? context : [context], rootInstance, options2) : rootInstance;
239313
238983
  if (!searchContext)
239314
238984
  return instance;
239315
238985
  return searchContext.find(search);
@@ -246946,7 +246616,7 @@ function serializeDocumentTypeNode(node2, { treeAdapter }) {
246946
246616
  }
246947
246617
 
246948
246618
  // ../../node_modules/.bun/parse5@7.3.0/node_modules/parse5/dist/index.js
246949
- function parse13(html3, options) {
246619
+ function parse12(html3, options) {
246950
246620
  return Parser2.parse(html3, options);
246951
246621
  }
246952
246622
  function parseFragment(fragmentContext, html3, options) {
@@ -247168,7 +246838,7 @@ function parseWithParse5(content, options, isDocument2, context) {
247168
246838
  if (options.scriptingEnabled !== false) {
247169
246839
  options.scriptingEnabled = true;
247170
246840
  }
247171
- return isDocument2 ? parse13(content, options) : parseFragment(context, content, options);
246841
+ return isDocument2 ? parse12(content, options) : parseFragment(context, content, options);
247172
246842
  }
247173
246843
  var renderOpts = { treeAdapter: adapter };
247174
246844
  function renderWithParse5(dom) {
@@ -247188,8 +246858,8 @@ function renderWithParse5(dom) {
247188
246858
  }
247189
246859
 
247190
246860
  // ../../node_modules/.bun/cheerio@1.2.0/node_modules/cheerio/dist/esm/load-parse.js
247191
- var parse14 = getParse((content, options, isDocument2, context) => options._useHtmlParser2 ? parseDocument(content, options) : parseWithParse5(content, options, isDocument2, context));
247192
- var load = getLoad(parse14, (dom, options) => options._useHtmlParser2 ? esm_default(dom, options) : renderWithParse5(dom));
246861
+ var parse13 = getParse((content, options, isDocument2, context) => options._useHtmlParser2 ? parseDocument(content, options) : parseWithParse5(content, options, isDocument2, context));
246862
+ var load = getLoad(parse13, (dom, options) => options._useHtmlParser2 ? esm_default(dom, options) : renderWithParse5(dom));
247193
246863
  // ../../node_modules/.bun/encoding-sniffer@0.2.1/node_modules/encoding-sniffer/dist/esm/index.js
247194
246864
  var import_iconv_lite = __toESM(require_lib2(), 1);
247195
246865
 
@@ -247481,10 +247151,28 @@ var WebSearchTool = {
247481
247151
  var readWikiSchema = Type2.Object({
247482
247152
  pageId: Type2.String({ description: "The ID or title of the wiki page to read" })
247483
247153
  });
247154
+ var readWikiTool = {
247155
+ name: "read_wiki",
247156
+ description: "Read a wiki page from the project folder documentation.",
247157
+ inputSchema: readWikiSchema,
247158
+ execute: async (args, context) => {
247159
+ const { pageId } = args;
247160
+ return `Wiki content for ${pageId} retrieved.`;
247161
+ }
247162
+ };
247484
247163
  var updateWikiSchema = Type2.Object({
247485
247164
  pageId: Type2.String({ description: "The ID or title of the wiki page to update" }),
247486
247165
  content: Type2.String({ description: "The markdown content to save" })
247487
247166
  });
247167
+ var updateWikiTool = {
247168
+ name: "update_wiki",
247169
+ description: "Update or create a wiki page in the project folder documentation.",
247170
+ inputSchema: updateWikiSchema,
247171
+ execute: async (args, context) => {
247172
+ const { pageId, content } = args;
247173
+ return `Wiki page ${pageId} updated successfully.`;
247174
+ }
247175
+ };
247488
247176
  // ../../packages/tools/src/pr.ts
247489
247177
  var createPrReviewSchema = Type2.Object({
247490
247178
  prUrl: Type2.String({ description: "The GitHub Pull Request URL" }),
@@ -247494,11 +247182,29 @@ var createPrReviewSchema = Type2.Object({
247494
247182
  body: Type2.String()
247495
247183
  }), { description: "List of review comments" })
247496
247184
  });
247185
+ var createPrReviewTool = {
247186
+ name: "create_pr_review",
247187
+ description: "Create a PR review on GitHub with line-specific comments.",
247188
+ inputSchema: createPrReviewSchema,
247189
+ execute: async (args, context) => {
247190
+ const { prUrl } = args;
247191
+ return `Successfully submitted PR review for ${prUrl}.`;
247192
+ }
247193
+ };
247497
247194
  var submitPrSchema = Type2.Object({
247498
247195
  branch: Type2.String({ description: "The branch name to push" }),
247499
247196
  title: Type2.String({ description: "The PR title" }),
247500
247197
  body: Type2.String({ description: "The PR description body" })
247501
247198
  });
247199
+ var submitPrTool = {
247200
+ name: "submit_pr",
247201
+ description: "Push changes and submit a new Pull Request on GitHub.",
247202
+ inputSchema: submitPrSchema,
247203
+ execute: async (args, context) => {
247204
+ const { branch, title } = args;
247205
+ return `Successfully submitted PR "${title}" from branch ${branch}.`;
247206
+ }
247207
+ };
247502
247208
  // ../../node_modules/.bun/ink@7.1.0+90ffd46201e3176f/node_modules/ink/build/render.js
247503
247209
  import { Stream as Stream6 } from "node:stream";
247504
247210
  import process15 from "node:process";
@@ -249608,13 +249314,13 @@ var isWide = (codePoint) => {
249608
249314
  };
249609
249315
 
249610
249316
  // ../../node_modules/.bun/get-east-asian-width@1.6.0/node_modules/get-east-asian-width/index.js
249611
- function validate2(codePoint) {
249317
+ function validate(codePoint) {
249612
249318
  if (!Number.isSafeInteger(codePoint)) {
249613
249319
  throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
249614
249320
  }
249615
249321
  }
249616
249322
  function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
249617
- validate2(codePoint);
249323
+ validate(codePoint);
249618
249324
  if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
249619
249325
  return 2;
249620
249326
  }
@@ -252860,10 +252566,10 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
252860
252566
  return 3;
252861
252567
  }
252862
252568
  if ("TERM_PROGRAM" in env5) {
252863
- const version3 = Number.parseInt((env5.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
252569
+ const version2 = Number.parseInt((env5.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
252864
252570
  switch (env5.TERM_PROGRAM) {
252865
252571
  case "iTerm.app": {
252866
- return version3 >= 3 ? 3 : 2;
252572
+ return version2 >= 3 ? 3 : 2;
252867
252573
  }
252868
252574
  case "Apple_Terminal": {
252869
252575
  return 2;
@@ -262650,7 +262356,7 @@ var package_default = {
262650
262356
  module: "src/index.ts",
262651
262357
  type: "module",
262652
262358
  private: false,
262653
- version: "0.2.15",
262359
+ version: "0.2.16",
262654
262360
  description: "Turn ideas into reality.",
262655
262361
  author: "Chaitanya Sonawane",
262656
262362
  license: "Apache-2.0",
@@ -265352,6 +265058,25 @@ var localOperations = {
265352
265058
  requestPermission: async () => {
265353
265059
  return { block: false };
265354
265060
  }
265061
+ },
265062
+ browser: {
265063
+ navigate: async (url) => {
265064
+ try {
265065
+ const res = await fetch(url, {
265066
+ headers: {
265067
+ "User-Agent": "Mozilla/5.0 (compatible; DecemberAgent/1.0)"
265068
+ }
265069
+ });
265070
+ const html3 = await res.text();
265071
+ if (!res.ok) {
265072
+ return { text: "", error: `HTTP Error (${res.status}): ${html3}` };
265073
+ }
265074
+ const cleanText = html3.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi, "").replace(/<[^>]+>/g, " ").replace(/\s+/g, " ").trim();
265075
+ return { text: cleanText };
265076
+ } catch (error4) {
265077
+ return { text: "", error: error4.message };
265078
+ }
265079
+ }
265355
265080
  }
265356
265081
  };
265357
265082
 
@@ -265434,9 +265159,6 @@ async function main() {
265434
265159
  const config2 = await loadConfig();
265435
265160
  const harness = new AgentHarness({
265436
265161
  baseSystemPrompt: `You are December, an autonomous, expert coding agent. You help the user by exploring codebases, executing terminal commands, editing files, and resolving complex tasks.
265437
-
265438
- You operate across two environments seamlessly: locally via a terminal CLI, and remotely via a secure cloud sandbox.
265439
-
265440
265162
  Guidelines:
265441
265163
  - Plan carefully before making broad changes.
265442
265164
  - Use bash tools to explore the environment before guessing file paths.
@@ -265460,7 +265182,11 @@ Guidelines:
265460
265182
  BrowserTool,
265461
265183
  GitHubTool,
265462
265184
  MCPTool,
265463
- WebSearchTool
265185
+ WebSearchTool,
265186
+ readWikiTool,
265187
+ updateWikiTool,
265188
+ createPrReviewTool,
265189
+ submitPrTool
265464
265190
  ],
265465
265191
  operations: localOperations,
265466
265192
  modelOptions: { model: providerConfig?.model || "gemini-3.5-flash" },