Merge upstream continuedev/continue main (47 commits)
Includes: ClawRouter provider, JetBrains stability fixes, security vulnerability patches, docs improvements, and dependency bumps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
commit
d335ac1db1
88 changed files with 50795 additions and 37495 deletions
2
.github/workflows/jetbrains-release.yaml
vendored
2
.github/workflows/jetbrains-release.yaml
vendored
|
|
@ -286,7 +286,7 @@ jobs:
|
|||
echo "Contents of distributions folder:"
|
||||
ls
|
||||
echo "---"
|
||||
FILENAME=`ls continue-intellij-extension-*.zip`
|
||||
FILENAME=$(ls continue-intellij-extension-*.zip | head -1)
|
||||
echo "Filename=${FILENAME}"
|
||||
unzip "$FILENAME" -d content
|
||||
|
||||
|
|
|
|||
2
.vscode/tasks.json
vendored
2
.vscode/tasks.json
vendored
|
|
@ -120,7 +120,7 @@
|
|||
},
|
||||
"options": {
|
||||
"env": {
|
||||
"SKIP_INSTALLS": "true"
|
||||
// "SKIP_INSTALLS": "true" // Can set to true to speed up build scripts, but only after initial installs (otherwise issues with copying e.g. ripgrep, sqlite, etc)
|
||||
},
|
||||
"cwd": "${workspaceFolder}/extensions/vscode"
|
||||
}
|
||||
|
|
|
|||
34087
binary/package-lock.json
generated
34087
binary/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -34,7 +34,7 @@
|
|||
"@types/uuid": "^9.0.8",
|
||||
"@vercel/ncc": "^0.38.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild": "^0.19.11",
|
||||
"esbuild": "^0.25.0",
|
||||
"jest": "^29.7.0",
|
||||
"pkg": "^5.8.1",
|
||||
"rimraf": "^5.0.7",
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
"ncp": "^2.0.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
"system-ca": "^1.0.2",
|
||||
"tar": "^7.5.10",
|
||||
"tar": "^7.5.13",
|
||||
"undici": "^7.24.0",
|
||||
"uuid": "^9.0.1",
|
||||
"vectordb": "0.4.20",
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { SerializedContinueConfig } from "core";
|
||||
import { ModelDescription, SerializedContinueConfig } from "core";
|
||||
// import Mock from "core/llm/llms/Mock.js";
|
||||
import { FromIdeProtocol, ToIdeProtocol } from "core/protocol/index.js";
|
||||
import { IMessenger } from "core/protocol/messenger";
|
||||
|
|
@ -67,7 +67,7 @@ describe("Test Suite", () => {
|
|||
const binaryPath = path.join(binaryDir, `continue-binary${exe}`);
|
||||
const expectedItems = [
|
||||
`continue-binary${exe}`,
|
||||
`esbuild${exe}`,
|
||||
`rg${exe}`,
|
||||
"index.node",
|
||||
"package.json",
|
||||
"build/Release/node_sqlite3.node",
|
||||
|
|
@ -144,7 +144,7 @@ describe("Test Suite", () => {
|
|||
(
|
||||
messenger as CoreBinaryTcpMessenger<ToIdeProtocol, FromIdeProtocol>
|
||||
).close();
|
||||
} else {
|
||||
} else if (subprocess) {
|
||||
subprocess.kill();
|
||||
await new Promise((resolve) => subprocess.on("close", resolve));
|
||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
||||
|
|
@ -235,16 +235,20 @@ describe("Test Suite", () => {
|
|||
result: { config },
|
||||
} = await messenger.request("config/getSerializedProfileInfo", undefined);
|
||||
|
||||
expect(config!.modelsByRole.chat.some((m) => m.title === model.title)).toBe(
|
||||
true,
|
||||
);
|
||||
expect(
|
||||
config!.modelsByRole.chat.some(
|
||||
(m: ModelDescription) => m.title === model.title,
|
||||
),
|
||||
).toBe(true);
|
||||
|
||||
await messenger.request("config/deleteModel", { title: model.title });
|
||||
const {
|
||||
result: { config: configAfterDelete },
|
||||
} = await messenger.request("config/getSerializedProfileInfo", undefined);
|
||||
expect(
|
||||
configAfterDelete!.modelsByRole.chat.some((m) => m.title === model.title),
|
||||
configAfterDelete!.modelsByRole.chat.some(
|
||||
(m: ModelDescription) => m.title === model.title,
|
||||
),
|
||||
).toBe(false);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export class CompletionProvider {
|
|||
llm.completionOptions.temperature = 0.01;
|
||||
}
|
||||
|
||||
if (llm instanceof OpenAI) {
|
||||
if (llm instanceof OpenAI && llm.providerName !== "openrouter") {
|
||||
llm.useLegacyCompletionsEndpoint = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
import { IDE } from "../..";
|
||||
import { getRangeInString } from "../../util/ranges";
|
||||
import { languageForFilepath } from "../constants/AutocompleteLanguageInfo";
|
||||
import { AutocompleteInput } from "../util/types";
|
||||
|
||||
/**
|
||||
* We have to handle a few edge cases in getting the entire prefix/suffix for the current file.
|
||||
* This is entirely prior to finding snippets from other files
|
||||
* This is entirely prior to finding snippets from other files.
|
||||
*
|
||||
* Accepts pre-loaded file contents to avoid a redundant file read
|
||||
* (the caller already has the contents loaded).
|
||||
*/
|
||||
export async function constructInitialPrefixSuffix(
|
||||
export function constructInitialPrefixSuffix(
|
||||
input: AutocompleteInput,
|
||||
ide: IDE,
|
||||
): Promise<{
|
||||
fileContents: string,
|
||||
): {
|
||||
prefix: string;
|
||||
suffix: string;
|
||||
}> {
|
||||
} {
|
||||
const lang = languageForFilepath(input.filepath);
|
||||
|
||||
const fileContents =
|
||||
input.manuallyPassFileContents ?? (await ide.readFile(input.filepath));
|
||||
const fileLines = fileContents.split("\n");
|
||||
let prefix =
|
||||
getRangeInString(fileContents, {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ export class HelperVars {
|
|||
|
||||
// Construct full prefix/suffix (a few edge cases handled in here)
|
||||
const { prefix: fullPrefix, suffix: fullSuffix } =
|
||||
await constructInitialPrefixSuffix(this.input, this.ide);
|
||||
constructInitialPrefixSuffix(this.input, this._fileContents);
|
||||
this._fullPrefix = fullPrefix;
|
||||
this._fullSuffix = fullSuffix;
|
||||
|
||||
|
|
|
|||
|
|
@ -101,8 +101,17 @@ export function setupProviderConfig(
|
|||
throw new Error(`Unknown provider: ${provider}`);
|
||||
}
|
||||
|
||||
return {
|
||||
...config,
|
||||
models: [...(config.models ?? []), ...newModels],
|
||||
};
|
||||
const existingModels = config.models ?? [];
|
||||
|
||||
// Update API key on existing models; add new entries for any missing slugs
|
||||
const updatedModels = existingModels.map((m) => {
|
||||
if (!("uses" in m)) return m;
|
||||
const match = newModels.find((n) => n.uses === m.uses);
|
||||
return match ? { ...m, with: { ...m.with, ...match.with } } : m;
|
||||
});
|
||||
const modelsToAdd = newModels.filter(
|
||||
(n) => !existingModels.some((m) => "uses" in m && m.uses === n.uses),
|
||||
);
|
||||
|
||||
return { ...config, models: [...updatedModels, ...modelsToAdd] };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -534,7 +534,16 @@ declare global {
|
|||
cacheBehavior?: CacheBehavior;
|
||||
|
||||
useLegacyCompletionsEndpoint?: boolean;
|
||||
|
||||
|
||||
/**
|
||||
* When set to false, forces the OpenAI provider to use the /chat/completions
|
||||
* endpoint instead of the /responses endpoint for o-series and gpt-5 models.
|
||||
* This can help avoid "organization must be verified" errors related to
|
||||
* reasoning summaries and streaming on the Responses API.
|
||||
* Defaults to true for official OpenAI API.
|
||||
*/
|
||||
useResponsesApi?: boolean;
|
||||
|
||||
// Embedding options
|
||||
embeddingId?: string;
|
||||
maxEmbeddingChunkSize?: number;
|
||||
|
|
|
|||
15
core/core.ts
15
core/core.ts
|
|
@ -334,8 +334,21 @@ export class Core {
|
|||
void DataLogger.getInstance().logDevData(msg.data);
|
||||
});
|
||||
|
||||
on("config/addModel", (msg) => {
|
||||
on("config/addModel", async (msg) => {
|
||||
const model = msg.data.model;
|
||||
const { config } = await this.configHandler.loadConfig();
|
||||
const allModels = Object.values(config?.modelsByRole ?? {}).flat();
|
||||
const existing = allModels.find(
|
||||
(m) => m.providerName === model.provider && m.model === model.model,
|
||||
);
|
||||
if (existing) {
|
||||
void this.ide.showToast(
|
||||
"warning",
|
||||
"Model already exists in config. Update the API key in the config file.",
|
||||
);
|
||||
await this.configHandler.openConfigProfile();
|
||||
return;
|
||||
}
|
||||
addModel(model, msg.data.role);
|
||||
void this.configHandler.reloadConfig(
|
||||
"Model added (config/addModel message)",
|
||||
|
|
|
|||
2
core/index.d.ts
vendored
2
core/index.d.ts
vendored
|
|
@ -676,6 +676,7 @@ export interface LLMOptions {
|
|||
roles?: ModelRole[];
|
||||
|
||||
useLegacyCompletionsEndpoint?: boolean;
|
||||
useResponsesApi?: boolean;
|
||||
|
||||
// Embedding options
|
||||
embeddingId?: string;
|
||||
|
|
@ -1730,6 +1731,7 @@ export interface JSONModelDescription {
|
|||
accountId?: string;
|
||||
aiGatewaySlug?: string;
|
||||
useLegacyCompletionsEndpoint?: boolean;
|
||||
useResponsesApi?: boolean;
|
||||
deploymentId?: string;
|
||||
isFromAutoDetect?: boolean;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ export async function htmlPageToArticleWithChunks(
|
|||
: [
|
||||
{
|
||||
title: title,
|
||||
body: readability.textContent,
|
||||
body: readability.textContent ?? "",
|
||||
},
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ const PROVIDER_HANDLES_TEMPLATING: string[] = [
|
|||
"nebius",
|
||||
"relace",
|
||||
"openrouter",
|
||||
"clawrouter",
|
||||
"deepseek",
|
||||
"xAI",
|
||||
"minimax",
|
||||
|
|
@ -121,6 +122,7 @@ const PROVIDER_SUPPORTS_IMAGES: string[] = [
|
|||
"bedrock",
|
||||
"sagemaker",
|
||||
"openrouter",
|
||||
"clawrouter",
|
||||
"venice",
|
||||
"sambanova",
|
||||
"vertexai",
|
||||
|
|
|
|||
|
|
@ -317,6 +317,7 @@ export abstract class BaseLLM implements ILLM {
|
|||
apiBase: this.apiBase,
|
||||
requestOptions: this.requestOptions,
|
||||
env: this._llmOptions.env,
|
||||
useResponsesApi: this._llmOptions.useResponsesApi,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -1022,6 +1023,7 @@ export abstract class BaseLLM implements ILLM {
|
|||
private canUseOpenAIResponses(options: CompletionOptions): boolean {
|
||||
return (
|
||||
this.providerName === "openai" &&
|
||||
this._llmOptions.useResponsesApi !== false &&
|
||||
typeof (this as any)._streamResponses === "function" &&
|
||||
(this as any).isOSeriesOrGpt5Model(options.model)
|
||||
);
|
||||
|
|
|
|||
53
core/llm/llms/ClawRouter.ts
Normal file
53
core/llm/llms/ClawRouter.ts
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
import { LLMOptions } from "../../index.js";
|
||||
import { osModelsEditPrompt } from "../templates/edit.js";
|
||||
|
||||
import OpenAI from "./OpenAI.js";
|
||||
|
||||
// Get Continue version from package.json at build time
|
||||
const CONTINUE_VERSION = process.env.npm_package_version || "unknown";
|
||||
|
||||
/**
|
||||
* ClawRouter LLM Provider
|
||||
*
|
||||
* ClawRouter is an open-source LLM router that automatically selects the
|
||||
* cheapest capable model for each request based on prompt complexity,
|
||||
* providing 78-96% cost savings on blended inference costs.
|
||||
*
|
||||
* Features:
|
||||
* - 15-dimension prompt complexity scoring
|
||||
* - Automatic model selection (cheap → capable based on task)
|
||||
* - OpenAI-compatible API at localhost:1337
|
||||
* - Support for multiple routing tiers (auto, free, eco)
|
||||
*
|
||||
* @see https://github.com/BlockRunAI/ClawRouter
|
||||
*/
|
||||
class ClawRouter extends OpenAI {
|
||||
static providerName = "clawrouter";
|
||||
|
||||
// ClawRouter can route to models that support reasoning fields
|
||||
protected supportsReasoningField = true;
|
||||
protected supportsReasoningDetailsField = true;
|
||||
|
||||
static defaultOptions: Partial<LLMOptions> = {
|
||||
apiBase: "http://localhost:1337/v1/",
|
||||
model: "blockrun/auto",
|
||||
promptTemplates: {
|
||||
edit: osModelsEditPrompt,
|
||||
},
|
||||
useLegacyCompletionsEndpoint: false,
|
||||
};
|
||||
|
||||
/**
|
||||
* Override headers to include Continue-specific User-Agent
|
||||
* This helps ClawRouter track integration usage and optimize accordingly
|
||||
*/
|
||||
protected _getHeaders() {
|
||||
return {
|
||||
...super._getHeaders(),
|
||||
"User-Agent": `Continue/${CONTINUE_VERSION}`,
|
||||
"X-Continue-Provider": "clawrouter",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default ClawRouter;
|
||||
50
core/llm/llms/ClawRouter.vitest.ts
Normal file
50
core/llm/llms/ClawRouter.vitest.ts
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import ClawRouter from "./ClawRouter";
|
||||
|
||||
describe("ClawRouter", () => {
|
||||
it("should have correct provider name", () => {
|
||||
expect(ClawRouter.providerName).toBe("clawrouter");
|
||||
});
|
||||
|
||||
it("should have correct default options", () => {
|
||||
expect(ClawRouter.defaultOptions.apiBase).toBe("http://localhost:1337/v1/");
|
||||
expect(ClawRouter.defaultOptions.model).toBe("blockrun/auto");
|
||||
expect(ClawRouter.defaultOptions.useLegacyCompletionsEndpoint).toBe(false);
|
||||
});
|
||||
|
||||
it("should support reasoning fields", () => {
|
||||
const clawRouter = new ClawRouter({
|
||||
model: "blockrun/auto",
|
||||
});
|
||||
|
||||
// ClawRouter routes to models that may support reasoning
|
||||
expect(clawRouter["supportsReasoningField"]).toBe(true);
|
||||
expect(clawRouter["supportsReasoningDetailsField"]).toBe(true);
|
||||
});
|
||||
|
||||
it("should include Continue User-Agent header", () => {
|
||||
const clawRouter = new ClawRouter({
|
||||
model: "blockrun/auto",
|
||||
});
|
||||
|
||||
const headers = clawRouter["_getHeaders"]();
|
||||
|
||||
expect(headers["User-Agent"]).toMatch(/^Continue\//);
|
||||
expect(headers["X-Continue-Provider"]).toBe("clawrouter");
|
||||
});
|
||||
|
||||
it("should accept all routing profiles", () => {
|
||||
const profiles = [
|
||||
"blockrun/auto",
|
||||
"blockrun/eco",
|
||||
"blockrun/premium",
|
||||
"blockrun/free",
|
||||
];
|
||||
|
||||
for (const profile of profiles) {
|
||||
const clawRouter = new ClawRouter({ model: profile });
|
||||
expect(clawRouter.model).toBe(profile);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -162,12 +162,23 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
|
||||
private fimSupported: boolean = false;
|
||||
private templateSupportsTools: boolean | undefined = undefined;
|
||||
private modelInfoPromise: Promise<void> | undefined = undefined;
|
||||
private explicitContextLength: boolean;
|
||||
|
||||
constructor(options: LLMOptions) {
|
||||
super(options);
|
||||
this.explicitContextLength = options.contextLength !== undefined;
|
||||
}
|
||||
|
||||
if (options.model === "AUTODETECT") {
|
||||
return;
|
||||
private ensureModelInfo(): Promise<void> {
|
||||
if (this.modelInfoPromise) {
|
||||
return this.modelInfoPromise;
|
||||
}
|
||||
|
||||
if (this.model === "AUTODETECT") {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
const headers: Record<string, string> = {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
|
|
@ -176,7 +187,7 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
headers.Authorization = `Bearer ${this.apiKey}`;
|
||||
}
|
||||
|
||||
this.fetch(this.getEndpoint("api/show"), {
|
||||
this.modelInfoPromise = this.fetch(this.getEndpoint("api/show"), {
|
||||
method: "POST",
|
||||
headers: headers,
|
||||
body: JSON.stringify({ name: this._getModel() }),
|
||||
|
|
@ -194,15 +205,16 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
const params = [];
|
||||
for (const line of body.parameters.split("\n")) {
|
||||
let parts = line.match(/^(\S+)\s+((?:".*")|\S+)$/);
|
||||
if (parts.length < 2) {
|
||||
if (!parts || parts.length < 2) {
|
||||
continue;
|
||||
}
|
||||
let key = parts[1];
|
||||
let value = parts[2];
|
||||
switch (key) {
|
||||
case "num_ctx":
|
||||
this._contextLength =
|
||||
options.contextLength ?? Number.parseInt(value);
|
||||
if (!this.explicitContextLength) {
|
||||
this._contextLength = Number.parseInt(value);
|
||||
}
|
||||
break;
|
||||
case "stop":
|
||||
if (!this.completionOptions.stop) {
|
||||
|
|
@ -237,6 +249,8 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
.catch((e) => {
|
||||
// console.warn("Error calling the Ollama /api/show endpoint: ", e);
|
||||
});
|
||||
|
||||
return this.modelInfoPromise;
|
||||
}
|
||||
|
||||
// Map of "continue model name" to Ollama actual model name
|
||||
|
|
@ -410,6 +424,7 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
signal: AbortSignal,
|
||||
options: CompletionOptions,
|
||||
): AsyncGenerator<string> {
|
||||
await this.ensureModelInfo();
|
||||
const headers: Record<string, string> = {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
|
|
@ -488,6 +503,7 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
signal: AbortSignal,
|
||||
options: CompletionOptions,
|
||||
): AsyncGenerator<ChatMessage> {
|
||||
await this.ensureModelInfo();
|
||||
const ollamaMessages = this._reorderMessagesForToolCompat(
|
||||
messages.map(this._convertToOllamaMessage),
|
||||
);
|
||||
|
|
@ -582,7 +598,7 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
? { role: "thinking", content: thinking }
|
||||
: null;
|
||||
|
||||
if (thinkingMessage && !content) {
|
||||
if (thinkingMessage && !content && !toolCalls?.length) {
|
||||
// When Streaming you can't have both thinking and content
|
||||
return [thinkingMessage];
|
||||
}
|
||||
|
|
@ -654,6 +670,7 @@ class Ollama extends BaseLLM implements ModelInstaller {
|
|||
signal: AbortSignal,
|
||||
options: CompletionOptions,
|
||||
): AsyncGenerator<string> {
|
||||
await this.ensureModelInfo();
|
||||
const headers: Record<string, string> = {
|
||||
"Content-Type": "application/json",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -18,18 +18,52 @@ class OpenRouter extends OpenAI {
|
|||
useLegacyCompletionsEndpoint: false,
|
||||
};
|
||||
|
||||
/**
|
||||
* Detect if the model is an Anthropic/Claude model
|
||||
*/
|
||||
private isAnthropicModel(model?: string): boolean {
|
||||
if (!model) return false;
|
||||
const modelLower = model.toLowerCase();
|
||||
return modelLower.includes("claude");
|
||||
}
|
||||
|
||||
private isGeminiModel(model?: string): boolean {
|
||||
if (!model) return false;
|
||||
return model.toLowerCase().startsWith("google/");
|
||||
}
|
||||
|
||||
/**
|
||||
* Add cache_control to message content for Anthropic models
|
||||
* Add thought_signature fallback to Gemini tool calls that don't already
|
||||
* have one, preventing 400 errors from missing thought_signature.
|
||||
* See: https://ai.google.dev/gemini-api/docs/thought-signatures
|
||||
*/
|
||||
private addGeminiThoughtSignatures(
|
||||
body: ChatCompletionCreateParams,
|
||||
): ChatCompletionCreateParams {
|
||||
body.messages = body.messages.map((message: any) => {
|
||||
if (message.role === "assistant" && message.tool_calls?.length) {
|
||||
return {
|
||||
...message,
|
||||
tool_calls: message.tool_calls.map((toolCall: any, index: number) => {
|
||||
if (index !== 0) return toolCall;
|
||||
if (toolCall.extra_content?.google?.thought_signature) {
|
||||
return toolCall;
|
||||
}
|
||||
return {
|
||||
...toolCall,
|
||||
extra_content: {
|
||||
...toolCall.extra_content,
|
||||
google: {
|
||||
...toolCall.extra_content?.google,
|
||||
thought_signature: "skip_thought_signature_validator",
|
||||
},
|
||||
},
|
||||
};
|
||||
}),
|
||||
};
|
||||
}
|
||||
return message;
|
||||
});
|
||||
return body;
|
||||
}
|
||||
|
||||
private addCacheControlToContent(content: any, addCaching: boolean): any {
|
||||
if (!addCaching) return content;
|
||||
|
||||
|
|
@ -59,16 +93,15 @@ class OpenRouter extends OpenAI {
|
|||
return content;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override modifyChatBody to add Anthropic caching when appropriate
|
||||
*/
|
||||
protected modifyChatBody(
|
||||
body: ChatCompletionCreateParams,
|
||||
): ChatCompletionCreateParams {
|
||||
// First apply parent modifications
|
||||
body = super.modifyChatBody(body);
|
||||
|
||||
// Check if we should apply Anthropic caching
|
||||
if (this.isGeminiModel(body.model)) {
|
||||
body = this.addGeminiThoughtSignatures(body);
|
||||
}
|
||||
|
||||
if (
|
||||
!this.isAnthropicModel(body.model) ||
|
||||
(!this.cacheBehavior && !this.completionOptions.promptCaching)
|
||||
|
|
|
|||
|
|
@ -22,9 +22,16 @@ interface VllmRerankResponse {
|
|||
|
||||
class Vllm extends OpenAI {
|
||||
static providerName = "vllm";
|
||||
private _userExplicitContextLength: boolean;
|
||||
private _userExplicitModel: boolean;
|
||||
|
||||
constructor(options: LLMOptions) {
|
||||
super(options);
|
||||
|
||||
this._userExplicitContextLength = options.contextLength !== undefined;
|
||||
this._userExplicitModel =
|
||||
options.model !== undefined && options.model !== "";
|
||||
|
||||
if (options.isFromAutoDetect) {
|
||||
this._setupCompletionOptions();
|
||||
}
|
||||
|
|
@ -71,8 +78,12 @@ class Vllm extends OpenAI {
|
|||
}
|
||||
const json = await response.json();
|
||||
const data = json.data[0];
|
||||
this.model = data.id;
|
||||
this._contextLength = Number.parseInt(data.max_model_len);
|
||||
if (!this._userExplicitModel) {
|
||||
this.model = data.id;
|
||||
}
|
||||
if (!this._userExplicitContextLength) {
|
||||
this._contextLength = Number.parseInt(data.max_model_len);
|
||||
}
|
||||
})
|
||||
.catch((e) => {
|
||||
console.log(`Failed to list models for vLLM: ${e.message}`);
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ import Nvidia from "./Nvidia";
|
|||
import Ollama from "./Ollama";
|
||||
import OpenAI from "./OpenAI";
|
||||
import OpenRouter from "./OpenRouter";
|
||||
import ClawRouter from "./ClawRouter";
|
||||
import OVHcloud from "./OVHcloud";
|
||||
import { Relace } from "./Relace";
|
||||
import Replicate from "./Replicate";
|
||||
|
|
@ -109,6 +110,7 @@ export const LLMClasses = [
|
|||
Azure,
|
||||
WatsonX,
|
||||
OpenRouter,
|
||||
ClawRouter,
|
||||
Nvidia,
|
||||
Vllm,
|
||||
SambaNova,
|
||||
|
|
|
|||
|
|
@ -324,9 +324,58 @@ describe("PROVIDER_TOOL_SUPPORT", () => {
|
|||
const supportsFn = PROVIDER_TOOL_SUPPORT["openrouter"];
|
||||
|
||||
it("should return false for moonshotai/kimi-k2:free model", () => {
|
||||
// This fixes issue #6619
|
||||
expect(supportsFn("moonshotai/kimi-k2:free")).toBe(false);
|
||||
});
|
||||
|
||||
it("should return true for supported prefixes", () => {
|
||||
expect(supportsFn("openai/gpt-4o")).toBe(true);
|
||||
expect(supportsFn("anthropic/claude-sonnet-4")).toBe(true);
|
||||
expect(supportsFn("google/gemini-2-flash")).toBe(true);
|
||||
expect(supportsFn("google/gemini-3-pro-preview")).toBe(true);
|
||||
expect(supportsFn("deepseek/deepseek-r1")).toBe(true);
|
||||
expect(supportsFn("qwen/qwen3-coder-30b")).toBe(true);
|
||||
expect(supportsFn("meta-llama/llama-4-scout")).toBe(true);
|
||||
});
|
||||
|
||||
it("should strip :free/:extended/:beta suffixes before matching", () => {
|
||||
expect(supportsFn("meta-llama/llama-3.2-3b-instruct:free")).toBe(true);
|
||||
expect(supportsFn("deepseek/deepseek-r1:extended")).toBe(true);
|
||||
expect(supportsFn("qwen/qwen3-coder:beta")).toBe(true);
|
||||
});
|
||||
|
||||
it("should return false for unsupported models", () => {
|
||||
expect(supportsFn("unknown/random-model")).toBe(false);
|
||||
expect(supportsFn("some-provider/vision-model")).toBe(false);
|
||||
});
|
||||
|
||||
it("should return false for excluded model patterns", () => {
|
||||
expect(supportsFn("some/vision-model")).toBe(false);
|
||||
expect(supportsFn("some/math-model")).toBe(false);
|
||||
expect(supportsFn("some/guard-model")).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("clawrouter", () => {
|
||||
const supportsFn = PROVIDER_TOOL_SUPPORT["clawrouter"];
|
||||
|
||||
it("should return true for blockrun routing profiles", () => {
|
||||
expect(supportsFn("blockrun/auto")).toBe(true);
|
||||
expect(supportsFn("blockrun/eco")).toBe(true);
|
||||
expect(supportsFn("blockrun/premium")).toBe(true);
|
||||
expect(supportsFn("blockrun/free")).toBe(true);
|
||||
});
|
||||
|
||||
it("should return true for tool-supporting models", () => {
|
||||
expect(supportsFn("gpt-4o")).toBe(true);
|
||||
expect(supportsFn("claude-3-sonnet")).toBe(true);
|
||||
expect(supportsFn("gemini-pro")).toBe(true);
|
||||
expect(supportsFn("anthropic/claude-opus-4.6")).toBe(true);
|
||||
});
|
||||
|
||||
it("should return false for non-tool-supporting patterns", () => {
|
||||
expect(supportsFn("random-model")).toBe(false);
|
||||
expect(supportsFn("")).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("edge cases", () => {
|
||||
|
|
|
|||
|
|
@ -302,9 +302,13 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
return false;
|
||||
}
|
||||
|
||||
const baseModel = model
|
||||
.toLowerCase()
|
||||
.replace(/:(free|extended|beta)$/, "");
|
||||
|
||||
if (
|
||||
["vision", "math", "guard", "mistrallite", "mistral-openorca"].some(
|
||||
(part) => model.toLowerCase().includes(part),
|
||||
(part) => baseModel.includes(part),
|
||||
)
|
||||
) {
|
||||
return false;
|
||||
|
|
@ -323,6 +327,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
"microsoft/phi-3",
|
||||
"google/gemini-flash-1.5",
|
||||
"google/gemini-2",
|
||||
"google/gemini-3",
|
||||
"google/gemini-pro",
|
||||
"x-ai/grok",
|
||||
"qwen/qwen3",
|
||||
|
|
@ -350,7 +355,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
"zai-org/glm",
|
||||
];
|
||||
for (const prefix of supportedPrefixes) {
|
||||
if (model.toLowerCase().startsWith(prefix)) {
|
||||
if (baseModel.startsWith(prefix)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -366,20 +371,56 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
|||
"moonshotai/kimi-k2",
|
||||
];
|
||||
for (const specificModel of specificModels) {
|
||||
if (model.toLowerCase() === specificModel) {
|
||||
if (baseModel === specificModel) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
const supportedContains = ["llama-3.1"];
|
||||
for (const contained of supportedContains) {
|
||||
if (model.toLowerCase().includes(contained)) {
|
||||
if (baseModel.includes(contained)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
clawrouter: (model) => {
|
||||
// ClawRouter routes to various providers, so we check common tool-supporting patterns
|
||||
const lower = model.toLowerCase();
|
||||
|
||||
// blockrun/* models are routing aliases - assume tool support
|
||||
if (lower.startsWith("blockrun/")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Check for common tool-supporting model patterns
|
||||
const toolSupportingPatterns = [
|
||||
"gpt-4",
|
||||
"gpt-5",
|
||||
"o1",
|
||||
"o3",
|
||||
"o4",
|
||||
"claude-3",
|
||||
"claude-4",
|
||||
"sonnet",
|
||||
"opus",
|
||||
"haiku",
|
||||
"gemini",
|
||||
"command-r",
|
||||
"mistral",
|
||||
"mixtral",
|
||||
"llama-3.1",
|
||||
"llama-3.2",
|
||||
"llama-3.3",
|
||||
"llama-4",
|
||||
"qwen3",
|
||||
"qwen-2.5",
|
||||
"deepseek",
|
||||
];
|
||||
|
||||
return toolSupportingPatterns.some((pattern) => lower.includes(pattern));
|
||||
},
|
||||
zAI: (model) => {
|
||||
const lower = model.toLowerCase();
|
||||
return lower.startsWith("glm-4") || lower.startsWith("glm-5");
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@ export class NextEditProvider {
|
|||
llm.completionOptions.temperature = 0.01;
|
||||
}
|
||||
|
||||
if (llm instanceof OpenAI) {
|
||||
if (llm instanceof OpenAI && llm.providerName !== "openrouter") {
|
||||
llm.useLegacyCompletionsEndpoint = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
5445
core/package-lock.json
generated
5445
core/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -41,7 +41,7 @@
|
|||
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild": "0.17.19",
|
||||
"esbuild": "^0.25.0",
|
||||
"eslint": "^8",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
"@continuedev/openai-adapters": "file:../packages/openai-adapters",
|
||||
"@continuedev/terminal-security": "file:../packages/terminal-security",
|
||||
"@modelcontextprotocol/sdk": "^1.25.2",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
"@mozilla/readability": "^0.6.0",
|
||||
"@octokit/rest": "^20.1.1",
|
||||
"@xenova/transformers": "2.14.0",
|
||||
"adf-to-md": "^1.1.0",
|
||||
|
|
@ -107,13 +107,12 @@
|
|||
"puppeteer-chromium-resolver": "^23.0.0",
|
||||
"quick-lru": "^7.0.0",
|
||||
"replicate": "^0.26.0",
|
||||
"request": "^2.88.2",
|
||||
"shell-quote": "^1.8.3",
|
||||
"socket.io-client": "^4.7.3",
|
||||
"sqlite": "^5.1.1",
|
||||
"sqlite3": "^5.1.7",
|
||||
"system-ca": "^1.0.3",
|
||||
"tar": "^7.5.10",
|
||||
"tar": "^7.5.13",
|
||||
"tree-sitter-wasms": "^0.1.11",
|
||||
"untildify": "^6.0.0",
|
||||
"uuid": "^9.0.1",
|
||||
|
|
@ -129,5 +128,8 @@
|
|||
"engine-strict": true,
|
||||
"engines": {
|
||||
"node": ">=20.20.1"
|
||||
},
|
||||
"overrides": {
|
||||
"tar": "^7.5.13"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import { searchWebImpl } from "./implementations/searchWeb";
|
|||
import { viewDiffImpl } from "./implementations/viewDiff";
|
||||
import { viewRepoMapImpl } from "./implementations/viewRepoMap";
|
||||
import { viewSubdirectoryImpl } from "./implementations/viewSubdirectory";
|
||||
import { safeParseToolCallArgs } from "./parseArgs";
|
||||
import { coerceArgsToSchema, safeParseToolCallArgs } from "./parseArgs";
|
||||
|
||||
async function callHttpTool(
|
||||
url: string,
|
||||
|
|
@ -95,10 +95,14 @@ async function callToolFromUri(
|
|||
if (!client) {
|
||||
throw new Error("MCP connection not found");
|
||||
}
|
||||
const coercedArgs = coerceArgsToSchema(
|
||||
args,
|
||||
extras.tool?.function?.parameters,
|
||||
);
|
||||
const response = await client.client.callTool(
|
||||
{
|
||||
name: toolName,
|
||||
arguments: args,
|
||||
arguments: coercedArgs,
|
||||
},
|
||||
CallToolResultSchema,
|
||||
{ timeout: client.options.timeout },
|
||||
|
|
|
|||
|
|
@ -24,6 +24,44 @@ export function safeParseToolCallArgs(
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Coerce parsed args to match the tool's input schema types.
|
||||
* JSON.parse() deeply parses all values, so string-typed parameters
|
||||
* that contain valid JSON (e.g. file content for a .json file) get
|
||||
* converted to objects. This checks the schema and re-stringifies
|
||||
* any values that should be strings.
|
||||
*/
|
||||
export function coerceArgsToSchema(
|
||||
args: Record<string, any>,
|
||||
schema?: Record<string, any>,
|
||||
): Record<string, any> {
|
||||
if (!schema?.properties) {
|
||||
return args;
|
||||
}
|
||||
|
||||
const coerced = { ...args };
|
||||
for (const [key, value] of Object.entries(coerced)) {
|
||||
const propSchema = schema.properties[key];
|
||||
if (!propSchema) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (
|
||||
propSchema.type === "string" &&
|
||||
typeof value === "object" &&
|
||||
value !== null
|
||||
) {
|
||||
try {
|
||||
coerced[key] = JSON.stringify(value);
|
||||
} catch {
|
||||
// leave as-is if stringify fails
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return coerced;
|
||||
}
|
||||
|
||||
export function getStringArg(
|
||||
args: any,
|
||||
argName: string,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { describe, expect, it } from "vitest";
|
||||
import { ToolCallDelta } from "..";
|
||||
import {
|
||||
coerceArgsToSchema,
|
||||
getBooleanArg,
|
||||
getNumberArg,
|
||||
getOptionalStringArg,
|
||||
|
|
@ -292,6 +293,129 @@ describe("getBooleanArg", () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe("coerceArgsToSchema", () => {
|
||||
it("should stringify object values when schema expects string", () => {
|
||||
const args = { content: { key: "value", number: 123 } };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
content: { type: "string" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.content).toBe('{"key":"value","number":123}');
|
||||
});
|
||||
|
||||
it("should stringify array values when schema expects string", () => {
|
||||
const args = { content: ["item1", "item2"] };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
content: { type: "string" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.content).toBe('["item1","item2"]');
|
||||
});
|
||||
|
||||
it("should leave string values as-is", () => {
|
||||
const args = { content: "hello world" };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
content: { type: "string" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.content).toBe("hello world");
|
||||
});
|
||||
|
||||
it("should leave non-string schema types as-is", () => {
|
||||
const args = { count: 42, data: { nested: true } };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
count: { type: "number" },
|
||||
data: { type: "object" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.count).toBe(42);
|
||||
expect(result.data).toEqual({ nested: true });
|
||||
});
|
||||
|
||||
it("should return args unchanged when no schema provided", () => {
|
||||
const args = { content: { key: "value" } };
|
||||
const result = coerceArgsToSchema(args, undefined);
|
||||
expect(result).toBe(args);
|
||||
});
|
||||
|
||||
it("should return args unchanged when schema has no properties", () => {
|
||||
const args = { content: { key: "value" } };
|
||||
const result = coerceArgsToSchema(args, { type: "object" });
|
||||
expect(result).toBe(args);
|
||||
});
|
||||
|
||||
it("should handle mixed args with some needing coercion", () => {
|
||||
const args = {
|
||||
filePath: "/path/to/file.json",
|
||||
content: { key: "value" },
|
||||
overwrite: true,
|
||||
};
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
filePath: { type: "string" },
|
||||
content: { type: "string" },
|
||||
overwrite: { type: "boolean" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.filePath).toBe("/path/to/file.json");
|
||||
expect(result.content).toBe('{"key":"value"}');
|
||||
expect(result.overwrite).toBe(true);
|
||||
});
|
||||
|
||||
it("should skip args not in schema", () => {
|
||||
const args = { unknown: { key: "value" }, known: "hello" };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
known: { type: "string" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.unknown).toEqual({ key: "value" });
|
||||
expect(result.known).toBe("hello");
|
||||
});
|
||||
|
||||
it("should not coerce numbers or booleans to strings", () => {
|
||||
const args = { content: 42, flag: true };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
content: { type: "string" },
|
||||
flag: { type: "string" },
|
||||
},
|
||||
};
|
||||
const result = coerceArgsToSchema(args, schema);
|
||||
expect(result.content).toBe(42);
|
||||
expect(result.flag).toBe(true);
|
||||
});
|
||||
|
||||
it("should not mutate the original args object", () => {
|
||||
const args = { content: { key: "value" } };
|
||||
const schema = {
|
||||
type: "object",
|
||||
properties: {
|
||||
content: { type: "string" },
|
||||
},
|
||||
};
|
||||
coerceArgsToSchema(args, schema);
|
||||
expect(args.content).toEqual({ key: "value" });
|
||||
});
|
||||
});
|
||||
|
||||
describe("getNumberArg", () => {
|
||||
it("should return number argument when valid", () => {
|
||||
const args = { count: 42 };
|
||||
|
|
|
|||
|
|
@ -65,15 +65,15 @@ export class SystemMessageToolCodeblocksFramework
|
|||
return toolDefinition.trim();
|
||||
}
|
||||
|
||||
systemMessagePrefix = `You have access to tools. To call a tool, you MUST respond with EXACTLY this format — a tool code block (\`\`\`tool) using the syntax shown below.
|
||||
systemMessagePrefix = `You have access to tools. To call a tool, you MUST respond with EXACTLY the tool code block format shown below.
|
||||
|
||||
CRITICAL: Follow the exact syntax. Do not use XML tags, JSON objects, or any other format for tool calls.`;
|
||||
|
||||
systemMessageSuffix = `RULES FOR TOOL USE:
|
||||
1. To call a tool, output a \`\`\`tool code block using EXACTLY the format shown above.
|
||||
1. To call a tool, output a tool code block using EXACTLY the format shown above.
|
||||
2. Always start the code block on a new line.
|
||||
3. You can only call ONE tool at a time.
|
||||
4. The \`\`\`tool code block MUST be the last thing in your response. Stop immediately after the closing \`\`\`.
|
||||
4. The tool code block MUST be the last thing in your response. Stop immediately after the closing fence.
|
||||
5. Do NOT wrap tool calls in XML tags like <tool_call> or <function=...>.
|
||||
6. Do NOT use JSON format for tool calls.
|
||||
7. Do NOT invent tools that are not listed above.
|
||||
|
|
|
|||
507
docs/customize/model-providers/more/clawrouter.mdx
Normal file
507
docs/customize/model-providers/more/clawrouter.mdx
Normal file
|
|
@ -0,0 +1,507 @@
|
|||
---
|
||||
title: "How to Configure ClawRouter with Continue"
|
||||
sidebarTitle: "ClawRouter"
|
||||
---
|
||||
|
||||
<Info>
|
||||
ClawRouter is an open-source LLM router that automatically selects the cheapest capable model for each request based on prompt complexity, providing 78-96% cost savings.
|
||||
</Info>
|
||||
|
||||
<Tip>
|
||||
Get started with [ClawRouter on GitHub](https://github.com/BlockRunAI/ClawRouter)
|
||||
</Tip>
|
||||
|
||||
## Installation
|
||||
|
||||
ClawRouter runs locally and provides an OpenAI-compatible API:
|
||||
|
||||
```bash
|
||||
npx clawrouter
|
||||
```
|
||||
|
||||
This starts the router at `http://localhost:1337`.
|
||||
|
||||
You can also install it globally:
|
||||
|
||||
```bash
|
||||
npm install -g clawrouter
|
||||
clawrouter
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
version: 0.0.1
|
||||
schema: v1
|
||||
|
||||
models:
|
||||
- name: ClawRouter Auto
|
||||
provider: clawrouter
|
||||
model: blockrun/auto
|
||||
apiBase: http://localhost:1337/v1/
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "ClawRouter Auto",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/auto",
|
||||
"apiBase": "http://localhost:1337/v1/"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Available Models
|
||||
|
||||
ClawRouter provides four routing profiles:
|
||||
|
||||
| Model | Savings | Description | Best For |
|
||||
|-------|---------|-------------|----------|
|
||||
| `blockrun/auto` | 74-100% | Balanced routing based on prompt complexity | General use (recommended) |
|
||||
| `blockrun/eco` | 95-100% | Cheapest possible models | Maximum savings |
|
||||
| `blockrun/premium` | 0% | Best quality models (Opus, GPT-5.4 Pro) | Mission-critical tasks |
|
||||
| `blockrun/free` | 100% | Free-tier models only (nvidia/gpt-oss-120b) | Zero cost testing |
|
||||
|
||||
You can also specify any of the 44+ models directly (e.g., `anthropic/claude-sonnet-4.6`, `openai/gpt-5.4`, `xai/grok-4`).
|
||||
|
||||
## How It Works
|
||||
|
||||
ClawRouter uses a 15-dimension prompt complexity scoring system to analyze each request:
|
||||
|
||||
- **Simple requests** (greetings, basic Q&A, simple edits) → routed to cheap models like Claude Haiku or Gemini Flash
|
||||
- **Medium requests** (code explanations, refactoring) → routed to balanced models like Claude Sonnet or GPT-4o-mini
|
||||
- **Complex requests** (architecture design, complex debugging) → routed to capable models like Claude Opus or GPT-4o
|
||||
|
||||
This automatic routing provides significant cost savings while maintaining quality for complex tasks.
|
||||
|
||||
### Complexity Dimensions
|
||||
|
||||
The router analyzes prompts across dimensions including:
|
||||
- Code complexity and language detection
|
||||
- Reasoning depth required
|
||||
- Context length and dependencies
|
||||
- Domain expertise needed
|
||||
- Output format requirements
|
||||
|
||||
## Model Capabilities
|
||||
|
||||
ClawRouter supports function calling and tool use through its underlying model providers. Capabilities are automatically inherited from the routed model.
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: ClawRouter Auto
|
||||
provider: clawrouter
|
||||
model: blockrun/auto
|
||||
apiBase: http://localhost:1337/v1/
|
||||
capabilities:
|
||||
- tool_use
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "ClawRouter Auto",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/auto",
|
||||
"apiBase": "http://localhost:1337/v1/",
|
||||
"capabilities": {
|
||||
"tools": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Switching Between Routing Profiles
|
||||
|
||||
Add multiple ClawRouter profiles to your config and switch via Continue's model picker:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
# Default: automatic routing
|
||||
- name: ClawRouter Auto
|
||||
provider: clawrouter
|
||||
model: blockrun/auto
|
||||
apiBase: http://localhost:1337/v1/
|
||||
|
||||
# Maximum savings
|
||||
- name: ClawRouter Eco
|
||||
provider: clawrouter
|
||||
model: blockrun/eco
|
||||
apiBase: http://localhost:1337/v1/
|
||||
|
||||
# Best quality
|
||||
- name: ClawRouter Premium
|
||||
provider: clawrouter
|
||||
model: blockrun/premium
|
||||
apiBase: http://localhost:1337/v1/
|
||||
|
||||
# Zero cost
|
||||
- name: ClawRouter Free
|
||||
provider: clawrouter
|
||||
model: blockrun/free
|
||||
apiBase: http://localhost:1337/v1/
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "ClawRouter Auto",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/auto",
|
||||
"apiBase": "http://localhost:1337/v1/"
|
||||
},
|
||||
{
|
||||
"title": "ClawRouter Eco",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/eco",
|
||||
"apiBase": "http://localhost:1337/v1/"
|
||||
},
|
||||
{
|
||||
"title": "ClawRouter Premium",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/premium",
|
||||
"apiBase": "http://localhost:1337/v1/"
|
||||
},
|
||||
{
|
||||
"title": "ClawRouter Free",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/free",
|
||||
"apiBase": "http://localhost:1337/v1/"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
Use the **model picker dropdown** in Continue's chat panel to switch between profiles. Each profile routes to different model tiers based on cost vs. quality trade-offs.
|
||||
|
||||
<Tip>
|
||||
**Quick switch via CLI:** In the Continue chat, type `/model` followed by the profile name (e.g., `/model ClawRouter Eco`).
|
||||
</Tip>
|
||||
|
||||
## Custom API Base
|
||||
|
||||
If you're running ClawRouter on a different port or host:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: ClawRouter
|
||||
provider: clawrouter
|
||||
model: blockrun/auto
|
||||
apiBase: http://your-server:8080/v1/
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "ClawRouter",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/auto",
|
||||
"apiBase": "http://your-server:8080/v1/"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Using Multiple Roles
|
||||
|
||||
You can configure ClawRouter for different Continue roles:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: ClawRouter Auto
|
||||
provider: clawrouter
|
||||
model: blockrun/auto
|
||||
apiBase: http://localhost:1337/v1/
|
||||
roles:
|
||||
- chat
|
||||
- edit
|
||||
- apply
|
||||
|
||||
- name: ClawRouter Eco
|
||||
provider: clawrouter
|
||||
model: blockrun/eco
|
||||
apiBase: http://localhost:1337/v1/
|
||||
roles:
|
||||
- autocomplete
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "ClawRouter Auto",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/auto",
|
||||
"apiBase": "http://localhost:1337/v1/",
|
||||
"roles": ["chat", "edit", "apply"]
|
||||
}
|
||||
],
|
||||
"tabAutocompleteModel": {
|
||||
"title": "ClawRouter Eco",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/eco",
|
||||
"apiBase": "http://localhost:1337/v1/"
|
||||
}
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## API Keys
|
||||
|
||||
ClawRouter manages upstream provider API keys internally. You configure them in ClawRouter, not in Continue.
|
||||
|
||||
For self-hosted setups with custom authentication:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: ClawRouter
|
||||
provider: clawrouter
|
||||
model: blockrun/auto
|
||||
apiBase: http://localhost:1337/v1/
|
||||
apiKey: ${{ secrets.CLAWROUTER_API_KEY }}
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "ClawRouter",
|
||||
"provider": "clawrouter",
|
||||
"model": "blockrun/auto",
|
||||
"apiBase": "http://localhost:1337/v1/",
|
||||
"apiKey": "<YOUR_CLAWROUTER_API_KEY>"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
## Wallet & Payment Setup
|
||||
|
||||
ClawRouter supports crypto-native payments via the x402 protocol. On first run, ClawRouter automatically generates a wallet:
|
||||
|
||||
```bash
|
||||
npx clawrouter
|
||||
# Wallet created: 5g3cB6...
|
||||
# Fund your wallet to access premium models
|
||||
```
|
||||
|
||||
### Payment Options
|
||||
|
||||
| Tier | Description | Payment Required |
|
||||
|------|-------------|------------------|
|
||||
| `blockrun/free` | Free-tier models only | No |
|
||||
| `blockrun/eco` | Economy models | Yes (low cost) |
|
||||
| `blockrun/auto` | Automatic routing | Yes (pay-per-use) |
|
||||
|
||||
### Funding Your Wallet
|
||||
|
||||
ClawRouter supports both Solana and EVM wallets:
|
||||
|
||||
```bash
|
||||
# Check wallet balance
|
||||
clawrouter wallet
|
||||
|
||||
# View wallet address
|
||||
clawrouter wallet address
|
||||
```
|
||||
|
||||
Fund your wallet with USDC on Solana or Base for the lowest fees. ClawRouter uses the x402 Payment Required protocol for seamless micropayments.
|
||||
|
||||
<Tip>
|
||||
Start with `blockrun/free` tier to test without payment, then upgrade to `blockrun/auto` for full model access.
|
||||
</Tip>
|
||||
|
||||
### Spend Controls
|
||||
|
||||
Set daily/monthly spending limits:
|
||||
|
||||
```bash
|
||||
# Set daily limit to $5
|
||||
clawrouter config set spendLimit.daily 5
|
||||
|
||||
# Set monthly limit to $50
|
||||
clawrouter config set spendLimit.monthly 50
|
||||
```
|
||||
|
||||
## Error Handling
|
||||
|
||||
ClawRouter handles common LLM errors automatically at the router level:
|
||||
|
||||
### Automatic Error Recovery
|
||||
|
||||
| Error | Continue's Default | ClawRouter's Handling |
|
||||
|-------|-------------------|----------------------|
|
||||
| **429 Rate Limit** | Retry same provider with backoff | Route to different provider entirely |
|
||||
| **402 Payment Required** | Fail immediately | x402 auto-payment from wallet |
|
||||
| **500+ Server Error** | Retry same provider | Fallback to next model in tier |
|
||||
| **Timeout** | Retry same provider | Route to faster model |
|
||||
|
||||
### Response Headers
|
||||
|
||||
ClawRouter adds diagnostic headers to every response:
|
||||
|
||||
```
|
||||
x-clawrouter-model: anthropic/claude-sonnet-4.6
|
||||
x-clawrouter-tier: MEDIUM
|
||||
x-clawrouter-cost: 0.0045
|
||||
x-clawrouter-fallback: false
|
||||
```
|
||||
|
||||
When a fallback occurs:
|
||||
|
||||
```
|
||||
x-clawrouter-model: openai/gpt-4o-mini
|
||||
x-clawrouter-fallback: true
|
||||
x-clawrouter-original-model: anthropic/claude-sonnet-4.6
|
||||
x-clawrouter-fallback-reason: 429_rate_limit
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Connection Refused
|
||||
|
||||
If you see connection errors, make sure ClawRouter is running:
|
||||
|
||||
```bash
|
||||
# Check if ClawRouter is running
|
||||
curl http://localhost:1337/v1/models
|
||||
|
||||
# Start ClawRouter if needed
|
||||
npx clawrouter
|
||||
```
|
||||
|
||||
### Model Not Found
|
||||
|
||||
If a specific model isn't available, check that ClawRouter has the required provider API keys configured. Run `clawrouter --help` for configuration options.
|
||||
|
||||
### Slow Responses
|
||||
|
||||
ClawRouter adds minimal latency (~10-50ms) for routing decisions. If responses are slow, the issue is likely with the upstream provider. Try a different model tier (`blockrun/eco` vs `blockrun/auto`).
|
||||
|
||||
### AI-Powered Diagnostics
|
||||
|
||||
Run the doctor command for AI-analyzed troubleshooting:
|
||||
|
||||
```bash
|
||||
# Basic diagnostics with Claude Sonnet (~$0.003)
|
||||
npx clawrouter doctor
|
||||
|
||||
# Complex issues with Claude Opus (~$0.01)
|
||||
npx clawrouter doctor opus
|
||||
|
||||
# Ask a specific question
|
||||
npx clawrouter doctor "why are my requests failing?"
|
||||
```
|
||||
|
||||
The doctor collects system info, wallet status, network connectivity, and sends to Claude for analysis.
|
||||
|
||||
## Cost Monitoring
|
||||
|
||||
ClawRouter provides cost tracking via response headers:
|
||||
|
||||
- `x-clawrouter-cost` — Cost of the request
|
||||
- `x-clawrouter-model` — Model that handled the request
|
||||
- `x-clawrouter-complexity` — Computed complexity score
|
||||
|
||||
You can view aggregated costs with:
|
||||
|
||||
```bash
|
||||
curl http://localhost:1337/stats
|
||||
```
|
||||
|
||||
## Dual-Chain Wallet Support
|
||||
|
||||
ClawRouter supports payments on two chains from a single wallet:
|
||||
|
||||
| Chain | Token | Best For |
|
||||
|-------|-------|----------|
|
||||
| **Base (EVM)** | USDC | Lower fees, Coinbase integration |
|
||||
| **Solana** | USDC | Fastest settlement |
|
||||
|
||||
Switch chains via CLI:
|
||||
|
||||
```bash
|
||||
# Switch to Solana payments
|
||||
clawrouter wallet solana
|
||||
|
||||
# Switch to Base (EVM) payments
|
||||
clawrouter wallet base
|
||||
|
||||
# Check balances on both chains
|
||||
clawrouter wallet
|
||||
```
|
||||
|
||||
Both wallets are derived from the same BIP-39 mnemonic generated on first run.
|
||||
|
||||
## Model Exclusion
|
||||
|
||||
Block specific models from routing:
|
||||
|
||||
```bash
|
||||
# Block a model
|
||||
clawrouter exclude add nvidia/gpt-oss-120b
|
||||
|
||||
# Aliases work
|
||||
clawrouter exclude add grok-4
|
||||
|
||||
# Show exclusions
|
||||
clawrouter exclude
|
||||
|
||||
# Remove exclusion
|
||||
clawrouter exclude remove grok-4
|
||||
```
|
||||
|
||||
Useful when a model doesn't follow instructions well or you want to control costs.
|
||||
|
||||
## Comparison with OpenRouter
|
||||
|
||||
| Feature | ClawRouter | OpenRouter |
|
||||
|---------|------------|------------|
|
||||
| Hosting | Self-hosted (local) | Cloud-hosted |
|
||||
| Automatic routing | ✅ Complexity-based | ❌ Manual selection |
|
||||
| Cost optimization | ✅ 78-96% savings | ❌ Pay per model |
|
||||
| Privacy | ✅ Data stays local | ⚠️ Data sent to cloud |
|
||||
| Authentication | Wallet signature | API key |
|
||||
| Payment | USDC (Solana/Base) | Credit card |
|
||||
| Setup | `npx clawrouter` | Account signup |
|
||||
|
||||
<Note>
|
||||
ClawRouter can be used alongside OpenRouter — route complex tasks through ClawRouter while using OpenRouter for specific model access.
|
||||
</Note>
|
||||
|
|
@ -34,6 +34,7 @@ Beyond the top-level providers, Continue supports many other options:
|
|||
| [Together AI](/customize/model-providers/more/together) | Platform for running a variety of open models |
|
||||
| [DeepInfra](/customize/model-providers/more/deepinfra) | Hosting for various open source models |
|
||||
| [OpenRouter](/customize/model-providers/top-level/openrouter) | Gateway to multiple model providers |
|
||||
| [ClawRouter](/customize/model-providers/more/clawrouter) | Open-source LLM router with automatic cost-optimized model selection |
|
||||
| [Tetrate Agent Router Service](/customize/model-providers/top-level/tetrate_agent_router_service) | Gateway with intelligent routing across multiple model providers |
|
||||
| [Cohere](/customize/model-providers/more/cohere) | Models specialized for semantic search and text generation |
|
||||
| [NVIDIA](/customize/model-providers/more/nvidia) | GPU-accelerated model hosting |
|
||||
|
|
|
|||
|
|
@ -90,3 +90,20 @@ Ollama models usually have their capabilities auto-detected correctly. However,
|
|||
<Note>
|
||||
Many Ollama models support tool use by default. Vision models often also support image input
|
||||
</Note>
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### "Model requires more system memory"
|
||||
|
||||
Continue may set a higher default context length than other Ollama tools, causing this error even when the model works elsewhere. Fix by reducing `contextLength`:
|
||||
|
||||
```yaml title="config.yaml"
|
||||
models:
|
||||
- name: Deepseek R1
|
||||
provider: ollama
|
||||
model: deepseek-r1:latest
|
||||
defaultCompletionOptions:
|
||||
contextLength: 2048
|
||||
```
|
||||
|
||||
You can also try a smaller model variant.
|
||||
|
|
|
|||
|
|
@ -131,3 +131,37 @@ To force usage of `completions` instead of `chat/completions` endpoint you can s
|
|||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### How to Disable the Responses API
|
||||
|
||||
By default, Continue uses OpenAI's `/responses` endpoint for o-series and gpt-5 models. If you encounter "organization must be verified" errors related to reasoning summaries or streaming, you can force the use of `/chat/completions` instead:
|
||||
|
||||
<Tabs>
|
||||
<Tab title="YAML">
|
||||
```yaml title="config.yaml"
|
||||
name: My Config
|
||||
version: 0.0.1
|
||||
schema: v1
|
||||
|
||||
models:
|
||||
- name: gpt-5
|
||||
provider: openai
|
||||
model: gpt-5
|
||||
useResponsesApi: false
|
||||
```
|
||||
</Tab>
|
||||
<Tab title="JSON (Deprecated)">
|
||||
```json title="config.json"
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"title": "gpt-5",
|
||||
"provider": "openai",
|
||||
"model": "gpt-5",
|
||||
"useResponsesApi": false
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@
|
|||
"group": "More Providers",
|
||||
"pages": [
|
||||
"customize/model-providers/more/asksage",
|
||||
"customize/model-providers/more/clawrouter",
|
||||
"customize/model-providers/more/deepseek",
|
||||
"customize/model-providers/more/deepinfra",
|
||||
"customize/model-providers/more/groq",
|
||||
|
|
|
|||
|
|
@ -270,50 +270,44 @@ If you're getting parse errors with remote Ollama:
|
|||
|
||||
For running Continue completely offline without internet access, see the [Running Continue Without Internet guide](/guides/running-continue-without-internet).
|
||||
|
||||
Continue supports multiple methods for managing secrets locally, searched in this order:
|
||||
#### How to reference secrets in config.yaml
|
||||
|
||||
1. **Workspace `.env` files**: Place a `.env` file in your workspace root directory
|
||||
2. **Workspace Continue folder**: Place a `.env` file in `<workspace-root>/.continue/.env`
|
||||
3. **Global `.env` file**: Place a `.env` file in `~/.continue/.env` for user-wide secrets
|
||||
4. **Process environment variables**: Use standard system environment variables
|
||||
Use the `${{ secrets.SECRET_NAME }}` syntax anywhere in your `config.yaml`:
|
||||
|
||||
#### Creating `.env` files
|
||||
|
||||
Create a `.env` file in one of these locations:
|
||||
- **Per-workspace**: `<workspace-root>/.env` or `<workspace-root>/.continue/.env`
|
||||
- **Global**: `~/.continue/.env`
|
||||
|
||||
Example `.env` file:
|
||||
```
|
||||
OPENAI_API_KEY=sk-...
|
||||
ANTHROPIC_API_KEY=sk-ant-...
|
||||
CUSTOM_API_URL=https://api.example.com
|
||||
```
|
||||
|
||||
#### Using secrets in config.yaml
|
||||
|
||||
Reference your local secrets using the `secrets` namespace:
|
||||
```yaml
|
||||
models:
|
||||
- provider: openai
|
||||
apiKey: ${{ secrets.OPENAI_API_KEY }}
|
||||
```
|
||||
|
||||
#### Important notes
|
||||
#### Where secrets are resolved from
|
||||
|
||||
- **Never commit `.env` files** to version control - add them to `.gitignore`
|
||||
- The `.env` file uses standard dotenv format (KEY=value, no quotes needed)
|
||||
- Secrets are loaded when Continue starts, so restart your IDE after changes
|
||||
- Local `.env` files in more specific locations take precedence over global ones
|
||||
When Continue encounters `${{ secrets.X }}`, it searches these sources **in order**:
|
||||
|
||||
#### Troubleshooting secrets
|
||||
1. **Workspace `.env` file**: `<workspace-root>/.env`
|
||||
2. **Workspace Continue `.env` file**: `<workspace-root>/.continue/.env`
|
||||
3. **Global `.env` file**: `~/.continue/.env`
|
||||
4. **Process environment variables**: Standard system environment variables
|
||||
|
||||
If your API keys aren't being recognized:
|
||||
1. Check the `.env` file is in the correct location
|
||||
2. Ensure there are no quotes around values in the `.env` file
|
||||
3. Restart your IDE after adding/changing secrets
|
||||
4. Verify the variable name matches exactly (case-sensitive)
|
||||
5. Check that your `.env` file has proper line endings (LF, not CRLF on Windows)
|
||||
<Warning>
|
||||
**IDE extensions (VS Code, JetBrains) cannot read your shell environment variables.** Setting `export OPENAI_API_KEY=...` in your terminal will not make the key available to Continue running inside your IDE. You must use a `.env` file instead.
|
||||
|
||||
Process environment variables (source 4) only work with the [Continue CLI](/cli/configuration), where you can pass them directly: `export OPENAI_API_KEY=sk-... && cn`
|
||||
</Warning>
|
||||
|
||||
#### Creating `.env` files
|
||||
|
||||
Create a `.env` file in one of the locations above. Use standard dotenv format:
|
||||
|
||||
```
|
||||
OPENAI_API_KEY=sk-...
|
||||
ANTHROPIC_API_KEY=sk-ant-...
|
||||
CUSTOM_API_URL=https://api.example.com
|
||||
```
|
||||
|
||||
- **Never commit `.env` files** to version control — add them to `.gitignore`
|
||||
- No quotes around values
|
||||
- Restart your IDE after adding or changing secrets
|
||||
|
||||
## How do I reset the state of the extension?
|
||||
|
||||
|
|
|
|||
|
|
@ -93,18 +93,20 @@ Models, and many MCP servers, require a secret for things like API keys.
|
|||
|
||||
Use mustache notation to pass the secret, eg `${{ secrets.SECRET_NAME }}`
|
||||
|
||||
Secrets are read from `.env` files in the following locations:
|
||||
When configuring a local model or MCP server, you can use the same mustache notation for secrets which are resolved from these sources in order:
|
||||
|
||||
<Columns cols={2}>
|
||||
<Card title="Workspace" icon="folder-open">
|
||||
`.env` file at your project root, or in `<workspace-root>/.continue/.env`
|
||||
</Card>
|
||||
|
||||
<Card title="Global" icon="globe">
|
||||
`.env` file in `~/.continue/.env`
|
||||
</Card>
|
||||
|
||||
<Card title="Workspace" icon="folder-open">
|
||||
`.env` file at your project root
|
||||
</Card>
|
||||
</Columns>
|
||||
|
||||
See [Managing Local Secrets and Environment Variables](/faqs#managing-local-secrets-and-environment-variables) for full details on secret resolution and IDE vs CLI differences.
|
||||
|
||||
<Info>
|
||||
**When to use `secrets.` vs `inputs.`**
|
||||
|
||||
|
|
|
|||
|
|
@ -272,6 +272,10 @@ To get the best performance from Ollama:
|
|||
|
||||
### Common Configuration Problems
|
||||
|
||||
#### "Model requires more system memory to run"
|
||||
|
||||
Continue may use a higher default context length than other tools. Reduce `contextLength` in your config (e.g., to 2048), or try a smaller model. See [Ollama provider troubleshooting](/customize/model-providers/top-level/ollama#troubleshooting) for details.
|
||||
|
||||
#### "404 model not found, try pulling it first"
|
||||
|
||||
This error occurs when the model isn't installed locally:
|
||||
|
|
|
|||
6545
docs/package-lock.json
generated
6545
docs/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -13,12 +13,23 @@
|
|||
"license": "ISC",
|
||||
"type": "commonjs",
|
||||
"devDependencies": {
|
||||
"mintlify": "^4.2.3"
|
||||
"mintlify": "^4.2.454"
|
||||
},
|
||||
"dependencies": {
|
||||
"@c15t/react": "^1.8.5",
|
||||
"axios": "^1.13.5",
|
||||
"axios": "^1.13.6",
|
||||
"sharp": "^0.34.5",
|
||||
"tar-fs": "^3.1.1"
|
||||
"tar-fs": "^3.1.2"
|
||||
},
|
||||
"overrides": {
|
||||
"express": "^4.21.2",
|
||||
"qs": "^6.14.2",
|
||||
"tar": "^7.5.13",
|
||||
"js-yaml": "^4.1.1",
|
||||
"lodash": "^4.17.23",
|
||||
"zod": "^3.24.0",
|
||||
"axios": "^1.13.6",
|
||||
"@orpc/openapi": "^1.13.11",
|
||||
"kysely": "^0.28.14"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
47
extensions/cli/package-lock.json
generated
47
extensions/cli/package-lock.json
generated
|
|
@ -62,7 +62,7 @@
|
|||
"core": "file:../../core",
|
||||
"cross-env": "^7.0.3",
|
||||
"date-fns": "^4.1.0",
|
||||
"diff": "^7.0.0",
|
||||
"diff": "^8.0.4",
|
||||
"dotenv": "^16.5.0",
|
||||
"esbuild": "^0.25.9",
|
||||
"eslint": "^9.32.0",
|
||||
|
|
@ -130,7 +130,7 @@
|
|||
"@continuedev/openai-adapters": "file:../packages/openai-adapters",
|
||||
"@continuedev/terminal-security": "file:../packages/terminal-security",
|
||||
"@modelcontextprotocol/sdk": "^1.25.2",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
"@mozilla/readability": "^0.6.0",
|
||||
"@octokit/rest": "^20.1.1",
|
||||
"@sentry/cli": "^2.50.2",
|
||||
"@sentry/core": "^9.43.0",
|
||||
|
|
@ -178,13 +178,12 @@
|
|||
"puppeteer-chromium-resolver": "^23.0.0",
|
||||
"quick-lru": "^7.0.0",
|
||||
"replicate": "^0.26.0",
|
||||
"request": "^2.88.2",
|
||||
"shell-quote": "^1.8.3",
|
||||
"socket.io-client": "^4.7.3",
|
||||
"sqlite": "^5.1.1",
|
||||
"sqlite3": "^5.1.7",
|
||||
"system-ca": "^1.0.3",
|
||||
"tar": "^7.5.10",
|
||||
"tar": "^7.5.13",
|
||||
"tree-sitter-wasms": "^0.1.11",
|
||||
"untildify": "^6.0.0",
|
||||
"uuid": "^9.0.1",
|
||||
|
|
@ -223,7 +222,7 @@
|
|||
"@typescript-eslint/eslint-plugin": "^8.40.0",
|
||||
"@typescript-eslint/parser": "^8.40.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"esbuild": "0.17.19",
|
||||
"esbuild": "^0.25.0",
|
||||
"eslint": "^8",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
|
|
@ -256,12 +255,12 @@
|
|||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^9.2.6",
|
||||
"@semantic-release/npm": "^10.0.6",
|
||||
"@semantic-release/npm": "^13.1.5",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^20.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"jest": "^29.7.0",
|
||||
"semantic-release": "^21.1.2",
|
||||
"semantic-release": "^24.2.7",
|
||||
"ts-jest": "^29.2.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"zod-to-json-schema": "^3.24.5"
|
||||
|
|
@ -275,6 +274,7 @@
|
|||
"dependencies": {
|
||||
"@ai-sdk/anthropic": "^3.0.44",
|
||||
"@ai-sdk/deepseek": "^2.0.20",
|
||||
"@ai-sdk/google": "^3.0.30",
|
||||
"@ai-sdk/openai": "^3.0.29",
|
||||
"@ai-sdk/xai": "^3.0.57",
|
||||
"@anthropic-ai/sdk": "^0.67.0",
|
||||
|
|
@ -298,7 +298,7 @@
|
|||
"@semantic-release/commit-analyzer": "^13.0.1",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^11.0.3",
|
||||
"@semantic-release/npm": "^12.0.2",
|
||||
"@semantic-release/npm": "^13.1.5",
|
||||
"@semantic-release/release-notes-generator": "^14.0.3",
|
||||
"@types/follow-redirects": "^1.14.4",
|
||||
"@types/jest": "^29.5.14",
|
||||
|
|
@ -8311,9 +8311,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/diff": {
|
||||
"version": "7.0.0",
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz",
|
||||
"integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==",
|
||||
"version": "8.0.4",
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-8.0.4.tgz",
|
||||
"integrity": "sha512-DPi0FmjiSU5EvQV0++GFDOJ9ASQUVFh5kD+OzOnYdi7n3Wpm9hWWGfB/O2blfHcMVTL5WkQXSnRiK9makhrcnw==",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"engines": {
|
||||
|
|
@ -12260,19 +12260,6 @@
|
|||
"node": ">=8.6"
|
||||
}
|
||||
},
|
||||
"node_modules/micromatch/node_modules/picomatch": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8.6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/jonschlinkert"
|
||||
}
|
||||
},
|
||||
"node_modules/mime": {
|
||||
"version": "4.0.7",
|
||||
"resolved": "https://registry.npmjs.org/mime/-/mime-4.0.7.tgz",
|
||||
|
|
@ -15947,9 +15934,9 @@
|
|||
"license": "ISC"
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||
"version": "4.0.4",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
||||
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
||||
"devOptional": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -16410,9 +16397,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/qs": {
|
||||
"version": "6.14.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
|
||||
"integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
|
||||
"version": "6.15.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz",
|
||||
"integrity": "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==",
|
||||
"dev": true,
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
"core": "file:../../core",
|
||||
"cross-env": "^7.0.3",
|
||||
"date-fns": "^4.1.0",
|
||||
"diff": "^7.0.0",
|
||||
"diff": "^8.0.4",
|
||||
"dotenv": "^16.5.0",
|
||||
"esbuild": "^0.25.9",
|
||||
"eslint": "^9.32.0",
|
||||
|
|
@ -138,7 +138,9 @@
|
|||
"node": ">=18"
|
||||
},
|
||||
"overrides": {
|
||||
"minimatch@<9.0.7": "^9.0.7"
|
||||
"minimatch@<9.0.7": "^9.0.7",
|
||||
"qs": "^6.14.2",
|
||||
"picomatch": "^4.0.2"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@img/sharp-darwin-arm64": "^0.33.5",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
pluginGroup=com.github.continuedev.continueintellijextension
|
||||
pluginVersion=1.0.63
|
||||
pluginVersion=1.0.65
|
||||
platformVersion=2024.1
|
||||
kotlin.stdlib.default.dependency=false
|
||||
org.gradle.configuration-cache=true
|
||||
|
|
|
|||
|
|
@ -85,11 +85,15 @@ class ContinueBrowser(
|
|||
}
|
||||
|
||||
fun sendToWebview(messageType: String, data: Any? = null, messageId: String = uuid()) {
|
||||
if (browser.cefBrowser.isClosed) {
|
||||
log.warn("Attempted to send message to disposed browser: $messageType")
|
||||
return
|
||||
}
|
||||
val json = gsonService.gson.toJson(BrowserMessage(messageType, messageId, data))
|
||||
val jsCode = """window.postMessage($json, "*");"""
|
||||
try {
|
||||
browser.cefBrowser.executeJavaScript(jsCode, getGuiUrl(), 0)
|
||||
} catch (error: IllegalStateException) {
|
||||
} catch (error: Exception) {
|
||||
log.warn(error)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ class MessageTypes {
|
|||
"history/delete",
|
||||
"history/load",
|
||||
"history/save",
|
||||
"history/loadRemote",
|
||||
"history/clear",
|
||||
"devdata/log",
|
||||
"config/addModel",
|
||||
|
|
@ -146,6 +147,9 @@ class MessageTypes {
|
|||
"tools/call",
|
||||
"tools/evaluatePolicy",
|
||||
"tools/preprocessArgs",
|
||||
"controlPlane/getEnvironment",
|
||||
"controlPlane/getCreditStatus",
|
||||
"controlPlane/openUrl",
|
||||
"isItemTooBig",
|
||||
"process/markAsBackgrounded",
|
||||
"process/isBackgrounded",
|
||||
|
|
|
|||
|
|
@ -351,13 +351,28 @@ class IntelliJIDE(
|
|||
override suspend fun readRangeInFile(filepath: String, range: Range): String {
|
||||
val fullContents = readFile(filepath)
|
||||
val lines = fullContents.lines()
|
||||
val startLine = range.start.line
|
||||
val startCharacter = range.start.character
|
||||
val endLine = range.end.line
|
||||
val endCharacter = range.end.character
|
||||
|
||||
// Safely clamp lines so we don't go out of bounds on the array
|
||||
val startLine = range.start.line.coerceIn(0, maxOf(0, lines.size - 1))
|
||||
val endLine = range.end.line.coerceIn(startLine, maxOf(0, lines.size - 1))
|
||||
|
||||
// Handle the single-line case properly so it doesn't mangle text
|
||||
if (startLine == endLine) {
|
||||
val line = lines.getOrNull(startLine) ?: return ""
|
||||
val safeStart = range.start.character.coerceIn(0, line.length)
|
||||
val safeEnd = range.end.character.coerceIn(safeStart, line.length)
|
||||
return line.substring(safeStart, safeEnd)
|
||||
}
|
||||
|
||||
// Clamp the character indexes to the actual string lengths to prevent the crash
|
||||
val firstLineStr = lines.getOrNull(startLine) ?: ""
|
||||
val safeStart = range.start.character.coerceIn(0, firstLineStr.length)
|
||||
val firstLine = firstLineStr.substring(safeStart)
|
||||
|
||||
val lastLineStr = lines.getOrNull(endLine) ?: ""
|
||||
val safeEnd = range.end.character.coerceIn(0, lastLineStr.length)
|
||||
val lastLine = lastLineStr.substring(0, safeEnd)
|
||||
|
||||
val firstLine = lines.getOrNull(startLine)?.substring(startCharacter) ?: ""
|
||||
val lastLine = lines.getOrNull(endLine)?.substring(0, endCharacter) ?: ""
|
||||
val betweenLines = if (endLine - startLine > 1) {
|
||||
lines.subList(startLine + 1, endLine).joinToString("\n")
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ class DiffStreamHandler(
|
|||
if (hasAcceptedOrRejectedBlock) {
|
||||
ApplicationManager.getApplication().invokeLater {
|
||||
val blocksToReject = diffBlocks.toList()
|
||||
blocksToReject.toList().forEach { it.handleReject() }
|
||||
blocksToReject.forEach { it.handleReject() }
|
||||
}
|
||||
} else {
|
||||
undoChanges()
|
||||
|
|
@ -265,14 +265,14 @@ class DiffStreamHandler(
|
|||
}
|
||||
|
||||
private fun initUnfinishedRangeHighlights() {
|
||||
if (editor.document.lineCount == 0) return
|
||||
|
||||
val editorUtils = EditorUtils(editor)
|
||||
val unfinishedKey = editorUtils.createTextAttributesKey("CONTINUE_DIFF_UNFINISHED_LINE", 0x20888888)
|
||||
|
||||
for (i in startLine..endLine) {
|
||||
val highlighter = editor.markupModel.addLineHighlighter(
|
||||
unfinishedKey, min(
|
||||
i, editor.document.lineCount - 1
|
||||
), HighlighterLayer.LAST
|
||||
unfinishedKey, min(i, editor.document.lineCount - 1).coerceAtLeast(0), HighlighterLayer.LAST
|
||||
)
|
||||
unfinishedHighlighters.add(highlighter)
|
||||
}
|
||||
|
|
@ -413,7 +413,8 @@ class DiffStreamHandler(
|
|||
|
||||
WriteCommandAction.runWriteCommandAction(project) {
|
||||
val undoManager = UndoManager.getInstance(project)
|
||||
val fileEditor = FileEditorManager.getInstance(project).getSelectedEditor(virtualFile) as TextEditor
|
||||
val fileEditor = FileEditorManager.getInstance(project).getSelectedEditor(virtualFile) as? TextEditor
|
||||
?: return@runWriteCommandAction
|
||||
|
||||
if (undoManager.isUndoAvailable(fileEditor)) {
|
||||
val numChanges = diffBlocks.sumOf { it.deletedLines.size + it.addedLines.size }
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ interface CursorMovementHandler {
|
|||
@Service(Service.Level.PROJECT)
|
||||
class ActiveHandlerManager(private val project: Project) : SelectionListener, CaretListener, DumbAware {
|
||||
|
||||
private val coroutineScope = CoroutineScope(Dispatchers.Main + SupervisorJob())
|
||||
private val coroutineScope = CoroutineScope(Dispatchers.Default.limitedParallelism(1) + SupervisorJob())
|
||||
private var activeHandler: CursorMovementHandler? = null
|
||||
private var isHandlingEvent = false
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import kotlinx.coroutines.*
|
|||
@Service(Service.Level.PROJECT)
|
||||
class DocumentChangeTracker(private val project: Project) : DocumentListener {
|
||||
|
||||
private val coroutineScope = CoroutineScope(Dispatchers.Main + SupervisorJob())
|
||||
private val coroutineScope = CoroutineScope(Dispatchers.Default.limitedParallelism(1) + SupervisorJob())
|
||||
private var typingHandler: TypingSessionHandler? = null
|
||||
private var typingSessionTimer: Job? = null
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ import com.intellij.openapi.components.PersistentStateComponent
|
|||
import com.intellij.openapi.components.State
|
||||
import com.intellij.openapi.components.Storage
|
||||
import com.intellij.openapi.components.service
|
||||
import com.intellij.openapi.diagnostic.Logger
|
||||
import com.intellij.openapi.options.Configurable
|
||||
import com.intellij.openapi.project.DumbAware
|
||||
import com.intellij.util.concurrency.AppExecutorUtil
|
||||
|
|
@ -16,7 +17,6 @@ import com.intellij.util.messages.Topic
|
|||
import java.awt.GridBagConstraints
|
||||
import java.awt.GridBagLayout
|
||||
import java.io.File
|
||||
import java.io.IOException
|
||||
import java.net.URL
|
||||
import java.util.concurrent.ScheduledFuture
|
||||
import java.util.concurrent.TimeUnit
|
||||
|
|
@ -103,62 +103,56 @@ open class ContinueExtensionSettings : PersistentStateComponent<ContinueExtensio
|
|||
}
|
||||
|
||||
companion object {
|
||||
private val log = Logger.getInstance(ContinueExtensionSettings::class.java)
|
||||
|
||||
val instance: ContinueExtensionSettings
|
||||
get() = service<ContinueExtensionSettings>()
|
||||
}
|
||||
|
||||
|
||||
// Sync remote config from server
|
||||
private fun syncRemoteConfig() {
|
||||
val remoteServerUrl = state.remoteConfigServerUrl
|
||||
val token = state.userToken
|
||||
if (remoteServerUrl != null && remoteServerUrl.isNotEmpty()) {
|
||||
val baseUrl = remoteServerUrl.removeSuffix("/")
|
||||
try {
|
||||
val url = "$baseUrl/sync"
|
||||
val responseBody = HttpRequests.request(url)
|
||||
.tuner { connection ->
|
||||
if (token != null)
|
||||
connection.addRequestProperty("Authorization", "Bearer $token")
|
||||
}.readString()
|
||||
val response = Gson().fromJson(responseBody, ContinueRemoteConfigSyncResponse::class.java)
|
||||
val hostname = URL(url).host
|
||||
|
||||
// Write configJson to config.json if present
|
||||
if (!response.configJson.isNullOrEmpty()) {
|
||||
File(getConfigJsonPath(hostname)).writeText(response.configJson!!)
|
||||
}
|
||||
|
||||
// Write configJs to config.js if present
|
||||
if (!response.configJs.isNullOrEmpty()) {
|
||||
File(getConfigJsPath(hostname)).writeText(response.configJs!!)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
// Catch all exceptions including JsonSyntaxException
|
||||
if (remoteServerUrl.isNullOrEmpty()) return
|
||||
|
||||
val token = state.userToken
|
||||
val baseUrl = remoteServerUrl.removeSuffix("/")
|
||||
try {
|
||||
val url = "$baseUrl/sync"
|
||||
val responseBody = HttpRequests.request(url)
|
||||
.connectTimeout(5000)
|
||||
.readTimeout(5000)
|
||||
.tuner { connection ->
|
||||
if (token != null)
|
||||
connection.addRequestProperty("Authorization", "Bearer $token")
|
||||
}.readString()
|
||||
val response = Gson().fromJson(responseBody, ContinueRemoteConfigSyncResponse::class.java)
|
||||
val hostname = URL(url).host
|
||||
|
||||
if (!response.configJson.isNullOrEmpty()) {
|
||||
File(getConfigJsonPath(hostname)).writeText(response.configJson!!)
|
||||
}
|
||||
|
||||
if (!response.configJs.isNullOrEmpty()) {
|
||||
File(getConfigJsPath(hostname)).writeText(response.configJs!!)
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
log.warn("Failed to sync remote config from $baseUrl", e)
|
||||
}
|
||||
}
|
||||
|
||||
// Create a scheduled task to sync remote config every `remoteConfigSyncPeriod` minutes
|
||||
fun addRemoteSyncJob() {
|
||||
// Cancel existing job if present
|
||||
if (remoteSyncFuture != null) {
|
||||
remoteSyncFuture?.cancel(false)
|
||||
remoteSyncFuture = null
|
||||
}
|
||||
remoteSyncFuture?.cancel(false)
|
||||
remoteSyncFuture = null
|
||||
|
||||
// Only schedule sync job if remote config server URL is configured
|
||||
val remoteServerUrl = continueState.remoteConfigServerUrl
|
||||
if (remoteServerUrl != null && remoteServerUrl.isNotEmpty()) {
|
||||
instance.remoteSyncFuture = AppExecutorUtil.getAppScheduledExecutorService()
|
||||
.scheduleWithFixedDelay(
|
||||
::syncRemoteConfig,
|
||||
0,
|
||||
continueState.remoteConfigSyncPeriod.toLong(),
|
||||
TimeUnit.MINUTES
|
||||
)
|
||||
}
|
||||
if (remoteServerUrl.isNullOrEmpty()) return
|
||||
|
||||
remoteSyncFuture = AppExecutorUtil.getAppScheduledExecutorService()
|
||||
.scheduleWithFixedDelay(
|
||||
::syncRemoteConfig,
|
||||
0,
|
||||
continueState.remoteConfigSyncPeriod.toLong(),
|
||||
TimeUnit.MINUTES
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -214,8 +208,6 @@ class ContinueExtensionConfigurable : Configurable {
|
|||
mySettingsComponent?.displayEditorTooltip?.isSelected = settings.continueState.displayEditorTooltip
|
||||
mySettingsComponent?.showIDECompletionSideBySide?.isSelected =
|
||||
settings.continueState.showIDECompletionSideBySide
|
||||
|
||||
ContinueExtensionSettings.instance.addRemoteSyncJob()
|
||||
}
|
||||
|
||||
override fun disposeUIResources() {
|
||||
|
|
|
|||
|
|
@ -216,6 +216,7 @@
|
|||
"msty",
|
||||
"watsonx",
|
||||
"openrouter",
|
||||
"clawrouter",
|
||||
"sambanova",
|
||||
"nvidia",
|
||||
"vllm",
|
||||
|
|
@ -268,6 +269,7 @@
|
|||
"### Msty\nMsty is the simplest way to get started with online or local LLMs on all desktop platforms - Windows, Mac, and Linux. No fussing around, one-click and you are up and running. To get started, follow these steps:\n1. Download from [Msty.app](https://msty.app/), open the application, and click 'Setup Local AI'.\n2. Go to the Local AI Module page and download a model of your choice.\n3. Once the model has finished downloading, you can start asking questions through Continue.\n> [Reference](https://continue.dev/docs/reference/Model%20Providers/Msty)",
|
||||
"### IBM watsonx\nwatsonx, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.",
|
||||
"### OpenRouter\nOpenRouter offers a single API to access almost any language model. To get started, obtain an API key from [their console](https://openrouter.ai/settings/keys).",
|
||||
"### ClawRouter\nClawRouter is an open-source LLM router that automatically selects the cheapest capable model for each request based on prompt complexity, providing 78-96% cost savings. To get started, run `npx clawrouter` to start the router at localhost:1337. A wallet is auto-generated on first run - fund it with USDC (Solana/Base) to access premium models, or use `blockrun/free` tier without payment.\n> [Reference](https://github.com/BlockRunAI/ClawRouter)",
|
||||
"### SambaNova\n SambaNova provides fast inference of open-source language models with zero data retention. To get started, obtain an API key in [SambaNova Cloud](https://cloud.sambanova.ai/apis?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup ).",
|
||||
"### NVIDIA NIMs\nNVIDIA offers a single API to access almost any language model. To find out more, visit the [LLM APIs Documentation](https://docs.api.nvidia.com/nim/reference/llm-apis).\nFor information specific to getting a key, please check out the [docs here](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog)",
|
||||
"### vLLM\nvLLM is a highly performant way of hosting LLMs for a team. To get started, follow their [quickstart](https://docs.vllm.ai/en/latest/getting_started/quickstart.html) to set up your server.",
|
||||
|
|
@ -1497,6 +1499,10 @@
|
|||
"properties": {
|
||||
"useLegacyCompletionsEndpoint": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"useResponsesApi": {
|
||||
"type": "boolean",
|
||||
"description": "When set to false, forces the use of /chat/completions instead of the /responses endpoint for o-series and gpt-5 models. This can help avoid 'organization must be verified' errors related to reasoning summaries and streaming."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1252
extensions/vscode/package-lock.json
generated
1252
extensions/vscode/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -2,7 +2,7 @@
|
|||
"name": "continue",
|
||||
"icon": "media/icon.png",
|
||||
"author": "Continue Dev, Inc",
|
||||
"version": "1.3.34",
|
||||
"version": "1.3.36",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/continuedev/continue"
|
||||
|
|
@ -717,7 +717,7 @@
|
|||
"@vscode/vsce": "^2.22.0",
|
||||
"cargo-cp-artifact": "^0.1",
|
||||
"chai": "^4.5.0",
|
||||
"esbuild": "0.17.19",
|
||||
"esbuild": "^0.25.0",
|
||||
"esbuild-visualizer": "^0.6.0",
|
||||
"eslint": "^8.28.0",
|
||||
"json-schema-to-typescript": "^12.0.0",
|
||||
|
|
@ -737,7 +737,7 @@
|
|||
"core": "file:../../core",
|
||||
"cors": "^2.8.5",
|
||||
"dbinfoz": "^0.14.0",
|
||||
"diff": "^7.0.0",
|
||||
"diff": "^8.0.4",
|
||||
"downshift": "^7.6.0",
|
||||
"express": "^4.18.2",
|
||||
"fkill": "^8.1.0",
|
||||
|
|
@ -754,7 +754,7 @@
|
|||
"lru-cache": "^11.2.4",
|
||||
"minisearch": "^7.0.0",
|
||||
"mocha": "^11.7.5",
|
||||
"monaco-editor": "^0.55.1",
|
||||
"monaco-editor": "^0.53.0",
|
||||
"monaco-vscode-textmate-theme-converter": "^0.1.7",
|
||||
"ncp": "^2.0.0",
|
||||
"node-fetch": "^3.3.2",
|
||||
|
|
@ -762,7 +762,6 @@
|
|||
"react-markdown": "^8.0.7",
|
||||
"react-redux": "^8.0.5",
|
||||
"read-last-lines": "^1.8.0",
|
||||
"request": "^2.88.2",
|
||||
"socket.io-client": "^4.7.2",
|
||||
"strip-ansi": "^7.1.0",
|
||||
"svg-builder": "^2.0.0",
|
||||
|
|
@ -780,6 +779,17 @@
|
|||
"overrides": {
|
||||
"vitest": {
|
||||
"@types/node": "^16.18.119"
|
||||
}
|
||||
},
|
||||
"mocha": {
|
||||
"serialize-javascript": "^7.0.5"
|
||||
},
|
||||
"diff": "$diff",
|
||||
"picomatch": "^4.0.2",
|
||||
"rollup": "^4.34.9",
|
||||
"vite": {
|
||||
"esbuild": "^0.25.0"
|
||||
},
|
||||
"tar": "^7.5.13",
|
||||
"undici-types@~7.18.0": "7.18.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -602,69 +602,80 @@ export class NextEditWindowManager {
|
|||
*/
|
||||
private setupListeners() {
|
||||
// Theme change listener.
|
||||
vscode.workspace.onDidChangeConfiguration(async (e) => {
|
||||
if (
|
||||
e.affectsConfiguration("workbench.colorTheme") ||
|
||||
e.affectsConfiguration("editor.fontSize") ||
|
||||
e.affectsConfiguration("editor.fontFamily") ||
|
||||
e.affectsConfiguration("window.autoDetectColorScheme") ||
|
||||
e.affectsConfiguration("window.autoDetectHighContrast") ||
|
||||
e.affectsConfiguration("workbench.preferredDarkColorTheme") ||
|
||||
e.affectsConfiguration("workbench.preferredLightColorTheme") ||
|
||||
e.affectsConfiguration("workbench.preferredHighContrastColorTheme") ||
|
||||
e.affectsConfiguration("workbench.preferredHighContrastLightColorTheme")
|
||||
) {
|
||||
this.disposables.push(
|
||||
vscode.workspace.onDidChangeConfiguration(async (e) => {
|
||||
if (
|
||||
e.affectsConfiguration("workbench.colorTheme") ||
|
||||
e.affectsConfiguration("editor.fontSize") ||
|
||||
e.affectsConfiguration("editor.fontFamily") ||
|
||||
e.affectsConfiguration("window.autoDetectColorScheme") ||
|
||||
e.affectsConfiguration("window.autoDetectHighContrast") ||
|
||||
e.affectsConfiguration("workbench.preferredDarkColorTheme") ||
|
||||
e.affectsConfiguration("workbench.preferredLightColorTheme") ||
|
||||
e.affectsConfiguration("workbench.preferredHighContrastColorTheme") ||
|
||||
e.affectsConfiguration(
|
||||
"workbench.preferredHighContrastLightColorTheme",
|
||||
)
|
||||
) {
|
||||
this.theme = getThemeString();
|
||||
await this.codeRenderer.setTheme(this.theme);
|
||||
console.debug(
|
||||
"Theme updated:",
|
||||
this.theme ? "Theme exists" : "Theme is undefined",
|
||||
);
|
||||
const editorConfig = vscode.workspace.getConfiguration("editor");
|
||||
this.fontSize = editorConfig.get<number>("fontSize") ?? 14;
|
||||
this.fontFamily =
|
||||
editorConfig.get<string>("fontFamily") ?? "monospace";
|
||||
}
|
||||
}),
|
||||
);
|
||||
|
||||
// Listen for active color theme changes.
|
||||
this.disposables.push(
|
||||
vscode.window.onDidChangeActiveColorTheme(async () => {
|
||||
this.theme = getThemeString();
|
||||
await this.codeRenderer.setTheme(this.theme);
|
||||
console.debug(
|
||||
"Theme updated:",
|
||||
"Active theme changed:",
|
||||
this.theme ? "Theme exists" : "Theme is undefined",
|
||||
);
|
||||
const editorConfig = vscode.workspace.getConfiguration("editor");
|
||||
this.fontSize = editorConfig.get<number>("fontSize") ?? 14;
|
||||
this.fontFamily = editorConfig.get<string>("fontFamily") ?? "monospace";
|
||||
}
|
||||
});
|
||||
|
||||
// Listen for active color theme changes.
|
||||
vscode.window.onDidChangeActiveColorTheme(async () => {
|
||||
this.theme = getThemeString();
|
||||
await this.codeRenderer.setTheme(this.theme);
|
||||
console.debug(
|
||||
"Active theme changed:",
|
||||
this.theme ? "Theme exists" : "Theme is undefined",
|
||||
);
|
||||
});
|
||||
}),
|
||||
);
|
||||
|
||||
// Listen for editor changes to clean up decorations when editor closes.
|
||||
vscode.window.onDidChangeVisibleTextEditors(async () => {
|
||||
// If our active editor is no longer visible, clear decorations.
|
||||
if (
|
||||
this.activeEditor &&
|
||||
!vscode.window.visibleTextEditors.includes(this.activeEditor)
|
||||
) {
|
||||
if (this.mostRecentCompletionId) {
|
||||
this.loggingService.cancelRejectionTimeout(
|
||||
this.mostRecentCompletionId,
|
||||
);
|
||||
this.disposables.push(
|
||||
vscode.window.onDidChangeVisibleTextEditors(async () => {
|
||||
// If our active editor is no longer visible, clear decorations.
|
||||
if (
|
||||
this.activeEditor &&
|
||||
!vscode.window.visibleTextEditors.includes(this.activeEditor)
|
||||
) {
|
||||
if (this.mostRecentCompletionId) {
|
||||
this.loggingService.cancelRejectionTimeout(
|
||||
this.mostRecentCompletionId,
|
||||
);
|
||||
}
|
||||
await this.hideAllNextEditWindows();
|
||||
}
|
||||
await this.hideAllNextEditWindows();
|
||||
}
|
||||
});
|
||||
}),
|
||||
);
|
||||
|
||||
// Listen for selection changes to hide tooltip when cursor moves.
|
||||
vscode.window.onDidChangeTextEditorSelection(async (e) => {
|
||||
// If the selection changed in our active editor, hide the tooltip.
|
||||
if (this.activeEditor && e.textEditor === this.activeEditor) {
|
||||
// If the cursor moved because of something other than accepting next edit, stop logging it.
|
||||
if (!this.accepted && this.mostRecentCompletionId) {
|
||||
this.loggingService.cancelRejectionTimeout(
|
||||
this.mostRecentCompletionId,
|
||||
);
|
||||
this.disposables.push(
|
||||
vscode.window.onDidChangeTextEditorSelection(async (e) => {
|
||||
// If the selection changed in our active editor, hide the tooltip.
|
||||
if (this.activeEditor && e.textEditor === this.activeEditor) {
|
||||
// If the cursor moved because of something other than accepting next edit, stop logging it.
|
||||
if (!this.accepted && this.mostRecentCompletionId) {
|
||||
this.loggingService.cancelRejectionTimeout(
|
||||
this.mostRecentCompletionId,
|
||||
);
|
||||
}
|
||||
await this.hideAllNextEditWindows();
|
||||
}
|
||||
await this.hideAllNextEditWindows();
|
||||
}
|
||||
});
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
private shouldRenderTip(uri: vscode.Uri): boolean {
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ let statusBarStatus: StatusBarStatus | undefined = undefined;
|
|||
let statusBarItem: vscode.StatusBarItem | undefined = undefined;
|
||||
let statusBarFalseTimeout: NodeJS.Timeout | undefined = undefined;
|
||||
let statusBarError: boolean = false;
|
||||
let configListenerRegistered = false;
|
||||
|
||||
export function stopStatusBarLoading() {
|
||||
statusBarFalseTimeout = setTimeout(() => {
|
||||
|
|
@ -153,19 +154,24 @@ export function setupStatusBar(
|
|||
statusBarStatus = status;
|
||||
}
|
||||
|
||||
vscode.workspace.onDidChangeConfiguration((event) => {
|
||||
if (event.affectsConfiguration(CONTINUE_WORKSPACE_KEY)) {
|
||||
const enabled = getContinueWorkspaceConfig().get<boolean>(
|
||||
"enableTabAutocomplete",
|
||||
);
|
||||
if (enabled && statusBarStatus === StatusBarStatus.Paused) {
|
||||
return;
|
||||
// Guard: only register this listener once. Previously it was registered on
|
||||
// every setupStatusBar() call, causing unbounded listener accumulation.
|
||||
if (!configListenerRegistered) {
|
||||
configListenerRegistered = true;
|
||||
vscode.workspace.onDidChangeConfiguration((event) => {
|
||||
if (event.affectsConfiguration(CONTINUE_WORKSPACE_KEY)) {
|
||||
const enabled = getContinueWorkspaceConfig().get<boolean>(
|
||||
"enableTabAutocomplete",
|
||||
);
|
||||
if (enabled && statusBarStatus === StatusBarStatus.Paused) {
|
||||
return;
|
||||
}
|
||||
setupStatusBar(
|
||||
enabled ? StatusBarStatus.Enabled : StatusBarStatus.Disabled,
|
||||
);
|
||||
}
|
||||
setupStatusBar(
|
||||
enabled ? StatusBarStatus.Enabled : StatusBarStatus.Disabled,
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export function getStatusBarStatus(): StatusBarStatus | undefined {
|
||||
|
|
|
|||
3870
gui/package-lock.json
generated
3870
gui/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -61,7 +61,7 @@
|
|||
"react-remark": "^2.1.0",
|
||||
"react-router-dom": "^6.30.3",
|
||||
"react-switch": "^7.0.0",
|
||||
"react-syntax-highlighter": "^15.5.0",
|
||||
"react-syntax-highlighter": "^16.1.1",
|
||||
"react-tooltip": "^5.18.0",
|
||||
"redux-logger": "^3.0.6",
|
||||
"redux-persist": "^6.0.0",
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
"uuid": "^9.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@swc/cli": "^0.3.14",
|
||||
"@swc/cli": "^0.8.0",
|
||||
"@swc/core": "^1.7.26",
|
||||
"@testing-library/dom": "^10.4.0",
|
||||
"@testing-library/jest-dom": "^6.6.4",
|
||||
|
|
@ -100,8 +100,8 @@
|
|||
"@types/redux-logger": "^3.0.13",
|
||||
"@types/styled-components": "^5.1.26",
|
||||
"@vitejs/plugin-react-swc": "^3.9.0",
|
||||
"@vitest/coverage-v8": "^2.1.3",
|
||||
"@vitest/ui": "^2.1.3",
|
||||
"@vitest/coverage-v8": "^3.1.0",
|
||||
"@vitest/ui": "^3.1.0",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"eslint": "^8",
|
||||
"eslint-plugin-no-barrel-files": "^1.2.1",
|
||||
|
|
@ -112,7 +112,7 @@
|
|||
"typescript": "^5.6.3",
|
||||
"typescript-eslint": "^8.16.0",
|
||||
"vite": "^6.3.4",
|
||||
"vitest": "^2.1.3"
|
||||
"vitest": "^3.1.0"
|
||||
},
|
||||
"engine-strict": true,
|
||||
"engines": {
|
||||
|
|
|
|||
BIN
gui/public/logos/clawrouter.png
Normal file
BIN
gui/public/logos/clawrouter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
|
|
@ -85,7 +85,7 @@ export default function StepContainer(props: StepContainerProps) {
|
|||
</pre>
|
||||
) : (
|
||||
<>
|
||||
{props.item.reasoning?.text && (
|
||||
{props.item.reasoning?.text?.trim() && (
|
||||
<ThinkingBlockPeek
|
||||
content={props.item.reasoning.text}
|
||||
index={props.index}
|
||||
|
|
|
|||
|
|
@ -2678,6 +2678,61 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
providerOptions: ["minimax"],
|
||||
isOpenSource: false,
|
||||
},
|
||||
|
||||
// ClawRouter Models
|
||||
clawrouterAuto: {
|
||||
title: "ClawRouter Auto",
|
||||
description:
|
||||
"Automatic model selection - routes to the cheapest capable model based on prompt complexity (78-96% cost savings)",
|
||||
params: {
|
||||
title: "ClawRouter Auto",
|
||||
model: "blockrun/auto",
|
||||
contextLength: 128_000,
|
||||
},
|
||||
icon: "clawrouter.png",
|
||||
providerOptions: ["clawrouter"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
clawrouterFree: {
|
||||
title: "ClawRouter Free",
|
||||
description:
|
||||
"Free tier model routing - automatically selects from available free models",
|
||||
params: {
|
||||
title: "ClawRouter Free",
|
||||
model: "blockrun/free",
|
||||
contextLength: 32_000,
|
||||
},
|
||||
icon: "clawrouter.png",
|
||||
providerOptions: ["clawrouter"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
clawrouterEco: {
|
||||
title: "ClawRouter Eco",
|
||||
description:
|
||||
"Economy tier model routing - balances cost and capability for everyday tasks",
|
||||
params: {
|
||||
title: "ClawRouter Eco",
|
||||
model: "blockrun/eco",
|
||||
contextLength: 64_000,
|
||||
},
|
||||
icon: "clawrouter.png",
|
||||
providerOptions: ["clawrouter"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
clawrouterPremium: {
|
||||
title: "ClawRouter Premium",
|
||||
description:
|
||||
"Premium tier - routes to best quality models (Claude Opus, GPT-5.4 Pro) for mission-critical tasks",
|
||||
params: {
|
||||
title: "ClawRouter Premium",
|
||||
model: "blockrun/premium",
|
||||
contextLength: 200_000,
|
||||
},
|
||||
icon: "clawrouter.png",
|
||||
providerOptions: ["clawrouter"],
|
||||
isOpenSource: true,
|
||||
},
|
||||
|
||||
AUTODETECT: {
|
||||
title: "Autodetect",
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -1311,6 +1311,50 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
|
|||
],
|
||||
apiKeyUrl: "https://api.router.tetrate.ai/",
|
||||
},
|
||||
clawrouter: {
|
||||
title: "ClawRouter",
|
||||
provider: "clawrouter",
|
||||
refPage: "clawrouter",
|
||||
description:
|
||||
"Open-source LLM router that automatically selects the cheapest capable model for each request",
|
||||
longDescription: `[ClawRouter](https://github.com/BlockRunAI/ClawRouter) is an open-source LLM router that automatically selects the cheapest capable model for each request based on prompt complexity. It provides 78-96% cost savings on blended inference costs.
|
||||
|
||||
To get started:
|
||||
1. Install ClawRouter: \`npx clawrouter\`
|
||||
2. The router runs locally at \`http://localhost:1337\`
|
||||
3. A wallet is auto-generated on first run
|
||||
4. Select a model preset below
|
||||
|
||||
**Payment Options:**
|
||||
- \`blockrun/free\` — No payment required (free-tier models)
|
||||
- \`blockrun/eco\` — Economy tier (fund wallet with USDC)
|
||||
- \`blockrun/auto\` — Full routing (fund wallet with USDC)
|
||||
|
||||
Fund your wallet with USDC on Solana or Base. ClawRouter uses x402 micropayments for seamless pay-per-use.`,
|
||||
icon: "clawrouter.png",
|
||||
tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource],
|
||||
packages: [
|
||||
models.clawrouterAuto,
|
||||
models.clawrouterFree,
|
||||
models.clawrouterEco,
|
||||
models.clawrouterPremium,
|
||||
{
|
||||
...models.AUTODETECT,
|
||||
params: {
|
||||
...models.AUTODETECT.params,
|
||||
title: "ClawRouter",
|
||||
},
|
||||
},
|
||||
],
|
||||
collectInputFor: [
|
||||
{
|
||||
...apiBaseInput,
|
||||
defaultValue: "http://localhost:1337/v1/",
|
||||
},
|
||||
...completionParamsInputsConfigs,
|
||||
],
|
||||
downloadUrl: "https://github.com/BlockRunAI/ClawRouter",
|
||||
},
|
||||
nous: {
|
||||
title: "Nous Research",
|
||||
provider: "nous",
|
||||
|
|
|
|||
|
|
@ -338,10 +338,14 @@ export function Chat() {
|
|||
}
|
||||
|
||||
if (message.role === "thinking") {
|
||||
const thinkingContent = renderChatMessage(message);
|
||||
if (!thinkingContent?.trim()) {
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<div className={isBeforeLatestSummary ? "opacity-50" : ""}>
|
||||
<ThinkingBlockPeek
|
||||
content={renderChatMessage(message)}
|
||||
content={thinkingContent}
|
||||
redactedThinking={message.redactedThinking}
|
||||
index={index}
|
||||
prevItem={index > 0 ? history[index - 1] : null}
|
||||
|
|
|
|||
|
|
@ -533,7 +533,7 @@ describe("errorAnalysis", () => {
|
|||
});
|
||||
|
||||
describe("custom error detection", () => {
|
||||
it("should detect OpenAI organization verification error", () => {
|
||||
it("should detect OpenAI organization verification error for reasoning summaries", () => {
|
||||
const error = new Error(
|
||||
"OpenAI error: organization must be verified to generate reasoning summaries",
|
||||
);
|
||||
|
|
@ -542,9 +542,19 @@ describe("errorAnalysis", () => {
|
|||
expect(result.helpUrl).toBe(
|
||||
"https://help.openai.com/en/articles/10910291-api-organization-verification",
|
||||
);
|
||||
expect(result.customErrorMessage).toContain(
|
||||
"organization must be verified",
|
||||
expect(result.customErrorMessage).toContain("useResponsesApi");
|
||||
});
|
||||
|
||||
it("should detect OpenAI organization verification error for streaming", () => {
|
||||
const error = new Error(
|
||||
"OpenAI error: organization must be verified to stream this model",
|
||||
);
|
||||
const result = analyzeError(error, null);
|
||||
|
||||
expect(result.helpUrl).toBe(
|
||||
"https://help.openai.com/en/articles/10910291-api-organization-verification",
|
||||
);
|
||||
expect(result.customErrorMessage).toContain("useResponsesApi");
|
||||
});
|
||||
|
||||
it("should detect OpenAI org verification error case-insensitively", () => {
|
||||
|
|
|
|||
|
|
@ -106,17 +106,21 @@ export function analyzeError(
|
|||
const lowerParsedError = parsedError.toLowerCase();
|
||||
const errorText = lowerMessage + " " + lowerParsedError;
|
||||
|
||||
// OpenAI organization verification error
|
||||
// OpenAI organization verification error (reasoning summaries or streaming)
|
||||
const isOpenAI =
|
||||
errorText.includes("openai") ||
|
||||
(providerName ?? "").toLowerCase().includes("openai");
|
||||
if (
|
||||
errorText.includes("openai") &&
|
||||
errorText.includes(
|
||||
isOpenAI &&
|
||||
(errorText.includes(
|
||||
"organization must be verified to generate reasoning summaries",
|
||||
)
|
||||
) ||
|
||||
errorText.includes("organization must be verified to stream"))
|
||||
) {
|
||||
helpUrl =
|
||||
"https://help.openai.com/en/articles/10910291-api-organization-verification";
|
||||
customErrorMessage =
|
||||
"Your OpenAI organization must be verified to use reasoning models. Visit the help page to learn how to verify your organization.";
|
||||
"Your OpenAI organization must be verified for this feature. To avoid this, add `useResponsesApi: false` to your model config to use the /chat/completions endpoint instead, or verify your organization via the help page.";
|
||||
}
|
||||
|
||||
// Invalid API key detection
|
||||
|
|
@ -138,6 +142,22 @@ export function analyzeError(
|
|||
}
|
||||
}
|
||||
|
||||
// Missing authentication header (no API key configured)
|
||||
if (errorText.includes("missing bearer or basic authentication")) {
|
||||
helpUrl = "https://docs.continue.dev/reference#models";
|
||||
customErrorMessage =
|
||||
'No API key was sent with the request. Add "apiKey" to your model config.';
|
||||
}
|
||||
|
||||
// Ollama tool call parsing failure (transient model output issue)
|
||||
if (errorText.includes("error parsing tool call")) {
|
||||
customErrorMessage =
|
||||
"This model produced an invalid tool call that Ollama could not parse. " +
|
||||
"This is a known transient issue — you can resubmit your message to try again. " +
|
||||
'Enabling "Only use system message tools" in Settings > Experimental ' +
|
||||
"may reduce these errors by avoiding Ollama's native tool call parser.";
|
||||
}
|
||||
|
||||
// 402 Insufficient Balance
|
||||
if (statusCode === 402 || errorText.includes("insufficient balance")) {
|
||||
const providerLabel = providerName || "your provider";
|
||||
|
|
|
|||
60
package-lock.json
generated
60
package-lock.json
generated
|
|
@ -143,9 +143,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@eslint/eslintrc/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
@ -193,9 +193,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@humanwhocodes/config-array/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
@ -453,9 +453,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/ajv": {
|
||||
"version": "6.12.6",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
|
||||
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
|
||||
"version": "6.14.0",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
|
||||
"integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -1484,9 +1484,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint-plugin-import/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
@ -1561,9 +1561,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/eslint/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
@ -2018,9 +2018,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/glob/node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"version": "3.1.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
|
||||
"integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
@ -3181,12 +3181,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "9.0.5",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
||||
"version": "9.0.9",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz",
|
||||
"integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
"brace-expansion": "^2.0.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
|
|
@ -3490,9 +3491,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
||||
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -4670,9 +4671,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz",
|
||||
"integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
||||
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
|
|
@ -4680,6 +4681,9 @@
|
|||
},
|
||||
"engines": {
|
||||
"node": ">= 14.6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/eemeli"
|
||||
}
|
||||
},
|
||||
"node_modules/yargs": {
|
||||
|
|
|
|||
7836
packages/config-yaml/package-lock.json
generated
7836
packages/config-yaml/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -38,7 +38,10 @@
|
|||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^9.2.6",
|
||||
"@semantic-release/npm": "^10.0.6",
|
||||
"semantic-release": "^21.1.2"
|
||||
"@semantic-release/npm": "^13.1.5",
|
||||
"semantic-release": "^24.2.7"
|
||||
},
|
||||
"overrides": {
|
||||
"picomatch": "^4.0.4"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ export class BlockDuplicationDetector {
|
|||
}
|
||||
|
||||
private isContextDuplicated(context: any): boolean {
|
||||
return this.check(context.provider, "context");
|
||||
const key = context.name ?? context.params?.title ?? context.provider;
|
||||
return this.check(key, "context");
|
||||
}
|
||||
|
||||
private isCommonBlockDuplicated(block: any, blockType: BlockType): boolean {
|
||||
|
|
|
|||
|
|
@ -205,15 +205,15 @@ describe("mergeUnrolledAssistants", () => {
|
|||
expect(result.models?.[0]?.model).toBe("gpt-4");
|
||||
});
|
||||
|
||||
it("should deduplicate context by provider", () => {
|
||||
it("should deduplicate context by name when present", () => {
|
||||
const base = createBaseConfig();
|
||||
const incoming: AssistantUnrolled = {
|
||||
name: "Incoming Assistant",
|
||||
version: "1.1.0",
|
||||
context: [
|
||||
{
|
||||
name: "file-context", // Different name but same provider
|
||||
provider: "file", // Same provider as base
|
||||
name: "file-context",
|
||||
provider: "file",
|
||||
},
|
||||
{
|
||||
name: "terminal",
|
||||
|
|
@ -224,14 +224,60 @@ describe("mergeUnrolledAssistants", () => {
|
|||
|
||||
const result = mergeUnrolledAssistants(base, incoming);
|
||||
|
||||
// Should only have 2 context providers (incoming file and incoming terminal)
|
||||
expect(result.context).toHaveLength(2);
|
||||
// Base has unnamed file provider, incoming has named "file-context" — different keys, both kept
|
||||
expect(result.context).toHaveLength(3);
|
||||
expect(result.context?.map((c) => c?.provider)).toEqual([
|
||||
"file",
|
||||
"terminal",
|
||||
"file",
|
||||
]);
|
||||
});
|
||||
|
||||
it("should keep multiple context providers of the same type with different params.title", () => {
|
||||
const base: AssistantUnrolled = {
|
||||
name: "Base Assistant",
|
||||
version: "1.0.0",
|
||||
};
|
||||
const incoming: AssistantUnrolled = {
|
||||
name: "Incoming Assistant",
|
||||
version: "1.1.0",
|
||||
context: [
|
||||
{
|
||||
provider: "http",
|
||||
params: {
|
||||
url: "http://localhost:5000/context",
|
||||
title: "http-provider-5000",
|
||||
displayTitle: "HTTP Provider 5000",
|
||||
},
|
||||
},
|
||||
{
|
||||
provider: "http",
|
||||
params: {
|
||||
url: "http://localhost:5001/context",
|
||||
title: "http-provider-5001",
|
||||
displayTitle: "HTTP Provider 5001",
|
||||
},
|
||||
},
|
||||
{
|
||||
provider: "http",
|
||||
params: {
|
||||
url: "http://localhost:5002/context",
|
||||
title: "http-provider-5002",
|
||||
displayTitle: "HTTP Provider 5002",
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
const result = mergeUnrolledAssistants(base, incoming);
|
||||
|
||||
// All three HTTP providers should be kept since they have different params.title
|
||||
expect(result.context).toHaveLength(3);
|
||||
expect(result.context?.map((c) => c?.params?.title)).toEqual([
|
||||
"http-provider-5000",
|
||||
"http-provider-5001",
|
||||
"http-provider-5002",
|
||||
]);
|
||||
// Should keep the incoming version of file provider (base version filtered as duplicate)
|
||||
expect(result.context?.[0]?.name).toBe("file-context");
|
||||
});
|
||||
|
||||
it("should deduplicate rules by name", () => {
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ const baseModelFields = {
|
|||
chatOptions: chatOptionsSchema.optional(),
|
||||
promptTemplates: promptTemplatesSchema.optional(),
|
||||
useLegacyCompletionsEndpoint: z.boolean().optional(),
|
||||
useResponsesApi: z.boolean().optional(),
|
||||
env: z
|
||||
.record(z.string(), z.union([z.string(), z.boolean(), z.number()]))
|
||||
.optional(),
|
||||
|
|
|
|||
147
packages/continue-sdk/package-lock.json
generated
147
packages/continue-sdk/package-lock.json
generated
|
|
@ -429,30 +429,32 @@
|
|||
}
|
||||
},
|
||||
"node_modules/basic-ftp": {
|
||||
"version": "5.0.5",
|
||||
"resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.0.5.tgz",
|
||||
"integrity": "sha512-4Bcg1P8xhUuqcii/S0Z9wiHIrQVPMermM1any+MX5GeGD7faD3/msQUDGLol9wOcz4/jbg/WJnGqoJF6LiBdtg==",
|
||||
"version": "5.2.0",
|
||||
"resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.2.0.tgz",
|
||||
"integrity": "sha512-VoMINM2rqJwJgfdHq6RiUudKt2BV+FY5ZFezP/ypmwayk68+NzzAQy4XXLlqsGD4MCzq3DrmNFD/uUmBJuGoXw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=10.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/body-parser": {
|
||||
"version": "1.20.3",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
|
||||
"integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
|
||||
"version": "1.20.4",
|
||||
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz",
|
||||
"integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bytes": "3.1.2",
|
||||
"bytes": "~3.1.2",
|
||||
"content-type": "~1.0.5",
|
||||
"debug": "2.6.9",
|
||||
"depd": "2.0.0",
|
||||
"destroy": "1.2.0",
|
||||
"http-errors": "2.0.0",
|
||||
"iconv-lite": "0.4.24",
|
||||
"on-finished": "2.4.1",
|
||||
"qs": "6.13.0",
|
||||
"raw-body": "2.5.2",
|
||||
"destroy": "~1.2.0",
|
||||
"http-errors": "~2.0.1",
|
||||
"iconv-lite": "~0.4.24",
|
||||
"on-finished": "~2.4.1",
|
||||
"qs": "~6.14.0",
|
||||
"raw-body": "~2.5.3",
|
||||
"type-is": "~1.6.18",
|
||||
"unpipe": "1.0.0"
|
||||
"unpipe": "~1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8",
|
||||
|
|
@ -467,15 +469,44 @@
|
|||
"ms": "2.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/body-parser/node_modules/http-errors": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
|
||||
"integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"depd": "~2.0.0",
|
||||
"inherits": "~2.0.4",
|
||||
"setprototypeof": "~1.2.0",
|
||||
"statuses": "~2.0.2",
|
||||
"toidentifier": "~1.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/express"
|
||||
}
|
||||
},
|
||||
"node_modules/body-parser/node_modules/ms": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
|
||||
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
|
||||
},
|
||||
"node_modules/body-parser/node_modules/statuses": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
|
||||
"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/brace-expansion": {
|
||||
"version": "5.0.4",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.4.tgz",
|
||||
"integrity": "sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==",
|
||||
"version": "5.0.5",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
|
||||
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"balanced-match": "^4.0.2"
|
||||
|
|
@ -488,6 +519,7 @@
|
|||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
|
||||
"integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
|
|
@ -1029,21 +1061,6 @@
|
|||
"resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz",
|
||||
"integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ=="
|
||||
},
|
||||
"node_modules/express/node_modules/qs": {
|
||||
"version": "6.14.1",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
|
||||
"integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"side-channel": "^1.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/ljharb"
|
||||
}
|
||||
},
|
||||
"node_modules/fast-safe-stringify": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz",
|
||||
|
|
@ -1366,6 +1383,7 @@
|
|||
"version": "0.4.24",
|
||||
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
|
||||
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"safer-buffer": ">= 2.1.2 < 3"
|
||||
},
|
||||
|
|
@ -1746,11 +1764,12 @@
|
|||
"integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
|
||||
},
|
||||
"node_modules/qs": {
|
||||
"version": "6.13.0",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
|
||||
"integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
|
||||
"version": "6.14.2",
|
||||
"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.2.tgz",
|
||||
"integrity": "sha512-V/yCWTTF7VJ9hIh18Ugr2zhJMP01MY7c5kh4J870L7imm6/DIzBsNLTXzMwUA3yZ5b/KBqLx8Kp3uRvd7xSe3Q==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"side-channel": "^1.0.6"
|
||||
"side-channel": "^1.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.6"
|
||||
|
|
@ -1768,19 +1787,49 @@
|
|||
}
|
||||
},
|
||||
"node_modules/raw-body": {
|
||||
"version": "2.5.2",
|
||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
|
||||
"integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
|
||||
"version": "2.5.3",
|
||||
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
|
||||
"integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"bytes": "3.1.2",
|
||||
"http-errors": "2.0.0",
|
||||
"iconv-lite": "0.4.24",
|
||||
"unpipe": "1.0.0"
|
||||
"bytes": "~3.1.2",
|
||||
"http-errors": "~2.0.1",
|
||||
"iconv-lite": "~0.4.24",
|
||||
"unpipe": "~1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/raw-body/node_modules/http-errors": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
|
||||
"integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"depd": "~2.0.0",
|
||||
"inherits": "~2.0.4",
|
||||
"setprototypeof": "~1.2.0",
|
||||
"statuses": "~2.0.2",
|
||||
"toidentifier": "~1.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
},
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/express"
|
||||
}
|
||||
},
|
||||
"node_modules/raw-body/node_modules/statuses": {
|
||||
"version": "2.0.2",
|
||||
"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
|
||||
"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">= 0.8"
|
||||
}
|
||||
},
|
||||
"node_modules/reflect-metadata": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.2.2.tgz",
|
||||
|
|
@ -1836,7 +1885,8 @@
|
|||
"node_modules/safer-buffer": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
|
||||
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/send": {
|
||||
"version": "0.19.0",
|
||||
|
|
@ -2318,15 +2368,18 @@
|
|||
}
|
||||
},
|
||||
"node_modules/yaml": {
|
||||
"version": "2.8.1",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz",
|
||||
"integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==",
|
||||
"version": "2.8.3",
|
||||
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",
|
||||
"integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",
|
||||
"license": "ISC",
|
||||
"bin": {
|
||||
"yaml": "bin.mjs"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.6"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/eemeli"
|
||||
}
|
||||
},
|
||||
"node_modules/yargs": {
|
||||
|
|
|
|||
|
|
@ -3566,9 +3566,9 @@
|
|||
"license": "ISC"
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
||||
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
|
|||
7708
packages/fetch/package-lock.json
generated
7708
packages/fetch/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -25,7 +25,10 @@
|
|||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^9.2.6",
|
||||
"@semantic-release/npm": "^10.0.6",
|
||||
"semantic-release": "^21.1.2"
|
||||
"@semantic-release/npm": "^13.1.5",
|
||||
"semantic-release": "^24.2.7"
|
||||
},
|
||||
"overrides": {
|
||||
"picomatch": "^4.0.4"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
7886
packages/llm-info/package-lock.json
generated
7886
packages/llm-info/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -17,7 +17,10 @@
|
|||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^9.2.6",
|
||||
"@semantic-release/npm": "^10.0.6",
|
||||
"semantic-release": "^21.1.2"
|
||||
"@semantic-release/npm": "^13.1.5",
|
||||
"semantic-release": "^24.2.7"
|
||||
},
|
||||
"overrides": {
|
||||
"picomatch": "^4.0.4"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
10994
packages/openai-adapters/package-lock.json
generated
10994
packages/openai-adapters/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -38,7 +38,7 @@
|
|||
"@semantic-release/commit-analyzer": "^13.0.1",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^11.0.3",
|
||||
"@semantic-release/npm": "^12.0.2",
|
||||
"@semantic-release/npm": "^13.1.5",
|
||||
"@semantic-release/release-notes-generator": "^14.0.3",
|
||||
"@types/follow-redirects": "^1.14.4",
|
||||
"@types/jest": "^29.5.14",
|
||||
|
|
@ -49,5 +49,8 @@
|
|||
"ts-jest": "^29.2.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
"overrides": {
|
||||
"picomatch": "^4.0.4"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,11 @@ const PROVIDER_MAP: Record<string, AiSdkProviderCreator> = {
|
|||
...options,
|
||||
baseURL: options.baseURL ?? "https://openrouter.ai/api/v1/",
|
||||
}),
|
||||
clawrouter: (options) =>
|
||||
createOpenAI({
|
||||
...options,
|
||||
baseURL: options.baseURL ?? "http://localhost:1337/v1/",
|
||||
}),
|
||||
};
|
||||
|
||||
export class AiSdkApi implements BaseLlmApi {
|
||||
|
|
|
|||
42
packages/openai-adapters/src/apis/ClawRouter.test.ts
Normal file
42
packages/openai-adapters/src/apis/ClawRouter.test.ts
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { ClawRouterApi } from "./ClawRouter.js";
|
||||
|
||||
describe("ClawRouterApi", () => {
|
||||
const baseConfig = {
|
||||
provider: "clawrouter" as const,
|
||||
};
|
||||
|
||||
it("should use default apiBase when not provided", () => {
|
||||
const api = new ClawRouterApi(baseConfig);
|
||||
expect(api["config"].apiBase).toBe("http://localhost:1337/v1/");
|
||||
});
|
||||
|
||||
it("should allow custom apiBase", () => {
|
||||
const api = new ClawRouterApi({
|
||||
...baseConfig,
|
||||
apiBase: "http://custom:8080/v1/",
|
||||
});
|
||||
expect(api["config"].apiBase).toBe("http://custom:8080/v1/");
|
||||
});
|
||||
|
||||
it("should include Continue headers", () => {
|
||||
const api = new ClawRouterApi(baseConfig);
|
||||
const headers = api["getHeaders"]();
|
||||
|
||||
expect(headers["User-Agent"]).toBe("Continue/IDE");
|
||||
expect(headers["X-Continue-Provider"]).toBe("clawrouter");
|
||||
});
|
||||
|
||||
it("should include standard OpenAI headers", () => {
|
||||
const api = new ClawRouterApi({
|
||||
...baseConfig,
|
||||
apiKey: "test-key",
|
||||
});
|
||||
const headers = api["getHeaders"]();
|
||||
|
||||
expect(headers["Content-Type"]).toBe("application/json");
|
||||
expect(headers["Accept"]).toBe("application/json");
|
||||
expect(headers["Authorization"]).toBe("Bearer test-key");
|
||||
});
|
||||
});
|
||||
42
packages/openai-adapters/src/apis/ClawRouter.ts
Normal file
42
packages/openai-adapters/src/apis/ClawRouter.ts
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
import { OpenAIApi } from "./OpenAI.js";
|
||||
import { OpenAIConfig } from "../types.js";
|
||||
|
||||
export interface ClawRouterConfig extends OpenAIConfig {}
|
||||
|
||||
/**
|
||||
* ClawRouter API adapter
|
||||
*
|
||||
* ClawRouter is an open-source LLM router that automatically selects the
|
||||
* cheapest capable model for each request based on prompt complexity,
|
||||
* providing 78-96% cost savings on blended inference costs.
|
||||
*
|
||||
* Features:
|
||||
* - 15-dimension prompt complexity scoring
|
||||
* - Automatic model selection (cheap → capable based on task)
|
||||
* - OpenAI-compatible API at localhost:1337
|
||||
* - Support for multiple routing tiers (auto, free, eco)
|
||||
*
|
||||
* @see https://github.com/BlockRunAI/ClawRouter
|
||||
*/
|
||||
export class ClawRouterApi extends OpenAIApi {
|
||||
constructor(config: ClawRouterConfig) {
|
||||
super({
|
||||
...config,
|
||||
apiBase: config.apiBase ?? "http://localhost:1337/v1/",
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Override headers to include Continue-specific User-Agent
|
||||
* This helps ClawRouter track integration usage and optimize accordingly
|
||||
*/
|
||||
protected override getHeaders(): Record<string, string> {
|
||||
return {
|
||||
...super.getHeaders(),
|
||||
"User-Agent": "Continue/IDE",
|
||||
"X-Continue-Provider": "clawrouter",
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default ClawRouterApi;
|
||||
|
|
@ -54,6 +54,16 @@ export class OpenAIApi implements BaseLlmApi {
|
|||
(body as any).stream_options = { include_usage: true };
|
||||
}
|
||||
|
||||
// DeepSeek reasoner models use max_completion_tokens instead of max_tokens
|
||||
if (
|
||||
body.max_tokens &&
|
||||
(this.apiBase?.includes("api.deepseek.com") ||
|
||||
body.model.includes("deepseek-reasoner"))
|
||||
) {
|
||||
body.max_completion_tokens = body.max_tokens;
|
||||
body.max_tokens = undefined;
|
||||
}
|
||||
|
||||
// o-series models - only apply for official OpenAI API
|
||||
const isOfficialOpenAIAPI = this.apiBase === "https://api.openai.com/v1/";
|
||||
if (isOfficialOpenAIAPI) {
|
||||
|
|
@ -78,6 +88,9 @@ export class OpenAIApi implements BaseLlmApi {
|
|||
}
|
||||
|
||||
protected shouldUseResponsesEndpoint(model: string): boolean {
|
||||
if (this.config.useResponsesApi === false) {
|
||||
return false;
|
||||
}
|
||||
const isOfficialOpenAIAPI = this.apiBase === "https://api.openai.com/v1/";
|
||||
return isOfficialOpenAIAPI && isResponsesModel(model);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,11 +8,25 @@ export interface OpenRouterConfig extends OpenAIConfig {
|
|||
cachingStrategy?: import("./AnthropicCachingStrategies.js").CachingStrategyName;
|
||||
}
|
||||
|
||||
// TODO: Extract detailed error info from OpenRouter's error.metadata.raw to surface better messages
|
||||
|
||||
const OPENROUTER_HEADERS: Record<string, string> = {
|
||||
"HTTP-Referer": "https://www.continue.dev/",
|
||||
"X-Title": "Continue",
|
||||
};
|
||||
|
||||
export class OpenRouterApi extends OpenAIApi {
|
||||
constructor(config: OpenRouterConfig) {
|
||||
super({
|
||||
...config,
|
||||
apiBase: config.apiBase ?? "https://openrouter.ai/api/v1/",
|
||||
requestOptions: {
|
||||
...config.requestOptions,
|
||||
headers: {
|
||||
...OPENROUTER_HEADERS,
|
||||
...config.requestOptions?.headers,
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ import { MockApi } from "./apis/Mock.js";
|
|||
import { MoonshotApi } from "./apis/Moonshot.js";
|
||||
import { OpenAIApi } from "./apis/OpenAI.js";
|
||||
import { OpenRouterApi } from "./apis/OpenRouter.js";
|
||||
import { ClawRouterApi } from "./apis/ClawRouter.js";
|
||||
import { RelaceApi } from "./apis/Relace.js";
|
||||
import { VertexAIApi } from "./apis/VertexAI.js";
|
||||
import { WatsonXApi } from "./apis/WatsonX.js";
|
||||
|
|
@ -177,6 +178,8 @@ export function constructLlmApi(config: LLMConfig): BaseLlmApi | undefined {
|
|||
return openAICompatible("https://api.tensorix.ai/v1/", config);
|
||||
case "openrouter":
|
||||
return new OpenRouterApi(config);
|
||||
case "clawrouter":
|
||||
return new ClawRouterApi(config);
|
||||
case "llama.cpp":
|
||||
case "llamafile":
|
||||
return openAICompatible("http://localhost:8000/", config);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,10 @@ describe("convertVercelStreamPart", () => {
|
|||
const result = convertVercelStreamPart(part, options);
|
||||
|
||||
expect(result).not.toBeNull();
|
||||
expect(result?.choices[0].delta.content).toBe("Let me think...");
|
||||
expect((result?.choices[0].delta as any).reasoning_content).toBe(
|
||||
"Let me think...",
|
||||
);
|
||||
expect(result?.choices[0].delta.content).toBeUndefined();
|
||||
});
|
||||
|
||||
test("returns null for tool-call without thoughtSignature", () => {
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ export const BasePlusConfig = BaseConfig.extend({
|
|||
|
||||
// OpenAI and compatible
|
||||
export const OpenAIConfigSchema = BasePlusConfig.extend({
|
||||
useResponsesApi: z.boolean().optional(),
|
||||
provider: z.union([
|
||||
z.literal("openai"),
|
||||
z.literal("mistral"),
|
||||
|
|
@ -51,6 +52,7 @@ export const OpenAIConfigSchema = BasePlusConfig.extend({
|
|||
z.literal("kindo"),
|
||||
z.literal("msty"),
|
||||
z.literal("openrouter"),
|
||||
z.literal("clawrouter"),
|
||||
z.literal("sambanova"),
|
||||
z.literal("text-gen-webui"),
|
||||
z.literal("vllm"),
|
||||
|
|
|
|||
|
|
@ -94,8 +94,13 @@ export function convertVercelStreamPart(
|
|||
});
|
||||
|
||||
case "reasoning-delta":
|
||||
return chatChunk({
|
||||
content: part.text,
|
||||
return chatChunkFromDelta({
|
||||
delta: {
|
||||
role: "assistant",
|
||||
reasoning_content: part.text,
|
||||
} as ChatCompletionChunk.Choice["delta"] & {
|
||||
reasoning_content?: string;
|
||||
},
|
||||
model,
|
||||
});
|
||||
|
||||
|
|
|
|||
464
packages/terminal-security/package-lock.json
generated
464
packages/terminal-security/package-lock.json
generated
|
|
@ -19,9 +19,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/aix-ppc64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.9.tgz",
|
||||
"integrity": "sha512-OaGtL73Jck6pBKjNIe24BnFE6agGl+6KxDtTfHhy1HmhthfKouEcOhqpSL64K4/0WCtbKFLOdzD/44cJ4k9opA==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.4.tgz",
|
||||
"integrity": "sha512-cQPwL2mp2nSmHHJlCyoXgHGhbEPMrEEU5xhkcy3Hs/O7nGZqEpZ2sUtLaL9MORLtDfRvVl2/3PAuEkYZH0Ty8Q==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
|
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-arm": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.9.tgz",
|
||||
"integrity": "sha512-5WNI1DaMtxQ7t7B6xa572XMXpHAaI/9Hnhk8lcxF4zVN4xstUgTlvuGDorBguKEnZO70qwEcLpfifMLoxiPqHQ==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.4.tgz",
|
||||
"integrity": "sha512-X9bUgvxiC8CHAGKYufLIHGXPJWnr0OCdR0anD2e21vdvgCI8lIfqFbnoeOz7lBjdrAGUhqLZLcQo6MLhTO2DKQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -53,9 +53,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-IDrddSmpSv51ftWslJMvl3Q2ZT98fUSL2/rlUXuVqRXHCs5EUF1/f+jbjF5+NG9UffUDMCiTyh8iec7u8RlTLg==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-gdLscB7v75wRfu7QSm/zg6Rx29VLdy9eTr2t44sfTW7CxwAtQghZ4ZnqHk3/ogz7xao0QAgrkradbBzcqFPasw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -70,9 +70,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/android-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-I853iMZ1hWZdNllhVZKm34f4wErd4lMyeV7BLzEExGEIZYsOzqDWDf+y082izYUE8gtJnYHdeDpN/6tUdwvfiw==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-PzPFnBNVF292sfpfhiyiXCGSn9HZg5BcAz+ivBuSsl6Rk4ga1oEXAamhOXRFyMcjwr2DVtm40G65N3GLeH1Lvw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -87,9 +87,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/darwin-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-XIpIDMAjOELi/9PB30vEbVMs3GV1v2zkkPnuyRRURbhqjyzIINwj+nbQATh4H9GxUgH1kFsEyQMxwiLFKUS6Rg==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-b7xaGIwdJlht8ZFCvMkpDN6uiSmnxxK56N2GDTMYPr2/gzvfdQN8rTfBsvVKmIVY/X7EM+/hJKEIbbHs9oA4tQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -104,9 +104,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/darwin-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-jhHfBzjYTA1IQu8VyrjCX4ApJDnH+ez+IYVEoJHeqJm9VhG9Dh2BYaJritkYK3vMaXrf7Ogr/0MQ8/MeIefsPQ==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-sR+OiKLwd15nmCdqpXMnuJ9W2kpy0KigzqScqHI3Hqwr7IXxBp3Yva+yJwoqh7rE8V77tdoheRYataNKL4QrPw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -121,9 +121,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/freebsd-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-z93DmbnY6fX9+KdD4Ue/H6sYs+bhFQJNCPZsi4XWJoYblUqT06MQUdBCpcSfuiN72AbqeBFu5LVQTjfXDE2A6Q==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-jnfpKe+p79tCnm4GVav68A7tUFeKQwQyLgESwEAUzyxk/TJr4QdGog9sqWNcUbr/bZt/O/HXouspuQDd9JxFSw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -138,9 +138,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/freebsd-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-mrKX6H/vOyo5v71YfXWJxLVxgy1kyt1MQaD8wZJgJfG4gq4DpQGpgTB74e5yBeQdyMTbgxp0YtNj7NuHN0PoZg==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-2kb4ceA/CpfUrIcTUl1wrP/9ad9Atrp5J94Lq69w7UwOMolPIGrfLSvAKJp0RTvkPPyn6CIWrNy13kyLikZRZQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -155,9 +155,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-arm": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.9.tgz",
|
||||
"integrity": "sha512-HBU2Xv78SMgaydBmdor38lg8YDnFKSARg1Q6AT0/y2ezUAKiZvc211RDFHlEZRFNRVhcMamiToo7bDx3VEOYQw==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.4.tgz",
|
||||
"integrity": "sha512-aBYgcIxX/wd5n2ys0yESGeYMGF+pv6g0DhZr3G1ZG4jMfruU9Tl1i2Z+Wnj9/KjGz1lTLCcorqE2viePZqj4Eg==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -172,9 +172,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-BlB7bIcLT3G26urh5Dmse7fiLmLXnRlopw4s8DalgZ8ef79Jj4aUcYbk90g8iCa2467HX8SAIidbL7gsqXHdRw==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-7nQOttdzVGth1iz57kxg9uCz57dxQLHWxopL6mYuYthohPKEK0vU0C3O21CcBK6KDlkYVcnDXY099HcCDXd9dA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -189,9 +189,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-ia32": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.9.tgz",
|
||||
"integrity": "sha512-e7S3MOJPZGp2QW6AK6+Ly81rC7oOSerQ+P8L0ta4FhVi+/j/v2yZzx5CqqDaWjtPFfYz21Vi1S0auHrap3Ma3A==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.4.tgz",
|
||||
"integrity": "sha512-oPtixtAIzgvzYcKBQM/qZ3R+9TEUd1aNJQu0HhGyqtx6oS7qTpvjheIWBbes4+qu1bNlo2V4cbkISr8q6gRBFA==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
|
|
@ -206,9 +206,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-loong64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.9.tgz",
|
||||
"integrity": "sha512-Sbe10Bnn0oUAB2AalYztvGcK+o6YFFA/9829PhOCUS9vkJElXGdphz0A3DbMdP8gmKkqPmPcMJmJOrI3VYB1JQ==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.4.tgz",
|
||||
"integrity": "sha512-8mL/vh8qeCoRcFH2nM8wm5uJP+ZcVYGGayMavi8GmRJjuI3g1v6Z7Ni0JJKAJW+m0EtUuARb6Lmp4hMjzCBWzA==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
|
|
@ -223,9 +223,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-mips64el": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.9.tgz",
|
||||
"integrity": "sha512-YcM5br0mVyZw2jcQeLIkhWtKPeVfAerES5PvOzaDxVtIyZ2NUBZKNLjC5z3/fUlDgT6w89VsxP2qzNipOaaDyA==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.4.tgz",
|
||||
"integrity": "sha512-1RdrWFFiiLIW7LQq9Q2NES+HiD4NyT8Itj9AUeCl0IVCA459WnPhREKgwrpaIfTOe+/2rdntisegiPWn/r/aAw==",
|
||||
"cpu": [
|
||||
"mips64el"
|
||||
],
|
||||
|
|
@ -240,9 +240,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-ppc64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.9.tgz",
|
||||
"integrity": "sha512-++0HQvasdo20JytyDpFvQtNrEsAgNG2CY1CLMwGXfFTKGBGQT3bOeLSYE2l1fYdvML5KUuwn9Z8L1EWe2tzs1w==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.4.tgz",
|
||||
"integrity": "sha512-tLCwNG47l3sd9lpfyx9LAGEGItCUeRCWeAx6x2Jmbav65nAwoPXfewtAdtbtit/pJFLUWOhpv0FpS6GQAmPrHA==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
|
|
@ -257,9 +257,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-riscv64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.9.tgz",
|
||||
"integrity": "sha512-uNIBa279Y3fkjV+2cUjx36xkx7eSjb8IvnL01eXUKXez/CBHNRw5ekCGMPM0BcmqBxBcdgUWuUXmVWwm4CH9kg==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.4.tgz",
|
||||
"integrity": "sha512-BnASypppbUWyqjd1KIpU4AUBiIhVr6YlHx/cnPgqEkNoVOhHg+YiSVxM1RLfiy4t9cAulbRGTNCKOcqHrEQLIw==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
|
|
@ -274,9 +274,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-s390x": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.9.tgz",
|
||||
"integrity": "sha512-Mfiphvp3MjC/lctb+7D287Xw1DGzqJPb/J2aHHcHxflUo+8tmN/6d4k6I2yFR7BVo5/g7x2Monq4+Yew0EHRIA==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.4.tgz",
|
||||
"integrity": "sha512-+eUqgb/Z7vxVLezG8bVB9SfBie89gMueS+I0xYh2tJdw3vqA/0ImZJ2ROeWwVJN59ihBeZ7Tu92dF/5dy5FttA==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
|
|
@ -291,9 +291,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/linux-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-iSwByxzRe48YVkmpbgoxVzn76BXjlYFXC7NvLYq+b+kDjyyk30J0JY47DIn8z1MO3K0oSl9fZoRmZPQI4Hklzg==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-S5qOXrKV8BQEzJPVxAwnryi2+Iq5pB40gTEIT69BQONqR7JH1EPIcQ/Uiv9mCnn05jff9umq/5nqzxlqTOg9NA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -308,9 +308,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/netbsd-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-9jNJl6FqaUG+COdQMjSCGW4QiMHH88xWbvZ+kRVblZsWrkXlABuGdFJ1E9L7HK+T0Yqd4akKNa/lO0+jDxQD4Q==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-xHT8X4sb0GS8qTqiwzHqpY00C95DPAq7nAwX35Ie/s+LO9830hrMd3oX0ZMKLvy7vsonee73x0lmcdOVXFzd6Q==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -325,9 +325,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/netbsd-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-RLLdkflmqRG8KanPGOU7Rpg829ZHu8nFy5Pqdi9U01VYtG9Y0zOG6Vr2z4/S+/3zIyOxiK6cCeYNWOFR9QP87g==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-RugOvOdXfdyi5Tyv40kgQnI0byv66BFgAqjdgtAKqHoZTbTF2QqfQrFwa7cHEORJf6X2ht+l9ABLMP0dnKYsgg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -342,9 +342,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/openbsd-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-YaFBlPGeDasft5IIM+CQAhJAqS3St3nJzDEgsgFixcfZeyGPCd6eJBWzke5piZuZ7CtL656eOSYKk4Ls2C0FRQ==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-2MyL3IAaTX+1/qP0O1SwskwcwCoOI4kV2IBX1xYnDDqthmq5ArrW94qSIKCAuRraMgPOmG0RDTA74mzYNQA9ow==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -359,9 +359,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/openbsd-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-1MkgTCuvMGWuqVtAvkpkXFmtL8XhWy+j4jaSO2wxfJtilVCi0ZE37b8uOdMItIHz4I6z1bWWtEX4CJwcKYLcuA==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-u8fg/jQ5aQDfsnIV6+KwLOf1CmJnfu1ShpwqdwC0uA7ZPwFws55Ngc12vBdeUdnuWoQYx/SOQLGDcdlfXhYmXQ==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -376,9 +376,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/openharmony-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-4Xd0xNiMVXKh6Fa7HEJQbrpP3m3DDn43jKxMjxLLRjWnRsfxjORYJlXPO4JNcXtOyfajXorRKY9NkOpTHptErg==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-JkTZrl6VbyO8lDQO3yv26nNr2RM2yZzNrNHEsj9bm6dOwwu9OYN28CjzZkH57bh4w0I2F7IodpQvUAEd1mbWXg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -393,9 +393,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/sunos-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-WjH4s6hzo00nNezhp3wFIAfmGZ8U7KtrJNlFMRKxiI9mxEK1scOMAaa9i4crUtu+tBr+0IN6JCuAcSBJZfnphw==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-/gOzgaewZJfeJTlsWhvUEmUG4tWEY2Spp5M20INYRg2ZKl9QPO3QEEgPeRtLjEWSW8FilRNacPOg8R1uaYkA6g==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -410,9 +410,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/win32-arm64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.9.tgz",
|
||||
"integrity": "sha512-mGFrVJHmZiRqmP8xFOc6b84/7xa5y5YvR1x8djzXpJBSv/UsNK6aqec+6JDjConTgvvQefdGhFDAs2DLAds6gQ==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.4.tgz",
|
||||
"integrity": "sha512-Z9SExBg2y32smoDQdf1HRwHRt6vAHLXcxD2uGgO/v2jK7Y718Ix4ndsbNMU/+1Qiem9OiOdaqitioZwxivhXYg==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -427,9 +427,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/win32-ia32": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.9.tgz",
|
||||
"integrity": "sha512-b33gLVU2k11nVx1OhX3C8QQP6UHQK4ZtN56oFWvVXvz2VkDoe6fbG8TOgHFxEvqeqohmRnIHe5A1+HADk4OQww==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.4.tgz",
|
||||
"integrity": "sha512-DAyGLS0Jz5G5iixEbMHi5KdiApqHBWMGzTtMiJ72ZOLhbu/bzxgAe8Ue8CTS3n3HbIUHQz/L51yMdGMeoxXNJw==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
|
|
@ -444,9 +444,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@esbuild/win32-x64": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.9.tgz",
|
||||
"integrity": "sha512-PPOl1mi6lpLNQxnGoyAfschAodRFYXJ+9fs6WHXz7CSWKbOqiMZsubC+BQsVKuul+3vKLuwTHsS2c2y9EoKwxQ==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.4.tgz",
|
||||
"integrity": "sha512-+knoa0BDoeXgkNvvV1vvbZX4+hizelrkwmGJBdT17t8FNPwG2lKemmuMZlmaNQ3ws3DKKCxpb4zRZEIp3UxFCg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -468,9 +468,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@rollup/rollup-android-arm-eabi": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.50.0.tgz",
|
||||
"integrity": "sha512-lVgpeQyy4fWN5QYebtW4buT/4kn4p4IJ+kDNB4uYNT5b8c8DLJDg6titg20NIg7E8RWwdWZORW6vUFfrLyG3KQ==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.0.tgz",
|
||||
"integrity": "sha512-WOhNW9K8bR3kf4zLxbfg6Pxu2ybOUbB2AjMDHSQx86LIF4rH4Ft7vmMwNt0loO0eonglSNy4cpD3MKXXKQu0/A==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -482,9 +482,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-android-arm64": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.50.0.tgz",
|
||||
"integrity": "sha512-2O73dR4Dc9bp+wSYhviP6sDziurB5/HCym7xILKifWdE9UsOe2FtNcM+I4xZjKrfLJnq5UR8k9riB87gauiQtw==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.0.tgz",
|
||||
"integrity": "sha512-u6JHLll5QKRvjciE78bQXDmqRqNs5M/3GVqZeMwvmjaNODJih/WIrJlFVEihvV0MiYFmd+ZyPr9wxOVbPAG2Iw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -496,9 +496,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-darwin-arm64": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.50.0.tgz",
|
||||
"integrity": "sha512-vwSXQN8T4sKf1RHr1F0s98Pf8UPz7pS6P3LG9NSmuw0TVh7EmaE+5Ny7hJOZ0M2yuTctEsHHRTMi2wuHkdS6Hg==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.0.tgz",
|
||||
"integrity": "sha512-qEF7CsKKzSRc20Ciu2Zw1wRrBz4g56F7r/vRwY430UPp/nt1x21Q/fpJ9N5l47WWvJlkNCPJz3QRVw008fi7yA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -510,9 +510,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-darwin-x64": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.50.0.tgz",
|
||||
"integrity": "sha512-cQp/WG8HE7BCGyFVuzUg0FNmupxC+EPZEwWu2FCGGw5WDT1o2/YlENbm5e9SMvfDFR6FRhVCBePLqj0o8MN7Vw==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.0.tgz",
|
||||
"integrity": "sha512-WADYozJ4QCnXCH4wPB+3FuGmDPoFseVCUrANmA5LWwGmC6FL14BWC7pcq+FstOZv3baGX65tZ378uT6WG8ynTw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -524,9 +524,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-freebsd-arm64": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.50.0.tgz",
|
||||
"integrity": "sha512-UR1uTJFU/p801DvvBbtDD7z9mQL8J80xB0bR7DqW7UGQHRm/OaKzp4is7sQSdbt2pjjSS72eAtRh43hNduTnnQ==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.0.tgz",
|
||||
"integrity": "sha512-6b8wGHJlDrGeSE3aH5mGNHBjA0TTkxdoNHik5EkvPHCt351XnigA4pS7Wsj/Eo9Y8RBU6f35cjN9SYmCFBtzxw==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -538,9 +538,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-freebsd-x64": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.50.0.tgz",
|
||||
"integrity": "sha512-G/DKyS6PK0dD0+VEzH/6n/hWDNPDZSMBmqsElWnCRGrYOb2jC0VSupp7UAHHQ4+QILwkxSMaYIbQ72dktp8pKA==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.0.tgz",
|
||||
"integrity": "sha512-h25Ga0t4jaylMB8M/JKAyrvvfxGRjnPQIR8lnCayyzEjEOx2EJIlIiMbhpWxDRKGKF8jbNH01NnN663dH638mA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -552,9 +552,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.50.0.tgz",
|
||||
"integrity": "sha512-u72Mzc6jyJwKjJbZZcIYmd9bumJu7KNmHYdue43vT1rXPm2rITwmPWF0mmPzLm9/vJWxIRbao/jrQmxTO0Sm9w==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.0.tgz",
|
||||
"integrity": "sha512-RzeBwv0B3qtVBWtcuABtSuCzToo2IEAIQrcyB/b2zMvBWVbjo8bZDjACUpnaafaxhTw2W+imQbP2BD1usasK4g==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -566,9 +566,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.50.0.tgz",
|
||||
"integrity": "sha512-S4UefYdV0tnynDJV1mdkNawp0E5Qm2MtSs330IyHgaccOFrwqsvgigUD29uT+B/70PDY1eQ3t40+xf6wIvXJyg==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.0.tgz",
|
||||
"integrity": "sha512-Sf7zusNI2CIU1HLzuu9Tc5YGAHEZs5Lu7N1ssJG4Tkw6e0MEsN7NdjUDDfGNHy2IU+ENyWT+L2obgWiguWibWQ==",
|
||||
"cpu": [
|
||||
"arm"
|
||||
],
|
||||
|
|
@ -580,9 +580,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm64-gnu": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.50.0.tgz",
|
||||
"integrity": "sha512-1EhkSvUQXJsIhk4msxP5nNAUWoB4MFDHhtc4gAYvnqoHlaL9V3F37pNHabndawsfy/Tp7BPiy/aSa6XBYbaD1g==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-DX2x7CMcrJzsE91q7/O02IJQ5/aLkVtYFryqCjduJhUfGKG6yJV8hxaw8pZa93lLEpPTP/ohdN4wFz7yp/ry9A==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -594,9 +594,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-arm64-musl": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.50.0.tgz",
|
||||
"integrity": "sha512-EtBDIZuDtVg75xIPIK1l5vCXNNCIRM0OBPUG+tbApDuJAy9mKago6QxX+tfMzbCI6tXEhMuZuN1+CU8iDW+0UQ==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.0.tgz",
|
||||
"integrity": "sha512-09EL+yFVbJZlhcQfShpswwRZ0Rg+z/CsSELFCnPt3iK+iqwGsI4zht3secj5vLEs957QvFFXnzAT0FFPIxSrkQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -607,10 +607,24 @@
|
|||
"linux"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-loongarch64-gnu": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.50.0.tgz",
|
||||
"integrity": "sha512-BGYSwJdMP0hT5CCmljuSNx7+k+0upweM2M4YGfFBjnFSZMHOLYR0gEEj/dxyYJ6Zc6AiSeaBY8dWOa11GF/ppQ==",
|
||||
"node_modules/@rollup/rollup-linux-loong64-gnu": {
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-i9IcCMPr3EXm8EQg5jnja0Zyc1iFxJjZWlb4wr7U2Wx/GrddOuEafxRdMPRYVaXjgbhvqalp6np07hN1w9kAKw==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-loong64-musl": {
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.0.tgz",
|
||||
"integrity": "sha512-DGzdJK9kyJ+B78MCkWeGnpXJ91tK/iKA6HwHxF4TAlPIY7GXEvMe8hBFRgdrR9Ly4qebR/7gfUs9y2IoaVEyog==",
|
||||
"cpu": [
|
||||
"loong64"
|
||||
],
|
||||
|
|
@ -622,9 +636,23 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.50.0.tgz",
|
||||
"integrity": "sha512-I1gSMzkVe1KzAxKAroCJL30hA4DqSi+wGc5gviD0y3IL/VkvcnAqwBf4RHXHyvH66YVHxpKO8ojrgc4SrWAnLg==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-RwpnLsqC8qbS8z1H1AxBA1H6qknR4YpPR9w2XX0vo2Sz10miu57PkNcnHVaZkbqyw/kUWfKMI73jhmfi9BRMUQ==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"linux"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-ppc64-musl": {
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.0.tgz",
|
||||
"integrity": "sha512-Z8pPf54Ly3aqtdWC3G4rFigZgNvd+qJlOE52fmko3KST9SoGfAdSRCwyoyG05q1HrrAblLbk1/PSIV+80/pxLg==",
|
||||
"cpu": [
|
||||
"ppc64"
|
||||
],
|
||||
|
|
@ -636,9 +664,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.50.0.tgz",
|
||||
"integrity": "sha512-bSbWlY3jZo7molh4tc5dKfeSxkqnf48UsLqYbUhnkdnfgZjgufLS/NTA8PcP/dnvct5CCdNkABJ56CbclMRYCA==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-3a3qQustp3COCGvnP4SvrMHnPQ9d1vzCakQVRTliaz8cIp/wULGjiGpbcqrkv0WrHTEp8bQD/B3HBjzujVWLOA==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
|
|
@ -650,9 +678,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-riscv64-musl": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.50.0.tgz",
|
||||
"integrity": "sha512-LSXSGumSURzEQLT2e4sFqFOv3LWZsEF8FK7AAv9zHZNDdMnUPYH3t8ZlaeYYZyTXnsob3htwTKeWtBIkPV27iQ==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.0.tgz",
|
||||
"integrity": "sha512-pjZDsVH/1VsghMJ2/kAaxt6dL0psT6ZexQVrijczOf+PeP2BUqTHYejk3l6TlPRydggINOeNRhvpLa0AYpCWSQ==",
|
||||
"cpu": [
|
||||
"riscv64"
|
||||
],
|
||||
|
|
@ -664,9 +692,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-s390x-gnu": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.50.0.tgz",
|
||||
"integrity": "sha512-CxRKyakfDrsLXiCyucVfVWVoaPA4oFSpPpDwlMcDFQvrv3XY6KEzMtMZrA+e/goC8xxp2WSOxHQubP8fPmmjOQ==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-3ObQs0BhvPgiUVZrN7gqCSvmFuMWvWvsjG5ayJ3Lraqv+2KhOsp+pUbigqbeWqueGIsnn+09HBw27rJ+gYK4VQ==",
|
||||
"cpu": [
|
||||
"s390x"
|
||||
],
|
||||
|
|
@ -678,9 +706,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.50.0.tgz",
|
||||
"integrity": "sha512-8PrJJA7/VU8ToHVEPu14FzuSAqVKyo5gg/J8xUerMbyNkWkO9j2ExBho/68RnJsMGNJq4zH114iAttgm7BZVkA==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-EtylprDtQPdS5rXvAayrNDYoJhIz1/vzN2fEubo3yLE7tfAw+948dO0g4M0vkTVFhKojnF+n6C8bDNe+gDRdTg==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -692,9 +720,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-linux-x64-musl": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.50.0.tgz",
|
||||
"integrity": "sha512-SkE6YQp+CzpyOrbw7Oc4MgXFvTw2UIBElvAvLCo230pyxOLmYwRPwZ/L5lBe/VW/qT1ZgND9wJfOsdy0XptRvw==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.0.tgz",
|
||||
"integrity": "sha512-k09oiRCi/bHU9UVFqD17r3eJR9bn03TyKraCrlz5ULFJGdJGi7VOmm9jl44vOJvRJ6P7WuBi/s2A97LxxHGIdw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -705,10 +733,24 @@
|
|||
"linux"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-openbsd-x64": {
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.0.tgz",
|
||||
"integrity": "sha512-1o/0/pIhozoSaDJoDcec+IVLbnRtQmHwPV730+AOD29lHEEo4F5BEUB24H0OBdhbBBDwIOSuf7vgg0Ywxdfiiw==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"openbsd"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-openharmony-arm64": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.50.0.tgz",
|
||||
"integrity": "sha512-PZkNLPfvXeIOgJWA804zjSFH7fARBBCpCXxgkGDRjjAhRLOR8o0IGS01ykh5GYfod4c2yiiREuDM8iZ+pVsT+Q==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.0.tgz",
|
||||
"integrity": "sha512-pESDkos/PDzYwtyzB5p/UoNU/8fJo68vcXM9ZW2V0kjYayj1KaaUfi1NmTUTUpMn4UhU4gTuK8gIaFO4UGuMbA==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -720,9 +762,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-arm64-msvc": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.50.0.tgz",
|
||||
"integrity": "sha512-q7cIIdFvWQoaCbLDUyUc8YfR3Jh2xx3unO8Dn6/TTogKjfwrax9SyfmGGK6cQhKtjePI7jRfd7iRYcxYs93esg==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.0.tgz",
|
||||
"integrity": "sha512-hj1wFStD7B1YBeYmvY+lWXZ7ey73YGPcViMShYikqKT1GtstIKQAtfUI6yrzPjAy/O7pO0VLXGmUVWXQMaYgTQ==",
|
||||
"cpu": [
|
||||
"arm64"
|
||||
],
|
||||
|
|
@ -734,9 +776,9 @@
|
|||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-ia32-msvc": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.50.0.tgz",
|
||||
"integrity": "sha512-XzNOVg/YnDOmFdDKcxxK410PrcbcqZkBmz+0FicpW5jtjKQxcW1BZJEQOF0NJa6JO7CZhett8GEtRN/wYLYJuw==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.0.tgz",
|
||||
"integrity": "sha512-SyaIPFoxmUPlNDq5EHkTbiKzmSEmq/gOYFI/3HHJ8iS/v1mbugVa7dXUzcJGQfoytp9DJFLhHH4U3/eTy2Bq4w==",
|
||||
"cpu": [
|
||||
"ia32"
|
||||
],
|
||||
|
|
@ -747,10 +789,24 @@
|
|||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-x64-gnu": {
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.0.tgz",
|
||||
"integrity": "sha512-RdcryEfzZr+lAr5kRm2ucN9aVlCCa2QNq4hXelZxb8GG0NJSazq44Z3PCCc8wISRuCVnGs0lQJVX5Vp6fKA+IA==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"os": [
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.50.0.tgz",
|
||||
"integrity": "sha512-xMmiWRR8sp72Zqwjgtf3QbZfF1wdh8X2ABu3EaozvZcyHJeU0r+XAnXdKgs4cCAp6ORoYoCygipYP1mjmbjrsg==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.0.tgz",
|
||||
"integrity": "sha512-PrsWNQ8BuE00O3Xsx3ALh2Df8fAj9+cvvX9AIA6o4KpATR98c9mud4XtDWVvsEuyia5U4tVSTKygawyJkjm60w==",
|
||||
"cpu": [
|
||||
"x64"
|
||||
],
|
||||
|
|
@ -1000,9 +1056,9 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/esbuild": {
|
||||
"version": "0.25.9",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.9.tgz",
|
||||
"integrity": "sha512-CRbODhYyQx3qp7ZEwzxOk4JBqmD/seJrzPa/cGjY1VtIn5E09Oi9/dB4JwctnfZ8Q8iT7rioVv5k/FNT/uf54g==",
|
||||
"version": "0.27.4",
|
||||
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.4.tgz",
|
||||
"integrity": "sha512-Rq4vbHnYkK5fws5NF7MYTU68FPRE1ajX7heQ/8QXXWqNgqqJ/GkmmyxIzUnf2Sr/bakf8l54716CcMGHYhMrrQ==",
|
||||
"dev": true,
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
|
|
@ -1013,32 +1069,32 @@
|
|||
"node": ">=18"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@esbuild/aix-ppc64": "0.25.9",
|
||||
"@esbuild/android-arm": "0.25.9",
|
||||
"@esbuild/android-arm64": "0.25.9",
|
||||
"@esbuild/android-x64": "0.25.9",
|
||||
"@esbuild/darwin-arm64": "0.25.9",
|
||||
"@esbuild/darwin-x64": "0.25.9",
|
||||
"@esbuild/freebsd-arm64": "0.25.9",
|
||||
"@esbuild/freebsd-x64": "0.25.9",
|
||||
"@esbuild/linux-arm": "0.25.9",
|
||||
"@esbuild/linux-arm64": "0.25.9",
|
||||
"@esbuild/linux-ia32": "0.25.9",
|
||||
"@esbuild/linux-loong64": "0.25.9",
|
||||
"@esbuild/linux-mips64el": "0.25.9",
|
||||
"@esbuild/linux-ppc64": "0.25.9",
|
||||
"@esbuild/linux-riscv64": "0.25.9",
|
||||
"@esbuild/linux-s390x": "0.25.9",
|
||||
"@esbuild/linux-x64": "0.25.9",
|
||||
"@esbuild/netbsd-arm64": "0.25.9",
|
||||
"@esbuild/netbsd-x64": "0.25.9",
|
||||
"@esbuild/openbsd-arm64": "0.25.9",
|
||||
"@esbuild/openbsd-x64": "0.25.9",
|
||||
"@esbuild/openharmony-arm64": "0.25.9",
|
||||
"@esbuild/sunos-x64": "0.25.9",
|
||||
"@esbuild/win32-arm64": "0.25.9",
|
||||
"@esbuild/win32-ia32": "0.25.9",
|
||||
"@esbuild/win32-x64": "0.25.9"
|
||||
"@esbuild/aix-ppc64": "0.27.4",
|
||||
"@esbuild/android-arm": "0.27.4",
|
||||
"@esbuild/android-arm64": "0.27.4",
|
||||
"@esbuild/android-x64": "0.27.4",
|
||||
"@esbuild/darwin-arm64": "0.27.4",
|
||||
"@esbuild/darwin-x64": "0.27.4",
|
||||
"@esbuild/freebsd-arm64": "0.27.4",
|
||||
"@esbuild/freebsd-x64": "0.27.4",
|
||||
"@esbuild/linux-arm": "0.27.4",
|
||||
"@esbuild/linux-arm64": "0.27.4",
|
||||
"@esbuild/linux-ia32": "0.27.4",
|
||||
"@esbuild/linux-loong64": "0.27.4",
|
||||
"@esbuild/linux-mips64el": "0.27.4",
|
||||
"@esbuild/linux-ppc64": "0.27.4",
|
||||
"@esbuild/linux-riscv64": "0.27.4",
|
||||
"@esbuild/linux-s390x": "0.27.4",
|
||||
"@esbuild/linux-x64": "0.27.4",
|
||||
"@esbuild/netbsd-arm64": "0.27.4",
|
||||
"@esbuild/netbsd-x64": "0.27.4",
|
||||
"@esbuild/openbsd-arm64": "0.27.4",
|
||||
"@esbuild/openbsd-x64": "0.27.4",
|
||||
"@esbuild/openharmony-arm64": "0.27.4",
|
||||
"@esbuild/sunos-x64": "0.27.4",
|
||||
"@esbuild/win32-arm64": "0.27.4",
|
||||
"@esbuild/win32-ia32": "0.27.4",
|
||||
"@esbuild/win32-x64": "0.27.4"
|
||||
}
|
||||
},
|
||||
"node_modules/estree-walker": {
|
||||
|
|
@ -1169,9 +1225,9 @@
|
|||
"license": "ISC"
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
|
||||
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
|
||||
"version": "4.0.4",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
|
||||
"integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
|
|
@ -1211,9 +1267,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/rollup": {
|
||||
"version": "4.50.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.50.0.tgz",
|
||||
"integrity": "sha512-/Zl4D8zPifNmyGzJS+3kVoyXeDeT/GrsJM94sACNg9RtUE0hrHa1bNPtRSrfHTMH5HjRzce6K7rlTh3Khiw+pw==",
|
||||
"version": "4.60.0",
|
||||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.0.tgz",
|
||||
"integrity": "sha512-yqjxruMGBQJ2gG4HtjZtAfXArHomazDHoFwFFmZZl0r7Pdo7qCIXKqKHZc8yeoMgzJJ+pO6pEEHa+V7uzWlrAQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
|
@ -1227,27 +1283,31 @@
|
|||
"npm": ">=8.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-android-arm-eabi": "4.50.0",
|
||||
"@rollup/rollup-android-arm64": "4.50.0",
|
||||
"@rollup/rollup-darwin-arm64": "4.50.0",
|
||||
"@rollup/rollup-darwin-x64": "4.50.0",
|
||||
"@rollup/rollup-freebsd-arm64": "4.50.0",
|
||||
"@rollup/rollup-freebsd-x64": "4.50.0",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.50.0",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.50.0",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.50.0",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.50.0",
|
||||
"@rollup/rollup-linux-loongarch64-gnu": "4.50.0",
|
||||
"@rollup/rollup-linux-ppc64-gnu": "4.50.0",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.50.0",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.50.0",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.50.0",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.50.0",
|
||||
"@rollup/rollup-linux-x64-musl": "4.50.0",
|
||||
"@rollup/rollup-openharmony-arm64": "4.50.0",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.50.0",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.50.0",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.50.0",
|
||||
"@rollup/rollup-android-arm-eabi": "4.60.0",
|
||||
"@rollup/rollup-android-arm64": "4.60.0",
|
||||
"@rollup/rollup-darwin-arm64": "4.60.0",
|
||||
"@rollup/rollup-darwin-x64": "4.60.0",
|
||||
"@rollup/rollup-freebsd-arm64": "4.60.0",
|
||||
"@rollup/rollup-freebsd-x64": "4.60.0",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.60.0",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.60.0",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.60.0",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.60.0",
|
||||
"@rollup/rollup-linux-loong64-gnu": "4.60.0",
|
||||
"@rollup/rollup-linux-loong64-musl": "4.60.0",
|
||||
"@rollup/rollup-linux-ppc64-gnu": "4.60.0",
|
||||
"@rollup/rollup-linux-ppc64-musl": "4.60.0",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.60.0",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.60.0",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.60.0",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.60.0",
|
||||
"@rollup/rollup-linux-x64-musl": "4.60.0",
|
||||
"@rollup/rollup-openbsd-x64": "4.60.0",
|
||||
"@rollup/rollup-openharmony-arm64": "4.60.0",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.60.0",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.60.0",
|
||||
"@rollup/rollup-win32-x64-gnu": "4.60.0",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.60.0",
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
},
|
||||
|
|
@ -1390,13 +1450,13 @@
|
|||
"license": "MIT"
|
||||
},
|
||||
"node_modules/vite": {
|
||||
"version": "7.1.5",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.1.5.tgz",
|
||||
"integrity": "sha512-4cKBO9wR75r0BeIWWWId9XK9Lj6La5X846Zw9dFfzMRw38IlTk2iCcUt6hsyiDRcPidc55ZParFYDXi0nXOeLQ==",
|
||||
"version": "7.3.1",
|
||||
"resolved": "https://registry.npmjs.org/vite/-/vite-7.3.1.tgz",
|
||||
"integrity": "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"esbuild": "^0.25.0",
|
||||
"esbuild": "^0.27.0",
|
||||
"fdir": "^6.5.0",
|
||||
"picomatch": "^4.0.3",
|
||||
"postcss": "^8.5.6",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue