├── demo.gif ├── types.ts ├── globals.ts ├── util ├── copyCommand.ts ├── onboard.ts ├── runCommand.ts └── getCommand.ts ├── main.ts ├── package.json ├── .gitignore ├── commands └── ask.ts ├── README.md ├── tsconfig.json ├── LICENSE.md └── pnpm-lock.yaml /demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TejasQ/idli/HEAD/demo.gif -------------------------------------------------------------------------------- /types.ts: -------------------------------------------------------------------------------- 1 | export type Config = Partial<{ 2 | openAiApiKey: string; 3 | }>; 4 | -------------------------------------------------------------------------------- /globals.ts: -------------------------------------------------------------------------------- 1 | import { join } from "path"; 2 | 3 | export const configFilePath = join(__dirname, ".idlirc"); 4 | -------------------------------------------------------------------------------- /util/copyCommand.ts: -------------------------------------------------------------------------------- 1 | import { Ora } from "ora"; 2 | 3 | type Options = { 4 | spinner: Ora; 5 | command: string; 6 | }; 7 | 8 | export async function copyCommand({ command, spinner }: Options) { 9 | // @ts-ignore 10 | const clipboard = await import("node-clipboardy"); 11 | clipboard.default.writeSync(command); 12 | spinner.succeed("Command copied to clipboard."); 13 | } 14 | -------------------------------------------------------------------------------- /util/onboard.ts: -------------------------------------------------------------------------------- 1 | import { password } from "@inquirer/prompts"; 2 | import { writeFile } from "fs/promises"; 3 | import { configFilePath } from "../globals"; 4 | 5 | export async function onboard() { 6 | console.log(`🥚 Welcome to Idli: your shell copilot. Let's get you set up.`); 7 | const openAiApiKey = await password({ 8 | message: `To get started, please paste your OpenAI API key. 9 | `, 10 | mask: true, 11 | validate: (str) => Boolean(str), 12 | }); 13 | await writeFile(configFilePath, JSON.stringify({ openAiApiKey })); 14 | } 15 | -------------------------------------------------------------------------------- /util/runCommand.ts: -------------------------------------------------------------------------------- 1 | import { Ora } from "ora"; 2 | 3 | type Options = { 4 | spinner: Ora; 5 | command: string; 6 | }; 7 | 8 | export async function runCommand({ command, spinner }: Options) { 9 | spinner.stop(); 10 | const { exec } = await import("child_process"); 11 | const childProcess = exec(command, (error, stdout, stderr) => { 12 | if (error) { 13 | spinner.fail(`Failed to run command: ${error.message}`); 14 | return; 15 | } 16 | spinner.succeed(`Command ran successfully.`); 17 | }); 18 | childProcess.stdout?.pipe(process.stdout); 19 | childProcess.stderr?.pipe(process.stderr); 20 | } 21 | -------------------------------------------------------------------------------- /util/getCommand.ts: -------------------------------------------------------------------------------- 1 | import os from "os"; 2 | import { Config } from "../types"; 3 | 4 | type Options = { 5 | config: Config; 6 | prompt: string; 7 | }; 8 | 9 | export async function getCommand({ config, prompt }: Options) { 10 | return await fetch("https://tej.as/api/askIdli", { 11 | method: "POST", 12 | headers: { 13 | "Content-Type": "application/json", 14 | Authorization: `Bearer ${config.openAiApiKey}`, 15 | }, 16 | body: JSON.stringify({ 17 | model: "gpt-4-turbo", 18 | prompt, 19 | os: { 20 | type: os.type(), 21 | platform: os.platform(), 22 | release: os.release(), 23 | arch: os.arch(), 24 | }, 25 | }), 26 | }).then((r) => r.text()); 27 | } 28 | -------------------------------------------------------------------------------- /main.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | import { rm } from "fs/promises"; 3 | import { program } from "commander"; 4 | import { ask } from "./commands/ask"; 5 | import { configFilePath } from "./globals"; 6 | 7 | program 8 | .name("idli") 9 | .description( 10 | "An Intelligent Decision Line Interface, or IDLI for short; basically your AI shell copilot." 11 | ); 12 | 13 | program 14 | .command("ask [prompt...]") 15 | .description("Ask IDLI a question or for help with a command.") 16 | .action(ask); 17 | 18 | program 19 | .command("reset") 20 | .description("Reset your configuration and enter a new API key.") 21 | .action(async () => { 22 | try { 23 | await rm(configFilePath); 24 | } catch {} 25 | ask([]); 26 | }); 27 | 28 | program.parse(); 29 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "idli", 3 | "version": "0.1.0", 4 | "description": "A CLI, but with AI.", 5 | "main": "dist/main.js", 6 | "bin": { 7 | "idli": "dist/main.js" 8 | }, 9 | "scripts": { 10 | "build": "esbuild main.ts --bundle --platform=node --outfile=dist/main.js", 11 | "preversion": "npm run build" 12 | }, 13 | "files": [ 14 | "dist/main.js" 15 | ], 16 | "keywords": [ 17 | "CLI", 18 | "AI" 19 | ], 20 | "author": { 21 | "email": "tejas@tejas.qa", 22 | "name": "Tejas Kumar", 23 | "url": "https://tej.as" 24 | }, 25 | "devDependencies": { 26 | "@types/node": "^20.12.7", 27 | "esbuild": "^0.20.2", 28 | "typescript": "^5.4.5" 29 | }, 30 | "dependencies": { 31 | "@inquirer/prompts": "^5.0.1", 32 | "commander": "^12.0.0", 33 | "node-clipboardy": "^1.0.3", 34 | "openai": "^4.38.5", 35 | "openpipe": "^0.12.0", 36 | "ora": "^8.0.1" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.toptal.com/developers/gitignore/api/nodejs,macos,vscode 2 | # Edit at https://www.toptal.com/developers/gitignore?templates=nodejs,macos,vscode 3 | 4 | ### macOS ### 5 | # General 6 | .DS_Store 7 | .AppleDouble 8 | .LSOverride 9 | 10 | # Icon must end with two \r 11 | Icon 12 | 13 | 14 | # Thumbnails 15 | ._* 16 | 17 | # Files that might appear in the root of a volume 18 | .DocumentRevisions-V100 19 | .fseventsd 20 | .Spotlight-V100 21 | .TemporaryItems 22 | .Trashes 23 | .VolumeIcon.icns 24 | .com.apple.timemachine.donotpresent 25 | 26 | # Directories potentially created on remote AFP share 27 | .AppleDB 28 | .AppleDesktop 29 | Network Trash Folder 30 | Temporary Items 31 | .apdisk 32 | 33 | ### macOS Patch ### 34 | # iCloud generated files 35 | *.icloud 36 | 37 | #!! ERROR: nodejs is undefined. Use list command to see defined gitignore types !!# 38 | 39 | #!! ERROR: vscode is undefined. Use list command to see defined gitignore types !!# 40 | 41 | # End of https://www.toptal.com/developers/gitignore/api/nodejs,macos,vscode 42 | 43 | node_modules 44 | dist 45 | *.tgz 46 | .idlirc 47 | **/*.idlirc 48 | .env -------------------------------------------------------------------------------- /commands/ask.ts: -------------------------------------------------------------------------------- 1 | import { input, select } from "@inquirer/prompts"; 2 | import Ora from "ora"; 3 | import { getCommand } from "../util/getCommand"; 4 | import { runCommand } from "../util/runCommand"; 5 | import { copyCommand } from "../util/copyCommand"; 6 | import { readFile } from "fs/promises"; 7 | import { onboard } from "../util/onboard"; 8 | import { Config } from "../types"; 9 | import { configFilePath } from "../globals"; 10 | 11 | export async function ask(prompt: string[]) { 12 | const spinner = Ora(); 13 | let actualPrompt = prompt.join(" "); 14 | let config: Config = {}; 15 | 16 | try { 17 | config = JSON.parse(await readFile(configFilePath, "utf-8")); 18 | } catch (e) { 19 | await onboard(); 20 | return ask(prompt); 21 | } 22 | 23 | if (!actualPrompt) { 24 | spinner.stop(); 25 | actualPrompt = await input({ message: "What would you like to do?" }); 26 | } 27 | 28 | spinner.start("Thinking..."); 29 | const command = await getCommand({ config, prompt: actualPrompt }); 30 | spinner.succeed(`Got back command: 31 | > ${command} 32 | `); 33 | 34 | const nextStep = await select({ 35 | message: "What would you like to do?", 36 | choices: [ 37 | { 38 | value: "run", 39 | description: "Actually run the command.", 40 | name: "Run", 41 | }, 42 | { 43 | value: "copy", 44 | description: 45 | "Copy this command to your clipboard for fine-tuning or safekeeping.", 46 | name: "Copy", 47 | }, 48 | { value: "exit", description: "Just exit.", name: "Nothing" }, 49 | ], 50 | }); 51 | 52 | switch (nextStep) { 53 | case "run": 54 | await runCommand({ command, spinner }); 55 | break; 56 | case "copy": 57 | await copyCommand({ command, spinner }); 58 | break; 59 | default: 60 | process.exit(0); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🥚 Idli: Your CLI AI Copilot 2 | 3 | As developers, we sometimes need to use `ffmpeg` for something simple like converting a video to a gif, but we often can't quite remember the exact command to use. We end up searching the internet for the command, and then copy-pasting it into our terminal. This is where Idli comes in. 4 | 5 | [Watch the video](https://youtu.be/1RoZOBGuP10) 6 | 7 | ![Idli in action](demo.gif) 8 | 9 | Idli is a CLI AI copilot that helps you with your day-to-day tasks. It is a command-line tool that uses AI to generate commands for you. You can ask Idli how to do something in natural language, and it will generate the command for you and offer to run it, copy it, or exit. 10 | 11 | ## Usage 12 | 13 | Provided you've got Node.js installed, you can use Idli like this: 14 | 15 | ```sh 16 | npx idli ask how do I convert ./video.mp4 here to a gif 17 | ``` 18 | 19 | This will generate the command for you. You can then choose to run it, copy it, or exit. For more of an API reference, here's what you can do with Idli. 20 | 21 | ### API Reference 22 | 23 | | Command | Options | Description | 24 | | ------------------------- | ------- | ---------------------------------------------- | 25 | | `npx idli ask [question]` | | Ask Idli a question in natural language. | 26 | | `npx idli reset` | | Reset your OpenAI API key. | 27 | | `npx idli help [command]` | | Get help for any commands, or the main module. | 28 | 29 | ## Contributing 30 | 31 | I made this by myself for myself. If there's some issue you face or use case it's not meeting, let's add it together. Start by [opening an issue](https://github.com/tejasq/idli/issues/new) and we'll take it from there. 32 | 33 | ## Why is the logo an egg and not an idli? 34 | 35 | These are idlis: 36 | 37 | ![idlis](https://images.unsplash.com/photo-1589301760014-d929f3979dbc?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D) 38 | 39 | There is no idli emoji unfortunately, so an egg looks close enough—especially if the idlis are misshapen like this: 40 | 41 | ![misshapen idlis](https://images.unsplash.com/photo-1630383249896-424e482df921?q=80&w=3160&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D) 42 | 43 | If you'd like to help get an idli emoji, please [upvote this issue](https://github.com/TejasQ/idli/issues/1) so we can get it added to Unicode. 🙏 44 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Visit https://aka.ms/tsconfig to read more about this file */ 4 | 5 | /* Projects */ 6 | // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */ 7 | // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ 8 | // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */ 9 | // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */ 10 | // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ 11 | // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ 12 | 13 | /* Language and Environment */ 14 | "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, 15 | // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ 16 | // "jsx": "preserve", /* Specify what JSX code is generated. */ 17 | // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */ 18 | // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ 19 | // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */ 20 | // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ 21 | // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */ 22 | // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */ 23 | // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ 24 | // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ 25 | // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */ 26 | 27 | /* Modules */ 28 | "module": "commonjs" /* Specify what module code is generated. */, 29 | // "rootDir": "./", /* Specify the root folder within your source files. */ 30 | // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */ 31 | // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ 32 | // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ 33 | // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ 34 | // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ 35 | // "types": [], /* Specify type package names to be included without being referenced in a source file. */ 36 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ 37 | // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */ 38 | // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */ 39 | // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */ 40 | // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */ 41 | // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */ 42 | // "resolveJsonModule": true, /* Enable importing .json files. */ 43 | // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */ 44 | // "noResolve": true, /* Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project. */ 45 | 46 | /* JavaScript Support */ 47 | // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ 48 | // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ 49 | // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ 50 | 51 | /* Emit */ 52 | // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ 53 | // "declarationMap": true, /* Create sourcemaps for d.ts files. */ 54 | // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ 55 | // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ 56 | // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ 57 | // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ 58 | // "outDir": "./", /* Specify an output folder for all emitted files. */ 59 | // "removeComments": true, /* Disable emitting comments. */ 60 | // "noEmit": true, /* Disable emitting files from a compilation. */ 61 | // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ 62 | // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */ 63 | // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ 64 | // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ 65 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 66 | // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ 67 | // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ 68 | // "newLine": "crlf", /* Set the newline character for emitting files. */ 69 | // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */ 70 | // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */ 71 | // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ 72 | // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */ 73 | // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ 74 | // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ 75 | 76 | /* Interop Constraints */ 77 | // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ 78 | // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ 79 | // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ 80 | "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */, 81 | // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ 82 | "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */, 83 | 84 | /* Type Checking */ 85 | "strict": true /* Enable all strict type-checking options. */, 86 | // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */ 87 | // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */ 88 | // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ 89 | // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */ 90 | // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ 91 | // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */ 92 | // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */ 93 | // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ 94 | // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */ 95 | // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */ 96 | // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ 97 | // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ 98 | // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ 99 | // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */ 100 | // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ 101 | // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */ 102 | // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ 103 | // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ 104 | 105 | /* Completeness */ 106 | // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ 107 | "skipLibCheck": true /* Skip type checking all .d.ts files. */ 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | # GNU General Public License 2 | 3 | _Version 3, 29 June 2007_ 4 | _Copyright © 2007 Free Software Foundation, Inc. <>_ 5 | 6 | Everyone is permitted to copy and distribute verbatim copies of this license 7 | document, but changing it is not allowed. 8 | 9 | ## Preamble 10 | 11 | The GNU General Public License is a free, copyleft license for software and other 12 | kinds of works. 13 | 14 | The licenses for most software and other practical works are designed to take away 15 | your freedom to share and change the works. By contrast, the GNU General Public 16 | License is intended to guarantee your freedom to share and change all versions of a 17 | program--to make sure it remains free software for all its users. We, the Free 18 | Software Foundation, use the GNU General Public License for most of our software; it 19 | applies also to any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not price. Our General 23 | Public Licenses are designed to make sure that you have the freedom to distribute 24 | copies of free software (and charge for them if you wish), that you receive source 25 | code or can get it if you want it, that you can change the software or use pieces of 26 | it in new free programs, and that you know you can do these things. 27 | 28 | To protect your rights, we need to prevent others from denying you these rights or 29 | asking you to surrender the rights. Therefore, you have certain responsibilities if 30 | you distribute copies of the software, or if you modify it: responsibilities to 31 | respect the freedom of others. 32 | 33 | For example, if you distribute copies of such a program, whether gratis or for a fee, 34 | you must pass on to the recipients the same freedoms that you received. You must make 35 | sure that they, too, receive or can get the source code. And you must show them these 36 | terms so they know their rights. 37 | 38 | Developers that use the GNU GPL protect your rights with two steps: **(1)** assert 39 | copyright on the software, and **(2)** offer you this License giving you legal permission 40 | to copy, distribute and/or modify it. 41 | 42 | For the developers' and authors' protection, the GPL clearly explains that there is 43 | no warranty for this free software. For both users' and authors' sake, the GPL 44 | requires that modified versions be marked as changed, so that their problems will not 45 | be attributed erroneously to authors of previous versions. 46 | 47 | Some devices are designed to deny users access to install or run modified versions of 48 | the software inside them, although the manufacturer can do so. This is fundamentally 49 | incompatible with the aim of protecting users' freedom to change the software. The 50 | systematic pattern of such abuse occurs in the area of products for individuals to 51 | use, which is precisely where it is most unacceptable. Therefore, we have designed 52 | this version of the GPL to prohibit the practice for those products. If such problems 53 | arise substantially in other domains, we stand ready to extend this provision to 54 | those domains in future versions of the GPL, as needed to protect the freedom of 55 | users. 56 | 57 | Finally, every program is threatened constantly by software patents. States should 58 | not allow patents to restrict development and use of software on general-purpose 59 | computers, but in those that do, we wish to avoid the special danger that patents 60 | applied to a free program could make it effectively proprietary. To prevent this, the 61 | GPL assures that patents cannot be used to render the program non-free. 62 | 63 | The precise terms and conditions for copying, distribution and modification follow. 64 | 65 | ## TERMS AND CONDITIONS 66 | 67 | ### 0. Definitions 68 | 69 | “This License” refers to version 3 of the GNU General Public License. 70 | 71 | “Copyright” also means copyright-like laws that apply to other kinds of 72 | works, such as semiconductor masks. 73 | 74 | “The Program” refers to any copyrightable work licensed under this 75 | License. Each licensee is addressed as “you”. “Licensees” and 76 | “recipients” may be individuals or organizations. 77 | 78 | To “modify” a work means to copy from or adapt all or part of the work in 79 | a fashion requiring copyright permission, other than the making of an exact copy. The 80 | resulting work is called a “modified version” of the earlier work or a 81 | work “based on” the earlier work. 82 | 83 | A “covered work” means either the unmodified Program or a work based on 84 | the Program. 85 | 86 | To “propagate” a work means to do anything with it that, without 87 | permission, would make you directly or secondarily liable for infringement under 88 | applicable copyright law, except executing it on a computer or modifying a private 89 | copy. Propagation includes copying, distribution (with or without modification), 90 | making available to the public, and in some countries other activities as well. 91 | 92 | To “convey” a work means any kind of propagation that enables other 93 | parties to make or receive copies. Mere interaction with a user through a computer 94 | network, with no transfer of a copy, is not conveying. 95 | 96 | An interactive user interface displays “Appropriate Legal Notices” to the 97 | extent that it includes a convenient and prominently visible feature that **(1)** 98 | displays an appropriate copyright notice, and **(2)** tells the user that there is no 99 | warranty for the work (except to the extent that warranties are provided), that 100 | licensees may convey the work under this License, and how to view a copy of this 101 | License. If the interface presents a list of user commands or options, such as a 102 | menu, a prominent item in the list meets this criterion. 103 | 104 | ### 1. Source Code 105 | 106 | The “source code” for a work means the preferred form of the work for 107 | making modifications to it. “Object code” means any non-source form of a 108 | work. 109 | 110 | A “Standard Interface” means an interface that either is an official 111 | standard defined by a recognized standards body, or, in the case of interfaces 112 | specified for a particular programming language, one that is widely used among 113 | developers working in that language. 114 | 115 | The “System Libraries” of an executable work include anything, other than 116 | the work as a whole, that **(a)** is included in the normal form of packaging a Major 117 | Component, but which is not part of that Major Component, and **(b)** serves only to 118 | enable use of the work with that Major Component, or to implement a Standard 119 | Interface for which an implementation is available to the public in source code form. 120 | A “Major Component”, in this context, means a major essential component 121 | (kernel, window system, and so on) of the specific operating system (if any) on which 122 | the executable work runs, or a compiler used to produce the work, or an object code 123 | interpreter used to run it. 124 | 125 | The “Corresponding Source” for a work in object code form means all the 126 | source code needed to generate, install, and (for an executable work) run the object 127 | code and to modify the work, including scripts to control those activities. However, 128 | it does not include the work's System Libraries, or general-purpose tools or 129 | generally available free programs which are used unmodified in performing those 130 | activities but which are not part of the work. For example, Corresponding Source 131 | includes interface definition files associated with source files for the work, and 132 | the source code for shared libraries and dynamically linked subprograms that the work 133 | is specifically designed to require, such as by intimate data communication or 134 | control flow between those subprograms and other parts of the work. 135 | 136 | The Corresponding Source need not include anything that users can regenerate 137 | automatically from other parts of the Corresponding Source. 138 | 139 | The Corresponding Source for a work in source code form is that same work. 140 | 141 | ### 2. Basic Permissions 142 | 143 | All rights granted under this License are granted for the term of copyright on the 144 | Program, and are irrevocable provided the stated conditions are met. This License 145 | explicitly affirms your unlimited permission to run the unmodified Program. The 146 | output from running a covered work is covered by this License only if the output, 147 | given its content, constitutes a covered work. This License acknowledges your rights 148 | of fair use or other equivalent, as provided by copyright law. 149 | 150 | You may make, run and propagate covered works that you do not convey, without 151 | conditions so long as your license otherwise remains in force. You may convey covered 152 | works to others for the sole purpose of having them make modifications exclusively 153 | for you, or provide you with facilities for running those works, provided that you 154 | comply with the terms of this License in conveying all material for which you do not 155 | control copyright. Those thus making or running the covered works for you must do so 156 | exclusively on your behalf, under your direction and control, on terms that prohibit 157 | them from making any copies of your copyrighted material outside their relationship 158 | with you. 159 | 160 | Conveying under any other circumstances is permitted solely under the conditions 161 | stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 162 | 163 | ### 3. Protecting Users' Legal Rights From Anti-Circumvention Law 164 | 165 | No covered work shall be deemed part of an effective technological measure under any 166 | applicable law fulfilling obligations under article 11 of the WIPO copyright treaty 167 | adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention 168 | of such measures. 169 | 170 | When you convey a covered work, you waive any legal power to forbid circumvention of 171 | technological measures to the extent such circumvention is effected by exercising 172 | rights under this License with respect to the covered work, and you disclaim any 173 | intention to limit operation or modification of the work as a means of enforcing, 174 | against the work's users, your or third parties' legal rights to forbid circumvention 175 | of technological measures. 176 | 177 | ### 4. Conveying Verbatim Copies 178 | 179 | You may convey verbatim copies of the Program's source code as you receive it, in any 180 | medium, provided that you conspicuously and appropriately publish on each copy an 181 | appropriate copyright notice; keep intact all notices stating that this License and 182 | any non-permissive terms added in accord with section 7 apply to the code; keep 183 | intact all notices of the absence of any warranty; and give all recipients a copy of 184 | this License along with the Program. 185 | 186 | You may charge any price or no price for each copy that you convey, and you may offer 187 | support or warranty protection for a fee. 188 | 189 | ### 5. Conveying Modified Source Versions 190 | 191 | You may convey a work based on the Program, or the modifications to produce it from 192 | the Program, in the form of source code under the terms of section 4, provided that 193 | you also meet all of these conditions: 194 | 195 | - **a)** The work must carry prominent notices stating that you modified it, and giving a 196 | relevant date. 197 | - **b)** The work must carry prominent notices stating that it is released under this 198 | License and any conditions added under section 7. This requirement modifies the 199 | requirement in section 4 to “keep intact all notices”. 200 | - **c)** You must license the entire work, as a whole, under this License to anyone who 201 | comes into possession of a copy. This License will therefore apply, along with any 202 | applicable section 7 additional terms, to the whole of the work, and all its parts, 203 | regardless of how they are packaged. This License gives no permission to license the 204 | work in any other way, but it does not invalidate such permission if you have 205 | separately received it. 206 | - **d)** If the work has interactive user interfaces, each must display Appropriate Legal 207 | Notices; however, if the Program has interactive interfaces that do not display 208 | Appropriate Legal Notices, your work need not make them do so. 209 | 210 | A compilation of a covered work with other separate and independent works, which are 211 | not by their nature extensions of the covered work, and which are not combined with 212 | it such as to form a larger program, in or on a volume of a storage or distribution 213 | medium, is called an “aggregate” if the compilation and its resulting 214 | copyright are not used to limit the access or legal rights of the compilation's users 215 | beyond what the individual works permit. Inclusion of a covered work in an aggregate 216 | does not cause this License to apply to the other parts of the aggregate. 217 | 218 | ### 6. Conveying Non-Source Forms 219 | 220 | You may convey a covered work in object code form under the terms of sections 4 and 221 | 5, provided that you also convey the machine-readable Corresponding Source under the 222 | terms of this License, in one of these ways: 223 | 224 | - **a)** Convey the object code in, or embodied in, a physical product (including a 225 | physical distribution medium), accompanied by the Corresponding Source fixed on a 226 | durable physical medium customarily used for software interchange. 227 | - **b)** Convey the object code in, or embodied in, a physical product (including a 228 | physical distribution medium), accompanied by a written offer, valid for at least 229 | three years and valid for as long as you offer spare parts or customer support for 230 | that product model, to give anyone who possesses the object code either **(1)** a copy of 231 | the Corresponding Source for all the software in the product that is covered by this 232 | License, on a durable physical medium customarily used for software interchange, for 233 | a price no more than your reasonable cost of physically performing this conveying of 234 | source, or **(2)** access to copy the Corresponding Source from a network server at no 235 | charge. 236 | - **c)** Convey individual copies of the object code with a copy of the written offer to 237 | provide the Corresponding Source. This alternative is allowed only occasionally and 238 | noncommercially, and only if you received the object code with such an offer, in 239 | accord with subsection 6b. 240 | - **d)** Convey the object code by offering access from a designated place (gratis or for 241 | a charge), and offer equivalent access to the Corresponding Source in the same way 242 | through the same place at no further charge. You need not require recipients to copy 243 | the Corresponding Source along with the object code. If the place to copy the object 244 | code is a network server, the Corresponding Source may be on a different server 245 | (operated by you or a third party) that supports equivalent copying facilities, 246 | provided you maintain clear directions next to the object code saying where to find 247 | the Corresponding Source. Regardless of what server hosts the Corresponding Source, 248 | you remain obligated to ensure that it is available for as long as needed to satisfy 249 | these requirements. 250 | - **e)** Convey the object code using peer-to-peer transmission, provided you inform 251 | other peers where the object code and Corresponding Source of the work are being 252 | offered to the general public at no charge under subsection 6d. 253 | 254 | A separable portion of the object code, whose source code is excluded from the 255 | Corresponding Source as a System Library, need not be included in conveying the 256 | object code work. 257 | 258 | A “User Product” is either **(1)** a “consumer product”, which 259 | means any tangible personal property which is normally used for personal, family, or 260 | household purposes, or **(2)** anything designed or sold for incorporation into a 261 | dwelling. In determining whether a product is a consumer product, doubtful cases 262 | shall be resolved in favor of coverage. For a particular product received by a 263 | particular user, “normally used” refers to a typical or common use of 264 | that class of product, regardless of the status of the particular user or of the way 265 | in which the particular user actually uses, or expects or is expected to use, the 266 | product. A product is a consumer product regardless of whether the product has 267 | substantial commercial, industrial or non-consumer uses, unless such uses represent 268 | the only significant mode of use of the product. 269 | 270 | “Installation Information” for a User Product means any methods, 271 | procedures, authorization keys, or other information required to install and execute 272 | modified versions of a covered work in that User Product from a modified version of 273 | its Corresponding Source. The information must suffice to ensure that the continued 274 | functioning of the modified object code is in no case prevented or interfered with 275 | solely because modification has been made. 276 | 277 | If you convey an object code work under this section in, or with, or specifically for 278 | use in, a User Product, and the conveying occurs as part of a transaction in which 279 | the right of possession and use of the User Product is transferred to the recipient 280 | in perpetuity or for a fixed term (regardless of how the transaction is 281 | characterized), the Corresponding Source conveyed under this section must be 282 | accompanied by the Installation Information. But this requirement does not apply if 283 | neither you nor any third party retains the ability to install modified object code 284 | on the User Product (for example, the work has been installed in ROM). 285 | 286 | The requirement to provide Installation Information does not include a requirement to 287 | continue to provide support service, warranty, or updates for a work that has been 288 | modified or installed by the recipient, or for the User Product in which it has been 289 | modified or installed. Access to a network may be denied when the modification itself 290 | materially and adversely affects the operation of the network or violates the rules 291 | and protocols for communication across the network. 292 | 293 | Corresponding Source conveyed, and Installation Information provided, in accord with 294 | this section must be in a format that is publicly documented (and with an 295 | implementation available to the public in source code form), and must require no 296 | special password or key for unpacking, reading or copying. 297 | 298 | ### 7. Additional Terms 299 | 300 | “Additional permissions” are terms that supplement the terms of this 301 | License by making exceptions from one or more of its conditions. Additional 302 | permissions that are applicable to the entire Program shall be treated as though they 303 | were included in this License, to the extent that they are valid under applicable 304 | law. If additional permissions apply only to part of the Program, that part may be 305 | used separately under those permissions, but the entire Program remains governed by 306 | this License without regard to the additional permissions. 307 | 308 | When you convey a copy of a covered work, you may at your option remove any 309 | additional permissions from that copy, or from any part of it. (Additional 310 | permissions may be written to require their own removal in certain cases when you 311 | modify the work.) You may place additional permissions on material, added by you to a 312 | covered work, for which you have or can give appropriate copyright permission. 313 | 314 | Notwithstanding any other provision of this License, for material you add to a 315 | covered work, you may (if authorized by the copyright holders of that material) 316 | supplement the terms of this License with terms: 317 | 318 | - **a)** Disclaiming warranty or limiting liability differently from the terms of 319 | sections 15 and 16 of this License; or 320 | - **b)** Requiring preservation of specified reasonable legal notices or author 321 | attributions in that material or in the Appropriate Legal Notices displayed by works 322 | containing it; or 323 | - **c)** Prohibiting misrepresentation of the origin of that material, or requiring that 324 | modified versions of such material be marked in reasonable ways as different from the 325 | original version; or 326 | - **d)** Limiting the use for publicity purposes of names of licensors or authors of the 327 | material; or 328 | - **e)** Declining to grant rights under trademark law for use of some trade names, 329 | trademarks, or service marks; or 330 | - **f)** Requiring indemnification of licensors and authors of that material by anyone 331 | who conveys the material (or modified versions of it) with contractual assumptions of 332 | liability to the recipient, for any liability that these contractual assumptions 333 | directly impose on those licensors and authors. 334 | 335 | All other non-permissive additional terms are considered “further 336 | restrictions” within the meaning of section 10. If the Program as you received 337 | it, or any part of it, contains a notice stating that it is governed by this License 338 | along with a term that is a further restriction, you may remove that term. If a 339 | license document contains a further restriction but permits relicensing or conveying 340 | under this License, you may add to a covered work material governed by the terms of 341 | that license document, provided that the further restriction does not survive such 342 | relicensing or conveying. 343 | 344 | If you add terms to a covered work in accord with this section, you must place, in 345 | the relevant source files, a statement of the additional terms that apply to those 346 | files, or a notice indicating where to find the applicable terms. 347 | 348 | Additional terms, permissive or non-permissive, may be stated in the form of a 349 | separately written license, or stated as exceptions; the above requirements apply 350 | either way. 351 | 352 | ### 8. Termination 353 | 354 | You may not propagate or modify a covered work except as expressly provided under 355 | this License. Any attempt otherwise to propagate or modify it is void, and will 356 | automatically terminate your rights under this License (including any patent licenses 357 | granted under the third paragraph of section 11). 358 | 359 | However, if you cease all violation of this License, then your license from a 360 | particular copyright holder is reinstated **(a)** provisionally, unless and until the 361 | copyright holder explicitly and finally terminates your license, and **(b)** permanently, 362 | if the copyright holder fails to notify you of the violation by some reasonable means 363 | prior to 60 days after the cessation. 364 | 365 | Moreover, your license from a particular copyright holder is reinstated permanently 366 | if the copyright holder notifies you of the violation by some reasonable means, this 367 | is the first time you have received notice of violation of this License (for any 368 | work) from that copyright holder, and you cure the violation prior to 30 days after 369 | your receipt of the notice. 370 | 371 | Termination of your rights under this section does not terminate the licenses of 372 | parties who have received copies or rights from you under this License. If your 373 | rights have been terminated and not permanently reinstated, you do not qualify to 374 | receive new licenses for the same material under section 10. 375 | 376 | ### 9. Acceptance Not Required for Having Copies 377 | 378 | You are not required to accept this License in order to receive or run a copy of the 379 | Program. Ancillary propagation of a covered work occurring solely as a consequence of 380 | using peer-to-peer transmission to receive a copy likewise does not require 381 | acceptance. However, nothing other than this License grants you permission to 382 | propagate or modify any covered work. These actions infringe copyright if you do not 383 | accept this License. Therefore, by modifying or propagating a covered work, you 384 | indicate your acceptance of this License to do so. 385 | 386 | ### 10. Automatic Licensing of Downstream Recipients 387 | 388 | Each time you convey a covered work, the recipient automatically receives a license 389 | from the original licensors, to run, modify and propagate that work, subject to this 390 | License. You are not responsible for enforcing compliance by third parties with this 391 | License. 392 | 393 | An “entity transaction” is a transaction transferring control of an 394 | organization, or substantially all assets of one, or subdividing an organization, or 395 | merging organizations. If propagation of a covered work results from an entity 396 | transaction, each party to that transaction who receives a copy of the work also 397 | receives whatever licenses to the work the party's predecessor in interest had or 398 | could give under the previous paragraph, plus a right to possession of the 399 | Corresponding Source of the work from the predecessor in interest, if the predecessor 400 | has it or can get it with reasonable efforts. 401 | 402 | You may not impose any further restrictions on the exercise of the rights granted or 403 | affirmed under this License. For example, you may not impose a license fee, royalty, 404 | or other charge for exercise of rights granted under this License, and you may not 405 | initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging 406 | that any patent claim is infringed by making, using, selling, offering for sale, or 407 | importing the Program or any portion of it. 408 | 409 | ### 11. Patents 410 | 411 | A “contributor” is a copyright holder who authorizes use under this 412 | License of the Program or a work on which the Program is based. The work thus 413 | licensed is called the contributor's “contributor version”. 414 | 415 | A contributor's “essential patent claims” are all patent claims owned or 416 | controlled by the contributor, whether already acquired or hereafter acquired, that 417 | would be infringed by some manner, permitted by this License, of making, using, or 418 | selling its contributor version, but do not include claims that would be infringed 419 | only as a consequence of further modification of the contributor version. For 420 | purposes of this definition, “control” includes the right to grant patent 421 | sublicenses in a manner consistent with the requirements of this License. 422 | 423 | Each contributor grants you a non-exclusive, worldwide, royalty-free patent license 424 | under the contributor's essential patent claims, to make, use, sell, offer for sale, 425 | import and otherwise run, modify and propagate the contents of its contributor 426 | version. 427 | 428 | In the following three paragraphs, a “patent license” is any express 429 | agreement or commitment, however denominated, not to enforce a patent (such as an 430 | express permission to practice a patent or covenant not to sue for patent 431 | infringement). To “grant” such a patent license to a party means to make 432 | such an agreement or commitment not to enforce a patent against the party. 433 | 434 | If you convey a covered work, knowingly relying on a patent license, and the 435 | Corresponding Source of the work is not available for anyone to copy, free of charge 436 | and under the terms of this License, through a publicly available network server or 437 | other readily accessible means, then you must either **(1)** cause the Corresponding 438 | Source to be so available, or **(2)** arrange to deprive yourself of the benefit of the 439 | patent license for this particular work, or **(3)** arrange, in a manner consistent with 440 | the requirements of this License, to extend the patent license to downstream 441 | recipients. “Knowingly relying” means you have actual knowledge that, but 442 | for the patent license, your conveying the covered work in a country, or your 443 | recipient's use of the covered work in a country, would infringe one or more 444 | identifiable patents in that country that you have reason to believe are valid. 445 | 446 | If, pursuant to or in connection with a single transaction or arrangement, you 447 | convey, or propagate by procuring conveyance of, a covered work, and grant a patent 448 | license to some of the parties receiving the covered work authorizing them to use, 449 | propagate, modify or convey a specific copy of the covered work, then the patent 450 | license you grant is automatically extended to all recipients of the covered work and 451 | works based on it. 452 | 453 | A patent license is “discriminatory” if it does not include within the 454 | scope of its coverage, prohibits the exercise of, or is conditioned on the 455 | non-exercise of one or more of the rights that are specifically granted under this 456 | License. You may not convey a covered work if you are a party to an arrangement with 457 | a third party that is in the business of distributing software, under which you make 458 | payment to the third party based on the extent of your activity of conveying the 459 | work, and under which the third party grants, to any of the parties who would receive 460 | the covered work from you, a discriminatory patent license **(a)** in connection with 461 | copies of the covered work conveyed by you (or copies made from those copies), or **(b)** 462 | primarily for and in connection with specific products or compilations that contain 463 | the covered work, unless you entered into that arrangement, or that patent license 464 | was granted, prior to 28 March 2007. 465 | 466 | Nothing in this License shall be construed as excluding or limiting any implied 467 | license or other defenses to infringement that may otherwise be available to you 468 | under applicable patent law. 469 | 470 | ### 12. No Surrender of Others' Freedom 471 | 472 | If conditions are imposed on you (whether by court order, agreement or otherwise) 473 | that contradict the conditions of this License, they do not excuse you from the 474 | conditions of this License. If you cannot convey a covered work so as to satisfy 475 | simultaneously your obligations under this License and any other pertinent 476 | obligations, then as a consequence you may not convey it at all. For example, if you 477 | agree to terms that obligate you to collect a royalty for further conveying from 478 | those to whom you convey the Program, the only way you could satisfy both those terms 479 | and this License would be to refrain entirely from conveying the Program. 480 | 481 | ### 13. Use with the GNU Affero General Public License 482 | 483 | Notwithstanding any other provision of this License, you have permission to link or 484 | combine any covered work with a work licensed under version 3 of the GNU Affero 485 | General Public License into a single combined work, and to convey the resulting work. 486 | The terms of this License will continue to apply to the part which is the covered 487 | work, but the special requirements of the GNU Affero General Public License, section 488 | 13, concerning interaction through a network will apply to the combination as such. 489 | 490 | ### 14. Revised Versions of this License 491 | 492 | The Free Software Foundation may publish revised and/or new versions of the GNU 493 | General Public License from time to time. Such new versions will be similar in spirit 494 | to the present version, but may differ in detail to address new problems or concerns. 495 | 496 | Each version is given a distinguishing version number. If the Program specifies that 497 | a certain numbered version of the GNU General Public License “or any later 498 | version” applies to it, you have the option of following the terms and 499 | conditions either of that numbered version or of any later version published by the 500 | Free Software Foundation. If the Program does not specify a version number of the GNU 501 | General Public License, you may choose any version ever published by the Free 502 | Software Foundation. 503 | 504 | If the Program specifies that a proxy can decide which future versions of the GNU 505 | General Public License can be used, that proxy's public statement of acceptance of a 506 | version permanently authorizes you to choose that version for the Program. 507 | 508 | Later license versions may give you additional or different permissions. However, no 509 | additional obligations are imposed on any author or copyright holder as a result of 510 | your choosing to follow a later version. 511 | 512 | ### 15. Disclaimer of Warranty 513 | 514 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. 515 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 516 | PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER 517 | EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 518 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE 519 | QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE 520 | DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 521 | 522 | ### 16. Limitation of Liability 523 | 524 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY 525 | COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS 526 | PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, 527 | INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE 528 | PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE 529 | OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE 530 | WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 531 | POSSIBILITY OF SUCH DAMAGES. 532 | 533 | ### 17. Interpretation of Sections 15 and 16 534 | 535 | If the disclaimer of warranty and limitation of liability provided above cannot be 536 | given local legal effect according to their terms, reviewing courts shall apply local 537 | law that most closely approximates an absolute waiver of all civil liability in 538 | connection with the Program, unless a warranty or assumption of liability accompanies 539 | a copy of the Program in return for a fee. 540 | 541 | _END OF TERMS AND CONDITIONS_ 542 | 543 | ## How to Apply These Terms to Your New Programs 544 | 545 | If you develop a new program, and you want it to be of the greatest possible use to 546 | the public, the best way to achieve this is to make it free software which everyone 547 | can redistribute and change under these terms. 548 | 549 | To do so, attach the following notices to the program. It is safest to attach them 550 | to the start of each source file to most effectively state the exclusion of warranty; 551 | and each file should have at least the “copyright” line and a pointer to 552 | where the full notice is found. 553 | 554 | 555 | Copyright (C) 556 | 557 | This program is free software: you can redistribute it and/or modify 558 | it under the terms of the GNU General Public License as published by 559 | the Free Software Foundation, either version 3 of the License, or 560 | (at your option) any later version. 561 | 562 | This program is distributed in the hope that it will be useful, 563 | but WITHOUT ANY WARRANTY; without even the implied warranty of 564 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 565 | GNU General Public License for more details. 566 | 567 | You should have received a copy of the GNU General Public License 568 | along with this program. If not, see . 569 | 570 | Also add information on how to contact you by electronic and paper mail. 571 | 572 | If the program does terminal interaction, make it output a short notice like this 573 | when it starts in an interactive mode: 574 | 575 | Copyright (C) 576 | This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. 577 | This is free software, and you are welcome to redistribute it 578 | under certain conditions; type 'show c' for details. 579 | 580 | The hypothetical commands `show w` and `show c` should show the appropriate parts of 581 | the General Public License. Of course, your program's commands might be different; 582 | for a GUI interface, you would use an “about box”. 583 | 584 | You should also get your employer (if you work as a programmer) or school, if any, to 585 | sign a “copyright disclaimer” for the program, if necessary. For more 586 | information on this, and how to apply and follow the GNU GPL, see 587 | <>. 588 | 589 | The GNU General Public License does not permit incorporating your program into 590 | proprietary programs. If your program is a subroutine library, you may consider it 591 | more useful to permit linking proprietary applications with the library. If this is 592 | what you want to do, use the GNU Lesser General Public License instead of this 593 | License. But first, please read 594 | <>. 595 | -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- 1 | lockfileVersion: '9.0' 2 | 3 | settings: 4 | autoInstallPeers: true 5 | excludeLinksFromLockfile: false 6 | 7 | importers: 8 | 9 | .: 10 | dependencies: 11 | '@inquirer/prompts': 12 | specifier: ^5.0.1 13 | version: 5.0.2 14 | commander: 15 | specifier: ^12.0.0 16 | version: 12.0.0 17 | node-clipboardy: 18 | specifier: ^1.0.3 19 | version: 1.0.3 20 | openai: 21 | specifier: ^4.38.5 22 | version: 4.40.1(encoding@0.1.13) 23 | openpipe: 24 | specifier: ^0.12.0 25 | version: 0.12.0 26 | ora: 27 | specifier: ^8.0.1 28 | version: 8.0.1 29 | devDependencies: 30 | '@types/node': 31 | specifier: ^20.12.7 32 | version: 20.12.8 33 | esbuild: 34 | specifier: ^0.20.2 35 | version: 0.20.2 36 | typescript: 37 | specifier: ^5.4.5 38 | version: 5.4.5 39 | 40 | packages: 41 | 42 | '@anthropic-ai/sdk@0.20.8': 43 | resolution: {integrity: sha512-dTMDrWYIFyoSr9P0b/gT2Nu1scBuEq4LU9SGX901ktP4aQxs2jiSWq6A80pRmVxyjFl3ngFvcOmVVrP0NHNhOg==} 44 | 45 | '@esbuild/aix-ppc64@0.20.2': 46 | resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==} 47 | engines: {node: '>=12'} 48 | cpu: [ppc64] 49 | os: [aix] 50 | 51 | '@esbuild/android-arm64@0.20.2': 52 | resolution: {integrity: sha512-mRzjLacRtl/tWU0SvD8lUEwb61yP9cqQo6noDZP/O8VkwafSYwZ4yWy24kan8jE/IMERpYncRt2dw438LP3Xmg==} 53 | engines: {node: '>=12'} 54 | cpu: [arm64] 55 | os: [android] 56 | 57 | '@esbuild/android-arm@0.20.2': 58 | resolution: {integrity: sha512-t98Ra6pw2VaDhqNWO2Oph2LXbz/EJcnLmKLGBJwEwXX/JAN83Fym1rU8l0JUWK6HkIbWONCSSatf4sf2NBRx/w==} 59 | engines: {node: '>=12'} 60 | cpu: [arm] 61 | os: [android] 62 | 63 | '@esbuild/android-x64@0.20.2': 64 | resolution: {integrity: sha512-btzExgV+/lMGDDa194CcUQm53ncxzeBrWJcncOBxuC6ndBkKxnHdFJn86mCIgTELsooUmwUm9FkhSp5HYu00Rg==} 65 | engines: {node: '>=12'} 66 | cpu: [x64] 67 | os: [android] 68 | 69 | '@esbuild/darwin-arm64@0.20.2': 70 | resolution: {integrity: sha512-4J6IRT+10J3aJH3l1yzEg9y3wkTDgDk7TSDFX+wKFiWjqWp/iCfLIYzGyasx9l0SAFPT1HwSCR+0w/h1ES/MjA==} 71 | engines: {node: '>=12'} 72 | cpu: [arm64] 73 | os: [darwin] 74 | 75 | '@esbuild/darwin-x64@0.20.2': 76 | resolution: {integrity: sha512-tBcXp9KNphnNH0dfhv8KYkZhjc+H3XBkF5DKtswJblV7KlT9EI2+jeA8DgBjp908WEuYll6pF+UStUCfEpdysA==} 77 | engines: {node: '>=12'} 78 | cpu: [x64] 79 | os: [darwin] 80 | 81 | '@esbuild/freebsd-arm64@0.20.2': 82 | resolution: {integrity: sha512-d3qI41G4SuLiCGCFGUrKsSeTXyWG6yem1KcGZVS+3FYlYhtNoNgYrWcvkOoaqMhwXSMrZRl69ArHsGJ9mYdbbw==} 83 | engines: {node: '>=12'} 84 | cpu: [arm64] 85 | os: [freebsd] 86 | 87 | '@esbuild/freebsd-x64@0.20.2': 88 | resolution: {integrity: sha512-d+DipyvHRuqEeM5zDivKV1KuXn9WeRX6vqSqIDgwIfPQtwMP4jaDsQsDncjTDDsExT4lR/91OLjRo8bmC1e+Cw==} 89 | engines: {node: '>=12'} 90 | cpu: [x64] 91 | os: [freebsd] 92 | 93 | '@esbuild/linux-arm64@0.20.2': 94 | resolution: {integrity: sha512-9pb6rBjGvTFNira2FLIWqDk/uaf42sSyLE8j1rnUpuzsODBq7FvpwHYZxQ/It/8b+QOS1RYfqgGFNLRI+qlq2A==} 95 | engines: {node: '>=12'} 96 | cpu: [arm64] 97 | os: [linux] 98 | 99 | '@esbuild/linux-arm@0.20.2': 100 | resolution: {integrity: sha512-VhLPeR8HTMPccbuWWcEUD1Az68TqaTYyj6nfE4QByZIQEQVWBB8vup8PpR7y1QHL3CpcF6xd5WVBU/+SBEvGTg==} 101 | engines: {node: '>=12'} 102 | cpu: [arm] 103 | os: [linux] 104 | 105 | '@esbuild/linux-ia32@0.20.2': 106 | resolution: {integrity: sha512-o10utieEkNPFDZFQm9CoP7Tvb33UutoJqg3qKf1PWVeeJhJw0Q347PxMvBgVVFgouYLGIhFYG0UGdBumROyiig==} 107 | engines: {node: '>=12'} 108 | cpu: [ia32] 109 | os: [linux] 110 | 111 | '@esbuild/linux-loong64@0.20.2': 112 | resolution: {integrity: sha512-PR7sp6R/UC4CFVomVINKJ80pMFlfDfMQMYynX7t1tNTeivQ6XdX5r2XovMmha/VjR1YN/HgHWsVcTRIMkymrgQ==} 113 | engines: {node: '>=12'} 114 | cpu: [loong64] 115 | os: [linux] 116 | 117 | '@esbuild/linux-mips64el@0.20.2': 118 | resolution: {integrity: sha512-4BlTqeutE/KnOiTG5Y6Sb/Hw6hsBOZapOVF6njAESHInhlQAghVVZL1ZpIctBOoTFbQyGW+LsVYZ8lSSB3wkjA==} 119 | engines: {node: '>=12'} 120 | cpu: [mips64el] 121 | os: [linux] 122 | 123 | '@esbuild/linux-ppc64@0.20.2': 124 | resolution: {integrity: sha512-rD3KsaDprDcfajSKdn25ooz5J5/fWBylaaXkuotBDGnMnDP1Uv5DLAN/45qfnf3JDYyJv/ytGHQaziHUdyzaAg==} 125 | engines: {node: '>=12'} 126 | cpu: [ppc64] 127 | os: [linux] 128 | 129 | '@esbuild/linux-riscv64@0.20.2': 130 | resolution: {integrity: sha512-snwmBKacKmwTMmhLlz/3aH1Q9T8v45bKYGE3j26TsaOVtjIag4wLfWSiZykXzXuE1kbCE+zJRmwp+ZbIHinnVg==} 131 | engines: {node: '>=12'} 132 | cpu: [riscv64] 133 | os: [linux] 134 | 135 | '@esbuild/linux-s390x@0.20.2': 136 | resolution: {integrity: sha512-wcWISOobRWNm3cezm5HOZcYz1sKoHLd8VL1dl309DiixxVFoFe/o8HnwuIwn6sXre88Nwj+VwZUvJf4AFxkyrQ==} 137 | engines: {node: '>=12'} 138 | cpu: [s390x] 139 | os: [linux] 140 | 141 | '@esbuild/linux-x64@0.20.2': 142 | resolution: {integrity: sha512-1MdwI6OOTsfQfek8sLwgyjOXAu+wKhLEoaOLTjbijk6E2WONYpH9ZU2mNtR+lZ2B4uwr+usqGuVfFT9tMtGvGw==} 143 | engines: {node: '>=12'} 144 | cpu: [x64] 145 | os: [linux] 146 | 147 | '@esbuild/netbsd-x64@0.20.2': 148 | resolution: {integrity: sha512-K8/DhBxcVQkzYc43yJXDSyjlFeHQJBiowJ0uVL6Tor3jGQfSGHNNJcWxNbOI8v5k82prYqzPuwkzHt3J1T1iZQ==} 149 | engines: {node: '>=12'} 150 | cpu: [x64] 151 | os: [netbsd] 152 | 153 | '@esbuild/openbsd-x64@0.20.2': 154 | resolution: {integrity: sha512-eMpKlV0SThJmmJgiVyN9jTPJ2VBPquf6Kt/nAoo6DgHAoN57K15ZghiHaMvqjCye/uU4X5u3YSMgVBI1h3vKrQ==} 155 | engines: {node: '>=12'} 156 | cpu: [x64] 157 | os: [openbsd] 158 | 159 | '@esbuild/sunos-x64@0.20.2': 160 | resolution: {integrity: sha512-2UyFtRC6cXLyejf/YEld4Hajo7UHILetzE1vsRcGL3earZEW77JxrFjH4Ez2qaTiEfMgAXxfAZCm1fvM/G/o8w==} 161 | engines: {node: '>=12'} 162 | cpu: [x64] 163 | os: [sunos] 164 | 165 | '@esbuild/win32-arm64@0.20.2': 166 | resolution: {integrity: sha512-GRibxoawM9ZCnDxnP3usoUDO9vUkpAxIIZ6GQI+IlVmr5kP3zUq+l17xELTHMWTWzjxa2guPNyrpq1GWmPvcGQ==} 167 | engines: {node: '>=12'} 168 | cpu: [arm64] 169 | os: [win32] 170 | 171 | '@esbuild/win32-ia32@0.20.2': 172 | resolution: {integrity: sha512-HfLOfn9YWmkSKRQqovpnITazdtquEW8/SoHW7pWpuEeguaZI4QnCRW6b+oZTztdBnZOS2hqJ6im/D5cPzBTTlQ==} 173 | engines: {node: '>=12'} 174 | cpu: [ia32] 175 | os: [win32] 176 | 177 | '@esbuild/win32-x64@0.20.2': 178 | resolution: {integrity: sha512-N49X4lJX27+l9jbLKSqZ6bKNjzQvHaT8IIFUy+YIqmXQdjYCToGWwOItDrfby14c78aDd5NHQl29xingXfCdLQ==} 179 | engines: {node: '>=12'} 180 | cpu: [x64] 181 | os: [win32] 182 | 183 | '@inquirer/checkbox@2.3.2': 184 | resolution: {integrity: sha512-lUXKA/5PhPBXz6SVDE+EbBmV3Wi3X77SPRet6Mc1pn6fSXAIivvu1OWpHDpVUxc+RiFflbrDjXUgLfCQeofrWg==} 185 | engines: {node: '>=18'} 186 | 187 | '@inquirer/confirm@3.1.6': 188 | resolution: {integrity: sha512-Mj4TU29g6Uy+37UtpA8UpEOI2icBfpCwSW1QDtfx60wRhUy90s/kHPif2OXSSvuwDQT1lhAYRWUfkNf9Tecxvg==} 189 | engines: {node: '>=18'} 190 | 191 | '@inquirer/core@8.1.0': 192 | resolution: {integrity: sha512-kfx0SU9nWgGe1f03ao/uXc85SFH1v2w3vQVH7QDGjKxdtJz+7vPitFtG++BTyJMYyYgH8MpXigutcXJeiQwVRw==} 193 | engines: {node: '>=18'} 194 | 195 | '@inquirer/editor@2.1.6': 196 | resolution: {integrity: sha512-CWmp6XhfQye6xwH6/XV1HGvY95rUfzw7EXyNDHzj5s5Qr1t/X3t6c7uRkfK7OD91y+sbSy7aL6MJv2bbNrMoew==} 197 | engines: {node: '>=18'} 198 | 199 | '@inquirer/expand@2.1.6': 200 | resolution: {integrity: sha512-mFW/vU6mSut0UjmvxPdLC81Sz+5b4t7sMZeF7RlHki1PJkZVZIQoT91MCvoJJN2S7lDqSAV/TxeYqF41RNkY2g==} 201 | engines: {node: '>=18'} 202 | 203 | '@inquirer/figures@1.0.1': 204 | resolution: {integrity: sha512-mtup3wVKia3ZwULPHcbs4Mor8Voi+iIXEWD7wCNbIO6lYR62oPCTQyrddi5OMYVXHzeCSoneZwJuS8sBvlEwDw==} 205 | engines: {node: '>=18'} 206 | 207 | '@inquirer/input@2.1.6': 208 | resolution: {integrity: sha512-M8bUFOlcn/kQcVYskl4kkB6dYrHtymJJ1S4nSg/khXT3W3l71u2qhSzfo6PdBG3jUe6ILJZ0gUh4Kef2uJ5pxw==} 209 | engines: {node: '>=18'} 210 | 211 | '@inquirer/password@2.1.6': 212 | resolution: {integrity: sha512-fkiTIijBRxotoMw0/ljA2BaSsz6PlGoiav9QyAjBXCZoyFsYoItstDKvJXbWwS9NrN42fXYvXn1ljBpldnJaeA==} 213 | engines: {node: '>=18'} 214 | 215 | '@inquirer/prompts@5.0.2': 216 | resolution: {integrity: sha512-3OC7tyqa5E1I5Isnua9xfV8TO7y/n5jnNhGLAG8BLBtCu4jCftDewSdfjFJR0ld77trqjPP2udLxv0RbggJn9w==} 217 | engines: {node: '>=18'} 218 | 219 | '@inquirer/rawlist@2.1.6': 220 | resolution: {integrity: sha512-xnGBfjatdUqyBMqHi1kHHBh4ggQGZz42vYH0kFdQDnOtx4Ouo7baqVZhBRuQfZTL8tAXuOYI9X6r6BXBl8cnqw==} 221 | engines: {node: '>=18'} 222 | 223 | '@inquirer/select@2.3.2': 224 | resolution: {integrity: sha512-VzLHVpaobBpI3o/CWSG2sCDqrjHZEYAfT1bowbR8Q72fEi0WfBO3Fnh595QqBit9kQhI1uJbVHaaovg1I7eE7Q==} 225 | engines: {node: '>=18'} 226 | 227 | '@inquirer/type@1.3.1': 228 | resolution: {integrity: sha512-Pe3PFccjPVJV1vtlfVvm9OnlbxqdnP5QcscFEFEnK5quChf1ufZtM0r8mR5ToWHMxZOh0s8o/qp9ANGRTo/DAw==} 229 | engines: {node: '>=18'} 230 | 231 | '@types/mute-stream@0.0.4': 232 | resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} 233 | 234 | '@types/node-fetch@2.6.11': 235 | resolution: {integrity: sha512-24xFj9R5+rfQJLRyM56qh+wnVSYhyXC2tkoBndtY0U+vubqNsYXGjufB2nn8Q6gt0LrARwL6UBtMCSVCwl4B1g==} 236 | 237 | '@types/node@18.19.31': 238 | resolution: {integrity: sha512-ArgCD39YpyyrtFKIqMDvjz79jto5fcI/SVUs2HwB+f0dAzq68yqOdyaSivLiLugSziTpNXLQrVb7RZFmdZzbhA==} 239 | 240 | '@types/node@20.12.8': 241 | resolution: {integrity: sha512-NU0rJLJnshZWdE/097cdCBbyW1h4hEg0xpovcoAQYHl8dnEyp/NAOiE45pvc+Bd1Dt+2r94v2eGFpQJ4R7g+2w==} 242 | 243 | '@types/wrap-ansi@3.0.0': 244 | resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} 245 | 246 | abort-controller@3.0.0: 247 | resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} 248 | engines: {node: '>=6.5'} 249 | 250 | agentkeepalive@4.5.0: 251 | resolution: {integrity: sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew==} 252 | engines: {node: '>= 8.0.0'} 253 | 254 | ansi-escapes@4.3.2: 255 | resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} 256 | engines: {node: '>=8'} 257 | 258 | ansi-regex@5.0.1: 259 | resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} 260 | engines: {node: '>=8'} 261 | 262 | ansi-regex@6.0.1: 263 | resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} 264 | engines: {node: '>=12'} 265 | 266 | ansi-styles@4.3.0: 267 | resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} 268 | engines: {node: '>=8'} 269 | 270 | arch@2.2.0: 271 | resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==} 272 | 273 | asynckit@0.4.0: 274 | resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} 275 | 276 | chalk@4.1.2: 277 | resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} 278 | engines: {node: '>=10'} 279 | 280 | chalk@5.3.0: 281 | resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} 282 | engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} 283 | 284 | chardet@0.7.0: 285 | resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} 286 | 287 | cli-cursor@4.0.0: 288 | resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} 289 | engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} 290 | 291 | cli-spinners@2.9.2: 292 | resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} 293 | engines: {node: '>=6'} 294 | 295 | cli-width@4.1.0: 296 | resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} 297 | engines: {node: '>= 12'} 298 | 299 | color-convert@2.0.1: 300 | resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} 301 | engines: {node: '>=7.0.0'} 302 | 303 | color-name@1.1.4: 304 | resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} 305 | 306 | combined-stream@1.0.8: 307 | resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} 308 | engines: {node: '>= 0.8'} 309 | 310 | commander@12.0.0: 311 | resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==} 312 | engines: {node: '>=18'} 313 | 314 | cross-spawn@7.0.3: 315 | resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} 316 | engines: {node: '>= 8'} 317 | 318 | delayed-stream@1.0.0: 319 | resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} 320 | engines: {node: '>=0.4.0'} 321 | 322 | emoji-regex@10.3.0: 323 | resolution: {integrity: sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==} 324 | 325 | emoji-regex@8.0.0: 326 | resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} 327 | 328 | encoding@0.1.13: 329 | resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} 330 | 331 | esbuild@0.20.2: 332 | resolution: {integrity: sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g==} 333 | engines: {node: '>=12'} 334 | hasBin: true 335 | 336 | event-target-shim@5.0.1: 337 | resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} 338 | engines: {node: '>=6'} 339 | 340 | execa@5.1.1: 341 | resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} 342 | engines: {node: '>=10'} 343 | 344 | external-editor@3.1.0: 345 | resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} 346 | engines: {node: '>=4'} 347 | 348 | form-data-encoder@1.7.2: 349 | resolution: {integrity: sha512-qfqtYan3rxrnCk1VYaA4H+Ms9xdpPqvLZa6xmMgFvhO32x7/3J/ExcTd6qpxM0vH2GdMI+poehyBZvqfMTto8A==} 350 | 351 | form-data@4.0.0: 352 | resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} 353 | engines: {node: '>= 6'} 354 | 355 | formdata-node@4.4.1: 356 | resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==} 357 | engines: {node: '>= 12.20'} 358 | 359 | get-east-asian-width@1.2.0: 360 | resolution: {integrity: sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==} 361 | engines: {node: '>=18'} 362 | 363 | get-stream@6.0.1: 364 | resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} 365 | engines: {node: '>=10'} 366 | 367 | has-flag@4.0.0: 368 | resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} 369 | engines: {node: '>=8'} 370 | 371 | human-signals@2.1.0: 372 | resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} 373 | engines: {node: '>=10.17.0'} 374 | 375 | humanize-ms@1.2.1: 376 | resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} 377 | 378 | iconv-lite@0.4.24: 379 | resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} 380 | engines: {node: '>=0.10.0'} 381 | 382 | iconv-lite@0.6.3: 383 | resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} 384 | engines: {node: '>=0.10.0'} 385 | 386 | is-docker@2.2.1: 387 | resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} 388 | engines: {node: '>=8'} 389 | hasBin: true 390 | 391 | is-fullwidth-code-point@3.0.0: 392 | resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} 393 | engines: {node: '>=8'} 394 | 395 | is-interactive@2.0.0: 396 | resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==} 397 | engines: {node: '>=12'} 398 | 399 | is-stream@2.0.1: 400 | resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} 401 | engines: {node: '>=8'} 402 | 403 | is-unicode-supported@1.3.0: 404 | resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==} 405 | engines: {node: '>=12'} 406 | 407 | is-unicode-supported@2.0.0: 408 | resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==} 409 | engines: {node: '>=18'} 410 | 411 | is-wsl@2.2.0: 412 | resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} 413 | engines: {node: '>=8'} 414 | 415 | isexe@2.0.0: 416 | resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} 417 | 418 | log-symbols@6.0.0: 419 | resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==} 420 | engines: {node: '>=18'} 421 | 422 | merge-stream@2.0.0: 423 | resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} 424 | 425 | mime-db@1.52.0: 426 | resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} 427 | engines: {node: '>= 0.6'} 428 | 429 | mime-types@2.1.35: 430 | resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} 431 | engines: {node: '>= 0.6'} 432 | 433 | mimic-fn@2.1.0: 434 | resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} 435 | engines: {node: '>=6'} 436 | 437 | ms@2.1.3: 438 | resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} 439 | 440 | mute-stream@1.0.0: 441 | resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} 442 | engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} 443 | 444 | node-clipboardy@1.0.3: 445 | resolution: {integrity: sha512-/ErAFOtWDNhZh38rrwlAo05Soxbht/rgWugLOt2Ds+NDpZ+2sPiGiwOmFWzV+65fUYjwi+EJfHByIJ4waTHbVg==} 446 | engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} 447 | 448 | node-domexception@1.0.0: 449 | resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} 450 | engines: {node: '>=10.5.0'} 451 | 452 | node-fetch@2.7.0: 453 | resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} 454 | engines: {node: 4.x || >=6.0.0} 455 | peerDependencies: 456 | encoding: ^0.1.0 457 | peerDependenciesMeta: 458 | encoding: 459 | optional: true 460 | 461 | npm-run-path@4.0.1: 462 | resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} 463 | engines: {node: '>=8'} 464 | 465 | onetime@5.1.2: 466 | resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} 467 | engines: {node: '>=6'} 468 | 469 | openai@4.40.1: 470 | resolution: {integrity: sha512-mS7LerF4fY1/we0aKGGwIWtosTJFLKuNbBWMBR/G1TAZUHoktAdod0dqIrlQvSD39uS6jNEEbT7jRsXmzfEPBw==} 471 | hasBin: true 472 | 473 | openpipe@0.12.0: 474 | resolution: {integrity: sha512-2enc+ih0K5sQ6Q9xBUHrLl0Ig/Ax2aPuaZ1UP0209qvcTCnhmx9+4K1Y1vIE5Bk8wNptB8cLOlXUN7CM6CuK7Q==} 475 | 476 | ora@8.0.1: 477 | resolution: {integrity: sha512-ANIvzobt1rls2BDny5fWZ3ZVKyD6nscLvfFRpQgfWsythlcsVUC9kL0zq6j2Z5z9wwp1kd7wpsD/T9qNPVLCaQ==} 478 | engines: {node: '>=18'} 479 | 480 | os-tmpdir@1.0.2: 481 | resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} 482 | engines: {node: '>=0.10.0'} 483 | 484 | path-key@3.1.1: 485 | resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} 486 | engines: {node: '>=8'} 487 | 488 | restore-cursor@4.0.0: 489 | resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} 490 | engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} 491 | 492 | safer-buffer@2.1.2: 493 | resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} 494 | 495 | shebang-command@2.0.0: 496 | resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} 497 | engines: {node: '>=8'} 498 | 499 | shebang-regex@3.0.0: 500 | resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} 501 | engines: {node: '>=8'} 502 | 503 | signal-exit@3.0.7: 504 | resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} 505 | 506 | signal-exit@4.1.0: 507 | resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} 508 | engines: {node: '>=14'} 509 | 510 | stdin-discarder@0.2.2: 511 | resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==} 512 | engines: {node: '>=18'} 513 | 514 | string-width@4.2.3: 515 | resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} 516 | engines: {node: '>=8'} 517 | 518 | string-width@7.1.0: 519 | resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} 520 | engines: {node: '>=18'} 521 | 522 | strip-ansi@6.0.1: 523 | resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} 524 | engines: {node: '>=8'} 525 | 526 | strip-ansi@7.1.0: 527 | resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} 528 | engines: {node: '>=12'} 529 | 530 | strip-final-newline@2.0.0: 531 | resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} 532 | engines: {node: '>=6'} 533 | 534 | supports-color@7.2.0: 535 | resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} 536 | engines: {node: '>=8'} 537 | 538 | tmp@0.0.33: 539 | resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} 540 | engines: {node: '>=0.6.0'} 541 | 542 | tr46@0.0.3: 543 | resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} 544 | 545 | type-fest@0.21.3: 546 | resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} 547 | engines: {node: '>=10'} 548 | 549 | typescript@5.4.5: 550 | resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} 551 | engines: {node: '>=14.17'} 552 | hasBin: true 553 | 554 | undici-types@5.26.5: 555 | resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} 556 | 557 | web-streams-polyfill@3.3.3: 558 | resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} 559 | engines: {node: '>= 8'} 560 | 561 | web-streams-polyfill@4.0.0-beta.3: 562 | resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==} 563 | engines: {node: '>= 14'} 564 | 565 | webidl-conversions@3.0.1: 566 | resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} 567 | 568 | whatwg-url@5.0.0: 569 | resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} 570 | 571 | which@2.0.2: 572 | resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} 573 | engines: {node: '>= 8'} 574 | hasBin: true 575 | 576 | wrap-ansi@6.2.0: 577 | resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} 578 | engines: {node: '>=8'} 579 | 580 | snapshots: 581 | 582 | '@anthropic-ai/sdk@0.20.8(encoding@0.1.13)': 583 | dependencies: 584 | '@types/node': 18.19.31 585 | '@types/node-fetch': 2.6.11 586 | abort-controller: 3.0.0 587 | agentkeepalive: 4.5.0 588 | form-data-encoder: 1.7.2 589 | formdata-node: 4.4.1 590 | node-fetch: 2.7.0(encoding@0.1.13) 591 | web-streams-polyfill: 3.3.3 592 | transitivePeerDependencies: 593 | - encoding 594 | 595 | '@esbuild/aix-ppc64@0.20.2': 596 | optional: true 597 | 598 | '@esbuild/android-arm64@0.20.2': 599 | optional: true 600 | 601 | '@esbuild/android-arm@0.20.2': 602 | optional: true 603 | 604 | '@esbuild/android-x64@0.20.2': 605 | optional: true 606 | 607 | '@esbuild/darwin-arm64@0.20.2': 608 | optional: true 609 | 610 | '@esbuild/darwin-x64@0.20.2': 611 | optional: true 612 | 613 | '@esbuild/freebsd-arm64@0.20.2': 614 | optional: true 615 | 616 | '@esbuild/freebsd-x64@0.20.2': 617 | optional: true 618 | 619 | '@esbuild/linux-arm64@0.20.2': 620 | optional: true 621 | 622 | '@esbuild/linux-arm@0.20.2': 623 | optional: true 624 | 625 | '@esbuild/linux-ia32@0.20.2': 626 | optional: true 627 | 628 | '@esbuild/linux-loong64@0.20.2': 629 | optional: true 630 | 631 | '@esbuild/linux-mips64el@0.20.2': 632 | optional: true 633 | 634 | '@esbuild/linux-ppc64@0.20.2': 635 | optional: true 636 | 637 | '@esbuild/linux-riscv64@0.20.2': 638 | optional: true 639 | 640 | '@esbuild/linux-s390x@0.20.2': 641 | optional: true 642 | 643 | '@esbuild/linux-x64@0.20.2': 644 | optional: true 645 | 646 | '@esbuild/netbsd-x64@0.20.2': 647 | optional: true 648 | 649 | '@esbuild/openbsd-x64@0.20.2': 650 | optional: true 651 | 652 | '@esbuild/sunos-x64@0.20.2': 653 | optional: true 654 | 655 | '@esbuild/win32-arm64@0.20.2': 656 | optional: true 657 | 658 | '@esbuild/win32-ia32@0.20.2': 659 | optional: true 660 | 661 | '@esbuild/win32-x64@0.20.2': 662 | optional: true 663 | 664 | '@inquirer/checkbox@2.3.2': 665 | dependencies: 666 | '@inquirer/core': 8.1.0 667 | '@inquirer/figures': 1.0.1 668 | '@inquirer/type': 1.3.1 669 | ansi-escapes: 4.3.2 670 | chalk: 4.1.2 671 | 672 | '@inquirer/confirm@3.1.6': 673 | dependencies: 674 | '@inquirer/core': 8.1.0 675 | '@inquirer/type': 1.3.1 676 | 677 | '@inquirer/core@8.1.0': 678 | dependencies: 679 | '@inquirer/figures': 1.0.1 680 | '@inquirer/type': 1.3.1 681 | '@types/mute-stream': 0.0.4 682 | '@types/node': 20.12.8 683 | '@types/wrap-ansi': 3.0.0 684 | ansi-escapes: 4.3.2 685 | chalk: 4.1.2 686 | cli-spinners: 2.9.2 687 | cli-width: 4.1.0 688 | mute-stream: 1.0.0 689 | signal-exit: 4.1.0 690 | strip-ansi: 6.0.1 691 | wrap-ansi: 6.2.0 692 | 693 | '@inquirer/editor@2.1.6': 694 | dependencies: 695 | '@inquirer/core': 8.1.0 696 | '@inquirer/type': 1.3.1 697 | external-editor: 3.1.0 698 | 699 | '@inquirer/expand@2.1.6': 700 | dependencies: 701 | '@inquirer/core': 8.1.0 702 | '@inquirer/type': 1.3.1 703 | chalk: 4.1.2 704 | 705 | '@inquirer/figures@1.0.1': {} 706 | 707 | '@inquirer/input@2.1.6': 708 | dependencies: 709 | '@inquirer/core': 8.1.0 710 | '@inquirer/type': 1.3.1 711 | 712 | '@inquirer/password@2.1.6': 713 | dependencies: 714 | '@inquirer/core': 8.1.0 715 | '@inquirer/type': 1.3.1 716 | ansi-escapes: 4.3.2 717 | 718 | '@inquirer/prompts@5.0.2': 719 | dependencies: 720 | '@inquirer/checkbox': 2.3.2 721 | '@inquirer/confirm': 3.1.6 722 | '@inquirer/editor': 2.1.6 723 | '@inquirer/expand': 2.1.6 724 | '@inquirer/input': 2.1.6 725 | '@inquirer/password': 2.1.6 726 | '@inquirer/rawlist': 2.1.6 727 | '@inquirer/select': 2.3.2 728 | 729 | '@inquirer/rawlist@2.1.6': 730 | dependencies: 731 | '@inquirer/core': 8.1.0 732 | '@inquirer/type': 1.3.1 733 | chalk: 4.1.2 734 | 735 | '@inquirer/select@2.3.2': 736 | dependencies: 737 | '@inquirer/core': 8.1.0 738 | '@inquirer/figures': 1.0.1 739 | '@inquirer/type': 1.3.1 740 | ansi-escapes: 4.3.2 741 | chalk: 4.1.2 742 | 743 | '@inquirer/type@1.3.1': {} 744 | 745 | '@types/mute-stream@0.0.4': 746 | dependencies: 747 | '@types/node': 20.12.8 748 | 749 | '@types/node-fetch@2.6.11': 750 | dependencies: 751 | '@types/node': 20.12.8 752 | form-data: 4.0.0 753 | 754 | '@types/node@18.19.31': 755 | dependencies: 756 | undici-types: 5.26.5 757 | 758 | '@types/node@20.12.8': 759 | dependencies: 760 | undici-types: 5.26.5 761 | 762 | '@types/wrap-ansi@3.0.0': {} 763 | 764 | abort-controller@3.0.0: 765 | dependencies: 766 | event-target-shim: 5.0.1 767 | 768 | agentkeepalive@4.5.0: 769 | dependencies: 770 | humanize-ms: 1.2.1 771 | 772 | ansi-escapes@4.3.2: 773 | dependencies: 774 | type-fest: 0.21.3 775 | 776 | ansi-regex@5.0.1: {} 777 | 778 | ansi-regex@6.0.1: {} 779 | 780 | ansi-styles@4.3.0: 781 | dependencies: 782 | color-convert: 2.0.1 783 | 784 | arch@2.2.0: {} 785 | 786 | asynckit@0.4.0: {} 787 | 788 | chalk@4.1.2: 789 | dependencies: 790 | ansi-styles: 4.3.0 791 | supports-color: 7.2.0 792 | 793 | chalk@5.3.0: {} 794 | 795 | chardet@0.7.0: {} 796 | 797 | cli-cursor@4.0.0: 798 | dependencies: 799 | restore-cursor: 4.0.0 800 | 801 | cli-spinners@2.9.2: {} 802 | 803 | cli-width@4.1.0: {} 804 | 805 | color-convert@2.0.1: 806 | dependencies: 807 | color-name: 1.1.4 808 | 809 | color-name@1.1.4: {} 810 | 811 | combined-stream@1.0.8: 812 | dependencies: 813 | delayed-stream: 1.0.0 814 | 815 | commander@12.0.0: {} 816 | 817 | cross-spawn@7.0.3: 818 | dependencies: 819 | path-key: 3.1.1 820 | shebang-command: 2.0.0 821 | which: 2.0.2 822 | 823 | delayed-stream@1.0.0: {} 824 | 825 | emoji-regex@10.3.0: {} 826 | 827 | emoji-regex@8.0.0: {} 828 | 829 | encoding@0.1.13: 830 | dependencies: 831 | iconv-lite: 0.6.3 832 | 833 | esbuild@0.20.2: 834 | optionalDependencies: 835 | '@esbuild/aix-ppc64': 0.20.2 836 | '@esbuild/android-arm': 0.20.2 837 | '@esbuild/android-arm64': 0.20.2 838 | '@esbuild/android-x64': 0.20.2 839 | '@esbuild/darwin-arm64': 0.20.2 840 | '@esbuild/darwin-x64': 0.20.2 841 | '@esbuild/freebsd-arm64': 0.20.2 842 | '@esbuild/freebsd-x64': 0.20.2 843 | '@esbuild/linux-arm': 0.20.2 844 | '@esbuild/linux-arm64': 0.20.2 845 | '@esbuild/linux-ia32': 0.20.2 846 | '@esbuild/linux-loong64': 0.20.2 847 | '@esbuild/linux-mips64el': 0.20.2 848 | '@esbuild/linux-ppc64': 0.20.2 849 | '@esbuild/linux-riscv64': 0.20.2 850 | '@esbuild/linux-s390x': 0.20.2 851 | '@esbuild/linux-x64': 0.20.2 852 | '@esbuild/netbsd-x64': 0.20.2 853 | '@esbuild/openbsd-x64': 0.20.2 854 | '@esbuild/sunos-x64': 0.20.2 855 | '@esbuild/win32-arm64': 0.20.2 856 | '@esbuild/win32-ia32': 0.20.2 857 | '@esbuild/win32-x64': 0.20.2 858 | 859 | event-target-shim@5.0.1: {} 860 | 861 | execa@5.1.1: 862 | dependencies: 863 | cross-spawn: 7.0.3 864 | get-stream: 6.0.1 865 | human-signals: 2.1.0 866 | is-stream: 2.0.1 867 | merge-stream: 2.0.0 868 | npm-run-path: 4.0.1 869 | onetime: 5.1.2 870 | signal-exit: 3.0.7 871 | strip-final-newline: 2.0.0 872 | 873 | external-editor@3.1.0: 874 | dependencies: 875 | chardet: 0.7.0 876 | iconv-lite: 0.4.24 877 | tmp: 0.0.33 878 | 879 | form-data-encoder@1.7.2: {} 880 | 881 | form-data@4.0.0: 882 | dependencies: 883 | asynckit: 0.4.0 884 | combined-stream: 1.0.8 885 | mime-types: 2.1.35 886 | 887 | formdata-node@4.4.1: 888 | dependencies: 889 | node-domexception: 1.0.0 890 | web-streams-polyfill: 4.0.0-beta.3 891 | 892 | get-east-asian-width@1.2.0: {} 893 | 894 | get-stream@6.0.1: {} 895 | 896 | has-flag@4.0.0: {} 897 | 898 | human-signals@2.1.0: {} 899 | 900 | humanize-ms@1.2.1: 901 | dependencies: 902 | ms: 2.1.3 903 | 904 | iconv-lite@0.4.24: 905 | dependencies: 906 | safer-buffer: 2.1.2 907 | 908 | iconv-lite@0.6.3: 909 | dependencies: 910 | safer-buffer: 2.1.2 911 | 912 | is-docker@2.2.1: {} 913 | 914 | is-fullwidth-code-point@3.0.0: {} 915 | 916 | is-interactive@2.0.0: {} 917 | 918 | is-stream@2.0.1: {} 919 | 920 | is-unicode-supported@1.3.0: {} 921 | 922 | is-unicode-supported@2.0.0: {} 923 | 924 | is-wsl@2.2.0: 925 | dependencies: 926 | is-docker: 2.2.1 927 | 928 | isexe@2.0.0: {} 929 | 930 | log-symbols@6.0.0: 931 | dependencies: 932 | chalk: 5.3.0 933 | is-unicode-supported: 1.3.0 934 | 935 | merge-stream@2.0.0: {} 936 | 937 | mime-db@1.52.0: {} 938 | 939 | mime-types@2.1.35: 940 | dependencies: 941 | mime-db: 1.52.0 942 | 943 | mimic-fn@2.1.0: {} 944 | 945 | ms@2.1.3: {} 946 | 947 | mute-stream@1.0.0: {} 948 | 949 | node-clipboardy@1.0.3: 950 | dependencies: 951 | arch: 2.2.0 952 | execa: 5.1.1 953 | is-wsl: 2.2.0 954 | 955 | node-domexception@1.0.0: {} 956 | 957 | node-fetch@2.7.0(encoding@0.1.13): 958 | dependencies: 959 | whatwg-url: 5.0.0 960 | optionalDependencies: 961 | encoding: 0.1.13 962 | 963 | npm-run-path@4.0.1: 964 | dependencies: 965 | path-key: 3.1.1 966 | 967 | onetime@5.1.2: 968 | dependencies: 969 | mimic-fn: 2.1.0 970 | 971 | openai@4.40.1(encoding@0.1.13): 972 | dependencies: 973 | '@types/node': 18.19.31 974 | '@types/node-fetch': 2.6.11 975 | abort-controller: 3.0.0 976 | agentkeepalive: 4.5.0 977 | form-data-encoder: 1.7.2 978 | formdata-node: 4.4.1 979 | node-fetch: 2.7.0(encoding@0.1.13) 980 | web-streams-polyfill: 3.3.3 981 | transitivePeerDependencies: 982 | - encoding 983 | 984 | openpipe@0.12.0: 985 | dependencies: 986 | '@anthropic-ai/sdk': 0.20.8(encoding@0.1.13) 987 | encoding: 0.1.13 988 | form-data: 4.0.0 989 | node-fetch: 2.7.0(encoding@0.1.13) 990 | openai: 4.40.1(encoding@0.1.13) 991 | 992 | ora@8.0.1: 993 | dependencies: 994 | chalk: 5.3.0 995 | cli-cursor: 4.0.0 996 | cli-spinners: 2.9.2 997 | is-interactive: 2.0.0 998 | is-unicode-supported: 2.0.0 999 | log-symbols: 6.0.0 1000 | stdin-discarder: 0.2.2 1001 | string-width: 7.1.0 1002 | strip-ansi: 7.1.0 1003 | 1004 | os-tmpdir@1.0.2: {} 1005 | 1006 | path-key@3.1.1: {} 1007 | 1008 | restore-cursor@4.0.0: 1009 | dependencies: 1010 | onetime: 5.1.2 1011 | signal-exit: 3.0.7 1012 | 1013 | safer-buffer@2.1.2: {} 1014 | 1015 | shebang-command@2.0.0: 1016 | dependencies: 1017 | shebang-regex: 3.0.0 1018 | 1019 | shebang-regex@3.0.0: {} 1020 | 1021 | signal-exit@3.0.7: {} 1022 | 1023 | signal-exit@4.1.0: {} 1024 | 1025 | stdin-discarder@0.2.2: {} 1026 | 1027 | string-width@4.2.3: 1028 | dependencies: 1029 | emoji-regex: 8.0.0 1030 | is-fullwidth-code-point: 3.0.0 1031 | strip-ansi: 6.0.1 1032 | 1033 | string-width@7.1.0: 1034 | dependencies: 1035 | emoji-regex: 10.3.0 1036 | get-east-asian-width: 1.2.0 1037 | strip-ansi: 7.1.0 1038 | 1039 | strip-ansi@6.0.1: 1040 | dependencies: 1041 | ansi-regex: 5.0.1 1042 | 1043 | strip-ansi@7.1.0: 1044 | dependencies: 1045 | ansi-regex: 6.0.1 1046 | 1047 | strip-final-newline@2.0.0: {} 1048 | 1049 | supports-color@7.2.0: 1050 | dependencies: 1051 | has-flag: 4.0.0 1052 | 1053 | tmp@0.0.33: 1054 | dependencies: 1055 | os-tmpdir: 1.0.2 1056 | 1057 | tr46@0.0.3: {} 1058 | 1059 | type-fest@0.21.3: {} 1060 | 1061 | typescript@5.4.5: {} 1062 | 1063 | undici-types@5.26.5: {} 1064 | 1065 | web-streams-polyfill@3.3.3: {} 1066 | 1067 | web-streams-polyfill@4.0.0-beta.3: {} 1068 | 1069 | webidl-conversions@3.0.1: {} 1070 | 1071 | whatwg-url@5.0.0: 1072 | dependencies: 1073 | tr46: 0.0.3 1074 | webidl-conversions: 3.0.1 1075 | 1076 | which@2.0.2: 1077 | dependencies: 1078 | isexe: 2.0.0 1079 | 1080 | wrap-ansi@6.2.0: 1081 | dependencies: 1082 | ansi-styles: 4.3.0 1083 | string-width: 4.2.3 1084 | strip-ansi: 6.0.1 1085 | --------------------------------------------------------------------------------