Files
ai-terminal-assistant/package.json
T
kurihada 3c922fe16c feat: 添加 web_search 工具和权限管控
- 新增 web_search 工具,使用 Tavily SDK 进行网络搜索
- 支持搜索深度(basic/advanced)和主题(general/news/finance)配置
- 新增 WebPermissionChecker 权限检查器
- 搜索操作默认需要用户确认,支持会话级权限记忆
- 配置文件支持 tavilyApiKey 存储
2025-12-11 01:32:32 +08:00

46 lines
1.1 KiB
JSON

{
"name": "ai-terminal-assistant",
"version": "1.0.0",
"description": "A terminal-based AI coding assistant powered by Claude",
"main": "dist/index.js",
"bin": {
"ai-assist": "./dist/index.js"
},
"type": "module",
"scripts": {
"build": "tsc && cp -r src/tools/descriptions/*.txt dist/tools/descriptions/",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"lint": "eslint src/**/*.ts"
},
"keywords": [
"ai",
"cli",
"assistant",
"claude",
"terminal"
],
"author": "",
"license": "MIT",
"dependencies": {
"@ai-sdk/anthropic": "^2.0.54",
"@ai-sdk/deepseek": "^1.0.31",
"@tavily/core": "^0.6.0",
"ai": "^5.0.108",
"chalk": "^5.3.0",
"commander": "^12.1.0",
"inquirer": "^12.0.0",
"ora": "^8.1.0",
"tree-sitter-bash": "^0.25.1",
"vscode-jsonrpc": "^8.2.1",
"vscode-languageserver-protocol": "^3.17.5",
"web-tree-sitter": "^0.25.10",
"zod": "^4.1.13"
},
"devDependencies": {
"@types/node": "^22.0.0",
"tsx": "^4.19.0",
"typescript": "^5.6.0"
}
}