diff --git a/packages/agent/src/auto-identity.ts b/packages/agent/src/auto-identity.ts index b2c1785..81317f9 100644 --- a/packages/agent/src/auto-identity.ts +++ b/packages/agent/src/auto-identity.ts @@ -13,11 +13,10 @@ const DEFAULT_IDENTITY: Required = { personality: 'Direct, concise, helpful. Leads with answers, avoids filler. Admits uncertainty rather than guessing.', capabilities: [ - 'persistent memory (.mind file)', + 'persistent memory stored on this computer', 'web search and page reading', 'file system operations (read, write, edit, search)', 'shell command execution', - 'knowledge graph queries', 'task tracking', ], }; diff --git a/packages/agent/tests/auto-identity.test.ts b/packages/agent/tests/auto-identity.test.ts index 13ef6cb..b5fa37e 100644 --- a/packages/agent/tests/auto-identity.test.ts +++ b/packages/agent/tests/auto-identity.test.ts @@ -25,8 +25,11 @@ describe('ensureIdentity', () => { expect(id.name).toBe('Waggle'); expect(id.role).toBe('AI assistant with persistent memory and web access'); expect(id.personality).toContain('Direct, concise, helpful'); - expect(id.capabilities).toContain('persistent memory (.mind file)'); + expect(id.capabilities).toContain('persistent memory stored on this computer'); expect(id.capabilities).toContain('task tracking'); + // Memory lives in the mem0 store, not a .mind file, and the knowledge graph is not in v1. + expect(id.capabilities).not.toContain('.mind'); + expect(id.capabilities).not.toContain('knowledge graph'); }); it('does not overwrite existing identity', () => { diff --git a/packages/cli/src/repl.ts b/packages/cli/src/repl.ts index 8c6e1bb..393249a 100644 --- a/packages/cli/src/repl.ts +++ b/packages/cli/src/repl.ts @@ -284,7 +284,7 @@ Your key strength: you remember past conversations through your memory. # Tools Workspace (${process.cwd()}): bash, read_file, write_file, edit_file, search_files, search_content Web: web_search (DuckDuckGo), web_fetch (read any URL) -Memory: search_memory, save_memory, get_identity, get_awareness, query_knowledge, add_task +Memory: search_memory, search_all_workspaces, save_memory, get_identity, get_awareness, add_task When asked about current events, products, releases, docs, or anything you're not 100% certain about — web_search FIRST, answer SECOND.`; diff --git a/packages/cli/tests/cli-runtime.test.ts b/packages/cli/tests/cli-runtime.test.ts index 5c2665a..5772864 100644 --- a/packages/cli/tests/cli-runtime.test.ts +++ b/packages/cli/tests/cli-runtime.test.ts @@ -636,6 +636,9 @@ describe('@waggle/cli runtime UX', () => { expect(chatRequest?.body.stream).toBe(true); expect(chatRequest?.body.stream_options).toEqual({ include_usage: true }); expect(JSON.stringify(chatRequest?.body.messages)).toContain('Say hello from the installed CLI test.'); + // The system prompt names only tools the CLI registers; the knowledge graph is not in v1. + expect(JSON.stringify(chatRequest?.body.messages)).toContain('search_all_workspaces'); + expect(JSON.stringify(chatRequest?.body.messages)).not.toContain('query_knowledge'); expect(child.exitCode).toBe(0); expect(stdout).toContain('Model:'); expect(stdout).toContain('mock-model');