@bike4mind/cli 5.0.1 → 5.1.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/dist/{AgentHistoryStore-DW6BBbVj.mjs → AgentHistoryStore-DrZ47hqO.mjs} +67 -22
- package/dist/{ApiClient-D4bDuWXg.mjs → ApiClient-B8VxyNEM.mjs} +3 -3
- package/dist/{BubblewrapRuntime-D3EO5Y0C.mjs → BubblewrapRuntime-DotKnqtu.mjs} +2 -2
- package/dist/ConfigStore-1lUx9qD8.mjs +2 -0
- package/dist/{ConfigStore-BuLA_-uZ.mjs → ConfigStore-DfuE49PH.mjs} +1 -1
- package/dist/{Logger-CjaYx85U.mjs → Logger-D6QD3c7G.mjs} +1621 -292
- package/dist/{SandboxOrchestrator-yORi2eFV.mjs → SandboxOrchestrator-Cm9L1TRR.mjs} +1 -1
- package/dist/{SandboxRuntimeAdapter-BjJwJNfg.mjs → SandboxRuntimeAdapter-DF9hg5Xl.mjs} +1 -1
- package/dist/{SandboxRuntimeAdapter-BmkaFzqU.mjs → SandboxRuntimeAdapter-HEkl0-qG.mjs} +2 -2
- package/dist/{SeatbeltRuntime-CyZNmFwD.mjs → SeatbeltRuntime-CYsIp616.mjs} +2 -2
- package/dist/{WorkItemsClient-xmo0DrCm.mjs → WorkItemsClient-sUftLgOz.mjs} +1 -1
- package/dist/{buildToolSearch-CXxEtVKc.mjs → buildToolSearch-Bb-DPCb0.mjs} +2 -2
- package/dist/commands/acpCommand.mjs +5 -5
- package/dist/commands/apiCommand.mjs +1 -1
- package/dist/commands/doctorCommand.mjs +2 -2
- package/dist/commands/envCommand.mjs +1 -1
- package/dist/commands/headlessCommand.mjs +6 -6
- package/dist/commands/mcpCommand.mjs +3 -3
- package/dist/commands/mirrorCommand.mjs +2 -2
- package/dist/commands/modelsCommand.mjs +4 -4
- package/dist/commands/pluginCommand.mjs +1 -1
- package/dist/commands/skillsCommand.mjs +3 -3
- package/dist/commands/updateCommand.mjs +2 -2
- package/dist/{dist-DsMzCRLX.mjs → dist-De8Q0ivE.mjs} +100 -9
- package/dist/{fit-C9eLTDcR.mjs → fit-BsHUrxwe.mjs} +3 -3
- package/dist/index.mjs +9 -9
- package/dist/{modelServers-DeOGFwLi.mjs → modelServers-Ca1l2hMC.mjs} +1 -1
- package/dist/{package-CvffLo0I.mjs → package-hEkaJgsy.mjs} +1 -1
- package/dist/{serve-tmC__JNj.mjs → serve-CiSddein.mjs} +91 -18
- package/dist/{updateChecker-U4AfrPKj.mjs → updateChecker-dZqiMftm.mjs} +1 -1
- package/package.json +12 -13
- package/dist/ConfigStore-DdqxfmDr.mjs +0 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as NotAuthenticatedError, D as sanitizeTerminalText, d as sandboxedCommandArg, l as commandTextOf, p as writePathOf, s as loadContextFiles, u as isReadOnlyTool, w as SessionRevokedError } from "./ConfigStore-
|
|
3
|
-
import { a as extractErrorMessage, d as BaseStorage, f as isPrivateIP, h as redactLogValue, l as OllamaBackend, m as redactLogText, n as B4mStreamEndedError, o as getSettingsMap, p as Logger, r as createClient, s as getSettingsValue, t as B4mApiError, u as OpenAICompatibleBackend } from "./dist-
|
|
4
|
-
import { At as
|
|
2
|
+
import { C as NotAuthenticatedError, D as sanitizeTerminalText, d as sandboxedCommandArg, l as commandTextOf, p as writePathOf, s as loadContextFiles, u as isReadOnlyTool, w as SessionRevokedError } from "./ConfigStore-DfuE49PH.mjs";
|
|
3
|
+
import { a as extractErrorMessage, d as BaseStorage, f as isPrivateIP, h as redactLogValue, l as OllamaBackend, m as redactLogText, n as B4mStreamEndedError, o as getSettingsMap, p as Logger, r as createClient, s as getSettingsValue, t as B4mApiError, u as OpenAICompatibleBackend } from "./dist-De8Q0ivE.mjs";
|
|
4
|
+
import { At as isPlaceholderImageSigningSecret, B as LOW_CONFIDENCE_COMPLETION_MODES, G as NotFoundError, Gt as secureParameters, Ht as reasoningChannelOf, I as ExpectedToolError, Jt as splitEquals, M as DecisionTextPartSchema, Mt as isRetryableError, N as DecisionsRequestSchema, Ot as isExpectedToolError, Rt as obfuscateApiKey, St as getMcpProviderMetadata, T as ChatModels, U as McpServerName, V as MODEL_DECLINED_MESSAGE, Y as PermissionDeniedError, a as htmlFirstH1, dt as assertAuthOriginMatchesApiKey, fn as frontmatterHasSourceStamp, h as ApiKeyType, ht as createReasoningWithholder, i as htmlErrorTitle, in as withholdsReasoning, it as SEARCH_RESULT_CARDS_LANGUAGE, jt as isProviderRefusalStopReason, kt as isPlaceholderApiKey, n as SESSION_ID_PATTERN, o as escapeArtifactBodyJson, qt as signImageUrl, r as isValidSessionId, rn as withRetry, st as UnprocessableEntityError, t as logger, ut as WORK_ITEM_STATUSES, w as CUSTOM_MCP_DATA_NOTICE, wt as googleMapsSearchUrl, x as CONFIDENCE_GATE_MODES, yt as fromCliTodos, z as LOCATION_MAP_LANGUAGE } from "./Logger-D6QD3c7G.mjs";
|
|
5
5
|
import { r as isReservedCommandName } from "./RemoteSkillSource-HqoLRV56.mjs";
|
|
6
6
|
import { a as isPathAllowed, n as assertWritablePath, t as assertPathAllowed } from "./pathValidation-C4ADzpUR-BPIpINwZ.mjs";
|
|
7
7
|
import { n as isTerminalShellStatus, t as getShellSessionManager } from "./ShellSessionManager-6o8KZzl1-vrbPAUTq.mjs";
|
|
8
8
|
import { d as detectRuntimes, m as modelBlobsOf } from "./dist-K7a9yOUb.mjs";
|
|
9
|
-
import { A as serverRuntimeId, B as parseGenerationInput, Ct as withDefaultOllamaPort, F as GENERATION_FIELDS, H as parseModelContextSetting, I as LOCAL_OLLAMA_RUNTIME_ID, L as REASONING_EFFORT_SETTINGS, R as effortSent, S as desktopUserDataFile, V as parseLocalModelId, X as clean, a as needsCredential, f as serverFetch, i as loginHint, l as resolveServerTarget, m as unusableStatus, r as loadModelServers, y as SSH_PROBE_TIMEOUT_MS, z as localModelId } from "./modelServers-
|
|
9
|
+
import { A as serverRuntimeId, B as parseGenerationInput, Ct as withDefaultOllamaPort, F as GENERATION_FIELDS, H as parseModelContextSetting, I as LOCAL_OLLAMA_RUNTIME_ID, L as REASONING_EFFORT_SETTINGS, R as effortSent, S as desktopUserDataFile, V as parseLocalModelId, X as clean, a as needsCredential, f as serverFetch, i as loginHint, l as resolveServerTarget, m as unusableStatus, r as loadModelServers, y as SSH_PROBE_TIMEOUT_MS, z as localModelId } from "./modelServers-Ca1l2hMC.mjs";
|
|
10
10
|
import { createHash, randomBytes } from "crypto";
|
|
11
11
|
import { existsSync, lstatSync, promises, readdirSync, realpathSync, rmSync, statSync } from "fs";
|
|
12
12
|
import os, { homedir } from "os";
|
|
@@ -1270,6 +1270,7 @@ var apiKeyService_exports$1 = /* @__PURE__ */ __exportAll$2({
|
|
|
1270
1270
|
setApiKey: () => setApiKey,
|
|
1271
1271
|
sharedAdminKeyProviders: () => sharedAdminKeyProviders,
|
|
1272
1272
|
t: () => apiKeyService_exports$2,
|
|
1273
|
+
usableApiKey: () => usableApiKey,
|
|
1273
1274
|
userKeyProviders: () => userKeyProviders
|
|
1274
1275
|
});
|
|
1275
1276
|
const createApiKeySchema = z$1.object({
|
|
@@ -1348,6 +1349,15 @@ const ENV_KEY_MAP = {
|
|
|
1348
1349
|
const envKey = (name) => process.env.B4M_SELF_HOST === "true" && process.env[name]?.trim() || null;
|
|
1349
1350
|
/** What getEffectiveLLMApiKeys returns in place of a user's own key once it has expired. */
|
|
1350
1351
|
const EXPIRED_API_KEY = "expired";
|
|
1352
|
+
/**
|
|
1353
|
+
* The trimmed key when `value` is a usable credential, else null: absent, blank, the expired marker
|
|
1354
|
+
* and any recognized placeholder are not credentials. The one predicate for "can this go upstream".
|
|
1355
|
+
*/
|
|
1356
|
+
const usableApiKey = (value) => {
|
|
1357
|
+
const trimmed = value?.trim();
|
|
1358
|
+
if (!trimmed || trimmed === "expired" || isPlaceholderApiKey(trimmed)) return null;
|
|
1359
|
+
return trimmed;
|
|
1360
|
+
};
|
|
1351
1361
|
const getSerperKey = async (adapters) => {
|
|
1352
1362
|
const { db } = adapters;
|
|
1353
1363
|
return (await db.adminSettings.findBySettingName("SerperKey"))?.settingValue;
|
|
@@ -1566,6 +1576,7 @@ var apiKeyService_exports$2 = /* @__PURE__ */ __exportAll({
|
|
|
1566
1576
|
listOwnApiKeys: () => listOwnApiKeys,
|
|
1567
1577
|
setApiKey: () => setApiKey,
|
|
1568
1578
|
sharedAdminKeyProviders: () => sharedAdminKeyProviders,
|
|
1579
|
+
usableApiKey: () => usableApiKey,
|
|
1569
1580
|
userKeyProviders: () => userKeyProviders
|
|
1570
1581
|
});
|
|
1571
1582
|
//#endregion
|
|
@@ -1621,7 +1632,7 @@ function createStructuredResultValidator(schema) {
|
|
|
1621
1632
|
};
|
|
1622
1633
|
}
|
|
1623
1634
|
//#endregion
|
|
1624
|
-
//#region ../../b4m-core/services/dist/webfetch-
|
|
1635
|
+
//#region ../../b4m-core/services/dist/webfetch-DXZS-v_A.mjs
|
|
1625
1636
|
const htmlToMarkdown = (html, _isArxiv = false) => {
|
|
1626
1637
|
const turndownService = new turndown({
|
|
1627
1638
|
headingStyle: "atx",
|
|
@@ -1907,6 +1918,7 @@ async function plainFetchScrape(url, options) {
|
|
|
1907
1918
|
title
|
|
1908
1919
|
};
|
|
1909
1920
|
}
|
|
1921
|
+
const URL_NOT_IN_CONVERSATION_MESSAGE = "This URL does not appear in anything the user sent or in an earlier search, page, file or tool result in this conversation, so it was not fetched. Only fetch URLs exactly as they appear there; to find a page, use web_search, or ask the user to paste the link.";
|
|
1910
1922
|
const DEFAULT_TIMEOUT_MS = 6e4;
|
|
1911
1923
|
const PDF_TIMEOUT_MS = 9e4;
|
|
1912
1924
|
const WEB_FETCH_CONTENT_CAP = 5e4;
|
|
@@ -2185,6 +2197,10 @@ const webFetchTool = {
|
|
|
2185
2197
|
toolFn: async (value) => {
|
|
2186
2198
|
const params = value;
|
|
2187
2199
|
Logger.globalInstance.log("🌐 WebFetch Tool: Starting fetch for URL:", params.url);
|
|
2200
|
+
if (context.urlProvenance && !context.urlProvenance.allows(params.url)) {
|
|
2201
|
+
context.logger.warn("WebFetch refused a URL not present in the conversation");
|
|
2202
|
+
throw new ExpectedToolError(URL_NOT_IN_CONVERSATION_MESSAGE);
|
|
2203
|
+
}
|
|
2188
2204
|
try {
|
|
2189
2205
|
await context.statusUpdate({}, `Fetching content from ${params.url}...`);
|
|
2190
2206
|
const result = await firecrawlFetch({ db: context.db }, params.url, { offset: params.offset });
|
|
@@ -2368,7 +2384,7 @@ const WEB_SEARCH_MAP_PROMPT = [
|
|
|
2368
2384
|
"explanation or citations. Omit it only if none of the places actually answer the question."
|
|
2369
2385
|
].join("\n");
|
|
2370
2386
|
//#endregion
|
|
2371
|
-
//#region ../../b4m-core/services/dist/websearch-
|
|
2387
|
+
//#region ../../b4m-core/services/dist/websearch-Cce90Bvo.mjs
|
|
2372
2388
|
/**
|
|
2373
2389
|
* Shown to the model under tool results that carry the turn's shared numbers, so it cites them the
|
|
2374
2390
|
* way forced retrieval's header asks it to cite the documents numbered before them. Keep it a directive:
|
|
@@ -2718,6 +2734,7 @@ async function serpApiSearch(adapters, query, num_results, options) {
|
|
|
2718
2734
|
setSerpApiGeoTargeting(searchParams, options);
|
|
2719
2735
|
const bucket = recencyBucket(options?.recencyDays);
|
|
2720
2736
|
if (bucket) searchParams.set("tbs", SERPAPI_QDR[bucket]);
|
|
2737
|
+
if (options?.pageOffset && options.pageOffset > 0) searchParams.set("start", String(options.pageOffset));
|
|
2721
2738
|
url.search = searchParams.toString();
|
|
2722
2739
|
const maxAttempts = Math.min(Math.max(1, options?.maxAttempts ?? SERPAPI_MAX_ATTEMPTS), SERPAPI_MAX_ATTEMPTS);
|
|
2723
2740
|
const failures = [];
|
|
@@ -3010,10 +3027,13 @@ function createSearxngProvider(baseUrl) {
|
|
|
3010
3027
|
});
|
|
3011
3028
|
const bucket = recencyBucket(options?.recencyDays);
|
|
3012
3029
|
if (bucket) params.set("time_range", bucket);
|
|
3030
|
+
const pageno = options?.pageIndex && options.pageIndex > 1 ? options.pageIndex : 1;
|
|
3031
|
+
if (pageno > 1) params.set("pageno", String(pageno));
|
|
3013
3032
|
url.search = params.toString();
|
|
3014
3033
|
const request = {
|
|
3015
3034
|
q: query,
|
|
3016
3035
|
...bucket && { time_range: bucket },
|
|
3036
|
+
...pageno > 1 && { pageno },
|
|
3017
3037
|
limit
|
|
3018
3038
|
};
|
|
3019
3039
|
const controller = new AbortController();
|
|
@@ -3695,7 +3715,7 @@ async function isOperationalBillingEnabled(db, logger, holder) {
|
|
|
3695
3715
|
return holder ? isFreeTierHolder(holder) : false;
|
|
3696
3716
|
}
|
|
3697
3717
|
//#endregion
|
|
3698
|
-
//#region ../../b4m-core/services/dist/toolGenerators-
|
|
3718
|
+
//#region ../../b4m-core/services/dist/toolGenerators-CflzUkRh.mjs
|
|
3699
3719
|
const diceRoll = async (parameters) => {
|
|
3700
3720
|
if (!parameters?.sides || !parameters?.times) throw new Error("Tool dice roll: Missing required parameters");
|
|
3701
3721
|
return sum(times(parameters.times, () => random(1, parameters.sides))).toString();
|
|
@@ -4561,7 +4581,7 @@ const askUserQuestionTool = {
|
|
|
4561
4581
|
* re-export them without pulling the full tool graph. `index.ts` re-exports them
|
|
4562
4582
|
* so the server barrel's public API is unchanged.
|
|
4563
4583
|
*/
|
|
4564
|
-
const generateTools = (userId, user, logger, { db, getEntitlements, retrievalFilter, kbScope, inlinedAttachmentIds, attachedFileIds, fullyInlinedAttachmentIds, suppressLakeArms, sessionRetrievalTags, sessionReaderConsentDatalakeTags, sessionLakeScopeExplicit, sessionIncludeLibraryFiles, sessionPreauthorizedLakeIds, organizationId, governingOrgModelPolicy, authOrigin, apiKeyId, questId, requestConfirmation, slackDestination, numberCitables, decide, toLedgerModel, getAbortSignal }, storage, imageGenerateStorage, statusUpdate, onStart, onFinish, llm, config, model, imageProcessorLambdaName, tools, allowedDirectories, entitlementKeys = [], sessionId, codeMinifier, availableModels, onToolLlmUsage, servingModel) => {
|
|
4584
|
+
const generateTools = (userId, user, logger, { db, getEntitlements, retrievalFilter, kbScope, inlinedAttachmentIds, attachedFileIds, fullyInlinedAttachmentIds, suppressLakeArms, sessionRetrievalTags, sessionReaderConsentDatalakeTags, sessionLakeScopeExplicit, sessionIncludeLibraryFiles, sessionPreauthorizedLakeIds, organizationId, governingOrgModelPolicy, authOrigin, apiKeyId, questId, requestConfirmation, urlProvenance, slackDestination, numberCitables, decide, toLedgerModel, getAbortSignal }, storage, imageGenerateStorage, statusUpdate, onStart, onFinish, llm, config, model, imageProcessorLambdaName, tools, allowedDirectories, entitlementKeys = [], sessionId, codeMinifier, availableModels, onToolLlmUsage, servingModel) => {
|
|
4565
4585
|
assertAuthOriginMatchesApiKey(authOrigin, apiKeyId);
|
|
4566
4586
|
const context = {
|
|
4567
4587
|
userId,
|
|
@@ -4569,6 +4589,7 @@ const generateTools = (userId, user, logger, { db, getEntitlements, retrievalFil
|
|
|
4569
4589
|
sessionId,
|
|
4570
4590
|
questId,
|
|
4571
4591
|
requestConfirmation,
|
|
4592
|
+
urlProvenance,
|
|
4572
4593
|
slackDestination,
|
|
4573
4594
|
logger,
|
|
4574
4595
|
db,
|
|
@@ -20136,8 +20157,8 @@ async function buildSandbox(input) {
|
|
|
20136
20157
|
const { config, sessionId, permissionManager, checkpointStore } = input;
|
|
20137
20158
|
const log = input.log ?? consoleLog;
|
|
20138
20159
|
const [{ createSandboxRuntime }, { SandboxOrchestrator }, { DEFAULT_SANDBOX_CONFIG }, { ProxyManager }, { ViolationLogStore }] = await Promise.all([
|
|
20139
|
-
import("./SandboxRuntimeAdapter-
|
|
20140
|
-
import("./SandboxOrchestrator-
|
|
20160
|
+
import("./SandboxRuntimeAdapter-DF9hg5Xl.mjs"),
|
|
20161
|
+
import("./SandboxOrchestrator-Cm9L1TRR.mjs"),
|
|
20141
20162
|
import("./types-BFIvwByC.mjs"),
|
|
20142
20163
|
import("./ProxyManager-TxEKlgdO.mjs"),
|
|
20143
20164
|
import("./ViolationLogStore-byEhxa2A.mjs")
|
|
@@ -21067,7 +21088,7 @@ const MODEL_ALIASES = {
|
|
|
21067
21088
|
"claude-4.7-opus": ChatModels.CLAUDE_4_7_OPUS,
|
|
21068
21089
|
"claude-4.6-opus": ChatModels.CLAUDE_4_6_OPUS,
|
|
21069
21090
|
"claude-4.6-sonnet": ChatModels.CLAUDE_4_6_SONNET,
|
|
21070
|
-
"claude-4.5-opus": ChatModels.
|
|
21091
|
+
"claude-4.5-opus": ChatModels.CLAUDE_4_8_OPUS,
|
|
21071
21092
|
"claude-4.5-sonnet": ChatModels.CLAUDE_5_5_SONNET,
|
|
21072
21093
|
"claude-4.5-haiku": ChatModels.CLAUDE_4_5_HAIKU,
|
|
21073
21094
|
"claude-4-opus": ChatModels.CLAUDE_4_8_OPUS,
|
|
@@ -21077,13 +21098,8 @@ const MODEL_ALIASES = {
|
|
|
21077
21098
|
"claude-3.5-sonnet": ChatModels.CLAUDE_5_5_SONNET,
|
|
21078
21099
|
"claude-3.5-haiku": ChatModels.CLAUDE_4_5_HAIKU,
|
|
21079
21100
|
"claude-3-opus": ChatModels.CLAUDE_4_8_OPUS,
|
|
21080
|
-
"gpt-4o": ChatModels.GPT4o,
|
|
21081
|
-
"gpt-4o-mini": ChatModels.GPT4o_MINI,
|
|
21082
21101
|
"gpt-4.1": ChatModels.GPT4_1,
|
|
21083
21102
|
"gpt-4.1-mini": ChatModels.GPT4_1_MINI,
|
|
21084
|
-
"gpt-5": ChatModels.GPT5,
|
|
21085
|
-
"gpt-5-mini": ChatModels.GPT5_MINI,
|
|
21086
|
-
"gpt-5-nano": ChatModels.GPT5_NANO,
|
|
21087
21103
|
"gpt-5.1": ChatModels.GPT5_1,
|
|
21088
21104
|
"gpt-5.2": ChatModels.GPT5_2,
|
|
21089
21105
|
"gpt-5.4": ChatModels.GPT5_4,
|
|
@@ -21093,6 +21109,10 @@ const MODEL_ALIASES = {
|
|
|
21093
21109
|
"gpt-5.6-sol": ChatModels.GPT5_6_SOL,
|
|
21094
21110
|
"gpt-5.6-luna": ChatModels.GPT5_6_LUNA,
|
|
21095
21111
|
"gpt-5.6-terra": ChatModels.GPT5_6_TERRA,
|
|
21112
|
+
"gpt-6.2-astra": ChatModels.GPT6_2_ASTRA,
|
|
21113
|
+
"gpt-6.2-sol": ChatModels.GPT6_2_SOL,
|
|
21114
|
+
"gpt-6.1-terra": ChatModels.GPT6_1_TERRA,
|
|
21115
|
+
"gpt-6-luna": ChatModels.GPT6_LUNA,
|
|
21096
21116
|
gemini: ChatModels.GEMINI_3_5_FLASH,
|
|
21097
21117
|
"gemini-pro": ChatModels.GEMINI_3_1_PRO_PREVIEW,
|
|
21098
21118
|
"gemini-flash": ChatModels.GEMINI_3_5_FLASH,
|
|
@@ -21106,8 +21126,8 @@ const MODEL_ALIASES = {
|
|
|
21106
21126
|
grok: ChatModels.GROK_4_5,
|
|
21107
21127
|
"grok-3": ChatModels.GROK_4_5,
|
|
21108
21128
|
"grok-3-fast": ChatModels.GROK_4_5,
|
|
21109
|
-
"grok-3-mini": ChatModels.
|
|
21110
|
-
"grok-3-mini-fast": ChatModels.
|
|
21129
|
+
"grok-3-mini": ChatModels.GROK_4_5,
|
|
21130
|
+
"grok-3-mini-fast": ChatModels.GROK_4_5,
|
|
21111
21131
|
"grok-2": ChatModels.GROK_4_5,
|
|
21112
21132
|
"grok-2-vision": ChatModels.GROK_4_5,
|
|
21113
21133
|
deepseek: ChatModels.DEEPSEEK_FLASH,
|
|
@@ -21138,17 +21158,42 @@ const SUNSETTING_MODEL_ALIASES = {
|
|
|
21138
21158
|
"gpt-4.1-nano": {
|
|
21139
21159
|
model: ChatModels.GPT4_1_NANO,
|
|
21140
21160
|
retiresOn: "2026-10-23",
|
|
21141
|
-
successor: "gpt-
|
|
21161
|
+
successor: "gpt-6-luna"
|
|
21142
21162
|
},
|
|
21143
21163
|
"o4-mini": {
|
|
21144
21164
|
model: ChatModels.O4_MINI,
|
|
21145
21165
|
retiresOn: "2026-10-23",
|
|
21146
|
-
successor: "gpt-
|
|
21166
|
+
successor: "gpt-6-luna"
|
|
21147
21167
|
},
|
|
21148
21168
|
o3: {
|
|
21149
21169
|
model: ChatModels.O3,
|
|
21150
21170
|
retiresOn: "2026-12-11",
|
|
21151
21171
|
successor: "gpt-5.5"
|
|
21172
|
+
},
|
|
21173
|
+
"gpt-5": {
|
|
21174
|
+
model: ChatModels.GPT5,
|
|
21175
|
+
retiresOn: "2026-12-11",
|
|
21176
|
+
successor: "gpt-6.2-sol"
|
|
21177
|
+
},
|
|
21178
|
+
"gpt-5-mini": {
|
|
21179
|
+
model: ChatModels.GPT5_MINI,
|
|
21180
|
+
retiresOn: "2026-12-11",
|
|
21181
|
+
successor: "gpt-6-luna"
|
|
21182
|
+
},
|
|
21183
|
+
"gpt-5-nano": {
|
|
21184
|
+
model: ChatModels.GPT5_NANO,
|
|
21185
|
+
retiresOn: "2026-12-11",
|
|
21186
|
+
successor: "gpt-6-luna"
|
|
21187
|
+
},
|
|
21188
|
+
"gpt-4o": {
|
|
21189
|
+
model: ChatModels.GPT4o,
|
|
21190
|
+
retiresOn: "2027-01-14",
|
|
21191
|
+
successor: "gpt-6-luna"
|
|
21192
|
+
},
|
|
21193
|
+
"gpt-4o-mini": {
|
|
21194
|
+
model: ChatModels.GPT4o_MINI,
|
|
21195
|
+
retiresOn: "2027-01-14",
|
|
21196
|
+
successor: "gpt-6-luna"
|
|
21152
21197
|
}
|
|
21153
21198
|
};
|
|
21154
21199
|
/**
|
|
@@ -21160,8 +21205,8 @@ const RETIRED_MODEL_ALIASES = {
|
|
|
21160
21205
|
"gpt-4.5": "gpt-5.5",
|
|
21161
21206
|
o1: "gpt-5.5",
|
|
21162
21207
|
"o1-preview": "gpt-5.5",
|
|
21163
|
-
"o1-mini": "gpt-
|
|
21164
|
-
"o3-mini": "gpt-
|
|
21208
|
+
"o1-mini": "gpt-6-luna",
|
|
21209
|
+
"o3-mini": "gpt-6-luna",
|
|
21165
21210
|
"gemini-2.0-flash": "gemini-flash",
|
|
21166
21211
|
"gemini-1.5-pro": "gemini-pro",
|
|
21167
21212
|
"gemini-1.5-flash": "gemini-flash",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { b as AuthenticatedApiClient, t as ConfigStore, x as DeviceFlowClient } from "./ConfigStore-
|
|
3
|
-
import { t as logger } from "./Logger-
|
|
4
|
-
import { t as version } from "./package-
|
|
2
|
+
import { b as AuthenticatedApiClient, t as ConfigStore, x as DeviceFlowClient } from "./ConfigStore-DfuE49PH.mjs";
|
|
3
|
+
import { t as logger } from "./Logger-D6QD3c7G.mjs";
|
|
4
|
+
import { t as version } from "./package-hEkaJgsy.mjs";
|
|
5
5
|
import { isAxiosError } from "axios";
|
|
6
6
|
import { Readable } from "node:stream";
|
|
7
7
|
//#region src/auth/OAuthClient.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { t as logger } from "./Logger-
|
|
3
|
-
import { a as getContainerSocketPaths, c as resolveSandboxPath, o as getProtectedWorkspacePaths, s as isBinaryAvailable, t as assertProxyPort } from "./SandboxRuntimeAdapter-
|
|
2
|
+
import { t as logger } from "./Logger-D6QD3c7G.mjs";
|
|
3
|
+
import { a as getContainerSocketPaths, c as resolveSandboxPath, o as getProtectedWorkspacePaths, s as isBinaryAvailable, t as assertProxyPort } from "./SandboxRuntimeAdapter-HEkl0-qG.mjs";
|
|
4
4
|
import { lstatSync, mkdirSync, statSync } from "fs";
|
|
5
5
|
import os from "os";
|
|
6
6
|
import path from "path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { T as ChatModels, t as logger } from "./Logger-
|
|
2
|
+
import { T as ChatModels, t as logger } from "./Logger-D6QD3c7G.mjs";
|
|
3
3
|
import { t as DEFAULT_SANDBOX_CONFIG } from "./types-CxrzVXel.mjs";
|
|
4
4
|
import { isDeepStrictEqual } from "node:util";
|
|
5
5
|
import { existsSync, promises } from "fs";
|