@coze/realtime-api 0.0.1 → 0.0.2

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
@@ -85,52 +85,5 @@ function setupEventListeners() {
85
85
  }
86
86
  ```
87
87
 
88
- ## Development Guide
89
-
90
- ### Prerequisites
91
- 1. Set up your development environment following the [coze-js](../../README.md#development-guide) guide
92
- 2. Ensure you have Node.js (v14+) installed
93
-
94
- ### Running the Demo
95
-
96
- 1. Navigate to the example directory:
97
-
98
- ```bash
99
- rush update
100
- cd examples/realtime-console
101
- npm run start
102
- ```
103
-
104
- 2. Access the demo interface:
105
- ![realtime-console](./assets/realtime-console.png)
106
-
107
- ### Demo Features
108
- 1. Visit [http://localhost:3000](http://localhost:3000)
109
- 2. Configure your credentials in the settings panel:
110
- - Access Token
111
- - Bot ID
112
- - Voice ID
113
- - API Base URL
114
- 3. Optional: Use browser extensions for custom headers during testing
115
- 4. Grant microphone permissions when prompted
116
- 5. Initialize connection via the "Connect" button
117
-
118
- ### Available Operations
119
- - Microphone control (toggle on/off)
120
- - Bot interaction interruption
121
- - Connection management
122
- - Audio debugging tools:
123
- - Playback device monitoring
124
- - Device status logging
125
- - Diagnostic features
126
-
127
- ### Monitoring
128
- - Real-time event logging in the upper console
129
- - Bot response display in the lower panel
130
- - Detailed console logs for debugging
131
-
132
- ## Run Unit Tests
133
-
134
- ```bash
135
- npm run test
136
- ```
88
+ ## Example
89
+ For a complete working example, check out our [realtime console demo](../../examples/realtime-console).
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coze/realtime-api",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Coze Realtime API",
5
5
  "homepage": "https://github.com/coze-dev/coze-js/packages/realtime-api",
6
6
  "repository": {
Binary file