dsh-agent-soul 0.5.2 → 0.6.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.
- package/README.md +125 -31
- package/lib/attest.js +5 -5
- package/lib/client/mood-tab.js +3 -1
- package/lib/client/settings-tab.js +57 -0
- package/lib/client.js +60 -1
- package/lib/diary-pick.js +6 -3
- package/lib/diary.js +11 -7
- package/lib/env.js +53 -7
- package/lib/extract.js +20 -0
- package/lib/health.js +291 -0
- package/lib/index.js +44 -6
- package/lib/memory.js +29 -2
- package/lib/mood.js +27 -5
- package/lib/paths.js +8 -0
- package/lib/purpose.js +4 -1
- package/lib/refine.js +30 -16
- package/lib/store.js +95 -2
- package/package.json +4 -2
package/lib/paths.js
CHANGED
|
@@ -38,6 +38,14 @@ export const memoryProjectsDir = () => join(memoryDir(), 'projects')
|
|
|
38
38
|
export const globalPersonaPath = () => join(dshHome(), 'AGENT.md')
|
|
39
39
|
export const globalMemoryPath = () => join(memoryDir(), 'global.json')
|
|
40
40
|
export const archivePath = () => join(memoryDir(), 'archive.jsonl')
|
|
41
|
+
/**
|
|
42
|
+
* 每日健康一行的「写到哪天了」(2026-11-04)。
|
|
43
|
+
*
|
|
44
|
+
* 为什么不复用 lastDecayDate:那个字段在记忆卡里,属于**她读得到的状态**
|
|
45
|
+
* (记忆卡会被渲染进提示词);而这个日期纯粹是工程记账,不该有机会被带进上下文。
|
|
46
|
+
* 单独一个小文件,内容只有 {"lastDate":"YYYY-MM-DD"},坏了最多多写一行。
|
|
47
|
+
*/
|
|
48
|
+
export const healthStatePath = () => join(memoryDir(), 'health.json')
|
|
41
49
|
export const configPath = () => join(agentsDir(), 'persona.json')
|
|
42
50
|
export const moodDir = () => join(agentsDir(), 'mood')
|
|
43
51
|
|
package/lib/purpose.js
CHANGED
|
@@ -34,7 +34,10 @@ export const PURPOSE_VERSION = 1
|
|
|
34
34
|
export const NEEDS = Object.freeze(['curiosity', 'care', 'share', 'mastery'])
|
|
35
35
|
export const NEED_LABEL = Object.freeze({
|
|
36
36
|
curiosity: '想弄明白',
|
|
37
|
-
|
|
37
|
+
// 2026-11-04:原来写的是「在乎树树」—— 主人名字不该写死在这里。
|
|
38
|
+
// 这个常量只给设置页当标签用(提示词里不用它),所以取关系无关的「在乎」,
|
|
39
|
+
// 跟浏览器半侧 NEED_LABEL 的写法保持一致。
|
|
40
|
+
care: '在乎',
|
|
38
41
|
share: '想分享',
|
|
39
42
|
mastery: '想搞懂'
|
|
40
43
|
})
|
package/lib/refine.js
CHANGED
|
@@ -28,6 +28,19 @@ const REFINE_TIMEOUT_MS = 30000
|
|
|
28
28
|
/** 一次最多送几条原话进去(再多模型容易挑花眼、也容易编)。 */
|
|
29
29
|
const MAX_INPUT = 8
|
|
30
30
|
|
|
31
|
+
/**
|
|
32
|
+
* 提炼提示词里怎么称呼对方(2026-11-04)。
|
|
33
|
+
*
|
|
34
|
+
* 以前默认写「主人」—— 那是关系定位,不是称呼。现在主人名字来自配置
|
|
35
|
+
* (`ownerName`,默认空串);没设时用中性的「对方」,
|
|
36
|
+
* 既不会漏出「下面是刚说过的话」这种空壳,也不替用户声明关系。
|
|
37
|
+
* 记忆提炼不依赖这个名字,没设也照常工作。
|
|
38
|
+
*/
|
|
39
|
+
function ownerLabel(owner) {
|
|
40
|
+
const name = String(owner ?? '').trim()
|
|
41
|
+
return name === '' ? '对方' : name
|
|
42
|
+
}
|
|
43
|
+
|
|
31
44
|
/**
|
|
32
45
|
* 提炼用的系统提示词。
|
|
33
46
|
*
|
|
@@ -42,8 +55,9 @@ const MAX_INPUT = 8
|
|
|
42
55
|
* 提炼要么照抄要么退回了原话。换成一条可判定的尺子:
|
|
43
56
|
* **换一天、换一个话题之后仍然成立,才值得记。** 任务明天作废,人物信息明年还成立。
|
|
44
57
|
*/
|
|
45
|
-
export function buildRefineSystem({ owner = '
|
|
46
|
-
|
|
58
|
+
export function buildRefineSystem({ owner = '' } = {}) {
|
|
59
|
+
const who = ownerLabel(owner)
|
|
60
|
+
return `你在帮忙整理长期记忆。下面是${who}刚说过的话(可能夹杂桥接前缀、口癖、错别字、断句、任务指令)。
|
|
47
61
|
请把其中有价值的信息提炼成一条条**记忆**,只输出一个 JSON 数组,不要任何别的字、不要 markdown 代码块。
|
|
48
62
|
|
|
49
63
|
每条格式:{"text":"…","importance":60,"kind":"fact"}
|
|
@@ -58,26 +72,26 @@ export function buildRefineSystem({ owner = '主人' } = {}) {
|
|
|
58
72
|
2. 动作进度:含「检测 / 修复 / 实现 / 重构 / 提交 / 推送 / 跑一下 / 改一下」这类手上正在做的事。
|
|
59
73
|
❌「对当前桥接代码进行最后一次检测,确认无误后提交并推送」
|
|
60
74
|
3. 工作状态:「最近在排查 X」「下一步要做 Y」「还在弄 Z」。
|
|
61
|
-
❌「${
|
|
75
|
+
❌「${who}最近在排查 pwsh 初始化失败的问题」
|
|
62
76
|
4. 时间锚点:「今天 / 刚才 / 这一轮 / 这次」串起来的经过。
|
|
63
77
|
❌「今天把戴维南定理学完了」
|
|
64
78
|
(这四条不是凭空写的:项目卡里那三条垃圾记忆正好命中前三类。)
|
|
65
79
|
|
|
66
80
|
该记的(换一天、换话题仍然成立):
|
|
67
|
-
✅ 身份 / 背景:「${
|
|
68
|
-
✅ 偏好 / 厌恶:「${
|
|
69
|
-
✅ 关系:「${
|
|
70
|
-
✅ 长期计划 / 目标:「${
|
|
71
|
-
✅ 明确约定:「答应过${
|
|
72
|
-
✅ 情绪模式 / 习惯:「${
|
|
81
|
+
✅ 身份 / 背景:「${who}是烟台大学机器人工程专业大二学生」
|
|
82
|
+
✅ 偏好 / 厌恶:「${who}不敢吃辣」「${who}讨厌被叫"用户"」
|
|
83
|
+
✅ 关系:「${who}和你是在三月的一个雨天认识的」
|
|
84
|
+
✅ 长期计划 / 目标:「${who}想明年打蓝桥杯嵌入式赛道」
|
|
85
|
+
✅ 明确约定:「答应过${who},以后提醒他别熬夜」
|
|
86
|
+
✅ 情绪模式 / 习惯:「${who}晚上 11 点会上线跑图」← 这是习惯,要记;「他今天有点累」不记
|
|
73
87
|
|
|
74
88
|
一条候选里既有任务又有人物信息时,**只取人物信息,任务部分丢掉**:
|
|
75
89
|
原话「帮我把这个插件改一下,我最近在准备蓝桥杯,晚上都在画板子上了」
|
|
76
|
-
→ 只记「${
|
|
90
|
+
→ 只记「${who}在准备蓝桥杯,晚上都在画板子上」;「改插件」那半句不要。
|
|
77
91
|
|
|
78
92
|
写法:
|
|
79
|
-
1. 用「${
|
|
80
|
-
❌「${
|
|
93
|
+
1. 用「${who}」指代他,用「我」指代你自己。
|
|
94
|
+
❌「${who}说他是大二的」← 这是复述,不是记忆
|
|
81
95
|
❌「用户表示……」← 别用"用户",太生分
|
|
82
96
|
2. 一条只讲一件事,每条 40 字以内。两件不相干的事要拆成两条。
|
|
83
97
|
3. kind 判据(只能取这五个值):
|
|
@@ -93,15 +107,15 @@ export function buildRefineSystem({ owner = '主人' } = {}) {
|
|
|
93
107
|
· 单次情绪 / 状态 → 45~64(通常本来就不该记)
|
|
94
108
|
5. ⭐ **没有信息量就输出空数组 []**。寒暄、语气词、「嗯」「好的」「起了起了」、任务指令,
|
|
95
109
|
一条都不要输出。宁可少记,也不要为了完成任务硬凑 —— 记忆位置有限,塞满废话最糟。
|
|
96
|
-
6. **宁可空数组,也不许把「${
|
|
110
|
+
6. **宁可空数组,也不许把「${who}让我干什么」当成记忆。** 这是最容易犯的错。
|
|
97
111
|
7. 不要编:他没说的事一律不写;拿不准就写模糊一点(「在学单片机」而不是「在学 STM32H743」)。`
|
|
98
112
|
}
|
|
99
113
|
|
|
100
114
|
/** 用户消息:把候选原话按顺序编号列出来。 */
|
|
101
|
-
export function buildRefineUser(candidates, { owner = '
|
|
115
|
+
export function buildRefineUser(candidates, { owner = '' } = {}) {
|
|
102
116
|
const list = (Array.isArray(candidates) ? candidates : []).slice(0, MAX_INPUT)
|
|
103
117
|
const lines = list.map((item, index) => `${index + 1}. ${String(item?.text ?? '').slice(0, 300)}`)
|
|
104
|
-
return `${owner}这段时间说的话(按时间顺序):\n${lines.join('\n')}\n\n请提炼成记忆,只输出 JSON 数组。`
|
|
118
|
+
return `${ownerLabel(owner)}这段时间说的话(按时间顺序):\n${lines.join('\n')}\n\n请提炼成记忆,只输出 JSON 数组。`
|
|
105
119
|
}
|
|
106
120
|
|
|
107
121
|
/**
|
|
@@ -162,7 +176,7 @@ export function parseRefined(text, { max = MAX_INPUT } = {}) {
|
|
|
162
176
|
* @returns {Promise<Array|null>} 条目数组;任何失败都返回 null(调用方退回原话)
|
|
163
177
|
*/
|
|
164
178
|
export async function refineCandidates(llm, agent, candidates, {
|
|
165
|
-
owner = '
|
|
179
|
+
owner = '',
|
|
166
180
|
provider = '',
|
|
167
181
|
model = '',
|
|
168
182
|
timeoutMs = REFINE_TIMEOUT_MS
|
package/lib/store.js
CHANGED
|
@@ -60,6 +60,9 @@ import {
|
|
|
60
60
|
normMoodState,
|
|
61
61
|
normalizeMoodConfig
|
|
62
62
|
} from './mood.js'
|
|
63
|
+
// 2026-11-04:每日健康一行(只写 soul.log,不进提示词)。
|
|
64
|
+
// 挂在这里是故意的:maintain 本来就一天跑一次,不需要另起定时器。
|
|
65
|
+
import { writeDailyHealth } from './health.js'
|
|
63
66
|
|
|
64
67
|
const cardCache = new Map()
|
|
65
68
|
const moodCache = new Map()
|
|
@@ -452,8 +455,26 @@ export const DEFAULT_CONFIG = Object.freeze({
|
|
|
452
455
|
moodSigMood: 3,
|
|
453
456
|
moodSigDim: 5,
|
|
454
457
|
moodSelfName: '小糖',
|
|
455
|
-
|
|
456
|
-
|
|
458
|
+
// ---- 主人是谁(2026-11-04)----
|
|
459
|
+
//
|
|
460
|
+
// 值一律引用 memory.js 的 DEFAULTS,不复制字面量(跟 injectMaxChars 那次
|
|
461
|
+
// 1600/2400 打架是同一个教训)。默认是空串 —— 陌生人装完不会被告知
|
|
462
|
+
// 「你是树树的伴侣」。空串时提示词整句省略,见 mood.js 的 buildJudgeSystem。
|
|
463
|
+
ownerName: DEFAULTS.ownerName,
|
|
464
|
+
ownerGender: DEFAULTS.ownerGender,
|
|
465
|
+
relationship: DEFAULTS.relationship,
|
|
466
|
+
/**
|
|
467
|
+
* 已废弃(2026-11-04):旧版把主人名字写在 `moodOwnerName` 里。
|
|
468
|
+
* 现在统一到 `ownerName`,这个键**只为两件事保留**:
|
|
469
|
+
* ① 迁移:loadConfig 发现配置里没有 ownerName、却有它时,把值搬过去并写回;
|
|
470
|
+
* ② 兼容:外部代码(旧设置页、手写调用)直接传 moodOwnerName 时,
|
|
471
|
+
* normalizeMoodConfig 仍能认出来。
|
|
472
|
+
* 新代码不要再读它。默认空串 = 没设过。
|
|
473
|
+
*/
|
|
474
|
+
moodOwnerName: '',
|
|
475
|
+
// 2026-11-04:别名是「主人平时怎么叫她」,原来误填成 '树树'(跟 moodOwnerName
|
|
476
|
+
// 一样),判定提示词会写成「树树平时会这样叫你:树树」。默认空,空时整句省略。
|
|
477
|
+
moodSelfAliases: '',
|
|
457
478
|
moodJudgeProvider: '',
|
|
458
479
|
moodJudgeModel: '',
|
|
459
480
|
// 心情语气(2026-11-01):隔几轮往用户消息后挂一行。
|
|
@@ -493,6 +514,8 @@ export const DEFAULT_CONFIG = Object.freeze({
|
|
|
493
514
|
// 80% 是技术细节。现在改成按分数挑(见 diary-pick.js),8000 字就够写,
|
|
494
515
|
// 生活内容占比从 20% 升到 87%,全天跨度也保住了。
|
|
495
516
|
diaryMaxConversationChars: 8000,
|
|
517
|
+
// 已停用,仅为兼容旧配置保留(2026-11-04 核对:只有废弃的 summarizeConversations
|
|
518
|
+
// 还在读它,日记主流程不做摘要;删了会让老配置报错)。
|
|
496
519
|
diaryMaxSummaryChars: 2000,
|
|
497
520
|
// 日记里的情绪底色:给几条「当时你自己的想法」。公开那篇是要拿给人看的,少给几条。
|
|
498
521
|
// 设 0 或关掉心情(moodEnabled=false)就完全不带情绪段。
|
|
@@ -518,6 +541,57 @@ export const DEFAULT_CONFIG = Object.freeze({
|
|
|
518
541
|
diarySummarizeTimeoutMs: 30000
|
|
519
542
|
})
|
|
520
543
|
|
|
544
|
+
/**
|
|
545
|
+
* 旧配置迁移:把 `moodOwnerName` 搬到 `ownerName`(2026-11-04)。
|
|
546
|
+
*
|
|
547
|
+
* ── 为什么必须有这一步 ──
|
|
548
|
+
* 0.5.2 及以前,主人名字只有一个来源:`moodOwnerName`,默认写死 `'树树'`。
|
|
549
|
+
* 现在默认值改成了空串(陌生人装完不该被告知「你是树树的伴侣」),
|
|
550
|
+
* 但老用户的 persona.json 里**只有旧键**、没有新键 —— 如果什么都不做,
|
|
551
|
+
* 升级之后 prompt 里「关于谁」的整段会静默消失,表现是「她突然不认识我了」。
|
|
552
|
+
*
|
|
553
|
+
* 所以:只要配置里没有 `ownerName` 这个键,就认为它是旧配置,
|
|
554
|
+
* · 有 `moodOwnerName` 就搬它的值(用户可能自己改过,不该被覆盖);
|
|
555
|
+
* · 没有就用旧版的默认值 `'树树'`;
|
|
556
|
+
* 然后把 `ownerName` **写回文件** —— 只迁一次,之后这个键就存在了。
|
|
557
|
+
*
|
|
558
|
+
* 全新安装不会误迁:新版本的 saveConfig 写的是 merge 过 DEFAULT_CONFIG 的完整配置,
|
|
559
|
+
* 里面天然带 `ownerName` 键(哪怕是空串);而安装后没改过任何设置时,
|
|
560
|
+
* 配置文件压根不存在。两种情况都不会走进来。
|
|
561
|
+
*
|
|
562
|
+
* 写回失败不算错误(可能只是只读),内存里已经用迁移后的值了;
|
|
563
|
+
* 日志只记一次,别把 soul.log 刷满。
|
|
564
|
+
*
|
|
565
|
+
* @returns {string} 迁移后的 ownerName;没迁移返回 null
|
|
566
|
+
*/
|
|
567
|
+
const LEGACY_OWNER_NAME = '树树'
|
|
568
|
+
let ownerMigrateNoted = false
|
|
569
|
+
|
|
570
|
+
function migrateOwnerName(file, raw) {
|
|
571
|
+
if (raw === null || typeof raw !== 'object' || Array.isArray(raw)) return null
|
|
572
|
+
// 已经把新键显式写进配置(哪怕是空串 = 「我就是不设」)→ 尊重它,不迁移
|
|
573
|
+
if (Object.prototype.hasOwnProperty.call(raw, 'ownerName')) return null
|
|
574
|
+
// 没有配置文件 / 文件读不出东西(JSON 坏了)→ 不猜。坏文件写回会把它整份抹掉。
|
|
575
|
+
if (!exists(file) || Object.keys(raw).length === 0) return null
|
|
576
|
+
|
|
577
|
+
const legacy = typeof raw.moodOwnerName === 'string' ? raw.moodOwnerName.trim() : ''
|
|
578
|
+
const ownerName = legacy !== '' ? legacy : LEGACY_OWNER_NAME
|
|
579
|
+
const next = { ...raw, ownerName }
|
|
580
|
+
try {
|
|
581
|
+
atomicWrite(file, `${JSON.stringify(next, null, 2)}\n`)
|
|
582
|
+
if (!ownerMigrateNoted) {
|
|
583
|
+
ownerMigrateNoted = true
|
|
584
|
+
note('config', `已从旧配置迁移 ownerName=${ownerName}(来源:${legacy !== '' ? 'moodOwnerName' : '旧版默认值'}),已写回 persona.json`)
|
|
585
|
+
}
|
|
586
|
+
} catch (error) {
|
|
587
|
+
if (!ownerMigrateNoted) {
|
|
588
|
+
ownerMigrateNoted = true
|
|
589
|
+
note('config', `旧配置迁移 ownerName=${ownerName} 写回失败(本次仍按迁移后的值运行):${error instanceof Error ? error.message : error}`)
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
return ownerName
|
|
593
|
+
}
|
|
594
|
+
|
|
521
595
|
export function loadConfig() {
|
|
522
596
|
const file = CONFIG_FILE()
|
|
523
597
|
const stamp = mtimeOf(file)
|
|
@@ -529,7 +603,9 @@ export function loadConfig() {
|
|
|
529
603
|
} catch {
|
|
530
604
|
raw = {}
|
|
531
605
|
}
|
|
606
|
+
const migrated = migrateOwnerName(file, raw)
|
|
532
607
|
const value = { ...DEFAULT_CONFIG, ...(raw !== null && typeof raw === 'object' ? raw : {}) }
|
|
608
|
+
if (migrated !== null) value.ownerName = migrated
|
|
533
609
|
configCache = { stamp, value }
|
|
534
610
|
return value
|
|
535
611
|
}
|
|
@@ -632,6 +708,23 @@ export function maintain(cwd, config = {}) {
|
|
|
632
708
|
savePurposeState(state)
|
|
633
709
|
}
|
|
634
710
|
|
|
711
|
+
// 2026-11-04:每日健康一行。
|
|
712
|
+
//
|
|
713
|
+
// 用 try/catch 再包一层:writeDailyHealth 自己不会抛,但这里在**提示词装配路径**上,
|
|
714
|
+
// 宁可吞掉一个统计错误,也不能让一行工程指标把这一轮对话炸掉。
|
|
715
|
+
try {
|
|
716
|
+
writeDailyHealth({
|
|
717
|
+
cwd,
|
|
718
|
+
config: cfg,
|
|
719
|
+
cards: {
|
|
720
|
+
global: globalCard(),
|
|
721
|
+
project: String(cwd ?? '').trim() === '' ? null : projectCard(cwd)
|
|
722
|
+
}
|
|
723
|
+
})
|
|
724
|
+
} catch {
|
|
725
|
+
/* 健康指标失败不影响维护本身 */
|
|
726
|
+
}
|
|
727
|
+
|
|
635
728
|
return report
|
|
636
729
|
}
|
|
637
730
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agent-soul",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "给 DSH 的 agent 一套会忘事的记忆、一份会变的人格和一份会起伏的心情:人格按小节合并(项目覆盖全局但不吃掉全局),记忆按人的规律衰减(清晰→模糊→只剩印象→遗忘),「心里惦记的事」让她的主动有连续性,心情跟着每轮对话自己判断、自己平复(不注入、无挂饰)。",
|
|
6
6
|
"keywords": [
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build:client": "node tools/build-client.mjs",
|
|
36
|
-
"test": "node tools/build-client.mjs && node tests/extract.test.js && node tests/write-failure.test.js && node tests/refine.test.js && node tests/goal-revive.test.js && node tests/archive.test.js && node tests/diary.test.js && node tests/diary-new-path.test.js && node tests/notes.test.js && node tests/diary-tool.test.js && node tests/api-auth.test.js && node tests/memory.test.js && node tests/memory-integrity.test.js && node tests/memory-near-dupe.test.js && node tests/recall-dedupe.test.js && node tests/recall-visibility.test.js && node tests/host-probe.test.js && node tests/secrets-judge.test.js && node tests/tone.test.js && node tests/threads.test.js && node tests/recent-context.test.js && node tests/first-turn.test.js && node tests/log-rotate.test.js && node tests/inject.test.js && node tests/sticky.test.js && node tests/mood.test.js && node tests/mood-digest.test.js && node tests/persona.test.js && node tests/purpose.test.js && node tests/emotion-purpose.test.js && node tests/registry.test.js && node tests/session-title.test.js && node tests/attest.test.js && node tests/smoke.test.js && node tests/client.test.js",
|
|
36
|
+
"test": "node tools/build-client.mjs && node tests/extract.test.js && node tests/write-failure.test.js && node tests/refine.test.js && node tests/goal-revive.test.js && node tests/archive.test.js && node tests/diary.test.js && node tests/diary-new-path.test.js && node tests/notes.test.js && node tests/diary-tool.test.js && node tests/api-auth.test.js && node tests/memory.test.js && node tests/memory-integrity.test.js && node tests/memory-near-dupe.test.js && node tests/recall-dedupe.test.js && node tests/recall-visibility.test.js && node tests/host-probe.test.js && node tests/secrets-judge.test.js && node tests/tone.test.js && node tests/threads.test.js && node tests/recent-context.test.js && node tests/first-turn.test.js && node tests/log-rotate.test.js && node tests/health.test.js && node tests/inject.test.js && node tests/sticky.test.js && node tests/mood.test.js && node tests/mood-digest.test.js && node tests/owner-identity.test.js && node tests/persona.test.js && node tests/purpose.test.js && node tests/emotion-purpose.test.js && node tests/registry.test.js && node tests/session-title.test.js && node tests/attest.test.js && node tests/smoke.test.js && node tests/client.test.js",
|
|
37
|
+
"test:owner": "node tests/owner-identity.test.js",
|
|
37
38
|
"test:extract": "node tests/extract.test.js",
|
|
38
39
|
"test:write-failure": "node tests/write-failure.test.js",
|
|
39
40
|
"test:refine": "node tests/refine.test.js",
|
|
@@ -55,6 +56,7 @@
|
|
|
55
56
|
"test:threads": "node tests/threads.test.js",
|
|
56
57
|
"test:recent": "node tests/recent-context.test.js",
|
|
57
58
|
"test:log": "node tests/log-rotate.test.js",
|
|
59
|
+
"test:health": "node tests/health.test.js",
|
|
58
60
|
"test:inject": "node tests/inject.test.js",
|
|
59
61
|
"test:mood": "node tests/mood.test.js",
|
|
60
62
|
"test:mood-digest": "node tests/mood-digest.test.js",
|