@wave-ai-os/wave-cli 0.1.62 → 0.1.63

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 (4) hide show
  1. package/README.md +15 -10
  2. package/dist/index.cjs +306 -330
  3. package/dist/index.js +306 -330
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @wave/cli
1
+ # @wave-ai-os/wave-cli
2
2
 
3
3
  Machine-first CLI used by a Node LangGraph agent to execute semantic Wave operations against the Rails API.
4
4
 
@@ -19,7 +19,7 @@ See also:
19
19
  ## Install
20
20
 
21
21
  ```bash
22
- npm install @wave/cli
22
+ npm install @wave-ai-os/wave-cli
23
23
  ```
24
24
 
25
25
  Or run locally from source:
@@ -66,11 +66,16 @@ Notes:
66
66
 
67
67
  ## Runtime Contract
68
68
 
69
- Required (from flags, stdin, or env):
69
+ Required (from flags, stdin, env, config, or stored credentials):
70
70
 
71
71
  - `WAVE_API_TOKEN`
72
72
  - `WAVE_API_BASE_URL`
73
- - `WAVE_ORGANIZATION_ID`
73
+
74
+ Organization-scoped data commands use the organization certified by the
75
+ authenticated CLI token. `--organization-id` is the only local override. The
76
+ CLI intentionally ignores `WAVE_ORGANIZATION_ID`, `WAVE_ORG_ID`, stdin, and
77
+ stored config organization values as automatic scopes so a stale local value
78
+ cannot select a different organization.
74
79
 
75
80
  Optional env:
76
81
 
@@ -86,7 +91,7 @@ Optional env:
86
91
 
87
92
  Deterministic precedence:
88
93
 
89
- - explicit flags (`--token` / `--jwt`, `--base-url`, `--organization-id`, and tracing/runtime flags)
94
+ - explicit flags (`--token`, `--base-url`, `--organization-id`, and tracing/runtime flags)
90
95
  - stdin context (`--token-stdin` or `--auth-json-stdin`)
91
96
  - env vars (`WAVE_*`)
92
97
  - config file (`--config`, `WAVE_CONFIG_PATH`, or `~/.wave/config.json` when present)
@@ -146,7 +151,6 @@ wave time-tracking report --start-date 2026-01-01 --end-date 2026-01-31
146
151
  wave planner events --starts-at 2026-01-01T00:00:00Z --ends-at 2026-01-07T00:00:00Z
147
152
  wave planner public-booking-link --slug intro-call --starts-at 2026-01-01T00:00:00Z --ends-at 2026-01-07T00:00:00Z --timezone America/Phoenix
148
153
  wave api ls
149
- wave graphql fields
150
154
  wave osmd schema
151
155
  wave osmd examples
152
156
  wave markdown-tree schema
@@ -170,7 +174,7 @@ Examples:
170
174
 
171
175
  ```bash
172
176
  wave tasks list --project-id 123
173
- wave tasks create --project-id 123 --title "Fix auth bug"
177
+ wave tasks create --project-id 123 --summary "Fix auth bug"
174
178
  wave tasks update --id 99 --status in_progress
175
179
  wave tasks destroy --id 99
176
180
  wave projects list
@@ -231,7 +235,6 @@ wave osmd examples
231
235
  wave osmd schema
232
236
  wave capabilities list
233
237
  wave api ls
234
- wave graphql fields
235
238
  wave doctor
236
239
  wave find "Ted"
237
240
  wave open "Ted Martinez"
@@ -249,8 +252,10 @@ wave subtasks create --data-json '{"subtask":{"task_id":"123","member_id":"67","
249
252
  wave subissues destroy --id 999
250
253
  ```
251
254
 
252
- All commands require organization context via `--organization-id` or `WAVE_ORGANIZATION_ID`.
253
- You can also provide `organizationId` via `--auth-json-stdin`.
255
+ All organization-scoped commands use the authenticated CLI token organization
256
+ by default. Use `--organization-id` only when intentionally targeting a
257
+ specific organization; an explicit mismatched value is sent to the backend and
258
+ its authorization response remains visible.
254
259
 
255
260
  ## Parent-Child Create Rules
256
261