diff --git a/.continue/prompts/sub-agent-background.md b/.continue/prompts/sub-agent-background.md new file mode 100644 index 000000000..031d8490d --- /dev/null +++ b/.continue/prompts/sub-agent-background.md @@ -0,0 +1,11 @@ +--- +name: Sub Agent Background Prompt +description: Start a subagent using the continue cli in the background +invokable: true +--- + +# Continue Sub Agent Background Prompt + +Take the prompt provided by the user and using the terminal tool run the following command in the background: + +cn -p "{{prompt}}" diff --git a/.continue/prompts/sub-agent-foreground.md b/.continue/prompts/sub-agent-foreground.md new file mode 100644 index 000000000..aa8c854b4 --- /dev/null +++ b/.continue/prompts/sub-agent-foreground.md @@ -0,0 +1,11 @@ +--- +name: Sub Agent Foreground Prompt +description: Start a subagent using the continue cli in the foreground +invokable: true +--- + +# Continue Sub Agent Foreground Prompt + +Take the prompt provided by the user and using the terminal tool run the following command in the foreground: + +cn -p "{{prompt}}" diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml index 4f132b57a..62e554acc 100644 --- a/.github/workflows/cla.yaml +++ b/.github/workflows/cla.yaml @@ -27,5 +27,5 @@ jobs: path-to-document: "https://github.com/continuedev/continue/blob/main/CLA.md" branch: cla-signatures # Bots and CLAs signed outside of GitHub - allowlist: dependabot[bot],fbricon,panyamkeerthana,Jazzcort,owtaylor,halfline,agent@continue.dev,action@github.com,snyk-bot,noreply@continue.dev + allowlist: dependabot[bot],fbricon,panyamkeerthana,Jazzcort,owtaylor,halfline,agent@continue.dev,action@github.com,continue[bot],snyk-bot,noreply@continue.dev signed-commit-message: "CLA signed in $pullRequestNo" diff --git a/core/config/workspace/workspaceBlocks.ts b/core/config/workspace/workspaceBlocks.ts index 7dcdecf63..d3dfa8690 100644 --- a/core/config/workspace/workspaceBlocks.ts +++ b/core/config/workspace/workspaceBlocks.ts @@ -3,6 +3,7 @@ import { ConfigYaml, createPromptMarkdown, createRuleMarkdown, + sanitizeRuleName, } from "@continuedev/config-yaml"; import * as YAML from "yaml"; import { IDE } from "../.."; @@ -116,13 +117,28 @@ export async function findAvailableFilename( fileExists: (uri: string) => Promise, extension?: string, isGlobal?: boolean, + baseFilenameOverride?: string, ): Promise { - // Differentiate filename based on whether its a global rule or a workspace rule - const baseFilename = - blockType === "rules" && isGlobal - ? "global-rule" - : `new-${BLOCK_TYPE_CONFIG[blockType]?.filename}`; const fileExtension = extension ?? getFileExtension(blockType); + let baseFilename = ""; + + const trimmedOverride = baseFilenameOverride?.trim(); + if (trimmedOverride) { + if (blockType === "rules") { + const withoutExtension = trimmedOverride.replace(/\.[^./\\]+$/, ""); + const sanitized = sanitizeRuleName(withoutExtension); + baseFilename = sanitized; + } else { + baseFilename = trimmedOverride; + } + } + if (!baseFilename) { + baseFilename = + blockType === "rules" && isGlobal + ? "global-rule" + : `new-${BLOCK_TYPE_CONFIG[blockType]?.filename}`; + } + let counter = 0; let fileUri: string; @@ -141,6 +157,7 @@ export async function findAvailableFilename( export async function createNewWorkspaceBlockFile( ide: IDE, blockType: BlockType, + baseFilename?: string, ): Promise { const workspaceDirs = await ide.getWorkspaceDirs(); if (workspaceDirs.length === 0) { @@ -155,6 +172,9 @@ export async function createNewWorkspaceBlockFile( baseDirUri, blockType, ide.fileExists.bind(ide), + undefined, + false, + baseFilename, ); const fileContent = getFileContent(blockType); @@ -163,7 +183,10 @@ export async function createNewWorkspaceBlockFile( await ide.openFile(fileUri); } -export async function createNewGlobalRuleFile(ide: IDE): Promise { +export async function createNewGlobalRuleFile( + ide: IDE, + baseFilename?: string, +): Promise { try { const globalDir = localPathToUri(getContinueGlobalPath()); @@ -176,6 +199,7 @@ export async function createNewGlobalRuleFile(ide: IDE): Promise { ide.fileExists.bind(ide), undefined, true, // isGlobal = true for global rules + baseFilename, ); const fileContent = getFileContent("rules"); diff --git a/core/core.ts b/core/core.ts index c73996a49..2985c0486 100644 --- a/core/core.ts +++ b/core/core.ts @@ -409,7 +409,11 @@ export class Core { }); on("config/addLocalWorkspaceBlock", async (msg) => { - await createNewWorkspaceBlockFile(this.ide, msg.data.blockType); + await createNewWorkspaceBlockFile( + this.ide, + msg.data.blockType, + msg.data.baseFilename, + ); await this.configHandler.reloadConfig( "Local block created (config/addLocalWorkspaceBlock message)", ); @@ -417,7 +421,7 @@ export class Core { on("config/addGlobalRule", async (msg) => { try { - await createNewGlobalRuleFile(this.ide); + await createNewGlobalRuleFile(this.ide, msg.data?.baseFilename); await this.configHandler.reloadConfig( "Global rule created (config/addGlobalRule message)", ); diff --git a/core/protocol/core.ts b/core/protocol/core.ts index b03b0e11a..bfa858709 100644 --- a/core/protocol/core.ts +++ b/core/protocol/core.ts @@ -90,8 +90,11 @@ export type ToCoreFromIdeOrWebviewProtocol = { }, void, ]; - "config/addLocalWorkspaceBlock": [{ blockType: BlockType }, void]; - "config/addGlobalRule": [undefined, void]; + "config/addLocalWorkspaceBlock": [ + { blockType: BlockType; baseFilename?: string }, + void, + ]; + "config/addGlobalRule": [undefined | { baseFilename?: string }, void]; "config/newPromptFile": [undefined, void]; "config/newAssistantFile": [undefined, void]; "config/ideSettingsUpdate": [IdeSettings, void]; diff --git a/core/tools/implementations/runTerminalCommand.ts b/core/tools/implementations/runTerminalCommand.ts index 15b1dc1bf..5fa0288ff 100644 --- a/core/tools/implementations/runTerminalCommand.ts +++ b/core/tools/implementations/runTerminalCommand.ts @@ -284,8 +284,11 @@ export const runTerminalCommandImpl: ToolImpl = async (args, extras) => { // Handle case where no workspace is available let cwd: string; - if (workspaceDirs.length > 0) { - cwd = fileURLToPath(workspaceDirs[0]); + const fileWorkspaceDir = workspaceDirs.find((dir) => + dir.startsWith("file:/"), + ); + if (fileWorkspaceDir) { + cwd = fileURLToPath(fileWorkspaceDir); } else { // Default to user's home directory with fallbacks try { diff --git a/core/tools/implementations/runTerminalCommand.vitest.ts b/core/tools/implementations/runTerminalCommand.vitest.ts index 230d482f7..428cc8306 100644 --- a/core/tools/implementations/runTerminalCommand.vitest.ts +++ b/core/tools/implementations/runTerminalCommand.vitest.ts @@ -1,20 +1,21 @@ -import { - describe, - it, - expect, - beforeEach, - afterEach, - afterAll, - vi, -} from "vitest"; import * as childProcess from "node:child_process"; import * as fs from "node:fs"; import * as os from "node:os"; import * as path from "node:path"; +import { fileURLToPath } from "node:url"; +import { + afterAll, + afterEach, + beforeEach, + describe, + expect, + it, + vi, +} from "vitest"; import { IDE, ToolExtras } from "../.."; import * as processTerminalStates from "../../util/processTerminalStates"; -import { runTerminalCommandImpl } from "./runTerminalCommand"; import { runTerminalCommandTool } from "../definitions/runTerminalCommand"; +import { runTerminalCommandImpl } from "./runTerminalCommand"; // We're using real child processes, so ensure these aren't mocked vi.unmock("node:child_process"); @@ -476,6 +477,206 @@ describe("runTerminalCommandImpl", () => { process.cwd = originalCwd; } }); + + describe("cwd handling", () => { + describe("workspace directory handling", () => { + it("should use file:// URI when available", async () => { + const fileUri = "file:///home/user/workspace"; + mockGetWorkspaceDirs.mockResolvedValue([fileUri]); + + // We can't easily test the internal cwd without mocking child_process, + // but we can verify the function doesn't throw with file URIs + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + }); + + it("should skip non-file URIs and use the first file:// URI", async () => { + const workspaceDirs = [ + "vscode-vfs://github/user/repo", + "untitled:/Untitled-1", + "file:///home/user/workspace", + "file:///home/user/other-workspace", + ]; + mockGetWorkspaceDirs.mockResolvedValue(workspaceDirs); + + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + }); + + it("should handle workspace with only non-file URIs", async () => { + const workspaceDirs = [ + "vscode-vfs://github/user/repo", + "untitled:/Untitled-1", + ]; + mockGetWorkspaceDirs.mockResolvedValue(workspaceDirs); + + // Should fall back to HOME/USERPROFILE or process.cwd() without throwing + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + }); + + it("should handle empty workspace directories", async () => { + mockGetWorkspaceDirs.mockResolvedValue([]); + + // Should fall back to HOME/USERPROFILE or process.cwd() without throwing + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + }); + + it("should properly convert file:// URIs to paths", () => { + const fileUri = "file:///home/user/workspace"; + const expectedPath = "/home/user/workspace"; + + // Test that fileURLToPath works correctly with file:// URIs + expect(fileURLToPath(fileUri)).toBe(expectedPath); + }); + + it("should throw error when trying to convert non-file URI", () => { + const nonFileUri = "vscode-vfs://github/user/repo"; + + // This demonstrates why the fix is needed - fileURLToPath throws on non-file URIs + expect(() => fileURLToPath(nonFileUri)).toThrow(); + }); + }); + + describe("remote environment handling", () => { + it("should use ide.runCommand for non-enabled remote environments", async () => { + const extras = createMockExtras({ + remoteName: "some-unsupported-remote", + }); + + const result = await runTerminalCommandImpl( + { command: "echo test" }, + extras, + ); + + expect(mockRunCommand).toHaveBeenCalledWith("echo test"); + expect(result[0].content).toContain("Terminal output not available"); + }); + + it("should handle local environment with file URIs", async () => { + mockGetWorkspaceDirs.mockResolvedValue(["file:///home/user/workspace"]); + + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras({ remoteName: "local" }), + ), + ).resolves.toBeDefined(); + }); + + it("should handle WSL environment", async () => { + mockGetWorkspaceDirs.mockResolvedValue(["file:///home/user/workspace"]); + + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras({ remoteName: "wsl" }), + ), + ).resolves.toBeDefined(); + }); + + it("should handle dev-container environment", async () => { + mockGetWorkspaceDirs.mockResolvedValue(["file:///workspace"]); + + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras({ remoteName: "dev-container" }), + ), + ).resolves.toBeDefined(); + }); + }); + + describe("fallback behavior", () => { + it("should use HOME environment variable as fallback", async () => { + const originalHome = process.env.HOME; + process.env.HOME = "/home/testuser"; + + mockGetWorkspaceDirs.mockResolvedValue([ + "vscode-vfs://github/user/repo", + ]); + + try { + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + } finally { + process.env.HOME = originalHome; + } + }); + + it("should use USERPROFILE on Windows as fallback", async () => { + const originalHome = process.env.HOME; + const originalUserProfile = process.env.USERPROFILE; + + delete process.env.HOME; + process.env.USERPROFILE = "C:\\Users\\TestUser"; + + mockGetWorkspaceDirs.mockResolvedValue([]); + + try { + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + } finally { + process.env.HOME = originalHome; + process.env.USERPROFILE = originalUserProfile; + } + }); + + it("should use os.tmpdir() as final fallback", async () => { + const originalHome = process.env.HOME; + const originalUserProfile = process.env.USERPROFILE; + const originalCwd = process.cwd; + + delete process.env.HOME; + delete process.env.USERPROFILE; + // Mock process.cwd to throw an error + process.cwd = vi.fn().mockImplementation(() => { + throw new Error("No cwd available"); + }) as typeof process.cwd; + + mockGetWorkspaceDirs.mockResolvedValue([]); + + try { + // Should fall back to os.tmpdir() without throwing + await expect( + runTerminalCommandImpl( + { command: "echo test", waitForCompletion: false }, + createMockExtras(), + ), + ).resolves.toBeDefined(); + } finally { + process.env.HOME = originalHome; + process.env.USERPROFILE = originalUserProfile; + process.cwd = originalCwd; + } + }); + }); + }); }); describe("runTerminalCommandTool.evaluateToolCallPolicy", () => { diff --git a/docs/favicon.png b/docs/favicon.png index b743b1f63..3319113d5 100644 Binary files a/docs/favicon.png and b/docs/favicon.png differ diff --git a/extensions/cli/README.md b/extensions/cli/README.md index 324d3d7be..c700f294a 100644 --- a/extensions/cli/README.md +++ b/extensions/cli/README.md @@ -18,10 +18,30 @@ cn ### Headless Mode +Headless mode (`-p` flag) runs without an interactive terminal UI, making it perfect for: + +- Scripts and automation +- CI/CD pipelines +- Docker containers +- VSCode/IntelliJ extension integration +- Environments without a TTY + ```bash +# Basic usage cn -p "Generate a conventional commit name for the current git changes." + +# With piped input +echo "Review this code" | cn -p + +# JSON output for scripting +cn -p "Analyze the code" --format json + +# Silent mode (strips thinking tags) +cn -p "Write a README" --silent ``` +**TTY-less Environments**: Headless mode is designed to work in environments without a terminal (TTY), such as when called from VSCode/IntelliJ extensions using terminal commands. The CLI will not attempt to read stdin or initialize the interactive UI when running in headless mode with a supplied prompt. + ### Session Management The CLI automatically saves your chat history for each terminal session. You can resume where you left off: @@ -47,6 +67,7 @@ cn ls --json ## Environment Variables - `CONTINUE_CLI_DISABLE_COMMIT_SIGNATURE`: Disable adding the Continue commit signature to generated commit messages +- `FORCE_NO_TTY`: Force TTY-less mode, prevents stdin reading (useful for testing and automation) ## Commands @@ -62,3 +83,26 @@ cn ls --json Shows recent sessions, limited by screen height to ensure it fits on your terminal. - `--json`: Output in JSON format for scripting (always shows 10 sessions) + +## TTY-less Support + +The CLI fully supports running in environments without a TTY (terminal): + +```bash +# From Docker without TTY allocation +docker run --rm my-image cn -p "Generate docs" + +# From CI/CD pipeline +cn -p "Review changes" --format json + +# From VSCode/IntelliJ extension terminal tool +cn -p "Analyze code" --silent +``` + +The CLI automatically detects TTY-less environments and adjusts its behavior: + +- Skips stdin reading when a prompt is supplied +- Disables interactive UI components +- Ensures clean stdout/stderr output + +For more details, see [`spec/tty-less-support.md`](./spec/tty-less-support.md). diff --git a/extensions/cli/spec/tty-less-support.md b/extensions/cli/spec/tty-less-support.md new file mode 100644 index 000000000..312afdfe2 --- /dev/null +++ b/extensions/cli/spec/tty-less-support.md @@ -0,0 +1,239 @@ +# TTY-less Environment Support + +## Overview + +The Continue CLI supports running in TTY-less environments (environments without a terminal/TTY), which is essential for: + +- VSCode and IntelliJ extensions using the `run_terminal_command` tool +- Docker containers without TTY allocation +- CI/CD pipelines +- Automated scripts and tools +- Background processes + +## Architecture + +### Mode Separation + +The CLI has two distinct execution modes with complete separation: + +1. **Interactive Mode (TUI)**: Requires a TTY, uses Ink for rendering +2. **Headless Mode**: Works in TTY-less environments, outputs to stdout/stderr + +``` +┌─────────────────────────────────────────────────────────────┐ +│ CLI Entry Point │ +│ (src/index.ts) │ +└────────────────────────┬────────────────────────────────────┘ + │ + ┌────────────┴────────────┐ + │ │ + ┌───────▼────────┐ ┌───────▼─────────┐ + │ Interactive │ │ Headless │ + │ Mode (TUI) │ │ Mode (-p) │ + │ │ │ │ + │ • Requires TTY │ │ • No TTY needed │ + │ • Uses Ink │ │ • Stdin/stdout │ + │ • Keyboard UI │ │ • One-shot exec │ + └────────────────┘ └─────────────────┘ +``` + +### Safeguards Implemented + +#### 1. **TTY Detection Utilities** (`src/util/cli.ts`) + +```typescript +// Check if running in TTY-less environment +export function isTTYless(): boolean; + +// Check if environment supports interactive features +export function supportsInteractive(): boolean; + +// Check if prompt was supplied via CLI arguments +export function hasSuppliedPrompt(): boolean; +``` + +#### 2. **Stdin Reading Protection** (`src/util/stdin.ts`) + +Prevents stdin reading when: + +- In headless mode with supplied prompt +- `FORCE_NO_TTY` environment variable is set +- In test environments + +This avoids blocking/hanging in TTY-less environments where stdin is not available or not readable. + +#### 3. **TUI Initialization Guards** (`src/ui/index.ts`) + +The `startTUIChat()` function now includes multiple safeguards: + +- **Headless mode check**: Throws error if called in headless mode +- **TTY-less check**: Throws error if no TTY is available +- **Raw mode test**: Validates stdin supports raw mode (required by Ink) +- **Explicit stdin/stdout**: Passes streams explicitly to Ink + +```typescript +// Critical safeguard: Prevent TUI in headless mode +if (isHeadlessMode()) { + throw new Error("Cannot start TUI in headless mode"); +} + +// Critical safeguard: Prevent TUI in TTY-less environment +if (isTTYless() && !customStdin) { + throw new Error("Cannot start TUI in TTY-less environment"); +} +``` + +#### 4. **Headless Mode Validation** (`src/commands/chat.ts`) + +Ensures headless mode has all required inputs: + +```typescript +if (!prompt) { + throw new Error("Headless mode requires a prompt"); +} +``` + +#### 5. **Logger Configuration** (`src/util/logger.ts`) + +Configures output handling for TTY-less environments: + +- Sets UTF-8 encoding +- Leaves stdout/stderr buffering unchanged in headless mode. +- Disables progress indicators + +## Usage Examples + +### From VSCode/IntelliJ Extension + +```typescript +// Using the run_terminal_command tool +const command = 'cn -p "Analyze the current git diff"'; +const result = await runTerminalCommand(command); +``` + +### From Docker Container + +```bash +# Without TTY allocation (-t flag) +docker run --rm my-image cn -p "Generate a README" +``` + +### From CI/CD Pipeline + +```yaml +- name: Run Continue CLI + run: | + cn -p "Review code changes" --format json +``` + +### From Automated Script + +```bash +#!/bin/bash +# Non-interactive script +cn -p "Generate commit message for current changes" --silent +``` + +## Environment Variables + +- `FORCE_NO_TTY`: Forces TTY-less mode, prevents stdin reading +- `CONTINUE_CLI_TEST`: Marks test environment, prevents stdin reading + +## Testing + +### TTY-less Test + +```typescript +const result = await runCLI(context, { + args: ["-p", "Hello, world!"], + env: { + FORCE_NO_TTY: "true", + }, +}); +``` + +### Expected Behavior + +- ✅ Should not hang on stdin +- ✅ Should not attempt to initialize Ink +- ✅ Should output results to stdout +- ✅ Should exit cleanly + +## Error Messages + +### Attempting TUI in TTY-less Environment + +``` +Error: Cannot start TUI in TTY-less environment. No TTY available for interactive mode. +For non-interactive use, run with -p flag: + cn -p "your prompt here" +``` + +### Missing Prompt in Headless Mode + +``` +Error: A prompt is required when using the -p/--print flag, unless --prompt or --agent is provided. + +Usage examples: + cn -p "please review my current git diff" + echo "hello" | cn -p + cn -p "analyze the code in src/" + cn -p --agent my-org/my-agent +``` + +## Troubleshooting + +### CLI Hangs in Docker/CI + +**Cause**: CLI attempting to read stdin in TTY-less environment + +**Solution**: Ensure using `-p` flag with a prompt: + +```bash +cn -p "your prompt" --config config.yaml +``` + +### "Cannot start TUI" Error + +**Cause**: Attempting interactive mode in TTY-less environment + +**Solution**: Use headless mode: + +```bash +cn -p "your prompt" +``` + +### Raw Mode Error + +**Cause**: Terminal doesn't support raw mode (required by Ink) + +**Solution**: Use headless mode instead of interactive mode + +## Design Principles + +1. **Fail Fast**: Detect environment early and fail with clear messages +2. **Explicit Separation**: No code path should allow Ink to load in headless mode +3. **No Blocking**: Never block on stdin in TTY-less environments +4. **Clear Errors**: Provide actionable error messages with examples +5. **Testing**: Comprehensive tests for TTY-less scenarios + +## Implementation Checklist + +- [x] Add TTY detection utilities +- [x] Protect stdin reading in headless mode +- [x] Guard TUI initialization +- [x] Validate headless mode inputs +- [x] Configure logger for TTY-less output +- [x] Update test helpers +- [x] Add TTY-less tests +- [x] Document TTY-less support + +## Related Files + +- `src/util/cli.ts` - TTY detection utilities +- `src/util/stdin.ts` - Stdin reading protection +- `src/ui/index.ts` - TUI initialization guards +- `src/commands/chat.ts` - Mode routing and validation +- `src/util/logger.ts` - Output configuration +- `src/test-helpers/cli-helpers.ts` - Test support +- `src/e2e/headless-minimal.test.ts` - TTY-less tests diff --git a/extensions/cli/src/commands/chat.ts b/extensions/cli/src/commands/chat.ts index 4b7a998a9..71c1d53a4 100644 --- a/extensions/cli/src/commands/chat.ts +++ b/extensions/cli/src/commands/chat.ts @@ -492,6 +492,27 @@ async function runHeadlessMode( initialPrompt, ); + // Critical validation: Ensure we have actual prompt text in headless mode + // This prevents the CLI from hanging in TTY-less environments when question() is called + // We check AFTER processing all prompts (including agent files) to ensure we have real content + // EXCEPTION: Allow empty prompts when resuming/forking since they may just want to view history + if (!initialUserInput || !initialUserInput.trim()) { + // If resuming or forking, allow empty prompt - just exit successfully after showing history + if (options.resume || options.fork) { + // For resume/fork with no new input, we've already loaded the history above + // Just exit successfully (the history was already loaded into chatHistory) + await gracefulExit(0); + return; + } + + throw new Error( + 'Headless mode requires a prompt. Use: cn -p "your prompt"\n' + + 'Or pipe input: echo "prompt" | cn -p\n' + + "Or use agent files: cn -p --agent my-org/my-agent\n" + + "Note: Agent files must contain a prompt field.", + ); + } + let isFirstMessage = true; while (true) { // When in headless mode, don't ask for user input @@ -544,6 +565,15 @@ export async function chat(prompt?: string, options: ChatOptions = {}) { // Start active time tracking telemetryService.startActiveTime(); + // Critical routing: Explicit separation of headless and interactive modes + if (options.headless) { + // Headless path - no Ink, no TUI, works in TTY-less environments + logger.debug("Running in headless mode (TTY-less compatible)"); + await runHeadlessMode(prompt, options); + return; + } + + // Interactive path - requires TTY for Ink rendering // If not in headless mode, use unified initialization with TUI if (!options.headless) { // Process flags for TUI mode diff --git a/extensions/cli/src/e2e/headless-minimal.test.ts b/extensions/cli/src/e2e/headless-minimal.test.ts index e799c2ad0..c2e4727c6 100644 --- a/extensions/cli/src/e2e/headless-minimal.test.ts +++ b/extensions/cli/src/e2e/headless-minimal.test.ts @@ -39,4 +39,42 @@ provider: openai`, // The fact that it gets past config loading is what we're testing expect(result.exitCode).toBeDefined(); }); + + it("should run in TTY-less environment with supplied prompt", async () => { + // Create a minimal YAML config + const configPath = path.join(context.testDir, "test-config.yaml"); + await fs.writeFile( + configPath, + `name: Test Assistant +model: gpt-4 +provider: openai`, + ); + + const result = await runCLI(context, { + args: ["-p", "--config", configPath, "Hello, world!"], + env: { + OPENAI_API_KEY: "test-key", + // Simulate TTY-less environment (like Docker, CI, or VSCode terminal tool) + FORCE_NO_TTY: "true", + }, + expectError: true, // Will fail without proper LLM setup, but that's okay + }); + + // The key test is that it doesn't hang or crash due to TTY issues + expect(result.exitCode).toBeDefined(); + // Should not contain TTY-related error messages + expect(result.stderr).not.toMatch(/Cannot start TUI/); + expect(result.stderr).not.toMatch(/raw mode/); + }); + + it("should fail gracefully without a prompt in headless mode", async () => { + const result = await runCLI(context, { + args: ["-p"], + env: { FORCE_NO_TTY: "true" }, + expectError: true, + }); + + expect(result.exitCode).not.toBe(0); + expect(result.stderr).toMatch(/prompt is required|Usage/); + }); }); diff --git a/extensions/cli/src/e2e/resume-flag.test.ts b/extensions/cli/src/e2e/resume-flag.test.ts index 910890b7d..e18969c20 100644 --- a/extensions/cli/src/e2e/resume-flag.test.ts +++ b/extensions/cli/src/e2e/resume-flag.test.ts @@ -7,8 +7,8 @@ import { runCLI, } from "../test-helpers/cli-helpers.js"; import { - setupMockLLMTest, cleanupMockLLMServer, + setupMockLLMTest, type MockLLMServer, } from "../test-helpers/mock-llm-server.js"; @@ -80,8 +80,9 @@ describe("E2E: Resume Flag", () => { expect(assistantMessage?.message?.content).toBe("Hello! Nice to meet you."); // Now run with --resume flag using the same session ID + // Use -p flag to run in headless mode (tests don't have TTY) const resumeResult = await runCLI(context, { - args: ["--resume", "--config", context.configPath], + args: ["-p", "--resume", "--config", context.configPath], env: { CONTINUE_CLI_TEST_SESSION_ID: "test-session-123", CONTINUE_GLOBAL_DIR: path.join(context.testDir, ".continue"), @@ -98,8 +99,9 @@ describe("E2E: Resume Flag", () => { it("should handle --resume when no previous session exists", async () => { // Try to resume without any previous session + // Use -p flag to run in headless mode (tests don't have TTY) const result = await runCLI(context, { - args: ["--resume", "--config", context.configPath], + args: ["-p", "--resume", "--config", context.configPath], env: { CONTINUE_CLI_TEST_SESSION_ID: "no-session-456", CONTINUE_GLOBAL_DIR: path.join(context.testDir, ".continue"), diff --git a/extensions/cli/src/index.ts b/extensions/cli/src/index.ts index b1aa39c28..4735f416f 100644 --- a/extensions/cli/src/index.ts +++ b/extensions/cli/src/index.ts @@ -216,11 +216,11 @@ addCommonOptions(program) } } - // In headless mode, ensure we have a prompt unless using --agent flag - // Agent files can provide their own prompts - if (options.print && !prompt && !options.agent) { + // In headless mode, ensure we have a prompt unless using --agent flag or --resume flag + // Agent files can provide their own prompts, and resume can work without new input + if (options.print && !prompt && !options.agent && !options.resume) { safeStderr( - "Error: A prompt is required when using the -p/--print flag, unless --prompt or --agent is provided.\n\n", + "Error: A prompt is required when using the -p/--print flag, unless --prompt, --agent, or --resume is provided.\n\n", ); safeStderr("Usage examples:\n"); safeStderr(' cn -p "please review my current git diff"\n'); @@ -228,6 +228,7 @@ addCommonOptions(program) safeStderr(' cn -p "analyze the code in src/"\n'); safeStderr(" cn -p --agent my-org/my-agent\n"); safeStderr(" cn -p --prompt my-org/my-prompt\n"); + safeStderr(" cn -p --resume\n"); await gracefulExit(1); } diff --git a/extensions/cli/src/test-helpers/cli-helpers.ts b/extensions/cli/src/test-helpers/cli-helpers.ts index 1814c671c..fdd410adc 100644 --- a/extensions/cli/src/test-helpers/cli-helpers.ts +++ b/extensions/cli/src/test-helpers/cli-helpers.ts @@ -77,6 +77,9 @@ export async function runCLI( expectError = false, } = options; + // Detect if this is a headless mode test (has -p flag) + const isHeadlessTest = args.includes("-p") || args.includes("--prompt"); + const execOptions = { cwd: context.testDir, env: { @@ -90,6 +93,8 @@ export async function runCLI( path.parse(context.testDir).root, context.testDir, ), + // Mark as TTY-less for headless tests to prevent stdin reading + ...(isHeadlessTest ? { FORCE_NO_TTY: "true" } : {}), ...env, }, timeout, diff --git a/extensions/cli/src/ui/index.ts b/extensions/cli/src/ui/index.ts index 9f5a3ec9e..45e81e7ab 100644 --- a/extensions/cli/src/ui/index.ts +++ b/extensions/cli/src/ui/index.ts @@ -5,6 +5,8 @@ import { enableSigintHandler, setTUIUnmount } from "../index.js"; import { PermissionMode } from "../permissions/types.js"; import { initializeServices } from "../services/index.js"; import { ServiceContainerProvider } from "../services/ServiceContainerContext.js"; +import { isHeadlessMode, isTTYless } from "../util/cli.js"; +import { logger } from "../util/logger.js"; import { AppRoot } from "./AppRoot.js"; @@ -43,6 +45,23 @@ export async function startTUIChat( customStdin, } = options; + // Critical safeguard: Prevent TUI initialization in headless mode + if (isHeadlessMode()) { + throw new Error( + "Cannot start TUI in headless mode. This is a programming error - " + + "startTUIChat should not be called when -p/--print flag is used.", + ); + } + + // Critical safeguard: Prevent TUI initialization in TTY-less environment + if (isTTYless() && !customStdin) { + throw new Error( + "Cannot start TUI in TTY-less environment. No TTY available for interactive mode.\n" + + "For non-interactive use, run with -p flag:\n" + + ' cn -p "your prompt here"', + ); + } + // Initialize services only if not already done (skipOnboarding means already initialized) if (!skipOnboarding) { await initializeServices({ @@ -52,15 +71,36 @@ export async function startTUIChat( }); } - // Use static imports since we're always loading TUI when there's piped input + // Validate stdin is available and suitable for Ink + const stdinToUse = customStdin || process.stdin; + + // Test raw mode capability (required by Ink) + if ( + stdinToUse.isTTY && + typeof (stdinToUse as any).setRawMode === "function" + ) { + try { + // Test that we can enter raw mode (Ink requirement) + (stdinToUse as any).setRawMode(true); + (stdinToUse as any).setRawMode(false); + logger.debug("Raw mode test passed - TTY is suitable for Ink"); + } catch { + throw new Error( + "Terminal does not support raw mode required for interactive UI.\n" + + 'Use -p flag for headless mode: cn -p "your prompt"', + ); + } + } else if (!customStdin) { + logger.warn("stdin is not a TTY or does not support setRawMode"); + } // Start the TUI immediately - it will handle loading states const renderOptions: RenderOptions = { exitOnCtrlC: false, // Disable Ink's default Ctrl+C handling so we can implement two-stage exit + stdin: stdinToUse, + stdout: process.stdout, + stderr: process.stderr, }; - if (customStdin) { - renderOptions.stdin = customStdin; - } const { unmount } = render( React.createElement(ServiceContainerProvider, { @@ -89,6 +129,29 @@ export async function startRemoteTUIChat( remoteUrl: string, initialPrompt?: string, ) { + // Critical safeguard: Prevent TUI initialization in TTY-less environment + if (isTTYless()) { + throw new Error( + "Cannot start remote TUI in TTY-less environment. No TTY available for interactive mode.", + ); + } + + // Test raw mode capability for remote TUI + if ( + process.stdin.isTTY && + typeof (process.stdin as any).setRawMode === "function" + ) { + try { + (process.stdin as any).setRawMode(true); + (process.stdin as any).setRawMode(false); + logger.debug("Raw mode test passed for remote TUI"); + } catch { + throw new Error( + "Terminal does not support raw mode required for interactive UI.", + ); + } + } + // Start the TUI in remote mode - no services needed const { unmount } = render( React.createElement(ServiceContainerProvider, { @@ -97,6 +160,11 @@ export async function startRemoteTUIChat( initialPrompt, }), }), + { + stdin: process.stdin, + stdout: process.stdout, + stderr: process.stderr, + }, ); // Register unmount function with main process for two-stage Ctrl+C exit diff --git a/extensions/cli/src/util/cli.test.ts b/extensions/cli/src/util/cli.test.ts new file mode 100644 index 000000000..eebef662f --- /dev/null +++ b/extensions/cli/src/util/cli.test.ts @@ -0,0 +1,130 @@ +import { afterEach, beforeEach, describe, expect, it } from "vitest"; + +import { hasSuppliedPrompt, isHeadlessMode, isServe } from "./cli.js"; + +describe("CLI utility functions", () => { + let originalArgv: string[]; + + beforeEach(() => { + originalArgv = process.argv; + }); + + afterEach(() => { + process.argv = originalArgv; + }); + + describe("isHeadlessMode", () => { + it("should return true when -p flag is present", () => { + process.argv = ["node", "script.js", "-p", "test prompt"]; + expect(isHeadlessMode()).toBe(true); + }); + + it("should return true when --print flag is present", () => { + process.argv = ["node", "script.js", "--print", "test prompt"]; + expect(isHeadlessMode()).toBe(true); + }); + + it("should return false when no print flag is present", () => { + process.argv = ["node", "script.js", "other", "args"]; + expect(isHeadlessMode()).toBe(false); + }); + }); + + describe("isServe", () => { + it("should return true when serve command is present", () => { + process.argv = ["node", "script.js", "serve"]; + expect(isServe()).toBe(true); + }); + + it("should return false when serve command is not present", () => { + process.argv = ["node", "script.js", "-p", "test"]; + expect(isServe()).toBe(false); + }); + }); + + describe("hasSuppliedPrompt", () => { + it("should return true when prompt immediately follows -p", () => { + process.argv = ["node", "script.js", "-p", "test prompt"]; + expect(hasSuppliedPrompt()).toBe(true); + }); + + it("should return true when prompt immediately follows --print", () => { + process.argv = ["node", "script.js", "--print", "test prompt"]; + expect(hasSuppliedPrompt()).toBe(true); + }); + + it("should return true when prompt follows other flags after -p", () => { + // This is the bug fix - handles cases like: cn -p --config my.yaml "Prompt" + process.argv = [ + "node", + "script.js", + "-p", + "--config", + "my.yaml", + "test prompt", + ]; + expect(hasSuppliedPrompt()).toBe(true); + }); + + it("should return true when prompt follows multiple flags after --print", () => { + process.argv = [ + "node", + "script.js", + "--print", + "--config", + "my.yaml", + "--model", + "gpt-4", + "test prompt", + ]; + expect(hasSuppliedPrompt()).toBe(true); + }); + + it("should return false when only flags and their values follow -p", () => { + process.argv = ["node", "script.js", "-p", "--config", "my.yaml"]; + expect(hasSuppliedPrompt()).toBe(false); + }); + + it("should return false when only unknown flags follow -p", () => { + process.argv = ["node", "script.js", "-p", "--some-flag"]; + expect(hasSuppliedPrompt()).toBe(false); + }); + + it("should return false when no -p or --print flag is present", () => { + process.argv = ["node", "script.js", "test prompt"]; + expect(hasSuppliedPrompt()).toBe(false); + }); + + it("should return true when --prompt flag is present", () => { + process.argv = ["node", "script.js", "-p", "--prompt"]; + expect(hasSuppliedPrompt()).toBe(true); + }); + + it("should return false when --agent flag is present (agent slug is not a prompt)", () => { + process.argv = ["node", "script.js", "-p", "--agent", "my-agent"]; + expect(hasSuppliedPrompt()).toBe(false); + }); + + it("should return false when -p is last argument with no prompt", () => { + process.argv = ["node", "script.js", "-p"]; + expect(hasSuppliedPrompt()).toBe(false); + }); + + it("should handle quoted prompts with flags in between", () => { + process.argv = [ + "node", + "script.js", + "-p", + "--config", + "my.yaml", + "Explain this code", + ]; + expect(hasSuppliedPrompt()).toBe(true); + }); + + it("should return false when prompt appears before -p flag", () => { + process.argv = ["node", "script.js", "test prompt", "-p"]; + expect(hasSuppliedPrompt()).toBe(false); + }); + }); +}); diff --git a/extensions/cli/src/util/cli.ts b/extensions/cli/src/util/cli.ts index bb23ea71f..5132fd4c1 100644 --- a/extensions/cli/src/util/cli.ts +++ b/extensions/cli/src/util/cli.ts @@ -13,3 +13,80 @@ export function isHeadlessMode(): boolean { export function isServe(): boolean { return process.argv?.includes("serve") ?? false; } + +/** + * Check if running in a TTY-less environment + * Returns true if stdin, stdout, and stderr are all not TTYs + */ +export function isTTYless(): boolean { + return ( + process.stdin.isTTY !== true && + process.stdout.isTTY !== true && + process.stderr.isTTY !== true + ); +} + +/** + * Check if environment supports interactive features (TUI) + * Returns false if in headless mode or TTY-less environment + */ +export function supportsInteractive(): boolean { + return !isTTYless() && !isHeadlessMode(); +} + +/** + * Check if a prompt was supplied via CLI arguments + * Used to determine if stdin reading should be skipped + */ +export function hasSuppliedPrompt(): boolean { + const args = process.argv.slice(2); + const printIndex = args.findIndex((arg) => arg === "-p" || arg === "--print"); + + if (printIndex === -1) { + return false; + } + + // Check if --prompt flag is present (indicates a prompt is coming) + // Note: --agent doesn't supply a prompt, it just specifies which agent to use + // Piped stdin should still be read when --agent is present + const hasPromptFlag = args.includes("--prompt"); + if (hasPromptFlag) { + return true; + } + + // Check if there's a non-flag argument after -p/--print + // We need to skip flags that take values (like --config, --model, etc.) + // Known flags that take values + const flagsWithValues = new Set([ + "--config", + "--model", + "--output", + "--mode", + "--workflow", + "--agent", + "-m", + "-c", + "-o", + ]); + + const argsAfterPrint = args.slice(printIndex + 1); + for (let i = 0; i < argsAfterPrint.length; i++) { + const arg = argsAfterPrint[i]; + + // If this is a flag that takes a value, skip both the flag and its value + if (flagsWithValues.has(arg)) { + i++; // Skip the next argument (the value) + continue; + } + + // If this is any other flag (starts with -), skip it + if (arg.startsWith("-")) { + continue; + } + + // Found a non-flag argument - this is the prompt + return true; + } + + return false; +} diff --git a/extensions/cli/src/util/logger.ts b/extensions/cli/src/util/logger.ts index 9ff6964f8..8f32e67fe 100644 --- a/extensions/cli/src/util/logger.ts +++ b/extensions/cli/src/util/logger.ts @@ -84,6 +84,7 @@ const logFormat = printf( // Track headless mode let isHeadlessMode = false; +let isTTYlessEnvironment = false; // Create the winstonLogger instance const winstonLogger = winston.createLogger({ @@ -111,6 +112,23 @@ export function setLogLevel(level: string) { // Function to configure headless mode export function configureHeadlessMode(headless: boolean) { isHeadlessMode = headless; + + // Detect TTY-less environment + isTTYlessEnvironment = + process.stdin.isTTY !== true && + process.stdout.isTTY !== true && + process.stderr.isTTY !== true; + + // In TTY-less environments with headless mode, ensure output is line-buffered + if (headless && isTTYlessEnvironment) { + // Set encoding for consistent output + if (process.stdout.setDefaultEncoding) { + process.stdout.setDefaultEncoding("utf8"); + } + if (process.stderr.setDefaultEncoding) { + process.stderr.setDefaultEncoding("utf8"); + } + } } // Export winstonLogger methods diff --git a/extensions/cli/src/util/stdin.ts b/extensions/cli/src/util/stdin.ts index 9edc22f95..5abd648bd 100644 --- a/extensions/cli/src/util/stdin.ts +++ b/extensions/cli/src/util/stdin.ts @@ -1,5 +1,7 @@ import * as fs from "fs"; +import { hasSuppliedPrompt, isHeadlessMode } from "./cli.js"; + /** * Reads input from stdin if available (when data is piped in) * Returns null if stdin is a TTY (interactive terminal) or if no data available @@ -17,11 +19,24 @@ export function readStdinSync(): string | null { return null; } + // Skip stdin reading in headless mode when a prompt is supplied + // This prevents blocking on TTY-less environments (like VSCode/IntelliJ terminal tools) + if (isHeadlessMode() && hasSuppliedPrompt()) { + return null; + } + // Special handling for CI environments - allow reading if stdin is clearly not a TTY if (process.env.CI === "true" && process.stdin.isTTY === true) { return null; } + // In TTY-less environments (Docker, CI, VSCode/IntelliJ terminal tools), + // attempting to read stdin can hang or fail + // Only attempt to read if we're confident there's piped input + if (process.env.FORCE_NO_TTY === "true") { + return null; + } + // Check if stdin is a TTY (interactive terminal) if (process.stdin.isTTY === true) { // Definitely a TTY, don't read diff --git a/extensions/vscode/package-lock.json b/extensions/vscode/package-lock.json index a27470062..d8e0bc47b 100644 --- a/extensions/vscode/package-lock.json +++ b/extensions/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "1.3.26", + "version": "1.3.27", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "continue", - "version": "1.3.26", + "version": "1.3.27", "license": "Apache-2.0", "dependencies": { "@continuedev/config-types": "file:../../packages/config-types", @@ -14,7 +14,7 @@ "@electron/rebuild": "^3.2.10", "@reduxjs/toolkit": "^1.9.3", "@vscode/ripgrep": "^1.15.9", - "axios": "^1.2.5", + "axios": "^1.13.1", "core": "file:../../core", "cors": "^2.8.5", "dbinfoz": "^0.14.0", @@ -1881,6 +1881,18 @@ "url": "https://opencollective.com/openapi_generator" } }, + "node_modules/@openapitools/openapi-generator-cli/node_modules/axios": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz", + "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.4", + "proxy-from-env": "^1.1.0" + } + }, "node_modules/@openapitools/openapi-generator-cli/node_modules/fs-extra": { "version": "11.3.1", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.1.tgz", @@ -3804,9 +3816,9 @@ "integrity": "sha512-lHe62zvbTB5eEABUVi/AwVh0ZKY9rMMDhmm+eeyuuUQbQ3+J+fONVQOZyj+DdrvD4BY33uYniyRJ4UJIaSKAfw==" }, "node_modules/axios": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz", - "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz", + "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 8de1820bc..c30ec472a 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -733,7 +733,7 @@ "@electron/rebuild": "^3.2.10", "@reduxjs/toolkit": "^1.9.3", "@vscode/ripgrep": "^1.15.9", - "axios": "^1.2.5", + "axios": "^1.13.1", "core": "file:../../core", "cors": "^2.8.5", "dbinfoz": "^0.14.0", diff --git a/gui/src/components/dialogs/AddRuleDialog.tsx b/gui/src/components/dialogs/AddRuleDialog.tsx new file mode 100644 index 000000000..08a0e4ecf --- /dev/null +++ b/gui/src/components/dialogs/AddRuleDialog.tsx @@ -0,0 +1,100 @@ +import { useContext, useLayoutEffect, useRef, useState } from "react"; +import { useDispatch } from "react-redux"; +import { Input, SecondaryButton } from ".."; +import { IdeMessengerContext } from "../../context/IdeMessenger"; +import { setDialogMessage, setShowDialog } from "../../redux/slices/uiSlice"; + +function AddRuleDialog({ mode }: { mode: "workspace" | "global" }) { + const dispatch = useDispatch(); + const ideMessenger = useContext(IdeMessengerContext); + const [name, setName] = useState("new-rule"); + const [error, setError] = useState(); + const [isSubmitting, setIsSubmitting] = useState(false); + const inputRef = useRef(null); + + useLayoutEffect(() => { + // focus on input after a short delay + const timer = setTimeout(() => { + if (inputRef.current) { + inputRef.current.focus(); + } + }, 100); + return () => clearTimeout(timer); + }, []); + + const closeDialog = () => { + dispatch(setShowDialog(false)); + dispatch(setDialogMessage(undefined)); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + const trimmed = name.trim(); + if (!trimmed) { + setError("Rule name is required"); + return; + } + setError(undefined); + setIsSubmitting(true); + try { + if (mode === "global") { + ideMessenger.post("config/addGlobalRule", { + baseFilename: trimmed, + }); + } else { + ideMessenger.post("config/addLocalWorkspaceBlock", { + blockType: "rules", + baseFilename: trimmed, + }); + } + closeDialog(); + } catch (err) { + setIsSubmitting(false); + setError("Failed to create rule file"); + } + }; + + const title = mode === "global" ? "Add global rule" : "Add workspace rule"; + + return ( +
+
+

{title}

+

+ Choose a name for the new rule file. +

+
+ + {error &&

{error}

} +
+ + Create + + + Cancel + +
+
+
+
+ ); +} + +export default AddRuleDialog; diff --git a/gui/src/pages/config/sections/RulesSection.tsx b/gui/src/pages/config/sections/RulesSection.tsx index 4e9741bb5..e80e83536 100644 --- a/gui/src/pages/config/sections/RulesSection.tsx +++ b/gui/src/pages/config/sections/RulesSection.tsx @@ -20,6 +20,7 @@ import { import { getRuleDisplayName } from "core/llm/rules/rules-utils"; import { useContext, useMemo, useState } from "react"; import { DropdownButton } from "../../../components/DropdownButton"; +import AddRuleDialog from "../../../components/dialogs/AddRuleDialog"; import HeaderButtonWithToolTip from "../../../components/gui/HeaderButtonWithToolTip"; import Switch from "../../../components/gui/Switch"; import { @@ -393,22 +394,24 @@ function RulesSubSection() { const config = useAppSelector((store) => store.config.config); const mode = useAppSelector((store) => store.session.mode); const ideMessenger = useContext(IdeMessengerContext); + const dispatch = useAppDispatch(); const isLocal = selectedProfile?.profileType === "local"; const [globalRulesMode, setGlobalRulesMode] = useState("workspace"); const handleAddRule = (mode?: string) => { const currentMode = mode || globalRulesMode; if (isLocal) { - if (currentMode === "global") { - void ideMessenger.request("config/addGlobalRule", undefined); - } else { - void ideMessenger.request("config/addLocalWorkspaceBlock", { - blockType: "rules", - }); - } + dispatch(setShowDialog(true)); + dispatch( + setDialogMessage( + , + ), + ); } else { void ideMessenger.request("controlPlane/openUrl", { - path: "?type=rules", + path: "/hub?type=rules", orgSlug: undefined, }); } diff --git a/packages/openai-adapters/package-lock.json b/packages/openai-adapters/package-lock.json index a5a0d828e..8750b09da 100644 --- a/packages/openai-adapters/package-lock.json +++ b/packages/openai-adapters/package-lock.json @@ -28,58 +28,19 @@ "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.3", - "@semantic-release/npm": "^13.1.2", + "@semantic-release/npm": "^12.0.2", "@semantic-release/release-notes-generator": "^14.0.3", "@types/follow-redirects": "^1.14.4", "@types/jest": "^29.5.14", "@types/json-schema": "^7.0.15", "@types/node": "^24.3.0", "cross-env": "^7.0.3", - "semantic-release": "^25.0.2", + "semantic-release": "^24.2.7", "ts-jest": "^29.2.3", "ts-node": "^10.9.2", "vitest": "^3.2.4" } }, - "node_modules/@actions/core": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.11.1.tgz", - "integrity": "sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@actions/exec": "^1.1.1", - "@actions/http-client": "^2.0.1" - } - }, - "node_modules/@actions/exec": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", - "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", - "dev": true, - "license": "MIT", - "dependencies": { - "@actions/io": "^1.0.1" - } - }, - "node_modules/@actions/http-client": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.3.tgz", - "integrity": "sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA==", - "dev": true, - "license": "MIT", - "dependencies": { - "tunnel": "^0.0.6", - "undici": "^5.25.4" - } - }, - "node_modules/@actions/io": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.3.tgz", - "integrity": "sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q==", - "dev": true, - "license": "MIT" - }, "node_modules/@anthropic-ai/sdk": { "version": "0.67.0", "resolved": "https://registry.npmjs.org/@anthropic-ai/sdk/-/sdk-0.67.0.tgz", @@ -2929,16 +2890,6 @@ "node": ">=18" } }, - "node_modules/@fastify/busboy": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", - "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14" - } - }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", @@ -4761,30 +4712,28 @@ } }, "node_modules/@semantic-release/npm": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-13.1.2.tgz", - "integrity": "sha512-9rtshDTNlzYrC7uSBtB1vHqFzFZaNHigqkkCH5Ls4N/BSlVOenN5vtwHYxjAR4jf1hNvWSVwL4eIFTHONYckkw==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-12.0.2.tgz", + "integrity": "sha512-+M9/Lb35IgnlUO6OSJ40Ie+hUsZLuph2fqXC/qrKn0fMvUU/jiCjpoL6zEm69vzcmaZJ8yNKtMBEKHWN49WBbQ==", "dev": true, "license": "MIT", "dependencies": { - "@actions/core": "^1.11.1", "@semantic-release/error": "^4.0.0", "aggregate-error": "^5.0.0", - "env-ci": "^11.2.0", "execa": "^9.0.0", "fs-extra": "^11.0.0", "lodash-es": "^4.17.21", "nerf-dart": "^1.0.0", "normalize-url": "^8.0.0", - "npm": "^11.6.2", + "npm": "^10.9.3", "rc": "^1.2.8", - "read-pkg": "^10.0.0", + "read-pkg": "^9.0.0", "registry-auth-token": "^5.0.0", "semver": "^7.1.2", "tempy": "^3.0.0" }, "engines": { - "node": "^22.14.0 || >= 24.10.0" + "node": ">=20.8.1" }, "peerDependencies": { "semantic-release": ">=20.1.0" @@ -4890,19 +4839,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/hosted-git-info": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.2.tgz", - "integrity": "sha512-M422h7o/BR3rmCQ8UHi7cyyMqKltdP9Uo+J2fXK+RSAY+wTcKOIRyhTuKv4qn+DJf3g+PL890AzId5KZpX+CBg==", - "dev": true, - "license": "ISC", - "dependencies": { - "lru-cache": "^11.1.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, "node_modules/@semantic-release/npm/node_modules/human-signals": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-8.0.1.tgz", @@ -4939,31 +4875,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/lru-cache": { - "version": "11.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.2.tgz", - "integrity": "sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==", - "dev": true, - "license": "ISC", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/@semantic-release/npm/node_modules/normalize-package-data": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-8.0.0.tgz", - "integrity": "sha512-RWk+PI433eESQ7ounYxIp67CYuVsS1uYSonX3kA6ps/3LWfjVQa/ptEg6Y3T6uAMq1mWpX9PQ+qx+QaHpsc7gQ==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^9.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, "node_modules/@semantic-release/npm/node_modules/npm-run-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-6.0.0.tgz", @@ -4981,37 +4892,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/parse-json": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", - "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.26.2", - "index-to-position": "^1.1.0", - "type-fest": "^4.39.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@semantic-release/npm/node_modules/parse-json/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/npm/node_modules/path-key": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", @@ -5025,26 +4905,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/read-pkg": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-10.0.0.tgz", - "integrity": "sha512-A70UlgfNdKI5NSvTTfHzLQj7NJRpJ4mT5tGafkllJ4wh71oYuGm/pzphHcmW4s35iox56KSK721AihodoXSc/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/normalize-package-data": "^2.4.4", - "normalize-package-data": "^8.0.0", - "parse-json": "^8.3.0", - "type-fest": "^5.2.0", - "unicorn-magic": "^0.3.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/npm/node_modules/signal-exit": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", @@ -5071,22 +4931,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/@semantic-release/npm/node_modules/type-fest": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.2.0.tgz", - "integrity": "sha512-xxCJm+Bckc6kQBknN7i9fnP/xobQRsRQxR01CztFkp/h++yfVxUUcmMgfR2HttJx/dpWjS9ubVuyspJv24Q9DA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "dependencies": { - "tagged-tag": "^1.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/@semantic-release/npm/node_modules/unicorn-magic": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", @@ -7222,7 +7066,6 @@ "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", "dev": true, "license": "ISC", - "peer": true, "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -7238,7 +7081,6 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8" } @@ -7248,8 +7090,7 @@ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/cliui/node_modules/string-width": { "version": "4.2.3", @@ -7257,7 +7098,6 @@ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -7273,7 +7113,6 @@ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -7287,7 +7126,6 @@ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -8470,19 +8308,6 @@ "node": "6.* || 8.* || >= 10.*" } }, - "node_modules/get-east-asian-width": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.4.0.tgz", - "integrity": "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/get-package-type": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", @@ -8523,9 +8348,9 @@ } }, "node_modules/glob": { - "version": "10.5.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", - "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", "dev": true, "license": "ISC", "peer": true, @@ -11342,16 +11167,15 @@ } }, "node_modules/npm": { - "version": "11.6.3", - "resolved": "https://registry.npmjs.org/npm/-/npm-11.6.3.tgz", - "integrity": "sha512-QIWnYxYuDjrNGaTp0jrTqgl45QHM+UfdcjPBKmia4LsBkHY8TvEjZpkAVrNO7EOJA//tOP3k+9cioXwqdAfukg==", + "version": "10.9.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-10.9.3.tgz", + "integrity": "sha512-6Eh1u5Q+kIVXeA8e7l2c/HpnFFcwrkt37xDMujD5be1gloWa9p6j3Fsv3mByXXmqJHy+2cElRMML8opNT7xIJQ==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", "@npmcli/config", "@npmcli/fs", "@npmcli/map-workspaces", - "@npmcli/metavuln-calculator", "@npmcli/package-json", "@npmcli/promise-spawn", "@npmcli/redact", @@ -11376,6 +11200,7 @@ "libnpmdiff", "libnpmexec", "libnpmfund", + "libnpmhook", "libnpmorg", "libnpmpack", "libnpmpublish", @@ -11389,6 +11214,7 @@ "ms", "node-gyp", "nopt", + "normalize-package-data", "npm-audit-report", "npm-install-checks", "npm-package-arg", @@ -11411,7 +11237,8 @@ "tiny-relative-date", "treeverse", "validate-npm-package-name", - "which" + "which", + "write-file-atomic" ], "dev": true, "license": "Artistic-2.0", @@ -11424,78 +11251,80 @@ ], "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^9.1.7", - "@npmcli/config": "^10.4.3", + "@npmcli/arborist": "^8.0.1", + "@npmcli/config": "^9.0.0", "@npmcli/fs": "^4.0.0", - "@npmcli/map-workspaces": "^5.0.1", - "@npmcli/metavuln-calculator": "^9.0.3", - "@npmcli/package-json": "^7.0.2", - "@npmcli/promise-spawn": "^9.0.1", - "@npmcli/redact": "^4.0.0", - "@npmcli/run-script": "^10.0.3", - "@sigstore/tuf": "^4.0.0", - "abbrev": "^4.0.0", + "@npmcli/map-workspaces": "^4.0.2", + "@npmcli/package-json": "^6.2.0", + "@npmcli/promise-spawn": "^8.0.2", + "@npmcli/redact": "^3.2.2", + "@npmcli/run-script": "^9.1.0", + "@sigstore/tuf": "^3.1.1", + "abbrev": "^3.0.1", "archy": "~1.0.0", - "cacache": "^20.0.2", - "chalk": "^5.6.2", - "ci-info": "^4.3.1", + "cacache": "^19.0.1", + "chalk": "^5.4.1", + "ci-info": "^4.2.0", "cli-columns": "^4.0.0", "fastest-levenshtein": "^1.0.16", "fs-minipass": "^3.0.3", - "glob": "^11.0.3", + "glob": "^10.4.5", "graceful-fs": "^4.2.11", - "hosted-git-info": "^9.0.2", - "ini": "^6.0.0", - "init-package-json": "^8.2.3", - "is-cidr": "^6.0.1", - "json-parse-even-better-errors": "^5.0.0", - "libnpmaccess": "^10.0.3", - "libnpmdiff": "^8.0.10", - "libnpmexec": "^10.1.9", - "libnpmfund": "^7.0.10", - "libnpmorg": "^8.0.1", - "libnpmpack": "^9.0.10", - "libnpmpublish": "^11.1.3", - "libnpmsearch": "^9.0.1", - "libnpmteam": "^8.0.2", - "libnpmversion": "^8.0.3", - "make-fetch-happen": "^15.0.3", - "minimatch": "^10.1.1", + "hosted-git-info": "^8.1.0", + "ini": "^5.0.0", + "init-package-json": "^7.0.2", + "is-cidr": "^5.1.1", + "json-parse-even-better-errors": "^4.0.0", + "libnpmaccess": "^9.0.0", + "libnpmdiff": "^7.0.1", + "libnpmexec": "^9.0.1", + "libnpmfund": "^6.0.1", + "libnpmhook": "^11.0.0", + "libnpmorg": "^7.0.0", + "libnpmpack": "^8.0.1", + "libnpmpublish": "^10.0.1", + "libnpmsearch": "^8.0.0", + "libnpmteam": "^7.0.0", + "libnpmversion": "^7.0.0", + "make-fetch-happen": "^14.0.3", + "minimatch": "^9.0.5", "minipass": "^7.1.1", "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", - "node-gyp": "^12.1.0", - "nopt": "^9.0.0", + "node-gyp": "^11.2.0", + "nopt": "^8.1.0", + "normalize-package-data": "^7.0.0", "npm-audit-report": "^6.0.0", - "npm-install-checks": "^8.0.0", - "npm-package-arg": "^13.0.2", - "npm-pick-manifest": "^11.0.3", - "npm-profile": "^12.0.1", - "npm-registry-fetch": "^19.1.1", + "npm-install-checks": "^7.1.1", + "npm-package-arg": "^12.0.2", + "npm-pick-manifest": "^10.0.0", + "npm-profile": "^11.0.1", + "npm-registry-fetch": "^18.0.2", "npm-user-validate": "^3.0.0", "p-map": "^7.0.3", - "pacote": "^21.0.4", - "parse-conflict-json": "^5.0.1", - "proc-log": "^6.0.0", + "pacote": "^19.0.1", + "parse-conflict-json": "^4.0.0", + "proc-log": "^5.0.0", "qrcode-terminal": "^0.12.0", "read": "^4.1.0", - "semver": "^7.7.3", + "semver": "^7.7.2", "spdx-expression-parse": "^4.0.0", - "ssri": "^13.0.0", - "supports-color": "^10.2.2", - "tar": "^7.5.2", + "ssri": "^12.0.0", + "supports-color": "^9.4.0", + "tar": "^6.2.1", "text-table": "~0.2.0", - "tiny-relative-date": "^2.0.2", + "tiny-relative-date": "^1.3.0", "treeverse": "^3.0.0", - "validate-npm-package-name": "^7.0.0", - "which": "^6.0.0" + "validate-npm-package-name": "^6.0.1", + "which": "^5.0.0", + "write-file-atomic": "^6.0.0" }, "bin": { "npm": "bin/npm-cli.js", "npx": "bin/npx-cli.js" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm-run-path": { @@ -11511,27 +11340,6 @@ "node": ">=8" } }, - "node_modules/npm/node_modules/@isaacs/balanced-match": { - "version": "4.0.1", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/npm/node_modules/@isaacs/brace-expansion": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "@isaacs/balanced-match": "^4.0.1" - }, - "engines": { - "node": "20 || >=22" - } - }, "node_modules/npm/node_modules/@isaacs/cliui": { "version": "8.0.2", "dev": true, @@ -11550,7 +11358,7 @@ } }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.2.2", + "version": "6.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -11585,7 +11393,7 @@ } }, "node_modules/npm/node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.1.2", + "version": "7.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -11618,7 +11426,7 @@ "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/agent": { - "version": "4.0.0", + "version": "3.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -11626,130 +11434,76 @@ "agent-base": "^7.1.0", "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.1", - "lru-cache": "^11.2.1", + "lru-cache": "^10.0.1", "socks-proxy-agent": "^8.0.3" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "9.1.7", + "version": "8.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", "@npmcli/fs": "^4.0.0", - "@npmcli/installed-package-contents": "^4.0.0", - "@npmcli/map-workspaces": "^5.0.0", - "@npmcli/metavuln-calculator": "^9.0.2", - "@npmcli/name-from-folder": "^4.0.0", - "@npmcli/node-gyp": "^5.0.0", - "@npmcli/package-json": "^7.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/metavuln-calculator": "^8.0.0", + "@npmcli/name-from-folder": "^3.0.0", + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.1", "@npmcli/query": "^4.0.0", - "@npmcli/redact": "^4.0.0", - "@npmcli/run-script": "^10.0.0", - "bin-links": "^6.0.0", - "cacache": "^20.0.1", + "@npmcli/redact": "^3.0.0", + "@npmcli/run-script": "^9.0.1", + "bin-links": "^5.0.0", + "cacache": "^19.0.1", "common-ancestor-path": "^1.0.1", - "hosted-git-info": "^9.0.0", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", "json-stringify-nice": "^1.1.4", - "lru-cache": "^11.2.1", - "minimatch": "^10.0.3", + "lru-cache": "^10.2.2", + "minimatch": "^9.0.4", "nopt": "^8.0.0", - "npm-install-checks": "^8.0.0", - "npm-package-arg": "^13.0.0", - "npm-pick-manifest": "^11.0.1", - "npm-registry-fetch": "^19.0.0", - "pacote": "^21.0.2", - "parse-conflict-json": "^5.0.1", - "proc-log": "^6.0.0", + "npm-install-checks": "^7.1.0", + "npm-package-arg": "^12.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.1", + "pacote": "^19.0.0", + "parse-conflict-json": "^4.0.0", + "proc-log": "^5.0.0", "proggy": "^3.0.0", "promise-all-reject-late": "^1.0.0", "promise-call-limit": "^3.0.1", + "read-package-json-fast": "^4.0.0", "semver": "^7.3.7", - "ssri": "^13.0.0", + "ssri": "^12.0.0", "treeverse": "^3.0.0", - "walk-up-path": "^4.0.0" + "walk-up-path": "^3.0.1" }, "bin": { "arborist": "bin/index.js" }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@npmcli/arborist/node_modules/abbrev": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", - "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/@npmcli/arborist/node_modules/nopt": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", - "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "abbrev": "^3.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/config": { - "version": "10.4.3", + "version": "9.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/map-workspaces": "^5.0.0", - "@npmcli/package-json": "^7.0.0", + "@npmcli/map-workspaces": "^4.0.1", + "@npmcli/package-json": "^6.0.1", "ci-info": "^4.0.0", - "ini": "^6.0.0", - "nopt": "^8.1.0", - "proc-log": "^6.0.0", + "ini": "^5.0.0", + "nopt": "^8.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.5", - "walk-up-path": "^4.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@npmcli/config/node_modules/abbrev": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-3.0.1.tgz", - "integrity": "sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/@npmcli/config/node_modules/nopt": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-8.1.0.tgz", - "integrity": "sha512-ieGu42u/Qsa4TFktmaKEwM6MQH0pOWnaB3htzh0JRtx84+Mebc0cbZYN5bC+6WTZ4+77xrL9Pn5m7CV6VIkV7A==", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "abbrev": "^3.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" + "walk-up-path": "^3.0.1" }, "engines": { "node": "^18.17.0 || >=20.5.0" @@ -11768,117 +11522,148 @@ } }, "node_modules/npm/node_modules/@npmcli/git": { - "version": "7.0.1", + "version": "6.0.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/promise-spawn": "^9.0.0", - "ini": "^6.0.0", - "lru-cache": "^11.2.1", - "npm-pick-manifest": "^11.0.1", - "proc-log": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "ini": "^5.0.0", + "lru-cache": "^10.0.1", + "npm-pick-manifest": "^10.0.0", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1", "semver": "^7.3.5", - "which": "^6.0.0" + "which": "^5.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/installed-package-contents": { - "version": "4.0.0", + "version": "3.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-bundled": "^5.0.0", - "npm-normalize-package-bin": "^5.0.0" + "npm-bundled": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" }, "bin": { "installed-package-contents": "bin/index.js" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/map-workspaces": { - "version": "5.0.1", + "version": "4.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/name-from-folder": "^4.0.0", - "@npmcli/package-json": "^7.0.0", - "glob": "^11.0.3", - "minimatch": "^10.0.3" + "@npmcli/name-from-folder": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "glob": "^10.2.2", + "minimatch": "^9.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/metavuln-calculator": { - "version": "9.0.3", + "version": "8.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "cacache": "^20.0.0", - "json-parse-even-better-errors": "^5.0.0", - "pacote": "^21.0.0", - "proc-log": "^6.0.0", + "cacache": "^19.0.0", + "json-parse-even-better-errors": "^4.0.0", + "pacote": "^20.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.5" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/metavuln-calculator/node_modules/pacote": { + "version": "20.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^6.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "@npmcli/run-script": "^9.0.0", + "cacache": "^19.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^7.0.2", + "npm-package-arg": "^12.0.0", + "npm-packlist": "^9.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1", + "sigstore": "^3.0.0", + "ssri": "^12.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "bin/index.js" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/name-from-folder": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@npmcli/node-gyp": { "version": "4.0.0", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@npmcli/node-gyp": { - "version": "5.0.0", - "dev": true, - "inBundle": true, - "license": "ISC", - "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/package-json": { - "version": "7.0.2", + "version": "6.2.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/git": "^7.0.0", - "glob": "^11.0.3", - "hosted-git-info": "^9.0.0", - "json-parse-even-better-errors": "^5.0.0", - "proc-log": "^6.0.0", + "@npmcli/git": "^6.0.0", + "glob": "^10.2.2", + "hosted-git-info": "^8.0.0", + "json-parse-even-better-errors": "^4.0.0", + "proc-log": "^5.0.0", "semver": "^7.5.3", "validate-npm-package-license": "^3.0.4" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/promise-spawn": { - "version": "9.0.1", + "version": "8.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "which": "^6.0.0" + "which": "^5.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@npmcli/query": { @@ -11894,112 +11679,61 @@ } }, "node_modules/npm/node_modules/@npmcli/redact": { - "version": "4.0.0", + "version": "3.2.2", "dev": true, "inBundle": true, "license": "ISC", - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@npmcli/run-script": { - "version": "10.0.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/node-gyp": "^5.0.0", - "@npmcli/package-json": "^7.0.0", - "@npmcli/promise-spawn": "^9.0.0", - "node-gyp": "^12.1.0", - "proc-log": "^6.0.0", - "which": "^6.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@sigstore/bundle": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/protobuf-specs": "^0.5.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@sigstore/core": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@sigstore/protobuf-specs": { - "version": "0.5.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", "engines": { "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/@sigstore/sign": { - "version": "4.0.1", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^4.0.0", - "@sigstore/core": "^3.0.0", - "@sigstore/protobuf-specs": "^0.5.0", - "make-fetch-happen": "^15.0.2", - "proc-log": "^5.0.0", - "promise-retry": "^2.0.1" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@sigstore/sign/node_modules/proc-log": { - "version": "5.0.0", + "node_modules/npm/node_modules/@npmcli/run-script": { + "version": "9.1.0", "dev": true, "inBundle": true, "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^4.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "node-gyp": "^11.0.0", + "proc-log": "^5.0.0", + "which": "^5.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/npm/node_modules/@sigstore/protobuf-specs": { + "version": "0.4.3", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@sigstore/tuf": { - "version": "4.0.0", + "version": "3.1.1", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/protobuf-specs": "^0.5.0", - "tuf-js": "^4.0.0" + "@sigstore/protobuf-specs": "^0.4.1", + "tuf-js": "^3.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@sigstore/verify": { - "version": "3.0.0", - "dev": true, - "inBundle": true, - "license": "Apache-2.0", - "dependencies": { - "@sigstore/bundle": "^4.0.0", - "@sigstore/core": "^3.0.0", - "@sigstore/protobuf-specs": "^0.5.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/@tufjs/canonical-json": { @@ -12011,45 +11745,17 @@ "node": "^16.14.0 || >=18.0.0" } }, - "node_modules/npm/node_modules/@tufjs/models": { - "version": "4.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "dependencies": { - "@tufjs/canonical-json": "2.0.0", - "minimatch": "^9.0.5" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/@tufjs/models/node_modules/minimatch": { - "version": "9.0.5", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/npm/node_modules/abbrev": { - "version": "4.0.0", + "version": "3.0.1", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/agent-base": { - "version": "7.1.4", + "version": "7.1.3", "dev": true, "inBundle": true, "license": "MIT", @@ -12067,7 +11773,7 @@ } }, "node_modules/npm/node_modules/ansi-styles": { - "version": "6.2.3", + "version": "6.2.1", "dev": true, "inBundle": true, "license": "MIT", @@ -12079,7 +11785,7 @@ } }, "node_modules/npm/node_modules/aproba": { - "version": "2.1.0", + "version": "2.0.0", "dev": true, "inBundle": true, "license": "ISC" @@ -12097,28 +11803,28 @@ "license": "MIT" }, "node_modules/npm/node_modules/bin-links": { - "version": "6.0.0", + "version": "5.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "cmd-shim": "^8.0.0", - "npm-normalize-package-bin": "^5.0.0", - "proc-log": "^6.0.0", - "read-cmd-shim": "^6.0.0", - "write-file-atomic": "^7.0.0" + "cmd-shim": "^7.0.0", + "npm-normalize-package-bin": "^4.0.0", + "proc-log": "^5.0.0", + "read-cmd-shim": "^5.0.0", + "write-file-atomic": "^6.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/binary-extensions": { - "version": "3.1.0", + "version": "2.3.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { - "node": ">=18.20" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -12134,29 +11840,80 @@ } }, "node_modules/npm/node_modules/cacache": { - "version": "20.0.2", + "version": "19.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "@npmcli/fs": "^4.0.0", "fs-minipass": "^3.0.0", - "glob": "^11.0.3", - "lru-cache": "^11.1.0", + "glob": "^10.2.2", + "lru-cache": "^10.0.1", "minipass": "^7.0.3", "minipass-collect": "^2.0.1", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "p-map": "^7.0.2", - "ssri": "^13.0.0", + "ssri": "^12.0.0", + "tar": "^7.4.3", "unique-filename": "^4.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/chownr": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/mkdirp": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/tar": { + "version": "7.4.3", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/cacache/node_modules/yallist": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" } }, "node_modules/npm/node_modules/chalk": { - "version": "5.6.2", + "version": "5.4.1", "dev": true, "inBundle": true, "license": "MIT", @@ -12168,16 +11925,16 @@ } }, "node_modules/npm/node_modules/chownr": { - "version": "3.0.0", + "version": "2.0.0", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "engines": { - "node": ">=18" + "node": ">=10" } }, "node_modules/npm/node_modules/ci-info": { - "version": "4.3.1", + "version": "4.2.0", "dev": true, "funding": [ { @@ -12192,15 +11949,15 @@ } }, "node_modules/npm/node_modules/cidr-regex": { - "version": "5.0.1", + "version": "4.1.3", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "ip-regex": "5.0.0" + "ip-regex": "^5.0.0" }, "engines": { - "node": ">=20" + "node": ">=14" } }, "node_modules/npm/node_modules/cli-columns": { @@ -12217,12 +11974,12 @@ } }, "node_modules/npm/node_modules/cmd-shim": { - "version": "8.0.0", + "version": "7.0.0", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/color-convert": { @@ -12263,12 +12020,6 @@ "node": ">= 8" } }, - "node_modules/npm/node_modules/cross-spawn/node_modules/isexe": { - "version": "2.0.0", - "dev": true, - "inBundle": true, - "license": "ISC" - }, "node_modules/npm/node_modules/cross-spawn/node_modules/which": { "version": "2.0.2", "dev": true, @@ -12297,7 +12048,7 @@ } }, "node_modules/npm/node_modules/debug": { - "version": "4.4.3", + "version": "4.4.1", "dev": true, "inBundle": true, "license": "MIT", @@ -12314,7 +12065,7 @@ } }, "node_modules/npm/node_modules/diff": { - "version": "8.0.2", + "version": "5.2.0", "dev": true, "inBundle": true, "license": "BSD-3-Clause", @@ -12360,7 +12111,7 @@ "license": "MIT" }, "node_modules/npm/node_modules/exponential-backoff": { - "version": "3.1.3", + "version": "3.1.2", "dev": true, "inBundle": true, "license": "Apache-2.0" @@ -12403,24 +12154,21 @@ } }, "node_modules/npm/node_modules/glob": { - "version": "11.0.3", + "version": "10.4.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "foreground-child": "^3.3.1", - "jackspeak": "^4.1.1", - "minimatch": "^10.0.3", + "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": "^2.0.0" + "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" }, - "engines": { - "node": "20 || >=22" - }, "funding": { "url": "https://github.com/sponsors/isaacs" } @@ -12432,15 +12180,15 @@ "license": "ISC" }, "node_modules/npm/node_modules/hosted-git-info": { - "version": "9.0.2", + "version": "8.1.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "lru-cache": "^11.1.0" + "lru-cache": "^10.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/http-cache-semantics": { @@ -12489,15 +12237,15 @@ } }, "node_modules/npm/node_modules/ignore-walk": { - "version": "8.0.0", + "version": "7.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "minimatch": "^10.0.3" + "minimatch": "^9.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/imurmurhash": { @@ -12510,37 +12258,41 @@ } }, "node_modules/npm/node_modules/ini": { - "version": "6.0.0", + "version": "5.0.0", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/init-package-json": { - "version": "8.2.3", + "version": "7.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/package-json": "^7.0.0", - "npm-package-arg": "^13.0.0", + "@npmcli/package-json": "^6.0.0", + "npm-package-arg": "^12.0.0", "promzard": "^2.0.0", "read": "^4.0.0", - "semver": "^7.7.2", + "semver": "^7.3.5", "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "^7.0.0" + "validate-npm-package-name": "^6.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/ip-address": { - "version": "10.0.1", + "version": "9.0.5", "dev": true, "inBundle": true, "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, "engines": { "node": ">= 12" } @@ -12558,15 +12310,15 @@ } }, "node_modules/npm/node_modules/is-cidr": { - "version": "6.0.1", + "version": "5.1.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", "dependencies": { - "cidr-regex": "5.0.1" + "cidr-regex": "^4.1.1" }, "engines": { - "node": ">=20" + "node": ">=14" } }, "node_modules/npm/node_modules/is-fullwidth-code-point": { @@ -12579,36 +12331,39 @@ } }, "node_modules/npm/node_modules/isexe": { - "version": "3.1.1", + "version": "2.0.0", "dev": true, "inBundle": true, - "license": "ISC", - "engines": { - "node": ">=16" - } + "license": "ISC" }, "node_modules/npm/node_modules/jackspeak": { - "version": "4.1.1", + "version": "3.4.3", "dev": true, "inBundle": true, "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, - "engines": { - "node": "20 || >=22" - }, "funding": { "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" } }, + "node_modules/npm/node_modules/jsbn": { + "version": "1.1.0", + "dev": true, + "inBundle": true, + "license": "MIT" + }, "node_modules/npm/node_modules/json-parse-even-better-errors": { - "version": "5.0.0", + "version": "4.0.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/json-stringify-nice": { @@ -12642,244 +12397,218 @@ "license": "MIT" }, "node_modules/npm/node_modules/libnpmaccess": { - "version": "10.0.3", + "version": "9.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-package-arg": "^13.0.0", - "npm-registry-fetch": "^19.0.0" + "npm-package-arg": "^12.0.0", + "npm-registry-fetch": "^18.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/libnpmdiff": { - "version": "8.0.10", + "version": "7.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^9.1.7", + "@npmcli/arborist": "^8.0.1", "@npmcli/installed-package-contents": "^3.0.0", - "binary-extensions": "^3.0.0", - "diff": "^8.0.2", - "minimatch": "^10.0.3", - "npm-package-arg": "^13.0.0", - "pacote": "^21.0.2", - "tar": "^7.5.1" + "binary-extensions": "^2.3.0", + "diff": "^5.1.0", + "minimatch": "^9.0.4", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0", + "tar": "^6.2.1" }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/libnpmdiff/node_modules/@npmcli/installed-package-contents": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-3.0.0.tgz", - "integrity": "sha512-fkxoPuFGvxyrH+OQzyTkX2LUEamrF4jZSmxjAtPPHHGO0dqsQ8tTKjnIS8SAnPHdk2I03BDtSMR5K/4loKg79Q==", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-bundled": "^4.0.0", - "npm-normalize-package-bin": "^4.0.0" - }, - "bin": { - "installed-package-contents": "bin/index.js" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/libnpmdiff/node_modules/npm-bundled": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-4.0.0.tgz", - "integrity": "sha512-IxaQZDMsqfQ2Lz37VvyyEtKLe8FsRZuysmedy/N06TU1RyVppYKXrO4xIhR0F+7ubIBox6Q7nir6fQI3ej39iA==", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "npm-normalize-package-bin": "^4.0.0" - }, - "engines": { - "node": "^18.17.0 || >=20.5.0" - } - }, - "node_modules/npm/node_modules/libnpmdiff/node_modules/npm-normalize-package-bin": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-4.0.0.tgz", - "integrity": "sha512-TZKxPvItzai9kN9H/TkmCtx/ZN/hvr3vUycjlfmH0ootY9yFBzNOpiXAdIn1Iteqsvk4lQn6B5PTrt+n6h8k/w==", - "dev": true, - "inBundle": true, - "license": "ISC", "engines": { "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "10.1.9", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^9.1.7", - "@npmcli/package-json": "^7.0.0", - "@npmcli/run-script": "^10.0.0", - "ci-info": "^4.0.0", - "npm-package-arg": "^13.0.0", - "pacote": "^21.0.2", - "proc-log": "^6.0.0", - "promise-retry": "^2.0.1", - "read": "^4.0.0", - "semver": "^7.3.7", - "signal-exit": "^4.1.0", - "walk-up-path": "^4.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/libnpmfund": { - "version": "7.0.10", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^9.1.7" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/libnpmorg": { - "version": "8.0.1", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "aproba": "^2.0.0", - "npm-registry-fetch": "^19.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/libnpmpack": { - "version": "9.0.10", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/arborist": "^9.1.7", - "@npmcli/run-script": "^10.0.0", - "npm-package-arg": "^13.0.0", - "pacote": "^21.0.2" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/libnpmpublish": { - "version": "11.1.3", - "dev": true, - "inBundle": true, - "license": "ISC", - "dependencies": { - "@npmcli/package-json": "^7.0.0", - "ci-info": "^4.0.0", - "npm-package-arg": "^13.0.0", - "npm-registry-fetch": "^19.0.0", - "proc-log": "^6.0.0", - "semver": "^7.3.7", - "sigstore": "^4.0.0", - "ssri": "^13.0.0" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } - }, - "node_modules/npm/node_modules/libnpmsearch": { "version": "9.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-registry-fetch": "^19.0.0" + "@npmcli/arborist": "^8.0.1", + "@npmcli/run-script": "^9.0.1", + "ci-info": "^4.0.0", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0", + "proc-log": "^5.0.0", + "read": "^4.0.0", + "read-package-json-fast": "^4.0.0", + "semver": "^7.3.7", + "walk-up-path": "^3.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/libnpmteam": { - "version": "8.0.2", + "node_modules/npm/node_modules/libnpmfund": { + "version": "6.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^8.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmhook": { + "version": "11.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { "aproba": "^2.0.0", - "npm-registry-fetch": "^19.0.0" + "npm-registry-fetch": "^18.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmorg": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmpack": { + "version": "8.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "@npmcli/arborist": "^8.0.1", + "@npmcli/run-script": "^9.0.1", + "npm-package-arg": "^12.0.0", + "pacote": "^19.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmpublish": { + "version": "10.0.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "ci-info": "^4.0.0", + "normalize-package-data": "^7.0.0", + "npm-package-arg": "^12.0.0", + "npm-registry-fetch": "^18.0.1", + "proc-log": "^5.0.0", + "semver": "^7.3.7", + "sigstore": "^3.0.0", + "ssri": "^12.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmsearch": { + "version": "8.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/libnpmteam": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "aproba": "^2.0.0", + "npm-registry-fetch": "^18.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/libnpmversion": { - "version": "8.0.3", + "version": "7.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/git": "^7.0.0", - "@npmcli/run-script": "^10.0.0", - "json-parse-even-better-errors": "^5.0.0", - "proc-log": "^6.0.0", + "@npmcli/git": "^6.0.1", + "@npmcli/run-script": "^9.0.1", + "json-parse-even-better-errors": "^4.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.7" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/lru-cache": { - "version": "11.2.2", + "version": "10.4.3", "dev": true, "inBundle": true, - "license": "ISC", - "engines": { - "node": "20 || >=22" - } + "license": "ISC" }, "node_modules/npm/node_modules/make-fetch-happen": { - "version": "15.0.3", + "version": "14.0.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/agent": "^4.0.0", - "cacache": "^20.0.1", + "@npmcli/agent": "^3.0.0", + "cacache": "^19.0.1", "http-cache-semantics": "^4.1.1", "minipass": "^7.0.2", - "minipass-fetch": "^5.0.0", + "minipass-fetch": "^4.0.0", "minipass-flush": "^1.0.5", "minipass-pipeline": "^1.2.4", "negotiator": "^1.0.0", - "proc-log": "^6.0.0", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1", - "ssri": "^13.0.0" + "ssri": "^12.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/make-fetch-happen/node_modules/negotiator": { + "version": "1.0.0", + "dev": true, + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" } }, "node_modules/npm/node_modules/minimatch": { - "version": "10.1.1", + "version": "9.0.5", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "dependencies": { - "@isaacs/brace-expansion": "^5.0.0" + "brace-expansion": "^2.0.1" }, "engines": { - "node": "20 || >=22" + "node": ">=16 || 14 >=14.17" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -12907,7 +12636,7 @@ } }, "node_modules/npm/node_modules/minipass-fetch": { - "version": "5.0.0", + "version": "4.0.1", "dev": true, "inBundle": true, "license": "MIT", @@ -12917,7 +12646,7 @@ "minizlib": "^3.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" }, "optionalDependencies": { "encoding": "^0.1.13" @@ -12996,7 +12725,7 @@ } }, "node_modules/npm/node_modules/minizlib": { - "version": "3.1.0", + "version": "3.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -13007,6 +12736,18 @@ "node": ">= 18" } }, + "node_modules/npm/node_modules/mkdirp": { + "version": "1.0.4", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/npm/node_modules/ms": { "version": "2.1.3", "dev": true, @@ -13022,17 +12763,8 @@ "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/negotiator": { - "version": "1.0.0", - "dev": true, - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/npm/node_modules/node-gyp": { - "version": "12.1.0", + "version": "11.2.0", "dev": true, "inBundle": true, "license": "MIT", @@ -13040,34 +12772,98 @@ "env-paths": "^2.2.0", "exponential-backoff": "^3.1.1", "graceful-fs": "^4.2.6", - "make-fetch-happen": "^15.0.0", - "nopt": "^9.0.0", - "proc-log": "^6.0.0", + "make-fetch-happen": "^14.0.3", + "nopt": "^8.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.5", - "tar": "^7.5.2", + "tar": "^7.4.3", "tinyglobby": "^0.2.12", - "which": "^6.0.0" + "which": "^5.0.0" }, "bin": { "node-gyp": "bin/node-gyp.js" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, - "node_modules/npm/node_modules/nopt": { - "version": "9.0.0", + "node_modules/npm/node_modules/node-gyp/node_modules/chownr": { + "version": "3.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/mkdirp": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/tar": { + "version": "7.4.3", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "abbrev": "^4.0.0" + "@isaacs/fs-minipass": "^4.0.0", + "chownr": "^3.0.0", + "minipass": "^7.1.2", + "minizlib": "^3.0.1", + "mkdirp": "^3.0.1", + "yallist": "^5.0.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/node-gyp/node_modules/yallist": { + "version": "5.0.0", + "dev": true, + "inBundle": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=18" + } + }, + "node_modules/npm/node_modules/nopt": { + "version": "8.1.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "abbrev": "^3.0.0" }, "bin": { "nopt": "bin/nopt.js" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/normalize-package-data": { + "version": "7.0.0", + "dev": true, + "inBundle": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^8.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-audit-report": { @@ -13080,19 +12876,19 @@ } }, "node_modules/npm/node_modules/npm-bundled": { - "version": "5.0.0", + "version": "4.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-normalize-package-bin": "^5.0.0" + "npm-normalize-package-bin": "^4.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-install-checks": { - "version": "8.0.0", + "version": "7.1.1", "dev": true, "inBundle": true, "license": "BSD-2-Clause", @@ -13100,91 +12896,90 @@ "semver": "^7.1.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-normalize-package-bin": { - "version": "5.0.0", + "version": "4.0.0", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-package-arg": { - "version": "13.0.2", + "version": "12.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "hosted-git-info": "^9.0.0", - "proc-log": "^6.0.0", + "hosted-git-info": "^8.0.0", + "proc-log": "^5.0.0", "semver": "^7.3.5", - "validate-npm-package-name": "^7.0.0" + "validate-npm-package-name": "^6.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-packlist": { - "version": "10.0.3", + "version": "9.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "ignore-walk": "^8.0.0", - "proc-log": "^6.0.0" + "ignore-walk": "^7.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-pick-manifest": { - "version": "11.0.3", + "version": "10.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-install-checks": "^8.0.0", - "npm-normalize-package-bin": "^5.0.0", - "npm-package-arg": "^13.0.0", + "npm-install-checks": "^7.1.0", + "npm-normalize-package-bin": "^4.0.0", + "npm-package-arg": "^12.0.0", "semver": "^7.3.5" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-profile": { - "version": "12.0.1", + "version": "11.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "npm-registry-fetch": "^19.0.0", - "proc-log": "^6.0.0" + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-registry-fetch": { - "version": "19.1.1", + "version": "18.0.2", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/redact": "^4.0.0", + "@npmcli/redact": "^3.0.0", "jsonparse": "^1.3.1", - "make-fetch-happen": "^15.0.0", + "make-fetch-happen": "^14.0.0", "minipass": "^7.0.2", - "minipass-fetch": "^5.0.0", + "minipass-fetch": "^4.0.0", "minizlib": "^3.0.1", - "npm-package-arg": "^13.0.0", - "proc-log": "^6.0.0" + "npm-package-arg": "^12.0.0", + "proc-log": "^5.0.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/npm-user-validate": { @@ -13215,48 +13010,48 @@ "license": "BlueOak-1.0.0" }, "node_modules/npm/node_modules/pacote": { - "version": "21.0.4", + "version": "19.0.1", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/git": "^7.0.0", - "@npmcli/installed-package-contents": "^4.0.0", - "@npmcli/package-json": "^7.0.0", - "@npmcli/promise-spawn": "^9.0.0", - "@npmcli/run-script": "^10.0.0", - "cacache": "^20.0.0", + "@npmcli/git": "^6.0.0", + "@npmcli/installed-package-contents": "^3.0.0", + "@npmcli/package-json": "^6.0.0", + "@npmcli/promise-spawn": "^8.0.0", + "@npmcli/run-script": "^9.0.0", + "cacache": "^19.0.0", "fs-minipass": "^3.0.0", "minipass": "^7.0.2", - "npm-package-arg": "^13.0.0", - "npm-packlist": "^10.0.1", - "npm-pick-manifest": "^11.0.1", - "npm-registry-fetch": "^19.0.0", - "proc-log": "^6.0.0", + "npm-package-arg": "^12.0.0", + "npm-packlist": "^9.0.0", + "npm-pick-manifest": "^10.0.0", + "npm-registry-fetch": "^18.0.0", + "proc-log": "^5.0.0", "promise-retry": "^2.0.1", - "sigstore": "^4.0.0", - "ssri": "^13.0.0", - "tar": "^7.4.3" + "sigstore": "^3.0.0", + "ssri": "^12.0.0", + "tar": "^6.1.11" }, "bin": { "pacote": "bin/index.js" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/parse-conflict-json": { - "version": "5.0.1", + "version": "4.0.0", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "json-parse-even-better-errors": "^5.0.0", + "json-parse-even-better-errors": "^4.0.0", "just-diff": "^6.0.0", "just-diff-apply": "^5.2.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/path-key": { @@ -13269,16 +13064,16 @@ } }, "node_modules/npm/node_modules/path-scurry": { - "version": "2.0.0", + "version": "1.11.1", "dev": true, "inBundle": true, "license": "BlueOak-1.0.0", "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": "20 || >=22" + "node": ">=16 || 14 >=14.18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -13298,12 +13093,12 @@ } }, "node_modules/npm/node_modules/proc-log": { - "version": "6.0.0", + "version": "5.0.0", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/proggy": { @@ -13379,12 +13174,25 @@ } }, "node_modules/npm/node_modules/read-cmd-shim": { - "version": "6.0.0", + "version": "5.0.0", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/read-package-json-fast": { + "version": "4.0.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^4.0.0", + "npm-normalize-package-bin": "^4.0.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/retry": { @@ -13404,7 +13212,7 @@ "optional": true }, "node_modules/npm/node_modules/semver": { - "version": "7.7.3", + "version": "7.7.2", "dev": true, "inBundle": true, "license": "ISC", @@ -13449,20 +13257,72 @@ } }, "node_modules/npm/node_modules/sigstore": { - "version": "4.0.0", + "version": "3.1.0", "dev": true, "inBundle": true, "license": "Apache-2.0", "dependencies": { - "@sigstore/bundle": "^4.0.0", - "@sigstore/core": "^3.0.0", - "@sigstore/protobuf-specs": "^0.5.0", - "@sigstore/sign": "^4.0.0", - "@sigstore/tuf": "^4.0.0", - "@sigstore/verify": "^3.0.0" + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "@sigstore/sign": "^3.1.0", + "@sigstore/tuf": "^3.1.0", + "@sigstore/verify": "^2.1.0" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/bundle": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.4.0" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/core": { + "version": "2.0.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/sign": { + "version": "3.1.0", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.0", + "make-fetch-happen": "^14.0.2", + "proc-log": "^5.0.0", + "promise-retry": "^2.0.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/sigstore/node_modules/@sigstore/verify": { + "version": "2.1.1", + "dev": true, + "inBundle": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^3.1.0", + "@sigstore/core": "^2.0.0", + "@sigstore/protobuf-specs": "^0.4.1" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/smart-buffer": { @@ -13476,12 +13336,12 @@ } }, "node_modules/npm/node_modules/socks": { - "version": "2.8.7", + "version": "2.8.5", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "ip-address": "^10.0.1", + "ip-address": "^9.0.5", "smart-buffer": "^4.2.0" }, "engines": { @@ -13540,13 +13400,19 @@ } }, "node_modules/npm/node_modules/spdx-license-ids": { - "version": "3.0.22", + "version": "3.0.21", "dev": true, "inBundle": true, "license": "CC0-1.0" }, + "node_modules/npm/node_modules/sprintf-js": { + "version": "1.1.3", + "dev": true, + "inBundle": true, + "license": "BSD-3-Clause" + }, "node_modules/npm/node_modules/ssri": { - "version": "13.0.0", + "version": "12.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -13554,7 +13420,7 @@ "minipass": "^7.0.3" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/string-width": { @@ -13612,40 +13478,90 @@ } }, "node_modules/npm/node_modules/supports-color": { - "version": "10.2.2", + "version": "9.4.0", "dev": true, "inBundle": true, "license": "MIT", "engines": { - "node": ">=18" + "node": ">=12" }, "funding": { "url": "https://github.com/chalk/supports-color?sponsor=1" } }, "node_modules/npm/node_modules/tar": { - "version": "7.5.2", + "version": "6.2.1", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "dependencies": { - "@isaacs/fs-minipass": "^4.0.0", - "chownr": "^3.0.0", - "minipass": "^7.1.2", - "minizlib": "^3.1.0", - "yallist": "^5.0.0" + "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" }, "engines": { - "node": ">=18" + "node": ">=10" } }, - "node_modules/npm/node_modules/tar/node_modules/yallist": { + "node_modules/npm/node_modules/tar/node_modules/fs-minipass": { + "version": "2.1.0", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minipass": { "version": "5.0.0", "dev": true, "inBundle": true, - "license": "BlueOak-1.0.0", + "license": "ISC", "engines": { - "node": ">=18" + "node": ">=8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minizlib": { + "version": "2.1.2", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/npm/node_modules/tar/node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "dev": true, + "inBundle": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" } }, "node_modules/npm/node_modules/text-table": { @@ -13655,19 +13571,19 @@ "license": "MIT" }, "node_modules/npm/node_modules/tiny-relative-date": { - "version": "2.0.2", + "version": "1.3.0", "dev": true, "inBundle": true, "license": "MIT" }, "node_modules/npm/node_modules/tinyglobby": { - "version": "0.2.15", + "version": "0.2.14", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "fdir": "^6.5.0", - "picomatch": "^4.0.3" + "fdir": "^6.4.4", + "picomatch": "^4.0.2" }, "engines": { "node": ">=12.0.0" @@ -13677,13 +13593,10 @@ } }, "node_modules/npm/node_modules/tinyglobby/node_modules/fdir": { - "version": "6.5.0", + "version": "6.4.6", "dev": true, "inBundle": true, "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, "peerDependencies": { "picomatch": "^3 || ^4" }, @@ -13694,7 +13607,7 @@ } }, "node_modules/npm/node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.3", + "version": "4.0.2", "dev": true, "inBundle": true, "license": "MIT", @@ -13715,17 +13628,30 @@ } }, "node_modules/npm/node_modules/tuf-js": { - "version": "4.0.0", + "version": "3.0.1", "dev": true, "inBundle": true, "license": "MIT", "dependencies": { - "@tufjs/models": "4.0.0", - "debug": "^4.4.1", - "make-fetch-happen": "^15.0.0" + "@tufjs/models": "3.0.1", + "debug": "^4.3.6", + "make-fetch-happen": "^14.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/tuf-js/node_modules/@tufjs/models": { + "version": "3.0.1", + "dev": true, + "inBundle": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "2.0.0", + "minimatch": "^9.0.5" + }, + "engines": { + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/unique-filename": { @@ -13779,25 +13705,22 @@ } }, "node_modules/npm/node_modules/validate-npm-package-name": { - "version": "7.0.0", + "version": "6.0.1", "dev": true, "inBundle": true, "license": "ISC", "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/walk-up-path": { - "version": "4.0.0", + "version": "3.0.1", "dev": true, "inBundle": true, - "license": "ISC", - "engines": { - "node": "20 || >=22" - } + "license": "ISC" }, "node_modules/npm/node_modules/which": { - "version": "6.0.0", + "version": "5.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -13808,7 +13731,16 @@ "node-which": "bin/which.js" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" + } + }, + "node_modules/npm/node_modules/which/node_modules/isexe": { + "version": "3.1.1", + "dev": true, + "inBundle": true, + "license": "ISC", + "engines": { + "node": ">=16" } }, "node_modules/npm/node_modules/wrap-ansi": { @@ -13862,7 +13794,7 @@ } }, "node_modules/npm/node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "6.2.2", + "version": "6.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -13897,7 +13829,7 @@ } }, "node_modules/npm/node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "7.1.2", + "version": "7.1.0", "dev": true, "inBundle": true, "license": "MIT", @@ -13912,7 +13844,7 @@ } }, "node_modules/npm/node_modules/write-file-atomic": { - "version": "7.0.0", + "version": "6.0.0", "dev": true, "inBundle": true, "license": "ISC", @@ -13921,7 +13853,7 @@ "signal-exit": "^4.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/npm/node_modules/yallist": { @@ -14785,17 +14717,17 @@ "license": "MIT" }, "node_modules/semantic-release": { - "version": "25.0.2", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-25.0.2.tgz", - "integrity": "sha512-6qGjWccl5yoyugHt3jTgztJ9Y0JVzyH8/Voc/D8PlLat9pwxQYXz7W1Dpnq5h0/G5GCYGUaDSlYcyk3AMh5A6g==", + "version": "24.2.8", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.8.tgz", + "integrity": "sha512-uvoLiKEB/AvvA3SCPE78cd90nVJXn220kkEA6sNGzDpas4s7pe4OgYWvhfR0lvWBdBH/T0RFCI6U+GvcT2CypQ==", "dev": true, "license": "MIT", "dependencies": { - "@semantic-release/commit-analyzer": "^13.0.1", + "@semantic-release/commit-analyzer": "^13.0.0-beta.1", "@semantic-release/error": "^4.0.0", - "@semantic-release/github": "^12.0.0", - "@semantic-release/npm": "^13.1.1", - "@semantic-release/release-notes-generator": "^14.1.0", + "@semantic-release/github": "^11.0.0", + "@semantic-release/npm": "^12.0.2", + "@semantic-release/release-notes-generator": "^14.0.0-beta.1", "aggregate-error": "^5.0.0", "cosmiconfig": "^9.0.0", "debug": "^4.0.0", @@ -14806,7 +14738,7 @@ "get-stream": "^6.0.0", "git-log-parser": "^1.2.0", "hook-std": "^4.0.0", - "hosted-git-info": "^9.0.0", + "hosted-git-info": "^8.0.0", "import-from-esm": "^2.0.0", "lodash-es": "^4.17.21", "marked": "^15.0.0", @@ -14814,51 +14746,18 @@ "micromatch": "^4.0.2", "p-each-series": "^3.0.0", "p-reduce": "^3.0.0", - "read-package-up": "^12.0.0", + "read-package-up": "^11.0.0", "resolve-from": "^5.0.0", "semver": "^7.3.2", - "semver-diff": "^5.0.0", + "semver-diff": "^4.0.0", "signale": "^1.2.1", - "yargs": "^18.0.0" + "yargs": "^17.5.1" }, "bin": { "semantic-release": "bin/semantic-release.js" }, "engines": { - "node": "^22.14.0 || >= 24.10.0" - } - }, - "node_modules/semantic-release/node_modules/@octokit/openapi-types": { - "version": "27.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz", - "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==", - "dev": true, - "license": "MIT" - }, - "node_modules/semantic-release/node_modules/@octokit/plugin-paginate-rest": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-14.0.0.tgz", - "integrity": "sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@octokit/types": "^16.0.0" - }, - "engines": { - "node": ">= 20" - }, - "peerDependencies": { - "@octokit/core": ">=6" - } - }, - "node_modules/semantic-release/node_modules/@octokit/types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz", - "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@octokit/openapi-types": "^27.0.0" + "node": ">=20.8.1" } }, "node_modules/semantic-release/node_modules/@semantic-release/error": { @@ -14871,38 +14770,6 @@ "node": ">=18" } }, - "node_modules/semantic-release/node_modules/@semantic-release/github": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-12.0.2.tgz", - "integrity": "sha512-qyqLS+aSGH1SfXIooBKjs7mvrv0deg8v+jemegfJg1kq6ji+GJV8CO08VJDEsvjp3O8XJmTTIAjjZbMzagzsdw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@octokit/core": "^7.0.0", - "@octokit/plugin-paginate-rest": "^14.0.0", - "@octokit/plugin-retry": "^8.0.0", - "@octokit/plugin-throttling": "^11.0.0", - "@semantic-release/error": "^4.0.0", - "aggregate-error": "^5.0.0", - "debug": "^4.3.4", - "dir-glob": "^3.0.1", - "http-proxy-agent": "^7.0.0", - "https-proxy-agent": "^7.0.0", - "issue-parser": "^7.0.0", - "lodash-es": "^4.17.21", - "mime": "^4.0.0", - "p-filter": "^4.0.0", - "tinyglobby": "^0.2.14", - "undici": "^7.0.0", - "url-join": "^5.0.0" - }, - "engines": { - "node": "^22.14.0 || >= 24.10.0" - }, - "peerDependencies": { - "semantic-release": ">=24.1.0" - } - }, "node_modules/semantic-release/node_modules/aggregate-error": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-5.0.0.tgz", @@ -14920,19 +14787,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/ansi-styles": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", - "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/semantic-release/node_modules/clean-stack": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-5.3.0.tgz", @@ -14949,28 +14803,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/cliui": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz", - "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^7.2.0", - "strip-ansi": "^7.1.0", - "wrap-ansi": "^9.0.0" - }, - "engines": { - "node": ">=20" - } - }, - "node_modules/semantic-release/node_modules/emoji-regex": { - "version": "10.6.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz", - "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==", - "dev": true, - "license": "MIT" - }, "node_modules/semantic-release/node_modules/escape-string-regexp": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", @@ -15042,16 +14874,16 @@ } }, "node_modules/semantic-release/node_modules/hosted-git-info": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-9.0.2.tgz", - "integrity": "sha512-M422h7o/BR3rmCQ8UHi7cyyMqKltdP9Uo+J2fXK+RSAY+wTcKOIRyhTuKv4qn+DJf3g+PL890AzId5KZpX+CBg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-8.1.0.tgz", + "integrity": "sha512-Rw/B2DNQaPBICNXEm8balFz9a6WpZrkCGpcWFpy7nCj+NyhSdqXipmfvtmWt9xGfp0wZnBxB+iVpLmQMYt47Tw==", "dev": true, "license": "ISC", "dependencies": { - "lru-cache": "^11.1.0" + "lru-cache": "^10.0.1" }, "engines": { - "node": "^20.17.0 || >=22.9.0" + "node": "^18.17.0 || >=20.5.0" } }, "node_modules/semantic-release/node_modules/human-signals": { @@ -15091,29 +14923,11 @@ } }, "node_modules/semantic-release/node_modules/lru-cache": { - "version": "11.2.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.2.tgz", - "integrity": "sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true, - "license": "ISC", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/semantic-release/node_modules/normalize-package-data": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-8.0.0.tgz", - "integrity": "sha512-RWk+PI433eESQ7ounYxIp67CYuVsS1uYSonX3kA6ps/3LWfjVQa/ptEg6Y3T6uAMq1mWpX9PQ+qx+QaHpsc7gQ==", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^9.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^20.17.0 || >=22.9.0" - } + "license": "ISC" }, "node_modules/semantic-release/node_modules/npm-run-path": { "version": "6.0.0", @@ -15145,37 +14959,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/parse-json": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-8.3.0.tgz", - "integrity": "sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@babel/code-frame": "^7.26.2", - "index-to-position": "^1.1.0", - "type-fest": "^4.39.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/parse-json/node_modules/type-fest": { - "version": "4.41.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", - "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/semantic-release/node_modules/path-key": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-key/-/path-key-4.0.0.tgz", @@ -15189,44 +14972,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/read-package-up": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/read-package-up/-/read-package-up-12.0.0.tgz", - "integrity": "sha512-Q5hMVBYur/eQNWDdbF4/Wqqr9Bjvtrw2kjGxxBbKLbx8bVCL8gcArjTy8zDUuLGQicftpMuU0riQNcAsbtOVsw==", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up-simple": "^1.0.1", - "read-pkg": "^10.0.0", - "type-fest": "^5.2.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/read-pkg": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-10.0.0.tgz", - "integrity": "sha512-A70UlgfNdKI5NSvTTfHzLQj7NJRpJ4mT5tGafkllJ4wh71oYuGm/pzphHcmW4s35iox56KSK721AihodoXSc/A==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/normalize-package-data": "^2.4.4", - "normalize-package-data": "^8.0.0", - "parse-json": "^8.3.0", - "type-fest": "^5.2.0", - "unicorn-magic": "^0.3.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/semantic-release/node_modules/signal-exit": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", @@ -15240,24 +14985,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/semantic-release/node_modules/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, - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/semantic-release/node_modules/strip-final-newline": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-4.0.0.tgz", @@ -15271,32 +14998,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/type-fest": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-5.2.0.tgz", - "integrity": "sha512-xxCJm+Bckc6kQBknN7i9fnP/xobQRsRQxR01CztFkp/h++yfVxUUcmMgfR2HttJx/dpWjS9ubVuyspJv24Q9DA==", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "dependencies": { - "tagged-tag": "^1.0.0" - }, - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/semantic-release/node_modules/undici": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.16.0.tgz", - "integrity": "sha512-QEg3HPMll0o3t2ourKwOeUAZ159Kn9mx5pnzHRQO8+Wixmh88YdZRiIwat0iNzNNXn0yoEtXJqFpyW7eM8BV7g==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20.18.1" - } - }, "node_modules/semantic-release/node_modules/unicorn-magic": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.3.0.tgz", @@ -15310,52 +15011,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/wrap-ansi": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz", - "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.2.1", - "string-width": "^7.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/semantic-release/node_modules/yargs": { - "version": "18.0.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.0.0.tgz", - "integrity": "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg==", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^9.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "string-width": "^7.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^22.0.0" - }, - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, - "node_modules/semantic-release/node_modules/yargs-parser": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz", - "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==", - "dev": true, - "license": "ISC", - "engines": { - "node": "^20.19.0 || ^22.12.0 || >=23" - } - }, "node_modules/semver": { "version": "7.7.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", @@ -15370,10 +15025,9 @@ } }, "node_modules/semver-diff": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-5.0.0.tgz", - "integrity": "sha512-0HbGtOm+S7T6NGQ/pxJSJipJvc4DK3FcRVMRkhsIwJDJ4Jcz5DQC1cPPzB5GhzyHjwttW878HaWQq46CkL3cqg==", - "deprecated": "Deprecated as the semver package now supports this built-in.", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-4.0.0.tgz", + "integrity": "sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA==", "dev": true, "license": "MIT", "dependencies": { @@ -15828,6 +15482,7 @@ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "ansi-regex": "^6.0.1" }, @@ -15995,19 +15650,6 @@ "url": "https://opencollective.com/synckit" } }, - "node_modules/tagged-tag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/tagged-tag/-/tagged-tag-1.0.0.tgz", - "integrity": "sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/temp-dir": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz", @@ -16426,16 +16068,6 @@ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", "license": "0BSD" }, - "node_modules/tunnel": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", - "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.6.11 <=0.7.0 || >=0.7.3" - } - }, "node_modules/type-detect": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", @@ -16489,19 +16121,6 @@ "node": ">=0.8.0" } }, - "node_modules/undici": { - "version": "5.29.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.29.0.tgz", - "integrity": "sha512-raqeBD6NQK4SkWhQzeYKd1KmIG6dllBOTt55Rmkt4HtI9mwdWtJljnrXjAFUBLTSN67HWrOIZ3EPF4kjUw80Bg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@fastify/busboy": "^2.0.0" - }, - "engines": { - "node": ">=14.0" - } - }, "node_modules/undici-types": { "version": "7.12.0", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.12.0.tgz", @@ -17157,7 +16776,6 @@ "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -17187,7 +16805,6 @@ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8" } @@ -17197,8 +16814,7 @@ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/yargs/node_modules/string-width": { "version": "4.2.3", @@ -17206,7 +16822,6 @@ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -17222,7 +16837,6 @@ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-regex": "^5.0.1" }, diff --git a/packages/openai-adapters/package.json b/packages/openai-adapters/package.json index bd627869a..dbc615792 100644 --- a/packages/openai-adapters/package.json +++ b/packages/openai-adapters/package.json @@ -31,14 +31,14 @@ "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.3", - "@semantic-release/npm": "^13.1.2", + "@semantic-release/npm": "^12.0.2", "@semantic-release/release-notes-generator": "^14.0.3", "@types/follow-redirects": "^1.14.4", "@types/jest": "^29.5.14", "@types/json-schema": "^7.0.15", "@types/node": "^24.3.0", "cross-env": "^7.0.3", - "semantic-release": "^25.0.2", + "semantic-release": "^24.2.7", "ts-jest": "^29.2.3", "ts-node": "^10.9.2", "vitest": "^3.2.4"