mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2025-12-25 22:16:49 +08:00
* refactor: centralize token tracking and clean up console output - Remove manual token tracking in agent.ts - Track tokens through tokenTracker.trackUsage() - Clean up verbose console output - Add ESLint configuration - Fix TypeScript linting issues Co-Authored-By: Han Xiao <han.xiao@jina.ai> * refactor: simplify sleep function and use console.log consistently Co-Authored-By: Han Xiao <han.xiao@jina.ai> * refactor: remove color modifiers from console.log statements 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>
32 lines
788 B
JSON
32 lines
788 B
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"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@google/generative-ai": "^0.21.0",
|
|
"dotenv": "^16.4.7",
|
|
"duck-duck-scrape": "^2.2.7",
|
|
"undici": "^7.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.10.10",
|
|
"@typescript-eslint/eslint-plugin": "^7.0.1",
|
|
"@typescript-eslint/parser": "^7.0.1",
|
|
"eslint": "^8.56.0",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|