@convex-dev/agent
Version:
A agent component for Convex.
152 lines (151 loc) • 5.03 kB
JSON
{
"name": "@convex-dev/agent",
"description": "A agent component for Convex.",
"repository": "github:get-convex/agent",
"homepage": "https://github.com/get-convex/agent#readme",
"bugs": {
"email": "support@convex.dev",
"url": "https://github.com/get-convex/agent/issues"
},
"version": "0.6.4",
"license": "Apache-2.0",
"keywords": [
"convex",
"ai",
"agent",
"component"
],
"type": "module",
"scripts": {
"setup": "node setup.cjs --init",
"dev": "convex dev --start 'npm run dev:build'",
"dev:frontend": "cd example && vite --clearScreen false",
"dev:build": "chokidar 'tsconfig*.json' 'src/**/*.ts' -i '**/*.test.ts' -c 'npm run build:codegen' --initial",
"predev": "convex init && npm run build:codegen",
"build": "tsc --project ./tsconfig.build.json",
"build:codegen": "npx convex codegen --component-dir ./src/component && npm run build",
"build:clean": "rm -rf dist *.tsbuildinfo && npm run build:codegen",
"typecheck": "tsc --noEmit && tsc -p example && tsc -p example/convex",
"lint": "eslint .",
"test": "vitest run --typecheck",
"test:watch": "vitest --typecheck --clearScreen false",
"test:debug": "vitest --inspect-brk --no-file-parallelism",
"test:coverage": "vitest run --coverage --coverage.reporter=text",
"preversion": "npm ci && npm run build:clean && npm run test && npm run lint && npm run typecheck",
"alpha": "npm version prerelease --preid alpha && npm publish --tag alpha && git push --follow-tags",
"release": "npm version patch && npm publish && git push --follow-tags",
"version": "(npm whoami || npm login) && vim -c 'normal o' -c 'normal o## '$npm_package_version CHANGELOG.md && prettier -w CHANGELOG.md && git add CHANGELOG.md"
},
"files": [
"dist",
"src",
"MIGRATION.md"
],
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./validators": {
"types": "./dist/validators.d.ts",
"default": "./dist/validators.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"default": "./dist/react/index.js"
},
"./test": "./src/test.ts",
"./_generated/component.js": {
"types": "./dist/component/_generated/component.d.ts"
},
"./convex.config": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
},
"./convex.config.js": {
"types": "./dist/component/convex.config.d.ts",
"default": "./dist/component/convex.config.js"
}
},
"peerDependencies": {
"@ai-sdk/provider-utils": "^4.0.6",
"ai": "^6.0.35",
"convex": "^1.24.8",
"convex-helpers": "^0.1.103",
"react": "^18.3.1 || ^19.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"devDependencies": {
"@ai-sdk/anthropic": "3.0.13",
"@ai-sdk/google": "3.0.30",
"@ai-sdk/groq": "3.0.8",
"@ai-sdk/openai": "3.0.10",
"@ai-sdk/provider": "3.0.3",
"@ai-sdk/provider-utils": "4.0.6",
"@convex-dev/eslint-plugin": "^2.0.0",
"@convex-dev/rag": "0.7.5",
"@convex-dev/rate-limiter": "0.3.2",
"@convex-dev/workflow": "0.4.3",
"@edge-runtime/vm": "5.0.0",
"@eslint/js": "9.39.4",
"@hookform/resolvers": "5.2.2",
"@langchain/textsplitters": "1.0.1",
"@radix-ui/react-accordion": "1.2.12",
"@radix-ui/react-checkbox": "1.3.3",
"@radix-ui/react-label": "2.1.8",
"@radix-ui/react-select": "2.2.6",
"@radix-ui/react-slot": "1.2.4",
"@radix-ui/react-toast": "1.2.15",
"@tailwindcss/typography": "0.5.19",
"@types/node": "20.19.37",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "4.7.0",
"ai": "6.0.35",
"autoprefixer": "10.4.27",
"chokidar-cli": "3.0.0",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"convex": "1.39.1",
"convex-helpers": "0.1.114",
"convex-test": "0.0.53",
"dayjs": "1.11.20",
"dotenv": "16.6.1",
"eslint": "9.39.4",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "6.1.1",
"eslint-plugin-react-refresh": "0.5.2",
"globals": "16.5.0",
"lucide-react": "0.577.0",
"ollama-ai-provider": "1.2.0",
"openai": "5.23.2",
"pkg-pr-new": "0.0.66",
"postcss": "8.5.10",
"prettier": "3.8.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-hook-form": "7.71.2",
"react-markdown": "10.1.0",
"react-router-dom": "7.13.1",
"readline": "1.3.0",
"tailwind-merge": "3.5.0",
"tailwindcss": "3.4.19",
"tailwindcss-animate": "1.0.7",
"typescript": "5.9.3",
"typescript-eslint": "8.57.1",
"vite": "6.4.2",
"vitest": "4.1.0",
"zod": "3.25.76"
},
"types": "./dist/client/index.d.ts",
"module": "./dist/client/index.js",
"optionalDependencies": {
"@ungap/structured-clone": "^1.3.0"
}
}