@fishaudio/agent-react 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +3 -7
  2. package/package.json +9 -10
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @fishaudio/agent-react
2
2
 
3
- React hooks and components for [Fish Audio](https://fish.audio) voice agents, built on [`@fishaudio/agent-client`](https://github.com/fishaudio/fish-agent-sdk-web/tree/main/packages/client).
3
+ React hooks and components for [Fish Audio](https://fish.audio) voice agents, built on [`@fishaudio/agent-client`](https://www.npmjs.com/package/@fishaudio/agent-client).
4
4
 
5
5
  ## Installation
6
6
 
@@ -39,10 +39,6 @@ The hook ends the session automatically when the component unmounts. Start calls
39
39
 
40
40
  ## Documentation
41
41
 
42
- - [React overview](https://github.com/fishaudio/fish-agent-sdk-web/blob/main/docs/react/README.md) — quickstart, Next.js.
43
- - [`useConversation`](https://github.com/fishaudio/fish-agent-sdk-web/blob/main/docs/react/useConversation.md) — session lifecycle as a hook.
44
- - [Provider](https://github.com/fishaudio/fish-agent-sdk-web/blob/main/docs/react/provider.md) — share one conversation across a component tree.
45
- - [`useAgentMessages`](https://github.com/fishaudio/fish-agent-sdk-web/blob/main/docs/react/useAgentMessages.md) — build a streaming chat UI.
46
- - [Audio visualization](https://github.com/fishaudio/fish-agent-sdk-web/blob/main/docs/react/audio-visualization.md) — `useAudioLevels` and `<AgentAudioVisualizer />`.
42
+ - [React SDK](https://docs.fish.audio/agents/deploy/react-sdk) — quickstart, Next.js, `useConversation`, the provider, `useAgentMessages`, and audio visualization.
47
43
 
48
- Authentication, events, client tools, and errors are documented with the [client SDK](https://github.com/fishaudio/fish-agent-sdk-web/blob/main/docs/README.md) — everything there applies here.
44
+ Authentication, events, client tools, and errors are documented with the [Web SDK](https://docs.fish.audio/agents/deploy/web-sdk) — everything there applies here.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishaudio/agent-react",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "React hooks and components for Fish Audio voice agents.",
5
5
  "keywords": [
6
6
  "fish-audio",
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/fishaudio/fish-agent-sdk-web.git",
17
17
  "directory": "packages/react"
18
18
  },
19
- "homepage": "https://github.com/fishaudio/fish-agent-sdk-web/tree/main/packages/react#readme",
19
+ "homepage": "https://docs.fish.audio/agents/deploy/react-sdk",
20
20
  "bugs": "https://github.com/fishaudio/fish-agent-sdk-web/issues",
21
21
  "type": "module",
22
22
  "sideEffects": false,
@@ -46,14 +46,8 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "scripts": {
50
- "build": "tsup",
51
- "prepublishOnly": "pnpm build",
52
- "test": "vitest run",
53
- "typecheck": "tsc --noEmit"
54
- },
55
49
  "dependencies": {
56
- "@fishaudio/agent-client": "workspace:^"
50
+ "@fishaudio/agent-client": "^0.2.1"
57
51
  },
58
52
  "peerDependencies": {
59
53
  "react": ">=18"
@@ -67,5 +61,10 @@
67
61
  "tsup": "^8.5.0",
68
62
  "typescript": "^5.9.3",
69
63
  "vitest": "^4.0.5"
64
+ },
65
+ "scripts": {
66
+ "build": "tsup",
67
+ "test": "vitest run",
68
+ "typecheck": "tsc --noEmit"
70
69
  }
71
- }
70
+ }