@istarry/spoon-companion 0.7.4 → 0.7.5

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.
package/lib/catalog.js CHANGED
@@ -43,7 +43,7 @@ export function tierOf(intensity) {
43
43
  */
44
44
  export const TRAITS = [
45
45
  { key: 'openness', name: '好奇', base: 70, blurb: '爱玩、爱尝鲜,看到没见过的东西就想凑上去' },
46
- { key: 'conscientiousness', name: '自律', base: 30, blurb: '作业总拖到最后一晚,答应了的还是会做' },
46
+ { key: 'conscientiousness', name: '自律', base: 30, blurb: '手头的事总拖到最后一晚,答应了的还是会做' },
47
47
  { key: 'extraversion', name: '爱热闹', base: 60, blurb: '话多,有人搭话就来劲;在熟人面前更闹' },
48
48
  { key: 'agreeableness', name: '好说话', base: 64, blurb: '心软,愿意贴过去,被凶了先忍着' },
49
49
  { key: 'neuroticism', name: '敏感', base: 66, blurb: '一碰就红,情绪来得快、退得慢' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@istarry/spoon-companion",
3
- "version": "0.7.4",
3
+ "version": "0.7.5",
4
4
  "description": "让对话角色有自己的内心和声音:心情情绪随时间和对话自己演,回复一条一条发出来,能念出声(DeepSeek / 小米 MiMo),也能听得见——点麦克风说话,本地识别后直接发送。四块都能单独关。",
5
5
  "type": "module",
6
6
  "main": "plugin.js",
package/plugin.js CHANGED
@@ -722,8 +722,8 @@ export function apply(ctx, config = {}) {
722
722
  tools.register({
723
723
  name: 'mood_now',
724
724
  description:
725
- '看当前心情:哪种情绪、多浓、为什么(评价),还有心情底色(愉快度/精力)、性格、身体(饿/困)、' +
726
- '跟这个人处得怎么样、今天发生的小事、心里还记着的事。' +
725
+ '看当前心情:哪种情绪、多浓、为什么(评价),还有心情底色(愉快度/精力)、性格、' +
726
+ '身体(泛红/酥麻/想要/馋/困)、跟这个人处得怎么样、今天发生的小事、心里还记着的事。' +
727
727
  '面对「心情咋样」「怎么了」这类问题,或者要确定当前语气,用它。action=diag 是排障用的。',
728
728
  parameters: {
729
729
  type: 'object',
@@ -790,14 +790,14 @@ export function apply(ctx, config = {}) {
790
790
  tools.register({
791
791
  name: 'mood_feel',
792
792
  description:
793
- '记一笔心情 —— 注意这是**申请**:引擎有配额和饱和,会回报「实际生效多少」。' +
793
+ '记一笔心情 —— 这是一次**申请**:引擎有配额和饱和,会回报「实际生效多少」。' +
794
794
  `情绪用这些词:${EMOTION_MENU}。` +
795
795
  '被戳到、被感动、真的烦了、被人哄好了,用这个;要看当前心情用 mood_now。' +
796
796
  '为什么(why)写短一句,别写成作文。',
797
797
  parameters: {
798
798
  type: 'object',
799
799
  properties: {
800
- emotion: { type: 'string', description: `哪种情绪:${EMOTION_KEYS.slice(0, 12).join(' / ')} …(也可以用中文名)` },
800
+ emotion: { type: 'string', description: '哪种情绪:英文 key 或中文名,完整列表见工具描述' },
801
801
  intensity: { type: 'number', description: '多浓,1-100,默认 45(淡淡的 20 / 挺浓 60 / 上头 85)' },
802
802
  why: { type: 'string', description: '一句为什么,短' },
803
803
  person: { type: 'string', description: '可选:跟谁有关(昵称或 openid)' },