dsh-audiogen 0.4.17 → 0.4.18
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 +1 -0
- package/README.zh-CN.md +1 -0
- package/lib/client.js +933 -382
- package/lib/client.js.map +1 -1
- package/lib/index.js +941 -823
- package/package.json +1 -1
- package/src/client/AudioGenPanel.tsx +27 -3
- package/src/client/api.ts +43 -1
- package/src/client/locales.ts +2 -0
- package/src/client/voices-view.tsx +276 -0
- package/src/client/voices.module.css +251 -0
- package/src/protocol.ts +54 -1
- package/src/routes.ts +92 -1
- package/src/voice-manager.ts +2 -1
package/README.md
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
- **History with one-click restore**: prompt, config, model set *and the original audio* come back into the panel — no regeneration, no extra cost
|
|
22
22
|
- **Resource library**: auto-save generated audio (or opt in per run), organized by type — voices / music / SFX / TTS — with search, tags, rename, category moves, and full provenance (channel, model, voice id, prompt, params snapshot). Reuse a voice or music bed instead of regenerating
|
|
23
23
|
- **Agent tools**: `generate_audio` and `search_audio_library`, `manage_audio_voices` (vendor voice browsing/deletion), plus bundled session skills — the Agent can generate and find audio on demand
|
|
24
|
+
- **Panel voice management**: a «音色» tab in the AI 音频 panel — browse/filter vendor voices (language/keyword/source + official ElevenLabs shared-voice filters), preview, delete account-owned voices (confirmed) and backfill the chosen `voice_id` into the TTS form
|
|
24
25
|
- **Keys stay local**: API keys live in the local DSH settings document and generation is proxied by the local host; the browser and the Agent never touch plaintext credentials
|
|
25
26
|
|
|
26
27
|
## 📸 Screenshots
|
package/README.zh-CN.md
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
- **历史记录一键恢复**:prompt、配置、模型组合**以及当时的音频**全部回到面板——可直接试听/下载,无需重新生成、不额外消耗
|
|
22
22
|
- **资源库**:生成后可一键入库(或设置自动保存),按类型分目录——音色 voice / 音乐 music / 音效 sfx / TTS——支持搜索、标签、重命名、移动分类,并保留完整溯源(渠道、模型、voiceId、提示词、参数快照)。同款音色/配乐/音效直接复用,不必重复生成
|
|
23
23
|
- **Agent 工具**:`generate_audio`、`search_audio_library` 与 `manage_audio_voices`(厂商音色浏览/删除),并随包分发 TTS/音乐/音效/音色设计会话技能
|
|
24
|
+
- **面板音色管理**:AI 音频面板新增「音色」页 — 浏览/筛选厂商音色(语言/关键词/来源 + ElevenLabs 官方共享库筛选)、试听、删除账户自建音色(需确认)、一键把选定 `voice_id` 回填到 TTS 表单
|
|
24
25
|
- **密钥留在本机**:API 密钥存于本地 DSH 设置文档,生成请求由本地宿主代理转发,浏览器与 Agent 全程不接触明文密钥
|
|
25
26
|
|
|
26
27
|
## 📸 截图
|