stratagem-x7 0.3.58 → 0.3.60
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/dist/cli.mjs +165 -185
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -35243,13 +35243,6 @@ var init_env = __esm(() => {
|
|
|
35243
35243
|
};
|
|
35244
35244
|
});
|
|
35245
35245
|
|
|
35246
|
-
// missing-module-stub:./providerProfile.js
|
|
35247
|
-
var noop6 = () => null, PROFILE_FILE_NAME, redactSecretValueForDisplay;
|
|
35248
|
-
var init_providerProfile = __esm(() => {
|
|
35249
|
-
PROFILE_FILE_NAME = noop6;
|
|
35250
|
-
redactSecretValueForDisplay = noop6;
|
|
35251
|
-
});
|
|
35252
|
-
|
|
35253
35246
|
// src/providers/providerSecrets.ts
|
|
35254
35247
|
function sanitizeApiKey(key) {
|
|
35255
35248
|
if (!key || key === "SUA_CHAVE")
|
|
@@ -35297,7 +35290,7 @@ function maskSecretForDisplay(value) {
|
|
|
35297
35290
|
}
|
|
35298
35291
|
return `${sanitized.slice(0, 2)}...${sanitized.slice(-4)}`;
|
|
35299
35292
|
}
|
|
35300
|
-
function
|
|
35293
|
+
function redactSecretValueForDisplay(value, ...sources) {
|
|
35301
35294
|
if (!value)
|
|
35302
35295
|
return;
|
|
35303
35296
|
const trimmed = value.trim();
|
|
@@ -35426,7 +35419,7 @@ async function getProviderValidationError(env3 = process.env, options) {
|
|
|
35426
35419
|
if (!credentials.apiKey) {
|
|
35427
35420
|
const oauthHint = isBareMode() ? "" : ", choose Codex OAuth in /provider";
|
|
35428
35421
|
const authHint = credentials.authPath ? `${oauthHint} or put auth.json at ${credentials.authPath}` : oauthHint;
|
|
35429
|
-
const safeModel =
|
|
35422
|
+
const safeModel = redactSecretValueForDisplay(request.requestedModel, secretSource) ?? "the requested model";
|
|
35430
35423
|
return `Codex auth is required for ${safeModel}. Set CODEX_API_KEY${authHint}.`;
|
|
35431
35424
|
}
|
|
35432
35425
|
if (!credentials.accountId) {
|
|
@@ -35468,7 +35461,7 @@ function resolveProfileFilePath(options) {
|
|
|
35468
35461
|
if (options?.filePath) {
|
|
35469
35462
|
return options.filePath;
|
|
35470
35463
|
}
|
|
35471
|
-
return resolve3(options?.cwd ?? process.cwd(),
|
|
35464
|
+
return resolve3(options?.cwd ?? process.cwd(), PROFILE_FILE_NAME);
|
|
35472
35465
|
}
|
|
35473
35466
|
function isProviderProfile(value) {
|
|
35474
35467
|
return value === "openai" || value === "ollama" || value === "codex" || value === "gemini" || value === "atomic-chat" || value === "nvidia-nim" || value === "minimax" || value === "mistral" || value === "opencode" || value === "opencode-go";
|
|
@@ -35883,8 +35876,8 @@ async function applySavedProfileToCurrentSession(options) {
|
|
|
35883
35876
|
applyProfileEnvToProcessEnv(processEnv, nextEnv);
|
|
35884
35877
|
return null;
|
|
35885
35878
|
}
|
|
35886
|
-
var
|
|
35887
|
-
var
|
|
35879
|
+
var PROFILE_FILE_NAME = ".stratagem-profile.json", DEFAULT_GEMINI_BASE_URL = "https://generativelanguage.googleapis.com/v1beta/openai", DEFAULT_GEMINI_MODEL = "gemini-2.0-flash", DEFAULT_MISTRAL_BASE_URL2 = "https://api.mistral.ai/v1", DEFAULT_MISTRAL_MODEL = "devstral-latest", DEFAULT_OPENCODE_BASE_URL = "https://opencode.ai/zen/v1", DEFAULT_OPENCODE_GO_BASE_URL = "https://opencode.ai/zen/go/v1", DEFAULT_OPENCODE_MODEL = "gpt-5.4", DEFAULT_OPENCODE_GO_MODEL = "glm-5", PROFILE_ENV_KEYS;
|
|
35880
|
+
var init_providerProfile = __esm(() => {
|
|
35888
35881
|
init_providerConfig();
|
|
35889
35882
|
init_codexOAuthShared();
|
|
35890
35883
|
init_providerRecommendation();
|
|
@@ -36166,7 +36159,7 @@ function _getFlagValue(key, defaultValue) {
|
|
|
36166
36159
|
return defaultValue;
|
|
36167
36160
|
}
|
|
36168
36161
|
function onGrowthBookRefresh() {
|
|
36169
|
-
return
|
|
36162
|
+
return noop6;
|
|
36170
36163
|
}
|
|
36171
36164
|
function hasGrowthBookEnvOverride() {
|
|
36172
36165
|
return false;
|
|
@@ -36216,7 +36209,7 @@ async function getDynamicConfig_BLOCKS_ON_INIT(configName, defaultValue) {
|
|
|
36216
36209
|
function getDynamicConfig_CACHED_MAY_BE_STALE(configName, defaultValue) {
|
|
36217
36210
|
return _getFlagValue(configName, defaultValue);
|
|
36218
36211
|
}
|
|
36219
|
-
var _flags = undefined,
|
|
36212
|
+
var _flags = undefined, noop6 = () => {}, initializeGrowthBook = async () => null;
|
|
36220
36213
|
var init_growthbook = () => {};
|
|
36221
36214
|
|
|
36222
36215
|
// src/constants/files.ts
|
|
@@ -56026,7 +56019,7 @@ var require_graceful_fs = __commonJS((exports, module) => {
|
|
|
56026
56019
|
gracefulQueue = "___graceful-fs.queue";
|
|
56027
56020
|
previousSymbol = "___graceful-fs.previous";
|
|
56028
56021
|
}
|
|
56029
|
-
function
|
|
56022
|
+
function noop7() {}
|
|
56030
56023
|
function publishQueue(context, queue2) {
|
|
56031
56024
|
Object.defineProperty(context, gracefulQueue, {
|
|
56032
56025
|
get: function() {
|
|
@@ -56034,7 +56027,7 @@ var require_graceful_fs = __commonJS((exports, module) => {
|
|
|
56034
56027
|
}
|
|
56035
56028
|
});
|
|
56036
56029
|
}
|
|
56037
|
-
var debug =
|
|
56030
|
+
var debug = noop7;
|
|
56038
56031
|
if (util3.debuglog)
|
|
56039
56032
|
debug = util3.debuglog("gfs4");
|
|
56040
56033
|
else if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || ""))
|
|
@@ -63203,7 +63196,7 @@ var require_util = __commonJS((exports, module) => {
|
|
|
63203
63196
|
yield* this[kBody];
|
|
63204
63197
|
}
|
|
63205
63198
|
}
|
|
63206
|
-
function
|
|
63199
|
+
function noop7() {}
|
|
63207
63200
|
function wrapRequestBody(body) {
|
|
63208
63201
|
if (isStream3(body)) {
|
|
63209
63202
|
if (bodyLength(body) === 0) {
|
|
@@ -63855,7 +63848,7 @@ var require_util = __commonJS((exports, module) => {
|
|
|
63855
63848
|
}
|
|
63856
63849
|
var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => {
|
|
63857
63850
|
if (!opts.timeout) {
|
|
63858
|
-
return
|
|
63851
|
+
return noop7;
|
|
63859
63852
|
}
|
|
63860
63853
|
let s1 = null;
|
|
63861
63854
|
let s2 = null;
|
|
@@ -63871,7 +63864,7 @@ var require_util = __commonJS((exports, module) => {
|
|
|
63871
63864
|
};
|
|
63872
63865
|
} : (socketWeakRef, opts) => {
|
|
63873
63866
|
if (!opts.timeout) {
|
|
63874
|
-
return
|
|
63867
|
+
return noop7;
|
|
63875
63868
|
}
|
|
63876
63869
|
let s1 = null;
|
|
63877
63870
|
const fastTimer = timers.setFastTimeout(() => {
|
|
@@ -67935,11 +67928,11 @@ var require_body = __commonJS((exports, module) => {
|
|
|
67935
67928
|
var { runtimeFeatures } = require_runtime_features();
|
|
67936
67929
|
var random = runtimeFeatures.has("crypto") ? __require("node:crypto").randomInt : (max) => Math.floor(Math.random() * max);
|
|
67937
67930
|
var textEncoder4 = new TextEncoder;
|
|
67938
|
-
function
|
|
67931
|
+
function noop7() {}
|
|
67939
67932
|
var streamRegistry = new FinalizationRegistry((weakRef) => {
|
|
67940
67933
|
const stream4 = weakRef.deref();
|
|
67941
67934
|
if (stream4 && !stream4.locked && !isDisturbed(stream4) && !isErrored(stream4)) {
|
|
67942
|
-
stream4.cancel("Response object has been garbage collected").catch(
|
|
67935
|
+
stream4.cancel("Response object has been garbage collected").catch(noop7);
|
|
67943
67936
|
}
|
|
67944
67937
|
});
|
|
67945
67938
|
function extractBody(object2, keepalive = false) {
|
|
@@ -69949,7 +69942,7 @@ var require_client = __commonJS((exports, module) => {
|
|
|
69949
69942
|
var getDefaultNodeMaxHeaderSize = http3 && http3.maxHeaderSize && Number.isInteger(http3.maxHeaderSize) && http3.maxHeaderSize > 0 ? () => http3.maxHeaderSize : () => {
|
|
69950
69943
|
throw new InvalidArgumentError("http module not available or http.maxHeaderSize invalid");
|
|
69951
69944
|
};
|
|
69952
|
-
var
|
|
69945
|
+
var noop7 = () => {};
|
|
69953
69946
|
function getPipelining(client) {
|
|
69954
69947
|
return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1;
|
|
69955
69948
|
}
|
|
@@ -70237,7 +70230,7 @@ var require_client = __commonJS((exports, module) => {
|
|
|
70237
70230
|
return;
|
|
70238
70231
|
}
|
|
70239
70232
|
if (client.destroyed) {
|
|
70240
|
-
util3.destroy(socket.on("error",
|
|
70233
|
+
util3.destroy(socket.on("error", noop7), new ClientDestroyedError);
|
|
70241
70234
|
client[kResume]();
|
|
70242
70235
|
return;
|
|
70243
70236
|
}
|
|
@@ -70245,7 +70238,7 @@ var require_client = __commonJS((exports, module) => {
|
|
|
70245
70238
|
try {
|
|
70246
70239
|
client[kHTTPContext] = socket.alpnProtocol === "h2" ? connectH2(client, socket) : connectH1(client, socket);
|
|
70247
70240
|
} catch (err2) {
|
|
70248
|
-
socket.destroy().on("error",
|
|
70241
|
+
socket.destroy().on("error", noop7);
|
|
70249
70242
|
handleConnectError(client, err2, { host, hostname: hostname2, protocol, port });
|
|
70250
70243
|
client[kResume]();
|
|
70251
70244
|
return;
|
|
@@ -71746,7 +71739,7 @@ var require_proxy_agent = __commonJS((exports, module) => {
|
|
|
71746
71739
|
function defaultFactory(origin2, opts) {
|
|
71747
71740
|
return new Pool(origin2, opts);
|
|
71748
71741
|
}
|
|
71749
|
-
var
|
|
71742
|
+
var noop7 = () => {};
|
|
71750
71743
|
function defaultAgentFactory(origin2, opts) {
|
|
71751
71744
|
if (opts.connections === 1) {
|
|
71752
71745
|
return new Client(origin2, opts);
|
|
@@ -71884,7 +71877,7 @@ var require_proxy_agent = __commonJS((exports, module) => {
|
|
|
71884
71877
|
};
|
|
71885
71878
|
const { socket, statusCode } = await this[kClient].connect(connectParams);
|
|
71886
71879
|
if (statusCode !== 200) {
|
|
71887
|
-
socket.on("error",
|
|
71880
|
+
socket.on("error", noop7).destroy();
|
|
71888
71881
|
callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`));
|
|
71889
71882
|
return;
|
|
71890
71883
|
}
|
|
@@ -72451,7 +72444,7 @@ var require_readable = __commonJS((exports, module) => {
|
|
|
72451
72444
|
var kContentLength = Symbol("kContentLength");
|
|
72452
72445
|
var kUsed = Symbol("kUsed");
|
|
72453
72446
|
var kBytesRead = Symbol("kBytesRead");
|
|
72454
|
-
var
|
|
72447
|
+
var noop7 = () => {};
|
|
72455
72448
|
|
|
72456
72449
|
class BodyReadable extends Readable5 {
|
|
72457
72450
|
constructor({
|
|
@@ -72582,7 +72575,7 @@ var require_readable = __commonJS((exports, module) => {
|
|
|
72582
72575
|
} else {
|
|
72583
72576
|
this.on("close", resolve10);
|
|
72584
72577
|
}
|
|
72585
|
-
this.on("error",
|
|
72578
|
+
this.on("error", noop7).on("data", () => {
|
|
72586
72579
|
if (this[kBytesRead] > limit) {
|
|
72587
72580
|
this.destroy();
|
|
72588
72581
|
}
|
|
@@ -72743,7 +72736,7 @@ var require_api_request = __commonJS((exports, module) => {
|
|
|
72743
72736
|
var { Readable: Readable5 } = require_readable();
|
|
72744
72737
|
var { InvalidArgumentError, RequestAbortedError } = require_errors();
|
|
72745
72738
|
var util3 = require_util();
|
|
72746
|
-
function
|
|
72739
|
+
function noop7() {}
|
|
72747
72740
|
|
|
72748
72741
|
class RequestHandler extends AsyncResource {
|
|
72749
72742
|
constructor(opts, callback) {
|
|
@@ -72770,7 +72763,7 @@ var require_api_request = __commonJS((exports, module) => {
|
|
|
72770
72763
|
super("UNDICI_REQUEST");
|
|
72771
72764
|
} catch (err) {
|
|
72772
72765
|
if (util3.isStream(body)) {
|
|
72773
|
-
util3.destroy(body.on("error",
|
|
72766
|
+
util3.destroy(body.on("error", noop7), err);
|
|
72774
72767
|
}
|
|
72775
72768
|
throw err;
|
|
72776
72769
|
}
|
|
@@ -72793,7 +72786,7 @@ var require_api_request = __commonJS((exports, module) => {
|
|
|
72793
72786
|
this.removeAbortListener = util3.addAbortListener(signal, () => {
|
|
72794
72787
|
this.reason = signal.reason ?? new RequestAbortedError;
|
|
72795
72788
|
if (this.res) {
|
|
72796
|
-
util3.destroy(this.res.on("error",
|
|
72789
|
+
util3.destroy(this.res.on("error", noop7), this.reason);
|
|
72797
72790
|
} else if (this.abort) {
|
|
72798
72791
|
this.abort(this.reason);
|
|
72799
72792
|
}
|
|
@@ -72847,7 +72840,7 @@ var require_api_request = __commonJS((exports, module) => {
|
|
|
72847
72840
|
});
|
|
72848
72841
|
} catch (err) {
|
|
72849
72842
|
this.res = null;
|
|
72850
|
-
util3.destroy(res.on("error",
|
|
72843
|
+
util3.destroy(res.on("error", noop7), err);
|
|
72851
72844
|
queueMicrotask(() => {
|
|
72852
72845
|
throw err;
|
|
72853
72846
|
});
|
|
@@ -72872,13 +72865,13 @@ var require_api_request = __commonJS((exports, module) => {
|
|
|
72872
72865
|
if (res) {
|
|
72873
72866
|
this.res = null;
|
|
72874
72867
|
queueMicrotask(() => {
|
|
72875
|
-
util3.destroy(res.on("error",
|
|
72868
|
+
util3.destroy(res.on("error", noop7), err);
|
|
72876
72869
|
});
|
|
72877
72870
|
}
|
|
72878
72871
|
if (body) {
|
|
72879
72872
|
this.body = null;
|
|
72880
72873
|
if (util3.isStream(body)) {
|
|
72881
|
-
body.on("error",
|
|
72874
|
+
body.on("error", noop7);
|
|
72882
72875
|
util3.destroy(body, err);
|
|
72883
72876
|
}
|
|
72884
72877
|
}
|
|
@@ -72968,7 +72961,7 @@ var require_api_stream = __commonJS((exports, module) => {
|
|
|
72968
72961
|
var { InvalidArgumentError, InvalidReturnValueError } = require_errors();
|
|
72969
72962
|
var util3 = require_util();
|
|
72970
72963
|
var { addSignal, removeSignal } = require_abort_signal();
|
|
72971
|
-
function
|
|
72964
|
+
function noop7() {}
|
|
72972
72965
|
|
|
72973
72966
|
class StreamHandler extends AsyncResource {
|
|
72974
72967
|
constructor(opts, factory2, callback) {
|
|
@@ -72995,7 +72988,7 @@ var require_api_stream = __commonJS((exports, module) => {
|
|
|
72995
72988
|
super("UNDICI_STREAM");
|
|
72996
72989
|
} catch (err) {
|
|
72997
72990
|
if (util3.isStream(body)) {
|
|
72998
|
-
util3.destroy(body.on("error",
|
|
72991
|
+
util3.destroy(body.on("error", noop7), err);
|
|
72999
72992
|
}
|
|
73000
72993
|
throw err;
|
|
73001
72994
|
}
|
|
@@ -73134,7 +73127,7 @@ var require_api_pipeline = __commonJS((exports, module) => {
|
|
|
73134
73127
|
} = require_errors();
|
|
73135
73128
|
var util3 = require_util();
|
|
73136
73129
|
var { addSignal, removeSignal } = require_abort_signal();
|
|
73137
|
-
function
|
|
73130
|
+
function noop7() {}
|
|
73138
73131
|
var kResume = Symbol("resume");
|
|
73139
73132
|
|
|
73140
73133
|
class PipelineRequest extends Readable5 {
|
|
@@ -73196,7 +73189,7 @@ var require_api_pipeline = __commonJS((exports, module) => {
|
|
|
73196
73189
|
this.abort = null;
|
|
73197
73190
|
this.context = null;
|
|
73198
73191
|
this.onInfo = onInfo || null;
|
|
73199
|
-
this.req = new PipelineRequest().on("error",
|
|
73192
|
+
this.req = new PipelineRequest().on("error", noop7);
|
|
73200
73193
|
this.ret = new Duplex4({
|
|
73201
73194
|
readableObjectMode: opts.objectMode,
|
|
73202
73195
|
autoDestroy: true,
|
|
@@ -73267,7 +73260,7 @@ var require_api_pipeline = __commonJS((exports, module) => {
|
|
|
73267
73260
|
context
|
|
73268
73261
|
});
|
|
73269
73262
|
} catch (err) {
|
|
73270
|
-
this.res.on("error",
|
|
73263
|
+
this.res.on("error", noop7);
|
|
73271
73264
|
throw err;
|
|
73272
73265
|
}
|
|
73273
73266
|
if (!body || typeof body.on !== "function") {
|
|
@@ -75265,7 +75258,7 @@ var require_redirect_handler = __commonJS((exports, module) => {
|
|
|
75265
75258
|
var EE = __require("node:events");
|
|
75266
75259
|
var redirectableStatusCodes = [300, 301, 302, 303, 307, 308];
|
|
75267
75260
|
var kBody = Symbol("body");
|
|
75268
|
-
var
|
|
75261
|
+
var noop7 = () => {};
|
|
75269
75262
|
|
|
75270
75263
|
class BodyAsyncIterable {
|
|
75271
75264
|
constructor(body) {
|
|
@@ -75329,14 +75322,14 @@ var require_redirect_handler = __commonJS((exports, module) => {
|
|
|
75329
75322
|
if ((statusCode === 301 || statusCode === 302) && this.opts.method === "POST") {
|
|
75330
75323
|
this.opts.method = "GET";
|
|
75331
75324
|
if (util3.isStream(this.opts.body)) {
|
|
75332
|
-
util3.destroy(this.opts.body.on("error",
|
|
75325
|
+
util3.destroy(this.opts.body.on("error", noop7));
|
|
75333
75326
|
}
|
|
75334
75327
|
this.opts.body = null;
|
|
75335
75328
|
}
|
|
75336
75329
|
if (statusCode === 303 && this.opts.method !== "HEAD") {
|
|
75337
75330
|
this.opts.method = "GET";
|
|
75338
75331
|
if (util3.isStream(this.opts.body)) {
|
|
75339
|
-
util3.destroy(this.opts.body.on("error",
|
|
75332
|
+
util3.destroy(this.opts.body.on("error", noop7));
|
|
75340
75333
|
}
|
|
75341
75334
|
this.opts.body = null;
|
|
75342
75335
|
}
|
|
@@ -76783,7 +76776,7 @@ var require_cache_handler = __commonJS((exports, module) => {
|
|
|
76783
76776
|
isEtagUsable
|
|
76784
76777
|
} = require_cache();
|
|
76785
76778
|
var { parseHttpDate } = require_date();
|
|
76786
|
-
function
|
|
76779
|
+
function noop7() {}
|
|
76787
76780
|
var HEURISTICALLY_CACHEABLE_STATUS_CODES = [
|
|
76788
76781
|
200,
|
|
76789
76782
|
203,
|
|
@@ -76830,7 +76823,7 @@ var require_cache_handler = __commonJS((exports, module) => {
|
|
|
76830
76823
|
const handler = this;
|
|
76831
76824
|
if (!util3.safeHTTPMethods.includes(this.#cacheKey.method) && statusCode >= 200 && statusCode <= 399) {
|
|
76832
76825
|
try {
|
|
76833
|
-
this.#store.delete(this.#cacheKey)?.catch?.(
|
|
76826
|
+
this.#store.delete(this.#cacheKey)?.catch?.(noop7);
|
|
76834
76827
|
} catch {}
|
|
76835
76828
|
return downstreamOnHeaders();
|
|
76836
76829
|
}
|
|
@@ -117059,7 +117052,7 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
117059
117052
|
this.refs = emptyObject;
|
|
117060
117053
|
this.updater = updater || ReactNoopUpdateQueue;
|
|
117061
117054
|
}
|
|
117062
|
-
function
|
|
117055
|
+
function noop7() {}
|
|
117063
117056
|
function testStringCoercion(value) {
|
|
117064
117057
|
return "" + value;
|
|
117065
117058
|
}
|
|
@@ -117234,7 +117227,7 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
117234
117227
|
case "rejected":
|
|
117235
117228
|
throw thenable.reason;
|
|
117236
117229
|
default:
|
|
117237
|
-
switch (typeof thenable.status === "string" ? thenable.then(
|
|
117230
|
+
switch (typeof thenable.status === "string" ? thenable.then(noop7, noop7) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
|
|
117238
117231
|
thenable.status === "pending" && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
|
117239
117232
|
}, function(error41) {
|
|
117240
117233
|
thenable.status === "pending" && (thenable.status = "rejected", thenable.reason = error41);
|
|
@@ -117771,7 +117764,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
117771
117764
|
try {
|
|
117772
117765
|
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
|
117773
117766
|
onStartTransitionFinish !== null && onStartTransitionFinish(currentTransition, returnValue);
|
|
117774
|
-
typeof returnValue === "object" && returnValue !== null && typeof returnValue.then === "function" && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(
|
|
117767
|
+
typeof returnValue === "object" && returnValue !== null && typeof returnValue.then === "function" && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop7, reportGlobalError));
|
|
117775
117768
|
} catch (error41) {
|
|
117776
117769
|
reportGlobalError(error41);
|
|
117777
117770
|
} finally {
|
|
@@ -118601,10 +118594,10 @@ var getAllProperties = (object2) => {
|
|
|
118601
118594
|
};
|
|
118602
118595
|
|
|
118603
118596
|
// node_modules/lodash-es/noop.js
|
|
118604
|
-
function
|
|
118597
|
+
function noop7() {}
|
|
118605
118598
|
var noop_default;
|
|
118606
118599
|
var init_noop = __esm(() => {
|
|
118607
|
-
noop_default =
|
|
118600
|
+
noop_default = noop7;
|
|
118608
118601
|
});
|
|
118609
118602
|
|
|
118610
118603
|
// node_modules/lodash-es/now.js
|
|
@@ -122134,7 +122127,7 @@ var require_react_reconciler_development = __commonJS((exports, module) => {
|
|
|
122134
122127
|
function warnInvalidContextAccess() {
|
|
122135
122128
|
console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");
|
|
122136
122129
|
}
|
|
122137
|
-
function
|
|
122130
|
+
function noop8() {}
|
|
122138
122131
|
function warnForMissingKey() {}
|
|
122139
122132
|
function setToSortedString(set2) {
|
|
122140
122133
|
var array2 = [];
|
|
@@ -132495,7 +132488,7 @@ No matching component was found for:
|
|
|
132495
132488
|
throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");
|
|
132496
132489
|
var queue = ensureFormComponentIsStateful(formFiber).queue;
|
|
132497
132490
|
startHostActionTimer(formFiber);
|
|
132498
|
-
startTransition(formFiber, queue, pendingState, NotPendingTransition, action === null ?
|
|
132491
|
+
startTransition(formFiber, queue, pendingState, NotPendingTransition, action === null ? noop8 : function() {
|
|
132499
132492
|
ReactSharedInternals.T === null && console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");
|
|
132500
132493
|
var stateHook = ensureFormComponentIsStateful(formFiber);
|
|
132501
132494
|
stateHook.next === null && (stateHook = formFiber.alternate.memoizedState);
|
|
@@ -152909,7 +152902,7 @@ __export(exports_mcpb, {
|
|
|
152909
152902
|
ATTR_SERVICE_VERSION: () => ATTR_SERVICE_VERSION,
|
|
152910
152903
|
ATTR_SERVICE_NAME: () => ATTR_SERVICE_NAME
|
|
152911
152904
|
});
|
|
152912
|
-
var
|
|
152905
|
+
var noop8 = () => null, noopClass = class {
|
|
152913
152906
|
}, handler, stub, mcpb_default, __stub = true, SandboxViolationStore = null, SandboxManager, SandboxRuntimeConfigSchema, BROWSER_TOOLS, getMcpConfigForManifest, ColorDiff = null, ColorFile = null, getSyntaxTheme, plot, createClaudeForChromeMcpServer, ExportResultCode, resourceFromAttributes, Resource, SimpleSpanProcessor, BatchSpanProcessor, NodeTracerProvider, BasicTracerProvider, OTLPTraceExporter, OTLPLogExporter, OTLPMetricExporter, PrometheusExporter, LoggerProvider, SimpleLogRecordProcessor, BatchLogRecordProcessor, MeterProvider, PeriodicExportingMetricReader, trace, context, SpanStatusCode, ATTR_SERVICE_NAME = "service.name", ATTR_SERVICE_VERSION = "service.version", SEMRESATTRS_SERVICE_NAME = "service.name", SEMRESATTRS_SERVICE_VERSION = "service.version", AggregationTemporality, DataPointType, InstrumentType, PushMetricExporter, SeverityNumber;
|
|
152914
152907
|
var init_mcpb = __esm(() => {
|
|
152915
152908
|
handler = {
|
|
@@ -152924,20 +152917,20 @@ var init_mcpb = __esm(() => {
|
|
|
152924
152917
|
return () => ({});
|
|
152925
152918
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
152926
152919
|
return { parse: () => ({}) };
|
|
152927
|
-
return
|
|
152920
|
+
return noop8;
|
|
152928
152921
|
}
|
|
152929
152922
|
};
|
|
152930
|
-
stub = new Proxy(
|
|
152923
|
+
stub = new Proxy(noop8, handler);
|
|
152931
152924
|
mcpb_default = stub;
|
|
152932
|
-
SandboxManager = new Proxy({}, { get: () =>
|
|
152925
|
+
SandboxManager = new Proxy({}, { get: () => noop8 });
|
|
152933
152926
|
SandboxRuntimeConfigSchema = { parse: () => ({}) };
|
|
152934
152927
|
BROWSER_TOOLS = [];
|
|
152935
|
-
getMcpConfigForManifest =
|
|
152936
|
-
getSyntaxTheme =
|
|
152937
|
-
plot =
|
|
152938
|
-
createClaudeForChromeMcpServer =
|
|
152928
|
+
getMcpConfigForManifest = noop8;
|
|
152929
|
+
getSyntaxTheme = noop8;
|
|
152930
|
+
plot = noop8;
|
|
152931
|
+
createClaudeForChromeMcpServer = noop8;
|
|
152939
152932
|
ExportResultCode = { SUCCESS: 0, FAILED: 1 };
|
|
152940
|
-
resourceFromAttributes =
|
|
152933
|
+
resourceFromAttributes = noop8;
|
|
152941
152934
|
Resource = noopClass;
|
|
152942
152935
|
SimpleSpanProcessor = noopClass;
|
|
152943
152936
|
BatchSpanProcessor = noopClass;
|
|
@@ -152952,8 +152945,8 @@ var init_mcpb = __esm(() => {
|
|
|
152952
152945
|
BatchLogRecordProcessor = noopClass;
|
|
152953
152946
|
MeterProvider = noopClass;
|
|
152954
152947
|
PeriodicExportingMetricReader = noopClass;
|
|
152955
|
-
trace = { getTracer: () => ({ startSpan: () => ({ end:
|
|
152956
|
-
context = { active:
|
|
152948
|
+
trace = { getTracer: () => ({ startSpan: () => ({ end: noop8, setAttribute: noop8, setStatus: noop8, recordException: noop8 }) }) };
|
|
152949
|
+
context = { active: noop8, with: (_, fn) => fn() };
|
|
152957
152950
|
SpanStatusCode = { OK: 0, ERROR: 1, UNSET: 2 };
|
|
152958
152951
|
AggregationTemporality = { CUMULATIVE: 0, DELTA: 1 };
|
|
152959
152952
|
DataPointType = { HISTOGRAM: 0, SUM: 1, GAUGE: 2 };
|
|
@@ -155833,7 +155826,7 @@ var init_mcpbHandler = __esm(() => {
|
|
|
155833
155826
|
});
|
|
155834
155827
|
|
|
155835
155828
|
// native-stub:@anthropic-ai/sandbox-runtime
|
|
155836
|
-
var
|
|
155829
|
+
var noop9 = () => null, handler2, stub2, SandboxViolationStore2 = null, SandboxManager2, SandboxRuntimeConfigSchema2;
|
|
155837
155830
|
var init_sandbox_runtime = __esm(() => {
|
|
155838
155831
|
handler2 = {
|
|
155839
155832
|
get(_, prop) {
|
|
@@ -155847,11 +155840,11 @@ var init_sandbox_runtime = __esm(() => {
|
|
|
155847
155840
|
return () => ({});
|
|
155848
155841
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
155849
155842
|
return { parse: () => ({}) };
|
|
155850
|
-
return
|
|
155843
|
+
return noop9;
|
|
155851
155844
|
}
|
|
155852
155845
|
};
|
|
155853
|
-
stub2 = new Proxy(
|
|
155854
|
-
SandboxManager2 = new Proxy({}, { get: () =>
|
|
155846
|
+
stub2 = new Proxy(noop9, handler2);
|
|
155847
|
+
SandboxManager2 = new Proxy({}, { get: () => noop9 });
|
|
155855
155848
|
SandboxRuntimeConfigSchema2 = { parse: () => ({}) };
|
|
155856
155849
|
});
|
|
155857
155850
|
|
|
@@ -175238,7 +175231,7 @@ __export(exports_image_processor_napi, {
|
|
|
175238
175231
|
ATTR_SERVICE_VERSION: () => ATTR_SERVICE_VERSION2,
|
|
175239
175232
|
ATTR_SERVICE_NAME: () => ATTR_SERVICE_NAME2
|
|
175240
175233
|
});
|
|
175241
|
-
var
|
|
175234
|
+
var noop10 = () => null, noopClass2 = class {
|
|
175242
175235
|
}, handler3, stub3, image_processor_napi_default, __stub2 = true, SandboxViolationStore3 = null, SandboxManager4, SandboxRuntimeConfigSchema3, BROWSER_TOOLS2, getMcpConfigForManifest2, ColorDiff2 = null, ColorFile2 = null, getSyntaxTheme2, plot2, createClaudeForChromeMcpServer2, ExportResultCode2, resourceFromAttributes2, Resource2, SimpleSpanProcessor2, BatchSpanProcessor2, NodeTracerProvider2, BasicTracerProvider2, OTLPTraceExporter2, OTLPLogExporter2, OTLPMetricExporter2, PrometheusExporter2, LoggerProvider2, SimpleLogRecordProcessor2, BatchLogRecordProcessor2, MeterProvider2, PeriodicExportingMetricReader2, trace2, context2, SpanStatusCode2, ATTR_SERVICE_NAME2 = "service.name", ATTR_SERVICE_VERSION2 = "service.version", SEMRESATTRS_SERVICE_NAME2 = "service.name", SEMRESATTRS_SERVICE_VERSION2 = "service.version", AggregationTemporality2, DataPointType2, InstrumentType2, PushMetricExporter2, SeverityNumber2;
|
|
175243
175236
|
var init_image_processor_napi = __esm(() => {
|
|
175244
175237
|
handler3 = {
|
|
@@ -175253,20 +175246,20 @@ var init_image_processor_napi = __esm(() => {
|
|
|
175253
175246
|
return () => ({});
|
|
175254
175247
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
175255
175248
|
return { parse: () => ({}) };
|
|
175256
|
-
return
|
|
175249
|
+
return noop10;
|
|
175257
175250
|
}
|
|
175258
175251
|
};
|
|
175259
|
-
stub3 = new Proxy(
|
|
175252
|
+
stub3 = new Proxy(noop10, handler3);
|
|
175260
175253
|
image_processor_napi_default = stub3;
|
|
175261
|
-
SandboxManager4 = new Proxy({}, { get: () =>
|
|
175254
|
+
SandboxManager4 = new Proxy({}, { get: () => noop10 });
|
|
175262
175255
|
SandboxRuntimeConfigSchema3 = { parse: () => ({}) };
|
|
175263
175256
|
BROWSER_TOOLS2 = [];
|
|
175264
|
-
getMcpConfigForManifest2 =
|
|
175265
|
-
getSyntaxTheme2 =
|
|
175266
|
-
plot2 =
|
|
175267
|
-
createClaudeForChromeMcpServer2 =
|
|
175257
|
+
getMcpConfigForManifest2 = noop10;
|
|
175258
|
+
getSyntaxTheme2 = noop10;
|
|
175259
|
+
plot2 = noop10;
|
|
175260
|
+
createClaudeForChromeMcpServer2 = noop10;
|
|
175268
175261
|
ExportResultCode2 = { SUCCESS: 0, FAILED: 1 };
|
|
175269
|
-
resourceFromAttributes2 =
|
|
175262
|
+
resourceFromAttributes2 = noop10;
|
|
175270
175263
|
Resource2 = noopClass2;
|
|
175271
175264
|
SimpleSpanProcessor2 = noopClass2;
|
|
175272
175265
|
BatchSpanProcessor2 = noopClass2;
|
|
@@ -175281,8 +175274,8 @@ var init_image_processor_napi = __esm(() => {
|
|
|
175281
175274
|
BatchLogRecordProcessor2 = noopClass2;
|
|
175282
175275
|
MeterProvider2 = noopClass2;
|
|
175283
175276
|
PeriodicExportingMetricReader2 = noopClass2;
|
|
175284
|
-
trace2 = { getTracer: () => ({ startSpan: () => ({ end:
|
|
175285
|
-
context2 = { active:
|
|
175277
|
+
trace2 = { getTracer: () => ({ startSpan: () => ({ end: noop10, setAttribute: noop10, setStatus: noop10, recordException: noop10 }) }) };
|
|
175278
|
+
context2 = { active: noop10, with: (_, fn) => fn() };
|
|
175286
175279
|
SpanStatusCode2 = { OK: 0, ERROR: 1, UNSET: 2 };
|
|
175287
175280
|
AggregationTemporality2 = { CUMULATIVE: 0, DELTA: 1 };
|
|
175288
175281
|
DataPointType2 = { HISTOGRAM: 0, SUM: 1, GAUGE: 2 };
|
|
@@ -178536,7 +178529,7 @@ class OpenAIShimMessages {
|
|
|
178536
178529
|
if (!credentials.apiKey) {
|
|
178537
178530
|
const oauthHint = isBareMode() ? "" : ", choose Codex OAuth in /provider";
|
|
178538
178531
|
const authHint = credentials.authPath ? `${oauthHint} or place a Codex auth.json at ${credentials.authPath}` : oauthHint;
|
|
178539
|
-
const safeModel =
|
|
178532
|
+
const safeModel = redactSecretValueForDisplay(request.requestedModel, process.env) ?? "the requested model";
|
|
178540
178533
|
throw new Error(`Codex auth is required for ${safeModel}. Set CODEX_API_KEY${authHint}.`);
|
|
178541
178534
|
}
|
|
178542
178535
|
if (!credentials.accountId) {
|
|
@@ -178865,7 +178858,7 @@ var init_openaiShim = __esm(() => {
|
|
|
178865
178858
|
init_cockpit();
|
|
178866
178859
|
init_providerConfig();
|
|
178867
178860
|
init_schemaSanitizer();
|
|
178868
|
-
|
|
178861
|
+
init_providerProfile();
|
|
178869
178862
|
init_toolArgumentNormalization();
|
|
178870
178863
|
COPILOT_HEADERS2 = {
|
|
178871
178864
|
"User-Agent": "GitHubCopilotChat/0.26.7",
|
|
@@ -185079,10 +185072,10 @@ var init_values3 = __esm(() => {
|
|
|
185079
185072
|
});
|
|
185080
185073
|
|
|
185081
185074
|
// node_modules/@anthropic-ai/bedrock-sdk/internal/utils/log.mjs
|
|
185082
|
-
function
|
|
185075
|
+
function noop11() {}
|
|
185083
185076
|
function makeLogFn2(fnLevel, logger, logLevel) {
|
|
185084
185077
|
if (!logger || levelNumbers2[fnLevel] > levelNumbers2[logLevel]) {
|
|
185085
|
-
return
|
|
185078
|
+
return noop11;
|
|
185086
185079
|
} else {
|
|
185087
185080
|
return logger[fnLevel].bind(logger);
|
|
185088
185081
|
}
|
|
@@ -185117,10 +185110,10 @@ var init_log4 = __esm(() => {
|
|
|
185117
185110
|
debug: 500
|
|
185118
185111
|
};
|
|
185119
185112
|
noopLogger2 = {
|
|
185120
|
-
error:
|
|
185121
|
-
warn:
|
|
185122
|
-
info:
|
|
185123
|
-
debug:
|
|
185113
|
+
error: noop11,
|
|
185114
|
+
warn: noop11,
|
|
185115
|
+
info: noop11,
|
|
185116
|
+
debug: noop11
|
|
185124
185117
|
};
|
|
185125
185118
|
cachedLoggers2 = /* @__PURE__ */ new WeakMap;
|
|
185126
185119
|
});
|
|
@@ -211194,11 +211187,11 @@ var init_client6 = __esm(() => {
|
|
|
211194
211187
|
});
|
|
211195
211188
|
|
|
211196
211189
|
// node_modules/eventsource-parser/dist/index.js
|
|
211197
|
-
function
|
|
211190
|
+
function noop12(_arg) {}
|
|
211198
211191
|
function createParser(callbacks) {
|
|
211199
211192
|
if (typeof callbacks == "function")
|
|
211200
211193
|
throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");
|
|
211201
|
-
const { onEvent =
|
|
211194
|
+
const { onEvent = noop12, onError = noop12, onRetry = noop12, onComment } = callbacks;
|
|
211202
211195
|
let incompleteLine = "", isFirstChunk = true, id, data = "", eventType = "";
|
|
211203
211196
|
function feed(newChunk) {
|
|
211204
211197
|
const chunk = isFirstChunk ? newChunk.replace(/^\xEF\xBB\xBF/, "") : newChunk, [complete, incomplete] = splitLines2(`${incompleteLine}${chunk}`);
|
|
@@ -224039,7 +224032,7 @@ __export(exports_claude_for_chrome_mcp, {
|
|
|
224039
224032
|
ATTR_SERVICE_VERSION: () => ATTR_SERVICE_VERSION3,
|
|
224040
224033
|
ATTR_SERVICE_NAME: () => ATTR_SERVICE_NAME3
|
|
224041
224034
|
});
|
|
224042
|
-
var
|
|
224035
|
+
var noop13 = () => null, noopClass3 = class {
|
|
224043
224036
|
}, handler4, stub4, claude_for_chrome_mcp_default, __stub3 = true, SandboxViolationStore4 = null, SandboxManager5, SandboxRuntimeConfigSchema4, BROWSER_TOOLS3, getMcpConfigForManifest3, ColorDiff3 = null, ColorFile3 = null, getSyntaxTheme3, plot3, createClaudeForChromeMcpServer3, ExportResultCode3, resourceFromAttributes3, Resource3, SimpleSpanProcessor3, BatchSpanProcessor3, NodeTracerProvider3, BasicTracerProvider3, OTLPTraceExporter3, OTLPLogExporter3, OTLPMetricExporter3, PrometheusExporter3, LoggerProvider3, SimpleLogRecordProcessor3, BatchLogRecordProcessor3, MeterProvider3, PeriodicExportingMetricReader3, trace3, context3, SpanStatusCode3, ATTR_SERVICE_NAME3 = "service.name", ATTR_SERVICE_VERSION3 = "service.version", SEMRESATTRS_SERVICE_NAME3 = "service.name", SEMRESATTRS_SERVICE_VERSION3 = "service.version", AggregationTemporality3, DataPointType3, InstrumentType3, PushMetricExporter3, SeverityNumber3;
|
|
224044
224037
|
var init_claude_for_chrome_mcp = __esm(() => {
|
|
224045
224038
|
handler4 = {
|
|
@@ -224054,20 +224047,20 @@ var init_claude_for_chrome_mcp = __esm(() => {
|
|
|
224054
224047
|
return () => ({});
|
|
224055
224048
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
224056
224049
|
return { parse: () => ({}) };
|
|
224057
|
-
return
|
|
224050
|
+
return noop13;
|
|
224058
224051
|
}
|
|
224059
224052
|
};
|
|
224060
|
-
stub4 = new Proxy(
|
|
224053
|
+
stub4 = new Proxy(noop13, handler4);
|
|
224061
224054
|
claude_for_chrome_mcp_default = stub4;
|
|
224062
|
-
SandboxManager5 = new Proxy({}, { get: () =>
|
|
224055
|
+
SandboxManager5 = new Proxy({}, { get: () => noop13 });
|
|
224063
224056
|
SandboxRuntimeConfigSchema4 = { parse: () => ({}) };
|
|
224064
224057
|
BROWSER_TOOLS3 = [];
|
|
224065
|
-
getMcpConfigForManifest3 =
|
|
224066
|
-
getSyntaxTheme3 =
|
|
224067
|
-
plot3 =
|
|
224068
|
-
createClaudeForChromeMcpServer3 =
|
|
224058
|
+
getMcpConfigForManifest3 = noop13;
|
|
224059
|
+
getSyntaxTheme3 = noop13;
|
|
224060
|
+
plot3 = noop13;
|
|
224061
|
+
createClaudeForChromeMcpServer3 = noop13;
|
|
224069
224062
|
ExportResultCode3 = { SUCCESS: 0, FAILED: 1 };
|
|
224070
|
-
resourceFromAttributes3 =
|
|
224063
|
+
resourceFromAttributes3 = noop13;
|
|
224071
224064
|
Resource3 = noopClass3;
|
|
224072
224065
|
SimpleSpanProcessor3 = noopClass3;
|
|
224073
224066
|
BatchSpanProcessor3 = noopClass3;
|
|
@@ -224082,8 +224075,8 @@ var init_claude_for_chrome_mcp = __esm(() => {
|
|
|
224082
224075
|
BatchLogRecordProcessor3 = noopClass3;
|
|
224083
224076
|
MeterProvider3 = noopClass3;
|
|
224084
224077
|
PeriodicExportingMetricReader3 = noopClass3;
|
|
224085
|
-
trace3 = { getTracer: () => ({ startSpan: () => ({ end:
|
|
224086
|
-
context3 = { active:
|
|
224078
|
+
trace3 = { getTracer: () => ({ startSpan: () => ({ end: noop13, setAttribute: noop13, setStatus: noop13, recordException: noop13 }) }) };
|
|
224079
|
+
context3 = { active: noop13, with: (_, fn) => fn() };
|
|
224087
224080
|
SpanStatusCode3 = { OK: 0, ERROR: 1, UNSET: 2 };
|
|
224088
224081
|
AggregationTemporality3 = { CUMULATIVE: 0, DELTA: 1 };
|
|
224089
224082
|
DataPointType3 = { HISTOGRAM: 0, SUM: 1, GAUGE: 2 };
|
|
@@ -292128,7 +292121,7 @@ __export(exports_plist, {
|
|
|
292128
292121
|
ATTR_SERVICE_VERSION: () => ATTR_SERVICE_VERSION5,
|
|
292129
292122
|
ATTR_SERVICE_NAME: () => ATTR_SERVICE_NAME5
|
|
292130
292123
|
});
|
|
292131
|
-
var
|
|
292124
|
+
var noop14 = () => null, noopClass4 = class {
|
|
292132
292125
|
}, handler5, stub5, plist_default, __stub4 = true, SandboxViolationStore5 = null, SandboxManager6, SandboxRuntimeConfigSchema5, BROWSER_TOOLS4, getMcpConfigForManifest4, ColorDiff4 = null, ColorFile4 = null, getSyntaxTheme4, plot4, createClaudeForChromeMcpServer4, ExportResultCode4, resourceFromAttributes5, Resource4, SimpleSpanProcessor4, BatchSpanProcessor5, NodeTracerProvider4, BasicTracerProvider5, OTLPTraceExporter4, OTLPLogExporter4, OTLPMetricExporter4, PrometheusExporter4, LoggerProvider5, SimpleLogRecordProcessor4, BatchLogRecordProcessor5, MeterProvider5, PeriodicExportingMetricReader5, trace5, context4, SpanStatusCode4, ATTR_SERVICE_NAME5 = "service.name", ATTR_SERVICE_VERSION5 = "service.version", SEMRESATTRS_SERVICE_NAME4 = "service.name", SEMRESATTRS_SERVICE_VERSION4 = "service.version", AggregationTemporality4, DataPointType4, InstrumentType4, PushMetricExporter4, SeverityNumber4;
|
|
292133
292126
|
var init_plist = __esm(() => {
|
|
292134
292127
|
handler5 = {
|
|
@@ -292143,20 +292136,20 @@ var init_plist = __esm(() => {
|
|
|
292143
292136
|
return () => ({});
|
|
292144
292137
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
292145
292138
|
return { parse: () => ({}) };
|
|
292146
|
-
return
|
|
292139
|
+
return noop14;
|
|
292147
292140
|
}
|
|
292148
292141
|
};
|
|
292149
|
-
stub5 = new Proxy(
|
|
292142
|
+
stub5 = new Proxy(noop14, handler5);
|
|
292150
292143
|
plist_default = stub5;
|
|
292151
|
-
SandboxManager6 = new Proxy({}, { get: () =>
|
|
292144
|
+
SandboxManager6 = new Proxy({}, { get: () => noop14 });
|
|
292152
292145
|
SandboxRuntimeConfigSchema5 = { parse: () => ({}) };
|
|
292153
292146
|
BROWSER_TOOLS4 = [];
|
|
292154
|
-
getMcpConfigForManifest4 =
|
|
292155
|
-
getSyntaxTheme4 =
|
|
292156
|
-
plot4 =
|
|
292157
|
-
createClaudeForChromeMcpServer4 =
|
|
292147
|
+
getMcpConfigForManifest4 = noop14;
|
|
292148
|
+
getSyntaxTheme4 = noop14;
|
|
292149
|
+
plot4 = noop14;
|
|
292150
|
+
createClaudeForChromeMcpServer4 = noop14;
|
|
292158
292151
|
ExportResultCode4 = { SUCCESS: 0, FAILED: 1 };
|
|
292159
|
-
resourceFromAttributes5 =
|
|
292152
|
+
resourceFromAttributes5 = noop14;
|
|
292160
292153
|
Resource4 = noopClass4;
|
|
292161
292154
|
SimpleSpanProcessor4 = noopClass4;
|
|
292162
292155
|
BatchSpanProcessor5 = noopClass4;
|
|
@@ -292171,8 +292164,8 @@ var init_plist = __esm(() => {
|
|
|
292171
292164
|
BatchLogRecordProcessor5 = noopClass4;
|
|
292172
292165
|
MeterProvider5 = noopClass4;
|
|
292173
292166
|
PeriodicExportingMetricReader5 = noopClass4;
|
|
292174
|
-
trace5 = { getTracer: () => ({ startSpan: () => ({ end:
|
|
292175
|
-
context4 = { active:
|
|
292167
|
+
trace5 = { getTracer: () => ({ startSpan: () => ({ end: noop14, setAttribute: noop14, setStatus: noop14, recordException: noop14 }) }) };
|
|
292168
|
+
context4 = { active: noop14, with: (_, fn) => fn() };
|
|
292176
292169
|
SpanStatusCode4 = { OK: 0, ERROR: 1, UNSET: 2 };
|
|
292177
292170
|
AggregationTemporality4 = { CUMULATIVE: 0, DELTA: 1 };
|
|
292178
292171
|
DataPointType4 = { HISTOGRAM: 0, SUM: 1, GAUGE: 2 };
|
|
@@ -294042,7 +294035,7 @@ var init_ProviderManager = __esm(() => {
|
|
|
294042
294035
|
init_codexCredentials();
|
|
294043
294036
|
init_envUtils();
|
|
294044
294037
|
init_model();
|
|
294045
|
-
|
|
294038
|
+
init_providerProfile();
|
|
294046
294039
|
init_providerProfiles();
|
|
294047
294040
|
init_githubModelsCredentials();
|
|
294048
294041
|
init_providerDiscovery();
|
|
@@ -350343,7 +350336,7 @@ function getAnthropicEnvMetadata() {
|
|
|
350343
350336
|
function getBuildAgeMinutes() {
|
|
350344
350337
|
if (false)
|
|
350345
350338
|
;
|
|
350346
|
-
const buildTime = new Date("2026-05-
|
|
350339
|
+
const buildTime = new Date("2026-05-08T02:26:11.339Z").getTime();
|
|
350347
350340
|
if (isNaN(buildTime))
|
|
350348
350341
|
return;
|
|
350349
350342
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -356383,7 +356376,6 @@ function It2SetupPrompt(t0) {
|
|
|
356383
356376
|
gap: t10,
|
|
356384
356377
|
paddingBottom: t11,
|
|
356385
356378
|
children: [
|
|
356386
|
-
t12,
|
|
356387
356379
|
t13,
|
|
356388
356380
|
t15
|
|
356389
356381
|
]
|
|
@@ -356403,6 +356395,7 @@ function It2SetupPrompt(t0) {
|
|
|
356403
356395
|
if ($2[40] !== T1 || $2[41] !== t14 || $2[42] !== t16) {
|
|
356404
356396
|
t17 = /* @__PURE__ */ jsx_dev_runtime144.jsxDEV(T1, {
|
|
356405
356397
|
color: t14,
|
|
356398
|
+
title: "ITERM2 SPLIT",
|
|
356406
356399
|
children: t16
|
|
356407
356400
|
}, undefined, false, undefined, this);
|
|
356408
356401
|
$2[40] = T1;
|
|
@@ -376152,7 +376145,7 @@ var toString5, getPrototypeOf2, iterator2, toStringTag2, kindOf2, kindOfTest2 =
|
|
|
376152
376145
|
};
|
|
376153
376146
|
isArray5(arrayOrString) ? define2(arrayOrString) : define2(String(arrayOrString).split(delimiter4));
|
|
376154
376147
|
return obj;
|
|
376155
|
-
},
|
|
376148
|
+
}, noop15 = () => {}, toFiniteNumber2 = (value, defaultValue) => {
|
|
376156
376149
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
376157
376150
|
}, toJSONObject2 = (obj) => {
|
|
376158
376151
|
const stack = new Array(10);
|
|
@@ -376285,7 +376278,7 @@ var init_utils10 = __esm(() => {
|
|
|
376285
376278
|
freezeMethods: freezeMethods2,
|
|
376286
376279
|
toObjectSet: toObjectSet2,
|
|
376287
376280
|
toCamelCase: toCamelCase2,
|
|
376288
|
-
noop:
|
|
376281
|
+
noop: noop15,
|
|
376289
376282
|
toFiniteNumber: toFiniteNumber2,
|
|
376290
376283
|
findKey: findKey2,
|
|
376291
376284
|
global: _global2,
|
|
@@ -418156,7 +418149,7 @@ function buildPrimarySection() {
|
|
|
418156
418149
|
}, undefined, false, undefined, this);
|
|
418157
418150
|
return [{
|
|
418158
418151
|
label: "Version",
|
|
418159
|
-
value: "0.3.
|
|
418152
|
+
value: "0.3.60"
|
|
418160
418153
|
}, {
|
|
418161
418154
|
label: "Session name",
|
|
418162
418155
|
value: nameValue
|
|
@@ -418724,20 +418717,6 @@ var init_ThemePicker = __esm(() => {
|
|
|
418724
418717
|
};
|
|
418725
418718
|
});
|
|
418726
418719
|
|
|
418727
|
-
// missing-module-stub:../providerProfiles.js
|
|
418728
|
-
var noop17 = () => null, getActiveOpenAIModelOptionsCache2, getActiveProviderProfile2, getProfileModelOptions2;
|
|
418729
|
-
var init_providerProfiles2 = __esm(() => {
|
|
418730
|
-
getActiveOpenAIModelOptionsCache2 = noop17;
|
|
418731
|
-
getActiveProviderProfile2 = noop17;
|
|
418732
|
-
getProfileModelOptions2 = noop17;
|
|
418733
|
-
});
|
|
418734
|
-
|
|
418735
|
-
// missing-module-stub:../providerDiscovery.js
|
|
418736
|
-
var noop18 = () => null, getOllamaApiBaseUrl2;
|
|
418737
|
-
var init_providerDiscovery2 = __esm(() => {
|
|
418738
|
-
getOllamaApiBaseUrl2 = noop18;
|
|
418739
|
-
});
|
|
418740
|
-
|
|
418741
418720
|
// src/utils/model/ollamaModels.ts
|
|
418742
418721
|
function isOllamaProvider() {
|
|
418743
418722
|
if (process.env.OLLAMA_BASE_URL)
|
|
@@ -418753,7 +418732,7 @@ function isOllamaProvider() {
|
|
|
418753
418732
|
return false;
|
|
418754
418733
|
}
|
|
418755
418734
|
async function fetchOllamaModels() {
|
|
418756
|
-
const apiUrl =
|
|
418735
|
+
const apiUrl = getOllamaApiBaseUrl();
|
|
418757
418736
|
if (!apiUrl)
|
|
418758
418737
|
return [];
|
|
418759
418738
|
const controller = new AbortController;
|
|
@@ -418802,7 +418781,7 @@ function getCachedOllamaModelOptions() {
|
|
|
418802
418781
|
}
|
|
418803
418782
|
var cachedOllamaOptions = null, fetchPromise = null;
|
|
418804
418783
|
var init_ollamaModels = __esm(() => {
|
|
418805
|
-
|
|
418784
|
+
init_providerDiscovery();
|
|
418806
418785
|
});
|
|
418807
418786
|
|
|
418808
418787
|
// src/utils/model/nvidiaNimModels.ts
|
|
@@ -419653,7 +419632,7 @@ function getModelOptionsBase(fastMode = false) {
|
|
|
419653
419632
|
return standardOptions;
|
|
419654
419633
|
}
|
|
419655
419634
|
if (getAdditionalModelOptionsCacheScope()?.startsWith("openai:")) {
|
|
419656
|
-
const activeOpenAIOptions =
|
|
419635
|
+
const activeOpenAIOptions = getActiveOpenAIModelOptionsCache();
|
|
419657
419636
|
return [
|
|
419658
419637
|
getDefaultOptionForUser(fastMode),
|
|
419659
419638
|
...activeOpenAIOptions.length > 0 ? activeOpenAIOptions : getScopedAdditionalModelOptions()
|
|
@@ -419662,9 +419641,9 @@ function getModelOptionsBase(fastMode = false) {
|
|
|
419662
419641
|
const profileEnvApplied = process.env.CLAUDE_CODE_PROVIDER_PROFILE_ENV_APPLIED === "1";
|
|
419663
419642
|
const profileModelOptions = [];
|
|
419664
419643
|
if (profileEnvApplied) {
|
|
419665
|
-
const activeProfile =
|
|
419644
|
+
const activeProfile = getActiveProviderProfile();
|
|
419666
419645
|
if (activeProfile) {
|
|
419667
|
-
const models =
|
|
419646
|
+
const models = getProfileModelOptions(activeProfile);
|
|
419668
419647
|
profileModelOptions.push(...models);
|
|
419669
419648
|
}
|
|
419670
419649
|
}
|
|
@@ -419849,7 +419828,7 @@ var init_modelOptions = __esm(() => {
|
|
|
419849
419828
|
init_model();
|
|
419850
419829
|
init_context();
|
|
419851
419830
|
init_config8();
|
|
419852
|
-
|
|
419831
|
+
init_providerProfiles();
|
|
419853
419832
|
init_ollamaModels();
|
|
419854
419833
|
init_nvidiaNimModels();
|
|
419855
419834
|
init_minimaxModels();
|
|
@@ -427587,9 +427566,9 @@ var init_diff4 = __esm(() => {
|
|
|
427587
427566
|
});
|
|
427588
427567
|
|
|
427589
427568
|
// missing-module-stub:./dream.js
|
|
427590
|
-
var
|
|
427569
|
+
var noop16 = () => null, dream_default;
|
|
427591
427570
|
var init_dream = __esm(() => {
|
|
427592
|
-
dream_default =
|
|
427571
|
+
dream_default = noop16;
|
|
427593
427572
|
});
|
|
427594
427573
|
|
|
427595
427574
|
// src/commands/dream/index.ts
|
|
@@ -456334,6 +456313,7 @@ function MobileQRCode(t0) {
|
|
|
456334
456313
|
let t28;
|
|
456335
456314
|
if ($2[49] !== T1 || $2[50] !== t27) {
|
|
456336
456315
|
t28 = /* @__PURE__ */ jsx_dev_runtime252.jsxDEV(T1, {
|
|
456316
|
+
title: "MOBILE BRIDGE",
|
|
456337
456317
|
children: t27
|
|
456338
456318
|
}, undefined, false, undefined, this);
|
|
456339
456319
|
$2[49] = T1;
|
|
@@ -457856,7 +457836,7 @@ function getStartupLines(termWidth) {
|
|
|
457856
457836
|
const sLen = ` ● ${sL} buffer ready — /help for breach controls`.length;
|
|
457857
457837
|
out.push(centerAnsiLine(boxRow(sRow, W2, sLen), tw));
|
|
457858
457838
|
out.push(centerAnsiLine(`${rgb3(...BORDER)}└${"─".repeat(W2 - 2)}┘${RESET2}`, tw));
|
|
457859
|
-
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.
|
|
457839
|
+
out.push(centerAnsiLine(`${rgb3(...DIMCOL)}STRATAGEM X7${RESET2} ${rgb3(...ACCENT)}v${"0.3.60"}${RESET2} ${rgb3(...CYAN)}// breach link stable${RESET2}`, tw));
|
|
457860
457840
|
out.push("");
|
|
457861
457841
|
return out;
|
|
457862
457842
|
}
|
|
@@ -470021,9 +470001,9 @@ var exports_MonitorMcpDetailDialog = {};
|
|
|
470021
470001
|
__export(exports_MonitorMcpDetailDialog, {
|
|
470022
470002
|
default: () => MonitorMcpDetailDialog_default
|
|
470023
470003
|
});
|
|
470024
|
-
var
|
|
470004
|
+
var noop17 = () => null, MonitorMcpDetailDialog_default;
|
|
470025
470005
|
var init_MonitorMcpDetailDialog = __esm(() => {
|
|
470026
|
-
MonitorMcpDetailDialog_default =
|
|
470006
|
+
MonitorMcpDetailDialog_default = noop17;
|
|
470027
470007
|
});
|
|
470028
470008
|
|
|
470029
470009
|
// src/components/tasks/BackgroundTasksDialog.tsx
|
|
@@ -475314,6 +475294,7 @@ function Passes({
|
|
|
475314
475294
|
}, []);
|
|
475315
475295
|
if (loading) {
|
|
475316
475296
|
return /* @__PURE__ */ jsx_dev_runtime300.jsxDEV(Pane, {
|
|
475297
|
+
title: "GUEST PASSES",
|
|
475317
475298
|
children: /* @__PURE__ */ jsx_dev_runtime300.jsxDEV(ThemedBox_default, {
|
|
475318
475299
|
flexDirection: "column",
|
|
475319
475300
|
gap: 1,
|
|
@@ -475341,6 +475322,7 @@ function Passes({
|
|
|
475341
475322
|
}
|
|
475342
475323
|
if (!isAvailable) {
|
|
475343
475324
|
return /* @__PURE__ */ jsx_dev_runtime300.jsxDEV(Pane, {
|
|
475325
|
+
title: "GUEST PASSES",
|
|
475344
475326
|
children: /* @__PURE__ */ jsx_dev_runtime300.jsxDEV(ThemedBox_default, {
|
|
475345
475327
|
flexDirection: "column",
|
|
475346
475328
|
gap: 1,
|
|
@@ -475413,6 +475395,7 @@ function Passes({
|
|
|
475413
475395
|
}, pass.passNumber, true, undefined, this);
|
|
475414
475396
|
};
|
|
475415
475397
|
return /* @__PURE__ */ jsx_dev_runtime300.jsxDEV(Pane, {
|
|
475398
|
+
title: "GUEST PASSES",
|
|
475416
475399
|
children: /* @__PURE__ */ jsx_dev_runtime300.jsxDEV(ThemedBox_default, {
|
|
475417
475400
|
flexDirection: "column",
|
|
475418
475401
|
gap: 1,
|
|
@@ -476355,7 +476338,7 @@ function isEnvTruthy10(value) {
|
|
|
476355
476338
|
return normalized !== "" && normalized !== "0" && normalized !== "false" && normalized !== "no";
|
|
476356
476339
|
}
|
|
476357
476340
|
function getSafeDisplayValue(value, processEnv, profileEnv, fallback = "(not set)") {
|
|
476358
|
-
return
|
|
476341
|
+
return redactSecretValueForDisplay(value, processEnv, profileEnv) ?? fallback;
|
|
476359
476342
|
}
|
|
476360
476343
|
function getProviderWizardDefaults(processEnv = process.env) {
|
|
476361
476344
|
const secretSource = processEnv;
|
|
@@ -477579,7 +477562,7 @@ var init_provider = __esm(() => {
|
|
|
477579
477562
|
init_useTerminalSize();
|
|
477580
477563
|
init_ink2();
|
|
477581
477564
|
init_providerConfig();
|
|
477582
|
-
|
|
477565
|
+
init_providerProfile();
|
|
477583
477566
|
init_geminiAuth();
|
|
477584
477567
|
init_geminiCredentials();
|
|
477585
477568
|
init_envUtils();
|
|
@@ -486604,7 +486587,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
486604
486587
|
var call61 = async () => {
|
|
486605
486588
|
return {
|
|
486606
486589
|
type: "text",
|
|
486607
|
-
value: `${"99.0.0"} (built ${"2026-05-
|
|
486590
|
+
value: `${"99.0.0"} (built ${"2026-05-08T02:26:11.339Z"})`
|
|
486608
486591
|
};
|
|
486609
486592
|
}, version2, version_default;
|
|
486610
486593
|
var init_version = __esm(() => {
|
|
@@ -491830,18 +491813,11 @@ function EffortPicker({ onSelect, onCancel }) {
|
|
|
491830
491813
|
/* @__PURE__ */ jsx_dev_runtime355.jsxDEV(ThemedBox_default, {
|
|
491831
491814
|
marginBottom: 1,
|
|
491832
491815
|
flexDirection: "column",
|
|
491833
|
-
children:
|
|
491834
|
-
|
|
491835
|
-
|
|
491836
|
-
|
|
491837
|
-
|
|
491838
|
-
}, undefined, false, undefined, this),
|
|
491839
|
-
/* @__PURE__ */ jsx_dev_runtime355.jsxDEV(ThemedText, {
|
|
491840
|
-
dimColor: true,
|
|
491841
|
-
children: supportsEffort && usesOpenAIEffort ? `OpenAI/Codex provider (${provider2})` : supportsEffort ? `Stratagem model · ${provider2} provider` : `Effort not supported for this model`
|
|
491842
|
-
}, undefined, false, undefined, this)
|
|
491843
|
-
]
|
|
491844
|
-
}, undefined, true, undefined, this),
|
|
491816
|
+
children: /* @__PURE__ */ jsx_dev_runtime355.jsxDEV(ThemedText, {
|
|
491817
|
+
dimColor: true,
|
|
491818
|
+
children: supportsEffort && usesOpenAIEffort ? `OpenAI/Codex provider (${provider2})` : supportsEffort ? `Stratagem model · ${provider2} provider` : `Effort not supported for this model`
|
|
491819
|
+
}, undefined, false, undefined, this)
|
|
491820
|
+
}, undefined, false, undefined, this),
|
|
491845
491821
|
/* @__PURE__ */ jsx_dev_runtime355.jsxDEV(ThemedBox_default, {
|
|
491846
491822
|
marginBottom: 1,
|
|
491847
491823
|
children: /* @__PURE__ */ jsx_dev_runtime355.jsxDEV(Select, {
|
|
@@ -492126,9 +492102,12 @@ function EffortPickerWrapper({ onDone }) {
|
|
|
492126
492102
|
function handleCancel() {
|
|
492127
492103
|
onDone("Cancelled");
|
|
492128
492104
|
}
|
|
492129
|
-
return /* @__PURE__ */ jsx_dev_runtime356.jsxDEV(
|
|
492130
|
-
|
|
492131
|
-
|
|
492105
|
+
return /* @__PURE__ */ jsx_dev_runtime356.jsxDEV(Pane, {
|
|
492106
|
+
title: "EFFORT",
|
|
492107
|
+
children: /* @__PURE__ */ jsx_dev_runtime356.jsxDEV(EffortPicker, {
|
|
492108
|
+
onSelect: handleSelect,
|
|
492109
|
+
onCancel: handleCancel
|
|
492110
|
+
}, undefined, false, undefined, this)
|
|
492132
492111
|
}, undefined, false, undefined, this);
|
|
492133
492112
|
}
|
|
492134
492113
|
var import_react_compiler_runtime261, React119, jsx_dev_runtime356, COMMON_HELP_ARGS2;
|
|
@@ -492137,6 +492116,7 @@ var init_effort2 = __esm(() => {
|
|
|
492137
492116
|
init_AppState();
|
|
492138
492117
|
init_effort();
|
|
492139
492118
|
init_EffortPicker();
|
|
492119
|
+
init_Pane();
|
|
492140
492120
|
init_settings2();
|
|
492141
492121
|
import_react_compiler_runtime261 = __toESM(require_dist3(), 1);
|
|
492142
492122
|
React119 = __toESM(require_react(), 1);
|
|
@@ -492161,7 +492141,7 @@ var init_effort3 = __esm(() => {
|
|
|
492161
492141
|
});
|
|
492162
492142
|
|
|
492163
492143
|
// native-stub:asciichart
|
|
492164
|
-
var
|
|
492144
|
+
var noop18 = () => null, handler6, stub7, SandboxManager7, plot5;
|
|
492165
492145
|
var init_asciichart = __esm(() => {
|
|
492166
492146
|
handler6 = {
|
|
492167
492147
|
get(_, prop) {
|
|
@@ -492175,12 +492155,12 @@ var init_asciichart = __esm(() => {
|
|
|
492175
492155
|
return () => ({});
|
|
492176
492156
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
492177
492157
|
return { parse: () => ({}) };
|
|
492178
|
-
return
|
|
492158
|
+
return noop18;
|
|
492179
492159
|
}
|
|
492180
492160
|
};
|
|
492181
|
-
stub7 = new Proxy(
|
|
492182
|
-
SandboxManager7 = new Proxy({}, { get: () =>
|
|
492183
|
-
plot5 =
|
|
492161
|
+
stub7 = new Proxy(noop18, handler6);
|
|
492162
|
+
SandboxManager7 = new Proxy({}, { get: () => noop18 });
|
|
492163
|
+
plot5 = noop18;
|
|
492184
492164
|
});
|
|
492185
492165
|
|
|
492186
492166
|
// src/utils/statsCache.ts
|
|
@@ -502922,9 +502902,9 @@ var init_config8 = __esm(() => {
|
|
|
502922
502902
|
});
|
|
502923
502903
|
|
|
502924
502904
|
// missing-module-stub:./providerProfiles.js
|
|
502925
|
-
var
|
|
502926
|
-
var
|
|
502927
|
-
applyActiveProviderProfileFromConfig2 =
|
|
502905
|
+
var noop19 = () => null, applyActiveProviderProfileFromConfig2;
|
|
502906
|
+
var init_providerProfiles2 = __esm(() => {
|
|
502907
|
+
applyActiveProviderProfileFromConfig2 = noop19;
|
|
502928
502908
|
});
|
|
502929
502909
|
|
|
502930
502910
|
// src/utils/managedEnv.ts
|
|
@@ -503013,7 +502993,7 @@ var init_managedEnv = __esm(() => {
|
|
|
503013
502993
|
init_managedEnvConstants();
|
|
503014
502994
|
init_mtls();
|
|
503015
502995
|
init_proxy();
|
|
503016
|
-
|
|
502996
|
+
init_providerProfiles2();
|
|
503017
502997
|
init_constants2();
|
|
503018
502998
|
init_settings2();
|
|
503019
502999
|
TRUSTED_SETTING_SOURCES = [
|
|
@@ -537657,7 +537637,7 @@ __export(exports_cacache, {
|
|
|
537657
537637
|
ATTR_SERVICE_VERSION: () => ATTR_SERVICE_VERSION6,
|
|
537658
537638
|
ATTR_SERVICE_NAME: () => ATTR_SERVICE_NAME6
|
|
537659
537639
|
});
|
|
537660
|
-
var
|
|
537640
|
+
var noop20 = () => null, noopClass5 = class {
|
|
537661
537641
|
}, handler7, stub8, cacache_default, __stub5 = true, SandboxViolationStore6 = null, SandboxManager8, SandboxRuntimeConfigSchema6, BROWSER_TOOLS5, getMcpConfigForManifest5, ColorDiff6 = null, ColorFile6 = null, getSyntaxTheme7, plot6, createClaudeForChromeMcpServer5, ExportResultCode5, resourceFromAttributes6, Resource5, SimpleSpanProcessor5, BatchSpanProcessor6, NodeTracerProvider5, BasicTracerProvider6, OTLPTraceExporter5, OTLPLogExporter5, OTLPMetricExporter5, PrometheusExporter5, LoggerProvider6, SimpleLogRecordProcessor5, BatchLogRecordProcessor6, MeterProvider6, PeriodicExportingMetricReader6, trace6, context6, SpanStatusCode5, ATTR_SERVICE_NAME6 = "service.name", ATTR_SERVICE_VERSION6 = "service.version", SEMRESATTRS_SERVICE_NAME5 = "service.name", SEMRESATTRS_SERVICE_VERSION5 = "service.version", AggregationTemporality5, DataPointType5, InstrumentType5, PushMetricExporter5, SeverityNumber5;
|
|
537662
537642
|
var init_cacache = __esm(() => {
|
|
537663
537643
|
handler7 = {
|
|
@@ -537672,20 +537652,20 @@ var init_cacache = __esm(() => {
|
|
|
537672
537652
|
return () => ({});
|
|
537673
537653
|
if (prop === "SandboxRuntimeConfigSchema")
|
|
537674
537654
|
return { parse: () => ({}) };
|
|
537675
|
-
return
|
|
537655
|
+
return noop20;
|
|
537676
537656
|
}
|
|
537677
537657
|
};
|
|
537678
|
-
stub8 = new Proxy(
|
|
537658
|
+
stub8 = new Proxy(noop20, handler7);
|
|
537679
537659
|
cacache_default = stub8;
|
|
537680
|
-
SandboxManager8 = new Proxy({}, { get: () =>
|
|
537660
|
+
SandboxManager8 = new Proxy({}, { get: () => noop20 });
|
|
537681
537661
|
SandboxRuntimeConfigSchema6 = { parse: () => ({}) };
|
|
537682
537662
|
BROWSER_TOOLS5 = [];
|
|
537683
|
-
getMcpConfigForManifest5 =
|
|
537684
|
-
getSyntaxTheme7 =
|
|
537685
|
-
plot6 =
|
|
537686
|
-
createClaudeForChromeMcpServer5 =
|
|
537663
|
+
getMcpConfigForManifest5 = noop20;
|
|
537664
|
+
getSyntaxTheme7 = noop20;
|
|
537665
|
+
plot6 = noop20;
|
|
537666
|
+
createClaudeForChromeMcpServer5 = noop20;
|
|
537687
537667
|
ExportResultCode5 = { SUCCESS: 0, FAILED: 1 };
|
|
537688
|
-
resourceFromAttributes6 =
|
|
537668
|
+
resourceFromAttributes6 = noop20;
|
|
537689
537669
|
Resource5 = noopClass5;
|
|
537690
537670
|
SimpleSpanProcessor5 = noopClass5;
|
|
537691
537671
|
BatchSpanProcessor6 = noopClass5;
|
|
@@ -537700,8 +537680,8 @@ var init_cacache = __esm(() => {
|
|
|
537700
537680
|
BatchLogRecordProcessor6 = noopClass5;
|
|
537701
537681
|
MeterProvider6 = noopClass5;
|
|
537702
537682
|
PeriodicExportingMetricReader6 = noopClass5;
|
|
537703
|
-
trace6 = { getTracer: () => ({ startSpan: () => ({ end:
|
|
537704
|
-
context6 = { active:
|
|
537683
|
+
trace6 = { getTracer: () => ({ startSpan: () => ({ end: noop20, setAttribute: noop20, setStatus: noop20, recordException: noop20 }) }) };
|
|
537684
|
+
context6 = { active: noop20, with: (_, fn) => fn() };
|
|
537705
537685
|
SpanStatusCode5 = { OK: 0, ERROR: 1, UNSET: 2 };
|
|
537706
537686
|
AggregationTemporality5 = { CUMULATIVE: 0, DELTA: 1 };
|
|
537707
537687
|
DataPointType5 = { HISTOGRAM: 0, SUM: 1, GAUGE: 2 };
|
|
@@ -555433,7 +555413,7 @@ function WelcomeV2() {
|
|
|
555433
555413
|
dimColor: true,
|
|
555434
555414
|
children: [
|
|
555435
555415
|
"v",
|
|
555436
|
-
"0.3.
|
|
555416
|
+
"0.3.60",
|
|
555437
555417
|
" "
|
|
555438
555418
|
]
|
|
555439
555419
|
}, undefined, true, undefined, this)
|
|
@@ -556456,7 +556436,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
556456
556436
|
children: [
|
|
556457
556437
|
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(ThemedText, {
|
|
556458
556438
|
children: [
|
|
556459
|
-
"In Bypass Permissions mode,
|
|
556439
|
+
"In Bypass Permissions mode, STRATAGEM X7 will not ask for your approval before running potentially dangerous commands.",
|
|
556460
556440
|
/* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
556461
556441
|
"This mode should only be used in a sandboxed container/VM that has restricted internet access and can easily be restored if damaged."
|
|
556462
556442
|
]
|
|
@@ -556489,7 +556469,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
556489
556469
|
let t5;
|
|
556490
556470
|
if ($2[5] !== onChange) {
|
|
556491
556471
|
t5 = /* @__PURE__ */ jsx_dev_runtime481.jsxDEV(Dialog, {
|
|
556492
|
-
title: "WARNING:
|
|
556472
|
+
title: "WARNING: STRATAGEM X7 running in Bypass Permissions mode",
|
|
556493
556473
|
color: "error",
|
|
556494
556474
|
onCancel: handleEscape,
|
|
556495
556475
|
children: [
|
|
@@ -574891,7 +574871,7 @@ Usage: stx7 --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
574891
574871
|
pendingHookMessages
|
|
574892
574872
|
}, renderAndRun);
|
|
574893
574873
|
}
|
|
574894
|
-
}).version("0.3.
|
|
574874
|
+
}).version("0.3.60 (STRATAGEM X7)", "-v, --version", "Output the version number");
|
|
574895
574875
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
574896
574876
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
574897
574877
|
if (canUserConfigureAdvisor()) {
|
|
@@ -575324,7 +575304,7 @@ var init_main3 = __esm(() => {
|
|
|
575324
575304
|
});
|
|
575325
575305
|
|
|
575326
575306
|
// src/entrypoints/cli.tsx
|
|
575327
|
-
|
|
575307
|
+
init_providerProfile();
|
|
575328
575308
|
init_providerValidation();
|
|
575329
575309
|
if (typeof globalThis.File === "undefined") {
|
|
575330
575310
|
try {
|
|
@@ -575352,7 +575332,7 @@ if (false) {}
|
|
|
575352
575332
|
async function main2() {
|
|
575353
575333
|
const args = process.argv.slice(2);
|
|
575354
575334
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
575355
|
-
console.log(`${"0.3.
|
|
575335
|
+
console.log(`${"0.3.60"} (STRATAGEM X7)`);
|
|
575356
575336
|
return;
|
|
575357
575337
|
}
|
|
575358
575338
|
if (args.includes("--provider")) {
|
|
@@ -575474,4 +575454,4 @@ async function main2() {
|
|
|
575474
575454
|
}
|
|
575475
575455
|
main2();
|
|
575476
575456
|
|
|
575477
|
-
//# debugId=
|
|
575457
|
+
//# debugId=D5777F805277E58A64756E2164756E21
|