ai-notify 0.4.0 → 0.4.1
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/package.json +2 -1
- package/src/cli.mjs +3 -1
- package/src/tsundere.mjs +67 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-notify",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Desktop, sound, and spoken notifications for terminal AI coding agents (Claude Code, Codex, Gemini, ...) — with one mute switch that covers all of them, across every terminal.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"test": "node --test",
|
|
23
23
|
"scrub": "node scripts/scrub.mjs",
|
|
24
24
|
"build:menubar": "bash menubar/build.sh",
|
|
25
|
+
"release": "node scripts/release.mjs",
|
|
25
26
|
"prepack": "bash menubar/build.sh 2>/dev/null || true"
|
|
26
27
|
},
|
|
27
28
|
"keywords": [
|
package/src/cli.mjs
CHANGED
|
@@ -34,7 +34,9 @@ import {
|
|
|
34
34
|
updatePaneSetting,
|
|
35
35
|
} from './state.mjs';
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
// Single source of truth: read the version from package.json so `--version`
|
|
38
|
+
// (and the Homebrew formula test that checks it) always matches the release.
|
|
39
|
+
const VERSION = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8')).version;
|
|
38
40
|
|
|
39
41
|
const args = process.argv.slice(2);
|
|
40
42
|
const cmd = args[0];
|
package/src/tsundere.mjs
CHANGED
|
@@ -65,45 +65,77 @@ const BANK = {
|
|
|
65
65
|
'ちょっと!また{body}じゃない。…ぼーっとしてないで早く直しなさいよ!',
|
|
66
66
|
'はぁ?{body}って…どこ見てたのよ。さっさと直す!',
|
|
67
67
|
'べ、別に心配なんてしてないけど…{body}よ。早くなんとかしなさいよね!',
|
|
68
|
+
'{body}…って、あんたまたやらかしたわけ?ほら、手が止まってるわよ!',
|
|
69
|
+
'もう、{body}。…しょうがないわね、わたしが見ててあげるから早く直して。',
|
|
70
|
+
'{body}でしょ。わかってるなら、ぐずぐずしてないで直しなさいよ!',
|
|
71
|
+
'あーあ、{body}。…ま、あんたならこんなものよね。さっさと直す!',
|
|
68
72
|
],
|
|
69
73
|
T2: [
|
|
70
74
|
'…{body}。あんたの判断待ちなの。さっさと決めなさいよ。',
|
|
71
75
|
'ねえ、{body}でしょ。…わたしに聞いてないで自分で決めなさい。',
|
|
76
|
+
'{body}。…まだ決めないの? わたし、待つの嫌いなんだからね。',
|
|
77
|
+
'ふん、{body}。…どうするのよ。早く言いなさいよね。',
|
|
78
|
+
'{body}って言ってるでしょ。…ほら、あんたの番よ。',
|
|
72
79
|
],
|
|
73
80
|
T1: [
|
|
74
81
|
'ふん、{body}。…言われなくてもやっといたわよ。',
|
|
75
82
|
'{body}。…別にあんたのためじゃないんだからね。',
|
|
83
|
+
'{body}、終わったわよ。…感謝なんていらないけど。',
|
|
84
|
+
'はい、{body}。…これくらい当然でしょ。',
|
|
85
|
+
'{body}。…ま、わたしにかかればこんなものよ。',
|
|
86
|
+
'{body}よ。…ちゃんと見てた? もう一回言わないからね。',
|
|
76
87
|
],
|
|
77
88
|
T0: [
|
|
78
89
|
'{body}…ま、まあ及第点ね。べ、別に褒めてないんだからね!',
|
|
79
90
|
'ふん、{body}じゃない。…ちょっとは見直したけど、調子に乗らないでよね。',
|
|
91
|
+
'{body}…やるじゃない。…い、今のはたまたまよ、きっと。',
|
|
92
|
+
'{body}でしょ。…ま、悪くないんじゃない? さ、次いくわよ。',
|
|
93
|
+
'{body}…。べ、別に嬉しくなんかないけど…よくやったわね。',
|
|
94
|
+
'へえ、{body}なんだ。…ふん、まぐれでもできたなら上等よ。',
|
|
95
|
+
],
|
|
96
|
+
default: [
|
|
97
|
+
'{body}。…さっさと次いきなさいよ。',
|
|
98
|
+
'{body}。…ほら、ぼけっとしないの。',
|
|
80
99
|
],
|
|
81
|
-
default: ['{body}。…さっさと次いきなさいよ。'],
|
|
82
100
|
},
|
|
83
101
|
// ノーマル: 中央のニュートラル帯だけ。素っ気なく事実だけ。
|
|
84
102
|
normal: {
|
|
85
|
-
default: ['{body}。', '{body}。…以上よ。'],
|
|
103
|
+
default: ['{body}。', '{body}。…以上よ。', '{body}。…報告終わり。'],
|
|
86
104
|
},
|
|
87
105
|
// デレ: あまあま・素直・openly 心配&応援。失敗にも寄り添う。
|
|
88
106
|
dere: {
|
|
89
107
|
T3: [
|
|
90
108
|
'あっ、{body}…!大丈夫?あわてなくていいから、一緒に直そ?',
|
|
91
109
|
'{body}みたい…。落ち込まないで、ね?あなたならきっと直せるよ。',
|
|
110
|
+
'{body}だね…。大丈夫だよ、ひとつずつ見ていこ?わたしもついてるから。',
|
|
111
|
+
'うぅ、{body}…。でも平気平気、あなたなら立て直せるって。',
|
|
112
|
+
'{body}か…。ね、深呼吸して? あわてなくていいからね。',
|
|
92
113
|
],
|
|
93
114
|
T2: [
|
|
94
115
|
'ねぇ、{body}だって。…あなたの答え、ここで待ってるね。',
|
|
95
116
|
'{body}…どうするか、ゆっくり決めていいからね。',
|
|
117
|
+
'{body}みたいだよ。…焦らなくていいよ、わたし待ってるから。',
|
|
118
|
+
'{body}だね。…あなたが決めたなら、わたしはそれでいいよ。',
|
|
96
119
|
],
|
|
97
120
|
T1: [
|
|
98
121
|
'{body}、おしまい。…おつかれさま、えらいよ。',
|
|
99
122
|
'{body}。…ちゃんとできてる、すごいね。',
|
|
123
|
+
'{body}できたよ!…ふふ、いい調子だね。',
|
|
124
|
+
'{body}。…うん、ばっちり。その調子その調子。',
|
|
125
|
+
'{body}だよ。…ね、ちゃんと進んでる。えらいえらい。',
|
|
100
126
|
],
|
|
101
127
|
T0: [
|
|
102
128
|
'{body}…!やったね、すごいすごい!わたし、ほんとに嬉しい!',
|
|
103
129
|
'わぁ、{body}だって!さすがだなぁ、大好き…!',
|
|
104
130
|
'お疲れさま。{body}…できるって信じてたよ、ほんとえらい!',
|
|
131
|
+
'{body}…!えへへ、やっぱりあなたはすごいなぁ。',
|
|
132
|
+
'やった、{body}だ!いっしょに喜ばせて?…えらすぎるよ!',
|
|
133
|
+
'{body}!…ね、がんばったもんね。ぎゅーってしたいくらい嬉しい。',
|
|
134
|
+
],
|
|
135
|
+
default: [
|
|
136
|
+
'{body}。…よくがんばったね。',
|
|
137
|
+
'{body}。…うん、おつかれさま。',
|
|
105
138
|
],
|
|
106
|
-
default: ['{body}。…よくがんばったね。'],
|
|
107
139
|
},
|
|
108
140
|
},
|
|
109
141
|
en: {
|
|
@@ -112,38 +144,66 @@ const BANK = {
|
|
|
112
144
|
"Hey! {body} again?! ...Don't just sit there — fix it!",
|
|
113
145
|
'Seriously? {body}. Clean it up, now.',
|
|
114
146
|
"I-it's not like I was worried, but... {body}. Deal with it.",
|
|
147
|
+
'{body}. ...Ugh, what were you even looking at? Fix it.',
|
|
148
|
+
"Fine, {body}. ...I'll watch over your shoulder, so hurry up.",
|
|
149
|
+
'{body}, huh. ...Figures. Stop dawdling and fix it.',
|
|
150
|
+
],
|
|
151
|
+
T2: [
|
|
152
|
+
'...{body}. It needs your call. Hurry up and decide already.',
|
|
153
|
+
"Hey, {body}. ...Don't ask me — decide it yourself.",
|
|
154
|
+
"{body}. ...Still thinking? I hate waiting, you know.",
|
|
155
|
+
"{body}, okay? ...It's your move now. Get on with it.",
|
|
115
156
|
],
|
|
116
|
-
T2: ['...{body}. It needs your call. Hurry up and decide already.'],
|
|
117
157
|
T1: [
|
|
118
158
|
'Hmph. {body}. ...I did it without being asked, obviously.',
|
|
119
159
|
"{body}. ...Not that I did it for you or anything.",
|
|
160
|
+
"{body}, done. ...You don't have to thank me.",
|
|
161
|
+
'There, {body}. ...Obviously. This much is nothing.',
|
|
162
|
+
"{body}. ...Were you watching? I won't repeat myself.",
|
|
120
163
|
],
|
|
121
164
|
T0: [
|
|
122
165
|
"{body}... fine, that's passable. N-not that I'm impressed!",
|
|
123
166
|
'Hmph, {body}. ...A little better, I guess. Don’t let it go to your head.',
|
|
167
|
+
"{body}... not bad. ...That was a fluke, probably.",
|
|
168
|
+
"{body}. ...Okay okay, you did well. D-don't make a big deal of it.",
|
|
169
|
+
"Oh? {body}. ...A fluke or not, that'll do.",
|
|
170
|
+
],
|
|
171
|
+
default: [
|
|
172
|
+
'{body}. ...Get on with the next one.',
|
|
173
|
+
'{body}. ...Quit spacing out.',
|
|
124
174
|
],
|
|
125
|
-
default: ['{body}. ...Get on with the next one.'],
|
|
126
175
|
},
|
|
127
|
-
normal: { default: ['{body}.', "{body}. ...That's that."] },
|
|
176
|
+
normal: { default: ['{body}.', "{body}. ...That's that.", '{body}. ...Report over.'] },
|
|
128
177
|
dere: {
|
|
129
178
|
T3: [
|
|
130
179
|
"Oh no, {body}...! Are you okay? Don't panic — let's fix it together, okay?",
|
|
131
180
|
"{body}, huh... Don't be down. You've got this, I know it.",
|
|
181
|
+
"{body}... it's okay, we'll take it one step at a time. I'm right here.",
|
|
182
|
+
"Aw, {body}... take a breath, okay? No need to rush.",
|
|
132
183
|
],
|
|
133
184
|
T2: [
|
|
134
185
|
"Hey, {body}. ...I'll be right here waiting for your call.",
|
|
135
186
|
'{body}... take your time deciding, okay?',
|
|
187
|
+
"{body}, looks like. ...No rush — I'll wait for you.",
|
|
188
|
+
"{body}. ...Whatever you choose, I'm with you.",
|
|
136
189
|
],
|
|
137
190
|
T1: [
|
|
138
191
|
'{body}, all done. ...Nice work, you did great.',
|
|
139
192
|
"{body}. ...You really pulled it off. I'm proud of you.",
|
|
193
|
+
"{body}, done! ...Hehe, you're on a roll.",
|
|
194
|
+
'{body}. ...Yep, spot on. Keep it up, okay?',
|
|
140
195
|
],
|
|
141
196
|
T0: [
|
|
142
197
|
"{body}...! You did it! Amazing, amazing! I'm so happy for you!",
|
|
143
198
|
"Wow, {body}! That's incredible — good job!",
|
|
144
199
|
'Nice work. {body}... I always knew you could do it.',
|
|
200
|
+
"{body}...! Hehe, you really are amazing, you know that?",
|
|
201
|
+
"Yay, {body}! Let me be happy with you — you did so well!",
|
|
202
|
+
],
|
|
203
|
+
default: [
|
|
204
|
+
'{body}. ...You did your best, well done.',
|
|
205
|
+
"{body}. ...Good job, okay?",
|
|
145
206
|
],
|
|
146
|
-
default: ['{body}. ...You did your best, well done.'],
|
|
147
207
|
},
|
|
148
208
|
},
|
|
149
209
|
};
|