Commit graph

30 commits

Author SHA1 Message Date
lin onetwo
be4e3d88f3 lint: ai auto fix 2025-10-02 17:32:41 +08:00
lin onetwo
1c6a61f4b0 feat: getAgentDefinitionTemplatesFromWikis 2025-09-21 01:01:28 +08:00
lin onetwo
f172a2a076 feat: create new agent 2025-09-20 17:37:21 +08:00
lin onetwo
135436646b fix: APIs doesn't accept 'tool' role, and it won't return anything when API calls 2025-09-15 01:06:40 +08:00
lin onetwo
a398c600cb feat: tool message & wiki tool schema 2025-09-12 02:23:29 +08:00
lin onetwo
bb9f73c84c test: embedding service and let db use real in memory one 2025-09-05 01:54:07 +08:00
lin onetwo
9cfd761bf9 Refactor test database setup for integration tests
Centralizes in-memory SQLite test database initialization and cleanup in shared utilities for all integration tests. Updates agentDefinition and messageManagementPlugin tests to use the shared test database, improving reliability and reducing code duplication.
2025-09-03 00:07:47 +08:00
lin onetwo
2e136c31cc test: default embedding form and 2025-09-02 22:31:58 +08:00
lin onetwo
7dfda0e12d fix: wikiOperationInServer not called due to no message 2025-08-25 22:00:03 +08:00
lin onetwo
a93980dd84 test: remove log and clean up test deps 2025-08-25 20:26:39 +08:00
lin onetwo
225de8820b test: wiki operation 2025-08-25 01:54:17 +08:00
lin onetwo
e2be076c73 Refactor plugin schema system for dynamic registration
Introduces a dynamic plugin schema registry, allowing plugins to register their parameter schemas and metadata at runtime. Refactors prompt concat schema generation to use dynamically registered plugin schemas, removes static plugin schema definitions, and updates all plugin files to export their parameter schemas. Adds new modelContextProtocolPlugin and schemaRegistry modules, and updates plugin initialization to register schemas and metadata. This enables extensibility and type safety for plugin configuration and validation.
2025-08-23 00:46:12 +08:00
lin onetwo
64b699ca5a feat: Add wiki operation and workspaces list plugins
Introduces wikiOperationPlugin and workspacesListPlugin for agent instance prompt and response handling. Updates plugin registry, test coverage, and default agent configuration to support wiki workspace listing and wiki note operations (create, update, delete) via tool calls. Refactors wikiSearchPlugin to delegate workspace list injection to workspacesListPlugin.
2025-08-23 00:00:05 +08:00
lin onetwo
1ecd5ccf61 lint: disable @typescript-eslint/require-await 2025-08-19 23:49:11 +08:00
lin onetwo
560361acda test: use full agentinstance in test 2025-08-18 22:52:52 +08:00
lin onetwo
6f01c36dd2 fix: ai not response for tool result 2025-08-14 20:55:09 +08:00
lin onetwo
1a17d172ef fix: duration bug 2025-08-13 17:45:55 +08:00
lin onetwo
641621c861 Update messageManagementPlugin.test.ts 2025-08-12 17:28:07 +08:00
lin onetwo
5b7340609f lint: ai content 2025-08-09 21:03:39 +08:00
lin onetwo
f44c51e2c8 test: support run as electron so can use sqlite3 compiled bin for electron 2025-08-09 19:26:20 +08:00
lin onetwo
a56a480c3c fix: hide duration expired tool calling message, so long tool result only show to ai once 2025-08-08 01:17:38 +08:00
lin onetwo
f1a6162c51 refactor: remove useless auto reply plugin 2025-08-07 00:28:25 +08:00
lin onetwo
977dd4ba93 test: plugin system and streaming 2025-08-07 00:06:55 +08:00
lin onetwo
122ad71ce2 fix: not streaming, tool order wrong 2025-08-04 01:12:07 +08:00
lin onetwo
d2f409fb58 test: remove any 2025-08-04 00:30:14 +08:00
lin onetwo
9b71953ce9 test: simplify wiki search test 2025-08-04 00:06:38 +08:00
lin onetwo
d2a37dac87 refactor: less plugins 2025-08-01 01:24:48 +08:00
lin onetwo
d20f9c5cb9 refactor: remove ai generated duplicate 2025-07-31 02:11:43 +08:00
lin onetwo
c72563b0d8 refactor: run tool in plugin, simplify abstraction 2025-07-27 15:14:32 +08:00
linonetwo
863cc0622d refactor: move more logic to plugin 2025-07-22 17:41:10 +08:00