@meetopenbot/fish-audio 1.3.0 → 1.4.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 +4 -6
- package/dist/index.js +4 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,13 +5,11 @@ Fish Audio specialist agent for OpenBot: MCP-backed voices, speech, transcriptio
|
|
|
5
5
|
## Features (MVP)
|
|
6
6
|
|
|
7
7
|
- **Agent** — Claude Haiku 5.5 (or an OpenAI model) + Fish Audio's official MCP (`https://api.fish.audio/mcp`)
|
|
8
|
-
- **Auth** —
|
|
8
|
+
- **Auth** — sign in with Fish Audio (OAuth), once for the whole workspace by a workspace owner
|
|
9
9
|
|
|
10
10
|
## Setup
|
|
11
11
|
|
|
12
|
-
1.
|
|
13
|
-
|
|
14
|
-
2. Add the plugin to your agent's `AGENT.md`:
|
|
12
|
+
1. Add the plugin to your agent's `AGENT.md`:
|
|
15
13
|
|
|
16
14
|
```yaml
|
|
17
15
|
plugins:
|
|
@@ -20,9 +18,9 @@ plugins:
|
|
|
20
18
|
model: anthropic/claude-haiku-5-5
|
|
21
19
|
```
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
Sign in from the **Connect Fish Audio** card OpenBot shows the first time the agent runs, or from **Settings → Agents** (open the agent). It is a workspace account: one sign-in for the whole workspace, and only a workspace owner can connect it. Other members are asked to have an owner connect it. The runtime stores the tokens encrypted and refreshes them; if access is revoked in Fish Audio, the agent asks to sign in again.
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
The runtime must be reachable from your browser at its public URL, since Fish Audio sends you back there after signing in. API keys and `FISH_API_KEY` are no longer used.
|
|
26
24
|
|
|
27
25
|
LLM calls use `ANTHROPIC_API_KEY` (or `OPENAI_API_KEY` for OpenAI models) when set (BYOK), otherwise OpenBot Credits.
|
|
28
26
|
|
package/dist/index.js
CHANGED
|
@@ -31,17 +31,13 @@ export const plugin = await defineMcpAgent({
|
|
|
31
31
|
description: 'Fish Audio MCP-backed specialist agent for voices, speech, transcription, and media',
|
|
32
32
|
models: { providers: ['anthropic', 'openai'], default: 'anthropic/claude-haiku-5-5' },
|
|
33
33
|
connection: {
|
|
34
|
-
kind: '
|
|
34
|
+
kind: 'oauth',
|
|
35
35
|
id: 'fish-audio',
|
|
36
|
-
// One paid account and its credits, shared by the workspace.
|
|
36
|
+
// One paid account and its credits, shared by the workspace: an owner signs in once.
|
|
37
37
|
scope: 'workspace',
|
|
38
|
-
|
|
39
|
-
docsUrl: 'https://fish.audio/app/api-keys',
|
|
40
|
-
},
|
|
41
|
-
mcp: {
|
|
42
|
-
url: 'https://api.fish.audio/mcp',
|
|
43
|
-
headers: (apiKey) => ({ Authorization: `Bearer ${apiKey}` }),
|
|
38
|
+
label: 'Fish Audio account',
|
|
44
39
|
},
|
|
40
|
+
mcp: { url: 'https://api.fish.audio/mcp' },
|
|
45
41
|
system: SYSTEM_PROMPT,
|
|
46
42
|
maxSteps: 10,
|
|
47
43
|
history: true,
|