archymedes-cli 3.6.0 → 3.7.0
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.
- package/README.md +7 -3
- package/bin/archymedes.mjs +0 -0
- package/dist/{archymedes-qm9bwbe7.mjs → archymedes-cfwtgnjx.mjs} +3 -3
- package/dist/{archymedes-0jxzsh4z.mjs → archymedes-d5wqcmdr.mjs} +97 -97
- package/dist/{archymedes-1g1y6q74.mjs → archymedes-h13ap0za.mjs} +1 -1
- package/dist/{archymedes-2119874q.mjs → archymedes-hr1bssj4.mjs} +154 -154
- package/dist/archymedes-main.mjs +1692 -523
- package/dist/{factory-wc4p77tw.mjs → factory-3a3bffgd.mjs} +326 -326
- package/dist/{index-teq1cta4.mjs → index-qvgcwsvm.mjs} +1 -1
- package/dist/{node-0fh63p8z.mjs → node-mdgzx68h.mjs} +7 -7
- package/dist/{projection-4jjdaf41.mjs → projection-ndr3t77h.mjs} +2 -2
- package/dist/{sandbox-templates-8sd1psez.mjs → sandbox-templates-9jcjws23.mjs} +2 -2
- package/package.json +8 -8
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__toESM
|
|
5
5
|
} from "./archymedes-x67v3n58.mjs";
|
|
6
6
|
|
|
7
|
-
// node_modules/.bun/@stablelib+base64@1.0.1/node_modules/@stablelib/base64/lib/base64.js
|
|
7
|
+
// ../../node_modules/.bun/@stablelib+base64@1.0.1/node_modules/@stablelib/base64/lib/base64.js
|
|
8
8
|
var require_base64 = __commonJS((exports) => {
|
|
9
9
|
var __extends = exports && exports.__extends || function() {
|
|
10
10
|
var extendStatics = function(d, b) {
|
|
@@ -210,7 +210,7 @@ var require_base64 = __commonJS((exports) => {
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
// node_modules/.bun/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.js
|
|
213
|
+
// ../../node_modules/.bun/fast-sha256@1.3.0/node_modules/fast-sha256/sha256.js
|
|
214
214
|
var require_sha256 = __commonJS((exports, module) => {
|
|
215
215
|
(function(root, factory) {
|
|
216
216
|
var exports2 = {};
|
|
@@ -625,7 +625,7 @@ var require_sha256 = __commonJS((exports, module) => {
|
|
|
625
625
|
});
|
|
626
626
|
});
|
|
627
627
|
|
|
628
|
-
// node_modules/.bun/standardwebhooks@1.1.1/node_modules/standardwebhooks/dist/timing_safe_equal.js
|
|
628
|
+
// ../../node_modules/.bun/standardwebhooks@1.1.1/node_modules/standardwebhooks/dist/timing_safe_equal.js
|
|
629
629
|
var require_timing_safe_equal = __commonJS((exports) => {
|
|
630
630
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
631
631
|
exports.timingSafeEqual = timingSafeEqual;
|
|
@@ -656,7 +656,7 @@ var require_timing_safe_equal = __commonJS((exports) => {
|
|
|
656
656
|
}
|
|
657
657
|
});
|
|
658
658
|
|
|
659
|
-
// node_modules/.bun/standardwebhooks@1.1.1/node_modules/standardwebhooks/dist/index.js
|
|
659
|
+
// ../../node_modules/.bun/standardwebhooks@1.1.1/node_modules/standardwebhooks/dist/index.js
|
|
660
660
|
var require_dist = __commonJS((exports) => {
|
|
661
661
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
662
662
|
exports.Webhook = exports.WebhookVerificationError = undefined;
|
|
@@ -772,7 +772,7 @@ var require_dist = __commonJS((exports) => {
|
|
|
772
772
|
Webhook.prefix = "whsec_";
|
|
773
773
|
});
|
|
774
774
|
|
|
775
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
775
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/tslib.mjs
|
|
776
776
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
777
777
|
if (kind === "m")
|
|
778
778
|
throw new TypeError("Private method is not writable");
|
|
@@ -790,7 +790,7 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
|
790
790
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
791
791
|
}
|
|
792
792
|
|
|
793
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
|
|
793
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/uuid.mjs
|
|
794
794
|
var uuid4 = function() {
|
|
795
795
|
const { crypto } = globalThis;
|
|
796
796
|
if (crypto?.randomUUID) {
|
|
@@ -802,7 +802,7 @@ var uuid4 = function() {
|
|
|
802
802
|
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ randomByte() & 15 >> +c / 4).toString(16));
|
|
803
803
|
};
|
|
804
804
|
|
|
805
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/errors.mjs
|
|
805
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/errors.mjs
|
|
806
806
|
function isAbortError(err) {
|
|
807
807
|
return typeof err === "object" && err !== null && (("name" in err) && err.name === "AbortError" || ("message" in err) && String(err.message).includes("FetchRequestCanceledException"));
|
|
808
808
|
}
|
|
@@ -829,7 +829,7 @@ var castToError = (err) => {
|
|
|
829
829
|
return new Error(err);
|
|
830
830
|
};
|
|
831
831
|
|
|
832
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/error.mjs
|
|
832
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/error.mjs
|
|
833
833
|
class AnthropicError extends Error {
|
|
834
834
|
}
|
|
835
835
|
|
|
@@ -941,7 +941,7 @@ class RateLimitError extends APIError {
|
|
|
941
941
|
class InternalServerError extends APIError {
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs
|
|
944
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/values.mjs
|
|
945
945
|
var startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
946
946
|
var isAbsoluteURL = (url) => {
|
|
947
947
|
return startsWithSchemeRegexp.test(url);
|
|
@@ -981,7 +981,7 @@ var safeJSON = (text) => {
|
|
|
981
981
|
}
|
|
982
982
|
};
|
|
983
983
|
|
|
984
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs
|
|
984
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/sleep.mjs
|
|
985
985
|
var sleep = (ms, signal) => new Promise((resolve) => {
|
|
986
986
|
if (signal?.aborted)
|
|
987
987
|
return resolve();
|
|
@@ -996,10 +996,10 @@ var sleep = (ms, signal) => new Promise((resolve) => {
|
|
|
996
996
|
signal?.addEventListener("abort", onAbort, { once: true });
|
|
997
997
|
});
|
|
998
998
|
|
|
999
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/version.mjs
|
|
999
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/version.mjs
|
|
1000
1000
|
var VERSION = "0.116.0";
|
|
1001
1001
|
|
|
1002
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
|
|
1002
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
|
|
1003
1003
|
var isRunningInBrowser = () => {
|
|
1004
1004
|
return typeof window !== "undefined" && typeof window.document !== "undefined" && typeof navigator !== "undefined";
|
|
1005
1005
|
};
|
|
@@ -1128,7 +1128,7 @@ var getPlatformHeaders = () => {
|
|
|
1128
1128
|
return _platformHeaders ?? (_platformHeaders = getPlatformProperties());
|
|
1129
1129
|
};
|
|
1130
1130
|
|
|
1131
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/request-signal.mjs
|
|
1131
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/request-signal.mjs
|
|
1132
1132
|
var cleanups = new WeakMap;
|
|
1133
1133
|
var registry = typeof globalThis.FinalizationRegistry === "function" ? new globalThis.FinalizationRegistry((controller) => releaseRequestSignal(controller)) : null;
|
|
1134
1134
|
function makeCleanup(signal, listener) {
|
|
@@ -1150,7 +1150,7 @@ function releaseRequestSignal(controller) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/shims.mjs
|
|
1153
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/shims.mjs
|
|
1154
1154
|
function getDefaultFetch() {
|
|
1155
1155
|
if (typeof fetch !== "undefined") {
|
|
1156
1156
|
return fetch;
|
|
@@ -1221,7 +1221,7 @@ async function CancelReadableStream(stream) {
|
|
|
1221
1221
|
await cancelPromise;
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
|
|
1224
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/request-options.mjs
|
|
1225
1225
|
class BetaFallbackState {
|
|
1226
1226
|
}
|
|
1227
1227
|
var FallbackEncoder = ({ headers, body }) => {
|
|
@@ -1233,7 +1233,7 @@ var FallbackEncoder = ({ headers, body }) => {
|
|
|
1233
1233
|
};
|
|
1234
1234
|
};
|
|
1235
1235
|
|
|
1236
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs
|
|
1236
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/qs/formats.mjs
|
|
1237
1237
|
var default_format = "RFC3986";
|
|
1238
1238
|
var default_formatter = (v) => String(v);
|
|
1239
1239
|
var formatters = {
|
|
@@ -1242,7 +1242,7 @@ var formatters = {
|
|
|
1242
1242
|
};
|
|
1243
1243
|
var RFC1738 = "RFC1738";
|
|
1244
1244
|
|
|
1245
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs
|
|
1245
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/qs/utils.mjs
|
|
1246
1246
|
var has = (obj, key) => (has = Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty), has(obj, key));
|
|
1247
1247
|
var hex_table = /* @__PURE__ */ (() => {
|
|
1248
1248
|
const array = [];
|
|
@@ -1314,7 +1314,7 @@ function maybe_map(val, fn) {
|
|
|
1314
1314
|
return fn(val);
|
|
1315
1315
|
}
|
|
1316
1316
|
|
|
1317
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs
|
|
1317
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/qs/stringify.mjs
|
|
1318
1318
|
var array_prefix_generators = {
|
|
1319
1319
|
brackets(prefix) {
|
|
1320
1320
|
return String(prefix) + "[]";
|
|
@@ -1542,12 +1542,12 @@ function stringify(object, opts = {}) {
|
|
|
1542
1542
|
return joined.length > 0 ? prefix + joined : "";
|
|
1543
1543
|
}
|
|
1544
1544
|
|
|
1545
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs
|
|
1545
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/query.mjs
|
|
1546
1546
|
function stringifyQuery(query) {
|
|
1547
1547
|
return stringify(query, { arrayFormat: "brackets" });
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs
|
|
1550
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/types.mjs
|
|
1551
1551
|
var GRANT_TYPE_JWT_BEARER = "urn:ietf:params:oauth:grant-type:jwt-bearer";
|
|
1552
1552
|
var GRANT_TYPE_REFRESH_TOKEN = "refresh_token";
|
|
1553
1553
|
var TOKEN_ENDPOINT = "/v1/oauth/token";
|
|
@@ -1711,12 +1711,12 @@ class WorkloadIdentityError extends AnthropicError {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
1713
|
|
|
1714
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs
|
|
1714
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/time.mjs
|
|
1715
1715
|
function nowAsSeconds() {
|
|
1716
1716
|
return Math.floor(Date.now() / 1000);
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs
|
|
1719
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/token-cache.mjs
|
|
1720
1720
|
class TokenCache {
|
|
1721
1721
|
constructor(provider, onAdvisoryRefreshError) {
|
|
1722
1722
|
this.cached = null;
|
|
@@ -1783,7 +1783,7 @@ class TokenCache {
|
|
|
1783
1783
|
}
|
|
1784
1784
|
}
|
|
1785
1785
|
|
|
1786
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs
|
|
1786
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/env.mjs
|
|
1787
1787
|
var readEnv = (env) => {
|
|
1788
1788
|
if (typeof globalThis.process !== "undefined") {
|
|
1789
1789
|
return globalThis.process.env?.[env]?.trim() || undefined;
|
|
@@ -1793,7 +1793,7 @@ var readEnv = (env) => {
|
|
|
1793
1793
|
}
|
|
1794
1794
|
return;
|
|
1795
1795
|
};
|
|
1796
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs
|
|
1796
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/bytes.mjs
|
|
1797
1797
|
function concatBytes(buffers) {
|
|
1798
1798
|
let length = 0;
|
|
1799
1799
|
for (const buffer of buffers) {
|
|
@@ -1817,7 +1817,7 @@ function decodeUTF8(bytes) {
|
|
|
1817
1817
|
let decoder;
|
|
1818
1818
|
return (decodeUTF8_ ?? (decoder = new globalThis.TextDecoder, decodeUTF8_ = decoder.decode.bind(decoder)))(bytes);
|
|
1819
1819
|
}
|
|
1820
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs
|
|
1820
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/log.mjs
|
|
1821
1821
|
var defaultLogLevel = "warn";
|
|
1822
1822
|
var levelNumbers = {
|
|
1823
1823
|
off: 0,
|
|
@@ -1902,7 +1902,7 @@ var formatRequestDetails = (details) => {
|
|
|
1902
1902
|
}
|
|
1903
1903
|
return details;
|
|
1904
1904
|
};
|
|
1905
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/credentials.mjs
|
|
1905
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/credentials.mjs
|
|
1906
1906
|
var CREDENTIALS_FILE_VERSION = "1.0";
|
|
1907
1907
|
var PROFILE_NAME_PATTERN = /^[A-Za-z0-9_.-]+$/;
|
|
1908
1908
|
function validateProfileName(name) {
|
|
@@ -2072,7 +2072,7 @@ var getActiveProfileName = async () => {
|
|
|
2072
2072
|
}
|
|
2073
2073
|
};
|
|
2074
2074
|
|
|
2075
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs
|
|
2075
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/identity-token.mjs
|
|
2076
2076
|
function identityTokenFromFile(path) {
|
|
2077
2077
|
if (!path) {
|
|
2078
2078
|
throw new AnthropicError("Identity token file path is empty");
|
|
@@ -2099,7 +2099,7 @@ function identityTokenFromValue(token) {
|
|
|
2099
2099
|
return () => token;
|
|
2100
2100
|
}
|
|
2101
2101
|
|
|
2102
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs
|
|
2102
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/oidc-federation.mjs
|
|
2103
2103
|
function oidcFederationProvider(config) {
|
|
2104
2104
|
return async () => {
|
|
2105
2105
|
requireSecureTokenEndpoint(config.baseURL);
|
|
@@ -2157,7 +2157,7 @@ function oidcFederationProvider(config) {
|
|
|
2157
2157
|
};
|
|
2158
2158
|
}
|
|
2159
2159
|
|
|
2160
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs
|
|
2160
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/user-oauth.mjs
|
|
2161
2161
|
function userOAuthProvider(config) {
|
|
2162
2162
|
return async (opts) => {
|
|
2163
2163
|
const fs = await import("node:fs");
|
|
@@ -2231,7 +2231,7 @@ function userOAuthProvider(config) {
|
|
|
2231
2231
|
};
|
|
2232
2232
|
}
|
|
2233
2233
|
|
|
2234
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs
|
|
2234
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/credentials/credential-chain.mjs
|
|
2235
2235
|
function resolveCredentialsFromConfig(config, options) {
|
|
2236
2236
|
const credentialsPath = config.authentication.credentials_path ?? null;
|
|
2237
2237
|
const effectiveBaseURL = (config.base_url || options.baseURL).replace(/\/+$/, "");
|
|
@@ -2363,7 +2363,7 @@ function cachedExchangeProvider(exchange, credentialsPath, onCacheWriteError, on
|
|
|
2363
2363
|
};
|
|
2364
2364
|
}
|
|
2365
2365
|
|
|
2366
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
|
|
2366
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/decoders/line.mjs
|
|
2367
2367
|
var _LineDecoder_buffer;
|
|
2368
2368
|
var _LineDecoder_carriageReturnIndex;
|
|
2369
2369
|
|
|
@@ -2443,7 +2443,7 @@ function findDoubleNewlineIndex(buffer) {
|
|
|
2443
2443
|
return -1;
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
2446
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/streaming.mjs
|
|
2446
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/streaming.mjs
|
|
2447
2447
|
var _Stream_client;
|
|
2448
2448
|
|
|
2449
2449
|
class Stream {
|
|
@@ -2690,7 +2690,7 @@ function partition(str, delimiter) {
|
|
|
2690
2690
|
return [str, "", ""];
|
|
2691
2691
|
}
|
|
2692
2692
|
|
|
2693
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/parse.mjs
|
|
2693
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/parse.mjs
|
|
2694
2694
|
async function defaultParseResponse(client, props) {
|
|
2695
2695
|
const { response, requestLogID, retryOfRequestLogID, startTime } = props;
|
|
2696
2696
|
const body = await (async () => {
|
|
@@ -2741,7 +2741,7 @@ function addRequestID(value, response) {
|
|
|
2741
2741
|
});
|
|
2742
2742
|
}
|
|
2743
2743
|
|
|
2744
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/middleware.mjs
|
|
2744
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/middleware.mjs
|
|
2745
2745
|
var fetchOriginErrors = new WeakSet;
|
|
2746
2746
|
function isFetchOriginError(err) {
|
|
2747
2747
|
return typeof err === "object" && err !== null && fetchOriginErrors.has(err);
|
|
@@ -2835,7 +2835,7 @@ function applyMiddleware(fetchFn, middleware, options, client) {
|
|
|
2835
2835
|
return next;
|
|
2836
2836
|
}
|
|
2837
2837
|
|
|
2838
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/api-promise.mjs
|
|
2838
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/api-promise.mjs
|
|
2839
2839
|
var _APIPromise_client;
|
|
2840
2840
|
|
|
2841
2841
|
class APIPromise extends Promise {
|
|
@@ -2876,7 +2876,7 @@ class APIPromise extends Promise {
|
|
|
2876
2876
|
}
|
|
2877
2877
|
_APIPromise_client = new WeakMap;
|
|
2878
2878
|
|
|
2879
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/pagination.mjs
|
|
2879
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/pagination.mjs
|
|
2880
2880
|
var _AbstractPage_client;
|
|
2881
2881
|
|
|
2882
2882
|
class AbstractPage {
|
|
@@ -3022,7 +3022,7 @@ class BidirectionalPageCursor extends AbstractPage {
|
|
|
3022
3022
|
}
|
|
3023
3023
|
}
|
|
3024
3024
|
|
|
3025
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/uploads.mjs
|
|
3025
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/uploads.mjs
|
|
3026
3026
|
var checkFileSupport = () => {
|
|
3027
3027
|
if (typeof File === "undefined") {
|
|
3028
3028
|
const { process: process2 } = globalThis;
|
|
@@ -3100,7 +3100,7 @@ var addFormValue = async (form, key, value, stripFilenames) => {
|
|
|
3100
3100
|
}
|
|
3101
3101
|
};
|
|
3102
3102
|
|
|
3103
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/to-file.mjs
|
|
3103
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/to-file.mjs
|
|
3104
3104
|
var isBlobLike = (value) => value != null && typeof value === "object" && typeof value.size === "number" && typeof value.type === "string" && typeof value.text === "function" && typeof value.slice === "function" && typeof value.arrayBuffer === "function";
|
|
3105
3105
|
var isFileLike = (value) => value != null && typeof value === "object" && typeof value.name === "string" && typeof value.lastModified === "number" && isBlobLike(value);
|
|
3106
3106
|
var isResponseLike = (value) => value != null && typeof value === "object" && typeof value.url === "string" && typeof value.blob === "function";
|
|
@@ -3154,14 +3154,14 @@ function propsForError(value) {
|
|
|
3154
3154
|
const props = Object.getOwnPropertyNames(value);
|
|
3155
3155
|
return `; props: [${props.map((p) => `"${p}"`).join(", ")}]`;
|
|
3156
3156
|
}
|
|
3157
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/resource.mjs
|
|
3157
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/core/resource.mjs
|
|
3158
3158
|
class APIResource {
|
|
3159
3159
|
constructor(client) {
|
|
3160
3160
|
this._client = client;
|
|
3161
3161
|
}
|
|
3162
3162
|
}
|
|
3163
3163
|
|
|
3164
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/headers.mjs
|
|
3164
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/headers.mjs
|
|
3165
3165
|
var brand_privateNullableHeaders = Symbol.for("brand.privateNullableHeaders");
|
|
3166
3166
|
function* iterateHeaders(headers) {
|
|
3167
3167
|
if (!headers)
|
|
@@ -3248,7 +3248,7 @@ var buildHeaders = (newHeaders) => {
|
|
|
3248
3248
|
return { [brand_privateNullableHeaders]: true, values: targetHeaders, nulls: nullHeaders };
|
|
3249
3249
|
};
|
|
3250
3250
|
|
|
3251
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs
|
|
3251
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/path.mjs
|
|
3252
3252
|
function encodeURIPath(str) {
|
|
3253
3253
|
return str.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g, encodeURIComponent);
|
|
3254
3254
|
}
|
|
@@ -3303,7 +3303,7 @@ ${underline}`);
|
|
|
3303
3303
|
};
|
|
3304
3304
|
var path = /* @__PURE__ */ createPathTagFunction(encodeURIPath);
|
|
3305
3305
|
|
|
3306
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs
|
|
3306
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/deployment-runs.mjs
|
|
3307
3307
|
class DeploymentRuns extends APIResource {
|
|
3308
3308
|
retrieve(deploymentRunID, params = {}, options) {
|
|
3309
3309
|
const { betas } = params ?? {};
|
|
@@ -3328,7 +3328,7 @@ class DeploymentRuns extends APIResource {
|
|
|
3328
3328
|
}
|
|
3329
3329
|
}
|
|
3330
3330
|
|
|
3331
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs
|
|
3331
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/deployments.mjs
|
|
3332
3332
|
class Deployments extends APIResource {
|
|
3333
3333
|
create(params, options) {
|
|
3334
3334
|
const { betas, ...body } = params;
|
|
@@ -3415,7 +3415,7 @@ class Deployments extends APIResource {
|
|
|
3415
3415
|
}
|
|
3416
3416
|
}
|
|
3417
3417
|
|
|
3418
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs
|
|
3418
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/dreams.mjs
|
|
3419
3419
|
class Dreams extends APIResource {
|
|
3420
3420
|
create(params, options) {
|
|
3421
3421
|
const { betas, ...body } = params;
|
|
@@ -3471,7 +3471,7 @@ class Dreams extends APIResource {
|
|
|
3471
3471
|
}
|
|
3472
3472
|
}
|
|
3473
3473
|
|
|
3474
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs
|
|
3474
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/stainless-helper-header.mjs
|
|
3475
3475
|
var STAINLESS_HELPER_HEADER = "x-stainless-helper";
|
|
3476
3476
|
var STAINLESS_HELPER_METHOD_HEADER = "x-stainless-helper-method";
|
|
3477
3477
|
function helperHeader(value) {
|
|
@@ -3520,7 +3520,7 @@ function stainlessHelperHeaderFromFile(file) {
|
|
|
3520
3520
|
return {};
|
|
3521
3521
|
}
|
|
3522
3522
|
|
|
3523
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs
|
|
3523
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/files.mjs
|
|
3524
3524
|
class Files extends APIResource {
|
|
3525
3525
|
list(params = {}, options) {
|
|
3526
3526
|
const { betas, ...query2 } = params ?? {};
|
|
@@ -3581,7 +3581,7 @@ class Files extends APIResource {
|
|
|
3581
3581
|
}
|
|
3582
3582
|
}
|
|
3583
3583
|
|
|
3584
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs
|
|
3584
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/models.mjs
|
|
3585
3585
|
class Models extends APIResource {
|
|
3586
3586
|
retrieve(modelID, params = {}, options) {
|
|
3587
3587
|
const { betas } = params ?? {};
|
|
@@ -3606,7 +3606,7 @@ class Models extends APIResource {
|
|
|
3606
3606
|
}
|
|
3607
3607
|
}
|
|
3608
3608
|
|
|
3609
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs
|
|
3609
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/user-profiles.mjs
|
|
3610
3610
|
class UserProfiles extends APIResource {
|
|
3611
3611
|
create(params, options) {
|
|
3612
3612
|
const { betas, ...body } = params;
|
|
@@ -3663,7 +3663,7 @@ class UserProfiles extends APIResource {
|
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
|
|
3666
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs
|
|
3666
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/webhooks.mjs
|
|
3667
3667
|
var import_standardwebhooks = __toESM(require_dist(), 1);
|
|
3668
3668
|
|
|
3669
3669
|
class Webhooks extends APIResource {
|
|
@@ -3679,7 +3679,7 @@ class Webhooks extends APIResource {
|
|
|
3679
3679
|
}
|
|
3680
3680
|
}
|
|
3681
3681
|
|
|
3682
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs
|
|
3682
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/agents/versions.mjs
|
|
3683
3683
|
class Versions extends APIResource {
|
|
3684
3684
|
list(agentID, params = {}, options) {
|
|
3685
3685
|
const { betas, ...query2 } = params ?? {};
|
|
@@ -3694,7 +3694,7 @@ class Versions extends APIResource {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
|
|
3697
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs
|
|
3697
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/agents/agents.mjs
|
|
3698
3698
|
class Agents extends APIResource {
|
|
3699
3699
|
constructor() {
|
|
3700
3700
|
super(...arguments);
|
|
@@ -3757,7 +3757,7 @@ class Agents extends APIResource {
|
|
|
3757
3757
|
}
|
|
3758
3758
|
Agents.Versions = Versions;
|
|
3759
3759
|
|
|
3760
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs
|
|
3760
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/abort.mjs
|
|
3761
3761
|
function linkAbort(external, controller) {
|
|
3762
3762
|
if (!external)
|
|
3763
3763
|
return () => {};
|
|
@@ -3770,7 +3770,7 @@ function linkAbort(external, controller) {
|
|
|
3770
3770
|
return () => external.removeEventListener("abort", onAbort);
|
|
3771
3771
|
}
|
|
3772
3772
|
|
|
3773
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs
|
|
3773
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/backoff.mjs
|
|
3774
3774
|
function isStatus(e, code) {
|
|
3775
3775
|
return e instanceof APIError && e.status === code;
|
|
3776
3776
|
}
|
|
@@ -3790,7 +3790,7 @@ function applyJitter(ms) {
|
|
|
3790
3790
|
return ms * (1 - Math.random() * 0.25);
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs
|
|
3793
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/helper-client.mjs
|
|
3794
3794
|
function copyClientForHelper(client, { authToken, helper }) {
|
|
3795
3795
|
if (!authToken) {
|
|
3796
3796
|
throw new AnthropicError(`copyClientForHelper: expected a non-empty authToken but received ${JSON.stringify(authToken)}`);
|
|
@@ -3816,7 +3816,7 @@ function copyClientForHelper(client, { authToken, helper }) {
|
|
|
3816
3816
|
});
|
|
3817
3817
|
}
|
|
3818
3818
|
|
|
3819
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs
|
|
3819
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/environments/poller.mjs
|
|
3820
3820
|
var _WorkPoller_runnerClient;
|
|
3821
3821
|
var _WorkPoller_consumed;
|
|
3822
3822
|
var _WorkPoller_controller;
|
|
@@ -3942,7 +3942,7 @@ function defaultWorkerId() {
|
|
|
3942
3942
|
return host ? `${host}-${uuid4()}` : uuid4();
|
|
3943
3943
|
}
|
|
3944
3944
|
|
|
3945
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs
|
|
3945
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/async-queue.mjs
|
|
3946
3946
|
var _AsyncQueue_items;
|
|
3947
3947
|
var _AsyncQueue_waiters;
|
|
3948
3948
|
var _AsyncQueue_closed;
|
|
@@ -4000,7 +4000,7 @@ class AsyncQueue {
|
|
|
4000
4000
|
}
|
|
4001
4001
|
_AsyncQueue_items = new WeakMap, _AsyncQueue_waiters = new WeakMap, _AsyncQueue_closed = new WeakMap;
|
|
4002
4002
|
|
|
4003
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs
|
|
4003
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/ToolError.mjs
|
|
4004
4004
|
class ToolError extends Error {
|
|
4005
4005
|
constructor(content) {
|
|
4006
4006
|
const message = typeof content === "string" ? content : content.map((block) => {
|
|
@@ -4014,7 +4014,7 @@ class ToolError extends Error {
|
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
4016
|
|
|
4017
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs
|
|
4017
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/BetaRunnableTool.mjs
|
|
4018
4018
|
function toolName(tool) {
|
|
4019
4019
|
return "name" in tool ? tool.name : tool.mcp_server_name;
|
|
4020
4020
|
}
|
|
@@ -4031,7 +4031,7 @@ async function runRunnableTool(tool, rawInput, context) {
|
|
|
4031
4031
|
}
|
|
4032
4032
|
}
|
|
4033
4033
|
|
|
4034
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs
|
|
4034
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/SessionToolRunner.mjs
|
|
4035
4035
|
var _IdleClock_maxIdleMs;
|
|
4036
4036
|
var _IdleClock_onExpire;
|
|
4037
4037
|
var _IdleClock_blockers;
|
|
@@ -4507,7 +4507,7 @@ function toSessionContent(content) {
|
|
|
4507
4507
|
return out.length > 0 ? out : [{ type: "text", text: "(no output)" }];
|
|
4508
4508
|
}
|
|
4509
4509
|
|
|
4510
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs
|
|
4510
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/environments/worker.mjs
|
|
4511
4511
|
var _EnvironmentWorker_instances;
|
|
4512
4512
|
var _EnvironmentWorker_signal;
|
|
4513
4513
|
var _EnvironmentWorker_handleItem;
|
|
@@ -4588,7 +4588,7 @@ _EnvironmentWorker_signal = new WeakMap, _EnvironmentWorker_instances = new Weak
|
|
|
4588
4588
|
...this.unrestrictedPaths !== undefined ? { unrestrictedPaths: this.unrestrictedPaths } : {},
|
|
4589
4589
|
...this.maxFileBytes !== undefined ? { maxFileBytes: this.maxFileBytes } : {}
|
|
4590
4590
|
};
|
|
4591
|
-
const agentToolset = await import("./node-
|
|
4591
|
+
const agentToolset = await import("./node-mdgzx68h.mjs");
|
|
4592
4592
|
let cleanupSkills = async () => {};
|
|
4593
4593
|
try {
|
|
4594
4594
|
cleanupSkills = await agentToolset.setupSkills(ctx);
|
|
@@ -4667,7 +4667,7 @@ async function heartbeatLoop(client, work, ctrl, logger, requestOptions) {
|
|
|
4667
4667
|
}
|
|
4668
4668
|
}
|
|
4669
4669
|
|
|
4670
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs
|
|
4670
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/environments/work.mjs
|
|
4671
4671
|
class Work extends APIResource {
|
|
4672
4672
|
retrieve(workID, params, options) {
|
|
4673
4673
|
const { environment_id, betas } = params;
|
|
@@ -4767,7 +4767,7 @@ class Work extends APIResource {
|
|
|
4767
4767
|
Work.WorkPoller = WorkPoller;
|
|
4768
4768
|
Work.EnvironmentWorker = EnvironmentWorker;
|
|
4769
4769
|
|
|
4770
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs
|
|
4770
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/environments/environments.mjs
|
|
4771
4771
|
class Environments extends APIResource {
|
|
4772
4772
|
constructor() {
|
|
4773
4773
|
super(...arguments);
|
|
@@ -4839,7 +4839,7 @@ class Environments extends APIResource {
|
|
|
4839
4839
|
}
|
|
4840
4840
|
Environments.Work = Work;
|
|
4841
4841
|
|
|
4842
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs
|
|
4842
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memories.mjs
|
|
4843
4843
|
class Memories extends APIResource {
|
|
4844
4844
|
create(memoryStoreID, params, options) {
|
|
4845
4845
|
const { view, betas, ...body } = params;
|
|
@@ -4900,7 +4900,7 @@ class Memories extends APIResource {
|
|
|
4900
4900
|
}
|
|
4901
4901
|
}
|
|
4902
4902
|
|
|
4903
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs
|
|
4903
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-versions.mjs
|
|
4904
4904
|
class MemoryVersions extends APIResource {
|
|
4905
4905
|
retrieve(memoryVersionID, params, options) {
|
|
4906
4906
|
const { memory_store_id, betas, ...query2 } = params;
|
|
@@ -4936,7 +4936,7 @@ class MemoryVersions extends APIResource {
|
|
|
4936
4936
|
}
|
|
4937
4937
|
}
|
|
4938
4938
|
|
|
4939
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs
|
|
4939
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/memory-stores/memory-stores.mjs
|
|
4940
4940
|
class MemoryStores extends APIResource {
|
|
4941
4941
|
constructor() {
|
|
4942
4942
|
super(...arguments);
|
|
@@ -5009,7 +5009,7 @@ class MemoryStores extends APIResource {
|
|
|
5009
5009
|
}
|
|
5010
5010
|
MemoryStores.Memories = Memories;
|
|
5011
5011
|
MemoryStores.MemoryVersions = MemoryVersions;
|
|
5012
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
|
|
5012
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
|
|
5013
5013
|
class JSONLDecoder {
|
|
5014
5014
|
constructor(iterator, controller) {
|
|
5015
5015
|
this.iterator = iterator;
|
|
@@ -5041,7 +5041,7 @@ class JSONLDecoder {
|
|
|
5041
5041
|
}
|
|
5042
5042
|
}
|
|
5043
5043
|
|
|
5044
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs
|
|
5044
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/messages/batches.mjs
|
|
5045
5045
|
class Batches extends APIResource {
|
|
5046
5046
|
create(params, options) {
|
|
5047
5047
|
const { betas, user_profile_id, ...body } = params;
|
|
@@ -5119,14 +5119,14 @@ class Batches extends APIResource {
|
|
|
5119
5119
|
}
|
|
5120
5120
|
}
|
|
5121
5121
|
|
|
5122
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/constants.mjs
|
|
5122
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/constants.mjs
|
|
5123
5123
|
var MODEL_NONSTREAMING_TOKENS = {
|
|
5124
5124
|
"claude-opus-4@20250514": 8192,
|
|
5125
5125
|
"anthropic.claude-opus-4-1-20250805-v1:0": 8192,
|
|
5126
5126
|
"claude-opus-4-1@20250805": 8192
|
|
5127
5127
|
};
|
|
5128
5128
|
|
|
5129
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs
|
|
5129
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/beta-parser.mjs
|
|
5130
5130
|
function getOutputFormat(params) {
|
|
5131
5131
|
return params?.output_format ?? params?.output_config?.format;
|
|
5132
5132
|
}
|
|
@@ -5198,7 +5198,7 @@ function parseBetaOutputFormat(params, content) {
|
|
|
5198
5198
|
throw new AnthropicError(`Failed to parse structured output: ${error2}`);
|
|
5199
5199
|
}
|
|
5200
5200
|
}
|
|
5201
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs
|
|
5201
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/_vendor/partial-json-parser/parser.mjs
|
|
5202
5202
|
var tokenize = (input) => {
|
|
5203
5203
|
let current = 0;
|
|
5204
5204
|
let tokens = [];
|
|
@@ -5418,7 +5418,7 @@ var generate = (tokens) => {
|
|
|
5418
5418
|
};
|
|
5419
5419
|
var partialParse = (input) => JSON.parse(generate(unstrip(strip(tokenize(input)))));
|
|
5420
5420
|
|
|
5421
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.mjs
|
|
5421
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/message-stream-utils.mjs
|
|
5422
5422
|
var JSON_BUF_PROPERTY = "__json_buf";
|
|
5423
5423
|
function withLazyInput(prev, jsonBuf) {
|
|
5424
5424
|
const next = {};
|
|
@@ -5443,7 +5443,7 @@ function withLazyInput(prev, jsonBuf) {
|
|
|
5443
5443
|
return next;
|
|
5444
5444
|
}
|
|
5445
5445
|
|
|
5446
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs
|
|
5446
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/BetaMessageStream.mjs
|
|
5447
5447
|
var _BetaMessageStream_instances;
|
|
5448
5448
|
var _BetaMessageStream_currentMessageSnapshot;
|
|
5449
5449
|
var _BetaMessageStream_params;
|
|
@@ -6017,7 +6017,7 @@ class BetaMessageStream {
|
|
|
6017
6017
|
}
|
|
6018
6018
|
function checkNever(x) {}
|
|
6019
6019
|
|
|
6020
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs
|
|
6020
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/internal/utils/promise.mjs
|
|
6021
6021
|
function promiseWithResolvers() {
|
|
6022
6022
|
let resolve;
|
|
6023
6023
|
let reject;
|
|
@@ -6028,7 +6028,7 @@ function promiseWithResolvers() {
|
|
|
6028
6028
|
return { promise, resolve, reject };
|
|
6029
6029
|
}
|
|
6030
6030
|
|
|
6031
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs
|
|
6031
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.mjs
|
|
6032
6032
|
var DEFAULT_TOKEN_THRESHOLD = 1e5;
|
|
6033
6033
|
var 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:
|
|
6034
6034
|
1. Task Overview
|
|
@@ -6054,7 +6054,7 @@ Any promises made to the user
|
|
|
6054
6054
|
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.
|
|
6055
6055
|
Wrap your summary in <summary></summary> tags.`;
|
|
6056
6056
|
|
|
6057
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs
|
|
6057
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/tools/BetaToolRunner.mjs
|
|
6058
6058
|
var _BetaToolRunner_instances;
|
|
6059
6059
|
var _BetaToolRunner_consumed;
|
|
6060
6060
|
var _BetaToolRunner_mutated;
|
|
@@ -6383,7 +6383,7 @@ function referencedToolName(ref) {
|
|
|
6383
6383
|
}
|
|
6384
6384
|
}
|
|
6385
6385
|
|
|
6386
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs
|
|
6386
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/messages/messages.mjs
|
|
6387
6387
|
var DEPRECATED_MODELS = {};
|
|
6388
6388
|
var MODELS_TO_WARN_WITH_THINKING_ENABLED = ["claude-mythos-preview", "claude-opus-4-6"];
|
|
6389
6389
|
|
|
@@ -6475,7 +6475,7 @@ Messages.Batches = Batches;
|
|
|
6475
6475
|
Messages.BetaToolRunner = BetaToolRunner;
|
|
6476
6476
|
Messages.ToolError = ToolError;
|
|
6477
6477
|
|
|
6478
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs
|
|
6478
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/events.mjs
|
|
6479
6479
|
class Events extends APIResource {
|
|
6480
6480
|
list(sessionID, params = {}, options) {
|
|
6481
6481
|
const { betas, ...query2 } = params ?? {};
|
|
@@ -6517,7 +6517,7 @@ class Events extends APIResource {
|
|
|
6517
6517
|
}
|
|
6518
6518
|
Events.SessionToolRunner = SessionToolRunner;
|
|
6519
6519
|
|
|
6520
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs
|
|
6520
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/resources.mjs
|
|
6521
6521
|
class Resources extends APIResource {
|
|
6522
6522
|
retrieve(resourceID, params, options) {
|
|
6523
6523
|
const { session_id, betas } = params;
|
|
@@ -6574,7 +6574,7 @@ class Resources extends APIResource {
|
|
|
6574
6574
|
}
|
|
6575
6575
|
}
|
|
6576
6576
|
|
|
6577
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs
|
|
6577
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/events.mjs
|
|
6578
6578
|
class Events2 extends APIResource {
|
|
6579
6579
|
list(threadID, params, options) {
|
|
6580
6580
|
const { session_id, betas, ...query2 } = params;
|
|
@@ -6601,7 +6601,7 @@ class Events2 extends APIResource {
|
|
|
6601
6601
|
}
|
|
6602
6602
|
}
|
|
6603
6603
|
|
|
6604
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs
|
|
6604
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/threads/threads.mjs
|
|
6605
6605
|
class Threads extends APIResource {
|
|
6606
6606
|
constructor() {
|
|
6607
6607
|
super(...arguments);
|
|
@@ -6641,7 +6641,7 @@ class Threads extends APIResource {
|
|
|
6641
6641
|
}
|
|
6642
6642
|
Threads.Events = Events2;
|
|
6643
6643
|
|
|
6644
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs
|
|
6644
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/sessions/sessions.mjs
|
|
6645
6645
|
class Sessions extends APIResource {
|
|
6646
6646
|
constructor() {
|
|
6647
6647
|
super(...arguments);
|
|
@@ -6717,7 +6717,7 @@ Sessions.Events = Events;
|
|
|
6717
6717
|
Sessions.Resources = Resources;
|
|
6718
6718
|
Sessions.Threads = Threads;
|
|
6719
6719
|
|
|
6720
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs
|
|
6720
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/skills/versions.mjs
|
|
6721
6721
|
class Versions2 extends APIResource {
|
|
6722
6722
|
create(skillID, params, options) {
|
|
6723
6723
|
const { betas, ...body } = params;
|
|
@@ -6777,7 +6777,7 @@ class Versions2 extends APIResource {
|
|
|
6777
6777
|
}
|
|
6778
6778
|
}
|
|
6779
6779
|
|
|
6780
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs
|
|
6780
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/skills/skills.mjs
|
|
6781
6781
|
class Skills extends APIResource {
|
|
6782
6782
|
constructor() {
|
|
6783
6783
|
super(...arguments);
|
|
@@ -6828,7 +6828,7 @@ class Skills extends APIResource {
|
|
|
6828
6828
|
}
|
|
6829
6829
|
Skills.Versions = Versions2;
|
|
6830
6830
|
|
|
6831
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs
|
|
6831
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/certificates.mjs
|
|
6832
6832
|
class Certificates extends APIResource {
|
|
6833
6833
|
create(tunnelID, params, options) {
|
|
6834
6834
|
const { betas, ...body } = params;
|
|
@@ -6874,7 +6874,7 @@ class Certificates extends APIResource {
|
|
|
6874
6874
|
}
|
|
6875
6875
|
}
|
|
6876
6876
|
|
|
6877
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs
|
|
6877
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/tunnels/tunnels.mjs
|
|
6878
6878
|
class Tunnels extends APIResource {
|
|
6879
6879
|
constructor() {
|
|
6880
6880
|
super(...arguments);
|
|
@@ -6946,7 +6946,7 @@ class Tunnels extends APIResource {
|
|
|
6946
6946
|
}
|
|
6947
6947
|
Tunnels.Certificates = Certificates;
|
|
6948
6948
|
|
|
6949
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs
|
|
6949
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/vaults/credentials.mjs
|
|
6950
6950
|
class Credentials extends APIResource {
|
|
6951
6951
|
create(vaultID, params, options) {
|
|
6952
6952
|
const { betas, ...body } = params;
|
|
@@ -7023,7 +7023,7 @@ class Credentials extends APIResource {
|
|
|
7023
7023
|
}
|
|
7024
7024
|
}
|
|
7025
7025
|
|
|
7026
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs
|
|
7026
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/vaults/vaults.mjs
|
|
7027
7027
|
class Vaults extends APIResource {
|
|
7028
7028
|
constructor() {
|
|
7029
7029
|
super(...arguments);
|
|
@@ -7095,7 +7095,7 @@ class Vaults extends APIResource {
|
|
|
7095
7095
|
}
|
|
7096
7096
|
Vaults.Credentials = Credentials;
|
|
7097
7097
|
|
|
7098
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs
|
|
7098
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/beta/beta.mjs
|
|
7099
7099
|
class Beta extends APIResource {
|
|
7100
7100
|
constructor() {
|
|
7101
7101
|
super(...arguments);
|
|
@@ -7131,7 +7131,7 @@ Beta.Webhooks = Webhooks;
|
|
|
7131
7131
|
Beta.UserProfiles = UserProfiles;
|
|
7132
7132
|
Beta.Dreams = Dreams;
|
|
7133
7133
|
Beta.Tunnels = Tunnels;
|
|
7134
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/completions.mjs
|
|
7134
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/completions.mjs
|
|
7135
7135
|
class Completions extends APIResource {
|
|
7136
7136
|
create(params, options) {
|
|
7137
7137
|
const { betas, ...body } = params;
|
|
@@ -7147,7 +7147,7 @@ class Completions extends APIResource {
|
|
|
7147
7147
|
});
|
|
7148
7148
|
}
|
|
7149
7149
|
}
|
|
7150
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/parser.mjs
|
|
7150
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/parser.mjs
|
|
7151
7151
|
function getOutputFormat2(params) {
|
|
7152
7152
|
return params?.output_config?.format;
|
|
7153
7153
|
}
|
|
@@ -7208,7 +7208,7 @@ function parseOutputFormat(params, content) {
|
|
|
7208
7208
|
}
|
|
7209
7209
|
}
|
|
7210
7210
|
|
|
7211
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs
|
|
7211
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/MessageStream.mjs
|
|
7212
7212
|
var _MessageStream_instances;
|
|
7213
7213
|
var _MessageStream_currentMessageSnapshot;
|
|
7214
7214
|
var _MessageStream_params;
|
|
@@ -7737,7 +7737,7 @@ class MessageStream {
|
|
|
7737
7737
|
}
|
|
7738
7738
|
function checkNever2(x) {}
|
|
7739
7739
|
|
|
7740
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs
|
|
7740
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/messages/batches.mjs
|
|
7741
7741
|
class Batches2 extends APIResource {
|
|
7742
7742
|
create(params, options) {
|
|
7743
7743
|
const { user_profile_id, ...body } = params;
|
|
@@ -7776,7 +7776,7 @@ class Batches2 extends APIResource {
|
|
|
7776
7776
|
}
|
|
7777
7777
|
}
|
|
7778
7778
|
|
|
7779
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs
|
|
7779
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/messages/messages.mjs
|
|
7780
7780
|
class Messages2 extends APIResource {
|
|
7781
7781
|
constructor() {
|
|
7782
7782
|
super(...arguments);
|
|
@@ -7830,7 +7830,7 @@ Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resour
|
|
|
7830
7830
|
var DEPRECATED_MODELS2 = {};
|
|
7831
7831
|
var MODELS_TO_WARN_WITH_THINKING_ENABLED2 = ["claude-mythos-preview", "claude-opus-4-6"];
|
|
7832
7832
|
Messages2.Batches = Batches2;
|
|
7833
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/models.mjs
|
|
7833
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/resources/models.mjs
|
|
7834
7834
|
class Models2 extends APIResource {
|
|
7835
7835
|
retrieve(modelID, params = {}, options) {
|
|
7836
7836
|
const { betas } = params ?? {};
|
|
@@ -7854,7 +7854,7 @@ class Models2 extends APIResource {
|
|
|
7854
7854
|
});
|
|
7855
7855
|
}
|
|
7856
7856
|
}
|
|
7857
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/client.mjs
|
|
7857
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/client.mjs
|
|
7858
7858
|
var _BaseAnthropic_instances;
|
|
7859
7859
|
var _a;
|
|
7860
7860
|
var _BaseAnthropic_encoder;
|
|
@@ -8499,7 +8499,7 @@ Anthropic.Completions = Completions;
|
|
|
8499
8499
|
Anthropic.Messages = Messages2;
|
|
8500
8500
|
Anthropic.Models = Models2;
|
|
8501
8501
|
Anthropic.Beta = Beta;
|
|
8502
|
-
// node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/middleware.mjs
|
|
8502
|
+
// ../../node_modules/.bun/@anthropic-ai+sdk@0.116.0+ab3ed8e9421bfd7b/node_modules/@anthropic-ai/sdk/lib/middleware.mjs
|
|
8503
8503
|
var encoder = new TextEncoder;
|
|
8504
8504
|
var DEFAULT_BETAS = ["fallback-credit-2026-07-01"];
|
|
8505
8505
|
function stripFallbackBlocks(body) {
|