fix: never greet the user by the assistant's default name (UF-055)
Home and the sidebar read the user's name from the identity row, which the sidecar fills with the assistant's identity named Waggle. Both now use the profile name, with the identity name as a fallback that skips the default.
This commit is contained in:
@@ -7,8 +7,11 @@ export interface IdentityConfig {
|
||||
capabilities?: string[];
|
||||
}
|
||||
|
||||
/** The assistant's own default name. It is not the user's name. */
|
||||
export const DEFAULT_AGENT_NAME = 'Waggle';
|
||||
|
||||
const DEFAULT_IDENTITY: Required<IdentityConfig> = {
|
||||
name: 'Waggle',
|
||||
name: DEFAULT_AGENT_NAME,
|
||||
role: 'AI assistant with persistent memory and web access',
|
||||
personality:
|
||||
'Direct, concise, helpful. Leads with answers, avoids filler. Admits uncertainty rather than guessing.',
|
||||
|
||||
@@ -198,7 +198,7 @@ export {
|
||||
type MessagesCompressionEvent,
|
||||
type CompressMessagesResult,
|
||||
} from './long-task/messages-compressor.js';
|
||||
export { ensureIdentity, type IdentityConfig } from './auto-identity.js';
|
||||
export { ensureIdentity, DEFAULT_AGENT_NAME, type IdentityConfig } from './auto-identity.js';
|
||||
export { buildSelfAwareness, type AgentCapabilities } from './self-awareness.js';
|
||||
export {
|
||||
loadSystemPrompt,
|
||||
|
||||
Reference in New Issue
Block a user