@meetopenbot/fish-audio 1.2.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 CHANGED
@@ -4,27 +4,25 @@ Fish Audio specialist agent for OpenBot: MCP-backed voices, speech, transcriptio
4
4
 
5
5
  ## Features (MVP)
6
6
 
7
- - **Agent** — OpenAI + Fish Audio's official MCP (`https://api.fish.audio/mcp`)
8
- - **Auth** — API key, connected once for the whole workspace by a workspace owner
7
+ - **Agent** — Claude Haiku 5.5 (or an OpenAI model) + Fish Audio's official MCP (`https://api.fish.audio/mcp`)
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. Create an API key at [Fish Audio → API Keys](https://fish.audio/app/api-keys).
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:
18
16
  - id: "@meetopenbot/fish-audio"
19
17
  config:
20
- model: openai/gpt-6-luna
18
+ model: anthropic/claude-haiku-5-5
21
19
  ```
22
20
 
23
- Connect the key 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 key for the whole workspace, and only a workspace owner can connect it. Other members are asked to have an owner connect it. The key is checked before saving, stored encrypted by the runtime, and never shown again. Workspace variables are not used for it.
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
- On a self-hosted runtime you can instead set `FISH_API_KEY` in the runtime host's environment (not as a workspace variable).
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
- LLM calls use `OPENAI_API_KEY` when set (BYOK), otherwise OpenBot Credits.
25
+ LLM calls use `ANTHROPIC_API_KEY` (or `OPENAI_API_KEY` for OpenAI models) when set (BYOK), otherwise OpenBot Credits.
28
26
 
29
27
  ## Build
30
28
 
package/dist/index.js CHANGED
@@ -29,19 +29,15 @@ Reply in concise plain text. Lead with the outcome, then key details (voice name
29
29
  export const plugin = await defineMcpAgent({
30
30
  name: 'Fish Audio',
31
31
  description: 'Fish Audio MCP-backed specialist agent for voices, speech, transcription, and media',
32
- models: { providers: ['openai'], default: 'openai/gpt-6-luna' },
32
+ models: { providers: ['anthropic', 'openai'], default: 'anthropic/claude-haiku-5-5' },
33
33
  connection: {
34
- kind: 'apiKey',
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
- envKey: 'FISH_API_KEY',
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetopenbot/fish-audio",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Fish Audio MCP-backed specialist agent for OpenBot",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -19,7 +19,7 @@
19
19
  "dist"
20
20
  ],
21
21
  "dependencies": {
22
- "@meetopenbot/plugin-sdk": "^2.0.0"
22
+ "@meetopenbot/plugin-sdk": "^2.7.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^20.10.1",