{
  "name": "genaiscript",
  "version": "1.127.0",
  "main": "built/genaiscript.cjs",
  "type": "commonjs",
  "bin": {
    "genaiscript": "built/genaiscript.cjs"
  },
  "exports": {
    ".": "./built/genaiscript.cjs",
    "./api": "./built/api.mjs",
    "./runtime": {
      "types": "./built/runtime.d.ts",
      "import": "./built/runtime.mjs"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "built/api.mjs",
    "built/runtime.mjs",
    "built/runtime.d.ts",
    "built/genaiscript.cjs",
    "built/web.mjs",
    "built/index.html",
    "built/markdown.css",
    "built/codicon.css",
    "built/codicon.ttf",
    "built/favicon.svg",
    "genaisrc/*.genai.mts",
    "genaisrc/genaiscript.d.ts",
    "genaisrc/tsconfig.json"
  ],
  "publisher": "Microsoft",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/microsoft/genaiscript.git"
  },
  "homepage": "https://microsoft.github.io/genaiscript",
  "keywords": [
    "genai",
    "ai",
    "agentic",
    "agent",
    "cli",
    "prompt",
    "llm",
    "generative ai",
    "gpt4",
    "chatgpt",
    "ollama",
    "llamacpp",
    "chatgpt"
  ],
  "description": "A CLI for GenAIScript, a generative AI scripting framework.",
  "license": "MIT",
  "dependencies": {
    "@anthropic-ai/bedrock-sdk": "^0.12.4",
    "@anthropic-ai/sdk": "^0.39.0",
    "@azure/identity": "^4.8.0",
    "@azure/search-documents": "^12.1.0",
    "@inquirer/prompts": "^7.4.1",
    "@modelcontextprotocol/sdk": "^1.9.0",
    "@octokit/plugin-paginate-rest": "^11.6.0",
    "@octokit/plugin-retry": "^7.2.0",
    "@octokit/plugin-throttling": "^9.6.0",
    "@octokit/rest": "^21.1.1",
    "debug": "^4.4.0",
    "dockerode": "^4.0.5",
    "es-toolkit": "^1.34.1",
    "file-type": "^20.4.0",
    "fluent-ffmpeg": "^2.1.3",
    "gpt-tokenizer": "^2.9.0",
    "html-to-text": "^9.0.5",
    "jimp": "^1.6.0",
    "mammoth": "^1.9.0",
    "mathjs": "^14.4.0",
    "pyodide": "^0.27.5",
    "supports-color": "^10.0.0",
    "tabletojson": "^4.1.5",
    "toml": "^3.0.0",
    "tsx": "^4.19.3",
    "turndown": "^7.2.0",
    "turndown-plugin-gfm": "^1.0.2",
    "typescript": "5.8.3",
    "vectra": "^0.9.0",
    "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
    "zod": "^3.24.2",
    "zod-to-json-schema": "^3.24.5"
  },
  "optionalDependencies": {
    "@ast-grep/lang-c": "^0.0.1",
    "@ast-grep/lang-cpp": "^0.0.1",
    "@ast-grep/lang-csharp": "^0.0.1",
    "@ast-grep/lang-python": "^0.0.1",
    "@ast-grep/napi": "^0.36.2",
    "@huggingface/transformers": "3.4.0",
    "@lvce-editor/ripgrep": "^1.6.0",
    "node-sarif-builder": "^3.2.0",
    "pdfjs-dist": "4.10.38",
    "playwright": "^1.51.1",
    "skia-canvas": "^2.0.2",
    "tree-sitter-wasms": "^0.1.11",
    "web-tree-sitter": "0.22.2",
    "z3-solver": "^4.14.1"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "peerDependencies": {
    "promptfoo": "0.107.1"
  },
  "devDependencies": {
    "@types/diff": "^6.0.0",
    "@types/dockerode": "^3.3.35",
    "@types/fs-extra": "^11.0.4",
    "@types/memorystream": "^0.3.4",
    "@types/node": "^22.13.14",
    "@types/papaparse": "^5.3.15",
    "@types/prompts": "^2.4.9",
    "@types/replace-ext": "^2.0.2",
    "@types/ws": "^8.5.14",
    "chokidar": "^4.0.3",
    "ci-info": "^4.2.0",
    "commander": "^12.1.0",
    "diff": "^7.0.0",
    "dotenv": "^16.4.7",
    "es-toolkit": "^1.34.1",
    "esbuild": "^0.25.2",
    "execa": "^9.5.2",
    "fs-extra": "^11.3.0",
    "glob": "^11.0.1",
    "memorystream": "^0.3.1",
    "octokit": "^4.1.2",
    "openai": "^4.93.0",
    "pretty-bytes": "^6.1.1",
    "replace-ext": "^2.0.0",
    "ws": "^8.18.1",
    "zx": "^8.5.2"
  },
  "scripts": {
    "compile:runtime:declarations": "tsc src/runtime.ts --skipLibCheck --outDir built --declaration --target es2020 --moduleResolution node --module esnext --emitDeclarationOnly",
    "compile:runtime:code": "tsc src/runtime.ts --skipLibCheck --outDir built --target es2020 --moduleResolution node --module esnext --removeComments true",
    "compile:runtime": "yarn compile:runtime:declarations && yarn compile:runtime:code && mv built/runtime.js built/runtime.mjs",
    "compile:api": "esbuild src/api.ts --outfile=built/api.mjs",
    "compile:cli": "node build.mjs",
    "fix": "node built/genaiscript.cjs scripts fix",
    "compile": "yarn compile:api && yarn compile:runtime && yarn compile:cli",
    "postcompile": "node built/genaiscript.cjs info help > ../../docs/src/content/docs/reference/cli/commands.md",
    "vis:treemap": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.treemap.html",
    "vis:network": "npx --yes esbuild-visualizer --metadata esbuild.meta.json --filename esbuild.network.html --template network",
    "go": "yarn compile && node built/genaiscript.cjs",
    "test": "node --import tsx --test src/**.test.ts",
    "typecheck": "tsc -p src",
    "lint": "npx --yes publint@0.2.12",
    "serve": "node --watch --watch-path=./built built/genaiscript.cjs serve"
  }
}
