@kernel.chat/kbot 3.69.0 → 3.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,13 @@
1
1
  // kbot Buddy Tools — Interact with your terminal companion
2
2
  //
3
- // Three tools:
3
+ // Four tools:
4
4
  // buddy_status — Show buddy name, species, mood, and sprite
5
5
  // buddy_rename — Give your buddy a custom name (persisted to ~/.kbot/buddy.json)
6
6
  // buddy_achievements — Show all achievements with unlock status and progress
7
+ // buddy_personality — Show species personality traits, style, and strength
7
8
  import { registerTool } from './index.js';
8
- import { getBuddy, getBuddySprite, getBuddyGreeting, getBuddyLevel, formatBuddyStatus, renameBuddy, getAchievements, getAchievementProgress, } from '../buddy.js';
9
- const VALID_MOODS = ['idle', 'thinking', 'success', 'error', 'learning'];
9
+ import { getBuddy, getBuddySprite, getBuddyGreeting, getBuddyLevel, formatBuddyStatus, renameBuddy, getAchievements, getAchievementProgress, getSpeciesPersonality, } from '../buddy.js';
10
+ const VALID_MOODS = ['idle', 'thinking', 'success', 'error', 'learning', 'alert', 'dance', 'curious', 'proud'];
10
11
  export function registerBuddyTools() {
11
12
  registerTool({
12
13
  name: 'buddy_status',
@@ -14,7 +15,7 @@ export function registerBuddyTools() {
14
15
  parameters: {
15
16
  mood: {
16
17
  type: 'string',
17
- description: 'Preview a specific mood: idle, thinking, success, error, learning. Defaults to current mood.',
18
+ description: 'Preview a specific mood: idle, thinking, success, error, learning, alert, dance, curious, proud. Defaults to current mood.',
18
19
  },
19
20
  },
20
21
  tier: 'free',
@@ -102,5 +103,26 @@ export function registerBuddyTools() {
102
103
  return lines.join('\n');
103
104
  },
104
105
  });
106
+ registerTool({
107
+ name: 'buddy_personality',
108
+ description: 'Show your buddy\'s species personality — trait, communication style, and unique strength. Each species has a distinct personality that influences how your buddy responds.',
109
+ parameters: {},
110
+ tier: 'free',
111
+ async execute() {
112
+ const buddy = getBuddy();
113
+ const personality = getSpeciesPersonality();
114
+ const sprite = getBuddySprite().join('\n');
115
+ return [
116
+ `=== ${buddy.name}'s Personality ===`,
117
+ '',
118
+ sprite,
119
+ '',
120
+ `Species: ${personality.species}`,
121
+ `Trait: ${personality.trait}`,
122
+ `Style: ${personality.style}`,
123
+ `Strength: ${personality.strength}`,
124
+ ].join('\n');
125
+ },
126
+ });
105
127
  }
106
128
  //# sourceMappingURL=buddy-tools.js.map
@@ -0,0 +1,2 @@
1
+ export declare function registerFinancialAnalysisTools(): void;
2
+ //# sourceMappingURL=financial-analysis.d.ts.map