@ted-galago/wave-cli 0.1.6 → 0.1.8
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 +23 -18
- package/dist/index.cjs +829 -228
- package/dist/index.js +829 -228
- package/package.json +1 -1
- package/scripts/verify-dev-api.mjs +546 -6
package/README.md
CHANGED
|
@@ -105,16 +105,16 @@ wave lists create --data-json '{"name":"Weekly List"}'
|
|
|
105
105
|
wave list-items create --data-json '{"list_id":"123","summary":"Follow up"}'
|
|
106
106
|
wave todos create --data-json '{"todo_group_id":"55","name":"Send update","status":"open"}'
|
|
107
107
|
wave knowledge create --data-json '{"content":{"name":"Runbook","content_type":"process","status":"draft","member_id":"67"}}'
|
|
108
|
-
wave
|
|
109
|
-
wave
|
|
110
|
-
wave
|
|
111
|
-
wave
|
|
112
|
-
wave
|
|
113
|
-
wave
|
|
114
|
-
wave
|
|
115
|
-
wave
|
|
116
|
-
wave
|
|
117
|
-
wave
|
|
108
|
+
wave content create-member --target-member-id 67 --name "1:1 Note" --body "Strong progress"
|
|
109
|
+
wave content create-manager --actor-member-id 67 --target-member-id 68 --name "Manager Note" --body "Coaching plan"
|
|
110
|
+
wave content create-team --actor-member-id 67 --team-id 9 --name "Team Note" --body "Team context"
|
|
111
|
+
wave content create-project --actor-member-id 67 --project-id 80 --name "Project Note" --body "Project context"
|
|
112
|
+
wave content create-customer --actor-member-id 67 --customer-id 30 --name "Customer Note" --body "Customer context"
|
|
113
|
+
wave content create-contact --actor-member-id 67 --contact-id 31 --name "Contact Note" --body "Contact context"
|
|
114
|
+
wave content list --contentable-type Member --contentable-id 67 --member-id 67 --page 1 --per 20
|
|
115
|
+
wave content show --id 1001
|
|
116
|
+
wave content update --id 1001 --name "Updated Note" --body "Updated body" --status published
|
|
117
|
+
wave content destroy --id 1001
|
|
118
118
|
wave markdown-tree root --tree-view
|
|
119
119
|
wave markdown-tree resolve --tool-key projects --node-key tasks --parent-id 123
|
|
120
120
|
wave markdown-tree children --tool-key directory --node-key members --record-id 67
|
|
@@ -201,6 +201,8 @@ If a required parent field is missing, CLI returns JSON error with exit code `2`
|
|
|
201
201
|
- Use `question.name` (legacy `summary` is normalized to `name`).
|
|
202
202
|
- `questions.create` requires `question.member_id` and `question.name`.
|
|
203
203
|
- `question.status`, when provided, must be `asked` or `answered`.
|
|
204
|
+
- `questions.list` supports only `asked` and `answered` filters (plus `page` / `per`).
|
|
205
|
+
- `questions.list` does not expose `--query-json`; unsupported filters are rejected at CLI parse time.
|
|
204
206
|
|
|
205
207
|
`pulse.create` contract notes:
|
|
206
208
|
|
|
@@ -212,6 +214,8 @@ If a required parent field is missing, CLI returns JSON error with exit code `2`
|
|
|
212
214
|
|
|
213
215
|
- Use `survey.name` and `survey.recipient_type` (`title` is normalized to `name`).
|
|
214
216
|
- `survey.recipient_type` must be `member`, `team`, or `org_wide`.
|
|
217
|
+
- Survey results are written via `surveys.update` using nested `survey.survey_results_attributes`.
|
|
218
|
+
- There is no standalone `createSurveyResult` / `updateSurveyResult` CLI command.
|
|
215
219
|
- Valid `survey.name` values:
|
|
216
220
|
- `employee_net_promoter_score`
|
|
217
221
|
- `continuous_performance_review`
|
|
@@ -279,15 +283,16 @@ These wrap backend-owned markdown-tree primitives:
|
|
|
279
283
|
- `tree` -> `markdownTreeSubtree`
|
|
280
284
|
|
|
281
285
|
Discovery, ranking, canonical paths, and narrowing are backend-owned.
|
|
286
|
+
An empty `find` result (`candidates: []`) means no evidence for that exact query/scope, not confirmed global absence.
|
|
282
287
|
|
|
283
288
|
Ambiguity contract:
|
|
284
289
|
|
|
285
290
|
- no silent bad guesses
|
|
286
291
|
- returns `error.code = "ambiguous_match"` with ranked candidates in `error.details.candidates`
|
|
287
292
|
|
|
288
|
-
##
|
|
293
|
+
## Content Command Contract
|
|
289
294
|
|
|
290
|
-
The `
|
|
295
|
+
The `content` command uses exact GraphQL operation names:
|
|
291
296
|
|
|
292
297
|
- `CreateContent`
|
|
293
298
|
- `UpdateContent`
|
|
@@ -297,31 +302,31 @@ The `notes` command uses exact GraphQL operation names:
|
|
|
297
302
|
|
|
298
303
|
Placement rules enforced by command shape:
|
|
299
304
|
|
|
300
|
-
- `
|
|
305
|
+
- `content create-member`
|
|
301
306
|
- `contentable_type: "Member"`
|
|
302
307
|
- `contentable_id: TARGET_MEMBER_ID`
|
|
303
308
|
- `member_id: TARGET_MEMBER_ID`
|
|
304
309
|
- `focus_member_id: null`
|
|
305
310
|
- `focus_team_id: null`
|
|
306
|
-
- `
|
|
311
|
+
- `content create-manager`
|
|
307
312
|
- `contentable_type: "Member"`
|
|
308
313
|
- `contentable_id: ACTOR_MEMBER_ID`
|
|
309
314
|
- `member_id: ACTOR_MEMBER_ID`
|
|
310
315
|
- `focus_member_id: TARGET_MEMBER_ID`
|
|
311
|
-
- `
|
|
316
|
+
- `content create-team`
|
|
312
317
|
- `contentable_type: "Team"`
|
|
313
318
|
- `contentable_id: TEAM_ID`
|
|
314
319
|
- `member_id: ACTOR_MEMBER_ID`
|
|
315
320
|
- `focus_team_id: TEAM_ID`
|
|
316
|
-
- `
|
|
321
|
+
- `content create-project`
|
|
317
322
|
- `contentable_type: "Project"`
|
|
318
323
|
- `contentable_id: PROJECT_ID`
|
|
319
324
|
- `member_id: ACTOR_MEMBER_ID`
|
|
320
|
-
- `
|
|
325
|
+
- `content create-customer`
|
|
321
326
|
- `contentable_type: "Customer"`
|
|
322
327
|
- `contentable_id: CUSTOMER_ID`
|
|
323
328
|
- `member_id: ACTOR_MEMBER_ID`
|
|
324
|
-
- `
|
|
329
|
+
- `content create-contact`
|
|
325
330
|
- `contentable_type: "Contact"`
|
|
326
331
|
- `contentable_id: CONTACT_ID`
|
|
327
332
|
- `member_id: ACTOR_MEMBER_ID`
|