refactor(agent): remove legacy memory subsystem

This commit is contained in:
Jiayuan Zhang 2026-02-17 15:33:39 +08:00
parent 700e64342c
commit 0f5bd5fff1
26 changed files with 15 additions and 599 deletions

View file

@ -12,7 +12,6 @@ const TOOL_GROUPS: Record<string, string[]> = {
'group:fs': ['read', 'write', 'edit', 'glob'],
'group:runtime': ['exec', 'process'],
'group:web': ['web_search', 'web_fetch'],
'group:memory': ['memory_search'],
'group:subagent': ['delegate'],
'group:cron': ['cron'],
}
@ -22,7 +21,6 @@ const ALL_KNOWN_TOOLS = [
...TOOL_GROUPS['group:fs'],
...TOOL_GROUPS['group:runtime'],
...TOOL_GROUPS['group:web'],
...TOOL_GROUPS['group:memory'],
...TOOL_GROUPS['group:subagent'],
...TOOL_GROUPS['group:cron'],
]

View file

@ -11,7 +11,6 @@ import {
FolderOpen,
Code,
Globe,
Brain,
ChevronRight,
Loader2,
Clock,
@ -25,7 +24,6 @@ const GROUP_NAMES: Record<string, string> = {
fs: 'File System',
runtime: 'Runtime',
web: 'Web',
memory: 'Memory',
subagent: 'Subagent',
cron: 'Cron',
other: 'Other',
@ -36,7 +34,6 @@ const GROUP_DESCRIPTIONS: Record<string, string> = {
fs: 'Read, write, and manage files',
runtime: 'Execute code and commands',
web: 'Fetch and interact with web content',
memory: 'Store and recall information',
subagent: 'Delegate tasks to sub-agents',
cron: 'Schedule recurring tasks',
other: 'Miscellaneous tools',
@ -47,7 +44,6 @@ const GROUP_ICONS: Record<string, typeof FolderOpen> = {
fs: FolderOpen,
runtime: Code,
web: Globe,
memory: Brain,
subagent: Users,
cron: Clock,
other: Code,

View file

@ -22,11 +22,6 @@ const TOOL_DESCRIPTIONS: Record<string, string> = {
process: 'Manage background processes',
web_fetch: 'Fetch content from URLs',
web_search: 'Search the web via Devv Search',
memory_get: 'Get stored memory value',
memory_set: 'Store a memory value',
memory_delete: 'Delete a memory value',
memory_list: 'List all memory keys',
memory_search: 'Search memory files for keywords',
cron: 'Create and manage scheduled tasks',
}