* 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>
- Update dedup.ts and error-analyzer.ts to use TokenTracker class import
- Add optional tracker parameter for dependency injection
- Match evaluator.ts pattern for token tracking
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Han Xiao <han.xiao@jina.ai>
* feat: enhance stream with step info and add task endpoint
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* fix: resolve typescript errors in budget handling
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* feat: emit thisStep object during execution
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>
* feat: add web server wrapper for getResponse
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* chore: update package-lock.json
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* fix: add proper types to Express route handlers
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* refactor: update API endpoint path and request parameters
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* refactor: centralize model configurations with per-tool settings
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
* refactor: update agent.ts to use centralized model configuration
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>