agentvibes 5.13.1 → 5.15.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/.claude/audio/ui/CREDITS.txt +16 -16
- package/.claude/commands/agent-vibes-bmad-voices.md +117 -117
- package/.claude/commands/agent-vibes-rdp.md +24 -24
- package/.claude/config/audio-effects.cfg.sample +52 -52
- package/.claude/docs/TERMUX_SETUP.md +408 -408
- package/.claude/github-star-reminder.txt +1 -1
- package/.claude/hooks/kokoro-server.py +219 -219
- package/.claude/hooks/kokoro-tts.py +141 -141
- package/.claude/hooks/party-stage-roster.py +328 -328
- package/.claude/hooks/play-tts-kokoro.sh +7 -2
- package/.claude/hooks/play-tts-ssh-remote.sh +38 -3
- package/.claude/hooks/requirements.txt +6 -6
- package/.claude/hooks/soprano-gradio-synth.py +139 -139
- package/.claude/hooks/translator.py +237 -237
- package/.claude/hooks-windows/agentvibes-session-id.ps1 +83 -0
- package/.claude/hooks-windows/kokoro-server.py +219 -219
- package/.claude/hooks-windows/kokoro-tts.py +107 -107
- package/.claude/hooks-windows/play-tts.ps1 +112 -1
- package/.claude/hooks-windows/session-start-tts.ps1 +36 -0
- package/.claude/hooks-windows/soprano-gradio-synth.py +153 -153
- package/.claude/verbosity.txt +1 -1
- package/.clawdbot/README.md +105 -105
- package/CLAUDE.md +84 -176
- package/README.md +35 -2
- package/RELEASE_NOTES.md +139 -0
- package/WINDOWS-SETUP.md +208 -208
- package/bin/agent-vibes +39 -39
- package/bin/mcp-server.js +121 -121
- package/bin/test-bmad-pr +78 -78
- package/mcp-server/QUICK_START.md +203 -203
- package/mcp-server/README.md +345 -345
- package/mcp-server/examples/claude_desktop_config.json +11 -11
- package/mcp-server/examples/claude_desktop_config_piper.json +9 -9
- package/mcp-server/examples/custom_instructions.md +169 -169
- package/mcp-server/install-deps.js +12 -2
- package/mcp-server/server.py +2111 -2085
- package/mcp-server/test_mcp_correctness.py +504 -504
- package/mcp-server/test_windows_script_parity.py +339 -339
- package/package.json +6 -3
- package/setup-ssh-receiver.ps1 +259 -0
- package/setup-windows.ps1 +39 -29
- package/src/cli/list-personalities.js +110 -110
- package/src/commands/bmad-voices.js +394 -394
- package/src/console/brand-colors.js +13 -13
- package/src/console/constants/personalities.js +44 -44
- package/src/console/tabs/agents-tab.js +14 -4
- package/src/console/tabs/help-tab.js +314 -314
- package/src/console/tabs/readme-tab.js +272 -272
- package/src/console/tabs/settings-tab.js +31 -6
- package/src/console/tabs/setup-tab.js +154 -32
- package/src/console/tabs/voices-tab.js +48 -6
- package/src/console/widgets/destroy-list.js +25 -25
- package/src/console/widgets/notice.js +55 -55
- package/src/installer/language-screen.js +31 -31
- package/src/installer/music-file-input.js +304 -304
- package/src/installer.js +98 -37
- package/src/services/language-service.js +47 -47
- package/src/services/llm-provider-service.js +4 -1
- package/src/services/provider-voice-catalog.js +9 -5
- package/src/utils/audio-format-validator.js +277 -277
- package/src/utils/dependency-checker.js +469 -469
- package/src/utils/file-ownership-verifier.js +358 -358
- package/src/utils/music-file-validator.js +285 -285
- package/src/utils/preview-list-prompt.js +144 -144
- package/src/utils/secure-music-storage.js +412 -412
- package/templates/agentvibes-receiver.ps1 +311 -0
- package/templates/agentvibes-receiver.sh +297 -297
- package/voice-assignments.json +8244 -8244
- package/.agentvibes/config.json +0 -17
- package/.agentvibes/install-manifest.json +0 -362
- package/.claude/config/audio-effects.cfg +0 -7
- package/.claude/config/audio-effects.cfg.bak-kokoro +0 -7
- package/.claude/config/background-music-enabled.txt +0 -1
- package/.claude/config/background-music-position.txt +0 -27
- package/.claude/config/background-music-volume.txt +0 -1
- package/.claude/config/background-music.cfg +0 -1
- package/.claude/config/background-music.txt +0 -1
- package/.claude/config/language.txt +0 -1
- package/.claude/config/personality.txt +0 -1
- package/.claude/config/reverb-level.txt +0 -1
- package/.claude/config/tts-speech-rate.txt +0 -1
- package/.claude/config/tts-verbosity.txt +0 -1
- package/.claude/hooks-windows/audio-cache-utils.ps1.user.bak +0 -119
- package/.claude/hooks-windows/soprano-gradio-synth.py.user.bak +0 -153
package/.agentvibes/config.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"setupCompleted": true,
|
|
3
|
-
"thumbsUp": [
|
|
4
|
-
"en_US-libritts-high::Oscar-9",
|
|
5
|
-
"en_US-libritts-high::Adam-10"
|
|
6
|
-
],
|
|
7
|
-
"favorites": [
|
|
8
|
-
"en_US-libritts-high::Oscar-9",
|
|
9
|
-
"en_US-libritts-high::Adam-10"
|
|
10
|
-
],
|
|
11
|
-
"backgroundMusic": {
|
|
12
|
-
"enabled": false
|
|
13
|
-
},
|
|
14
|
-
"ttsEngine": "elevenlabs",
|
|
15
|
-
"language": "en",
|
|
16
|
-
"voice": "en_US-libritts-high::Adam-12"
|
|
17
|
-
}
|
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 1,
|
|
3
|
-
"updatedAt": "2026-07-17T00:32:32.372Z",
|
|
4
|
-
"files": {
|
|
5
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\audio-cache-utils.ps1": {
|
|
6
|
-
"hash": "e7a9faa4ae7bae12815564739ea27f1b2956b1738680f660b5f3a4548c18ea92",
|
|
7
|
-
"installedAt": "2026-07-17T00:32:31.612Z"
|
|
8
|
-
},
|
|
9
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\audio-processor.ps1": {
|
|
10
|
-
"hash": "24d16cdd0c5530cbf63ba4876a87264df2ffa1ee2faa7dcbc7b1a8d146216641",
|
|
11
|
-
"installedAt": "2026-07-17T00:32:31.613Z"
|
|
12
|
-
},
|
|
13
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\background-music-manager.ps1": {
|
|
14
|
-
"hash": "59ae0e0d9ba42f4dcd85d4401cc4478c1e063f64bb5a1e3805e6493b2dc8f423",
|
|
15
|
-
"installedAt": "2026-07-17T00:32:31.614Z"
|
|
16
|
-
},
|
|
17
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\bmad-party-speak.ps1": {
|
|
18
|
-
"hash": "0778c34473dc2cf305d1886cdf2f9acb738bce5f1cb5b96e7f9f41443bfe010e",
|
|
19
|
-
"installedAt": "2026-07-17T00:32:31.615Z"
|
|
20
|
-
},
|
|
21
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\bmad-speak.ps1": {
|
|
22
|
-
"hash": "13e2a1f68d12ff454f5125112fbf78472415262f8415435c6d365a67e15a2978",
|
|
23
|
-
"installedAt": "2026-07-17T00:32:31.616Z"
|
|
24
|
-
},
|
|
25
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\clean-audio-cache.ps1": {
|
|
26
|
-
"hash": "df7f94f388336ea99420743409d22f8c54778db651a73ac084cdad549347dde1",
|
|
27
|
-
"installedAt": "2026-07-17T00:32:31.617Z"
|
|
28
|
-
},
|
|
29
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\download-extra-voices.ps1": {
|
|
30
|
-
"hash": "9f4d2b16b31daad985d91aba9352c98fc4b18f143d66a2429a544f07f432d0e5",
|
|
31
|
-
"installedAt": "2026-07-17T00:32:31.618Z"
|
|
32
|
-
},
|
|
33
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\effects-manager.ps1": {
|
|
34
|
-
"hash": "d10a393e6545141374b4f8389e9b9c541de237e9294bd9603197239ced93b642",
|
|
35
|
-
"installedAt": "2026-07-17T00:32:31.619Z"
|
|
36
|
-
},
|
|
37
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\language-manager.ps1": {
|
|
38
|
-
"hash": "c57f456936091324824659108522669c23be62d225ce4ae9157e1991c84d48c6",
|
|
39
|
-
"installedAt": "2026-07-17T00:32:31.622Z"
|
|
40
|
-
},
|
|
41
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\learn-manager.ps1": {
|
|
42
|
-
"hash": "914a7736548d45eb60652807cb69bb6448187741d73ba139b984bd380565c329",
|
|
43
|
-
"installedAt": "2026-06-24T22:53:14.078Z"
|
|
44
|
-
},
|
|
45
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\personality-manager.ps1": {
|
|
46
|
-
"hash": "a26c2e4f82b77d347b300232cc044e36a77ddf5dc9f5dd2a43d478f077a5da9c",
|
|
47
|
-
"installedAt": "2026-07-17T00:32:31.622Z"
|
|
48
|
-
},
|
|
49
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-piper.ps1": {
|
|
50
|
-
"hash": "73c1f61e9a7e99f1db487711742a8b2327fd9bc9505886edddc8d27766bf5a69",
|
|
51
|
-
"installedAt": "2026-07-17T00:32:31.624Z"
|
|
52
|
-
},
|
|
53
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-sapi.ps1": {
|
|
54
|
-
"hash": "ac0269715b981b9b3c05089423147a9f60576191685de00167ea11c52884731f",
|
|
55
|
-
"installedAt": "2026-07-17T00:32:31.625Z"
|
|
56
|
-
},
|
|
57
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-soprano.ps1": {
|
|
58
|
-
"hash": "0fff6a8c6f36d1c91b12e54b19803d0fea6f112de24ef39896c69e4aae983dff",
|
|
59
|
-
"installedAt": "2026-07-17T00:32:31.626Z"
|
|
60
|
-
},
|
|
61
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-termux-ssh.ps1": {
|
|
62
|
-
"hash": "6eb214246bc2af599c70d157246ca2d44410408ac248ed83f56f1f725d5e5e42",
|
|
63
|
-
"installedAt": "2026-07-17T00:32:31.627Z"
|
|
64
|
-
},
|
|
65
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-windows-piper.ps1": {
|
|
66
|
-
"hash": "c2793071c1b09b5b76232e7a30954c59533b395a8855657a799ef8a1f4f1b34f",
|
|
67
|
-
"installedAt": "2026-07-17T00:32:31.628Z"
|
|
68
|
-
},
|
|
69
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-windows-sapi.ps1": {
|
|
70
|
-
"hash": "7b8c3e84fae31308ebb3185350e800e85c2c295c0c45cfb20609d080494e8569",
|
|
71
|
-
"installedAt": "2026-07-17T00:32:31.629Z"
|
|
72
|
-
},
|
|
73
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts.ps1": {
|
|
74
|
-
"hash": "546abe8d562ec4b9db0bf62eab95397a541a056f09ed22c0b436dff4550f4676",
|
|
75
|
-
"installedAt": "2026-07-17T00:32:31.629Z"
|
|
76
|
-
},
|
|
77
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\provider-manager.ps1": {
|
|
78
|
-
"hash": "680015a052a984c6eaf844b5a65a5abe65c53dc22155b60657c78dc2003cf485",
|
|
79
|
-
"installedAt": "2026-07-17T00:32:31.631Z"
|
|
80
|
-
},
|
|
81
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\session-start-tts.ps1": {
|
|
82
|
-
"hash": "81bc5eeebba55359a32c6fdcca2830c4be72bc930e12695f1f9fd92ecac9d107",
|
|
83
|
-
"installedAt": "2026-07-17T00:32:31.632Z"
|
|
84
|
-
},
|
|
85
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\soprano-gradio-synth.py": {
|
|
86
|
-
"hash": "19ec54476af7168ea14f256ab72af7e56fc92b7dedbb73a4d9983fd2cac7c6a1",
|
|
87
|
-
"installedAt": "2026-07-17T00:32:31.634Z"
|
|
88
|
-
},
|
|
89
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\speed-manager.ps1": {
|
|
90
|
-
"hash": "731914378571be814425438ea9484430b7bc033e25d714bb1f7c1cbc0d3137f2",
|
|
91
|
-
"installedAt": "2026-07-17T00:32:31.635Z"
|
|
92
|
-
},
|
|
93
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\tts-watcher.ps1": {
|
|
94
|
-
"hash": "54a0f161f5296d35a823d8b2d9ad0008b85bb78d127d42b0db0952f800d73880",
|
|
95
|
-
"installedAt": "2026-07-17T00:32:31.635Z"
|
|
96
|
-
},
|
|
97
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\verbosity-manager.ps1": {
|
|
98
|
-
"hash": "4c62bdbe6c8d9926100ba5a33a903d143c091f90eb55033b3308507cf77c873c",
|
|
99
|
-
"installedAt": "2026-07-17T00:32:31.636Z"
|
|
100
|
-
},
|
|
101
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\voice-manager-windows.ps1": {
|
|
102
|
-
"hash": "09174dd6591f00af676b8a68718155fa5b6b5cba5206d6cf0f8f314a1750c005",
|
|
103
|
-
"installedAt": "2026-07-17T00:32:31.638Z"
|
|
104
|
-
},
|
|
105
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\add.md": {
|
|
106
|
-
"hash": "bd3daaa8a3ef7dc1c705db8340b80ec34ad63af8063718b5056e251138d8d03a",
|
|
107
|
-
"installedAt": "2026-07-17T00:32:31.592Z"
|
|
108
|
-
},
|
|
109
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\agent-vibes.md": {
|
|
110
|
-
"hash": "38477538c4f015c0e2014ca2f1ee6f751a61541ac2bcdfa6a3ed212b567e9105",
|
|
111
|
-
"installedAt": "2026-07-17T00:32:31.593Z"
|
|
112
|
-
},
|
|
113
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\agent.md": {
|
|
114
|
-
"hash": "98e3cbd512678f9a622a93b8aae420abfe08829a4fd5ac27b238a2ff211ac23b",
|
|
115
|
-
"installedAt": "2026-07-17T00:32:31.593Z"
|
|
116
|
-
},
|
|
117
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\background-music.md": {
|
|
118
|
-
"hash": "21495a8fd1de53707a7f501a02eb79ef6933cf95e69a475bd1f92dbd8c645599",
|
|
119
|
-
"installedAt": "2026-07-17T00:32:31.594Z"
|
|
120
|
-
},
|
|
121
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\bmad.md": {
|
|
122
|
-
"hash": "42b56448eee2bceafc2788bb5f39de0b5f06d37d681f8b99073bd89695ad1704",
|
|
123
|
-
"installedAt": "2026-07-17T00:32:31.594Z"
|
|
124
|
-
},
|
|
125
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\clean.md": {
|
|
126
|
-
"hash": "e52b75db5d5a1e8982c3649ab87b511a958d7249708c9c3461ec86325e5d37f8",
|
|
127
|
-
"installedAt": "2026-07-17T00:32:31.595Z"
|
|
128
|
-
},
|
|
129
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\cleanup.md": {
|
|
130
|
-
"hash": "f341bacd736bdbd508f7368a8489a8eb30c0ad807cd7783bc972f8aad8fa0ca7",
|
|
131
|
-
"installedAt": "2026-07-17T00:32:31.595Z"
|
|
132
|
-
},
|
|
133
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\commands.json": {
|
|
134
|
-
"hash": "5baed6863ca88eeab4c4ad8f85493dc3d636a6da5b33a59913b67dcbd710b719",
|
|
135
|
-
"installedAt": "2026-07-17T00:32:31.596Z"
|
|
136
|
-
},
|
|
137
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\effects.md": {
|
|
138
|
-
"hash": "c7df70141beead591e2bcd1e6a68913ab58e15580d62a4bedd3fc336ac6646da",
|
|
139
|
-
"installedAt": "2026-07-17T00:32:31.596Z"
|
|
140
|
-
},
|
|
141
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\get.md": {
|
|
142
|
-
"hash": "197611671de8163d0e3b519d199eaceb8a57c3c3a1e08cc0e8d6f2feaa9caf67",
|
|
143
|
-
"installedAt": "2026-07-17T00:32:31.596Z"
|
|
144
|
-
},
|
|
145
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\hide.md": {
|
|
146
|
-
"hash": "80ac0970d257d8774f14ce7eb0e82f6bc281db35b81d6fa02e1f3489748f6baa",
|
|
147
|
-
"installedAt": "2026-07-17T00:32:31.597Z"
|
|
148
|
-
},
|
|
149
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\language.md": {
|
|
150
|
-
"hash": "94808a41f74907fc971a571379c76699da79f753ace461d7044547e29af8b796",
|
|
151
|
-
"installedAt": "2026-06-24T22:53:14.112Z"
|
|
152
|
-
},
|
|
153
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\learn.md": {
|
|
154
|
-
"hash": "f3ef20f6180ccd621bcbed03a437cb97dd12eb25fa650a0e3f298047f3f98112",
|
|
155
|
-
"installedAt": "2026-06-24T22:53:14.112Z"
|
|
156
|
-
},
|
|
157
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\list.md": {
|
|
158
|
-
"hash": "6fcbe3a38c16c823c2296595c7a0fc635ddbeb8539eacbcc5ea54cf3270b2377",
|
|
159
|
-
"installedAt": "2026-07-17T00:32:31.597Z"
|
|
160
|
-
},
|
|
161
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\mute.md": {
|
|
162
|
-
"hash": "7920d44b03dc402d6f42ec74921ec334bdce256a8be6bc540d91fe086f8b23fe",
|
|
163
|
-
"installedAt": "2026-07-17T00:32:31.598Z"
|
|
164
|
-
},
|
|
165
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\personality.md": {
|
|
166
|
-
"hash": "1722d7c69794ef817e94e3c706f21aaa5e3ec8ea8f2c66f6c570670dae81aa74",
|
|
167
|
-
"installedAt": "2026-07-17T00:32:31.598Z"
|
|
168
|
-
},
|
|
169
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\preview.md": {
|
|
170
|
-
"hash": "86ca6cbb47a45bdcc91d8e13fce08d49935364e07834296583e27f6cadc6d903",
|
|
171
|
-
"installedAt": "2026-07-17T00:32:31.599Z"
|
|
172
|
-
},
|
|
173
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\provider.md": {
|
|
174
|
-
"hash": "c4e6c9126a5ebbebeed6922f0cd644c8de3aa6400ad122e13b51fe4565a9459e",
|
|
175
|
-
"installedAt": "2026-07-17T00:32:31.599Z"
|
|
176
|
-
},
|
|
177
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\replay-target.md": {
|
|
178
|
-
"hash": "5f4f5da3bd968dd8d13df9988ade88eeaae9536bc503c33d847198b6a5b96c68",
|
|
179
|
-
"installedAt": "2026-06-24T22:53:14.115Z"
|
|
180
|
-
},
|
|
181
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\replay.md": {
|
|
182
|
-
"hash": "1b561f9ba3ce5ec07007e98fe76eb78e726f2b95615204d0dec6e07bbb6e21f4",
|
|
183
|
-
"installedAt": "2026-07-17T00:32:31.600Z"
|
|
184
|
-
},
|
|
185
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\sample.md": {
|
|
186
|
-
"hash": "48b6c99c007524bbfc1010c7bbebc676dcdfd48a74784d66cbabf1d6bc7db0c8",
|
|
187
|
-
"installedAt": "2026-07-17T00:32:31.601Z"
|
|
188
|
-
},
|
|
189
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\sentiment.md": {
|
|
190
|
-
"hash": "7c92333484b2c80a46f778a9e0860bb9f1086271a2e6eae41bd96482f214d593",
|
|
191
|
-
"installedAt": "2026-07-17T00:32:31.601Z"
|
|
192
|
-
},
|
|
193
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\set-favorite-voice.md": {
|
|
194
|
-
"hash": "9662a5c080c703a1a1e79195133a9ccbfbf074c2fe8c84297cd7a35b8be810af",
|
|
195
|
-
"installedAt": "2026-07-17T00:32:31.601Z"
|
|
196
|
-
},
|
|
197
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\set-language.md": {
|
|
198
|
-
"hash": "95354538191c97124721e6aa7d90915b4e2018050112c0937091b5107a5c8246",
|
|
199
|
-
"installedAt": "2026-07-17T00:32:31.602Z"
|
|
200
|
-
},
|
|
201
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\set-pretext.md": {
|
|
202
|
-
"hash": "31388d03a8145481b4f9fcd6bd6f2bb24124d039ae97ba8b51feaf1dfc845f10",
|
|
203
|
-
"installedAt": "2026-07-17T00:32:31.602Z"
|
|
204
|
-
},
|
|
205
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\set-speed.md": {
|
|
206
|
-
"hash": "9513f877200d0faf86f8c19fc26b2c2b87b856d9e86bd30154f18648d09c305c",
|
|
207
|
-
"installedAt": "2026-07-17T00:32:31.603Z"
|
|
208
|
-
},
|
|
209
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\show.md": {
|
|
210
|
-
"hash": "5dcc027996e3520555f23eaea5f5da42d7cd6ea45a009c26372e96a60847c61e",
|
|
211
|
-
"installedAt": "2026-07-17T00:32:31.603Z"
|
|
212
|
-
},
|
|
213
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\switch.md": {
|
|
214
|
-
"hash": "192038da652af01cd54a8ad0bc2dbcd48ac4059ac43c2a4df839e4909820403b",
|
|
215
|
-
"installedAt": "2026-07-17T00:32:31.604Z"
|
|
216
|
-
},
|
|
217
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\target-voice.md": {
|
|
218
|
-
"hash": "9c3ac8d1249ae8fc8014b21a9e785bcb4b69e9e65f3869c91b396b4d95e288fb",
|
|
219
|
-
"installedAt": "2026-06-24T22:53:14.120Z"
|
|
220
|
-
},
|
|
221
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\target.md": {
|
|
222
|
-
"hash": "634dfbc6ec274179d58fb0fe9e6281b07ee7c20cd9f9bf02e00c8e920e8b83c4",
|
|
223
|
-
"installedAt": "2026-06-24T22:53:14.121Z"
|
|
224
|
-
},
|
|
225
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\translate.md": {
|
|
226
|
-
"hash": "bbc8a9488ec71c03b9bcdc6db1da771331ddd6c97ad851b99a7985d874ff6884",
|
|
227
|
-
"installedAt": "2026-07-17T00:32:31.604Z"
|
|
228
|
-
},
|
|
229
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\unmute.md": {
|
|
230
|
-
"hash": "c5531d2684ebd9a7dd4ff5940a08c759fc7508cfdcd079424d0be30d2b43039e",
|
|
231
|
-
"installedAt": "2026-07-17T00:32:31.604Z"
|
|
232
|
-
},
|
|
233
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\update.md": {
|
|
234
|
-
"hash": "bc1022c7d70cbd6b9b0ad69806e8206cb70b446711db6147d7447d99639e2b6e",
|
|
235
|
-
"installedAt": "2026-07-17T00:32:31.605Z"
|
|
236
|
-
},
|
|
237
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\verbosity.md": {
|
|
238
|
-
"hash": "d56647186ce6540c8ae48fd2e8f5ede040743f09f6a2bc372ccc5de28946bd40",
|
|
239
|
-
"installedAt": "2026-07-17T00:32:31.605Z"
|
|
240
|
-
},
|
|
241
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\version.md": {
|
|
242
|
-
"hash": "bbc5ba5abaf44af6893e3232791268fd4d9f80d68bac0b95bfbec3cf44869e4f",
|
|
243
|
-
"installedAt": "2026-07-17T00:32:31.606Z"
|
|
244
|
-
},
|
|
245
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\whoami.md": {
|
|
246
|
-
"hash": "04909e3350e9ccb5886067edc19b37597f846a2bfb1502c1286e33fb6895ba23",
|
|
247
|
-
"installedAt": "2026-07-17T00:32:31.606Z"
|
|
248
|
-
},
|
|
249
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\angry.md": {
|
|
250
|
-
"hash": "fb1711508b4d42dbfc15f57175dcb0f2da4fac034b68659dacc0991a72afc795",
|
|
251
|
-
"installedAt": "2026-07-17T00:32:32.352Z"
|
|
252
|
-
},
|
|
253
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\annoying.md": {
|
|
254
|
-
"hash": "ced090e4e5696b8c06ee605a701a6f5c3e7d90ff9850915eca1e5b682eabcaf1",
|
|
255
|
-
"installedAt": "2026-07-17T00:32:32.353Z"
|
|
256
|
-
},
|
|
257
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\crass.md": {
|
|
258
|
-
"hash": "46a51249e60c41bdf2046903b83965f6265bf34445812ac425601fbfab8660bb",
|
|
259
|
-
"installedAt": "2026-07-17T00:32:32.354Z"
|
|
260
|
-
},
|
|
261
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\dramatic.md": {
|
|
262
|
-
"hash": "68864221d652dc95055a60f005400ea5e0c2b38c4c75f16d7299a1582d8fed6e",
|
|
263
|
-
"installedAt": "2026-07-17T00:32:32.355Z"
|
|
264
|
-
},
|
|
265
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\dry-humor.md": {
|
|
266
|
-
"hash": "ec1dbfbb525f1b7e641a911bbcba3649ef70880adaa01c0b281c4580bae63365",
|
|
267
|
-
"installedAt": "2026-07-17T00:32:32.356Z"
|
|
268
|
-
},
|
|
269
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\flirty.md": {
|
|
270
|
-
"hash": "328ea5a06bf9b9569825922924ae51f7f0b1b3985001ea273a8a9bacf2e02615",
|
|
271
|
-
"installedAt": "2026-07-17T00:32:32.357Z"
|
|
272
|
-
},
|
|
273
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\funny.md": {
|
|
274
|
-
"hash": "a68efc479819b11c6dfda43f3b290f51740cdfa938c4e3e3e96bd0d656f63fa3",
|
|
275
|
-
"installedAt": "2026-07-17T00:32:32.358Z"
|
|
276
|
-
},
|
|
277
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\grandpa.md": {
|
|
278
|
-
"hash": "3a2dff1e4d8b121cdcb6fe4c745a9fac5d254156a3658a309319056af9fce42c",
|
|
279
|
-
"installedAt": "2026-07-17T00:32:32.359Z"
|
|
280
|
-
},
|
|
281
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\millennial.md": {
|
|
282
|
-
"hash": "f69dfa3958153c82ed62fb940360c74beaa8d71ef13d41f32500e9f58fca346c",
|
|
283
|
-
"installedAt": "2026-07-17T00:32:32.360Z"
|
|
284
|
-
},
|
|
285
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\moody.md": {
|
|
286
|
-
"hash": "5d4e6278ef0d453d64ad4b940667ddad1d59aa9f327ae0a11227085e22690884",
|
|
287
|
-
"installedAt": "2026-07-17T00:32:32.361Z"
|
|
288
|
-
},
|
|
289
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\normal.md": {
|
|
290
|
-
"hash": "25a209d55a7e752c21cc10688349f1602e769b436639c28850db5c5fd431570f",
|
|
291
|
-
"installedAt": "2026-07-17T00:32:32.362Z"
|
|
292
|
-
},
|
|
293
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\pirate.md": {
|
|
294
|
-
"hash": "e529aa181574a341bb511dc87929116df112ce21b575726a3f0521406da07cf4",
|
|
295
|
-
"installedAt": "2026-07-17T00:32:32.363Z"
|
|
296
|
-
},
|
|
297
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\poetic.md": {
|
|
298
|
-
"hash": "57e2506800cdb647fc9f42a904d7da1e5e5b72cf0491fd2527907b64d943bc29",
|
|
299
|
-
"installedAt": "2026-07-17T00:32:32.363Z"
|
|
300
|
-
},
|
|
301
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\professional.md": {
|
|
302
|
-
"hash": "e89d6bb62eda126e8c5d9d0cc7bf4b9cced7a641b6ea626d0a3d8c93b3e18af3",
|
|
303
|
-
"installedAt": "2026-07-17T00:32:32.365Z"
|
|
304
|
-
},
|
|
305
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\rapper.md": {
|
|
306
|
-
"hash": "322f36183ddc583306b21a008de469dd116b76f042eeb3dc0dbd4cda42f94dfd",
|
|
307
|
-
"installedAt": "2026-07-17T00:32:32.366Z"
|
|
308
|
-
},
|
|
309
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\robot.md": {
|
|
310
|
-
"hash": "f4a05b06ebe7c86c4120f36ad077b1edcbdbe9e25662d7f58817faa656e7361b",
|
|
311
|
-
"installedAt": "2026-07-17T00:32:32.367Z"
|
|
312
|
-
},
|
|
313
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\sarcastic.md": {
|
|
314
|
-
"hash": "2ce5689b090ea58b8356ca703c0376713cf74a83ab86c19e599611fe82ad9b1a",
|
|
315
|
-
"installedAt": "2026-07-17T00:32:32.368Z"
|
|
316
|
-
},
|
|
317
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\sassy.md": {
|
|
318
|
-
"hash": "e069c093fdc1d7d6bd80c2db8600caea1d4a8a14d89e818101d4ef4514582b52",
|
|
319
|
-
"installedAt": "2026-07-17T00:32:32.369Z"
|
|
320
|
-
},
|
|
321
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\surfer-dude.md": {
|
|
322
|
-
"hash": "adc1270e42e661a33d1344be2477c92becdb1bb97da46a7eb30dcca5e36d6afc",
|
|
323
|
-
"installedAt": "2026-07-17T00:32:32.371Z"
|
|
324
|
-
},
|
|
325
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\personalities\\zen.md": {
|
|
326
|
-
"hash": "cbf56fb5b16fa05024353646ad77615483e9ffe8ac550d1e3a66860e9370189a",
|
|
327
|
-
"installedAt": "2026-07-17T00:32:32.372Z"
|
|
328
|
-
},
|
|
329
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\kokoro-server.py": {
|
|
330
|
-
"hash": "d507e60e30c6718676954f29a477574e56a17ba6e7620c4b525d36db40b999e1",
|
|
331
|
-
"installedAt": "2026-07-17T00:32:31.620Z"
|
|
332
|
-
},
|
|
333
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\kokoro-tts.py": {
|
|
334
|
-
"hash": "03615bd5ea382d417bf1a45d1338c8ffa550c7682e5a66aaad88d4e1db6f5e67",
|
|
335
|
-
"installedAt": "2026-07-17T00:32:31.621Z"
|
|
336
|
-
},
|
|
337
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\play-tts-kokoro.ps1": {
|
|
338
|
-
"hash": "f09a158b3f01eafa0df60e461564cebf9a95ca4f22bb2aa1ff9e1fd81e19257d",
|
|
339
|
-
"installedAt": "2026-07-17T00:32:31.623Z"
|
|
340
|
-
},
|
|
341
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\commands\\agent-vibes\\receiver.md": {
|
|
342
|
-
"hash": "6f141f05f5da6221ae876c1c289d72cc3a82fbaad589e336c30bd8bf261fc848",
|
|
343
|
-
"installedAt": "2026-07-17T00:32:31.600Z"
|
|
344
|
-
},
|
|
345
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\hooks-windows\\provider-catalog.ps1": {
|
|
346
|
-
"hash": "ee0d613b80389258d4ed54a07c7c967f0e192540ceca71476e760a3d1f35fbee",
|
|
347
|
-
"installedAt": "2026-07-17T00:32:31.630Z"
|
|
348
|
-
},
|
|
349
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\agentvibes-resolver\\bin\\resolve-utterance.js": {
|
|
350
|
-
"hash": "212879bef603d263bc8d590e7aa903fe9e7c111d727a1d1f98816a64188429c3",
|
|
351
|
-
"installedAt": "2026-07-17T00:32:31.650Z"
|
|
352
|
-
},
|
|
353
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\agentvibes-resolver\\src\\services\\utterance-resolver.js": {
|
|
354
|
-
"hash": "13fb3c3f722cf8039b725352a121896f75cc428e23f11ca4417fe0106ff6f201",
|
|
355
|
-
"installedAt": "2026-07-17T00:32:31.651Z"
|
|
356
|
-
},
|
|
357
|
-
"C:\\Users\\Paul\\AgentVibes\\.claude\\agentvibes-resolver\\src\\services\\utterance-loader.js": {
|
|
358
|
-
"hash": "b10f0ba290904673273c3155c7376e4112e4dc1b3a6e5fb5ccb7caa6bbd07d85",
|
|
359
|
-
"installedAt": "2026-07-17T00:32:31.653Z"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
default||agent_vibes_arabic_v2_loop.mp3|0.30
|
|
2
|
-
|
|
3
|
-
llm:default|light||0.20|en_US-lessac-high||piper
|
|
4
|
-
llm:claude-code|light|agent_vibes_chillwave_v2_loop.mp3|0.20|en_US-lessac-high||piper
|
|
5
|
-
llm:copilot|light|agent_vibes_bossa_nova_v2_loop.mp3|0.20|en_US-libritts-high::Anna-11||piper
|
|
6
|
-
llm:codex|light|agent_vibes_chillwave_v2_loop.mp3|0.20|en_US-lessac-high||piper
|
|
7
|
-
llm:hermes|light|agent_vibes_bachata_v1_loop.mp3|0.20|en_US-libritts-high::Leo-8||piper
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
llm:default|light||0.15|en_US-lessac-high||piper
|
|
3
|
-
llm:claude-code|light|agent_vibes_chillwave_v2_loop.mp3|0.05|af_river|Agent Vibes local here|kokoro
|
|
4
|
-
llm:copilot|light|agent_vibes_bossa_nova_v2_loop.mp3|0.15|en_US-libritts-high::Anna-11|Copilot here|piper
|
|
5
|
-
llm:codex|light|agent_vibes_chillwave_v2_loop.mp3|0.15|en_US-lessac-high|Codex here|piper
|
|
6
|
-
llm:hermes|light|agent_vibes_bachata_v1_loop.mp3|0.15|en_US-libritts-high::Leo-8|Hermes here|piper
|
|
7
|
-
default||agent_vibes_arabic_v2_loop.mp3|0.30
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
false
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
agent-vibes-dark-chill-step.mp3:49.006169
|
|
2
|
-
Agent Vibes Japanese City Pop v1.mp3:29.392744
|
|
3
|
-
Agent Vibes ChillWave v2.mp3:22.154467
|
|
4
|
-
Agent Vibes Bossa Nova v2.mp3:23.733424
|
|
5
|
-
Agent Vibes Tabla Dream Pop v1.mp3:19.101043
|
|
6
|
-
Agent Vibes Hawaiian slack key guitar v2.mp3:36.381950
|
|
7
|
-
AgentVibes Soft Flamenco.mp3:23.160000
|
|
8
|
-
Agent Vibes Arabic v2.mp3:21.922268
|
|
9
|
-
Agent Vibes Goa Trance v2.mp3:55.953741
|
|
10
|
-
Agent Vibes Ganawa Ambient v2.mp3:39.680205
|
|
11
|
-
Agent Vibes Celtic Harp v1.mp3:42.190476
|
|
12
|
-
Agent Vibes Harpsichord v2.mp3:21.739410
|
|
13
|
-
Agent Vibes Japanese City Pop v1-loop.mp3:13.917551
|
|
14
|
-
Agent Vibes Hawaiian slack key guitar v2-loop.mp3:12.977143
|
|
15
|
-
Agent Vibes Ganawa Ambient v2-loop.mp3:.00000000000000000002815996
|
|
16
|
-
Agent Vibes Tabla Dream Pop v1-loop.mp3:.00000000000000000009067943
|
|
17
|
-
Agent Vibes ChillWave v2-loop.mp3:.00000000000000000007080511
|
|
18
|
-
Agent Vibes Harpsichord v2-loop.mp3:.00000000000000000013140818
|
|
19
|
-
agent_vibes_bossa_nova_v2_loop.mp3:5.369524
|
|
20
|
-
agent_vibes_salsa_v2_loop.mp3:9.972790
|
|
21
|
-
agent_vibes_arabic_v2_loop.mp3:.00000000000000000006132724
|
|
22
|
-
agent_vibes_cumbia_v1_loop.mp3:.00000000000000000010256000
|
|
23
|
-
agent_vibes_bachata_v1_loop.mp3:5.125714
|
|
24
|
-
agent_vibes_chillwave_v2_loop.mp3:.00000000000000000003308191
|
|
25
|
-
Midnight Charleston Stomp.mp3:.00000000000000000010960000
|
|
26
|
-
agent_vibes_japanese_city_pop_v1_loop.mp3:11.702675
|
|
27
|
-
agentvibes_soft_flamenco_loop.mp3:9.589660
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.30
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
enabled
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
enabled
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
en
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
professional
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
light
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
high
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
#
|
|
2
|
-
# File: .claude/hooks-windows/audio-cache-utils.ps1
|
|
3
|
-
#
|
|
4
|
-
# AgentVibes Audio Cache Utilities for Windows
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
param(
|
|
8
|
-
[Parameter(Position = 0)]
|
|
9
|
-
[ValidateSet('cleanup', 'stats', 'clear')]
|
|
10
|
-
[string]$Command
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
# Detect project-local audio dir (same logic as TTS scripts)
|
|
14
|
-
$ScriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
15
|
-
$ProjectClaudeDir = Join-Path (Split-Path -Parent (Split-Path -Parent $ScriptPath)) ".claude"
|
|
16
|
-
if (Test-Path $ProjectClaudeDir) {
|
|
17
|
-
$AudioDir = "$ProjectClaudeDir\audio"
|
|
18
|
-
} else {
|
|
19
|
-
$AudioDir = "$env:USERPROFILE\.claude\audio"
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
function Ensure-AudioDir {
|
|
23
|
-
if (-not (Test-Path $AudioDir)) {
|
|
24
|
-
New-Item -ItemType Directory -Path $AudioDir -Force | Out-Null
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function Get-AudioCacheSize {
|
|
29
|
-
Ensure-AudioDir
|
|
30
|
-
|
|
31
|
-
if (-not (Test-Path $AudioDir)) {
|
|
32
|
-
return 0
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue
|
|
36
|
-
$totalSize = 0
|
|
37
|
-
|
|
38
|
-
foreach ($file in $files) {
|
|
39
|
-
$totalSize += $file.Length
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
return $totalSize
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function Format-FileSize {
|
|
46
|
-
param([long]$Size)
|
|
47
|
-
|
|
48
|
-
if ($Size -lt 1KB) { return "$Size B" }
|
|
49
|
-
if ($Size -lt 1MB) { return "{0:N2} KB" -f ($Size / 1KB) }
|
|
50
|
-
if ($Size -lt 1GB) { return "{0:N2} MB" -f ($Size / 1MB) }
|
|
51
|
-
return "{0:N2} GB" -f ($Size / 1GB)
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function Get-CacheStats {
|
|
55
|
-
Ensure-AudioDir
|
|
56
|
-
|
|
57
|
-
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum
|
|
58
|
-
|
|
59
|
-
$count = if ($files.Count -eq $null) { 0 } else { $files.Count }
|
|
60
|
-
$totalSize = if ($files.Sum -eq $null) { 0 } else { $files.Sum }
|
|
61
|
-
|
|
62
|
-
return @{
|
|
63
|
-
FileCount = $count
|
|
64
|
-
TotalSize = $totalSize
|
|
65
|
-
FormattedSize = Format-FileSize $totalSize
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
function Clear-Cache {
|
|
70
|
-
Ensure-AudioDir
|
|
71
|
-
|
|
72
|
-
$files = Get-ChildItem -Path $AudioDir -Filter "*.wav" -ErrorAction SilentlyContinue
|
|
73
|
-
|
|
74
|
-
if ($files.Count -eq 0) {
|
|
75
|
-
Write-Host "[OK] Cache already empty" -ForegroundColor Green
|
|
76
|
-
return
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
$stats = Get-CacheStats
|
|
80
|
-
Write-Host "[CLEANUP] Clearing $($stats.FileCount) audio files ($($stats.FormattedSize))" -ForegroundColor Yellow
|
|
81
|
-
|
|
82
|
-
foreach ($file in $files) {
|
|
83
|
-
Remove-Item $file.FullName -Force -ErrorAction SilentlyContinue
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
Write-Host "[OK] Cache cleared" -ForegroundColor Green
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
function Show-CacheStats {
|
|
90
|
-
Ensure-AudioDir
|
|
91
|
-
|
|
92
|
-
$stats = Get-CacheStats
|
|
93
|
-
|
|
94
|
-
Write-Host ""
|
|
95
|
-
Write-Host "[STATS] Audio Cache Statistics" -ForegroundColor Cyan
|
|
96
|
-
Write-Host " Location: $AudioDir"
|
|
97
|
-
Write-Host " Files: $($stats.FileCount)"
|
|
98
|
-
Write-Host " Total Size: $($stats.FormattedSize)"
|
|
99
|
-
Write-Host ""
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
# Main command routing
|
|
103
|
-
switch ($Command) {
|
|
104
|
-
'stats' {
|
|
105
|
-
Show-CacheStats
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
'cleanup' {
|
|
109
|
-
Clear-Cache
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
'clear' {
|
|
113
|
-
Clear-Cache
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
default {
|
|
117
|
-
Show-CacheStats
|
|
118
|
-
}
|
|
119
|
-
}
|