99 Commits

Author SHA1 Message Date
Han Xiao
94faae18a2 chore: first commit 2025-02-05 10:33:06 +08:00
Han Xiao
0dd06c1057 chore: first commit 2025-02-05 10:10:30 +08:00
Han Xiao
a83bff0feb chore: first commit 2025-02-04 23:02:17 +08:00
Han Xiao
f8bb0b4c1a chore: first commit 2025-02-04 22:24:32 +08:00
Han Xiao
a032a71701 chore: first commit 2025-02-04 22:23:08 +08:00
Han Xiao
89732fcb57 chore: first commit 2025-02-04 22:19:24 +08:00
Han Xiao
0698382360 chore: first commit 2025-02-04 22:13:27 +08:00
Han Xiao
b2d385ad94 chore: first commit 2025-02-04 22:01:06 +08:00
Han Xiao
76b73e37e6 chore: first commit 2025-02-04 21:50:59 +08:00
Han Xiao
b4fe6ae0db chore: first commit 2025-02-04 21:47:27 +08:00
Han Xiao
4f1ed24ecb chore: first commit 2025-02-04 20:53:52 +08:00
devin-ai-integration[bot]
76f8cd242a
feat: merge types and add tests (#10)
* 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>
2025-02-03 18:01:59 +08:00
Han Xiao
bd8e9ff1d4 Merge branch 'main' of https://github.com/jina-ai/node-agentic-search
# Conflicts:
#	README.md
2025-02-03 17:29:54 +08:00
Han Xiao
2bcd06abd2 chore: first commit 2025-02-03 17:29:27 +08:00
Han Xiao
2e83ae11ae chore: first commit 2025-02-03 16:30:04 +08:00
Han Xiao
9508eb3c7c
Update README.md 2025-02-03 13:35:04 +08:00
Han Xiao
3bda3984a4
Update README.md 2025-02-03 13:27:27 +08:00
Han Xiao
090e61591d chore: first commit 2025-02-03 13:17:52 +08:00
Han Xiao
289fe90f63 chore: first commit 2025-02-03 13:02:30 +08:00
Han Xiao
438aaf0579 chore: first commit 2025-02-03 12:42:20 +08:00
Han Xiao
1275870f95
Update README.md 2025-02-03 11:41:29 +08:00
Han Xiao
51f397dae8
Update README.md 2025-02-03 11:28:54 +08:00
Han Xiao
e9f7691df7
Update README.md 2025-02-03 11:27:56 +08:00
Han Xiao
2de8f09461
Update README.md 2025-02-03 11:27:26 +08:00
Han Xiao
164f945240
chore: add example gif 2025-02-03 11:25:30 +08:00
Han Xiao
0ef052296d
Create LICENSE 2025-02-03 11:04:20 +08:00
Han Xiao
e4dc9be5c7
Update README.md 2025-02-03 11:03:21 +08:00
Han Xiao
1b1f209eab
Update README.md 2025-02-03 10:58:14 +08:00
Han Xiao
504edc7266
Update README.md 2025-02-03 10:57:42 +08:00
Han Xiao
1039a3f827 chore: first commit 2025-02-02 23:41:59 +08:00
devin-ai-integration[bot]
48f8565291
fix: standardize TokenTracker imports and usage pattern (#9)
- 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>
2025-02-02 23:33:08 +08:00
devin-ai-integration[bot]
5be008e8b9
feat: add action tracker and reset token tracker (#8)
* feat: add action tracker and reset token tracker

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* refactor: make trackers request-scoped

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>
2025-02-02 23:25:54 +08:00
Han Xiao
3f032bbdcc chore: first commit 2025-02-02 22:57:10 +08:00
Han Xiao
20f5a94e88 Merge branch 'main' of https://github.com/jina-ai/node-agentic-search 2025-02-02 22:42:18 +08:00
Han Xiao
be5548f5da chore: first commit 2025-02-02 22:41:53 +08:00
devin-ai-integration[bot]
533c91714d
feat: enhance stream with step info and add task endpoint (#7)
* 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>
2025-02-02 22:41:42 +08:00
Han Xiao
d38944f976
Update README.md 2025-02-02 22:09:16 +08:00
Han Xiao
bbba3252bc
Update README.md 2025-02-02 22:08:42 +08:00
devin-ai-integration[bot]
ca0f780cc3
feat: add web server wrapper for getResponse (#6)
* 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>
2025-02-02 22:07:43 +08:00
Han Xiao
46cd8337b7 chore: first commit 2025-02-02 21:03:34 +08:00
Han Xiao
cbd7445806 chore: first commit 2025-02-02 21:02:29 +08:00
devin-ai-integration[bot]
c793cb9bbc
refactor: consolidate type definitions into types.ts (#5)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Han Xiao <han.xiao@jina.ai>
2025-02-02 20:53:28 +08:00
Han Xiao
c984e78ac2 chore: first commit 2025-02-02 20:40:45 +08:00
Han Xiao
cd7b9a6095 chore: first commit 2025-02-02 20:16:18 +08:00
Han Xiao
8fb4f8dbb6 chore: first commit 2025-02-02 19:33:16 +08:00
Han Xiao
d063ad5f53 chore: first commit 2025-02-02 18:53:06 +08:00
Han Xiao
8c8484593f chore: first commit 2025-02-02 18:47:29 +08:00
Han Xiao
f1b4d2681e chore: first commit 2025-02-02 18:24:07 +08:00
Han Xiao
a84387c1f7 chore: first commit 2025-02-02 17:57:35 +08:00
Han Xiao
193d982ed9 chore: first commit 2025-02-02 17:14:28 +08:00