diff --git a/.changeset/afraid-experts-beg.md b/.changeset/afraid-experts-beg.md new file mode 100644 index 00000000..888b827d --- /dev/null +++ b/.changeset/afraid-experts-beg.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Add confirmation popup when deleting tasks diff --git a/.changeset/gold-berries-give.md b/.changeset/gold-berries-give.md new file mode 100644 index 00000000..845c8c72 --- /dev/null +++ b/.changeset/gold-berries-give.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Refactor chat view into multiple modular files diff --git a/.changeset/khaki-fishes-unite.md b/.changeset/khaki-fishes-unite.md new file mode 100644 index 00000000..b3bf964b --- /dev/null +++ b/.changeset/khaki-fishes-unite.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +Include litellm_session_id as part of chat completion requests diff --git a/.changeset/lovely-readers-design.md b/.changeset/lovely-readers-design.md new file mode 100644 index 00000000..7e3a6b53 --- /dev/null +++ b/.changeset/lovely-readers-design.md @@ -0,0 +1,5 @@ +--- +"claude-dev": minor +--- + +Add Claude Sonnet 4 and Opus 4 model in SAP AI Core provider. diff --git a/.changeset/lucky-fans-greet.md b/.changeset/lucky-fans-greet.md new file mode 100644 index 00000000..001f3144 --- /dev/null +++ b/.changeset/lucky-fans-greet.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +add cline.walkthrough command to command handler diff --git a/.changeset/poor-years-grab.md b/.changeset/poor-years-grab.md new file mode 100644 index 00000000..97e5ab22 --- /dev/null +++ b/.changeset/poor-years-grab.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +fix: Do not read auth variables from the user env when using Claude Code diff --git a/.changeset/shy-fishes-check.md b/.changeset/shy-fishes-check.md new file mode 100644 index 00000000..2acf47df --- /dev/null +++ b/.changeset/shy-fishes-check.md @@ -0,0 +1,5 @@ +--- +"claude-dev": patch +--- + +feat: Introduce Thinking Budget customization for Claude Code diff --git a/.gitignore b/.gitignore index 4dfad92c..5915653b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ tmp *.vsix .DS_Store +.idea pnpm-lock.yaml @@ -37,4 +38,4 @@ src/hosts/vscode/*/methods.ts src/hosts/vscode/*/index.ts src/hosts/vscode/client/host-grpc-client.ts src/hosts/vscode/host-grpc-service-config.ts -src/standalone/server-setup.ts \ No newline at end of file +src/standalone/server-setup.ts diff --git a/.vscodeignore b/.vscodeignore index ffc94e0f..c64544ec 100644 --- a/.vscodeignore +++ b/.vscodeignore @@ -37,10 +37,6 @@ assets/docs/** !node_modules/@vscode/codicons/dist/codicon.css !node_modules/@vscode/codicons/dist/codicon.ttf -# Include KaTeX CSS and fonts for LaTeX rendering -!webview-ui/node_modules/katex/dist/katex.min.css -!webview-ui/node_modules/katex/dist/fonts/** - # Include default themes JSON files used in getTheme !src/integrations/theme/default-themes/** diff --git a/CHANGELOG.md b/CHANGELOG.md index a8936d60..981c16fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [3.18.1] + +- Add support for Claude 4 Sonnet in SAP AI Core provider (Thanks @GTxx!) +- Fix ENAMETOOLONG error when using Claude Code provider with long conversation histories (Thanks @BarreiroT!) +- Remove Gemini CLI provider because Google asked us to +- Fix bug with "Delete All Tasks" functionality + ## [3.18.0] - Optimized Cline to work with the Claude 4 family of models, resulting in improved performance, reliability, and new capabilities diff --git a/docs/more-info/telemetry.mdx b/docs/more-info/telemetry.mdx index fb8a58cb..d3d9aecc 100644 --- a/docs/more-info/telemetry.mdx +++ b/docs/more-info/telemetry.mdx @@ -6,7 +6,7 @@ title: "Telemetry" To help make Cline better for everyone, we collect anonymous usage data that helps us understand how developers are using our open-source AI coding agent. This feedback loop is crucial for improving Cline's capabilities and user experience. -We use PostHog, an open-source analytics platform, for data collection and analysis. Our telemetry implementation is fully transparent - you can review the [source code](https://github.com/cline/cline/blob/main/src/services/telemetry/TelemetryService.ts) to see exactly what we track. +We use PostHog, an open-source analytics platform, for data collection and analysis. Our telemetry implementation is fully transparent - you can review the [source code](https://github.com/cline/cline/blob/main/src/services/posthog/telemetry/TelemetryService.ts) to see exactly what we track. ### Tracking Policy @@ -22,7 +22,7 @@ We collect basic anonymous usage data including: **System Context:** OS type and VS Code environment details\ **UI Activity:** Navigation patterns and feature usage -For complete transparency, you can inspect our [telemetry implementation](https://github.com/cline/cline/blob/main/src/services/telemetry/TelemetryService.ts) to see the exact events we track. +For complete transparency, you can inspect our [telemetry implementation](https://github.com/cline/cline/blob/main/src/services/posthog/telemetry/TelemetryService.ts) to see the exact events we track. ### How to Opt Out diff --git a/evals/cli/src/commands/runDiffEval.ts b/evals/cli/src/commands/runDiffEval.ts index 87623a19..909ef4f2 100644 --- a/evals/cli/src/commands/runDiffEval.ts +++ b/evals/cli/src/commands/runDiffEval.ts @@ -16,6 +16,7 @@ interface RunDiffEvalOptions { replay: boolean replayRunId?: string diffApplyFile?: string + saveLocally: boolean maxCases?: number } @@ -74,6 +75,10 @@ export async function runDiffEvalHandler(options: RunDiffEvalOptions) { args.push("--max-cases", String(options.maxCases)) } + if (options.saveLocally) { + args.push("--save-locally") + } + try { console.log(chalk.gray(`Executing: npx tsx ${scriptPath} ${args.join(" ")}`)) diff --git a/evals/cli/src/index.ts b/evals/cli/src/index.ts index 92aef088..036a99c5 100644 --- a/evals/cli/src/index.ts +++ b/evals/cli/src/index.ts @@ -95,6 +95,7 @@ program .option("--replay", "Run evaluation from a pre-recorded LLM output, skipping the API call", false) .option("--replay-run-id ", "The ID of the run to replay from the database") .option("--diff-apply-file ", "The name of the diff apply file to use for the replay") + .option("--save-locally", "Save results to local JSON files in addition to database", false) .option("-v, --verbose", "Enable verbose logging", false) .action(async (options) => { try { diff --git a/evals/diff-edits/ClineWrapper.ts b/evals/diff-edits/ClineWrapper.ts index 1f32d04b..ad435ff5 100644 --- a/evals/diff-edits/ClineWrapper.ts +++ b/evals/diff-edits/ClineWrapper.ts @@ -11,9 +11,10 @@ import { import { constructNewFileContent as constructNewFileContent_06_06_25 } from "./diff-apply/diff-06-06-25" import { constructNewFileContent as constructNewFileContent_06_23_25 } from "./diff-apply/diff-06-23-25" import { constructNewFileContent as constructNewFileContent_06_25_25 } from "./diff-apply/diff-06-25-25" +import { constructNewFileContent as constructNewFileContent_06_26_25 } from "./diff-apply/diff-06-26-25" type ParseAssistantMessageFn = (message: string) => AssistantMessageContent[] -type ConstructNewFileContentFn = (diff: string, original: string, strict: boolean) => Promise +type ConstructNewFileContentFn = (diff: string, original: string, strict: boolean) => Promise const parsingFunctions: Record = { parseAssistantMessageV1: parseAssistantMessageV1, @@ -25,6 +26,7 @@ const diffEditingFunctions: Record = { "diff-06-06-25": constructNewFileContent_06_06_25, "diff-06-23-25": constructNewFileContent_06_23_25, "diff-06-25-25": constructNewFileContent_06_25_25, + "diff-06-26-25": constructNewFileContent_06_26_25, } import { TestInput, TestResult, ExtractedToolCall } from "./types" @@ -308,10 +310,18 @@ export async function runSingleEvaluation(input: TestInput): Promise // checking if the diff edit succeeds, if it failed it will throw an error let diffSuccess = true + let replacementData: any = undefined try { - await constructNewFileContent(diffToolContent, originalFile, true) + const result = await constructNewFileContent(diffToolContent, originalFile, true) + + // Check if result is an object with replacements (new format) + if (typeof result === 'object' && result !== null && 'replacements' in result) { + replacementData = result.replacements + } + // If it's just a string, diffSuccess stays true and replacementData stays undefined } catch (error: any) { diffSuccess = false + console.log("ERROR:",error) } return { @@ -320,6 +330,7 @@ export async function runSingleEvaluation(input: TestInput): Promise toolCalls: detectedToolCalls, diffEdit: diffToolContent, diffEditSuccess: diffSuccess, + replacementData: replacementData, } } catch (error: any) { return { diff --git a/evals/diff-edits/TestRunner.ts b/evals/diff-edits/TestRunner.ts index 7085cbd0..32436fec 100644 --- a/evals/diff-edits/TestRunner.ts +++ b/evals/diff-edits/TestRunner.ts @@ -3,6 +3,7 @@ import { parseAssistantMessageV2, AssistantMessageContent } from "./parsing/pars import { constructNewFileContent as constructNewFileContent_06_06_25 } from "./diff-apply/diff-06-06-25" import { constructNewFileContent as constructNewFileContent_06_23_25 } from "./diff-apply/diff-06-23-25" import { constructNewFileContent as constructNewFileContent_06_25_25 } from "./diff-apply/diff-06-25-25" +import { constructNewFileContent as constructNewFileContent_06_26_25 } from "./diff-apply/diff-06-26-25" import { constructNewFileContent as constructNewFileContentV3 } from "../../src/core/assistant-message/diff" import { basicSystemPrompt } from "./prompts/basicSystemPrompt-06-06-25" import { claude4SystemPrompt } from "./prompts/claude4SystemPrompt-06-06-25" @@ -484,6 +485,7 @@ class NodeTestRunner { "diff-06-06-25": constructNewFileContent_06_06_25, "diff-06-23-25": constructNewFileContent_06_23_25, "diff-06-25-25": constructNewFileContent_06_25_25, + "diff-06-26-25": constructNewFileContent_06_26_25, constructNewFileContentV3: constructNewFileContentV3, } const constructNewFileContent = diffEditingFunctions[diffApplyFile] @@ -927,12 +929,13 @@ async function main() { .option("-n, --valid-attempts-per-case ", "Number of valid attempts per test case per model (will retry until this many valid attempts are collected)", "1") .option("--max-cases ", "Maximum number of test cases to run (limits total cases loaded)") .option("--parsing-function ", "The parsing function to use", "parseAssistantMessageV2") - .option("--diff-edit-function ", "The diff editing function to use", "constructNewFileContentV2") + .option("--diff-edit-function ", "The diff editing function to use", "diff-06-25-25") .option("--thinking-budget ", "Set the thinking tokens budget", "0") .option("--parallel", "Run tests in parallel", false) .option("--replay", "Run evaluation from a pre-recorded LLM output, skipping the API call", false) .option("--replay-run-id ", "The ID of the run to replay from the database") .option("--diff-apply-file ", "The name of the diff apply file to use for the replay") + .option("--save-locally", "Save results to local JSON files in addition to database", false) .option("-v, --verbose", "Enable verbose logging", false) .option("--max-concurrency ", "Maximum number of parallel requests", "80") @@ -943,6 +946,7 @@ async function main() { const isVerbose = options.verbose const testPath = options.testPath const outputPath = options.outputPath + const saveLocally = options.saveLocally const maxConcurrency = parseInt(options.maxConcurrency, 10); // Parse model IDs from comma-separated string @@ -1150,6 +1154,12 @@ async function main() { const durationSeconds = ((endTime - startTime) / 1000).toFixed(2) log(isVerbose, `\n-Total execution time: ${durationSeconds} seconds`) + // Save results locally if requested + if (saveLocally) { + runner.saveTestResults(results, outputPath); + log(isVerbose, `✓ Results also saved to JSON files in ${outputPath}`); + } + log(isVerbose, `\n✓ All results stored in database. Use the dashboard to view results.`) } catch (error) { console.error("\nError running tests:", error) diff --git a/evals/diff-edits/diff-apply/diff-06-26-25.ts b/evals/diff-edits/diff-apply/diff-06-26-25.ts new file mode 100644 index 00000000..27f1d57a --- /dev/null +++ b/evals/diff-edits/diff-apply/diff-06-26-25.ts @@ -0,0 +1,960 @@ +const SEARCH_BLOCK_START = "------- SEARCH" +const SEARCH_BLOCK_END = "=======" +const REPLACE_BLOCK_END = "+++++++ REPLACE" + +const SEARCH_BLOCK_CHAR = "-" +const REPLACE_BLOCK_CHAR = "+" +const LEGACY_SEARCH_BLOCK_CHAR = "<" +const LEGACY_REPLACE_BLOCK_CHAR = ">" + +// Replace the exact string constants with flexible regex patterns +const SEARCH_BLOCK_START_REGEX = /^[-]{3,} SEARCH>?$/ +const LEGACY_SEARCH_BLOCK_START_REGEX = /^[<]{3,} SEARCH>?$/ + +const SEARCH_BLOCK_END_REGEX = /^[=]{3,}$/ + +const REPLACE_BLOCK_END_REGEX = /^[+]{3,} REPLACE>?$/ +const LEGACY_REPLACE_BLOCK_END_REGEX = /^[>]{3,} REPLACE>?$/ + +// Similarity thresholds for block anchor fallback matching +const SINGLE_CANDIDATE_SIMILARITY_THRESHOLD = 0.0 +const MULTIPLE_CANDIDATES_SIMILARITY_THRESHOLD = 0.0 + +/** + * Levenshtein distance algorithm implementation + */ +function levenshtein(a: string, b: string): number { + // Handle empty strings + if (a === "" || b === "") { + return Math.max(a.length, b.length) + } + const matrix = Array.from({ length: a.length + 1 }, (_, i) => + Array.from({ length: b.length + 1 }, (_, j) => (i === 0 ? j : j === 0 ? i : 0)), + ) + + for (let i = 1; i <= a.length; i++) { + for (let j = 1; j <= b.length; j++) { + const cost = a[i - 1] === b[j - 1] ? 0 : 1 + matrix[i][j] = Math.min(matrix[i - 1][j] + 1, matrix[i][j - 1] + 1, matrix[i - 1][j - 1] + cost) + } + } + return matrix[a.length][b.length] +} + +// Helper functions to check if a line matches the flexible patterns +function isSearchBlockStart(line: string): boolean { + return SEARCH_BLOCK_START_REGEX.test(line) || LEGACY_SEARCH_BLOCK_START_REGEX.test(line) +} + +function isSearchBlockEnd(line: string): boolean { + return SEARCH_BLOCK_END_REGEX.test(line) +} + +function isReplaceBlockEnd(line: string): boolean { + return REPLACE_BLOCK_END_REGEX.test(line) || LEGACY_REPLACE_BLOCK_END_REGEX.test(line) +} + +/** + * Attempts a line-trimmed fallback match for the given search content in the original content. + * It tries to match `searchContent` lines against a block of lines in `originalContent` starting + * from `lastProcessedIndex`. Lines are matched by trimming leading/trailing whitespace and ensuring + * they are identical afterwards. + * + * Returns [matchIndexStart, matchIndexEnd] if found, or false if not found. + */ +function lineTrimmedFallbackMatch(originalContent: string, searchContent: string, startIndex: number): [number, number] | false { + // Split both contents into lines + const originalLines = originalContent.split("\n") + const searchLines = searchContent.split("\n") + + // Trim trailing empty line if exists (from the trailing \n in searchContent) + if (searchLines[searchLines.length - 1] === "") { + searchLines.pop() + } + + // Find the line number where startIndex falls + let startLineNum = 0 + let currentIndex = 0 + while (currentIndex < startIndex && startLineNum < originalLines.length) { + currentIndex += originalLines[startLineNum].length + 1 // +1 for \n + startLineNum++ + } + + // For each possible starting position in original content + for (let i = startLineNum; i <= originalLines.length - searchLines.length; i++) { + let matches = true + + // Try to match all search lines from this position + for (let j = 0; j < searchLines.length; j++) { + const originalTrimmed = originalLines[i + j].trim() + const searchTrimmed = searchLines[j].trim() + + if (originalTrimmed !== searchTrimmed) { + matches = false + break + } + } + + // If we found a match, calculate the exact character positions + if (matches) { + // Find start character index + let matchStartIndex = 0 + for (let k = 0; k < i; k++) { + matchStartIndex += originalLines[k].length + 1 // +1 for \n + } + + // Find end character index + let matchEndIndex = matchStartIndex + for (let k = 0; k < searchLines.length; k++) { + matchEndIndex += originalLines[i + k].length + 1 // +1 for \n + } + + return [matchStartIndex, matchEndIndex] + } + } + + return false +} + +/** + * Attempts to match blocks of code by using the first and last lines as anchors, + * with similarity checking to prevent false positives. + * This is a third-tier fallback strategy that helps match blocks where we can identify + * the correct location by matching the beginning and end, even if the exact content + * differs slightly. + * + * The matching strategy: + * 1. Only attempts to match blocks of 3 or more lines to avoid false positives + * 2. Extracts from the search content: + * - First line as the "start anchor" + * - Last line as the "end anchor" + * 3. Collects all candidate positions where both anchors match + * 4. Uses levenshtein distance to calculate similarity of middle lines + * 5. Returns match only if similarity meets threshold requirements + * + * This approach is particularly useful for matching blocks of code where: + * - The exact content might have minor differences + * - The beginning and end of the block are distinctive enough to serve as anchors + * - The overall structure (number of lines) remains the same + * - The middle content is reasonably similar (prevents false positives) + * + * @param originalContent - The full content of the original file + * @param searchContent - The content we're trying to find in the original file + * @param startIndex - The character index in originalContent where to start searching + * @returns A tuple of [startIndex, endIndex] if a match is found, false otherwise + */ +function blockAnchorFallbackMatch(originalContent: string, searchContent: string, startIndex: number): [number, number, number] | false { + const originalLines = originalContent.split("\n") + const searchLines = searchContent.split("\n") + + // Only use this approach for blocks of 3+ lines + if (searchLines.length < 3) { + return false + } + + // Trim trailing empty line if exists + if (searchLines[searchLines.length - 1] === "") { + searchLines.pop() + } + + const firstLineSearch = searchLines[0].trim() + const lastLineSearch = searchLines[searchLines.length - 1].trim() + const searchBlockSize = searchLines.length + + // Find the line number where startIndex falls + let startLineNum = 0 + let currentIndex = 0 + while (currentIndex < startIndex && startLineNum < originalLines.length) { + currentIndex += originalLines[startLineNum].length + 1 + startLineNum++ + } + + // Collect all candidate positions + const candidates: number[] = [] + for (let i = startLineNum; i <= originalLines.length - searchBlockSize; i++) { + if (originalLines[i].trim() === firstLineSearch && originalLines[i + searchBlockSize - 1].trim() === lastLineSearch) { + candidates.push(i) + } + } + + // Return immediately if no candidates + if (candidates.length === 0) { + return false + } + + // Handle single candidate scenario (using relaxed threshold) + if (candidates.length === 1) { + const i = candidates[0] + let similarity = 0 + let linesToCheck = searchBlockSize - 2 + + for (let j = 1; j < searchBlockSize - 1; j++) { + const originalLine = originalLines[i + j].trim() + const searchLine = searchLines[j].trim() + const maxLen = Math.max(originalLine.length, searchLine.length) + if (maxLen === 0) { + continue + } + const distance = levenshtein(originalLine, searchLine) + similarity += (1 - distance / maxLen) / linesToCheck + + // Exit early when threshold is reached + if (similarity >= SINGLE_CANDIDATE_SIMILARITY_THRESHOLD) { + break + } + } + + if (similarity >= SINGLE_CANDIDATE_SIMILARITY_THRESHOLD) { + let matchStartIndex = 0 + for (let k = 0; k < i; k++) { + matchStartIndex += originalLines[k].length + 1 + } + let matchEndIndex = matchStartIndex + for (let k = 0; k < searchBlockSize; k++) { + matchEndIndex += originalLines[i + k].length + 1 + } + return [matchStartIndex, matchEndIndex, similarity] + } + return false + } + + // Calculate similarity for multiple candidates + let bestMatchIndex = -1 + let maxSimilarity = -1 + + for (const i of candidates) { + let similarity = 0 + for (let j = 1; j < searchBlockSize - 1; j++) { + const originalLine = originalLines[i + j].trim() + const searchLine = searchLines[j].trim() + const maxLen = Math.max(originalLine.length, searchLine.length) + if (maxLen === 0) { + continue + } + const distance = levenshtein(originalLine, searchLine) + similarity += 1 - distance / maxLen + } + similarity /= searchBlockSize - 2 // Average similarity + + if (similarity > maxSimilarity) { + maxSimilarity = similarity + bestMatchIndex = i + } + } + + // Threshold judgment + if (maxSimilarity >= MULTIPLE_CANDIDATES_SIMILARITY_THRESHOLD) { + const i = bestMatchIndex + let matchStartIndex = 0 + for (let k = 0; k < i; k++) { + matchStartIndex += originalLines[k].length + 1 + } + let matchEndIndex = matchStartIndex + for (let k = 0; k < searchBlockSize; k++) { + matchEndIndex += originalLines[i + k].length + 1 + } + return [matchStartIndex, matchEndIndex, maxSimilarity] + } + + return false +} + +/** + * This function reconstructs the file content by applying a streamed diff (in a + * specialized SEARCH/REPLACE block format) to the original file content. It is designed + * to handle both incremental updates and the final resulting file after all chunks have + * been processed. + * + * The diff format is a custom structure that uses three markers to define changes: + * + * ------- SEARCH + * [Exact content to find in the original file] + * ======= + * [Content to replace with] + * +++++++ REPLACE + * + * Behavior and Assumptions: + * 1. The file is processed chunk-by-chunk. Each chunk of `diffContent` may contain + * partial or complete SEARCH/REPLACE blocks. By calling this function with each + * incremental chunk (with `isFinal` indicating the last chunk), the final reconstructed + * file content is produced. + * + * 2. Matching Strategy (in order of attempt): + * a. Exact Match: First attempts to find the exact SEARCH block text in the original file + * b. Line-Trimmed Match: Falls back to line-by-line comparison ignoring leading/trailing whitespace + * c. Block Anchor Match: For blocks of 3+ lines, tries to match using first/last lines as anchors + * If all matching strategies fail, an error is thrown. + * + * 3. Empty SEARCH Section: + * - If SEARCH is empty and the original file is empty, this indicates creating a new file + * (pure insertion). + * - If SEARCH is empty and the original file is not empty, this indicates a complete + * file replacement (the entire original content is considered matched and replaced). + * + * 4. Applying Changes: + * - Before encountering the "=======" marker, lines are accumulated as search content. + * - After "=======" and before ">>>>>>> REPLACE", lines are accumulated as replacement content. + * - Once the block is complete (">>>>>>> REPLACE"), the matched section in the original + * file is replaced with the accumulated replacement lines, and the position in the original + * file is advanced. + * + * 5. Incremental Output: + * - As soon as the match location is found and we are in the REPLACE section, each new + * replacement line is appended to the result so that partial updates can be viewed + * incrementally. + * + * 6. Partial Markers: + * - If the final line of the chunk looks like it might be part of a marker but is not one + * of the known markers, it is removed. This prevents incomplete or partial markers + * from corrupting the output. + * + * 7. Finalization: + * - Once all chunks have been processed (when `isFinal` is true), any remaining original + * content after the last replaced section is appended to the result. + * - Trailing newlines are not forcibly added. The code tries to output exactly what is specified. + * + * Errors: + * - If the search block cannot be matched using any of the available matching strategies, + * an error is thrown. + */ +export async function constructNewFileContent( + diffContent: string, + originalContent: string, + isFinal: boolean, + version: "v1" | "v2" = "v1", +): Promise { + const constructor = constructNewFileContentVersionMapping[version] + if (!constructor) { + throw new Error(`Invalid version '${version}' for file content constructor`) + } + return constructor(diffContent, originalContent, isFinal) +} + +const constructNewFileContentVersionMapping: Record< + string, + (diffContent: string, originalContent: string, isFinal: boolean) => Promise +> = { + v1: constructNewFileContentV1, + v2: constructNewFileContentV2, +} as const + +async function constructNewFileContentV1(diffContent: string, originalContent: string, isFinal: boolean): Promise<{ + content: string; + replacements: Array<{ + start: number; + end: number; + content: string; + method: string; + similarity: number; + searchContent: string; + matchedText: string; + }>; +}> { + let result = "" + let lastProcessedIndex = 0 + + let currentSearchContent = "" + let currentReplaceContent = "" + let inSearch = false + let inReplace = false + + let searchMatchIndex = -1 + let searchEndIndex = -1 + let matchMethod = "" + let similarityScore = -1.0 + + // Track all replacements to handle out-of-order edits + let replacements: Array<{ + start: number; + end: number; + content: string; + method: string; + similarity: number; + searchContent: string; + matchedText: string; + }> = [] + let pendingOutOfOrderReplacement = false + + let lines = diffContent.split("\n") + + // If the last line looks like a partial marker but isn't recognized, + // remove it because it might be incomplete. + const lastLine = lines[lines.length - 1] + if ( + lines.length > 0 && + (lastLine.startsWith(SEARCH_BLOCK_CHAR) || + lastLine.startsWith(LEGACY_SEARCH_BLOCK_CHAR) || + lastLine.startsWith("=") || + lastLine.startsWith(REPLACE_BLOCK_CHAR) || + lastLine.startsWith(LEGACY_REPLACE_BLOCK_CHAR)) && + !isSearchBlockStart(lastLine) && + !isSearchBlockEnd(lastLine) && + !isReplaceBlockEnd(lastLine) + ) { + lines.pop() + } + + for (const line of lines) { + if (isSearchBlockStart(line)) { + inSearch = true + currentSearchContent = "" + currentReplaceContent = "" + continue + } + + if (isSearchBlockEnd(line)) { + inSearch = false + inReplace = true + + // Remove trailing linebreak for adding the === marker + // if (currentSearchContent.endsWith("\r\n")) { + // currentSearchContent = currentSearchContent.slice(0, -2) + // } else if (currentSearchContent.endsWith("\n")) { + // currentSearchContent = currentSearchContent.slice(0, -1) + // } + + if (!currentSearchContent) { + // Empty search block + if (originalContent.length === 0) { + // New file scenario: nothing to match, just start inserting + searchMatchIndex = 0 + searchEndIndex = 0 + matchMethod = "empty_new_file" + } else { + // ERROR: Empty search block with non-empty file indicates malformed SEARCH marker + throw new Error( + "Empty SEARCH block detected with non-empty file. This usually indicates a malformed SEARCH marker.\n" + + "Please ensure your SEARCH marker follows the correct format:\n" + + "- Use '------- SEARCH' (7+ dashes + space + SEARCH)\n", + ) + } + } else { + // Add check for inefficient full-file search + // if (currentSearchContent.trim() === originalContent.trim()) { + // throw new Error( + // "The SEARCH block contains the entire file content. Please either:\n" + + // "1. Use an empty SEARCH block to replace the entire file, or\n" + + // "2. Make focused changes to specific parts of the file that need modification.", + // ) + // } + + // Exact search match scenario + const exactIndex = originalContent.indexOf(currentSearchContent, lastProcessedIndex) + if (exactIndex !== -1) { + searchMatchIndex = exactIndex + searchEndIndex = exactIndex + currentSearchContent.length + matchMethod = "exact_match" + } else { + // Attempt fallback line-trimmed matching + const lineMatch = lineTrimmedFallbackMatch(originalContent, currentSearchContent, lastProcessedIndex) + if (lineMatch) { + ;[searchMatchIndex, searchEndIndex] = lineMatch + matchMethod = "line_trimmed_fallback" + } else { + // Try block anchor fallback for larger blocks + const blockMatch = blockAnchorFallbackMatch(originalContent, currentSearchContent, lastProcessedIndex) + if (blockMatch) { + ;[searchMatchIndex, searchEndIndex, similarityScore] = blockMatch + matchMethod = "block_anchor_fallback" + } else { + // Last resort: search the entire file from the beginning + const fullFileIndex = originalContent.indexOf(currentSearchContent, 0) + if (fullFileIndex !== -1) { + // Found in the file - could be out of order + searchMatchIndex = fullFileIndex + searchEndIndex = fullFileIndex + currentSearchContent.length + matchMethod = "full_file_search" + if (searchMatchIndex < lastProcessedIndex) { + pendingOutOfOrderReplacement = true + } + } else { + throw new Error( + `The SEARCH block:\n${currentSearchContent.trimEnd()}\n...does not match anything in the file.`, + ) + } + } + } + } + } + + // Check if this is an out-of-order replacement + if (searchMatchIndex < lastProcessedIndex) { + pendingOutOfOrderReplacement = true + } + + // For in-order replacements, output everything up to the match location + if (!pendingOutOfOrderReplacement) { + result += originalContent.slice(lastProcessedIndex, searchMatchIndex) + } + continue + } + + if (isReplaceBlockEnd(line)) { + // Finished one replace block + + if (searchMatchIndex === -1) { + throw new Error( + `The SEARCH block:\n${currentSearchContent.trimEnd()}\n...is malformatted.`, + ) + } + + // Store this replacement + replacements.push({ + start: searchMatchIndex, + end: searchEndIndex, + content: currentReplaceContent, + method: matchMethod, + similarity: similarityScore, + searchContent: currentSearchContent, + matchedText: originalContent.slice(searchMatchIndex, searchEndIndex), + }) + + // If this was an in-order replacement, advance lastProcessedIndex + if (!pendingOutOfOrderReplacement) { + lastProcessedIndex = searchEndIndex + } + + // Reset for next block + inSearch = false + inReplace = false + currentSearchContent = "" + currentReplaceContent = "" + searchMatchIndex = -1 + searchEndIndex = -1 + similarityScore = -1.0 + pendingOutOfOrderReplacement = false + continue + } + + // Accumulate content for search or replace + // (currentReplaceContent is not being used for anything right now since we directly append to result.) + // (We artificially add a linebreak since we split on \n at the beginning. In order to not include a trailing linebreak in the final search/result blocks we need to remove it before using them. This allows for partial line matches to be correctly identified.) + // NOTE: search/replace blocks must be arranged in the order they appear in the file due to how we build the content using lastProcessedIndex. We also cannot strip the trailing newline since for non-partial lines it would remove the linebreak from the original content. (If we remove end linebreak from search, then we'd also have to remove it from replace but we can't know if it's a partial line or not since the model may be using the line break to indicate the end of the block rather than as part of the search content.) We require the model to output full lines in order for our fallbacks to work as well. + if (inSearch) { + currentSearchContent += line + "\n" + } else if (inReplace) { + currentReplaceContent += line + "\n" + // Only output replacement lines immediately for in-order replacements + if (searchMatchIndex !== -1 && !pendingOutOfOrderReplacement) { + result += line + "\n" + } + } + } + + // If this is the final chunk, we need to apply all replacements and build the final result + if (isFinal) { + // Handle the case where we're still in replace mode when processing ends + // and this is the final chunk - treat it as if we encountered the REPLACE marker + if (inReplace && searchMatchIndex !== -1) { + // Store this replacement + replacements.push({ + start: searchMatchIndex, + end: searchEndIndex, + content: currentReplaceContent, + method: matchMethod, + similarity: similarityScore, + searchContent: currentSearchContent, + matchedText: originalContent.slice(searchMatchIndex, searchEndIndex), + }) + + // If this was an in-order replacement, advance lastProcessedIndex + if (!pendingOutOfOrderReplacement) { + lastProcessedIndex = searchEndIndex + } + + // Reset state + inSearch = false + inReplace = false + currentSearchContent = "" + currentReplaceContent = "" + searchMatchIndex = -1 + searchEndIndex = -1 + pendingOutOfOrderReplacement = false + } + // end of handling missing replace marker + + // Sort replacements by start position + replacements.sort((a, b) => a.start - b.start) + + // Rebuild the entire result by applying all replacements + result = "" + let currentPos = 0 + + for (const replacement of replacements) { + // Add original content up to this replacement + result += originalContent.slice(currentPos, replacement.start) + // Add the replacement content + result += replacement.content + // Move position to after the replaced section + currentPos = replacement.end + } + + // Add any remaining original content + result += originalContent.slice(currentPos) + } + + // For testing - return debug info + return { + content: result, + replacements: replacements + } +} + +enum ProcessingState { + Idle = 0, + StateSearch = 1 << 0, + StateReplace = 1 << 1, +} + +class NewFileContentConstructor { + private originalContent: string + private isFinal: boolean + private state: number + private pendingNonStandardLines: string[] + private result: string + private lastProcessedIndex: number + private currentSearchContent: string + private currentReplaceContent: string + private searchMatchIndex: number + private searchEndIndex: number + + constructor(originalContent: string, isFinal: boolean) { + this.originalContent = originalContent + this.isFinal = isFinal + this.pendingNonStandardLines = [] + this.result = "" + this.lastProcessedIndex = 0 + this.state = ProcessingState.Idle + this.currentSearchContent = "" + this.currentReplaceContent = "" + this.searchMatchIndex = -1 + this.searchEndIndex = -1 + } + + private resetForNextBlock() { + // Reset for next block + this.state = ProcessingState.Idle + this.currentSearchContent = "" + this.currentReplaceContent = "" + this.searchMatchIndex = -1 + this.searchEndIndex = -1 + } + + private findLastMatchingLineIndex(regx: RegExp, lineLimit: number) { + for (let i = lineLimit; i > 0; ) { + i-- + if (this.pendingNonStandardLines[i].match(regx)) { + return i + } + } + return -1 + } + + private updateProcessingState(newState: ProcessingState) { + const isValidTransition = + (this.state === ProcessingState.Idle && newState === ProcessingState.StateSearch) || + (this.state === ProcessingState.StateSearch && newState === ProcessingState.StateReplace) + + if (!isValidTransition) { + throw new Error( + `Invalid state transition.\n` + + "Valid transitions are:\n" + + "- Idle → StateSearch\n" + + "- StateSearch → StateReplace", + ) + } + + this.state |= newState + } + + private isStateActive(state: ProcessingState): boolean { + return (this.state & state) === state + } + + private activateReplaceState() { + this.updateProcessingState(ProcessingState.StateReplace) + } + + private activateSearchState() { + this.updateProcessingState(ProcessingState.StateSearch) + this.currentSearchContent = "" + this.currentReplaceContent = "" + } + + private isSearchingActive(): boolean { + return this.isStateActive(ProcessingState.StateSearch) + } + + private isReplacingActive(): boolean { + return this.isStateActive(ProcessingState.StateReplace) + } + + private hasPendingNonStandardLines(pendingNonStandardLineLimit: number): boolean { + return this.pendingNonStandardLines.length - pendingNonStandardLineLimit < this.pendingNonStandardLines.length + } + + public processLine(line: string) { + this.internalProcessLine(line, true, this.pendingNonStandardLines.length) + } + + public getResult() { + // If this is the final chunk, append any remaining original content + if (this.isFinal && this.lastProcessedIndex < this.originalContent.length) { + this.result += this.originalContent.slice(this.lastProcessedIndex) + } + if (this.isFinal && this.state !== ProcessingState.Idle) { + throw new Error("File processing incomplete - SEARCH/REPLACE operations still active during finalization") + } + return this.result + } + + private internalProcessLine( + line: string, + canWritependingNonStandardLines: boolean, + pendingNonStandardLineLimit: number, + ): number { + let removeLineCount = 0 + if (isSearchBlockStart(line)) { + removeLineCount = this.trimPendingNonStandardTrailingEmptyLines(pendingNonStandardLineLimit) + if (removeLineCount > 0) { + pendingNonStandardLineLimit = pendingNonStandardLineLimit - removeLineCount + } + if (this.hasPendingNonStandardLines(pendingNonStandardLineLimit)) { + this.tryFixSearchReplaceBlock(pendingNonStandardLineLimit) + canWritependingNonStandardLines && (this.pendingNonStandardLines.length = 0) + } + this.activateSearchState() + } else if (isSearchBlockEnd(line)) { + // 校验非标内容 + if (!this.isSearchingActive()) { + this.tryFixSearchBlock(pendingNonStandardLineLimit) + canWritependingNonStandardLines && (this.pendingNonStandardLines.length = 0) + } + this.activateReplaceState() + this.beforeReplace() + } else if (isReplaceBlockEnd(line)) { + if (!this.isReplacingActive()) { + this.tryFixReplaceBlock(pendingNonStandardLineLimit) + canWritependingNonStandardLines && (this.pendingNonStandardLines.length = 0) + } + this.lastProcessedIndex = this.searchEndIndex + this.resetForNextBlock() + } else { + // Accumulate content for search or replace + // (currentReplaceContent is not being used for anything right now since we directly append to result.) + // (We artificially add a linebreak since we split on \n at the beginning. In order to not include a trailing linebreak in the final search/result blocks we need to remove it before using them. This allows for partial line matches to be correctly identified.) + // NOTE: search/replace blocks must be arranged in the order they appear in the file due to how we build the content using lastProcessedIndex. We also cannot strip the trailing newline since for non-partial lines it would remove the linebreak from the original content. (If we remove end linebreak from search, then we'd also have to remove it from replace but we can't know if it's a partial line or not since the model may be using the line break to indicate the end of the block rather than as part of the search content.) We require the model to output full lines in order for our fallbacks to work as well. + if (this.isReplacingActive()) { + this.currentReplaceContent += line + "\n" + // Output replacement lines immediately if we know the insertion point + if (this.searchMatchIndex !== -1) { + this.result += line + "\n" + } + } else if (this.isSearchingActive()) { + this.currentSearchContent += line + "\n" + } else { + let appendToPendingNonStandardLines = canWritependingNonStandardLines + if (appendToPendingNonStandardLines) { + // 处理非标内容 + this.pendingNonStandardLines.push(line) + } + } + } + return removeLineCount + } + + private beforeReplace() { + // Remove trailing linebreak for adding the === marker + // if (currentSearchContent.endsWith("\r\n")) { + // currentSearchContent = currentSearchContent.slice(0, -2) + // } else if (currentSearchContent.endsWith("\n")) { + // currentSearchContent = currentSearchContent.slice(0, -1) + // } + + if (!this.currentSearchContent) { + // Empty search block + if (this.originalContent.length === 0) { + // New file scenario: nothing to match, just start inserting + this.searchMatchIndex = 0 + this.searchEndIndex = 0 + } else { + // Complete file replacement scenario: treat the entire file as matched + this.searchMatchIndex = 0 + this.searchEndIndex = this.originalContent.length + } + } else { + // Add check for inefficient full-file search + // if (currentSearchContent.trim() === originalContent.trim()) { + // throw new Error( + // "The SEARCH block contains the entire file content. Please either:\n" + + // "1. Use an empty SEARCH block to replace the entire file, or\n" + + // "2. Make focused changes to specific parts of the file that need modification.", + // ) + // } + // Exact search match scenario + const exactIndex = this.originalContent.indexOf(this.currentSearchContent, this.lastProcessedIndex) + if (exactIndex !== -1) { + this.searchMatchIndex = exactIndex + this.searchEndIndex = exactIndex + this.currentSearchContent.length + } else { + // Attempt fallback line-trimmed matching + const lineMatch = lineTrimmedFallbackMatch( + this.originalContent, + this.currentSearchContent, + this.lastProcessedIndex, + ) + if (lineMatch) { + ;[this.searchMatchIndex, this.searchEndIndex] = lineMatch + } else { + // Try block anchor fallback for larger blocks + const blockMatch = blockAnchorFallbackMatch( + this.originalContent, + this.currentSearchContent, + this.lastProcessedIndex, + ) + if (blockMatch) { + ;[this.searchMatchIndex, this.searchEndIndex, /* ignore similarity */] = blockMatch + } else { + throw new Error( + `The SEARCH block:\n${this.currentSearchContent.trimEnd()}\n...does not match anything in the file.`, + ) + } + } + } + } + if (this.searchMatchIndex < this.lastProcessedIndex) { + throw new Error( + `The SEARCH block:\n${this.currentSearchContent.trimEnd()}\n...matched an incorrect content in the file.`, + ) + } + // Output everything up to the match location + this.result += this.originalContent.slice(this.lastProcessedIndex, this.searchMatchIndex) + } + + private tryFixSearchBlock(lineLimit: number): number { + let removeLineCount = 0 + if (lineLimit < 0) { + lineLimit = this.pendingNonStandardLines.length + } + if (!lineLimit) { + throw new Error("Invalid SEARCH/REPLACE block structure - no lines available to process") + } + let searchTagRegexp = /^([-]{3,}|[<]{3,}) SEARCH$/ + const searchTagIndex = this.findLastMatchingLineIndex(searchTagRegexp, lineLimit) + if (searchTagIndex !== -1) { + let fixLines = this.pendingNonStandardLines.slice(searchTagIndex, lineLimit) + fixLines[0] = SEARCH_BLOCK_START + for (const line of fixLines) { + removeLineCount += this.internalProcessLine(line, false, searchTagIndex) + } + } else { + throw new Error( + `Invalid REPLACE marker detected - could not find matching SEARCH block starting from line ${searchTagIndex + 1}`, + ) + } + return removeLineCount + } + + private tryFixReplaceBlock(lineLimit: number): number { + let removeLineCount = 0 + if (lineLimit < 0) { + lineLimit = this.pendingNonStandardLines.length + } + if (!lineLimit) { + throw new Error() + } + let replaceBeginTagRegexp = /^[=]{3,}$/ + const replaceBeginTagIndex = this.findLastMatchingLineIndex(replaceBeginTagRegexp, lineLimit) + if (replaceBeginTagIndex !== -1) { + // // 校验非标内容 + // if (!this.isSearchingActive()) { + // removeLineCount += this.tryFixSearchBlock(replaceBeginTagIndex) + // } + let fixLines = this.pendingNonStandardLines.slice(replaceBeginTagIndex - removeLineCount, lineLimit - removeLineCount) + fixLines[0] = SEARCH_BLOCK_END + for (const line of fixLines) { + removeLineCount += this.internalProcessLine(line, false, replaceBeginTagIndex - removeLineCount) + } + } else { + throw new Error(`Malformed REPLACE block - missing valid separator after line ${replaceBeginTagIndex + 1}`) + } + return removeLineCount + } + + private tryFixSearchReplaceBlock(lineLimit: number): number { + let removeLineCount = 0 + if (lineLimit < 0) { + lineLimit = this.pendingNonStandardLines.length + } + if (!lineLimit) { + throw new Error() + } + + let replaceEndTagRegexp = /^([+]{3,}|[>]{3,}) REPLACE$/ + const replaceEndTagIndex = this.findLastMatchingLineIndex(replaceEndTagRegexp, lineLimit) + const likeReplaceEndTag = replaceEndTagIndex === lineLimit - 1 + if (likeReplaceEndTag) { + // // 校验非标内容 + // if (!this.isReplacingActive()) { + // removeLineCount += this.tryFixReplaceBlock(replaceEndTagIndex) + // } + let fixLines = this.pendingNonStandardLines.slice(replaceEndTagIndex - removeLineCount, lineLimit - removeLineCount) + fixLines[fixLines.length - 1] = REPLACE_BLOCK_END + for (const line of fixLines) { + removeLineCount += this.internalProcessLine(line, false, replaceEndTagIndex - removeLineCount) + } + } else { + throw new Error("Malformed SEARCH/REPLACE block structure: Missing valid closing REPLACE marker") + } + return removeLineCount + } + + /** + * Removes trailing empty lines from the pendingNonStandardLines array + * @param lineLimit - The index to start checking from (exclusive). + * Removes empty lines from lineLimit-1 backwards. + * @returns The number of empty lines removed + */ + private trimPendingNonStandardTrailingEmptyLines(lineLimit: number): number { + let removedCount = 0 + let i = Math.min(lineLimit, this.pendingNonStandardLines.length) - 1 + + while (i >= 0 && this.pendingNonStandardLines[i].trim() === "") { + this.pendingNonStandardLines.pop() + removedCount++ + i-- + } + + return removedCount + } +} + +export async function constructNewFileContentV2(diffContent: string, originalContent: string, isFinal: boolean): Promise { + let newFileContentConstructor = new NewFileContentConstructor(originalContent, isFinal) + + let lines = diffContent.split("\n") + + // If the last line looks like a partial marker but isn't recognized, + // remove it because it might be incomplete. + const lastLine = lines[lines.length - 1] + if ( + lines.length > 0 && + (lastLine.startsWith(SEARCH_BLOCK_CHAR) || + lastLine.startsWith(LEGACY_SEARCH_BLOCK_CHAR) || + lastLine.startsWith("=") || + lastLine.startsWith(REPLACE_BLOCK_CHAR) || + lastLine.startsWith(LEGACY_REPLACE_BLOCK_CHAR)) && + lastLine !== SEARCH_BLOCK_START && + lastLine !== SEARCH_BLOCK_END && + lastLine !== REPLACE_BLOCK_END + ) { + lines.pop() + } + + for (const line of lines) { + newFileContentConstructor.processLine(line) + } + + let result = newFileContentConstructor.getResult() + return result +} diff --git a/evals/diff-edits/types.ts b/evals/diff-edits/types.ts index 1ff10c6a..a8005b40 100644 --- a/evals/diff-edits/types.ts +++ b/evals/diff-edits/types.ts @@ -81,6 +81,7 @@ export interface TestResult { diffEdit?: string toolCalls?: ExtractedToolCall[] diffEditSuccess?: boolean + replacementData?: any error?: string errorString?: string } diff --git a/package-lock.json b/package-lock.json index 6c65477c..1d07e306 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cline-shengsuan", - "version": "3.18.0", - "lockfileVersion": 3, + "version": "3.18.1", + "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "cline-shengsuan", - "version": "3.18.0", + "version": "3.18.1", "license": "Apache-2.0", "dependencies": { "@anthropic-ai/sdk": "^0.37.0", @@ -45,7 +45,6 @@ "fzf": "^0.5.2", "get-folder-size": "^5.0.0", "globby": "^14.0.2", - "google-auth-library": "^10.1.0", "grpc-health-check": "^2.0.2", "iconv-lite": "^0.6.3", "ignore": "^7.0.3", @@ -184,73 +183,28 @@ "google-auth-library": "^9.4.2" } }, - "node_modules/@anthropic-ai/vertex-sdk/node_modules/gaxios": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-6.7.1.tgz", - "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", - "license": "Apache-2.0", - "dependencies": { - "extend": "^3.0.2", - "https-proxy-agent": "^7.0.1", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.9", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@anthropic-ai/vertex-sdk/node_modules/gcp-metadata": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-6.1.1.tgz", - "integrity": "sha512-a4tiq7E0/5fTjxPAaH4jpjkSv/uCaU2p5KC6HVGrvl0cDjA8iBZv4vv1gyzlmK0ZUKqwpOyQMKzZQe3lTit77A==", - "license": "Apache-2.0", - "dependencies": { - "gaxios": "^6.1.1", - "google-logging-utils": "^0.0.2", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@anthropic-ai/vertex-sdk/node_modules/google-auth-library": { - "version": "9.15.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-9.15.1.tgz", - "integrity": "sha512-Jb6Z0+nvECVz+2lzSMt9u98UsoakXxA2HGHMCxh+so3n90XgYWkq5dur19JAJV7ONiJY22yBTyJB1TSkvPq9Ng==", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "gaxios": "^6.1.1", - "gcp-metadata": "^6.1.0", - "gtoken": "^7.0.0", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@anthropic-ai/vertex-sdk/node_modules/google-logging-utils": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-0.0.2.tgz", - "integrity": "sha512-NEgUnEcBiP5HrPzufUkBzJOD/Sxsco3rLNo1F1TNf7ieU8ryUzBhqba8r756CjLX7rn3fHl6iLEwPYuqpoKgQQ==", - "license": "Apache-2.0", - "engines": { - "node": ">=14" - } - }, - "node_modules/@anthropic-ai/vertex-sdk/node_modules/gtoken": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-7.1.0.tgz", - "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", + "node_modules/@anthropic-ai/vertex-sdk/node_modules/@anthropic-ai/sdk": { + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.38.0.tgz", + "integrity": "sha512-ZUYjadEEeb1wwKd9MEM+plSfl7zQjYixhjHRtyPsjO7MtzRmbZvBb1n1ofo2kHwb0aUiIdb3aAEbAwS9Bcbm/A==", "license": "MIT", "dependencies": { - "gaxios": "^6.0.0", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=14.0.0" + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.4", + "abort-controller": "^3.0.0", + "agentkeepalive": "^4.2.1", + "form-data-encoder": "1.7.2", + "formdata-node": "^4.3.2", + "node-fetch": "^2.6.7" + } + }, + "node_modules/@anthropic-ai/vertex-sdk/node_modules/@types/node": { + "version": "18.19.76", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.76.tgz", + "integrity": "sha512-yvR7Q9LdPz2vGpmpJX5LolrgRdWvB67MJKDPSgIIzpFbaf9a1j/f5DnLp5VDyHGMR0QZHlTr1afsD87QCXFHKw==", + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" } }, "node_modules/@asyncapi/parser": { @@ -2873,75 +2827,6 @@ "node": ">=18.0.0" } }, - "node_modules/@google-cloud/vertexai/node_modules/gaxios": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-6.7.1.tgz", - "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", - "license": "Apache-2.0", - "dependencies": { - "extend": "^3.0.2", - "https-proxy-agent": "^7.0.1", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.9", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@google-cloud/vertexai/node_modules/gcp-metadata": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-6.1.1.tgz", - "integrity": "sha512-a4tiq7E0/5fTjxPAaH4jpjkSv/uCaU2p5KC6HVGrvl0cDjA8iBZv4vv1gyzlmK0ZUKqwpOyQMKzZQe3lTit77A==", - "license": "Apache-2.0", - "dependencies": { - "gaxios": "^6.1.1", - "google-logging-utils": "^0.0.2", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@google-cloud/vertexai/node_modules/google-auth-library": { - "version": "9.15.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-9.15.1.tgz", - "integrity": "sha512-Jb6Z0+nvECVz+2lzSMt9u98UsoakXxA2HGHMCxh+so3n90XgYWkq5dur19JAJV7ONiJY22yBTyJB1TSkvPq9Ng==", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "gaxios": "^6.1.1", - "gcp-metadata": "^6.1.0", - "gtoken": "^7.0.0", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@google-cloud/vertexai/node_modules/google-logging-utils": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-0.0.2.tgz", - "integrity": "sha512-NEgUnEcBiP5HrPzufUkBzJOD/Sxsco3rLNo1F1TNf7ieU8ryUzBhqba8r756CjLX7rn3fHl6iLEwPYuqpoKgQQ==", - "license": "Apache-2.0", - "engines": { - "node": ">=14" - } - }, - "node_modules/@google-cloud/vertexai/node_modules/gtoken": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-7.1.0.tgz", - "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", - "license": "MIT", - "dependencies": { - "gaxios": "^6.0.0", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@google/genai": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz", @@ -2960,75 +2845,6 @@ "@modelcontextprotocol/sdk": "^1.11.0" } }, - "node_modules/@google/genai/node_modules/gaxios": { - "version": "6.7.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-6.7.1.tgz", - "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", - "license": "Apache-2.0", - "dependencies": { - "extend": "^3.0.2", - "https-proxy-agent": "^7.0.1", - "is-stream": "^2.0.0", - "node-fetch": "^2.6.9", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@google/genai/node_modules/gcp-metadata": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-6.1.1.tgz", - "integrity": "sha512-a4tiq7E0/5fTjxPAaH4jpjkSv/uCaU2p5KC6HVGrvl0cDjA8iBZv4vv1gyzlmK0ZUKqwpOyQMKzZQe3lTit77A==", - "license": "Apache-2.0", - "dependencies": { - "gaxios": "^6.1.1", - "google-logging-utils": "^0.0.2", - "json-bigint": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@google/genai/node_modules/google-auth-library": { - "version": "9.15.1", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-9.15.1.tgz", - "integrity": "sha512-Jb6Z0+nvECVz+2lzSMt9u98UsoakXxA2HGHMCxh+so3n90XgYWkq5dur19JAJV7ONiJY22yBTyJB1TSkvPq9Ng==", - "license": "Apache-2.0", - "dependencies": { - "base64-js": "^1.3.0", - "ecdsa-sig-formatter": "^1.0.11", - "gaxios": "^6.1.1", - "gcp-metadata": "^6.1.0", - "gtoken": "^7.0.0", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@google/genai/node_modules/google-logging-utils": { - "version": "0.0.2", - "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-0.0.2.tgz", - "integrity": "sha512-NEgUnEcBiP5HrPzufUkBzJOD/Sxsco3rLNo1F1TNf7ieU8ryUzBhqba8r756CjLX7rn3fHl6iLEwPYuqpoKgQQ==", - "license": "Apache-2.0", - "engines": { - "node": ">=14" - } - }, - "node_modules/@google/genai/node_modules/gtoken": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-7.1.0.tgz", - "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", - "license": "MIT", - "dependencies": { - "gaxios": "^6.0.0", - "jws": "^4.0.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@grpc/grpc-js": { "version": "1.13.4", "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.4.tgz", @@ -9864,10 +9680,9 @@ } }, "node_modules/bignumber.js": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.3.0.tgz", - "integrity": "sha512-EM7aMFTXbptt/wZdMlBv2t8IViwQL+h6SLHosp8Yf0dqJMTnY6iL32opnAB6kAdL0SZPuvcAzFr31o0c/R3/RA==", - "license": "MIT", + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", + "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", "engines": { "node": "*" } @@ -10027,8 +9842,7 @@ "node_modules/buffer-equal-constant-time": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", - "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==", - "license": "BSD-3-Clause" + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" }, "node_modules/buffer-indexof-polyfill": { "version": "1.0.2", @@ -11776,7 +11590,6 @@ "version": "1.0.11", "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", - "license": "Apache-2.0", "dependencies": { "safe-buffer": "^5.0.1" } @@ -13520,38 +13333,6 @@ "pend": "~1.2.0" } }, - "node_modules/fetch-blob": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.2.0.tgz", - "integrity": "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/jimmywarting" - }, - { - "type": "paypal", - "url": "https://paypal.me/jimmywarting" - } - ], - "license": "MIT", - "dependencies": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - }, - "engines": { - "node": "^12.20 || >= 14.13" - } - }, - "node_modules/fetch-blob/node_modules/web-streams-polyfill": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.3.3.tgz", - "integrity": "sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==", - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, "node_modules/figures": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", @@ -13895,16 +13676,13 @@ "node": ">= 12.20" } }, - "node_modules/formdata-polyfill": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", - "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", + "node_modules/formdata-node/node_modules/web-streams-polyfill": { + "version": "4.0.0-beta.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz", + "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==", "license": "MIT", - "dependencies": { - "fetch-blob": "^3.1.2" - }, "engines": { - "node": ">=12.20.0" + "node": ">= 14" } }, "node_modules/forwarded": { @@ -14207,44 +13985,18 @@ } }, "node_modules/gaxios": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-7.1.1.tgz", - "integrity": "sha512-Odju3uBUJyVCkW64nLD4wKLhbh93bh6vIg/ZIXkWiLPBrdgtc65+tls/qml+un3pr6JqYVFDZbbmLDQT68rTOQ==", - "license": "Apache-2.0", + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-6.7.1.tgz", + "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", "dependencies": { "extend": "^3.0.2", "https-proxy-agent": "^7.0.1", - "node-fetch": "^3.3.2" + "is-stream": "^2.0.0", + "node-fetch": "^2.6.9", + "uuid": "^9.0.1" }, "engines": { - "node": ">=18" - } - }, - "node_modules/gaxios/node_modules/data-uri-to-buffer": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz", - "integrity": "sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==", - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, - "node_modules/gaxios/node_modules/node-fetch": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz", - "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==", - "license": "MIT", - "dependencies": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/node-fetch" + "node": ">=14" } }, "node_modules/gcd": { @@ -14255,17 +14007,15 @@ "license": "MIT" }, "node_modules/gcp-metadata": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-7.0.1.tgz", - "integrity": "sha512-UcO3kefx6dCcZkgcTGgVOTFb7b1LlQ02hY1omMjjrrBzkajRMCFgYOjs7J71WqnuG1k2b+9ppGL7FsOfhZMQKQ==", - "license": "Apache-2.0", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-6.1.0.tgz", + "integrity": "sha512-Jh/AIwwgaxan+7ZUUmRLCjtchyDiqh4KjBJ5tW3plBZb5iL/BPcso8A5DlzeD9qlw0duCamnNdpFjxwaT0KyKg==", "dependencies": { - "gaxios": "^7.0.0", - "google-logging-utils": "^1.0.0", + "gaxios": "^6.0.0", "json-bigint": "^1.0.0" }, "engines": { - "node": ">=18" + "node": ">=14" } }, "node_modules/get-caller-file": { @@ -14508,28 +14258,18 @@ } }, "node_modules/google-auth-library": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-10.1.0.tgz", - "integrity": "sha512-GspVjZj1RbyRWpQ9FbAXMKjFGzZwDKnUHi66JJ+tcjcu5/xYAP1pdlWotCuIkMwjfVsxxDvsGZXGLzRt72D0sQ==", + "version": "9.15.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-9.15.1.tgz", + "integrity": "sha512-Jb6Z0+nvECVz+2lzSMt9u98UsoakXxA2HGHMCxh+so3n90XgYWkq5dur19JAJV7ONiJY22yBTyJB1TSkvPq9Ng==", "license": "Apache-2.0", "dependencies": { "base64-js": "^1.3.0", "ecdsa-sig-formatter": "^1.0.11", - "gaxios": "^7.0.0", - "gcp-metadata": "^7.0.0", - "google-logging-utils": "^1.0.0", - "gtoken": "^8.0.0", + "gaxios": "^6.1.1", + "gcp-metadata": "^6.1.0", + "gtoken": "^7.0.0", "jws": "^4.0.0" }, - "engines": { - "node": ">=18" - } - }, - "node_modules/google-logging-utils": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/google-logging-utils/-/google-logging-utils-1.1.1.tgz", - "integrity": "sha512-rcX58I7nqpu4mbKztFeOAObbomBbHU2oIb/d3tJfF3dizGSApqtSwYJigGCooHdnMyQBIw8BrWyK96w3YXgr6A==", - "license": "Apache-2.0", "engines": { "node": ">=14" } @@ -14648,16 +14388,15 @@ } }, "node_modules/gtoken": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-8.0.0.tgz", - "integrity": "sha512-+CqsMbHPiSTdtSO14O51eMNlrp9N79gmeqmXeouJOhfucAedHw9noVe/n5uJk3tbKE6a+6ZCQg3RPhVhHByAIw==", - "license": "MIT", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-7.1.0.tgz", + "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", "dependencies": { - "gaxios": "^7.0.0", + "gaxios": "^6.0.0", "jws": "^4.0.0" }, "engines": { - "node": ">=18" + "node": ">=14.0.0" } }, "node_modules/has-bigints": { @@ -16514,7 +16253,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", - "license": "MIT", "dependencies": { "bignumber.js": "^9.0.0" } @@ -16667,12 +16405,11 @@ "license": "MIT" }, "node_modules/jwa": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.1.tgz", - "integrity": "sha512-hRF04fqJIP8Abbkq5NKGN0Bbr3JxlQ+qhZufXVr0DvujKy93ZCbXZMHDL4EOtodSbCWxOqR8MS1tXA5hwqCXDg==", - "license": "MIT", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", "dependencies": { - "buffer-equal-constant-time": "^1.0.1", + "buffer-equal-constant-time": "1.0.1", "ecdsa-sig-formatter": "1.0.11", "safe-buffer": "^5.0.1" } @@ -16681,7 +16418,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", - "license": "MIT", "dependencies": { "jwa": "^2.0.0", "safe-buffer": "^5.0.1" @@ -24717,15 +24453,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/web-streams-polyfill": { - "version": "4.0.0-beta.3", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz", - "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==", - "license": "MIT", - "engines": { - "node": ">= 14" - } - }, "node_modules/web-tree-sitter": { "version": "0.22.6", "resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.22.6.tgz", @@ -25574,5 +25301,16987 @@ "url": "https://github.com/sponsors/wooorm" } } + }, + "dependencies": { + "@anthropic-ai/sdk": { + "version": "0.37.0", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.37.0.tgz", + "integrity": "sha512-tHjX2YbkUBwEgg0JZU3EFSSAQPoK4qQR/NFYa8Vtzd5UAyXzZksCw2In69Rml4R/TyHPBfRYaLK35XiOe33pjw==", + "requires": { + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.4", + "abort-controller": "^3.0.0", + "agentkeepalive": "^4.2.1", + "form-data-encoder": "1.7.2", + "formdata-node": "^4.3.2", + "node-fetch": "^2.6.7" + }, + "dependencies": { + "@types/node": { + "version": "18.19.78", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.78.tgz", + "integrity": "sha512-m1ilZCTwKLkk9rruBJXFeYN0Bc5SbjirwYX/Td3MqPfioYbgun3IvK/m8dQxMCnrPGZPg1kvXjp3SIekCN/ynw==", + "requires": { + "undici-types": "~5.26.4" + } + } + } + }, + "@anthropic-ai/vertex-sdk": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/@anthropic-ai/vertex-sdk/-/vertex-sdk-0.6.4.tgz", + "integrity": "sha512-rMBlO2jF53TfMRmsQMm1bPO2JRUh4jYddjq/OJLj8DSAkfbCrNWhc0yhDed6oLYJg5s+VpDbvlPzMggqHhTfMw==", + "requires": { + "@anthropic-ai/sdk": ">=0.35 <1", + "google-auth-library": "^9.4.2" + }, + "dependencies": { + "@anthropic-ai/sdk": { + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.38.0.tgz", + "integrity": "sha512-ZUYjadEEeb1wwKd9MEM+plSfl7zQjYixhjHRtyPsjO7MtzRmbZvBb1n1ofo2kHwb0aUiIdb3aAEbAwS9Bcbm/A==", + "requires": { + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.4", + "abort-controller": "^3.0.0", + "agentkeepalive": "^4.2.1", + "form-data-encoder": "1.7.2", + "formdata-node": "^4.3.2", + "node-fetch": "^2.6.7" + } + }, + "@types/node": { + "version": "18.19.76", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.76.tgz", + "integrity": "sha512-yvR7Q9LdPz2vGpmpJX5LolrgRdWvB67MJKDPSgIIzpFbaf9a1j/f5DnLp5VDyHGMR0QZHlTr1afsD87QCXFHKw==", + "requires": { + "undici-types": "~5.26.4" + } + } + } + }, + "@asyncapi/parser": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.4.0.tgz", + "integrity": "sha512-Sxn74oHiZSU6+cVeZy62iPZMFMvKp4jupMFHelSICCMw1qELmUHPvuZSr+ZHDmNGgHcEpzJM5HN02kR7T4g+PQ==", + "dev": true, + "requires": { + "@asyncapi/specs": "^6.8.0", + "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", + "@stoplight/json": "3.21.0", + "@stoplight/json-ref-readers": "^1.2.2", + "@stoplight/json-ref-resolver": "^3.1.5", + "@stoplight/spectral-core": "^1.18.3", + "@stoplight/spectral-functions": "^1.7.2", + "@stoplight/spectral-parsers": "^1.0.2", + "@stoplight/spectral-ref-resolver": "^1.0.3", + "@stoplight/types": "^13.12.0", + "@types/json-schema": "^7.0.11", + "@types/urijs": "^1.19.19", + "ajv": "^8.17.1", + "ajv-errors": "^3.0.0", + "ajv-formats": "^2.1.1", + "avsc": "^5.7.5", + "js-yaml": "^4.1.0", + "jsonpath-plus": "^10.0.0", + "node-fetch": "2.6.7" + }, + "dependencies": { + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "dev": true, + "requires": {} + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "requires": { + "whatwg-url": "^5.0.0" + } + } + } + }, + "@asyncapi/specs": { + "version": "6.8.1", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.8.1.tgz", + "integrity": "sha512-czHoAk3PeXTLR+X8IUaD+IpT+g+zUvkcgMDJVothBsan+oHN3jfcFcFUNdOPAAFoUCQN1hXF1dWuphWy05THlA==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.11" + } + }, + "@aws-crypto/crc32": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/crc32/-/crc32-5.2.0.tgz", + "integrity": "sha512-nLbCWqQNgUiwwtFsen1AdzAtvuLRsQS8rYgMuxCrdKf9kOssamGLuPwyTY9wyYblNr9+1XM8v6zoDTPPSIeANg==", + "requires": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-crypto/sha256-browser": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz", + "integrity": "sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==", + "requires": { + "@aws-crypto/sha256-js": "^5.2.0", + "@aws-crypto/supports-web-crypto": "^5.2.0", + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "@aws-sdk/util-locate-window": "^3.0.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "requires": { + "tslib": "^2.6.2" + } + }, + "@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "requires": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + } + }, + "@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "requires": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" + } + } + }, + "@aws-crypto/sha256-js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz", + "integrity": "sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==", + "requires": { + "@aws-crypto/util": "^5.2.0", + "@aws-sdk/types": "^3.222.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-crypto/supports-web-crypto": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz", + "integrity": "sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" + } + } + }, + "@aws-crypto/util": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@aws-crypto/util/-/util-5.2.0.tgz", + "integrity": "sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==", + "requires": { + "@aws-sdk/types": "^3.222.0", + "@smithy/util-utf8": "^2.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "@smithy/is-array-buffer": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz", + "integrity": "sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==", + "requires": { + "tslib": "^2.6.2" + } + }, + "@smithy/util-buffer-from": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz", + "integrity": "sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==", + "requires": { + "@smithy/is-array-buffer": "^2.2.0", + "tslib": "^2.6.2" + } + }, + "@smithy/util-utf8": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-2.3.0.tgz", + "integrity": "sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==", + "requires": { + "@smithy/util-buffer-from": "^2.2.0", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/client-bedrock-runtime": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-bedrock-runtime/-/client-bedrock-runtime-3.826.0.tgz", + "integrity": "sha512-GWGdYCUq2n720qhMy5tNrb4Hslg3vQ7tDy6G9xFpLjsUzWVsnHlk8TYa9tbXNHN56X8klbybc+M9h6KAmkCedA==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/credential-provider-node": "3.826.0", + "@aws-sdk/eventstream-handler-node": "3.821.0", + "@aws-sdk/middleware-eventstream": "3.821.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/eventstream-serde-browser": "^4.0.4", + "@smithy/eventstream-serde-config-resolver": "^4.1.2", + "@smithy/eventstream-serde-node": "^4.0.4", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-stream": "^4.2.2", + "@smithy/util-utf8": "^4.0.0", + "@types/uuid": "^9.0.1", + "tslib": "^2.6.2", + "uuid": "^9.0.1" + }, + "dependencies": { + "@smithy/eventstream-serde-node": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-4.0.4.tgz", + "integrity": "sha512-RD6UwNZ5zISpOWPuhVgRz60GkSIp0dy1fuZmj4RYmqLVRtejFqQ16WmfYDdoSoAjlp1LX+FnZo+/hkdmyyGZ1w==", + "requires": { + "@smithy/eventstream-serde-universal": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/client-cognito-identity": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-cognito-identity/-/client-cognito-identity-3.826.0.tgz", + "integrity": "sha512-3SStkRCHoB7a2Q4aGA++Zvlps8qxJhtCgSRs9cOSL9ldoYGCjOATkMCYmQD9iySge/WULPDEPf5qYlAyGfoRCg==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/credential-provider-node": "3.826.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/client-sso": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.826.0.tgz", + "integrity": "sha512-/FEKnUC3xPkLL4RuRydwzx+y4b55HIX6qLPbGnyIs+sNmCUyc/62ijtV1Ml+b++YzEF6jWNBsJOxeyZdgrJ3Ig==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/core": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.826.0.tgz", + "integrity": "sha512-BGbQYzWj3ps+dblq33FY5tz/SsgJCcXX0zjQlSC07tYvU1jHTUvsefphyig+fY38xZ4wdKjbTop+KUmXUYrOXw==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@aws-sdk/xml-builder": "3.821.0", + "@smithy/core": "^3.5.3", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/property-provider": "^4.0.4", + "@smithy/protocol-http": "^5.1.2", + "@smithy/signature-v4": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-utf8": "^4.0.0", + "fast-xml-parser": "4.4.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-cognito-identity": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-cognito-identity/-/credential-provider-cognito-identity-3.826.0.tgz", + "integrity": "sha512-WnHLJD1iy0Gqyv0S7PXI+c1c9xBY8L5XnESOzYM78Sx1zlVHw557ZtQM1lKtHa6DiGMN4apYZr0lmalgmtHpQQ==", + "requires": { + "@aws-sdk/client-cognito-identity": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/property-provider": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-env": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.826.0.tgz", + "integrity": "sha512-DK3pQY8+iKK3MGDdC3uOZQ2psU01obaKlTYhEwNu4VWzgwQL4Vi3sWj4xSWGEK41vqZxiRLq6fOq7ysRI+qEZA==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/property-provider": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-http": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.826.0.tgz", + "integrity": "sha512-N+IVZBh+yx/9GbMZTKO/gErBi/FYZQtcFRItoLbY+6WU+0cSWyZYfkoeOxHmQV3iX9k65oljERIWUmL9x6OSQg==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/property-provider": "^4.0.4", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/util-stream": "^4.2.2", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-ini": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.826.0.tgz", + "integrity": "sha512-g7n+qSklq/Lzjxe2Ke5QFNCgYn26a3ydZnbFIk8QqYin4pzG+qiunaqJjpV3c/EeHMlfK8bBc7MXAylKzGRccQ==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/credential-provider-env": "3.826.0", + "@aws-sdk/credential-provider-http": "3.826.0", + "@aws-sdk/credential-provider-process": "3.826.0", + "@aws-sdk/credential-provider-sso": "3.826.0", + "@aws-sdk/credential-provider-web-identity": "3.826.0", + "@aws-sdk/nested-clients": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/credential-provider-imds": "^4.0.6", + "@smithy/property-provider": "^4.0.4", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "@aws-sdk/nested-clients": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.826.0.tgz", + "integrity": "sha512-p7olPq0uTtHqGuXI1GSc/gzKDvV55PMbLtnmupEDfnY9SoRu+QatbWQ6da9sI1lhOcNmRMgiNQBXFzaUFrG+SQ==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-node": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.826.0.tgz", + "integrity": "sha512-UfIJXxHjmSxH6bea00HBPLkjNI2D04enQA/xNLZvB+4xtzt1/gYdCis1P4/73f5aGVVVB4/zQMobBbnjkrmbQw==", + "requires": { + "@aws-sdk/credential-provider-env": "3.826.0", + "@aws-sdk/credential-provider-http": "3.826.0", + "@aws-sdk/credential-provider-ini": "3.826.0", + "@aws-sdk/credential-provider-process": "3.826.0", + "@aws-sdk/credential-provider-sso": "3.826.0", + "@aws-sdk/credential-provider-web-identity": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/credential-provider-imds": "^4.0.6", + "@smithy/property-provider": "^4.0.4", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-process": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.826.0.tgz", + "integrity": "sha512-kURrc4amu3NLtw1yZw7EoLNEVhmOMRUTs+chaNcmS+ERm3yK0nKjaJzmKahmwlTQTSl3wJ8jjK7x962VPo+zWw==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/property-provider": "^4.0.4", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-sso": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.826.0.tgz", + "integrity": "sha512-F19J3zcfoom6OnQ0MyAtvduVKQXPgkz9i5ExSO01J2CzjbyMhCDA99qAjHYe+LwhW+W7P/jzBPd0+uOQ2Nhh9Q==", + "requires": { + "@aws-sdk/client-sso": "3.826.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/token-providers": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/property-provider": "^4.0.4", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-provider-web-identity": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.826.0.tgz", + "integrity": "sha512-o27GZ6Hy7qhuvMFVUL2eFEpBzf33Jaa/x3u3SHwU0nL7ko7jmbpeF0x4+wmagpI9X2IvVlUxIs0VaQ3YayPLEA==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/nested-clients": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/property-provider": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "@aws-sdk/nested-clients": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.826.0.tgz", + "integrity": "sha512-p7olPq0uTtHqGuXI1GSc/gzKDvV55PMbLtnmupEDfnY9SoRu+QatbWQ6da9sI1lhOcNmRMgiNQBXFzaUFrG+SQ==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/credential-providers": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/credential-providers/-/credential-providers-3.826.0.tgz", + "integrity": "sha512-2wuJFyI5I1LTN3dAF9AzyPDX5zn8/3hWxE8+M3Q1iAP/JH4dBB3SFyvE88Ts01iQ/n4Hu8cAlU5Ke1dnrCxUnw==", + "requires": { + "@aws-sdk/client-cognito-identity": "3.826.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/credential-provider-cognito-identity": "3.826.0", + "@aws-sdk/credential-provider-env": "3.826.0", + "@aws-sdk/credential-provider-http": "3.826.0", + "@aws-sdk/credential-provider-ini": "3.826.0", + "@aws-sdk/credential-provider-node": "3.826.0", + "@aws-sdk/credential-provider-process": "3.826.0", + "@aws-sdk/credential-provider-sso": "3.826.0", + "@aws-sdk/credential-provider-web-identity": "3.826.0", + "@aws-sdk/nested-clients": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/credential-provider-imds": "^4.0.6", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/property-provider": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "@aws-sdk/nested-clients": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.826.0.tgz", + "integrity": "sha512-p7olPq0uTtHqGuXI1GSc/gzKDvV55PMbLtnmupEDfnY9SoRu+QatbWQ6da9sI1lhOcNmRMgiNQBXFzaUFrG+SQ==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/eventstream-handler-node": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/eventstream-handler-node/-/eventstream-handler-node-3.821.0.tgz", + "integrity": "sha512-JqmzOCAnd9pUnmbrqXIbyBUxjw/UAfXAu8KAsE/4SveUIvyYRbYSTfCoPq6nnNJQpBtdEFLkjvBnHKBcInDwkg==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/eventstream-codec": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/middleware-eventstream": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-eventstream/-/middleware-eventstream-3.821.0.tgz", + "integrity": "sha512-L+qud1uX1hX7MpRy564dFj4/5sDRKVLToiydvgRy6Rc3pwsVhRpm6/2djMVgDsFI3sYd+JoeTFjEypkoV3LE5Q==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/middleware-host-header": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.821.0.tgz", + "integrity": "sha512-xSMR+sopSeWGx5/4pAGhhfMvGBHioVBbqGvDs6pG64xfNwM5vq5s5v6D04e2i+uSTj4qGa71dLUs5I0UzAK3sw==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/middleware-logger": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.821.0.tgz", + "integrity": "sha512-0cvI0ipf2tGx7fXYEEN5fBeZDz2RnHyb9xftSgUsEq7NBxjV0yTZfLJw6Za5rjE6snC80dRN8+bTNR1tuG89zA==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/middleware-recursion-detection": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.821.0.tgz", + "integrity": "sha512-efmaifbhBoqKG3bAoEfDdcM8hn1psF+4qa7ykWuYmfmah59JBeqHLfz5W9m9JoTwoKPkFcVLWZxnyZzAnVBOIg==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/middleware-user-agent": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.826.0.tgz", + "integrity": "sha512-j404+EcfBbtTlAhyObjXbdKwwDXO1pCxHvR5Fw8FXNvp/H330j6YnXgs3SJ6d3bZUwUJ/ztPx2S5AlBbLVLDFw==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@smithy/core": "^3.5.3", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/region-config-resolver": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.821.0.tgz", + "integrity": "sha512-t8og+lRCIIy5nlId0bScNpCkif8sc0LhmtaKsbm0ZPm3sCa/WhCbSZibjbZ28FNjVCV+p0D9RYZx0VDDbtWyjw==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/types": "^4.3.1", + "@smithy/util-config-provider": "^4.0.0", + "@smithy/util-middleware": "^4.0.4", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/token-providers": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.826.0.tgz", + "integrity": "sha512-iCOcVAqGPSHtQL8ZBXifZMEcHyUl9wJ8HvLZ5l1ohA/3ZNP+dqEPGi7jfhR5jZKs+xyp2jxByFqfil9PjI9c5A==", + "requires": { + "@aws-sdk/core": "3.826.0", + "@aws-sdk/nested-clients": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/property-provider": "^4.0.4", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "@aws-sdk/nested-clients": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/nested-clients/-/nested-clients-3.826.0.tgz", + "integrity": "sha512-p7olPq0uTtHqGuXI1GSc/gzKDvV55PMbLtnmupEDfnY9SoRu+QatbWQ6da9sI1lhOcNmRMgiNQBXFzaUFrG+SQ==", + "requires": { + "@aws-crypto/sha256-browser": "5.2.0", + "@aws-crypto/sha256-js": "5.2.0", + "@aws-sdk/core": "3.826.0", + "@aws-sdk/middleware-host-header": "3.821.0", + "@aws-sdk/middleware-logger": "3.821.0", + "@aws-sdk/middleware-recursion-detection": "3.821.0", + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/region-config-resolver": "3.821.0", + "@aws-sdk/types": "3.821.0", + "@aws-sdk/util-endpoints": "3.821.0", + "@aws-sdk/util-user-agent-browser": "3.821.0", + "@aws-sdk/util-user-agent-node": "3.826.0", + "@smithy/config-resolver": "^4.1.4", + "@smithy/core": "^3.5.3", + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/hash-node": "^4.0.4", + "@smithy/invalid-dependency": "^4.0.4", + "@smithy/middleware-content-length": "^4.0.4", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-retry": "^4.1.12", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/protocol-http": "^5.1.2", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-body-length-node": "^4.0.0", + "@smithy/util-defaults-mode-browser": "^4.0.19", + "@smithy/util-defaults-mode-node": "^4.0.19", + "@smithy/util-endpoints": "^3.0.6", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/types": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.821.0.tgz", + "integrity": "sha512-Znroqdai1a90TlxGaJ+FK1lwC0fHpo97Xjsp5UKGR5JODYm7f9+/fF17ebO1KdoBr/Rm0UIFiF5VmI8ts9F1eA==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/util-endpoints": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.821.0.tgz", + "integrity": "sha512-Uknt/zUZnLE76zaAAPEayOeF5/4IZ2puTFXvcSCWHsi9m3tqbb9UozlnlVqvCZLCRWfQryZQoG2W4XSS3qgk5A==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/types": "^4.3.1", + "@smithy/util-endpoints": "^3.0.6", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/util-locate-window": { + "version": "3.568.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-locate-window/-/util-locate-window-3.568.0.tgz", + "integrity": "sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" + } + } + }, + "@aws-sdk/util-user-agent-browser": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.821.0.tgz", + "integrity": "sha512-irWZHyM0Jr1xhC+38OuZ7JB6OXMLPZlj48thElpsO1ZSLRkLZx5+I7VV6k3sp2yZ7BYbKz/G2ojSv4wdm7XTLw==", + "requires": { + "@aws-sdk/types": "3.821.0", + "@smithy/types": "^4.3.1", + "bowser": "^2.11.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/util-user-agent-node": { + "version": "3.826.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.826.0.tgz", + "integrity": "sha512-wHw6bZQWIMcFF/8r03aY9Itp6JLBYY4absGGhCDK1dc3tPEfi8NVSdb05a/Oz+g4TVaDdxLo0OQ/OKMS1DFRHQ==", + "requires": { + "@aws-sdk/middleware-user-agent": "3.826.0", + "@aws-sdk/types": "3.821.0", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@aws-sdk/xml-builder": { + "version": "3.821.0", + "resolved": "https://registry.npmjs.org/@aws-sdk/xml-builder/-/xml-builder-3.821.0.tgz", + "integrity": "sha512-DIIotRnefVL6DiaHtO6/21DhJ4JZnnIwdNbpwiAhdt/AVbttcE4yw925gsjur0OGv5BTYXQXU3YnANBYnZjuQA==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@babel/code-frame": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", + "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.27.1", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "dev": true + }, + "@babel/runtime": { + "version": "7.26.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.7.tgz", + "integrity": "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.14.0" + } + }, + "@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, + "@bufbuild/buf": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf/-/buf-1.54.0.tgz", + "integrity": "sha512-UkjZmVslA7YAxhUQVxE2O4HX4qD7aMspjkuG3vsjnvmAkiV6Jhz47z3focCuPI28e59H20TiQNhc9Y3fkffWPw==", + "dev": true, + "requires": { + "@bufbuild/buf-darwin-arm64": "1.54.0", + "@bufbuild/buf-darwin-x64": "1.54.0", + "@bufbuild/buf-linux-aarch64": "1.54.0", + "@bufbuild/buf-linux-armv7": "1.54.0", + "@bufbuild/buf-linux-x64": "1.54.0", + "@bufbuild/buf-win32-arm64": "1.54.0", + "@bufbuild/buf-win32-x64": "1.54.0" + } + }, + "@bufbuild/buf-darwin-arm64": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-arm64/-/buf-darwin-arm64-1.54.0.tgz", + "integrity": "sha512-MkwlxcuHH8YO2wyQ2nGAv5SwBRCR4PtA8zcQb7AR6q93Cgy314ac8blGjfpenprjI3kAAhxc9BQK4t+/hkIS/A==", + "dev": true, + "optional": true + }, + "@bufbuild/buf-darwin-x64": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-darwin-x64/-/buf-darwin-x64-1.54.0.tgz", + "integrity": "sha512-59Z+6BxvVwBbcpLOAwD8TLobngb9YUvUZ1nnP1IyIJnay/tIY+yfmgAdgMwm3VUZlbaFlURGmD34UAwEsxodGQ==", + "dev": true, + "optional": true + }, + "@bufbuild/buf-linux-aarch64": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-aarch64/-/buf-linux-aarch64-1.54.0.tgz", + "integrity": "sha512-cUbvujfoAQGsnRH/+UfKxt0Hfe6PGHjM/gLiC2Kgv8fcoIWjPJMBBgdl/TLbq1QrVcCXSvMc16hW5ias7Jdyfw==", + "dev": true, + "optional": true + }, + "@bufbuild/buf-linux-armv7": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-armv7/-/buf-linux-armv7-1.54.0.tgz", + "integrity": "sha512-xdKjzPsOo6E2eth3uGIRoVG9TpPVHOUucr0MeCRVhM2hb5gbM8KQLn6iDxVGbQFq6eL2qe+B0b8k9HfuwzirWA==", + "dev": true, + "optional": true + }, + "@bufbuild/buf-linux-x64": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-linux-x64/-/buf-linux-x64-1.54.0.tgz", + "integrity": "sha512-ZnfaE5GLAhyvR/ponDgG+s6FbtMEm+RaS2f0EoBLORYC7sK/Elfmw2Q0XcjHyEl83u4hELCqej9T0eUxbgxtow==", + "dev": true, + "optional": true + }, + "@bufbuild/buf-win32-arm64": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-arm64/-/buf-win32-arm64-1.54.0.tgz", + "integrity": "sha512-N5YlX8c6p+KZIWYmx03viYF/FLuY5GyzHgor17nuJUYhF1xFyIJL8v4mhqcQ8Pq0xua9IyRwmSxHJKyrdNatcg==", + "dev": true, + "optional": true + }, + "@bufbuild/buf-win32-x64": { + "version": "1.54.0", + "resolved": "https://registry.npmjs.org/@bufbuild/buf-win32-x64/-/buf-win32-x64-1.54.0.tgz", + "integrity": "sha512-PepTA9RcLCjukQhFPFBqKXF9mVwct+ZSBeuLjFuUVcHovdGUZXspNTb5LnuIDjWXx2fcALs0xb/FNUNd6pNjbA==", + "dev": true, + "optional": true + }, + "@bufbuild/protobuf": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.5.tgz", + "integrity": "sha512-/g5EzJifw5GF8aren8wZ/G5oMuPoGeS6MQD3ca8ddcvdXR5UELUfdTZITCGNhNXynY/AYl3Z4plmxdj/tRl/hQ==" + }, + "@cerebras/cerebras_cloud_sdk": { + "version": "1.35.0", + "resolved": "https://registry.npmjs.org/@cerebras/cerebras_cloud_sdk/-/cerebras_cloud_sdk-1.35.0.tgz", + "integrity": "sha512-bQ6KYHmcvudHJ1aLzqkeETn3Y071/8/zpcZho6g4pKZ+VluHvLmIG0buhrwF9qJY5WSLmXR/s4pruxVRmfV7yQ==", + "requires": { + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.4", + "abort-controller": "^3.0.0", + "agentkeepalive": "^4.2.1", + "form-data-encoder": "1.7.2", + "formdata-node": "^4.3.2", + "node-fetch": "^2.6.7" + }, + "dependencies": { + "@types/node": { + "version": "18.19.103", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.103.tgz", + "integrity": "sha512-hHTHp+sEz6SxFsp+SA+Tqrua3AbmlAw+Y//aEwdHrdZkYVRWdvWD3y5uPZ0flYOkgskaFWqZ/YGFm3FaFQ0pRw==", + "requires": { + "undici-types": "~5.26.4" + } + } + } + }, + "@changesets/apply-release-plan": { + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/@changesets/apply-release-plan/-/apply-release-plan-7.0.8.tgz", + "integrity": "sha512-qjMUj4DYQ1Z6qHawsn7S71SujrExJ+nceyKKyI9iB+M5p9lCL55afuEd6uLBPRpLGWQwkwvWegDHtwHJb1UjpA==", + "dev": true, + "requires": { + "@changesets/config": "^3.0.5", + "@changesets/get-version-range-type": "^0.4.0", + "@changesets/git": "^3.0.2", + "@changesets/should-skip-package": "^0.1.1", + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3", + "detect-indent": "^6.0.0", + "fs-extra": "^7.0.1", + "lodash.startcase": "^4.4.0", + "outdent": "^0.5.0", + "prettier": "^2.7.1", + "resolve-from": "^5.0.0", + "semver": "^7.5.3" + }, + "dependencies": { + "prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "@changesets/assemble-release-plan": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/@changesets/assemble-release-plan/-/assemble-release-plan-6.0.5.tgz", + "integrity": "sha512-IgvBWLNKZd6k4t72MBTBK3nkygi0j3t3zdC1zrfusYo0KpdsvnDjrMM9vPnTCLCMlfNs55jRL4gIMybxa64FCQ==", + "dev": true, + "requires": { + "@changesets/errors": "^0.2.0", + "@changesets/get-dependents-graph": "^2.1.2", + "@changesets/should-skip-package": "^0.1.1", + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3", + "semver": "^7.5.3" + } + }, + "@changesets/changelog-git": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@changesets/changelog-git/-/changelog-git-0.2.0.tgz", + "integrity": "sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==", + "dev": true, + "requires": { + "@changesets/types": "^6.0.0" + } + }, + "@changesets/cli": { + "version": "2.27.12", + "resolved": "https://registry.npmjs.org/@changesets/cli/-/cli-2.27.12.tgz", + "integrity": "sha512-9o3fOfHYOvBnyEn0mcahB7wzaA3P4bGJf8PNqGit5PKaMEFdsRixik+txkrJWd2VX+O6wRFXpxQL8j/1ANKE9g==", + "dev": true, + "requires": { + "@changesets/apply-release-plan": "^7.0.8", + "@changesets/assemble-release-plan": "^6.0.5", + "@changesets/changelog-git": "^0.2.0", + "@changesets/config": "^3.0.5", + "@changesets/errors": "^0.2.0", + "@changesets/get-dependents-graph": "^2.1.2", + "@changesets/get-release-plan": "^4.0.6", + "@changesets/git": "^3.0.2", + "@changesets/logger": "^0.1.1", + "@changesets/pre": "^2.0.1", + "@changesets/read": "^0.6.2", + "@changesets/should-skip-package": "^0.1.1", + "@changesets/types": "^6.0.0", + "@changesets/write": "^0.3.2", + "@manypkg/get-packages": "^1.1.3", + "ansi-colors": "^4.1.3", + "ci-info": "^3.7.0", + "enquirer": "^2.4.1", + "external-editor": "^3.1.0", + "fs-extra": "^7.0.1", + "mri": "^1.2.0", + "p-limit": "^2.2.0", + "package-manager-detector": "^0.2.0", + "picocolors": "^1.1.0", + "resolve-from": "^5.0.0", + "semver": "^7.5.3", + "spawndamnit": "^3.0.1", + "term-size": "^2.1.0" + }, + "dependencies": { + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "@changesets/config": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@changesets/config/-/config-3.0.5.tgz", + "integrity": "sha512-QyXLSSd10GquX7hY0Mt4yQFMEeqnO5z/XLpbIr4PAkNNoQNKwDyiSrx4yd749WddusH1v3OSiA0NRAYmH/APpQ==", + "dev": true, + "requires": { + "@changesets/errors": "^0.2.0", + "@changesets/get-dependents-graph": "^2.1.2", + "@changesets/logger": "^0.1.1", + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3", + "fs-extra": "^7.0.1", + "micromatch": "^4.0.8" + } + }, + "@changesets/errors": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@changesets/errors/-/errors-0.2.0.tgz", + "integrity": "sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==", + "dev": true, + "requires": { + "extendable-error": "^0.1.5" + } + }, + "@changesets/get-dependents-graph": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@changesets/get-dependents-graph/-/get-dependents-graph-2.1.2.tgz", + "integrity": "sha512-sgcHRkiBY9i4zWYBwlVyAjEM9sAzs4wYVwJUdnbDLnVG3QwAaia1Mk5P8M7kraTOZN+vBET7n8KyB0YXCbFRLQ==", + "dev": true, + "requires": { + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3", + "picocolors": "^1.1.0", + "semver": "^7.5.3" + } + }, + "@changesets/get-release-plan": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@changesets/get-release-plan/-/get-release-plan-4.0.6.tgz", + "integrity": "sha512-FHRwBkY7Eili04Y5YMOZb0ezQzKikTka4wL753vfUA5COSebt7KThqiuCN9BewE4/qFGgF/5t3AuzXx1/UAY4w==", + "dev": true, + "requires": { + "@changesets/assemble-release-plan": "^6.0.5", + "@changesets/config": "^3.0.5", + "@changesets/pre": "^2.0.1", + "@changesets/read": "^0.6.2", + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3" + } + }, + "@changesets/get-version-range-type": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@changesets/get-version-range-type/-/get-version-range-type-0.4.0.tgz", + "integrity": "sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==", + "dev": true + }, + "@changesets/git": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@changesets/git/-/git-3.0.2.tgz", + "integrity": "sha512-r1/Kju9Y8OxRRdvna+nxpQIsMsRQn9dhhAZt94FLDeu0Hij2hnOozW8iqnHBgvu+KdnJppCveQwK4odwfw/aWQ==", + "dev": true, + "requires": { + "@changesets/errors": "^0.2.0", + "@manypkg/get-packages": "^1.1.3", + "is-subdir": "^1.1.1", + "micromatch": "^4.0.8", + "spawndamnit": "^3.0.1" + } + }, + "@changesets/logger": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@changesets/logger/-/logger-0.1.1.tgz", + "integrity": "sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==", + "dev": true, + "requires": { + "picocolors": "^1.1.0" + } + }, + "@changesets/parse": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@changesets/parse/-/parse-0.4.0.tgz", + "integrity": "sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==", + "dev": true, + "requires": { + "@changesets/types": "^6.0.0", + "js-yaml": "^3.13.1" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + } + } + }, + "@changesets/pre": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@changesets/pre/-/pre-2.0.1.tgz", + "integrity": "sha512-vvBJ/If4jKM4tPz9JdY2kGOgWmCowUYOi5Ycv8dyLnEE8FgpYYUo1mgJZxcdtGGP3aG8rAQulGLyyXGSLkIMTQ==", + "dev": true, + "requires": { + "@changesets/errors": "^0.2.0", + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3", + "fs-extra": "^7.0.1" + } + }, + "@changesets/read": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@changesets/read/-/read-0.6.2.tgz", + "integrity": "sha512-wjfQpJvryY3zD61p8jR87mJdyx2FIhEcdXhKUqkja87toMrP/3jtg/Yg29upN+N4Ckf525/uvV7a4tzBlpk6gg==", + "dev": true, + "requires": { + "@changesets/git": "^3.0.2", + "@changesets/logger": "^0.1.1", + "@changesets/parse": "^0.4.0", + "@changesets/types": "^6.0.0", + "fs-extra": "^7.0.1", + "p-filter": "^2.1.0", + "picocolors": "^1.1.0" + } + }, + "@changesets/should-skip-package": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@changesets/should-skip-package/-/should-skip-package-0.1.1.tgz", + "integrity": "sha512-H9LjLbF6mMHLtJIc/eHR9Na+MifJ3VxtgP/Y+XLn4BF7tDTEN1HNYtH6QMcjP1uxp9sjaFYmW8xqloaCi/ckTg==", + "dev": true, + "requires": { + "@changesets/types": "^6.0.0", + "@manypkg/get-packages": "^1.1.3" + } + }, + "@changesets/types": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@changesets/types/-/types-6.0.0.tgz", + "integrity": "sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==", + "dev": true + }, + "@changesets/write": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@changesets/write/-/write-0.3.2.tgz", + "integrity": "sha512-kDxDrPNpUgsjDbWBvUo27PzKX4gqeKOlhibaOXDJA6kuBisGqNHv/HwGJrAu8U/dSf8ZEFIeHIPtvSlZI1kULw==", + "dev": true, + "requires": { + "@changesets/types": "^6.0.0", + "fs-extra": "^7.0.1", + "human-id": "^1.0.2", + "prettier": "^2.7.1" + }, + "dependencies": { + "prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true + } + } + }, + "@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "dependencies": { + "@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + } + } + }, + "@emnapi/runtime": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.3.tgz", + "integrity": "sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==", + "dev": true, + "optional": true, + "requires": { + "tslib": "^2.4.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "optional": true + } + } + }, + "@esbuild/darwin-arm64": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz", + "integrity": "sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==", + "dev": true, + "optional": true + }, + "@eslint-community/eslint-utils": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", + "integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^3.4.3" + } + }, + "@eslint-community/regexpp": { + "version": "4.11.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.0.tgz", + "integrity": "sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==", + "dev": true + }, + "@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "@eslint/js": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", + "dev": true + }, + "@fast-csv/format": { + "version": "4.3.5", + "resolved": "https://registry.npmjs.org/@fast-csv/format/-/format-4.3.5.tgz", + "integrity": "sha512-8iRn6QF3I8Ak78lNAa+Gdl5MJJBM5vRHivFtMRUWINdevNo00K7OXxS2PshawLKTejVwieIlPmK5YlLu6w4u8A==", + "requires": { + "@types/node": "^14.0.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.isboolean": "^3.0.3", + "lodash.isequal": "^4.5.0", + "lodash.isfunction": "^3.0.9", + "lodash.isnil": "^4.0.0" + }, + "dependencies": { + "@types/node": { + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==" + } + } + }, + "@fast-csv/parse": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/@fast-csv/parse/-/parse-4.3.6.tgz", + "integrity": "sha512-uRsLYksqpbDmWaSmzvJcuApSEe38+6NQZBUsuAyMZKqHxH0g1wcJgsKUvN3WC8tewaqFjBMMGrkHmC+T7k8LvA==", + "requires": { + "@types/node": "^14.0.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.groupby": "^4.6.0", + "lodash.isfunction": "^3.0.9", + "lodash.isnil": "^4.0.0", + "lodash.isundefined": "^3.0.1", + "lodash.uniq": "^4.5.0" + }, + "dependencies": { + "@types/node": { + "version": "14.18.63", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.63.tgz", + "integrity": "sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==" + } + } + }, + "@firebase/analytics": { + "version": "0.10.11", + "resolved": "https://registry.npmjs.org/@firebase/analytics/-/analytics-0.10.11.tgz", + "integrity": "sha512-zwuPiRE0+hgcS95JZbJ6DFQN4xYFO8IyGxpeePTV51YJMwCf3lkBa6FnZ/iXIqDKcBPMgMuuEZozI0BJWaLEYg==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/installations": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/analytics-compat": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/@firebase/analytics-compat/-/analytics-compat-0.2.17.tgz", + "integrity": "sha512-SJNVOeTvzdqZQvXFzj7yAirXnYcLDxh57wBFROfeowq/kRN1AqOw1tG6U4OiFOEhqi7s3xLze/LMkZatk2IEww==", + "requires": { + "@firebase/analytics": "0.10.11", + "@firebase/analytics-types": "0.8.3", + "@firebase/component": "0.6.12", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/analytics-types": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/@firebase/analytics-types/-/analytics-types-0.8.3.tgz", + "integrity": "sha512-VrIp/d8iq2g501qO46uGz3hjbDb8xzYMrbu8Tp0ovzIzrvJZ2fvmj649gTjge/b7cCCcjT0H37g1gVtlNhnkbg==" + }, + "@firebase/app": { + "version": "0.10.18", + "resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.10.18.tgz", + "integrity": "sha512-VuqEwD/QRisKd/zsFsqgvSAx34mZ3WEF47i97FD6Vw4GWAhdjepYf0Hmi6K0b4QMSgWcv/x0C30Slm5NjjERXg==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "idb": "7.1.1", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/app-check": { + "version": "0.8.11", + "resolved": "https://registry.npmjs.org/@firebase/app-check/-/app-check-0.8.11.tgz", + "integrity": "sha512-42zIfRI08/7bQqczAy7sY2JqZYEv3a1eNa4fLFdtJ54vNevbBIRSEA3fZgRqWFNHalh5ohsBXdrYgFqaRIuCcQ==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/app-check-compat": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@firebase/app-check-compat/-/app-check-compat-0.3.18.tgz", + "integrity": "sha512-qjozwnwYmAIdrsVGrJk+hnF1WBois54IhZR6gO0wtZQoTvWL/GtiA2F31TIgAhF0ayUiZhztOv1RfC7YyrZGDQ==", + "requires": { + "@firebase/app-check": "0.8.11", + "@firebase/app-check-types": "0.5.3", + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/app-check-interop-types": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/@firebase/app-check-interop-types/-/app-check-interop-types-0.3.3.tgz", + "integrity": "sha512-gAlxfPLT2j8bTI/qfe3ahl2I2YcBQ8cFIBdhAQA4I2f3TndcO+22YizyGYuttLHPQEpWkhmpFW60VCFEPg4g5A==" + }, + "@firebase/app-check-types": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@firebase/app-check-types/-/app-check-types-0.5.3.tgz", + "integrity": "sha512-hyl5rKSj0QmwPdsAxrI5x1otDlByQ7bvNvVt8G/XPO2CSwE++rmSVf3VEhaeOR4J8ZFaF0Z0NDSmLejPweZ3ng==" + }, + "@firebase/app-compat": { + "version": "0.2.48", + "resolved": "https://registry.npmjs.org/@firebase/app-compat/-/app-compat-0.2.48.tgz", + "integrity": "sha512-wVNU1foBIaJncUmiALyRxhHHHC3ZPMLIETTAk+2PG87eP9B/IDBsYUiTpHyboDPEI8CgBPat/zN2v+Snkz6lBw==", + "requires": { + "@firebase/app": "0.10.18", + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/app-types": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.9.3.tgz", + "integrity": "sha512-kRVpIl4vVGJ4baogMDINbyrIOtOxqhkZQg4jTq3l8Lw6WSk0xfpEYzezFu+Kl4ve4fbPl79dvwRtaFqAC/ucCw==" + }, + "@firebase/auth": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-1.8.2.tgz", + "integrity": "sha512-q+071y2LWe0bVnjqaX3BscqZwzdP0GKN2YBKapLq4bV88MPfCtWwGKmDhNDEDUmioOjudGXkUY5cvvKqk3mlUg==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/auth-compat": { + "version": "0.5.17", + "resolved": "https://registry.npmjs.org/@firebase/auth-compat/-/auth-compat-0.5.17.tgz", + "integrity": "sha512-Shi6rqLqzU9KLXnUCmlLvVByq1kiG3oe7Wpbf5m1CgS7NiRx2pSSn0HLaRRozdkaizNzMGGj+3oHmNYQ7kU6xA==", + "requires": { + "@firebase/auth": "1.8.2", + "@firebase/auth-types": "0.12.3", + "@firebase/component": "0.6.12", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/auth-interop-types": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.2.4.tgz", + "integrity": "sha512-JPgcXKCuO+CWqGDnigBtvo09HeBs5u/Ktc2GaFj2m01hLarbxthLNm7Fk8iOP1aqAtXV+fnnGj7U28xmk7IwVA==" + }, + "@firebase/auth-types": { + "version": "0.12.3", + "resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.12.3.tgz", + "integrity": "sha512-Zq9zI0o5hqXDtKg6yDkSnvMCMuLU6qAVS51PANQx+ZZX5xnzyNLEBO3GZgBUPsV5qIMFhjhqmLDxUqCbnAYy2A==", + "requires": {} + }, + "@firebase/component": { + "version": "0.6.12", + "resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.6.12.tgz", + "integrity": "sha512-YnxqjtohLbnb7raXt2YuA44cC1wA9GiehM/cmxrsoxKlFxBLy2V0OkRSj9gpngAE0UoJ421Wlav9ycO7lTPAUw==", + "requires": { + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/data-connect": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@firebase/data-connect/-/data-connect-0.2.0.tgz", + "integrity": "sha512-7OrZtQoLSk2fiGijhIdUnTSqEFti3h1EMhw9nNiSZ6jJGduw4Pz6jrVvxjpZJtGH/JiljbMkBnPBS2h8CTRKEw==", + "requires": { + "@firebase/auth-interop-types": "0.2.4", + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/database": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@firebase/database/-/database-1.0.11.tgz", + "integrity": "sha512-gLrw/XeioswWUXgpVKCPAzzoOuvYNqK5fRUeiJTzO7Mlp9P6ylFEyPJlRBl1djqYye641r3MX6AmIeMXwjgwuQ==", + "requires": { + "@firebase/app-check-interop-types": "0.3.3", + "@firebase/auth-interop-types": "0.2.4", + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "faye-websocket": "0.11.4", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/database-compat": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@firebase/database-compat/-/database-compat-2.0.2.tgz", + "integrity": "sha512-5zvdnMsfDHvrQAVM6jBS7CkBpu+z3YbpFdhxRsrK1FP45IEfxlzpeuEUb17D/tpM10vfq4Ok0x5akIBaCv7gfA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/database": "1.0.11", + "@firebase/database-types": "1.0.8", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/database-types": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-1.0.8.tgz", + "integrity": "sha512-6lPWIGeufhUq1heofZULyVvWFhD01TUrkkB9vyhmksjZ4XF7NaivQp9rICMk7QNhqwa+uDCaj4j+Q8qqcSVZ9g==", + "requires": { + "@firebase/app-types": "0.9.3", + "@firebase/util": "1.10.3" + } + }, + "@firebase/firestore": { + "version": "4.7.6", + "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-4.7.6.tgz", + "integrity": "sha512-aVDboR+upR/44qZDLR4tnZ9pepSOFBbDJnwk7eWzmTyQq2nZAVG+HIhrqpQawmUVcDRkuJv2K2UT2+oqR8F8TA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "@firebase/webchannel-wrapper": "1.0.3", + "@grpc/grpc-js": "~1.9.0", + "@grpc/proto-loader": "^0.7.8", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/firestore-compat": { + "version": "0.3.41", + "resolved": "https://registry.npmjs.org/@firebase/firestore-compat/-/firestore-compat-0.3.41.tgz", + "integrity": "sha512-J/PgWKEt0yugETOE7lOabT16hsV21cLzSxERD7ZhaiwBQkBTSf0Mx9RhjZRT0Ttqe4weM90HGZFyUBqYA73fVA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/firestore": "4.7.6", + "@firebase/firestore-types": "3.0.3", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/firestore-types": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-3.0.3.tgz", + "integrity": "sha512-hD2jGdiWRxB/eZWF89xcK9gF8wvENDJkzpVFb4aGkzfEaKxVRD1kjz1t1Wj8VZEp2LCB53Yx1zD8mrhQu87R6Q==", + "requires": {} + }, + "@firebase/functions": { + "version": "0.12.1", + "resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.12.1.tgz", + "integrity": "sha512-QucRiFrvMMmIGTRhL7ZK2IeBnAWP7lAmfFREMpEtX47GjVqDqGxdFs+Mg7XBzxSc9UjDO4Rxf+aE9xJHU6bGwg==", + "requires": { + "@firebase/app-check-interop-types": "0.3.3", + "@firebase/auth-interop-types": "0.2.4", + "@firebase/component": "0.6.12", + "@firebase/messaging-interop-types": "0.2.3", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/functions-compat": { + "version": "0.3.18", + "resolved": "https://registry.npmjs.org/@firebase/functions-compat/-/functions-compat-0.3.18.tgz", + "integrity": "sha512-N7+RN5GVus2ORB8cqfSNhfSn4iaYws6F8uCCfn4mtjC7zYS/KH6muzNAhZUdUqlv5YazbVmvxlAoYYF39i8Qzg==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/functions": "0.12.1", + "@firebase/functions-types": "0.6.3", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/functions-types": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.6.3.tgz", + "integrity": "sha512-EZoDKQLUHFKNx6VLipQwrSMh01A1SaL3Wg6Hpi//x6/fJ6Ee4hrAeswK99I5Ht8roiniKHw4iO0B1Oxj5I4plg==" + }, + "@firebase/installations": { + "version": "0.6.12", + "resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.6.12.tgz", + "integrity": "sha512-ES/WpuAV2k2YtBTvdaknEo7IY8vaGjIjS3zhnHSAIvY9KwTR8XZFXOJoZ3nSkjN1A5R4MtEh+07drnzPDg9vaw==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/util": "1.10.3", + "idb": "7.1.1", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/installations-compat": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@firebase/installations-compat/-/installations-compat-0.2.12.tgz", + "integrity": "sha512-RhcGknkxmFu92F6Jb3rXxv6a4sytPjJGifRZj8MSURPuv2Xu+/AispCXEfY1ZraobhEHTG5HLGsP6R4l9qB5aA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/installations": "0.6.12", + "@firebase/installations-types": "0.5.3", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/installations-types": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.5.3.tgz", + "integrity": "sha512-2FJI7gkLqIE0iYsNQ1P751lO3hER+Umykel+TkLwHj6plzWVxqvfclPUZhcKFVQObqloEBTmpi2Ozn7EkCABAA==", + "requires": {} + }, + "@firebase/logger": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.4.4.tgz", + "integrity": "sha512-mH0PEh1zoXGnaR8gD1DeGeNZtWFKbnz9hDO91dIml3iou1gpOnLqXQ2dJfB71dj6dpmUjcQ6phY3ZZJbjErr9g==", + "requires": { + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/messaging": { + "version": "0.12.16", + "resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.12.16.tgz", + "integrity": "sha512-VJ8sCEIeP3+XkfbJA7410WhYGHdloYFZXoHe/vt+vNVDGw8JQPTQSVTRvjrUprEf5I4Tbcnpr2H34lS6zhCHSA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/installations": "0.6.12", + "@firebase/messaging-interop-types": "0.2.3", + "@firebase/util": "1.10.3", + "idb": "7.1.1", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/messaging-compat": { + "version": "0.2.16", + "resolved": "https://registry.npmjs.org/@firebase/messaging-compat/-/messaging-compat-0.2.16.tgz", + "integrity": "sha512-9HZZ88Ig3zQ0ok/Pwt4gQcNsOhoEy8hDHoGsV1am6ulgMuGuDVD2gl11Lere2ksL+msM12Lddi2x/7TCqmODZw==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/messaging": "0.12.16", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/messaging-interop-types": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@firebase/messaging-interop-types/-/messaging-interop-types-0.2.3.tgz", + "integrity": "sha512-xfzFaJpzcmtDjycpDeCUj0Ge10ATFi/VHVIvEEjDNc3hodVBQADZ7BWQU7CuFpjSHE+eLuBI13z5F/9xOoGX8Q==" + }, + "@firebase/performance": { + "version": "0.6.12", + "resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.6.12.tgz", + "integrity": "sha512-8mYL4z2jRlKXAi2hjk4G7o2sQLnJCCuTbyvti/xmHf5ZvOIGB01BZec0aDuBIXO+H1MLF62dbye/k91Fr+yc8g==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/installations": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/performance-compat": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@firebase/performance-compat/-/performance-compat-0.2.12.tgz", + "integrity": "sha512-DyCbDTIwtBTGsEiQxTz/TD23a0na2nrDozceQ5kVkszyFYvliB0YK/9el0wAGIG91SqgTG9pxHtYErzfZc0VWw==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/performance": "0.6.12", + "@firebase/performance-types": "0.2.3", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/performance-types": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.2.3.tgz", + "integrity": "sha512-IgkyTz6QZVPAq8GSkLYJvwSLr3LS9+V6vNPQr0x4YozZJiLF5jYixj0amDtATf1X0EtYHqoPO48a9ija8GocxQ==" + }, + "@firebase/remote-config": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@firebase/remote-config/-/remote-config-0.5.0.tgz", + "integrity": "sha512-weiEbpBp5PBJTHUWR4GwI7ZacaAg68BKha5QnZ8Go65W4oQjEWqCW/rfskABI/OkrGijlL3CUmCB/SA6mVo0qA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/installations": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/remote-config-compat": { + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@firebase/remote-config-compat/-/remote-config-compat-0.2.12.tgz", + "integrity": "sha512-91jLWPtubIuPBngg9SzwvNCWzhMLcyBccmt7TNZP+y1cuYFNOWWHKUXQ3IrxCLB7WwLqQaEu7fTDAjHsTyBsSw==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/remote-config": "0.5.0", + "@firebase/remote-config-types": "0.4.0", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/remote-config-types": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@firebase/remote-config-types/-/remote-config-types-0.4.0.tgz", + "integrity": "sha512-7p3mRE/ldCNYt8fmWMQ/MSGRmXYlJ15Rvs9Rk17t8p0WwZDbeK7eRmoI1tvCPaDzn9Oqh+yD6Lw+sGLsLg4kKg==" + }, + "@firebase/storage": { + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.13.5.tgz", + "integrity": "sha512-sB/7HNuW0N9tITyD0RxVLNCROuCXkml5i/iPqjwOGKC0xiUfpCOjBE+bb0ABMoN1qYZfqk0y9IuI2TdomjmkNw==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/storage-compat": { + "version": "0.3.15", + "resolved": "https://registry.npmjs.org/@firebase/storage-compat/-/storage-compat-0.3.15.tgz", + "integrity": "sha512-Z9afjrK2O9o1ZHWCpprCGZ1BTc3BbvpZvi6tkSteC8H3W/fMM6x+RoSunlzD3hEVV5bkbwdJIqNClLMchvyoPA==", + "requires": { + "@firebase/component": "0.6.12", + "@firebase/storage": "0.13.5", + "@firebase/storage-types": "0.8.3", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/storage-types": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.8.3.tgz", + "integrity": "sha512-+Muk7g9uwngTpd8xn9OdF/D48uiQ7I1Fae7ULsWPuKoCH3HU7bfFPhxtJYzyhjdniowhuDpQcfPmuNRAqZEfvg==", + "requires": {} + }, + "@firebase/util": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/@firebase/util/-/util-1.10.3.tgz", + "integrity": "sha512-wfoF5LTy0m2ufUapV0ZnpcGQvuavTbJ5Qr1Ze9OJGL70cSMvhDyjS4w2121XdA3lGZSTOsDOyGhpoDtYwck85A==", + "requires": { + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/vertexai": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@firebase/vertexai/-/vertexai-1.0.3.tgz", + "integrity": "sha512-SQHg/RPb3LwQs/xiLcvAZYz9NXyDSZUIIwvgsKh6e4wdULAfyPCZIu6Y2ZYIhZLfk9Q44cKZ+++7RPTaqQJdYA==", + "requires": { + "@firebase/app-check-interop-types": "0.3.3", + "@firebase/component": "0.6.12", + "@firebase/logger": "0.4.4", + "@firebase/util": "1.10.3", + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@firebase/webchannel-wrapper": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-1.0.3.tgz", + "integrity": "sha512-2xCRM9q9FlzGZCdgDMJwc0gyUkWFtkosy7Xxr6sFgQwn+wMNIWd7xIvYNauU1r64B5L5rsGKy/n9TKJ0aAFeqQ==" + }, + "@google-cloud/vertexai": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/@google-cloud/vertexai/-/vertexai-1.9.3.tgz", + "integrity": "sha512-35o5tIEMLW3JeFJOaaMNR2e5sq+6rpnhrF97PuAxeOm0GlqVTESKhkGj7a5B5mmJSSSU3hUfIhcQCRRsw4Ipzg==", + "requires": { + "google-auth-library": "^9.1.0" + } + }, + "@google/genai": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@google/genai/-/genai-1.0.0.tgz", + "integrity": "sha512-IQiL8UlPblGDrMhTuiHZbfMDVx0KY3eYkmB5Ro9wwyXovYCFIhL5ZC7LP42FjFUj0eWUa4Auo8Ixqf2dqx9JjA==", + "requires": { + "google-auth-library": "^9.14.2", + "ws": "^8.18.0", + "zod": "^3.22.4", + "zod-to-json-schema": "^3.22.4" + } + }, + "@grpc/grpc-js": { + "version": "1.9.15", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.15.tgz", + "integrity": "sha512-nqE7Hc0AzI+euzUwDAy0aY5hCp10r734gMGRdU+qOPX0XSceI2ULrcXB5U2xSc5VkWwalCj4M7GzCAygZl2KoQ==", + "requires": { + "@grpc/proto-loader": "^0.7.8", + "@types/node": ">=12.12.47" + } + }, + "@grpc/proto-loader": { + "version": "0.7.13", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.13.tgz", + "integrity": "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==", + "requires": { + "lodash.camelcase": "^4.3.0", + "long": "^5.0.0", + "protobufjs": "^7.2.5", + "yargs": "^17.7.2" + } + }, + "@grpc/reflection": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@grpc/reflection/-/reflection-1.0.4.tgz", + "integrity": "sha512-znA8v4AviOD3OPOxy11pxrtP8k8DanpefeTymS8iGW1fVr1U2cHuzfhYqDPHnVNDf4qvF9E25KtSihPy2DBWfQ==", + "requires": { + "@grpc/proto-loader": "^0.7.13", + "protobufjs": "^7.2.5" + } + }, + "@humanwhocodes/config-array": { + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true + }, + "@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "dev": true + }, + "@img/sharp-darwin-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", + "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-darwin-arm64": "1.0.4" + } + }, + "@img/sharp-darwin-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz", + "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-darwin-x64": "1.0.4" + } + }, + "@img/sharp-libvips-darwin-arm64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz", + "integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-darwin-x64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz", + "integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-linux-arm": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz", + "integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-linux-arm64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz", + "integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-linux-s390x": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.4.tgz", + "integrity": "sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-linux-x64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz", + "integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-linuxmusl-arm64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.4.tgz", + "integrity": "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==", + "dev": true, + "optional": true + }, + "@img/sharp-libvips-linuxmusl-x64": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.4.tgz", + "integrity": "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==", + "dev": true, + "optional": true + }, + "@img/sharp-linux-arm": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz", + "integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-linux-arm": "1.0.5" + } + }, + "@img/sharp-linux-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz", + "integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-linux-arm64": "1.0.4" + } + }, + "@img/sharp-linux-s390x": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.5.tgz", + "integrity": "sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-linux-s390x": "1.0.4" + } + }, + "@img/sharp-linux-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz", + "integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-linux-x64": "1.0.4" + } + }, + "@img/sharp-linuxmusl-arm64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.5.tgz", + "integrity": "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-linuxmusl-arm64": "1.0.4" + } + }, + "@img/sharp-linuxmusl-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.5.tgz", + "integrity": "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==", + "dev": true, + "optional": true, + "requires": { + "@img/sharp-libvips-linuxmusl-x64": "1.0.4" + } + }, + "@img/sharp-wasm32": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.5.tgz", + "integrity": "sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==", + "dev": true, + "optional": true, + "requires": { + "@emnapi/runtime": "^1.2.0" + } + }, + "@img/sharp-win32-ia32": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.5.tgz", + "integrity": "sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==", + "dev": true, + "optional": true + }, + "@img/sharp-win32-x64": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz", + "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==", + "dev": true, + "optional": true + }, + "@inquirer/checkbox": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-4.1.5.tgz", + "integrity": "sha512-swPczVU+at65xa5uPfNP9u3qx/alNwiaykiI/ExpsmMSQW55trmZcwhYWzw/7fj+n6Q8z1eENvR7vFfq9oPSAQ==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/figures": "^1.0.11", + "@inquirer/type": "^3.0.6", + "ansi-escapes": "^4.3.2", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/confirm": { + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-5.1.9.tgz", + "integrity": "sha512-NgQCnHqFTjF7Ys2fsqK2WtnA8X1kHyInyG+nMIuHowVTIgIuS10T4AznI/PvbqSpJqjCUqNBlKGh1v3bwLFL4w==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6" + } + }, + "@inquirer/core": { + "version": "10.1.10", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-10.1.10.tgz", + "integrity": "sha512-roDaKeY1PYY0aCqhRmXihrHjoSW2A00pV3Ke5fTpMCkzcGF64R8e0lw3dK+eLEHwS4vB5RnW1wuQmvzoRul8Mw==", + "dev": true, + "requires": { + "@inquirer/figures": "^1.0.11", + "@inquirer/type": "^3.0.6", + "ansi-escapes": "^4.3.2", + "cli-width": "^4.1.0", + "mute-stream": "^2.0.0", + "signal-exit": "^4.1.0", + "wrap-ansi": "^6.2.0", + "yoctocolors-cjs": "^2.1.2" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } + } + }, + "@inquirer/editor": { + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-4.2.10.tgz", + "integrity": "sha512-5GVWJ+qeI6BzR6TIInLP9SXhWCEcvgFQYmcRG6d6RIlhFjM5TyG18paTGBgRYyEouvCmzeco47x9zX9tQEofkw==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6", + "external-editor": "^3.1.0" + } + }, + "@inquirer/expand": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-4.0.12.tgz", + "integrity": "sha512-jV8QoZE1fC0vPe6TnsOfig+qwu7Iza1pkXoUJ3SroRagrt2hxiL+RbM432YAihNR7m7XnU0HWl/WQ35RIGmXHw==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/figures": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@inquirer/figures/-/figures-1.0.11.tgz", + "integrity": "sha512-eOg92lvrn/aRUqbxRyvpEWnrvRuTYRifixHkYVpJiygTgVSBIHDqLh0SrMQXkafvULg3ck11V7xvR+zcgvpHFw==", + "dev": true + }, + "@inquirer/input": { + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-4.1.9.tgz", + "integrity": "sha512-mshNG24Ij5KqsQtOZMgj5TwEjIf+F2HOESk6bjMwGWgcH5UBe8UoljwzNFHqdMbGYbgAf6v2wU/X9CAdKJzgOA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6" + } + }, + "@inquirer/number": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-3.0.12.tgz", + "integrity": "sha512-7HRFHxbPCA4e4jMxTQglHJwP+v/kpFsCf2szzfBHy98Wlc3L08HL76UDiA87TOdX5fwj2HMOLWqRWv9Pnn+Z5Q==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6" + } + }, + "@inquirer/password": { + "version": "4.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-4.0.12.tgz", + "integrity": "sha512-FlOB0zvuELPEbnBYiPaOdJIaDzb2PmJ7ghi/SVwIHDDSQ2K4opGBkF+5kXOg6ucrtSUQdLhVVY5tycH0j0l+0g==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6", + "ansi-escapes": "^4.3.2" + } + }, + "@inquirer/prompts": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-7.5.0.tgz", + "integrity": "sha512-tk8Bx7l5AX/CR0sVfGj3Xg6v7cYlFBkEahH+EgBB+cZib6Fc83dwerTbzj7f2+qKckjIUGsviWRI1d7lx6nqQA==", + "dev": true, + "requires": { + "@inquirer/checkbox": "^4.1.5", + "@inquirer/confirm": "^5.1.9", + "@inquirer/editor": "^4.2.10", + "@inquirer/expand": "^4.0.12", + "@inquirer/input": "^4.1.9", + "@inquirer/number": "^3.0.12", + "@inquirer/password": "^4.0.12", + "@inquirer/rawlist": "^4.1.0", + "@inquirer/search": "^3.0.12", + "@inquirer/select": "^4.2.0" + } + }, + "@inquirer/rawlist": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-4.1.0.tgz", + "integrity": "sha512-6ob45Oh9pXmfprKqUiEeMz/tjtVTFQTgDDz1xAMKMrIvyrYjAmRbQZjMJfsictlL4phgjLhdLu27IkHNnNjB7g==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/type": "^3.0.6", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/search": { + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-3.0.12.tgz", + "integrity": "sha512-H/kDJA3kNlnNIjB8YsaXoQI0Qccgf0Na14K1h8ExWhNmUg2E941dyFPrZeugihEa9AZNW5NdsD/NcvUME83OPQ==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/figures": "^1.0.11", + "@inquirer/type": "^3.0.6", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/select": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-4.2.0.tgz", + "integrity": "sha512-KkXQ4aSySWimpV4V/TUJWdB3tdfENZUU765GjOIZ0uPwdbGIG6jrxD4dDf1w68uP+DVtfNhr1A92B+0mbTZ8FA==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/figures": "^1.0.11", + "@inquirer/type": "^3.0.6", + "ansi-escapes": "^4.3.2", + "yoctocolors-cjs": "^2.1.2" + } + }, + "@inquirer/type": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-3.0.6.tgz", + "integrity": "sha512-/mKVCtVpyBu3IDarv0G+59KC4stsD5mDsGpYh+GKs1NZT88Jh52+cuoA1AtLk2Q0r/quNl+1cSUyLRHBFeD0XA==", + "dev": true, + "requires": {} + }, + "@isaacs/balanced-match": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz", + "integrity": "sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==", + "dev": true + }, + "@isaacs/brace-expansion": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz", + "integrity": "sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==", + "dev": true, + "requires": { + "@isaacs/balanced-match": "^4.0.1" + } + }, + "@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "requires": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + } + }, + "@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true + }, + "@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true + }, + "@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, + "@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "dev": true, + "requires": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "@js-sdsl/ordered-map": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", + "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==" + }, + "@jsep-plugin/assignment": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", + "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", + "dev": true, + "requires": {} + }, + "@jsep-plugin/regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", + "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", + "dev": true, + "requires": {} + }, + "@jsep-plugin/ternary": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@jsep-plugin/ternary/-/ternary-1.1.4.tgz", + "integrity": "sha512-ck5wiqIbqdMX6WRQztBL7ASDty9YLgJ3sSAK5ZpBzXeySvFGCzIvM6UiAI4hTZ22fEcYQVV/zhUbNscggW+Ukg==", + "dev": true, + "requires": {} + }, + "@kwsites/file-exists": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz", + "integrity": "sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==", + "requires": { + "debug": "^4.1.1" + } + }, + "@kwsites/promise-deferred": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz", + "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==" + }, + "@leichtgewicht/ip-codec": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@leichtgewicht/ip-codec/-/ip-codec-2.0.5.tgz", + "integrity": "sha512-Vo+PSpZG2/fmgmiNzYK9qWRh8h/CHrwD0mo1h1DzL4yzHNSfWYujGTYsWGreD000gcgmZ7K4Ys6Tx9TxtsKdDw==", + "dev": true + }, + "@manypkg/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@manypkg/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==", + "dev": true, + "requires": { + "@babel/runtime": "^7.5.5", + "@types/node": "^12.7.1", + "find-up": "^4.1.0", + "fs-extra": "^8.1.0" + }, + "dependencies": { + "@types/node": { + "version": "12.20.55", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.20.55.tgz", + "integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==", + "dev": true + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + } + } + }, + "@manypkg/get-packages": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@manypkg/get-packages/-/get-packages-1.1.3.tgz", + "integrity": "sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==", + "dev": true, + "requires": { + "@babel/runtime": "^7.5.5", + "@changesets/types": "^4.0.1", + "@manypkg/find-root": "^1.1.0", + "fs-extra": "^8.1.0", + "globby": "^11.0.0", + "read-yaml-file": "^1.1.0" + }, + "dependencies": { + "@changesets/types": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@changesets/types/-/types-4.1.0.tgz", + "integrity": "sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==", + "dev": true + }, + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + } + } + }, + "@mapbox/node-pre-gyp": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@mapbox/node-pre-gyp/-/node-pre-gyp-1.0.11.tgz", + "integrity": "sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==", + "dev": true, + "requires": { + "detect-libc": "^2.0.0", + "https-proxy-agent": "^5.0.0", + "make-dir": "^3.1.0", + "node-fetch": "^2.6.7", + "nopt": "^5.0.0", + "npmlog": "^5.0.1", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.11" + }, + "dependencies": { + "agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "requires": { + "debug": "4" + } + }, + "brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "detect-libc": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", + "dev": true + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "requires": { + "agent-base": "6", + "debug": "4" + } + }, + "make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "requires": { + "semver": "^6.0.0" + }, + "dependencies": { + "semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true + } + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } + } + }, + "@mdx-js/mdx": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-3.1.0.tgz", + "integrity": "sha512-/QxEhPAvGwbQmy1Px8F899L5Uc2KZ6JtXwlCgJmjSTBedwOZkByYcBG4GceIGPXRDsmfxhHazuS+hlOShRLeDw==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdx": "^2.0.0", + "collapse-white-space": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "estree-util-scope": "^1.0.0", + "estree-walker": "^3.0.0", + "hast-util-to-jsx-runtime": "^2.0.0", + "markdown-extensions": "^2.0.0", + "recma-build-jsx": "^1.0.0", + "recma-jsx": "^1.0.0", + "recma-stringify": "^1.0.0", + "rehype-recma": "^1.0.0", + "remark-mdx": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "source-map": "^0.7.0", + "unified": "^11.0.0", + "unist-util-position-from-estree": "^2.0.0", + "unist-util-stringify-position": "^4.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + }, + "dependencies": { + "source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true + } + } + }, + "@mdx-js/react": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-3.1.0.tgz", + "integrity": "sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==", + "dev": true, + "requires": { + "@types/mdx": "^2.0.0" + } + }, + "@mintlify/cli": { + "version": "4.0.514", + "resolved": "https://registry.npmjs.org/@mintlify/cli/-/cli-4.0.514.tgz", + "integrity": "sha512-9jfA5RWuscs+q/aVZzsu4yQGDoda/x6kqiK50nul+6o6n5jar4qiESbjOgcbenllYoQOwD8a1qXFKTcEEYLV1w==", + "dev": true, + "requires": { + "@mintlify/common": "1.0.363", + "@mintlify/link-rot": "3.0.475", + "@mintlify/models": "0.0.188", + "@mintlify/prebuild": "1.0.472", + "@mintlify/previewing": "4.0.505", + "@mintlify/validation": "0.1.355", + "chalk": "^5.2.0", + "detect-port": "^1.5.1", + "fs-extra": "^11.2.0", + "inquirer": "^12.3.0", + "js-yaml": "^4.1.0", + "ora": "^6.1.2", + "yargs": "^17.6.0" + }, + "dependencies": { + "fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "is-unicode-supported": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "dev": true + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "log-symbols": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", + "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "is-unicode-supported": "^1.1.0" + } + }, + "ora": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-6.3.1.tgz", + "integrity": "sha512-ERAyNnZOfqM+Ao3RAvIXkYh5joP220yf59gVe2X/cI6SiCxIdi4c9HZKZD8R6q/RDXEje1THBju6iExiSsgJaQ==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "cli-cursor": "^4.0.0", + "cli-spinners": "^2.6.1", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^1.1.0", + "log-symbols": "^5.1.0", + "stdin-discarder": "^0.1.0", + "strip-ansi": "^7.0.1", + "wcwidth": "^1.0.1" + } + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, + "@mintlify/common": { + "version": "1.0.363", + "resolved": "https://registry.npmjs.org/@mintlify/common/-/common-1.0.363.tgz", + "integrity": "sha512-1wFrTntvg72arCDDFIPkxNezUU8FpnPu0v6KyB6KPqSWHzzQII3R2irDM4TOGCW7cru9cvlEpZTI9KIODpDn6g==", + "dev": true, + "requires": { + "@asyncapi/parser": "^3.4.0", + "@mintlify/mdx": "^1.0.1", + "@mintlify/models": "0.0.188", + "@mintlify/openapi-parser": "^0.0.7", + "@mintlify/validation": "0.1.355", + "@sindresorhus/slugify": "^2.1.1", + "acorn": "^8.11.2", + "estree-util-to-js": "^2.0.0", + "estree-walker": "^3.0.3", + "gray-matter": "^4.0.3", + "hast-util-from-html": "^2.0.3", + "hast-util-to-html": "^9.0.4", + "hast-util-to-text": "^4.0.2", + "is-absolute-url": "^4.0.1", + "js-yaml": "^4.1.0", + "lodash": "^4.17.21", + "mdast": "^3.0.0", + "mdast-util-from-markdown": "^2.0.2", + "mdast-util-mdx": "^3.0.0", + "mdast-util-mdx-jsx": "^3.1.3", + "micromark-extension-mdx-jsx": "^3.0.1", + "openapi-types": "^12.0.0", + "remark": "^15.0.1", + "remark-frontmatter": "^5.0.0", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "remark-mdx": "^3.1.0", + "unified": "^11.0.5", + "unist-builder": "^4.0.0", + "unist-util-map": "^4.0.0", + "unist-util-remove": "^4.0.0", + "unist-util-remove-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "unist-util-visit-parents": "^6.0.1", + "vfile": "^6.0.3" + } + }, + "@mintlify/link-rot": { + "version": "3.0.475", + "resolved": "https://registry.npmjs.org/@mintlify/link-rot/-/link-rot-3.0.475.tgz", + "integrity": "sha512-hlRRs3uK9eCMcaJxBXiU8bfC9r/JIpJjjBxXzFl1uAoDJ1nuRO1hnk7tP8ZJmtnwtjx0gsh/lrf9NDdmRuvIKg==", + "dev": true, + "requires": { + "@mintlify/common": "1.0.363", + "@mintlify/prebuild": "1.0.472", + "fs-extra": "^11.1.0", + "is-absolute-url": "^4.0.1", + "unist-util-visit": "^4.1.1" + }, + "dependencies": { + "@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true + }, + "fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0" + } + }, + "unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + } + }, + "unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + } + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, + "@mintlify/mdx": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@mintlify/mdx/-/mdx-1.0.1.tgz", + "integrity": "sha512-zrzt8nxoIgJeSUeuJaC8pbd5EHKjCq30qV2HMoqIHLjeE0l7hkMgjBPNWNde7CYDPig1ODS1kPuE5Bnt+/+PIg==", + "dev": true, + "requires": { + "@types/hast": "^3.0.4", + "@types/unist": "^3.0.3", + "hast-util-to-string": "^3.0.1", + "next-mdx-remote-client": "^1.0.3", + "refractor": "^4.8.1", + "rehype-katex": "^7.0.1", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "remark-smartypants": "^3.0.2", + "unified": "^11.0.0", + "unist-util-visit": "^5.0.0" + } + }, + "@mintlify/models": { + "version": "0.0.188", + "resolved": "https://registry.npmjs.org/@mintlify/models/-/models-0.0.188.tgz", + "integrity": "sha512-98sGznldqt21OrJ7d+D3JAc/sg5FkXb25rDO1wDH+h7oESdUA00zshLJvCLPJ9DXCTOSggzXaxUjowTXh8wkrg==", + "dev": true, + "requires": { + "axios": "^1.4.0", + "openapi-types": "^12.0.0" + } + }, + "@mintlify/openapi-parser": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@mintlify/openapi-parser/-/openapi-parser-0.0.7.tgz", + "integrity": "sha512-3ecbkzPbsnkKVZJypVL0H5pCTR7a4iLv4cP7zbffzAwy+vpH70JmPxNVpPPP62yLrdZlfNcMxu5xKeT7fllgMg==", + "dev": true, + "requires": { + "ajv": "^8.17.1", + "ajv-draft-04": "^1.0.0", + "ajv-formats": "^3.0.1", + "jsonpointer": "^5.0.1", + "leven": "^4.0.0", + "yaml": "^2.4.5" + }, + "dependencies": { + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "dev": true, + "requires": {} + }, + "ajv-formats": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-3.0.1.tgz", + "integrity": "sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==", + "dev": true, + "requires": { + "ajv": "^8.0.0" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + } + } + }, + "@mintlify/prebuild": { + "version": "1.0.472", + "resolved": "https://registry.npmjs.org/@mintlify/prebuild/-/prebuild-1.0.472.tgz", + "integrity": "sha512-c46XjlyMT2AwRYZxIjoCcKidb22kVtjj1DlfCHbrRCYCreaiqYOZ+pgXfY95qCkhBl2aMA9/ahUjhPyKPJJ/zQ==", + "dev": true, + "requires": { + "@mintlify/common": "1.0.363", + "@mintlify/openapi-parser": "^0.0.7", + "@mintlify/scraping": "4.0.219", + "@mintlify/validation": "0.1.355", + "axios": "^1.6.2", + "chalk": "^5.3.0", + "favicons": "^7.0.2", + "fs-extra": "^11.1.0", + "gray-matter": "^4.0.3", + "is-absolute-url": "^4.0.1", + "js-yaml": "^4.1.0", + "openapi-types": "^12.0.0", + "unist-util-visit": "^4.1.1" + }, + "dependencies": { + "@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true + }, + "fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0" + } + }, + "unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + } + }, + "unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + } + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, + "@mintlify/previewing": { + "version": "4.0.505", + "resolved": "https://registry.npmjs.org/@mintlify/previewing/-/previewing-4.0.505.tgz", + "integrity": "sha512-EomPoXxDDKAXtCM+H0bh7gWrD55OXOvlToNy//zr/qTr1wzKv+pM5UXwkQMcplleudBNSaqK840qVrZlsI66Ag==", + "dev": true, + "requires": { + "@mintlify/common": "1.0.363", + "@mintlify/prebuild": "1.0.472", + "@mintlify/validation": "0.1.355", + "better-opn": "^3.0.2", + "chalk": "^5.1.0", + "chokidar": "^3.5.3", + "express": "^4.18.2", + "fs-extra": "^11.1.0", + "got": "^13.0.0", + "gray-matter": "^4.0.3", + "is-absolute-url": "^4.0.1", + "is-online": "^10.0.0", + "js-yaml": "^4.1.0", + "openapi-types": "^12.0.0", + "ora": "^6.1.2", + "socket.io": "^4.7.2", + "tar": "^6.1.15", + "unist-util-visit": "^4.1.1", + "yargs": "^17.6.0" + }, + "dependencies": { + "@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true + }, + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "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==", + "dev": true, + "requires": { + "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", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + } + }, + "chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dev": true, + "requires": { + "safe-buffer": "5.2.1" + } + }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", + "dev": true + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + }, + "dependencies": { + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + } + } + }, + "express": { + "version": "4.21.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", + "integrity": "sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==", + "dev": true, + "requires": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.3", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.3.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.3", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.12", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.19.0", + "serve-static": "1.16.2", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + } + }, + "finalhandler": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "dev": true + }, + "fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "is-unicode-supported": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "dev": true + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "log-symbols": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", + "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "is-unicode-supported": "^1.1.0" + } + }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "dev": true + }, + "merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "dev": true + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + }, + "ora": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-6.3.1.tgz", + "integrity": "sha512-ERAyNnZOfqM+Ao3RAvIXkYh5joP220yf59gVe2X/cI6SiCxIdi4c9HZKZD8R6q/RDXEje1THBju6iExiSsgJaQ==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "cli-cursor": "^4.0.0", + "cli-spinners": "^2.6.1", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^1.1.0", + "log-symbols": "^5.1.0", + "stdin-discarder": "^0.1.0", + "strip-ansi": "^7.0.1", + "wcwidth": "^1.0.1" + } + }, + "path-to-regexp": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.12.tgz", + "integrity": "sha512-RA1GjUVMnvYFxuqovrEqZoxxW5NUZqbwKtYz/Tt7nXerk0LbLblQmrsgdeOxV5SFHf0UDggjS/bSeOZwt1pmEQ==", + "dev": true + }, + "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==", + "dev": true, + "requires": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "send": { + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "dependencies": { + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "dev": true + } + } + }, + "serve-static": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "dev": true, + "requires": { + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.19.0" + } + }, + "type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + } + }, + "unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0" + } + }, + "unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + } + }, + "unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + } + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, + "@mintlify/scraping": { + "version": "4.0.219", + "resolved": "https://registry.npmjs.org/@mintlify/scraping/-/scraping-4.0.219.tgz", + "integrity": "sha512-+nn0SppZTd8xix4T3w0Q1e7Jc6adBrpBs09z4KW1fi0772PFG0WOGW90z8tpUWPyuGPbKISV4mOp6gnKN7R57w==", + "dev": true, + "requires": { + "@mintlify/common": "1.0.363", + "@mintlify/openapi-parser": "^0.0.7", + "fs-extra": "^11.1.1", + "hast-util-to-mdast": "^10.1.0", + "js-yaml": "^4.1.0", + "mdast-util-mdx-jsx": "^3.1.3", + "neotraverse": "^0.6.18", + "puppeteer": "^22.14.0", + "rehype-parse": "^9.0.0", + "remark-gfm": "^4.0.0", + "remark-mdx": "^3.0.1", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.5", + "unist-util-visit": "^5.0.0", + "yargs": "^17.6.0", + "zod": "^3.20.6" + }, + "dependencies": { + "fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true + } + } + }, + "@mintlify/validation": { + "version": "0.1.355", + "resolved": "https://registry.npmjs.org/@mintlify/validation/-/validation-0.1.355.tgz", + "integrity": "sha512-fMYp5eaJZzwKY58dJqTohSxkfiwufEh1LQhG7jfmTJgNqegafey0hWbMtwD49/GabO/Br+wbdT9Y6NOaXQMn4A==", + "dev": true, + "requires": { + "@mintlify/models": "0.0.188", + "is-absolute-url": "^4.0.1", + "lcm": "^0.0.3", + "lodash": "^4.17.21", + "openapi-types": "^12.0.0", + "zod": "^3.20.6", + "zod-to-json-schema": "^3.20.3" + } + }, + "@mistralai/mistralai": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@mistralai/mistralai/-/mistralai-1.5.0.tgz", + "integrity": "sha512-AIn8pwAwA/fDvEUvmkt+40zH1ZmfaG3Q7oUWl17GUEC1tU7ZPwYz8Cv9P59lyS1SisHdDSu81oknO7f1ywkz8Q==", + "requires": { + "zod-to-json-schema": "^3.24.1" + } + }, + "@mixmark-io/domino": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@mixmark-io/domino/-/domino-2.2.0.tgz", + "integrity": "sha512-Y28PR25bHXUg88kCV7nivXrP2Nj2RueZ3/l/jdx6J9f8J4nsEGcgX0Qe6lt7Pa+J79+kPiJU3LguR6O/6zrLOw==" + }, + "@modelcontextprotocol/sdk": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/@modelcontextprotocol/sdk/-/sdk-1.11.1.tgz", + "integrity": "sha512-9LfmxKTb1v+vUS1/emSk1f5ePmTLkb9Le9AxOB5T0XM59EUumwcS45z05h7aiZx3GI0Bl7mjb3FMEglYj+acuQ==", + "requires": { + "content-type": "^1.0.5", + "cors": "^2.8.5", + "cross-spawn": "^7.0.3", + "eventsource": "^3.0.2", + "express": "^5.0.1", + "express-rate-limit": "^7.5.0", + "pkce-challenge": "^5.0.0", + "raw-body": "^3.0.0", + "zod": "^3.23.8", + "zod-to-json-schema": "^3.24.1" + } + }, + "@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "requires": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==" + }, + "@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "requires": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + } + }, + "@openapi-contrib/openapi-schema-to-json-schema": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@openapi-contrib/openapi-schema-to-json-schema/-/openapi-schema-to-json-schema-3.2.0.tgz", + "integrity": "sha512-Gj6C0JwCr8arj0sYuslWXUBSP/KnUlEGnPW4qxlXvAl543oaNQgMgIgkQUA6vs5BCCvwTEiL8m/wdWzfl4UvSw==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3" + } + }, + "@opentelemetry/api": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.4.1.tgz", + "integrity": "sha512-O2yRJce1GOc6PAy3QxFM4NzFiWzvScDC1/5ihYBL6BUEVdq0XMWN01sppE+H6bBXbaFYipjwFLEWLg5PaSOThA==" + }, + "@opentelemetry/api-logs": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.39.1.tgz", + "integrity": "sha512-9BJ8lMcOzEN0lu+Qji801y707oFO4xT3db6cosPvl+k7ItUHKN5ofWqtSbM9gbt1H4JJ/4/2TVrqI9Rq7hNv6Q==", + "requires": { + "@opentelemetry/api": "^1.0.0" + } + }, + "@opentelemetry/context-async-hooks": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.30.1.tgz", + "integrity": "sha512-s5vvxXPVdjqS3kTLKMeBMvop9hbWkwzBpu+mUO2M7sZtlkyDJGwFe33wRKnbaYDo8ExRVBIIdwIGrqpxHuKttA==", + "requires": {} + }, + "@opentelemetry/core": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.13.0.tgz", + "integrity": "sha512-2dBX3Sj99H96uwJKvc2w9NOiNgbvAO6mOFJFramNkKfS9O4Um+VWgpnlAazoYjT6kUJ1MP70KQ5ngD4ed+4NUw==", + "requires": { + "@opentelemetry/semantic-conventions": "1.13.0" + }, + "dependencies": { + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/exporter-jaeger": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-jaeger/-/exporter-jaeger-1.13.0.tgz", + "integrity": "sha512-ke/STs/erRDqKmNv6Dv+5SetXsVD+Zm1/Wo8cLdAGrZn6kG6Fyp5EXVO/BJuzx6q+jHCdODm8jV4veXl4m71nQ==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0", + "jaeger-client": "^3.15.0" + }, + "dependencies": { + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/exporter-trace-otlp-grpc": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-grpc/-/exporter-trace-otlp-grpc-0.39.1.tgz", + "integrity": "sha512-l5RhLKx6U+yuLhMrtgavTDthX50E1mZM3/SSySC7OPZiArFHV/b/9x9jxAzrOgIQUDxyj4N0V9aLKSA2t7Qzxg==", + "requires": { + "@grpc/grpc-js": "^1.7.1", + "@opentelemetry/core": "1.13.0", + "@opentelemetry/otlp-grpc-exporter-base": "0.39.1", + "@opentelemetry/otlp-transformer": "0.39.1", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/exporter-trace-otlp-http": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.39.1.tgz", + "integrity": "sha512-AEhnJfVmo1g+7NxszAuf3c6vddld2DGH2+IM4XrPxCklucCsIpuStuC5EVZbCXXXBMpAY+n3t04QMxIQqNrcSw==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/otlp-exporter-base": "0.39.1", + "@opentelemetry/otlp-transformer": "0.39.1", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/exporter-trace-otlp-proto": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-proto/-/exporter-trace-otlp-proto-0.39.1.tgz", + "integrity": "sha512-oJQC7a67iwExRYynKqn/O9Fl5gUjDa43ZQsZu2iKAADs/6YJ+u5MJ/wcq3CpJsn2KU/8j8HWAKOcDkkQXPuJ9A==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/otlp-exporter-base": "0.39.1", + "@opentelemetry/otlp-proto-exporter-base": "0.39.1", + "@opentelemetry/otlp-transformer": "0.39.1", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/exporter-zipkin": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-zipkin/-/exporter-zipkin-1.13.0.tgz", + "integrity": "sha512-4IuUmYEhlHm8tAGtd6KKkktEO9Bt7dpdBdAPVAzhmXsPwGi0yExo7E5qfi9HtHQcdfP9SnrGRkeorVtrZkGlhg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/instrumentation": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/instrumentation/-/instrumentation-0.39.1.tgz", + "integrity": "sha512-s7/9tPmM0l5KCd07VQizC4AO2/5UJdkXq5gMSHPdCeiMKSeBEdyDyQX7A+Cq+RYZM452qzFmrJ4ut628J5bnSg==", + "requires": { + "require-in-the-middle": "^7.1.0", + "semver": "^7.3.2", + "shimmer": "^1.2.1" + } + }, + "@opentelemetry/otlp-exporter-base": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.39.1.tgz", + "integrity": "sha512-Pv5X8fbi6jD/RJBePyn7MnCSuE6MbPB6dl+7YYBWJ5RcMGYMwvLXjd4h2jWsPV2TSUg38H/RoSP0aXvQ06Y7iw==", + "requires": { + "@opentelemetry/core": "1.13.0" + } + }, + "@opentelemetry/otlp-grpc-exporter-base": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-grpc-exporter-base/-/otlp-grpc-exporter-base-0.39.1.tgz", + "integrity": "sha512-u3ErFRQqQFKjjIMuwLWxz/tLPYInfmiAmSy//fGSCzCh2ZdJgqQjMOAxBgqFtCF2xFL+OmMhyuC2ThMzceGRWA==", + "requires": { + "@grpc/grpc-js": "^1.7.1", + "@opentelemetry/core": "1.13.0", + "@opentelemetry/otlp-exporter-base": "0.39.1", + "protobufjs": "^7.2.2" + } + }, + "@opentelemetry/otlp-proto-exporter-base": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-proto-exporter-base/-/otlp-proto-exporter-base-0.39.1.tgz", + "integrity": "sha512-VssdfGYu6LkSliQATdkvoP8lPSQuNLENRdHTUOV2veF4iqY/UpxBFFlkarY29W+MYjWXIBfYntgNjQvcn78A+w==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/otlp-exporter-base": "0.39.1", + "protobufjs": "^7.1.2" + } + }, + "@opentelemetry/otlp-transformer": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.39.1.tgz", + "integrity": "sha512-0hgVnXXz5efI382B/24NxD4b6Zxlh7nxCdJkxkdmQMbn0yRiwoq/ZT+QG8eUL6JNzsBAV1WJlF5aJNsL8skHvw==", + "requires": { + "@opentelemetry/api-logs": "0.39.1", + "@opentelemetry/core": "1.13.0", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/sdk-logs": "0.39.1", + "@opentelemetry/sdk-metrics": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/propagator-b3": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-1.30.1.tgz", + "integrity": "sha512-oATwWWDIJzybAZ4pO76ATN5N6FFbOA1otibAVlS8v90B4S1wClnhRUk7K+2CHAwN1JKYuj4jh/lpCEG5BAqFuQ==", + "requires": { + "@opentelemetry/core": "1.30.1" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.30.1.tgz", + "integrity": "sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ==", + "requires": { + "@opentelemetry/semantic-conventions": "1.28.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.28.0.tgz", + "integrity": "sha512-lp4qAiMTD4sNWW4DbKLBkfiMZ4jbAboJIGOQr5DvciMRI494OapieI9qiODpOt0XBr1LjIDy1xAGAnVs5supTA==" + } + } + }, + "@opentelemetry/propagator-jaeger": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.30.1.tgz", + "integrity": "sha512-Pj/BfnYEKIOImirH76M4hDaBSx6HyZ2CXUqk+Kj02m6BB80c/yo4BdWkn/1gDFfU+YPY+bPR2U0DKBfdxCKwmg==", + "requires": { + "@opentelemetry/core": "1.30.1" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.30.1.tgz", + "integrity": "sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ==", + "requires": { + "@opentelemetry/semantic-conventions": "1.28.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.28.0.tgz", + "integrity": "sha512-lp4qAiMTD4sNWW4DbKLBkfiMZ4jbAboJIGOQr5DvciMRI494OapieI9qiODpOt0XBr1LjIDy1xAGAnVs5supTA==" + } + } + }, + "@opentelemetry/resources": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.30.1.tgz", + "integrity": "sha512-5UxZqiAgLYGFjS4s9qm5mBVo433u+dSPUFWVWXmLAD4wB65oMCoXaJP1KJa9DIYYMeHu3z4BZcStG3LC593cWA==", + "requires": { + "@opentelemetry/core": "1.30.1", + "@opentelemetry/semantic-conventions": "1.28.0" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.30.1.tgz", + "integrity": "sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ==", + "requires": { + "@opentelemetry/semantic-conventions": "1.28.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.28.0.tgz", + "integrity": "sha512-lp4qAiMTD4sNWW4DbKLBkfiMZ4jbAboJIGOQr5DvciMRI494OapieI9qiODpOt0XBr1LjIDy1xAGAnVs5supTA==" + } + } + }, + "@opentelemetry/sdk-logs": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-0.39.1.tgz", + "integrity": "sha512-/gmgKfZ1ZVFporKuwsewqIyvaUIGpv76JZ7lBpHQQPb37IMpaXO6pdqFI4ebHAWfNIm3akMyhmdtzivcgF3lgw==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/resources": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/sdk-metrics": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.13.0.tgz", + "integrity": "sha512-MOjZX6AnSOqLliCcZUrb+DQKjAWXBiGeICGbHAGe5w0BB18PJIeIo995lO5JSaFfHpmUMgJButTPfJJD27W3Vg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/resources": "1.13.0", + "lodash.merge": "4.6.2" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/sdk-node": { + "version": "0.39.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-node/-/sdk-node-0.39.1.tgz", + "integrity": "sha512-qODReBGNSdfRS5gvCFj1SdiIi/3ZFTZb0H1KvWE/OrTkklyL5RhIs7vDwvEGHmha+YpUu0Y2+R2+itSBSu/jCA==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/exporter-jaeger": "1.13.0", + "@opentelemetry/exporter-trace-otlp-grpc": "0.39.1", + "@opentelemetry/exporter-trace-otlp-http": "0.39.1", + "@opentelemetry/exporter-trace-otlp-proto": "0.39.1", + "@opentelemetry/exporter-zipkin": "1.13.0", + "@opentelemetry/instrumentation": "0.39.1", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/sdk-metrics": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0", + "@opentelemetry/sdk-trace-node": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + }, + "dependencies": { + "@opentelemetry/context-async-hooks": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.13.0.tgz", + "integrity": "sha512-pS5fU4lrRjOIPZQqA2V1SUM9QUFXbO+8flubAiy6ntLjnAjJJUdRFOUOxK6v86ZHI2p2S8A0vD0BTu95FZYvjA==", + "requires": {} + }, + "@opentelemetry/propagator-b3": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-1.13.0.tgz", + "integrity": "sha512-HOo91EI4UbuG8xQVLFziTzrcIn0MJQhy8m9jorh8aonb94jFVFi3CFNIiAnIGOabmnshJLOABxpYXsiPB8Xnzg==", + "requires": { + "@opentelemetry/core": "1.13.0" + } + }, + "@opentelemetry/propagator-jaeger": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.13.0.tgz", + "integrity": "sha512-IV9TO+u1Jzm9mUDAD3gyXf89eyvgEJUY1t+GB5QmS4wjVeWrSMUtD0JjH3yG9SNqkrQOqOGJq7YUSSetW+Lf5Q==", + "requires": { + "@opentelemetry/core": "1.13.0" + } + }, + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/sdk-trace-node": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.13.0.tgz", + "integrity": "sha512-FXA85lXKTsnbOflA/TBuBf2pmhD3c8uDjNjG0YqK+ap8UayfALmfJhf+aG1yBOUHevCY0JXJ4/xtbXExxpsMog==", + "requires": { + "@opentelemetry/context-async-hooks": "1.13.0", + "@opentelemetry/core": "1.13.0", + "@opentelemetry/propagator-b3": "1.13.0", + "@opentelemetry/propagator-jaeger": "1.13.0", + "@opentelemetry/sdk-trace-base": "1.13.0", + "semver": "^7.3.5" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/sdk-trace-base": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.13.0.tgz", + "integrity": "sha512-moTiQtc0uPR1hQLt6gLDJH9IIkeBhgRb71OKjNHZPE1VF45fHtD6nBDi5J/DkTHTwYP5X3kBJLa3xN7ub6J4eg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/resources": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + }, + "dependencies": { + "@opentelemetry/resources": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.13.0.tgz", + "integrity": "sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==", + "requires": { + "@opentelemetry/core": "1.13.0", + "@opentelemetry/semantic-conventions": "1.13.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.13.0.tgz", + "integrity": "sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==" + } + } + }, + "@opentelemetry/sdk-trace-node": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.30.1.tgz", + "integrity": "sha512-cBjYOINt1JxXdpw1e5MlHmFRc5fgj4GW/86vsKFxJCJ8AL4PdVtYH41gWwl4qd4uQjqEL1oJVrXkSy5cnduAnQ==", + "requires": { + "@opentelemetry/context-async-hooks": "1.30.1", + "@opentelemetry/core": "1.30.1", + "@opentelemetry/propagator-b3": "1.30.1", + "@opentelemetry/propagator-jaeger": "1.30.1", + "@opentelemetry/sdk-trace-base": "1.30.1", + "semver": "^7.5.2" + }, + "dependencies": { + "@opentelemetry/core": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.30.1.tgz", + "integrity": "sha512-OOCM2C/QIURhJMuKaekP3TRBxBKxG/TWWA0TL2J6nXUtDnuCtccy49LUJF8xPFXMX+0LMcxFpCo8M9cGY1W6rQ==", + "requires": { + "@opentelemetry/semantic-conventions": "1.28.0" + } + }, + "@opentelemetry/sdk-trace-base": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.30.1.tgz", + "integrity": "sha512-jVPgBbH1gCy2Lb7X0AVQ8XAfgg0pJ4nvl8/IiQA6nxOsPvS+0zMJaFSs2ltXe0J6C8dqjcnpyqINDJmU30+uOg==", + "requires": { + "@opentelemetry/core": "1.30.1", + "@opentelemetry/resources": "1.30.1", + "@opentelemetry/semantic-conventions": "1.28.0" + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.28.0.tgz", + "integrity": "sha512-lp4qAiMTD4sNWW4DbKLBkfiMZ4jbAboJIGOQr5DvciMRI494OapieI9qiODpOt0XBr1LjIDy1xAGAnVs5supTA==" + } + } + }, + "@opentelemetry/semantic-conventions": { + "version": "1.30.0", + "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.30.0.tgz", + "integrity": "sha512-4VlGgo32k2EQ2wcCY3vEU28A0O13aOtHz3Xt2/2U5FAh9EfhD6t6DqL5Z6yAnRCntbTFDU4YfbpyzSlHNWycPw==" + }, + "@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "optional": true + }, + "@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" + }, + "@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" + }, + "@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" + }, + "@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" + }, + "@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "requires": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" + }, + "@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" + }, + "@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" + }, + "@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" + }, + "@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" + }, + "@puppeteer/browsers": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.4.0.tgz", + "integrity": "sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==", + "requires": { + "debug": "^4.3.6", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "semver": "^7.6.3", + "tar-fs": "^3.0.6", + "unbzip2-stream": "^1.4.3", + "yargs": "^17.7.2" + } + }, + "@sec-ant/readable-stream": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@sec-ant/readable-stream/-/readable-stream-0.4.1.tgz", + "integrity": "sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==" + }, + "@sentry-internal/browser-utils": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/browser-utils/-/browser-utils-9.12.0.tgz", + "integrity": "sha512-GXuDEG2Ix8DmVtTkjsItWdusk2CvJ6EPWKYVqFKifxt+IAT3ZbhGZd99Rg3wdRmt9xhCNuS4QrDzDTPMPgfdCw==", + "requires": { + "@sentry/core": "9.12.0" + } + }, + "@sentry-internal/feedback": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/feedback/-/feedback-9.12.0.tgz", + "integrity": "sha512-3+UxoT97QIXNSUQS4ATL1FFws0RkUb6PeaQN8CPndI6mFlqTW5tuVVLNg9Eo1seNg7R/dfk6WHCWrYN1NbFFKQ==", + "requires": { + "@sentry/core": "9.12.0" + } + }, + "@sentry-internal/replay": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay/-/replay-9.12.0.tgz", + "integrity": "sha512-njEQosFeO/UX+gG+DMRANkPUuz6OIJLb+A1GVylhq9adUgFQydQ9Ay3v7/x1gMhdfHVP6Jeb27qkti0BWYbzBQ==", + "requires": { + "@sentry-internal/browser-utils": "9.12.0", + "@sentry/core": "9.12.0" + } + }, + "@sentry-internal/replay-canvas": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@sentry-internal/replay-canvas/-/replay-canvas-9.12.0.tgz", + "integrity": "sha512-p8LuKZgWT/CoQBbDOXkSGjWWnc8WsnAayWgna8M/ZFWNITCNEM2rCuqZOyWOElIlrni+M7qoEA3jS7MZe8Ejxw==", + "requires": { + "@sentry-internal/replay": "9.12.0", + "@sentry/core": "9.12.0" + } + }, + "@sentry/browser": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@sentry/browser/-/browser-9.12.0.tgz", + "integrity": "sha512-4xQYoZqi+VVhNvlhWiwRd57+SMr3Og4sLjuayAA+zIp1Wx/bDcIld697cugLwml/BR+mVJI2eokkgh1CBl6zag==", + "requires": { + "@sentry-internal/browser-utils": "9.12.0", + "@sentry-internal/feedback": "9.12.0", + "@sentry-internal/replay": "9.12.0", + "@sentry-internal/replay-canvas": "9.12.0", + "@sentry/core": "9.12.0" + } + }, + "@sentry/core": { + "version": "9.12.0", + "resolved": "https://registry.npmjs.org/@sentry/core/-/core-9.12.0.tgz", + "integrity": "sha512-jOqQK/90uzHmsBvkPTj/DAEFvA5poX4ZRyC7LE1zjg4F5jdOp3+M4W3qCy0CkSTu88Zu5VWBoppCU2Bs34XEqg==" + }, + "@sindresorhus/is": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-5.6.0.tgz", + "integrity": "sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g==", + "dev": true + }, + "@sindresorhus/merge-streams": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-4.0.0.tgz", + "integrity": "sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==" + }, + "@sindresorhus/slugify": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/@sindresorhus/slugify/-/slugify-2.2.1.tgz", + "integrity": "sha512-MkngSCRZ8JdSOCHRaYd+D01XhvU3Hjy6MGl06zhOk614hp9EOAp5gIkBeQg7wtmxpitU6eAL4kdiRMcJa2dlrw==", + "dev": true, + "requires": { + "@sindresorhus/transliterate": "^1.0.0", + "escape-string-regexp": "^5.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true + } + } + }, + "@sindresorhus/transliterate": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/transliterate/-/transliterate-1.6.0.tgz", + "integrity": "sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ==", + "dev": true, + "requires": { + "escape-string-regexp": "^5.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true + } + } + }, + "@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + }, + "dependencies": { + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + } + } + }, + "@sinonjs/fake-timers": { + "version": "13.0.5", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-13.0.5.tgz", + "integrity": "sha512-36/hTbH2uaWuGVERyC6da9YwGWnzUZXuPro/F2LfsdOsLnCojz/iSH8MxUt/FD2S5XBSVPhmArFUXcpCQ2Hkiw==", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1" + } + }, + "@sinonjs/samsam": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-8.0.2.tgz", + "integrity": "sha512-v46t/fwnhejRSFTGqbpn9u+LQ9xJDse10gNnPgAcxgdoCDMXj/G2asWAC/8Qs+BAZDicX+MNZouXT1A7c83kVw==", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1", + "lodash.get": "^4.4.2", + "type-detect": "^4.1.0" + } + }, + "@sinonjs/text-encoding": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.3.tgz", + "integrity": "sha512-DE427ROAphMQzU4ENbliGYrBSYPXF+TtLg9S8vzeA+OF4ZKzoDdzfL8sxuMUGS/lgRhM6j1URSk9ghf7Xo1tyA==", + "dev": true + }, + "@smithy/abort-controller": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/abort-controller/-/abort-controller-4.0.4.tgz", + "integrity": "sha512-gJnEjZMvigPDQWHrW3oPrFhQtkrgqBkyjj3pCIdF3A5M6vsZODG93KNlfJprv6bp4245bdT32fsHK4kkH3KYDA==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/config-resolver": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/@smithy/config-resolver/-/config-resolver-4.1.4.tgz", + "integrity": "sha512-prmU+rDddxHOH0oNcwemL+SwnzcG65sBF2yXRO7aeXIn/xTlq2pX7JLVbkBnVLowHLg4/OL4+jBmv9hVrVGS+w==", + "requires": { + "@smithy/node-config-provider": "^4.1.3", + "@smithy/types": "^4.3.1", + "@smithy/util-config-provider": "^4.0.0", + "@smithy/util-middleware": "^4.0.4", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/core": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/@smithy/core/-/core-3.5.3.tgz", + "integrity": "sha512-xa5byV9fEguZNofCclv6v9ra0FYh5FATQW/da7FQUVTic94DfrN/NvmKZjrMyzbpqfot9ZjBaO8U1UeTbmSLuA==", + "requires": { + "@smithy/middleware-serde": "^4.0.8", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-body-length-browser": "^4.0.0", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-stream": "^4.2.2", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/credential-provider-imds": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@smithy/credential-provider-imds/-/credential-provider-imds-4.0.6.tgz", + "integrity": "sha512-hKMWcANhUiNbCJouYkZ9V3+/Qf9pteR1dnwgdyzR09R4ODEYx8BbUysHwRSyex4rZ9zapddZhLFTnT4ZijR4pw==", + "requires": { + "@smithy/node-config-provider": "^4.1.3", + "@smithy/property-provider": "^4.0.4", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/eventstream-codec": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-codec/-/eventstream-codec-4.0.4.tgz", + "integrity": "sha512-7XoWfZqWb/QoR/rAU4VSi0mWnO2vu9/ltS6JZ5ZSZv0eovLVfDfu0/AX4ub33RsJTOth3TiFWSHS5YdztvFnig==", + "requires": { + "@aws-crypto/crc32": "5.2.0", + "@smithy/types": "^4.3.1", + "@smithy/util-hex-encoding": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/eventstream-serde-browser": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-4.0.4.tgz", + "integrity": "sha512-3fb/9SYaYqbpy/z/H3yIi0bYKyAa89y6xPmIqwr2vQiUT2St+avRt8UKwsWt9fEdEasc5d/V+QjrviRaX1JRFA==", + "requires": { + "@smithy/eventstream-serde-universal": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/eventstream-serde-config-resolver": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-4.1.2.tgz", + "integrity": "sha512-JGtambizrWP50xHgbzZI04IWU7LdI0nh/wGbqH3sJesYToMi2j/DcoElqyOcqEIG/D4tNyxgRuaqBXWE3zOFhQ==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/eventstream-serde-universal": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-4.0.4.tgz", + "integrity": "sha512-UeJpOmLGhq1SLox79QWw/0n2PFX+oPRE1ZyRMxPIaFEfCqWaqpB7BU9C8kpPOGEhLF7AwEqfFbtwNxGy4ReENA==", + "requires": { + "@smithy/eventstream-codec": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/fetch-http-handler": { + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-5.0.4.tgz", + "integrity": "sha512-AMtBR5pHppYMVD7z7G+OlHHAcgAN7v0kVKEpHuTO4Gb199Gowh0taYi9oDStFeUhetkeP55JLSVlTW1n9rFtUw==", + "requires": { + "@smithy/protocol-http": "^5.1.2", + "@smithy/querystring-builder": "^4.0.4", + "@smithy/types": "^4.3.1", + "@smithy/util-base64": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/hash-node": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/hash-node/-/hash-node-4.0.4.tgz", + "integrity": "sha512-qnbTPUhCVnCgBp4z4BUJUhOEkVwxiEi1cyFM+Zj6o+aY8OFGxUQleKWq8ltgp3dujuhXojIvJWdoqpm6dVO3lQ==", + "requires": { + "@smithy/types": "^4.3.1", + "@smithy/util-buffer-from": "^4.0.0", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/invalid-dependency": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/invalid-dependency/-/invalid-dependency-4.0.4.tgz", + "integrity": "sha512-bNYMi7WKTJHu0gn26wg8OscncTt1t2b8KcsZxvOv56XA6cyXtOAAAaNP7+m45xfppXfOatXF3Sb1MNsLUgVLTw==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/is-array-buffer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/is-array-buffer/-/is-array-buffer-4.0.0.tgz", + "integrity": "sha512-saYhF8ZZNoJDTvJBEWgeBccCg+yvp1CX+ed12yORU3NilJScfc6gfch2oVb4QgxZrGUx3/ZJlb+c/dJbyupxlw==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/middleware-content-length": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/middleware-content-length/-/middleware-content-length-4.0.4.tgz", + "integrity": "sha512-F7gDyfI2BB1Kc+4M6rpuOLne5LOcEknH1n6UQB69qv+HucXBR1rkzXBnQTB2q46sFy1PM/zuSJOB532yc8bg3w==", + "requires": { + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/middleware-endpoint": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/@smithy/middleware-endpoint/-/middleware-endpoint-4.1.11.tgz", + "integrity": "sha512-zDogwtRLzKl58lVS8wPcARevFZNBOOqnmzWWxVe9XiaXU2CADFjvJ9XfNibgkOWs08sxLuSr81NrpY4mgp9OwQ==", + "requires": { + "@smithy/core": "^3.5.3", + "@smithy/middleware-serde": "^4.0.8", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "@smithy/url-parser": "^4.0.4", + "@smithy/util-middleware": "^4.0.4", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/middleware-retry": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@smithy/middleware-retry/-/middleware-retry-4.1.12.tgz", + "integrity": "sha512-wvIH70c4e91NtRxdaLZF+mbLZ/HcC6yg7ySKUiufL6ESp6zJUSnJucZ309AvG9nqCFHSRB5I6T3Ez1Q9wCh0Ww==", + "requires": { + "@smithy/node-config-provider": "^4.1.3", + "@smithy/protocol-http": "^5.1.2", + "@smithy/service-error-classification": "^4.0.5", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-retry": "^4.0.5", + "tslib": "^2.6.2", + "uuid": "^9.0.1" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/middleware-serde": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/@smithy/middleware-serde/-/middleware-serde-4.0.8.tgz", + "integrity": "sha512-iSSl7HJoJaGyMIoNn2B7czghOVwJ9nD7TMvLhMWeSB5vt0TnEYyRRqPJu/TqW76WScaNvYYB8nRoiBHR9S1Ddw==", + "requires": { + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/middleware-stack": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/middleware-stack/-/middleware-stack-4.0.4.tgz", + "integrity": "sha512-kagK5ggDrBUCCzI93ft6DjteNSfY8Ulr83UtySog/h09lTIOAJ/xUSObutanlPT0nhoHAkpmW9V5K8oPyLh+QA==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/node-config-provider": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@smithy/node-config-provider/-/node-config-provider-4.1.3.tgz", + "integrity": "sha512-HGHQr2s59qaU1lrVH6MbLlmOBxadtzTsoO4c+bF5asdgVik3I8o7JIOzoeqWc5MjVa+vD36/LWE0iXKpNqooRw==", + "requires": { + "@smithy/property-provider": "^4.0.4", + "@smithy/shared-ini-file-loader": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/node-http-handler": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/@smithy/node-http-handler/-/node-http-handler-4.0.6.tgz", + "integrity": "sha512-NqbmSz7AW2rvw4kXhKGrYTiJVDHnMsFnX4i+/FzcZAfbOBauPYs2ekuECkSbtqaxETLLTu9Rl/ex6+I2BKErPA==", + "requires": { + "@smithy/abort-controller": "^4.0.4", + "@smithy/protocol-http": "^5.1.2", + "@smithy/querystring-builder": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/property-provider": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/property-provider/-/property-provider-4.0.4.tgz", + "integrity": "sha512-qHJ2sSgu4FqF4U/5UUp4DhXNmdTrgmoAai6oQiM+c5RZ/sbDwJ12qxB1M6FnP+Tn/ggkPZf9ccn4jqKSINaquw==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/protocol-http": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@smithy/protocol-http/-/protocol-http-5.1.2.tgz", + "integrity": "sha512-rOG5cNLBXovxIrICSBm95dLqzfvxjEmuZx4KK3hWwPFHGdW3lxY0fZNXfv2zebfRO7sJZ5pKJYHScsqopeIWtQ==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/querystring-builder": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/querystring-builder/-/querystring-builder-4.0.4.tgz", + "integrity": "sha512-SwREZcDnEYoh9tLNgMbpop+UTGq44Hl9tdj3rf+yeLcfH7+J8OXEBaMc2kDxtyRHu8BhSg9ADEx0gFHvpJgU8w==", + "requires": { + "@smithy/types": "^4.3.1", + "@smithy/util-uri-escape": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/querystring-parser": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/querystring-parser/-/querystring-parser-4.0.4.tgz", + "integrity": "sha512-6yZf53i/qB8gRHH/l2ZwUG5xgkPgQF15/KxH0DdXMDHjesA9MeZje/853ifkSY0x4m5S+dfDZ+c4x439PF0M2w==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/service-error-classification": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@smithy/service-error-classification/-/service-error-classification-4.0.5.tgz", + "integrity": "sha512-LvcfhrnCBvCmTee81pRlh1F39yTS/+kYleVeLCwNtkY8wtGg8V/ca9rbZZvYIl8OjlMtL6KIjaiL/lgVqHD2nA==", + "requires": { + "@smithy/types": "^4.3.1" + } + }, + "@smithy/shared-ini-file-loader": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-4.0.4.tgz", + "integrity": "sha512-63X0260LoFBjrHifPDs+nM9tV0VMkOTl4JRMYNuKh/f5PauSjowTfvF3LogfkWdcPoxsA9UjqEOgjeYIbhb7Nw==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/signature-v4": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@smithy/signature-v4/-/signature-v4-5.1.2.tgz", + "integrity": "sha512-d3+U/VpX7a60seHziWnVZOHuEgJlclufjkS6zhXvxcJgkJq4UWdH5eOBLzHRMx6gXjsdT9h6lfpmLzbrdupHgQ==", + "requires": { + "@smithy/is-array-buffer": "^4.0.0", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "@smithy/util-hex-encoding": "^4.0.0", + "@smithy/util-middleware": "^4.0.4", + "@smithy/util-uri-escape": "^4.0.0", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/smithy-client": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/@smithy/smithy-client/-/smithy-client-4.4.3.tgz", + "integrity": "sha512-xxzNYgA0HD6ETCe5QJubsxP0hQH3QK3kbpJz3QrosBCuIWyEXLR/CO5hFb2OeawEKUxMNhz3a1nuJNN2np2RMA==", + "requires": { + "@smithy/core": "^3.5.3", + "@smithy/middleware-endpoint": "^4.1.11", + "@smithy/middleware-stack": "^4.0.4", + "@smithy/protocol-http": "^5.1.2", + "@smithy/types": "^4.3.1", + "@smithy/util-stream": "^4.2.2", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/types": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@smithy/types/-/types-4.3.1.tgz", + "integrity": "sha512-UqKOQBL2x6+HWl3P+3QqFD4ncKq0I8Nuz9QItGv5WuKuMHuuwlhvqcZCoXGfc+P1QmfJE7VieykoYYmrOoFJxA==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/url-parser": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/url-parser/-/url-parser-4.0.4.tgz", + "integrity": "sha512-eMkc144MuN7B0TDA4U2fKs+BqczVbk3W+qIvcoCY6D1JY3hnAdCuhCZODC+GAeaxj0p6Jroz4+XMUn3PCxQQeQ==", + "requires": { + "@smithy/querystring-parser": "^4.0.4", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-base64": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-base64/-/util-base64-4.0.0.tgz", + "integrity": "sha512-CvHfCmO2mchox9kjrtzoHkWHxjHZzaFojLc8quxXY7WAAMAg43nuxwv95tATVgQFNDwd4M9S1qFzj40Ul41Kmg==", + "requires": { + "@smithy/util-buffer-from": "^4.0.0", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-body-length-browser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-browser/-/util-body-length-browser-4.0.0.tgz", + "integrity": "sha512-sNi3DL0/k64/LO3A256M+m3CDdG6V7WKWHdAiBBMUN8S3hK3aMPhwnPik2A/a2ONN+9doY9UxaLfgqsIRg69QA==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-body-length-node": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-body-length-node/-/util-body-length-node-4.0.0.tgz", + "integrity": "sha512-q0iDP3VsZzqJyje8xJWEJCNIu3lktUGVoSy1KB0UWym2CL1siV3artm+u1DFYTLejpsrdGyCSWBdGNjJzfDPjg==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-buffer-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-buffer-from/-/util-buffer-from-4.0.0.tgz", + "integrity": "sha512-9TOQ7781sZvddgO8nxueKi3+yGvkY35kotA0Y6BWRajAv8jjmigQ1sBwz0UX47pQMYXJPahSKEKYFgt+rXdcug==", + "requires": { + "@smithy/is-array-buffer": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-config-provider": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-config-provider/-/util-config-provider-4.0.0.tgz", + "integrity": "sha512-L1RBVzLyfE8OXH+1hsJ8p+acNUSirQnWQ6/EgpchV88G6zGBTDPdXiiExei6Z1wR2RxYvxY/XLw6AMNCCt8H3w==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-defaults-mode-browser": { + "version": "4.0.19", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-4.0.19.tgz", + "integrity": "sha512-mvLMh87xSmQrV5XqnUYEPoiFFeEGYeAKIDDKdhE2ahqitm8OHM3aSvhqL6rrK6wm1brIk90JhxDf5lf2hbrLbQ==", + "requires": { + "@smithy/property-provider": "^4.0.4", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "bowser": "^2.11.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-defaults-mode-node": { + "version": "4.0.19", + "resolved": "https://registry.npmjs.org/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-4.0.19.tgz", + "integrity": "sha512-8tYnx+LUfj6m+zkUUIrIQJxPM1xVxfRBvoGHua7R/i6qAxOMjqR6CpEpDwKoIs1o0+hOjGvkKE23CafKL0vJ9w==", + "requires": { + "@smithy/config-resolver": "^4.1.4", + "@smithy/credential-provider-imds": "^4.0.6", + "@smithy/node-config-provider": "^4.1.3", + "@smithy/property-provider": "^4.0.4", + "@smithy/smithy-client": "^4.4.3", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-endpoints": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@smithy/util-endpoints/-/util-endpoints-3.0.6.tgz", + "integrity": "sha512-YARl3tFL3WgPuLzljRUnrS2ngLiUtkwhQtj8PAL13XZSyUiNLQxwG3fBBq3QXFqGFUXepIN73pINp3y8c2nBmA==", + "requires": { + "@smithy/node-config-provider": "^4.1.3", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-hex-encoding": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-hex-encoding/-/util-hex-encoding-4.0.0.tgz", + "integrity": "sha512-Yk5mLhHtfIgW2W2WQZWSg5kuMZCVbvhFmC7rV4IO2QqnZdbEFPmQnCcGMAX2z/8Qj3B9hYYNjZOhWym+RwhePw==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-middleware": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@smithy/util-middleware/-/util-middleware-4.0.4.tgz", + "integrity": "sha512-9MLKmkBmf4PRb0ONJikCbCwORACcil6gUWojwARCClT7RmLzF04hUR4WdRprIXal7XVyrddadYNfp2eF3nrvtQ==", + "requires": { + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-retry": { + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/@smithy/util-retry/-/util-retry-4.0.5.tgz", + "integrity": "sha512-V7MSjVDTlEt/plmOFBn1762Dyu5uqMrV2Pl2X0dYk4XvWfdWJNe9Bs5Bzb56wkCuiWjSfClVMGcsuKrGj7S/yg==", + "requires": { + "@smithy/service-error-classification": "^4.0.5", + "@smithy/types": "^4.3.1", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-stream": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@smithy/util-stream/-/util-stream-4.2.2.tgz", + "integrity": "sha512-aI+GLi7MJoVxg24/3J1ipwLoYzgkB4kUfogZfnslcYlynj3xsQ0e7vk4TnTro9hhsS5PvX1mwmkRqqHQjwcU7w==", + "requires": { + "@smithy/fetch-http-handler": "^5.0.4", + "@smithy/node-http-handler": "^4.0.6", + "@smithy/types": "^4.3.1", + "@smithy/util-base64": "^4.0.0", + "@smithy/util-buffer-from": "^4.0.0", + "@smithy/util-hex-encoding": "^4.0.0", + "@smithy/util-utf8": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-uri-escape": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-uri-escape/-/util-uri-escape-4.0.0.tgz", + "integrity": "sha512-77yfbCbQMtgtTylO9itEAdpPXSog3ZxMe09AEhm0dU0NLTalV70ghDZFR+Nfi1C60jnJoh/Re4090/DuZh2Omg==", + "requires": { + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@smithy/util-utf8": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@smithy/util-utf8/-/util-utf8-4.0.0.tgz", + "integrity": "sha512-b+zebfKCfRdgNJDknHCob3O7FpeYQN6ZG6YLExMcasDHsCXlsXCEuiPZeLnJLpwa5dvPetGlnGCiMHuLwGvFow==", + "requires": { + "@smithy/util-buffer-from": "^4.0.0", + "tslib": "^2.6.2" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + } + } + }, + "@socket.io/component-emitter": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz", + "integrity": "sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==", + "dev": true + }, + "@stoplight/json": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/@stoplight/json/-/json-3.21.0.tgz", + "integrity": "sha512-5O0apqJ/t4sIevXCO3SBN9AHCEKKR/Zb4gaj7wYe5863jme9g02Q0n/GhM7ZCALkL+vGPTe4ZzTETP8TFtsw3g==", + "dev": true, + "requires": { + "@stoplight/ordered-object-literal": "^1.0.3", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "jsonc-parser": "~2.2.1", + "lodash": "^4.17.21", + "safe-stable-stringify": "^1.1" + } + }, + "@stoplight/json-ref-readers": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-readers/-/json-ref-readers-1.2.2.tgz", + "integrity": "sha512-nty0tHUq2f1IKuFYsLM4CXLZGHdMn+X/IwEUIpeSOXt0QjMUbL0Em57iJUDzz+2MkWG83smIigNZ3fauGjqgdQ==", + "dev": true, + "requires": { + "node-fetch": "^2.6.0", + "tslib": "^1.14.1" + } + }, + "@stoplight/json-ref-resolver": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/@stoplight/json-ref-resolver/-/json-ref-resolver-3.1.6.tgz", + "integrity": "sha512-YNcWv3R3n3U6iQYBsFOiWSuRGE5su1tJSiX6pAPRVk7dP0L7lqCteXGzuVRQ0gMZqUl8v1P0+fAKxF6PLo9B5A==", + "dev": true, + "requires": { + "@stoplight/json": "^3.21.0", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^12.3.0 || ^13.0.0", + "@types/urijs": "^1.19.19", + "dependency-graph": "~0.11.0", + "fast-memoize": "^2.5.2", + "immer": "^9.0.6", + "lodash": "^4.17.21", + "tslib": "^2.6.0", + "urijs": "^1.19.11" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/ordered-object-literal": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/ordered-object-literal/-/ordered-object-literal-1.0.5.tgz", + "integrity": "sha512-COTiuCU5bgMUtbIFBuyyh2/yVVzlr5Om0v5utQDgBCuQUOPgU1DwoffkTfg4UBQOvByi5foF4w4T+H9CoRe5wg==", + "dev": true + }, + "@stoplight/path": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@stoplight/path/-/path-1.3.2.tgz", + "integrity": "sha512-lyIc6JUlUA8Ve5ELywPC8I2Sdnh1zc1zmbYgVarhXIp9YeAB0ReeqmGEOWNtlHkbP2DAA1AL65Wfn2ncjK/jtQ==", + "dev": true + }, + "@stoplight/spectral-core": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-core/-/spectral-core-1.20.0.tgz", + "integrity": "sha512-5hBP81nCC1zn1hJXL/uxPNRKNcB+/pEIHgCjPRpl/w/qy9yC9ver04tw1W0l/PMiv0UeB5dYgozXVQ4j5a6QQQ==", + "dev": true, + "requires": { + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "~3.21.0", + "@stoplight/path": "1.3.2", + "@stoplight/spectral-parsers": "^1.0.0", + "@stoplight/spectral-ref-resolver": "^1.0.4", + "@stoplight/spectral-runtime": "^1.1.2", + "@stoplight/types": "~13.6.0", + "@types/es-aggregate-error": "^1.0.2", + "@types/json-schema": "^7.0.11", + "ajv": "^8.17.1", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.1", + "es-aggregate-error": "^1.0.7", + "jsonpath-plus": "^10.3.0", + "lodash": "~4.17.21", + "lodash.topath": "^4.5.2", + "minimatch": "3.1.2", + "nimma": "0.2.3", + "pony-cause": "^1.1.1", + "simple-eval": "1.0.1", + "tslib": "^2.8.1" + }, + "dependencies": { + "@stoplight/better-ajv-errors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz", + "integrity": "sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==", + "dev": true, + "requires": { + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + } + }, + "@stoplight/types": { + "version": "13.6.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.6.0.tgz", + "integrity": "sha512-dzyuzvUjv3m1wmhPfq82lCVYGcXG0xUYgqnWfCq3PCVR4BKFhjdkHrnJ+jIDoMKvXb05AZP/ObQF6+NpDo29IQ==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + }, + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "dev": true, + "requires": {} + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/spectral-formats": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-formats/-/spectral-formats-1.8.2.tgz", + "integrity": "sha512-c06HB+rOKfe7tuxg0IdKDEA5XnjL2vrn/m/OVIIxtINtBzphZrOgtRn7epQ5bQF5SWp84Ue7UJWaGgDwVngMFw==", + "dev": true, + "requires": { + "@stoplight/json": "^3.17.0", + "@stoplight/spectral-core": "^1.19.2", + "@types/json-schema": "^7.0.7", + "tslib": "^2.8.1" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/spectral-functions": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-functions/-/spectral-functions-1.10.1.tgz", + "integrity": "sha512-obu8ZfoHxELOapfGsCJixKZXZcffjg+lSoNuttpmUFuDzVLT3VmH8QkPXfOGOL5Pz80BR35ClNAToDkdnYIURg==", + "dev": true, + "requires": { + "@stoplight/better-ajv-errors": "1.0.3", + "@stoplight/json": "^3.17.1", + "@stoplight/spectral-core": "^1.19.4", + "@stoplight/spectral-formats": "^1.8.1", + "@stoplight/spectral-runtime": "^1.1.2", + "ajv": "^8.17.1", + "ajv-draft-04": "~1.0.0", + "ajv-errors": "~3.0.0", + "ajv-formats": "~2.1.1", + "lodash": "~4.17.21", + "tslib": "^2.8.1" + }, + "dependencies": { + "@stoplight/better-ajv-errors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stoplight/better-ajv-errors/-/better-ajv-errors-1.0.3.tgz", + "integrity": "sha512-0p9uXkuB22qGdNfy3VeEhxkU5uwvp/KrBTAbrLBURv6ilxIVwanKwjMc41lQfIVgPGcOkmLbTolfFrSsueu7zA==", + "dev": true, + "requires": { + "jsonpointer": "^5.0.0", + "leven": "^3.1.0" + } + }, + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "dev": true, + "requires": {} + }, + "ajv-errors": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz", + "integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==", + "dev": true, + "requires": {} + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, + "leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/spectral-parsers": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-parsers/-/spectral-parsers-1.0.5.tgz", + "integrity": "sha512-ANDTp2IHWGvsQDAY85/jQi9ZrF4mRrA5bciNHX+PUxPr4DwS6iv4h+FVWJMVwcEYdpyoIdyL+SRmHdJfQEPmwQ==", + "dev": true, + "requires": { + "@stoplight/json": "~3.21.0", + "@stoplight/types": "^14.1.1", + "@stoplight/yaml": "~4.3.0", + "tslib": "^2.8.1" + }, + "dependencies": { + "@stoplight/types": { + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-14.1.1.tgz", + "integrity": "sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/spectral-ref-resolver": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-ref-resolver/-/spectral-ref-resolver-1.0.5.tgz", + "integrity": "sha512-gj3TieX5a9zMW29z3mBlAtDOCgN3GEc1VgZnCVlr5irmR4Qi5LuECuFItAq4pTn5Zu+sW5bqutsCH7D4PkpyAA==", + "dev": true, + "requires": { + "@stoplight/json-ref-readers": "1.2.2", + "@stoplight/json-ref-resolver": "~3.1.6", + "@stoplight/spectral-runtime": "^1.1.2", + "dependency-graph": "0.11.0", + "tslib": "^2.8.1" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/spectral-runtime": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@stoplight/spectral-runtime/-/spectral-runtime-1.1.4.tgz", + "integrity": "sha512-YHbhX3dqW0do6DhiPSgSGQzr6yQLlWybhKwWx0cqxjMwxej3TqLv3BXMfIUYFKKUqIwH4Q2mV8rrMM8qD2N0rQ==", + "dev": true, + "requires": { + "@stoplight/json": "^3.20.1", + "@stoplight/path": "^1.3.2", + "@stoplight/types": "^13.6.0", + "abort-controller": "^3.0.0", + "lodash": "^4.17.21", + "node-fetch": "^2.7.0", + "tslib": "^2.8.1" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/types": { + "version": "13.20.0", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-13.20.0.tgz", + "integrity": "sha512-2FNTv05If7ib79VPDA/r9eUet76jewXFH2y2K5vuge6SXbRHtWBhcaRmu+6QpF4/WRNoJj5XYRSwLGXDxysBGA==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + }, + "@stoplight/yaml": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@stoplight/yaml/-/yaml-4.3.0.tgz", + "integrity": "sha512-JZlVFE6/dYpP9tQmV0/ADfn32L9uFarHWxfcRhReKUnljz1ZiUM5zpX+PH8h5CJs6lao3TuFqnPm9IJJCEkE2w==", + "dev": true, + "requires": { + "@stoplight/ordered-object-literal": "^1.0.5", + "@stoplight/types": "^14.1.1", + "@stoplight/yaml-ast-parser": "0.0.50", + "tslib": "^2.2.0" + }, + "dependencies": { + "@stoplight/types": { + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/@stoplight/types/-/types-14.1.1.tgz", + "integrity": "sha512-/kjtr+0t0tjKr+heVfviO9FrU/uGLc+QNX3fHJc19xsCNYqU7lVhaXxDmEID9BZTjG+/r9pK9xP/xU02XGg65g==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.4", + "utility-types": "^3.10.0" + } + }, + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "@stoplight/yaml-ast-parser": { + "version": "0.0.50", + "resolved": "https://registry.npmjs.org/@stoplight/yaml-ast-parser/-/yaml-ast-parser-0.0.50.tgz", + "integrity": "sha512-Pb6M8TDO9DtSVla9yXSTAxmo9GVEouq5P40DWXdOie69bXogZTkgvopCq+yEvTMA0F6PEvdJmbtTV3ccIp11VQ==", + "dev": true + }, + "@streamparser/json": { + "version": "0.0.22", + "resolved": "https://registry.npmjs.org/@streamparser/json/-/json-0.0.22.tgz", + "integrity": "sha512-b6gTSBjJ8G8SuO3Gbbj+zXbVx8NSs1EbpbMKpzGLWMdkR+98McH9bEjSz3+0mPJf68c5nxa3CrJHp5EQNXM6zQ==" + }, + "@szmarczak/http-timer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-5.0.1.tgz", + "integrity": "sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==", + "dev": true, + "requires": { + "defer-to-connect": "^2.0.1" + } + }, + "@tootallnate/quickjs-emscripten": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@tootallnate/quickjs-emscripten/-/quickjs-emscripten-0.23.0.tgz", + "integrity": "sha512-C5Mc6rdnsaJDjO3UpGW/CQTHtCKaYlScZTly4JIu97Jxo/odCiH0ITnDXSJPTOrEKk/ycSZ0AOgTmkDtkOsvIA==" + }, + "@ts-morph/common": { + "version": "0.26.1", + "resolved": "https://registry.npmjs.org/@ts-morph/common/-/common-0.26.1.tgz", + "integrity": "sha512-Sn28TGl/4cFpcM+jwsH1wLncYq3FtN/BIpem+HOygfBWPT5pAeS5dB4VFVzV8FbnOKHpDLZmvAl4AjPEev5idA==", + "requires": { + "fast-glob": "^3.3.2", + "minimatch": "^9.0.4", + "path-browserify": "^1.0.1" + } + }, + "@tsconfig/node10": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true + }, + "@types/chai": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.0.1.tgz", + "integrity": "sha512-5T8ajsg3M/FOncpLYW7sdOcD6yf4+722sze/tc4KQV0P8Z2rAr3SAuHCIkYmYpt8VbcQlnz8SxlOlPQYefe4cA==", + "dev": true, + "requires": { + "@types/deep-eql": "*" + } + }, + "@types/clone-deep": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/clone-deep/-/clone-deep-4.0.4.tgz", + "integrity": "sha512-vXh6JuuaAha6sqEbJueYdh5zNBPPgG1OYumuz2UvLvriN6ABHDSW8ludREGWJb1MLIzbwZn4q4zUbUCerJTJfA==", + "dev": true + }, + "@types/cors": { + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", + "integrity": "sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/debug": { + "version": "4.1.12", + "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", + "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "dev": true, + "requires": { + "@types/ms": "*" + } + }, + "@types/deep-eql": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz", + "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==", + "dev": true + }, + "@types/diff": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/@types/diff/-/diff-5.2.1.tgz", + "integrity": "sha512-uxpcuwWJGhe2AR1g8hD9F5OYGCqjqWnBUQFD8gMZsDbv8oPHzxJF6iMO6n8Tk0AdzlxoaaoQhOYlIg/PukVU8g==", + "dev": true + }, + "@types/es-aggregate-error": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/es-aggregate-error/-/es-aggregate-error-1.0.6.tgz", + "integrity": "sha512-qJ7LIFp06h1QE1aVxbVd+zJP2wdaugYXYfd6JxsyRMrYHaxb6itXPogW2tz+ylUJ1n1b+JF1PHyYCfYHm0dvUg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/eslint": { + "version": "8.56.12", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz", + "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==", + "dev": true, + "requires": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "@types/estree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.7.tgz", + "integrity": "sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==", + "dev": true + }, + "@types/estree-jsx": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz", + "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==", + "dev": true, + "requires": { + "@types/estree": "*" + } + }, + "@types/get-folder-size": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/get-folder-size/-/get-folder-size-3.0.4.tgz", + "integrity": "sha512-tSf/k7Undx6jKRwpChR9tl+0ZPf0BVwkjBRtJ5qSnz6iWm2ZRYMAS2MktC2u7YaTAFHmxpL/LBxI85M7ioJCSg==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "dev": true, + "requires": { + "@types/unist": "*" + } + }, + "@types/http-cache-semantics": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", + "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", + "dev": true + }, + "@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "dev": true + }, + "@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true + }, + "@types/katex": { + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.7.tgz", + "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", + "dev": true + }, + "@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", + "dev": true, + "requires": { + "@types/unist": "*" + } + }, + "@types/mdx": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.13.tgz", + "integrity": "sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==", + "dev": true + }, + "@types/mocha": { + "version": "10.0.7", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.7.tgz", + "integrity": "sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==", + "dev": true + }, + "@types/ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", + "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", + "dev": true + }, + "@types/nlcst": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/nlcst/-/nlcst-2.0.3.tgz", + "integrity": "sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==", + "dev": true, + "requires": { + "@types/unist": "*" + } + }, + "@types/node": { + "version": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", + "requires": { + "undici-types": "~5.26.4" + } + }, + "@types/node-fetch": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.11.tgz", + "integrity": "sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==", + "requires": { + "@types/node": "*", + "form-data": "^4.0.0" + } + }, + "@types/pdf-parse": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@types/pdf-parse/-/pdf-parse-1.1.4.tgz", + "integrity": "sha512-+gbBHbNCVGGYw1S9lAIIvrHW47UYOhMIFUsJcMkMrzy1Jf0vulBN3XQIjPgnoOXveMuHnF3b57fXROnY/Or7eg==", + "dev": true + }, + "@types/prismjs": { + "version": "1.26.5", + "resolved": "https://registry.npmjs.org/@types/prismjs/-/prismjs-1.26.5.tgz", + "integrity": "sha512-AUZTa7hQ2KY5L7AmtSiqxlhWxb4ina0yd8hNbl4TWuqnv/pFP0nDMb3YrfSBf4hJVGLh2YEIBfKaBW/9UEl6IQ==", + "dev": true + }, + "@types/proxyquire": { + "version": "1.3.31", + "resolved": "https://registry.npmjs.org/@types/proxyquire/-/proxyquire-1.3.31.tgz", + "integrity": "sha512-uALowNG2TSM1HNPMMOR0AJwv4aPYPhqB0xlEhkeRTMuto5hjoSPZkvgu1nbPUkz3gEPAHv4sy4DmKsurZiEfRQ==", + "dev": true + }, + "@types/react": { + "version": "19.1.2", + "resolved": "https://registry.npmjs.org/@types/react/-/react-19.1.2.tgz", + "integrity": "sha512-oxLPMytKchWGbnQM9O7D67uPa9paTNxO7jVoNMXgkkErULBPhPARCfkKL9ytcIJJRGjbsVwW4ugJzyFFvm/Tiw==", + "dev": true, + "peer": true, + "requires": { + "csstype": "^3.0.2" + } + }, + "@types/should": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/@types/should/-/should-11.2.0.tgz", + "integrity": "sha512-+J77XoXmKIXcLK5fWS5B3j31F4wfdclzk+lRxFcKfXTHzZfd153u8w96W30dQBIT4kwKobjvYa0kIb0BWJX21Q==", + "dev": true + }, + "@types/sinon": { + "version": "17.0.4", + "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-17.0.4.tgz", + "integrity": "sha512-RHnIrhfPO3+tJT0s7cFaXGZvsL4bbR3/k7z3P312qMS4JaS2Tk+KiwiLx1S0rQ56ERj00u1/BtdyVd0FY+Pdew==", + "dev": true, + "requires": { + "@types/sinonjs__fake-timers": "*" + } + }, + "@types/sinonjs__fake-timers": { + "version": "8.1.5", + "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.5.tgz", + "integrity": "sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ==", + "dev": true + }, + "@types/turndown": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/@types/turndown/-/turndown-5.0.5.tgz", + "integrity": "sha512-TL2IgGgc7B5j78rIccBtlYAnkuv8nUQqhQc+DSYV5j9Be9XOcm/SKOVRuA47xAVI3680Tk9B1d8flK2GWT2+4w==", + "dev": true + }, + "@types/unist": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz", + "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==", + "dev": true + }, + "@types/urijs": { + "version": "1.19.25", + "resolved": "https://registry.npmjs.org/@types/urijs/-/urijs-1.19.25.tgz", + "integrity": "sha512-XOfUup9r3Y06nFAZh3WvO0rBU4OtlfPB/vgxpjg+NRdGU6CN6djdc6OEiH+PcqHCY6eFLo9Ista73uarf4gnBg==", + "dev": true + }, + "@types/uuid": { + "version": "9.0.8", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", + "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==" + }, + "@types/vscode": { + "version": "1.84.0", + "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.84.0.tgz", + "integrity": "sha512-lCGOSrhT3cL+foUEqc8G1PVZxoDbiMmxgnUZZTEnHF4mC47eKAUtBGAuMLY6o6Ua8PAuNCoKXbqPmJd1JYnQfg==", + "dev": true + }, + "@types/yauzl": { + "version": "2.10.3", + "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.10.3.tgz", + "integrity": "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==", + "optional": true, + "requires": { + "@types/node": "*" + } + }, + "@typescript-eslint/eslint-plugin": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.15.0.tgz", + "integrity": "sha512-uiNHpyjZtFrLwLDpHnzaDlP3Tt6sGMqTCiqmxaN4n4RP0EfYZDODJyddiFDF44Hjwxr5xAcaYxVKm9QKQFJFLA==", + "dev": true, + "requires": { + "@eslint-community/regexpp": "^4.10.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/type-utils": "7.15.0", + "@typescript-eslint/utils": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", + "graphemer": "^1.4.0", + "ignore": "^5.3.1", + "natural-compare": "^1.4.0", + "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "@typescript-eslint/utils": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.15.0.tgz", + "integrity": "sha512-hfDMDqaqOqsUVGiEPSMLR/AjTSCsmJwjpKkYQRo1FNbmW4tBwBspYDwO9eh7sKSTwMQgBw9/T4DHudPaqshRWA==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/typescript-estree": "7.15.0" + } + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + } + } + }, + "@typescript-eslint/parser": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.18.0.tgz", + "integrity": "sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "7.18.0", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/typescript-estree": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", + "debug": "^4.3.4" + }, + "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz", + "integrity": "sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0" + } + }, + "@typescript-eslint/types": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.18.0.tgz", + "integrity": "sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz", + "integrity": "sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/visitor-keys": "7.18.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", + "integrity": "sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.18.0", + "eslint-visitor-keys": "^3.4.3" + } + }, + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + } + } + }, + "@typescript-eslint/project-service": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.33.0.tgz", + "integrity": "sha512-d1hz0u9l6N+u/gcrk6s6gYdl7/+pp8yHheRTqP6X5hVDKALEaTn8WfGiit7G511yueBEL3OpOEpD+3/MBdoN+A==", + "dev": true, + "requires": { + "@typescript-eslint/tsconfig-utils": "^8.33.0", + "@typescript-eslint/types": "^8.33.0", + "debug": "^4.3.4" + }, + "dependencies": { + "@typescript-eslint/types": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz", + "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==", + "dev": true + } + } + }, + "@typescript-eslint/scope-manager": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.15.0.tgz", + "integrity": "sha512-Q/1yrF/XbxOTvttNVPihxh1b9fxamjEoz2Os/Pe38OHwxC24CyCqXxGTOdpb4lt6HYtqw9HetA/Rf6gDGaMPlw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0" + } + }, + "@typescript-eslint/tsconfig-utils": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.0.tgz", + "integrity": "sha512-sTkETlbqhEoiFmGr1gsdq5HyVbSOF0145SYDJ/EQmXHtKViCaGvnyLqWFFHtEXoS0J1yU8Wyou2UGmgW88fEug==", + "dev": true, + "requires": {} + }, + "@typescript-eslint/type-utils": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.15.0.tgz", + "integrity": "sha512-SkgriaeV6PDvpA6253PDVep0qCqgbO1IOBiycjnXsszNTVQe5flN5wR5jiczoEoDEnAqYFSFFc9al9BSGVltkg==", + "dev": true, + "requires": { + "@typescript-eslint/typescript-estree": "7.15.0", + "@typescript-eslint/utils": "7.15.0", + "debug": "^4.3.4", + "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "@typescript-eslint/utils": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.15.0.tgz", + "integrity": "sha512-hfDMDqaqOqsUVGiEPSMLR/AjTSCsmJwjpKkYQRo1FNbmW4tBwBspYDwO9eh7sKSTwMQgBw9/T4DHudPaqshRWA==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.15.0", + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/typescript-estree": "7.15.0" + } + } + } + }, + "@typescript-eslint/types": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.15.0.tgz", + "integrity": "sha512-aV1+B1+ySXbQH0pLK0rx66I3IkiZNidYobyfn0WFsdGhSXw+P3YOqeTq5GED458SfB24tg+ux3S+9g118hjlTw==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.15.0.tgz", + "integrity": "sha512-gjyB/rHAopL/XxfmYThQbXbzRMGhZzGw6KpcMbfe8Q3nNQKStpxnUKeXb0KiN/fFDR42Z43szs6rY7eHk0zdGQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.15.0", + "@typescript-eslint/visitor-keys": "7.15.0", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^1.3.0" + }, + "dependencies": { + "globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + } + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + } + } + }, + "@typescript-eslint/utils": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.33.0.tgz", + "integrity": "sha512-lPFuQaLA9aSNa7D5u2EpRiqdAUhzShwGg/nhpBlc4GR6kcTABttCuyjFs8BcEZ8VWrjCBof/bePhP3Q3fS+Yrw==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.7.0", + "@typescript-eslint/scope-manager": "8.33.0", + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/typescript-estree": "8.33.0" + }, + "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.33.0.tgz", + "integrity": "sha512-LMi/oqrzpqxyO72ltP+dBSP6V0xiUb4saY7WLtxSfiNEBI8m321LLVFU9/QDJxjDQG9/tjSqKz/E3380TEqSTw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/visitor-keys": "8.33.0" + } + }, + "@typescript-eslint/types": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.33.0.tgz", + "integrity": "sha512-DKuXOKpM5IDT1FA2g9x9x1Ug81YuKrzf4mYX8FAVSNu5Wo/LELHWQyM1pQaDkI42bX15PWl0vNPt1uGiIFUOpg==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.0.tgz", + "integrity": "sha512-vegY4FQoB6jL97Tu/lWRsAiUUp8qJTqzAmENH2k59SJhw0Th1oszb9Idq/FyyONLuNqT1OADJPXfyUNOR8SzAQ==", + "dev": true, + "requires": { + "@typescript-eslint/project-service": "8.33.0", + "@typescript-eslint/tsconfig-utils": "8.33.0", + "@typescript-eslint/types": "8.33.0", + "@typescript-eslint/visitor-keys": "8.33.0", + "debug": "^4.3.4", + "fast-glob": "^3.3.2", + "is-glob": "^4.0.3", + "minimatch": "^9.0.4", + "semver": "^7.6.0", + "ts-api-utils": "^2.1.0" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "8.33.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.0.tgz", + "integrity": "sha512-7RW7CMYoskiz5OOGAWjJFxgb7c5UNjTG292gYhWeOAcFmYCtVCSqjqSBj5zMhxbXo2JOW95YYrUWJfU0zrpaGQ==", + "dev": true, + "requires": { + "@typescript-eslint/types": "8.33.0", + "eslint-visitor-keys": "^4.2.0" + } + }, + "eslint-visitor-keys": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", + "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "dev": true + }, + "ts-api-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz", + "integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==", + "dev": true, + "requires": {} + } + } + }, + "@typescript-eslint/visitor-keys": { + "version": "7.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.15.0.tgz", + "integrity": "sha512-Hqgy/ETgpt2L5xueA/zHHIl4fJI2O4XUE9l4+OIfbJIRSnTJb/QscncdqqZzofQegIJugRIF57OJea1khw2SDw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "7.15.0", + "eslint-visitor-keys": "^3.4.3" + } + }, + "@ungap/structured-clone": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", + "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "dev": true + }, + "@vscode/codicons": { + "version": "0.0.36", + "resolved": "https://registry.npmjs.org/@vscode/codicons/-/codicons-0.0.36.tgz", + "integrity": "sha512-wsNOvNMMJ2BY8rC2N2MNBG7yOowV3ov8KlvUE/AiVUlHKTfWsw3OgAOQduX7h0Un6GssKD3aoTVH+TF3DSQwKQ==" + }, + "@vscode/test-cli": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/@vscode/test-cli/-/test-cli-0.0.10.tgz", + "integrity": "sha512-B0mMH4ia+MOOtwNiLi79XhA+MLmUItIC8FckEuKrVAVriIuSWjt7vv4+bF8qVFiNFe4QRfzPaIZk39FZGWEwHA==", + "dev": true, + "requires": { + "@types/mocha": "^10.0.2", + "c8": "^9.1.0", + "chokidar": "^3.5.3", + "enhanced-resolve": "^5.15.0", + "glob": "^10.3.10", + "minimatch": "^9.0.3", + "mocha": "^10.2.0", + "supports-color": "^9.4.0", + "yargs": "^17.7.2" + }, + "dependencies": { + "chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + } + } + }, + "@vscode/test-electron": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/@vscode/test-electron/-/test-electron-2.4.1.tgz", + "integrity": "sha512-Gc6EdaLANdktQ1t+zozoBVRynfIsMKMc94Svu1QreOBC8y76x4tvaK32TljrLi1LI2+PK58sDVbL7ALdqf3VRQ==", + "dev": true, + "requires": { + "http-proxy-agent": "^7.0.2", + "https-proxy-agent": "^7.0.5", + "jszip": "^3.10.1", + "ora": "^7.0.1", + "semver": "^7.6.2" + } + }, + "@xmldom/xmldom": { + "version": "0.8.10", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz", + "integrity": "sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==" + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "requires": { + "event-target-shim": "^5.0.0" + } + }, + "abort-controller-x": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/abort-controller-x/-/abort-controller-x-0.4.3.tgz", + "integrity": "sha512-VtUwTNU8fpMwvWGn4xE93ywbogTYsuT+AUxAXOeelbXuQVIwNmC5YLeho9sH4vZ4ITW8414TTAOG1nW6uIVHCA==" + }, + "accepts": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-2.0.0.tgz", + "integrity": "sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==", + "requires": { + "mime-types": "^3.0.0", + "negotiator": "^1.0.0" + }, + "dependencies": { + "mime-db": { + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.53.0.tgz", + "integrity": "sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==" + }, + "mime-types": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.0.tgz", + "integrity": "sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w==", + "requires": { + "mime-db": "^1.53.0" + } + } + } + }, + "acorn": { + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "dev": true + }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "requires": {} + }, + "acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "dev": true, + "requires": { + "acorn": "^8.11.0" + } + }, + "address": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/address/-/address-1.2.2.tgz", + "integrity": "sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA==", + "dev": true + }, + "agent-base": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz", + "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==", + "requires": { + "debug": "^4.3.4" + } + }, + "agentkeepalive": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", + "integrity": "sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==", + "requires": { + "humanize-ms": "^1.2.1" + } + }, + "aggregate-error": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz", + "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==", + "dev": true, + "requires": { + "clean-stack": "^4.0.0", + "indent-string": "^5.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-formats": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ajv-formats/-/ajv-formats-2.1.1.tgz", + "integrity": "sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==", + "dev": true, + "requires": { + "ajv": "^8.0.0" + }, + "dependencies": { + "ajv": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2" + } + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + } + } + }, + "ansi-color": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/ansi-color/-/ansi-color-0.2.1.tgz", + "integrity": "sha512-bF6xLaZBLpOQzgYUtYEhJx090nPSZk1BQ/q2oyBK9aMMcJHzx9uXGCjI2Y+LebsN4Jwoykr0V9whbPiogdyHoQ==" + }, + "ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true + }, + "ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "requires": { + "type-fest": "^0.21.3" + }, + "dependencies": { + "type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true + } + } + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "requires": { + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==" + }, + "archiver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-7.0.1.tgz", + "integrity": "sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ==", + "requires": { + "archiver-utils": "^5.0.2", + "async": "^3.2.4", + "buffer-crc32": "^1.0.0", + "readable-stream": "^4.0.0", + "readdir-glob": "^1.1.2", + "tar-stream": "^3.0.0", + "zip-stream": "^6.0.1" + }, + "dependencies": { + "buffer-crc32": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-1.0.0.tgz", + "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==" + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + }, + "readable-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "archiver-utils": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-5.0.2.tgz", + "integrity": "sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA==", + "requires": { + "glob": "^10.0.0", + "graceful-fs": "^4.2.0", + "is-stream": "^2.0.1", + "lazystream": "^1.0.0", + "lodash": "^4.17.15", + "normalize-path": "^3.0.0", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + }, + "readable-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "are-we-there-yet": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz", + "integrity": "sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + } + }, + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==", + "dev": true + }, + "array-iterate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/array-iterate/-/array-iterate-2.0.1.tgz", + "integrity": "sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==", + "dev": true + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + } + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "ast-types": { + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.13.4.tgz", + "integrity": "sha512-x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==", + "requires": { + "tslib": "^2.0.1" + }, + "dependencies": { + "tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + } + } + }, + "astring": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/astring/-/astring-1.9.0.tgz", + "integrity": "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==", + "dev": true + }, + "async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dev": true, + "requires": { + "possible-typed-array-names": "^1.0.0" + } + }, + "avsc": { + "version": "5.7.7", + "resolved": "https://registry.npmjs.org/avsc/-/avsc-5.7.7.tgz", + "integrity": "sha512-9cYNccliXZDByFsFliVwk5GvTq058Fj513CiR4E60ndDwmuXzTJEp/Bp8FyuRmGyYupLjHLs+JA9/CBoVS4/NQ==", + "dev": true + }, + "axios": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.8.2.tgz", + "integrity": "sha512-ls4GYBm5aig9vWx8AWDSGLpnpDQRtWAfrjU+EuytuODrFBkqesN2RkOQCBzrA1RQNHw1SmRMSDDDSwzNAYQ6Rg==", + "requires": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "b4a": { + "version": "1.6.6", + "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.6.tgz", + "integrity": "sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==" + }, + "bail": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz", + "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==", + "dev": true + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "bare-events": { + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz", + "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==", + "optional": true + }, + "bare-fs": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.0.2.tgz", + "integrity": "sha512-S5mmkMesiduMqnz51Bfh0Et9EX0aTCJxhsI4bvzFFLs8Z1AV8RDHadfY5CyLwdoLHgXbNBEN1gQcbEtGwuvixw==", + "optional": true, + "requires": { + "bare-events": "^2.5.4", + "bare-path": "^3.0.0", + "bare-stream": "^2.6.4" + } + }, + "bare-os": { + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.1.tgz", + "integrity": "sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g==", + "optional": true + }, + "bare-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", + "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", + "optional": true, + "requires": { + "bare-os": "^3.0.1" + } + }, + "bare-stream": { + "version": "2.6.5", + "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.5.tgz", + "integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==", + "optional": true, + "requires": { + "streamx": "^2.21.0" + } + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "base64id": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-2.0.0.tgz", + "integrity": "sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==", + "dev": true + }, + "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==" + }, + "better-opn": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-3.0.2.tgz", + "integrity": "sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==", + "dev": true, + "requires": { + "open": "^8.0.4" + }, + "dependencies": { + "define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true + }, + "open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "requires": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + } + } + } + }, + "better-path-resolve": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/better-path-resolve/-/better-path-resolve-1.0.0.tgz", + "integrity": "sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==", + "dev": true, + "requires": { + "is-windows": "^1.0.0" + } + }, + "big-integer": { + "version": "1.6.52", + "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", + "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==" + }, + "bignumber.js": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", + "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==" + }, + "binary": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz", + "integrity": "sha512-D4H1y5KYwpJgK8wk1Cue5LLPgmwHKYSChkbspQg5JtVuR5ulGckxfR62H3AE9UDkdMC8yyXlqYihuz3Aqg2XZg==", + "requires": { + "buffers": "~0.1.1", + "chainsaw": "~0.1.0" + } + }, + "binary-extensions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", + "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "dev": true + }, + "bl": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-5.1.0.tgz", + "integrity": "sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==", + "dev": true, + "requires": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } + } + }, + "bluebird": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz", + "integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA==" + }, + "body-parser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-2.1.0.tgz", + "integrity": "sha512-/hPxh61E+ll0Ujp24Ilm64cykicul1ypfwjVttduAiEdtnJFvLePSrIPk+HMImtNv5270wOGCb1Tns2rybMkoQ==", + "requires": { + "bytes": "^3.1.2", + "content-type": "^1.0.5", + "debug": "^4.4.0", + "http-errors": "^2.0.0", + "iconv-lite": "^0.5.2", + "on-finished": "^2.4.1", + "qs": "^6.14.0", + "raw-body": "^3.0.0", + "type-is": "^2.0.0" + }, + "dependencies": { + "iconv-lite": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.5.2.tgz", + "integrity": "sha512-kERHXvpSaB4aU3eANwidg79K8FlrN77m8G9V+0vOR3HYaRifrlwMEpT7ZBJqLSEIHnEgJTHcWK82wwLwwKwtag==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "qs": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz", + "integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==", + "requires": { + "side-channel": "^1.1.0" + } + } + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" + }, + "bowser": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/bowser/-/bowser-2.11.0.tgz", + "integrity": "sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==" + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "requires": { + "fill-range": "^7.1.1" + } + }, + "browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "buffer-crc32": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", + "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==" + }, + "buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, + "buffer-indexof-polyfill": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz", + "integrity": "sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==" + }, + "buffers": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz", + "integrity": "sha512-9q/rDEGSb/Qsvv2qvzIzdluL5k7AaJOTrw23z9reQthrbF7is4CtlT0DXyO1oei2DCp4uojjzQ7igaSHp1kAEQ==" + }, + "bufrw": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/bufrw/-/bufrw-1.4.0.tgz", + "integrity": "sha512-sWm8iPbqvL9+5SiYxXH73UOkyEbGQg7kyHQmReF89WJHQJw2eV4P/yZ0E+b71cczJ4pPobVhXxgQcmfSTgGHxQ==", + "requires": { + "ansi-color": "^0.2.1", + "error": "^7.0.0", + "hexer": "^1.5.0", + "xtend": "^4.0.0" + } + }, + "bundle-name": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", + "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "requires": { + "run-applescript": "^7.0.0" + } + }, + "bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==" + }, + "c8": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/c8/-/c8-9.1.0.tgz", + "integrity": "sha512-mBWcT5iqNir1zIkzSPyI3NCR9EZCVI3WUD+AVO17MVWTSFNyUueXE82qTeampNtTr+ilN/5Ua3j24LgbCKjDVg==", + "dev": true, + "requires": { + "@bcoe/v8-coverage": "^0.2.3", + "@istanbuljs/schema": "^0.1.3", + "find-up": "^5.0.0", + "foreground-child": "^3.1.1", + "istanbul-lib-coverage": "^3.2.0", + "istanbul-lib-report": "^3.0.1", + "istanbul-reports": "^3.1.6", + "test-exclude": "^6.0.0", + "v8-to-istanbul": "^9.0.0", + "yargs": "^17.7.2", + "yargs-parser": "^21.1.1" + } + }, + "cacheable-lookup": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz", + "integrity": "sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w==", + "dev": true + }, + "cacheable-request": { + "version": "10.2.14", + "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-10.2.14.tgz", + "integrity": "sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==", + "dev": true, + "requires": { + "@types/http-cache-semantics": "^4.0.2", + "get-stream": "^6.0.1", + "http-cache-semantics": "^4.1.1", + "keyv": "^4.5.3", + "mimic-response": "^4.0.0", + "normalize-url": "^8.0.0", + "responselike": "^3.0.0" + }, + "dependencies": { + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + } + } + }, + "call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dev": true, + "requires": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + } + }, + "call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "requires": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + } + }, + "call-bound": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz", + "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "get-intrinsic": "^1.3.0" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, + "case-anything": { + "version": "2.1.13", + "resolved": "https://registry.npmjs.org/case-anything/-/case-anything-2.1.13.tgz", + "integrity": "sha512-zlOQ80VrQ2Ue+ymH5OuM/DlDq64mEm+B9UTdHULv5osUMD6HalNTblf2b1u/m6QecjsnOkBpqVZ+XPwIVsy7Ng==", + "dev": true + }, + "ccount": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz", + "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==", + "dev": true + }, + "chai": { + "version": "4.3.10", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.10.tgz", + "integrity": "sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.3", + "deep-eql": "^4.1.3", + "get-func-name": "^2.0.2", + "loupe": "^2.3.6", + "pathval": "^1.1.1", + "type-detect": "^4.0.8" + } + }, + "chainsaw": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz", + "integrity": "sha512-75kWfWt6MEKNC8xYXIdRpDehRYY/tNSgwKaJq+dbbDcxORuVrrQ+SEHoWsniVn9XPYfP4gmdWIeDk/4YNp1rNQ==", + "requires": { + "traverse": ">=0.3.0 <0.4" + } + }, + "chalk": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.4.1.tgz", + "integrity": "sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==", + "dev": true + }, + "character-entities": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz", + "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==", + "dev": true + }, + "character-entities-html4": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz", + "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==", + "dev": true + }, + "character-entities-legacy": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz", + "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==", + "dev": true + }, + "character-reference-invalid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz", + "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==", + "dev": true + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "check-error": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.3.tgz", + "integrity": "sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==", + "dev": true, + "requires": { + "get-func-name": "^2.0.2" + } + }, + "cheerio": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0.tgz", + "integrity": "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==", + "requires": { + "cheerio-select": "^2.1.0", + "dom-serializer": "^2.0.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "encoding-sniffer": "^0.2.0", + "htmlparser2": "^9.1.0", + "parse5": "^7.1.2", + "parse5-htmlparser2-tree-adapter": "^7.0.0", + "parse5-parser-stream": "^7.1.2", + "undici": "^6.19.5", + "whatwg-mimetype": "^4.0.0" + } + }, + "cheerio-select": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cheerio-select/-/cheerio-select-2.1.0.tgz", + "integrity": "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==", + "requires": { + "boolbase": "^1.0.0", + "css-select": "^5.1.0", + "css-what": "^6.1.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1" + } + }, + "chokidar": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", + "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", + "requires": { + "readdirp": "^4.0.1" + } + }, + "chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true + }, + "chrome-launcher": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/chrome-launcher/-/chrome-launcher-1.1.2.tgz", + "integrity": "sha512-YclTJey34KUm5jB1aEJCq807bSievi7Nb/TU4Gu504fUYi3jw3KCIaH6L7nFWQhdEgH3V+wCh+kKD1P5cXnfxw==", + "requires": { + "@types/node": "*", + "escape-string-regexp": "^4.0.0", + "is-wsl": "^2.2.0", + "lighthouse-logger": "^2.0.1" + } + }, + "chromium-bidi": { + "version": "0.6.5", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.5.tgz", + "integrity": "sha512-RuLrmzYrxSb0s9SgpB+QN5jJucPduZQ/9SIe76MDxYJuecPW5mxMdacJ1f4EtgiV+R0p3sCkznTMvH0MPGFqjA==", + "requires": { + "mitt": "3.0.1", + "urlpattern-polyfill": "10.0.0", + "zod": "3.23.8" + }, + "dependencies": { + "zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==" + } + } + }, + "ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "dev": true + }, + "clean-stack": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-4.2.0.tgz", + "integrity": "sha512-LYv6XPxoyODi36Dp976riBtSY27VmFo+MKqEU9QCCWyTrdEPDog+RWA7xQWHi6Vbp61j5c4cdzzX1NidnwtUWg==", + "dev": true, + "requires": { + "escape-string-regexp": "5.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true + } + } + }, + "cli-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-4.0.0.tgz", + "integrity": "sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==", + "dev": true, + "requires": { + "restore-cursor": "^4.0.0" + } + }, + "cli-spinners": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz", + "integrity": "sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==", + "dev": true + }, + "cli-truncate": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", + "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", + "dev": true, + "requires": { + "slice-ansi": "^5.0.0", + "string-width": "^7.0.0" + }, + "dependencies": { + "emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "dev": true + }, + "string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "requires": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + } + } + } + }, + "cli-width": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-4.1.0.tgz", + "integrity": "sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==", + "dev": true + }, + "cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } + } + }, + "clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "requires": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + } + }, + "code-block-writer": { + "version": "13.0.3", + "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-13.0.3.tgz", + "integrity": "sha512-Oofo0pq3IKnsFtuHqSF7TqBfr71aeyZDVJ0HpmqB7FBM2qEigL0iPONSCZSO9pE9dZTAxANe5XHG9Uy0YMv8cg==" + }, + "collapse-white-space": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-2.1.0.tgz", + "integrity": "sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==", + "dev": true + }, + "color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "dev": true, + "requires": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "dev": true, + "requires": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, + "color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==" + }, + "colorette": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", + "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "comma-separated-tokens": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz", + "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==", + "dev": true + }, + "commander": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", + "integrity": "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==" + }, + "compress-commons": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-6.0.2.tgz", + "integrity": "sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg==", + "requires": { + "crc-32": "^1.2.0", + "crc32-stream": "^6.0.0", + "is-stream": "^2.0.1", + "normalize-path": "^3.0.0", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + }, + "readable-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==" + }, + "content-disposition": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-1.0.0.tgz", + "integrity": "sha512-Au9nRL8VNUut/XSzbQA38+M78dzP4D+eqg3gfJHMIHHYa3bg067xj1KxMUWj+VULbiZMowKngFFbKczUrNJ1mg==", + "requires": { + "safe-buffer": "5.2.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==" + }, + "convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true + }, + "cookie": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==" + }, + "cookie-signature": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.2.2.tgz", + "integrity": "sha512-D76uU73ulSXrD1UXF4KE2TMxVVwhsnCgfAyTg9k8P6KGZjlXKrOLe4dJQKI3Bxi5wjesZoFXJWElNWBjPZMbhg==" + }, + "core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "cors": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", + "integrity": "sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==", + "requires": { + "object-assign": "^4", + "vary": "^1" + } + }, + "cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dev": true, + "requires": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "dependencies": { + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + } + } + }, + "crc-32": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz", + "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==" + }, + "crc32-stream": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-6.0.0.tgz", + "integrity": "sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g==", + "requires": { + "crc-32": "^1.2.0", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + }, + "readable-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "requires": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + } + }, + "css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==" + }, + "csstype": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", + "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", + "dev": true, + "peer": true + }, + "data-uri-to-buffer": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-6.0.2.tgz", + "integrity": "sha512-7hvf7/GW8e86rW0ptuwS3OcBGDjIi6SZva7hCyWC0yYry2cOPmLIjXAUHI6DK2HsnwJd9ifmt57i8eV2n4YNpw==" + }, + "data-view-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.1.tgz", + "integrity": "sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "data-view-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.1.tgz", + "integrity": "sha512-4J7wRJD3ABAzr8wP+OcIcqq2dlUKp4DVflx++hs5h5ZKydWMI6/D/fAot+yh6g2tHh8fLFTvNOaVN357NvSrOQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "data-view-byte-offset": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.0.tgz", + "integrity": "sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-data-view": "^1.0.1" + } + }, + "dayjs": { + "version": "1.11.13", + "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", + "integrity": "sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==" + }, + "debug": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", + "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", + "requires": { + "ms": "^2.1.3" + } + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + }, + "decode-named-character-reference": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.1.0.tgz", + "integrity": "sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==", + "dev": true, + "requires": { + "character-entities": "^2.0.0" + } + }, + "decompress-response": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", + "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", + "dev": true, + "requires": { + "mimic-response": "^3.1.0" + }, + "dependencies": { + "mimic-response": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", + "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", + "dev": true + } + } + }, + "deep-eql": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.4.tgz", + "integrity": "sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "default-browser": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz", + "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", + "requires": { + "bundle-name": "^4.1.0", + "default-browser-id": "^5.0.0" + } + }, + "default-browser-id": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz", + "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==" + }, + "default-shell": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/default-shell/-/default-shell-2.2.0.tgz", + "integrity": "sha512-sPpMZcVhRQ0nEMDtuMJ+RtCxt7iHPAMBU+I4tAlo5dU1sjRpNax0crj6nR3qKpvVnckaQ9U38enXcwW9nZJeCw==" + }, + "defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "requires": { + "clone": "^1.0.2" + }, + "dependencies": { + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true + } + } + }, + "defer-to-connect": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", + "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", + "dev": true + }, + "define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dev": true, + "requires": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + } + }, + "define-lazy-prop": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", + "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==" + }, + "define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, + "requires": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + } + }, + "degenerator": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/degenerator/-/degenerator-5.0.1.tgz", + "integrity": "sha512-TllpMR/t0M5sqCXfj85i4XaAzxmS5tVA16dqvdkMwGmzI+dXLXnw3J+3Vdv7VKw+ThlTMboK6i9rnZ6Nntj5CQ==", + "requires": { + "ast-types": "^0.13.4", + "escodegen": "^2.1.0", + "esprima": "^4.0.1" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true + }, + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" + }, + "dependency-graph": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/dependency-graph/-/dependency-graph-0.11.0.tgz", + "integrity": "sha512-JeMq7fEshyepOWDfcfHK06N3MhyPhz++vtqWhMT5O9A3K42rdsEDpfdVqjaqaAhsw6a+ZqeDvQVtD0hFHQWrzg==", + "dev": true + }, + "dequal": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz", + "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==", + "dev": true + }, + "destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==" + }, + "detect-indent": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", + "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", + "dev": true + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "dev": true + }, + "detect-port": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/detect-port/-/detect-port-1.6.1.tgz", + "integrity": "sha512-CmnVc+Hek2egPx1PeTFVta2W78xy2K/9Rkf6cC4T59S50tVnzKj+tnx5mmx5lwvCkujZ4uRrpRSuV+IVs3f90Q==", + "dev": true, + "requires": { + "address": "^1.0.1", + "debug": "4" + } + }, + "devlop": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz", + "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==", + "dev": true, + "requires": { + "dequal": "^2.0.0" + } + }, + "devtools-protocol": { + "version": "0.0.1342118", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1342118.tgz", + "integrity": "sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==" + }, + "diff": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", + "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==" + }, + "dingbat-to-unicode": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dingbat-to-unicode/-/dingbat-to-unicode-1.0.1.tgz", + "integrity": "sha512-98l0sW87ZT58pU4i61wa2OHwxbiYSbuxsCBozaVnYX2iCnr3bLM3fIes1/ej7h1YdOKuKt/MLs706TVnALA65w==" + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "requires": { + "path-type": "^4.0.0" + }, + "dependencies": { + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + } + } + }, + "dns-packet": { + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-5.6.1.tgz", + "integrity": "sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw==", + "dev": true, + "requires": { + "@leichtgewicht/ip-codec": "^2.0.1" + } + }, + "dns-socket": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/dns-socket/-/dns-socket-4.2.2.tgz", + "integrity": "sha512-BDeBd8najI4/lS00HSKpdFia+OvUMytaVjfzR9n5Lq8MlZRSvtbI+uLtx1+XmQFls5wFU9dssccTmQQ6nfpjdg==", + "dev": true, + "requires": { + "dns-packet": "^5.2.4" + } + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "requires": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + } + }, + "domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==" + }, + "domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "requires": { + "domelementtype": "^2.3.0" + } + }, + "domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "requires": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + } + }, + "dprint-node": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/dprint-node/-/dprint-node-1.0.8.tgz", + "integrity": "sha512-iVKnUtYfGrYcW1ZAlfR/F59cUVL8QIhWoBJoSjkkdua/dkWIgjZfiLMeTjiB06X0ZLkQ0M2C1VbUj/CxkIf1zg==", + "dev": true, + "requires": { + "detect-libc": "^1.0.3" + } + }, + "duck": { + "version": "0.1.12", + "resolved": "https://registry.npmjs.org/duck/-/duck-0.1.12.tgz", + "integrity": "sha512-wkctla1O6VfP89gQ+J/yDesM0S7B7XLXjKGzXxMDVFg7uEn706niAtyYovKbyq1oT9YwDcly721/iUWoc8MVRg==", + "requires": { + "underscore": "^1.13.1" + } + }, + "dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "requires": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + } + }, + "duplexer2": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz", + "integrity": "sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==", + "requires": { + "readable-stream": "^2.0.2" + } + }, + "eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" + }, + "ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "eight-colors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eight-colors/-/eight-colors-1.3.0.tgz", + "integrity": "sha512-hVoK898cR71ADj7L1LZWaECLaSkzzPtqGXIaKv4K6Pzb72QgjLVsQaNI+ELDQQshzFvgp5xTPkaYkPGqw3YR+g==" + }, + "emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" + }, + "encodeurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==" + }, + "encoding-sniffer": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz", + "integrity": "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==", + "requires": { + "iconv-lite": "^0.6.3", + "whatwg-encoding": "^3.1.1" + } + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "requires": { + "once": "^1.4.0" + } + }, + "engine.io": { + "version": "6.6.4", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.4.tgz", + "integrity": "sha512-ZCkIjSYNDyGn0R6ewHDtXgns/Zre/NT6Agvq1/WobF7JXgFff4SeDroKiCO3fNJreU9YG429Sc81o4w5ok/W5g==", + "dev": true, + "requires": { + "@types/cors": "^2.8.12", + "@types/node": ">=10.0.0", + "accepts": "~1.3.4", + "base64id": "2.0.0", + "cookie": "~0.7.2", + "cors": "~2.8.5", + "debug": "~4.3.1", + "engine.io-parser": "~5.2.1", + "ws": "~8.17.1" + }, + "dependencies": { + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "cookie": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "dev": true + }, + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + }, + "ws": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "dev": true, + "requires": {} + } + } + }, + "engine.io-parser": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.3.tgz", + "integrity": "sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==", + "dev": true + }, + "enhanced-resolve": { + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz", + "integrity": "sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + } + }, + "enquirer": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.4.1.tgz", + "integrity": "sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==", + "dev": true, + "requires": { + "ansi-colors": "^4.1.1", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==" + }, + "env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true + }, + "environment": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", + "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", + "dev": true + }, + "error": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/error/-/error-7.0.2.tgz", + "integrity": "sha512-UtVv4l5MhijsYUxPJo4390gzfZvAnTHreNnDjnTZaKIiZ/SemXxAhBkYSKtWa5RtBXbLP8tMgn/n0RUa/H7jXw==", + "requires": { + "string-template": "~0.2.1", + "xtend": "~4.0.0" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.23.3", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", + "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "dev": true, + "requires": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "data-view-buffer": "^1.0.1", + "data-view-byte-length": "^1.0.1", + "data-view-byte-offset": "^1.0.0", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.2", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-data-view": "^1.0.1", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.2", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.9", + "string.prototype.trimend": "^1.0.8", + "string.prototype.trimstart": "^1.0.8", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.6", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.15" + } + }, + "es-aggregate-error": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/es-aggregate-error/-/es-aggregate-error-1.0.13.tgz", + "integrity": "sha512-KkzhUUuD2CUMqEc8JEqsXEMDHzDPE8RCjZeUBitsnB1eNcAJWQPiciKsMXe3Yytj4Flw1XLl46Qcf9OxvZha7A==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "globalthis": "^1.0.3", + "has-property-descriptors": "^1.0.2", + "set-function-name": "^2.0.2" + } + }, + "es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==" + }, + "es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==" + }, + "es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "requires": { + "es-errors": "^1.3.0" + } + }, + "es-set-tostringtag": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "esast-util-from-estree": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/esast-util-from-estree/-/esast-util-from-estree-2.0.0.tgz", + "integrity": "sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "devlop": "^1.0.0", + "estree-util-visit": "^2.0.0", + "unist-util-position-from-estree": "^2.0.0" + } + }, + "esast-util-from-js": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/esast-util-from-js/-/esast-util-from-js-2.0.1.tgz", + "integrity": "sha512-8Ja+rNJ0Lt56Pcf3TAmpBZjmx8ZcK5Ts4cAzIOjsjevg9oSXJnl6SUQ2EevU8tv3h6ZLWmoKL5H4fgWvdvfETw==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "acorn": "^8.0.0", + "esast-util-from-estree": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "esbuild": { + "version": "0.25.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.0.tgz", + "integrity": "sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==", + "dev": true, + "requires": { + "@esbuild/aix-ppc64": "0.25.0", + "@esbuild/android-arm": "0.25.0", + "@esbuild/android-arm64": "0.25.0", + "@esbuild/android-x64": "0.25.0", + "@esbuild/darwin-arm64": "0.25.0", + "@esbuild/darwin-x64": "0.25.0", + "@esbuild/freebsd-arm64": "0.25.0", + "@esbuild/freebsd-x64": "0.25.0", + "@esbuild/linux-arm": "0.25.0", + "@esbuild/linux-arm64": "0.25.0", + "@esbuild/linux-ia32": "0.25.0", + "@esbuild/linux-loong64": "0.25.0", + "@esbuild/linux-mips64el": "0.25.0", + "@esbuild/linux-ppc64": "0.25.0", + "@esbuild/linux-riscv64": "0.25.0", + "@esbuild/linux-s390x": "0.25.0", + "@esbuild/linux-x64": "0.25.0", + "@esbuild/netbsd-arm64": "0.25.0", + "@esbuild/netbsd-x64": "0.25.0", + "@esbuild/openbsd-arm64": "0.25.0", + "@esbuild/openbsd-x64": "0.25.0", + "@esbuild/sunos-x64": "0.25.0", + "@esbuild/win32-arm64": "0.25.0", + "@esbuild/win32-ia32": "0.25.0", + "@esbuild/win32-x64": "0.25.0" + } + }, + "escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==" + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" + }, + "escodegen": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", + "requires": { + "esprima": "^4.0.1", + "estraverse": "^5.2.0", + "esutils": "^2.0.2", + "source-map": "~0.6.1" + } + }, + "eslint": { + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", + "dev": true, + "requires": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^2.1.4", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "@ungap/structured-clone": "^1.2.0", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.2", + "eslint-visitor-keys": "^3.4.3", + "espree": "^9.6.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "graphemer": "^1.4.0", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "eslint-plugin-eslint-rules": { + "version": "file:eslint-rules", + "requires": { + "@types/eslint": "^8.0.0", + "@types/mocha": "^10.0.7", + "@types/node": "^20.0.0", + "@typescript-eslint/parser": "^7.14.1", + "@typescript-eslint/utils": "^8.33.0", + "eslint": "^8.57.0", + "mocha": "^10.0.0", + "ts-node": "^10.9.2", + "typescript": "^5.4.5" + } + }, + "eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true + }, + "espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "requires": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" + }, + "esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==" + }, + "estree-util-attach-comments": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-attach-comments/-/estree-util-attach-comments-3.0.0.tgz", + "integrity": "sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0" + } + }, + "estree-util-build-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/estree-util-build-jsx/-/estree-util-build-jsx-3.0.1.tgz", + "integrity": "sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "estree-walker": "^3.0.0" + } + }, + "estree-util-is-identifier-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz", + "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==", + "dev": true + }, + "estree-util-scope": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/estree-util-scope/-/estree-util-scope-1.0.0.tgz", + "integrity": "sha512-2CAASclonf+JFWBNJPndcOpA8EMJwa0Q8LUFJEKqXLW6+qBvbFZuF5gItbQOs/umBUkjviCSDCbBwU2cXbmrhQ==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0" + } + }, + "estree-util-to-js": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-to-js/-/estree-util-to-js-2.0.0.tgz", + "integrity": "sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "astring": "^1.8.0", + "source-map": "^0.7.0" + }, + "dependencies": { + "source-map": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", + "dev": true + } + } + }, + "estree-util-visit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/estree-util-visit/-/estree-util-visit-2.0.0.tgz", + "integrity": "sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/unist": "^3.0.0" + } + }, + "estree-walker": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz", + "integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0" + } + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==" + }, + "event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" + }, + "eventemitter3": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", + "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", + "dev": true + }, + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==" + }, + "eventsource": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-3.0.5.tgz", + "integrity": "sha512-LT/5J605bx5SNyE+ITBDiM3FxffBiq9un7Vx0EwMDM3vg8sWKx/tO2zC+LMqZ+smAM0F2hblaDZUVZF0te2pSw==", + "requires": { + "eventsource-parser": "^3.0.0" + } + }, + "eventsource-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eventsource-parser/-/eventsource-parser-3.0.0.tgz", + "integrity": "sha512-T1C0XCUimhxVQzW4zFipdx0SficT651NnkR0ZSH3yQwh+mFMdLfgjABVi4YtMTtaL4s168593DaoaRLMqryavA==" + }, + "exceljs": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/exceljs/-/exceljs-4.4.0.tgz", + "integrity": "sha512-XctvKaEMaj1Ii9oDOqbW/6e1gXknSY4g/aLCDicOXqBE4M0nRWkUu0PTp++UPNzoFY12BNHMfs/VadKIS6llvg==", + "requires": { + "archiver": "^5.0.0", + "dayjs": "^1.8.34", + "fast-csv": "^4.3.1", + "jszip": "^3.10.1", + "readable-stream": "^3.6.0", + "saxes": "^5.0.1", + "tmp": "^0.2.0", + "unzipper": "^0.10.11", + "uuid": "^8.3.0" + }, + "dependencies": { + "archiver": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/archiver/-/archiver-5.3.2.tgz", + "integrity": "sha512-+25nxyyznAXF7Nef3y0EbBeqmGZgeN/BxHX29Rs39djAfaFalmQ89SE6CWyDCHzGL0yt/ycBtNOmGTW0FyGWNw==", + "requires": { + "archiver-utils": "^2.1.0", + "async": "^3.2.4", + "buffer-crc32": "^0.2.1", + "readable-stream": "^3.6.0", + "readdir-glob": "^1.1.2", + "tar-stream": "^2.2.0", + "zip-stream": "^4.1.0" + } + }, + "archiver-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-2.1.0.tgz", + "integrity": "sha512-bEL/yUb/fNNiNTuUz979Z0Yg5L+LzLxGJz8x79lYmR54fmTIb6ob/hNQgkQnIUDWIFjZVQwl9Xs356I6BAMHfw==", + "requires": { + "glob": "^7.1.4", + "graceful-fs": "^4.2.0", + "lazystream": "^1.0.0", + "lodash.defaults": "^4.2.0", + "lodash.difference": "^4.5.0", + "lodash.flatten": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.union": "^4.6.0", + "normalize-path": "^3.0.0", + "readable-stream": "^2.0.0" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + } + } + }, + "bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "compress-commons": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-4.1.2.tgz", + "integrity": "sha512-D3uMHtGc/fcO1Gt1/L7i1e33VOvD4A9hfQLP+6ewd+BvG/gQ84Yh4oftEhAdjSMgBgwGL+jsppT7JYNpo6MHHg==", + "requires": { + "buffer-crc32": "^0.2.13", + "crc32-stream": "^4.0.2", + "normalize-path": "^3.0.0", + "readable-stream": "^3.6.0" + } + }, + "crc32-stream": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-4.0.3.tgz", + "integrity": "sha512-NT7w2JVU7DFroFdYkeq8cywxrgjPHWkdX1wjpRQXPX5Asews3tA+Ght6lddQO5Mkumffp3X7GEqku3epj2toIw==", + "requires": { + "crc-32": "^1.2.0", + "readable-stream": "^3.4.0" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "requires": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + } + }, + "tmp": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==" + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "zip-stream": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-4.1.1.tgz", + "integrity": "sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==", + "requires": { + "archiver-utils": "^3.0.4", + "compress-commons": "^4.1.2", + "readable-stream": "^3.6.0" + }, + "dependencies": { + "archiver-utils": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-3.0.4.tgz", + "integrity": "sha512-KVgf4XQVrTjhyWmx6cte4RxonPLR9onExufI1jhvw/MQ4BB6IsZD5gT8Lq+u/+pRkWna/6JoHpiQioaqFP5Rzw==", + "requires": { + "glob": "^7.2.3", + "graceful-fs": "^4.2.0", + "lazystream": "^1.0.0", + "lodash.defaults": "^4.2.0", + "lodash.difference": "^4.5.0", + "lodash.flatten": "^4.4.0", + "lodash.isplainobject": "^4.0.6", + "lodash.union": "^4.6.0", + "normalize-path": "^3.0.0", + "readable-stream": "^3.6.0" + } + } + } + } + } + }, + "execa": { + "version": "9.5.2", + "resolved": "https://registry.npmjs.org/execa/-/execa-9.5.2.tgz", + "integrity": "sha512-EHlpxMCpHWSAh1dgS6bVeoLAXGnJNdR93aabr4QCGbzOM73o5XmRfM/e5FUqsw3aagP8S8XEWUWFAxnRBnAF0Q==", + "requires": { + "@sindresorhus/merge-streams": "^4.0.0", + "cross-spawn": "^7.0.3", + "figures": "^6.1.0", + "get-stream": "^9.0.0", + "human-signals": "^8.0.0", + "is-plain-obj": "^4.1.0", + "is-stream": "^4.0.1", + "npm-run-path": "^6.0.0", + "pretty-ms": "^9.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^4.0.0", + "yoctocolors": "^2.0.0" + }, + "dependencies": { + "get-stream": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-9.0.1.tgz", + "integrity": "sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==", + "requires": { + "@sec-ant/readable-stream": "^0.4.1", + "is-stream": "^4.0.1" + } + }, + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==" + }, + "is-stream": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-4.0.1.tgz", + "integrity": "sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==" + }, + "npm-run-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", + "integrity": "sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==", + "requires": { + "path-key": "^4.0.0", + "unicorn-magic": "^0.3.0" + } + }, + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==" + }, + "unicorn-magic": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", + "integrity": "sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==" + } + } + }, + "express": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/express/-/express-5.0.1.tgz", + "integrity": "sha512-ORF7g6qGnD+YtUG9yx4DFoqCShNMmUKiXuT5oWMHiOvt/4WFbHC6yCwQMTSBMno7AqntNCAzzcnnjowRkTL9eQ==", + "requires": { + "accepts": "^2.0.0", + "body-parser": "^2.0.1", + "content-disposition": "^1.0.0", + "content-type": "~1.0.4", + "cookie": "0.7.1", + "cookie-signature": "^1.2.1", + "debug": "4.3.6", + "depd": "2.0.0", + "encodeurl": "~2.0.0", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "^2.0.0", + "fresh": "2.0.0", + "http-errors": "2.0.0", + "merge-descriptors": "^2.0.0", + "methods": "~1.1.2", + "mime-types": "^3.0.0", + "on-finished": "2.4.1", + "once": "1.4.0", + "parseurl": "~1.3.3", + "proxy-addr": "~2.0.7", + "qs": "6.13.0", + "range-parser": "~1.2.1", + "router": "^2.0.0", + "safe-buffer": "5.2.1", + "send": "^1.1.0", + "serve-static": "^2.1.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "^2.0.0", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "dependencies": { + "debug": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "requires": { + "ms": "2.1.2" + } + }, + "mime-db": { + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.53.0.tgz", + "integrity": "sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==" + }, + "mime-types": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.0.tgz", + "integrity": "sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w==", + "requires": { + "mime-db": "^1.53.0" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, + "express-rate-limit": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/express-rate-limit/-/express-rate-limit-7.5.0.tgz", + "integrity": "sha512-eB5zbQh5h+VenMPM3fh+nw1YExi5nMr6HUCR62ELSP11huvxm/Uir1H1QEyTkk5QX6A58pX6NmaTMceKZ0Eodg==", + "requires": {} + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "extendable-error": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/extendable-error/-/extendable-error-0.1.7.tgz", + "integrity": "sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==", + "dev": true + }, + "external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "dependencies": { + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + } + } + }, + "extract-zip": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz", + "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==", + "requires": { + "@types/yauzl": "^2.9.1", + "debug": "^4.1.1", + "get-stream": "^5.1.0", + "yauzl": "^2.10.0" + } + }, + "fast-csv": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/fast-csv/-/fast-csv-4.3.6.tgz", + "integrity": "sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==", + "requires": { + "@fast-csv/format": "4.3.5", + "@fast-csv/parse": "4.3.6" + } + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-fifo": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", + "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==" + }, + "fast-glob": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", + "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "fast-memoize": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/fast-memoize/-/fast-memoize-2.5.2.tgz", + "integrity": "sha512-Ue0LwpDYErFbmNnZSF0UH6eImUwDmogUO1jyE+JbN2gsQz/jICm1Ve7t9QT0rNSsfJt+Hs4/S3GnsDVjL4HVrw==", + "dev": true + }, + "fast-uri": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", + "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", + "dev": true + }, + "fast-xml-parser": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz", + "integrity": "sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw==", + "requires": { + "strnum": "^1.0.5" + } + }, + "fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "requires": { + "reusify": "^1.0.4" + } + }, + "fault": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fault/-/fault-2.0.1.tgz", + "integrity": "sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==", + "dev": true, + "requires": { + "format": "^0.2.0" + } + }, + "favicons": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/favicons/-/favicons-7.2.0.tgz", + "integrity": "sha512-k/2rVBRIRzOeom3wI9jBPaSEvoTSQEW4iM0EveBmBBKFxO8mSyyRWtDlfC3VnEfu0avmjrMzy8/ZFPSe6F71Hw==", + "dev": true, + "requires": { + "escape-html": "^1.0.3", + "sharp": "^0.33.1", + "xml2js": "^0.6.1" + } + }, + "faye-websocket": { + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.4.tgz", + "integrity": "sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==", + "requires": { + "websocket-driver": ">=0.5.1" + } + }, + "fd-slicer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", + "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", + "requires": { + "pend": "~1.2.0" + } + }, + "figures": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-6.1.0.tgz", + "integrity": "sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==", + "requires": { + "is-unicode-supported": "^2.0.0" + }, + "dependencies": { + "is-unicode-supported": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-2.1.0.tgz", + "integrity": "sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==" + } + } + }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, + "fill-keys": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/fill-keys/-/fill-keys-1.0.2.tgz", + "integrity": "sha512-tcgI872xXjwFF4xgQmLxi76GnwJG3g/3isB1l4/G5Z4zrbddGpBjqZCO9oEAcB5wX0Hj/5iQB3toxfO7in1hHA==", + "dev": true, + "requires": { + "is-object": "~1.0.1", + "merge-descriptors": "~1.0.0" + }, + "dependencies": { + "merge-descriptors": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "dev": true + } + } + }, + "fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "finalhandler": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-2.1.0.tgz", + "integrity": "sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==", + "requires": { + "debug": "^4.4.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "on-finished": "^2.4.1", + "parseurl": "^1.3.3", + "statuses": "^2.0.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "firebase": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/firebase/-/firebase-11.2.0.tgz", + "integrity": "sha512-ztwPhBLAZMVNZjBeQzzTM4rk2rsRXmdFYcnvjAXh+StbiFVshHKaPO9VRGMUzF48du4Mkz6jN1wkmYCuUJPxLA==", + "requires": { + "@firebase/analytics": "0.10.11", + "@firebase/analytics-compat": "0.2.17", + "@firebase/app": "0.10.18", + "@firebase/app-check": "0.8.11", + "@firebase/app-check-compat": "0.3.18", + "@firebase/app-compat": "0.2.48", + "@firebase/app-types": "0.9.3", + "@firebase/auth": "1.8.2", + "@firebase/auth-compat": "0.5.17", + "@firebase/data-connect": "0.2.0", + "@firebase/database": "1.0.11", + "@firebase/database-compat": "2.0.2", + "@firebase/firestore": "4.7.6", + "@firebase/firestore-compat": "0.3.41", + "@firebase/functions": "0.12.1", + "@firebase/functions-compat": "0.3.18", + "@firebase/installations": "0.6.12", + "@firebase/installations-compat": "0.2.12", + "@firebase/messaging": "0.12.16", + "@firebase/messaging-compat": "0.2.16", + "@firebase/performance": "0.6.12", + "@firebase/performance-compat": "0.2.12", + "@firebase/remote-config": "0.5.0", + "@firebase/remote-config-compat": "0.2.12", + "@firebase/storage": "0.13.5", + "@firebase/storage-compat": "0.3.15", + "@firebase/util": "1.10.3", + "@firebase/vertexai": "1.0.3" + } + }, + "flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true + }, + "flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "requires": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } + } + }, + "flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "dev": true + }, + "follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==" + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, + "requires": { + "is-callable": "^1.1.3" + } + }, + "foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "requires": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + } + }, + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + }, + "form-data-encoder": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-1.7.2.tgz", + "integrity": "sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==" + }, + "format": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/format/-/format-0.2.2.tgz", + "integrity": "sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==", + "dev": true + }, + "formdata-node": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/formdata-node/-/formdata-node-4.4.1.tgz", + "integrity": "sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==", + "requires": { + "node-domexception": "1.0.0", + "web-streams-polyfill": "4.0.0-beta.3" + }, + "dependencies": { + "web-streams-polyfill": { + "version": "4.0.0-beta.3", + "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-4.0.0-beta.3.tgz", + "integrity": "sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==" + } + } + }, + "forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" + }, + "fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-2.0.0.tgz", + "integrity": "sha512-Rx/WycZ60HOaqLKAi6cHRKKI7zxWbJ31MhntmtwMoaTeF7XFH9hhBp8vITaMidfljRQ6eYWCKkaTK+ykVJHP2A==" + }, + "fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==" + }, + "fs-extra": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", + "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "requires": { + "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "optional": true + }, + "fstream": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", + "requires": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "requires": { + "minimist": "^1.2.6" + } + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } + } + } + }, + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + }, + "function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + } + }, + "functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "dev": true + }, + "fzf": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fzf/-/fzf-0.5.2.tgz", + "integrity": "sha512-Tt4kuxLXFKHy8KT40zwsUPUkg1CrsgY25FxA2U/j/0WgEDCk3ddc/zLTCCcbSHX9FcKtLuVaDGtGE/STWC+j3Q==" + }, + "gauge": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-5.0.2.tgz", + "integrity": "sha512-pMaFftXPtiGIHCJHdcUUx9Rby/rFT/Kkt3fIIGCs+9PMDIljSyRiqraTlxNtBReJRDfUefpa263RQ3vnp5G/LQ==", + "requires": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^4.0.1", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "gaxios": { + "version": "6.7.1", + "resolved": "https://registry.npmjs.org/gaxios/-/gaxios-6.7.1.tgz", + "integrity": "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ==", + "requires": { + "extend": "^3.0.2", + "https-proxy-agent": "^7.0.1", + "is-stream": "^2.0.0", + "node-fetch": "^2.6.9", + "uuid": "^9.0.1" + } + }, + "gcd": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/gcd/-/gcd-0.0.1.tgz", + "integrity": "sha512-VNx3UEGr+ILJTiMs1+xc5SX1cMgJCrXezKPa003APUWNqQqaF6n25W8VcR7nHN6yRWbvvUTwCpZCFJeWC2kXlw==", + "dev": true + }, + "gcp-metadata": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/gcp-metadata/-/gcp-metadata-6.1.0.tgz", + "integrity": "sha512-Jh/AIwwgaxan+7ZUUmRLCjtchyDiqh4KjBJ5tW3plBZb5iL/BPcso8A5DlzeD9qlw0duCamnNdpFjxwaT0KyKg==", + "requires": { + "gaxios": "^6.0.0", + "json-bigint": "^1.0.0" + } + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" + }, + "get-east-asian-width": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.3.0.tgz", + "integrity": "sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==", + "dev": true + }, + "get-folder-size": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/get-folder-size/-/get-folder-size-5.0.0.tgz", + "integrity": "sha512-+fgtvbL83tSDypEK+T411GDBQVQtxv+qtQgbV+HVa/TYubqDhNd5ghH/D6cOHY9iC5/88GtOZB7WI8PXy2A3bg==" + }, + "get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true + }, + "get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "requires": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + } + }, + "get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "requires": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + } + }, + "get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "requires": { + "pump": "^3.0.0" + } + }, + "get-symbol-description": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + } + }, + "get-uri": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz", + "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==", + "requires": { + "basic-ftp": "^5.0.2", + "data-uri-to-buffer": "^6.0.2", + "debug": "^4.3.4", + "fs-extra": "^11.2.0" + }, + "dependencies": { + "fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + } + }, + "jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "requires": { + "graceful-fs": "^4.1.6", + "universalify": "^2.0.0" + } + }, + "universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==" + } + } + }, + "glob": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", + "requires": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "requires": { + "is-glob": "^4.0.1" + } + }, + "globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "globalthis": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", + "integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==", + "dev": true, + "requires": { + "define-properties": "^1.2.1", + "gopd": "^1.0.1" + } + }, + "globby": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-14.0.2.tgz", + "integrity": "sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==", + "requires": { + "@sindresorhus/merge-streams": "^2.1.0", + "fast-glob": "^3.3.2", + "ignore": "^5.2.4", + "path-type": "^5.0.0", + "slash": "^5.1.0", + "unicorn-magic": "^0.1.0" + }, + "dependencies": { + "@sindresorhus/merge-streams": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@sindresorhus/merge-streams/-/merge-streams-2.3.0.tgz", + "integrity": "sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==" + }, + "ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==" + } + } + }, + "google-auth-library": { + "version": "9.15.1", + "resolved": "https://registry.npmjs.org/google-auth-library/-/google-auth-library-9.15.1.tgz", + "integrity": "sha512-Jb6Z0+nvECVz+2lzSMt9u98UsoakXxA2HGHMCxh+so3n90XgYWkq5dur19JAJV7ONiJY22yBTyJB1TSkvPq9Ng==", + "requires": { + "base64-js": "^1.3.0", + "ecdsa-sig-formatter": "^1.0.11", + "gaxios": "^6.1.1", + "gcp-metadata": "^6.1.0", + "gtoken": "^7.0.0", + "jws": "^4.0.0" + } + }, + "gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==" + }, + "got": { + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/got/-/got-13.0.0.tgz", + "integrity": "sha512-XfBk1CxOOScDcMr9O1yKkNaQyy865NbYs+F7dr4H0LZMVgCj2Le59k6PqbNHoL5ToeaEQUYh6c6yMfVcc6SJxA==", + "dev": true, + "requires": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + }, + "dependencies": { + "form-data-encoder": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", + "dev": true + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + } + } + }, + "graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==" + }, + "graphemer": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", + "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", + "dev": true + }, + "gray-matter": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz", + "integrity": "sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==", + "dev": true, + "requires": { + "js-yaml": "^3.13.1", + "kind-of": "^6.0.2", + "section-matter": "^1.0.0", + "strip-bom-string": "^1.0.0" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + } + } + }, + "grpc-health-check": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/grpc-health-check/-/grpc-health-check-2.0.2.tgz", + "integrity": "sha512-5XKOdg/gIlTsZZR+8QJjzmW2CHBnn+NfM8zevIpzg+96i9dAuoH+Guu/L/5vuUkSbVZG69wVPnLpEnW+Smon1A==", + "requires": { + "@grpc/proto-loader": "^0.7.13" + } + }, + "grpc-tools": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/grpc-tools/-/grpc-tools-1.13.0.tgz", + "integrity": "sha512-7CbkJ1yWPfX0nHjbYG58BQThNhbICXBZynzCUxCb3LzX5X9B3hQbRY2STiRgIEiLILlK9fgl0z0QVGwPCdXf5g==", + "dev": true, + "requires": { + "@mapbox/node-pre-gyp": "^1.0.5" + } + }, + "gtoken": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/gtoken/-/gtoken-7.1.0.tgz", + "integrity": "sha512-pCcEwRi+TKpMlxAQObHDQ56KawURgyAf6jtIY046fJ5tIv3zDe/LEIubckAO8fj6JnAxLdmWkUfNyulQ2iKdEw==", + "requires": { + "gaxios": "^6.0.0", + "jws": "^4.0.0" + } + }, + "has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dev": true, + "requires": { + "es-define-property": "^1.0.0" + } + }, + "has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "dev": true + }, + "has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==" + }, + "has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "requires": { + "has-symbols": "^1.0.3" + } + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==" + }, + "hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "requires": { + "function-bind": "^1.1.2" + } + }, + "hast-util-embedded": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-embedded/-/hast-util-embedded-3.0.0.tgz", + "integrity": "sha512-naH8sld4Pe2ep03qqULEtvYr7EjrLK2QHY8KJR6RJkTUjPGObe1vnx585uzem2hGra+s1q08DZZpfgDVYRbaXA==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hast-util-is-element": "^3.0.0" + } + }, + "hast-util-from-dom": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", + "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hastscript": "^9.0.0", + "web-namespaces": "^2.0.0" + } + }, + "hast-util-from-html": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", + "integrity": "sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "devlop": "^1.1.0", + "hast-util-from-parse5": "^8.0.0", + "parse5": "^7.0.0", + "vfile": "^6.0.0", + "vfile-message": "^4.0.0" + } + }, + "hast-util-from-html-isomorphic": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", + "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hast-util-from-dom": "^5.0.0", + "hast-util-from-html": "^2.0.0", + "unist-util-remove-position": "^5.0.0" + } + }, + "hast-util-from-parse5": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz", + "integrity": "sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^9.0.0", + "property-information": "^7.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + } + }, + "hast-util-has-property": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-has-property/-/hast-util-has-property-3.0.0.tgz", + "integrity": "sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-is-body-ok-link": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-3.0.1.tgz", + "integrity": "sha512-0qpnzOBLztXHbHQenVB8uNuxTnm/QBFUOmdOSsEn7GnBtyY07+ENTWVFBAnXd/zEgd9/SUG3lRY7hSIBWRgGpQ==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-is-element": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz", + "integrity": "sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-minify-whitespace": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hast-util-minify-whitespace/-/hast-util-minify-whitespace-1.0.1.tgz", + "integrity": "sha512-L96fPOVpnclQE0xzdWb/D12VT5FabA7SnZOUMtL1DbXmYiHJMXZvFkIZfiMmTCNJHUeO2K9UYNXoVyfz+QHuOw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hast-util-embedded": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "hast-util-parse-selector": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz", + "integrity": "sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-phrasing": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-phrasing/-/hast-util-phrasing-3.0.1.tgz", + "integrity": "sha512-6h60VfI3uBQUxHqTyMymMZnEbNl1XmEGtOxxKYL7stY2o601COo62AWAYBQR9lZbYXYSBoxag8UpPRXK+9fqSQ==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hast-util-embedded": "^3.0.0", + "hast-util-has-property": "^3.0.0", + "hast-util-is-body-ok-link": "^3.0.0", + "hast-util-is-element": "^3.0.0" + } + }, + "hast-util-to-estree": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/hast-util-to-estree/-/hast-util-to-estree-3.1.3.tgz", + "integrity": "sha512-48+B/rJWAp0jamNbAAf9M7Uf//UVqAoMmgXhBdxTDJLGKY+LRnZ99qcG+Qjl5HfMpYNzS5v4EAwVEF34LeAj7w==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-attach-comments": "^3.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-js": "^1.0.0", + "unist-util-position": "^5.0.0", + "zwitch": "^2.0.0" + } + }, + "hast-util-to-html": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz", + "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-whitespace": "^3.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + } + }, + "hast-util-to-jsx-runtime": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz", + "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0", + "style-to-js": "^1.0.0", + "unist-util-position": "^5.0.0", + "vfile-message": "^4.0.0" + } + }, + "hast-util-to-mdast": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/hast-util-to-mdast/-/hast-util-to-mdast-10.1.2.tgz", + "integrity": "sha512-FiCRI7NmOvM4y+f5w32jPRzcxDIz+PUqDwEqn1A+1q2cdp3B8Gx7aVrXORdOKjMNDQsD1ogOr896+0jJHW1EFQ==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-phrasing": "^3.0.0", + "hast-util-to-html": "^9.0.0", + "hast-util-to-text": "^4.0.0", + "hast-util-whitespace": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "mdast-util-to-string": "^4.0.0", + "rehype-minify-whitespace": "^6.0.0", + "trim-trailing-lines": "^2.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0" + } + }, + "hast-util-to-string": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.1.tgz", + "integrity": "sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hast-util-to-text": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.2.tgz", + "integrity": "sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "hast-util-is-element": "^3.0.0", + "unist-util-find-after": "^5.0.0" + } + }, + "hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0" + } + }, + "hastscript": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-9.0.1.tgz", + "integrity": "sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^4.0.0", + "property-information": "^7.0.0", + "space-separated-tokens": "^2.0.0" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "hexer": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/hexer/-/hexer-1.5.0.tgz", + "integrity": "sha512-dyrPC8KzBzUJ19QTIo1gXNqIISRXQ0NwteW6OeQHRN4ZuZeHkdODfj0zHBdOlHbRY8GqbqK57C9oWSvQZizFsg==", + "requires": { + "ansi-color": "^0.2.1", + "minimist": "^1.1.0", + "process": "^0.10.0", + "xtend": "^4.0.0" + } + }, + "hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "html-void-elements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", + "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", + "dev": true + }, + "htmlparser2": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz", + "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==", + "requires": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.1.0", + "entities": "^4.5.0" + } + }, + "http-cache-semantics": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", + "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", + "dev": true + }, + "http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "requires": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + } + }, + "http-parser-js": { + "version": "0.5.9", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.9.tgz", + "integrity": "sha512-n1XsPy3rXVxlqxVioEWdC+0+M+SQw0DpJynwtOPo1X+ZlvdzTLtDBIJJlDQTnwZIFJrZSzSGmIOUdP8tu+SgLw==" + }, + "http-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz", + "integrity": "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==", + "requires": { + "agent-base": "^7.1.0", + "debug": "^4.3.4" + } + }, + "http2-wrapper": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-2.2.1.tgz", + "integrity": "sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==", + "dev": true, + "requires": { + "quick-lru": "^5.1.1", + "resolve-alpn": "^1.2.0" + } + }, + "https-proxy-agent": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz", + "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==", + "requires": { + "agent-base": "^7.0.2", + "debug": "4" + } + }, + "human-id": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/human-id/-/human-id-1.0.2.tgz", + "integrity": "sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==", + "dev": true + }, + "human-signals": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.0.tgz", + "integrity": "sha512-/1/GPCpDUCCYwlERiYjxoczfP0zfvZMU/OWgQPMya9AbAE24vseigFdhAMObpc8Q4lc/kjutPfUddDYyAmejnA==" + }, + "humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "requires": { + "ms": "^2.0.0" + } + }, + "husky": { + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", + "dev": true + }, + "iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + } + }, + "idb": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/idb/-/idb-7.1.1.tgz", + "integrity": "sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==" + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==" + }, + "ignore": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.3.tgz", + "integrity": "sha512-bAH5jbK/F3T3Jls4I0SO1hmPR0dKU0a7+SY6n1yzRtG54FLO8d6w/nxLFX2Nb7dBu6cCWXPaAME6cYqFUMmuCA==" + }, + "image-size": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-2.0.2.tgz", + "integrity": "sha512-IRqXKlaXwgSMAMtpNzZa1ZAe8m+Sa1770Dhk8VkSsP9LS+iHD62Zd8FQKs8fbPiagBE7BzoFX23cxFnwshpV6w==" + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==" + }, + "immer": { + "version": "9.0.21", + "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz", + "integrity": "sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==", + "dev": true + }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true + }, + "indent-string": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz", + "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "inline-style-parser": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.4.tgz", + "integrity": "sha512-0aO8FkhNZlj/ZIbNi7Lxxr12obT7cL1moPfE4tg1LkX7LlLfC6DeX4l2ZEud1ukP9jNQyNnfzQVqwbwmAATY4Q==", + "dev": true + }, + "inquirer": { + "version": "12.6.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-12.6.0.tgz", + "integrity": "sha512-3zmmccQd/8o65nPOZJZ+2wqt76Ghw3+LaMrmc6JE/IzcvQhJ1st+QLCOo/iLS85/tILU0myG31a2TAZX0ysAvg==", + "dev": true, + "requires": { + "@inquirer/core": "^10.1.10", + "@inquirer/prompts": "^7.5.0", + "@inquirer/type": "^3.0.6", + "ansi-escapes": "^4.3.2", + "mute-stream": "^2.0.0", + "run-async": "^3.0.0", + "rxjs": "^7.8.2" + } + }, + "internal-slot": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "dev": true, + "requires": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + } + }, + "ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "requires": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "dependencies": { + "sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==" + } + } + }, + "ip-regex": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", + "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", + "dev": true + }, + "ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==" + }, + "is-absolute-url": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-4.0.1.tgz", + "integrity": "sha512-/51/TKE88Lmm7Gc4/8btclNXWS+g50wXhYJq8HWIBAGUBnoAdRu1aXeh364t/O7wXDAcTJDP8PNuNKWUDWie+A==", + "dev": true + }, + "is-alphabetical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz", + "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==", + "dev": true + }, + "is-alphanumerical": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz", + "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==", + "dev": true, + "requires": { + "is-alphabetical": "^2.0.0", + "is-decimal": "^2.0.0" + } + }, + "is-array-buffer": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "requires": { + "has-bigints": "^1.0.1" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true + }, + "is-core-module": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "requires": { + "hasown": "^2.0.2" + } + }, + "is-data-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", + "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "dev": true, + "requires": { + "is-typed-array": "^1.1.13" + } + }, + "is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-decimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz", + "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==", + "dev": true + }, + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-hexadecimal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz", + "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==", + "dev": true + }, + "is-inside-container": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", + "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "requires": { + "is-docker": "^3.0.0" + }, + "dependencies": { + "is-docker": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", + "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==" + } + } + }, + "is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-2.0.0.tgz", + "integrity": "sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==", + "dev": true + }, + "is-ip": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz", + "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", + "dev": true, + "requires": { + "ip-regex": "^4.0.0" + } + }, + "is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-object/-/is-object-1.0.2.tgz", + "integrity": "sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==", + "dev": true + }, + "is-online": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/is-online/-/is-online-10.0.0.tgz", + "integrity": "sha512-WCPdKwNDjXJJmUubf2VHLMDBkUZEtuOvpXUfUnUFbEnM6In9ByiScL4f4jKACz/fsb2qDkesFerW3snf/AYz3A==", + "dev": true, + "requires": { + "got": "^12.1.0", + "p-any": "^4.0.0", + "p-timeout": "^5.1.0", + "public-ip": "^5.0.0" + }, + "dependencies": { + "form-data-encoder": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", + "dev": true + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "got": { + "version": "12.6.1", + "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", + "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", + "dev": true, + "requires": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + } + }, + "p-timeout": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-5.1.0.tgz", + "integrity": "sha512-auFDyzzzGZZZdHz3BtET9VEz0SE/uMEAx7uWfGPucfzEwwe/xH0iVeZibQmANYE/hp9T2+UUZT5m+BKyrDp3Ew==", + "dev": true + } + } + }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "requires": { + "isobject": "^3.0.1" + } + }, + "is-promise": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz", + "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ==" + }, + "is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-shared-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dev": true, + "requires": { + "call-bind": "^1.0.7" + } + }, + "is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==" + }, + "is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-subdir": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-subdir/-/is-subdir-1.2.0.tgz", + "integrity": "sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==", + "dev": true, + "requires": { + "better-path-resolve": "1.0.0" + } + }, + "is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "requires": { + "has-symbols": "^1.0.2" + } + }, + "is-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "dev": true, + "requires": { + "which-typed-array": "^1.1.14" + } + }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true + }, + "is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2" + } + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "requires": { + "is-docker": "^2.0.0" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "isbinaryfile": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-5.0.2.tgz", + "integrity": "sha512-GvcjojwonMjWbTkfMpnVHVqXW/wKMYDfEpY94/8zy8HFMOqb/VL6oeONq9v87q4ttVlaTLnGXnJD4B5B1OTGIg==" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==" + }, + "istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true + }, + "istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "requires": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "istanbul-reports": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", + "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", + "dev": true, + "requires": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + } + }, + "jackspeak": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", + "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", + "requires": { + "@isaacs/cliui": "^8.0.2", + "@pkgjs/parseargs": "^0.11.0" + } + }, + "jaeger-client": { + "version": "3.19.0", + "resolved": "https://registry.npmjs.org/jaeger-client/-/jaeger-client-3.19.0.tgz", + "integrity": "sha512-M0c7cKHmdyEUtjemnJyx/y9uX16XHocL46yQvyqDlPdvAcwPDbHrIbKjQdBqtiE4apQ/9dmr+ZLJYYPGnurgpw==", + "requires": { + "node-int64": "^0.4.0", + "opentracing": "^0.14.4", + "thriftrw": "^3.5.0", + "uuid": "^8.3.2", + "xorshift": "^1.1.1" + }, + "dependencies": { + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + } + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==" + }, + "jschardet": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/jschardet/-/jschardet-3.1.4.tgz", + "integrity": "sha512-/kmVISmrwVwtyYU40iQUOp3SUPk2dhNCMsZBQX0R1/jZ8maaXJ/oZIzUOiyOqcgtLnETFKYChbJ5iDC/eWmFHg==" + }, + "jsep": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", + "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", + "dev": true + }, + "json-bigint": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-bigint/-/json-bigint-1.0.0.tgz", + "integrity": "sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==", + "requires": { + "bignumber.js": "^9.0.0" + } + }, + "json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true + }, + "jsonc-parser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.1.tgz", + "integrity": "sha512-o6/yDBYccGvTz1+QFevz6l6OBZ2+fMVu2JZ9CIhzsYRX4mjaK5IyX9eldUdCmga16zlgQxyrj5pt9kzuj2C02w==", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsonpath-plus": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz", + "integrity": "sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==", + "dev": true, + "requires": { + "@jsep-plugin/assignment": "^1.3.0", + "@jsep-plugin/regex": "^1.0.4", + "jsep": "^1.4.0" + } + }, + "jsonpointer": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", + "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", + "dev": true + }, + "jszip": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.10.1.tgz", + "integrity": "sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==", + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "setimmediate": "^1.0.5" + } + }, + "just-extend": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-6.2.0.tgz", + "integrity": "sha512-cYofQu2Xpom82S6qD778jBDpwvvy39s1l/hrYij2u9AMdQcGRpaBu6kY4mVhuno5kJVi1DAz4aiphA2WI1/OAw==", + "dev": true + }, + "jwa": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-2.0.0.tgz", + "integrity": "sha512-jrZ2Qx916EA+fq9cEAeCROWPTfCwi1IVHqT2tapuqLEVVDKFDENFw1oL+MwrTvH6msKxsd1YTDVw6uKEcsrLEA==", + "requires": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "jws": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jws/-/jws-4.0.0.tgz", + "integrity": "sha512-KDncfTmOZoOMTFG4mBlG0qUIOlc03fmzH+ru6RgYVZhPkyiy/92Owlt/8UEN+a4TXR1FQetfIpJE8ApdvdVxTg==", + "requires": { + "jwa": "^2.0.0", + "safe-buffer": "^5.0.1" + } + }, + "katex": { + "version": "0.16.22", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.16.22.tgz", + "integrity": "sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==", + "dev": true, + "requires": { + "commander": "^8.3.0" + } + }, + "keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "requires": { + "json-buffer": "3.0.1" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" + }, + "lazystream": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz", + "integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==", + "requires": { + "readable-stream": "^2.0.5" + } + }, + "lcm": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/lcm/-/lcm-0.0.3.tgz", + "integrity": "sha512-TB+ZjoillV6B26Vspf9l2L/vKaRY/4ep3hahcyVkCGFgsTNRUQdc24bQeNFiZeoxH0vr5+7SfNRMQuPHv/1IrQ==", + "dev": true, + "requires": { + "gcd": "^0.0.1" + } + }, + "leven": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-4.0.0.tgz", + "integrity": "sha512-puehA3YKku3osqPlNuzGDUHq8WpwXupUg1V6NXdV38G+gr+gkBwFC8g1b/+YcIvp8gnqVIus+eJCH/eGsRmJNw==", + "dev": true + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "requires": { + "immediate": "~3.0.5" + } + }, + "lighthouse-logger": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/lighthouse-logger/-/lighthouse-logger-2.0.1.tgz", + "integrity": "sha512-ioBrW3s2i97noEmnXxmUq7cjIcVRjT5HBpAYy8zE11CxU9HqlWHHeRxfeN1tn8F7OEMVPIC9x1f8t3Z7US9ehQ==", + "requires": { + "debug": "^2.6.9", + "marky": "^1.2.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + } + } + }, + "lilconfig": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", + "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", + "dev": true + }, + "lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "lint-staged": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-16.1.0.tgz", + "integrity": "sha512-HkpQh69XHxgCjObjejBT3s2ILwNjFx8M3nw+tJ/ssBauDlIpkx2RpqWSi1fBgkXLSSXnbR3iEq1NkVtpvV+FLQ==", + "dev": true, + "requires": { + "chalk": "^5.4.1", + "commander": "^14.0.0", + "debug": "^4.4.1", + "lilconfig": "^3.1.3", + "listr2": "^8.3.3", + "micromatch": "^4.0.8", + "nano-spawn": "^1.0.2", + "pidtree": "^0.6.0", + "string-argv": "^0.3.2", + "yaml": "^2.8.0" + }, + "dependencies": { + "commander": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-14.0.0.tgz", + "integrity": "sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==", + "dev": true + }, + "pidtree": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.6.0.tgz", + "integrity": "sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==", + "dev": true + } + } + }, + "listenercount": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/listenercount/-/listenercount-1.0.1.tgz", + "integrity": "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==" + }, + "listr2": { + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.3.3.tgz", + "integrity": "sha512-LWzX2KsqcB1wqQ4AHgYb4RsDXauQiqhjLk+6hjbaeHG4zpjjVAB6wC/gz6X0l+Du1cN3pUB5ZlrvTbhGSNnUQQ==", + "dev": true, + "requires": { + "cli-truncate": "^4.0.0", + "colorette": "^2.0.20", + "eventemitter3": "^5.0.1", + "log-update": "^6.1.0", + "rfdc": "^1.4.1", + "wrap-ansi": "^9.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "dev": true + }, + "string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "requires": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + } + }, + "wrap-ansi": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "dev": true, + "requires": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + } + } + } + }, + "load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + }, + "lodash.defaults": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", + "integrity": "sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==" + }, + "lodash.difference": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.difference/-/lodash.difference-4.5.0.tgz", + "integrity": "sha512-dS2j+W26TQ7taQBGN8Lbbq04ssV3emRw4NY58WErlTO29pIqS0HmoT5aJ9+TUQ1N3G+JOZSji4eugsWwGp9yPA==" + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", + "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==" + }, + "lodash.flatten": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", + "integrity": "sha512-C5N2Z3DgnnKr0LOpv/hKCgKdb7ZZwafIrsesve6lmzvZIRZRGaZ/l6Q8+2W7NaT+ZwO3fFlSCzCzrDCFdJfZ4g==" + }, + "lodash.get": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", + "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==", + "dev": true + }, + "lodash.groupby": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.groupby/-/lodash.groupby-4.6.0.tgz", + "integrity": "sha512-5dcWxm23+VAoz+awKmBaiBvzox8+RqMgFhi7UvX9DHZr2HdxHXM/Wrf8cfKpsW37RNrvtPn6hSwNqurSILbmJw==" + }, + "lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" + }, + "lodash.isequal": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", + "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==" + }, + "lodash.isfunction": { + "version": "3.0.9", + "resolved": "https://registry.npmjs.org/lodash.isfunction/-/lodash.isfunction-3.0.9.tgz", + "integrity": "sha512-AirXNj15uRIMMPihnkInB4i3NHeb4iBtNg9WRWuK2o31S+ePwwNmDPaTL3o7dTJ+VXNZim7rFs4rxN4YU1oUJw==" + }, + "lodash.isnil": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/lodash.isnil/-/lodash.isnil-4.0.0.tgz", + "integrity": "sha512-up2Mzq3545mwVnMhTDMdfoG1OurpA/s5t88JmQX809eH3C8491iu2sfKhTfhQtKY78oPNhiaHJUpT/dUDAAtng==" + }, + "lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" + }, + "lodash.isundefined": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lodash.isundefined/-/lodash.isundefined-3.0.1.tgz", + "integrity": "sha512-MXB1is3s899/cD8jheYYE2V9qTHwKvt+npCwpD+1Sxm3Q3cECXCiYHjeHWXNwr6Q0SOBPrYUDxendrO6goVTEA==" + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "lodash.startcase": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.startcase/-/lodash.startcase-4.4.0.tgz", + "integrity": "sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==", + "dev": true + }, + "lodash.topath": { + "version": "4.5.2", + "resolved": "https://registry.npmjs.org/lodash.topath/-/lodash.topath-4.5.2.tgz", + "integrity": "sha512-1/W4dM+35DwvE/iEd1M9ekewOSTlpFekhw9mhAtrwjVqUr83/ilQiyAvmg4tVX7Unkcfl1KC+i9WdaT4B6aQcg==", + "dev": true + }, + "lodash.union": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz", + "integrity": "sha512-c4pB2CdGrGdjMKYLA+XiRDO7Y0PRQbm/Gzg8qMj+QH+pFVAoTp5sBpO0odL3FjoPCGjK96p6qsP+yQoiLoOBcw==" + }, + "lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" + }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "log-update": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.1.0.tgz", + "integrity": "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==", + "dev": true, + "requires": { + "ansi-escapes": "^7.0.0", + "cli-cursor": "^5.0.0", + "slice-ansi": "^7.1.0", + "strip-ansi": "^7.1.0", + "wrap-ansi": "^9.0.0" + }, + "dependencies": { + "ansi-escapes": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", + "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", + "dev": true, + "requires": { + "environment": "^1.0.0" + } + }, + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "cli-cursor": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", + "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", + "dev": true, + "requires": { + "restore-cursor": "^5.0.0" + } + }, + "emoji-regex": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", + "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", + "dev": true, + "requires": { + "get-east-asian-width": "^1.0.0" + } + }, + "onetime": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", + "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", + "dev": true, + "requires": { + "mimic-function": "^5.0.0" + } + }, + "restore-cursor": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", + "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", + "dev": true, + "requires": { + "onetime": "^7.0.0", + "signal-exit": "^4.1.0" + } + }, + "slice-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", + "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", + "dev": true, + "requires": { + "ansi-styles": "^6.2.1", + "is-fullwidth-code-point": "^5.0.0" + } + }, + "string-width": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", + "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", + "dev": true, + "requires": { + "emoji-regex": "^10.3.0", + "get-east-asian-width": "^1.0.0", + "strip-ansi": "^7.1.0" + } + }, + "wrap-ansi": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", + "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", + "dev": true, + "requires": { + "ansi-styles": "^6.2.1", + "string-width": "^7.0.0", + "strip-ansi": "^7.1.0" + } + } + } + }, + "long": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.4.tgz", + "integrity": "sha512-qtzLbJE8hq7VabR3mISmVGtoXP8KGc2Z/AT8OuqlYD7JTR3oqrgwdjnk07wpj1twXxYmgDXgoKVWUG/fReSzHg==" + }, + "longest-streak": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz", + "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==", + "dev": true + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "peer": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lop": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/lop/-/lop-0.4.1.tgz", + "integrity": "sha512-9xyho9why2A2tzm5aIcMWKvzqKsnxrf9B5I+8O30olh6lQU8PH978LqZoI4++37RBgS1Em5i54v1TFs/3wnmXQ==", + "requires": { + "duck": "^0.1.12", + "option": "~0.2.1", + "underscore": "^1.13.1" + } + }, + "loupe": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.7.tgz", + "integrity": "sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==", + "dev": true, + "requires": { + "get-func-name": "^2.0.1" + } + }, + "lowercase-keys": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-3.0.0.tgz", + "integrity": "sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==", + "dev": true + }, + "lru-cache": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", + "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==" + }, + "macos-release": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-3.2.0.tgz", + "integrity": "sha512-fSErXALFNsnowREYZ49XCdOHF8wOPWuFOGQrAhP7x5J/BqQv+B02cNsTykGpDgRVx43EKg++6ANmTaGTtW+hUA==" + }, + "make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "requires": { + "semver": "^7.5.3" + } + }, + "make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "mammoth": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/mammoth/-/mammoth-1.8.0.tgz", + "integrity": "sha512-pJNfxSk9IEGVpau+tsZFz22ofjUsl2mnA5eT8PjPs2n0BP+rhVte4Nez6FdgEuxv3IGI3afiV46ImKqTGDVlbA==", + "requires": { + "@xmldom/xmldom": "^0.8.6", + "argparse": "~1.0.3", + "base64-js": "^1.5.1", + "bluebird": "~3.4.0", + "dingbat-to-unicode": "^1.0.1", + "jszip": "^3.7.1", + "lop": "^0.4.1", + "path-is-absolute": "^1.0.0", + "underscore": "^1.13.1", + "xmlbuilder": "^10.0.0" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "requires": { + "sprintf-js": "~1.0.2" + } + } + } + }, + "markdown-extensions": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz", + "integrity": "sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==", + "dev": true + }, + "markdown-table": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz", + "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==", + "dev": true + }, + "marky": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/marky/-/marky-1.2.5.tgz", + "integrity": "sha512-q9JtQJKjpsVxCRVgQ+WapguSbKC3SQ5HEzFGPAJMStgh3QjCawp00UKv3MTTAArTmGmmPUvllHZoNbZ3gs0I+Q==" + }, + "math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==" + }, + "mdast": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast/-/mdast-3.0.0.tgz", + "integrity": "sha512-xySmf8g4fPKMeC07jXGz971EkLbWAJ83s4US2Tj9lEdnZ142UP5grN73H1Xd3HzrdbU5o9GYYP/y8F9ZSwLE9g==", + "dev": true + }, + "mdast-util-find-and-replace": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz", + "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "escape-string-regexp": "^5.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true + } + } + }, + "mdast-util-from-markdown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.2.tgz", + "integrity": "sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark": "^4.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "mdast-util-frontmatter": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-frontmatter/-/mdast-util-frontmatter-2.0.1.tgz", + "integrity": "sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "escape-string-regexp": "^5.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-extension-frontmatter": "^2.0.0" + }, + "dependencies": { + "escape-string-regexp": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", + "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "dev": true + } + } + }, + "mdast-util-gfm": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz", + "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==", + "dev": true, + "requires": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-gfm-autolink-literal": "^2.0.0", + "mdast-util-gfm-footnote": "^2.0.0", + "mdast-util-gfm-strikethrough": "^2.0.0", + "mdast-util-gfm-table": "^2.0.0", + "mdast-util-gfm-task-list-item": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-autolink-literal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz", + "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "ccount": "^2.0.0", + "devlop": "^1.0.0", + "mdast-util-find-and-replace": "^3.0.0", + "micromark-util-character": "^2.0.0" + } + }, + "mdast-util-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0" + } + }, + "mdast-util-gfm-strikethrough": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz", + "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-table": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz", + "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "markdown-table": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-gfm-task-list-item": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz", + "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-math": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", + "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "longest-streak": "^3.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.1.0", + "unist-util-remove-position": "^5.0.0" + } + }, + "mdast-util-mdx": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx/-/mdast-util-mdx-3.0.0.tgz", + "integrity": "sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==", + "dev": true, + "requires": { + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-mdx-expression": "^2.0.0", + "mdast-util-mdx-jsx": "^3.0.0", + "mdast-util-mdxjs-esm": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-mdx-expression": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz", + "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-mdx-jsx": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz", + "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "devlop": "^1.1.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0", + "parse-entities": "^4.0.0", + "stringify-entities": "^4.0.0", + "unist-util-stringify-position": "^4.0.0", + "vfile-message": "^4.0.0" + } + }, + "mdast-util-mdxjs-esm": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz", + "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==", + "dev": true, + "requires": { + "@types/estree-jsx": "^1.0.0", + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "devlop": "^1.0.0", + "mdast-util-from-markdown": "^2.0.0", + "mdast-util-to-markdown": "^2.0.0" + } + }, + "mdast-util-phrasing": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", + "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "unist-util-is": "^6.0.0" + } + }, + "mdast-util-to-hast": { + "version": "13.2.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.0.tgz", + "integrity": "sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "@ungap/structured-clone": "^1.0.0", + "devlop": "^1.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "trim-lines": "^3.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0" + } + }, + "mdast-util-to-markdown": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz", + "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "@types/unist": "^3.0.0", + "longest-streak": "^3.0.0", + "mdast-util-phrasing": "^4.0.0", + "mdast-util-to-string": "^4.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-decode-string": "^2.0.0", + "unist-util-visit": "^5.0.0", + "zwitch": "^2.0.0" + } + }, + "mdast-util-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz", + "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0" + } + }, + "media-typer": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-1.1.0.tgz", + "integrity": "sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==" + }, + "memorystream": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", + "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", + "dev": true + }, + "merge-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz", + "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==" + }, + "merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==" + }, + "micromark": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz", + "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==", + "dev": true, + "requires": { + "@types/debug": "^4.0.0", + "debug": "^4.0.0", + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-core-commonmark": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", + "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==", + "dev": true, + "requires": { + "decode-named-character-reference": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-destination": "^2.0.0", + "micromark-factory-label": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-factory-title": "^2.0.0", + "micromark-factory-whitespace": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-html-tag-name": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-subtokenize": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-frontmatter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-frontmatter/-/micromark-extension-frontmatter-2.0.0.tgz", + "integrity": "sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg==", + "dev": true, + "requires": { + "fault": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz", + "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==", + "dev": true, + "requires": { + "micromark-extension-gfm-autolink-literal": "^2.0.0", + "micromark-extension-gfm-footnote": "^2.0.0", + "micromark-extension-gfm-strikethrough": "^2.0.0", + "micromark-extension-gfm-table": "^2.0.0", + "micromark-extension-gfm-tagfilter": "^2.0.0", + "micromark-extension-gfm-task-list-item": "^2.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-autolink-literal": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz", + "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==", + "dev": true, + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-footnote": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz", + "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==", + "dev": true, + "requires": { + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-normalize-identifier": "^2.0.0", + "micromark-util-sanitize-uri": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-strikethrough": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz", + "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==", + "dev": true, + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-classify-character": "^2.0.0", + "micromark-util-resolve-all": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-table": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz", + "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==", + "dev": true, + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-tagfilter": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz", + "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==", + "dev": true, + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-gfm-task-list-item": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz", + "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==", + "dev": true, + "requires": { + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-math": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", + "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", + "dev": true, + "requires": { + "@types/katex": "^0.16.0", + "devlop": "^1.0.0", + "katex": "^0.16.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-mdx-expression": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-3.0.1.tgz", + "integrity": "sha512-dD/ADLJ1AeMvSAKBwO22zG22N4ybhe7kFIZ3LsDI0GlsNr2A3KYxb0LdC1u5rj4Nw+CHKY0RVdnHX8vj8ejm4Q==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-mdx-expression": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-mdx-jsx": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-3.0.2.tgz", + "integrity": "sha512-e5+q1DjMh62LZAJOnDraSSbDMvGJ8x3cbjygy2qFEi7HCeUT4BDKCvMozPozcD6WmOt6sVvYDNBKhFSz3kjOVQ==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "estree-util-is-identifier-name": "^3.0.0", + "micromark-factory-mdx-expression": "^2.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "micromark-extension-mdx-md": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-mdx-md/-/micromark-extension-mdx-md-2.0.0.tgz", + "integrity": "sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==", + "dev": true, + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-mdxjs": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-mdxjs/-/micromark-extension-mdxjs-3.0.0.tgz", + "integrity": "sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==", + "dev": true, + "requires": { + "acorn": "^8.0.0", + "acorn-jsx": "^5.0.0", + "micromark-extension-mdx-expression": "^3.0.0", + "micromark-extension-mdx-jsx": "^3.0.0", + "micromark-extension-mdx-md": "^2.0.0", + "micromark-extension-mdxjs-esm": "^3.0.0", + "micromark-util-combine-extensions": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-extension-mdxjs-esm": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-3.0.0.tgz", + "integrity": "sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "micromark-core-commonmark": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-position-from-estree": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "micromark-factory-destination": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", + "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", + "dev": true, + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-label": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", + "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", + "dev": true, + "requires": { + "devlop": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-mdx-expression": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-2.0.3.tgz", + "integrity": "sha512-kQnEtA3vzucU2BkrIa8/VaSAsP+EJ3CKOvhMuJgOEGg9KDC6OAY6nSnNDVRiVNRqj7Y4SlSzcStaH/5jge8JdQ==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "devlop": "^1.0.0", + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-events-to-acorn": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unist-util-position-from-estree": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "micromark-factory-space": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", + "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", + "dev": true, + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-title": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", + "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", + "dev": true, + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-factory-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", + "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", + "dev": true, + "requires": { + "micromark-factory-space": "^2.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-character": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", + "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==", + "dev": true, + "requires": { + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-chunked": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", + "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", + "dev": true, + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-classify-character": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", + "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==", + "dev": true, + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-combine-extensions": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", + "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", + "dev": true, + "requires": { + "micromark-util-chunked": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-decode-numeric-character-reference": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", + "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==", + "dev": true, + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-decode-string": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz", + "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==", + "dev": true, + "requires": { + "decode-named-character-reference": "^1.0.0", + "micromark-util-character": "^2.0.0", + "micromark-util-decode-numeric-character-reference": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-encode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz", + "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==", + "dev": true + }, + "micromark-util-events-to-acorn": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-2.0.3.tgz", + "integrity": "sha512-jmsiEIiZ1n7X1Rr5k8wVExBQCg5jy4UXVADItHmNk1zkwEVhBuIUKRu3fqv+hs4nxLISi2DQGlqIOGiFxgbfHg==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "estree-util-visit": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0", + "vfile-message": "^4.0.0" + } + }, + "micromark-util-html-tag-name": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", + "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", + "dev": true + }, + "micromark-util-normalize-identifier": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", + "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", + "dev": true, + "requires": { + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-resolve-all": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", + "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", + "dev": true, + "requires": { + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-sanitize-uri": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", + "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==", + "dev": true, + "requires": { + "micromark-util-character": "^2.0.0", + "micromark-util-encode": "^2.0.0", + "micromark-util-symbol": "^2.0.0" + } + }, + "micromark-util-subtokenize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", + "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", + "dev": true, + "requires": { + "devlop": "^1.0.0", + "micromark-util-chunked": "^2.0.0", + "micromark-util-symbol": "^2.0.0", + "micromark-util-types": "^2.0.0" + } + }, + "micromark-util-symbol": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", + "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==", + "dev": true + }, + "micromark-util-types": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz", + "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==", + "dev": true + }, + "micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "requires": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + } + }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, + "mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" + }, + "mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "requires": { + "mime-db": "1.52.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "mimic-function": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", + "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", + "dev": true + }, + "mimic-response": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz", + "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==", + "dev": true + }, + "minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==" + }, + "minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" + }, + "minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "requires": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + } + } + }, + "mintlify": { + "version": "4.0.515", + "resolved": "https://registry.npmjs.org/mintlify/-/mintlify-4.0.515.tgz", + "integrity": "sha512-+udgnC98x0Hmsl7+e2UKk+XdziPLj2HOyj3W9loAfkNI9Oh7V32+vctbI1UrElPJnbUYpSpamR1gd1sy9rGmHw==", + "dev": true, + "requires": { + "@mintlify/cli": "4.0.514" + } + }, + "mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==" + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + }, + "mocha": { + "version": "10.6.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.6.0.tgz", + "integrity": "sha512-hxjt4+EEB0SA0ZDygSS015t65lJw/I2yRCS3Ae+SJ5FrbzrXgfYwJr96f0OvIXdj7h4lv/vLCrH3rkiuizFSvw==", + "dev": true, + "requires": { + "ansi-colors": "^4.1.3", + "browser-stdout": "^1.3.1", + "chokidar": "^3.5.3", + "debug": "^4.3.5", + "diff": "^5.2.0", + "escape-string-regexp": "^4.0.0", + "find-up": "^5.0.0", + "glob": "^8.1.0", + "he": "^1.2.0", + "js-yaml": "^4.1.0", + "log-symbols": "^4.1.0", + "minimatch": "^5.1.6", + "ms": "^2.1.3", + "serialize-javascript": "^6.0.2", + "strip-json-comments": "^3.1.1", + "supports-color": "^8.1.1", + "workerpool": "^6.5.1", + "yargs": "^16.2.0", + "yargs-parser": "^20.2.9", + "yargs-unparser": "^2.0.0" + }, + "dependencies": { + "chokidar": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true + } + } + }, + "module-details-from-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/module-details-from-path/-/module-details-from-path-1.0.3.tgz", + "integrity": "sha512-ySViT69/76t8VhE1xXHK6Ch4NcDd26gx0MzKXLO+F7NOtnqH68d9zF94nT8ZWSxXh8ELOERsnJO/sWt1xZYw5A==" + }, + "module-not-found-error": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/module-not-found-error/-/module-not-found-error-1.0.1.tgz", + "integrity": "sha512-pEk4ECWQXV6z2zjhRZUongnLJNUeGQJ3w6OQ5ctGwD+i5o93qjRQUk2Rt6VdNeu3sEP0AB4LcfvdebpxBRVr4g==", + "dev": true + }, + "monaco-vscode-textmate-theme-converter": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/monaco-vscode-textmate-theme-converter/-/monaco-vscode-textmate-theme-converter-0.1.7.tgz", + "integrity": "sha512-ZMsq1RPWwOD3pvXD0n+9ddnhfzZoiUMwNIWPNUqYqEiQeH2HjyZ9KYOdt/pqe0kkN8WnYWLrxT9C/SrtIsAu2Q==", + "requires": { + "commander": "^8.1.0", + "fs-extra": "^7.0.1", + "tslib": "^2.3.0" + }, + "dependencies": { + "tslib": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + } + } + }, + "mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "dev": true + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "mute-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz", + "integrity": "sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==", + "dev": true + }, + "nano-spawn": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nano-spawn/-/nano-spawn-1.0.2.tgz", + "integrity": "sha512-21t+ozMQDAL/UGgQVBbZ/xXvNO10++ZPuTmKRO8k9V3AClVRht49ahtDjfY8l1q6nSHOrE5ASfthzH3ol6R/hg==", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "negotiator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-1.0.0.tgz", + "integrity": "sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==" + }, + "neotraverse": { + "version": "0.6.18", + "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-0.6.18.tgz", + "integrity": "sha512-Z4SmBUweYa09+o6pG+eASabEpP6QkQ70yHj351pQoEXIs8uHbaU2DWVmzBANKgflPa47A50PtB2+NgRpQvr7vA==", + "dev": true + }, + "netmask": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/netmask/-/netmask-2.0.2.tgz", + "integrity": "sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==" + }, + "next-mdx-remote-client": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/next-mdx-remote-client/-/next-mdx-remote-client-1.1.1.tgz", + "integrity": "sha512-cJnJGaRiHc1gn4aCzDmY9zmcCjEw+zMCpCYIy45Kjs8HzeQpdGcaO5GrgIcX/DFkuCVrrzc69wi2gGnExXbv/A==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.27.1", + "@mdx-js/mdx": "^3.1.0", + "@mdx-js/react": "^3.1.0", + "remark-mdx-remove-esm": "^1.1.0", + "serialize-error": "^12.0.0", + "vfile": "^6.0.3", + "vfile-matter": "^5.0.1" + }, + "dependencies": { + "serialize-error": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-12.0.0.tgz", + "integrity": "sha512-ZYkZLAvKTKQXWuh5XpBw7CdbSzagarX39WyZ2H07CDLC5/KfsRGlIXV8d4+tfqX1M7916mRqR1QfNHSij+c9Pw==", + "dev": true, + "requires": { + "type-fest": "^4.31.0" + } + }, + "type-fest": { + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.40.1.tgz", + "integrity": "sha512-9YvLNnORDpI+vghLU/Nf+zSv0kL47KbVJ1o3sKgoTefl6i+zebxbiDQWoe/oWWqPhIgQdRZRT1KA9sCPL810SA==", + "dev": true + } + } + }, + "nice-grpc": { + "version": "2.1.12", + "resolved": "https://registry.npmjs.org/nice-grpc/-/nice-grpc-2.1.12.tgz", + "integrity": "sha512-J1n4Wg+D3IhRhGQb+iqh2OpiM0GzTve/kf2lnlW4S+xczmIEd0aHUDV1OsJ5a3q8GSTqJf+s4Rgg1M8uJltarw==", + "requires": { + "@grpc/grpc-js": "^1.13.1", + "abort-controller-x": "^0.4.0", + "nice-grpc-common": "^2.0.2" + }, + "dependencies": { + "@grpc/grpc-js": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.13.4.tgz", + "integrity": "sha512-GsFaMXCkMqkKIvwCQjCrwH+GHbPKBjhwo/8ZuUkWHqbI73Kky9I+pQltrlT0+MWpedCoosda53lgjYfyEPgxBg==", + "requires": { + "@grpc/proto-loader": "^0.7.13", + "@js-sdsl/ordered-map": "^4.4.2" + } + } + } + }, + "nice-grpc-common": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/nice-grpc-common/-/nice-grpc-common-2.0.2.tgz", + "integrity": "sha512-7RNWbls5kAL1QVUOXvBsv1uO0wPQK3lHv+cY1gwkTzirnG1Nop4cBJZubpgziNbaVc/bl9QJcyvsf/NQxa3rjQ==", + "requires": { + "ts-error": "^1.0.6" + } + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "nimma": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/nimma/-/nimma-0.2.3.tgz", + "integrity": "sha512-1ZOI8J+1PKKGceo/5CT5GfQOG6H8I2BencSK06YarZ2wXwH37BSSUWldqJmMJYA5JfqDqffxDXynt6f11AyKcA==", + "dev": true, + "requires": { + "@jsep-plugin/regex": "^1.0.1", + "@jsep-plugin/ternary": "^1.0.2", + "astring": "^1.8.1", + "jsep": "^1.2.0", + "jsonpath-plus": "^6.0.1 || ^10.1.0", + "lodash.topath": "^4.5.2" + } + }, + "nise": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/nise/-/nise-6.1.1.tgz", + "integrity": "sha512-aMSAzLVY7LyeM60gvBS423nBmIPP+Wy7St7hsb+8/fc1HmeoHJfLO8CKse4u3BtOZvQLJghYPI2i/1WZrEj5/g==", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^13.0.1", + "@sinonjs/text-encoding": "^0.7.3", + "just-extend": "^6.2.0", + "path-to-regexp": "^8.1.0" + } + }, + "nlcst-to-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/nlcst-to-string/-/nlcst-to-string-4.0.0.tgz", + "integrity": "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==", + "dev": true, + "requires": { + "@types/nlcst": "^2.0.0" + } + }, + "node-domexception": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", + "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==" + }, + "node-ensure": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/node-ensure/-/node-ensure-0.0.0.tgz", + "integrity": "sha512-DRI60hzo2oKN1ma0ckc6nQWlHU69RH6xN0sjQTjMpChPfTYvKZdcQFfdYK2RWbJcKyUizSIy/l8OTGxMAM1QDw==" + }, + "node-fetch": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", + "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", + "requires": { + "whatwg-url": "^5.0.0" + } + }, + "node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==" + }, + "nopt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", + "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true + } + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==" + }, + "normalize-url": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", + "integrity": "sha512-IO9QvjUMWxPQQhs60oOu10CRkWCiZzSUkzbXGGV9pviYl1fXYcvkzQ5jV9z8Y6un8ARoVRl4EtC6v6jNqbaJ/w==", + "dev": true + }, + "npm-run-all": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", + "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", + "memorystream": "^0.3.1", + "minimatch": "^3.0.4", + "pidtree": "^0.3.0", + "read-pkg": "^3.0.0", + "shell-quote": "^1.6.1", + "string.prototype.padend": "^3.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "cross-spawn": { + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", + "dev": true + }, + "semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "npm-run-path": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.3.0.tgz", + "integrity": "sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ==", + "requires": { + "path-key": "^4.0.0" + }, + "dependencies": { + "path-key": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", + "integrity": "sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==" + } + } + }, + "npmlog": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-5.0.1.tgz", + "integrity": "sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==", + "dev": true, + "requires": { + "are-we-there-yet": "^2.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^3.0.0", + "set-blocking": "^2.0.0" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "gauge": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-3.0.2.tgz", + "integrity": "sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==", + "dev": true, + "requires": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.2", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.1", + "object-assign": "^4.1.1", + "signal-exit": "^3.0.0", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.2" + } + }, + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "requires": { + "boolbase": "^1.0.0" + } + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + }, + "object-inspect": { + "version": "1.13.4", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz", + "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==" + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + } + }, + "ollama": { + "version": "0.5.15", + "resolved": "https://registry.npmjs.org/ollama/-/ollama-0.5.15.tgz", + "integrity": "sha512-TSaZSJyP7MQJFjSmmNsoJiriwa3U+/UJRw6+M8aucs5dTsaWNZsBIGpDb5rXnW6nXxJBB/z79gZY8IaiIQgelQ==", + "requires": { + "whatwg-fetch": "^3.6.20" + } + }, + "on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "open": { + "version": "10.1.2", + "resolved": "https://registry.npmjs.org/open/-/open-10.1.2.tgz", + "integrity": "sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==", + "requires": { + "default-browser": "^5.2.1", + "define-lazy-prop": "^3.0.0", + "is-inside-container": "^1.0.0", + "is-wsl": "^3.1.0" + }, + "dependencies": { + "is-wsl": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", + "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "requires": { + "is-inside-container": "^1.0.0" + } + } + } + }, + "open-graph-scraper": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/open-graph-scraper/-/open-graph-scraper-6.9.0.tgz", + "integrity": "sha512-1KoV5v6GT0/MqlryrVGQROhEAD4u8wC3VjYOxsnhj3mWeGJ6N6nF/rbrcZREFr+kiYm9I5LMrzdK9t9hBMbL2Q==", + "requires": { + "chardet": "^2.0.0", + "cheerio": "^1.0.0-rc.12", + "iconv-lite": "^0.6.3", + "undici": "^6.21.0" + }, + "dependencies": { + "chardet": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-2.1.0.tgz", + "integrity": "sha512-bNFETTG/pM5ryzQ9Ad0lJOTa6HWD/YsScAR3EnCPZRPlQh77JocYktSHOUHelyhm8IARL+o4c4F1bP5KVOjiRA==" + } + } + }, + "openai": { + "version": "4.83.0", + "resolved": "https://registry.npmjs.org/openai/-/openai-4.83.0.tgz", + "integrity": "sha512-fmTsqud0uTtRKsPC7L8Lu55dkaTwYucqncDHzVvO64DKOpNTuiYwjbR/nVgpapXuYy8xSnhQQPUm+3jQaxICgw==", + "requires": { + "@types/node": "^18.11.18", + "@types/node-fetch": "^2.6.4", + "abort-controller": "^3.0.0", + "agentkeepalive": "^4.2.1", + "form-data-encoder": "1.7.2", + "formdata-node": "^4.3.2", + "node-fetch": "^2.6.7" + }, + "dependencies": { + "@types/node": { + "version": "18.19.43", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.43.tgz", + "integrity": "sha512-Mw/YlgXnyJdEwLoFv2dpuJaDFriX+Pc+0qOBJ57jC1H6cDxIj2xc5yUrdtArDVG0m+KV6622a4p2tenEqB3C/g==", + "requires": { + "undici-types": "~5.26.4" + } + } + } + }, + "openapi-types": { + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-12.1.3.tgz", + "integrity": "sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==", + "dev": true + }, + "opentracing": { + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/opentracing/-/opentracing-0.14.7.tgz", + "integrity": "sha512-vz9iS7MJ5+Bp1URw8Khvdyw1H/hGvzHWlKQ7eRrQojSCDL1/SrWfrY9QebLw97n2deyRtzHRC3MkQfVNUCo91Q==" + }, + "option": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/option/-/option-0.2.4.tgz", + "integrity": "sha512-pkEqbDyl8ou5cpq+VsnQbe/WlEy5qS7xPzMS1U55OCG9KPvwFD46zDbxQIj3egJSFc3D+XhYOPUzz49zQAVy7A==" + }, + "optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + } + }, + "ora": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-7.0.1.tgz", + "integrity": "sha512-0TUxTiFJWv+JnjWm4o9yvuskpEJLXTcng8MJuKd+SzAzp2o+OP3HWqNhB4OdJRt1Vsd9/mR0oyaEYlOnL7XIRw==", + "dev": true, + "requires": { + "chalk": "^5.3.0", + "cli-cursor": "^4.0.0", + "cli-spinners": "^2.9.0", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^1.3.0", + "log-symbols": "^5.1.0", + "stdin-discarder": "^0.1.0", + "string-width": "^6.1.0", + "strip-ansi": "^7.1.0" + }, + "dependencies": { + "emoji-regex": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", + "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", + "dev": true + }, + "is-unicode-supported": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", + "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "dev": true + }, + "log-symbols": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-5.1.0.tgz", + "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", + "dev": true, + "requires": { + "chalk": "^5.0.0", + "is-unicode-supported": "^1.1.0" + } + }, + "string-width": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-6.1.0.tgz", + "integrity": "sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==", + "dev": true, + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^10.2.1", + "strip-ansi": "^7.0.1" + } + } + } + }, + "os-name": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/os-name/-/os-name-6.0.0.tgz", + "integrity": "sha512-bv608E0UX86atYi2GMGjDe0vF/X1TJjemNS8oEW6z22YW1Rc3QykSYoGfkQbX0zZX9H0ZB6CQP/3GTf1I5hURg==", + "requires": { + "macos-release": "^3.2.0", + "windows-release": "^6.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true + }, + "outdent": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/outdent/-/outdent-0.5.0.tgz", + "integrity": "sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==", + "dev": true + }, + "p-any": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-any/-/p-any-4.0.0.tgz", + "integrity": "sha512-S/B50s+pAVe0wmEZHmBs/9yJXeZ5KhHzOsgKzt0hRdgkoR3DxW9ts46fcsWi/r3VnzsnkKS7q4uimze+zjdryw==", + "dev": true, + "requires": { + "p-cancelable": "^3.0.0", + "p-some": "^6.0.0" + } + }, + "p-cancelable": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-3.0.0.tgz", + "integrity": "sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw==", + "dev": true + }, + "p-filter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-filter/-/p-filter-2.1.0.tgz", + "integrity": "sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==", + "dev": true, + "requires": { + "p-map": "^2.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "dev": true + }, + "p-some": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/p-some/-/p-some-6.0.0.tgz", + "integrity": "sha512-CJbQCKdfSX3fIh8/QKgS+9rjm7OBNUTmwWswAFQAhc8j1NR1dsEDETUEuVUtQHZpV+J03LqWBEwvu0g1Yn+TYg==", + "dev": true, + "requires": { + "aggregate-error": "^4.0.0", + "p-cancelable": "^3.0.0" + } + }, + "p-timeout": { + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-6.1.4.tgz", + "integrity": "sha512-MyIV3ZA/PmyBN/ud8vV9XzwTrNtR4jFrObymZYnZqMmW0zA8Z17vnT0rBgFE/TlohB+YCHqXMgZzb3Csp49vqg==" + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "p-wait-for": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/p-wait-for/-/p-wait-for-5.0.2.tgz", + "integrity": "sha512-lwx6u1CotQYPVju77R+D0vFomni/AqRfqLmqQ8hekklqZ6gAY9rONh7lBQ0uxWMkC2AuX9b2DVAl8To0NyP1JA==", + "requires": { + "p-timeout": "^6.0.0" + } + }, + "pac-proxy-agent": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz", + "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==", + "requires": { + "@tootallnate/quickjs-emscripten": "^0.23.0", + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "get-uri": "^6.0.1", + "http-proxy-agent": "^7.0.0", + "https-proxy-agent": "^7.0.5", + "pac-resolver": "^7.0.1", + "socks-proxy-agent": "^8.0.4" + } + }, + "pac-resolver": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pac-resolver/-/pac-resolver-7.0.1.tgz", + "integrity": "sha512-5NPgf87AT2STgwa2ntRMr45jTKrYBGkVU36yT0ig/n/GMAa3oPqhZfIQ2kMEimReg0+t9kZViDVZ83qfVUlckg==", + "requires": { + "degenerator": "^5.0.0", + "netmask": "^2.0.2" + } + }, + "package-json-from-dist": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", + "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" + }, + "package-manager-detector": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-0.2.8.tgz", + "integrity": "sha512-ts9KSdroZisdvKMWVAVCXiKqnqNfXz4+IbrBG8/BWx/TR5le+jfenvoBuIZ6UWM9nz47W7AbD9qYfAwfWMIwzA==", + "dev": true + }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-entities": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz", + "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==", + "dev": true, + "requires": { + "@types/unist": "^2.0.0", + "character-entities-legacy": "^3.0.0", + "character-reference-invalid": "^2.0.0", + "decode-named-character-reference": "^1.0.0", + "is-alphanumerical": "^2.0.0", + "is-decimal": "^2.0.0", + "is-hexadecimal": "^2.0.0" + }, + "dependencies": { + "@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true + } + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "parse-latin": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse-latin/-/parse-latin-7.0.0.tgz", + "integrity": "sha512-mhHgobPPua5kZ98EF4HWiH167JWBfl4pvAIXXdbaVohtK7a6YBOy56kvhCqduqyo/f3yrHFWmqmiMg/BkBkYYQ==", + "dev": true, + "requires": { + "@types/nlcst": "^2.0.0", + "@types/unist": "^3.0.0", + "nlcst-to-string": "^4.0.0", + "unist-util-modify-children": "^4.0.0", + "unist-util-visit-children": "^3.0.0", + "vfile": "^6.0.0" + } + }, + "parse-ms": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-4.0.0.tgz", + "integrity": "sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==" + }, + "parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "requires": { + "entities": "^4.4.0" + } + }, + "parse5-htmlparser2-tree-adapter": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz", + "integrity": "sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==", + "requires": { + "domhandler": "^5.0.2", + "parse5": "^7.0.0" + } + }, + "parse5-parser-stream": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz", + "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==", + "requires": { + "parse5": "^7.0.0" + } + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==" + }, + "path-browserify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", + "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==" + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==" + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" + }, + "path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "requires": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + } + }, + "path-to-regexp": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-8.2.0.tgz", + "integrity": "sha512-TdrF7fW9Rphjq4RjrW0Kp2AW0Ahwu9sRGTkS6bvDi0SCwZlEZYmcfDbEsTz8RVk0EHIS/Vd1bv3JhG+1xZuAyQ==" + }, + "path-type": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-5.0.0.tgz", + "integrity": "sha512-5HviZNaZcfqP95rwpv+1HDgUamezbqdSYTyzjTvwtJSnIH+3vnbmWsItli8OFEndS984VT55M3jduxZbX351gg==" + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true + }, + "pdf-parse": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pdf-parse/-/pdf-parse-1.1.1.tgz", + "integrity": "sha512-v6ZJ/efsBpGrGGknjtq9J/oC8tZWq0KWL5vQrk2GlzLEQPUDB1ex+13Rmidl1neNN358Jn9EHZw5y07FFtaC7A==", + "requires": { + "debug": "^3.1.0", + "node-ensure": "^0.0.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "pend": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", + "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==" + }, + "picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==" + }, + "pidtree": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", + "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", + "dev": true + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true + }, + "pkce-challenge": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pkce-challenge/-/pkce-challenge-5.0.0.tgz", + "integrity": "sha512-ueGLflrrnvwB3xuo/uGob5pd5FN7l0MsLf0Z87o/UQmRtwjvfylfc9MurIxRAWywCYTgrvpXBcqjV4OfCYGCIQ==" + }, + "pony-cause": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-1.1.1.tgz", + "integrity": "sha512-PxkIc/2ZpLiEzQXu5YRDOUgBlfGYBY8156HY5ZcRAwwonMk5W/MrJP2LLkG/hF7GEQzaHo2aS7ho6ZLCOvf+6g==", + "dev": true + }, + "possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "dev": true + }, + "posthog-node": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/posthog-node/-/posthog-node-4.8.1.tgz", + "integrity": "sha512-ApMEC1+DbctP/88+VhaCl8SRKpIoReibMf7Mb3rxw3yMthr1rKaM4opbHdZJ0buLhwS5zX8B2ckqLjpwpSjRPg==", + "requires": { + "axios": "^1.7.4" + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "prettier": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "dev": true + }, + "pretty-ms": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-9.2.0.tgz", + "integrity": "sha512-4yf0QO/sllf/1zbZWYnvWw3NxCQwLXKzIj0G849LSufP15BXKM0rbD2Z3wVnkMfjdn/CB0Dpp444gYAACdsplg==", + "requires": { + "parse-ms": "^4.0.0" + } + }, + "process": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/process/-/process-0.10.1.tgz", + "integrity": "sha512-dyIett8dgGIZ/TXKUzeYExt7WA6ldDzys9vTDU/cCA9L17Ypme+KzS+NjQCjpn9xsvi/shbMC+yP/BcFMBz0NA==" + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" + }, + "property-information": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.0.0.tgz", + "integrity": "sha512-7D/qOz/+Y4X/rzSB6jKxKUsQnphO046ei8qxG59mtM3RG3DHgTK81HrxrmoDVINJb8NKT5ZsRbwHvQ6B68Iyhg==", + "dev": true + }, + "protobufjs": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", + "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", + "requires": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + } + }, + "protoc-gen-ts": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/protoc-gen-ts/-/protoc-gen-ts-0.8.7.tgz", + "integrity": "sha512-jr4VJey2J9LVYCV7EVyVe53g1VMw28cCmYJhBe5e3YX5wiyiDwgxWxeDf9oTqAe4P1bN/YGAkW2jhlH8LohwiQ==", + "dev": true + }, + "proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "requires": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + } + }, + "proxy-agent": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz", + "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==", + "requires": { + "agent-base": "^7.0.2", + "debug": "^4.3.4", + "http-proxy-agent": "^7.0.1", + "https-proxy-agent": "^7.0.3", + "lru-cache": "^7.14.1", + "pac-proxy-agent": "^7.0.1", + "proxy-from-env": "^1.1.0", + "socks-proxy-agent": "^8.0.2" + }, + "dependencies": { + "lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" + } + } + }, + "proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "proxyquire": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/proxyquire/-/proxyquire-2.1.3.tgz", + "integrity": "sha512-BQWfCqYM+QINd+yawJz23tbBM40VIGXOdDw3X344KcclI/gtBbdWF6SlQ4nK/bYhF9d27KYug9WzljHC6B9Ysg==", + "dev": true, + "requires": { + "fill-keys": "^1.0.2", + "module-not-found-error": "^1.0.1", + "resolve": "^1.11.1" + } + }, + "public-ip": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/public-ip/-/public-ip-5.0.0.tgz", + "integrity": "sha512-xaH3pZMni/R2BG7ZXXaWS9Wc9wFlhyDVJF47IJ+3ali0TGv+2PsckKxbmo+rnx3ZxiV2wblVhtdS3bohAP6GGw==", + "dev": true, + "requires": { + "dns-socket": "^4.2.2", + "got": "^12.0.0", + "is-ip": "^3.1.0" + }, + "dependencies": { + "form-data-encoder": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/form-data-encoder/-/form-data-encoder-2.1.4.tgz", + "integrity": "sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw==", + "dev": true + }, + "get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true + }, + "got": { + "version": "12.6.1", + "resolved": "https://registry.npmjs.org/got/-/got-12.6.1.tgz", + "integrity": "sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ==", + "dev": true, + "requires": { + "@sindresorhus/is": "^5.2.0", + "@szmarczak/http-timer": "^5.0.1", + "cacheable-lookup": "^7.0.0", + "cacheable-request": "^10.2.8", + "decompress-response": "^6.0.0", + "form-data-encoder": "^2.1.2", + "get-stream": "^6.0.1", + "http2-wrapper": "^2.1.10", + "lowercase-keys": "^3.0.0", + "p-cancelable": "^3.0.0", + "responselike": "^3.0.0" + } + } + } + }, + "pump": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true + }, + "puppeteer": { + "version": "22.15.0", + "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-22.15.0.tgz", + "integrity": "sha512-XjCY1SiSEi1T7iSYuxS82ft85kwDJUS7wj1Z0eGVXKdtr5g4xnVcbjwxhq5xBnpK/E7x1VZZoJDxpjAOasHT4Q==", + "dev": true, + "requires": { + "@puppeteer/browsers": "2.3.0", + "cosmiconfig": "^9.0.0", + "devtools-protocol": "0.0.1312386", + "puppeteer-core": "22.15.0" + }, + "dependencies": { + "@puppeteer/browsers": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.3.0.tgz", + "integrity": "sha512-ioXoq9gPxkss4MYhD+SFaU9p1IHFUX0ILAWFPyjGaBdjLsYAlZw6j1iLA0N/m12uVHLFDfSYNF7EQccjinIMDA==", + "dev": true, + "requires": { + "debug": "^4.3.5", + "extract-zip": "^2.0.1", + "progress": "^2.0.3", + "proxy-agent": "^6.4.0", + "semver": "^7.6.3", + "tar-fs": "^3.0.6", + "unbzip2-stream": "^1.4.3", + "yargs": "^17.7.2" + } + }, + "chromium-bidi": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.6.3.tgz", + "integrity": "sha512-qXlsCmpCZJAnoTYI83Iu6EdYQpMYdVkCfq08KDh2pmlVqK5t5IA9mGs4/LwCwp4fqisSOMXZxP3HIh8w8aRn0A==", + "dev": true, + "requires": { + "mitt": "3.0.1", + "urlpattern-polyfill": "10.0.0", + "zod": "3.23.8" + } + }, + "devtools-protocol": { + "version": "0.0.1312386", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1312386.tgz", + "integrity": "sha512-DPnhUXvmvKT2dFA/j7B+riVLUt9Q6RKJlcppojL5CoRywJJKLDYnRlw0gTFKfgDPHP5E04UoB71SxoJlVZy8FA==", + "dev": true + }, + "puppeteer-core": { + "version": "22.15.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.15.0.tgz", + "integrity": "sha512-cHArnywCiAAVXa3t4GGL2vttNxh7GqXtIYGym99egkNJ3oG//wL9LkvO4WE8W1TJe95t1F1ocu9X4xWaGsOKOA==", + "dev": true, + "requires": { + "@puppeteer/browsers": "2.3.0", + "chromium-bidi": "0.6.3", + "debug": "^4.3.6", + "devtools-protocol": "0.0.1312386", + "ws": "^8.18.0" + } + }, + "zod": { + "version": "3.23.8", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.23.8.tgz", + "integrity": "sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==", + "dev": true + } + } + }, + "puppeteer-chromium-resolver": { + "version": "23.0.0", + "resolved": "https://registry.npmjs.org/puppeteer-chromium-resolver/-/puppeteer-chromium-resolver-23.0.0.tgz", + "integrity": "sha512-PbSXK4ERPwp+eYm+SVY5vMWCxsdeJcddwz4avXvDx7kE9DLE+L86Xg027sypw2oan5yi6557brzVsbajcMmy2g==", + "requires": { + "@puppeteer/browsers": "^2.3.1", + "eight-colors": "^1.3.0", + "gauge": "^5.0.2", + "puppeteer-core": "^23.1.0" + } + }, + "puppeteer-core": { + "version": "23.4.0", + "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.4.0.tgz", + "integrity": "sha512-fqkIP5FOcb38jfBj/OcBz1wFaI9nk40uQKSORvnXws6wCbep2dg8yxZ3ddJxBIfQsxoiEOvnrykFinUScrB/ew==", + "requires": { + "@puppeteer/browsers": "2.4.0", + "chromium-bidi": "0.6.5", + "debug": "^4.3.7", + "devtools-protocol": "0.0.1342118", + "typed-query-selector": "^2.12.0", + "ws": "^8.18.0" + } + }, + "qs": { + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "requires": { + "side-channel": "^1.0.6" + } + }, + "queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, + "quick-lru": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", + "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==" + }, + "raw-body": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.0.tgz", + "integrity": "sha512-RmkhL8CAyCRPXCE28MMH0z2PNWQBNk2Q09ZdxM9IOOXwxwZbN+qbWaatPkdkWIKL2ZVDImrN/pK5HTRz2PcS4g==", + "requires": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.6.3", + "unpipe": "1.0.0" + } + }, + "react": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "dev": true, + "peer": true, + "requires": { + "loose-envify": "^1.1.0" + } + }, + "react-dom": { + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz", + "integrity": "sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==", + "dev": true, + "peer": true, + "requires": { + "loose-envify": "^1.1.0", + "scheduler": "^0.23.2" + } + }, + "read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", + "dev": true, + "requires": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "dependencies": { + "path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "requires": { + "pify": "^3.0.0" + } + } + } + }, + "read-yaml-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-yaml-file/-/read-yaml-file-1.1.0.tgz", + "integrity": "sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.5", + "js-yaml": "^3.6.1", + "pify": "^4.0.1", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + } + } + }, + "readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "readdir-glob": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/readdir-glob/-/readdir-glob-1.1.3.tgz", + "integrity": "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA==", + "requires": { + "minimatch": "^5.1.0" + }, + "dependencies": { + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "requires": { + "brace-expansion": "^2.0.1" + } + } + } + }, + "readdirp": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", + "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==" + }, + "recma-build-jsx": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-build-jsx/-/recma-build-jsx-1.0.0.tgz", + "integrity": "sha512-8GtdyqaBcDfva+GUKDr3nev3VpKAhup1+RvkMvUxURHpW7QyIvk9F5wz7Vzo06CEMSilw6uArgRqhpiUcWp8ew==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "estree-util-build-jsx": "^3.0.0", + "vfile": "^6.0.0" + } + }, + "recma-jsx": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-jsx/-/recma-jsx-1.0.0.tgz", + "integrity": "sha512-5vwkv65qWwYxg+Atz95acp8DMu1JDSqdGkA2Of1j6rCreyFUE/gp15fC8MnGEuG1W68UKjM6x6+YTWIh7hZM/Q==", + "dev": true, + "requires": { + "acorn-jsx": "^5.0.0", + "estree-util-to-js": "^2.0.0", + "recma-parse": "^1.0.0", + "recma-stringify": "^1.0.0", + "unified": "^11.0.0" + } + }, + "recma-parse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-parse/-/recma-parse-1.0.0.tgz", + "integrity": "sha512-OYLsIGBB5Y5wjnSnQW6t3Xg7q3fQ7FWbw/vcXtORTnyaSFscOtABg+7Pnz6YZ6c27fG1/aN8CjfwoUEUIdwqWQ==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "esast-util-from-js": "^2.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + } + }, + "recma-stringify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/recma-stringify/-/recma-stringify-1.0.0.tgz", + "integrity": "sha512-cjwII1MdIIVloKvC9ErQ+OgAtwHBmcZ0Bg4ciz78FtbT8In39aAYbaA7zvxQ61xVMSPE8WxhLwLbhif4Js2C+g==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "estree-util-to-js": "^2.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + } + }, + "reconnecting-eventsource": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/reconnecting-eventsource/-/reconnecting-eventsource-1.6.4.tgz", + "integrity": "sha512-0L3IS3wxcNFApTPPHkcbY8Aya7XZIpYDzhxa8j6QSufVkUN018XJKfh2ZaThLBGP/iN5UTz2yweMhkqr0PKa7A==" + }, + "refractor": { + "version": "4.9.0", + "resolved": "https://registry.npmjs.org/refractor/-/refractor-4.9.0.tgz", + "integrity": "sha512-nEG1SPXFoGGx+dcjftjv8cAjEusIh6ED1xhf5DG3C0x/k+rmZ2duKnc3QLpt6qeHv5fPb8uwN3VWN2BT7fr3Og==", + "dev": true, + "requires": { + "@types/hast": "^2.0.0", + "@types/prismjs": "^1.0.0", + "hastscript": "^7.0.0", + "parse-entities": "^4.0.0" + }, + "dependencies": { + "@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dev": true, + "requires": { + "@types/unist": "^2" + } + }, + "@types/unist": { + "version": "2.0.11", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz", + "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==", + "dev": true + }, + "hast-util-parse-selector": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz", + "integrity": "sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==", + "dev": true, + "requires": { + "@types/hast": "^2.0.0" + } + }, + "hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dev": true, + "requires": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + } + }, + "property-information": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.5.0.tgz", + "integrity": "sha512-PgTgs/BlvHxOu8QuEN7wi5A0OmXaBcHpmCSTehcs6Uuu9IkDIEo13Hy7n898RHfrQ49vKCoGeWZSaAK01nwVig==", + "dev": true + } + } + }, + "regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "dev": true + }, + "regexp.prototype.flags": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + } + }, + "rehype-katex": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz", + "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/katex": "^0.16.0", + "hast-util-from-html-isomorphic": "^2.0.0", + "hast-util-to-text": "^4.0.0", + "katex": "^0.16.0", + "unist-util-visit-parents": "^6.0.0", + "vfile": "^6.0.0" + } + }, + "rehype-minify-whitespace": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/rehype-minify-whitespace/-/rehype-minify-whitespace-6.0.2.tgz", + "integrity": "sha512-Zk0pyQ06A3Lyxhe9vGtOtzz3Z0+qZ5+7icZ/PL/2x1SHPbKao5oB/g/rlc6BCTajqBb33JcOe71Ye1oFsuYbnw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hast-util-minify-whitespace": "^1.0.0" + } + }, + "rehype-parse": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/rehype-parse/-/rehype-parse-9.0.1.tgz", + "integrity": "sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "hast-util-from-html": "^2.0.0", + "unified": "^11.0.0" + } + }, + "rehype-recma": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/rehype-recma/-/rehype-recma-1.0.0.tgz", + "integrity": "sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==", + "dev": true, + "requires": { + "@types/estree": "^1.0.0", + "@types/hast": "^3.0.0", + "hast-util-to-estree": "^3.0.0" + } + }, + "remark": { + "version": "15.0.1", + "resolved": "https://registry.npmjs.org/remark/-/remark-15.0.1.tgz", + "integrity": "sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + } + }, + "remark-frontmatter": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/remark-frontmatter/-/remark-frontmatter-5.0.0.tgz", + "integrity": "sha512-XTFYvNASMe5iPN0719nPrdItC9aU0ssC4v14mH1BCi1u0n1gAocqcujWUrByftZTbLhRtiKRyjYTSIOcr69UVQ==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-frontmatter": "^2.0.0", + "micromark-extension-frontmatter": "^2.0.0", + "unified": "^11.0.0" + } + }, + "remark-gfm": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz", + "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-gfm": "^3.0.0", + "micromark-extension-gfm": "^3.0.0", + "remark-parse": "^11.0.0", + "remark-stringify": "^11.0.0", + "unified": "^11.0.0" + } + }, + "remark-math": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz", + "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-math": "^3.0.0", + "micromark-extension-math": "^3.0.0", + "unified": "^11.0.0" + } + }, + "remark-mdx": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-3.1.0.tgz", + "integrity": "sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA==", + "dev": true, + "requires": { + "mdast-util-mdx": "^3.0.0", + "micromark-extension-mdxjs": "^3.0.0" + } + }, + "remark-mdx-remove-esm": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remark-mdx-remove-esm/-/remark-mdx-remove-esm-1.1.0.tgz", + "integrity": "sha512-oN3F9QRuPKSdzZi+wvEodBVjKwya63sl403pWzJvm0+c503iUjCDR+JAnP3Ho/4205IWbQ2NujPQi/B9kU6ZrA==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.3", + "mdast-util-mdxjs-esm": "^2.0.1", + "unist-util-remove": "^4.0.0" + } + }, + "remark-parse": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz", + "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-from-markdown": "^2.0.0", + "micromark-util-types": "^2.0.0", + "unified": "^11.0.0" + } + }, + "remark-rehype": { + "version": "11.1.2", + "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz", + "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==", + "dev": true, + "requires": { + "@types/hast": "^3.0.0", + "@types/mdast": "^4.0.0", + "mdast-util-to-hast": "^13.0.0", + "unified": "^11.0.0", + "vfile": "^6.0.0" + } + }, + "remark-smartypants": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/remark-smartypants/-/remark-smartypants-3.0.2.tgz", + "integrity": "sha512-ILTWeOriIluwEvPjv67v7Blgrcx+LZOkAUVtKI3putuhlZm84FnqDORNXPPm+HY3NdZOMhyDwZ1E+eZB/Df5dA==", + "dev": true, + "requires": { + "retext": "^9.0.0", + "retext-smartypants": "^6.0.0", + "unified": "^11.0.4", + "unist-util-visit": "^5.0.0" + } + }, + "remark-stringify": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz", + "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==", + "dev": true, + "requires": { + "@types/mdast": "^4.0.0", + "mdast-util-to-markdown": "^2.0.0", + "unified": "^11.0.0" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==" + }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true + }, + "require-in-the-middle": { + "version": "7.5.2", + "resolved": "https://registry.npmjs.org/require-in-the-middle/-/require-in-the-middle-7.5.2.tgz", + "integrity": "sha512-gAZ+kLqBdHarXB64XpAe2VCjB7rIRv+mU8tfRWziHRJ5umKsIHN2tLLv6EtMw7WCdP19S0ERVMldNvxYCHnhSQ==", + "requires": { + "debug": "^4.3.5", + "module-details-from-path": "^1.0.3", + "resolve": "^1.22.8" + } + }, + "resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "requires": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + }, + "resolve-alpn": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", + "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", + "dev": true + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "responselike": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/responselike/-/responselike-3.0.0.tgz", + "integrity": "sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg==", + "dev": true, + "requires": { + "lowercase-keys": "^3.0.0" + } + }, + "restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-4.0.0.tgz", + "integrity": "sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==", + "dev": true, + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "dependencies": { + "signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + } + } + }, + "retext": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/retext/-/retext-9.0.0.tgz", + "integrity": "sha512-sbMDcpHCNjvlheSgMfEcVrZko3cDzdbe1x/e7G66dFp0Ff7Mldvi2uv6JkJQzdRcvLYE8CA8Oe8siQx8ZOgTcA==", + "dev": true, + "requires": { + "@types/nlcst": "^2.0.0", + "retext-latin": "^4.0.0", + "retext-stringify": "^4.0.0", + "unified": "^11.0.0" + } + }, + "retext-latin": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/retext-latin/-/retext-latin-4.0.0.tgz", + "integrity": "sha512-hv9woG7Fy0M9IlRQloq/N6atV82NxLGveq+3H2WOi79dtIYWN8OaxogDm77f8YnVXJL2VD3bbqowu5E3EMhBYA==", + "dev": true, + "requires": { + "@types/nlcst": "^2.0.0", + "parse-latin": "^7.0.0", + "unified": "^11.0.0" + } + }, + "retext-smartypants": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/retext-smartypants/-/retext-smartypants-6.2.0.tgz", + "integrity": "sha512-kk0jOU7+zGv//kfjXEBjdIryL1Acl4i9XNkHxtM7Tm5lFiCog576fjNC9hjoR7LTKQ0DsPWy09JummSsH1uqfQ==", + "dev": true, + "requires": { + "@types/nlcst": "^2.0.0", + "nlcst-to-string": "^4.0.0", + "unist-util-visit": "^5.0.0" + } + }, + "retext-stringify": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/retext-stringify/-/retext-stringify-4.0.0.tgz", + "integrity": "sha512-rtfN/0o8kL1e+78+uxPTqu1Klt0yPzKuQ2BfWwwfgIUSayyzxpM1PJzkKt4V8803uB9qSy32MvI7Xep9khTpiA==", + "dev": true, + "requires": { + "@types/nlcst": "^2.0.0", + "nlcst-to-string": "^4.0.0", + "unified": "^11.0.0" + } + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==" + }, + "rfdc": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.4.1.tgz", + "integrity": "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==", + "dev": true + }, + "rimraf": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz", + "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==", + "dev": true, + "requires": { + "glob": "^11.0.0", + "package-json-from-dist": "^1.0.0" + }, + "dependencies": { + "glob": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz", + "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==", + "dev": true, + "requires": { + "foreground-child": "^3.3.1", + "jackspeak": "^4.1.1", + "minimatch": "^10.0.3", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^2.0.0" + } + }, + "jackspeak": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz", + "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==", + "dev": true, + "requires": { + "@isaacs/cliui": "^8.0.2" + } + }, + "lru-cache": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz", + "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==", + "dev": true + }, + "minimatch": { + "version": "10.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz", + "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==", + "dev": true, + "requires": { + "@isaacs/brace-expansion": "^5.0.0" + } + }, + "path-scurry": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz", + "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==", + "dev": true, + "requires": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + } + } + } + }, + "router": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/router/-/router-2.1.0.tgz", + "integrity": "sha512-/m/NSLxeYEgWNtyC+WtNHCF7jbGxOibVWKnn+1Psff4dJGOfoXP+MuC/f2CwSmyiHdOIzYnYFp4W6GxWfekaLA==", + "requires": { + "is-promise": "^4.0.0", + "parseurl": "^1.3.3", + "path-to-regexp": "^8.0.0" + } + }, + "run-applescript": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz", + "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==" + }, + "run-async": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz", + "integrity": "sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==", + "dev": true + }, + "run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "requires": { + "queue-microtask": "^1.2.2" + } + }, + "rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "requires": { + "tslib": "^2.1.0" + }, + "dependencies": { + "tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true + } + } + }, + "safe-array-concat": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", + "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "get-intrinsic": "^1.2.4", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "dependencies": { + "isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "dev": true + } + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safe-regex-test": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "dev": true, + "requires": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + } + }, + "safe-stable-stringify": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-1.1.1.tgz", + "integrity": "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw==", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sax": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", + "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==", + "dev": true + }, + "saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "requires": { + "xmlchars": "^2.2.0" + } + }, + "scheduler": { + "version": "0.23.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz", + "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==", + "dev": true, + "peer": true, + "requires": { + "loose-envify": "^1.1.0" + } + }, + "section-matter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz", + "integrity": "sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "kind-of": "^6.0.0" + } + }, + "semver": { + "version": "7.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", + "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==" + }, + "send": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/send/-/send-1.1.0.tgz", + "integrity": "sha512-v67WcEouB5GxbTWL/4NeToqcZiAWEq90N888fczVArY8A79J0L4FD7vj5hm3eUMua5EpoQ59wa/oovY6TLvRUA==", + "requires": { + "debug": "^4.3.5", + "destroy": "^1.2.0", + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "etag": "^1.8.1", + "fresh": "^0.5.2", + "http-errors": "^2.0.0", + "mime-types": "^2.1.35", + "ms": "^2.1.3", + "on-finished": "^2.4.1", + "range-parser": "^1.2.1", + "statuses": "^2.0.1" + }, + "dependencies": { + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==" + } + } + }, + "serialize-error": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-11.0.3.tgz", + "integrity": "sha512-2G2y++21dhj2R7iHAdd0FIzjGwuKZld+7Pl/bTU6YIkrC2ZMbVUjm+luj6A6V34Rv9XfKJDKpTWu9W4Gse1D9g==", + "requires": { + "type-fest": "^2.12.2" + }, + "dependencies": { + "type-fest": { + "version": "2.19.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", + "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==" + } + } + }, + "serialize-javascript": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.2.tgz", + "integrity": "sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "serve-static": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.1.0.tgz", + "integrity": "sha512-A3We5UfEjG8Z7VkDv6uItWw6HY2bBSBJT1KtVESn6EOoOr2jAxNhxWCLY3jDE2WcuHXByWju74ck3ZgLwL8xmA==", + "requires": { + "encodeurl": "^2.0.0", + "escape-html": "^1.0.3", + "parseurl": "^1.3.3", + "send": "^1.0.0" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "dev": true + }, + "set-function-length": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", + "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2" + } + }, + "set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dev": true, + "requires": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==" + }, + "setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "requires": { + "kind-of": "^6.0.2" + } + }, + "sharp": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz", + "integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==", + "dev": true, + "requires": { + "@img/sharp-darwin-arm64": "0.33.5", + "@img/sharp-darwin-x64": "0.33.5", + "@img/sharp-libvips-darwin-arm64": "1.0.4", + "@img/sharp-libvips-darwin-x64": "1.0.4", + "@img/sharp-libvips-linux-arm": "1.0.5", + "@img/sharp-libvips-linux-arm64": "1.0.4", + "@img/sharp-libvips-linux-s390x": "1.0.4", + "@img/sharp-libvips-linux-x64": "1.0.4", + "@img/sharp-libvips-linuxmusl-arm64": "1.0.4", + "@img/sharp-libvips-linuxmusl-x64": "1.0.4", + "@img/sharp-linux-arm": "0.33.5", + "@img/sharp-linux-arm64": "0.33.5", + "@img/sharp-linux-s390x": "0.33.5", + "@img/sharp-linux-x64": "0.33.5", + "@img/sharp-linuxmusl-arm64": "0.33.5", + "@img/sharp-linuxmusl-x64": "0.33.5", + "@img/sharp-wasm32": "0.33.5", + "@img/sharp-win32-ia32": "0.33.5", + "@img/sharp-win32-x64": "0.33.5", + "color": "^4.2.3", + "detect-libc": "^2.0.3", + "semver": "^7.6.3" + }, + "dependencies": { + "detect-libc": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", + "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", + "dev": true + } + } + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" + }, + "shell-quote": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", + "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", + "dev": true + }, + "shimmer": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/shimmer/-/shimmer-1.2.1.tgz", + "integrity": "sha512-sQTKC1Re/rM6XyFM6fIAGHRPVGvyXfgzIDvzoq608vM+jeyVD0Tu1E6Np0Kc2zAIFWIj963V2800iF/9LPieQw==" + }, + "should": { + "version": "13.2.3", + "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", + "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", + "dev": true, + "requires": { + "should-equal": "^2.0.0", + "should-format": "^3.0.3", + "should-type": "^1.4.0", + "should-type-adaptors": "^1.0.1", + "should-util": "^1.0.0" + } + }, + "should-equal": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", + "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", + "dev": true, + "requires": { + "should-type": "^1.4.0" + } + }, + "should-format": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", + "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", + "dev": true, + "requires": { + "should-type": "^1.3.0", + "should-type-adaptors": "^1.0.1" + } + }, + "should-type": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", + "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==", + "dev": true + }, + "should-type-adaptors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", + "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", + "dev": true, + "requires": { + "should-type": "^1.3.0", + "should-util": "^1.0.0" + } + }, + "should-util": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", + "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", + "dev": true + }, + "side-channel": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", + "requires": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + } + }, + "side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "requires": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + } + }, + "side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + } + }, + "side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "requires": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" + } + }, + "signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" + }, + "simple-eval": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-eval/-/simple-eval-1.0.1.tgz", + "integrity": "sha512-LH7FpTAkeD+y5xQC4fzS+tFtaNlvt3Ib1zKzvhjv/Y+cioV4zIuw4IZr2yhRLu67CWL7FR9/6KXKnjRoZTvGGQ==", + "dev": true, + "requires": { + "jsep": "^1.3.6" + } + }, + "simple-git": { + "version": "3.27.0", + "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.27.0.tgz", + "integrity": "sha512-ivHoFS9Yi9GY49ogc6/YAi3Fl9ROnF4VyubNylgCkA+RVqLaKWnDSzXOVzya8csELIaWaYNutsEuAhZrtOjozA==", + "requires": { + "@kwsites/file-exists": "^1.1.1", + "@kwsites/promise-deferred": "^1.1.1", + "debug": "^4.3.5" + } + }, + "simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "dev": true, + "requires": { + "is-arrayish": "^0.3.1" + }, + "dependencies": { + "is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "dev": true + } + } + }, + "sinon": { + "version": "19.0.2", + "resolved": "https://registry.npmjs.org/sinon/-/sinon-19.0.2.tgz", + "integrity": "sha512-euuToqM+PjO4UgXeLETsfQiuoyPXlqFezr6YZDFwHR3t4qaX0fZUe1MfPMznTL5f8BWrVS89KduLdMUsxFCO6g==", + "dev": true, + "requires": { + "@sinonjs/commons": "^3.0.1", + "@sinonjs/fake-timers": "^13.0.2", + "@sinonjs/samsam": "^8.0.1", + "diff": "^7.0.0", + "nise": "^6.1.1", + "supports-color": "^7.2.0" + }, + "dependencies": { + "diff": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "slash": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-5.1.0.tgz", + "integrity": "sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==" + }, + "slice-ansi": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", + "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", + "dev": true, + "requires": { + "ansi-styles": "^6.0.0", + "is-fullwidth-code-point": "^4.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", + "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", + "dev": true + } + } + }, + "smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==" + }, + "socket.io": { + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-4.8.1.tgz", + "integrity": "sha512-oZ7iUCxph8WYRHHcjBEc9unw3adt5CmSNlppj/5Q4k2RIrhl8Z5yY2Xr4j9zj0+wzVZ0bxmYoGSzKJnRl6A4yg==", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "base64id": "~2.0.0", + "cors": "~2.8.5", + "debug": "~4.3.2", + "engine.io": "~6.6.0", + "socket.io-adapter": "~2.5.2", + "socket.io-parser": "~4.2.4" + }, + "dependencies": { + "accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dev": true, + "requires": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + } + }, + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "dev": true + } + } + }, + "socket.io-adapter": { + "version": "2.5.5", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.5.tgz", + "integrity": "sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==", + "dev": true, + "requires": { + "debug": "~4.3.4", + "ws": "~8.17.1" + }, + "dependencies": { + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + }, + "ws": { + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", + "dev": true, + "requires": {} + } + } + }, + "socket.io-parser": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz", + "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==", + "dev": true, + "requires": { + "@socket.io/component-emitter": "~3.1.0", + "debug": "~4.3.1" + }, + "dependencies": { + "debug": { + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "dev": true, + "requires": { + "ms": "^2.1.3" + } + } + } + }, + "socks": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.3.tgz", + "integrity": "sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==", + "requires": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + } + }, + "socks-proxy-agent": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz", + "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==", + "requires": { + "agent-base": "^7.1.1", + "debug": "^4.3.4", + "socks": "^2.8.3" + } + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "optional": true + }, + "space-separated-tokens": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz", + "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==", + "dev": true + }, + "spawndamnit": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spawndamnit/-/spawndamnit-3.0.1.tgz", + "integrity": "sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.5", + "signal-exit": "^4.0.1" + } + }, + "spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.18", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", + "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==", + "dev": true + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" + }, + "statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==" + }, + "stdin-discarder": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/stdin-discarder/-/stdin-discarder-0.1.0.tgz", + "integrity": "sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==", + "dev": true, + "requires": { + "bl": "^5.0.0" + } + }, + "streamx": { + "version": "2.22.0", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.0.tgz", + "integrity": "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==", + "requires": { + "bare-events": "^2.2.0", + "fast-fifo": "^1.3.2", + "text-decoder": "^1.1.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "string-argv": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.2.tgz", + "integrity": "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==", + "dev": true + }, + "string-template": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz", + "integrity": "sha512-Yptehjogou2xm4UJbxJ4CxgZx12HBfeystp0y3x7s4Dj32ltVVG1Gg8YhKjHZkHicuKpZX/ffilA8505VbUbpw==" + }, + "string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "requires": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + } + }, + "string-width-cjs": { + "version": "npm:string-width@4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "string.prototype.padend": { + "version": "3.1.6", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.6.tgz", + "integrity": "sha512-XZpspuSB7vJWhvJc9DLSlrXl1mcA2BdoY5jjnS135ydXqLoqhs96JjDtCkjJEQHvfqZIp9hBuBMgI589peyx9Q==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.2", + "es-object-atoms": "^1.0.0" + } + }, + "string.prototype.trim": { + "version": "1.2.9", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", + "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.0", + "es-object-atoms": "^1.0.0" + } + }, + "string.prototype.trimend": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", + "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, + "string.prototype.trimstart": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz", + "integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-object-atoms": "^1.0.0" + } + }, + "stringify-entities": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz", + "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==", + "dev": true, + "requires": { + "character-entities-html4": "^2.0.0", + "character-entities-legacy": "^3.0.0" + } + }, + "strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "requires": { + "ansi-regex": "^6.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==" + } + } + }, + "strip-ansi-cjs": { + "version": "npm:strip-ansi@6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + }, + "strip-bom-string": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-bom-string/-/strip-bom-string-1.0.0.tgz", + "integrity": "sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==", + "dev": true + }, + "strip-final-newline": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", + "integrity": "sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==" + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "strnum": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.0.5.tgz", + "integrity": "sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==" + }, + "style-to-js": { + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.16.tgz", + "integrity": "sha512-/Q6ld50hKYPH3d/r6nr117TZkHR0w0kGGIVfpG9N6D8NymRPM9RqCUv4pRpJ62E5DqOYx2AFpbZMyCPnjQCnOw==", + "dev": true, + "requires": { + "style-to-object": "1.0.8" + } + }, + "style-to-object": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.8.tgz", + "integrity": "sha512-xT47I/Eo0rwJmaXC4oilDGDWLohVhR6o/xAQcPQN8q6QBuZVL8qMYL85kLmST5cPjAorwvqIA4qXTRQoYHaL6g==", + "dev": true, + "requires": { + "inline-style-parser": "0.2.4" + } + }, + "supports-color": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-9.4.0.tgz", + "integrity": "sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==", + "dev": true + }, + "supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==" + }, + "tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true + }, + "tar": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz", + "integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==", + "dev": true, + "requires": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^5.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "dependencies": { + "minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true + } + } + }, + "tar-fs": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.8.tgz", + "integrity": "sha512-ZoROL70jptorGAlgAYiLoBLItEKw/fUxg9BSYK/dF/GAGYFJOJJJMvjPAKDJraCXFwadD456FCuvLWgfhMsPwg==", + "requires": { + "bare-fs": "^4.0.1", + "bare-path": "^3.0.0", + "pump": "^3.0.0", + "tar-stream": "^3.1.5" + } + }, + "tar-stream": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", + "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", + "requires": { + "b4a": "^1.6.4", + "fast-fifo": "^1.2.0", + "streamx": "^2.15.0" + } + }, + "term-size": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz", + "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==", + "dev": true + }, + "test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "requires": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "text-decoder": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz", + "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==", + "requires": { + "b4a": "^1.6.4" + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "thriftrw": { + "version": "3.11.4", + "resolved": "https://registry.npmjs.org/thriftrw/-/thriftrw-3.11.4.tgz", + "integrity": "sha512-UcuBd3eanB3T10nXWRRMwfwoaC6VMk7qe3/5YIWP2Jtw+EbHqJ0p1/K3x8ixiR5dozKSSfcg1W+0e33G1Di3XA==", + "requires": { + "bufrw": "^1.2.1", + "error": "7.0.2", + "long": "^2.4.0" + }, + "dependencies": { + "long": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/long/-/long-2.4.0.tgz", + "integrity": "sha512-ijUtjmO/n2A5PaosNG9ZGDsQ3vxJg7ZW8vsY8Kp0f2yIZWhSJvjmegV7t+9RPQKxKrvj8yKGehhS+po14hPLGQ==" + } + } + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "requires": { + "is-number": "^7.0.0" + } + }, + "toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==" + }, + "tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "traverse": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz", + "integrity": "sha512-iawgk0hLP3SxGKDfnDJf8wTz4p2qImnyihM5Hh/sGvQ3K37dPi/w8sRhdNIxYA1TwFwc5mDhIJq+O0RsvXBKdQ==" + }, + "tree-sitter-wasms": { + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/tree-sitter-wasms/-/tree-sitter-wasms-0.1.11.tgz", + "integrity": "sha512-26sE4+qoTi1CbzHdo9sHs9pRE/jXVFVRigSG/5TNAbwhSMVjHfMAg4UjmOhAFAIx5UxgoQuaURwqhm0SRNrpWA==" + }, + "trim-lines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz", + "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==", + "dev": true + }, + "trim-trailing-lines": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-2.1.0.tgz", + "integrity": "sha512-5UR5Biq4VlVOtzqkm2AZlgvSlDJtME46uV0br0gENbwN4l5+mMKT4b9gJKqWtuL2zAIqajGJGuvbCbcAJUZqBg==", + "dev": true + }, + "trough": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz", + "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==", + "dev": true + }, + "ts-api-utils": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", + "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "dev": true, + "requires": {} + }, + "ts-error": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/ts-error/-/ts-error-1.0.6.tgz", + "integrity": "sha512-tLJxacIQUM82IR7JO1UUkKlYuUTmoY9HBJAmNWFzheSlDS5SPMcNIepejHJa4BpPQLAcbRhRf3GDJzyj6rbKvA==" + }, + "ts-morph": { + "version": "25.0.1", + "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-25.0.1.tgz", + "integrity": "sha512-QJEiTdnz1YjrB3JFhd626gX4rKHDLSjSVMvGGG4v7ONc3RBwa0Eei98G9AT9uNFDMtV54JyuXsFeC+OH0n6bXQ==", + "requires": { + "@ts-morph/common": "~0.26.0", + "code-block-writer": "^13.0.3" + } + }, + "ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "requires": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "dependencies": { + "diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true + } + } + }, + "ts-poet": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/ts-poet/-/ts-poet-6.11.0.tgz", + "integrity": "sha512-r5AGF8vvb+GjBsnqiTqbLhN1/U2FJt6BI+k0dfCrkKzWvUhNlwMmq9nDHuucHs45LomgHjZPvYj96dD3JawjJA==", + "dev": true, + "requires": { + "dprint-node": "^1.0.8" + } + }, + "ts-proto": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/ts-proto/-/ts-proto-2.7.0.tgz", + "integrity": "sha512-BGHjse2wTOeswOqnnPKinpxmbaRd882so/e1En6ww59YMG7AO9Kg4vPpJcbVfrpBixPRDqHafXD/RDyd2T99GA==", + "dev": true, + "requires": { + "@bufbuild/protobuf": "^2.0.0", + "case-anything": "^2.1.13", + "ts-poet": "^6.7.0", + "ts-proto-descriptors": "2.0.0" + } + }, + "ts-proto-descriptors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-proto-descriptors/-/ts-proto-descriptors-2.0.0.tgz", + "integrity": "sha512-wHcTH3xIv11jxgkX5OyCSFfw27agpInAd6yh89hKG6zqIXnjW9SYqSER2CVQxdPj4czeOhGagNvZBEbJPy7qkw==", + "dev": true, + "requires": { + "@bufbuild/protobuf": "^2.0.0" + } + }, + "tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "requires": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "turndown": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/turndown/-/turndown-7.2.0.tgz", + "integrity": "sha512-eCZGBN4nNNqM9Owkv9HAtWRYfLA4h909E/WGAWWBpmB275ehNhZyk87/Tpvjbp0jjNl9XwCsbe6bm6CqFsgD+A==", + "requires": { + "@mixmark-io/domino": "^2.2.0" + } + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-detect": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.1.0.tgz", + "integrity": "sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==", + "dev": true + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + }, + "type-is": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.0.tgz", + "integrity": "sha512-gd0sGezQYCbWSbkZr75mln4YBidWUN60+devscpLF5mtRDUpiaTvKpBNrdaCvel1NdR2k6vclXybU5fBd2i+nw==", + "requires": { + "content-type": "^1.0.5", + "media-typer": "^1.1.0", + "mime-types": "^3.0.0" + }, + "dependencies": { + "mime-db": { + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.53.0.tgz", + "integrity": "sha512-oHlN/w+3MQ3rba9rqFr6V/ypF10LSkdwUysQL7GkXoTgIWeV+tcXGA852TBxH+gsh8UWoyhR1hKcoMJTuWflpg==" + }, + "mime-types": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.0.tgz", + "integrity": "sha512-XqoSHeCGjVClAmoGFG3lVFqQFRIrTVw2OH3axRqAcfaw+gHWIfnASS92AV+Rl/mk0MupgZTRHQOjxY6YVnzK5w==", + "requires": { + "mime-db": "^1.53.0" + } + } + } + }, + "typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + } + }, + "typed-array-length": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", + "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "dev": true, + "requires": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + } + }, + "typed-query-selector": { + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.0.tgz", + "integrity": "sha512-SbklCd1F0EiZOyPiW192rrHZzZ5sBijB6xM+cpmrwDqObvdtunOHHIk9fCGsoK5JVIYXoyEp4iEdE3upFH3PAg==" + }, + "typescript": { + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", + "integrity": "sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==", + "dev": true + }, + "unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + } + }, + "unbzip2-stream": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz", + "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==", + "requires": { + "buffer": "^5.2.1", + "through": "^2.3.8" + }, + "dependencies": { + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + } + } + }, + "underscore": { + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==" + }, + "undici": { + "version": "6.21.1", + "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.1.tgz", + "integrity": "sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==" + }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, + "unicorn-magic": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz", + "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==" + }, + "unified": { + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz", + "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "bail": "^2.0.0", + "devlop": "^1.0.0", + "extend": "^3.0.0", + "is-plain-obj": "^4.0.0", + "trough": "^2.0.0", + "vfile": "^6.0.0" + }, + "dependencies": { + "is-plain-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz", + "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==", + "dev": true + } + } + }, + "unist-builder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-builder/-/unist-builder-4.0.0.tgz", + "integrity": "sha512-wmRFnH+BLpZnTKpc5L7O67Kac89s9HMrtELpnNaE6TAobq5DTZZs5YaTQfAZBA9bFPECx2uVAPO31c+GVug8mg==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-find-after": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-find-after/-/unist-util-find-after-5.0.0.tgz", + "integrity": "sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "unist-util-is": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.0.tgz", + "integrity": "sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-map/-/unist-util-map-4.0.0.tgz", + "integrity": "sha512-HJs1tpkSmRJUzj6fskQrS5oYhBYlmtcvy4SepdDEEsL04FjBrgF0Mgggvxc1/qGBGgW7hRh9+UBK1aqTEnBpIA==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-modify-children": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-modify-children/-/unist-util-modify-children-4.0.0.tgz", + "integrity": "sha512-+tdN5fGNddvsQdIzUF3Xx82CU9sMM+fA0dLgR9vOmT0oPT2jH+P1nd5lSqfCfXAw+93NhcXNY2qqvTUtE4cQkw==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "array-iterate": "^2.0.0" + } + }, + "unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-position-from-estree": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position-from-estree/-/unist-util-position-from-estree-2.0.0.tgz", + "integrity": "sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-remove": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove/-/unist-util-remove-4.0.0.tgz", + "integrity": "sha512-b4gokeGId57UVRX/eVKej5gXqGlc9+trkORhFJpu9raqZkZhU0zm8Doi05+HaiBsMEIJowL+2WtQ5ItjsngPXg==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "unist-util-remove-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", + "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "unist-util-visit": "^5.0.0" + } + }, + "unist-util-stringify-position": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", + "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-visit": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.0.0.tgz", + "integrity": "sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0", + "unist-util-visit-parents": "^6.0.0" + } + }, + "unist-util-visit-children": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unist-util-visit-children/-/unist-util-visit-children-3.0.0.tgz", + "integrity": "sha512-RgmdTfSBOg04sdPcpTSD1jzoNBjt9a80/ZCzp5cI9n1qPzLZWF9YdvWGN2zmTumP1HWhXKdUWexjy/Wy/lJ7tA==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0" + } + }, + "unist-util-visit-parents": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz", + "integrity": "sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "unist-util-is": "^6.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==" + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==" + }, + "unzipper": { + "version": "0.10.14", + "resolved": "https://registry.npmjs.org/unzipper/-/unzipper-0.10.14.tgz", + "integrity": "sha512-ti4wZj+0bQTiX2KmKWuwj7lhV+2n//uXEotUmGuQqrbVZSEGFMbI68+c6JCQ8aAmUWYvtHEz2A8K6wXvueR/6g==", + "requires": { + "big-integer": "^1.6.17", + "binary": "~0.3.0", + "bluebird": "~3.4.1", + "buffer-indexof-polyfill": "~1.0.0", + "duplexer2": "~0.1.4", + "fstream": "^1.0.12", + "graceful-fs": "^4.2.2", + "listenercount": "~1.0.1", + "readable-stream": "~2.3.6", + "setimmediate": "~1.0.4" + } + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urijs": { + "version": "1.19.11", + "resolved": "https://registry.npmjs.org/urijs/-/urijs-1.19.11.tgz", + "integrity": "sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ==", + "dev": true + }, + "urlpattern-polyfill": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz", + "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==" + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "utility-types": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/utility-types/-/utility-types-3.11.0.tgz", + "integrity": "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw==", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==" + }, + "uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==" + }, + "v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, + "v8-to-istanbul": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", + "dev": true, + "requires": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + } + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==" + }, + "vfile": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz", + "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "vfile-message": "^4.0.0" + } + }, + "vfile-location": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.3.tgz", + "integrity": "sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + } + }, + "vfile-matter": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/vfile-matter/-/vfile-matter-5.0.1.tgz", + "integrity": "sha512-o6roP82AiX0XfkyTHyRCMXgHfltUNlXSEqCIS80f+mbAyiQBE2fxtDVMtseyytGx75sihiJFo/zR6r/4LTs2Cw==", + "dev": true, + "requires": { + "vfile": "^6.0.0", + "yaml": "^2.0.0" + } + }, + "vfile-message": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.2.tgz", + "integrity": "sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==", + "dev": true, + "requires": { + "@types/unist": "^3.0.0", + "unist-util-stringify-position": "^4.0.0" + } + }, + "vscode-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.1.0.tgz", + "integrity": "sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==" + }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "requires": { + "defaults": "^1.0.3" + } + }, + "web-namespaces": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-2.0.1.tgz", + "integrity": "sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==", + "dev": true + }, + "web-tree-sitter": { + "version": "0.22.6", + "resolved": "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.22.6.tgz", + "integrity": "sha512-hS87TH71Zd6mGAmYCvlgxeGDjqd9GTeqXNqTT+u0Gs51uIozNIaaq/kUAbV/Zf56jb2ZOyG8BxZs2GG9wbLi6Q==" + }, + "webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "websocket-driver": { + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", + "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", + "requires": { + "http-parser-js": ">=0.5.1", + "safe-buffer": ">=5.1.0", + "websocket-extensions": ">=0.1.1" + } + }, + "websocket-extensions": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", + "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==" + }, + "whatwg-encoding": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz", + "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==", + "requires": { + "iconv-lite": "0.6.3" + } + }, + "whatwg-fetch": { + "version": "3.6.20", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", + "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==" + }, + "whatwg-mimetype": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz", + "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==" + }, + "whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "requires": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "requires": { + "isexe": "^2.0.0" + } + }, + "which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "requires": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "which-typed-array": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", + "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "dev": true, + "requires": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.2" + } + }, + "wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "requires": { + "string-width": "^1.0.2 || 2 || 3 || 4" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "windows-release": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-6.0.1.tgz", + "integrity": "sha512-MS3BzG8QK33dAyqwxfYJCJ03arkwKaddUOvvnnlFdXLudflsQF6I8yAxrLBeQk4yO8wjdH/+ax0YzxJEDrOftg==", + "requires": { + "execa": "^8.0.1" + }, + "dependencies": { + "execa": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", + "requires": { + "cross-spawn": "^7.0.3", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", + "is-stream": "^3.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^5.1.0", + "onetime": "^6.0.0", + "signal-exit": "^4.1.0", + "strip-final-newline": "^3.0.0" + } + }, + "get-stream": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==" + }, + "human-signals": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==" + }, + "is-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz", + "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==" + }, + "mimic-fn": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-4.0.0.tgz", + "integrity": "sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==" + }, + "onetime": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-6.0.0.tgz", + "integrity": "sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==", + "requires": { + "mimic-fn": "^4.0.0" + } + }, + "strip-final-newline": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", + "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==" + } + } + }, + "word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true + }, + "workerpool": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz", + "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==", + "dev": true + }, + "wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "requires": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" + } + } + }, + "wrap-ansi-cjs": { + "version": "npm:wrap-ansi@7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "ws": { + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", + "requires": {} + }, + "xml2js": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", + "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", + "dev": true, + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "dependencies": { + "xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "dev": true + } + } + }, + "xmlbuilder": { + "version": "10.1.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-10.1.1.tgz", + "integrity": "sha512-OyzrcFLL/nb6fMGHbiRDuPup9ljBycsdCypwuyg5AAHvyWzGfChJpCXMG88AGTIMFhGZ9RccFN1e6lhg3hkwKg==" + }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" + }, + "xorshift": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/xorshift/-/xorshift-1.2.0.tgz", + "integrity": "sha512-iYgNnGyeeJ4t6U11NpA/QiKy+PXn5Aa3Azg5qkwIFz1tBLllQrjjsk9yzD7IAK0naNU4JxdeDgqW9ov4u/hc4g==" + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "yaml": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", + "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", + "dev": true + }, + "yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "requires": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "dependencies": { + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "requires": { + "ansi-regex": "^5.0.1" + } + } + } + }, + "yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==" + }, + "yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "requires": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + } + }, + "yauzl": { + "version": "2.10.0", + "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", + "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", + "requires": { + "buffer-crc32": "~0.2.3", + "fd-slicer": "~1.1.0" + } + }, + "yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + }, + "yoctocolors": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/yoctocolors/-/yoctocolors-2.1.1.tgz", + "integrity": "sha512-GQHQqAopRhwU8Kt1DDM8NjibDXHC8eoh1erhGAJPEyveY9qqVeXvVikNKrDz69sHowPMorbPUrH/mx8c50eiBQ==" + }, + "yoctocolors-cjs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", + "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", + "dev": true + }, + "zip-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-6.0.1.tgz", + "integrity": "sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==", + "requires": { + "archiver-utils": "^5.0.0", + "compress-commons": "^6.0.2", + "readable-stream": "^4.0.0" + }, + "dependencies": { + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==" + }, + "readable-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", + "requires": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + } + } + } + }, + "zod": { + "version": "3.24.2", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz", + "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==" + }, + "zod-to-json-schema": { + "version": "3.24.4", + "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.4.tgz", + "integrity": "sha512-0uNlcvgabyrni9Ag8Vghj21drk7+7tp7VTwwR7KxxXXc/3pbXz2PHlDgj3cICahgF1kHm4dExBFj7BXrZJXzig==", + "requires": {} + }, + "zwitch": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz", + "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==", + "dev": true + } } } diff --git a/package.json b/package.json index 733e53ef..862c3026 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "cline-shengsuan", "displayName": "Cline-中文版", "description": "Cline-中文版是一款在您的IDE中运行的强大自主编程助手,经您许可后可创建/编辑文件、运行命令、使用浏览器等。", - "version": "3.18.1", + "version": "3.18.2", "icon": "assets/icons/icon.png", "engines": { "vscode": "^1.84.0" @@ -327,14 +327,14 @@ "package": "npm run check-types && npm run build:webview && npm run lint && node esbuild.js --production", "protos": "node proto/build-proto.js && node scripts/generate-server-setup.mjs && node scripts/generate-host-bridge-client.mjs", "postprotos": "prettier src/shared/proto src/core/controller src/hosts/ webview-ui/src/services src/generated --write --log-level warn", - "clean": "rimraf dist dist-standalone webview-ui/build src/generated", + "clean": "rimraf dist dist-standalone webview-ui/build src/generated out/", "compile-tests": "node ./scripts/build-tests.js", "watch-tests": "tsc -p . -w --outDir out", - "pretest": "npm run compile-tests && npm run compile && npm run compile-standalone && npm run lint", "check-types": "npm run protos && tsc --noEmit", "lint": "eslint src --ext ts && eslint webview-ui/src --ext ts && buf lint && cd webview-ui && npm run lint", "format": "prettier . --check", "format:fix": "prettier . --write", + "pretest": "npm run compile && npm run compile-tests && npm run compile-standalone && npm run lint", "test": "npm-run-all test:unit test:integration", "test:ci": "node scripts/test-ci.js", "test:integration": "vscode-test", @@ -438,7 +438,6 @@ "fzf": "^0.5.2", "get-folder-size": "^5.0.0", "globby": "^14.0.2", - "google-auth-library": "^10.1.0", "grpc-health-check": "^2.0.2", "iconv-lite": "^0.6.3", "ignore": "^7.0.3", diff --git a/proto/build-proto-config.js b/proto/build-proto-config.js new file mode 100644 index 00000000..9739ffa0 --- /dev/null +++ b/proto/build-proto-config.js @@ -0,0 +1,31 @@ +// Configuration file for protocol buffer build scripts +// Contains service name mappings used by both build-proto.js and build-go-proto.js + +// List of gRPC services +// To add a new service, simply add it to this map and run the build scripts +// The service handler will be automatically discovered and used by grpc-handler.ts +export const serviceNameMap = { + account: "cline_shengsuan.AccountService", + browser: "cline_shengsuan.BrowserService", + checkpoints: "cline_shengsuan.CheckpointsService", + file: "cline_shengsuan.FileService", + mcp: "cline_shengsuan.McpService", + state: "cline_shengsuan.StateService", + task: "cline_shengsuan.TaskService", + web: "cline_shengsuan.WebService", + models: "cline_shengsuan.ModelsService", + slash: "cline_shengsuan.SlashService", + ui: "cline_shengsuan.UiService", + // Add new services here - no other code changes needed! +} + +// List of host gRPC services (IDE API bridge) +// These services are implemented in the IDE extension and called by the standalone Cline Core +export const hostServiceNameMap = { + uri: "host.UriService", + watch: "host.WatchService", + workspace: "host.WorkspaceService", + env: "host.EnvService", + window: "host.WindowService", + // Add new host services here +} diff --git a/proto/build-proto.js b/proto/build-proto.js index 182d8d3a..25ea3dbf 100755 --- a/proto/build-proto.js +++ b/proto/build-proto.js @@ -9,16 +9,18 @@ import chalk from "chalk" import os from "os" import { createRequire } from "module" +import { serviceNameMap, hostServiceNameMap } from "./build-proto-config.js" + const require = createRequire(import.meta.url) const PROTOC = path.join(require.resolve("grpc-tools"), "../bin/protoc") const SCRIPT_DIR = path.dirname(fileURLToPath(import.meta.url)) const ROOT_DIR = path.resolve(SCRIPT_DIR, "..") -const TS_OUT_DIR = path.join(ROOT_DIR, "src/shared/proto") -const GRPC_JS_OUT_DIR = path.join(ROOT_DIR, "src/generated/grpc-js") -const NICE_JS_OUT_DIR = path.join(ROOT_DIR, "src/generated/nice-grpc") -const DESCRIPTOR_OUT_DIR = path.join(ROOT_DIR, "dist-standalone/proto") +const TS_OUT_DIR = path.join(ROOT_DIR, "src", "shared", "proto") +const GRPC_JS_OUT_DIR = path.join(ROOT_DIR, "src", "generated", "grpc-js") +const NICE_JS_OUT_DIR = path.join(ROOT_DIR, "src", "generated", "nice-grpc") +const DESCRIPTOR_OUT_DIR = path.join(ROOT_DIR, "dist-standalone", "proto") const isWindows = process.platform === "win32" const TS_PROTO_PLUGIN = isWindows @@ -34,34 +36,13 @@ const TS_PROTO_OPTIONS = [ "useDate=false", // Timestamp fields will not be automatically converted to Date. ] -// List of gRPC services -// To add a new service, simply add it to this map and run this script -// The service handler will be automatically discovered and used by grpc-handler.ts -const serviceNameMap = { - account: "cline_shengsuan.AccountService", - browser: "cline_shengsuan.BrowserService", - checkpoints: "cline_shengsuan.CheckpointsService", - file: "cline_shengsuan.FileService", - mcp: "cline_shengsuan.McpService", - state: "cline_shengsuan.StateService", - task: "cline_shengsuan.TaskService", - web: "cline_shengsuan.WebService", - models: "cline_shengsuan.ModelsService", - slash: "cline_shengsuan.SlashService", - ui: "cline_shengsuan.UiService", - // Add new services here - no other code changes needed! -} -const serviceDirs = Object.keys(serviceNameMap).map((serviceKey) => path.join(ROOT_DIR, "src/core/controller", serviceKey)) +// Service directories derived from imported serviceNameMap +const serviceDirs = Object.keys(serviceNameMap).map((serviceKey) => path.join(ROOT_DIR, "src", "core", "controller", serviceKey)) -// List of host gRPC services (IDE API bridge) -// These services are implemented in the IDE extension and called by the standalone Cline Core -const hostServiceNameMap = { - uri: "host.UriService", - watch: "host.WatchService", - workspace: "host.WorkspaceService", - // Add new host services here -} -const hostServiceDirs = Object.keys(hostServiceNameMap).map((serviceKey) => path.join(ROOT_DIR, "src/hosts/vscode", serviceKey)) +// Host service directories derived from imported hostServiceNameMap +const hostServiceDirs = Object.keys(hostServiceNameMap).map((serviceKey) => + path.join(ROOT_DIR, "src", "hosts", "vscode", serviceKey), +) async function main() { console.log(chalk.bold.blue("Starting Protocol Buffer code generation...")) @@ -163,7 +144,6 @@ async function generateGrpcClientConfig() { // Add to exports serviceExports.push(`${capitalizedName}ServiceClient`) } - // Generate the file content const content = `// AUTO-GENERATED FILE - DO NOT MODIFY DIRECTLY // Generated by proto/build-proto.js @@ -177,7 +157,7 @@ export { ${serviceExports.join(",\n\t")} }` - const filePath = path.join(ROOT_DIR, "webview-ui/src/services/grpc-client.ts") + const filePath = path.join(ROOT_DIR, "webview-ui", "src", "services", "grpc-client.ts") await writeFileWithMkdirs(filePath, content) log_verbose(chalk.green(`Generated gRPC client at ${filePath}`)) } @@ -386,7 +366,7 @@ export interface ServiceHandlerConfig { export const serviceHandlers: Record = {${serviceConfigs.join(",")} };` - const configPath = path.join(ROOT_DIR, "src/core/controller/grpc-service-config.ts") + const configPath = path.join(ROOT_DIR, "src", "core", "controller", "grpc-service-config.ts") await writeFileWithMkdirs(configPath, content) log_verbose(chalk.green(`Generated service configuration at ${configPath}`)) } @@ -602,13 +582,12 @@ async function cleanup() { for (const file of existingFiles) { await fs.unlink(path.join(TS_OUT_DIR, file)) } - await rmdir(path.join(ROOT_DIR, "src/generated")) + await rmdir(path.join(ROOT_DIR, "src", "generated")) // Clean up generated files that were moved. - await fs.rm(path.join(ROOT_DIR, "src/standalone/services/host-grpc-client.ts"), { force: true }) - await rmdir(path.join(ROOT_DIR, "src/standalone/services")) - - await fs.rm(path.join(ROOT_DIR, "hosts/vscode"), { force: true, recursive: true }) + await fs.rm(path.join(ROOT_DIR, "src", "standalone", "services", "host-grpc-client.ts"), { force: true }) + await rmdir(path.join(ROOT_DIR, "src", "standalone", "services")) + await fs.rm(path.join(ROOT_DIR, "hosts", "vscode"), { force: true, recursive: true }) await rmdir(path.join(ROOT_DIR, "hosts")) await fs.rm(path.join(ROOT_DIR, "src/standalone/server-setup.ts"), { force: true }) @@ -636,13 +615,6 @@ async function rmdir(path) { } } -function serviceNameWithoutPackage(fullServiceName) { - return fullServiceName.replace(/.*\./, "") -} -function lowercaseFirstChar(str) { - return str.charAt(0).toLowerCase() + str.slice(1) -} - // Check for Apple Silicon compatibility function checkAppleSiliconCompatibility() { // Only run check on macOS diff --git a/proto/host/env.proto b/proto/host/env.proto new file mode 100644 index 00000000..be37db1f --- /dev/null +++ b/proto/host/env.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + +package host; +option java_package = "bot.cline_shengsuan.host.proto"; +option java_multiple_files = true; + +import "common.proto"; + +// Provides methods for working with the user's environment. +service EnvService { + // Writes text to the system clipboard. + rpc clipboardWriteText(cline_shengsuan.StringRequest) returns (cline_shengsuan.Empty); + + // Reads text from the system clipboard. + rpc clipboardReadText(cline_shengsuan.EmptyRequest) returns (cline_shengsuan.String); +} diff --git a/proto/host/window.proto b/proto/host/window.proto new file mode 100644 index 00000000..7d62c8c4 --- /dev/null +++ b/proto/host/window.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; + +package host; +option java_package = "bot.cline_shengsuan.host.proto"; +option java_multiple_files = true; + +import "common.proto"; + +// Provides methods for working with IDE windows and editors. +service WindowService { + // Opens a text document in the editor and returns editor information. + rpc showTextDocument(ShowTextDocumentRequest) returns (TextEditorInfo); +} + +message ShowTextDocumentRequest { + cline_shengsuan.Metadata metadata = 1; + string path = 2; + optional ShowTextDocumentOptions options = 3; +} + +// See https://code.visualstudio.com/api/references/vscode-api#TextDocumentShowOptions +message ShowTextDocumentOptions { + optional bool preview = 1; + optional bool preserve_focus = 2; + optional int32 view_column = 3; +} + +message TextEditorInfo { + string document_path = 1; + optional int32 view_column = 2; + bool is_active = 3; +} diff --git a/proto/models.proto b/proto/models.proto index 228706c7..bcd513fc 100644 --- a/proto/models.proto +++ b/proto/models.proto @@ -107,26 +107,25 @@ enum ApiProvider { OLLAMA = 5; LMSTUDIO = 6; GEMINI = 7; - GEMINI_CLI = 8; - OPENAI_NATIVE = 9; - REQUESTY = 10; - TOGETHER = 11; - DEEPSEEK = 12; - QWEN = 13; - DOUBAO = 14; - MISTRAL = 15; - VSCODE_LM = 16; - CLINE = 17; - LITELLM = 18; - NEBIUS = 19; - FIREWORKS = 20; - ASKSAGE = 21; - XAI = 22; - SAMBANOVA = 23; - CEREBRAS = 24; - SAPAICORE = 25; - CLAUDE_CODE = 26; - SHENG_SUAN_YUN = 27; + OPENAI_NATIVE = 8; + REQUESTY = 9; + TOGETHER = 10; + DEEPSEEK = 11; + QWEN = 12; + DOUBAO = 13; + MISTRAL = 14; + VSCODE_LM = 15; + CLINE = 16; + LITELLM = 17; + NEBIUS = 18; + FIREWORKS = 19; + ASKSAGE = 20; + XAI = 21; + SAMBANOVA = 22; + CEREBRAS = 23; + SAPAICORE = 24; + CLAUDE_CODE = 25; + SHENG_SUAN_YUN = 26; } // Model info for OpenAI-compatible models diff --git a/proto/state.proto b/proto/state.proto index a6d85931..fbcb600b 100644 --- a/proto/state.proto +++ b/proto/state.proto @@ -18,6 +18,7 @@ service StateService { rpc updateAutoApprovalSettings(AutoApprovalSettingsRequest) returns (Empty); rpc updateSettings(UpdateSettingsRequest) returns (Empty); rpc updateTelemetrySetting(TelemetrySettingRequest) returns (Empty); + rpc setWelcomeViewCompleted(BooleanRequest) returns (Empty); } message State { diff --git a/proto/task.proto b/proto/task.proto index 14a524d3..1d8cb529 100644 --- a/proto/task.proto +++ b/proto/task.proto @@ -23,8 +23,6 @@ service TaskService { rpc exportTaskWithId(StringRequest) returns (Empty); // Toggles the favorite status of a task rpc toggleTaskFavorite(TaskFavoriteRequest) returns (Empty); - // Deletes all non-favorited tasks - rpc deleteNonFavoritedTasks(EmptyRequest) returns (DeleteNonFavoritedTasksResults); // Gets filtered task history rpc getTaskHistory(GetTaskHistoryRequest) returns (TaskHistoryArray); // Sends a response to a previous ask operation @@ -36,7 +34,7 @@ service TaskService { // Executes a quick win task with command and title rpc executeQuickWin(ExecuteQuickWinRequest) returns (Empty); // Deletes all task history - rpc deleteAllTaskHistory(BooleanRequest) returns (DeleteAllTaskHistoryCount); + rpc deleteAllTaskHistory(EmptyRequest) returns (DeleteAllTaskHistoryCount); } // Request message for creating a new task @@ -68,12 +66,6 @@ message TaskResponse { int32 cache_reads = 10; } -// Results returned when deleting non-favorited tasks -message DeleteNonFavoritedTasksResults { - int32 tasks_preserved = 1; - int32 tasks_deleted = 2; -} - // Request for getting task history with filtering message GetTaskHistoryRequest { Metadata metadata = 1; diff --git a/src/api/index.ts b/src/api/index.ts index 99eeb952..3a368b01 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -8,7 +8,6 @@ import { OpenAiHandler } from "./providers/openai" import { OllamaHandler } from "./providers/ollama" import { LmStudioHandler } from "./providers/lmstudio" import { GeminiHandler } from "./providers/gemini" -import { GeminiCliHandler } from "./providers/gemini-cli" import { OpenAiNativeHandler } from "./providers/openai-native" import { ApiStream, ApiStreamUsageChunk } from "./transform/stream" import { DeepSeekHandler } from "./providers/deepseek" @@ -58,8 +57,6 @@ function createHandlerForProvider(apiProvider: string | undefined, options: any) return new LmStudioHandler(options) case "gemini": return new GeminiHandler(options) - case "gemini-cli": - return new GeminiCliHandler(options) case "openai-native": return new OpenAiNativeHandler(options) case "deepseek": diff --git a/src/api/providers/claude-code.ts b/src/api/providers/claude-code.ts index d85f52d3..cca0e442 100644 --- a/src/api/providers/claude-code.ts +++ b/src/api/providers/claude-code.ts @@ -27,6 +27,7 @@ export class ClaudeCodeHandler implements ApiHandler { messages: filteredMessages, path: this.options.claudeCodePath, modelId: this.getModel().id, + thinkingBudgetTokens: this.options.thinkingBudgetTokens, }) // Usage is included with assistant messages, diff --git a/src/api/providers/gemini-cli.ts b/src/api/providers/gemini-cli.ts deleted file mode 100644 index 9cedea10..00000000 --- a/src/api/providers/gemini-cli.ts +++ /dev/null @@ -1,418 +0,0 @@ -/** - * Gemini CLI Provider - OAuth-based API Handler - * - * This implementation provides access to Google's Gemini models through OAuth authentication, - * leveraging the same authentication mechanism as the official Gemini CLI tool. - * - * Attribution: This implementation is inspired by and uses concepts from the Google Gemini CLI, - * which is licensed under the Apache License 2.0. - * Original project: https://github.com/google-gemini/gemini-cli - * - * Copyright 2025 Google LLC - * Licensed under the Apache License, Version 2.0 - * - * Key features: - * - OAuth2 authentication (no API keys required) - * - Auto-discovery of Google Cloud project IDs - * - Real-time streaming via Server-Sent Events - * - Free tier access through Google's Code Assist API - * - Compatible with personal Google accounts only - */ - -import type { Anthropic } from "@anthropic-ai/sdk" -import { OAuth2Client } from "google-auth-library" -import fs from "fs/promises" -import path from "path" -import os from "os" -import * as readline from "readline" -import { Readable } from "stream" -import { ApiHandler } from "../" -import { ApiHandlerOptions, GeminiCliModelId, geminiCliModels, ModelInfo, geminiCliDefaultModelId } from "@shared/api" -import { convertAnthropicMessageToGemini } from "../transform/gemini-format" -import { ApiStream } from "../transform/stream" -import { withRetry } from "../retry" - -const CODE_ASSIST_ENDPOINT = "https://cloudcode-pa.googleapis.com" -const CODE_ASSIST_API_VERSION = "v1internal" - -// OAuth configuration -const OAUTH_CLIENT_ID = "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com" -// Change this line in setup.js: -const OAUTH_CLIENT_SECRET = "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" - -const OAUTH_REDIRECT_URI = "http://localhost:45289" - -interface OAuthCredentials { - access_token: string - refresh_token: string - scope: string - token_type: string - expiry_date: number -} - -interface GeminiCliHandlerOptions extends ApiHandlerOptions { - geminiCliOAuthPath?: string - geminiCliProjectId?: string -} - -/** - * Handler for Google's Gemini API via OAuth (Gemini CLI style). - * - * This provider uses OAuth authentication instead of API keys, making it suitable - * for users who have already authenticated with the Gemini CLI tool. - * It automatically discovers project IDs and works with the free tier. - */ -export class GeminiCliHandler implements ApiHandler { - private options: GeminiCliHandlerOptions - private authClient: OAuth2Client - private projectId: string | null = null - private authInitialized: boolean = false - - constructor(options: GeminiCliHandlerOptions) { - this.options = options - this.authClient = new OAuth2Client(OAUTH_CLIENT_ID, OAUTH_CLIENT_SECRET, OAUTH_REDIRECT_URI) - } - - /** - * Load OAuth credentials from the file system - */ - private async loadOAuthCredentials(): Promise { - const credPath = this.options.geminiCliOAuthPath || path.join(os.homedir(), ".gemini", "oauth_creds.json") - try { - const data = await fs.readFile(credPath, "utf8") - return JSON.parse(data) - } catch (err) { - throw new Error(`Failed to load OAuth credentials from ${credPath}. Please authenticate with 'gemini auth' first.`) - } - } - - /** - * Call a Code Assist API endpoint - */ - private async callEndpoint(method: string, body: any, retryAuth: boolean = true): Promise { - console.log(`[GeminiCLI] Calling endpoint: ${method}`) - console.log(`[GeminiCLI] Request body:`, JSON.stringify(body, null, 2)) - - try { - const res = await this.authClient.request({ - url: `${CODE_ASSIST_ENDPOINT}/${CODE_ASSIST_API_VERSION}:${method}`, - method: "POST", - headers: { - "Content-Type": "application/json", - }, - responseType: "json", - body: JSON.stringify(body), - }) - console.log(`[GeminiCLI] Response status:`, res.status) - console.log(`[GeminiCLI] Response data:`, JSON.stringify(res.data, null, 2)) - return res.data - } catch (error: any) { - console.error(`[GeminiCLI] Error calling ${method}:`, error) - console.error(`[GeminiCLI] Error response:`, error.response?.data) - console.error(`[GeminiCLI] Error status:`, error.response?.status) - console.error(`[GeminiCLI] Error message:`, error.message) - - // If we get a 401 and haven't retried yet, try refreshing auth - if (error.response?.status === 401 && retryAuth) { - console.log(`[GeminiCLI] Got 401, attempting to refresh authentication...`) - await this.initializeAuth(true) // Force refresh - return this.callEndpoint(method, body, false) // Retry without further auth retries - } - - throw error - } - } - - /** - * Discover or retrieve the project ID - */ - private async discoverProjectId(): Promise { - // If we already have a project ID, use it - if (this.options.geminiCliProjectId) { - return this.options.geminiCliProjectId - } - - // If we've already discovered it, return it - if (this.projectId) { - return this.projectId - } - - // Start with a default project ID (can be anything for personal OAuth) - const initialProjectId = "default" - - // Prepare client metadata - const clientMetadata = { - ideType: "IDE_UNSPECIFIED", - platform: "PLATFORM_UNSPECIFIED", - pluginType: "GEMINI", - duetProject: initialProjectId, - } - - try { - // Call loadCodeAssist to discover the actual project ID - const loadRequest = { - cloudaicompanionProject: initialProjectId, - metadata: clientMetadata, - } - - const loadResponse = await this.callEndpoint("loadCodeAssist", loadRequest) - - // Check if we already have a project ID from the response - if (loadResponse.cloudaicompanionProject) { - this.projectId = loadResponse.cloudaicompanionProject - return this.projectId as string - } - - // If no existing project, we need to onboard - const defaultTier = loadResponse.allowedTiers?.find((tier: any) => tier.isDefault) - const tierId = defaultTier?.id || "free-tier" - - const onboardRequest = { - tierId: tierId, - cloudaicompanionProject: initialProjectId, - metadata: clientMetadata, - } - - let lroResponse = await this.callEndpoint("onboardUser", onboardRequest) - - // Poll until operation is complete - while (!lroResponse.done) { - await new Promise((resolve) => setTimeout(resolve, 2000)) - lroResponse = await this.callEndpoint("onboardUser", onboardRequest) - } - - const discoveredProjectId = lroResponse.response?.cloudaicompanionProject?.id || initialProjectId - this.projectId = discoveredProjectId - return this.projectId as string - } catch (error: any) { - console.error("Failed to discover project ID:", error.response?.data || error.message) - throw new Error("Could not discover project ID. Make sure you're authenticated with 'gemini auth'.") - } - } - - /** - * Initialize the OAuth client with credentials - */ - private async initializeAuth(forceRefresh: boolean = false): Promise { - // Check if we need to initialize or refresh - if (this.authInitialized && !forceRefresh) { - // Check if token is still valid - const credentials = this.authClient.credentials - if (credentials && credentials.expiry_date && Date.now() < credentials.expiry_date) { - console.log(`[GeminiCLI] Auth already initialized and token still valid`) - return - } - } - - console.log(`[GeminiCLI] Initializing OAuth authentication...`) - const credentials = await this.loadOAuthCredentials() - const isExpired = credentials.expiry_date ? Date.now() > credentials.expiry_date : false - - console.log(`[GeminiCLI] Loaded credentials:`, { - hasAccessToken: !!credentials.access_token, - hasRefreshToken: !!credentials.refresh_token, - tokenType: credentials.token_type, - expiryDate: credentials.expiry_date, - isExpired: isExpired, - }) - - this.authClient.setCredentials(credentials) - - // If token is expired and we have a refresh token, try to refresh - if (isExpired && credentials.refresh_token) { - console.log(`[GeminiCLI] Token expired, attempting to refresh...`) - try { - const { credentials: newCredentials } = await this.authClient.refreshAccessToken() - console.log(`[GeminiCLI] Token refreshed successfully`) - // Note: In a real implementation, you'd want to save the new credentials back to the file - // For now, we'll just use them in memory - } catch (error) { - console.error(`[GeminiCLI] Failed to refresh token:`, error) - // Continue with the expired token - the API might still accept it - } - } - - this.authInitialized = true - console.log(`[GeminiCLI] OAuth client configured`) - } - - /** - * Parse Server-Sent Events from a stream - */ - private async *parseSSEStream(stream: Readable): AsyncGenerator { - const rl = readline.createInterface({ - input: stream, - crlfDelay: Infinity, - }) - - let bufferedLines: string[] = [] - - for await (const line of rl) { - // Blank lines separate JSON objects in the stream - if (line === "") { - if (bufferedLines.length === 0) { - continue - } - - try { - const jsonData = JSON.parse(bufferedLines.join("\n")) - yield jsonData - } catch (parseError) { - console.error("Error parsing JSON chunk:", parseError) - } - - bufferedLines = [] - } else if (line.startsWith("data: ")) { - bufferedLines.push(line.slice(6).trim()) - } - } - - // Process any remaining buffered content - if (bufferedLines.length > 0) { - try { - const jsonData = JSON.parse(bufferedLines.join("\n")) - yield jsonData - } catch (parseError) { - console.error("Error parsing final buffered content:", parseError) - } - } - } - - /** - * Create a message using the Gemini CLI OAuth API - */ - @withRetry({ - maxRetries: 2, - baseDelay: 2000, - maxDelay: 10000, - }) - async *createMessage(systemPrompt: string, messages: Anthropic.Messages.MessageParam[]): ApiStream { - // Initialize auth if not already done - await this.initializeAuth() - // Discover project ID if needed - const projectId = await this.discoverProjectId() - - // Convert messages to Gemini format - const contents = messages.map(convertAnthropicMessageToGemini) - - // Get the selected model - const { id: modelId, info: modelInfo } = this.getModel() - - // Build the request - const streamRequest = { - model: modelId, - project: projectId, - request: { - contents: [ - { - role: "user", - parts: [{ text: systemPrompt }], - }, - ...contents, - ], - generationConfig: { - temperature: 0.7, - maxOutputTokens: modelInfo.maxTokens || 8192, - }, - }, - } - - let totalContent = "" - let promptTokens = 0 - let outputTokens = 0 - let lastUsageMetadata: any = null - - try { - // Make the streaming request - const response = await this.authClient.request({ - url: `${CODE_ASSIST_ENDPOINT}/${CODE_ASSIST_API_VERSION}:streamGenerateContent`, - method: "POST", - params: { alt: "sse" }, - headers: { - "Content-Type": "application/json", - }, - responseType: "stream", - body: JSON.stringify(streamRequest), - }) - - // Process the SSE stream - for await (const jsonData of this.parseSSEStream(response.data as Readable)) { - // Extract content from the response - const candidate = jsonData.response?.candidates?.[0] - if (candidate?.content?.parts?.[0]?.text) { - const content = candidate.content.parts[0].text - totalContent += content - - // Yield text chunk - yield { - type: "text", - text: content, - } - } - - // Store usage metadata for final reporting - if (jsonData.response?.usageMetadata) { - lastUsageMetadata = jsonData.response.usageMetadata - promptTokens = lastUsageMetadata.promptTokenCount || promptTokens - outputTokens = lastUsageMetadata.candidatesTokenCount || outputTokens - } - - // Check if this is the final chunk - if (candidate?.finishReason) { - break - } - } - - // Yield usage information - if (lastUsageMetadata) { - yield { - type: "usage", - inputTokens: promptTokens, - outputTokens: outputTokens, - totalCost: 0, // Free tier - } - } - } catch (error) { - // Handle rate limit errors similar to the Gemini provider - if (error instanceof Error) { - // Check for rate limit patterns in the error message - const rateLimitPatterns = [ - /got status: 429/i, - /429 Too Many Requests/i, - /rate limit exceeded/i, - /too many requests/i, - /quota exceeded/i, - /resource exhausted/i, - /code 429/i, - ] - - const isRateLimit = rateLimitPatterns.some((pattern) => pattern.test(error.message)) - - if (isRateLimit) { - const rateLimitError = Object.assign(new Error(error.message), { - ...error, - status: 429, - }) - throw rateLimitError - } - } - - // Re-throw the original error if it's not a rate limit error - throw error - } - } - - /** - * Get the model ID and info - */ - getModel(): { id: GeminiCliModelId; info: ModelInfo } { - const modelId = this.options.apiModelId as GeminiCliModelId - if (modelId && modelId in geminiCliModels) { - return { id: modelId, info: geminiCliModels[modelId] } - } - return { - id: geminiCliDefaultModelId, - info: geminiCliModels[geminiCliDefaultModelId], - } - } -} diff --git a/src/api/providers/litellm.ts b/src/api/providers/litellm.ts index 465d6496..3e6eda39 100644 --- a/src/api/providers/litellm.ts +++ b/src/api/providers/litellm.ts @@ -101,21 +101,15 @@ export class LiteLlmHandler implements ApiHandler { return message }) - const requestPayload: OpenAI.Chat.Completions.ChatCompletionCreateParamsStreaming & { - metadata?: { cline_task_id: string } - } = { + const stream = await this.client.chat.completions.create({ model: this.options.liteLlmModelId || liteLlmDefaultModelId, messages: [enhancedSystemMessage, ...enhancedMessages], temperature, stream: true, stream_options: { include_usage: true }, ...(thinkingConfig && { thinking: thinkingConfig }), // Add thinking configuration when applicable - ...(this.options.taskId && { - metadata: { cline_task_id: this.options.taskId }, - }), - } - - const stream = await this.client.chat.completions.create(requestPayload) + ...(this.options.taskId && { litellm_session_id: `cline-${this.options.taskId}` }), // Add session ID for LiteLLM tracking + }) const inputCost = (await this.calculateCost(1e6, 0)) || 0 const outputCost = (await this.calculateCost(0, 1e6)) || 0 diff --git a/src/api/providers/sapaicore.ts b/src/api/providers/sapaicore.ts index e5bcbbac..93724aa4 100644 --- a/src/api/providers/sapaicore.ts +++ b/src/api/providers/sapaicore.ts @@ -122,6 +122,8 @@ export class SapAiCoreHandler implements ApiHandler { const deploymentId = await this.getDeploymentForModel(model.id) const anthropicModels = [ + "anthropic--claude-4-sonnet", + "anthropic--claude-4-opus", "anthropic--claude-3.7-sonnet", "anthropic--claude-3.5-sonnet", "anthropic--claude-3-sonnet", @@ -136,7 +138,11 @@ export class SapAiCoreHandler implements ApiHandler { if (anthropicModels.includes(model.id)) { url = `${this.options.sapAiCoreBaseUrl}/v2/inference/deployments/${deploymentId}/invoke-with-response-stream` - if (model.id === "anthropic--claude-3.7-sonnet") { + if ( + model.id === "anthropic--claude-4-sonnet" || + model.id === "anthropic--claude-4-opus" || + model.id === "anthropic--claude-3.7-sonnet" + ) { url = `${this.options.sapAiCoreBaseUrl}/v2/inference/deployments/${deploymentId}/converse-stream` payload = { inferenceConfig: { @@ -221,7 +227,11 @@ export class SapAiCoreHandler implements ApiHandler { } } else if (openAIModels.includes(model.id)) { yield* this.streamCompletionGPT(response.data, model) - } else if (model.id === "anthropic--claude-3.7-sonnet") { + } else if ( + model.id === "anthropic--claude-4-sonnet" || + model.id === "anthropic--claude-4-opus" || + model.id === "anthropic--claude-3.7-sonnet" + ) { yield* this.streamCompletionSonnet37(response.data, model) } else { yield* this.streamCompletion(response.data, model) diff --git a/src/core/assistant-message/diff.test.ts b/src/core/assistant-message/diff.test.ts index f821086d..6d4be061 100644 --- a/src/core/assistant-message/diff.test.ts +++ b/src/core/assistant-message/diff.test.ts @@ -156,6 +156,45 @@ replaced expected: "line2\nreplaced\nline4", isFinal: true, }, + { + name: "malformed diff - missing separator", + original: "line1\nline2\nline3", + diff: `------- SEARCH +line2 ++++++++ REPLACE +replaced`, + shouldThrow: true, + }, + { + name: "malformed diff - trailing space on separator", + original: "line1\nline2\nline3", + diff: `------- SEARCH +line2 +======= +replaced ++++++++ REPLACE`, + shouldThrow: true, + }, + { + name: "malformed diff - double replace markers", + original: "line1\nline2\nline3", + diff: `------- SEARCH +line2 ++++++++ REPLACE +first replacement ++++++++ REPLACE`, + shouldThrow: true, + }, + { + name: "malformed diff - malformed separator with dashes", + original: "line1\nline2\nline3", + diff: `------- SEARCH +line2 +------- ======= +replaced ++++++++ REPLACE`, + shouldThrow: true, + }, ] //.filter(({name}) => name === "multiple ordered replacements") //.filter(({name}) => name === "delete then replace") diff --git a/src/core/assistant-message/diff.ts b/src/core/assistant-message/diff.ts index f5696fc6..6fe10a39 100644 --- a/src/core/assistant-message/diff.ts +++ b/src/core/assistant-message/diff.ts @@ -380,6 +380,10 @@ async function constructNewFileContentV1(diffContent: string, originalContent: s if (isReplaceBlockEnd(line)) { // Finished one replace block + if (searchMatchIndex === -1) { + throw new Error(`The SEARCH block:\n${currentSearchContent.trimEnd()}\n...is malformatted.`) + } + // Store this replacement replacements.push({ start: searchMatchIndex, diff --git a/src/core/context/context-tracking/FileContextTracker.test.ts b/src/core/context/context-tracking/FileContextTracker.test.ts index f5fe6587..27fea102 100644 --- a/src/core/context/context-tracking/FileContextTracker.test.ts +++ b/src/core/context/context-tracking/FileContextTracker.test.ts @@ -6,6 +6,9 @@ import * as path from "path" import { FileContextTracker } from "./FileContextTracker" import * as diskModule from "@core/storage/disk" import type { TaskMetadata, FileMetadataEntry } from "./ContextTrackerTypes" +import type { WebviewProviderCreator } from "@/hosts/host-providers" +import * as hostProviders from "@hosts/host-providers" +import { vscodeHostBridgeClient } from "@/hosts/vscode/client/host-grpc-client" describe("FileContextTracker", () => { let sandbox: sinon.SinonSandbox @@ -37,7 +40,6 @@ describe("FileContextTracker", () => { } // Use a function replacement instead of a direct stub - const originalCreateFileSystemWatcher = vscode.workspace.createFileSystemWatcher vscode.workspace.createFileSystemWatcher = function () { return mockFileSystemWatcher } @@ -51,6 +53,7 @@ describe("FileContextTracker", () => { mockTaskMetadata = { files_in_context: [], model_usage: [] } getTaskMetadataStub = sandbox.stub(diskModule, "getTaskMetadata").resolves(mockTaskMetadata) saveTaskMetadataStub = sandbox.stub(diskModule, "saveTaskMetadata").resolves() + hostProviders.initializeHostProviders(((_) => {}) as WebviewProviderCreator, vscodeHostBridgeClient) // Create tracker instance taskId = "test-task-id" diff --git a/src/core/context/context-tracking/FileContextTracker.ts b/src/core/context/context-tracking/FileContextTracker.ts index 26c70b10..14f7d4ce 100644 --- a/src/core/context/context-tracking/FileContextTracker.ts +++ b/src/core/context/context-tracking/FileContextTracker.ts @@ -5,6 +5,8 @@ import { getWorkspaceState, updateWorkspaceState } from "@core/storage/state" import { getGlobalState } from "@core/storage/state" import type { FileMetadataEntry } from "./ContextTrackerTypes" import type { ClineMessage } from "@shared/ExtensionMessage" +import { getHostBridgeProvider } from "@/hosts/host-providers" +import { getCwd } from "@/utils/path" // This class is responsible for tracking file operations that may result in stale context. // If a user modifies a file outside of Cline, the context may become stale and need to be updated. @@ -37,8 +39,8 @@ export class FileContextTracker { /** * Gets the current working directory or returns undefined if it cannot be determined */ - private getCwd(): string | undefined { - const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) + private async getCwd(): Promise { + const cwd = await getCwd(undefined) if (!cwd) { console.info("No workspace folder available - cannot determine current working directory") } @@ -54,7 +56,7 @@ export class FileContextTracker { return } - const cwd = this.getCwd() + const cwd = await this.getCwd() if (!cwd) { return } @@ -85,7 +87,7 @@ export class FileContextTracker { */ async trackFileContext(filePath: string, operation: "read_tool" | "user_edited" | "cline_edited" | "file_mentioned") { try { - const cwd = this.getCwd() + const cwd = await this.getCwd() if (!cwd) { return } diff --git a/src/core/controller/file/copyToClipboard.ts b/src/core/controller/file/copyToClipboard.ts index 156fa82c..d825cda4 100644 --- a/src/core/controller/file/copyToClipboard.ts +++ b/src/core/controller/file/copyToClipboard.ts @@ -1,6 +1,7 @@ import * as vscode from "vscode" import { Controller } from ".." import { Empty, StringRequest } from "../../../shared/proto/common" +import { writeTextToClipboard } from "@/utils/env" /** * Copies text to the system clipboard @@ -11,7 +12,7 @@ import { Empty, StringRequest } from "../../../shared/proto/common" export async function copyToClipboard(controller: Controller, request: StringRequest): Promise { try { if (request.value) { - await vscode.env.clipboard.writeText(request.value) + await writeTextToClipboard(request.value) } } catch (error) { console.error("Error copying to clipboard:", error) diff --git a/src/core/controller/file/deleteRuleFile.ts b/src/core/controller/file/deleteRuleFile.ts index 1a911869..d0ee0a78 100644 --- a/src/core/controller/file/deleteRuleFile.ts +++ b/src/core/controller/file/deleteRuleFile.ts @@ -1,13 +1,9 @@ -import { Controller } from ".." -import { RuleFileRequest, RuleFile } from "@shared/proto/file" -import { FileMethodHandler } from "./index" -import { refreshClineRulesToggles } from "@core/context/instructions/user-instructions/cline-rules" import { deleteRuleFile as deleteRuleFileImpl } from "@core/context/instructions/user-instructions/rule-helpers" -import { refreshExternalRulesToggles } from "@core/context/instructions/user-instructions/external-rules" -import { refreshWorkflowToggles } from "@core/context/instructions/user-instructions/workflows" -import * as vscode from "vscode" +import { RuleFile, RuleFileRequest } from "@shared/proto/file" import * as path from "path" -import { cwd } from "@core/task" +import * as vscode from "vscode" +import { Controller } from ".." +import { FileMethodHandler } from "./index" /** * Deletes a rule file from either global or workspace rules directory diff --git a/src/core/controller/file/getRelativePaths.ts b/src/core/controller/file/getRelativePaths.ts index 684bbce3..bda41ca2 100644 --- a/src/core/controller/file/getRelativePaths.ts +++ b/src/core/controller/file/getRelativePaths.ts @@ -3,7 +3,7 @@ import { RelativePathsRequest, RelativePaths } from "@shared/proto/file" import { FileMethodHandler } from "./index" import * as vscode from "vscode" import * as path from "path" -import { Metadata, StringRequest } from "@shared/proto/common" +import { StringRequest } from "@shared/proto/common" import { getHostBridgeProvider } from "@hosts/host-providers" /** @@ -22,7 +22,6 @@ export const getRelativePaths: FileMethodHandler = async ( // Use the host URI service client instead of directly using vscode.Uri.parse const parseResponse = await getHostBridgeProvider().uriServiceClient.parse( StringRequest.create({ - metadata: Metadata.create({}), value: uriString, }), ) diff --git a/src/core/controller/file/openMention.ts b/src/core/controller/file/openMention.ts index ad996e47..8d152419 100644 --- a/src/core/controller/file/openMention.ts +++ b/src/core/controller/file/openMention.ts @@ -8,7 +8,7 @@ import { openMention as coreOpenMention } from "../../mentions" * @param request The string request containing the mention text * @returns Empty response */ -export async function openMention(controller: Controller, request: StringRequest): Promise { +export async function openMention(_controller: Controller, request: StringRequest): Promise { coreOpenMention(request.value) return Empty.create() } diff --git a/src/core/controller/file/searchCommits.ts b/src/core/controller/file/searchCommits.ts index 772be381..7665f292 100644 --- a/src/core/controller/file/searchCommits.ts +++ b/src/core/controller/file/searchCommits.ts @@ -13,7 +13,7 @@ import { convertGitCommitsToProtoGitCommits } from "@shared/proto-conversions/fi * @returns GitCommits containing the matching commits */ export const searchCommits: FileMethodHandler = async (controller: Controller, request: StringRequest): Promise => { - const cwd = getWorkspacePath() + const cwd = await getWorkspacePath() if (!cwd) { return GitCommits.create({ commits: [] }) } diff --git a/src/core/controller/file/searchFiles.ts b/src/core/controller/file/searchFiles.ts index f68fb254..fe482e24 100644 --- a/src/core/controller/file/searchFiles.ts +++ b/src/core/controller/file/searchFiles.ts @@ -12,10 +12,10 @@ import { convertSearchResultsToProtoFileInfos } from "@shared/proto-conversions/ * @returns Results containing matching files/folders */ export const searchFiles: FileMethodHandler = async ( - controller: Controller, + _controller: Controller, request: FileSearchRequest, ): Promise => { - const workspacePath = getWorkspacePath() + const workspacePath = await getWorkspacePath() if (!workspacePath) { // Handle case where workspace path is not available diff --git a/src/core/controller/grpc-service.ts b/src/core/controller/grpc-service.ts index 23cb54ba..aa9d4a33 100644 --- a/src/core/controller/grpc-service.ts +++ b/src/core/controller/grpc-service.ts @@ -37,6 +37,7 @@ export class ServiceRegistry { * @param serviceName The name of the service (used for logging) */ constructor(serviceName: string) { + console.log(`Registering Protobus service: ${serviceName}...`) this.serviceName = serviceName } @@ -56,7 +57,6 @@ export class ServiceRegistry { } this.methodMetadata[methodName] = { isStreaming, ...metadata } - console.log(`Registered ${this.serviceName} method: ${methodName}${isStreaming ? " (streaming)" : ""}`) } /** diff --git a/src/core/controller/index.ts b/src/core/controller/index.ts index 75d15461..0b03a6cf 100644 --- a/src/core/controller/index.ts +++ b/src/core/controller/index.ts @@ -1,31 +1,31 @@ +import { telemetryService } from "@/services/posthog/telemetry/TelemetryService" +import { getCwd } from "@/utils/path" import { Anthropic } from "@anthropic-ai/sdk" +import { buildApiHandler } from "@api/index" +import { cleanupLegacyCheckpoints } from "@integrations/checkpoints/CheckpointMigration" +import { extractCommitMessage } from "@integrations/git/commit-message-generator" +import { downloadTask } from "@integrations/misc/export-markdown" +import WorkspaceTracker from "@integrations/workspace/WorkspaceTracker" +import { ClineAccountService } from "@services/account/ClineAccountService" +import { McpHub } from "@services/mcp/McpHub" +import { ApiProvider, ModelInfo } from "@shared/api" +import { ChatContent } from "@shared/ChatContent" +import { ChatSettings, StoredChatSettings } from "@shared/ChatSettings" +import { ClineRulesToggles } from "@shared/cline-rules" +import { ExtensionMessage, ExtensionState, Platform } from "@shared/ExtensionMessage" +import { HistoryItem } from "@shared/HistoryItem" +import { McpMarketplaceCatalog } from "@shared/mcp" +import { TelemetrySetting } from "@shared/TelemetrySetting" +import { UserInfo } from "@shared/UserInfo" +import { WebviewMessage } from "@shared/WebviewMessage" +import { fileExistsAtPath } from "@utils/fs" +import { getWorkingState } from "@utils/git" import axios from "axios" -import { v4 as uuidv4 } from "uuid" import fs from "fs/promises" import { setTimeout as setTimeoutPromise } from "node:timers/promises" import pWaitFor from "p-wait-for" import * as path from "path" import * as vscode from "vscode" -import { handleGrpcRequest, handleGrpcRequestCancel } from "./grpc-handler" -import { buildApiHandler } from "@api/index" -import { cleanupLegacyCheckpoints } from "@integrations/checkpoints/CheckpointMigration" -import { downloadTask } from "@integrations/misc/export-markdown" -import WorkspaceTracker from "@integrations/workspace/WorkspaceTracker" -import { ClineAccountService } from "@services/account/ClineAccountService" -import { McpHub } from "@services/mcp/McpHub" -import { telemetryService } from "@/services/posthog/telemetry/TelemetryService" -import { ApiProvider, ModelInfo } from "@shared/api" -import { ChatContent } from "@shared/ChatContent" -import { ChatSettings, StoredChatSettings } from "@shared/ChatSettings" -import { ExtensionMessage, ExtensionState, Platform } from "@shared/ExtensionMessage" -import { HistoryItem } from "@shared/HistoryItem" -import { McpMarketplaceCatalog } from "@shared/mcp" -import { UserInfo } from "@shared/UserInfo" -import { TelemetrySetting } from "@shared/TelemetrySetting" -import { WebviewMessage } from "@shared/WebviewMessage" -import { fileExistsAtPath } from "@utils/fs" -import { getWorkingState } from "@utils/git" -import { extractCommitMessage } from "@integrations/git/commit-message-generator" import { ensureMcpServersDirectoryExists, ensureSettingsDirectoryExists, GlobalFileNames } from "../storage/disk" import { getAllExtensionState, @@ -33,20 +33,16 @@ import { getSecret, getWorkspaceState, storeSecret, - updateApiConfiguration, updateGlobalState, updateWorkspaceState, } from "../storage/state" import { Task } from "../task" -import { ClineRulesToggles } from "@shared/cline-rules" +import { sendAuthCallbackEvent } from "./account/subscribeToAuthCallback" +import { handleGrpcRequest, handleGrpcRequestCancel } from "./grpc-handler" +import { sendMcpMarketplaceCatalogEvent } from "./mcp/subscribeToMcpMarketplaceCatalog" import { sendStateUpdate } from "./state/subscribeToState" import { sendAddToInputEvent } from "./ui/subscribeToAddToInput" -import { sendAuthCallbackEvent } from "./account/subscribeToAuthCallback" import { SSYAccountService } from "../../services/account/SSYAccountService" -import { sendMcpMarketplaceCatalogEvent } from "./mcp/subscribeToMcpMarketplaceCatalog" -import { sendRelinquishControlEvent } from "./ui/subscribeToRelinquishControl" -import { handleTaskServiceRequest } from "./task" -import { BooleanRequest } from "@shared/proto/common" import { sendSSYAuthCallbackEvent } from "./account/subscribeSSYAuthCallback" /* @@ -85,17 +81,15 @@ export class Controller { (msg) => this.postMessageToWebview(msg), this.context.extension?.packageJSON?.version ?? "1.0.0", ) - this.accountService = new ClineAccountService( - (msg) => this.postMessageToWebview(msg), - async () => { - const { apiConfiguration } = await this.getStateToPostToWebview() - return apiConfiguration?.clineApiKey - }, - ) this.accountServiceSSY = new SSYAccountService(async () => { const { apiConfiguration } = await this.getStateToPostToWebview() return apiConfiguration?.shengSuanYunToken }) + this.accountService = new ClineAccountService(async () => { + const { apiConfiguration } = await this.getStateToPostToWebview() + return apiConfiguration?.clineApiKey + }) + // Clean up legacy checkpoints cleanupLegacyCheckpoints(this.context.globalStorageUri.fsPath, this.outputChannel).catch((error) => { console.error("Failed to cleanup legacy checkpoints:", error) @@ -181,7 +175,6 @@ export class Controller { this.workspaceTracker, (historyItem) => this.updateTaskHistory(historyItem), () => this.postStateToWebview(), - (message) => this.postMessageToWebview(message), (taskId) => this.reinitExistingTaskFromId(taskId), () => this.cancelTask(), apiConfiguration, @@ -245,6 +238,7 @@ export class Controller { await updateGlobalState(this.context, "telemetrySetting", telemetrySetting) const isOptedIn = telemetrySetting !== "disabled" telemetryService.updateTelemetryState(isOptedIn) + await this.postStateToWebview() } async togglePlanActModeWithChatSettings(chatSettings: ChatSettings, chatContent?: ChatContent): Promise { @@ -741,8 +735,8 @@ export class Controller { // Context menus and code actions - getFileMentionFromPath(filePath: string) { - const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) + async getFileMentionFromPath(filePath: string) { + const cwd = await getCwd() if (!cwd) { return "@/" + filePath } @@ -757,7 +751,7 @@ export class Controller { await setTimeoutPromise(100) // Post message to webview with the selected code - const fileMention = this.getFileMentionFromPath(filePath) + const fileMention = await this.getFileMentionFromPath(filePath) let input = `${fileMention}\n\`\`\`\n${code}\n\`\`\`` if (diagnostics) { @@ -794,7 +788,7 @@ export class Controller { await vscode.commands.executeCommand("ClineShengsuan.SidebarProvider.focus") await setTimeoutPromise(100) - const fileMention = this.getFileMentionFromPath(filePath) + const fileMention = await this.getFileMentionFromPath(filePath) const problemsString = this.convertDiagnosticsToProblemsString(diagnostics) await this.initTask(`Fix the following code in ${fileMention}\n\`\`\`\n${code}\n\`\`\`\n\nProblems:\n${problemsString}`) @@ -910,6 +904,7 @@ export class Controller { terminalReuseEnabled, defaultTerminalProfile, isNewUser, + welcomeViewCompleted, mcpResponsesCollapsed, terminalOutputLineLimit, } = await getAllExtensionState(this.context) @@ -964,6 +959,7 @@ export class Controller { terminalReuseEnabled, defaultTerminalProfile, isNewUser, + welcomeViewCompleted: welcomeViewCompleted as boolean, // Can be undefined but is set to either true or false by the migration that runs on extension launch in extension.ts mcpResponsesCollapsed, terminalOutputLineLimit, } @@ -973,7 +969,7 @@ export class Controller { if (this.task) { await telemetryService.sendCollectedEvents(this.task.taskId) } - this.task?.abortTask() + await this.task?.abortTask() this.task = undefined // removes reference to it, so once promises end it will be garbage collected } @@ -1046,7 +1042,7 @@ export class Controller { async generateGitCommitMessage() { try { // Check if there's a workspace folder open - const cwd = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath + const cwd = await getCwd() if (!cwd) { vscode.window.showErrorMessage("没有打开工作目录") return diff --git a/src/core/controller/state/setWelcomeViewCompleted.ts b/src/core/controller/state/setWelcomeViewCompleted.ts new file mode 100644 index 00000000..a3bb52e1 --- /dev/null +++ b/src/core/controller/state/setWelcomeViewCompleted.ts @@ -0,0 +1,25 @@ +import type { BooleanRequest } from "../../../shared/proto/common" +import { Empty } from "../../../shared/proto/common" +import type { Controller } from "../index" +import { updateGlobalState } from "../../storage/state" + +/** + * Sets the welcomeViewCompleted flag to the specified boolean value + * @param controller The controller instance + * @param request The boolean request containing the value to set + * @returns Empty response + */ +export async function setWelcomeViewCompleted(controller: Controller, request: BooleanRequest): Promise { + try { + // Update the global state to set welcomeViewCompleted to the requested value + await updateGlobalState(controller.context, "welcomeViewCompleted", request.value) + + await controller.postStateToWebview() + + console.log(`Welcome view completed set to: ${request.value}`) + return Empty.create({}) + } catch (error) { + console.error("Failed to set welcome view completed:", error) + throw error + } +} diff --git a/src/core/controller/state/updateAutoApprovalSettings.ts b/src/core/controller/state/updateAutoApprovalSettings.ts index cc38e230..cab4ca3c 100644 --- a/src/core/controller/state/updateAutoApprovalSettings.ts +++ b/src/core/controller/state/updateAutoApprovalSettings.ts @@ -22,7 +22,7 @@ export async function updateAutoApprovalSettings(controller: Controller, request await updateGlobalState(controller.context, "autoApprovalSettings", settings) if (controller.task) { - controller.task.autoApprovalSettings = settings + controller.task.updateAutoApprovalSettings(settings) } await controller.postStateToWebview() diff --git a/src/core/controller/task/deleteAllTaskHistory.ts b/src/core/controller/task/deleteAllTaskHistory.ts index d05996c3..b6491fcf 100644 --- a/src/core/controller/task/deleteAllTaskHistory.ts +++ b/src/core/controller/task/deleteAllTaskHistory.ts @@ -2,7 +2,6 @@ import path from "path" import fs from "fs/promises" import { Controller } from ".." import { DeleteAllTaskHistoryCount } from "../../../shared/proto/task" -import { BooleanRequest } from "../../../shared/proto/common" import { getGlobalState, updateGlobalState } from "../../storage/state" import { fileExistsAtPath } from "../../../utils/fs" import vscode from "vscode" @@ -13,7 +12,7 @@ import vscode from "vscode" * @param request Request with option to preserve favorites * @returns Results with count of deleted tasks */ -export async function deleteAllTaskHistory(controller: Controller, request: BooleanRequest): Promise { +export async function deleteAllTaskHistory(controller: Controller): Promise { try { // Clear current task first await controller.clearTask() @@ -22,8 +21,22 @@ export async function deleteAllTaskHistory(controller: Controller, request: Bool const taskHistory = ((await getGlobalState(controller.context, "taskHistory")) as any[]) || [] const totalTasks = taskHistory.length + const userChoice = await vscode.window.showWarningMessage( + "What would you like to delete?", + { modal: true }, + "Delete All Except Favorites", + "Delete Everything", + ) + + // Default VS Code Cancel button returns `undefined` - don't delete anything + if (userChoice === undefined) { + return DeleteAllTaskHistoryCount.create({ + tasksDeleted: 0, + }) + } + // If preserving favorites, filter out non-favorites - if (request.value) { + if (userChoice === "Delete All Except Favorites") { const favoritedTasks = taskHistory.filter((task) => task.isFavorited === true) // If there are favorited tasks, update state @@ -45,9 +58,20 @@ export async function deleteAllTaskHistory(controller: Controller, request: Bool tasksDeleted: totalTasks - favoritedTasks.length, }) } else { - return DeleteAllTaskHistoryCount.create({ - tasksDeleted: 0, - }) + // No favorited tasks found - show warning and ask user what to do + const answer = await vscode.window.showWarningMessage( + "No favorited tasks found. Would you like to delete all tasks anyway?", + { modal: true }, + "Delete All Tasks", + ) + + // User cancelled - don't delete anything + if (answer === undefined) { + return DeleteAllTaskHistoryCount.create({ + tasksDeleted: 0, + }) + } + // If user chose "Delete All Tasks", fall through to the `delete everything` section below } } diff --git a/src/core/controller/task/deleteNonFavoritedTasks.ts b/src/core/controller/task/deleteNonFavoritedTasks.ts deleted file mode 100644 index 2f7bb92b..00000000 --- a/src/core/controller/task/deleteNonFavoritedTasks.ts +++ /dev/null @@ -1,88 +0,0 @@ -import path from "path" -import fs from "fs/promises" -import { Controller } from ".." -import { EmptyRequest } from "../../../shared/proto/common" -import { DeleteNonFavoritedTasksResults } from "../../../shared/proto/task" -import { getGlobalState, updateGlobalState } from "../../storage/state" -import { fileExistsAtPath } from "../../../utils/fs" - -/** - * Deletes all non-favorited tasks, preserving only favorited ones - * @param controller The controller instance - * @param request Empty request - * @returns DeleteNonFavoritedTasksResults with counts of preserved and deleted tasks - */ -export async function deleteNonFavoritedTasks( - controller: Controller, - _request: EmptyRequest, -): Promise { - try { - // Clear current task first - await controller.clearTask() - - // Get existing task history - const taskHistory = ((await getGlobalState(controller.context, "taskHistory")) as any[]) || [] - - // Filter out non-favorited tasks - const favoritedTasks = taskHistory.filter((task) => task.isFavorited === true) - const deletedCount = taskHistory.length - favoritedTasks.length - - console.log(`[deleteNonFavoritedTasks] Found ${favoritedTasks.length} favorited tasks to preserve`) - - // Update global state - if (favoritedTasks.length > 0) { - await updateGlobalState(controller.context, "taskHistory", favoritedTasks) - } else { - await updateGlobalState(controller.context, "taskHistory", undefined) - } - - // Handle file system cleanup for deleted tasks - const preserveTaskIds = favoritedTasks.map((task) => task.id) - await cleanupTaskFiles(controller, preserveTaskIds) - - // Update webview - try { - await controller.postStateToWebview() - } catch (webviewErr) { - console.error("Error posting to webview:", webviewErr) - } - - return DeleteNonFavoritedTasksResults.create({ - tasksPreserved: favoritedTasks.length, - tasksDeleted: deletedCount, - }) - } catch (error) { - console.error("Error in deleteNonFavoritedTasks:", error) - throw error - } -} - -/** - * Helper function to cleanup task files while preserving specified tasks - */ -async function cleanupTaskFiles(controller: Controller, preserveTaskIds: string[]) { - const taskDirPath = path.join(controller.context.globalStorageUri.fsPath, "tasks") - - try { - if (await fileExistsAtPath(taskDirPath)) { - if (preserveTaskIds.length > 0) { - const taskDirs = await fs.readdir(taskDirPath) - console.debug(`[cleanupTaskFiles] Found ${taskDirs.length} task directories`) - - // Delete only non-preserved task directories - for (const dir of taskDirs) { - if (!preserveTaskIds.includes(dir)) { - await fs.rm(path.join(taskDirPath, dir), { recursive: true, force: true }) - } - } - } else { - // No tasks to preserve, delete everything - await fs.rm(taskDirPath, { recursive: true, force: true }) - } - } - } catch (error) { - console.error("Error cleaning up task files:", error) - } - - return true -} diff --git a/src/core/controller/task/deleteTasksWithIds.ts b/src/core/controller/task/deleteTasksWithIds.ts index b63fc1a2..406f742f 100644 --- a/src/core/controller/task/deleteTasksWithIds.ts +++ b/src/core/controller/task/deleteTasksWithIds.ts @@ -1,5 +1,6 @@ import path from "path" import fs from "fs/promises" +import vscode from "vscode" import { Controller } from ".." import { Empty, StringArrayRequest, BooleanRequest } from "../../../shared/proto/common" import { TaskMethodHandler } from "./index" @@ -20,6 +21,18 @@ export const deleteTasksWithIds: TaskMethodHandler = async ( throw new Error("Missing task IDs") } + const taskCount = request.value.length + const message = + taskCount === 1 + ? "Are you sure you want to delete this task? This action cannot be undone." + : `Are you sure you want to delete these ${taskCount} tasks? This action cannot be undone.` + + const userChoice = await vscode.window.showWarningMessage(message, { modal: true }, "Delete") + + if (userChoice === undefined) { + return Empty.create() + } + for (const id of request.value) { await deleteTaskWithId(controller, id) } diff --git a/src/core/controller/task/getTaskHistory.ts b/src/core/controller/task/getTaskHistory.ts index a9c73433..90c0d659 100644 --- a/src/core/controller/task/getTaskHistory.ts +++ b/src/core/controller/task/getTaskHistory.ts @@ -15,7 +15,7 @@ export async function getTaskHistory(controller: Controller, request: GetTaskHis // Get task history from global state const taskHistory = ((await getGlobalState(controller.context, "taskHistory")) as any[]) || [] - const workspacePath = getWorkspacePath() + const workspacePath = await getWorkspacePath() // Apply filters let filteredTasks = taskHistory.filter((item) => { diff --git a/src/core/mentions/index.ts b/src/core/mentions/index.ts index 1a8abcd3..25bb93d9 100644 --- a/src/core/mentions/index.ts +++ b/src/core/mentions/index.ts @@ -11,13 +11,14 @@ import { getLatestTerminalOutput } from "@integrations/terminal/get-latest-outpu import { getCommitInfo } from "@utils/git" import { getWorkingState } from "@utils/git" import { FileContextTracker } from "../context/context-tracking/FileContextTracker" +import { getCwd } from "@/utils/path" -export function openMention(mention?: string): void { +export async function openMention(mention?: string): Promise { if (!mention) { return } - const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) + const cwd = await getCwd() if (!cwd) { return } diff --git a/src/core/prompts/model_prompts/claude4-experimental.ts b/src/core/prompts/model_prompts/claude4-experimental.ts index d18a5f01..84599243 100644 --- a/src/core/prompts/model_prompts/claude4-experimental.ts +++ b/src/core/prompts/model_prompts/claude4-experimental.ts @@ -234,10 +234,9 @@ In each user message, the environment_details will specify the current mode. The ## What is PLAN MODE? - While you are usually in ACT MODE, the user may switch to PLAN MODE in order to have a back and forth with you to plan how to best accomplish the task. -- When starting in PLAN MODE, depending on the user's request, you may need to do some information gathering e.g. using ${readTool.name} or ${grepToolDefinition.name} to get more context about the task. You may also ask the user clarifying questions to get a better understanding of the task. You may return mermaid diagrams to visually display your understanding. -- Once you've gained more context about the user's request, you should architect a detailed plan for how you will accomplish the task. Returning mermaid diagrams may be helpful here as well. +- When starting in PLAN MODE, depending on the user's request, you may need to do some information gathering e.g. using ${readTool.name} or ${grepToolDefinition.name} to get more context about the task. You may also ask the user clarifying questions to get a better understanding of the task. +- Once you've gained more context about the user's request, you should architect a detailed plan for how you will accomplish the task. - Then you might ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it. -- If at any point a mermaid diagram would make your plan clearer to help the user quickly see the structure, you are encouraged to include a Mermaid code block in the response. (Note: if you use colors in your mermaid diagrams, be sure to use high contrast colors so the text is readable.) - Finally once it seems like you've reached a good plan, ask the user to switch you back to ACT MODE to implement the solution. ==== @@ -257,7 +256,6 @@ CAPABILITIES : "" } - You have access to MCP servers that may provide additional tools and resources. Each server may provide different capabilities that you can use to accomplish tasks more effectively. -- You can use LaTeX syntax in your responses to render mathematical expressions ==== diff --git a/src/core/prompts/model_prompts/claude4.ts b/src/core/prompts/model_prompts/claude4.ts index bf9cde1a..cd6fc32b 100644 --- a/src/core/prompts/model_prompts/claude4.ts +++ b/src/core/prompts/model_prompts/claude4.ts @@ -574,10 +574,9 @@ In each user message, the environment_details will specify the current mode. The ## What is PLAN MODE? - While you are usually in ACT MODE, the user may switch to PLAN MODE in order to have a back and forth with you to plan how to best accomplish the task. -- When starting in PLAN MODE, depending on the user's request, you may need to do some information gathering e.g. using read_file or search_files to get more context about the task. You may also ask the user clarifying questions with ask_followup_question to get a better understanding of the task. You may return mermaid diagrams to visually display your understanding. -- Once you've gained more context about the user's request, you should architect a detailed plan for how you will accomplish the task. Returning mermaid diagrams may be helpful here as well. Present the plan to the user using the plan_mode_respond tool. +- When starting in PLAN MODE, depending on the user's request, you may need to do some information gathering e.g. using read_file or search_files to get more context about the task. You may also ask the user clarifying questions with ask_followup_question to get a better understanding of the task. +- Once you've gained more context about the user's request, you should architect a detailed plan for how you will accomplish the task. Present the plan to the user using the plan_mode_respond tool. - Then you might ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it. -- If at any point a mermaid diagram would make your plan clearer to help the user quickly see the structure, you are encouraged to include a Mermaid code block in the response. (Note: if you use colors in your mermaid diagrams, be sure to use high contrast colors so the text is readable.) - Finally once it seems like you've reached a good plan, ask the user to switch you back to ACT MODE to implement the solution. ==== @@ -597,7 +596,6 @@ CAPABILITIES : "" } - You have access to MCP servers that may provide additional tools and resources. Each server may provide different capabilities that you can use to accomplish tasks more effectively. -- You can use LaTeX syntax in your responses to render mathematical expressions ==== diff --git a/src/core/prompts/responses.ts b/src/core/prompts/responses.ts index 6284e795..9f970460 100644 --- a/src/core/prompts/responses.ts +++ b/src/core/prompts/responses.ts @@ -35,6 +35,9 @@ Otherwise, if you have not completed the task and do not need additional informa tooManyMistakes: (feedback?: string) => `You seem to be having trouble proceeding. The user has provided the following feedback to help guide you:\n\n${feedback}\n`, + autoApprovalMaxReached: (feedback?: string) => + `Auto-approval limit reached. The user has provided the following feedback to help guide you:\n\n${feedback}\n`, + missingToolParameterError: (paramName: string) => `Missing value for required parameter '${paramName}'. Please retry with complete response.\n\n${toolUseInstructionsReminder}`, diff --git a/src/core/prompts/system.ts b/src/core/prompts/system.ts index cd63d340..968cfe5a 100644 --- a/src/core/prompts/system.ts +++ b/src/core/prompts/system.ts @@ -568,10 +568,9 @@ In each user message, the environment_details will specify the current mode. The ## What is PLAN MODE? - While you are usually in ACT MODE, the user may switch to PLAN MODE in order to have a back and forth with you to plan how to best accomplish the task. -- When starting in PLAN MODE, depending on the user's request, you may need to do some information gathering e.g. using read_file or search_files to get more context about the task. You may also ask the user clarifying questions to get a better understanding of the task. You may return mermaid diagrams to visually display your understanding. -- Once you've gained more context about the user's request, you should architect a detailed plan for how you will accomplish the task. Returning mermaid diagrams may be helpful here as well. +- When starting in PLAN MODE, depending on the user's request, you may need to do some information gathering e.g. using read_file or search_files to get more context about the task. You may also ask the user clarifying questions to get a better understanding of the task. +- Once you've gained more context about the user's request, you should architect a detailed plan for how you will accomplish the task. - Then you might ask the user if they are pleased with this plan, or if they would like to make any changes. Think of this as a brainstorming session where you can discuss the task and plan the best way to accomplish it. -- If at any point a mermaid diagram would make your plan clearer to help the user quickly see the structure, you are encouraged to include a Mermaid code block in the response. (Note: if you use colors in your mermaid diagrams, be sure to use high contrast colors so the text is readable.) - Finally once it seems like you've reached a good plan, ask the user to switch you back to ACT MODE to implement the solution. ==== @@ -591,7 +590,6 @@ CAPABILITIES : "" } - You have access to MCP servers that may provide additional tools and resources. Each server may provide different capabilities that you can use to accomplish tasks more effectively. -- You can use LaTeX syntax in your responses to render mathematical expressions ==== diff --git a/src/core/storage/state-keys.ts b/src/core/storage/state-keys.ts index 2994d14a..bc91819b 100644 --- a/src/core/storage/state-keys.ts +++ b/src/core/storage/state-keys.ts @@ -75,6 +75,7 @@ export type GlobalStateKey = | "shengSuanYunToken" | "shengSuanYunModelId" | "shengSuanYunModelInfo" + | "welcomeViewCompleted" | "terminalOutputLineLimit" | "mcpRichDisplayEnabled" | "sapAiCoreTokenUrl" diff --git a/src/core/storage/state-migrations.ts b/src/core/storage/state-migrations.ts index 1c957ecb..327ac5b4 100644 --- a/src/core/storage/state-migrations.ts +++ b/src/core/storage/state-migrations.ts @@ -2,7 +2,7 @@ import * as vscode from "vscode" import { ensureRulesDirectoryExists } from "./disk" import fs from "fs/promises" import path from "path" -import { getGlobalState, getWorkspaceState, updateGlobalState, updateWorkspaceState } from "./state" +import { getGlobalState, getWorkspaceState, updateGlobalState, updateWorkspaceState, getAllExtensionState } from "./state" import { GlobalStateKey } from "./state-keys" export async function migratePlanActGlobalToWorkspaceStorage(context: vscode.ExtensionContext) { @@ -145,3 +145,55 @@ export async function migrateModeFromWorkspaceStorageToControllerState(context: // Continue execution - migration failure shouldn't break extension startup } } + +export async function migrateWelcomeViewCompleted(context: vscode.ExtensionContext) { + try { + // Check if welcomeViewCompleted is already set + const welcomeViewCompleted = await getGlobalState(context, "welcomeViewCompleted") + + if (welcomeViewCompleted === undefined) { + console.log("Migrating welcomeViewCompleted setting...") + + // Get all extension state to check for existing API keys + const extensionState = await getAllExtensionState(context) + const config = extensionState.apiConfiguration + + // This is the original logic used for checking is the welcome view should be shown + // It was located in the ExtensionStateContextProvider + const hasKey = config + ? [ + config.apiKey, + config.openRouterApiKey, + config.awsRegion, + config.vertexProjectId, + config.openAiApiKey, + config.ollamaModelId, + config.lmStudioModelId, + config.liteLlmApiKey, + config.geminiApiKey, + config.openAiNativeApiKey, + config.deepSeekApiKey, + config.requestyApiKey, + config.togetherApiKey, + config.qwenApiKey, + config.doubaoApiKey, + config.mistralApiKey, + config.vsCodeLmModelSelector, + config.clineApiKey, + config.asksageApiKey, + config.xaiApiKey, + config.sambanovaApiKey, + config.sapAiCoreClientId, + ].some((key) => key !== undefined) + : false + + // Set welcomeViewCompleted based on whether user has keys + await updateGlobalState(context, "welcomeViewCompleted", hasKey) + + console.log(`Migration: Set welcomeViewCompleted to ${hasKey} based on existing API keys`) + } + } catch (error) { + console.error("Failed to migrate welcomeViewCompleted:", error) + // Continue execution - migration failure shouldn't break extension startup + } +} diff --git a/src/core/storage/state.ts b/src/core/storage/state.ts index 358305c5..4ccdd1ec 100644 --- a/src/core/storage/state.ts +++ b/src/core/storage/state.ts @@ -55,6 +55,7 @@ export async function getWorkspaceState(context: vscode.ExtensionContext, key: s export async function getAllExtensionState(context: vscode.ExtensionContext) { const [ isNewUser, + welcomeViewCompleted, apiKey, openRouterApiKey, clineApiKey, @@ -130,6 +131,7 @@ export async function getAllExtensionState(context: vscode.ExtensionContext) { claudeCodePath, ] = await Promise.all([ getGlobalState(context, "isNewUser") as Promise, + getGlobalState(context, "welcomeViewCompleted") as Promise, getSecret(context, "apiKey") as Promise, getSecret(context, "openRouterApiKey") as Promise, getSecret(context, "clineApiKey") as Promise, @@ -400,6 +402,7 @@ export async function getAllExtensionState(context: vscode.ExtensionContext) { sapAiCoreModelId, }, isNewUser: isNewUser ?? true, + welcomeViewCompleted, lastShownAnnouncementId, taskHistory, autoApprovalSettings: autoApprovalSettings || DEFAULT_AUTO_APPROVAL_SETTINGS, // default value can be 0 or empty string diff --git a/src/core/task/ToolExecutor.ts b/src/core/task/ToolExecutor.ts index cdf87dca..b31b6e18 100644 --- a/src/core/task/ToolExecutor.ts +++ b/src/core/task/ToolExecutor.ts @@ -1,16 +1,23 @@ -import * as vscode from "vscode" -import { TaskState } from "./TaskState" -import { MessageStateHandler } from "./message-state" +import { showSystemNotification } from "@/integrations/notifications" +import { listFiles } from "@/services/glob/list-files" +import { telemetryService } from "@/services/posthog/telemetry/TelemetryService" +import { regexSearchFiles } from "@/services/ripgrep" +import { parseSourceCodeForDefinitionsTopLevel } from "@/services/tree-sitter" +import { findLast, findLastIndex, parsePartialArrayString } from "@/shared/array" +import { createAndOpenGitHubIssue } from "@/utils/github-url-utils" +import { getReadablePath, isLocatedInWorkspace } from "@/utils/path" +import Anthropic from "@anthropic-ai/sdk" import { ApiHandler } from "@api/index" -import { TerminalManager } from "@integrations/terminal/TerminalManager" -import { BrowserSession } from "@services/browser/BrowserSession" -import { DiffViewProvider } from "@integrations/editor/DiffViewProvider" -import { McpHub } from "@services/mcp/McpHub" import { FileContextTracker } from "@core/context/context-tracking/FileContextTracker" import { ClineIgnoreController } from "@core/ignore/ClineIgnoreController" +import { DiffViewProvider } from "@integrations/editor/DiffViewProvider" +import { extractTextFromFile, processFilesIntoText } from "@integrations/misc/extract-text" +import WorkspaceTracker from "@integrations/workspace/WorkspaceTracker" +import { BrowserSession } from "@services/browser/BrowserSession" +import { UrlContentFetcher } from "@services/browser/UrlContentFetcher" +import { McpHub } from "@services/mcp/McpHub" import { AutoApprovalSettings } from "@shared/AutoApprovalSettings" -import { ChatSettings } from "@shared/ChatSettings" -import { ToolParamName, ToolUse, ToolUseName } from "../assistant-message" +import { BrowserSettings } from "@shared/BrowserSettings" import { BrowserAction, BrowserActionResult, @@ -24,46 +31,51 @@ import { ClineSayTool, COMPLETION_RESULT_CHANGES_FLAG, } from "@shared/ExtensionMessage" -import WorkspaceTracker from "@integrations/workspace/WorkspaceTracker" -import { BrowserSettings } from "@shared/BrowserSettings" import { ClineAskResponse } from "@shared/WebviewMessage" -import { fixModelHtmlEscaping, removeInvalidChars } from "@utils/string" -import { fileExistsAtPath } from "@utils/fs" -import { formatResponse } from "../prompts/responses" -import { isClaude4ModelFamily, isGemini2dot5ModelFamily } from "@utils/model-utils" -import { ToolResponse, USE_EXPERIMENTAL_CLAUDE4_FEATURES } from "." -import { serializeError } from "serialize-error" -import * as path from "path" -import { extractTextFromFile, processFilesIntoText } from "@integrations/misc/extract-text" import { COMMAND_REQ_APP_STRING } from "@shared/combineCommandSequences" -import { UrlContentFetcher } from "@services/browser/UrlContentFetcher" -import { constructNewFileContent } from "../assistant-message/diff" -import { getReadablePath, isLocatedInWorkspace } from "@/utils/path" -import { listFiles } from "@/services/glob/list-files" -import { showNotificationForApprovalIfAutoApprovalEnabled } from "./utils" -import { parseSourceCodeForDefinitionsTopLevel } from "@/services/tree-sitter" -import { regexSearchFiles } from "@/services/ripgrep" -import { showSystemNotification } from "@/integrations/notifications" -import { findLast, findLastIndex, parsePartialArrayString } from "@/shared/array" -import { ensureTaskDirectoryExists } from "../storage/disk" -import { telemetryService } from "@/services/posthog/telemetry/TelemetryService" -import { loadMcpDocumentation } from "../prompts/loadMcpDocumentation" -import Anthropic from "@anthropic-ai/sdk" -import { createAndOpenGitHubIssue } from "@/utils/github-url-utils" -import { getWorkspaceState } from "../storage/state" -import os from "os" -import { ContextManager } from "../context/context-management/ContextManager" +import { fileExistsAtPath } from "@utils/fs" +import { isClaude4ModelFamily, isGemini2dot5ModelFamily } from "@utils/model-utils" +import { fixModelHtmlEscaping, removeInvalidChars } from "@utils/string" import { setTimeout as setTimeoutPromise } from "node:timers/promises" +import os from "os" +import * as path from "path" +import { serializeError } from "serialize-error" +import * as vscode from "vscode" +import { ToolResponse, USE_EXPERIMENTAL_CLAUDE4_FEATURES } from "." +import { ToolParamName, ToolUse, ToolUseName } from "../assistant-message" +import { constructNewFileContent } from "../assistant-message/diff" import { ChangeLocation, StreamingJsonReplacer } from "../assistant-message/diff-json" +import { ContextManager } from "../context/context-management/ContextManager" +import { loadMcpDocumentation } from "../prompts/loadMcpDocumentation" +import { formatResponse } from "../prompts/responses" +import { ensureTaskDirectoryExists } from "../storage/disk" +import { getWorkspaceState } from "../storage/state" +import { TaskState } from "./TaskState" +import { MessageStateHandler } from "./message-state" +import { AutoApprove } from "./tools/autoApprove" +import { showNotificationForApprovalIfAutoApprovalEnabled } from "./utils" export class ToolExecutor { + private autoApprover: AutoApprove + + // Auto-approval methods using the AutoApprove class + private shouldAutoApproveTool(toolName: ToolUseName): boolean | [boolean, boolean] { + return this.autoApprover.shouldAutoApproveTool(toolName) + } + + private async shouldAutoApproveToolWithPath( + blockname: ToolUseName, + autoApproveActionpath: string | undefined, + ): Promise { + return this.autoApprover.shouldAutoApproveToolWithPath(blockname, autoApproveActionpath) + } + constructor( // Core Services & Managers private context: vscode.ExtensionContext, private taskState: TaskState, private messageStateHandler: MessageStateHandler, private api: ApiHandler, - private terminalManager: TerminalManager, private urlContentFetcher: UrlContentFetcher, private browserSession: BrowserSession, private diffViewProvider: DiffViewProvider, @@ -76,7 +88,6 @@ export class ToolExecutor { // Configuration & Settings private autoApprovalSettings: AutoApprovalSettings, private browserSettings: BrowserSettings, - private chatSettings: ChatSettings, private cwd: string, private taskId: string, @@ -94,15 +105,20 @@ export class ToolExecutor { partial?: boolean, ) => Promise<{ response: ClineAskResponse; text?: string; images?: string[]; files?: string[] }>, private saveCheckpoint: (isAttemptCompletionMessage?: boolean) => Promise, - private reinitExistingTaskFromId: (taskId: string) => Promise, - private cancelTask: () => Promise, - private shouldAutoApproveTool: (toolName: ToolUseName) => boolean | [boolean, boolean], - private shouldAutoApproveToolWithPath: (blockname: ToolUseName, autoApproveActionpath: string | undefined) => boolean, private sayAndCreateMissingParamError: (toolName: ToolUseName, paramName: string, relPath?: string) => Promise, private removeLastPartialMessageIfExistsWithType: (type: "ask" | "say", askOrSay: ClineAsk | ClineSay) => Promise, private executeCommandTool: (command: string) => Promise<[boolean, any]>, private doesLatestTaskCompletionHaveNewChanges: () => Promise, - ) {} + ) { + this.autoApprover = new AutoApprove(autoApprovalSettings) + } + + /** + * Updates the auto approval settings + */ + public updateAutoApprovalSettings(settings: AutoApprovalSettings): void { + this.autoApprover.updateSettings(settings) + } private pushToolResult = (content: ToolResponse, block: ToolUse) => { const isNextGenModel = isClaude4ModelFamily(this.api) || isGemini2dot5ModelFamily(this.api) @@ -317,8 +333,6 @@ export class ToolExecutor { // Handle write error return { shouldBreak: true, error: `Write error: ${e}` } } - - const newContentParsed = this.taskState.streamingJsonReplacer.getSuccessfullyParsedItems() } return { shouldBreak: true } // Wait for more chunks @@ -555,14 +569,14 @@ export class ToolExecutor { tool: fileExists ? "editedExistingFile" : "newFileCreated", path: getReadablePath(this.cwd, this.removeClosingTag(block, "path", relPath)), content: diff || content, - operationIsLocatedInWorkspace: isLocatedInWorkspace(relPath), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(relPath), } if (block.partial) { // update gui message const partialMessage = JSON.stringify(sharedMessageProps) - if (this.shouldAutoApproveToolWithPath(block.name, relPath)) { + if (await this.shouldAutoApproveToolWithPath(block.name, relPath)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") // in case the user changes auto-approval settings mid stream await this.say("tool", partialMessage, undefined, undefined, block.partial) } else { @@ -626,7 +640,7 @@ export class ToolExecutor { const completeMessage = JSON.stringify({ ...sharedMessageProps, content: diff || content, - operationIsLocatedInWorkspace: isLocatedInWorkspace(relPath), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(relPath), // ? formatResponse.createPrettyPatch( // relPath, // this.diffViewProvider.originalContent, @@ -634,7 +648,7 @@ export class ToolExecutor { // ) // : undefined, } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, relPath)) { + if (await this.shouldAutoApproveToolWithPath(block.name, relPath)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", completeMessage, undefined, undefined, false) this.taskState.consecutiveAutoApprovedRequestsCount++ @@ -769,9 +783,9 @@ export class ToolExecutor { const partialMessage = JSON.stringify({ ...sharedMessageProps, content: undefined, - operationIsLocatedInWorkspace: isLocatedInWorkspace(relPath), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(relPath), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", partialMessage, undefined, undefined, block.partial) } else { @@ -800,9 +814,9 @@ export class ToolExecutor { const completeMessage = JSON.stringify({ ...sharedMessageProps, content: absolutePath, - operationIsLocatedInWorkspace: isLocatedInWorkspace(relPath), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(relPath), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", completeMessage, undefined, undefined, false) // need to be sending partialValue bool, since undefined has its own purpose in that the message is treated neither as a partial or completion of a partial, but as a single complete message this.taskState.consecutiveAutoApprovedRequestsCount++ @@ -851,9 +865,9 @@ export class ToolExecutor { const partialMessage = JSON.stringify({ ...sharedMessageProps, content: "", - operationIsLocatedInWorkspace: isLocatedInWorkspace(block.params.path), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(block.params.path), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", partialMessage, undefined, undefined, block.partial) } else { @@ -883,9 +897,9 @@ export class ToolExecutor { const completeMessage = JSON.stringify({ ...sharedMessageProps, content: result, - operationIsLocatedInWorkspace: isLocatedInWorkspace(block.params.path), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(block.params.path), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", completeMessage, undefined, undefined, false) this.taskState.consecutiveAutoApprovedRequestsCount++ @@ -926,9 +940,9 @@ export class ToolExecutor { const partialMessage = JSON.stringify({ ...sharedMessageProps, content: "", - operationIsLocatedInWorkspace: isLocatedInWorkspace(block.params.path), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(block.params.path), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", partialMessage, undefined, undefined, block.partial) } else { @@ -955,9 +969,9 @@ export class ToolExecutor { const completeMessage = JSON.stringify({ ...sharedMessageProps, content: result, - operationIsLocatedInWorkspace: isLocatedInWorkspace(block.params.path), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(block.params.path), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", completeMessage, undefined, undefined, false) this.taskState.consecutiveAutoApprovedRequestsCount++ @@ -1002,9 +1016,9 @@ export class ToolExecutor { const partialMessage = JSON.stringify({ ...sharedMessageProps, content: "", - operationIsLocatedInWorkspace: isLocatedInWorkspace(block.params.path), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(block.params.path), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", partialMessage, undefined, undefined, block.partial) } else { @@ -1039,9 +1053,9 @@ export class ToolExecutor { const completeMessage = JSON.stringify({ ...sharedMessageProps, content: results, - operationIsLocatedInWorkspace: isLocatedInWorkspace(block.params.path), + operationIsLocatedInWorkspace: await isLocatedInWorkspace(block.params.path), } satisfies ClineSayTool) - if (this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { + if (await this.shouldAutoApproveToolWithPath(block.name, block.params.path)) { this.removeLastPartialMessageIfExistsWithType("ask", "tool") await this.say("tool", completeMessage, undefined, undefined, false) this.taskState.consecutiveAutoApprovedRequestsCount++ diff --git a/src/core/task/index.ts b/src/core/task/index.ts index 4af452b8..e27afc54 100644 --- a/src/core/task/index.ts +++ b/src/core/task/index.ts @@ -1,13 +1,4 @@ import { Anthropic } from "@anthropic-ai/sdk" -import cloneDeep from "clone-deep" -import { execa } from "execa" -import { setTimeout as setTimeoutPromise } from "node:timers/promises" -import os from "os" -import pTimeout from "p-timeout" -import pWaitFor from "p-wait-for" -import * as path from "path" -import * as vscode from "vscode" -import { Logger } from "@services/logging/Logger" import { ApiHandler, buildApiHandler } from "@api/index" import { AnthropicHandler } from "@api/providers/anthropic" import { ClineHandler } from "@api/providers/cline" @@ -21,6 +12,7 @@ import { TerminalManager } from "@integrations/terminal/TerminalManager" import { BrowserSession } from "@services/browser/BrowserSession" import { UrlContentFetcher } from "@services/browser/UrlContentFetcher" import { listFiles } from "@services/glob/list-files" +import { Logger } from "@services/logging/Logger" import { telemetryService } from "@services/posthog/telemetry/TelemetryService" import { ApiConfiguration } from "@shared/api" import { findLast, findLastIndex } from "@shared/array" @@ -29,42 +21,48 @@ import { BrowserSettings } from "@shared/BrowserSettings" import { ChatSettings } from "@shared/ChatSettings" import { combineApiRequests } from "@shared/combineApiRequests" import { combineCommandSequences } from "@shared/combineCommandSequences" -import { - ClineApiReqCancelReason, - ClineApiReqInfo, - ClineAsk, - ClineMessage, - ClineSay, - ExtensionMessage, -} from "@shared/ExtensionMessage" +import { ClineApiReqCancelReason, ClineApiReqInfo, ClineAsk, ClineMessage, ClineSay } from "@shared/ExtensionMessage" import { getApiMetrics } from "@shared/getApiMetrics" import { HistoryItem } from "@shared/HistoryItem" import { DEFAULT_LANGUAGE_SETTINGS, getLanguageKey, LanguageDisplay } from "@shared/Languages" import { ClineAskResponse, ClineCheckpointRestore } from "@shared/WebviewMessage" import { arePathsEqual } from "@utils/path" +import cloneDeep from "clone-deep" +import { execa } from "execa" +import { setTimeout as setTimeoutPromise } from "node:timers/promises" +import os from "os" +import pTimeout from "p-timeout" +import pWaitFor from "p-wait-for" +import * as path from "path" +import * as vscode from "vscode" +import { getGitRemoteUrls } from "@utils/git" -import { - AssistantMessageContent, - parseAssistantMessageV2, - parseAssistantMessageV3, - ToolParamName, - ToolUseName, -} from "@core/assistant-message" -import { ClineIgnoreController } from "@core/ignore/ClineIgnoreController" -import { parseMentions } from "@core/mentions" -import { formatResponse } from "@core/prompts/responses" -import { addUserInstructions, SYSTEM_PROMPT } from "@core/prompts/system" -import { sendPartialMessageEvent } from "@core/controller/ui/subscribeToPartialMessage" -import { sendRelinquishControlEvent } from "@core/controller/ui/subscribeToRelinquishControl" -import { convertClineMessageToProto } from "@shared/proto-conversions/cline-message" -import { getContextWindowInfo } from "@core/context/context-management/context-window-utils" -import { FileContextTracker } from "@core/context/context-tracking/FileContextTracker" -import { ModelContextTracker } from "@core/context/context-tracking/ModelContextTracker" +import { parseAssistantMessageV2, parseAssistantMessageV3, ToolUseName } from "@core/assistant-message" import { checkIsAnthropicContextWindowError, checkIsOpenRouterContextWindowError, } from "@core/context/context-management/context-error-handling" +import { getContextWindowInfo } from "@core/context/context-management/context-window-utils" import { ContextManager } from "@core/context/context-management/ContextManager" +import { FileContextTracker } from "@core/context/context-tracking/FileContextTracker" +import { ModelContextTracker } from "@core/context/context-tracking/ModelContextTracker" +import { + getGlobalClineRules, + getLocalClineRules, + refreshClineRulesToggles, +} from "@core/context/instructions/user-instructions/cline-rules" +import { + getLocalCursorRules, + getLocalWindsurfRules, + refreshExternalRulesToggles, +} from "@core/context/instructions/user-instructions/external-rules" +import { sendPartialMessageEvent } from "@core/controller/ui/subscribeToPartialMessage" +import { sendRelinquishControlEvent } from "@core/controller/ui/subscribeToRelinquishControl" +import { ClineIgnoreController } from "@core/ignore/ClineIgnoreController" +import { parseMentions } from "@core/mentions" +import { formatResponse } from "@core/prompts/responses" +import { addUserInstructions, SYSTEM_PROMPT } from "@core/prompts/system" +import { parseSlashCommands } from "@core/slash-commands" import { ensureRulesDirectoryExists, ensureTaskDirectoryExists, @@ -72,29 +70,19 @@ import { getSavedClineMessages, GlobalFileNames, } from "@core/storage/disk" -import { - getGlobalClineRules, - getLocalClineRules, - refreshClineRulesToggles, -} from "@core/context/instructions/user-instructions/cline-rules" -import { ensureLocalClineDirExists } from "../context/instructions/user-instructions/rule-helpers" -import { - refreshExternalRulesToggles, - getLocalWindsurfRules, - getLocalCursorRules, -} from "@core/context/instructions/user-instructions/external-rules" -import { refreshWorkflowToggles } from "../context/instructions/user-instructions/workflows" import { getWorkspaceState } from "@core/storage/state" -import { parseSlashCommands } from "@core/slash-commands" +import { processFilesIntoText } from "@integrations/misc/extract-text" import WorkspaceTracker from "@integrations/workspace/WorkspaceTracker" import { McpHub } from "@services/mcp/McpHub" -import { isInTestMode } from "../../services/test/TestMode" -import { processFilesIntoText } from "@integrations/misc/extract-text" +import { convertClineMessageToProto } from "@shared/proto-conversions/cline-message" import { isClaude4ModelFamily, isGemini2dot5ModelFamily } from "@utils/model-utils" +import { isInTestMode } from "../../services/test/TestMode" +import { ensureLocalClineDirExists } from "../context/instructions/user-instructions/rule-helpers" +import { refreshWorkflowToggles } from "../context/instructions/user-instructions/workflows" import { MessageStateHandler } from "./message-state" -import { formatErrorWithStatusCode, updateApiReqMsg } from "./utils" import { TaskState } from "./TaskState" import { ToolExecutor } from "./ToolExecutor" +import { formatErrorWithStatusCode, updateApiReqMsg } from "./utils" export const USE_EXPERIMENTAL_CLAUDE4_FEATURES = false @@ -137,7 +125,6 @@ export class Task { // Callbacks private updateTaskHistory: (historyItem: HistoryItem) => Promise private postStateToWebview: () => Promise - private postMessageToWebview: (message: ExtensionMessage) => Promise private reinitExistingTaskFromId: (taskId: string) => Promise private cancelTask: () => Promise @@ -154,7 +141,6 @@ export class Task { workspaceTracker: WorkspaceTracker, updateTaskHistory: (historyItem: HistoryItem) => Promise, postStateToWebview: () => Promise, - postMessageToWebview: (message: ExtensionMessage) => Promise, reinitExistingTaskFromId: (taskId: string) => Promise, cancelTask: () => Promise, apiConfiguration: ApiConfiguration, @@ -177,7 +163,6 @@ export class Task { this.workspaceTracker = workspaceTracker this.updateTaskHistory = updateTaskHistory this.postStateToWebview = postStateToWebview - this.postMessageToWebview = postMessageToWebview this.reinitExistingTaskFromId = reinitExistingTaskFromId this.cancelTask = cancelTask this.clineIgnoreController = new ClineIgnoreController(cwd) @@ -295,7 +280,6 @@ export class Task { this.taskState, this.messageStateHandler, this.api, - this.terminalManager, this.urlContentFetcher, this.browserSession, this.diffViewProvider, @@ -306,16 +290,11 @@ export class Task { this.contextManager, this.autoApprovalSettings, this.browserSettings, - this.chatSettings, cwd, this.taskId, this.say.bind(this), this.ask.bind(this), this.saveCheckpoint.bind(this), - this.reinitExistingTaskFromId.bind(this), - this.cancelTask.bind(this), - this.shouldAutoApproveTool.bind(this), - this.shouldAutoApproveToolWithPath.bind(this), this.sayAndCreateMissingParamError.bind(this), this.removeLastPartialMessageIfExistsWithType.bind(this), this.executeCommandTool.bind(this), @@ -333,6 +312,13 @@ export class Task { return context } + /** + * Updates the auto approval settings for this task + */ + public updateAutoApprovalSettings(settings: AutoApprovalSettings): void { + this.toolExecutor.updateAutoApprovalSettings(settings) + } + async restoreCheckpoint(messageTs: number, restoreType: ClineCheckpointRestore, offset?: number) { const clineMessages = this.messageStateHandler.getClineMessages() const messageIndex = clineMessages.findIndex((m) => m.ts === messageTs) - (offset || 0) @@ -1451,7 +1437,10 @@ export class Task { try { const { response, text, images, files } = await this.ask("command_output", chunk) if (response === "yesButtonClicked") { - // proceed while running + // proceed while running - but still capture user feedback if provided + if (text || (images && images.length > 0) || (files && files.length > 0)) { + userFeedback = { text, images, files } + } } else { userFeedback = { text, images, files } } @@ -1554,69 +1543,6 @@ export class Task { } } - // Check if the tool should be auto-approved based on the settings - // Returns bool for most tools, and tuple for tools with nested settings - shouldAutoApproveTool(toolName: ToolUseName): boolean | [boolean, boolean] { - if (this.autoApprovalSettings.enabled) { - switch (toolName) { - case "read_file": - case "list_files": - case "list_code_definition_names": - case "search_files": - return [ - this.autoApprovalSettings.actions.readFiles, - this.autoApprovalSettings.actions.readFilesExternally ?? false, - ] - case "new_rule": - case "write_to_file": - case "replace_in_file": - return [ - this.autoApprovalSettings.actions.editFiles, - this.autoApprovalSettings.actions.editFilesExternally ?? false, - ] - case "execute_command": - return [ - this.autoApprovalSettings.actions.executeSafeCommands ?? false, - this.autoApprovalSettings.actions.executeAllCommands ?? false, - ] - case "browser_action": - return this.autoApprovalSettings.actions.useBrowser - case "web_fetch": - return this.autoApprovalSettings.actions.useBrowser - case "access_mcp_resource": - case "use_mcp_tool": - return this.autoApprovalSettings.actions.useMcp - } - } - return false - } - - // Check if the tool should be auto-approved based on the settings - // and the path of the action. Returns true if the tool should be auto-approved - // based on the user's settings and the path of the action. - shouldAutoApproveToolWithPath(blockname: ToolUseName, autoApproveActionpath: string | undefined): boolean { - let isLocalRead: boolean = false - if (autoApproveActionpath) { - const absolutePath = path.resolve(cwd, autoApproveActionpath) - isLocalRead = absolutePath.startsWith(cwd) - } else { - // If we do not get a path for some reason, default to a (safer) false return - isLocalRead = false - } - - // Get auto-approve settings for local and external edits - const autoApproveResult = this.shouldAutoApproveTool(blockname) - const [autoApproveLocal, autoApproveExternal] = Array.isArray(autoApproveResult) - ? autoApproveResult - : [autoApproveResult, false] - - if ((isLocalRead && autoApproveLocal) || (!isLocalRead && autoApproveLocal && autoApproveExternal)) { - return true - } else { - return false - } - } - /** * Migrates the disableBrowserTool setting from VSCode configuration to browserSettings */ @@ -2005,12 +1931,42 @@ export class Task { message: `Cline has auto-approved ${this.autoApprovalSettings.maxRequests.toString()} API requests.`, }) } - await this.ask( + const { response, text, images, files } = await this.ask( "auto_approval_max_req_reached", `Cline has auto-approved ${this.autoApprovalSettings.maxRequests.toString()} API requests. Would you like to reset the count and proceed with the task?`, ) // if we get past the promise it means the user approved and did not start a new task this.taskState.consecutiveAutoApprovedRequestsCount = 0 + + // Process user feedback if provided + if (response === "messageResponse") { + // Display the user's message in the chat UI + await this.say("user_feedback", text, images, files) + + // This userContent is for the *next* API call. + const feedbackUserContent: UserContent = [] + feedbackUserContent.push({ + type: "text", + text: formatResponse.autoApprovalMaxReached(text), + }) + if (images && images.length > 0) { + feedbackUserContent.push(...formatResponse.imageBlocks(images)) + } + + let fileContentString = "" + if (files && files.length > 0) { + fileContentString = await processFilesIntoText(files) + } + + if (fileContentString) { + feedbackUserContent.push({ + type: "text", + text: fileContentString, + }) + } + + userContent = feedbackUserContent + } } // get previous api req's index to check token usage and determine if we need to truncate conversation history @@ -2625,6 +2581,12 @@ export class Task { const result = formatResponse.formatFilesList(cwd, files, didHitLimit, this.clineIgnoreController) details += result } + + // Add git remote URLs section + const gitRemotes = await getGitRemoteUrls(cwd) + if (gitRemotes.length > 0) { + details += `\n\n# Git Remote URLs\n${gitRemotes.join("\n")}` + } } // Add context window usage information diff --git a/src/core/task/message-state.ts b/src/core/task/message-state.ts index e261d33c..04d794a9 100644 --- a/src/core/task/message-state.ts +++ b/src/core/task/message-state.ts @@ -12,6 +12,7 @@ import CheckpointTracker from "@integrations/checkpoints/CheckpointTracker" import { HistoryItem } from "@/shared/HistoryItem" import Anthropic from "@anthropic-ai/sdk" import { TaskState } from "./TaskState" +import { getCwd } from "@/utils/path" interface MessageStateHandlerParams { context: vscode.ExtensionContext @@ -21,8 +22,6 @@ interface MessageStateHandlerParams { taskState: TaskState } -const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) ?? path.join(os.homedir(), "Desktop") // may or may not exist but fs checking existence would immediately ask for permission which would be bad UX, need to come up with a better solution - export class MessageStateHandler { private apiConversationHistory: Anthropic.MessageParam[] = [] private clineMessages: ClineMessage[] = [] @@ -84,6 +83,7 @@ export class MessageStateHandler { } catch (error) { console.error("Failed to get task directory size:", taskDir, error) } + const cwd = await getCwd(path.join(os.homedir(), "Desktop")) await this.updateTaskHistory({ id: this.taskId, ts: lastRelevantMessage.ts, diff --git a/src/core/task/tools/autoApprove.ts b/src/core/task/tools/autoApprove.ts new file mode 100644 index 00000000..8150d4aa --- /dev/null +++ b/src/core/task/tools/autoApprove.ts @@ -0,0 +1,81 @@ +import { AutoApprovalSettings } from "@shared/AutoApprovalSettings" +import { ToolUseName } from "@core/assistant-message" +import * as path from "path" +import os from "os" +import { getCwd } from "@/utils/path" + +export class AutoApprove { + autoApprovalSettings: AutoApprovalSettings + + constructor(autoApprovalSettings: AutoApprovalSettings) { + this.autoApprovalSettings = autoApprovalSettings + } + + // Check if the tool should be auto-approved based on the settings + // Returns bool for most tools, and tuple for tools with nested settings + shouldAutoApproveTool(toolName: ToolUseName): boolean | [boolean, boolean] { + if (this.autoApprovalSettings.enabled) { + switch (toolName) { + case "read_file": + case "list_files": + case "list_code_definition_names": + case "search_files": + return [ + this.autoApprovalSettings.actions.readFiles, + this.autoApprovalSettings.actions.readFilesExternally ?? false, + ] + case "new_rule": + case "write_to_file": + case "replace_in_file": + return [ + this.autoApprovalSettings.actions.editFiles, + this.autoApprovalSettings.actions.editFilesExternally ?? false, + ] + case "execute_command": + return [ + this.autoApprovalSettings.actions.executeSafeCommands ?? false, + this.autoApprovalSettings.actions.executeAllCommands ?? false, + ] + case "browser_action": + return this.autoApprovalSettings.actions.useBrowser + case "web_fetch": + return this.autoApprovalSettings.actions.useBrowser + case "access_mcp_resource": + case "use_mcp_tool": + return this.autoApprovalSettings.actions.useMcp + } + } + return false + } + + // Check if the tool should be auto-approved based on the settings + // and the path of the action. Returns true if the tool should be auto-approved + // based on the user's settings and the path of the action. + async shouldAutoApproveToolWithPath(blockname: ToolUseName, autoApproveActionpath: string | undefined): Promise { + let isLocalRead: boolean = false + if (autoApproveActionpath) { + const cwd = await getCwd(path.join(os.homedir(), "Desktop")) + const absolutePath = path.resolve(cwd, autoApproveActionpath) + isLocalRead = absolutePath.startsWith(cwd) + } else { + // If we do not get a path for some reason, default to a (safer) false return + isLocalRead = false + } + + // Get auto-approve settings for local and external edits + const autoApproveResult = this.shouldAutoApproveTool(blockname) + const [autoApproveLocal, autoApproveExternal] = Array.isArray(autoApproveResult) + ? autoApproveResult + : [autoApproveResult, false] + + if ((isLocalRead && autoApproveLocal) || (!isLocalRead && autoApproveLocal && autoApproveExternal)) { + return true + } else { + return false + } + } + + updateSettings(settings: AutoApprovalSettings): void { + this.autoApprovalSettings = settings + } +} diff --git a/src/core/webview/index.ts b/src/core/webview/index.ts index f79fd468..a5b16fdc 100644 --- a/src/core/webview/index.ts +++ b/src/core/webview/index.ts @@ -165,8 +165,6 @@ export abstract class WebviewProvider { // don't forget to add font-src ${webview.cspSource}; const codiconsUri = this.getExtensionUri("node_modules", "@vscode", "codicons", "dist", "codicon.css") - const katexCssUri = this.getExtensionUri("webview-ui", "node_modules", "katex", "dist", "katex.min.css") - // const scriptUri = webview.asWebviewUri(vscode.Uri.joinPath(this._extensionUri, "assets", "main.js")) // const styleResetUri = webview.asWebviewUri(vscode.Uri.joinPath(this._extensionUri, "assets", "reset.css")) @@ -198,9 +196,8 @@ export abstract class WebviewProvider { - - Cline diff --git a/src/extension.ts b/src/extension.ts index 86495e61..32a2a0cd 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -26,6 +26,7 @@ import { migratePlanActGlobalToWorkspaceStorage, migrateCustomInstructionsToGlobalRules, migrateModeFromWorkspaceStorageToControllerState, + migrateWelcomeViewCompleted, } from "./core/storage/state-migrations" import { sendFocusChatInputEvent } from "./core/controller/ui/subscribeToFocusChatInput" @@ -34,6 +35,7 @@ import * as hostProviders from "@hosts/host-providers" import { vscodeHostBridgeClient } from "@/hosts/vscode/client/host-grpc-client" import { VscodeWebviewProvider } from "./core/webview/VscodeWebviewProvider" import { ExtensionContext } from "vscode" +import { writeTextToClipboard, readTextFromClipboard } from "@/utils/env" /* Built using https://github.com/microsoft/vscode-webview-ui-toolkit @@ -67,6 +69,9 @@ export async function activate(context: vscode.ExtensionContext) { // Migrate mode from workspace storage to controller state (one-time cleanup) await migrateModeFromWorkspaceStorageToControllerState(context) + // Migrate welcomeViewCompleted setting based on existing API keys (one-time cleanup) + await migrateWelcomeViewCompleted(context) + // Clean up orphaned file context warnings (startup cleanup) await FileContextTracker.cleanupOrphanedWarnings(context) @@ -75,8 +80,9 @@ export async function activate(context: vscode.ExtensionContext) { const previousVersion = context.globalState.get("clineVersion") const sidebarWebview = hostProviders.createWebviewProvider(WebviewProviderType.SIDEBAR) + const testModeWatchers = await initializeTestMode(sidebarWebview) // Initialize test mode and add disposables to context - context.subscriptions.push(...initializeTestMode(context, sidebarWebview)) + context.subscriptions.push(...testModeWatchers) vscode.commands.executeCommand("setContext", "ClineShengsuan.isDevMode", IS_DEV && IS_DEV === "true") @@ -379,17 +385,17 @@ export async function activate(context: vscode.ExtensionContext) { } // Save current clipboard content - const tempCopyBuffer = await vscode.env.clipboard.readText() + const tempCopyBuffer = await readTextFromClipboard() try { // Copy the *existing* terminal selection (without selecting all) await vscode.commands.executeCommand("workbench.action.terminal.copySelection") // Get copied content - let terminalContents = (await vscode.env.clipboard.readText()).trim() + let terminalContents = (await readTextFromClipboard()).trim() // Restore original clipboard content - await vscode.env.clipboard.writeText(tempCopyBuffer) + await writeTextToClipboard(tempCopyBuffer) if (!terminalContents) { // No terminal content was copied (either nothing selected or some error) @@ -415,7 +421,7 @@ export async function activate(context: vscode.ExtensionContext) { await visibleWebview?.controller.addSelectedTerminalOutputToChat(terminalContents, terminal.name) } catch (error) { // Ensure clipboard is restored even if an error occurs - await vscode.env.clipboard.writeText(tempCopyBuffer) + await writeTextToClipboard(tempCopyBuffer) console.error("Error getting terminal contents:", error) vscode.window.showErrorMessage("获取终端内容失败") } @@ -649,6 +655,14 @@ export async function activate(context: vscode.ExtensionContext) { }), ) + // Register the openWalkthrough command handler + context.subscriptions.push( + vscode.commands.registerCommand("cline.openWalkthrough", async () => { + await vscode.commands.executeCommand("workbench.action.openWalkthrough", "saoudrizwan.claude-dev#ClineWalkthrough") + telemetryService.captureButtonClick("command_openWalkthrough", undefined, true) + }), + ) + // Register the generateGitCommitMessage command handler context.subscriptions.push( vscode.commands.registerCommand("ClineShengsuan.generateGitCommitMessage", async () => { diff --git a/src/hosts/host-provider-types.ts b/src/hosts/host-provider-types.ts index 280709b4..8290518f 100644 --- a/src/hosts/host-provider-types.ts +++ b/src/hosts/host-provider-types.ts @@ -2,6 +2,8 @@ import { UriServiceClientInterface, WatchServiceClientInterface, WorkspaceServiceClientInterface, + EnvServiceClientInterface, + WindowServiceClientInterface, } from "@generated/hosts/host-bridge-client-types" /** @@ -11,6 +13,8 @@ export interface HostBridgeClientProvider { uriServiceClient: UriServiceClientInterface watchServiceClient: WatchServiceClientInterface workspaceClient: WorkspaceServiceClientInterface + envClient: EnvServiceClientInterface + windowClient: WindowServiceClientInterface } /** diff --git a/src/hosts/vscode/client/host-grpc-client.ts b/src/hosts/vscode/client/host-grpc-client.ts index 230483d3..033e38b7 100644 --- a/src/hosts/vscode/client/host-grpc-client.ts +++ b/src/hosts/vscode/client/host-grpc-client.ts @@ -6,4 +6,6 @@ export const vscodeHostBridgeClient: HostBridgeClientProvider = { uriServiceClient: createGrpcClient(host.UriServiceDefinition), watchServiceClient: createGrpcClient(host.WatchServiceDefinition), workspaceClient: createGrpcClient(host.WorkspaceServiceDefinition), + envClient: createGrpcClient(host.EnvServiceDefinition), + windowClient: createGrpcClient(host.WindowServiceDefinition), } diff --git a/src/hosts/vscode/env/clipboardReadText.ts b/src/hosts/vscode/env/clipboardReadText.ts new file mode 100644 index 00000000..ac210d6d --- /dev/null +++ b/src/hosts/vscode/env/clipboardReadText.ts @@ -0,0 +1,7 @@ +import { EmptyRequest, String } from "@/shared/proto/common" +import * as vscode from "vscode" + +export async function clipboardReadText(_: EmptyRequest): Promise { + const text = await vscode.env.clipboard.readText() + return String.create({ value: text }) +} diff --git a/src/hosts/vscode/env/clipboardWriteText.ts b/src/hosts/vscode/env/clipboardWriteText.ts new file mode 100644 index 00000000..38c08af9 --- /dev/null +++ b/src/hosts/vscode/env/clipboardWriteText.ts @@ -0,0 +1,7 @@ +import { StringRequest, Empty } from "@/shared/proto/common" +import * as vscode from "vscode" + +export async function clipboardWriteText(request: StringRequest): Promise { + await vscode.env.clipboard.writeText(request.value) + return Empty.create({}) +} diff --git a/src/hosts/vscode/window/showTextDocument.ts b/src/hosts/vscode/window/showTextDocument.ts new file mode 100644 index 00000000..9bdbf320 --- /dev/null +++ b/src/hosts/vscode/window/showTextDocument.ts @@ -0,0 +1,26 @@ +import * as vscode from "vscode" +import { ShowTextDocumentRequest, TextEditorInfo } from "@/shared/proto/host/window" + +export async function showTextDocument(request: ShowTextDocumentRequest): Promise { + // Convert file path to URI + const uri = vscode.Uri.file(request.path) + const options: vscode.TextDocumentShowOptions = {} + + if (request.options?.preview !== undefined) { + options.preview = request.options.preview + } + if (request.options?.preserveFocus !== undefined) { + options.preserveFocus = request.options.preserveFocus + } + if (request.options?.viewColumn !== undefined) { + options.viewColumn = request.options.viewColumn + } + + const editor = await vscode.window.showTextDocument(uri, options) + + return TextEditorInfo.create({ + documentPath: editor.document.uri.fsPath, + viewColumn: editor.viewColumn, + isActive: vscode.window.activeTextEditor === editor, + }) +} diff --git a/src/integrations/checkpoints/CheckpointTracker-old.ts b/src/integrations/checkpoints/CheckpointTracker-old.ts deleted file mode 100644 index 741b0642..00000000 --- a/src/integrations/checkpoints/CheckpointTracker-old.ts +++ /dev/null @@ -1,422 +0,0 @@ -import fs from "fs/promises" -import os from "os" -import * as path from "path" -import simpleGit, { SimpleGit } from "simple-git" -import * as vscode from "vscode" -import { Controller as ClineProvider } from "@core/controller" -import { fileExistsAtPath } from "@utils/fs" -import { globby } from "globby" - -class CheckpointTracker { - private providerRef: WeakRef - private taskId: string - private disposables: vscode.Disposable[] = [] - private cwd: string - private lastRetrievedShadowGitConfigWorkTree?: string - lastCheckpointHash?: string - - private constructor(provider: ClineProvider, taskId: string, cwd: string) { - this.providerRef = new WeakRef(provider) - this.taskId = taskId - this.cwd = cwd - } - - public static async create( - taskId: string, - enableCheckpointsSetting: boolean, - provider?: ClineProvider, - ): Promise { - try { - if (!provider) { - throw new Error("需要 Provider 才能创建检查点跟踪器") - } - - if (!enableCheckpointsSetting) { - return undefined // Don't create tracker when disabled - } - - // Check if git is installed by attempting to get version - try { - await simpleGit().version() - } catch (error) { - throw new Error("必须安装 Git 才能使用检查点.") // FIXME: must match what we check for in TaskHeader to show link - } - - const cwd = await CheckpointTracker.getWorkingDirectory() - const newTracker = new CheckpointTracker(provider, taskId, cwd) - await newTracker.initShadowGit() - return newTracker - } catch (error) { - console.error("创建 CheckpointTracker 失败:", error) - throw error - } - } - - private static async getWorkingDirectory(): Promise { - const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) - if (!cwd) { - throw new Error("未检测到工作区。请在工作区中打开 Cline 以使用检查点。") - } - const homedir = os.homedir() - const desktopPath = path.join(homedir, "Desktop") - const documentsPath = path.join(homedir, "Documents") - const downloadsPath = path.join(homedir, "Downloads") - - switch (cwd) { - case homedir: - throw new Error("不能在主目录中使用检查点") - case desktopPath: - throw new Error("Desktop 目录中无法使用检查点") - case documentsPath: - throw new Error("Documents 目录中无法使用检查点") - case downloadsPath: - throw new Error("Downloads 目录中无法使用检查点") - default: - return cwd - } - } - - private async getShadowGitPath(): Promise { - const globalStoragePath = this.providerRef.deref()?.context.globalStorageUri.fsPath - if (!globalStoragePath) { - throw new Error("全局存储 URI 无效") - } - const checkpointsDir = path.join(globalStoragePath, "tasks", this.taskId, "checkpoints") - await fs.mkdir(checkpointsDir, { recursive: true }) - const gitPath = path.join(checkpointsDir, ".git") - return gitPath - } - - public static async doesShadowGitExist(taskId: string, provider?: ClineProvider): Promise { - const globalStoragePath = provider?.context.globalStorageUri.fsPath - if (!globalStoragePath) { - return false - } - const gitPath = path.join(globalStoragePath, "tasks", taskId, "checkpoints", ".git") - return await fileExistsAtPath(gitPath) - } - - public async initShadowGit(): Promise { - const gitPath = await this.getShadowGitPath() - if (await fileExistsAtPath(gitPath)) { - // Make sure it's the same cwd as the configured worktree - const worktree = await this.getShadowGitConfigWorkTree() - if (worktree !== this.cwd) { - throw new Error("检查点只能在原始工作区中使用: " + worktree) - } - - return gitPath - } else { - const checkpointsDir = path.dirname(gitPath) - const git = simpleGit(checkpointsDir) - await git.init() - - await git.addConfig("core.worktree", this.cwd) // sets the working tree to the current workspace - - // Disable commit signing for shadow repo - await git.addConfig("commit.gpgSign", "false") - - // Get LFS patterns from workspace if they exist - let lfsPatterns: string[] = [] - try { - const attributesPath = path.join(this.cwd, ".gitattributes") - if (await fileExistsAtPath(attributesPath)) { - const attributesContent = await fs.readFile(attributesPath, "utf8") - lfsPatterns = attributesContent - .split("\n") - .filter((line) => line.includes("filter=lfs")) - .map((line) => line.split(" ")[0].trim()) - } - } catch (error) { - console.warn("Failed to read .gitattributes:", error) - } - - // Add basic excludes directly in git config, while respecting any .gitignore in the workspace - // .git/info/exclude is local to the shadow git repo, so it's not shared with the main repo - and won't conflict with user's .gitignore - // TODO: let user customize these - const excludesPath = path.join(gitPath, "info", "exclude") - await fs.mkdir(path.join(gitPath, "info"), { recursive: true }) - await fs.writeFile( - excludesPath, - [ - ".git/", // ignore the user's .git - `.git${GIT_DISABLED_SUFFIX}/`, // ignore the disabled nested git repos - ".DS_Store", - "*.log", - "node_modules/", - "__pycache__/", - "env/", - "venv/", - "target/dependency/", - "build/dependencies/", - "dist/", - "out/", - "bundle/", - "vendor/", - "tmp/", - "temp/", - "deps/", - "pkg/", - "Pods/", - // Media files - "*.jpg", - "*.jpeg", - "*.png", - "*.gif", - "*.bmp", - "*.ico", - // "*.svg", - "*.mp3", - "*.mp4", - "*.wav", - "*.avi", - "*.mov", - "*.wmv", - "*.webm", - "*.webp", - "*.m4a", - "*.flac", - // Build and dependency directories - "build/", - "bin/", - "obj/", - ".gradle/", - ".idea/", - ".vscode/", - ".vs/", - "coverage/", - ".next/", - ".nuxt/", - // Cache and temporary files - "*.cache", - "*.tmp", - "*.temp", - "*.swp", - "*.swo", - "*.pyc", - "*.pyo", - ".pytest_cache/", - ".eslintcache", - // Environment and config files - ".env*", - "*.local", - "*.development", - "*.production", - // Large data files - "*.zip", - "*.tar", - "*.gz", - "*.rar", - "*.7z", - "*.iso", - "*.bin", - "*.exe", - "*.dll", - "*.so", - "*.dylib", - // Database files - "*.sqlite", - "*.db", - "*.sql", - // Log files - "*.logs", - "*.error", - "npm-debug.log*", - "yarn-debug.log*", - "yarn-error.log*", - ...lfsPatterns, - ].join("\n"), - ) - - // Set up git identity (git throws an error if user.name or user.email is not set) - await git.addConfig("user.name", "Cline Checkpoint") - await git.addConfig("user.email", "noreply@example.com") - - await this.addAllFiles(git) - // Initial commit (--allow-empty ensures it works even with no files) - await git.commit("initial commit", { "--allow-empty": null }) - - return gitPath - } - } - - public async getShadowGitConfigWorkTree(): Promise { - if (this.lastRetrievedShadowGitConfigWorkTree) { - return this.lastRetrievedShadowGitConfigWorkTree - } - try { - const gitPath = await this.getShadowGitPath() - const git = simpleGit(path.dirname(gitPath)) - const worktree = await git.getConfig("core.worktree") - this.lastRetrievedShadowGitConfigWorkTree = worktree.value || undefined - return this.lastRetrievedShadowGitConfigWorkTree - } catch (error) { - console.error("Failed to get shadow git config worktree:", error) - return undefined - } - } - - public async commit(): Promise { - try { - const gitPath = await this.getShadowGitPath() - const git = simpleGit(path.dirname(gitPath)) - await this.addAllFiles(git) - const result = await git.commit("checkpoint", { - "--allow-empty": null, - }) - const commitHash = result.commit || "" - this.lastCheckpointHash = commitHash - return commitHash - } catch (error) { - console.error("Failed to create checkpoint:", error) - return undefined - } - } - - public async resetHead(commitHash: string): Promise { - const gitPath = await this.getShadowGitPath() - const git = simpleGit(path.dirname(gitPath)) - - // Clean working directory and force reset - // This ensures that the operation will succeed regardless of: - // - Untracked files in the workspace - // - Staged changes - // - Unstaged changes - // - Partial commits - // - Merge conflicts - await git.clean("f", ["-d", "-f"]) // Remove untracked files and directories - await git.reset(["--hard", commitHash]) // Hard reset to target commit - } - - /** - * Return an array describing changed files between one commit and either: - * - another commit, or - * - the current working directory (including uncommitted changes). - * - * If `rhsHash` is omitted, compares `lhsHash` to the working directory. - * If you want truly untracked files to appear, `git add` them first. - * - * @param lhsHash - The commit to compare from (older commit) - * @param rhsHash - The commit to compare to (newer commit). - * If omitted, we compare to the working directory. - * @returns Array of file changes with before/after content - */ - public async getDiffSet( - lhsHash?: string, - rhsHash?: string, - ): Promise< - Array<{ - relativePath: string - absolutePath: string - before: string - after: string - }> - > { - const gitPath = await this.getShadowGitPath() - const git = simpleGit(path.dirname(gitPath)) - - // If lhsHash is missing, use the initial commit of the repo - let baseHash = lhsHash - if (!baseHash) { - const rootCommit = await git.raw(["rev-list", "--max-parents=0", "HEAD"]) - baseHash = rootCommit.trim() - } - - // Stage all changes so that untracked files appear in diff summary - await this.addAllFiles(git) - - const diffSummary = rhsHash ? await git.diffSummary([`${baseHash}..${rhsHash}`]) : await git.diffSummary([baseHash]) - - // For each changed file, gather before/after content - const result = [] - const cwdPath = (await this.getShadowGitConfigWorkTree()) || this.cwd || "" - - for (const file of diffSummary.files) { - const filePath = file.file - const absolutePath = path.join(cwdPath, filePath) - - let beforeContent = "" - try { - beforeContent = await git.show([`${baseHash}:${filePath}`]) - } catch (_) { - // file didn't exist in older commit => remains empty - } - - let afterContent = "" - if (rhsHash) { - // if user provided a newer commit, use git.show at that commit - try { - afterContent = await git.show([`${rhsHash}:${filePath}`]) - } catch (_) { - // file didn't exist in newer commit => remains empty - } - } else { - // otherwise, read from disk (includes uncommitted changes) - try { - afterContent = await fs.readFile(absolutePath, "utf8") - } catch (_) { - // file might be deleted => remains empty - } - } - - result.push({ - relativePath: filePath, - absolutePath, - before: beforeContent, - after: afterContent, - }) - } - - return result - } - - private async addAllFiles(git: SimpleGit) { - await this.renameNestedGitRepos(true) - try { - await git.add(".") - } catch (error) { - console.error("Failed to add files to git:", error) - } finally { - await this.renameNestedGitRepos(false) - } - } - - // Since we use git to track checkpoints, we need to temporarily disable nested git repos to work around git's requirement of using submodules for nested repos. - private async renameNestedGitRepos(disable: boolean) { - // Find all .git directories that are not at the root level - const gitPaths = await globby("**/.git" + (disable ? "" : GIT_DISABLED_SUFFIX), { - cwd: this.cwd, - onlyDirectories: true, - ignore: [".git"], // Ignore root level .git - dot: true, - markDirectories: false, - }) - - // For each nested .git directory, rename it based on operation - for (const gitPath of gitPaths) { - const fullPath = path.join(this.cwd, gitPath) - let newPath: string - if (disable) { - newPath = fullPath + GIT_DISABLED_SUFFIX - } else { - newPath = fullPath.endsWith(GIT_DISABLED_SUFFIX) ? fullPath.slice(0, -GIT_DISABLED_SUFFIX.length) : fullPath - } - - try { - await fs.rename(fullPath, newPath) - console.log(`CheckpointTracker ${disable ? "disabled" : "enabled"} nested git repo ${gitPath}`) - } catch (error) { - console.error(`CheckpointTracker failed to ${disable ? "disable" : "enable"} nested git repo ${gitPath}:`, error) - } - } - } - - public dispose() { - this.disposables.forEach((d) => d.dispose()) - this.disposables = [] - } -} - -const GIT_DISABLED_SUFFIX = "_disabled" - -export default CheckpointTracker diff --git a/src/integrations/checkpoints/CheckpointUtils.ts b/src/integrations/checkpoints/CheckpointUtils.ts index a96a695d..96f0456c 100644 --- a/src/integrations/checkpoints/CheckpointUtils.ts +++ b/src/integrations/checkpoints/CheckpointUtils.ts @@ -2,6 +2,7 @@ import { mkdir, access, constants } from "fs/promises" import * as path from "path" import * as vscode from "vscode" import os from "os" +import { getCwd } from "@/utils/path" /** * Gets the path to the shadow Git repository in globalStorage. @@ -45,7 +46,7 @@ export async function getShadowGitPath(globalStoragePath: string, taskId: string * @throws Error if no workspace is detected, if in a protected directory, or if no read access */ export async function getWorkingDirectory(): Promise { - const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) + const cwd = await getCwd() if (!cwd) { throw new Error("未检测到工作区。请在工作区中打开 Cline 以使用检查点。") } diff --git a/src/integrations/claude-code/run.ts b/src/integrations/claude-code/run.ts index b97fa93f..90fe9caa 100644 --- a/src/integrations/claude-code/run.ts +++ b/src/integrations/claude-code/run.ts @@ -11,6 +11,7 @@ type ClaudeCodeOptions = { messages: Anthropic.Messages.MessageParam[] path?: string modelId?: string + thinkingBudgetTokens?: number } type ProcessState = { @@ -107,12 +108,11 @@ const claudeCodeTools = [ const CLAUDE_CODE_TIMEOUT = 600000 // 10 minutes -function runProcess({ systemPrompt, messages, path, modelId }: ClaudeCodeOptions) { +function runProcess({ systemPrompt, messages, path, modelId, thinkingBudgetTokens }: ClaudeCodeOptions) { const claudePath = path || "claude" const args = [ "-p", - JSON.stringify(messages), "--system-prompt", systemPrompt, "--verbose", @@ -129,19 +129,31 @@ function runProcess({ systemPrompt, messages, path, modelId }: ClaudeCodeOptions args.push("--model", modelId) } - return execa(claudePath, args, { - stdin: "ignore", + const env: NodeJS.ProcessEnv = { + ...process.env, + // The default is 32000. However, I've gotten larger responses, so we increase it unless the user specified it. + CLAUDE_CODE_MAX_OUTPUT_TOKENS: process.env.CLAUDE_CODE_MAX_OUTPUT_TOKENS || "64000", + MAX_THINKING_TOKENS: (thinkingBudgetTokens || 0).toString(), + } + + // We don't want to consume the user's ANTHROPIC_API_KEY, + // and will allow Claude Code to resolve auth by itself + delete env["ANTHROPIC_API_KEY"] + + const claudeCodeProcess = execa(claudePath, args, { + stdin: "pipe", stdout: "pipe", stderr: "pipe", - env: { - ...process.env, - // The default is 32000. However, I've gotten larger responses, so we increase it unless the user specified it. - CLAUDE_CODE_MAX_OUTPUT_TOKENS: process.env.CLAUDE_CODE_MAX_OUTPUT_TOKENS || "64000", - }, + env, cwd, maxBuffer: 1024 * 1024 * 1000, timeout: CLAUDE_CODE_TIMEOUT, }) + + claudeCodeProcess.stdin.write(JSON.stringify(messages)) + claudeCodeProcess.stdin.end() + + return claudeCodeProcess } function parseChunk(data: string, processState: ProcessState) { diff --git a/src/integrations/editor/DiffViewProvider.ts b/src/integrations/editor/DiffViewProvider.ts index c7dc331d..b801ce49 100644 --- a/src/integrations/editor/DiffViewProvider.ts +++ b/src/integrations/editor/DiffViewProvider.ts @@ -9,6 +9,8 @@ import * as diff from "diff" import { diagnosticsToProblemsString, getNewDiagnostics } from "../diagnostics" import { detectEncoding } from "../misc/extract-text" import * as iconv from "iconv-lite" +import { getHostBridgeProvider } from "@/hosts/host-providers" +import { ShowTextDocumentRequest, ShowTextDocumentOptions, TextEditorInfo } from "@/shared/proto/host/window" export const DIFF_VIEW_URI_SCHEME = "cline-diff" @@ -236,10 +238,15 @@ export class DiffViewProvider { // get text after save in case there is any auto-formatting done by the editor const postSaveContent = updatedDocument.getText() - await vscode.window.showTextDocument(vscode.Uri.file(absolutePath), { - preview: false, - preserveFocus: true, - }) + await getHostBridgeProvider().windowClient.showTextDocument( + ShowTextDocumentRequest.create({ + path: absolutePath, + options: ShowTextDocumentOptions.create({ + preview: false, + preserveFocus: true, + }), + }), + ) await this.closeAllDiffViews() /* @@ -337,10 +344,15 @@ export class DiffViewProvider { await updatedDocument.save() console.log(`File ${absolutePath} has been reverted to its original content.`) if (this.documentWasOpen) { - await vscode.window.showTextDocument(vscode.Uri.file(absolutePath), { - preview: false, - preserveFocus: true, - }) + await getHostBridgeProvider().windowClient.showTextDocument( + ShowTextDocumentRequest.create({ + path: absolutePath, + options: ShowTextDocumentOptions.create({ + preview: false, + preserveFocus: true, + }), + }), + ) } await this.closeAllDiffViews() } @@ -376,9 +388,19 @@ export class DiffViewProvider { arePathsEqual(tab.input.modified.fsPath, uri.fsPath), ) if (diffTab && diffTab.input instanceof vscode.TabInputTextDiff) { - const editor = await vscode.window.showTextDocument(diffTab.input.modified, { - preserveFocus: true, - }) + const editorInfo = await getHostBridgeProvider().windowClient.showTextDocument( + ShowTextDocumentRequest.create({ + path: diffTab.input.modified.fsPath, + options: ShowTextDocumentOptions.create({ + preserveFocus: true, + }), + }), + ) + // Find the editor that matches the returned path + const editor = vscode.window.visibleTextEditors.find((e) => e.document.uri.fsPath === editorInfo.documentPath) + if (!editor) { + throw new Error("Failed to find opened text editor") + } return editor } // Open new diff editor diff --git a/src/integrations/git/commit-message-generator.ts b/src/integrations/git/commit-message-generator.ts index 557c904b..f5ce70a6 100644 --- a/src/integrations/git/commit-message-generator.ts +++ b/src/integrations/git/commit-message-generator.ts @@ -1,5 +1,7 @@ import * as vscode from "vscode" -import { getWorkingState } from "@utils/git" +import { writeTextToClipboard } from "@utils/env" +import { getHostBridgeProvider } from "@/hosts/host-providers" +import { ShowTextDocumentRequest } from "@/shared/proto/host/window" /** * Formats the git diff into a prompt for the AI @@ -57,7 +59,7 @@ export function extractCommitMessage(aiResponse: string): string { * @param message The commit message to copy */ export async function copyCommitMessageToClipboard(message: string): Promise { - await vscode.env.clipboard.writeText(message) + await writeTextToClipboard(message) vscode.window.showInformationMessage("提交信息复制到剪贴板") } @@ -129,6 +131,10 @@ async function editCommitMessage(message: string): Promise { language: "markdown", }) - await vscode.window.showTextDocument(document) + await getHostBridgeProvider().windowClient.showTextDocument( + ShowTextDocumentRequest.create({ + path: document.uri.fsPath, + }), + ) vscode.window.showInformationMessage("编辑提交信息并复制") } diff --git a/src/integrations/misc/export-markdown.ts b/src/integrations/misc/export-markdown.ts index 53c679dd..b605ea30 100644 --- a/src/integrations/misc/export-markdown.ts +++ b/src/integrations/misc/export-markdown.ts @@ -2,6 +2,8 @@ import { Anthropic } from "@anthropic-ai/sdk" import os from "os" import * as path from "path" import * as vscode from "vscode" +import { getHostBridgeProvider } from "@/hosts/host-providers" +import { ShowTextDocumentRequest, ShowTextDocumentOptions } from "@/shared/proto/host/window" export async function downloadTask(dateTs: number, conversationHistory: Anthropic.MessageParam[]) { // File name @@ -38,7 +40,12 @@ export async function downloadTask(dateTs: number, conversationHistory: Anthropi try { // Write content to the selected location await vscode.workspace.fs.writeFile(saveUri, new TextEncoder().encode(markdownContent)) - vscode.window.showTextDocument(saveUri, { preview: true }) + await getHostBridgeProvider().windowClient.showTextDocument( + ShowTextDocumentRequest.create({ + path: saveUri.fsPath, + options: ShowTextDocumentOptions.create({ preview: true }), + }), + ) } catch (error) { vscode.window.showErrorMessage(`保存 markdown 文件: ${error instanceof Error ? error.message : String(error)}`) } diff --git a/src/integrations/misc/open-file.ts b/src/integrations/misc/open-file.ts index 99ede8e9..00f5f9ce 100644 --- a/src/integrations/misc/open-file.ts +++ b/src/integrations/misc/open-file.ts @@ -2,6 +2,8 @@ import * as path from "path" import * as os from "os" import * as vscode from "vscode" import { arePathsEqual } from "@utils/path" +import { getHostBridgeProvider } from "@/hosts/host-providers" +import { ShowTextDocumentRequest, ShowTextDocumentOptions } from "@/shared/proto/host/window" export async function openImage(dataUri: string) { const matches = dataUri.match(/^data:image\/([a-zA-Z]+);base64,(.+)$/) @@ -42,7 +44,12 @@ export async function openFile(absolutePath: string) { } catch {} // not essential, sometimes tab operations fail const document = await vscode.workspace.openTextDocument(uri) - await vscode.window.showTextDocument(document, { preview: false }) + await getHostBridgeProvider().windowClient.showTextDocument( + ShowTextDocumentRequest.create({ + path: document.uri.fsPath, + options: ShowTextDocumentOptions.create({ preview: false }), + }), + ) } catch (error) { vscode.window.showErrorMessage(`打开文件错误!`) } diff --git a/src/integrations/notifications/index.ts b/src/integrations/notifications/index.ts index e1f9f919..722df87e 100644 --- a/src/integrations/notifications/index.ts +++ b/src/integrations/notifications/index.ts @@ -74,7 +74,7 @@ export async function showSystemNotification(options: NotificationOptions): Prom const escapedOptions = { ...options, title: title.replace(/"/g, '\\"'), - message: message.replace(/\\/g, "\\\\").replace(/"/g, '\\"'), + message: message.replace(/"/g, '\\"'), subtitle: options.subtitle?.replace(/"/g, '\\"') || "", } diff --git a/src/integrations/terminal/TerminalProcess.test.ts b/src/integrations/terminal/TerminalProcess.test.ts index f829b0b3..e9652046 100644 --- a/src/integrations/terminal/TerminalProcess.test.ts +++ b/src/integrations/terminal/TerminalProcess.test.ts @@ -60,7 +60,14 @@ describe("TerminalProcess (Integration Tests)", () => { const emitSpy = sandbox.spy(process, "emit") // Run a simple command - await process.run(terminal, "echo test") + const runPromise = process.run(terminal, "echo test") + + // If terminal doesn't have shell integration, advance timer + if (!terminal.shellIntegration) { + await sandbox.clock.tickAsync(3000) + } + + await runPromise // Verify that the continue event was emitted ;(emitSpy as sinon.SinonSpy).calledWith("continue").should.be.true() @@ -76,7 +83,14 @@ describe("TerminalProcess (Integration Tests)", () => { const emitSpy = sandbox.spy(process, "emit") // Run a command that produces predictable output - await process.run(terminal, "echo 'Line 1' && echo 'Line 2'") + const runPromise = process.run(terminal, "echo 'Line 1' && echo 'Line 2'") + + // If terminal doesn't have shell integration, advance timer + if (!terminal.shellIntegration) { + await sandbox.clock.tickAsync(3000) + } + + await runPromise // Check that the events were emitted ;(emitSpy as sinon.SinonSpy).calledWith("completed").should.be.true() @@ -92,7 +106,14 @@ describe("TerminalProcess (Integration Tests)", () => { const emitSpy = sandbox.spy(process, "emit") // Run a command that lists files - await process.run(terminal, "ls -la") + const runPromise = process.run(terminal, "ls -la") + + // If terminal doesn't have shell integration, advance timer + if (!terminal.shellIntegration) { + await sandbox.clock.tickAsync(3000) + } + + await runPromise // Verify that the continue event was emitted ;(emitSpy as sinon.SinonSpy).calledWith("continue").should.be.true() @@ -130,7 +151,14 @@ describe("TerminalProcess (Integration Tests)", () => { const emitSpy = sandbox.spy(process, "emit") // Run a command that produces predictable output - await process.run(terminal, "echo 'Line 1' 'Line 2'") + const runPromise = process.run(terminal, "echo 'Line 1' 'Line 2'") + + // If terminal doesn't have shell integration, advance timer + if (!terminal.shellIntegration) { + await sandbox.clock.tickAsync(3000) + } + + await runPromise // Check that the events were emitted ;(emitSpy as sinon.SinonSpy).calledWith("completed").should.be.true() @@ -146,7 +174,14 @@ describe("TerminalProcess (Integration Tests)", () => { const emitSpy = sandbox.spy(process, "emit") // Run a command that produces predictable output - await process.run(terminal, "echo \"Line 1\" && echo 'Line 2'") + const runPromise = process.run(terminal, "echo \"Line 1\" && echo 'Line 2'") + + // If terminal doesn't have shell integration, advance timer + if (!terminal.shellIntegration) { + await sandbox.clock.tickAsync(3000) + } + + await runPromise // Check that the events were emitted ;(emitSpy as sinon.SinonSpy).calledWith("completed").should.be.true() @@ -169,8 +204,14 @@ describe("TerminalProcess (Integration Tests)", () => { // Spy on the emit function to verify events const emitSpy = sandbox.spy(process, "emit") - // Run the command - await process.run(terminal, "test-command") + // Run the command - this returns a promise + const runPromise = process.run(terminal, "test-command") + + // Advance the fake timer by 3 seconds to trigger the setTimeout + await sandbox.clock.tickAsync(3000) + + // Now wait for the promise to resolve + await runPromise // Check that the correct methods were called and events emitted sendTextStub.calledWith("test-command", true).should.be.true() diff --git a/src/integrations/terminal/TerminalProcess.ts b/src/integrations/terminal/TerminalProcess.ts index df4d9c1b..c987d1d1 100644 --- a/src/integrations/terminal/TerminalProcess.ts +++ b/src/integrations/terminal/TerminalProcess.ts @@ -2,6 +2,7 @@ import { EventEmitter } from "events" import { stripAnsi } from "./ansiUtils" import * as vscode from "vscode" import { Logger } from "@services/logging/Logger" +import { getLatestTerminalOutput } from "./get-latest-output" export interface TerminalProcessEvents { line: [line: string] @@ -31,6 +32,19 @@ export class TerminalProcess extends EventEmitter { // super() async run(terminal: vscode.Terminal, command: string) { + // When command does not produce any output, we can assume the shell integration API failed and as a fallback return the current terminal contents + const emitCurrentTerminalContents = async () => { + try { + const terminalSnapshot = await getLatestTerminalOutput() + if (terminalSnapshot && terminalSnapshot.trim()) { + const fallbackMessage = `The command's output could not be captured due to some technical issue, however it has been executed successfully. Here's the current terminal's content to help you get the command's output:\n\n${terminalSnapshot}` + this.emit("line", fallbackMessage) + } + } catch (error) { + console.error("Error capturing terminal output:", error) + } + } + // Clear any existing grace period timer from previous commands if (this.gracePeriodTimer) { clearTimeout(this.gracePeriodTimer) @@ -249,7 +263,8 @@ export class TerminalProcess extends EventEmitter { if (!didEmitEmptyLine) { console.log(`[TerminalProcess] Emitting fallback empty line for no-output command`) this.emit("line", "") // empty line to show proceed button - this.emit("line", "[Command completed with no output]") + // this.emit("line", "[Command completed with no output]") + await emitCurrentTerminalContents() didEmitEmptyLine = true } } @@ -295,7 +310,8 @@ export class TerminalProcess extends EventEmitter { console.log(`[TerminalProcess] WARNING: Process completed but no output was captured`) // Ensure we emit at least one line for UI feedback if (!didEmitEmptyLine) { - this.emit("line", "[Command completed silently]") + // this.emit("line", "[Command completed silently]") + await emitCurrentTerminalContents() } } @@ -314,7 +330,14 @@ export class TerminalProcess extends EventEmitter { this.startGracePeriod() } } else { + // no shell integration detected, we'll fallback to running the command and capturing the terminal's output after some time terminal.sendText(command, true) + + // wait 3 seconds for the command to run + await new Promise((resolve) => setTimeout(resolve, 3000)) + + // For terminals without shell integration, also try to capture terminal content + await emitCurrentTerminalContents() // For terminals without shell integration, we can't know when the command completes // So we'll just emit the continue event after a delay this.emit("completed") diff --git a/src/integrations/terminal/get-latest-output.ts b/src/integrations/terminal/get-latest-output.ts index 0c869e7f..79192ae3 100644 --- a/src/integrations/terminal/get-latest-output.ts +++ b/src/integrations/terminal/get-latest-output.ts @@ -1,4 +1,5 @@ import * as vscode from "vscode" +import { readTextFromClipboard, writeTextToClipboard } from "@utils/env" /** * Gets the contents of the active terminal @@ -6,7 +7,7 @@ import * as vscode from "vscode" */ export async function getLatestTerminalOutput(): Promise { // Store original clipboard content to restore later - const originalClipboard = await vscode.env.clipboard.readText() + const originalClipboard = await readTextFromClipboard() try { // Select terminal content @@ -19,7 +20,7 @@ export async function getLatestTerminalOutput(): Promise { await vscode.commands.executeCommand("workbench.action.terminal.clearSelection") // Get terminal contents from clipboard - let terminalContents = (await vscode.env.clipboard.readText()).trim() + let terminalContents = (await readTextFromClipboard()).trim() // Check if there's actually a terminal open if (terminalContents === originalClipboard) { @@ -40,6 +41,6 @@ export async function getLatestTerminalOutput(): Promise { return terminalContents } finally { // Restore original clipboard content - await vscode.env.clipboard.writeText(originalClipboard) + await writeTextToClipboard(originalClipboard) } } diff --git a/src/integrations/workspace/WorkspaceTracker.ts b/src/integrations/workspace/WorkspaceTracker.ts index c64ce321..7a589dbc 100644 --- a/src/integrations/workspace/WorkspaceTracker.ts +++ b/src/integrations/workspace/WorkspaceTracker.ts @@ -2,13 +2,22 @@ import * as vscode from "vscode" import * as path from "path" import { listFiles } from "@services/glob/list-files" import { sendWorkspaceUpdateEvent } from "@core/controller/file/subscribeToWorkspaceUpdates" - -const cwd = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) +import { getCwd } from "@/utils/path" // Note: this is not a drop-in replacement for listFiles at the start of tasks, since that will be done for Desktops when there is no workspace selected class WorkspaceTracker { private disposables: vscode.Disposable[] = [] private filePaths: Set = new Set() + private cwd: string = "" + + constructor() { + this.initializeCwd() + this.registerListeners() + } + + private async initializeCwd() { + this.cwd = await getCwd() + } private get activeFiles() { return new Set( @@ -18,16 +27,12 @@ class WorkspaceTracker { ) } - constructor() { - this.registerListeners() - } - async populateFilePaths() { // should not auto get filepaths for desktop since it would immediately show permission popup before cline ever creates a file - if (!cwd) { + if (!this.cwd) { return } - const [files, _] = await listFiles(cwd, true, 1_000) + const [files, _] = await listFiles(this.cwd, true, 1_000) files.forEach((file) => this.filePaths.add(this.normalizeFilePath(file))) this.workspaceDidUpdate() } @@ -91,18 +96,18 @@ class WorkspaceTracker { } private async workspaceDidUpdate() { - if (!cwd) { + if (!this.cwd) { return } const filePaths = Array.from(new Set([...this.activeFiles, ...this.filePaths])).map((file) => { - const relativePath = path.relative(cwd, file).toPosix() + const relativePath = path.relative(this.cwd, file).toPosix() return file.endsWith("/") ? relativePath + "/" : relativePath }) await sendWorkspaceUpdateEvent(filePaths) } private normalizeFilePath(filePath: string): string { - const resolvedPath = cwd ? path.resolve(cwd, filePath) : path.resolve(filePath) + const resolvedPath = this.cwd ? path.resolve(this.cwd, filePath) : path.resolve(filePath) return filePath.endsWith("/") ? resolvedPath + "/" : resolvedPath } diff --git a/src/integrations/workspace/get-python-env.ts b/src/integrations/workspace/get-python-env.ts deleted file mode 100644 index 92575b40..00000000 --- a/src/integrations/workspace/get-python-env.ts +++ /dev/null @@ -1,42 +0,0 @@ -import * as vscode from "vscode" - -/* -Used to get user's current python environment (unnecessary now that we use the IDE's terminal) -${await (async () => { - try { - const pythonEnvPath = await getPythonEnvPath() - if (pythonEnvPath) { - return `\nPython Environment: ${pythonEnvPath}` - } - } catch {} - return "" - })()} -*/ -export async function getPythonEnvPath(): Promise { - const pythonExtension = vscode.extensions.getExtension("ms-python.python") - - if (!pythonExtension) { - return undefined - } - - // Ensure the Python extension is activated - if (!pythonExtension.isActive) { - // if the python extension is not active, we can assume the project is not a python project - return undefined - } - - // Access the Python extension API - const pythonApi = pythonExtension.exports - // Get the active environment path for the current workspace - const workspaceFolder = vscode.workspace.workspaceFolders?.[0] - if (!workspaceFolder) { - return undefined - } - // Get the active python environment path for the current workspace - const pythonEnv = await pythonApi?.environments?.getActiveEnvironmentPath(workspaceFolder.uri) - if (pythonEnv && pythonEnv.path) { - return pythonEnv.path - } else { - return undefined - } -} diff --git a/src/services/account/ClineAccountService.ts b/src/services/account/ClineAccountService.ts index d93afbb4..66b56085 100644 --- a/src/services/account/ClineAccountService.ts +++ b/src/services/account/ClineAccountService.ts @@ -1,17 +1,11 @@ import axios, { AxiosRequestConfig, AxiosResponse } from "axios" import type { BalanceResponse, PaymentTransaction, UsageTransaction } from "@shared/ClineAccount" -import { ExtensionMessage } from "@shared/ExtensionMessage" export class ClineAccountService { private readonly baseUrl = "https://api.cline.bot/v1" - private postMessageToWebview: (message: ExtensionMessage) => Promise private getClineApiKey: () => Promise - constructor( - postMessageToWebview: (message: ExtensionMessage) => Promise, - getClineApiKey: () => Promise, - ) { - this.postMessageToWebview = postMessageToWebview + constructor(getClineApiKey: () => Promise) { this.getClineApiKey = getClineApiKey } diff --git a/src/services/account/SSYAccountService.ts b/src/services/account/SSYAccountService.ts index d624b8e1..a1e966d0 100644 --- a/src/services/account/SSYAccountService.ts +++ b/src/services/account/SSYAccountService.ts @@ -1,5 +1,3 @@ -import type { BalanceResponse, PaymentTransaction, UsageTransaction } from "../../shared/ClineAccount" -import { ExtensionMessage } from "../../shared/ExtensionMessage" import axios, { AxiosRequestConfig } from "axios" import { UserCreditsData } from "@shared/proto/account" @@ -40,26 +38,26 @@ export class SSYAccountService { this.authenticatedRequest("/user/info"), ]) - if (!usage || !Array.isArray(usage?.logs)) { + if (!usage || !Array.isArray(usage?.logs) || !rate) { usage = [] } else { usage = usage.logs.map((it: any) => ({ spentAt: it.request_time, modelProvider: "", model: `${it.model?.company}/${it.model?.name}`, - credits: it.total_amount / 10000000, + credits: (rate * it.total_amount) / 10000000, totalTokens: it.total_amount, promptTokens: it.input_tokens, completionTokens: it.output_tokens, })) } - if (!payment || !Array.isArray(payment.records)) { + if (!payment || !Array.isArray(payment.records) || !rate) { payment = [] } else { payment = payment.records.map((it: any) => ({ paidAt: it.create_at, - amountCents: (it.price / 10000).toString(), + amountCents: ((rate * it.price) / 10000).toString(), })) } diff --git a/src/services/mcp/McpHub.ts b/src/services/mcp/McpHub.ts index 5a94adda..b2d61e37 100644 --- a/src/services/mcp/McpHub.ts +++ b/src/services/mcp/McpHub.ts @@ -139,7 +139,6 @@ export class McpHub { console.log("[DEBUG] subscribing to mcp file changes") const cancelSubscription = getHostBridgeProvider().watchServiceClient.subscribeToFile( SubscribeToFileRequest.create({ - metadata: Metadata.create({}), path: settingsPath, }), { @@ -154,7 +153,7 @@ export class McpHub { if (settings) { try { await this.updateServerConnections(settings.mcpServers) - vscode.window.showInformationMessage("MCP servers updated") + vscode.window.showInformationMessage("MCP 更新成功") } catch (error) { console.error("Failed to process MCP settings change:", error) } diff --git a/src/services/test/GitHelper.ts b/src/services/test/GitHelper.ts index 44705b06..06eb6331 100644 --- a/src/services/test/GitHelper.ts +++ b/src/services/test/GitHelper.ts @@ -1,33 +1,6 @@ import * as path from "path" -import * as vscode from "vscode" import { execa } from "execa" import { Logger } from "@services/logging/Logger" -import { WebviewProvider } from "@core/webview" - -/** - * Gets a valid workspace path for Git operations - * @param visibleWebview The visible webview instance - * @returns A valid workspace path - */ -export function getWorkspacePath(visibleWebview: WebviewProvider): string { - // First try to get the path from the controller's state - let workspacePath = visibleWebview.controller.context.workspaceState.get("cwd") || "" - - // If workspace path is empty, try to get it from the active workspace folder - if (!workspacePath) { - const workspaceFolders = vscode.workspace.workspaceFolders - if (workspaceFolders && workspaceFolders.length > 0) { - workspacePath = workspaceFolders[0].uri.fsPath - Logger.log(`Using workspace folder path: ${workspacePath}`) - } else { - // If no workspace folder is open, use the extension directory as a fallback - workspacePath = path.join(__dirname, "..", "..", "..") - Logger.log(`No workspace folder found, using extension directory: ${workspacePath}`) - } - } - - return workspacePath -} /** * Validates that the workspace path is valid and writable for Git operations @@ -42,7 +15,7 @@ export async function validateWorkspacePath(workspacePath: string): Promise { // Get all workspace folders - const workspaceFolders = vscode.workspace.workspaceFolders || [] + const workspaceFolders = await getHostBridgeProvider().workspaceClient.getWorkspacePaths({}) // Check each workspace folder for an evals.env file - for (const folder of workspaceFolders) { - const evalsEnvPath = path.join(folder.uri.fsPath, "evals.env") + for (const folder of workspaceFolders.paths) { + const evalsEnvPath = path.join(folder, "evals.env") if (fs.existsSync(evalsEnvPath)) { Logger.log(`Found evals.env file at ${evalsEnvPath}, activating test mode`) return true @@ -49,14 +50,13 @@ function checkForTestMode(): boolean { /** * Initialize test mode detection and setup file watchers - * @param context VSCode extension context * @param webviewProvider The webview provider instance */ -export function initializeTestMode(context: vscode.ExtensionContext, webviewProvider?: any): vscode.Disposable[] { +export async function initializeTestMode(webviewProvider?: any): Promise { const disposables: vscode.Disposable[] = [] // Check if we're in test mode - const IS_TEST = checkForTestMode() + const IS_TEST = await checkForTestMode() // Set test mode state for other parts of the code if (IS_TEST) { diff --git a/src/services/test/TestServer.ts b/src/services/test/TestServer.ts index 79d6303a..5d99ffe2 100644 --- a/src/services/test/TestServer.ts +++ b/src/services/test/TestServer.ts @@ -6,13 +6,7 @@ import { Logger } from "@services/logging/Logger" import { WebviewProvider } from "@core/webview" import { AutoApprovalSettings } from "@shared/AutoApprovalSettings" import { TaskServiceClient } from "webview-ui/src/services/grpc-client" -import { - getWorkspacePath, - validateWorkspacePath, - initializeGitRepository, - getFileChanges, - calculateToolSuccessRate, -} from "./GitHelper" +import { validateWorkspacePath, initializeGitRepository, getFileChanges, calculateToolSuccessRate } from "./GitHelper" import { updateGlobalState, getAllExtensionState, @@ -25,6 +19,7 @@ import { ApiProvider } from "@shared/api" import { HistoryItem } from "@shared/HistoryItem" import { getSavedClineMessages, getSavedApiConversationHistory } from "@core/storage/disk" import { AskResponseRequest } from "@/shared/proto/task" +import { getCwd } from "@/utils/path" /** * Creates a tracker to monitor tool calls and failures during task execution @@ -215,7 +210,7 @@ export function createTestServer(webviewProvider?: WebviewProvider): http.Server try { // Get and validate the workspace path - const workspacePath = getWorkspacePath(visibleWebview) + const workspacePath = await getCwd() Logger.log(`Using workspace path: ${workspacePath}`) // Validate workspace path before proceeding with any operations @@ -375,7 +370,7 @@ export function createTestServer(webviewProvider?: WebviewProvider): http.Server let fileChanges try { // Get the workspace path using our helper function - const workspacePath = getWorkspacePath(visibleWebview) + const workspacePath = await getCwd() Logger.log(`Getting file changes from workspace path: ${workspacePath}`) // Log directory contents for debugging diff --git a/src/shared/BrowserSettings.ts b/src/shared/BrowserSettings.ts index e22a172f..1a5f446b 100644 --- a/src/shared/BrowserSettings.ts +++ b/src/shared/BrowserSettings.ts @@ -25,8 +25,8 @@ export const DEFAULT_BROWSER_SETTINGS: BrowserSettings = { } export const BROWSER_VIEWPORT_PRESETS = { - "Large Desktop (1280x800)": { width: 1280, height: 800 }, - "Small Desktop (900x600)": { width: 900, height: 600 }, - "Tablet (768x1024)": { width: 768, height: 1024 }, - "Mobile (360x640)": { width: 360, height: 640 }, + "大型桌面 (1280x800)": { width: 1280, height: 800 }, + "小型桌面 (900x600)": { width: 900, height: 600 }, + "平板 (768x1024)": { width: 768, height: 1024 }, + "手机 (360x640)": { width: 360, height: 640 }, } as const diff --git a/src/shared/ExtensionMessage.ts b/src/shared/ExtensionMessage.ts index 7f23fcd0..0eae66e3 100644 --- a/src/shared/ExtensionMessage.ts +++ b/src/shared/ExtensionMessage.ts @@ -58,6 +58,7 @@ export const DEFAULT_PLATFORM = "unknown" export interface ExtensionState { isNewUser: boolean + welcomeViewCompleted: boolean apiConfiguration?: ApiConfiguration autoApprovalSettings: AutoApprovalSettings browserSettings: BrowserSettings diff --git a/src/shared/api.ts b/src/shared/api.ts index a1553273..a16a288e 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -10,7 +10,6 @@ export type ApiProvider = | "ollama" | "lmstudio" | "gemini" - | "gemini-cli" | "openai-native" | "requesty" | "together" @@ -71,8 +70,6 @@ export interface ApiHandlerOptions { lmStudioBaseUrl?: string geminiApiKey?: string geminiBaseUrl?: string - geminiCliOAuthPath?: string - geminiCliProjectId?: string openAiNativeApiKey?: string deepSeekApiKey?: string requestyApiKey?: string @@ -883,138 +880,6 @@ export const geminiModels = { }, } as const satisfies Record -// Gemini CLI (OAuth-based) -export type GeminiCliModelId = keyof typeof geminiCliModels -export const geminiCliDefaultModelId: GeminiCliModelId = "gemini-2.5-flash" -export const geminiCliModels = { - "gemini-2.5-pro": { - maxTokens: 65536, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, // Free tier via OAuth - outputPrice: 0, // Free tier via OAuth - description: "Google's Gemini 2.5 Pro model via OAuth (free tier)", - }, - "gemini-2.5-flash": { - maxTokens: 65536, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, // Free tier via OAuth - outputPrice: 0, // Free tier via OAuth - description: "Google's Gemini 2.5 Flash model via OAuth (free tier)", - }, - "gemini-2.0-flash-001": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, // Free tier via OAuth - outputPrice: 0, // Free tier via OAuth - description: "Google's Gemini 2.0 Flash model via OAuth (free tier)", - }, - "gemini-2.0-flash-lite-preview-02-05": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 2.0 Flash Lite Preview model via OAuth", - }, - "gemini-2.0-pro-exp-02-05": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 2.0 Pro Experimental model via OAuth", - }, - "gemini-2.0-flash-thinking-exp-01-21": { - maxTokens: 65_536, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 2.0 Flash Thinking Experimental model via OAuth", - }, - "gemini-2.0-flash-thinking-exp-1219": { - maxTokens: 8192, - contextWindow: 32_767, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 2.0 Flash Thinking Experimental (1219) model via OAuth", - }, - "gemini-2.0-flash-exp": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 2.0 Flash Experimental model via OAuth", - }, - "gemini-1.5-flash-002": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, // Free tier via OAuth - outputPrice: 0, // Free tier via OAuth - description: "Google's Gemini 1.5 Flash 002 model via OAuth (free tier)", - }, - "gemini-1.5-flash-exp-0827": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 1.5 Flash Experimental (0827) model via OAuth", - }, - "gemini-1.5-flash-8b-exp-0827": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 1.5 Flash 8B Experimental model via OAuth", - }, - "gemini-1.5-pro-002": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 1.5 Pro 002 model via OAuth", - }, - "gemini-1.5-pro-exp-0827": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini 1.5 Pro Experimental model via OAuth", - }, - "gemini-exp-1206": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - description: "Google's Gemini Experimental (1206) model via OAuth", - }, -} as const satisfies Record - // OpenAI Native // https://openai.com/api/pricing/ export type OpenAiNativeModelId = keyof typeof openAiNativeModels @@ -2528,6 +2393,22 @@ export const shengSuanYunDefaultModelInfo: ModelInfo = { export type SapAiCoreModelId = keyof typeof sapAiCoreModels export const sapAiCoreDefaultModelId: SapAiCoreModelId = "anthropic--claude-3.5-sonnet" export const sapAiCoreModels = { + "anthropic--claude-4-sonnet": { + maxTokens: 8192, + contextWindow: 200_000, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 3.0, + outputPrice: 15.0, + }, + "anthropic--claude-4-opus": { + maxTokens: 8192, + contextWindow: 200_000, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 3.0, + outputPrice: 15.0, + }, "anthropic--claude-3.7-sonnet": { maxTokens: 64_000, contextWindow: 200_000, diff --git a/src/shared/proto-conversions/models/api-configuration-conversion.ts b/src/shared/proto-conversions/models/api-configuration-conversion.ts index f9882af3..70b7119b 100644 --- a/src/shared/proto-conversions/models/api-configuration-conversion.ts +++ b/src/shared/proto-conversions/models/api-configuration-conversion.ts @@ -244,8 +244,6 @@ function convertApiProviderToProto(provider: string | undefined): ProtoApiProvid return ProtoApiProvider.LMSTUDIO case "gemini": return ProtoApiProvider.GEMINI - case "gemini-cli": - return ProtoApiProvider.GEMINI_CLI case "openai-native": return ProtoApiProvider.OPENAI_NATIVE case "requesty": @@ -308,8 +306,6 @@ function convertProtoToApiProvider(provider: ProtoApiProvider): ApiProvider { return "lmstudio" case ProtoApiProvider.GEMINI: return "gemini" - case ProtoApiProvider.GEMINI_CLI: - return "gemini-cli" case ProtoApiProvider.OPENAI_NATIVE: return "openai-native" case ProtoApiProvider.REQUESTY: @@ -433,8 +429,6 @@ export function convertApiConfigurationToProto(config: ApiConfiguration): ProtoA shengSuanYunApiKey: config.shengSuanYunApiKey, shengSuanYunModelId: config.shengSuanYunModelId, shengSuanYunModelInfo: convertModelInfoToProtoShengSuanYun(config.shengSuanYunModelInfo), - geminiCliOauthPath: config.geminiCliOAuthPath, - geminiCliProjectId: config.geminiCliProjectId, } } @@ -518,7 +512,5 @@ export function convertProtoToApiConfiguration(protoConfig: ProtoApiConfiguratio shengSuanYunApiKey: protoConfig.shengSuanYunApiKey, shengSuanYunModelId: protoConfig.shengSuanYunModelId, shengSuanYunModelInfo: convertProtoToShengSuanYunModelInfo(protoConfig.shengSuanYunModelInfo), - geminiCliOAuthPath: protoConfig.geminiCliOauthPath, - geminiCliProjectId: protoConfig.geminiCliProjectId, } } diff --git a/src/shared/proto/models.ts b/src/shared/proto/models.ts index 5b1df22a..6264b71d 100644 --- a/src/shared/proto/models.ts +++ b/src/shared/proto/models.ts @@ -18,26 +18,25 @@ export enum ApiProvider { OLLAMA = 5, LMSTUDIO = 6, GEMINI = 7, - GEMINI_CLI = 8, - OPENAI_NATIVE = 9, - REQUESTY = 10, - TOGETHER = 11, - DEEPSEEK = 12, - QWEN = 13, - DOUBAO = 14, - MISTRAL = 15, - VSCODE_LM = 16, - CLINE = 17, - LITELLM = 18, - NEBIUS = 19, - FIREWORKS = 20, - ASKSAGE = 21, - XAI = 22, - SAMBANOVA = 23, - CEREBRAS = 24, - SAPAICORE = 25, - CLAUDE_CODE = 26, - SHENG_SUAN_YUN = 27, + OPENAI_NATIVE = 8, + REQUESTY = 9, + TOGETHER = 10, + DEEPSEEK = 11, + QWEN = 12, + DOUBAO = 13, + MISTRAL = 14, + VSCODE_LM = 15, + CLINE = 16, + LITELLM = 17, + NEBIUS = 18, + FIREWORKS = 19, + ASKSAGE = 20, + XAI = 21, + SAMBANOVA = 22, + CEREBRAS = 23, + SAPAICORE = 24, + CLAUDE_CODE = 25, + SHENG_SUAN_YUN = 26, UNRECOGNIZED = -1, } @@ -68,63 +67,60 @@ export function apiProviderFromJSON(object: any): ApiProvider { case "GEMINI": return ApiProvider.GEMINI; case 8: - case "GEMINI_CLI": - return ApiProvider.GEMINI_CLI; - case 9: case "OPENAI_NATIVE": return ApiProvider.OPENAI_NATIVE; - case 10: + case 9: case "REQUESTY": return ApiProvider.REQUESTY; - case 11: + case 10: case "TOGETHER": return ApiProvider.TOGETHER; - case 12: + case 11: case "DEEPSEEK": return ApiProvider.DEEPSEEK; - case 13: + case 12: case "QWEN": return ApiProvider.QWEN; - case 14: + case 13: case "DOUBAO": return ApiProvider.DOUBAO; - case 15: + case 14: case "MISTRAL": return ApiProvider.MISTRAL; - case 16: + case 15: case "VSCODE_LM": return ApiProvider.VSCODE_LM; - case 17: + case 16: case "CLINE": return ApiProvider.CLINE; - case 18: + case 17: case "LITELLM": return ApiProvider.LITELLM; - case 19: + case 18: case "NEBIUS": return ApiProvider.NEBIUS; - case 20: + case 19: case "FIREWORKS": return ApiProvider.FIREWORKS; - case 21: + case 20: case "ASKSAGE": return ApiProvider.ASKSAGE; - case 22: + case 21: case "XAI": return ApiProvider.XAI; - case 23: + case 22: case "SAMBANOVA": return ApiProvider.SAMBANOVA; - case 24: + case 23: case "CEREBRAS": return ApiProvider.CEREBRAS; - case 25: + case 24: case "SAPAICORE": return ApiProvider.SAPAICORE; - case 26: + case 25: case "CLAUDE_CODE": return ApiProvider.CLAUDE_CODE; - case 27: + case 26: case "SHENG_SUAN_YUN": return ApiProvider.SHENG_SUAN_YUN; case -1: @@ -152,8 +148,6 @@ export function apiProviderToJSON(object: ApiProvider): string { return "LMSTUDIO"; case ApiProvider.GEMINI: return "GEMINI"; - case ApiProvider.GEMINI_CLI: - return "GEMINI_CLI"; case ApiProvider.OPENAI_NATIVE: return "OPENAI_NATIVE"; case ApiProvider.REQUESTY: diff --git a/src/shared/proto/state.ts b/src/shared/proto/state.ts index a3e31dac..7154ff0a 100644 --- a/src/shared/proto/state.ts +++ b/src/shared/proto/state.ts @@ -3253,6 +3253,14 @@ export const StateServiceDefinition = { responseStream: false, options: {}, }, + setWelcomeViewCompleted: { + name: "setWelcomeViewCompleted", + requestType: BooleanRequest, + requestStream: false, + responseType: Empty, + responseStream: false, + options: {}, + }, }, } as const; diff --git a/src/shared/proto/task.ts b/src/shared/proto/task.ts index 3edb3654..d9ac24c2 100644 --- a/src/shared/proto/task.ts +++ b/src/shared/proto/task.ts @@ -6,16 +6,7 @@ /* eslint-disable */ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; -import { - BooleanRequest, - Empty, - EmptyRequest, - Int64, - Int64Request, - Metadata, - StringArrayRequest, - StringRequest, -} from "./common"; +import { Empty, EmptyRequest, Int64, Int64Request, Metadata, StringArrayRequest, StringRequest } from "./common"; /** Request message for creating a new task */ export interface NewTaskRequest { @@ -46,12 +37,6 @@ export interface TaskResponse { cacheReads: number; } -/** Results returned when deleting non-favorited tasks */ -export interface DeleteNonFavoritedTasksResults { - tasksPreserved: number; - tasksDeleted: number; -} - /** Request for getting task history with filtering */ export interface GetTaskHistoryRequest { metadata?: Metadata | undefined; @@ -521,84 +506,6 @@ export const TaskResponse: MessageFns = { }, }; -function createBaseDeleteNonFavoritedTasksResults(): DeleteNonFavoritedTasksResults { - return { tasksPreserved: 0, tasksDeleted: 0 }; -} - -export const DeleteNonFavoritedTasksResults: MessageFns = { - encode(message: DeleteNonFavoritedTasksResults, writer: BinaryWriter = new BinaryWriter()): BinaryWriter { - if (message.tasksPreserved !== 0) { - writer.uint32(8).int32(message.tasksPreserved); - } - if (message.tasksDeleted !== 0) { - writer.uint32(16).int32(message.tasksDeleted); - } - return writer; - }, - - decode(input: BinaryReader | Uint8Array, length?: number): DeleteNonFavoritedTasksResults { - const reader = input instanceof BinaryReader ? input : new BinaryReader(input); - const end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseDeleteNonFavoritedTasksResults(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - if (tag !== 8) { - break; - } - - message.tasksPreserved = reader.int32(); - continue; - } - case 2: { - if (tag !== 16) { - break; - } - - message.tasksDeleted = reader.int32(); - continue; - } - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skip(tag & 7); - } - return message; - }, - - fromJSON(object: any): DeleteNonFavoritedTasksResults { - return { - tasksPreserved: isSet(object.tasksPreserved) ? globalThis.Number(object.tasksPreserved) : 0, - tasksDeleted: isSet(object.tasksDeleted) ? globalThis.Number(object.tasksDeleted) : 0, - }; - }, - - toJSON(message: DeleteNonFavoritedTasksResults): unknown { - const obj: any = {}; - if (message.tasksPreserved !== 0) { - obj.tasksPreserved = Math.round(message.tasksPreserved); - } - if (message.tasksDeleted !== 0) { - obj.tasksDeleted = Math.round(message.tasksDeleted); - } - return obj; - }, - - create, I>>(base?: I): DeleteNonFavoritedTasksResults { - return DeleteNonFavoritedTasksResults.fromPartial(base ?? ({} as any)); - }, - fromPartial, I>>( - object: I, - ): DeleteNonFavoritedTasksResults { - const message = createBaseDeleteNonFavoritedTasksResults(); - message.tasksPreserved = object.tasksPreserved ?? 0; - message.tasksDeleted = object.tasksDeleted ?? 0; - return message; - }, -}; - function createBaseGetTaskHistoryRequest(): GetTaskHistoryRequest { return { metadata: undefined, favoritesOnly: false, searchQuery: "", sortBy: "", currentWorkspaceOnly: false }; } @@ -1373,15 +1280,6 @@ export const TaskServiceDefinition = { responseStream: false, options: {}, }, - /** Deletes all non-favorited tasks */ - deleteNonFavoritedTasks: { - name: "deleteNonFavoritedTasks", - requestType: EmptyRequest, - requestStream: false, - responseType: DeleteNonFavoritedTasksResults, - responseStream: false, - options: {}, - }, /** Gets filtered task history */ getTaskHistory: { name: "getTaskHistory", @@ -1430,7 +1328,7 @@ export const TaskServiceDefinition = { /** Deletes all task history */ deleteAllTaskHistory: { name: "deleteAllTaskHistory", - requestType: BooleanRequest, + requestType: EmptyRequest, requestStream: false, responseType: DeleteAllTaskHistoryCount, responseStream: false, diff --git a/src/standalone/host-bridge-client-manager.ts b/src/standalone/host-bridge-client-manager.ts index 4d02107a..927bbc88 100644 --- a/src/standalone/host-bridge-client-manager.ts +++ b/src/standalone/host-bridge-client-manager.ts @@ -3,11 +3,15 @@ import { UriServiceClientImpl, WatchServiceClientImpl, WorkspaceServiceClientImpl, + EnvServiceClientImpl, + WindowServiceClientImpl, } from "@generated/standalone/host-bridge-clients" import { UriServiceClientInterface, WatchServiceClientInterface, WorkspaceServiceClientInterface, + EnvServiceClientInterface, + WindowServiceClientInterface, } from "@generated/hosts/host-bridge-client-types" import { HostBridgeClientProvider } from "@/hosts/host-provider-types" @@ -20,6 +24,8 @@ export class ExternalHostBridgeClientManager implements HostBridgeClientProvider uriServiceClient: UriServiceClientInterface watchServiceClient: WatchServiceClientInterface workspaceClient: WorkspaceServiceClientInterface + envClient: EnvServiceClientInterface + windowClient: WindowServiceClientInterface constructor() { const address = process.env.HOST_BRIDGE_ADDRESS || "localhost:50052" @@ -28,6 +34,8 @@ export class ExternalHostBridgeClientManager implements HostBridgeClientProvider this.uriServiceClient = new UriServiceClientImpl(this.channel) this.watchServiceClient = new WatchServiceClientImpl(this.channel) this.workspaceClient = new WorkspaceServiceClientImpl(this.channel) + this.envClient = new EnvServiceClientImpl(this.channel) + this.windowClient = new WindowServiceClientImpl(this.channel) } public close(): void { diff --git a/src/test/extension.test.ts b/src/test/extension.test.ts index 2fd949a1..8264a2fb 100644 --- a/src/test/extension.test.ts +++ b/src/test/extension.test.ts @@ -8,7 +8,7 @@ const packagePath = path.join(__dirname, "..", "..", "package.json") describe("Cline Extension", () => { after(() => { - vscode.window.showInformationMessage("All tests done!") + vscode.window.showInformationMessage("完成所有测试!") }) it("should verify extension ID matches package.json", async () => { diff --git a/src/utils/env.ts b/src/utils/env.ts new file mode 100644 index 00000000..832f049b --- /dev/null +++ b/src/utils/env.ts @@ -0,0 +1,32 @@ +import { getHostBridgeProvider } from "@/hosts/host-providers" +import { StringRequest, EmptyRequest } from "@/shared/proto/common" + +/** + * Writes text to the system clipboard + * @param text The text to write to the clipboard + * @returns Promise that resolves when the operation is complete + * @throws Error if the operation fails + */ +export async function writeTextToClipboard(text: string): Promise { + try { + await getHostBridgeProvider().envClient.clipboardWriteText(StringRequest.create({ value: text })) + } catch (error) { + const errorMessage = error instanceof Error ? error.message : String(error) + throw new Error(`Failed to write to clipboard: ${errorMessage}`) + } +} + +/** + * Reads text from the system clipboard + * @returns Promise that resolves to the clipboard text + * @throws Error if the operation fails + */ +export async function readTextFromClipboard(): Promise { + try { + const response = await getHostBridgeProvider().envClient.clipboardReadText(EmptyRequest.create({})) + return response.value + } catch (error) { + const errorMessage = error instanceof Error ? error.message : String(error) + throw new Error(`Failed to read from clipboard: ${errorMessage}`) + } +} diff --git a/src/utils/git.ts b/src/utils/git.ts index 55832369..4e0c8484 100644 --- a/src/utils/git.ts +++ b/src/utils/git.ts @@ -185,6 +185,42 @@ export async function getWorkingState(cwd: string): Promise { } } +export async function getGitRemoteUrls(cwd: string): Promise { + try { + const isInstalled = await checkGitInstalled() + if (!isInstalled) { + return [] + } + + const isRepo = await checkGitRepo(cwd) + if (!isRepo) { + return [] + } + + const { stdout } = await execAsync("git remote -v", { cwd }) + if (!stdout.trim()) { + return [] + } + + // Parse output to extract unique URLs + // git remote -v output format: "remoteName remoteUrl (fetch|push)" + const remotes = stdout + .trim() + .split("\n") + .filter((line) => line.includes("(fetch)")) // Only fetch URLs to avoid duplicates + .map((line) => { + const match = line.match(/^(\S+)\s+(\S+)\s+\(fetch\)$/) + return match ? { name: match[1], url: match[2] } : null + }) + .filter((remote): remote is { name: string; url: string } => remote !== null) + + return remotes.map((remote) => `${remote.name}: ${remote.url}`) + } catch (error) { + console.error("Error getting git remotes:", error) + return [] + } +} + function truncateOutput(content: string): string { if (!GIT_OUTPUT_LINE_LIMIT) { return content diff --git a/src/utils/github-url-utils.ts b/src/utils/github-url-utils.ts index 0eb7293b..9ef4a96a 100644 --- a/src/utils/github-url-utils.ts +++ b/src/utils/github-url-utils.ts @@ -17,6 +17,7 @@ import * as vscode from "vscode" import * as cp from "child_process" import * as os from "os" import * as util from "util" +import { writeTextToClipboard } from "@/utils/env" /** * Creates a properly encoded GitHub issue URL. @@ -81,7 +82,7 @@ export async function openUrlInBrowser(url: string): Promise { // Always copy to clipboard as a fallback try { - await vscode.env.clipboard.writeText(url) + await writeTextToClipboard(url) console.log("URL copied to clipboard as backup") } catch (error) { console.error(`Failed to copy URL to clipboard: ${error}`) @@ -159,7 +160,7 @@ export async function openUrlInBrowser(url: string): Promise { ) .then((selection) => { if (selection === "Copy URL Again") { - vscode.env.clipboard.writeText(url) + writeTextToClipboard(url) } }) } diff --git a/src/utils/model-utils.ts b/src/utils/model-utils.ts index 014a420a..35c78bb1 100644 --- a/src/utils/model-utils.ts +++ b/src/utils/model-utils.ts @@ -2,7 +2,7 @@ import { ApiHandler } from "@api/index" export function isClaude4ModelFamily(api: ApiHandler): boolean { const model = api.getModel() - const modelId = model.id + const modelId = model.id.toLowerCase() return ( modelId.includes("sonnet-4") || modelId.includes("opus-4") || modelId.includes("4-sonnet") || modelId.includes("4-opus") ) diff --git a/src/utils/path.ts b/src/utils/path.ts index 4a1aee4c..fd1f85e7 100644 --- a/src/utils/path.ts +++ b/src/utils/path.ts @@ -1,6 +1,7 @@ import * as path from "path" import os from "os" import * as vscode from "vscode" +import { getHostBridgeProvider } from "@/hosts/host-providers" /* The Node.js 'path' module resolves and normalizes paths differently depending on the platform: @@ -101,9 +102,17 @@ export function getReadablePath(cwd: string, relPath?: string): string { } } -export const getWorkspacePath = (defaultCwdPath = "") => { - const cwdPath = vscode.workspace.workspaceFolders?.map((folder) => folder.uri.fsPath).at(0) || defaultCwdPath +// Returns the path of the first workspace directory, or the defaultCwdPath if there is no workspace open. +export const getCwd = async (defaultCwdPath = ""): Promise => { + const workspaceFolders = await getHostBridgeProvider().workspaceClient.getWorkspacePaths({}) + return workspaceFolders.paths.shift() || defaultCwdPath +} + +// Returns the workspace path of the file in the current editor. +// If there is no path, it returns the top level workspace directory. +export const getWorkspacePath = async (defaultCwdPath = "") => { const currentFileUri = vscode.window.activeTextEditor?.document.uri + const cwdPath = await getCwd(defaultCwdPath) if (currentFileUri) { const workspaceFolder = vscode.workspace.getWorkspaceFolder(currentFileUri) return workspaceFolder?.uri.fsPath || cwdPath @@ -111,8 +120,8 @@ export const getWorkspacePath = (defaultCwdPath = "") => { return cwdPath } -export const isLocatedInWorkspace = (pathToCheck: string = ""): boolean => { - const workspacePath = getWorkspacePath() +export const isLocatedInWorkspace = async (pathToCheck: string = ""): Promise => { + const workspacePath = await getWorkspacePath() // Handle long paths in Windows if (pathToCheck.startsWith("\\\\?\\") || workspacePath.startsWith("\\\\?\\")) { diff --git a/standalone/runtime-files/vscode/enhanced-terminal.js b/standalone/runtime-files/vscode/enhanced-terminal.js new file mode 100644 index 00000000..8dbb89f6 --- /dev/null +++ b/standalone/runtime-files/vscode/enhanced-terminal.js @@ -0,0 +1,514 @@ +const { spawn } = require("child_process") +const { EventEmitter } = require("events") +const path = require("path") +const os = require("os") + +// Enhanced terminal management for standalone Cline +// This replaces VSCode's terminal integration with real subprocess management + +class StandaloneTerminalProcess extends EventEmitter { + constructor() { + super() + this.waitForShellIntegration = false // We don't need to wait since we control the process + this.isListening = true + this.buffer = "" + this.fullOutput = "" + this.lastRetrievedIndex = 0 + this.isHot = false + this.hotTimer = null + this.childProcess = null + this.exitCode = null + this.isCompleted = false + } + + async run(terminal, command) { + console.log(`[StandaloneTerminal] Running command: ${command}`) + + // Get shell and working directory from terminal + const shell = terminal._shellPath || this.getDefaultShell() + const cwd = terminal._cwd || process.cwd() + + // Prepare command for execution + const shellArgs = this.getShellArgs(shell, command) + + try { + // Spawn the process + this.childProcess = spawn(shell, shellArgs, { + cwd: cwd, + stdio: ["pipe", "pipe", "pipe"], + env: { ...process.env, TERM: "xterm-256color" }, + }) + + // Track process state + let didEmitEmptyLine = false + + // Handle stdout + this.childProcess.stdout.on("data", (data) => { + const output = data.toString() + this.handleOutput(output, didEmitEmptyLine) + if (!didEmitEmptyLine && output) { + this.emit("line", "") // Signal start of output + didEmitEmptyLine = true + } + }) + + // Handle stderr + this.childProcess.stderr.on("data", (data) => { + const output = data.toString() + this.handleOutput(output, didEmitEmptyLine) + if (!didEmitEmptyLine && output) { + this.emit("line", "") + didEmitEmptyLine = true + } + }) + + // Handle process completion + this.childProcess.on("close", (code, signal) => { + console.log(`[StandaloneTerminal] Process closed with code ${code}, signal ${signal}`) + this.exitCode = code + this.isCompleted = true + this.emitRemainingBuffer() + + // Clear hot timer + if (this.hotTimer) { + clearTimeout(this.hotTimer) + this.isHot = false + } + + this.emit("completed") + this.emit("continue") + }) + + // Handle process errors + this.childProcess.on("error", (error) => { + console.error(`[StandaloneTerminal] Process error:`, error) + this.emit("error", error) + }) + + // Update terminal's process reference + terminal._process = this.childProcess + terminal._processId = this.childProcess.pid + } catch (error) { + console.error(`[StandaloneTerminal] Failed to spawn process:`, error) + this.emit("error", error) + } + } + + handleOutput(data, didEmitEmptyLine) { + // Set process as hot (actively outputting) + this.isHot = true + if (this.hotTimer) { + clearTimeout(this.hotTimer) + } + + // Check for compilation markers to adjust hot timeout + const compilingMarkers = ["compiling", "building", "bundling", "transpiling", "generating", "starting"] + const markerNullifiers = [ + "compiled", + "success", + "finish", + "complete", + "succeed", + "done", + "end", + "stop", + "exit", + "terminate", + "error", + "fail", + ] + + const isCompiling = + compilingMarkers.some((marker) => data.toLowerCase().includes(marker.toLowerCase())) && + !markerNullifiers.some((nullifier) => data.toLowerCase().includes(nullifier.toLowerCase())) + + const hotTimeout = isCompiling ? 15000 : 2000 + this.hotTimer = setTimeout(() => { + this.isHot = false + }, hotTimeout) + + // Store full output + this.fullOutput += data + + if (this.isListening) { + this.emitLines(data) + this.lastRetrievedIndex = this.fullOutput.length - this.buffer.length + } + } + + emitLines(chunk) { + this.buffer += chunk + let lineEndIndex + while ((lineEndIndex = this.buffer.indexOf("\n")) !== -1) { + let line = this.buffer.slice(0, lineEndIndex).trimEnd() + this.emit("line", line) + this.buffer = this.buffer.slice(lineEndIndex + 1) + } + } + + emitRemainingBuffer() { + if (this.buffer && this.isListening) { + const remainingBuffer = this.removeLastLineArtifacts(this.buffer) + if (remainingBuffer) { + this.emit("line", remainingBuffer) + } + this.buffer = "" + this.lastRetrievedIndex = this.fullOutput.length + } + } + + continue() { + this.emitRemainingBuffer() + this.isListening = false + this.removeAllListeners("line") + this.emit("continue") + } + + getUnretrievedOutput() { + const unretrieved = this.fullOutput.slice(this.lastRetrievedIndex) + this.lastRetrievedIndex = this.fullOutput.length + return this.removeLastLineArtifacts(unretrieved) + } + + removeLastLineArtifacts(output) { + const lines = output.trimEnd().split("\n") + if (lines.length > 0) { + const lastLine = lines[lines.length - 1] + lines[lines.length - 1] = lastLine.replace(/[%$#>]\s*$/, "") + } + return lines.join("\n").trimEnd() + } + + getDefaultShell() { + if (process.platform === "win32") { + return process.env.COMSPEC || "cmd.exe" + } else { + return process.env.SHELL || "/bin/bash" + } + } + + getShellArgs(shell, command) { + if (process.platform === "win32") { + if (shell.toLowerCase().includes("powershell") || shell.toLowerCase().includes("pwsh")) { + return ["-Command", command] + } else { + return ["/c", command] + } + } else { + return ["-c", command] + } + } + + // Terminate the process if it's still running + terminate() { + if (this.childProcess && !this.isCompleted) { + console.log(`[StandaloneTerminal] Terminating process ${this.childProcess.pid}`) + this.childProcess.kill("SIGTERM") + + // Force kill after timeout + setTimeout(() => { + if (!this.isCompleted) { + console.log(`[StandaloneTerminal] Force killing process ${this.childProcess.pid}`) + this.childProcess.kill("SIGKILL") + } + }, 5000) + } + } +} + +class StandaloneTerminal { + constructor(options = {}) { + this.name = options.name || `Terminal ${Math.floor(Math.random() * 10000)}` + this.processId = Promise.resolve(Math.floor(Math.random() * 100000)) + this.creationOptions = options + this.exitStatus = undefined + this.state = { isInteractedWith: false } + this._cwd = options.cwd || process.cwd() + this._shellPath = options.shellPath + this._process = null + this._processId = null + + // Mock shell integration for compatibility + this.shellIntegration = { + cwd: { fsPath: this._cwd }, + executeCommand: (command) => { + // Return a mock execution object that the TerminalProcess expects + return { + read: async function* () { + // This will be handled by our StandaloneTerminalProcess + yield "" + }, + } + }, + } + + console.log(`[StandaloneTerminal] Created terminal: ${this.name} in ${this._cwd}`) + } + + sendText(text, addNewLine = true) { + console.log(`[StandaloneTerminal] sendText: ${text}`) + + // If we have an active process, send input to it + if (this._process && !this._process.killed) { + try { + this._process.stdin.write(text + (addNewLine ? "\n" : "")) + } catch (error) { + console.error(`[StandaloneTerminal] Error sending text to process:`, error) + } + } else { + // For compatibility with old behavior, we could spawn a new process + console.log(`[StandaloneTerminal] No active process to send text to`) + } + } + + show() { + console.log(`[StandaloneTerminal] show: ${this.name}`) + this.state.isInteractedWith = true + } + + hide() { + console.log(`[StandaloneTerminal] hide: ${this.name}`) + } + + dispose() { + console.log(`[StandaloneTerminal] dispose: ${this.name}`) + if (this._process && !this._process.killed) { + this._process.kill("SIGTERM") + } + } +} + +// Terminal registry for tracking terminals +class StandaloneTerminalRegistry { + constructor() { + this.terminals = new Map() + this.nextId = 1 + } + + createTerminal(options = {}) { + const terminal = new StandaloneTerminal(options) + const id = this.nextId++ + + const terminalInfo = { + id: id, + terminal: terminal, + busy: false, + lastCommand: "", + shellPath: options.shellPath, + lastActive: Date.now(), + pendingCwdChange: undefined, + cwdResolved: undefined, + } + + this.terminals.set(id, terminalInfo) + console.log(`[StandaloneTerminalRegistry] Created terminal ${id}`) + return terminalInfo + } + + getTerminal(id) { + return this.terminals.get(id) + } + + getAllTerminals() { + return Array.from(this.terminals.values()) + } + + removeTerminal(id) { + const terminalInfo = this.terminals.get(id) + if (terminalInfo) { + terminalInfo.terminal.dispose() + this.terminals.delete(id) + console.log(`[StandaloneTerminalRegistry] Removed terminal ${id}`) + } + } + + updateTerminal(id, updates) { + const terminalInfo = this.terminals.get(id) + if (terminalInfo) { + Object.assign(terminalInfo, updates) + } + } +} + +// Enhanced terminal manager +class StandaloneTerminalManager { + constructor() { + this.registry = new StandaloneTerminalRegistry() + this.processes = new Map() + this.terminalIds = new Set() + this.shellIntegrationTimeout = 4000 + this.terminalReuseEnabled = true + this.terminalOutputLineLimit = 500 + this.defaultTerminalProfile = "default" + } + + runCommand(terminalInfo, command) { + console.log(`[StandaloneTerminalManager] Running command on terminal ${terminalInfo.id}: ${command}`) + + terminalInfo.busy = true + terminalInfo.lastCommand = command + + const process = new StandaloneTerminalProcess() + this.processes.set(terminalInfo.id, process) + + process.once("completed", () => { + terminalInfo.busy = false + console.log(`[StandaloneTerminalManager] Command completed on terminal ${terminalInfo.id}`) + }) + + process.once("error", (error) => { + terminalInfo.busy = false + console.error(`[StandaloneTerminalManager] Command error on terminal ${terminalInfo.id}:`, error) + }) + + // Create promise for the process + const promise = new Promise((resolve, reject) => { + process.once("continue", () => resolve()) + process.once("error", (error) => reject(error)) + }) + + // Run the command immediately (no shell integration wait needed) + process.run(terminalInfo.terminal, command) + + // Return merged promise/process object + return this.mergePromise(process, promise) + } + + async getOrCreateTerminal(cwd) { + const terminals = this.registry.getAllTerminals() + + // Find available terminal with matching CWD + const matchingTerminal = terminals.find((t) => { + if (t.busy) return false + return t.terminal._cwd === cwd + }) + + if (matchingTerminal) { + this.terminalIds.add(matchingTerminal.id) + console.log(`[StandaloneTerminalManager] Reusing terminal ${matchingTerminal.id}`) + return matchingTerminal + } + + // Find any available terminal if reuse is enabled + if (this.terminalReuseEnabled) { + const availableTerminal = terminals.find((t) => !t.busy) + if (availableTerminal) { + // Change directory + await this.runCommand(availableTerminal, `cd "${cwd}"`) + availableTerminal.terminal._cwd = cwd + availableTerminal.terminal.shellIntegration.cwd.fsPath = cwd + this.terminalIds.add(availableTerminal.id) + console.log(`[StandaloneTerminalManager] Reused terminal ${availableTerminal.id} with cd`) + return availableTerminal + } + } + + // Create new terminal + const newTerminalInfo = this.registry.createTerminal({ + cwd: cwd, + name: `Cline Terminal ${this.registry.nextId}`, + }) + this.terminalIds.add(newTerminalInfo.id) + console.log(`[StandaloneTerminalManager] Created new terminal ${newTerminalInfo.id}`) + return newTerminalInfo + } + + getTerminals(busy) { + return Array.from(this.terminalIds) + .map((id) => this.registry.getTerminal(id)) + .filter((t) => t && t.busy === busy) + .map((t) => ({ id: t.id, lastCommand: t.lastCommand })) + } + + getUnretrievedOutput(terminalId) { + if (!this.terminalIds.has(terminalId)) { + return "" + } + const process = this.processes.get(terminalId) + return process ? process.getUnretrievedOutput() : "" + } + + isProcessHot(terminalId) { + const process = this.processes.get(terminalId) + return process ? process.isHot : false + } + + processOutput(outputLines) { + if (outputLines.length > this.terminalOutputLineLimit) { + const halfLimit = Math.floor(this.terminalOutputLineLimit / 2) + const start = outputLines.slice(0, halfLimit) + const end = outputLines.slice(outputLines.length - halfLimit) + return `${start.join("\n")}\n... (output truncated) ...\n${end.join("\n")}`.trim() + } + return outputLines.join("\n").trim() + } + + disposeAll() { + // Terminate all processes + for (const [terminalId, process] of this.processes) { + if (process && process.terminate) { + process.terminate() + } + } + + // Clear all tracking + this.terminalIds.clear() + this.processes.clear() + + // Dispose all terminals + for (const terminalInfo of this.registry.getAllTerminals()) { + terminalInfo.terminal.dispose() + } + + console.log(`[StandaloneTerminalManager] Disposed all terminals`) + } + + // Set shell integration timeout (compatibility method) + setShellIntegrationTimeout(timeout) { + this.shellIntegrationTimeout = timeout + console.log(`[StandaloneTerminalManager] Set shell integration timeout to ${timeout}ms`) + } + + // Set terminal reuse enabled (compatibility method) + setTerminalReuseEnabled(enabled) { + this.terminalReuseEnabled = enabled + console.log(`[StandaloneTerminalManager] Set terminal reuse enabled to ${enabled}`) + } + + // Set terminal output line limit (compatibility method) + setTerminalOutputLineLimit(limit) { + this.terminalOutputLineLimit = limit + console.log(`[StandaloneTerminalManager] Set terminal output line limit to ${limit}`) + } + + // Set default terminal profile (compatibility method) + setDefaultTerminalProfile(profile) { + this.defaultTerminalProfile = profile + console.log(`[StandaloneTerminalManager] Set default terminal profile to ${profile}`) + } + + // Helper to merge process and promise (similar to execa) + mergePromise(process, promise) { + const nativePromisePrototype = (async () => {})().constructor.prototype + const descriptors = ["then", "catch", "finally"].map((property) => [ + property, + Reflect.getOwnPropertyDescriptor(nativePromisePrototype, property), + ]) + + for (const [property, descriptor] of descriptors) { + if (descriptor) { + const value = descriptor.value.bind(promise) + Reflect.defineProperty(process, property, { ...descriptor, value }) + } + } + + return process + } +} + +module.exports = { + StandaloneTerminal, + StandaloneTerminalProcess, + StandaloneTerminalRegistry, + StandaloneTerminalManager, +} diff --git a/standalone/runtime-files/vscode/vscode-impls.js b/standalone/runtime-files/vscode/vscode-impls.js index db340d4e..f872c71e 100644 --- a/standalone/runtime-files/vscode/vscode-impls.js +++ b/standalone/runtime-files/vscode/vscode-impls.js @@ -2,8 +2,19 @@ console.log("Loading stub impls...") const { createStub } = require("./stub-utils") const open = require("open").default +const fs = require("fs") +const path = require("path") +const { StandaloneTerminalManager } = require("./enhanced-terminal") +// Import the base vscode object from stubs +const vscode = require("./vscode-stubs.js") + +// Create global terminal manager instance +const globalTerminalManager = new StandaloneTerminalManager() + +// Extend the existing window object from stubs rather than overwriting it vscode.window = { + ...vscode.window, // Keep existing properties from stubs showInformationMessage: (...args) => { console.log("Stubbed showInformationMessage:", ...args) return Promise.resolve(undefined) @@ -28,9 +39,210 @@ vscode.window = { console.log("Stubbed showSaveDialog:", options) return undefined }, - showTextDocument: async (...args) => { - console.log("Stubbed showTextDocument:", ...args) - return {} + showTextDocument: async (uri, options) => { + console.log("Stubbed showTextDocument:", uri, options) + + // Extract file path from URI + let filePath = uri.path || uri.fsPath || uri + if (typeof filePath !== "string") { + filePath = uri.toString() + } + + // Remove file:// prefix if present + if (filePath.startsWith("file://")) { + filePath = filePath.substring(7) + } + + // Create a function that always reads the current file content + const getCurrentFileContent = async () => { + try { + const content = await fs.promises.readFile(filePath, "utf8") + console.log(`getCurrentFileContent: Read file ${filePath} (${content.length} chars)`) + return content + } catch (error) { + console.log(`getCurrentFileContent: Could not read file ${filePath}:`, error.message) + return "" + } + } + + // Try to read the initial file content + let fileContent = await getCurrentFileContent() + let lineCount = fileContent.split("\n").length + + // Check if we already have an active editor for this file path + const existingEditor = vscode.window._documentEditors && vscode.window._documentEditors[filePath] + if (existingEditor) { + console.log(`showTextDocument: Updating existing editor for ${filePath}`) + // Update the existing editor's content + fileContent = await getCurrentFileContent() + lineCount = fileContent.split("\n").length + + // Update the document's getText method to return current content + existingEditor.document.getText = (range) => { + // Always read fresh content for getText calls + const currentContent = require("fs").readFileSync(filePath, "utf8") + if (!range) { + return currentContent + } + // Handle range-based getText with current content + const lines = currentContent.split("\n") + const startLine = Math.max(0, range.start.line) + const endLine = Math.min(lines.length - 1, range.end.line) + + if (startLine === endLine) { + // Single line + const line = lines[startLine] || "" + const startChar = Math.max(0, range.start.character) + const endChar = Math.min(line.length, range.end.character) + return line.substring(startChar, endChar) + } else { + // Multiple lines + const result = [] + for (let i = startLine; i <= endLine; i++) { + const line = lines[i] || "" + if (i === startLine) { + result.push(line.substring(range.start.character)) + } else if (i === endLine) { + result.push(line.substring(0, range.end.character)) + } else { + result.push(line) + } + } + return result.join("\n") + } + } + + // Update other properties + existingEditor.document.lineCount = lineCount + existingEditor.document.fileName = filePath + + // Update the active text editor reference + vscode.window.activeTextEditor = existingEditor + + return existingEditor + } + + // Create a new mock text editor that always reads current file content + const mockEditor = { + document: { + uri: uri, + fileName: filePath, + isDirty: false, + lineCount: lineCount, + getText: (range) => { + // Always read fresh content for getText calls + try { + const currentContent = require("fs").readFileSync(filePath, "utf8") + console.log(`document.getText: Read fresh content (${currentContent.length} chars)`) + if (!range) { + return currentContent + } + // Handle range-based getText with current content + const lines = currentContent.split("\n") + const startLine = Math.max(0, range.start.line) + const endLine = Math.min(lines.length - 1, range.end.line) + + if (startLine === endLine) { + // Single line + const line = lines[startLine] || "" + const startChar = Math.max(0, range.start.character) + const endChar = Math.min(line.length, range.end.character) + return line.substring(startChar, endChar) + } else { + // Multiple lines + const result = [] + for (let i = startLine; i <= endLine; i++) { + const line = lines[i] || "" + if (i === startLine) { + result.push(line.substring(range.start.character)) + } else if (i === endLine) { + result.push(line.substring(0, range.end.character)) + } else { + result.push(line) + } + } + return result.join("\n") + } + } catch (error) { + console.error(`Error reading file in getText: ${error.message}`) + return "" + } + }, + save: async () => { + console.log("Called mock textDocument.save") + return true + }, + positionAt: (offset) => { + try { + const currentContent = require("fs").readFileSync(filePath, "utf8") + const lines = currentContent.split("\n") + let currentOffset = 0 + for (let line = 0; line < lines.length; line++) { + const lineLength = lines[line].length + 1 // +1 for newline + if (currentOffset + lineLength > offset) { + return { line: line, character: offset - currentOffset } + } + currentOffset += lineLength + } + return { line: lines.length - 1, character: lines[lines.length - 1]?.length || 0 } + } catch (error) { + return { line: 0, character: 0 } + } + }, + offsetAt: (position) => { + try { + const currentContent = require("fs").readFileSync(filePath, "utf8") + const lines = currentContent.split("\n") + let offset = 0 + for (let i = 0; i < position.line && i < lines.length; i++) { + offset += lines[i].length + 1 // +1 for newline + } + offset += Math.min(position.character, lines[position.line]?.length || 0) + return offset + } catch (error) { + return 0 + } + }, + }, + selection: { start: { line: 0, character: 0 }, end: { line: 0, character: 0 } }, + selections: [], + visibleRanges: [{ start: { line: 0, character: 0 }, end: { line: 0, character: 0 } }], + options: {}, + viewColumn: 1, + edit: async (callback) => { + console.log("Called mock textEditor.edit") + return true + }, + insertSnippet: async () => true, + setDecorations: () => {}, + revealRange: () => {}, + show: () => {}, + hide: () => {}, + } + + // Store the editor by file path for future reference + if (!vscode.window._documentEditors) { + vscode.window._documentEditors = {} + } + vscode.window._documentEditors[filePath] = mockEditor + + // Update the active text editor + vscode.window.activeTextEditor = mockEditor + + // Trigger onDidChangeActiveTextEditor listeners + if (vscode.window._activeTextEditorListeners) { + setTimeout(() => { + vscode.window._activeTextEditorListeners.forEach((listener) => { + try { + listener(mockEditor) + } catch (error) { + console.error("Error calling onDidChangeActiveTextEditor listener:", error) + } + }) + }, 10) // Small delay to simulate async behavior + } + + return mockEditor }, createOutputChannel: (name) => { console.log("Stubbed createOutputChannel:", name) @@ -41,20 +253,60 @@ vscode.window = { } }, createTerminal: (...args) => { - console.log("Stubbed createTerminal:", ...args) - return { - sendText: console.log, - show: () => {}, - dispose: () => {}, + console.log("Enhanced createTerminal:", ...args) + + // Extract options from arguments + let options = {} + if (args.length > 0) { + if (typeof args[0] === "string") { + // Called with (name, shellPath, shellArgs) + options = { + name: args[0], + shellPath: args[1], + shellArgs: args[2], + } + } else if (typeof args[0] === "object") { + // Called with options object + options = args[0] + } } + + // Use our enhanced terminal manager to create a terminal + const terminalInfo = globalTerminalManager.registry.createTerminal({ + name: options.name || `Terminal ${Date.now()}`, + cwd: options.cwd || process.cwd(), + shellPath: options.shellPath, + }) + + // Store reference for tracking + vscode.window.terminals.push(terminalInfo.terminal) + if (!vscode.window.activeTerminal) { + vscode.window.activeTerminal = terminalInfo.terminal + } + + console.log(`Enhanced terminal created: ${terminalInfo.id}`) + return terminalInfo.terminal }, activeTextEditor: undefined, visibleTextEditors: [], tabGroups: { - all: [], - close: async () => {}, - onDidChangeTabs: createStub("vscode.env.tabGroups.onDidChangeTabs"), - activeTabGroup: { tabs: [] }, + all: [ + { + tabs: [], + isActive: true, + viewColumn: 1, + }, + ], + activeTabGroup: { + tabs: [], + isActive: true, + viewColumn: 1, + }, + close: async (tab) => { + console.log("Stubbed tabGroups.close:", tab) + return true + }, + onDidChangeTabs: createStub("vscode.window.tabGroups.onDidChangeTabs"), }, withProgress: async (_options, task) => { console.log("Stubbed withProgress") @@ -62,14 +314,56 @@ vscode.window = { }, registerUriHandler: () => ({ dispose: () => {} }), registerWebviewViewProvider: () => ({ dispose: () => {} }), - onDidChangeActiveTextEditor: () => ({ dispose: () => {} }), - createTextEditorDecorationType: () => ({ dispose: () => {} }), - createWebviewPanel: (..._args) => { - throw new Error("WebviewPanel is not supported in standalone app.") + onDidChangeActiveTextEditor: (listener) => { + console.log("Called vscode.window.onDidChangeActiveTextEditor") + // Store the listener so we can call it when showTextDocument is called + vscode.window._activeTextEditorListeners = vscode.window._activeTextEditorListeners || [] + vscode.window._activeTextEditorListeners.push(listener) + return { + dispose: () => { + console.log("Disposed onDidChangeActiveTextEditor listener") + const index = vscode.window._activeTextEditorListeners.indexOf(listener) + if (index > -1) { + vscode.window._activeTextEditorListeners.splice(index, 1) + } + }, + } }, + createTextEditorDecorationType: () => ({ dispose: () => {} }), + createWebviewPanel: (...args) => { + console.log("Stubbed createWebviewPanel:", ...args) + return { + webview: {}, + reveal: () => {}, + dispose: () => {}, + } + }, + onDidChangeTerminalState: (listener) => { + console.log("Called vscode.window.onDidChangeTerminalState") + return { + dispose: () => { + console.log("Disposed onDidChangeTerminalState listener") + }, + } + }, + onDidChangeTextEditorVisibleRanges: (listener) => { + console.log("Called vscode.window.onDidChangeTextEditorVisibleRanges") + return { + dispose: () => { + console.log("Disposed onDidChangeTextEditorVisibleRanges listener") + }, + } + }, + terminals: [], + activeTerminal: null, } -vscode.env = { +// Initialize env object if it doesn't exist, then extend it +if (!vscode.env) { + vscode.env = {} +} + +Object.assign(vscode.env, { uriScheme: "vscode", appName: "Visual Studio Code", appRoot: "/tmp/vscode/appRoot", @@ -79,17 +373,26 @@ vscode.env = { sessionId: "stub-session-id", shell: "/bin/bash", + // Add the stub functions that were missing clipboard: createStub("vscode.env.clipboard"), - openExternal: createStub("vscode.env.openExternal"), getQueryParameter: createStub("vscode.env.getQueryParameter"), onDidChangeTelemetryEnabled: createStub("vscode.env.onDidChangeTelemetryEnabled"), isTelemetryEnabled: createStub("vscode.env.isTelemetryEnabled"), telemetryConfiguration: createStub("vscode.env.telemetryConfiguration"), onDidChangeTelemetryConfiguration: createStub("vscode.env.onDidChangeTelemetryConfiguration"), createTelemetryLogger: createStub("vscode.env.createTelemetryLogger"), +}) + +// Override the openExternal function with actual implementation +vscode.env.openExternal = async (uri) => { + const url = typeof uri === "string" ? uri : (uri.toString?.() ?? "") + console.log("Opening browser:", url) + await open(url) + return true } -vscode.Uri = { +// Extend Uri object with improved implementations +Object.assign(vscode.Uri, { parse: (uriString) => { const url = new URL(uriString) return { @@ -134,13 +437,405 @@ vscode.Uri = { const joined = segments.map((s) => (typeof s === "string" ? s : s.path)).join("/") return vscode.Uri.file("/" + joined.replace(/\/+/g, "/")) }, +}) + +// Extend workspace object with file system operations +Object.assign(vscode.workspace, { + fs: { + readFile: async function (uri) { + console.log(`Called vscode.workspace.fs.readFile with uri:`, uri) + try { + // Extract file path from URI + let filePath = uri.path || uri.fsPath || uri + if (typeof filePath !== "string") { + filePath = uri.toString() + } + + // Remove file:// prefix if present + if (filePath.startsWith("file://")) { + filePath = filePath.substring(7) + } + + console.log(`Reading file: ${filePath}`) + const content = await fs.promises.readFile(filePath, "utf8") + console.log( + `File content read (${content.length} chars):`, + content.substring(0, 100) + (content.length > 100 ? "..." : ""), + ) + return new Uint8Array(Buffer.from(content, "utf8")) + } catch (error) { + console.error(`Error reading file:`, error) + throw error + } + }, + + writeFile: async function (uri, content) { + console.log(`Called vscode.workspace.fs.writeFile with uri:`, uri) + try { + // Extract file path from URI + let filePath = uri.path || uri.fsPath || uri + if (typeof filePath !== "string") { + filePath = uri.toString() + } + + // Remove file:// prefix if present + if (filePath.startsWith("file://")) { + filePath = filePath.substring(7) + } + + console.log(`Writing file: ${filePath}`) + + // Ensure directory exists + const dir = path.dirname(filePath) + await fs.promises.mkdir(dir, { recursive: true }) + + // Write the file + await fs.promises.writeFile(filePath, content) + } catch (error) { + console.error(`Error writing file:`, error) + throw error + } + }, + }, + + // Add workspace folder configuration + rootPath: process.cwd(), + workspaceFolders: [ + { + uri: vscode.Uri.file(process.cwd()), + name: path.basename(process.cwd()), + index: 0, + }, + ], + name: path.basename(process.cwd()), + workspaceFile: vscode.Uri.file(path.join(process.cwd(), ".vscode", "workspace.json")), + + // Add other workspace methods as stubs + getConfiguration: () => ({ + get: () => undefined, + update: () => Promise.resolve(), + has: () => false, + }), + getWorkspaceFolder: (uri) => { + console.log("Called vscode.workspace.getWorkspaceFolder with:", uri) + // Return the first workspace folder for any URI in standalone mode + if (vscode.workspace.workspaceFolders && vscode.workspace.workspaceFolders.length > 0) { + return vscode.workspace.workspaceFolders[0] + } + return undefined + }, + createFileSystemWatcher: () => ({ + onDidChange: () => ({ dispose: () => {} }), + onDidCreate: () => ({ dispose: () => {} }), + onDidDelete: () => ({ dispose: () => {} }), + dispose: () => {}, + }), + onDidChangeConfiguration: () => ({ dispose: () => {} }), + onDidChangeWorkspaceFolders: () => ({ dispose: () => {} }), + onDidCreateFiles: createStub("vscode.workspace.onDidCreateFiles"), + onDidDeleteFiles: createStub("vscode.workspace.onDidDeleteFiles"), + onDidRenameFiles: createStub("vscode.workspace.onDidRenameFiles"), + onWillCreateFiles: createStub("vscode.workspace.onWillCreateFiles"), + onWillDeleteFiles: createStub("vscode.workspace.onWillDeleteFiles"), + onWillRenameFiles: createStub("vscode.workspace.onWillRenameFiles"), + textDocuments: { + find: (predicate) => { + console.log("Called vscode.workspace.textDocuments.find") + // Return a mock text document that behaves like VSCode expects + return { + uri: { fsPath: "/tmp/mock-document" }, + fileName: "/tmp/mock-document", + isDirty: false, + save: async () => { + console.log("Called mock textDocument.save") + return true + }, + getText: () => "", + lineCount: 0, + } + }, + forEach: (callback) => { + console.log("Called vscode.workspace.textDocuments.forEach") + // No documents to iterate over in standalone mode + }, + length: 0, + [Symbol.iterator]: function* () { + // Empty iterator for standalone mode + }, + }, + + // Add the crucial applyEdit method + applyEdit: async (workspaceEdit) => { + console.log("Called vscode.workspace.applyEdit", workspaceEdit) + + // For standalone mode, we'll simulate applying the edit by actually writing to files + try { + // WorkspaceEdit can contain multiple types of edits + if (workspaceEdit._edits) { + for (const edit of workspaceEdit._edits) { + if (edit._type === 1) { + // TextEdit + const uri = edit._uri + const edits = edit._edits + + let filePath = uri.path || uri.fsPath + if (filePath.startsWith("file://")) { + filePath = filePath.substring(7) + } + + console.log(`Applying text edits to: ${filePath}`) + + // Read current content if file exists + let currentContent = "" + try { + currentContent = await fs.promises.readFile(filePath, "utf8") + } catch (e) { + // File doesn't exist, start with empty content + console.log(`File ${filePath} doesn't exist, starting with empty content`) + } + + // Apply edits in reverse order (from end to beginning) to maintain positions + const sortedEdits = edits.sort((a, b) => { + const aStart = a.range.start.line * 1000000 + a.range.start.character + const bStart = b.range.start.line * 1000000 + b.range.start.character + return bStart - aStart + }) + + let lines = currentContent.split("\n") + + for (const edit of sortedEdits) { + const startLine = edit.range.start.line + const startChar = edit.range.start.character + const endLine = edit.range.end.line + const endChar = edit.range.end.character + const newText = edit.newText + + console.log(`Applying edit: ${startLine}:${startChar} - ${endLine}:${endChar} -> "${newText}"`) + + // Handle the edit + if (startLine === endLine) { + // Single line edit + const line = lines[startLine] || "" + lines[startLine] = line.substring(0, startChar) + newText + line.substring(endChar) + } else { + // Multi-line edit + const firstLine = lines[startLine] || "" + const lastLine = lines[endLine] || "" + const newFirstLine = firstLine.substring(0, startChar) + newText + lastLine.substring(endChar) + + // Replace the range with the new content + lines.splice(startLine, endLine - startLine + 1, newFirstLine) + } + } + + const newContent = lines.join("\n") + + // Ensure directory exists + const dir = path.dirname(filePath) + await fs.promises.mkdir(dir, { recursive: true }) + + // Write the updated content + await fs.promises.writeFile(filePath, newContent, "utf8") + console.log(`Successfully applied edits to: ${filePath}`) + } + } + } + + return true + } catch (error) { + console.error("Error applying workspace edit:", error) + return false + } + }, +}) + +// Fix CodeActionKind to have static properties instead of being a class +vscode.CodeActionKind = { + Empty: "", + QuickFix: "quickfix", + Refactor: "refactor", + RefactorExtract: "refactor.extract", + RefactorInline: "refactor.inline", + RefactorRewrite: "refactor.rewrite", + Source: "source", + SourceOrganizeImports: "source.organizeImports", + SourceFixAll: "source.fixAll", } -vscode.env.openExternal = async (uri) => { - const url = typeof uri === "string" ? uri : (uri.toString?.() ?? "") - console.log("Opening browser:", url) - await open(url) - return true +// Add missing commands implementation +if (!vscode.commands) { + vscode.commands = {} } +Object.assign(vscode.commands, { + executeCommand: async (command, ...args) => { + console.log(`Called vscode.commands.executeCommand: ${command}`, args) + + // Handle the vscode.diff command specifically + if (command === "vscode.diff") { + const [originalUri, modifiedUri, title, options] = args + console.log("Opening diff view:", { originalUri, modifiedUri, title }) + + // For standalone mode, just open the modified file directly + // since we can't show a proper diff view + const editor = await vscode.window.showTextDocument(modifiedUri, { + preserveFocus: options?.preserveFocus || false, + preview: false, + }) + + // Ensure the onDidChangeActiveTextEditor event fires with a slight delay + // This is crucial for DiffViewProvider.openDiffEditor() to work properly + setTimeout(() => { + if (vscode.window._activeTextEditorListeners) { + vscode.window._activeTextEditorListeners.forEach((listener) => { + try { + listener(editor) + } catch (error) { + console.error("Error calling onDidChangeActiveTextEditor listener in vscode.diff:", error) + } + }) + } + }, 50) // Slightly longer delay to ensure proper event ordering + + return editor + } + + // For other commands, just return a resolved promise + return Promise.resolve() + }, + registerCommand: (command, callback) => { + console.log(`Registered command: ${command}`) + return { dispose: () => {} } + }, + getCommands: async () => { + return [] + }, +}) + +// Add missing TabInput classes +vscode.TabInputText = class TabInputText { + constructor(uri) { + this.uri = uri + } +} + +vscode.TabInputTextDiff = class TabInputTextDiff { + constructor(original, modified) { + this.original = original + this.modified = modified + } +} + +// Add missing WorkspaceEdit and related classes +vscode.WorkspaceEdit = class WorkspaceEdit { + constructor() { + this._edits = [] + } + + replace(uri, range, newText) { + console.log("WorkspaceEdit.replace:", uri, range, newText) + this._edits.push({ + _type: 1, // TextEdit + _uri: uri, + _edits: [ + { + range: range, + newText: newText, + }, + ], + }) + } + + insert(uri, position, newText) { + console.log("WorkspaceEdit.insert:", uri, position, newText) + this.replace(uri, new vscode.Range(position, position), newText) + } + + delete(uri, range) { + console.log("WorkspaceEdit.delete:", uri, range) + this.replace(uri, range, "") + } +} + +vscode.Range = class Range { + constructor(startLine, startCharacter, endLine, endCharacter) { + if (typeof startLine === "object") { + // Called with Position objects + this.start = startLine + this.end = startCharacter + } else { + // Called with line/character numbers + this.start = new vscode.Position(startLine, startCharacter) + this.end = new vscode.Position(endLine, endCharacter) + } + } +} + +vscode.Position = class Position { + constructor(line, character) { + this.line = line + this.character = character + } +} + +vscode.Selection = class Selection extends vscode.Range { + constructor(anchorLine, anchorCharacter, activeLine, activeCharacter) { + if (typeof anchorLine === "object") { + // Called with Position objects + super(anchorLine, anchorCharacter) + this.anchor = anchorLine + this.active = anchorCharacter + } else { + // Called with line/character numbers + super(anchorLine, anchorCharacter, activeLine, activeCharacter) + this.anchor = new vscode.Position(anchorLine, anchorCharacter) + this.active = new vscode.Position(activeLine, activeCharacter) + } + } +} + +// Add TextEditorRevealType enum +vscode.TextEditorRevealType = { + Default: 0, + InCenter: 1, + InCenterIfOutsideViewport: 2, + AtTop: 3, +} + +// Add missing languages API +if (!vscode.languages) { + vscode.languages = {} +} + +Object.assign(vscode.languages, { + getDiagnostics: (uri) => { + console.log("Called vscode.languages.getDiagnostics") + // Return empty diagnostics for standalone mode + if (uri) { + return [] + } else { + // Return all diagnostics as empty array + return [] + } + }, + registerCodeActionsProvider: () => ({ dispose: () => {} }), + createDiagnosticCollection: () => ({ + set: () => {}, + delete: () => {}, + clear: () => {}, + dispose: () => {}, + }), +}) + console.log("Finished loading stub impls...") + +// Export the terminal manager globally for Cline core to use +global.standaloneTerminalManager = globalTerminalManager + +// Override the TerminalManager to use our standalone implementation +if (typeof global !== "undefined") { + // Replace the TerminalManager class with our standalone implementation + global.StandaloneTerminalManagerClass = require("./enhanced-terminal").StandaloneTerminalManager +} + +module.exports = vscode diff --git a/test-setup.js b/test-setup.js index a096b737..bdeab16d 100644 --- a/test-setup.js +++ b/test-setup.js @@ -16,7 +16,7 @@ const tsConfig = JSON.parse(fs.readFileSync(path.join(baseUrl, "tsconfig.json"), const outPaths = {} Object.keys(tsConfig.compilerOptions.paths).forEach((key) => { const value = tsConfig.compilerOptions.paths[key] - outPaths[key] = value.map((path) => path.replace("src", "out")) + outPaths[key] = value.map((path) => path.replace("src", "out/src")) }) tsConfigPaths.register({ diff --git a/tsconfig.test.json b/tsconfig.test.json index 4699ca7e..fef4465b 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -11,7 +11,7 @@ "types": ["node", "mocha", "should", "vscode", "chai"], "typeRoots": ["./node_modules/@types", "./src/test/types"], "outDir": "out", - "rootDir": "src" + "rootDir": "." }, "include": ["src/**/*.test.ts"], "exclude": ["src/test/**/*.js", "src/**/__tests__/*"] diff --git a/webview-ui/package-lock.json b/webview-ui/package-lock.json index d487cbe8..ce75461c 100644 --- a/webview-ui/package-lock.json +++ b/webview-ui/package-lock.json @@ -18,7 +18,6 @@ "framer-motion": "^12.7.4", "fuse.js": "^7.0.0", "fzf": "^0.5.2", - "katex": "^0.16.22", "lucide-react": "^0.511.0", "mermaid": "^11.4.1", "posthog-js": "^1.224.0", @@ -31,10 +30,8 @@ "react-use": "^17.6.0", "react-virtuoso": "^4.12.3", "rehype-highlight": "^7.0.1", - "rehype-katex": "^7.0.1", "rehype-parse": "^9.0.1", "rehype-remark": "^10.0.1", - "remark-math": "^6.0.0", "remark-stringify": "^11.0.0", "styled-components": "^6.1.15", "unified": "^11.0.5", @@ -48,7 +45,6 @@ "@testing-library/user-event": "^14.6.1", "@types/dompurify": "^3.0.5", "@types/jest": "^29.5.14", - "@types/katex": "^0.16.7", "@types/node": "^22.13.4", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", @@ -6398,7 +6394,10 @@ "version": "4.1.12", "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", + "dev": true, "license": "MIT", + "optional": true, + "peer": true, "dependencies": { "@types/ms": "*" } @@ -6528,12 +6527,6 @@ "integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==", "license": "MIT" }, - "node_modules/@types/katex": { - "version": "0.16.7", - "resolved": "https://registry.npmjs.org/@types/katex/-/katex-0.16.7.tgz", - "integrity": "sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==", - "license": "MIT" - }, "node_modules/@types/keyv": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz", @@ -6557,7 +6550,10 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz", "integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==", - "license": "MIT" + "dev": true, + "license": "MIT", + "optional": true, + "peer": true }, "node_modules/@types/node": { "version": "22.15.33", @@ -9940,21 +9936,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/hast-util-from-dom": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz", - "integrity": "sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==", - "license": "ISC", - "dependencies": { - "@types/hast": "^3.0.0", - "hastscript": "^9.0.0", - "web-namespaces": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/hast-util-from-html": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/hast-util-from-html/-/hast-util-from-html-2.0.3.tgz", @@ -9973,22 +9954,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/hast-util-from-html-isomorphic": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/hast-util-from-html-isomorphic/-/hast-util-from-html-isomorphic-2.0.0.tgz", - "integrity": "sha512-zJfpXq44yff2hmE0XmwEOzdWin5xwH+QIhMLOScpX91e/NSGPsAzNCvLQDIEPyO2TXi+lBmU6hjLIhV8MwP2kw==", - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "hast-util-from-dom": "^5.0.0", - "hast-util-from-html": "^2.0.0", - "unist-util-remove-position": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/hast-util-from-parse5": { "version": "8.0.3", "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.3.tgz", @@ -11760,25 +11725,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/mdast-util-math": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mdast-util-math/-/mdast-util-math-3.0.0.tgz", - "integrity": "sha512-Tl9GBNeG/AhJnQM221bJR2HPvLOSnLE/T9cJI9tlc6zwQk2nPk/4f0cHkOdEixQPC/j8UtKDdITswvLAy1OZ1w==", - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/mdast": "^4.0.0", - "devlop": "^1.0.0", - "longest-streak": "^3.0.0", - "mdast-util-from-markdown": "^2.0.0", - "mdast-util-to-markdown": "^2.1.0", - "unist-util-remove-position": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/mdast-util-phrasing": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz", @@ -11966,166 +11912,6 @@ "micromark-util-types": "^2.0.0" } }, - "node_modules/micromark-core-commonmark": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz", - "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "decode-named-character-reference": "^1.0.0", - "devlop": "^1.0.0", - "micromark-factory-destination": "^2.0.0", - "micromark-factory-label": "^2.0.0", - "micromark-factory-space": "^2.0.0", - "micromark-factory-title": "^2.0.0", - "micromark-factory-whitespace": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-classify-character": "^2.0.0", - "micromark-util-html-tag-name": "^2.0.0", - "micromark-util-normalize-identifier": "^2.0.0", - "micromark-util-resolve-all": "^2.0.0", - "micromark-util-subtokenize": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-extension-math": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/micromark-extension-math/-/micromark-extension-math-3.1.0.tgz", - "integrity": "sha512-lvEqd+fHjATVs+2v/8kg9i5Q0AP2k85H0WUOwpIVvUML8BapsMvh1XAogmQjOCsLpoKRCVQqEkQBB3NhVBcsOg==", - "license": "MIT", - "dependencies": { - "@types/katex": "^0.16.0", - "devlop": "^1.0.0", - "katex": "^0.16.0", - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, - "node_modules/micromark-factory-destination": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz", - "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-label": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz", - "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-space": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz", - "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-character": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-title": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz", - "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, - "node_modules/micromark-factory-whitespace": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz", - "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-factory-space": "^2.0.0", - "micromark-util-character": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, "node_modules/micromark-util-character": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz", @@ -12146,25 +11932,6 @@ "micromark-util-types": "^2.0.0" } }, - "node_modules/micromark-util-chunked": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz", - "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, "node_modules/micromark-util-classify-character": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz", @@ -12186,26 +11953,6 @@ "micromark-util-types": "^2.0.0" } }, - "node_modules/micromark-util-combine-extensions": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz", - "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-chunked": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, "node_modules/micromark-util-decode-numeric-character-reference": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz", @@ -12263,60 +12010,6 @@ ], "license": "MIT" }, - "node_modules/micromark-util-html-tag-name": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz", - "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT" - }, - "node_modules/micromark-util-normalize-identifier": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz", - "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-symbol": "^2.0.0" - } - }, - "node_modules/micromark-util-resolve-all": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz", - "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "micromark-util-types": "^2.0.0" - } - }, "node_modules/micromark-util-sanitize-uri": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz", @@ -12338,28 +12031,6 @@ "micromark-util-symbol": "^2.0.0" } }, - "node_modules/micromark-util-subtokenize": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz", - "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==", - "funding": [ - { - "type": "GitHub Sponsors", - "url": "https://github.com/sponsors/unifiedjs" - }, - { - "type": "OpenCollective", - "url": "https://opencollective.com/unified" - } - ], - "license": "MIT", - "dependencies": { - "devlop": "^1.0.0", - "micromark-util-chunked": "^2.0.0", - "micromark-util-symbol": "^2.0.0", - "micromark-util-types": "^2.0.0" - } - }, "node_modules/micromark-util-symbol": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz", @@ -13731,25 +13402,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/rehype-katex": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/rehype-katex/-/rehype-katex-7.0.1.tgz", - "integrity": "sha512-OiM2wrZ/wuhKkigASodFoo8wimG3H12LWQaH8qSPVJn9apWKFSH3YOCtbKpBorTVw/eI7cuT21XBbvwEswbIOA==", - "license": "MIT", - "dependencies": { - "@types/hast": "^3.0.0", - "@types/katex": "^0.16.0", - "hast-util-from-html-isomorphic": "^2.0.0", - "hast-util-to-text": "^4.0.0", - "katex": "^0.16.0", - "unist-util-visit-parents": "^6.0.0", - "vfile": "^6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/rehype-minify-whitespace": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/rehype-minify-whitespace/-/rehype-minify-whitespace-6.0.2.tgz", @@ -13810,20 +13462,13 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-math": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/remark-math/-/remark-math-6.0.0.tgz", - "integrity": "sha512-MMqgnP74Igy+S3WwnhQ7kqGlEerTETXMvJhrUzDikVZ2/uogJCb+WHUg97hK9/jcfc0dkD73s3LN8zU49cTEtA==", + "node_modules/rehype-remark/node_modules/@types/mdast": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz", + "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==", "license": "MIT", "dependencies": { - "@types/mdast": "^4.0.0", - "mdast-util-math": "^3.0.0", - "micromark-extension-math": "^3.0.0", - "unified": "^11.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" + "@types/unist": "*" } }, "node_modules/remark-parse": { @@ -15491,20 +15136,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/unist-util-remove-position": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz", - "integrity": "sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==", - "license": "MIT", - "dependencies": { - "@types/unist": "^3.0.0", - "unist-util-visit": "^5.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/unist-util-stringify-position": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz", diff --git a/webview-ui/package.json b/webview-ui/package.json index 58d07731..a747f072 100644 --- a/webview-ui/package.json +++ b/webview-ui/package.json @@ -25,7 +25,6 @@ "framer-motion": "^12.7.4", "fuse.js": "^7.0.0", "fzf": "^0.5.2", - "katex": "^0.16.22", "lucide-react": "^0.511.0", "mermaid": "^11.4.1", "posthog-js": "^1.224.0", @@ -38,10 +37,8 @@ "react-use": "^17.6.0", "react-virtuoso": "^4.12.3", "rehype-highlight": "^7.0.1", - "rehype-katex": "^7.0.1", "rehype-parse": "^9.0.1", "rehype-remark": "^10.0.1", - "remark-math": "^6.0.0", "remark-stringify": "^11.0.0", "styled-components": "^6.1.15", "unified": "^11.0.5", @@ -55,7 +52,6 @@ "@testing-library/user-event": "^14.6.1", "@types/dompurify": "^3.0.5", "@types/jest": "^29.5.14", - "@types/katex": "^0.16.7", "@types/node": "^22.13.4", "@types/react": "^18.3.18", "@types/react-dom": "^18.3.5", diff --git a/webview-ui/src/components/chat/BrowserSessionRow.tsx b/webview-ui/src/components/chat/BrowserSessionRow.tsx index b6fb9ea7..6040e49b 100644 --- a/webview-ui/src/components/chat/BrowserSessionRow.tsx +++ b/webview-ui/src/components/chat/BrowserSessionRow.tsx @@ -9,13 +9,13 @@ import { BrowserAction, BrowserActionResult, ClineMessage, ClineSayBrowserAction import { StringRequest } from "@shared/proto/common" import { VSCodeButton } from "@vscode/webview-ui-toolkit/react" import deepEqual from "fast-deep-equal" -import React, { CSSProperties, memo, useEffect, useMemo, useRef, useState } from "react" +import React, { CSSProperties, memo, useCallback, useEffect, useMemo, useRef, useState } from "react" import { useSize } from "react-use" import styled from "styled-components" interface BrowserSessionRowProps { messages: ClineMessage[] - isExpanded: (messageTs: number) => boolean + expandedRows: Record onToggleExpand: (messageTs: number) => void lastModifiedMessage?: ClineMessage isLast: boolean @@ -294,10 +294,13 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => { {currentPage?.nextAction?.messages.map((message) => ( ))} {!isBrowsing && messages.some((m) => m.say === "browser_action_result") && currentPageIndex === 0 && ( @@ -347,7 +350,7 @@ const BrowserSessionRow = memo((props: BrowserSessionRowProps) => { }, [messages]) // Calculate maxWidth - const maxWidth = browserSettings.viewport.width < BROWSER_VIEWPORT_PRESETS["Small Desktop (900x600)"].width ? 200 : undefined + const maxWidth = browserSettings.viewport.width < BROWSER_VIEWPORT_PRESETS["小型桌面 (900x600)"].width ? 200 : undefined const [browserSessionRow, { height }] = useSize( // We don't declare a constant for the inline style here because `useSize` will try to modify the style object @@ -498,73 +501,78 @@ interface BrowserSessionRowContentProps extends Omit void } -const BrowserSessionRowContent = ({ - message, - isExpanded, - onToggleExpand, - lastModifiedMessage, - isLast, - setMaxActionHeight, - onSetQuote, -}: BrowserSessionRowContentProps) => { - if (message.ask === "browser_action_launch" || message.say === "browser_action_launch") { - return ( - <> -
- 浏览器会话已启动 -
-
- -
- - ) - } +const BrowserSessionRowContent = memo( + ({ + message, + expandedRows, + onToggleExpand, + lastModifiedMessage, + isLast, + setMaxActionHeight, + onSetQuote, + }: BrowserSessionRowContentProps) => { + const handleToggle = useCallback(() => { + if (message.say === "api_req_started") { + setMaxActionHeight(0) + } + onToggleExpand(message.ts) + }, [onToggleExpand, message.ts, setMaxActionHeight]) - switch (message.type) { - case "say": - switch (message.say) { - case "api_req_started": - case "text": - case "reasoning": - return ( -
- { - if (message.say === "api_req_started") { - setMaxActionHeight(0) - } - onToggleExpand(message.ts) - }} - lastModifiedMessage={lastModifiedMessage} - isLast={isLast} - onSetQuote={onSetQuote} + if (message.ask === "browser_action_launch" || message.say === "browser_action_launch") { + return ( + <> +
+ 浏览器会话已经启动 +
+
+ +
+ + ) + } + + switch (message.type) { + case "say": + switch (message.say) { + case "api_req_started": + case "text": + case "reasoning": + return ( +
+ +
+ ) + + case "browser_action": + const browserAction = JSON.parse(message.text || "{}") as ClineSayBrowserAction + return ( + -
- ) + ) - case "browser_action": - const browserAction = JSON.parse(message.text || "{}") as ClineSayBrowserAction - return ( - - ) + default: + return null + } - default: - return null - } - - case "ask": - switch (message.ask) { - default: - return null - } - } -} + case "ask": + switch (message.ask) { + default: + return null + } + } + }, + deepEqual, +) const BrowserActionBox = ({ action, coordinate, text }: { action: BrowserAction; coordinate?: string; text?: string }) => { const getBrowserActionText = (action: BrowserAction, coordinate?: string, text?: string) => { diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 9bc97ba6..37d59065 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -57,7 +57,7 @@ const ChatRowContainer = styled.div` interface ChatRowProps { message: ClineMessage isExpanded: boolean - onToggleExpand: () => void + onToggleExpand: (ts: number) => void lastModifiedMessage?: ClineMessage isLast: boolean onHeightChange: (isTaller: boolean) => void @@ -105,39 +105,41 @@ const Markdown = memo(({ markdown }: { markdown?: string }) => { ) }) -const RetryMessage = ({ seconds, attempt, retryOperations }: { retryOperations: number; attempt: number; seconds?: number }) => { - const [remainingSeconds, setRemainingSeconds] = useState(seconds || 0) +const RetryMessage = memo( + ({ seconds, attempt, retryOperations }: { retryOperations: number; attempt: number; seconds?: number }) => { + const [remainingSeconds, setRemainingSeconds] = useState(seconds || 0) - useEffect(() => { - if (seconds && seconds > 0) { - setRemainingSeconds(seconds) + useEffect(() => { + if (seconds && seconds > 0) { + setRemainingSeconds(seconds) - const interval = setInterval(() => { - setRemainingSeconds((prev) => { - if (prev <= 1) { - clearInterval(interval) - return 0 - } - return prev - 1 - }) - }, 1000) + const interval = setInterval(() => { + setRemainingSeconds((prev) => { + if (prev <= 1) { + clearInterval(interval) + return 0 + } + return prev - 1 + }) + }, 1000) - return () => clearInterval(interval) - } - }, [seconds]) + return () => clearInterval(interval) + } + }, [seconds]) - return ( - - {`API Request (Retrying failed attempt ${attempt}/${retryOperations}`} - {remainingSeconds > 0 && ` in ${remainingSeconds} seconds`} - )... - - ) -} + return ( + + {`API Request (Retrying failed attempt ${attempt}/${retryOperations}`} + {remainingSeconds > 0 && ` in ${remainingSeconds} seconds`} + )... + + ) + }, +) const ChatRow = memo( (props: ChatRowProps) => { @@ -174,381 +176,526 @@ const ChatRow = memo( export default ChatRow -export const ChatRowContent = ({ - message, - isExpanded, - onToggleExpand, - lastModifiedMessage, - isLast, - inputValue, - sendMessageFromChatRow, - onSetQuote, -}: ChatRowContentProps) => { - const { mcpServers, mcpMarketplaceCatalog, onRelinquishControl, apiConfiguration } = useExtensionState() - const [seeNewChangesDisabled, setSeeNewChangesDisabled] = useState(false) - const [quoteButtonState, setQuoteButtonState] = useState({ - visible: false, - top: 0, - left: 0, - selectedText: "", - }) - const contentRef = useRef(null) - const [cost, apiReqCancelReason, apiReqStreamingFailedMessage, retryStatus] = useMemo(() => { - if (message.text != null && message.say === "api_req_started") { - const info: ClineApiReqInfo = JSON.parse(message.text) - return [info.cost, info.cancelReason, info.streamingFailedMessage, info.retryStatus] - } - return [undefined, undefined, undefined, undefined] - }, [message.text, message.say]) - - // when resuming task last won't be api_req_failed but a resume_task message so api_req_started will show loading spinner. that's why we just remove the last api_req_started that failed without streaming anything - const apiRequestFailedMessage = - isLast && lastModifiedMessage?.ask === "api_req_failed" // if request is retried then the latest message is a api_req_retried - ? lastModifiedMessage?.text - : undefined - - const isCommandExecuting = - isLast && - (lastModifiedMessage?.ask === "command" || lastModifiedMessage?.say === "command") && - lastModifiedMessage?.text?.includes(COMMAND_OUTPUT_STRING) - - const isMcpServerResponding = isLast && lastModifiedMessage?.say === "mcp_server_request_started" - - const type = message.type === "ask" ? message.ask : message.say - - // Use the onRelinquishControl hook instead of message event - useEffect(() => { - return onRelinquishControl(() => { - setSeeNewChangesDisabled(false) +export const ChatRowContent = memo( + ({ + message, + isExpanded, + onToggleExpand, + lastModifiedMessage, + isLast, + inputValue, + sendMessageFromChatRow, + onSetQuote, + }: ChatRowContentProps) => { + const { mcpServers, mcpMarketplaceCatalog, onRelinquishControl, apiConfiguration } = useExtensionState() + const [seeNewChangesDisabled, setSeeNewChangesDisabled] = useState(false) + const [quoteButtonState, setQuoteButtonState] = useState({ + visible: false, + top: 0, + left: 0, + selectedText: "", }) - }, [onRelinquishControl]) + const contentRef = useRef(null) + const [cost, apiReqCancelReason, apiReqStreamingFailedMessage, retryStatus] = useMemo(() => { + if (message.text != null && message.say === "api_req_started") { + const info: ClineApiReqInfo = JSON.parse(message.text) + return [info.cost, info.cancelReason, info.streamingFailedMessage, info.retryStatus] + } + return [undefined, undefined, undefined, undefined] + }, [message.text, message.say]) - // --- Quote Button Logic --- - // MOVE handleQuoteClick INSIDE ChatRowContent - const handleQuoteClick = useCallback(() => { - onSetQuote(quoteButtonState.selectedText) - window.getSelection()?.removeAllRanges() // Clear the browser selection - setQuoteButtonState({ visible: false, top: 0, left: 0, selectedText: "" }) - }, [onSetQuote, quoteButtonState.selectedText]) // <-- Use onSetQuote from props + // when resuming task last won't be api_req_failed but a resume_task message so api_req_started will show loading spinner. that's why we just remove the last api_req_started that failed without streaming anything + const apiRequestFailedMessage = + isLast && lastModifiedMessage?.ask === "api_req_failed" // if request is retried then the latest message is a api_req_retried + ? lastModifiedMessage?.text + : undefined - const handleMouseUp = useCallback((event: MouseEvent) => { - // Get the target element immediately, before the timeout - const targetElement = event.target as Element - const isClickOnButton = !!targetElement.closest(".quote-button-class") + const isCommandExecuting = + isLast && + (lastModifiedMessage?.ask === "command" || lastModifiedMessage?.say === "command") && + lastModifiedMessage?.text?.includes(COMMAND_OUTPUT_STRING) - // Delay the selection check slightly - setTimeout(() => { - // Now, check the selection state *after* the browser has likely updated it - const selection = window.getSelection() - const selectedText = selection?.toString().trim() ?? "" + const isMcpServerResponding = isLast && lastModifiedMessage?.say === "mcp_server_request_started" - let shouldShowButton = false - let buttonTop = 0 - let buttonLeft = 0 - let textToQuote = "" + const type = message.type === "ask" ? message.ask : message.say - // Condition 1: Check if there's a valid, non-collapsed selection within bounds - // Ensure contentRef.current still exists in case component unmounted during timeout - if (selectedText && contentRef.current && selection && selection.rangeCount > 0 && !selection.isCollapsed) { - const range = selection.getRangeAt(0) - const rangeRect = range.getBoundingClientRect() - // Re-check ref inside timeout and ensure containerRect is valid - const containerRect = contentRef.current?.getBoundingClientRect() + const handleToggle = useCallback(() => { + onToggleExpand(message.ts) + }, [onToggleExpand, message.ts]) - if (containerRect) { - // Check if containerRect was successfully obtained - const tolerance = 5 // Allow for a small pixel overflow (e.g., for margins) - const isSelectionWithin = - rangeRect.top >= containerRect.top && - rangeRect.left >= containerRect.left && - rangeRect.bottom <= containerRect.bottom + tolerance && // Added tolerance - rangeRect.right <= containerRect.right + // Use the onRelinquishControl hook instead of message event + useEffect(() => { + return onRelinquishControl(() => { + setSeeNewChangesDisabled(false) + }) + }, [onRelinquishControl]) - if (isSelectionWithin) { - shouldShowButton = true // Mark that we should show the button - const buttonHeight = 30 - // Calculate the raw top position relative to the container, placing it above the selection - const calculatedTop = rangeRect.top - containerRect.top - buttonHeight - 5 // Subtract button height and a small margin - // Allow the button to potentially have a negative top value - buttonTop = calculatedTop - buttonLeft = Math.max(0, rangeRect.left - containerRect.left) // Still prevent going left of container - textToQuote = selectedText + // --- Quote Button Logic --- + // MOVE handleQuoteClick INSIDE ChatRowContent + const handleQuoteClick = useCallback(() => { + onSetQuote(quoteButtonState.selectedText) + window.getSelection()?.removeAllRanges() // Clear the browser selection + setQuoteButtonState({ visible: false, top: 0, left: 0, selectedText: "" }) + }, [onSetQuote, quoteButtonState.selectedText]) // <-- Use onSetQuote from props + + const handleMouseUp = useCallback((event: MouseEvent) => { + // Get the target element immediately, before the timeout + const targetElement = event.target as Element + const isClickOnButton = !!targetElement.closest(".quote-button-class") + + // Delay the selection check slightly + setTimeout(() => { + // Now, check the selection state *after* the browser has likely updated it + const selection = window.getSelection() + const selectedText = selection?.toString().trim() ?? "" + + let shouldShowButton = false + let buttonTop = 0 + let buttonLeft = 0 + let textToQuote = "" + + // Condition 1: Check if there's a valid, non-collapsed selection within bounds + // Ensure contentRef.current still exists in case component unmounted during timeout + if (selectedText && contentRef.current && selection && selection.rangeCount > 0 && !selection.isCollapsed) { + const range = selection.getRangeAt(0) + const rangeRect = range.getBoundingClientRect() + // Re-check ref inside timeout and ensure containerRect is valid + const containerRect = contentRef.current?.getBoundingClientRect() + + if (containerRect) { + // Check if containerRect was successfully obtained + const tolerance = 5 // Allow for a small pixel overflow (e.g., for margins) + const isSelectionWithin = + rangeRect.top >= containerRect.top && + rangeRect.left >= containerRect.left && + rangeRect.bottom <= containerRect.bottom + tolerance && // Added tolerance + rangeRect.right <= containerRect.right + + if (isSelectionWithin) { + shouldShowButton = true // Mark that we should show the button + const buttonHeight = 30 + // Calculate the raw top position relative to the container, placing it above the selection + const calculatedTop = rangeRect.top - containerRect.top - buttonHeight - 5 // Subtract button height and a small margin + // Allow the button to potentially have a negative top value + buttonTop = calculatedTop + buttonLeft = Math.max(0, rangeRect.left - containerRect.left) // Still prevent going left of container + textToQuote = selectedText + } } } - } - // Decision: Set the state based on whether we should show or hide - if (shouldShowButton) { - // Scenario A: Valid selection exists -> Show button - setQuoteButtonState({ - visible: true, - top: buttonTop, - left: buttonLeft, - selectedText: textToQuote, - }) - } else if (!isClickOnButton) { - // Scenario B: No valid selection AND click was NOT on button -> Hide button - setQuoteButtonState({ visible: false, top: 0, left: 0, selectedText: "" }) - } - // Scenario C (Click WAS on button): Do nothing here, handleQuoteClick takes over. - }, 0) // Delay of 0ms pushes execution after current event cycle - }, []) // Dependencies remain empty + // Decision: Set the state based on whether we should show or hide + if (shouldShowButton) { + // Scenario A: Valid selection exists -> Show button + setQuoteButtonState({ + visible: true, + top: buttonTop, + left: buttonLeft, + selectedText: textToQuote, + }) + } else if (!isClickOnButton) { + // Scenario B: No valid selection AND click was NOT on button -> Hide button + setQuoteButtonState({ visible: false, top: 0, left: 0, selectedText: "" }) + } + // Scenario C (Click WAS on button): Do nothing here, handleQuoteClick takes over. + }, 0) // Delay of 0ms pushes execution after current event cycle + }, []) // Dependencies remain empty - const [icon, title] = useMemo(() => { - switch (type) { - case "error": - return [ - , - 错误, - ] - case "mistake_limit_reached": - return [ - , - Cline 出错了..., - ] - case "auto_approval_max_req_reached": - return [ - , - 达到最大请求数, - ] - case "command": - return [ - isCommandExecuting ? ( - - ) : ( + const [icon, title] = useMemo(() => { + switch (type) { + case "error": + return [ - ), - Cline 需要执行这个命令:, - ] - case "use_mcp_server": - const mcpServerUse = JSON.parse(message.text || "{}") as ClineAskUseMcpServer - return [ - isMcpServerResponding ? ( - - ) : ( + }}>, + 错误, + ] + case "mistake_limit_reached": + return [ - ), - - Cline wants to {mcpServerUse.type === "use_mcp_tool" ? "use a tool" : "access a resource"} on the{" "} - - {getMcpServerDisplayName(mcpServerUse.serverName, mcpMarketplaceCatalog)} - {" "} - MCP server: - , - ] - case "completion_result": - return [ - , - 任务完成, - ] - case "api_req_started": - const getIconSpan = (iconName: string, color: string) => ( -
+ }}>, + Cline 遇到问题..., + ] + case "auto_approval_max_req_reached": + return [ -
- ) - return [ - apiReqCancelReason != null ? ( - apiReqCancelReason === "user_cancelled" ? ( - getIconSpan("error", cancelledColor) + }}>, + 达到最大请求数, + ] + case "command": + return [ + isCommandExecuting ? ( + ) : ( - getIconSpan("error", errorColor) - ) - ) : cost != null ? ( - getIconSpan("check", successColor) - ) : apiRequestFailedMessage ? ( - getIconSpan("error", errorColor) - ) : ( - - ), - (() => { - if (apiReqCancelReason != null) { - return apiReqCancelReason === "user_cancelled" ? ( - API 请求被取消 - ) : ( - API 流式输出失败 - ) - } - - if (cost != null) { - return API 请求 - } - - if (apiRequestFailedMessage) { - return API 请求失败 - } - // New: Check for retryStatus to modify the title - if (retryStatus && cost == null && !apiReqCancelReason) { - const retryOperations = retryStatus.maxAttempts > 0 ? retryStatus.maxAttempts - 1 : 0 - return ( - - ) - } - - return API 请求... - })(), - ] - case "followup": - return [ - , - Cline 需要知道:, - ] - default: - return [null, null] - } - }, [type, cost, apiRequestFailedMessage, isCommandExecuting, apiReqCancelReason, isMcpServerResponding, message.text]) - - const headerStyle: React.CSSProperties = { - display: "flex", - alignItems: "center", - gap: "10px", - marginBottom: "12px", - } - - const pStyle: React.CSSProperties = { - margin: 0, - whiteSpace: "pre-wrap", - wordBreak: "break-word", - overflowWrap: "anywhere", - } - - const tool = useMemo(() => { - if (message.ask === "tool" || message.say === "tool") { - return JSON.parse(message.text || "{}") as ClineSayTool - } - return null - }, [message.ask, message.say, message.text]) - - if (tool) { - const colorMap = { - red: "var(--vscode-errorForeground)", - yellow: "var(--vscode-editorWarning-foreground)", - green: "var(--vscode-charts-green)", - } - const toolIcon = (name: string, color?: string, rotation?: number, title?: string) => ( - - ) - - switch (tool.tool) { - case "editedExistingFile": - return ( - <> -
- {toolIcon("edit")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - Cline 需要编辑这个文件: -
- - - ) - case "newFileCreated": - return ( - <> -
- {toolIcon("new-file")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - Cline 需要创建新文件: -
- - - ) - case "readFile": - return ( - <> -
- {toolIcon("file-code")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - - {/* {message.type === "ask" ? "" : "Cline read this file:"} */} - Cline 需要读取这个文件: - -
+ + ), + Cline 需要执行这个命令:, + ] + case "use_mcp_server": + const mcpServerUse = JSON.parse(message.text || "{}") as ClineAskUseMcpServer + return [ + isMcpServerResponding ? ( + + ) : ( + + ), + + Cline 需要 {mcpServerUse.type === "use_mcp_tool" ? "使用工具" : "访问资源"} 在{" "} + + {getMcpServerDisplayName(mcpServerUse.serverName, mcpMarketplaceCatalog)} + {" "} + MCP 服务: + , + ] + case "completion_result": + return [ + , + 任务完成, + ] + case "api_req_started": + const getIconSpan = (iconName: string, color: string) => (
+ +
+ ) + return [ + apiReqCancelReason != null ? ( + apiReqCancelReason === "user_cancelled" ? ( + getIconSpan("error", cancelledColor) + ) : ( + getIconSpan("error", errorColor) + ) + ) : cost != null ? ( + getIconSpan("check", successColor) + ) : apiRequestFailedMessage ? ( + getIconSpan("error", errorColor) + ) : ( + + ), + (() => { + if (apiReqCancelReason != null) { + return apiReqCancelReason === "user_cancelled" ? ( + API 请求被取消 + ) : ( + API 流式输出失败 + ) + } + + if (cost != null) { + return API 请求 + } + + if (apiRequestFailedMessage) { + return API 请求失败 + } + // New: Check for retryStatus to modify the title + if (retryStatus && cost == null && !apiReqCancelReason) { + const retryOperations = retryStatus.maxAttempts > 0 ? retryStatus.maxAttempts - 1 : 0 + return ( + + ) + } + + return API 请求... + })(), + ] + case "followup": + return [ + , + Cline 一个疑问:, + ] + default: + return [null, null] + } + }, [type, cost, apiRequestFailedMessage, isCommandExecuting, apiReqCancelReason, isMcpServerResponding, message.text]) + + const headerStyle: React.CSSProperties = { + display: "flex", + alignItems: "center", + gap: "10px", + marginBottom: "12px", + } + + const pStyle: React.CSSProperties = { + margin: 0, + whiteSpace: "pre-wrap", + wordBreak: "break-word", + overflowWrap: "anywhere", + } + + const tool = useMemo(() => { + if (message.ask === "tool" || message.say === "tool") { + return JSON.parse(message.text || "{}") as ClineSayTool + } + return null + }, [message.ask, message.say, message.text]) + + if (tool) { + const colorMap = { + red: "var(--vscode-errorForeground)", + yellow: "var(--vscode-editorWarning-foreground)", + green: "var(--vscode-charts-green)", + } + const toolIcon = (name: string, color?: string, rotation?: number, title?: string) => ( + + ) + + switch (tool.tool) { + case "editedExistingFile": + return ( + <> +
+ {toolIcon("edit")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "This file is outside of your workspace")} + Cline 需要编辑这个文件: +
+ + + ) + case "newFileCreated": + return ( + <> +
+ {toolIcon("new-file")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "This file is outside of your workspace")} + Cline 需要创建这个文件: +
+ + + ) + case "readFile": + return ( + <> +
+ {toolIcon("file-code")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "该文件不在您的工作区内")} + + {/* {message.type === "ask" ? "" : "Cline read this file:"} */} + Cline 需要读文件: + +
+
{ + FileServiceClient.openFile(StringRequest.create({ value: tool.content })).catch((err) => + console.error("Failed to open file:", err), + ) + }}> + {tool.path?.startsWith(".") && .} + + {cleanPathPrefix(tool.path ?? "") + "\u200E"} + +
+ +
+
+ + ) + case "listFilesTopLevel": + return ( + <> +
+ {toolIcon("folder-opened")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "T该文件不在您的工作区内")} + + {message.type === "ask" ? "Cline 需要查看上级目录:" : "Cline 查看当前目录文件:"} + +
+ + + ) + case "listFilesRecursive": + return ( + <> +
+ {toolIcon("folder-opened")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "T该文件不在您的工作区内")} + + {message.type === "ask" ? "Cline 需要递归检索上层目录:" : "Cline 需要递归检索当前目录:"} + +
+ + + ) + case "listCodeDefinitionNames": + return ( + <> +
+ {toolIcon("file-code")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "This file is outside of your workspace")} + + {message.type === "ask" + ? "Cline wants to view source code definition names used in this directory:" + : "Cline viewed source code definition names used in this directory:"} + +
+ + + ) + case "searchFiles": + return ( + <> +
+ {toolIcon("search")} + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "This is outside of your workspace")} + + Cline wants to search this directory for {tool.regex}: + +
+ + + ) + case "webFetch": + return ( + <> +
+ + {tool.operationIsLocatedInWorkspace === false && + toolIcon("sign-out", "yellow", -90, "This URL is external")} + + {message.type === "ask" + ? "Cline wants to fetch content from this URL:" + : "Cline fetched content from this URL:"} + +
+
{ - FileServiceClient.openFile(StringRequest.create({ value: tool.content })).catch((err) => - console.error("Failed to open file:", err), - ) + // Open the URL in the default browser using gRPC + if (tool.path) { + UiServiceClient.openUrl(StringRequest.create({ value: tool.path })) + + .catch((err) => { + console.error("Failed to open URL:", err) + }) + } }}> - {tool.path?.startsWith(".") && .} - {cleanPathPrefix(tool.path ?? "") + "\u200E"} + {tool.path + "\u200E"} -
-
- - - ) - case "listFilesTopLevel": - return ( - <> -
- {toolIcon("folder-opened")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - - {message.type === "ask" ? "Cline 需要查看这个目录:" : "Cline 在这个目录找到的文件:"} - -
- - - ) - case "listFilesRecursive": - return ( - <> -
- {toolIcon("folder-opened")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - - {message.type === "ask" - ? "Cline 需要迭代列举这个目录的文件:" - : "Cline 在这个目录迭代查找到的文件:"} - -
- - - ) - case "listCodeDefinitionNames": - return ( - <> -
- {toolIcon("file-code")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - - {message.type === "ask" - ? "Cline 需要查看此目录中使用的源代码定义名称:" - : "Cline 查看此目录中使用的源代码定义名称:"} - -
- - - ) - case "searchFiles": - return ( - <> -
- {toolIcon("search")} - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "该文件不在你的工作目录")} - - Cline 需要查找这个目录 {tool.regex}: - -
- - - ) - case "webFetch": - return ( - <> -
- - {tool.operationIsLocatedInWorkspace === false && - toolIcon("sign-out", "yellow", -90, "This URL is external")} - - {message.type === "ask" ? "Cline 想要从此 URL 获取内容:" : "Cline 从此 URL 获取了内容:"} - -
-
{ - // Open the URL in the default browser using gRPC - if (tool.path) { - UiServiceClient.openUrl(StringRequest.create({ value: tool.path })) - - .catch((err) => { - console.error("Failed to open URL:", err) - }) - } - }}> - - {tool.path + "\u200E"} - -
- {/* Displaying the 'content' which now holds "Fetching URL: [URL]" */} - {/*
{tool.content}
*/} - - ) - default: - return null - } - } - - if (message.ask === "command" || message.say === "command") { - const splitMessage = (text: string) => { - const outputIndex = text.indexOf(COMMAND_OUTPUT_STRING) - if (outputIndex === -1) { - return { command: text, output: "" } - } - return { - command: text.slice(0, outputIndex).trim(), - output: text - .slice(outputIndex + COMMAND_OUTPUT_STRING.length) - .trim() - .split("") - .map((char) => { - switch (char) { - case "\t": - return "→ " - case "\b": - return "⌫" - case "\f": - return "⏏" - case "\v": - return "⇳" - default: - return char - } - }) - .join(""), + {/* Displaying the 'content' which now holds "Fetching URL: [URL]" */} + {/*
{tool.content}
*/} + + ) + default: + return null } } - const { command: rawCommand, output } = splitMessage(message.text || "") + if (message.ask === "command" || message.say === "command") { + const splitMessage = (text: string) => { + const outputIndex = text.indexOf(COMMAND_OUTPUT_STRING) + if (outputIndex === -1) { + return { command: text, output: "" } + } + return { + command: text.slice(0, outputIndex).trim(), + output: text + .slice(outputIndex + COMMAND_OUTPUT_STRING.length) + .trim() + .split("") + .map((char) => { + switch (char) { + case "\t": + return "→ " + case "\b": + return "⌫" + case "\f": + return "⏏" + case "\v": + return "⇳" + default: + return char + } + }) + .join(""), + } + } - const requestsApproval = rawCommand.endsWith(COMMAND_REQ_APP_STRING) - const command = requestsApproval ? rawCommand.slice(0, -COMMAND_REQ_APP_STRING.length) : rawCommand + const { command: rawCommand, output } = splitMessage(message.text || "") - return ( - <> -
- {icon} - {title} -
-
- - {output.length > 0 && ( -
-
- - 命令输出 -
- {isExpanded && } -
- )} -
- {requestsApproval && ( + const requestsApproval = rawCommand.endsWith(COMMAND_REQ_APP_STRING) + const command = requestsApproval ? rawCommand.slice(0, -COMMAND_REQ_APP_STRING.length) : rawCommand + + return ( + <> +
+ {icon} + {title} +
- - 模型已确定此命令需要明确批准。 -
- )} - - ) - } - - if (message.ask === "use_mcp_server" || message.say === "use_mcp_server") { - const useMcpServer = JSON.parse(message.text || "{}") as ClineAskUseMcpServer - const server = mcpServers.find((server) => server.name === useMcpServer.serverName) - return ( - <> -
- {icon} - {title} -
- -
- {useMcpServer.type === "access_mcp_resource" && ( - - )} - - {useMcpServer.type === "use_mcp_tool" && ( - <> -
e.stopPropagation()}> - tool.name === useMcpServer.toolName)?.description || "", - autoApprove: - server?.tools?.find((tool) => tool.name === useMcpServer.toolName)?.autoApprove || - false, - }} - serverName={useMcpServer.serverName} - /> -
- {useMcpServer.arguments && useMcpServer.arguments !== "{}" && ( -
-
- Arguments -
- -
- )} - - )} -
- - ) - } - - switch (message.type) { - case "say": - switch (message.say) { - case "api_req_started": - return ( - <> -
+ + {output.length > 0 && ( +
- {icon} - {title} - {/* Need to render this every time since it affects height of row by 2px */} - 0 ? 1 : 0, - }}> - ${Number(cost || 0)?.toFixed(4)} - + + 命令输出
- + {isExpanded && }
- {((cost == null && apiRequestFailedMessage) || apiReqStreamingFailedMessage) && ( - <> - {(() => { - // Try to parse the error message as JSON for credit limit error - const errorData = parseErrorText(apiRequestFailedMessage) - if (errorData) { - if ( - errorData.code === "insufficient_credits" && - typeof errorData.current_balance === "number" && - typeof errorData.total_spent === "number" && - typeof errorData.total_promotions === "number" && - typeof errorData.message === "string" - ) { - return ( - - ) + )} +
+ {requestsApproval && ( +
+ + 模型已确定此命令需要明确批准. +
+ )} + + ) + } + + if (message.ask === "use_mcp_server" || message.say === "use_mcp_server") { + const useMcpServer = JSON.parse(message.text || "{}") as ClineAskUseMcpServer + const server = mcpServers.find((server) => server.name === useMcpServer.serverName) + return ( + <> +
+ {icon} + {title} +
+ +
+ {useMcpServer.type === "access_mcp_resource" && ( + + )} + + {useMcpServer.type === "use_mcp_tool" && ( + <> +
e.stopPropagation()}> + tool.name === useMcpServer.toolName)?.description || + "", + autoApprove: + server?.tools?.find((tool) => tool.name === useMcpServer.toolName)?.autoApprove || + false, + }} + serverName={useMcpServer.serverName} + /> +
+ {useMcpServer.arguments && useMcpServer.arguments !== "{}" && ( +
+
+ Arguments +
+ +
+ )} + + )} +
+ + ) + } + + switch (message.type) { + case "say": + switch (message.say) { + case "api_req_started": + return ( + <> +
+
+ {icon} + {title} + {/* Need to render this every time since it affects height of row by 2px */} + 0 ? 1 : 0, + }}> + ${Number(cost || 0)?.toFixed(4)} + +
+ +
+ {((cost == null && apiRequestFailedMessage) || apiReqStreamingFailedMessage) && ( + <> + {(() => { + // Try to parse the error message as JSON for credit limit error + const errorData = parseErrorText(apiRequestFailedMessage) + if (errorData) { + if ( + errorData.code === "insufficient_credits" && + typeof errorData.current_balance === "number" && + typeof errorData.total_spent === "number" && + typeof errorData.total_promotions === "number" && + typeof errorData.message === "string" + ) { + return ( + + ) + } } - } - // Check for rate limit errors (status code 429) - const isRateLimitError = - apiRequestFailedMessage?.includes("status code 429") || - apiRequestFailedMessage?.toLowerCase().includes("rate limit") || - apiRequestFailedMessage?.toLowerCase().includes("too many requests") || - apiRequestFailedMessage?.toLowerCase().includes("quota exceeded") || - apiRequestFailedMessage?.toLowerCase().includes("resource exhausted") + // Check for rate limit errors (status code 429) + const isRateLimitError = + apiRequestFailedMessage?.includes("status code 429") || + apiRequestFailedMessage?.toLowerCase().includes("rate limit") || + apiRequestFailedMessage?.toLowerCase().includes("too many requests") || + apiRequestFailedMessage?.toLowerCase().includes("quota exceeded") || + apiRequestFailedMessage?.toLowerCase().includes("resource exhausted") - if (isRateLimitError) { - // Check if current provider is Gemini CLI to show specific message - const isGeminiCliProvider = apiConfiguration?.apiProvider === "gemini-cli" - - if (isGeminiCliProvider) { - return ( -
-
- - - Rate Limit Exceeded - -
-

- You've hit the API rate limit. This is likely due to free tier limits. -

-

- You can read about the tier limits{" "} - { - e.preventDefault() - UiServiceClient.openUrl( - StringRequest.create({ - value: "https://codeassist.google/", - }), - ).catch((err) => console.error("Failed to open URL:", err)) - }}> - here - - , or alternatively, you can use the Gemini Flash Model that will give - you better limits. -

-
- ) - } else { - // Generic rate limit error for other providers + if (isRateLimitError) { return (

) } - } - // Default error display - return ( -

- {apiRequestFailedMessage || apiReqStreamingFailedMessage} - {apiRequestFailedMessage?.toLowerCase().includes("powershell") && ( - <> -
-
- 您似乎遇到了 Windows PowerShell 问题,请参阅此处{" "} - - 故障排除指南 - - . - - )} -

- ) - })()} - - )} - - {isExpanded && ( -
- -
- )} - - ) - case "api_req_finished": - return null // we should never see this message type - case "mcp_server_response": - return - case "mcp_notification": - return ( -
- -
- MCP Notification: - {message.text} -
-
- ) - case "text": - return ( - - - {quoteButtonState.visible && ( - { - handleQuoteClick() - }} - /> - )} - - ) - case "reasoning": - return ( - <> - {message.text && ( -
- {isExpanded ? ( -
- - Thinking - - - {message.text} -
- ) : ( -
- Thinking: - - {message.text + "\u200E"} - - -
- )} -
- )} - - ) - case "user_feedback": - return ( - - ) - case "user_feedback_diff": - const tool = JSON.parse(message.text || "{}") as ClineSayTool - return ( -
- -
- ) - case "error": - return ( - <> - {title && ( -
- {icon} - {title} -
- )} -

- {message.text} -

- - ) - case "diff_error": - return ( - <> + ...pStyle, + color: "var(--vscode-errorForeground)", + }}> + {apiRequestFailedMessage || apiReqStreamingFailedMessage} + {apiRequestFailedMessage?.toLowerCase().includes("powershell") && ( + <> +
+
+ 看起来您遇到了 Windows PowerShell 问题,请参阅此{" "} + + 故障排除指南 + + . + + )} +

+ ) + })()} + + )} + + {isExpanded && ( +
+ +
+ )} + + ) + case "api_req_finished": + return null // we should never see this message type + case "mcp_server_response": + return + case "mcp_notification": + return (
-
- - 差异编辑不匹配 -
-
该模型使用的搜索模式与文件中的任何内容都不匹配。重试...
-
- - ) - case "clineignore_error": - return ( - <> -
-
- - - 访问被拒绝 - -
-
- Cline 尝试读取 {message.text} 文件被 .clineignore阻止 -
-
- - ) - case "checkpoint_created": - return ( - <> - - - ) - case "load_mcp_documentation": - return ( -
- - Loading MCP documentation -
- ) - case "completion_result": - const hasChanges = message.text?.endsWith(COMPLETION_RESULT_CHANGES_FLAG) ?? false - const text = hasChanges ? message.text?.slice(0, -COMPLETION_RESULT_CHANGES_FLAG.length) : message.text - return ( - <> -
- {icon} - {title} - +
+ MCP 通知: + {message.text} +
+ ) + case "text": + return ( - + textToCopy={message.text} + position="bottom-right"> + {quoteButtonState.visible && ( { + handleQuoteClick() + }} /> )} - {message.partial !== true && hasChanges && ( -
- { - setSeeNewChangesDisabled(true) - TaskServiceClient.taskCompletionViewChanges( - Int64Request.create({ - value: message.ts, - }), - ).catch((err) => console.error("Failed to show task completion view changes:", err)) - }} + ) + case "reasoning": + return ( + <> + {message.text && ( +
- - 查看新更改 - -
- )} - - ) - case "shell_integration_warning": - return ( - <> + {isExpanded ? ( +
+ + 思考 + + + {message.text} +
+ ) : ( +
+ 思考: + + {message.text + "\u200E"} + + +
+ )} +
+ )} + + ) + case "user_feedback": + return ( + + ) + case "user_feedback_diff": + const tool = JSON.parse(message.text || "{}") as ClineSayTool + return (
+ +
+ ) + case "error": + return ( + <> + {title && ( +
+ {icon} + {title} +
+ )} +

+ {message.text} +

+ + ) + case "diff_error": + return ( + <>
- - - Shell 集成不可用 - + + 差异编辑不匹配 +
+
该模型使用的搜索模式与文件中的任何内容均不匹配。正在重试...
-
- Cline 将无法查看命令的输出。请更新 VSCode (CMD/CTRL + Shift + P → "更新") - 并确保你使用的是受支持的 shell: zsh、bash、fish 或 PowerShell( - CMD/CTRL + Shift + P → "Terminal: Select Default Profile").{" "} - - 仍有问题? - -
- - - ) - default: - return ( - <> - {title && ( -
- {icon} - {title} -
- )} -
- -
- - ) - } - case "ask": - switch (message.ask) { - case "mistake_limit_reached": - return ( - <> -
- {icon} - {title} -
-

- {message.text} -

- - ) - case "auto_approval_max_req_reached": - return ( - <> -
- {icon} - {title} -
-

- {message.text} -

- - ) - case "completion_result": - if (message.text) { - const hasChanges = message.text.endsWith(COMPLETION_RESULT_CHANGES_FLAG) ?? false - const text = hasChanges ? message.text.slice(0, -COMPLETION_RESULT_CHANGES_FLAG.length) : message.text + + ) + case "clineignore_error": return ( -
+ <> +
+
+ + + 拒绝访问 + +
+
+ Cline 访问 {message.text} 被拒绝 .clineignore +
+
+ + ) + case "checkpoint_created": + return ( + <> + + + ) + case "load_mcp_documentation": + return ( +
+ + Loading MCP documentation +
+ ) + case "completion_result": + const hasChanges = message.text?.endsWith(COMPLETION_RESULT_CHANGES_FLAG) ?? false + const text = hasChanges ? message.text?.slice(0, -COMPLETION_RESULT_CHANGES_FLAG.length) : message.text + return ( + <>
{message.partial !== true && hasChanges && ( -
+
{ setSeeNewChangesDisabled(true) @@ -1540,56 +1328,319 @@ export const ChatRowContent = ({ ).catch((err) => console.error("Failed to show task completion view changes:", err), ) + }} + style={{ + cursor: seeNewChangesDisabled ? "wait" : "pointer", + width: "100%", }}> - + See new changes
)} -
+ ) - } else { - return null // Don't render anything when we get a completion_result ask without text - } - case "followup": - let question: string | undefined - let options: string[] | undefined - let selected: string | undefined - try { - const parsedMessage = JSON.parse(message.text || "{}") as ClineAskQuestion - question = parsedMessage.question - options = parsedMessage.options - selected = parsedMessage.selected - } catch (e) { - // legacy messages would pass question directly - question = message.text - } - - return ( - <> - {title && ( + case "shell_integration_warning": + return ( + <> +
+
+ + + Shell Integration Unavailable + +
+
+ Cline may have trouble viewing the command's output. Please update VSCode ( + CMD/CTRL + Shift + P → "Update") and make sure you're using a supported + shell: zsh, bash, fish, or PowerShell (CMD/CTRL + Shift + P → "Terminal: + Select Default Profile").{" "} + + Still having trouble? + +
+
+ + ) + default: + return ( + <> + {title && ( +
+ {icon} + {title} +
+ )} +
+ +
+ + ) + } + case "ask": + switch (message.ask) { + case "mistake_limit_reached": + return ( + <>
{icon} {title}
- )} +

+ {message.text} +

+ + ) + case "auto_approval_max_req_reached": + return ( + <> +
+ {icon} + {title} +
+

+ {message.text} +

+ + ) + case "completion_result": + if (message.text) { + const hasChanges = message.text.endsWith(COMPLETION_RESULT_CHANGES_FLAG) ?? false + const text = hasChanges ? message.text.slice(0, -COMPLETION_RESULT_CHANGES_FLAG.length) : message.text + return ( +
+
+ {icon} + {title} + +
+ + + {quoteButtonState.visible && ( + + )} + + {message.partial !== true && hasChanges && ( +
+ { + setSeeNewChangesDisabled(true) + TaskServiceClient.taskCompletionViewChanges( + Int64Request.create({ + value: message.ts, + }), + ).catch((err) => + console.error("Failed to show task completion view changes:", err), + ) + }}> + + See new changes + +
+ )} +
+ ) + } else { + return null // Don't render anything when we get a completion_result ask without text + } + case "followup": + let question: string | undefined + let options: string[] | undefined + let selected: string | undefined + try { + const parsedMessage = JSON.parse(message.text || "{}") as ClineAskQuestion + question = parsedMessage.question + options = parsedMessage.options + selected = parsedMessage.selected + } catch (e) { + // legacy messages would pass question directly + question = message.text + } + + return ( + <> + {title && ( +
+ {icon} + {title} +
+ )} + + + 0) + } + inputValue={inputValue} + /> + {quoteButtonState.visible && ( + { + handleQuoteClick() + }} + /> + )} + + + ) + case "new_task": + return ( + <> +
+ + + Cline wants to start a new task: + +
+ + + ) + case "condense": + return ( + <> +
+ + + Cline wants to condense your conversation: + +
+ + + ) + case "report_bug": + return ( + <> +
+ + + Cline wants to create a Github issue: + +
+ + + ) + case "plan_mode_respond": { + let response: string | undefined + let options: string[] | undefined + let selected: string | undefined + try { + const parsedMessage = JSON.parse(message.text || "{}") as ClinePlanModeResponse + response = parsedMessage.response + options = parsedMessage.options + selected = parsedMessage.selected + } catch (e) { + // legacy messages would pass response directly + response = message.text + } + return ( - + textToCopy={response} + position="bottom-right"> + 0) + } inputValue={inputValue} /> {quoteButtonState.visible && ( @@ -1602,96 +1653,14 @@ export const ChatRowContent = ({ /> )} - - ) - case "new_task": - return ( - <> -
- - Cline 需要开始一个新任务: -
- - - ) - case "condense": - return ( - <> -
- - - Cline wants to condense your conversation: - -
- - - ) - case "report_bug": - return ( - <> -
- - - Cline wants to create a Github issue: - -
- - - ) - case "plan_mode_respond": { - let response: string | undefined - let options: string[] | undefined - let selected: string | undefined - try { - const parsedMessage = JSON.parse(message.text || "{}") as ClinePlanModeResponse - response = parsedMessage.response - options = parsedMessage.options - selected = parsedMessage.selected - } catch (e) { - // legacy messages would pass response directly - response = message.text + ) } - return ( - - - - {quoteButtonState.visible && ( - { - handleQuoteClick() - }} - /> - )} - - ) + default: + return null } - default: - return null - } - } -} + } + }, +) function parseErrorText(text: string | undefined) { if (!text) { diff --git a/webview-ui/src/components/chat/ChatTextArea.tsx b/webview-ui/src/components/chat/ChatTextArea.tsx index 00a0c3a8..54a68137 100644 --- a/webview-ui/src/components/chat/ChatTextArea.tsx +++ b/webview-ui/src/components/chat/ChatTextArea.tsx @@ -1,4 +1,6 @@ -import { MAX_IMAGES_AND_FILES_PER_MESSAGE } from "@/components/chat/ChatView" +import { CHAT_CONSTANTS } from "@/components/chat/chat-view/constants" + +const { MAX_IMAGES_AND_FILES_PER_MESSAGE } = CHAT_CONSTANTS import ContextMenu from "@/components/chat/ContextMenu" import SlashCommandMenu from "@/components/chat/SlashCommandMenu" import { CODE_BLOCK_BG_COLOR } from "@/components/common/CodeBlock" @@ -29,10 +31,8 @@ import { validateSlashCommand, } from "@/utils/slash-commands" import { validateApiConfiguration, validateModelId } from "@/utils/validate" -import { vscode } from "@/utils/vscode" import { ChatSettings } from "@shared/ChatSettings" import { mentionRegex, mentionRegexGlobal } from "@shared/context-mentions" -import { ExtensionMessage } from "@shared/ExtensionMessage" import { EmptyRequest, StringRequest } from "@shared/proto/common" import { FileSearchRequest, RelativePathsRequest } from "@shared/proto/file" import { UpdateApiConfigurationRequest } from "@shared/proto/models" @@ -1726,7 +1726,6 @@ const ChatTextArea = forwardRef( apiErrorMessage={undefined} modelIdErrorMessage={undefined} isPopup={true} - saveImmediately={true} // Ensure popup saves immediately /> )} diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index b684f704..996a9973 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -1,42 +1,33 @@ -import { VSCodeButton, VSCodeLink } from "@vscode/webview-ui-toolkit/react" -import debounce from "debounce" -import { useCallback, useEffect, useMemo, useRef, useState } from "react" -import { useDeepCompareEffect, useEvent, useMount } from "react-use" -import { Virtuoso, type VirtuosoHandle } from "react-virtuoso" -import styled from "styled-components" -import { - ClineApiReqInfo, - ClineAsk, - ClineMessage, - ClineSayBrowserAction, - ClineSayTool, - ExtensionMessage, -} from "@shared/ExtensionMessage" +import { useCallback, useEffect, useMemo } from "react" +import { useMount } from "react-use" +import { ClineApiReqInfo, ClineMessage } from "@shared/ExtensionMessage" import { findLast } from "@shared/array" import { combineApiRequests } from "@shared/combineApiRequests" import { combineCommandSequences } from "@shared/combineCommandSequences" import { getApiMetrics } from "@shared/getApiMetrics" import { useExtensionState } from "@/context/ExtensionStateContext" -import { vscode } from "@/utils/vscode" -import { TaskServiceClient, SlashServiceClient, FileServiceClient, UiServiceClient } from "@/services/grpc-client" -import HistoryPreview from "@/components/history/HistoryPreview" +import { FileServiceClient, UiServiceClient } from "@/services/grpc-client" import { normalizeApiConfiguration } from "@/components/settings/utils/providerUtils" -import Announcement from "@/components/chat/Announcement" -import BrowserSessionRow from "@/components/chat/BrowserSessionRow" -import ChatRow from "@/components/chat/ChatRow" -import ChatTextArea from "@/components/chat/ChatTextArea" -import QuotedMessagePreview from "@/components/chat/QuotedMessagePreview" -import TaskHeader from "@/components/chat/task-header/TaskHeader" -import TelemetryBanner from "@/components/common/TelemetryBanner" -import { unified } from "unified" -import remarkStringify from "remark-stringify" -import rehypeRemark from "rehype-remark" -import rehypeParse from "rehype-parse" -import HomeHeader from "../welcome/HomeHeader" -import AutoApproveBar from "./auto-approve-menu/AutoApproveBar" -import { SuggestedTasks } from "../welcome/SuggestedTasks" import { BooleanRequest, EmptyRequest, StringRequest } from "@shared/proto/common" -import { AskResponseRequest, NewTaskRequest } from "@shared/proto/task" + +// Import utilities and hooks from the new structure +import { + convertHtmlToMarkdown, + filterVisibleMessages, + groupMessages, + CHAT_CONSTANTS, + useChatState, + useButtonState, + useScrollBehavior, + useMessageHandlers, + useIsStreaming, + ChatLayout, + WelcomeSection, + TaskSection, + MessagesArea, + ActionButtons, + InputSection, +} from "./chat-view" interface ChatViewProps { isHidden: boolean @@ -45,54 +36,8 @@ interface ChatViewProps { showHistoryView: () => void } -// Function to clean up markdown escape characters -function cleanupMarkdownEscapes(markdown: string): string { - return ( - markdown - // Handle underscores and asterisks (single or multiple) - .replace(/\\([_*]+)/g, "$1") - - // Handle angle brackets (for generics and XML) - .replace(/\\([<>])/g, "$1") - - // Handle backticks (for code) - .replace(/\\(`)/g, "$1") - - // Handle other common markdown special characters - .replace(/\\([[\]()#.!])/g, "$1") - - // Fix multiple consecutive backslashes - .replace(/\\{2,}([_*`<>[\]()#.!])/g, "$1") - ) -} - -async function convertHtmlToMarkdown(html: string) { - // Process the HTML to Markdown - const result = await unified() - .use(rehypeParse as any, { fragment: true }) // Parse HTML fragments - .use(rehypeRemark as any) // Convert HTML to Markdown AST - .use(remarkStringify as any, { - // Convert Markdown AST to text - bullet: "-", // Use - for unordered lists - emphasis: "*", // Use * for emphasis - strong: "_", // Use _ for strong - listItemIndent: "one", // Use one space for list indentation - rule: "-", // Use - for horizontal rules - ruleSpaces: false, // No spaces in horizontal rules - fences: true, - escape: false, - entities: false, - }) - .process(html) - - const md = String(result) - // Apply comprehensive cleanup of escape characters - return cleanupMarkdownEscapes(md) -} - -// Anthropic limits to 20 images, which we use to constrain both images & files for simplicity -export const MAX_IMAGES_AND_FILES_PER_MESSAGE = 20 -const QUICK_WINS_HISTORY_THRESHOLD = 300 +// Use constants from the imported module +const MAX_IMAGES_AND_FILES_PER_MESSAGE = CHAT_CONSTANTS.MAX_IMAGES_AND_FILES_PER_MESSAGE const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryView }: ChatViewProps) => { const { @@ -124,33 +69,29 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie return getTotalTokensFromApiReqMessage(lastApiReqMessage) }, [modifiedMessages]) - const [inputValue, setInputValue] = useState("") - const [activeQuote, setActiveQuote] = useState(null) - const [isTextAreaFocused, setIsTextAreaFocused] = useState(false) - const textAreaRef = useRef(null) - const [sendingDisabled, setSendingDisabled] = useState(false) - const [selectedImages, setSelectedImages] = useState([]) - const [selectedFiles, setSelectedFiles] = useState([]) - - const [enableButtons, setEnableButtons] = useState(false) - const [primaryButtonText, setPrimaryButtonText] = useState("Approve") - const [secondaryButtonText, setSecondaryButtonText] = useState("Reject") - const [didClickCancel, setDidClickCancel] = useState(false) - const virtuosoRef = useRef(null) - const [expandedRows, setExpandedRows] = useState>({}) - const scrollContainerRef = useRef(null) - const disableAutoScrollRef = useRef(false) - const [showScrollToBottom, setShowScrollToBottom] = useState(false) - const [isAtBottom, setIsAtBottom] = useState(false) - const [pendingScrollToMessage, setPendingScrollToMessage] = useState(null) - - // UI layout depends on the last 2 messages - // (since it relies on the content of these messages, we are deep comparing. i.e. the button state after hitting button sets enableButtons to false, and this effect otherwise would have to true again even if messages didn't change - const lastMessage = useMemo(() => messages.at(-1), [messages]) - const secondLastMessage = useMemo(() => messages.at(-2), [messages]) - - // Derive clineAsk directly from lastMessage to avoid race conditions - const clineAsk = useMemo(() => (lastMessage?.type === "ask" ? lastMessage.ask : undefined), [lastMessage]) + // Use custom hooks for state management + const chatState = useChatState(messages) + const { + inputValue, + setInputValue, + activeQuote, + setActiveQuote, + isTextAreaFocused, + selectedImages, + setSelectedImages, + selectedFiles, + setSelectedFiles, + sendingDisabled, + enableButtons, + primaryButtonText, + secondaryButtonText, + didClickCancel, + expandedRows, + setExpandedRows, + textAreaRef, + handleFocusChange, + clineAsk, + } = chatState useEffect(() => { const handleCopy = async (e: ClipboardEvent) => { @@ -238,401 +179,24 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie document.removeEventListener("copy", handleCopy) } }, []) - useDeepCompareEffect(() => { - // if last message is an ask, show user ask UI - // if user finished a task, then start a new task with a new conversation history since in this moment that the extension is waiting for user response, the user could close the extension and the conversation history would be lost. - // basically as long as a task is active, the conversation history will be persisted - if (lastMessage) { - switch (lastMessage.type) { - case "ask": - const isPartial = lastMessage.partial === true - switch (lastMessage.ask) { - case "api_req_failed": - setSendingDisabled(true) - setEnableButtons(true) - setPrimaryButtonText("重试") - setSecondaryButtonText("开始新任务") - break - case "mistake_limit_reached": - setSendingDisabled(false) - setEnableButtons(true) - setPrimaryButtonText("总是继续") - setSecondaryButtonText("开始新任务") - break - case "auto_approval_max_req_reached": - setSendingDisabled(true) - setEnableButtons(true) - setPrimaryButtonText("继续") - setSecondaryButtonText("开始新任务") - break - case "followup": - setSendingDisabled(isPartial) - setEnableButtons(false) - // setPrimaryButtonText(undefined) - // setSecondaryButtonText(undefined) - break - case "plan_mode_respond": - setSendingDisabled(isPartial) - setEnableButtons(false) - // setPrimaryButtonText(undefined) - // setSecondaryButtonText(undefined) - break - case "tool": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - const tool = JSON.parse(lastMessage.text || "{}") as ClineSayTool - switch (tool.tool) { - case "editedExistingFile": - case "newFileCreated": - setPrimaryButtonText("保存") - setSecondaryButtonText("拒绝") - break - default: - setPrimaryButtonText("批准") - setSecondaryButtonText("拒绝") - break - } - break - case "browser_action_launch": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("批准") - setSecondaryButtonText("拒绝") - break - case "command": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("执行") - setSecondaryButtonText("拒绝") - break - case "command_output": - setSendingDisabled(false) - setEnableButtons(true) - setPrimaryButtonText("运行中处理") - setSecondaryButtonText(undefined) - break - case "use_mcp_server": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("批准") - setSecondaryButtonText("拒绝") - break - case "completion_result": - // extension waiting for feedback. but we can just present a new task button - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("开始新任务") - setSecondaryButtonText(undefined) - break - case "resume_task": - setSendingDisabled(false) - setEnableButtons(true) - setPrimaryButtonText("重启任务") - setSecondaryButtonText(undefined) - setDidClickCancel(false) // special case where we reset the cancel button state - break - case "resume_completed_task": - setSendingDisabled(false) - setEnableButtons(true) - setPrimaryButtonText("开始新任务") - setSecondaryButtonText(undefined) - setDidClickCancel(false) - break - case "new_task": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("带上下文开始新任务") - setSecondaryButtonText(undefined) - break - case "condense": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("Condense Conversation") - setSecondaryButtonText(undefined) - break - case "report_bug": - setSendingDisabled(isPartial) - setEnableButtons(!isPartial) - setPrimaryButtonText("Report GitHub issue") - setSecondaryButtonText(undefined) - break - } - break - case "say": - // don't want to reset since there could be a "say" after an "ask" while ask is waiting for response - switch (lastMessage.say) { - case "api_req_started": - if (secondLastMessage?.ask === "command_output") { - // if the last ask is a command_output, and we receive an api_req_started, then that means the command has finished and we don't need input from the user anymore (in every other case, the user has to interact with input field or buttons to continue, which does the following automatically) - setInputValue("") - setSendingDisabled(true) - setSelectedImages([]) - setSelectedFiles([]) - setEnableButtons(false) - } - break - case "task": - case "error": - case "api_req_finished": - case "text": - case "browser_action": - case "browser_action_result": - case "browser_action_launch": - case "command": - case "use_mcp_server": - case "command_output": - case "mcp_server_request_started": - case "mcp_server_response": - case "completion_result": - case "tool": - case "load_mcp_documentation": - break - } - break - } - } else { - // this would get called after sending the first message, so we have to watch messages.length instead - // No messages, so user has to submit a task - // setTextAreaDisabled(false) - // setClineAsk(undefined) - // setPrimaryButtonText(undefined) - // setSecondaryButtonText(undefined) - } - }, [lastMessage, secondLastMessage]) - - useEffect(() => { - if (messages.length === 0) { - setSendingDisabled(false) - setEnableButtons(false) - setPrimaryButtonText("批准") - setSecondaryButtonText("拒绝") - } - }, [messages.length]) + // Button state is now managed by useButtonState hook useEffect(() => { setExpandedRows({}) }, [task?.ts]) - const isStreaming = useMemo(() => { - const isLastAsk = !!modifiedMessages.at(-1)?.ask // checking clineAsk isn't enough since messages effect may be called again for a tool for example, set clineAsk to its value, and if the next message is not an ask then it doesn't reset. This is likely due to how much more often we're updating messages as compared to before, and should be resolved with optimizations as it's likely a rendering bug. but as a final guard for now, the cancel button will show if the last message is not an ask - const isToolCurrentlyAsking = isLastAsk && clineAsk !== undefined && enableButtons && primaryButtonText !== undefined - if (isToolCurrentlyAsking) { - return false - } + // Use streaming hook + const isStreaming = useIsStreaming(modifiedMessages, clineAsk, enableButtons, primaryButtonText) - const isLastMessagePartial = modifiedMessages.at(-1)?.partial === true - if (isLastMessagePartial) { - return true - } else { - const lastApiReqStarted = findLast(modifiedMessages, (message) => message.say === "api_req_started") - if (lastApiReqStarted && lastApiReqStarted.text != null && lastApiReqStarted.say === "api_req_started") { - const cost = JSON.parse(lastApiReqStarted.text).cost - if (cost === undefined) { - // api request has not finished yet - return true - } - } - } + // handleFocusChange is already provided by chatState - return false - }, [modifiedMessages, clineAsk, enableButtons, primaryButtonText]) + // Use button state hook + useButtonState(messages, chatState) - const handleSendMessage = useCallback( - async (text: string, images: string[], files: string[]) => { - let messageToSend = text.trim() - const hasContent = messageToSend || images.length > 0 || files.length > 0 - - // Prepend the active quote if it exists - if (activeQuote && hasContent) { - const prefix = "[context] \n> " - const formattedQuote = activeQuote - const suffix = "\n[/context] \n\n" - messageToSend = `${prefix} ${formattedQuote} ${suffix} ${messageToSend}` - } - - if (hasContent) { - console.log("[ChatView] handleSendMessage - Sending message:", messageToSend) - if (messages.length === 0) { - await TaskServiceClient.newTask(NewTaskRequest.create({ text: messageToSend, images, files })) - } else if (clineAsk) { - switch (clineAsk) { - case "followup": - case "plan_mode_respond": - case "tool": - case "browser_action_launch": - case "command": // user can provide feedback to a tool or command use - case "command_output": // user can send input to command stdin - case "use_mcp_server": - case "completion_result": // if this happens then the user has feedback for the completion result - case "resume_task": - case "resume_completed_task": - case "mistake_limit_reached": - case "new_task": // user can provide feedback or reject the new task suggestion - case "condense": - case "report_bug": - await TaskServiceClient.askResponse( - AskResponseRequest.create({ - responseType: "messageResponse", - text: messageToSend, - images, - files, - }), - ) - break - // there is no other case that a textfield should be enabled - } - } - setInputValue("") - setActiveQuote(null) // Clear quote when sending message - setSendingDisabled(true) - setSelectedImages([]) - setSelectedFiles([]) - setEnableButtons(false) - // setPrimaryButtonText(undefined) - // setSecondaryButtonText(undefined) - disableAutoScrollRef.current = false - } - }, - [messages.length, clineAsk, activeQuote], - ) - - const startNewTask = useCallback(async () => { - setActiveQuote(null) // Clear the active quote state - await TaskServiceClient.clearTask(EmptyRequest.create({})) - }, []) - - /* - This logic depends on the useEffect[messages] above to set clineAsk, after which buttons are shown and we then send an askResponse to the extension. - */ - const handlePrimaryButtonClick = useCallback( - async (text?: string, images?: string[], files?: string[]) => { - const trimmedInput = text?.trim() - switch (clineAsk) { - case "api_req_failed": - case "command": - case "command_output": - case "tool": - case "browser_action_launch": - case "use_mcp_server": - case "resume_task": - case "mistake_limit_reached": - case "auto_approval_max_req_reached": - if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) { - await TaskServiceClient.askResponse( - AskResponseRequest.create({ - responseType: "yesButtonClicked", - text: trimmedInput, - images: images, - files: files, - }), - ) - } else { - await TaskServiceClient.askResponse( - AskResponseRequest.create({ - responseType: "yesButtonClicked", - }), - ) - } - // Clear input state after sending - setInputValue("") - setActiveQuote(null) // Clear quote when using primary button - setSelectedImages([]) - setSelectedFiles([]) - break - case "completion_result": - case "resume_completed_task": - // extension waiting for feedback. but we can just present a new task button - startNewTask() - break - case "new_task": - console.info("new task button clicked!", { lastMessage, messages, clineAsk, text }) - await TaskServiceClient.newTask( - NewTaskRequest.create({ - text: lastMessage?.text, - images: [], - files: [], - }), - ) - break - case "condense": - await SlashServiceClient.condense(StringRequest.create({ value: lastMessage?.text })).catch((err) => - console.error(err), - ) - break - case "report_bug": - await SlashServiceClient.reportBug(StringRequest.create({ value: lastMessage?.text })).catch((err) => - console.error(err), - ) - break - } - setSendingDisabled(true) - setEnableButtons(false) - // setPrimaryButtonText(undefined) - // setSecondaryButtonText(undefined) - disableAutoScrollRef.current = false - }, - [clineAsk, startNewTask, lastMessage], - ) - - const handleSecondaryButtonClick = useCallback( - async (text?: string, images?: string[], files?: string[]) => { - const trimmedInput = text?.trim() - if (isStreaming) { - await TaskServiceClient.cancelTask(EmptyRequest.create({})) - setDidClickCancel(true) - return - } - - switch (clineAsk) { - case "api_req_failed": - case "mistake_limit_reached": - case "auto_approval_max_req_reached": - startNewTask() - break - case "command": - case "tool": - case "browser_action_launch": - case "use_mcp_server": - if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) { - await TaskServiceClient.askResponse( - AskResponseRequest.create({ - responseType: "noButtonClicked", - text: trimmedInput, - images: images, - files: files, - }), - ) - } else { - // responds to the API with a "This operation failed" and lets it try again - await TaskServiceClient.askResponse( - AskResponseRequest.create({ - responseType: "noButtonClicked", - }), - ) - } - // Clear input state after sending - setInputValue("") - setActiveQuote(null) // Clear quote when using secondary button - setSelectedImages([]) - setSelectedFiles([]) - break - } - setSendingDisabled(true) - setEnableButtons(false) - // setPrimaryButtonText(undefined) - // setSecondaryButtonText(undefined) - disableAutoScrollRef.current = false - }, - [clineAsk, startNewTask, isStreaming], - ) - - const handleTaskCloseButtonClick = useCallback(() => { - startNewTask() - }, [startNewTask]) - - const handleFocusChange = useCallback((isFocused: boolean) => { - setIsTextAreaFocused(isFocused) - }, []) + // Use message handlers hook + const messageHandlers = useMessageHandlers(messages, chatState, isStreaming) + const { handleSendMessage, handlePrimaryButtonClick, handleSecondaryButtonClick, handleTaskCloseButtonClick } = + messageHandlers const { selectedModelInfo } = useMemo(() => { return normalizeApiConfiguration(apiConfiguration) @@ -739,555 +303,80 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie }, [isHidden, sendingDisabled, enableButtons]) const visibleMessages = useMemo(() => { - return modifiedMessages.filter((message) => { - switch (message.ask) { - case "completion_result": - // don't show a chat row for a completion_result ask without text. This specific type of message only occurs if cline wants to execute a command as part of its completion result, in which case we interject the completion_result tool with the execute_command tool. - if (message.text === "") { - return false - } - break - case "api_req_failed": // this message is used to update the latest api_req_started that the request failed - case "resume_task": - case "resume_completed_task": - return false - } - switch (message.say) { - case "api_req_finished": // combineApiRequests removes this from modifiedMessages anyways - case "api_req_retried": // this message is used to update the latest api_req_started that the request was retried - case "deleted_api_reqs": // aggregated api_req metrics from deleted messages - return false - case "text": - // Sometimes cline returns an empty text message, we don't want to render these. (We also use a say text for user messages, so in case they just sent images we still render that) - if ((message.text ?? "") === "" && (message.images?.length ?? 0) === 0) { - return false - } - break - case "mcp_server_request_started": - return false - } - return true - }) + return filterVisibleMessages(modifiedMessages) }, [modifiedMessages]) - const isBrowserSessionMessage = (message: ClineMessage): boolean => { - // which of visible messages are browser session messages, see above - - // NOTE: any messages we want to make as part of a browser session should be included here - // There was an issue where we added checkpoints after browser actions, and it resulted in browser sessions being disrupted. - if (message.type === "ask") { - return ["browser_action_launch"].includes(message.ask!) - } - if (message.type === "say") { - return [ - "browser_action_launch", - "api_req_started", - "text", - "browser_action", - "browser_action_result", - "checkpoint_created", - "reasoning", - ].includes(message.say!) - } - return false - } - const groupedMessages = useMemo(() => { - const result: (ClineMessage | ClineMessage[])[] = [] - let currentGroup: ClineMessage[] = [] - let isInBrowserSession = false - - const endBrowserSession = () => { - if (currentGroup.length > 0) { - result.push([...currentGroup]) - currentGroup = [] - isInBrowserSession = false - } - } - - visibleMessages.forEach((message) => { - if (message.ask === "browser_action_launch" || message.say === "browser_action_launch") { - // complete existing browser session if any - endBrowserSession() - // start new - isInBrowserSession = true - currentGroup.push(message) - } else if (isInBrowserSession) { - // end session if api_req_started is cancelled - - if (message.say === "api_req_started") { - // get last api_req_started in currentGroup to check if it's cancelled. If it is then this api req is not part of the current browser session - const lastApiReqStarted = [...currentGroup].reverse().find((m) => m.say === "api_req_started") - if (lastApiReqStarted?.text != null) { - const info = JSON.parse(lastApiReqStarted.text) - const isCancelled = info.cancelReason != null - if (isCancelled) { - endBrowserSession() - result.push(message) - return - } - } - } - - if (isBrowserSessionMessage(message)) { - currentGroup.push(message) - - // Check if this is a close action - if (message.say === "browser_action") { - const browserAction = JSON.parse(message.text || "{}") as ClineSayBrowserAction - if (browserAction.action === "close") { - endBrowserSession() - } - } - } else { - // complete existing browser session if any - endBrowserSession() - result.push(message) - } - } else { - result.push(message) - } - }) - - // Handle case where browser session is the last group - if (currentGroup.length > 0) { - result.push([...currentGroup]) - } - - return result + return groupMessages(visibleMessages) }, [visibleMessages]) - // scrolling - - const scrollToBottomSmooth = useMemo( - () => - debounce( - () => { - virtuosoRef.current?.scrollTo({ - top: Number.MAX_SAFE_INTEGER, - behavior: "smooth", - }) - }, - 10, - { immediate: true }, - ), - [], - ) - - const scrollToBottomAuto = useCallback(() => { - virtuosoRef.current?.scrollTo({ - top: Number.MAX_SAFE_INTEGER, - behavior: "auto", // instant causes crash - }) - }, []) - - const scrollToMessage = useCallback( - (messageIndex: number) => { - setPendingScrollToMessage(messageIndex) - - const targetMessage = messages[messageIndex] - if (!targetMessage) { - setPendingScrollToMessage(null) - return - } - - const visibleIndex = visibleMessages.findIndex((msg) => msg.ts === targetMessage.ts) - if (visibleIndex === -1) { - setPendingScrollToMessage(null) - return - } - - let groupIndex = -1 - let currentVisibleIndex = 0 - - for (let i = 0; i < groupedMessages.length; i++) { - const group = groupedMessages[i] - if (Array.isArray(group)) { - const groupSize = group.length - const messageInGroup = group.some((msg) => msg.ts === targetMessage.ts) - if (messageInGroup) { - groupIndex = i - break - } - currentVisibleIndex += groupSize - } else { - if (group.ts === targetMessage.ts) { - groupIndex = i - break - } - currentVisibleIndex++ - } - } - - if (groupIndex !== -1) { - setPendingScrollToMessage(null) - disableAutoScrollRef.current = true - requestAnimationFrame(() => { - requestAnimationFrame(() => { - virtuosoRef.current?.scrollToIndex({ - index: groupIndex, - align: "start", - behavior: "smooth", - }) - }) - }) - } - }, - [messages, visibleMessages, groupedMessages], - ) - - // scroll when user toggles certain rows - const toggleRowExpansion = useCallback( - (ts: number) => { - const isCollapsing = expandedRows[ts] ?? false - const lastGroup = groupedMessages.at(-1) - const isLast = Array.isArray(lastGroup) ? lastGroup[0].ts === ts : lastGroup?.ts === ts - const secondToLastGroup = groupedMessages.at(-2) - const isSecondToLast = Array.isArray(secondToLastGroup) - ? secondToLastGroup[0].ts === ts - : secondToLastGroup?.ts === ts - - const isLastCollapsedApiReq = - isLast && - !Array.isArray(lastGroup) && // Make sure it's not a browser session group - lastGroup?.say === "api_req_started" && - !expandedRows[lastGroup.ts] - - setExpandedRows((prev) => ({ - ...prev, - [ts]: !prev[ts], - })) - - // disable auto scroll when user expands row - if (!isCollapsing) { - disableAutoScrollRef.current = true - } - - if (isCollapsing && isAtBottom) { - const timer = setTimeout(() => { - scrollToBottomAuto() - }, 0) - return () => clearTimeout(timer) - } else if (isLast || isSecondToLast) { - if (isCollapsing) { - if (isSecondToLast && !isLastCollapsedApiReq) { - return - } - const timer = setTimeout(() => { - scrollToBottomAuto() - }, 0) - return () => clearTimeout(timer) - } else { - const timer = setTimeout(() => { - virtuosoRef.current?.scrollToIndex({ - index: groupedMessages.length - (isLast ? 1 : 2), - align: "start", - }) - }, 0) - return () => clearTimeout(timer) - } - } - }, - [groupedMessages, expandedRows, scrollToBottomAuto, isAtBottom], - ) - - const handleRowHeightChange = useCallback( - (isTaller: boolean) => { - if (!disableAutoScrollRef.current) { - if (isTaller) { - scrollToBottomSmooth() - } else { - setTimeout(() => { - scrollToBottomAuto() - }, 0) - } - } - }, - [scrollToBottomSmooth, scrollToBottomAuto], - ) - - useEffect(() => { - if (!disableAutoScrollRef.current) { - setTimeout(() => { - scrollToBottomSmooth() - }, 50) - // return () => clearTimeout(timer) // dont cleanup since if visibleMessages.length changes it cancels. - } - }, [groupedMessages.length, scrollToBottomSmooth]) - - useEffect(() => { - if (pendingScrollToMessage !== null) { - scrollToMessage(pendingScrollToMessage) - } - }, [pendingScrollToMessage, groupedMessages, scrollToMessage]) - - const handleWheel = useCallback((event: Event) => { - const wheelEvent = event as WheelEvent - if (wheelEvent.deltaY && wheelEvent.deltaY < 0) { - if (scrollContainerRef.current?.contains(wheelEvent.target as Node)) { - // user scrolled up - disableAutoScrollRef.current = true - } - } - }, []) - useEvent("wheel", handleWheel, window, { passive: true }) // passive improves scrolling performance + // Use scroll behavior hook + const scrollBehavior = useScrollBehavior(messages, visibleMessages, groupedMessages, expandedRows, setExpandedRows) const placeholderText = useMemo(() => { const text = task ? "输入消息..." : "输入任务..." return text }, [task]) - const itemContent = useCallback( - (index: number, messageOrGroup: ClineMessage | ClineMessage[]) => { - // browser session group - if (Array.isArray(messageOrGroup)) { - return ( - expandedRows[messageTs] ?? false} - onToggleExpand={(messageTs: number) => { - setExpandedRows((prev) => ({ - ...prev, - [messageTs]: !prev[messageTs], - })) - }} - onSetQuote={setActiveQuote} - /> - ) - } - - // We display certain statuses for the last message only - // If the last message is a checkpoint, we want to show the status of the previous message - const nextMessage = index < groupedMessages.length - 1 && groupedMessages[index + 1] - const isNextCheckpoint = !Array.isArray(nextMessage) && nextMessage && nextMessage?.say === "checkpoint_created" - const isLastMessageGroup = isNextCheckpoint && index === groupedMessages.length - 2 - - const isLast = index === groupedMessages.length - 1 || isLastMessageGroup - - // regular message - return ( - toggleRowExpansion(messageOrGroup.ts)} - lastModifiedMessage={modifiedMessages.at(-1)} - isLast={isLast} - onHeightChange={handleRowHeightChange} - inputValue={inputValue} - sendMessageFromChatRow={handleSendMessage} - onSetQuote={setActiveQuote} - /> - ) - }, - [ - expandedRows, - modifiedMessages, - groupedMessages.length, - toggleRowExpansion, - handleRowHeightChange, - inputValue, - setActiveQuote, - ], - ) - return ( -
+ {task ? ( - ) : ( -
- {telemetrySetting === "unset" && } - - {showAnnouncement && } - - - {!shouldShowQuickWins && taskHistory.length > 0 && } -
- )} - - {!task && ( - <> - - - + )} {task && ( <> -
-
, // Add empty padding at the bottom - }} - // increasing top by 3_000 to prevent jumping around when user collapses a row - increaseViewportBy={{ - top: 3_000, - bottom: Number.MAX_SAFE_INTEGER, - }} // hack to make sure the last message is always rendered to get truly perfect scroll to bottom animation when new messages are added (Number.MAX_SAFE_INTEGER is safe for arithmetic operations, which is all virtuoso uses this value for in src/sizeRangeSystem.ts) - data={groupedMessages} // messages is the raw format returned by extension, modifiedMessages is the manipulated structure that combines certain messages of related type, and visibleMessages is the filtered structure that removes messages that should not be rendered - itemContent={itemContent} - atBottomStateChange={(isAtBottom) => { - setIsAtBottom(isAtBottom) - if (isAtBottom) { - disableAutoScrollRef.current = false - } - setShowScrollToBottom(disableAutoScrollRef.current && !isAtBottom) - }} - atBottomThreshold={10} // anything lower causes issues with followOutput - initialTopMostItemIndex={groupedMessages.length - 1} - /> -
- - {showScrollToBottom ? ( -
- { - scrollToBottomSmooth() - disableAutoScrollRef.current = false - }}> - - -
- ) : ( -
- {primaryButtonText && !isStreaming && ( - handlePrimaryButtonClick(inputValue, selectedImages, selectedFiles)}> - {primaryButtonText} - - )} - {(secondaryButtonText || isStreaming) && ( - handleSecondaryButtonClick(inputValue, selectedImages, selectedFiles)}> - {isStreaming ? "取消" : secondaryButtonText} - - )} -
- )} + + )} - {(() => { - return activeQuote ? ( -
- setActiveQuote(null)} - isFocused={isTextAreaFocused} - /> -
- ) : null - })()} - handleSendMessage(inputValue, selectedImages, selectedFiles)} - onSelectFilesAndImages={selectFilesAndImages} shouldDisableFilesAndImages={shouldDisableFilesAndImages} - onHeightChange={() => { - if (isAtBottom) { - scrollToBottomAuto() - } - }} + selectFilesAndImages={selectFilesAndImages} /> -
+
) } -const ScrollToBottomButton = styled.div` - background-color: color-mix(in srgb, var(--vscode-toolbar-hoverBackground) 55%, transparent); - border-radius: 3px; - overflow: hidden; - cursor: pointer; - display: flex; - justify-content: center; - align-items: center; - flex: 1; - height: 25px; - - &:hover { - background-color: color-mix(in srgb, var(--vscode-toolbar-hoverBackground) 90%, transparent); - } - - &:active { - background-color: color-mix(in srgb, var(--vscode-toolbar-hoverBackground) 70%, transparent); - } -` - export default ChatView diff --git a/webview-ui/src/components/chat/chat-view/components/layout/ActionButtons.tsx b/webview-ui/src/components/chat/chat-view/components/layout/ActionButtons.tsx new file mode 100644 index 00000000..1e246964 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/ActionButtons.tsx @@ -0,0 +1,100 @@ +import React from "react" +import { VSCodeButton } from "@vscode/webview-ui-toolkit/react" +import styled from "styled-components" +import { ChatState, MessageHandlers } from "../../types/chatTypes" + +interface ActionButtonsProps { + chatState: ChatState + messageHandlers: MessageHandlers + isStreaming: boolean + scrollBehavior: { + scrollToBottomSmooth: () => void + disableAutoScrollRef: React.MutableRefObject + showScrollToBottom: boolean + } +} + +/** + * Action buttons area including scroll-to-bottom and approve/reject buttons + */ +export const ActionButtons: React.FC = ({ chatState, messageHandlers, isStreaming, scrollBehavior }) => { + const { primaryButtonText, secondaryButtonText, enableButtons, didClickCancel, inputValue, selectedImages, selectedFiles } = + chatState + + const { showScrollToBottom, scrollToBottomSmooth, disableAutoScrollRef } = scrollBehavior + + if (showScrollToBottom) { + return ( +
+ { + scrollToBottomSmooth() + disableAutoScrollRef.current = false + }}> + + +
+ ) + } + + const shouldShowButtons = primaryButtonText || secondaryButtonText || isStreaming + const opacity = shouldShowButtons ? (enableButtons || (isStreaming && !didClickCancel) ? 1 : 0.5) : 0 + + return ( +
+ {primaryButtonText && !isStreaming && ( + messageHandlers.handlePrimaryButtonClick(inputValue, selectedImages, selectedFiles)}> + {primaryButtonText} + + )} + {(secondaryButtonText || isStreaming) && ( + messageHandlers.handleSecondaryButtonClick(inputValue, selectedImages, selectedFiles)}> + {isStreaming ? "取消" : secondaryButtonText} + + )} +
+ ) +} + +const ScrollToBottomButton = styled.div` + background-color: color-mix(in srgb, var(--vscode-toolbar-hoverBackground) 55%, transparent); + border-radius: 3px; + overflow: hidden; + cursor: pointer; + display: flex; + justify-content: center; + align-items: center; + flex: 1; + height: 25px; + + &:hover { + background-color: color-mix(in srgb, var(--vscode-toolbar-hoverBackground) 90%, transparent); + } + + &:active { + background-color: color-mix(in srgb, var(--vscode-toolbar-hoverBackground) 70%, transparent); + } +` diff --git a/webview-ui/src/components/chat/chat-view/components/layout/ChatLayout.tsx b/webview-ui/src/components/chat/chat-view/components/layout/ChatLayout.tsx new file mode 100644 index 00000000..f571efe2 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/ChatLayout.tsx @@ -0,0 +1,26 @@ +import React from "react" +import styled from "styled-components" + +interface ChatLayoutProps { + isHidden: boolean + children: React.ReactNode +} + +/** + * Main layout container for the chat view + * Provides the fixed positioning and flex layout structure + */ +export const ChatLayout: React.FC = ({ isHidden, children }) => { + return {children} +} + +const ChatLayoutContainer = styled.div<{ isHidden: boolean }>` + position: fixed; + top: 0; + left: 0; + right: 0; + bottom: 0; + display: ${(props) => (props.isHidden ? "none" : "flex")}; + flex-direction: column; + overflow: hidden; +` diff --git a/webview-ui/src/components/chat/chat-view/components/layout/InputSection.tsx b/webview-ui/src/components/chat/chat-view/components/layout/InputSection.tsx new file mode 100644 index 00000000..d89bcbe8 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/InputSection.tsx @@ -0,0 +1,78 @@ +import React from "react" +import QuotedMessagePreview from "@/components/chat/QuotedMessagePreview" +import ChatTextArea from "@/components/chat/ChatTextArea" +import { ChatState, MessageHandlers, ScrollBehavior } from "../../types/chatTypes" + +interface InputSectionProps { + chatState: ChatState + messageHandlers: MessageHandlers + scrollBehavior: ScrollBehavior + placeholderText: string + shouldDisableFilesAndImages: boolean + selectFilesAndImages: () => Promise +} + +/** + * Input section including quoted message preview and chat text area + */ +export const InputSection: React.FC = ({ + chatState, + messageHandlers, + scrollBehavior, + placeholderText, + shouldDisableFilesAndImages, + selectFilesAndImages, +}) => { + const { + activeQuote, + setActiveQuote, + isTextAreaFocused, + inputValue, + setInputValue, + sendingDisabled, + selectedImages, + setSelectedImages, + selectedFiles, + setSelectedFiles, + textAreaRef, + handleFocusChange, + } = chatState + + const { isAtBottom, scrollToBottomAuto } = scrollBehavior + + return ( + <> + {activeQuote && ( +
+ setActiveQuote(null)} + isFocused={isTextAreaFocused} + /> +
+ )} + + messageHandlers.handleSendMessage(inputValue, selectedImages, selectedFiles)} + onSelectFilesAndImages={selectFilesAndImages} + shouldDisableFilesAndImages={shouldDisableFilesAndImages} + onHeightChange={() => { + if (isAtBottom) { + scrollToBottomAuto() + } + }} + /> + + ) +} diff --git a/webview-ui/src/components/chat/chat-view/components/layout/MessagesArea.tsx b/webview-ui/src/components/chat/chat-view/components/layout/MessagesArea.tsx new file mode 100644 index 00000000..78af98f8 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/MessagesArea.tsx @@ -0,0 +1,99 @@ +import React, { useCallback } from "react" +import { Virtuoso } from "react-virtuoso" +import AutoApproveBar from "@/components/chat/auto-approve-menu/AutoApproveBar" +import { ClineMessage } from "@shared/ExtensionMessage" +import { ScrollBehavior, ChatState, MessageHandlers } from "../../types/chatTypes" +import { createMessageRenderer } from "../messages/MessageRenderer" + +interface MessagesAreaProps { + task: ClineMessage + groupedMessages: (ClineMessage | ClineMessage[])[] + modifiedMessages: ClineMessage[] + scrollBehavior: ScrollBehavior + chatState: ChatState + messageHandlers: MessageHandlers +} + +/** + * The scrollable messages area with virtualized list + * Handles rendering of chat rows and browser sessions + */ +export const MessagesArea: React.FC = ({ + task, + groupedMessages, + modifiedMessages, + scrollBehavior, + chatState, + messageHandlers, +}) => { + const { + virtuosoRef, + scrollContainerRef, + toggleRowExpansion, + handleRowHeightChange, + setIsAtBottom, + setShowScrollToBottom, + disableAutoScrollRef, + } = scrollBehavior + + const { expandedRows, inputValue, setActiveQuote } = chatState + + const itemContent = useCallback( + createMessageRenderer( + groupedMessages, + modifiedMessages, + expandedRows, + toggleRowExpansion, + handleRowHeightChange, + setActiveQuote, + inputValue, + messageHandlers, + ), + [ + groupedMessages, + modifiedMessages, + expandedRows, + toggleRowExpansion, + handleRowHeightChange, + setActiveQuote, + inputValue, + messageHandlers, + ], + ) + + return ( + <> +
+
, // Add empty padding at the bottom + }} + // increasing top by 3_000 to prevent jumping around when user collapses a row + increaseViewportBy={{ + top: 3_000, + bottom: Number.MAX_SAFE_INTEGER, + }} // hack to make sure the last message is always rendered to get truly perfect scroll to bottom animation when new messages are added (Number.MAX_SAFE_INTEGER is safe for arithmetic operations, which is all virtuoso uses this value for in src/sizeRangeSystem.ts) + data={groupedMessages} // messages is the raw format returned by extension, modifiedMessages is the manipulated structure that combines certain messages of related type, and visibleMessages is the filtered structure that removes messages that should not be rendered + itemContent={itemContent} + atBottomStateChange={(isAtBottom) => { + setIsAtBottom(isAtBottom) + if (isAtBottom) { + disableAutoScrollRef.current = false + } + setShowScrollToBottom(disableAutoScrollRef.current && !isAtBottom) + }} + atBottomThreshold={10} // anything lower causes issues with followOutput + initialTopMostItemIndex={groupedMessages.length - 1} + /> +
+ + + ) +} diff --git a/webview-ui/src/components/chat/chat-view/components/layout/TaskSection.tsx b/webview-ui/src/components/chat/chat-view/components/layout/TaskSection.tsx new file mode 100644 index 00000000..14d01961 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/TaskSection.tsx @@ -0,0 +1,50 @@ +import React from "react" +import TaskHeader from "@/components/chat/task-header/TaskHeader" +import { ClineMessage } from "@shared/ExtensionMessage" +import { MessageHandlers, ScrollBehavior } from "../../types/chatTypes" + +interface TaskSectionProps { + task: ClineMessage + apiMetrics: { + totalTokensIn: number + totalTokensOut: number + totalCacheWrites?: number + totalCacheReads?: number + totalCost: number + } + lastApiReqTotalTokens?: number + selectedModelInfo: { + supportsPromptCache: boolean + supportsImages: boolean + } + messageHandlers: MessageHandlers + scrollBehavior: ScrollBehavior +} + +/** + * Task section shown when there's an active task + * Includes the task header and manages task-specific UI + */ +export const TaskSection: React.FC = ({ + task, + apiMetrics, + lastApiReqTotalTokens, + selectedModelInfo, + messageHandlers, + scrollBehavior, +}) => { + return ( + + ) +} diff --git a/webview-ui/src/components/chat/chat-view/components/layout/WelcomeSection.tsx b/webview-ui/src/components/chat/chat-view/components/layout/WelcomeSection.tsx new file mode 100644 index 00000000..5cbea3c3 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/WelcomeSection.tsx @@ -0,0 +1,43 @@ +import React from "react" +import TelemetryBanner from "@/components/common/TelemetryBanner" +import Announcement from "@/components/chat/Announcement" +import HomeHeader from "@/components/welcome/HomeHeader" +import HistoryPreview from "@/components/history/HistoryPreview" +import { SuggestedTasks } from "@/components/welcome/SuggestedTasks" +import AutoApproveBar from "@/components/chat/auto-approve-menu/AutoApproveBar" +import { WelcomeSectionProps } from "../../types/chatTypes" + +/** + * Welcome section shown when there's no active task + * Includes telemetry banner, announcements, home header, and history preview + */ +export const WelcomeSection: React.FC = ({ + showAnnouncement, + hideAnnouncement, + showHistoryView, + telemetrySetting, + version, + taskHistory, + shouldShowQuickWins, +}) => { + return ( + <> +
+ {telemetrySetting === "unset" && } + {showAnnouncement && } + + {!shouldShowQuickWins && taskHistory.length > 0 && } +
+ + + + ) +} diff --git a/webview-ui/src/components/chat/chat-view/components/layout/index.ts b/webview-ui/src/components/chat/chat-view/components/layout/index.ts new file mode 100644 index 00000000..f9404b54 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/layout/index.ts @@ -0,0 +1,10 @@ +/** + * Export all layout components + */ + +export { ChatLayout } from "./ChatLayout" +export { WelcomeSection } from "./WelcomeSection" +export { TaskSection } from "./TaskSection" +export { MessagesArea } from "./MessagesArea" +export { ActionButtons } from "./ActionButtons" +export { InputSection } from "./InputSection" diff --git a/webview-ui/src/components/chat/chat-view/components/messages/MessageRenderer.tsx b/webview-ui/src/components/chat/chat-view/components/messages/MessageRenderer.tsx new file mode 100644 index 00000000..a4fc393f --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/messages/MessageRenderer.tsx @@ -0,0 +1,103 @@ +import React, { useCallback } from "react" +import BrowserSessionRow from "@/components/chat/BrowserSessionRow" +import ChatRow from "@/components/chat/ChatRow" +import { ClineMessage } from "@shared/ExtensionMessage" +import { MessageHandlers } from "../../types/chatTypes" + +interface MessageRendererProps { + index: number + messageOrGroup: ClineMessage | ClineMessage[] + groupedMessages: (ClineMessage | ClineMessage[])[] + modifiedMessages: ClineMessage[] + expandedRows: Record + onToggleExpand: (ts: number) => void + onHeightChange: (isTaller: boolean) => void + onSetQuote: (quote: string | null) => void + inputValue: string + messageHandlers: MessageHandlers +} + +/** + * Specialized component for rendering different message types + * Handles browser sessions, regular messages, and checkpoint logic + */ +export const MessageRenderer: React.FC = ({ + index, + messageOrGroup, + groupedMessages, + modifiedMessages, + expandedRows, + onToggleExpand, + onHeightChange, + onSetQuote, + inputValue, + messageHandlers, +}) => { + // Browser session group + if (Array.isArray(messageOrGroup)) { + return ( + + ) + } + + // Determine if this is the last message for status display purposes + const nextMessage = index < groupedMessages.length - 1 && groupedMessages[index + 1] + const isNextCheckpoint = !Array.isArray(nextMessage) && nextMessage && nextMessage?.say === "checkpoint_created" + const isLastMessageGroup = isNextCheckpoint && index === groupedMessages.length - 2 + const isLast = index === groupedMessages.length - 1 || isLastMessageGroup + + // Regular message + return ( + + ) +} + +/** + * Factory function to create the itemContent callback for Virtuoso + * This allows us to encapsulate the rendering logic while maintaining performance + */ +export const createMessageRenderer = ( + groupedMessages: (ClineMessage | ClineMessage[])[], + modifiedMessages: ClineMessage[], + expandedRows: Record, + onToggleExpand: (ts: number) => void, + onHeightChange: (isTaller: boolean) => void, + onSetQuote: (quote: string | null) => void, + inputValue: string, + messageHandlers: MessageHandlers, +) => { + return (index: number, messageOrGroup: ClineMessage | ClineMessage[]) => ( + + ) +} diff --git a/webview-ui/src/components/chat/chat-view/components/messages/StreamingIndicator.tsx b/webview-ui/src/components/chat/chat-view/components/messages/StreamingIndicator.tsx new file mode 100644 index 00000000..aac8b1ff --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/messages/StreamingIndicator.tsx @@ -0,0 +1,41 @@ +import React, { useMemo } from "react" +import { ClineMessage } from "@shared/ExtensionMessage" +import { findLast } from "@shared/array" + +/** + * Hook to determine if the chat is currently streaming + * Encapsulates the complex streaming detection logic + */ +export const useIsStreaming = ( + modifiedMessages: ClineMessage[], + clineAsk?: string, + enableButtons?: boolean, + primaryButtonText?: string, +): boolean => { + return useMemo(() => { + // Check if the last message is an ask (tool is waiting for user input) + const isLastAsk = !!modifiedMessages.at(-1)?.ask + const isToolCurrentlyAsking = isLastAsk && clineAsk !== undefined && enableButtons && primaryButtonText !== undefined + if (isToolCurrentlyAsking) { + return false + } + + // Check if the last message is partial (still being streamed) + const isLastMessagePartial = modifiedMessages.at(-1)?.partial === true + if (isLastMessagePartial) { + return true + } + + // Check if there's an ongoing API request + const lastApiReqStarted = findLast(modifiedMessages, (message) => message.say === "api_req_started") + if (lastApiReqStarted && lastApiReqStarted.text != null && lastApiReqStarted.say === "api_req_started") { + const cost = JSON.parse(lastApiReqStarted.text).cost + if (cost === undefined) { + // API request has not finished yet + return true + } + } + + return false + }, [modifiedMessages, clineAsk, enableButtons, primaryButtonText]) +} diff --git a/webview-ui/src/components/chat/chat-view/components/messages/index.ts b/webview-ui/src/components/chat/chat-view/components/messages/index.ts new file mode 100644 index 00000000..40f9cbde --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/components/messages/index.ts @@ -0,0 +1,6 @@ +/** + * Export all message-related components + */ + +export { MessageRenderer, createMessageRenderer } from "./MessageRenderer" +export { useIsStreaming } from "./StreamingIndicator" diff --git a/webview-ui/src/components/chat/chat-view/constants.ts b/webview-ui/src/components/chat/chat-view/constants.ts new file mode 100644 index 00000000..dcd3b7fe --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/constants.ts @@ -0,0 +1,7 @@ +/** + * Constants used across the chat view components + */ +export const CHAT_CONSTANTS = { + MAX_IMAGES_AND_FILES_PER_MESSAGE: 20, + QUICK_WINS_HISTORY_THRESHOLD: 300, +} as const diff --git a/webview-ui/src/components/chat/chat-view/hooks/index.ts b/webview-ui/src/components/chat/chat-view/hooks/index.ts new file mode 100644 index 00000000..089fe397 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/hooks/index.ts @@ -0,0 +1,8 @@ +/** + * Export all custom hooks for the chat view + */ + +export { useChatState } from "./useChatState" +export { useButtonState } from "./useButtonState" +export { useScrollBehavior } from "./useScrollBehavior" +export { useMessageHandlers } from "./useMessageHandlers" diff --git a/webview-ui/src/components/chat/chat-view/hooks/useButtonState.ts b/webview-ui/src/components/chat/chat-view/hooks/useButtonState.ts new file mode 100644 index 00000000..1a3f5103 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/hooks/useButtonState.ts @@ -0,0 +1,160 @@ +import { useEffect } from "react" +import { useDeepCompareEffect } from "react-use" +import { ClineMessage, ClineSayTool } from "@shared/ExtensionMessage" +import { ChatState } from "../types/chatTypes" + +/** + * Custom hook for managing button state based on messages + * Handles button text and enable/disable states based on the current ask type + */ +export function useButtonState(messages: ClineMessage[], chatState: ChatState) { + const { + setSendingDisabled, + setEnableButtons, + setPrimaryButtonText, + setSecondaryButtonText, + setDidClickCancel, + lastMessage, + secondLastMessage, + } = chatState + + // Update button state based on last message + useDeepCompareEffect(() => { + if (lastMessage) { + switch (lastMessage.type) { + case "ask": + const isPartial = lastMessage.partial === true + switch (lastMessage.ask) { + case "api_req_failed": + setSendingDisabled(true) + setEnableButtons(true) + setPrimaryButtonText("重试") + setSecondaryButtonText("开始新任务") + break + case "mistake_limit_reached": + setSendingDisabled(false) + setEnableButtons(true) + setPrimaryButtonText("总是继续") + setSecondaryButtonText("开始新任务") + break + case "auto_approval_max_req_reached": + setSendingDisabled(true) + setEnableButtons(true) + setPrimaryButtonText("继续") + setSecondaryButtonText("开始新任务") + break + case "followup": + setSendingDisabled(isPartial) + setEnableButtons(false) + break + case "plan_mode_respond": + setSendingDisabled(isPartial) + setEnableButtons(false) + break + case "tool": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + const tool = JSON.parse(lastMessage.text || "{}") as ClineSayTool + switch (tool.tool) { + case "editedExistingFile": + case "newFileCreated": + setPrimaryButtonText("保存") + setSecondaryButtonText("拒绝") + break + default: + setPrimaryButtonText("批准") + setSecondaryButtonText("拒绝") + break + } + break + case "browser_action_launch": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("批准") + setSecondaryButtonText("拒绝") + break + case "command": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("运行命令") + setSecondaryButtonText("拒绝") + break + case "command_output": + setSendingDisabled(false) + setEnableButtons(true) + setPrimaryButtonText("运行中继续") + setSecondaryButtonText(undefined) + break + case "use_mcp_server": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("批准") + setSecondaryButtonText("拒绝") + break + case "completion_result": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("开始新任务") + setSecondaryButtonText(undefined) + break + case "resume_task": + setSendingDisabled(false) + setEnableButtons(true) + setPrimaryButtonText("重启任务") + setSecondaryButtonText(undefined) + setDidClickCancel(false) + break + case "resume_completed_task": + setSendingDisabled(false) + setEnableButtons(true) + setPrimaryButtonText("开始新任务") + setSecondaryButtonText(undefined) + setDidClickCancel(false) + break + case "new_task": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("使用当前上下文开始新任务") + setSecondaryButtonText(undefined) + break + case "condense": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("精简对话") + setSecondaryButtonText(undefined) + break + case "report_bug": + setSendingDisabled(isPartial) + setEnableButtons(!isPartial) + setPrimaryButtonText("在 GitHub 报告问题") + setSecondaryButtonText(undefined) + break + } + break + case "say": + switch (lastMessage.say) { + case "api_req_started": + if (secondLastMessage?.ask === "command_output") { + chatState.setInputValue("") + setSendingDisabled(true) + chatState.setSelectedImages([]) + chatState.setSelectedFiles([]) + setEnableButtons(false) + } + break + } + break + } + } + }, [lastMessage, secondLastMessage]) + + // Reset button state when no messages + useEffect(() => { + if (messages.length === 0) { + setSendingDisabled(false) + setEnableButtons(false) + setPrimaryButtonText("批准") + setSecondaryButtonText("拒绝") + } + }, [messages.length, setSendingDisabled, setEnableButtons, setPrimaryButtonText, setSecondaryButtonText]) +} diff --git a/webview-ui/src/components/chat/chat-view/hooks/useChatState.ts b/webview-ui/src/components/chat/chat-view/hooks/useChatState.ts new file mode 100644 index 00000000..241cd9bb --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/hooks/useChatState.ts @@ -0,0 +1,96 @@ +import { useState, useMemo, useRef, useCallback } from "react" +import { ClineMessage, ClineAsk } from "@shared/ExtensionMessage" +import { ChatState, MessageHandlers } from "../types/chatTypes" + +/** + * Custom hook for managing chat state + * Handles input values, selection states, and UI state + */ +export function useChatState(messages: ClineMessage[]): ChatState { + // Input and selection state + const [inputValue, setInputValue] = useState("") + const [activeQuote, setActiveQuote] = useState(null) + const [isTextAreaFocused, setIsTextAreaFocused] = useState(false) + const [selectedImages, setSelectedImages] = useState([]) + const [selectedFiles, setSelectedFiles] = useState([]) + + // UI state + const [sendingDisabled, setSendingDisabled] = useState(false) + const [enableButtons, setEnableButtons] = useState(false) + const [primaryButtonText, setPrimaryButtonText] = useState("批准") + const [secondaryButtonText, setSecondaryButtonText] = useState("拒绝") + const [didClickCancel, setDidClickCancel] = useState(false) + const [expandedRows, setExpandedRows] = useState>({}) + + // Refs + const textAreaRef = useRef(null) + + // Derived state + const lastMessage = useMemo(() => messages.at(-1), [messages]) + const secondLastMessage = useMemo(() => messages.at(-2), [messages]) + const clineAsk = useMemo(() => (lastMessage?.type === "ask" ? lastMessage.ask : undefined), [lastMessage]) + + // Clear expanded rows when task changes + const task = useMemo(() => messages.at(0), [messages]) + const clearExpandedRows = useCallback(() => { + setExpandedRows({}) + }, []) + + // Reset state when starting new conversation + const resetState = useCallback(() => { + setInputValue("") + setActiveQuote(null) + setSendingDisabled(false) + setSelectedImages([]) + setSelectedFiles([]) + setEnableButtons(false) + setPrimaryButtonText("批准") + setSecondaryButtonText("拒绝") + setDidClickCancel(false) + }, []) + + // Handle focus change + const handleFocusChange = useCallback((isFocused: boolean) => { + setIsTextAreaFocused(isFocused) + }, []) + + return { + // State values + inputValue, + setInputValue, + activeQuote, + setActiveQuote, + isTextAreaFocused, + setIsTextAreaFocused, + selectedImages, + setSelectedImages, + selectedFiles, + setSelectedFiles, + sendingDisabled, + setSendingDisabled, + enableButtons, + setEnableButtons, + primaryButtonText, + setPrimaryButtonText, + secondaryButtonText, + setSecondaryButtonText, + didClickCancel, + setDidClickCancel, + expandedRows, + setExpandedRows, + + // Refs + textAreaRef, + + // Derived values + lastMessage, + secondLastMessage, + clineAsk, + task, + + // Handlers + handleFocusChange, + clearExpandedRows, + resetState, + } +} diff --git a/webview-ui/src/components/chat/chat-view/hooks/useMessageHandlers.ts b/webview-ui/src/components/chat/chat-view/hooks/useMessageHandlers.ts new file mode 100644 index 00000000..afb46274 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/hooks/useMessageHandlers.ts @@ -0,0 +1,308 @@ +import { useCallback } from "react" +import { ClineMessage, ClineAsk } from "@shared/ExtensionMessage" +import { TaskServiceClient, SlashServiceClient } from "@/services/grpc-client" +import { EmptyRequest, StringRequest } from "@shared/proto/common" +import { AskResponseRequest, NewTaskRequest } from "@shared/proto/task" +import { MessageHandlers, ChatState } from "../types/chatTypes" + +/** + * Custom hook for managing message handlers + * Handles sending messages, button clicks, and task management + */ +export function useMessageHandlers(messages: ClineMessage[], chatState: ChatState, isStreaming: boolean): MessageHandlers { + const { + inputValue, + setInputValue, + activeQuote, + setActiveQuote, + selectedImages, + setSelectedImages, + selectedFiles, + setSelectedFiles, + setSendingDisabled, + setEnableButtons, + setDidClickCancel, + clineAsk, + lastMessage, + } = chatState + + // Handle sending a message + const handleSendMessage = useCallback( + async (text: string, images: string[], files: string[]) => { + let messageToSend = text.trim() + const hasContent = messageToSend || images.length > 0 || files.length > 0 + + // Prepend the active quote if it exists + if (activeQuote && hasContent) { + const prefix = "[context] \n> " + const formattedQuote = activeQuote + const suffix = "\n[/context] \n\n" + messageToSend = `${prefix} ${formattedQuote} ${suffix} ${messageToSend}` + } + + if (hasContent) { + console.log("[ChatView] handleSendMessage - Sending message:", messageToSend) + if (messages.length === 0) { + await TaskServiceClient.newTask(NewTaskRequest.create({ text: messageToSend, images, files })) + } else if (clineAsk) { + switch (clineAsk) { + case "followup": + case "plan_mode_respond": + case "tool": + case "browser_action_launch": + case "command": + case "command_output": + case "use_mcp_server": + case "completion_result": + case "resume_task": + case "resume_completed_task": + case "mistake_limit_reached": + case "auto_approval_max_req_reached": + case "api_req_failed": + case "new_task": + case "condense": + case "report_bug": + await TaskServiceClient.askResponse( + AskResponseRequest.create({ + responseType: "messageResponse", + text: messageToSend, + images, + files, + }), + ) + break + } + } + setInputValue("") + setActiveQuote(null) + setSendingDisabled(true) + setSelectedImages([]) + setSelectedFiles([]) + setEnableButtons(false) + + // Reset auto-scroll + if ("disableAutoScrollRef" in chatState) { + ;(chatState as any).disableAutoScrollRef.current = false + } + } + }, + [ + messages.length, + clineAsk, + activeQuote, + setInputValue, + setActiveQuote, + setSendingDisabled, + setSelectedImages, + setSelectedFiles, + setEnableButtons, + chatState, + ], + ) + + // Start a new task + const startNewTask = useCallback(async () => { + setActiveQuote(null) + await TaskServiceClient.clearTask(EmptyRequest.create({})) + }, [setActiveQuote]) + + // Handle primary button click + const handlePrimaryButtonClick = useCallback( + async (text?: string, images?: string[], files?: string[]) => { + const trimmedInput = text?.trim() + switch (clineAsk) { + case "api_req_failed": + case "command": + case "tool": + case "browser_action_launch": + case "use_mcp_server": + // For approval buttons, if there's input content, send it as a proper user message + // If there's no input content, just approve the action + if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) { + // Send as a regular message so it appears in the conversation + await handleSendMessage(trimmedInput || "", images || [], files || []) + } else { + // No input content, just approve the action + await TaskServiceClient.askResponse( + AskResponseRequest.create({ + responseType: "yesButtonClicked", + }), + ) + // Clear input state after sending (only when no content was sent as a message) + setInputValue("") + setActiveQuote(null) + setSelectedImages([]) + setSelectedFiles([]) + } + break + case "mistake_limit_reached": + case "auto_approval_max_req_reached": + case "command_output": + // For proceed buttons, if there's input content, send it as a proper user message + // If there's no input content, just proceed with the action + if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) { + // Send as a regular message so it appears in the conversation + await handleSendMessage(trimmedInput || "", images || [], files || []) + } else { + // No input content, just proceed with the action + await TaskServiceClient.askResponse( + AskResponseRequest.create({ + responseType: "yesButtonClicked", + }), + ) + // Clear input state after sending (only when no content was sent as a message) + setInputValue("") + setActiveQuote(null) + setSelectedImages([]) + setSelectedFiles([]) + } + break + case "resume_task": + // For resume_task, if there's input content, send it as a proper user message + // If there's no input content, just resume the task + if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) { + // Send as a regular message so it appears in the conversation + await handleSendMessage(trimmedInput || "", images || [], files || []) + } else { + // No input content, just resume the task + await TaskServiceClient.askResponse( + AskResponseRequest.create({ + responseType: "yesButtonClicked", + }), + ) + // Clear input state after sending (only when no content was sent as a message) + setInputValue("") + setActiveQuote(null) + setSelectedImages([]) + setSelectedFiles([]) + } + break + case "completion_result": + case "resume_completed_task": + startNewTask() + break + case "new_task": + console.info("new task button clicked!", { lastMessage, messages, clineAsk, text }) + await TaskServiceClient.newTask( + NewTaskRequest.create({ + text: lastMessage?.text, + images: [], + files: [], + }), + ) + break + case "condense": + await SlashServiceClient.condense(StringRequest.create({ value: lastMessage?.text })).catch((err) => + console.error(err), + ) + break + case "report_bug": + await SlashServiceClient.reportBug(StringRequest.create({ value: lastMessage?.text })).catch((err) => + console.error(err), + ) + break + } + setSendingDisabled(true) + setEnableButtons(false) + + // Reset auto-scroll + if ("disableAutoScrollRef" in chatState) { + ;(chatState as any).disableAutoScrollRef.current = false + } + }, + [ + clineAsk, + startNewTask, + lastMessage, + messages, + setInputValue, + setActiveQuote, + setSelectedImages, + setSelectedFiles, + setSendingDisabled, + setEnableButtons, + chatState, + handleSendMessage, + ], + ) + + // Handle secondary button click + const handleSecondaryButtonClick = useCallback( + async (text?: string, images?: string[], files?: string[]) => { + const trimmedInput = text?.trim() + + if (isStreaming) { + await TaskServiceClient.cancelTask(EmptyRequest.create({})) + setDidClickCancel(true) + return + } + + switch (clineAsk) { + case "api_req_failed": + case "mistake_limit_reached": + case "auto_approval_max_req_reached": + startNewTask() + break + case "command": + case "tool": + case "browser_action_launch": + case "use_mcp_server": + if (trimmedInput || (images && images.length > 0) || (files && files.length > 0)) { + await TaskServiceClient.askResponse( + AskResponseRequest.create({ + responseType: "noButtonClicked", + text: trimmedInput, + images: images, + files: files, + }), + ) + } else { + await TaskServiceClient.askResponse( + AskResponseRequest.create({ + responseType: "noButtonClicked", + }), + ) + } + // Clear input state after sending + setInputValue("") + setActiveQuote(null) + setSelectedImages([]) + setSelectedFiles([]) + break + } + setSendingDisabled(true) + setEnableButtons(false) + + // Reset auto-scroll + if ("disableAutoScrollRef" in chatState) { + ;(chatState as any).disableAutoScrollRef.current = false + } + }, + [ + isStreaming, + clineAsk, + startNewTask, + setInputValue, + setActiveQuote, + setSelectedImages, + setSelectedFiles, + setSendingDisabled, + setEnableButtons, + setDidClickCancel, + chatState, + ], + ) + + // Handle task close button click + const handleTaskCloseButtonClick = useCallback(() => { + startNewTask() + }, [startNewTask]) + + return { + handleSendMessage, + handlePrimaryButtonClick, + handleSecondaryButtonClick, + handleTaskCloseButtonClick, + startNewTask, + } +} diff --git a/webview-ui/src/components/chat/chat-view/hooks/useScrollBehavior.ts b/webview-ui/src/components/chat/chat-view/hooks/useScrollBehavior.ts new file mode 100644 index 00000000..60902f85 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/hooks/useScrollBehavior.ts @@ -0,0 +1,225 @@ +import { useRef, useState, useCallback, useEffect, useMemo } from "react" +import { useEvent } from "react-use" +import debounce from "debounce" +import { VirtuosoHandle } from "react-virtuoso" +import { ClineMessage } from "@shared/ExtensionMessage" +import { ScrollBehavior } from "../types/chatTypes" + +/** + * Custom hook for managing scroll behavior + * Handles auto-scrolling, manual scrolling, and scroll-to-message functionality + */ +export function useScrollBehavior( + messages: ClineMessage[], + visibleMessages: ClineMessage[], + groupedMessages: (ClineMessage | ClineMessage[])[], + expandedRows: Record, + setExpandedRows: React.Dispatch>>, +): ScrollBehavior & { + showScrollToBottom: boolean + setShowScrollToBottom: React.Dispatch> + isAtBottom: boolean + setIsAtBottom: React.Dispatch> + pendingScrollToMessage: number | null + setPendingScrollToMessage: React.Dispatch> +} { + // Refs + const virtuosoRef = useRef(null) + const scrollContainerRef = useRef(null) + const disableAutoScrollRef = useRef(false) + + // State + const [showScrollToBottom, setShowScrollToBottom] = useState(false) + const [isAtBottom, setIsAtBottom] = useState(false) + const [pendingScrollToMessage, setPendingScrollToMessage] = useState(null) + const scrollToBottomSmooth = useMemo( + () => + debounce( + () => { + virtuosoRef.current?.scrollTo({ + top: Number.MAX_SAFE_INTEGER, + behavior: "smooth", + }) + }, + 10, + { immediate: true }, + ), + [], + ) + + // Smooth scroll to bottom with debounce + const scrollToBottomAuto = useCallback(() => { + virtuosoRef.current?.scrollTo({ + top: Number.MAX_SAFE_INTEGER, + behavior: "auto", // instant causes crash + }) + }, []) + + const scrollToMessage = useCallback( + (messageIndex: number) => { + setPendingScrollToMessage(messageIndex) + + const targetMessage = messages[messageIndex] + if (!targetMessage) { + setPendingScrollToMessage(null) + return + } + + const visibleIndex = visibleMessages.findIndex((msg) => msg.ts === targetMessage.ts) + if (visibleIndex === -1) { + setPendingScrollToMessage(null) + return + } + + let groupIndex = -1 + let currentVisibleIndex = 0 + + for (let i = 0; i < groupedMessages.length; i++) { + const group = groupedMessages[i] + if (Array.isArray(group)) { + const groupSize = group.length + const messageInGroup = group.some((msg) => msg.ts === targetMessage.ts) + if (messageInGroup) { + groupIndex = i + break + } + currentVisibleIndex += groupSize + } else { + if (group.ts === targetMessage.ts) { + groupIndex = i + break + } + currentVisibleIndex++ + } + } + + if (groupIndex !== -1) { + setPendingScrollToMessage(null) + disableAutoScrollRef.current = true + requestAnimationFrame(() => { + requestAnimationFrame(() => { + virtuosoRef.current?.scrollToIndex({ + index: groupIndex, + align: "start", + behavior: "smooth", + }) + }) + }) + } + }, + [messages, visibleMessages, groupedMessages], + ) + + // scroll when user toggles certain rows + const toggleRowExpansion = useCallback( + (ts: number) => { + const isCollapsing = expandedRows[ts] ?? false + const lastGroup = groupedMessages.at(-1) + const isLast = Array.isArray(lastGroup) ? lastGroup[0].ts === ts : lastGroup?.ts === ts + const secondToLastGroup = groupedMessages.at(-2) + const isSecondToLast = Array.isArray(secondToLastGroup) + ? secondToLastGroup[0].ts === ts + : secondToLastGroup?.ts === ts + + const isLastCollapsedApiReq = + isLast && + !Array.isArray(lastGroup) && // Make sure it's not a browser session group + lastGroup?.say === "api_req_started" && + !expandedRows[lastGroup.ts] + + setExpandedRows((prev) => ({ + ...prev, + [ts]: !prev[ts], + })) + + // disable auto scroll when user expands row + if (!isCollapsing) { + disableAutoScrollRef.current = true + } + + if (isCollapsing && isAtBottom) { + const timer = setTimeout(() => { + scrollToBottomAuto() + }, 0) + return () => clearTimeout(timer) + } else if (isLast || isSecondToLast) { + if (isCollapsing) { + if (isSecondToLast && !isLastCollapsedApiReq) { + return + } + const timer = setTimeout(() => { + scrollToBottomAuto() + }, 0) + return () => clearTimeout(timer) + } else { + const timer = setTimeout(() => { + virtuosoRef.current?.scrollToIndex({ + index: groupedMessages.length - (isLast ? 1 : 2), + align: "start", + }) + }, 0) + return () => clearTimeout(timer) + } + } + }, + [groupedMessages, expandedRows, scrollToBottomAuto, isAtBottom], + ) + + const handleRowHeightChange = useCallback( + (isTaller: boolean) => { + if (!disableAutoScrollRef.current) { + if (isTaller) { + scrollToBottomSmooth() + } else { + setTimeout(() => { + scrollToBottomAuto() + }, 0) + } + } + }, + [scrollToBottomSmooth, scrollToBottomAuto], + ) + + useEffect(() => { + if (!disableAutoScrollRef.current) { + setTimeout(() => { + scrollToBottomSmooth() + }, 50) + // return () => clearTimeout(timer) // dont cleanup since if visibleMessages.length changes it cancels. + } + }, [groupedMessages.length, scrollToBottomSmooth]) + + useEffect(() => { + if (pendingScrollToMessage !== null) { + scrollToMessage(pendingScrollToMessage) + } + }, [pendingScrollToMessage, groupedMessages, scrollToMessage]) + + const handleWheel = useCallback((event: Event) => { + const wheelEvent = event as WheelEvent + if (wheelEvent.deltaY && wheelEvent.deltaY < 0) { + if (scrollContainerRef.current?.contains(wheelEvent.target as Node)) { + // user scrolled up + disableAutoScrollRef.current = true + } + } + }, []) + useEvent("wheel", handleWheel, window, { passive: true }) // passive improves scrolling performance + + return { + virtuosoRef, + scrollContainerRef, + disableAutoScrollRef, + scrollToBottomSmooth, + scrollToBottomAuto, + scrollToMessage, + toggleRowExpansion, + handleRowHeightChange, + showScrollToBottom, + setShowScrollToBottom, + isAtBottom, + setIsAtBottom, + pendingScrollToMessage, + setPendingScrollToMessage, + } +} diff --git a/webview-ui/src/components/chat/chat-view/index.ts b/webview-ui/src/components/chat/chat-view/index.ts new file mode 100644 index 00000000..8c35d10d --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/index.ts @@ -0,0 +1,21 @@ +/** + * Barrel export for chat-view utilities, hooks, components, and types + */ + +// Export utilities +export * from "./utils/markdownUtils" +export * from "./utils/messageUtils" +export * from "./utils/scrollUtils" + +// Export hooks +export * from "./hooks" + +// Export layout components +export * from "./components/layout" + +// Export message components +export * from "./components/messages" + +// Export types and constants +export * from "./types/chatTypes" +export * from "./constants" diff --git a/webview-ui/src/components/chat/chat-view/types/chatTypes.ts b/webview-ui/src/components/chat/chat-view/types/chatTypes.ts new file mode 100644 index 00000000..a039bf18 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/types/chatTypes.ts @@ -0,0 +1,172 @@ +/** + * Shared types and interfaces for the chat view components + */ + +import { ClineMessage, ClineAsk } from "@shared/ExtensionMessage" +import { VirtuosoHandle } from "react-virtuoso" + +/** + * Main ChatView component props + */ +export interface ChatViewProps { + isHidden: boolean + showAnnouncement: boolean + hideAnnouncement: () => void + showHistoryView: () => void +} + +/** + * Chat state interface + */ +export interface ChatState { + // State values + inputValue: string + setInputValue: React.Dispatch> + activeQuote: string | null + setActiveQuote: React.Dispatch> + isTextAreaFocused: boolean + setIsTextAreaFocused: React.Dispatch> + selectedImages: string[] + setSelectedImages: React.Dispatch> + selectedFiles: string[] + setSelectedFiles: React.Dispatch> + sendingDisabled: boolean + setSendingDisabled: React.Dispatch> + enableButtons: boolean + setEnableButtons: React.Dispatch> + primaryButtonText: string | undefined + setPrimaryButtonText: React.Dispatch> + secondaryButtonText: string | undefined + setSecondaryButtonText: React.Dispatch> + didClickCancel: boolean + setDidClickCancel: React.Dispatch> + expandedRows: Record + setExpandedRows: React.Dispatch>> + + // Refs + textAreaRef: React.RefObject + + // Derived values + lastMessage: ClineMessage | undefined + secondLastMessage: ClineMessage | undefined + clineAsk: ClineAsk | undefined + task: ClineMessage | undefined + + // Handlers + handleFocusChange: (isFocused: boolean) => void + clearExpandedRows: () => void + resetState: () => void + + // Scroll-related state (will be moved to scroll hook) + showScrollToBottom?: boolean + isAtBottom?: boolean + pendingScrollToMessage?: number | null +} + +/** + * Message handlers interface + */ +export interface MessageHandlers { + handleSendMessage: (text: string, images: string[], files: string[]) => Promise + handlePrimaryButtonClick: (text?: string, images?: string[], files?: string[]) => Promise + handleSecondaryButtonClick: (text?: string, images?: string[], files?: string[]) => Promise + handleTaskCloseButtonClick: () => void + startNewTask: () => Promise +} + +/** + * Scroll behavior interface + */ +export interface ScrollBehavior { + virtuosoRef: React.RefObject + scrollContainerRef: React.RefObject + disableAutoScrollRef: React.MutableRefObject + scrollToBottomSmooth: () => void + scrollToBottomAuto: () => void + scrollToMessage: (messageIndex: number) => void + toggleRowExpansion: (ts: number) => void + handleRowHeightChange: (isTaller: boolean) => void + showScrollToBottom: boolean + setShowScrollToBottom: React.Dispatch> + isAtBottom: boolean + setIsAtBottom: React.Dispatch> + pendingScrollToMessage: number | null + setPendingScrollToMessage: React.Dispatch> +} + +/** + * Button state interface + */ +export interface ButtonState { + enableButtons: boolean + primaryButtonText: string | undefined + secondaryButtonText: string | undefined +} + +/** + * Input state interface + */ +export interface InputState { + inputValue: string + selectedImages: string[] + selectedFiles: string[] + activeQuote: string | null + isTextAreaFocused: boolean +} + +/** + * Task section props + */ +export interface TaskSectionProps { + task: ClineMessage + messages: ClineMessage[] + scrollBehavior: ScrollBehavior + buttonState: ButtonState + messageHandlers: MessageHandlers + chatState: ChatState + apiMetrics: { + totalTokensIn: number + totalTokensOut: number + totalCacheWrites?: number + totalCacheReads?: number + totalCost: number + } + lastApiReqTotalTokens?: number + selectedModelInfo: { + supportsPromptCache: boolean + supportsImages: boolean + } + isStreaming: boolean + clineAsk?: ClineAsk + modifiedMessages: ClineMessage[] +} + +/** + * Welcome section props + */ +export interface WelcomeSectionProps { + showAnnouncement: boolean + hideAnnouncement: () => void + showHistoryView: () => void + telemetrySetting: string + version: string + taskHistory: any[] + shouldShowQuickWins: boolean +} + +/** + * Input section props + */ +export interface InputSectionProps { + chatState: ChatState + messageHandlers: MessageHandlers + textAreaRef: React.RefObject + onFocusChange: (isFocused: boolean) => void + onInputChange: (value: string) => void + onQuoteChange: (quote: string | null) => void + onImagesChange: (images: string[]) => void + onFilesChange: (files: string[]) => void + placeholderText: string + shouldDisableFilesAndImages: boolean + selectFilesAndImages: () => Promise +} diff --git a/webview-ui/src/components/chat/chat-view/utils/markdownUtils.ts b/webview-ui/src/components/chat/chat-view/utils/markdownUtils.ts new file mode 100644 index 00000000..fcd079f6 --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/utils/markdownUtils.ts @@ -0,0 +1,58 @@ +/** + * Utility functions for handling markdown conversions and cleanup + */ + +import { unified } from "unified" +import remarkStringify from "remark-stringify" +import rehypeRemark from "rehype-remark" +import rehypeParse from "rehype-parse" + +/** + * Clean up markdown escape characters + */ +export function cleanupMarkdownEscapes(markdown: string): string { + return ( + markdown + // Handle underscores and asterisks (single or multiple) + .replace(/\\([_*]+)/g, "$1") + + // Handle angle brackets (for generics and XML) + .replace(/\\([<>])/g, "$1") + + // Handle backticks (for code) + .replace(/\\(`)/g, "$1") + + // Handle other common markdown special characters + .replace(/\\([[\]()#.!])/g, "$1") + + // Fix multiple consecutive backslashes + .replace(/\\{2,}([_*`<>[\]()#.!])/g, "$1") + ) +} + +/** + * Convert HTML to Markdown + */ +export async function convertHtmlToMarkdown(html: string): Promise { + // Process the HTML to Markdown + const result = await unified() + .use(rehypeParse as any, { fragment: true }) // Parse HTML fragments + .use(rehypeRemark as any) // Convert HTML to Markdown AST + .use(remarkStringify as any, { + // Convert Markdown AST to text + bullet: "-", // Use - for unordered lists + emphasis: "*", // Use * for emphasis + strong: "_", // Use _ for strong + listItemIndent: "one", // Use one space for list indentation + rule: "-", // Use - for horizontal rules + ruleSpaces: false, // No spaces in horizontal rules + fences: true, + escape: false, + entities: false, + }) + .process(html) + + const md = String(result) + // Apply comprehensive cleanup of escape characters + return cleanupMarkdownEscapes(md) +} diff --git a/webview-ui/src/components/chat/chat-view/utils/messageUtils.ts b/webview-ui/src/components/chat/chat-view/utils/messageUtils.ts new file mode 100644 index 00000000..9693595d --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/utils/messageUtils.ts @@ -0,0 +1,151 @@ +/** + * Utility functions for message filtering, grouping, and manipulation + */ + +import { ClineMessage, ClineSayBrowserAction } from "@shared/ExtensionMessage" +import { combineApiRequests } from "@shared/combineApiRequests" +import { combineCommandSequences } from "@shared/combineCommandSequences" + +/** + * Combine API requests and command sequences in messages + */ +export function processMessages(messages: ClineMessage[]): ClineMessage[] { + return combineApiRequests(combineCommandSequences(messages)) +} + +/** + * Filter messages that should be visible in the chat + */ +export function filterVisibleMessages(messages: ClineMessage[]): ClineMessage[] { + return messages.filter((message) => { + switch (message.ask) { + case "completion_result": + // don't show a chat row for a completion_result ask without text. This specific type of message only occurs if cline wants to execute a command as part of its completion result, in which case we interject the completion_result tool with the execute_command tool. + if (message.text === "") { + return false + } + break + case "api_req_failed": // this message is used to update the latest api_req_started that the request failed + case "resume_task": + case "resume_completed_task": + return false + } + switch (message.say) { + case "api_req_finished": // combineApiRequests removes this from modifiedMessages anyways + case "api_req_retried": // this message is used to update the latest api_req_started that the request was retried + case "deleted_api_reqs": // aggregated api_req metrics from deleted messages + return false + case "text": + // Sometimes cline returns an empty text message, we don't want to render these. (We also use a say text for user messages, so in case they just sent images we still render that) + if ((message.text ?? "") === "" && (message.images?.length ?? 0) === 0) { + return false + } + break + case "mcp_server_request_started": + return false + } + return true + }) +} + +/** + * Check if a message is part of a browser session + */ +export function isBrowserSessionMessage(message: ClineMessage): boolean { + if (message.type === "ask") { + return ["browser_action_launch"].includes(message.ask!) + } + if (message.type === "say") { + return [ + "browser_action_launch", + "api_req_started", + "text", + "browser_action", + "browser_action_result", + "checkpoint_created", + "reasoning", + ].includes(message.say!) + } + return false +} + +/** + * Group messages, combining browser session messages into arrays + */ +export function groupMessages(visibleMessages: ClineMessage[]): (ClineMessage | ClineMessage[])[] { + const result: (ClineMessage | ClineMessage[])[] = [] + let currentGroup: ClineMessage[] = [] + let isInBrowserSession = false + + const endBrowserSession = () => { + if (currentGroup.length > 0) { + result.push([...currentGroup]) + currentGroup = [] + isInBrowserSession = false + } + } + + visibleMessages.forEach((message) => { + if (message.ask === "browser_action_launch" || message.say === "browser_action_launch") { + // complete existing browser session if any + endBrowserSession() + // start new + isInBrowserSession = true + currentGroup.push(message) + } else if (isInBrowserSession) { + // end session if api_req_started is cancelled + if (message.say === "api_req_started") { + // get last api_req_started in currentGroup to check if it's cancelled + const lastApiReqStarted = [...currentGroup].reverse().find((m) => m.say === "api_req_started") + if (lastApiReqStarted?.text != null) { + const info = JSON.parse(lastApiReqStarted.text) + const isCancelled = info.cancelReason != null + if (isCancelled) { + endBrowserSession() + result.push(message) + return + } + } + } + + if (isBrowserSessionMessage(message)) { + currentGroup.push(message) + + // Check if this is a close action + if (message.say === "browser_action") { + const browserAction = JSON.parse(message.text || "{}") as ClineSayBrowserAction + if (browserAction.action === "close") { + endBrowserSession() + } + } + } else { + // complete existing browser session if any + endBrowserSession() + result.push(message) + } + } else { + result.push(message) + } + }) + + // Handle case where browser session is the last group + if (currentGroup.length > 0) { + result.push([...currentGroup]) + } + + return result +} + +/** + * Get the task message from the messages array + */ +export function getTaskMessage(messages: ClineMessage[]): ClineMessage | undefined { + return messages.at(0) +} + +/** + * Check if we should show the scroll to bottom button + */ +export function shouldShowScrollButton(disableAutoScroll: boolean, isAtBottom: boolean): boolean { + return disableAutoScroll && !isAtBottom +} diff --git a/webview-ui/src/components/chat/chat-view/utils/scrollUtils.ts b/webview-ui/src/components/chat/chat-view/utils/scrollUtils.ts new file mode 100644 index 00000000..3ae1237d --- /dev/null +++ b/webview-ui/src/components/chat/chat-view/utils/scrollUtils.ts @@ -0,0 +1,60 @@ +/** + * Utility functions for scroll behavior and management + */ + +import debounce from "debounce" +import { VirtuosoHandle } from "react-virtuoso" + +/** + * Create a debounced smooth scroll function + */ +export function createSmoothScrollToBottom(virtuosoRef: React.RefObject) { + return debounce( + () => { + virtuosoRef.current?.scrollTo({ + top: Number.MAX_SAFE_INTEGER, + behavior: "smooth", + }) + }, + 10, + { immediate: true }, + ) +} + +/** + * Scroll to bottom with auto behavior + */ +export function scrollToBottomAuto(virtuosoRef: React.RefObject) { + virtuosoRef.current?.scrollTo({ + top: Number.MAX_SAFE_INTEGER, + behavior: "auto", // instant causes crash + }) +} + +/** + * Handle wheel events to detect user scroll + */ +export function createWheelHandler( + scrollContainerRef: React.RefObject, + disableAutoScrollRef: React.MutableRefObject, +) { + return (event: Event) => { + const wheelEvent = event as WheelEvent + if (wheelEvent.deltaY && wheelEvent.deltaY < 0) { + if (scrollContainerRef.current?.contains(wheelEvent.target as Node)) { + // user scrolled up + disableAutoScrollRef.current = true + } + } + } +} + +/** + * Constants for scroll behavior + */ +export const SCROLL_CONSTANTS = { + AT_BOTTOM_THRESHOLD: 10, + VIEWPORT_INCREASE_TOP: 3_000, + VIEWPORT_INCREASE_BOTTOM: Number.MAX_SAFE_INTEGER, + FOOTER_HEIGHT: 5, +} as const diff --git a/webview-ui/src/components/chat/task-header/buttons/DeleteTaskButton.tsx b/webview-ui/src/components/chat/task-header/buttons/DeleteTaskButton.tsx index d296af25..c35b4cae 100644 --- a/webview-ui/src/components/chat/task-header/buttons/DeleteTaskButton.tsx +++ b/webview-ui/src/components/chat/task-header/buttons/DeleteTaskButton.tsx @@ -7,7 +7,7 @@ const DeleteTaskButton: React.FC<{ taskSize: string taskId?: string }> = ({ taskSize, taskId }) => ( - + taskId && TaskServiceClient.deleteTasksWithIds(StringArrayRequest.create({ value: [taskId] }))} diff --git a/webview-ui/src/components/common/MarkdownBlock.tsx b/webview-ui/src/components/common/MarkdownBlock.tsx index 26d66b3b..4b794b3d 100644 --- a/webview-ui/src/components/common/MarkdownBlock.tsx +++ b/webview-ui/src/components/common/MarkdownBlock.tsx @@ -2,8 +2,6 @@ import React, { memo, useEffect, useRef, useState } from "react" import type { ComponentProps } from "react" import { useRemark } from "react-remark" import rehypeHighlight, { Options } from "rehype-highlight" -import rehypeKatex from "rehype-katex" -import remarkMath from "remark-math" import styled from "styled-components" import { visit } from "unist-util-visit" import type { Node } from "unist" @@ -238,34 +236,6 @@ const StyledMarkdown = styled.div` overflow-wrap: anywhere; } - /* KaTeX styling */ - .katex { - font-size: 1.1em; - color: var(--vscode-editor-foreground); - font-family: KaTeX_Main, "Times New Roman", serif; - line-height: 1.2; - white-space: normal; - text-indent: 0; - } - - .katex-display { - display: block; - margin: 1em 0; - text-align: center; - padding: 0.5em; - overflow-x: auto; - overflow-y: hidden; - background-color: var(--vscode-textCodeBlock-background); - border-radius: 3px; - } - - .katex-error { - color: var(--vscode-errorForeground); - border: 1px solid var(--vscode-inputValidation-errorBorder); - padding: 8px; - border-radius: 3px; - } - font-family: var(--vscode-font-family), system-ui, @@ -362,7 +332,6 @@ const MarkdownBlock = memo(({ markdown }: MarkdownBlockProps) => { remarkPreventBoldFilenames, remarkUrlToLink, remarkHighlightActMode, - remarkMath, () => { return (tree) => { visit(tree, "code", (node: any) => { @@ -380,7 +349,6 @@ const MarkdownBlock = memo(({ markdown }: MarkdownBlockProps) => { { // languages: {}, } as Options, - rehypeKatex, ], rehypeReactOptions: { components: { diff --git a/webview-ui/src/components/history/HistoryView.tsx b/webview-ui/src/components/history/HistoryView.tsx index 9069b0f2..da06661b 100644 --- a/webview-ui/src/components/history/HistoryView.tsx +++ b/webview-ui/src/components/history/HistoryView.tsx @@ -727,17 +727,9 @@ const HistoryView = ({ onDone }: HistoryViewProps) => { disabled={deleteAllDisabled || taskHistory.length === 0} onClick={() => { setDeleteAllDisabled(true) - const confirmDelete = window.confirm("Are you sure you want to delete all task history?") - if (confirmDelete) { - const preserveFavorites = window.confirm( - "Would you like to preserve favorited tasks?\n\nClick 'OK' to preserve favorites, or 'Cancel' to delete everything.", - ) - TaskServiceClient.deleteAllTaskHistory(BooleanRequest.create({ value: preserveFavorites })) - .catch((error) => console.error("Error deleting task history:", error)) - .finally(() => setDeleteAllDisabled(false)) - } else { - setDeleteAllDisabled(false) - } + TaskServiceClient.deleteAllTaskHistory(BooleanRequest.create({})) + .catch((error) => console.error("Error deleting task history:", error)) + .finally(() => setDeleteAllDisabled(false)) }}> 删除所有历史{totalTasksSize !== null ? ` (${formatSize(totalTasksSize)})` : ""} diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index 652b36a0..3f1c4620 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -1,52 +1,13 @@ import { useExtensionState } from "@/context/ExtensionStateContext" import { ModelsServiceClient } from "@/services/grpc-client" -import { getAsVar, VSC_DESCRIPTION_FOREGROUND } from "@/utils/vscStyles" -import { - ApiConfiguration, - bedrockDefaultModelId, - bedrockModels, - cerebrasModels, - claudeCodeModels, - doubaoModels, - geminiModels, - internationalQwenModels, - liteLlmModelInfoSaneDefaults, - mainlandQwenModels, - ModelInfo, - nebiusModels, - vertexGlobalModels, - vertexModels, - xaiModels, - sapAiCoreModels, -} from "@shared/api" -import { EmptyRequest, StringRequest } from "@shared/proto/common" -import { OpenAiModelsRequest, UpdateApiConfigurationRequest } from "@shared/proto/models" -import { convertApiConfigurationToProto } from "@shared/proto-conversions/models/api-configuration-conversion" -import { - VSCodeButton, - VSCodeCheckbox, - VSCodeDropdown, - VSCodeLink, - VSCodeOption, - VSCodeRadio, - VSCodeRadioGroup, - VSCodeTextField, -} from "@vscode/webview-ui-toolkit/react" -import { Fragment, memo, useCallback, useEffect, useMemo, useRef, useState } from "react" +import { StringRequest } from "@shared/proto/common" +import { VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { useCallback, useEffect, useState } from "react" import { useInterval } from "react-use" import styled from "styled-components" -import * as vscodemodels from "vscode" -import { ClineAccountInfoCard } from "./ClineAccountInfoCard" -import { ShengSuanYunAccountInfoCard } from "./ShengSuanYunAccountInfoCard" -import OllamaModelPicker from "./OllamaModelPicker" -import OpenRouterModelPicker, { ModelDescriptionMarkdown, OPENROUTER_MODEL_PICKER_Z_INDEX } from "./OpenRouterModelPicker" -import RequestyModelPicker from "./RequestyModelPicker" -import ThinkingBudgetSlider from "./ThinkingBudgetSlider" -import ShengSuanYunModelPicker from "./ShengSuanYunModelPicker" -import { ExtensionMessage } from "@shared/ExtensionMessage" -import { formatPrice } from "./utils/pricingUtils" -import { normalizeApiConfiguration } from "./utils/providerUtils" +import { OPENROUTER_MODEL_PICKER_Z_INDEX } from "./OpenRouterModelPicker" +import { ClineProvider } from "./providers/ClineProvider" import { OpenRouterProvider } from "./providers/OpenRouterProvider" import { MistralProvider } from "./providers/MistralProvider" import { DeepSeekProvider } from "./providers/DeepSeekProvider" @@ -57,41 +18,33 @@ import { AnthropicProvider } from "./providers/AnthropicProvider" import { AskSageProvider } from "./providers/AskSageProvider" import { OpenAINativeProvider } from "./providers/OpenAINative" import { GeminiProvider } from "./providers/GeminiProvider" -import GeminiCliProvider from "./providers/GeminiCliProvider" +import { DoubaoProvider } from "./providers/DoubaoProvider" +import { QwenProvider } from "./providers/QwenProvider" +import { VertexProvider } from "./providers/VertexProvider" +import { RequestyProvider } from "./providers/RequestyProvider" +import { FireworksProvider } from "./providers/FireworksProvider" +import { XaiProvider } from "./providers/XaiProvider" +import { CerebrasProvider } from "./providers/CerebrasProvider" +import { OllamaProvider } from "./providers/OllamaProvider" +import { ClaudeCodeProvider } from "./providers/ClaudeCodeProvider" +import { SapAiCoreProvider } from "./providers/SapAiCoreProvider" +import { BedrockProvider } from "./providers/BedrockProvider" +import { NebiusProvider } from "./providers/NebiusProvider" +import { LiteLlmProvider } from "./providers/LiteLlmProvider" +import { VSCodeLmProvider } from "./providers/VSCodeLmProvider" +import { LMStudioProvider } from "./providers/LMStudioProvider" +import { useApiConfigurationHandlers } from "./utils/useApiConfigurationHandlers" +import { ShengSuanYunProvider } from "./providers/ShengSuanYunProvider" interface ApiOptionsProps { showModelOptions: boolean apiErrorMessage?: string modelIdErrorMessage?: string isPopup?: boolean - saveImmediately?: boolean // Add prop to control immediate saving -} - -const SUPPORTED_THINKING_MODELS: Record = { - vertex: [ - "claude-3-7-sonnet@20250219", - "claude-sonnet-4@20250514", - "claude-opus-4@20250514", - "gemini-2.5-flash-preview-05-20", - "gemini-2.5-flash-preview-04-17", - "gemini-2.5-pro-preview-06-05", - ], - qwen: [ - "qwen3-235b-a22b", - "qwen3-32b", - "qwen3-30b-a3b", - "qwen3-14b", - "qwen3-8b", - "qwen3-4b", - "qwen3-1.7b", - "qwen3-0.6b", - "qwen-plus-latest", - "qwen-turbo-latest", - ], } // This is necessary to ensure dropdown opens downward, important for when this is used in popup -const DROPDOWN_Z_INDEX = OPENROUTER_MODEL_PICKER_Z_INDEX + 2 // Higher than the OpenRouterModelPicker's and ModelSelectorTooltip's z-index +export const DROPDOWN_Z_INDEX = OPENROUTER_MODEL_PICKER_Z_INDEX + 2 // Higher than the OpenRouterModelPicker's and ModelSelectorTooltip's z-index export const DropdownContainer = styled.div<{ zIndex?: number }>` position: relative; @@ -114,58 +67,17 @@ declare module "vscode" { } } -const ApiOptions = ({ - showModelOptions, - apiErrorMessage, - modelIdErrorMessage, - isPopup, - saveImmediately = false, // Default to false -}: ApiOptionsProps) => { +const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage, isPopup }: ApiOptionsProps) => { // Use full context state for immediate save payload - const extensionState = useExtensionState() - const { apiConfiguration, setApiConfiguration, uriScheme } = extensionState + const { apiConfiguration, uriScheme } = useExtensionState() + + const selectedProvider = apiConfiguration?.apiProvider + + const { handleFieldChange } = useApiConfigurationHandlers() + const [ollamaModels, setOllamaModels] = useState([]) - const [lmStudioModels, setLmStudioModels] = useState([]) - const [vsCodeLmModels, setVsCodeLmModels] = useState([]) - const [awsEndpointSelected, setAwsEndpointSelected] = useState(!!apiConfiguration?.awsBedrockEndpoint) - const [modelConfigurationSelected, setModelConfigurationSelected] = useState(false) - const [isDescriptionExpanded, setIsDescriptionExpanded] = useState(false) - const [providerSortingSelected, setProviderSortingSelected] = useState(!!apiConfiguration?.openRouterProviderSorting) - const [reasoningEffortSelected, setReasoningEffortSelected] = useState(!!apiConfiguration?.reasoningEffort) - const handleInputChange = (field: keyof ApiConfiguration) => (event: any) => { - const newValue = event.target.value - // Update local state - setApiConfiguration({ - ...apiConfiguration, - [field]: newValue, - }) - - // If the field is the provider AND saveImmediately is true, save it immediately using the full context state - if (saveImmediately && field === "apiProvider") { - // Use apiConfiguration from the full extensionState context to send the most complete data - const currentFullApiConfig = extensionState.apiConfiguration - // Convert to proto format and send via gRPC - const updatedConfig = { - ...currentFullApiConfig, - apiProvider: newValue, - } - const protoConfig = convertApiConfigurationToProto(updatedConfig) - ModelsServiceClient.updateApiConfigurationProto( - UpdateApiConfigurationRequest.create({ - apiConfiguration: protoConfig, - }), - ).catch((error) => { - console.error("Failed to update API configuration:", error) - }) - } - } - - const { selectedProvider, selectedModelId, selectedModelInfo } = useMemo(() => { - return normalizeApiConfiguration(apiConfiguration) - }, [apiConfiguration]) - - // Poll ollama/lmstudio models + // Poll ollama/vscode-lm models const requestLocalModels = useCallback(async () => { if (selectedProvider === "ollama") { try { @@ -181,41 +93,14 @@ const ApiOptions = ({ console.error("Failed to fetch Ollama models:", error) setOllamaModels([]) } - } else if (selectedProvider === "lmstudio") { - try { - const response = await ModelsServiceClient.getLmStudioModels( - StringRequest.create({ - value: apiConfiguration?.lmStudioBaseUrl || "", - }), - ) - if (response && response.values) { - setLmStudioModels(response.values) - } - } catch (error) { - console.error("Failed to fetch LM Studio models:", error) - setLmStudioModels([]) - } - } else if (selectedProvider === "vscode-lm") { - try { - const response = await ModelsServiceClient.getVsCodeLmModels(EmptyRequest.create({})) - if (response && response.models) { - setVsCodeLmModels(response.models) - } - } catch (error) { - console.error("Failed to fetch VS Code LM models:", error) - setVsCodeLmModels([]) - } } - }, [selectedProvider, apiConfiguration?.ollamaBaseUrl, apiConfiguration?.lmStudioBaseUrl]) + }, [selectedProvider, apiConfiguration?.ollamaBaseUrl]) useEffect(() => { - if (selectedProvider === "ollama" || selectedProvider === "lmstudio" || selectedProvider === "vscode-lm") { + if (selectedProvider === "ollama") { requestLocalModels() } }, [selectedProvider, requestLocalModels]) - useInterval( - requestLocalModels, - selectedProvider === "ollama" || selectedProvider === "lmstudio" || selectedProvider === "vscode-lm" ? 2000 : null, - ) + useInterval(requestLocalModels, selectedProvider === "ollama" ? 2000 : null) /* VSCodeDropdown has an open bug where dynamically rendered options don't auto select the provided value prop. You can see this for yourself by comparing it with normal select/option elements, which work as expected. @@ -225,29 +110,6 @@ const ApiOptions = ({ As a workaround, we create separate instances of the dropdown for each provider, and then conditionally render the one that matches the current provider. */ - const createDropdown = (models: Record) => { - return ( - - 选择模型... - {Object.keys(models).map((modelId) => ( - - {modelId} - - ))} - - ) - } return (
@@ -258,7 +120,7 @@ const ApiOptions = ({ handleFieldChange("apiProvider", e.target.value)} style={{ minWidth: 130, position: "relative", @@ -272,7 +134,6 @@ const ApiOptions = ({ OpenAI 兼容接口 GCP Vertex AI Google Gemini - Gemini CLI Provider DeepSeek Mistral OpenAI @@ -294,1071 +155,108 @@ const ApiOptions = ({ - {selectedProvider === "cline" && ( -
- -
+ {apiConfiguration && selectedProvider === "cline" && ( + )} {selectedProvider === "shengsuanyun" && ( -
- -
+ )} {apiConfiguration && selectedProvider === "asksage" && ( - + )} {apiConfiguration && selectedProvider === "anthropic" && ( - + )} - {selectedProvider === "claude-code" && ( -
- - -

- Path to the Claude Code CLI. -

-
+ {apiConfiguration && selectedProvider === "claude-code" && ( + )} {apiConfiguration && selectedProvider === "openai-native" && ( - + )} - {selectedProvider === "qwen" && ( -
- - - - 中国大陆 API - 国际 API - - -

- 请根据你的所在地选择合适的API。如果你在中国,选择“中国大陆 API”,否则,选择“国际 API” -

- - Qwen API Key - -

- API key 保存在本地,只会被本插件用来请求API. - {!apiConfiguration?.qwenApiKey && ( - - 注册获取 Qwen API key . - - )} -

-
+ {apiConfiguration && selectedProvider === "qwen" && ( + )} - {selectedProvider === "doubao" && ( -
- - Doubao API Key - -

- API key 保存在本地,只会被本插件用来请求API. - {!apiConfiguration?.doubaoApiKey && ( - - 注册获取 Doubao API key. - - )} -

-
+ {apiConfiguration && selectedProvider === "doubao" && ( + )} {apiConfiguration && selectedProvider === "mistral" && ( - + )} {apiConfiguration && selectedProvider === "openrouter" && ( - + )} {apiConfiguration && selectedProvider === "deepseek" && ( - + )} {apiConfiguration && selectedProvider === "together" && ( - + )} {apiConfiguration && selectedProvider === "openai" && ( - + )} {apiConfiguration && selectedProvider === "sambanova" && ( - + )} - {selectedProvider === "bedrock" && ( -
- { - const value = (e.target as HTMLInputElement)?.value - const useProfile = value === "profile" - setApiConfiguration({ - ...apiConfiguration, - awsUseProfile: useProfile, - }) - }}> - AWS 凭证 - AWS 账户 - - - {apiConfiguration?.awsUseProfile ? ( - - AWS 用户名 - - ) : ( - <> - - AWS Access Key - - - AWS Secret Key - - - AWS Session Token - - - )} - - - - 选择地区... - {/* The user will have to choose a region that supports the model they use, but this shouldn't be a problem since they'd have to request access for it in that region in the first place. */} - us-east-1 - us-east-2 - {/* us-west-1 */} - us-west-2 - {/* af-south-1 */} - {/* ap-east-1 */} - ap-south-1 - ap-northeast-1 - ap-northeast-2 - ap-northeast-3 - ap-southeast-1 - ap-southeast-2 - ca-central-1 - eu-central-1 - eu-central-2 - eu-west-1 - eu-west-2 - eu-west-3 - eu-north-1 - eu-south-1 - eu-south-2 - {/* me-south-1 */} - sa-east-1 - us-gov-east-1 - us-gov-west-1 - {/* us-gov-east-1 */} - - - -
- { - const isChecked = e.target.checked === true - setAwsEndpointSelected(isChecked) - if (!isChecked) { - setApiConfiguration({ - ...apiConfiguration, - awsBedrockEndpoint: "", - }) - } - }}> - 使用自定义 VPC 接入点 - - - {awsEndpointSelected && ( - - )} - - { - const isChecked = e.target.checked === true - setApiConfiguration({ - ...apiConfiguration, - awsUseCrossRegionInference: isChecked, - }) - }}> - 使用跨地区推理 - - - {selectedModelInfo.supportsPromptCache && ( - <> - { - const isChecked = e.target.checked === true - setApiConfiguration({ - ...apiConfiguration, - awsBedrockUsePromptCache: isChecked, - }) - }}> - 使用提示词缓存 - - - )} -
-

- {apiConfiguration?.awsUseProfile ? ( - <> - 使用 ~/.aws/credentials 中的 AWS 配置文件凭证。将配置文件名称留空以使用默认 - 轮廓。这些凭证仅在本地用于从此扩展发出 API 请求。 - - ) : ( - <> - 通过提供上述密钥或使用默认的 AWS 凭证提供程序进行身份验证,即 ~/.aws/credentials - 或环境变量。这些凭证仅在本地用于制作 API 来自此扩展的请求。 - - )} -

- - - { - const isCustom = e.target.value === "custom" - setApiConfiguration({ - ...apiConfiguration, - apiModelId: isCustom ? "" : e.target.value, - awsBedrockCustomSelected: isCustom, - awsBedrockCustomModelBaseId: bedrockDefaultModelId, - }) - }} - style={{ width: "100%" }}> - 选择模型... - {Object.keys(bedrockModels).map((modelId) => ( - - {modelId} - - ))} - 自定义 - - - {apiConfiguration?.awsBedrockCustomSelected && ( -
-

- 在使用 Bedrock 的应用推理配置文件时选择 "自定义"。在模型 ID 字段中输入应用推理配置文件的 ARN。 -

- - - - - - 选则模型... - {Object.keys(bedrockModels).map((modelId) => ( - - {modelId} - - ))} - - -
- )} - {(selectedModelId === "anthropic.claude-3-7-sonnet-20250219-v1:0" || - selectedModelId === "anthropic.claude-sonnet-4-20250514-v1:0" || - selectedModelId === "anthropic.claude-opus-4-20250514-v1:0" || - (apiConfiguration?.awsBedrockCustomSelected && - apiConfiguration?.awsBedrockCustomModelBaseId === "anthropic.claude-3-7-sonnet-20250219-v1:0") || - (apiConfiguration?.awsBedrockCustomSelected && - apiConfiguration?.awsBedrockCustomModelBaseId === "anthropic.claude-sonnet-4-20250514-v1:0") || - (apiConfiguration?.awsBedrockCustomSelected && - apiConfiguration?.awsBedrockCustomModelBaseId === "anthropic.claude-opus-4-20250514-v1:0")) && ( - - )} - -
+ {apiConfiguration && selectedProvider === "bedrock" && ( + )} - {apiConfiguration?.apiProvider === "vertex" && ( -
- - Google Cloud Project ID - - - - - 选择地区... - us-east5 - us-central1 - europe-west1 - europe-west4 - asia-southeast1 - global - - -

- 要使用 Google Cloud Vertex AI, 你需要 - - {"1) 创建 Google Cloud 账户 › 启用 Vertex AI API › 启用 desired Claude models,"} - {" "} - - {"2) 安装 Google Cloud CLI › 配置 Application Default Credentials."} - -

-
+ {apiConfiguration && selectedProvider === "vertex" && ( + )} {apiConfiguration && selectedProvider === "gemini" && ( - + )} - {apiConfiguration && selectedProvider === "gemini-cli" && ( - + {apiConfiguration && selectedProvider === "requesty" && ( + )} - {selectedProvider === "requesty" && ( -
- - API Key - - {!apiConfiguration?.requestyApiKey && 获取 API Key} -
+ {apiConfiguration && selectedProvider === "fireworks" && ( + )} - {selectedProvider === "fireworks" && ( -
- - Fireworks API Key - -

- 此密钥存储在本地,仅用于从此扩展发出 API 请求。 - {!apiConfiguration?.fireworksApiKey && ( - - 您可以通过在此处注册来获取 Fireworks API 密钥。 - - )} -

- - Model ID - -

- - (注意: Cline 使用复杂的提示,与 Claude - 模型配合使用效果最佳。性能较差的模型可能无法达到预期效果。) - -

- { - const value = (e.target as HTMLInputElement).value - if (!value) { - return - } - const num = parseInt(value, 10) - if (isNaN(num)) { - return - } - handleInputChange("fireworksModelMaxCompletionTokens")({ - target: { - value: num, - }, - }) - }} - placeholder={"2000"}> - 最大输出 Tokens - - { - const value = (e.target as HTMLInputElement).value - if (!value) { - return - } - const num = parseInt(value) - if (isNaN(num)) { - return - } - handleInputChange("fireworksModelMaxTokens")({ - target: { - value: num, - }, - }) - }} - placeholder={"4000"}> - 上下文窗口 - -
+ {apiConfiguration && selectedProvider === "vscode-lm" && } + + {apiConfiguration && selectedProvider === "litellm" && ( + )} - {selectedProvider === "vscode-lm" && ( -
- - - {vsCodeLmModels.length > 0 ? ( - { - const value = (e.target as HTMLInputElement).value - if (!value) { - return - } - const [vendor, family] = value.split("/") - handleInputChange("vsCodeLmModelSelector")({ - target: { - value: { vendor, family }, - }, - }) - }} - style={{ width: "100%" }}> - 选择模型... - {vsCodeLmModels.map((model) => ( - - {model.vendor} - {model.family} - - ))} - - ) : ( -

- VS Code 语言模型 API 允许您运行其他 VS Code 扩展提供的模型 (包括但不限于 GitHub Copilot). - 最简单的入门方法是从 VS 插件市场安装 Copilot 扩展并启用 Claude 4 Sonnet。 -

- )} - -

- 注意: 这是一个非常实验性的集成,可能无法按预期工作。 -

-
-
+ {apiConfiguration && selectedProvider === "lmstudio" && ( + )} - {selectedProvider === "lmstudio" && ( -
- - Base URL (可选) - - - Model ID - - {lmStudioModels.length > 0 && ( - { - const value = (e.target as HTMLInputElement)?.value - // need to check value first since radio group returns empty string sometimes - if (value) { - handleInputChange("lmStudioModelId")({ - target: { value }, - }) - } - }}> - {lmStudioModels.map((model) => ( - - {model} - - ))} - - )} -

- LM Studio 允许您在计算机上本地运行模型。有关如何开始的说明,请参阅 他们的 - - 快速入门指南。 - - 您还需要启动 LM Studio 的{" "} - - 本地服务 - {" "} - 功能将其与此扩展一起使用。{" "} - - (注意: Cline 使用复杂的提示,最适合与 Claude 配合使用 - 模型。功能较弱的模型可能无法按预期工作。) - -

-
+ {apiConfiguration && selectedProvider === "ollama" && ( + )} - {selectedProvider === "litellm" && ( -
- - Base URL (可选) - - - API Key - - - Model ID - - -
- {selectedModelInfo.supportsPromptCache && ( - <> - { - const isChecked = e.target.checked === true - setApiConfiguration({ - ...apiConfiguration, - liteLlmUsePromptCache: isChecked, - }) - }} - style={{ fontWeight: 500, color: "var(--vscode-charts-green)" }}> - 使用提示词缓存 (GA) - -

- 提示缓存需要受支持的提供程序和模型 -

- - )} -
- - <> - -

- 扩展思维适用于Sonnet-4、o3-mini、Deepseek R1等模型。更多信息请查看{" "} - - 推理配置 - -

- - -
setModelConfigurationSelected((val) => !val)}> - - - 模型配置 - -
- {modelConfigurationSelected && ( - <> - { - const isChecked = e.target.checked === true - const modelInfo = apiConfiguration?.liteLlmModelInfo - ? apiConfiguration.liteLlmModelInfo - : { ...liteLlmModelInfoSaneDefaults } - modelInfo.supportsImages = isChecked - setApiConfiguration({ - ...apiConfiguration, - liteLlmModelInfo: modelInfo, - }) - }}> - 支持图片 - -
- { - const modelInfo = apiConfiguration?.liteLlmModelInfo - ? apiConfiguration.liteLlmModelInfo - : { ...liteLlmModelInfoSaneDefaults } - modelInfo.contextWindow = Number(input.target.value) - setApiConfiguration({ - ...apiConfiguration, - liteLlmModelInfo: modelInfo, - }) - }}> - 上下文窗口大小 - - { - const modelInfo = apiConfiguration?.liteLlmModelInfo - ? apiConfiguration.liteLlmModelInfo - : { ...liteLlmModelInfoSaneDefaults } - modelInfo.maxTokens = input.target.value - setApiConfiguration({ - ...apiConfiguration, - liteLlmModelInfo: modelInfo, - }) - }}> - 最大输出 Tokens - -
-
- { - const modelInfo = apiConfiguration?.liteLlmModelInfo - ? apiConfiguration.liteLlmModelInfo - : { ...liteLlmModelInfoSaneDefaults } - - // Check if the input ends with a decimal point or has trailing zeros after decimal - const value = input.target.value - const shouldPreserveFormat = - value.endsWith(".") || (value.includes(".") && value.endsWith("0")) - - modelInfo.temperature = - value === "" - ? liteLlmModelInfoSaneDefaults.temperature - : shouldPreserveFormat - ? value // Keep as string to preserve decimal format - : parseFloat(value) - - setApiConfiguration({ - ...apiConfiguration, - liteLlmModelInfo: modelInfo, - }) - }}> - 温度 - -
- - )} -

- LiteLLM 提供了一个统一的接口来访问各种 LLM 提供商的模型。查看他们的{" "} - - 入门指南 - {" "} - 获取更多信息。 -

-
+ {apiConfiguration && selectedProvider === "nebius" && ( + )} - {selectedProvider === "ollama" && ( -
- - Base URL (可选) - - - {/* Model selection - use filterable picker */} - - { - setApiConfiguration({ - ...apiConfiguration, - ollamaModelId: modelId, - }) - }} - placeholder={ollamaModels.length > 0 ? "搜索和选择模型..." : "e.g. llama3.1"} - /> - - {/* Show status message based on model availability */} - {ollamaModels.length === 0 && ( -

- 无法从 Ollama 服务器获取模型。请确保 Ollama 正在运行且可访问,或者在上方手动输入模型 ID。 -

- )} - - - 上下文窗口 - -

- Ollama 允许您在计算机上本地运行模型。有关如何开始的说明,请参阅他们 - - 入门指南 - - - (注意:Cline 使用复杂的提示,最适合与 Claude 配合使用 - 模型。功能较弱的模型可能无法按预期工作。) - -

-
+ {apiConfiguration && selectedProvider === "xai" && ( + )} - {selectedProvider === "nebius" && ( -
- - Nebius API Key - -

- 此密钥存储在本地,仅用于从此扩展发出 API 请求.{" "} - {!apiConfiguration?.nebiusApiKey && ( - - 注册获取 Nebius API key.{" "} - - )} - - (提示:{" "} - Cline使用复杂的提示,与Claude模型效果最佳。能力较弱的模型可能无法如预期般工作。) - -

-
+ {apiConfiguration && selectedProvider === "cerebras" && ( + + )} + + {apiConfiguration && selectedProvider === "sapaicore" && ( + )} {apiErrorMessage && ( @@ -1371,354 +269,6 @@ const ApiOptions = ({ {apiErrorMessage}

)} - - {selectedProvider === "xai" && ( -
- - X AI API Key - -

- - (提示: - Cline使用复杂的提示,与Claude模型最为匹配。能力较弱的模型可能无法按预期工作。) - - 这个密钥存储在本地,仅用于从此扩展程序发出API请求。 - {!apiConfiguration?.xaiApiKey && ( - - 注册获取 X AI API key. - - )} -

-
- )} - {selectedProvider === "shengsuanyun" && ( -
- - API Key - - {!apiConfiguration?.shengSuanYunApiKey && ( - 获取 API Key - )} -
- )} - - {selectedProvider === "cerebras" && ( -
- - Cerebras API Key - -

- 此密钥存储在本地,仅用于从此扩展发出 API 请求 - {!apiConfiguration?.cerebrasApiKey && ( - - 注册获取 Cerebras API key. - - )} -

-
- )} - - {selectedProvider === "sapaicore" && ( -
- - AI Core Client Id - - {apiConfiguration?.sapAiCoreClientId && ( -

- 客户端 ID 已设置。如需更改,请重新输入该值。 -

- )} - - AI Core Client Secret - - {apiConfiguration?.sapAiCoreClientSecret && ( -

- Client Secret is set. To change it, please re-enter the value. -

- )} - - AI Core Base URL - - - AI Core Auth URL - - - AI Core Resource Group - -

- 这些凭证存储在本地,仅用于从此扩展发出 API 请求。 - - 您可以在此处找到有关 SAP AI Core API 访问的更多信息。 - -

-
- )} - - {apiErrorMessage && ( -

- {apiErrorMessage} -

- )} - - {selectedProvider === "ollama" && showModelOptions && ( - <> - { - const value = e.target.value - // Convert to number, with validation - const numValue = parseInt(value, 10) - if (!isNaN(numValue) && numValue > 0) { - setApiConfiguration({ - ...apiConfiguration, - requestTimeoutMs: numValue, - }) - } - }} - placeholder="Default: 30000 (30 seconds)"> - 请求超时 (ms) - -

- 等待API返回的最大毫秒数 -

- - )} - - {selectedProvider === "cline" && showModelOptions && ( - <> - { - const isChecked = e.target.checked === true - setProviderSortingSelected(isChecked) - if (!isChecked) { - setApiConfiguration({ - ...apiConfiguration, - openRouterProviderSorting: "", - }) - } - }}> - 对底层提供商路由进行排序 - - - {providerSortingSelected && ( -
- - { - setApiConfiguration({ - ...apiConfiguration, - openRouterProviderSorting: e.target.value, - }) - }}> - 默认 - 价格 - 吞吐量 - 延迟 - - -

- {!apiConfiguration?.openRouterProviderSorting && - "默认行为是跨提供商(如 AWS、Google Vertex、Anthropic)对请求进行负载均衡,在考虑提供商正常运行时间的同时优先考虑价格"} - {apiConfiguration?.openRouterProviderSorting === "price" && - "按价格对提供商进行排序,优先考虑成本最低的提供商"} - {apiConfiguration?.openRouterProviderSorting === "throughput" && - "按吞吐量对提供程序进行排序,优先考虑吞吐量最高的提供程序(可能会增加成本)"} - {apiConfiguration?.openRouterProviderSorting === "latency" && - "按响应时间对提供商进行排序,优先考虑延迟最低的提供商"} -

-
- )} - - )} - - {selectedProvider !== "openrouter" && - selectedProvider !== "cline" && - selectedProvider !== "anthropic" && - selectedProvider !== "asksage" && - selectedProvider !== "openai" && - selectedProvider !== "ollama" && - selectedProvider !== "lmstudio" && - selectedProvider !== "vscode-lm" && - selectedProvider !== "litellm" && - selectedProvider !== "requesty" && - selectedProvider !== "bedrock" && - selectedProvider !== "shengsuanyun" && - selectedProvider !== "mistral" && - selectedProvider !== "deepseek" && - selectedProvider !== "sambanova" && - selectedProvider !== "openai-native" && - selectedProvider !== "gemini" && - selectedProvider !== "gemini-cli" && - showModelOptions && ( - <> - - - {selectedProvider === "claude-code" && createDropdown(claudeCodeModels)} - {selectedProvider === "vertex" && - createDropdown(apiConfiguration?.vertexRegion === "global" ? vertexGlobalModels : vertexModels)} - {selectedProvider === "qwen" && - createDropdown( - apiConfiguration?.qwenApiLine === "china" ? mainlandQwenModels : internationalQwenModels, - )} - {selectedProvider === "doubao" && createDropdown(doubaoModels)} - {selectedProvider === "xai" && createDropdown(xaiModels)} - {selectedProvider === "cerebras" && createDropdown(cerebrasModels)} - {selectedProvider === "nebius" && createDropdown(nebiusModels)} - {selectedProvider === "sapaicore" && createDropdown(sapAiCoreModels)} - - - {SUPPORTED_THINKING_MODELS[selectedProvider]?.includes(selectedModelId) && ( - - )} - - {selectedProvider === "xai" && selectedModelId.includes("3-mini") && ( - <> - { - const isChecked = e.target.checked === true - setReasoningEffortSelected(isChecked) - if (!isChecked) { - setApiConfiguration({ - ...apiConfiguration, - reasoningEffort: "", - }) - } - }}> - 修改模型推理效果 - - - {reasoningEffortSelected && ( -
- - - { - setApiConfiguration({ - ...apiConfiguration, - reasoningEffort: e.target.value, - }) - }}> - 弱 - 强 - - -

- 强推理效果会进行更多的推理分析,但是耗时更久使用token更多。 -

-
- )} - - )} - - - )} - - {selectedProvider === "cline" && showModelOptions && } - {selectedProvider === "requesty" && showModelOptions && } - - {selectedProvider === "shengsuanyun" && showModelOptions && ( - <> - - {selectedModelId?.startsWith("qwen/qwen") && selectedModelId?.endsWith(":thinking") && ( - - )} - - )} - {modelIdErrorMessage && (

{ - if (!tiers || tiers.length === 0) { - return [] - } - - return tiers - .map((tier, index, arr) => { - const prevLimit = index > 0 ? arr[index - 1].contextWindow : 0 - const price = tier[priceType] - - if (price === undefined) return null - - return ( - - {formatPrice(price)}/million tokens ( - {tier.contextWindow === Number.POSITIVE_INFINITY ? ( - - {">"} {prevLimit.toLocaleString()} - - ) : ( - - {"<="} {tier.contextWindow.toLocaleString()} - - )} - {" tokens)"} - {index < arr.length - 1 &&
} -
- ) - }) - .filter((element): element is JSX.Element => element !== null) -} - -export const ModelInfoView = ({ - selectedModelId, - modelInfo, - isDescriptionExpanded, - setIsDescriptionExpanded, - isPopup, -}: { - selectedModelId: string - modelInfo: ModelInfo - isDescriptionExpanded: boolean - setIsDescriptionExpanded: (isExpanded: boolean) => void - isPopup?: boolean -}) => { - const isGemini = Object.keys(geminiModels).includes(selectedModelId) - const hasThinkingConfig = !!modelInfo.thinkingConfig - const hasTiers = !!modelInfo.tiers && modelInfo.tiers.length > 0 - - // Create elements for input pricing - const inputPriceElement = hasTiers ? ( - - 输入价格: -
- {formatTiers(modelInfo.tiers, "inputPrice")} -
- ) : modelInfo.inputPrice !== undefined && modelInfo.inputPrice > 0 ? ( - - 输入价格: {formatPrice(modelInfo.inputPrice)}/million tokens - - ) : null - - // --- Output Price Logic --- - let outputPriceElement = null - if (hasThinkingConfig && modelInfo.outputPrice !== undefined && modelInfo.thinkingConfig?.outputPrice !== undefined) { - // Display both standard and thinking budget prices - outputPriceElement = ( - - 输出价格 (标准): {formatPrice(modelInfo.outputPrice)}/million tokens -
- 输出价格 (推理预算 > 0):{" "} - {formatPrice(modelInfo.thinkingConfig.outputPrice)}/million tokens -
- ) - } else if (hasTiers) { - // Display tiered output pricing - outputPriceElement = ( - - 输出价格: - (基于输入token数) -
- {formatTiers(modelInfo.tiers, "outputPrice")} -
- ) - } else if (modelInfo.outputPrice !== undefined && modelInfo.outputPrice > 0) { - // Display single standard output price - outputPriceElement = ( - - 输出价格: {formatPrice(modelInfo.outputPrice)}/million tokens - - ) - } - // --- End Output Price Logic --- - - const infoItems = [ - modelInfo.description && ( - - ), - , - , - !isGemini && ( - - ), - modelInfo.maxTokens !== undefined && modelInfo.maxTokens > 0 && ( - - 最大输出: {modelInfo.maxTokens?.toLocaleString()} tokens - - ), - inputPriceElement, // Add the generated input price block - modelInfo.supportsPromptCache && modelInfo.cacheWritesPrice && ( - - 写缓存价格: {formatPrice(modelInfo.cacheWritesPrice || 0)} - /million tokens - - ), - modelInfo.supportsPromptCache && modelInfo.cacheReadsPrice && ( - - 读缓存价格: {formatPrice(modelInfo.cacheReadsPrice || 0)}/million tokens - - ), - outputPriceElement, // Add the generated output price block - isGemini && ( - - * 免费 {selectedModelId && selectedModelId.includes("flash") ? "15" : "2"} 每分钟请求. 之后按实际请求收费{" "} - - 查看更多价格详情 - - - ), - ].filter(Boolean) - - return ( -

- {infoItems.map((item, index) => ( - - {item} - {index < infoItems.length - 1 &&
} -
- ))} -

- ) -} - -const ModelInfoSupportsItem = ({ - isSupported, - supportsLabel, - doesNotSupportLabel, -}: { - isSupported: boolean - supportsLabel: string - doesNotSupportLabel: string -}) => ( - - - {isSupported ? supportsLabel : doesNotSupportLabel} - -) - -export default memo(ApiOptions) +export default ApiOptions diff --git a/webview-ui/src/components/settings/BrowserSettingsSection.tsx b/webview-ui/src/components/settings/BrowserSettingsSection.tsx deleted file mode 100644 index edc5dacf..00000000 --- a/webview-ui/src/components/settings/BrowserSettingsSection.tsx +++ /dev/null @@ -1,469 +0,0 @@ -import { VSCodeButton, VSCodeCheckbox, VSCodeDropdown, VSCodeOption, VSCodeTextField } from "@vscode/webview-ui-toolkit/react" -import debounce from "debounce" -import React, { useCallback, useEffect, useState } from "react" -import styled from "styled-components" -import { BROWSER_VIEWPORT_PRESETS } from "../../../../src/shared/BrowserSettings" -import { useExtensionState } from "../../context/ExtensionStateContext" -import { BrowserServiceClient } from "../../services/grpc-client" -import { EmptyRequest, StringRequest } from "@shared/proto/common" -import { BrowserSettings } from "@shared/BrowserSettings" - -interface BrowserSettingsSectionProps { - localBrowserSettings: BrowserSettings - onBrowserSettingsChange: (settings: BrowserSettings) => void -} - -const ConnectionStatusIndicator = ({ - isChecking, - isConnected, - remoteBrowserEnabled, -}: { - isChecking: boolean - isConnected: boolean | null - remoteBrowserEnabled?: boolean -}) => { - if (!remoteBrowserEnabled) return null - - return ( - - {isChecking ? ( - <> - - 检查连接... - - ) : isConnected === true ? ( - <> - - 已连接 - - ) : isConnected === false ? ( - 未连接 - ) : null} - - ) -} - -const CollapsibleContent = styled.div<{ isOpen: boolean }>` - overflow: hidden; - transition: - max-height 0.3s ease-in-out, - opacity 0.3s ease-in-out, - margin-top 0.3s ease-in-out, - visibility 0.3s ease-in-out; - max-height: ${({ isOpen }) => (isOpen ? "1000px" : "0")}; // Sufficiently large height - opacity: ${({ isOpen }) => (isOpen ? 1 : 0)}; - margin-top: ${({ isOpen }) => (isOpen ? "15px" : "0")}; - visibility: ${({ isOpen }) => (isOpen ? "visible" : "hidden")}; -` - -export const BrowserSettingsSection: React.FC = ({ - localBrowserSettings, - onBrowserSettingsChange, -}) => { - const { browserSettings } = useExtensionState() - const [localChromePath, setLocalChromePath] = useState(localBrowserSettings.chromeExecutablePath || "") - const [isCheckingConnection, setIsCheckingConnection] = useState(false) - const [connectionStatus, setConnectionStatus] = useState(null) - const [relaunchResult, setRelaunchResult] = useState<{ success: boolean; message: string } | null>(null) - const [debugMode, setDebugMode] = useState(false) - const [isBundled, setIsBundled] = useState(false) - const [detectedChromePath, setDetectedChromePath] = useState(null) - - // Auto-clear relaunch result message after 15 seconds - useEffect(() => { - if (relaunchResult) { - const timer = setTimeout(() => { - setRelaunchResult(null) - }, 15000) - - // Clear timeout if component unmounts or relaunchResult changes - return () => clearTimeout(timer) - } - }, [relaunchResult]) - - // Request detected Chrome path on mount - useEffect(() => { - // Use gRPC for getDetectedChromePath - BrowserServiceClient.getDetectedChromePath(EmptyRequest.create({})) - .then((result) => { - setDetectedChromePath(result.path) - setIsBundled(result.isBundled) - }) - .catch((error) => { - console.error("Error getting detected Chrome path:", error) - }) - }, []) - - // Sync localChromePath with prop changes - useEffect(() => { - if (localBrowserSettings.chromeExecutablePath !== localChromePath) { - setLocalChromePath(localBrowserSettings.chromeExecutablePath || "") - } - }, [localBrowserSettings.chromeExecutablePath]) - - // Debounced connection check function - const debouncedCheckConnection = useCallback( - debounce(() => { - if (localBrowserSettings.remoteBrowserEnabled) { - setIsCheckingConnection(true) - setConnectionStatus(null) - if (localBrowserSettings.remoteBrowserHost) { - // Use gRPC for testBrowserConnection - BrowserServiceClient.testBrowserConnection( - StringRequest.create({ value: localBrowserSettings.remoteBrowserHost }), - ) - .then((result) => { - setConnectionStatus(result.success) - setIsCheckingConnection(false) - }) - .catch((error) => { - console.error("Error testing browser connection:", error) - setConnectionStatus(false) - setIsCheckingConnection(false) - }) - } else { - BrowserServiceClient.discoverBrowser(EmptyRequest.create({})) - .then((result) => { - setConnectionStatus(result.success) - setIsCheckingConnection(false) - }) - .catch((error) => { - console.error("Error discovering browser:", error) - setConnectionStatus(false) - setIsCheckingConnection(false) - }) - } - } - }, 1000), - [localBrowserSettings.remoteBrowserEnabled, localBrowserSettings.remoteBrowserHost], - ) - - // Check connection when component mounts or when remote settings change - useEffect(() => { - if (localBrowserSettings.remoteBrowserEnabled) { - debouncedCheckConnection() - } else { - setConnectionStatus(null) - } - }, [localBrowserSettings.remoteBrowserEnabled, localBrowserSettings.remoteBrowserHost, debouncedCheckConnection]) - - const handleViewportChange = (event: Event) => { - const target = event.target as HTMLSelectElement - const selectedSize = BROWSER_VIEWPORT_PRESETS[target.value as keyof typeof BROWSER_VIEWPORT_PRESETS] - if (selectedSize) { - onBrowserSettingsChange({ - ...localBrowserSettings, - viewport: { - width: selectedSize.width, - height: selectedSize.height, - }, - }) - } - } - - const updateRemoteBrowserEnabled = (enabled: boolean) => { - onBrowserSettingsChange({ - ...localBrowserSettings, - remoteBrowserEnabled: enabled, - // If disabling, also clear the host - remoteBrowserHost: enabled ? localBrowserSettings.remoteBrowserHost : undefined, - }) - } - - const updateRemoteBrowserHost = (host: string | undefined) => { - onBrowserSettingsChange({ - ...localBrowserSettings, - remoteBrowserHost: host, - }) - } - - const debouncedUpdateChromePath = useCallback( - debounce((newPath: string | undefined) => { - onBrowserSettingsChange({ - ...localBrowserSettings, - chromeExecutablePath: newPath, - }) - }, 500), - [localBrowserSettings, onBrowserSettingsChange], - ) - - const updateChromeExecutablePath = (path: string | undefined) => { - setLocalChromePath(path || "") - debouncedUpdateChromePath(path) - } - - // Function to check connection once without changing UI state immediately - const checkConnectionOnce = useCallback(() => { - // Don't show the spinner for every check to avoid UI flicker - // We'll rely on the response to update the connectionStatus - if (localBrowserSettings.remoteBrowserHost) { - // Use gRPC for testBrowserConnection - BrowserServiceClient.testBrowserConnection(StringRequest.create({ value: localBrowserSettings.remoteBrowserHost })) - .then((result) => { - setConnectionStatus(result.success) - }) - .catch((error) => { - console.error("Error testing browser connection:", error) - setConnectionStatus(false) - }) - } else { - BrowserServiceClient.discoverBrowser(EmptyRequest.create({})) - .then((result) => { - setConnectionStatus(result.success) - }) - .catch((error) => { - console.error("Error discovering browser:", error) - setConnectionStatus(false) - }) - } - }, [localBrowserSettings.remoteBrowserHost]) - - // Setup continuous polling for connection status when remote browser is enabled - useEffect(() => { - // Only poll if remote browser mode is enabled - if (!localBrowserSettings.remoteBrowserEnabled) { - // Make sure we're not showing checking state when disabled - setIsCheckingConnection(false) - return - } - - // Check immediately when enabled - checkConnectionOnce() - - // Then check every second - const pollInterval = setInterval(() => { - checkConnectionOnce() - }, 1000) - - // Cleanup the interval if the component unmounts or remote browser is disabled - return () => clearInterval(pollInterval) - }, [localBrowserSettings.remoteBrowserEnabled, checkConnectionOnce]) - - const updateDisableToolUse = (disabled: boolean) => { - onBrowserSettingsChange({ - ...localBrowserSettings, - disableToolUse: disabled, - }) - } - - const relaunchChromeDebugMode = () => { - setDebugMode(true) - setRelaunchResult(null) - // The connection status will be automatically updated by our polling - - BrowserServiceClient.relaunchChromeDebugMode(EmptyRequest.create({})) - .then((result) => { - setRelaunchResult({ - success: result.success, - message: result.message, - }) - setDebugMode(false) - }) - .catch((error) => { - console.error("Error relaunching Chrome:", error) - setRelaunchResult({ - success: false, - message: `Error relaunching Chrome: ${error.message}`, - }) - setDebugMode(false) - }) - } - - // Determine if we should show the relaunch button - const isRemoteEnabled = Boolean(localBrowserSettings.remoteBrowserEnabled) - const shouldShowRelaunchButton = isRemoteEnabled && connectionStatus === false - const isSubSettingsOpen = !(localBrowserSettings.disableToolUse || false) - - return ( -
- {/* Master Toggle */} -
- updateDisableToolUse((e.target as HTMLInputElement).checked)}> - 禁用浏览器工具 - -

- 禁止使用浏览器操作 (e.g. launch, click, type). -

-
- - -
-
- - { - const typedSize = size as { width: number; height: number } - return ( - typedSize.width === localBrowserSettings.viewport.width && - typedSize.height === localBrowserSettings.viewport.height - ) - })?.[0] - } - onChange={(event) => handleViewportChange(event as Event)}> - {Object.entries(BROWSER_VIEWPORT_PRESETS).map(([name]) => ( - - {name} - - ))} - -
-

- 设置浏览器视口的大小以进行截图和交互。 -

-
- -
- {" "} - {/* This div now contains Remote Connection & Chrome Path */} -
- updateRemoteBrowserEnabled((e.target as HTMLInputElement).checked)}> - 使用远程浏览器操作 - - -
-

- 允许 Cline 使用你的 Chrome 浏览器 - {isBundled ? "(没安装)" : detectedChromePath ? ` (${detectedChromePath})` : ""}. - 您可以在下面指定自定义路径。使用远程浏览器连接需要以调试模式启动 Chrome - {localBrowserSettings.remoteBrowserEnabled ? ( - <> - {" "} - 手动 (--remote-debugging-port=9222) - 或者使用下面的按钮。输入主机地址,或者留空以进行自动发现。 - - ) : ( - "." - )} -

- {/* Moved remote-specific settings to appear directly after enabling remote connection */} - {localBrowserSettings.remoteBrowserEnabled && ( -
- updateRemoteBrowserHost(e.target.value || undefined)} - /> - - {shouldShowRelaunchButton && ( -
- - {debugMode ? "重启浏览器..." : "Debug 模式重启浏览器"} - -
- )} - - {relaunchResult && ( -
- {relaunchResult.message} -
- )} - -

-
- )} - {/* Chrome Executable Path section now follows remote-specific settings */} -
- - { - const newValue = e.target.value || "" - updateChromeExecutablePath(newValue) - }} - /> -

- 留空以自动检测。 -

-
-
-
-
- ) -} - -const StatusContainer = styled.div` - display: flex; - align-items: center; - margin-left: 12px; - height: 20px; -` - -const StatusText = styled.span` - font-size: 12px; - margin-left: 4px; -` - -const CheckIcon = styled.i` - color: var(--vscode-terminal-ansiGreen); - font-size: 14px; -` - -const Spinner = styled.div` - width: 14px; - height: 14px; - border: 2px solid rgba(255, 255, 255, 0.3); - border-radius: 50%; - border-top-color: var(--vscode-progressBar-background); - animation: spin 1s ease-in-out infinite; - - @keyframes spin { - to { - transform: rotate(360deg); - } - } -` - -export default BrowserSettingsSection diff --git a/webview-ui/src/components/settings/FeatureSettingsSection.tsx b/webview-ui/src/components/settings/FeatureSettingsSection.tsx deleted file mode 100644 index 35d04810..00000000 --- a/webview-ui/src/components/settings/FeatureSettingsSection.tsx +++ /dev/null @@ -1,99 +0,0 @@ -import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" -import { useExtensionState } from "@/context/ExtensionStateContext" -import { memo } from "react" -import { OpenAIReasoningEffort } from "@shared/ChatSettings" - -const FeatureSettingsSection = () => { - const { - enableCheckpointsSetting, - setEnableCheckpointsSetting, - mcpMarketplaceEnabled, - setMcpMarketplaceEnabled, - mcpRichDisplayEnabled, - setMcpRichDisplayEnabled, - mcpResponsesCollapsed, - setMcpResponsesCollapsed, - chatSettings, - setChatSettings, - } = useExtensionState() - - return ( -
-
- { - const checked = e.target.checked === true - setEnableCheckpointsSetting(checked) - }}> - 启用检查点 - -

- 启用扩展以在任务过程中保存工作区的检查点。使用 git 作为底层工具,可能无法很好地处理大型工作区。 -

-
-
- { - const checked = e.target.checked === true - setMcpMarketplaceEnabled(checked) - }}> - 启用 MCP 市场 - -

启用 MCP 市场选项卡以发现和安装 MCP 服务器。

-
-
- { - const checked = e.target.checked === true - setMcpRichDisplayEnabled(checked) - }}> - 启用 MCP 恢复附件显示样式 - -

- 为 MCP 回复启用富文本格式。禁用后,回复将以纯文本显示。 -

-
-
- { - const checked = e.target.checked === true - setMcpResponsesCollapsed(checked) - }}> - 折叠 MCP 消息 - -

设置 MCP 响应面板的默认显示模式

-
-
- - { - const newValue = e.target.currentValue as OpenAIReasoningEffort - setChatSettings({ - ...chatSettings, - openAIReasoningEffort: newValue, - }) - }} - className="w-full"> - 低 - 中 - 高 - -

- OpenAI 模型系列的推理效果(适用于所有 OpenAI 模型提供者) -

-
-
- ) -} - -export default memo(FeatureSettingsSection) diff --git a/webview-ui/src/components/settings/OpenRouterModelPicker.tsx b/webview-ui/src/components/settings/OpenRouterModelPicker.tsx index ce414be7..783d208a 100644 --- a/webview-ui/src/components/settings/OpenRouterModelPicker.tsx +++ b/webview-ui/src/components/settings/OpenRouterModelPicker.tsx @@ -1,7 +1,7 @@ import { CODE_BLOCK_BG_COLOR } from "@/components/common/CodeBlock" import { useExtensionState } from "@/context/ExtensionStateContext" import { StateServiceClient } from "@/services/grpc-client" -import { openRouterDefaultModelId } from "@shared/api" +import { ApiConfiguration, openRouterDefaultModelId } from "@shared/api" import { StringRequest } from "@shared/proto/common" import { VSCodeLink, VSCodeTextField } from "@vscode/webview-ui-toolkit/react" import Fuse from "fuse.js" @@ -10,10 +10,11 @@ import { useRemark } from "react-remark" import { useMount } from "react-use" import styled from "styled-components" import { highlight } from "../history/HistoryView" -import { ModelInfoView } from "./ApiOptions" +import { ModelInfoView } from "./common/ModelInfoView" import { normalizeApiConfiguration } from "./utils/providerUtils" import FeaturedModelCard from "./FeaturedModelCard" import ThinkingBudgetSlider from "./ThinkingBudgetSlider" +import { useApiConfigurationHandlers } from "./utils/useApiConfigurationHandlers" // Star icon for favorites const StarIcon = ({ isFavorite, onClick }: { isFavorite: boolean; onClick: (e: React.MouseEvent) => void }) => { @@ -43,13 +44,13 @@ export interface OpenRouterModelPickerProps { // Featured models for Cline provider const featuredModels = [ { - id: "anthropic/claude-sonnet-4", - description: "Recommended for agentic coding in Cline", + id: "google/gemini-2.5-pro", + description: "Large 1M context window, great value", label: "Best", }, { - id: "google/gemini-2.5-pro", - description: "Large 1M context window, great value", + id: "anthropic/claude-sonnet-4", + description: "Recommended for agentic coding in Cline", label: "Trending", }, { @@ -60,25 +61,24 @@ const featuredModels = [ ] const OpenRouterModelPicker: React.FC = ({ isPopup }) => { - const { apiConfiguration, setApiConfiguration, openRouterModels, refreshOpenRouterModels } = useExtensionState() + const { handleFieldsChange } = useApiConfigurationHandlers() + const { apiConfiguration, openRouterModels, refreshOpenRouterModels } = useExtensionState() const [searchTerm, setSearchTerm] = useState(apiConfiguration?.openRouterModelId || openRouterDefaultModelId) const [isDropdownVisible, setIsDropdownVisible] = useState(false) const [selectedIndex, setSelectedIndex] = useState(-1) const dropdownRef = useRef(null) const itemRefs = useRef<(HTMLDivElement | null)[]>([]) - const [isDescriptionExpanded, setIsDescriptionExpanded] = useState(false) const dropdownListRef = useRef(null) const handleModelChange = (newModelId: string) => { // could be setting invalid model id/undefined info but validation will catch it - setApiConfiguration({ - ...apiConfiguration, - ...{ - openRouterModelId: newModelId, - openRouterModelInfo: openRouterModels[newModelId], - }, - }) + setSearchTerm(newModelId) + + handleFieldsChange({ + openRouterModelId: newModelId, + openRouterModelInfo: openRouterModels[newModelId], + }) } const { selectedModelId, selectedModelInfo } = useMemo(() => { @@ -195,6 +195,7 @@ const OpenRouterModelPicker: React.FC = ({ isPopup } }, [selectedIndex]) const showBudgetSlider = useMemo(() => { + setSearchTerm(selectedModelId) return ( selectedModelId?.toLowerCase().includes("claude-sonnet-4") || selectedModelId?.toLowerCase().includes("claude-opus-4") || @@ -307,17 +308,9 @@ const OpenRouterModelPicker: React.FC = ({ isPopup } {hasInfo ? ( <> - {showBudgetSlider && ( - - )} + {showBudgetSlider && } - + ) : (

= ({ isPopup } 如果你不确定使用哪个模型, Cline 使用{" "} handleModelChange("anthropic/claude-sonnet-4")}> - anthropic/claude-sonnet-4. + onClick={() => handleModelChange("google/gemini-2.5-pro")}> + google/gemini-2.5-pro. 你也可以尝试使用 "free" 搜索免费模型 diff --git a/webview-ui/src/components/settings/PreferredLanguageSetting.tsx b/webview-ui/src/components/settings/PreferredLanguageSetting.tsx index 8a99f9a7..20db61b7 100644 --- a/webview-ui/src/components/settings/PreferredLanguageSetting.tsx +++ b/webview-ui/src/components/settings/PreferredLanguageSetting.tsx @@ -1,13 +1,24 @@ import { VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" import React from "react" -import { ChatSettings } from "@shared/ChatSettings" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { updateSetting } from "./utils/settingsHandlers" +import { convertChatSettingsToProtoChatSettings } from "@shared/proto-conversions/state/chat-settings-conversion" -interface PreferredLanguageSettingProps { - chatSettings: ChatSettings - setChatSettings: (settings: ChatSettings) => void -} +const PreferredLanguageSetting: React.FC = () => { + const { chatSettings } = useExtensionState() + + const handleLanguageChange = (newLanguage: string) => { + if (!chatSettings) return + + const updatedChatSettings = { + ...chatSettings, + preferredLanguage: newLanguage, + } + + const protoChatSettings = convertChatSettingsToProtoChatSettings(updatedChatSettings) + updateSetting("chatSettings", protoChatSettings) + } -const PreferredLanguageSetting: React.FC = ({ chatSettings, setChatSettings }) => { return (

- - {/* Unsaved Changes Dialog */} - ) } -export default memo(SettingsView) +export default SettingsView diff --git a/webview-ui/src/components/settings/ShengSuanYunModelPicker.tsx b/webview-ui/src/components/settings/ShengSuanYunModelPicker.tsx index 50423a81..562b5a17 100644 --- a/webview-ui/src/components/settings/ShengSuanYunModelPicker.tsx +++ b/webview-ui/src/components/settings/ShengSuanYunModelPicker.tsx @@ -3,14 +3,16 @@ import Fuse from "fuse.js" import React, { KeyboardEvent, memo, useEffect, useMemo, useRef, useState } from "react" import { useMount } from "react-use" import styled from "styled-components" -import { shengSuanYunDefaultModelId, shengSuanYunDefaultModelInfo } from "../../../../src/shared/api" +import { shengSuanYunDefaultModelId, shengSuanYunDefaultModelInfo } from "@shared/api" import { useExtensionState } from "../../context/ExtensionStateContext" import { ModelsServiceClient, StateServiceClient } from "@/services/grpc-client" import { highlight } from "../history/HistoryView" -import { ModelInfoView } from "./ApiOptions" +import { ModelInfoView } from "./common/ModelInfoView" import ThinkingBudgetSlider from "./ThinkingBudgetSlider" import { EmptyRequest, StringRequest } from "@shared/proto/common" import { normalizeApiConfiguration } from "./utils/providerUtils" +import { useApiConfigurationHandlers } from "./utils/useApiConfigurationHandlers" + export interface ShengSuanYunModelPickerProps { isPopup?: boolean } @@ -35,23 +37,20 @@ const StarIcon = ({ isFavorite, onClick }: { isFavorite: boolean; onClick: (e: R ) } const ShengSuanYunModelPicker: React.FC = ({ isPopup }) => { - const { apiConfiguration, setApiConfiguration, shengSuanYunModels, setShengSuanYunModels } = useExtensionState() + const { apiConfiguration, shengSuanYunModels, setShengSuanYunModels } = useExtensionState() const [searchTerm, setSearchTerm] = useState(apiConfiguration?.shengSuanYunModelId || shengSuanYunDefaultModelId) + const { handleFieldsChange } = useApiConfigurationHandlers() const [isDropdownVisible, setIsDropdownVisible] = useState(false) const [selectedIndex, setSelectedIndex] = useState(-1) const dropdownRef = useRef(null) const itemRefs = useRef<(HTMLDivElement | null)[]>([]) - const [isDescriptionExpanded, setIsDescriptionExpanded] = useState(false) const dropdownListRef = useRef(null) const handleModelChange = (newModelId: string) => { // could be setting invalid model id/undefined info but validation will catch it - setApiConfiguration({ - ...apiConfiguration, - ...{ - shengSuanYunModelId: newModelId, - shengSuanYunModelInfo: shengSuanYunModels[newModelId], - }, + handleFieldsChange({ + shengSuanYunModelId: newModelId, + shengSuanYunModelInfo: shengSuanYunModels[newModelId], }) setSearchTerm(newModelId) } @@ -166,7 +165,14 @@ const ShengSuanYunModelPicker: React.FC = ({ isPop }, [selectedIndex]) const showBudgetSlider = useMemo(() => { - return selectedModelId?.includes("claude-3-7-sonnet") + setSearchTerm(selectedModelId) + return ( + selectedModelId?.toLowerCase().includes("claude-sonnet-4") || + selectedModelId?.toLowerCase().includes("claude-opus-4") || + selectedModelId?.toLowerCase().includes("claude-3-7-sonnet") || + selectedModelId?.toLowerCase().includes("claude-3.7-sonnet") || + selectedModelId?.toLowerCase().includes(":thinking") + ) }, [selectedModelId]) return ( @@ -253,16 +259,8 @@ const ShengSuanYunModelPicker: React.FC = ({ isPop {hasInfo ? ( <> - {showBudgetSlider && ( - - )} - + {showBudgetSlider && } + ) : (

= ({ isPop 如果你不确定使用哪个模型, Cline 可以和{" "} handleModelChange("anthropic/claude-3.7-sonnet")}> - anthropic/claude-3.7-sonnet. + onClick={() => handleModelChange("anthropic/claude-sonnet-4")}> + anthropic/claude-sonnet-4 很好的工作 diff --git a/webview-ui/src/components/settings/TerminalOutputLineLimitSlider.tsx b/webview-ui/src/components/settings/TerminalOutputLineLimitSlider.tsx index 213ecb7b..3e85da72 100644 --- a/webview-ui/src/components/settings/TerminalOutputLineLimitSlider.tsx +++ b/webview-ui/src/components/settings/TerminalOutputLineLimitSlider.tsx @@ -1,12 +1,13 @@ import React from "react" import { useExtensionState } from "@/context/ExtensionStateContext" +import { updateSetting } from "./utils/settingsHandlers" const TerminalOutputLineLimitSlider: React.FC = () => { - const { terminalOutputLineLimit, setTerminalOutputLineLimit } = useExtensionState() + const { terminalOutputLineLimit } = useExtensionState() const handleSliderChange = (event: React.ChangeEvent) => { const value = parseInt(event.target.value, 10) - setTerminalOutputLineLimit(value) + updateSetting("terminalOutputLineLimit", value) } return ( diff --git a/webview-ui/src/components/settings/TerminalSettingsSection.tsx b/webview-ui/src/components/settings/TerminalSettingsSection.tsx deleted file mode 100644 index 8259c5e3..00000000 --- a/webview-ui/src/components/settings/TerminalSettingsSection.tsx +++ /dev/null @@ -1,138 +0,0 @@ -import React, { useState, useEffect } from "react" -import { VSCodeTextField, VSCodeCheckbox, VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" -import { useExtensionState } from "@/context/ExtensionStateContext" -import TerminalOutputLineLimitSlider from "./TerminalOutputLineLimitSlider" -import { StateServiceClient } from "../../services/grpc-client" -import { Int64, Int64Request } from "@shared/proto/common" - -export const TerminalSettingsSection: React.FC = () => { - const { - shellIntegrationTimeout, - setShellIntegrationTimeout, - terminalReuseEnabled, - setTerminalReuseEnabled, - defaultTerminalProfile, - setDefaultTerminalProfile, - availableTerminalProfiles, - platform, - } = useExtensionState() - - const [inputValue, setInputValue] = useState((shellIntegrationTimeout / 1000).toString()) - const [inputError, setInputError] = useState(null) - - const handleTimeoutChange = (event: Event) => { - const target = event.target as HTMLInputElement - const value = target.value - - setInputValue(value) - - const seconds = parseFloat(value) - if (isNaN(seconds) || seconds <= 0) { - setInputError("请输入一个正数") - return - } - - setInputError(null) - const timeout = Math.round(seconds * 1000) - - setShellIntegrationTimeout(timeout) - - StateServiceClient.updateTerminalConnectionTimeout({ - value: timeout, - } as Int64Request) - .then((response: Int64) => { - setShellIntegrationTimeout(response.value) - setInputValue((response.value / 1000).toString()) - }) - .catch((error) => { - console.error("Failed to update terminal connection timeout:", error) - }) - } - - const handleInputBlur = () => { - if (inputError) { - setInputValue((shellIntegrationTimeout / 1000).toString()) - setInputError(null) - } - } - - const handleTerminalReuseChange = (event: Event) => { - const target = event.target as HTMLInputElement - const checked = target.checked - setTerminalReuseEnabled(checked) - StateServiceClient.updateTerminalReuseEnabled({ value: checked } as any).catch((error) => { - console.error("Failed to update terminal reuse enabled:", error) - }) - } - - // Use any to avoid type conflicts between Event and FormEvent - const handleDefaultTerminalProfileChange = (event: any) => { - const target = event.target as HTMLSelectElement - const profileId = target.value - // Only update the local state, let the Save button handle the backend update - setDefaultTerminalProfile(profileId) - } - - const profilesToShow = availableTerminalProfiles - - return ( -

-
- - - {profilesToShow.map((profile) => ( - - {profile.name} - - ))} - -

- 选择 Cline 将使用的默认终端。“默认”使用您的 VSCode 全局设置。 -

-
- -
-
- -
- handleTimeoutChange(event as Event)} - onBlur={handleInputBlur} - /> -
- {inputError && ( -
{inputError}
- )} -
-

- 设置执行命令之前等待 Shell 集成激活的时间。如果您遇到终端连接超时,请增加该值。 -

-
- -
-
- handleTerminalReuseChange(event as Event)}> - 启用积极的终端重用 - -
-

- 启用后,Cline 将重用不在当前工作目录中的现有终端窗口。如果您在执行终端命令后遇到任务锁定问题,请禁用此功能。 -

-
- -
- ) -} - -export default TerminalSettingsSection diff --git a/webview-ui/src/components/settings/ThinkingBudgetSlider.tsx b/webview-ui/src/components/settings/ThinkingBudgetSlider.tsx index 0e810e15..638f3bc9 100644 --- a/webview-ui/src/components/settings/ThinkingBudgetSlider.tsx +++ b/webview-ui/src/components/settings/ThinkingBudgetSlider.tsx @@ -1,7 +1,9 @@ -import { memo, useCallback, useState } from "react" +import { memo, useCallback, useEffect, useMemo, useState } from "react" import { anthropicModels, ApiConfiguration, geminiDefaultModelId, geminiModels, ModelInfo } from "@shared/api" import { VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react" import styled from "styled-components" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "./utils/useApiConfigurationHandlers" // Constants const DEFAULT_MIN_VALID_TOKENS = 1024 @@ -80,26 +82,30 @@ const RangeInput = styled.input<{ $value: number; $min: number; $max: number }>` ` interface ThinkingBudgetSliderProps { - apiConfiguration: ApiConfiguration | undefined - setApiConfiguration: (apiConfiguration: ApiConfiguration) => void maxBudget?: number } -const ThinkingBudgetSlider = ({ apiConfiguration, setApiConfiguration, maxBudget }: ThinkingBudgetSliderProps) => { - const maxTokens = - apiConfiguration?.apiProvider === "gemini" - ? geminiModels[geminiDefaultModelId].maxTokens - : anthropicModels["claude-3-7-sonnet-20250219"].maxTokens +const ThinkingBudgetSlider = ({ maxBudget }: ThinkingBudgetSliderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + const [isEnabled, setIsEnabled] = useState((apiConfiguration?.thinkingBudgetTokens || 0) > 0) + + const maxTokens = useMemo( + () => + apiConfiguration?.apiProvider === "gemini" + ? geminiModels[geminiDefaultModelId].maxTokens + : anthropicModels["claude-3-7-sonnet-20250219"].maxTokens, + [apiConfiguration?.apiProvider], + ) // use maxBudget prop if provided, otherwise apply the percentage cap to maxTokens - const maxSliderValue = (() => { + const maxSliderValue = useMemo(() => { if (maxBudget !== undefined) { return maxBudget } return Math.floor(maxTokens * MAX_PERCENTAGE) - })() - - const isEnabled = (apiConfiguration?.thinkingBudgetTokens || 0) > 0 + }, [maxBudget, maxTokens]) // Add local state for the slider value const [localValue, setLocalValue] = useState(apiConfiguration?.thinkingBudgetTokens || 0) @@ -110,20 +116,16 @@ const ThinkingBudgetSlider = ({ apiConfiguration, setApiConfiguration, maxBudget }, []) const handleSliderComplete = () => { - setApiConfiguration({ - ...apiConfiguration, - thinkingBudgetTokens: localValue, - }) + handleFieldChange("thinkingBudgetTokens", localValue) } const handleToggleChange = (event: any) => { const isChecked = (event.target as HTMLInputElement).checked const newValue = isChecked ? DEFAULT_MIN_VALID_TOKENS : 0 + setIsEnabled(isChecked) setLocalValue(newValue) - setApiConfiguration({ - ...apiConfiguration, - thinkingBudgetTokens: newValue, - }) + + handleFieldChange("thinkingBudgetTokens", newValue) } return ( diff --git a/webview-ui/src/components/settings/common/ApiKeyField.tsx b/webview-ui/src/components/settings/common/ApiKeyField.tsx index 29d0a695..c94b4eba 100644 --- a/webview-ui/src/components/settings/common/ApiKeyField.tsx +++ b/webview-ui/src/components/settings/common/ApiKeyField.tsx @@ -1,11 +1,12 @@ +import { useDebouncedInput } from "../utils/useDebouncedInput" import { VSCodeTextField, VSCodeLink } from "@vscode/webview-ui-toolkit/react" /** * Props for the ApiKeyField component */ interface ApiKeyFieldProps { - value: string - onChange: (e: any) => void + initialValue: string + onChange: (value: string) => void providerName: string signupUrl?: string placeholder?: string @@ -16,34 +17,43 @@ interface ApiKeyFieldProps { * A reusable component for API key input fields with standard styling and help text for signing up for key */ export const ApiKeyField = ({ - value, + initialValue, onChange, providerName, signupUrl, - placeholder = "Enter API Key...", + placeholder = "输入 API Key...", helpText, -}: ApiKeyFieldProps) => ( -
- - {providerName} API Key - -

- {helpText || "This key is stored locally and only used to make API requests from this extension."} - {!value && signupUrl && ( - - You can get a{/^[aeiou]/i.test(providerName) ? "n" : ""} {providerName} API key by signing up here. - - )} -

-
-) +}: ApiKeyFieldProps) => { + const [localValue, setLocalValue] = useDebouncedInput(initialValue, onChange) + + return ( +
+ setLocalValue(e.target.value)} + placeholder={placeholder}> + {providerName} API Key + +

+ {helpText || "此密钥存储在本地,仅用于从此扩展发出 API 请求。"} + {!localValue && signupUrl && ( + + 注册 {/^[aeiou]/i.test(providerName) ? "n" : ""} {providerName} 获取 API Key. + + )} +

+
+ ) +} diff --git a/webview-ui/src/components/settings/common/BaseUrlField.tsx b/webview-ui/src/components/settings/common/BaseUrlField.tsx index 5383ff7a..348efae9 100644 --- a/webview-ui/src/components/settings/common/BaseUrlField.tsx +++ b/webview-ui/src/components/settings/common/BaseUrlField.tsx @@ -1,11 +1,12 @@ import { useState, useEffect } from "react" import { VSCodeCheckbox, VSCodeTextField } from "@vscode/webview-ui-toolkit/react" +import { useDebouncedInput } from "../utils/useDebouncedInput" /** * Props for the BaseUrlField component */ interface BaseUrlFieldProps { - value: string | undefined + initialValue: string | undefined onChange: (value: string) => void defaultValue?: string label?: string @@ -16,24 +17,19 @@ interface BaseUrlFieldProps { * A reusable component for toggling and entering custom base URLs */ export const BaseUrlField = ({ - value, + initialValue, onChange, - defaultValue = "", - label = "Use custom base URL", + label = "自定义 URL", placeholder = "Default: https://api.example.com", }: BaseUrlFieldProps) => { - const [isEnabled, setIsEnabled] = useState(!!value) - - // When value changes externally, update isEnabled state - useEffect(() => { - setIsEnabled(!!value) - }, [value]) + const [isEnabled, setIsEnabled] = useState(!!initialValue) + const [localValue, setLocalValue] = useDebouncedInput(initialValue || "", onChange) const handleToggle = (e: any) => { const checked = e.target.checked === true setIsEnabled(checked) if (!checked) { - onChange("") + setLocalValue("") } } @@ -45,10 +41,10 @@ export const BaseUrlField = ({ {isEnabled && ( onChange(e.target.value)} + onInput={(e: any) => setLocalValue(e.target.value)} placeholder={placeholder} /> )} diff --git a/webview-ui/src/components/settings/common/DebouncedTextField.tsx b/webview-ui/src/components/settings/common/DebouncedTextField.tsx new file mode 100644 index 00000000..34da925f --- /dev/null +++ b/webview-ui/src/components/settings/common/DebouncedTextField.tsx @@ -0,0 +1,33 @@ +import { VSCodeTextField } from "@vscode/webview-ui-toolkit/react" +import { useDebouncedInput } from "../utils/useDebouncedInput" + +/** + * Props for the DebouncedTextField component + */ +interface DebouncedTextFieldProps { + // Custom props for debouncing functionality + initialValue: string + onChange: (value: string) => void + + // Common VSCodeTextField props + style?: React.CSSProperties + type?: "text" | "password" | "url" + placeholder?: string + id?: string + children?: React.ReactNode + disabled?: boolean +} + +/** + * A wrapper around VSCodeTextField that automatically handles debounced input + * to prevent excessive API calls while typing + */ +export const DebouncedTextField = ({ initialValue, onChange, children, ...otherProps }: DebouncedTextFieldProps) => { + const [localValue, setLocalValue] = useDebouncedInput(initialValue, onChange) + + return ( + setLocalValue(e.target.value)}> + {children} + + ) +} diff --git a/webview-ui/src/components/settings/common/ModelInfoView.tsx b/webview-ui/src/components/settings/common/ModelInfoView.tsx index 258b0486..82d613d7 100644 --- a/webview-ui/src/components/settings/common/ModelInfoView.tsx +++ b/webview-ui/src/components/settings/common/ModelInfoView.tsx @@ -99,20 +99,20 @@ export const ModelInfoView = ({ selectedModelId, modelInfo, isPopup }: ModelInfo // Internal state management for description expansion const [isDescriptionExpanded, setIsDescriptionExpanded] = useState(false) - const isGeminiProvider = Object.keys(geminiModels).includes(selectedModelId) + const isGemini = Object.keys(geminiModels).includes(selectedModelId) const hasThinkingConfig = hasThinkingBudget(modelInfo) const hasTiers = !!modelInfo.tiers && modelInfo.tiers.length > 0 // Create elements for input pricing const inputPriceElement = hasTiers ? ( - Input price: + 输入:
{formatTiers(modelInfo.tiers, "inputPrice")}
) : modelInfo.inputPrice !== undefined && modelInfo.inputPrice > 0 ? ( - Input price: {formatTokenPrice(modelInfo.inputPrice)} + 输入: {formatTokenPrice(modelInfo.inputPrice)} ) : null @@ -122,9 +122,9 @@ export const ModelInfoView = ({ selectedModelId, modelInfo, isPopup }: ModelInfo // Display both standard and thinking budget prices outputPriceElement = ( - Output price (Standard): {formatTokenPrice(modelInfo.outputPrice)} + 输出 (标准): {formatTokenPrice(modelInfo.outputPrice)}
- Output price (Thinking Budget > 0):{" "} + 输出 (思考 > 0):{" "} {formatTokenPrice(modelInfo.thinkingConfig.outputPrice)}
) @@ -132,8 +132,8 @@ export const ModelInfoView = ({ selectedModelId, modelInfo, isPopup }: ModelInfo // Display tiered output pricing outputPriceElement = ( - Output price: - (based on input tokens) + 输出: + (基于输入 tokens 数)
{formatTiers(modelInfo.tiers, "outputPrice")}
@@ -142,7 +142,7 @@ export const ModelInfoView = ({ selectedModelId, modelInfo, isPopup }: ModelInfo // Display single standard output price outputPriceElement = ( - Output price: {formatTokenPrice(modelInfo.outputPrice)} + 输出: {formatTokenPrice(modelInfo.outputPrice)} ) } @@ -161,49 +161,40 @@ export const ModelInfoView = ({ selectedModelId, modelInfo, isPopup }: ModelInfo , , - !isGeminiProvider && ( + !isGemini && ( ), modelInfo.maxTokens !== undefined && modelInfo.maxTokens > 0 && ( - Max output: {formatTokenLimit(modelInfo.maxTokens)} tokens + 最大输出: {formatTokenLimit(modelInfo.maxTokens)} tokens ), inputPriceElement, // Add the generated input price block modelInfo.supportsPromptCache && modelInfo.cacheWritesPrice && ( - Cache writes price: {formatTokenPrice(modelInfo.cacheWritesPrice || 0)} + 写缓存: {formatTokenPrice(modelInfo.cacheWritesPrice || 0)} ), modelInfo.supportsPromptCache && modelInfo.cacheReadsPrice && ( - Cache reads price: {formatTokenPrice(modelInfo.cacheReadsPrice || 0)} + 读缓存: {formatTokenPrice(modelInfo.cacheReadsPrice || 0)} ), outputPriceElement, // Add the generated output price block - isGeminiProvider && ( - - * Free up to {selectedModelId && selectedModelId.includes("flash") ? "15" : "2"} requests per minute. After that, - billing depends on prompt size.{" "} - - For more info, see pricing details. - - - ), ].filter(Boolean) return ( diff --git a/webview-ui/src/components/settings/common/ModelSelector.tsx b/webview-ui/src/components/settings/common/ModelSelector.tsx index 81d31032..0be3b9a9 100644 --- a/webview-ui/src/components/settings/common/ModelSelector.tsx +++ b/webview-ui/src/components/settings/common/ModelSelector.tsx @@ -32,6 +32,17 @@ interface ModelSelectorProps { label?: string } +/* +OG Saoud Note: + + VSCodeDropdown has an open bug where dynamically rendered options don't auto select the provided value prop. You can see this for yourself by comparing it with normal select/option elements, which work as expected. + https://github.com/microsoft/vscode-webview-ui-toolkit/issues/433 + + In our case, when the user switches between providers, we recalculate the selectedModelId depending on the provider, the default model for that provider, and a modelId that the user may have selected. Unfortunately, the VSCodeDropdown component wouldn't select this calculated value, and would default to the first "Select a model..." option instead, which makes it seem like the model was cleared out when it wasn't. + + As a workaround, we create separate instances of the dropdown for each provider, and then conditionally render the one that matches the current provider. + */ + /** * A reusable component for selecting models from a dropdown */ diff --git a/webview-ui/src/components/settings/providers/AnthropicProvider.tsx b/webview-ui/src/components/settings/providers/AnthropicProvider.tsx index 6dda457b..fbebdfd5 100644 --- a/webview-ui/src/components/settings/providers/AnthropicProvider.tsx +++ b/webview-ui/src/components/settings/providers/AnthropicProvider.tsx @@ -1,55 +1,50 @@ -import { ApiConfiguration, anthropicModels } from "@shared/api" +import { anthropicModels } from "@shared/api" import { ApiKeyField } from "../common/ApiKeyField" import { BaseUrlField } from "../common/BaseUrlField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" import ThinkingBudgetSlider from "../ThinkingBudgetSlider" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" // Anthropic models that support thinking/reasoning mode -const SUPPORTED_THINKING_MODELS = ["claude-3-7-sonnet-20250219", "claude-sonnet-4-20250514", "claude-opus-4-20250514"] +export const SUPPORTED_ANTHROPIC_THINKING_MODELS = [ + "claude-3-7-sonnet-20250219", + "claude-sonnet-4-20250514", + "claude-opus-4-20250514", +] /** * Props for the AnthropicProvider component */ interface AnthropicProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean - setApiConfiguration?: (config: ApiConfiguration) => void } /** * The Anthropic provider configuration component */ -export const AnthropicProvider = ({ - apiConfiguration, - handleInputChange, - showModelOptions, - isPopup, - setApiConfiguration, -}: AnthropicProviderProps) => { +export const AnthropicProvider = ({ showModelOptions, isPopup }: AnthropicProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) - // Create a wrapper for handling field changes more directly - const handleFieldChange = (field: keyof ApiConfiguration) => (value: string) => { - handleInputChange(field)({ target: { value } }) - } - return (
handleFieldChange("apiKey", value)} providerName="Anthropic" signupUrl="https://console.anthropic.com/settings/keys" /> handleFieldChange("anthropicBaseUrl", value)} placeholder="Default: https://api.anthropic.com" label="Use custom base URL" /> @@ -59,16 +54,12 @@ export const AnthropicProvider = ({ handleFieldChange("apiModelId", e.target.value)} label="Model" /> - {SUPPORTED_THINKING_MODELS.includes(selectedModelId) && setApiConfiguration && ( - + {SUPPORTED_ANTHROPIC_THINKING_MODELS.includes(selectedModelId) && ( + )} diff --git a/webview-ui/src/components/settings/providers/AskSageProvider.tsx b/webview-ui/src/components/settings/providers/AskSageProvider.tsx index d03d62f3..818bd78f 100644 --- a/webview-ui/src/components/settings/providers/AskSageProvider.tsx +++ b/webview-ui/src/components/settings/providers/AskSageProvider.tsx @@ -1,16 +1,16 @@ import { ApiConfiguration, askSageModels, askSageDefaultURL } from "@shared/api" -import { VSCodeTextField } from "@vscode/webview-ui-toolkit/react" import { ApiKeyField } from "../common/ApiKeyField" +import { DebouncedTextField } from "../common/DebouncedTextField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Props for the AskSageProvider component */ interface AskSageProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -18,34 +18,37 @@ interface AskSageProviderProps { /** * The AskSage provider configuration component */ -export const AskSageProvider = ({ apiConfiguration, handleInputChange, showModelOptions, isPopup }: AskSageProviderProps) => { +export const AskSageProvider = ({ showModelOptions, isPopup }: AskSageProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) return (
handleFieldChange("asksageApiKey", value)} providerName="AskSage" - helpText="This key is stored locally and only used to make API requests from this extension." + helpText="此密钥存储在本地,仅用于从此扩展发出 API 请求。" /> - handleFieldChange("asksageApiUrl", value)} style={{ width: "100%" }} type="url" - onInput={handleInputChange("asksageApiUrl")} placeholder="Enter AskSage API URL..."> AskSage API URL - + {showModelOptions && ( <> handleFieldChange("apiModelId", e.target.value)} label="Model" /> diff --git a/webview-ui/src/components/settings/providers/BedrockProvider.tsx b/webview-ui/src/components/settings/providers/BedrockProvider.tsx new file mode 100644 index 00000000..7925e4e6 --- /dev/null +++ b/webview-ui/src/components/settings/providers/BedrockProvider.tsx @@ -0,0 +1,289 @@ +import { bedrockDefaultModelId, bedrockModels } from "@shared/api" +import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption, VSCodeRadio, VSCodeRadioGroup } from "@vscode/webview-ui-toolkit/react" +import { useState } from "react" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { ModelInfoView } from "../common/ModelInfoView" +import { DropdownContainer } from "../common/ModelSelector" +import ThinkingBudgetSlider from "../ThinkingBudgetSlider" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" + +// Z-index constants for proper dropdown layering +const DROPDOWN_Z_INDEX = 1000 + +interface BedrockProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +export const BedrockProvider = ({ showModelOptions, isPopup }: BedrockProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange, handleFieldsChange } = useApiConfigurationHandlers() + + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + const [awsEndpointSelected, setAwsEndpointSelected] = useState(!!apiConfiguration?.awsBedrockEndpoint) + + return ( +
+ { + const value = (e.target as HTMLInputElement)?.value + const useProfile = value === "profile" + + handleFieldChange("awsUseProfile", useProfile) + }}> + AWS Credentials + AWS Profile + + + {apiConfiguration?.awsUseProfile ? ( + handleFieldChange("awsProfile", value)} + style={{ width: "100%" }} + placeholder="Enter profile name (default if empty)"> + AWS Profile Name + + ) : ( + <> + handleFieldChange("awsAccessKey", value)} + style={{ width: "100%" }} + type="password" + placeholder="Enter Access Key..."> + AWS Access Key + + handleFieldChange("awsSecretKey", value)} + style={{ width: "100%" }} + type="password" + placeholder="Enter Secret Key..."> + AWS Secret Key + + handleFieldChange("awsSessionToken", value)} + style={{ width: "100%" }} + type="password" + placeholder="Enter Session Token..."> + AWS Session Token + + + )} + + + + handleFieldChange("awsRegion", e.target.value)}> + Select a region... + {/* The user will have to choose a region that supports the model they use, but this shouldn't be a problem since they'd have to request access for it in that region in the first place. */} + us-east-1 + us-east-2 + {/* us-west-1 */} + us-west-2 + {/* af-south-1 */} + {/* ap-east-1 */} + ap-south-1 + ap-northeast-1 + ap-northeast-2 + ap-northeast-3 + ap-southeast-1 + ap-southeast-2 + ca-central-1 + eu-central-1 + eu-central-2 + eu-west-1 + eu-west-2 + eu-west-3 + eu-north-1 + eu-south-1 + eu-south-2 + {/* me-south-1 */} + sa-east-1 + us-gov-east-1 + us-gov-west-1 + {/* us-gov-east-1 */} + + + +
+ { + const isChecked = e.target.checked === true + setAwsEndpointSelected(isChecked) + if (!isChecked) { + handleFieldChange("awsBedrockEndpoint", "") + } + }}> + Use custom VPC endpoint + + + {awsEndpointSelected && ( + handleFieldChange("awsBedrockEndpoint", value)} + style={{ width: "100%", marginTop: 3, marginBottom: 5 }} + type="url" + placeholder="Enter VPC Endpoint URL (optional)" + /> + )} + + { + const isChecked = e.target.checked === true + + handleFieldChange("awsUseCrossRegionInference", isChecked) + }}> + Use cross-region inference + + + {selectedModelInfo.supportsPromptCache && ( + <> + { + const isChecked = e.target.checked === true + handleFieldChange("awsBedrockUsePromptCache", isChecked) + }}> + Use prompt caching + + + )} +
+ +

+ {apiConfiguration?.awsUseProfile ? ( + <> + Using AWS Profile credentials from ~/.aws/credentials. Leave profile name empty to use the default + profile. These credentials are only used locally to make API requests from this extension. + + ) : ( + <> + Authenticate by either providing the keys above or use the default AWS credential providers, i.e. + ~/.aws/credentials or environment variables. These credentials are only used locally to make API requests + from this extension. + + )} +

+ + {showModelOptions && ( + <> + + + { + const isCustom = e.target.value === "custom" + + handleFieldsChange({ + apiModelId: isCustom ? "" : e.target.value, + awsBedrockCustomSelected: isCustom, + awsBedrockCustomModelBaseId: bedrockDefaultModelId, + }) + }} + style={{ width: "100%" }}> + Select a model... + {Object.keys(bedrockModels).map((modelId) => ( + + {modelId} + + ))} + Custom + + + + {apiConfiguration?.awsBedrockCustomSelected && ( +
+

+ Select "Custom" when using the Application Inference Profile in Bedrock. Enter the Application + Inference Profile ARN in the Model ID field. +

+ handleFieldChange("apiModelId", value)} + style={{ width: "100%", marginTop: 3 }} + placeholder="Enter custom model ID..."> + Model ID + + + + handleFieldChange("awsBedrockCustomModelBaseId", e.target.value)} + style={{ width: "100%" }}> + Select a model... + {Object.keys(bedrockModels).map((modelId) => ( + + {modelId} + + ))} + + +
+ )} + + {(selectedModelId === "anthropic.claude-3-7-sonnet-20250219-v1:0" || + selectedModelId === "anthropic.claude-sonnet-4-20250514-v1:0" || + selectedModelId === "anthropic.claude-opus-4-20250514-v1:0" || + (apiConfiguration?.awsBedrockCustomSelected && + apiConfiguration?.awsBedrockCustomModelBaseId === "anthropic.claude-3-7-sonnet-20250219-v1:0") || + (apiConfiguration?.awsBedrockCustomSelected && + apiConfiguration?.awsBedrockCustomModelBaseId === "anthropic.claude-sonnet-4-20250514-v1:0") || + (apiConfiguration?.awsBedrockCustomSelected && + apiConfiguration?.awsBedrockCustomModelBaseId === "anthropic.claude-opus-4-20250514-v1:0")) && ( + + )} + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/CerebrasProvider.tsx b/webview-ui/src/components/settings/providers/CerebrasProvider.tsx new file mode 100644 index 00000000..4511fe42 --- /dev/null +++ b/webview-ui/src/components/settings/providers/CerebrasProvider.tsx @@ -0,0 +1,50 @@ +import { cerebrasModels } from "@shared/api" +import { ApiKeyField } from "../common/ApiKeyField" +import { ModelSelector } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the CerebrasProvider component + */ +interface CerebrasProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Cerebras provider configuration component + */ +export const CerebrasProvider = ({ showModelOptions, isPopup }: CerebrasProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + return ( +
+ handleFieldChange("cerebrasApiKey", value)} + providerName="Cerebras" + signupUrl="https://cloud.cerebras.ai/" + /> + + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + /> + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/ClaudeCodeProvider.tsx b/webview-ui/src/components/settings/providers/ClaudeCodeProvider.tsx new file mode 100644 index 00000000..3017fd06 --- /dev/null +++ b/webview-ui/src/components/settings/providers/ClaudeCodeProvider.tsx @@ -0,0 +1,67 @@ +import { claudeCodeModels } from "@shared/api" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { ModelSelector } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { SUPPORTED_ANTHROPIC_THINKING_MODELS } from "./AnthropicProvider" +import ThinkingBudgetSlider from "../ThinkingBudgetSlider" + +/** + * Props for the ClaudeCodeProvider component + */ +interface ClaudeCodeProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Claude Code provider configuration component + */ +export const ClaudeCodeProvider = ({ showModelOptions, isPopup }: ClaudeCodeProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + return ( +
+ handleFieldChange("claudeCodePath", value)} + style={{ width: "100%", marginTop: 3 }} + type="text" + placeholder="Default: claude"> + Claude Code CLI Path + + +

+ Path to the Claude Code CLI. +

+ + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + /> + + {SUPPORTED_ANTHROPIC_THINKING_MODELS.includes(selectedModelId) && ( + + )} + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/ClineProvider.tsx b/webview-ui/src/components/settings/providers/ClineProvider.tsx new file mode 100644 index 00000000..d922b94c --- /dev/null +++ b/webview-ui/src/components/settings/providers/ClineProvider.tsx @@ -0,0 +1,84 @@ +import { ApiConfiguration } from "@shared/api" +import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { useState } from "react" +import { ClineAccountInfoCard } from "../ClineAccountInfoCard" +import OpenRouterModelPicker, { OPENROUTER_MODEL_PICKER_Z_INDEX } from "../OpenRouterModelPicker" +import { DropdownContainer } from "../common/ModelSelector" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the ClineProvider component + */ +interface ClineProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Cline provider configuration component + */ +export const ClineProvider = ({ showModelOptions, isPopup }: ClineProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + const [providerSortingSelected, setProviderSortingSelected] = useState(!!apiConfiguration?.openRouterProviderSorting) + + return ( +
+ {/* Cline Account Info Card */} +
+ +
+ + {showModelOptions && ( + <> + {/* Provider Sorting Options */} + { + const isChecked = e.target.checked === true + setProviderSortingSelected(isChecked) + if (!isChecked) { + handleFieldChange("openRouterProviderSorting", "") + } + }}> + 排序底层供应商 + + + {providerSortingSelected && ( +
+ + { + handleFieldChange("openRouterProviderSorting", e.target.value) + }}> + 默认 + 价格 + 吞吐量 + 响应时间 + + +

+ {!apiConfiguration?.openRouterProviderSorting && + "默认行为是跨提供商(如 AWS、Google Vertex、Anthropic)对请求进行负载平衡,优先考虑价格,同时考虑提供商的正常运行时间"} + {apiConfiguration?.openRouterProviderSorting === "price" && + "按价格对供应商进行排序,优先选择成本最低的供应商"} + {apiConfiguration?.openRouterProviderSorting === "throughput" && + "按吞吐量对提供商进行排序,优先考虑吞吐量最高的提供商(可能会增加成本)"} + {apiConfiguration?.openRouterProviderSorting === "latency" && + "按响应时间对提供商进行排序,优先选择延迟最低的提供商"} +

+
+ )} + + {/* OpenRouter Model Picker */} + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/DeepSeekProvider.tsx b/webview-ui/src/components/settings/providers/DeepSeekProvider.tsx index cf56810a..81da326a 100644 --- a/webview-ui/src/components/settings/providers/DeepSeekProvider.tsx +++ b/webview-ui/src/components/settings/providers/DeepSeekProvider.tsx @@ -3,13 +3,13 @@ import { ApiKeyField } from "../common/ApiKeyField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" /** * Props for the DeepSeekProvider component */ interface DeepSeekProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -17,15 +17,18 @@ interface DeepSeekProviderProps { /** * The DeepSeek provider configuration component */ -export const DeepSeekProvider = ({ apiConfiguration, handleInputChange, showModelOptions, isPopup }: DeepSeekProviderProps) => { +export const DeepSeekProvider = ({ showModelOptions, isPopup }: DeepSeekProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) return (
handleFieldChange("deepSeekApiKey", value)} providerName="DeepSeek" signupUrl="https://www.deepseek.com/" /> @@ -35,7 +38,7 @@ export const DeepSeekProvider = ({ apiConfiguration, handleInputChange, showMode handleFieldChange("apiModelId", e.target.value)} label="Model" /> diff --git a/webview-ui/src/components/settings/providers/DoubaoProvider.tsx b/webview-ui/src/components/settings/providers/DoubaoProvider.tsx new file mode 100644 index 00000000..f6a32126 --- /dev/null +++ b/webview-ui/src/components/settings/providers/DoubaoProvider.tsx @@ -0,0 +1,50 @@ +import { ApiConfiguration, doubaoModels } from "@shared/api" +import { ApiKeyField } from "../common/ApiKeyField" +import { ModelSelector } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" + +/** + * Props for the DoubaoProvider component + */ +interface DoubaoProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The ByteDance Doubao provider configuration component + */ +export const DoubaoProvider = ({ showModelOptions, isPopup }: DoubaoProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + return ( +
+ handleFieldChange("doubaoApiKey", value)} + providerName="Doubao" + signupUrl="https://console.volcengine.com/home" + /> + + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + /> + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/FireworksProvider.tsx b/webview-ui/src/components/settings/providers/FireworksProvider.tsx new file mode 100644 index 00000000..5ba3c761 --- /dev/null +++ b/webview-ui/src/components/settings/providers/FireworksProvider.tsx @@ -0,0 +1,81 @@ +import { ApiKeyField } from "../common/ApiKeyField" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { ApiConfiguration } from "@shared/api" + +/** + * Props for the FireworksProvider component + */ +interface FireworksProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Fireworks provider configuration component + */ +export const FireworksProvider = ({ showModelOptions, isPopup }: FireworksProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Handler for number input fields with validation + const handleNumberInputChange = (field: keyof ApiConfiguration, value: string) => { + if (!value) { + return + } + const num = parseInt(value, 10) + if (isNaN(num)) { + return + } + handleFieldChange(field, num) + } + + return ( +
+ handleFieldChange("fireworksApiKey", value)} + providerName="Fireworks" + signupUrl="https://fireworks.ai/settings/users/api-keys" + /> + + {showModelOptions && ( + <> + handleFieldChange("fireworksModelId", value)} + style={{ width: "100%" }} + placeholder={"Enter Model ID..."}> + 模型 ID + +

+ + (注意: Cline 使用复杂的提示,与 Claude + 模型配合使用效果最佳。性能较差的模型可能无法达到预期效果。) + +

+ handleNumberInputChange("fireworksModelMaxCompletionTokens", value)} + style={{ width: "100%", marginBottom: 8 }} + placeholder={"2000"}> + 最大输出 Tokens + + handleNumberInputChange("fireworksModelMaxTokens", value)} + style={{ width: "100%", marginBottom: 8 }} + placeholder={"4000"}> + 最大输入 Tokens + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/GeminiCliProvider.tsx b/webview-ui/src/components/settings/providers/GeminiCliProvider.tsx deleted file mode 100644 index c1346c01..00000000 --- a/webview-ui/src/components/settings/providers/GeminiCliProvider.tsx +++ /dev/null @@ -1,169 +0,0 @@ -/** - * Gemini CLI Provider Component - * - * This component integrates with Google's Gemini CLI tool for OAuth authentication. - * - * Attribution: This implementation is inspired by and uses concepts from the Google Gemini CLI, - * which is licensed under the Apache License 2.0. - * Original project: https://github.com/google-gemini/gemini-cli - * - * Copyright 2025 Google LLC - * Licensed under the Apache License, Version 2.0 - */ - -import { ApiConfiguration, geminiCliModels } from "@shared/api" -import { VSCodeLink, VSCodeTextField } from "@vscode/webview-ui-toolkit/react" -import { memo } from "react" -import { ModelSelector } from "../common/ModelSelector" -import { ModelInfoView } from "../common/ModelInfoView" -import { normalizeApiConfiguration } from "../utils/providerUtils" - -interface GeminiCliProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void - showModelOptions: boolean - isPopup?: boolean -} - -const GeminiCliProvider = ({ apiConfiguration, handleInputChange, showModelOptions, isPopup }: GeminiCliProviderProps) => { - // Get the normalized configuration - const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) - return ( -
- - OAuth Credentials Path (optional) - -

- Path to the OAuth credentials file. Leave empty to use the default location (~/.gemini/oauth_creds.json). -

- - {apiConfiguration?.geminiCliProjectId && ( - <> - - Discovered Project ID - -

- This project ID was automatically discovered from your OAuth credentials. -

- - )} - -

- This provider uses OAuth authentication from the Gemini CLI tool and does not require API keys. If you haven't - authenticated yet, please run{" "} - - gemini - {" "} - in your terminal first. -
- - Gemini CLI Setup Instructions - -

- - {showModelOptions && ( - <> - - - - - )} - -
-
- - - Important Requirements - -
-

- • First, you need to install the Gemini CLI tool -
• Then, run gemini in your terminal and make sure you{" "} - Log in with Google -
• Only works with personal Google accounts (not Google Workspace accounts) -
- • Does not use API keys - authentication is handled via OAuth -
• Requires the Gemini CLI tool to be installed and authenticated first -

-
- -

- ✓ Free tier access via OAuth authentication -

-
- ) -} - -export default memo(GeminiCliProvider) diff --git a/webview-ui/src/components/settings/providers/GeminiProvider.tsx b/webview-ui/src/components/settings/providers/GeminiProvider.tsx index 9889ed9a..2644e275 100644 --- a/webview-ui/src/components/settings/providers/GeminiProvider.tsx +++ b/webview-ui/src/components/settings/providers/GeminiProvider.tsx @@ -1,10 +1,12 @@ -import { ApiConfiguration, geminiModels } from "@shared/api" +import { geminiModels } from "@shared/api" import { ApiKeyField } from "../common/ApiKeyField" import { BaseUrlField } from "../common/BaseUrlField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" import ThinkingBudgetSlider from "../ThinkingBudgetSlider" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" // Gemini models that support thinking/reasoning mode const SUPPORTED_THINKING_MODELS = ["gemini-2.5-pro", "gemini-2.5-flash"] @@ -13,45 +15,34 @@ const SUPPORTED_THINKING_MODELS = ["gemini-2.5-pro", "gemini-2.5-flash"] * Props for the GeminiProvider component */ interface GeminiProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean - setApiConfiguration?: (config: ApiConfiguration) => void } /** * The Gemini provider configuration component */ -export const GeminiProvider = ({ - apiConfiguration, - handleInputChange, - showModelOptions, - isPopup, - setApiConfiguration, -}: GeminiProviderProps) => { +export const GeminiProvider = ({ showModelOptions, isPopup }: GeminiProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) - // Create a wrapper for handling field changes more directly - const handleFieldChange = (field: keyof ApiConfiguration) => (value: string) => { - handleInputChange(field)({ target: { value } }) - } - return (
handleFieldChange("geminiApiKey", value)} providerName="Gemini" signupUrl="https://aistudio.google.com/apikey" /> handleFieldChange("geminiBaseUrl", value)} placeholder="Default: https://generativelanguage.googleapis.com" - label="Use custom base URL" + label="自定义 URL" /> {showModelOptions && ( @@ -59,16 +50,12 @@ export const GeminiProvider = ({ handleFieldChange("apiModelId", e.target.value)} label="Model" /> - {SUPPORTED_THINKING_MODELS.includes(selectedModelId) && setApiConfiguration && ( - + {SUPPORTED_THINKING_MODELS.includes(selectedModelId) && ( + )} diff --git a/webview-ui/src/components/settings/providers/LMStudioProvider.tsx b/webview-ui/src/components/settings/providers/LMStudioProvider.tsx new file mode 100644 index 00000000..c7314e8e --- /dev/null +++ b/webview-ui/src/components/settings/providers/LMStudioProvider.tsx @@ -0,0 +1,110 @@ +import { VSCodeRadioGroup, VSCodeRadio, VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { useState, useCallback, useEffect } from "react" +import { useInterval } from "react-use" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { ModelsServiceClient } from "@/services/grpc-client" +import { StringRequest } from "@shared/proto/common" +import { BaseUrlField } from "../common/BaseUrlField" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the LMStudioProvider component + */ +interface LMStudioProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The LM Studio provider configuration component + */ +export const LMStudioProvider = ({ showModelOptions, isPopup }: LMStudioProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + const [lmStudioModels, setLmStudioModels] = useState([]) + + // Poll LM Studio models + const requestLmStudioModels = useCallback(async () => { + try { + const response = await ModelsServiceClient.getLmStudioModels( + StringRequest.create({ + value: apiConfiguration?.lmStudioBaseUrl || "", + }), + ) + if (response && response.values) { + setLmStudioModels(response.values) + } + } catch (error) { + console.error("Failed to fetch LM Studio models:", error) + setLmStudioModels([]) + } + }, [apiConfiguration?.lmStudioBaseUrl]) + + useEffect(() => { + requestLmStudioModels() + }, [requestLmStudioModels]) + + useInterval(requestLmStudioModels, 2000) + + return ( +
+ handleFieldChange("lmStudioBaseUrl", value)} + placeholder="Default: http://localhost:1234" + label="自定义 URL" + /> + + handleFieldChange("lmStudioModelId", value)} + style={{ width: "100%" }} + placeholder={"e.g. meta-llama-3.1-8b-instruct"}> + 模型 ID + + + {lmStudioModels.length > 0 && ( + { + const value = (e.target as HTMLInputElement)?.value + // need to check value first since radio group returns empty string sometimes + if (value) { + handleFieldChange("lmStudioModelId", value) + } + }}> + {lmStudioModels.map((model) => ( + + {model} + + ))} + + )} + +

+ LM Studio 帮助您在计算机上本地运行模型。有关如何开始使用的说明,请参阅其 + + 快速入门指南. + + 您还需要启动 LM Studio 的{" "} + + 本地服务 + {" "} + 功能以与此扩展一起使用.{" "} + + (注意: Cline 使用复杂的提示,与 Claude + 模型配合使用效果最佳。性能较差的模型可能无法达到预期效果。) + +

+
+ ) +} diff --git a/webview-ui/src/components/settings/providers/LiteLlmProvider.tsx b/webview-ui/src/components/settings/providers/LiteLlmProvider.tsx new file mode 100644 index 00000000..616000c6 --- /dev/null +++ b/webview-ui/src/components/settings/providers/LiteLlmProvider.tsx @@ -0,0 +1,211 @@ +import { useState } from "react" +import { liteLlmModelInfoSaneDefaults } from "@shared/api" +import { VSCodeCheckbox, VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { getAsVar, VSC_DESCRIPTION_FOREGROUND } from "@/utils/vscStyles" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { ModelInfoView } from "../common/ModelInfoView" +import ThinkingBudgetSlider from "../ThinkingBudgetSlider" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the LiteLlmProvider component + */ +interface LiteLlmProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The LiteLLM provider configuration component + */ +export const LiteLlmProvider = ({ showModelOptions, isPopup }: LiteLlmProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + // Local state for collapsible model configuration section + const [modelConfigurationSelected, setModelConfigurationSelected] = useState(false) + + return ( +
+ handleFieldChange("liteLlmBaseUrl", value)} + style={{ width: "100%" }} + type="url" + placeholder={"Default: http://localhost:4000"}> + Base URL (optional) + + handleFieldChange("liteLlmApiKey", value)} + style={{ width: "100%" }} + type="password" + placeholder="Default: noop"> + API Key + + handleFieldChange("liteLlmModelId", value)} + style={{ width: "100%" }} + placeholder={"e.g. anthropic/claude-sonnet-4-20250514"}> + Model ID + + +
+ {selectedModelInfo.supportsPromptCache && ( + <> + { + const isChecked = e.target.checked === true + + handleFieldChange("liteLlmUsePromptCache", isChecked) + }} + style={{ fontWeight: 500, color: "var(--vscode-charts-green)" }}> + 使用提示词缓存 (GA) + +

+ 提示词缓存功能需要供应商支持 +

+ + )} +
+ + <> + +

+ 扩展思维可用于 Sonnet-4、o3-mini、Deepseek R1 等模型。更多信息{" "} + + 思考模式配置 + +

+ + +
setModelConfigurationSelected((val) => !val)}> + + + 模型配置 + +
+ {modelConfigurationSelected && ( + <> + { + const isChecked = e.target.checked === true + const modelInfo = apiConfiguration?.liteLlmModelInfo + ? apiConfiguration.liteLlmModelInfo + : { ...liteLlmModelInfoSaneDefaults } + modelInfo.supportsImages = isChecked + + handleFieldChange("liteLlmModelInfo", modelInfo) + }}> + 支持图片 + +
+ { + const modelInfo = apiConfiguration?.liteLlmModelInfo + ? apiConfiguration.liteLlmModelInfo + : { ...liteLlmModelInfoSaneDefaults } + modelInfo.contextWindow = Number(value) + + handleFieldChange("liteLlmModelInfo", modelInfo) + }}> + 最大输入 + + { + const modelInfo = apiConfiguration?.liteLlmModelInfo + ? apiConfiguration.liteLlmModelInfo + : { ...liteLlmModelInfoSaneDefaults } + modelInfo.maxTokens = Number(value) + + handleFieldChange("liteLlmModelInfo", modelInfo) + }}> + 最大输出 + +
+
+ { + const modelInfo = apiConfiguration?.liteLlmModelInfo + ? apiConfiguration.liteLlmModelInfo + : { ...liteLlmModelInfoSaneDefaults } + + // Check if the input ends with a decimal point or has trailing zeros after decimal + const shouldPreserveFormat = value.endsWith(".") || (value.includes(".") && value.endsWith("0")) + + modelInfo.temperature = + value === "" ? liteLlmModelInfoSaneDefaults.temperature : parseFloat(value) + + handleFieldChange("liteLlmModelInfo", modelInfo) + }}> + 温度 + +
+ + )} +

+ LiteLLM 提供统一的接口,方便访问各种 LLM 提供商的模型。请参阅他们的{" "} + + 快速入门指南 + {" "} +

+ + {showModelOptions && ( + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/MistralProvider.tsx b/webview-ui/src/components/settings/providers/MistralProvider.tsx index d0141e10..cee486eb 100644 --- a/webview-ui/src/components/settings/providers/MistralProvider.tsx +++ b/webview-ui/src/components/settings/providers/MistralProvider.tsx @@ -3,13 +3,13 @@ import { ApiKeyField } from "../common/ApiKeyField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Props for the MistralProvider component */ interface MistralProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -17,15 +17,18 @@ interface MistralProviderProps { /** * The Mistral provider configuration component */ -export const MistralProvider = ({ apiConfiguration, handleInputChange, showModelOptions, isPopup }: MistralProviderProps) => { +export const MistralProvider = ({ showModelOptions, isPopup }: MistralProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) return (
handleFieldChange("mistralApiKey", value)} providerName="Mistral" signupUrl="https://console.mistral.ai/codestral" /> @@ -35,7 +38,7 @@ export const MistralProvider = ({ apiConfiguration, handleInputChange, showModel handleFieldChange("apiModelId", e.target.value)} label="Model" /> diff --git a/webview-ui/src/components/settings/providers/NebiusProvider.tsx b/webview-ui/src/components/settings/providers/NebiusProvider.tsx new file mode 100644 index 00000000..e67cbb29 --- /dev/null +++ b/webview-ui/src/components/settings/providers/NebiusProvider.tsx @@ -0,0 +1,51 @@ +import { nebiusModels } from "@shared/api" +import { ApiKeyField } from "../common/ApiKeyField" +import { ModelSelector } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the NebiusProvider component + */ +interface NebiusProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Nebius AI Studio provider configuration component + */ +export const NebiusProvider = ({ showModelOptions, isPopup }: NebiusProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + return ( +
+ handleFieldChange("nebiusApiKey", value)} + providerName="Nebius" + signupUrl="https://studio.nebius.com/settings/api-keys" + helpText="此密钥存储在本地,仅用于从此扩展发出 API 请求。. (注意:Cline 使用复杂的提示,并且与 Claude 模型配合使用效果最佳。性能较差的模型可能无法达到预期效果。)" + /> + + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + /> + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/OllamaProvider.tsx b/webview-ui/src/components/settings/providers/OllamaProvider.tsx new file mode 100644 index 00000000..524dc0ef --- /dev/null +++ b/webview-ui/src/components/settings/providers/OllamaProvider.tsx @@ -0,0 +1,136 @@ +import { VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { useState, useCallback, useEffect } from "react" +import { useInterval } from "react-use" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { ModelsServiceClient } from "@/services/grpc-client" +import { StringRequest } from "@shared/proto/common" +import OllamaModelPicker from "../OllamaModelPicker" +import { BaseUrlField } from "../common/BaseUrlField" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" + +/** + * Props for the OllamaProvider component + */ +interface OllamaProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Ollama provider configuration component + */ +export const OllamaProvider = ({ showModelOptions, isPopup }: OllamaProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + const [ollamaModels, setOllamaModels] = useState([]) + + // Poll ollama models + const requestOllamaModels = useCallback(async () => { + try { + const response = await ModelsServiceClient.getOllamaModels( + StringRequest.create({ + value: apiConfiguration?.ollamaBaseUrl || "", + }), + ) + if (response && response.values) { + setOllamaModels(response.values) + } + } catch (error) { + console.error("Failed to fetch Ollama models:", error) + setOllamaModels([]) + } + }, [apiConfiguration?.ollamaBaseUrl]) + + useEffect(() => { + requestOllamaModels() + }, [requestOllamaModels]) + + useInterval(requestOllamaModels, 2000) + + return ( +
+ handleFieldChange("ollamaBaseUrl", value)} + placeholder="Default: http://localhost:11434" + label="Use custom base URL" + /> + + {/* Model selection - use filterable picker */} + + { + handleFieldChange("ollamaModelId", modelId) + }} + placeholder={ollamaModels.length > 0 ? "Search and select a model..." : "e.g. llama3.1"} + /> + + {/* Show status message based on model availability */} + {ollamaModels.length === 0 && ( +

+ Unable to fetch models from Ollama server. Please ensure Ollama is running and accessible, or enter the model + ID manually above. +

+ )} + + handleFieldChange("ollamaApiOptionsCtxNum", value)} + style={{ width: "100%" }} + placeholder={"e.g. 32768"}> + Model Context Window + + + {showModelOptions && ( + <> + { + // Convert to number, with validation + const numValue = parseInt(value, 10) + if (!isNaN(numValue) && numValue > 0) { + handleFieldChange("requestTimeoutMs", numValue) + } + }} + style={{ width: "100%" }} + placeholder="Default: 30000 (30 seconds)"> + Request Timeout (ms) + +

+ Maximum time in milliseconds to wait for API responses before timing out. +

+ + )} + +

+ Ollama allows you to run models locally on your computer. For instructions on how to get started, see their{" "} + + quickstart guide. + {" "} + + (Note: Cline uses complex prompts and works best with Claude models. + Less capable models may not work as expected.) + +

+
+ ) +} diff --git a/webview-ui/src/components/settings/providers/OpenAICompatible.tsx b/webview-ui/src/components/settings/providers/OpenAICompatible.tsx index 55c125b4..72d2cb88 100644 --- a/webview-ui/src/components/settings/providers/OpenAICompatible.tsx +++ b/webview-ui/src/components/settings/providers/OpenAICompatible.tsx @@ -2,19 +2,20 @@ import { ApiConfiguration, azureOpenAiDefaultApiVersion, openAiModelInfoSaneDefa import { OpenAiModelsRequest } from "@shared/proto/models" import { ModelsServiceClient } from "@/services/grpc-client" import { getAsVar, VSC_DESCRIPTION_FOREGROUND } from "@/utils/vscStyles" -import { VSCodeTextField, VSCodeButton, VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react" +import { VSCodeButton, VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react" import { useCallback, useEffect, useRef, useState } from "react" +import { DebouncedTextField } from "../common/DebouncedTextField" import { ModelInfoView } from "../common/ModelInfoView" import { ApiKeyField } from "../common/ApiKeyField" import { BaseUrlField } from "../common/BaseUrlField" import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Props for the OpenAICompatibleProvider component */ interface OpenAICompatibleProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -22,12 +23,10 @@ interface OpenAICompatibleProviderProps { /** * The OpenAI Compatible provider configuration component */ -export const OpenAICompatibleProvider = ({ - apiConfiguration, - handleInputChange, - showModelOptions, - isPopup, -}: OpenAICompatibleProviderProps) => { +export const OpenAICompatibleProvider = ({ showModelOptions, isPopup }: OpenAICompatibleProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + const [modelConfigurationSelected, setModelConfigurationSelected] = useState(false) // Get the normalized configuration @@ -65,38 +64,34 @@ export const OpenAICompatibleProvider = ({ return (
- { + handleFieldChange("openAiBaseUrl", value) + debouncedRefreshOpenAiModels(value, apiConfiguration?.openAiApiKey) + }} style={{ width: "100%", marginBottom: 10 }} type="url" - onInput={(e: any) => { - const baseUrl = e.target.value - handleInputChange("openAiBaseUrl")({ target: { value: baseUrl } }) - - debouncedRefreshOpenAiModels(baseUrl, apiConfiguration?.openAiApiKey) - }} placeholder={"Enter base URL..."}> Base URL - + { - const apiKey = e.target.value - handleInputChange("openAiApiKey")({ target: { value: apiKey } }) - - debouncedRefreshOpenAiModels(apiConfiguration?.openAiBaseUrl, apiKey) + initialValue={apiConfiguration?.openAiApiKey || ""} + onChange={(value) => { + handleFieldChange("openAiApiKey", value) + debouncedRefreshOpenAiModels(apiConfiguration?.openAiBaseUrl, value) }} - providerName="OpenAI Compatible" + providerName="OpenAI 兼容" /> - handleFieldChange("openAiModelId", value)} style={{ width: "100%", marginBottom: 10 }} - onInput={handleInputChange("openAiModelId")} - placeholder={"Enter Model ID..."}> - Model ID - + placeholder={"输入模型 ID..."}> + 模型 ID + {/* OpenAI Compatible Custom Headers */} {(() => { @@ -104,57 +99,44 @@ export const OpenAICompatibleProvider = ({ return (
- Custom Headers + 自定义 Headers { const currentHeaders = { ...(apiConfiguration?.openAiHeaders || {}) } const headerCount = Object.keys(currentHeaders).length const newKey = `header${headerCount + 1}` currentHeaders[newKey] = "" - handleInputChange("openAiHeaders")({ - target: { - value: currentHeaders, - }, - }) + handleFieldChange("openAiHeaders", currentHeaders) }}> - Add Header + 添加 HTTP Haeder
{headerEntries.map(([key, value], index) => (
- { + onChange={(newValue) => { const currentHeaders = apiConfiguration?.openAiHeaders ?? {} - const newValue = e.target.value if (newValue && newValue !== key) { const { [key]: _, ...rest } = currentHeaders - handleInputChange("openAiHeaders")({ - target: { - value: { - ...rest, - [newValue]: value, - }, - }, + handleFieldChange("openAiHeaders", { + ...rest, + [newValue]: value, }) } }} /> - { - handleInputChange("openAiHeaders")({ - target: { - value: { - ...(apiConfiguration?.openAiHeaders ?? {}), - [key]: e.target.value, - }, - }, + onChange={(newValue) => { + handleFieldChange("openAiHeaders", { + ...(apiConfiguration?.openAiHeaders ?? {}), + [key]: newValue, }) }} /> @@ -162,13 +144,9 @@ export const OpenAICompatibleProvider = ({ appearance="secondary" onClick={() => { const { [key]: _, ...rest } = apiConfiguration?.openAiHeaders ?? {} - handleInputChange("openAiHeaders")({ - target: { - value: rest, - }, - }) + handleFieldChange("openAiHeaders", rest) }}> - Remove + 移除
))} @@ -178,8 +156,8 @@ export const OpenAICompatibleProvider = ({ })()} handleInputChange("azureApiVersion")({ target: { value } })} + initialValue={apiConfiguration?.azureApiVersion} + onChange={(value) => handleFieldChange("azureApiVersion", value)} label="Set Azure API version" placeholder={`Default: ${azureOpenAiDefaultApiVersion}`} /> @@ -203,7 +181,7 @@ export const OpenAICompatibleProvider = ({ fontWeight: 700, textTransform: "uppercase", }}> - Model Configuration + 模型配置
@@ -217,11 +195,9 @@ export const OpenAICompatibleProvider = ({ ? apiConfiguration.openAiModelInfo : { ...openAiModelInfoSaneDefaults } modelInfo.supportsImages = isChecked - handleInputChange("openAiModelInfo")({ - target: { value: modelInfo }, - }) + handleFieldChange("openAiModelInfo", modelInfo) }}> - Supports Images + 支持图片 - Supports browser use + 支持浏览器使用 - Enable R1 messages format + 启用 R1 输出格式
- { + onChange={(value) => { const modelInfo = apiConfiguration?.openAiModelInfo ? apiConfiguration.openAiModelInfo : { ...openAiModelInfoSaneDefaults } - modelInfo.contextWindow = Number(input.target.value) - handleInputChange("openAiModelInfo")({ - target: { value: modelInfo }, - }) + modelInfo.contextWindow = Number(value) + handleFieldChange("openAiModelInfo", modelInfo) }}> - Context Window Size - + 最大输入 + - { + onChange={(value) => { const modelInfo = apiConfiguration?.openAiModelInfo ? apiConfiguration.openAiModelInfo : { ...openAiModelInfoSaneDefaults } - modelInfo.maxTokens = input.target.value - handleInputChange("openAiModelInfo")({ - target: { value: modelInfo }, - }) + modelInfo.maxTokens = Number(value) + handleFieldChange("openAiModelInfo", modelInfo) }}> - Max Output Tokens - + 最大输出 Tokens +
- { + onChange={(value) => { const modelInfo = apiConfiguration?.openAiModelInfo ? apiConfiguration.openAiModelInfo : { ...openAiModelInfoSaneDefaults } - modelInfo.inputPrice = input.target.value - handleInputChange("openAiModelInfo")({ - target: { value: modelInfo }, - }) + modelInfo.inputPrice = Number(value) + handleFieldChange("openAiModelInfo", modelInfo) }}> - Input Price / 1M tokens - + 输入价格 / 1M tokens + - { + onChange={(value) => { const modelInfo = apiConfiguration?.openAiModelInfo ? apiConfiguration.openAiModelInfo : { ...openAiModelInfoSaneDefaults } - modelInfo.outputPrice = input.target.value - handleInputChange("openAiModelInfo")({ - target: { value: modelInfo }, - }) + modelInfo.outputPrice = Number(value) + handleFieldChange("openAiModelInfo", modelInfo) }}> - Output Price / 1M tokens - + 输出价格 / 1M tokens +
- { + onChange={(value) => { const modelInfo = apiConfiguration?.openAiModelInfo ? apiConfiguration.openAiModelInfo : { ...openAiModelInfoSaneDefaults } - // Check if the input ends with a decimal point or has trailing zeros after decimal - const value = input.target.value const shouldPreserveFormat = value.endsWith(".") || (value.includes(".") && value.endsWith("0")) modelInfo.temperature = value === "" ? openAiModelInfoSaneDefaults.temperature : shouldPreserveFormat - ? value // Keep as string to preserve decimal format + ? (value as any) : parseFloat(value) - handleInputChange("openAiModelInfo")({ - target: { value: modelInfo }, - }) + handleFieldChange("openAiModelInfo", modelInfo) }}> - Temperature - + 温度 +
)} @@ -375,8 +335,8 @@ export const OpenAICompatibleProvider = ({ color: "var(--vscode-descriptionForeground)", }}> - (Note: Cline uses complex prompts and works best with Claude models. - Less capable models may not work as expected.) + (注意: Cline 使用复杂的提示,与 Claude + 模型配合使用效果最佳。性能较差的模型可能无法达到预期效果。)

diff --git a/webview-ui/src/components/settings/providers/OpenAINative.tsx b/webview-ui/src/components/settings/providers/OpenAINative.tsx index 795e93c4..4976ca0f 100644 --- a/webview-ui/src/components/settings/providers/OpenAINative.tsx +++ b/webview-ui/src/components/settings/providers/OpenAINative.tsx @@ -3,13 +3,13 @@ import { ApiKeyField } from "../common/ApiKeyField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Props for the OpenAINativeProvider component */ interface OpenAINativeProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -17,20 +17,18 @@ interface OpenAINativeProviderProps { /** * The OpenAI (native) provider configuration component */ -export const OpenAINativeProvider = ({ - apiConfiguration, - handleInputChange, - showModelOptions, - isPopup, -}: OpenAINativeProviderProps) => { +export const OpenAINativeProvider = ({ showModelOptions, isPopup }: OpenAINativeProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) return (
handleFieldChange("openAiNativeApiKey", value)} providerName="OpenAI" signupUrl="https://platform.openai.com/api-keys" /> @@ -40,7 +38,7 @@ export const OpenAINativeProvider = ({ handleFieldChange("apiModelId", e.target.value)} label="Model" /> diff --git a/webview-ui/src/components/settings/providers/OpenRouterProvider.tsx b/webview-ui/src/components/settings/providers/OpenRouterProvider.tsx index 616e2470..34953566 100644 --- a/webview-ui/src/components/settings/providers/OpenRouterProvider.tsx +++ b/webview-ui/src/components/settings/providers/OpenRouterProvider.tsx @@ -1,5 +1,6 @@ import { ApiConfiguration } from "@shared/api" -import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption, VSCodeLink, VSCodeTextField } from "@vscode/webview-ui-toolkit/react" +import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption, VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { DebouncedTextField } from "../common/DebouncedTextField" import { DropdownContainer } from "../common/ModelSelector" import { useState } from "react" import { getOpenRouterAuthUrl } from "../utils/providerUtils" @@ -7,6 +8,8 @@ import { useOpenRouterKeyInfo } from "../../ui/hooks/useOpenRouterKeyInfo" import VSCodeButtonLink from "../../common/VSCodeButtonLink" import OpenRouterModelPicker, { OPENROUTER_MODEL_PICKER_Z_INDEX } from "../OpenRouterModelPicker" import { formatPrice } from "../utils/pricingUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Component to display OpenRouter balance information @@ -15,7 +18,7 @@ const OpenRouterBalanceDisplay = ({ apiKey }: { apiKey: string }) => { const { data: keyInfo, isLoading, error } = useOpenRouterKeyInfo(apiKey) if (isLoading) { - return Loading... + return 加载中... } if (error || !keyInfo || keyInfo.limit === null) { @@ -39,7 +42,7 @@ const OpenRouterBalanceDisplay = ({ apiKey }: { apiKey: string }) => { paddingLeft: 4, cursor: "pointer", }}> - Balance: {formattedBalance} + 余额: {formattedBalance} ) } @@ -48,8 +51,6 @@ const OpenRouterBalanceDisplay = ({ apiKey }: { apiKey: string }) => { * Props for the OpenRouterProvider component */ interface OpenRouterProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean uriScheme?: string @@ -58,28 +59,20 @@ interface OpenRouterProviderProps { /** * The OpenRouter provider configuration component */ -export const OpenRouterProvider = ({ - apiConfiguration, - handleInputChange, - showModelOptions, - isPopup, - uriScheme, -}: OpenRouterProviderProps) => { - const [providerSortingSelected, setProviderSortingSelected] = useState(!!apiConfiguration?.openRouterProviderSorting) +export const OpenRouterProvider = ({ showModelOptions, isPopup, uriScheme }: OpenRouterProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() - // Create a wrapper for handling field changes more directly - const handleFieldChange = (field: keyof ApiConfiguration) => (value: any) => { - handleInputChange(field)({ target: { value } }) - } + const [providerSortingSelected, setProviderSortingSelected] = useState(!!apiConfiguration?.openRouterProviderSorting) return (
- handleFieldChange("openRouterApiKey", value)} style={{ width: "100%" }} type="password" - onInput={handleInputChange("openRouterApiKey")} placeholder="Enter API Key...">
OpenRouter API Key @@ -87,13 +80,13 @@ export const OpenRouterProvider = ({ )}
-
+ {!apiConfiguration?.openRouterApiKey && ( - Get OpenRouter API Key + 获取 OpenRouter API Key )}

- This key is stored locally and only used to make API requests from this extension. + 此密钥存储在本地,仅用于从此扩展发出 API 请求。

@@ -115,10 +108,10 @@ export const OpenRouterProvider = ({ const isChecked = e.target.checked === true setProviderSortingSelected(isChecked) if (!isChecked) { - handleFieldChange("openRouterProviderSorting")("") + handleFieldChange("openRouterProviderSorting", "") } }}> - Sort underlying provider routing + 对底层提供商路由进行排序 {providerSortingSelected && ( @@ -128,23 +121,23 @@ export const OpenRouterProvider = ({ style={{ width: "100%", marginTop: 3 }} value={apiConfiguration?.openRouterProviderSorting} onChange={(e: any) => { - handleFieldChange("openRouterProviderSorting")(e.target.value) + handleFieldChange("openRouterProviderSorting", e.target.value) }}> - Default - Price - Throughput - Latency + 默认 + 价格 + 吞吐量 + 响应时间

{!apiConfiguration?.openRouterProviderSorting && - "Default behavior is to load balance requests across providers (like AWS, Google Vertex, Anthropic), prioritizing price while considering provider uptime"} + "默认行为是跨提供商(如 AWS、Google Vertex、Anthropic)对请求进行负载平衡,优先考虑价格,同时考虑提供商的正常运行时间"} {apiConfiguration?.openRouterProviderSorting === "price" && - "Sort providers by price, prioritizing the lowest cost provider"} + "按价格对供应商进行排序,优先选择成本最低的供应商"} {apiConfiguration?.openRouterProviderSorting === "throughput" && - "Sort providers by throughput, prioritizing the provider with the highest throughput (may increase cost)"} + "按吞吐量对提供商进行排序,优先考虑吞吐量最高的提供商(可能会增加成本)"} {apiConfiguration?.openRouterProviderSorting === "latency" && - "Sort providers by response time, prioritizing the provider with the lowest latency"} + "按响应时间对提供商进行排序,优先选择延迟最低的提供商"}

)} diff --git a/webview-ui/src/components/settings/providers/QwenProvider.tsx b/webview-ui/src/components/settings/providers/QwenProvider.tsx new file mode 100644 index 00000000..04cf4774 --- /dev/null +++ b/webview-ui/src/components/settings/providers/QwenProvider.tsx @@ -0,0 +1,100 @@ +import { ApiConfiguration, internationalQwenModels, mainlandQwenModels } from "@shared/api" +import { VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { ApiKeyField } from "../common/ApiKeyField" +import { ModelSelector, DropdownContainer } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import ThinkingBudgetSlider from "../ThinkingBudgetSlider" +import { DROPDOWN_Z_INDEX } from "../ApiOptions" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" + +const SUPPORTED_THINKING_MODELS = [ + "qwen3-235b-a22b", + "qwen3-32b", + "qwen3-30b-a3b", + "qwen3-14b", + "qwen3-8b", + "qwen3-4b", + "qwen3-1.7b", + "qwen3-0.6b", + "qwen-plus-latest", + "qwen-turbo-latest", +] + +/** + * Props for the QwenProvider component + */ +interface QwenProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Alibaba Qwen provider configuration component + */ +export const QwenProvider = ({ showModelOptions, isPopup }: QwenProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + // Determine which models to use based on API line selection + const qwenModels = apiConfiguration?.qwenApiLine === "china" ? mainlandQwenModels : internationalQwenModels + + return ( +
+ + + handleFieldChange("qwenApiLine", e.target.value)} + style={{ + minWidth: 130, + position: "relative", + }}> + China API + International API + + +

+ Please select the appropriate API interface based on your location. If you are in China, choose the China API + interface. Otherwise, choose the International API interface. +

+ + handleFieldChange("qwenApiKey", value)} + providerName="Qwen" + signupUrl="https://bailian.console.aliyun.com/" + /> + + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + zIndex={DROPDOWN_Z_INDEX - 2} + /> + + {SUPPORTED_THINKING_MODELS.includes(selectedModelId) && ( + + )} + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/RequestyProvider.tsx b/webview-ui/src/components/settings/providers/RequestyProvider.tsx new file mode 100644 index 00000000..63ccd23e --- /dev/null +++ b/webview-ui/src/components/settings/providers/RequestyProvider.tsx @@ -0,0 +1,33 @@ +import { ApiKeyField } from "../common/ApiKeyField" +import RequestyModelPicker from "../RequestyModelPicker" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the RequestyProvider component + */ +interface RequestyProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The Requesty provider configuration component + */ +export const RequestyProvider = ({ showModelOptions, isPopup }: RequestyProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + return ( +
+ handleFieldChange("requestyApiKey", value)} + providerName="Requesty" + signupUrl="https://app.requesty.ai/manage-api" + /> + + {showModelOptions && } +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/SambanovaProvider.tsx b/webview-ui/src/components/settings/providers/SambanovaProvider.tsx index e7d81b55..d5f3bc62 100644 --- a/webview-ui/src/components/settings/providers/SambanovaProvider.tsx +++ b/webview-ui/src/components/settings/providers/SambanovaProvider.tsx @@ -3,13 +3,13 @@ import { ApiKeyField } from "../common/ApiKeyField" import { ModelSelector } from "../common/ModelSelector" import { ModelInfoView } from "../common/ModelInfoView" import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Props for the SambanovaProvider component */ interface SambanovaProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -17,15 +17,18 @@ interface SambanovaProviderProps { /** * The SambaNova provider configuration component */ -export const SambanovaProvider = ({ apiConfiguration, handleInputChange, showModelOptions, isPopup }: SambanovaProviderProps) => { +export const SambanovaProvider = ({ showModelOptions, isPopup }: SambanovaProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + // Get the normalized configuration const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) return (
handleFieldChange("sambanovaApiKey", value)} providerName="SambaNova" signupUrl="https://docs.sambanova.ai/cloud/docs/get-started/overview" /> @@ -35,7 +38,7 @@ export const SambanovaProvider = ({ apiConfiguration, handleInputChange, showMod handleFieldChange("apiModelId", e.target.value)} label="Model" /> diff --git a/webview-ui/src/components/settings/providers/SapAiCoreProvider.tsx b/webview-ui/src/components/settings/providers/SapAiCoreProvider.tsx new file mode 100644 index 00000000..ca557327 --- /dev/null +++ b/webview-ui/src/components/settings/providers/SapAiCoreProvider.tsx @@ -0,0 +1,109 @@ +import { sapAiCoreModels } from "@shared/api" +import { VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { ModelSelector } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the SapAiCoreProvider component + */ +interface SapAiCoreProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +/** + * The SAP AI Core provider configuration component + */ +export const SapAiCoreProvider = ({ showModelOptions, isPopup }: SapAiCoreProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + return ( +
+ handleFieldChange("sapAiCoreClientId", value)} + style={{ width: "100%" }} + type="password" + placeholder="Enter AI Core Client Id..."> + AI Core Client Id + + {apiConfiguration?.sapAiCoreClientId && ( +

+ 客户端 ID 已设置。如需更改,请重新输入该值。 +

+ )} + + handleFieldChange("sapAiCoreClientSecret", value)} + style={{ width: "100%" }} + type="password" + placeholder="Enter AI Core Client Secret..."> + AI Core Client Secret + + {apiConfiguration?.sapAiCoreClientSecret && ( +

+ 客户端密钥已设置。如需更改,请重新输入该值。 +

+ )} + + handleFieldChange("sapAiCoreBaseUrl", value)} + style={{ width: "100%" }} + placeholder="Enter AI Core Base URL..."> + AI Core Base URL + + + handleFieldChange("sapAiCoreTokenUrl", value)} + style={{ width: "100%" }} + placeholder="Enter AI Core Auth URL..."> + AI Core Auth URL + + + handleFieldChange("sapAiResourceGroup", value)} + style={{ width: "100%" }} + placeholder="Enter AI Core Resource Group..."> + AI Core Resource Group + + +

+ 这些凭证存储在本地,仅用于从此扩展发出 API 请求。 + + 您可以在此处找到有关 SAP AI Core API 访问的更多信息。 + +

+ + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + /> + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/ShengSuanYunProvider.tsx b/webview-ui/src/components/settings/providers/ShengSuanYunProvider.tsx new file mode 100644 index 00000000..0c12ccab --- /dev/null +++ b/webview-ui/src/components/settings/providers/ShengSuanYunProvider.tsx @@ -0,0 +1,26 @@ +import { ApiKeyField } from "../common/ApiKeyField" +import ShengSuanYunModelPicker from "../ShengSuanYunModelPicker" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +interface ShengSuanYunProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +export const ShengSuanYunProvider = ({ showModelOptions, isPopup }: ShengSuanYunProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + return ( +
+ handleFieldChange("shengSuanYunApiKey", value)} + providerName="胜算云" + signupUrl="https://router.shengsuanyun.com/" + /> + {showModelOptions && } +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/TogetherProvider.tsx b/webview-ui/src/components/settings/providers/TogetherProvider.tsx index 00f2ae83..32aeac44 100644 --- a/webview-ui/src/components/settings/providers/TogetherProvider.tsx +++ b/webview-ui/src/components/settings/providers/TogetherProvider.tsx @@ -1,13 +1,13 @@ import { ApiConfiguration } from "@shared/api" -import { VSCodeTextField } from "@vscode/webview-ui-toolkit/react" +import { DebouncedTextField } from "../common/DebouncedTextField" import { ApiKeyField } from "../common/ApiKeyField" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" /** * Props for the TogetherProvider component */ interface TogetherProviderProps { - apiConfiguration: ApiConfiguration - handleInputChange: (field: keyof ApiConfiguration) => (event: any) => void showModelOptions: boolean isPopup?: boolean } @@ -15,21 +15,24 @@ interface TogetherProviderProps { /** * The Together provider configuration component */ -export const TogetherProvider = ({ apiConfiguration, handleInputChange, showModelOptions, isPopup }: TogetherProviderProps) => { +export const TogetherProvider = ({ showModelOptions, isPopup }: TogetherProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + return (
handleFieldChange("togetherApiKey", value)} providerName="Together" /> - handleFieldChange("togetherModelId", value)} style={{ width: "100%" }} - onInput={handleInputChange("togetherModelId")} placeholder={"Enter Model ID..."}> - Model ID - + 模型 ID +

- (Note: Cline uses complex prompts and works best with Claude models. - Less capable models may not work as expected.) + (注意: Cline 使用复杂的提示,与 Claude 模型配合使用效果最佳。 + 性能较差的模型可能无法达到预期效果。)

diff --git a/webview-ui/src/components/settings/providers/VSCodeLmProvider.tsx b/webview-ui/src/components/settings/providers/VSCodeLmProvider.tsx new file mode 100644 index 00000000..1489296f --- /dev/null +++ b/webview-ui/src/components/settings/providers/VSCodeLmProvider.tsx @@ -0,0 +1,90 @@ +import { EmptyRequest } from "@shared/proto/common" +import { ModelsServiceClient } from "@/services/grpc-client" +import { VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { useState, useCallback, useEffect } from "react" +import { useInterval } from "react-use" +import * as vscodemodels from "vscode" +import { DropdownContainer, DROPDOWN_Z_INDEX } from "../ApiOptions" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +export const VSCodeLmProvider = () => { + const [vsCodeLmModels, setVsCodeLmModels] = useState([]) + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Poll VS Code LM models + const requestVsCodeLmModels = useCallback(async () => { + try { + const response = await ModelsServiceClient.getVsCodeLmModels(EmptyRequest.create({})) + if (response && response.models) { + setVsCodeLmModels(response.models) + } + } catch (error) { + console.error("Failed to fetch VS Code LM models:", error) + setVsCodeLmModels([]) + } + }, []) + + useEffect(() => { + requestVsCodeLmModels() + }, [requestVsCodeLmModels]) + + useInterval(requestVsCodeLmModels, 2000) + + return ( +
+ + + {vsCodeLmModels.length > 0 ? ( + { + const value = (e.target as HTMLInputElement).value + if (!value) { + return + } + const [vendor, family] = value.split("/") + + handleFieldChange("vsCodeLmModelSelector", { vendor, family }) + }} + style={{ width: "100%" }}> + 选择模型... + {vsCodeLmModels.map((model) => ( + + {model.vendor} - {model.family} + + ))} + + ) : ( +

+ VS Code 语言模型 API 允许您运行其他 VS Code 扩展程序(包括但不限于 GitHub + Copilot)提供的模型。最简单的入门方法是从 VS Marketplace 安装 Copilot 扩展程序,并启用 Claude 4 Sonnet。 +

+ )} + +

+ 注意:这是一个非常实验性的集成,可能无法按预期工作。 +

+
+
+ ) +} diff --git a/webview-ui/src/components/settings/providers/VertexProvider.tsx b/webview-ui/src/components/settings/providers/VertexProvider.tsx new file mode 100644 index 00000000..feb9f391 --- /dev/null +++ b/webview-ui/src/components/settings/providers/VertexProvider.tsx @@ -0,0 +1,114 @@ +import { vertexGlobalModels, vertexModels } from "@shared/api" +import { VSCodeDropdown, VSCodeOption, VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { DebouncedTextField } from "../common/DebouncedTextField" +import { ModelSelector } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { DropdownContainer, DROPDOWN_Z_INDEX } from "../ApiOptions" +import ThinkingBudgetSlider from "../ThinkingBudgetSlider" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" + +/** + * Props for the VertexProvider component + */ +interface VertexProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +// Vertex models that support thinking +const SUPPORTED_THINKING_MODELS = [ + "claude-3-7-sonnet@20250219", + "claude-sonnet-4@20250514", + "claude-opus-4@20250514", + "gemini-2.5-flash", + "gemini-2.5-pro", +] + +/** + * The GCP Vertex AI provider configuration component + */ +export const VertexProvider = ({ showModelOptions, isPopup }: VertexProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + // Determine which models to use based on region + const modelsToUse = apiConfiguration?.vertexRegion === "global" ? vertexGlobalModels : vertexModels + + return ( +
+ handleFieldChange("vertexProjectId", value)} + style={{ width: "100%" }} + placeholder="Enter Project ID..."> + Google Cloud Project ID + + + + + handleFieldChange("vertexRegion", e.target.value)}> + Select a region... + us-east5 + us-central1 + europe-west1 + europe-west4 + asia-southeast1 + global + + + +

+ To use Google Cloud Vertex AI, you need to + + {"1) create a Google Cloud account › enable the Vertex AI API › enable the desired Claude models,"} + {" "} + + {"2) install the Google Cloud CLI › configure Application Default Credentials."} + +

+ + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + zIndex={DROPDOWN_Z_INDEX - 2} + /> + + {SUPPORTED_THINKING_MODELS.includes(selectedModelId) && ( + + )} + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/providers/XaiProvider.tsx b/webview-ui/src/components/settings/providers/XaiProvider.tsx new file mode 100644 index 00000000..9a923eef --- /dev/null +++ b/webview-ui/src/components/settings/providers/XaiProvider.tsx @@ -0,0 +1,112 @@ +import { xaiModels } from "@shared/api" +import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { useState, useEffect } from "react" +import { ApiKeyField } from "../common/ApiKeyField" +import { ModelSelector, DropdownContainer } from "../common/ModelSelector" +import { ModelInfoView } from "../common/ModelInfoView" +import { normalizeApiConfiguration } from "../utils/providerUtils" +import { DROPDOWN_Z_INDEX } from "../ApiOptions" +import { useApiConfigurationHandlers } from "../utils/useApiConfigurationHandlers" +import { useExtensionState } from "@/context/ExtensionStateContext" + +/** + * Props for the XaiProvider component + */ +interface XaiProviderProps { + showModelOptions: boolean + isPopup?: boolean +} + +export const XaiProvider = ({ showModelOptions, isPopup }: XaiProviderProps) => { + const { apiConfiguration } = useExtensionState() + const { handleFieldChange } = useApiConfigurationHandlers() + + // Get the normalized configuration + const { selectedModelId, selectedModelInfo } = normalizeApiConfiguration(apiConfiguration) + + // Local state for reasoning effort toggle + const [reasoningEffortSelected, setReasoningEffortSelected] = useState(!!apiConfiguration?.reasoningEffort) + + return ( +
+
+ handleFieldChange("xaiApiKey", value)} + providerName="X AI" + signupUrl="https://x.ai" + /> +

+ + (注意: Cline 使用复杂的提示,与 Claude + 模型配合使用效果最佳。性能较差的模型可能无法达到预期效果。) + +

+
+ + {showModelOptions && ( + <> + handleFieldChange("apiModelId", e.target.value)} + label="Model" + /> + + {selectedModelId && selectedModelId.includes("3-mini") && ( + <> + { + const isChecked = e.target.checked === true + setReasoningEffortSelected(isChecked) + if (!isChecked) { + handleFieldChange("reasoningEffort", "") + } + }}> + Modify reasoning effort + + + {reasoningEffortSelected && ( +
+ + + { + handleFieldChange("reasoningEffort", e.target.value) + }}> + low + high + + +

+ High effort may produce more thorough analysis but takes longer and uses more tokens. +

+
+ )} + + )} + + + + )} +
+ ) +} diff --git a/webview-ui/src/components/settings/sections/AboutSection.tsx b/webview-ui/src/components/settings/sections/AboutSection.tsx new file mode 100644 index 00000000..495e659d --- /dev/null +++ b/webview-ui/src/components/settings/sections/AboutSection.tsx @@ -0,0 +1,29 @@ +import Section from "../Section" +import { VSCodeLink } from "@vscode/webview-ui-toolkit/react" + +interface AboutSectionProps { + version: string + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +const AboutSection = ({ version, renderSectionHeader }: AboutSectionProps) => { + return ( +
+ {renderSectionHeader("about")} +
+
+

+ 如果您有任何问题或反馈,请随时在{" "} + + https://github.com/cline/cline + {" "} + 反馈 +

+

v{version}

+
+
+
+ ) +} + +export default AboutSection diff --git a/webview-ui/src/components/settings/sections/ApiConfigurationSection.tsx b/webview-ui/src/components/settings/sections/ApiConfigurationSection.tsx new file mode 100644 index 00000000..cadc1ccc --- /dev/null +++ b/webview-ui/src/components/settings/sections/ApiConfigurationSection.tsx @@ -0,0 +1,88 @@ +import { VSCodeCheckbox } from "@vscode/webview-ui-toolkit/react" +import { TabButton } from "../../mcp/configuration/McpConfigurationView" +import ApiOptions from "../ApiOptions" +import Section from "../Section" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { StateServiceClient } from "@/services/grpc-client" +import { UpdateSettingsRequest } from "@shared/proto/state" + +interface ApiConfigurationSectionProps { + isSwitchingMode: boolean + handlePlanActModeChange: (mode: "plan" | "act") => Promise + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +const ApiConfigurationSection = ({ + isSwitchingMode, + handlePlanActModeChange, + renderSectionHeader, +}: ApiConfigurationSectionProps) => { + const { planActSeparateModelsSetting, chatSettings } = useExtensionState() + return ( +
+ {renderSectionHeader("api-config")} +
+ {/* Tabs container */} + {planActSeparateModelsSetting ? ( +
+
+ handlePlanActModeChange("plan")} + disabled={isSwitchingMode} + style={{ + opacity: isSwitchingMode ? 0.6 : 1, + cursor: isSwitchingMode ? "not-allowed" : "pointer", + }}> + {isSwitchingMode && chatSettings.mode === "act" ? "切换..." : "计划模式"} + + handlePlanActModeChange("act")} + disabled={isSwitchingMode} + style={{ + opacity: isSwitchingMode ? 0.6 : 1, + cursor: isSwitchingMode ? "not-allowed" : "pointer", + }}> + {isSwitchingMode && chatSettings.mode === "plan" ? "切换..." : "执行模式"} + +
+ + {/* Content container */} +
+ +
+
+ ) : ( + + )} + +
+ { + const checked = e.target.checked === true + try { + await StateServiceClient.updateSettings( + UpdateSettingsRequest.create({ + planActSeparateModelsSetting: checked, + }), + ) + } catch (error) { + console.error("Failed to update separate models setting:", error) + } + }}> + 对计划和行动模式使用不同的模型 + +

+ 在“计划”和“行动”模式之间切换将保留前一个模式中使用的 API + 和模型。这可能会有所帮助,例如,在使用强推理模型构建计划以用于更低成本的编码模型时。 +

+
+
+
+ ) +} + +export default ApiConfigurationSection diff --git a/webview-ui/src/components/settings/sections/BrowserSettingsSection.tsx b/webview-ui/src/components/settings/sections/BrowserSettingsSection.tsx new file mode 100644 index 00000000..366ae760 --- /dev/null +++ b/webview-ui/src/components/settings/sections/BrowserSettingsSection.tsx @@ -0,0 +1,384 @@ +import { VSCodeButton, VSCodeCheckbox, VSCodeDropdown, VSCodeOption, VSCodeTextField } from "@vscode/webview-ui-toolkit/react" +import React, { useCallback, useEffect, useState } from "react" +import styled from "styled-components" +import { BROWSER_VIEWPORT_PRESETS } from "../../../../../src/shared/BrowserSettings" +import { useExtensionState } from "../../../context/ExtensionStateContext" +import { BrowserServiceClient } from "../../../services/grpc-client" +import { EmptyRequest, StringRequest } from "@shared/proto/common" +import { updateBrowserSetting } from "../utils/settingsHandlers" +import { DebouncedTextField } from "../common/DebouncedTextField" +import Section from "../Section" + +interface BrowserSettingsSectionProps { + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +const ConnectionStatusIndicator = ({ + isChecking, + isConnected, + remoteBrowserEnabled, +}: { + isChecking: boolean + isConnected: boolean | null + remoteBrowserEnabled?: boolean +}) => { + if (!remoteBrowserEnabled) return null + + return ( + + {isChecking ? ( + <> + + 检查连接... + + ) : isConnected === true ? ( + <> + + 已连接 + + ) : isConnected === false ? ( + 未连接 + ) : null} + + ) +} + +const CollapsibleContent = styled.div<{ isOpen: boolean }>` + overflow: hidden; + transition: + max-height 0.3s ease-in-out, + opacity 0.3s ease-in-out, + margin-top 0.3s ease-in-out, + visibility 0.3s ease-in-out; + max-height: ${({ isOpen }) => (isOpen ? "1000px" : "0")}; // Sufficiently large height + opacity: ${({ isOpen }) => (isOpen ? 1 : 0)}; + margin-top: ${({ isOpen }) => (isOpen ? "15px" : "0")}; + visibility: ${({ isOpen }) => (isOpen ? "visible" : "hidden")}; +` + +export const BrowserSettingsSection: React.FC = ({ renderSectionHeader }) => { + const { browserSettings } = useExtensionState() + const [isCheckingConnection, setIsCheckingConnection] = useState(false) + const [connectionStatus, setConnectionStatus] = useState(null) + const [relaunchResult, setRelaunchResult] = useState<{ success: boolean; message: string } | null>(null) + const [debugMode, setDebugMode] = useState(false) + const [isBundled, setIsBundled] = useState(false) + const [detectedChromePath, setDetectedChromePath] = useState(null) + + // Auto-clear relaunch result message after 15 seconds + useEffect(() => { + if (relaunchResult) { + const timer = setTimeout(() => { + setRelaunchResult(null) + }, 15000) + return () => clearTimeout(timer) + } + }, [relaunchResult]) + + // Request detected Chrome path on mount + useEffect(() => { + BrowserServiceClient.getDetectedChromePath(EmptyRequest.create({})) + .then((result) => { + setDetectedChromePath(result.path) + setIsBundled(result.isBundled) + }) + .catch((error) => { + console.error("Error getting detected Chrome path:", error) + }) + }, []) + + // Function to check connection once without changing UI state immediately + const checkConnectionOnce = useCallback(() => { + if (browserSettings.remoteBrowserHost) { + BrowserServiceClient.testBrowserConnection(StringRequest.create({ value: browserSettings.remoteBrowserHost })) + .then((result) => { + setConnectionStatus(result.success) + }) + .catch((error) => { + console.error("Error testing browser connection:", error) + setConnectionStatus(false) + }) + } else { + BrowserServiceClient.discoverBrowser(EmptyRequest.create({})) + .then((result) => { + setConnectionStatus(result.success) + }) + .catch((error) => { + console.error("Error discovering browser:", error) + setConnectionStatus(false) + }) + } + }, [browserSettings.remoteBrowserHost]) + + // Setup continuous polling for connection status when remote browser is enabled + useEffect(() => { + if (!browserSettings.remoteBrowserEnabled) { + setIsCheckingConnection(false) + return + } + + checkConnectionOnce() + const pollInterval = setInterval(() => { + checkConnectionOnce() + }, 1000) + + return () => clearInterval(pollInterval) + }, [browserSettings.remoteBrowserEnabled, checkConnectionOnce]) + + const handleViewportChange = (event: Event) => { + const target = event.target as HTMLSelectElement + const selectedSize = BROWSER_VIEWPORT_PRESETS[target.value as keyof typeof BROWSER_VIEWPORT_PRESETS] + if (selectedSize) { + updateBrowserSetting("viewport", { + width: selectedSize.width, + height: selectedSize.height, + }) + } + } + + const relaunchChromeDebugMode = () => { + setDebugMode(true) + setRelaunchResult(null) + + BrowserServiceClient.relaunchChromeDebugMode(EmptyRequest.create({})) + .then((result) => { + setRelaunchResult({ + success: result.success, + message: result.message, + }) + setDebugMode(false) + }) + .catch((error) => { + console.error("Error relaunching Chrome:", error) + setRelaunchResult({ + success: false, + message: `Error relaunching Chrome: ${error.message}`, + }) + setDebugMode(false) + }) + } + + // Determine if we should show the relaunch button + const isRemoteEnabled = Boolean(browserSettings.remoteBrowserEnabled) + const shouldShowRelaunchButton = isRemoteEnabled && connectionStatus === false + const isSubSettingsOpen = !(browserSettings.disableToolUse || false) + + return ( +
+ {renderSectionHeader("browser")} +
+
+ {/* Master Toggle */} +
+ updateBrowserSetting("disableToolUse", (e.target as HTMLInputElement).checked)}> + 禁止浏览器工具使用 + +

+ 防止 Cline 使用浏览器操作 (如: 加载, 点击, 输入). +

+
+ + +
+
+ + { + const typedSize = size as { width: number; height: number } + return ( + typedSize.width === browserSettings.viewport.width && + typedSize.height === browserSettings.viewport.height + ) + })?.[0] + } + onChange={(event) => handleViewportChange(event as Event)}> + {Object.entries(BROWSER_VIEWPORT_PRESETS).map(([name]) => ( + + {name} + + ))} + +
+

+ 设置浏览器视口的大小以用于屏幕截图和交互。 +

+
+ +
+ {" "} + {/* This div now contains Remote Connection & Chrome Path */} +
+ { + const enabled = (e.target as HTMLInputElement).checked + updateBrowserSetting("remoteBrowserEnabled", enabled) + // If disabling, also clear the host + if (!enabled) { + updateBrowserSetting("remoteBrowserHost", undefined) + } + }}> + 使用远程浏览器连接 + + +
+

+ 启用 Cline 使用 Chrome + {isBundled + ? "(not detected on your machine)" + : detectedChromePath + ? ` (${detectedChromePath})` + : ""} + . 您可以在下面指定自定义路径。使用远程浏览器连接需要以调试模式启动 Chrome + {browserSettings.remoteBrowserEnabled ? ( + <> + {" "} + 手动 (--remote-debugging-port=9222 + )或使用下方按钮。输入主机地址,或留空以实现自动发现。 + + ) : ( + "." + )} +

+ {/* Moved remote-specific settings to appear directly after enabling remote connection */} + {browserSettings.remoteBrowserEnabled && ( +
+ updateBrowserSetting("remoteBrowserHost", value || undefined)} + /> + + {shouldShowRelaunchButton && ( +
+ + {debugMode ? "启动浏览器..." : "使用调试模式启动浏览器"} + +
+ )} + + {relaunchResult && ( +
+ {relaunchResult.message} +
+ )} + +

+
+ )} + {/* Chrome Executable Path section now follows remote-specific settings */} +
+ + updateBrowserSetting("chromeExecutablePath", value || undefined)} + /> +

+ 留空以自动检测。 +

+
+
+
+
+
+
+ ) +} + +const StatusContainer = styled.div` + display: flex; + align-items: center; + margin-left: 12px; + height: 20px; +` + +const StatusText = styled.span` + font-size: 12px; + margin-left: 4px; +` + +const CheckIcon = styled.i` + color: var(--vscode-terminal-ansiGreen); + font-size: 14px; +` + +const Spinner = styled.div` + width: 14px; + height: 14px; + border: 2px solid rgba(255, 255, 255, 0.3); + border-radius: 50%; + border-top-color: var(--vscode-progressBar-background); + animation: spin 1s ease-in-out infinite; + + @keyframes spin { + to { + transform: rotate(360deg); + } + } +` + +export default BrowserSettingsSection diff --git a/webview-ui/src/components/settings/sections/DebugSection.tsx b/webview-ui/src/components/settings/sections/DebugSection.tsx new file mode 100644 index 00000000..fcad14c3 --- /dev/null +++ b/webview-ui/src/components/settings/sections/DebugSection.tsx @@ -0,0 +1,34 @@ +import Section from "../Section" +import { VSCodeButton } from "@vscode/webview-ui-toolkit/react" + +interface DebugSectionProps { + onResetState: (resetGlobalState?: boolean) => Promise + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +const DebugSection = ({ onResetState, renderSectionHeader }: DebugSectionProps) => { + return ( +
+ {renderSectionHeader("debug")} +
+ onResetState()} + className="mt-[5px] w-auto" + style={{ backgroundColor: "var(--vscode-errorForeground)", color: "black" }}> + 重置工作区状态 + + onResetState(true)} + className="mt-[5px] w-auto" + style={{ backgroundColor: "var(--vscode-errorForeground)", color: "black" }}> + 重置全局状态 + +

+ 这将重置扩展中的所有全局状态和秘密存储。 +

+
+
+ ) +} + +export default DebugSection diff --git a/webview-ui/src/components/settings/sections/FeatureSettingsSection.tsx b/webview-ui/src/components/settings/sections/FeatureSettingsSection.tsx new file mode 100644 index 00000000..a6d09c3f --- /dev/null +++ b/webview-ui/src/components/settings/sections/FeatureSettingsSection.tsx @@ -0,0 +1,112 @@ +import { VSCodeCheckbox, VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { memo } from "react" +import { OpenAIReasoningEffort } from "@shared/ChatSettings" +import { updateSetting } from "../utils/settingsHandlers" +import { convertChatSettingsToProtoChatSettings } from "@shared/proto-conversions/state/chat-settings-conversion" +import Section from "../Section" + +interface FeatureSettingsSectionProps { + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +const FeatureSettingsSection = ({ renderSectionHeader }: FeatureSettingsSectionProps) => { + const { enableCheckpointsSetting, mcpMarketplaceEnabled, mcpRichDisplayEnabled, mcpResponsesCollapsed, chatSettings } = + useExtensionState() + + const handleReasoningEffortChange = (newValue: OpenAIReasoningEffort) => { + if (!chatSettings) return + + const updatedChatSettings = { + ...chatSettings, + openAIReasoningEffort: newValue, + } + + const protoChatSettings = convertChatSettingsToProtoChatSettings(updatedChatSettings) + updateSetting("chatSettings", protoChatSettings) + } + + return ( +
+ {renderSectionHeader("features")} +
+
+
+ { + const checked = e.target.checked === true + updateSetting("enableCheckpointsSetting", checked) + }}> + 启用检查点 + +

+ 启用扩展程序以在整个任务过程中保存工作区的检查点。底层使用 Git,因此可能不适用于大型工作区。 +

+
+
+ { + const checked = e.target.checked === true + updateSetting("mcpMarketplaceEnabled", checked) + }}> + 启用 MCP 市场 + +

+ 启用 MCP 市场选项卡以发现和安装 MCP 服务器。 +

+
+
+ { + const checked = e.target.checked === true + updateSetting("mcpRichDisplayEnabled", checked) + }}> + 启用富文本 MCP 显示 + +

+ 为 MCP 回复启用富文本格式。禁用后,回复将以纯文本显示。 +

+
+
+ { + const checked = e.target.checked === true + updateSetting("mcpResponsesCollapsed", checked) + }}> + 折叠 MCP 响应 + +

设置 MCP 响应面板的默认显示模式

+
+
+ + { + const newValue = e.target.currentValue as OpenAIReasoningEffort + handleReasoningEffortChange(newValue) + }} + className="w-full"> + 低 + 中 + 高 + +

+ OpenAI 模型系列的推理工作(适用于所有 OpenAI 模型提供商) +

+
+
+
+
+ ) +} + +export default memo(FeatureSettingsSection) diff --git a/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx b/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx new file mode 100644 index 00000000..171effeb --- /dev/null +++ b/webview-ui/src/components/settings/sections/GeneralSettingsSection.tsx @@ -0,0 +1,47 @@ +import { VSCodeCheckbox, VSCodeLink } from "@vscode/webview-ui-toolkit/react" +import { useExtensionState } from "@/context/ExtensionStateContext" +import { updateSetting } from "../utils/settingsHandlers" +import PreferredLanguageSetting from "../PreferredLanguageSetting" +import Section from "../Section" + +interface GeneralSettingsSectionProps { + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +const GeneralSettingsSection = ({ renderSectionHeader }: GeneralSettingsSectionProps) => { + const { telemetrySetting } = useExtensionState() + + return ( +
+ {renderSectionHeader("general")} +
+ + +
+ { + const checked = e.target.checked === true + updateSetting("telemetrySetting", checked ? "enabled" : "disabled") + }}> + 允许匿名错误和使用情况报告 + +

+ 通过发送匿名使用数据和错误报告来帮助改进 Cline。我们绝不会发送任何代码、提示或个人信息。请参阅我们的{" "} + + 遥测概述 + {" "} + 和{" "} + + 隐私政策 + {" "} + 获取详情. +

+
+
+
+ ) +} + +export default GeneralSettingsSection diff --git a/webview-ui/src/components/settings/sections/TerminalSettingsSection.tsx b/webview-ui/src/components/settings/sections/TerminalSettingsSection.tsx new file mode 100644 index 00000000..457e4aeb --- /dev/null +++ b/webview-ui/src/components/settings/sections/TerminalSettingsSection.tsx @@ -0,0 +1,147 @@ +import React, { useState, useEffect } from "react" +import { VSCodeTextField, VSCodeCheckbox, VSCodeDropdown, VSCodeOption } from "@vscode/webview-ui-toolkit/react" +import { useExtensionState } from "@/context/ExtensionStateContext" +import TerminalOutputLineLimitSlider from "../TerminalOutputLineLimitSlider" +import { StateServiceClient } from "../../../services/grpc-client" +import { Int64, Int64Request, StringRequest } from "@shared/proto/common" +import Section from "../Section" +import { updateSetting } from "../utils/settingsHandlers" + +interface TerminalSettingsSectionProps { + renderSectionHeader: (tabId: string) => JSX.Element | null +} + +export const TerminalSettingsSection: React.FC = ({ renderSectionHeader }) => { + const { shellIntegrationTimeout, terminalReuseEnabled, defaultTerminalProfile, availableTerminalProfiles } = + useExtensionState() + + const [inputValue, setInputValue] = useState((shellIntegrationTimeout / 1000).toString()) + const [inputError, setInputError] = useState(null) + + const handleTimeoutChange = (event: Event) => { + const target = event.target as HTMLInputElement + const value = target.value + + setInputValue(value) + + const seconds = parseFloat(value) + if (isNaN(seconds) || seconds <= 0) { + setInputError("Please enter a positive number") + return + } + + setInputError(null) + const timeout = Math.round(seconds * 1000) + + StateServiceClient.updateTerminalConnectionTimeout({ + value: timeout, + } as Int64Request) + .then((response: Int64) => { + // Backend calls postStateToWebview(), so state will update via subscription + // Just sync the input value with the confirmed backend value + setInputValue((response.value / 1000).toString()) + }) + .catch((error) => { + console.error("Failed to update terminal connection timeout:", error) + }) + } + + const handleInputBlur = () => { + if (inputError) { + setInputValue((shellIntegrationTimeout / 1000).toString()) + setInputError(null) + } + } + + const handleTerminalReuseChange = (event: Event) => { + const target = event.target as HTMLInputElement + const checked = target.checked + updateSetting("terminalReuseEnabled", checked) + } + + // Use any to avoid type conflicts between Event and FormEvent + const handleDefaultTerminalProfileChange = (event: any) => { + const target = event.target as HTMLSelectElement + const profileId = target.value + + // Save immediately - the backend will call postStateToWebview() to update our state + StateServiceClient.updateDefaultTerminalProfile({ + value: profileId || "default", + } as StringRequest).catch((error) => { + console.error("Failed to update default terminal profile:", error) + }) + } + + const profilesToShow = availableTerminalProfiles + + return ( +
+ {renderSectionHeader("terminal")} +
+
+
+ + + {profilesToShow.map((profile) => ( + + {profile.name} + + ))} + +

+ 选择 Cline 将使用的默认终端。“默认”使用您的 VSCode 全局设置。 +

+
+ +
+
+ +
+ handleTimeoutChange(event as Event)} + onBlur={handleInputBlur} + /> +
+ {inputError && ( +
+ {inputError} +
+ )} +
+

+ 设置 Cline 在执行命令前等待 Shell 集成激活的时间。如果遇到终端连接超时,请增加此值。 +

+
+ +
+
+ handleTerminalReuseChange(event as Event)}> + 实现积极的终端重用 + +
+

+ 启用后,Cline + 将重用不在当前工作目录中的现有终端窗口。如果您在执行终端命令后遇到任务锁定问题,请禁用此功能。 +

+
+ +
+
+
+ ) +} + +export default TerminalSettingsSection diff --git a/webview-ui/src/components/settings/utils/providerUtils.ts b/webview-ui/src/components/settings/utils/providerUtils.ts index 154222d8..ac8b47f4 100644 --- a/webview-ui/src/components/settings/utils/providerUtils.ts +++ b/webview-ui/src/components/settings/utils/providerUtils.ts @@ -10,8 +10,6 @@ import { deepSeekModels, geminiDefaultModelId, geminiModels, - geminiCliDefaultModelId, - geminiCliModels, mistralDefaultModelId, mistralModels, openAiModelInfoSaneDefaults, @@ -44,6 +42,8 @@ import { sapAiCoreDefaultModelId, claudeCodeDefaultModelId, claudeCodeModels, + shengSuanYunDefaultModelId, + shengSuanYunDefaultModelInfo, } from "@shared/api" /** @@ -98,8 +98,6 @@ export function normalizeApiConfiguration(apiConfiguration?: ApiConfiguration): return getProviderData(vertexModels, vertexDefaultModelId) case "gemini": return getProviderData(geminiModels, geminiDefaultModelId) - case "gemini-cli": - return getProviderData(geminiCliModels, geminiCliDefaultModelId) case "openai-native": return getProviderData(openAiNativeModels, openAiNativeDefaultModelId) case "deepseek": @@ -185,6 +183,12 @@ export function normalizeApiConfiguration(apiConfiguration?: ApiConfiguration): return getProviderData(cerebrasModels, cerebrasDefaultModelId) case "sapaicore": return getProviderData(sapAiCoreModels, sapAiCoreDefaultModelId) + case "shengsuanyun": + return { + selectedProvider: provider, + selectedModelId: apiConfiguration?.shengSuanYunModelId || shengSuanYunDefaultModelId, + selectedModelInfo: apiConfiguration?.shengSuanYunModelInfo || shengSuanYunDefaultModelInfo, + } default: return getProviderData(anthropicModels, anthropicDefaultModelId) } diff --git a/webview-ui/src/components/settings/utils/settingsHandlers.ts b/webview-ui/src/components/settings/utils/settingsHandlers.ts new file mode 100644 index 00000000..c612a94c --- /dev/null +++ b/webview-ui/src/components/settings/utils/settingsHandlers.ts @@ -0,0 +1,35 @@ +import { StateServiceClient, BrowserServiceClient } from "@/services/grpc-client" +import { UpdateSettingsRequest } from "@shared/proto/state" +import { UpdateBrowserSettingsRequest } from "@shared/proto/browser" + +/** + * Updates a single field in the settings. + * + * @param field - The field key to update + * @param value - The new value for the field + */ +export const updateSetting = (field: keyof UpdateSettingsRequest, value: any) => { + const updateRequest: Partial = {} + updateRequest[field] = value + + StateServiceClient.updateSettings(UpdateSettingsRequest.create(updateRequest)).catch((error) => { + console.error(`Failed to update setting ${field}:`, error) + }) +} + +/** + * Updates a single browser setting field. + * + * @param field - The field key to update + * @param value - The new value for the field + */ +export const updateBrowserSetting = (field: keyof UpdateBrowserSettingsRequest, value: any) => { + const updateRequest: Partial = { + metadata: {}, + [field]: value, + } + + BrowserServiceClient.updateBrowserSettings(UpdateBrowserSettingsRequest.create(updateRequest)).catch((error) => { + console.error(`Failed to update browser setting ${field}:`, error) + }) +} diff --git a/webview-ui/src/components/settings/utils/useApiConfigurationHandlers.ts b/webview-ui/src/components/settings/utils/useApiConfigurationHandlers.ts new file mode 100644 index 00000000..41423cc6 --- /dev/null +++ b/webview-ui/src/components/settings/utils/useApiConfigurationHandlers.ts @@ -0,0 +1,62 @@ +import { useExtensionState } from "@/context/ExtensionStateContext" +import { ModelsServiceClient } from "@/services/grpc-client" +import { ApiConfiguration } from "@shared/api" +import { convertApiConfigurationToProto } from "@shared/proto-conversions/models/api-configuration-conversion" +import { UpdateApiConfigurationRequest } from "@shared/proto/models" + +export const useApiConfigurationHandlers = () => { + const { apiConfiguration } = useExtensionState() + + /** + * Updates a single field in the API configuration. + * + * **Warning**: If this function is called multiple times in rapid succession, + * it can lead to race conditions where later calls may overwrite changes from + * earlier calls. For updating multiple fields, use `handleFieldsChange` instead. + * + * @param field - The field key to update + * @param value - The new value for the field + */ + const handleFieldChange = (field: K, value: ApiConfiguration[K]) => { + const updatedConfig = { + ...apiConfiguration, + [field]: value, + } + + const protoConfig = convertApiConfigurationToProto(updatedConfig) + ModelsServiceClient.updateApiConfigurationProto( + UpdateApiConfigurationRequest.create({ + apiConfiguration: protoConfig, + }), + ).catch((error) => { + console.error(`Failed to update API configuration field ${field}:`, error) + }) + } + + /** + * Updates multiple fields in the API configuration at once. + * + * This function should be used when updating multiple fields to avoid race conditions + * that can occur when calling `handleFieldChange` multiple times in succession. + * All updates are applied together as a single operation. + * + * @param updates - An object containing the fields to update and their new values + */ + const handleFieldsChange = (updates: Partial) => { + const updatedConfig = { + ...apiConfiguration, + ...updates, + } + + const protoConfig = convertApiConfigurationToProto(updatedConfig) + ModelsServiceClient.updateApiConfigurationProto( + UpdateApiConfigurationRequest.create({ + apiConfiguration: protoConfig, + }), + ).catch((error) => { + console.error("Failed to update API configuration fields:", error) + }) + } + + return { handleFieldChange, handleFieldsChange } +} diff --git a/webview-ui/src/components/settings/utils/useDebouncedInput.ts b/webview-ui/src/components/settings/utils/useDebouncedInput.ts new file mode 100644 index 00000000..6504f71a --- /dev/null +++ b/webview-ui/src/components/settings/utils/useDebouncedInput.ts @@ -0,0 +1,31 @@ +import { useState } from "react" +import { useDebounceEffect } from "@/utils/useDebounceEffect" + +/** + * A custom hook that provides debounced input handling to prevent jumpy text inputs + * when saving changes directly to backend on every keystroke. + * + * @param initialValue - The initial value for the input + * @param onChange - Callback function to save the value (e.g., to backend) + * @param debounceMs - Debounce delay in milliseconds (default: 500ms) + * @returns A tuple of [currentValue, setValue] similar to useState + */ +export function useDebouncedInput( + initialValue: T, + onChange: (value: T) => void, + debounceMs: number = 100, +): [T, (value: T) => void] { + // Local state to prevent jumpy input - initialize once + const [localValue, setLocalValue] = useState(initialValue) + + // Debounced backend save - saves after user stops changing value + useDebounceEffect( + () => { + onChange(localValue) + }, + debounceMs, + [localValue], + ) + + return [localValue, setLocalValue] +} diff --git a/webview-ui/src/components/welcome/SuggestedTasks.tsx b/webview-ui/src/components/welcome/SuggestedTasks.tsx index fff721b7..449a8b94 100644 --- a/webview-ui/src/components/welcome/SuggestedTasks.tsx +++ b/webview-ui/src/components/welcome/SuggestedTasks.tsx @@ -14,7 +14,7 @@ export const SuggestedTasks: React.FC<{ shouldShowQuickWins: boolean }> = ({ sho
{" "}

- Quick [Wins] with Cline + 快速 [Wins] 使用 Cline

{" "} diff --git a/webview-ui/src/components/welcome/WelcomeView.tsx b/webview-ui/src/components/welcome/WelcomeView.tsx index c437f3e5..43d1988f 100644 --- a/webview-ui/src/components/welcome/WelcomeView.tsx +++ b/webview-ui/src/components/welcome/WelcomeView.tsx @@ -4,10 +4,8 @@ import { useExtensionState } from "@/context/ExtensionStateContext" import { validateApiConfiguration } from "@/utils/validate" import ApiOptions from "@/components/settings/ApiOptions" import ClineLogoWhite from "@/assets/ClineLogoWhite" -import { AccountServiceClient, ModelsServiceClient } from "@/services/grpc-client" -import { EmptyRequest } from "@shared/proto/common" -import { UpdateApiConfigurationRequest } from "@shared/proto/models" -import { convertApiConfigurationToProto } from "@shared/proto-conversions/models/api-configuration-conversion" +import { AccountServiceClient, ModelsServiceClient, StateServiceClient } from "@/services/grpc-client" +import { EmptyRequest, BooleanRequest } from "@shared/proto/common" const WelcomeView = memo(() => { const { apiConfiguration } = useExtensionState() @@ -23,16 +21,10 @@ const WelcomeView = memo(() => { } const handleSubmit = async () => { - if (apiConfiguration) { - try { - await ModelsServiceClient.updateApiConfigurationProto( - UpdateApiConfigurationRequest.create({ - apiConfiguration: convertApiConfigurationToProto(apiConfiguration), - }), - ) - } catch (error) { - console.error("Failed to update API configuration:", error) - } + try { + await StateServiceClient.setWelcomeViewCompleted(BooleanRequest.create({ value: true })) + } catch (error) { + console.error("Failed to update API configuration or complete welcome view:", error) } } diff --git a/webview-ui/src/components/welcome/quickWinTasks.ts b/webview-ui/src/components/welcome/quickWinTasks.ts index 88d28589..82620cb8 100644 --- a/webview-ui/src/components/welcome/quickWinTasks.ts +++ b/webview-ui/src/components/welcome/quickWinTasks.ts @@ -11,29 +11,29 @@ export interface QuickWinTask { export const quickWinTasks: QuickWinTask[] = [ { id: "nextjs_notetaking_app", - title: "Build a Next.js App", - description: "Create a beautiful notetaking application with Next.js and Tailwind CSS.", + title: "新建一个 Next.js 应用", + description: "使用 Next.js 和 Tailwind CSS 创建一个漂亮的笔记应用程序。", icon: "WebAppIcon", actionCommand: "cline/createNextJsApp", - prompt: "Make a beautiful Next.js notetaking app, using Tailwind CSS for styling. Set up the basic structure and a simple UI for adding and viewing notes.", + prompt: "使用 Tailwind CSS 进行样式设计,制作一个美观的 Next.js 笔记应用。设置基本结构以及用于添加和查看笔记的简洁 UI。", buttonText: ">", }, { id: "terminal_cli_tool", - title: "Craft a CLI Tool", - description: "Develop a powerful terminal CLI to automate a cool task.", + title: "制作 CLI 工具", + description: "开发一个强大的终端 CLI 来自动执行一项很酷的任务。", icon: "TerminalIcon", actionCommand: "cline/createCliTool", - prompt: "Make a terminal CLI tool using Node.js that fetches the current weather for a given city using a free weather API and displays it in a user-friendly format.", + prompt: "使用 Node.js 制作一个终端 CLI 工具,使用免费天气 API 获取给定城市的当前天气,并以用户友好的格式显示。", buttonText: ">", }, { id: "snake_game", - title: "Develop a Game", - description: "Code a classic Snake game that runs in the browser.", + title: "开发一个游戏", + description: "编写一个在浏览器中运行的经典贪吃蛇游戏。", icon: "GameIcon", actionCommand: "cline/createSnakeGame", - prompt: "Make a classic Snake game using HTML, CSS, and JavaScript. The game should be playable in the browser, with keyboard controls for the snake, a scoring system, and a game over state.", + prompt: "使用 HTML、CSS 和 JavaScript 制作一款经典的贪吃蛇游戏。该游戏应该可以在浏览器中运行,并支持键盘操控贪吃蛇、计分系统以及游戏结束状态。", buttonText: ">", }, ] diff --git a/webview-ui/src/context/ExtensionStateContext.tsx b/webview-ui/src/context/ExtensionStateContext.tsx index 15bff9c1..c464fdf7 100644 --- a/webview-ui/src/context/ExtensionStateContext.tsx +++ b/webview-ui/src/context/ExtensionStateContext.tsx @@ -16,7 +16,7 @@ import { convertProtoMcpServersToMcpServers } from "@shared/proto-conversions/mc import { DEFAULT_AUTO_APPROVAL_SETTINGS } from "@shared/AutoApprovalSettings" import { DEFAULT_BROWSER_SETTINGS, BrowserSettings } from "@shared/BrowserSettings" import { ChatSettings, DEFAULT_CHAT_SETTINGS } from "@shared/ChatSettings" -import { DEFAULT_PLATFORM, ExtensionMessage, ExtensionState } from "@shared/ExtensionMessage" +import { DEFAULT_PLATFORM, ExtensionState } from "@shared/ExtensionMessage" import { TelemetrySetting } from "@shared/TelemetrySetting" import { findLastIndex } from "@shared/array" import { @@ -206,6 +206,7 @@ export const ExtensionStateContextProvider: React.FC<{ terminalOutputLineLimit: 500, defaultTerminalProfile: "default", isNewUser: false, + welcomeViewCompleted: false, mcpResponsesCollapsed: false, // Default value (expanded), will be overwritten by extension state }) const [didHydrateState, setDidHydrateState] = useState(false) @@ -285,36 +286,7 @@ export const ExtensionStateContextProvider: React.FC<{ } // Update welcome screen state based on API configuration - const config = stateData.apiConfiguration - const hasKey = config - ? [ - config.apiKey, - config.openRouterApiKey, - config.awsRegion, - config.vertexProjectId, - config.openAiApiKey, - config.ollamaModelId, - config.lmStudioModelId, - config.liteLlmApiKey, - config.geminiApiKey, - config.openAiNativeApiKey, - config.deepSeekApiKey, - config.requestyApiKey, - config.togetherApiKey, - config.qwenApiKey, - config.doubaoApiKey, - config.mistralApiKey, - config.vsCodeLmModelSelector, - config.clineApiKey, - config.asksageApiKey, - config.xaiApiKey, - config.sambanovaApiKey, - config.shengSuanYunApiKey, - config.sapAiCoreClientId, - ].some((key) => key !== undefined) - : false - - setShowWelcome(!hasKey) + setShowWelcome(!newState.welcomeViewCompleted) setDidHydrateState(true) console.log("[DEBUG] returning new state in ESC") diff --git a/webview-ui/src/index.css b/webview-ui/src/index.css index a4881415..82082558 100644 --- a/webview-ui/src/index.css +++ b/webview-ui/src/index.css @@ -3,7 +3,6 @@ /* Disable Tailwind's CSS reset to preserve existing styles */ /* @import "tailwindcss/preflight.css" layer(base); */ @import "tailwindcss/utilities.css" layer(utilities); -@import "katex/dist/katex.min.css"; @config "../tailwind.config.js"; diff --git a/webview-ui/vite.config.ts b/webview-ui/vite.config.ts index 7189df38..af9d91fc 100644 --- a/webview-ui/vite.config.ts +++ b/webview-ui/vite.config.ts @@ -45,15 +45,7 @@ export default defineConfig({ inlineDynamicImports: true, entryFileNames: `assets/[name].js`, chunkFileNames: `assets/[name].js`, - assetFileNames: (assetInfo) => { - if ( - assetInfo.name && - (assetInfo.name.endsWith(".woff2") || assetInfo.name.endsWith(".woff") || assetInfo.name.endsWith(".ttf")) - ) { - return "assets/fonts/[name][extname]" - } - return "assets/[name][extname]" - }, + assetFileNames: `assets/[name].[ext]`, }, }, chunkSizeWarningLimit: 100000,