Commit Graph

8 Commits

Author SHA1 Message Date
Innei
441bc8ae3b chore(deps): update dependencies and ESLint configuration
- Changed pnpm setting in eslint.config.mjs from true to false.
- Updated various dependencies in package.json to specific versions for better stability and compatibility.
- Removed optionalDependencies from package.json to streamline the dependency management.
- Refactored ai-agent.service.ts to replace ToolInterface with DynamicStructuredTool for improved type safety.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-14 23:23:10 +08:00
Innei
7229ccfb86 refactor: ai agent to langgraph
- Added @langchain/langgraph version 0.2.68 to package.json and pnpm-lock.yaml.
- Updated ai-deep-reading.service.ts to utilize createReactAgent from @langchain/langgraph for improved agent functionality.
- Enhanced error handling for GraphRecursionError in AiDeepReadingService.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 01:05:20 +08:00
Innei
e64acfa14b chore(deps): update @sxzz/eslint-config and related dependencies
- Upgraded @sxzz/eslint-config from version 6.1.1 to 7.0.0 in both pnpm-lock.yaml and pnpm-workspace.yaml.
- Updated various dependencies in pnpm-lock.yaml to ensure compatibility with the new eslint configuration.
- Added RedisMemoryServer to the test setup for improved testing capabilities alongside MongoDB.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-08 00:41:42 +08:00
Innei
c657e9a80a feat(ci): add custom action for MongoDB and Redis setup
- Introduced a new GitHub Action to streamline the setup of MongoDB and Redis for testing environments.
- Updated CI workflows to utilize the new action, replacing direct MongoDB and Redis setup steps for improved maintainability.
- Added `mongodb-memory-server` and `redis-memory-server` as dependencies in the project.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-06 00:52:50 +08:00
Innei
423cc7de14 chore(deps): update package dependencies to use catalog references
- Updated `package.json` and `pnpm-lock.yaml` to replace specific version references with catalog entries for various dependencies, including `@types/cors`, `@types/express`, `abort-controller`, `axios`, `camelcase-keys`, `cors`, `express`, `form-data`, `lodash`, `tsup`, `umi-request`, and `vite`.
- Removed obsolete conflict catalog for `@types/node`.
- Adjusted `pnpm-workspace.yaml` to reflect the new catalog structure for dependencies.

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-06 00:36:30 +08:00
Innei
46704d2498 feat: update ai integration (#2422)
* init

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update package dependencies and remove unused code

- Updated package manager version in package.json to pnpm@10.10.0.
- Removed references to `@modelcontextprotocol/sdk` from core application files.
- Deleted unused `mcp.controller.ts` and cleaned up related imports in `mcp.module.ts`.
- Adjusted optional dependencies in pnpm-lock.yaml.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update AI summary and writer services to use new tools parser

- Replaced `JsonOutputFunctionsParser` with `JsonOutputToolsParser` in both `ai-summary.service.ts` and `ai-writer.service.ts`.
- Updated function definitions to align with the new tools structure, including changes to how functions are defined and invoked.
- Enhanced error handling to return empty objects when no results are found.

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-05 20:50:52 +08:00
Innei
ffdc153a3d refactor: monorepo structure (#1082) 2023-06-04 14:42:20 +08:00
Innei
a281f45ab4 feat: move api-client as core's monorepo
Signed-off-by: Innei <tukon479@gmail.com>
2022-12-20 21:26:21 +08:00