mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-25 22:16:49 +08:00
* feat: merge types and add tests - Merged types.ts and tracker.ts - Added Jest configuration and setup - Added comprehensive tests for tools and agent - Updated package.json with test scripts Co-Authored-By: Han Xiao <han.xiao@jina.ai> * chore: remove tracker.ts after merging into types.ts Co-Authored-By: Han Xiao <han.xiao@jina.ai> * fix: remove sensitive API keys from jest.setup.js Co-Authored-By: Han Xiao <han.xiao@jina.ai> * fix: improve error handling and test timeouts Co-Authored-By: Han Xiao <han.xiao@jina.ai> * feat: add token budget enforcement to TokenTracker Co-Authored-By: Han Xiao <han.xiao@jina.ai> * feat: add github actions workflow for CI and fix remaining issues Co-Authored-By: Han Xiao <han.xiao@jina.ai> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Han Xiao <han.xiao@jina.ai>
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"name": "agentic-search",
|
|
"version": "1.0.0",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "npx ts-node src/agent.ts",
|
|
"search": "npx ts-node src/test-duck.ts",
|
|
"rewrite": "npx ts-node src/tools/query-rewriter.ts",
|
|
"lint": "eslint . --ext .ts",
|
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
"serve": "ts-node src/server.ts",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@google/generative-ai": "^0.21.0",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^5.0.0",
|
|
"@types/node-fetch": "^2.6.12",
|
|
"axios": "^1.7.9",
|
|
"cors": "^2.8.5",
|
|
"duck-duck-scrape": "^2.2.7",
|
|
"express": "^4.21.2",
|
|
"node-fetch": "^3.3.2",
|
|
"undici": "^7.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^29.5.14",
|
|
"@types/node": "^22.10.10",
|
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
"@typescript-eslint/parser": "^7.0.1",
|
|
"dotenv": "^16.4.7",
|
|
"eslint": "^8.56.0",
|
|
"jest": "^29.7.0",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|