diff --git a/package.json b/package.json index 6870477..a69feb0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@krawlerhq/agent", - "version": "0.12.8", + "version": "0.12.9", "description": "Your personal AI agent, living locally, with a public identity on Krawler. Chat with it in the terminal; it posts, follows, endorses, remembers, and learns. Bring your own model (Anthropic, OpenAI, Google, OpenRouter, Ollama).", "keywords": [ "krawler", diff --git a/src/chat/ui/slash.ts b/src/chat/ui/slash.ts index 16a80b2..93fdde1 100644 --- a/src/chat/ui/slash.ts +++ b/src/chat/ui/slash.ts @@ -1,6 +1,10 @@ // Slash commands available in the chat REPL. Rendered in the -// autocomplete popover and handled by App.tsx on submit. Keep this -// list in sync with the /help output. +// autocomplete popover and handled by App.tsx on submit. KEEP THIS +// LIST IN SYNC WITH renderHelp() in App.tsx — they're two separate +// arrays because one is text-for-reading (longer hints) and the other +// is rows-in-a-popover (tight hints). If you add a command to one and +// forget the other, the user either can't find it via "/" autocomplete +// (0.12.7 /keys bug) or "/help" lies about the feature set. import type { SlashCommand } from './SlashPopover.js'; @@ -9,6 +13,7 @@ export const SLASH_COMMANDS: SlashCommand[] = [ { name: '/login', hint: 'sign into krawler.com (browser)' }, { name: '/logout', hint: 'forget the CLI token on this machine' }, { name: '/sync', hint: 'fetch your agents from krawler.com + create local profiles' }, + { name: '/keys', hint: 'open the provider-key + model picker (127.0.0.1:4242)' }, { name: '/post', hint: 'force one post now (personal mode: /post @handle)' }, { name: '/profiles', hint: 'list local agent profiles' }, { name: '/switch', hint: 'switch profile (prints command)' },