@wave-av/cli 1.0.2 → 1.0.4

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/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+
3
+ ## 1.0.3 (2026-04-02)
4
+
5
+ - Fixed repository URL (was pointing to org, not repo)
6
+ - Fixed bugs URL (was pointing to private repo)
7
+ - Added LICENSE, SECURITY.md, CONTRIBUTING.md
8
+
9
+ ## 1.0.0 (2026-04-01)
10
+
11
+ - Initial public release
12
+ - 34 command groups covering all WAVE APIs
13
+ - Shell completions (bash, zsh, fish)
14
+ - OAuth device flow and API key authentication
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 WAVE Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @wave/cli
1
+ # @wave-av/cli
2
2
 
3
3
  Command-line interface for the WAVE streaming platform. Manage streams, productions, and infrastructure from your terminal.
4
4
 
@@ -6,16 +6,16 @@ Command-line interface for the WAVE streaming platform. Manage streams, producti
6
6
 
7
7
  ```bash
8
8
  # npm
9
- npm install -g @wave/cli
9
+ npm install -g @wave-av/cli
10
10
 
11
11
  # pnpm
12
- pnpm add -g @wave/cli
12
+ pnpm add -g @wave-av/cli
13
13
 
14
14
  # npx (one-off usage)
15
- npx @wave/cli stream list
15
+ npx @wave-av/cli stream list
16
16
  ```
17
17
 
18
- ## Quick Start
18
+ ## Quick start
19
19
 
20
20
  ```bash
21
21
  # Authenticate
@@ -33,20 +33,20 @@ wave stream start <stream-id>
33
33
 
34
34
  ## Authentication
35
35
 
36
- ### OAuth Device Flow (recommended)
36
+ ### OAuth device flow (recommended)
37
37
 
38
38
  ```bash
39
39
  wave login
40
40
  # Opens browser for authentication
41
41
  ```
42
42
 
43
- ### Direct API Key
43
+ ### Direct API key
44
44
 
45
45
  ```bash
46
46
  wave login --api-key wave_live_your_key_here
47
47
  ```
48
48
 
49
- ### Multi-Project Context
49
+ ### Multi-project context
50
50
 
51
51
  ```bash
52
52
  # Separate environments
@@ -60,7 +60,7 @@ wave config set currentProject staging
60
60
  wave stream list --project production
61
61
  ```
62
62
 
63
- ### CI/CD Environment Variables
63
+ ### CI/CD environment variables
64
64
 
65
65
  ```bash
66
66
  export WAVE_API_KEY=wave_live_your_key_here
@@ -68,7 +68,7 @@ export WAVE_ORG_ID=org_123
68
68
  wave stream list # Uses env vars automatically
69
69
  ```
70
70
 
71
- ## Command Groups
71
+ ## Command groups
72
72
 
73
73
  | Group | Description | Example |
74
74
  | -------------- | ----------------------- | ------------------------------------------ |
@@ -109,7 +109,7 @@ wave stream list # Uses env vars automatically
109
109
  | `drm` | Content protection | `wave drm licenses list` |
110
110
  | `billing` | Billing & usage | `wave billing status` |
111
111
 
112
- ## Developer Tools
112
+ ## Developer tools
113
113
 
114
114
  | Command | Description |
115
115
  | ---------------------- | -------------------------------------- |
@@ -120,7 +120,7 @@ wave stream list # Uses env vars automatically
120
120
  | `wave open [page]` | Open WAVE dashboard in browser |
121
121
  | `wave init [name]` | Scaffold a new project from templates |
122
122
 
123
- ## Global Flags
123
+ ## Global flags
124
124
 
125
125
  | Flag | Description |
126
126
  | ----------------------- | ------------------------------------------------ |
@@ -131,7 +131,7 @@ wave stream list # Uses env vars automatically
131
131
  | `--no-color` | Disable colored output |
132
132
  | `--debug` | Verbose debug logging |
133
133
 
134
- ## Environment Variables
134
+ ## Environment variables
135
135
 
136
136
  | Variable | Description |
137
137
  | --------------------- | --------------------------------- |
@@ -143,7 +143,7 @@ wave stream list # Uses env vars automatically
143
143
  | `WAVE_NO_COLOR=1` | Disable colors |
144
144
  | `WAVE_NO_TELEMETRY=1` | Disable telemetry |
145
145
 
146
- ## Shell Completions
146
+ ## Shell completions
147
147
 
148
148
  ```bash
149
149
  # Bash
@@ -157,7 +157,7 @@ wave completion zsh > ~/.zsh/completions/_wave
157
157
  wave completion fish > ~/.config/fish/completions/wave.fish
158
158
  ```
159
159
 
160
- ## CI/CD Example
160
+ ## CI/CD example
161
161
 
162
162
  ```yaml
163
163
  # .github/workflows/deploy-stream.yml
@@ -167,7 +167,7 @@ jobs:
167
167
  deploy:
168
168
  runs-on: ubuntu-latest
169
169
  steps:
170
- - run: npm install -g @wave/cli
170
+ - run: npm install -g @wave-av/cli
171
171
  - run: wave stream create --title "Auto Stream" --protocol webrtc --confirm --output json
172
172
  env:
173
173
  WAVE_API_KEY: ${{ secrets.WAVE_API_KEY }}
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import chalk5 from "chalk";
9
9
 
10
10
  // src/lib/errors.ts
11
11
  import chalk2 from "chalk";
12
- import { WaveError, RateLimitError } from "@wave/sdk";
12
+ import { WaveError, RateLimitError } from "@wave-av/sdk";
13
13
 
14
14
  // src/lib/exit-codes.ts
15
15
  var EXIT_CODES = {
@@ -749,7 +749,7 @@ function setNestedValue(obj, path, value) {
749
749
  import chalk9 from "chalk";
750
750
 
751
751
  // src/lib/api-client.ts
752
- import { Wave } from "@wave/sdk";
752
+ import { Wave } from "@wave-av/sdk";
753
753
  import chalk8 from "chalk";
754
754
  async function getClient(opts) {
755
755
  const envApiKey = process.env["WAVE_API_KEY"];
@@ -3328,7 +3328,7 @@ Creating "${projectName}" with ${selectedTemplate.name} template...
3328
3328
  await mkdir3(join4(dir, "src"), { recursive: true });
3329
3329
  }
3330
3330
  await rewritePackageName(dir, projectName);
3331
- const configContent = `import { defineConfig } from "@wave/sdk";
3331
+ const configContent = `import { defineConfig } from "@wave-av/sdk";
3332
3332
 
3333
3333
  export default defineConfig({
3334
3334
  project: "${projectName}",