@plot-app/cli 0.0.11 → 0.0.12

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 (3) hide show
  1. package/CHANGELOG.md +8 -3
  2. package/README.md +69 -65
  3. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Plot CLI Changelog
2
2
 
3
+ ## 0.0.12 - 2026-10-14
4
+
5
+ - Replaced `team` and `collection` commands with `area list`, `area get`, `area create`, and `area update`.
6
+ - Updated filters and scope options to use `--area`, and renamed `user by-team` to `user by-area`. Update existing scripts to use the new names.
7
+ - Fixed area names displaying HTML markup in CLI output and expanded task details.
8
+
3
9
  ## 0.0.11 - 2026-06-26
4
10
 
5
11
  Based on commits after the `v0.0.10` release (`b58b80e5`), the user-visible CLI changes for 0.0.11 are:
@@ -57,15 +63,14 @@ Based on commits after the `v0.0.10` release (`b58b80e5`), the user-visible CLI
57
63
 
58
64
  - Auth: login flow with credential storage, `whoami` (fixed)
59
65
  - Tasks: full CRUD
60
- - Read commands for projects, docs, collections, teams, statuses, labels, and
61
- users
66
+ - Read commands for projects, docs, areas, statuses, labels, and users
62
67
  - `activity`, `inbox`, `search`, and `comments` commands
63
68
  - Workspace commands and batch operations
64
69
  - `user combined-members` command
65
70
 
66
71
  **Workflow**
67
72
 
68
- - Context defaults integrated across commands so workspace/team/project flags
73
+ - Context defaults integrated across commands so workspace/area/project flags
69
74
  can be inferred
70
75
  - Daemon runtime with scope-aware activity and Zero `byIds` queries for faster
71
76
  lookups
package/README.md CHANGED
@@ -23,7 +23,7 @@ plot help identifiers
23
23
 
24
24
  # Use @me and none anywhere nullable assignee or owner handles are accepted.
25
25
  plot task list --assignee @me --format json
26
- plot task create --name "Follow up" --team ENG --assignee @me
26
+ plot task create --name "Follow up" --area ENG --assignee @me
27
27
  plot project update checkout-redesign-a1b2c3d4e5f6 --owner @me
28
28
  plot task update ENG-042 --assignee none
29
29
  plot project update checkout-redesign-a1b2c3d4e5f6 --owner none
@@ -40,17 +40,15 @@ plot setup --yes
40
40
  - Run `plot commands --format json` when you need the current command manifest.
41
41
  - Run `plot help identifiers` before resolving copied Plot URLs or user-provided
42
42
  handles.
43
- - Prefer handles over UUIDs: task `pathId` (`ENG-042`), team `publicId` (`ENG`),
44
- project/document slug or trailing `publicId`, collection slug, and user
45
- `@username`.
43
+ - Prefer handles over UUIDs: task `pathId` (`ENG-042`), area `publicId` (`ENG`),
44
+ project/document slug or trailing `publicId`, and user `@username`.
46
45
  - Use `@me` anywhere an assignee or project owner handle is accepted. It
47
46
  resolves to the active authenticated user from local credentials.
48
47
  - Use `none` anywhere a nullable assignee or project owner field is accepted to
49
48
  clear that field. Omitting the field is also treated as unassigned/no owner
50
49
  during create commands.
51
50
  - Read responses expose the reusable root handle as `id` for every entity: task
52
- pathId, team/project/document publicId, collection/workspace slug, and user
53
- `@username`.
51
+ pathId, area/project/document publicId, workspace slug, and user `@username`.
54
52
  - Mutation commands print a short success sentence regardless of `--format`, for
55
53
  example `Updated task ENG-042`. `plot batch` and `plot task create-tree` keep
56
54
  structured JSON.
@@ -99,16 +97,24 @@ active workspace credentials.
99
97
 
100
98
  ```bash
101
99
  plot workspace info --format json
102
- plot team list --format json
100
+ plot area list --format json
103
101
  plot user list --format json
104
102
  plot search "launch checklist" --format json
105
103
  plot search "blocked launch work" --type task --project checkout-redesign-a1b2c3d4e5f6 --assignee @alice --format json
106
104
  ```
107
105
 
106
+ ### Create And Update Areas
107
+
108
+ ```bash
109
+ plot area create --name "Customer Success" --public-id CSX --description "Support every customer"
110
+ plot area update CSX --name "Customer Experience" --privacy private
111
+ plot area update CSX --append "## Current focus"
112
+ ```
113
+
108
114
  ### Inspect And Update Tasks
109
115
 
110
116
  ```bash
111
- plot task list --team ENG --limit 20 --format json
117
+ plot task list --area ENG --limit 20 --format json
112
118
  plot task list --parent none --limit 20 --format json # only top-level (non-subtask) tasks
113
119
  plot task list --parent ENG-042 --format json # subtasks of ENG-042
114
120
  plot task get ENG-042 --format json
@@ -129,7 +135,7 @@ can be combined; `--set-labels` cannot be combined with the other two.
129
135
  ```bash
130
136
  plot task create \
131
137
  --name "Write checkout regression tests" \
132
- --team ENG \
138
+ --area ENG \
133
139
  --project checkout-redesign-a1b2c3d4e5f6 \
134
140
  --blocked-by ENG-041
135
141
  ```
@@ -143,7 +149,7 @@ dates, and visibility are created through one composite mutator.
143
149
  cat <<'JSON' | plot task create-tree --format json
144
150
  {
145
151
  "name": "Ship checkout polish",
146
- "team": "ENG",
152
+ "area": "ENG",
147
153
  "project": "checkout-redesign-a1b2c3d4e5f6",
148
154
  "subtasks": [
149
155
  { "name": "Fix empty state", "ref": "empty-state" },
@@ -153,7 +159,7 @@ cat <<'JSON' | plot task create-tree --format json
153
159
  JSON
154
160
  ```
155
161
 
156
- `create-tree` supports one level of subtasks. Subtasks inherit `team`,
162
+ `create-tree` supports one level of subtasks. Subtasks inherit `area`,
157
163
  `project`, `assignee`, and `visibility` unless overridden.
158
164
 
159
165
  ### Batch Commands
@@ -168,14 +174,14 @@ cat <<'JSON' | plot batch
168
174
  "action": "create",
169
175
  "args": {
170
176
  "name": "Triage checkout logs",
171
- "team": "ENG"
177
+ "area": "ENG"
172
178
  }
173
179
  },
174
180
  {
175
181
  "command": "task",
176
182
  "action": "list",
177
183
  "args": {
178
- "team": "ENG",
184
+ "area": "ENG",
179
185
  "limit": 5
180
186
  }
181
187
  }
@@ -190,56 +196,54 @@ Supported batch keys: `task.create`, `task.update`, `task.delete`, `task.get`,
190
196
 
191
197
  Run `plot <command> --help` for command-specific options.
192
198
 
193
- | Command | Purpose |
194
- | ----------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
195
- | `login`, `auth login` | Authenticate with OAuth or `--token`. |
196
- | `logout`, `auth logout` | Remove stored credentials. |
197
- | `whoami`, `auth whoami` | Print current user and workspace. |
198
- | `auth status` | Show active workspace and credential storage status. |
199
- | `setup` | Install or refresh the bundled Plot agent skill. |
200
- | `workspace list` | List authenticated workspaces. |
201
- | `workspace use <slug>` | Set the active workspace. |
202
- | `workspace info` | Print workspace orientation data. |
203
- | `task list` | List recent tasks with filters. |
204
- | `task get <id>` | Get task details with hydrated relations. |
205
- | `task create` | Create a task. |
206
- | `task create-tree` | Create a parent task with subtasks and dependencies. |
207
- | `task update <id>` | Update mutable task fields. |
208
- | `task delete <id>` | Soft-delete a task. |
209
- | `task add-dependency` | Mark one task as blocked by another. |
210
- | `task remove-dependency` | Remove a blocking relationship. |
211
- | `task set-parent <id>` | Convert a task into a subtask. |
212
- | `task remove-parent <id>` | Promote a subtask back to a top-level task. |
213
- | `project list` | List projects. |
214
- | `project get <id>` | Get project details. |
215
- | `project summary <id>` | Print project health. |
216
- | `doc list`, `doc get`, `doc create`, `doc update` | Read and mutate documents. |
217
- | `collection list`, `collection get`, `collection create`, `collection update` | Read and mutate collections. |
218
- | `team list`, `team get <id>` | List and inspect teams. |
219
- | `task-status list --team <handle>` | List valid task statuses for a team. |
220
- | `label list --team <handle>` | List task labels for a team. |
221
- | `user list`, `user get <id>`, `user by-team <team>` | Discover users. |
222
- | `user combined-members` | List users with access across projects, teams, and/or a task. |
223
- | `activity list` | List activity feed entries. |
224
- | `inbox list`, `inbox read <id>`, `inbox archive <id>` | Read and manage notifications. |
225
- | `search <query>` | Semantic/hybrid search across tasks, projects, documents, teams, and users. |
226
- | `comment list`, `comment add` | List or add comments on tasks and projects. |
227
- | `batch` | Execute a JSON command array from stdin. |
228
- | `commands` | Print the machine-readable command manifest. |
229
- | `help identifiers` | Print handle and URL parsing conventions. |
199
+ | Command | Purpose |
200
+ | --------------------------------------------------------------- | --------------------------------------------------------------------------- |
201
+ | `login`, `auth login` | Authenticate with OAuth or `--token`. |
202
+ | `logout`, `auth logout` | Remove stored credentials. |
203
+ | `whoami`, `auth whoami` | Print current user and workspace. |
204
+ | `auth status` | Show active workspace and credential storage status. |
205
+ | `setup` | Install or refresh the bundled Plot agent skill. |
206
+ | `workspace list` | List authenticated workspaces. |
207
+ | `workspace use <slug>` | Set the active workspace. |
208
+ | `workspace info` | Print workspace orientation data. |
209
+ | `task list` | List recent tasks with filters. |
210
+ | `task get <id>` | Get task details with hydrated relations. |
211
+ | `task create` | Create a task. |
212
+ | `task create-tree` | Create a parent task with subtasks and dependencies. |
213
+ | `task update <id>` | Update mutable task fields. |
214
+ | `task delete <id>` | Soft-delete a task. |
215
+ | `task add-dependency` | Mark one task as blocked by another. |
216
+ | `task remove-dependency` | Remove a blocking relationship. |
217
+ | `task set-parent <id>` | Convert a task into a subtask. |
218
+ | `task remove-parent <id>` | Promote a subtask back to a top-level task. |
219
+ | `project list` | List projects. |
220
+ | `project get <id>` | Get project details. |
221
+ | `project summary <id>` | Print project health. |
222
+ | `doc list`, `doc get`, `doc create`, `doc update` | Read and mutate documents. |
223
+ | `area list`, `area get <id>`, `area create`, `area update <id>` | Read and mutate areas. |
224
+ | `task-status list --area <handle>` | List valid task statuses for an area. |
225
+ | `label list --area <handle>` | List task labels for an area. |
226
+ | `user list`, `user get <id>`, `user by-area <area>` | Discover users. |
227
+ | `user combined-members` | List users with access across projects, areas, and/or a task. |
228
+ | `activity list` | List activity feed entries. |
229
+ | `inbox list`, `inbox read <id>`, `inbox archive <id>` | Read and manage notifications. |
230
+ | `search <query>` | Semantic/hybrid search across tasks, projects, documents, areas, and users. |
231
+ | `comment list`, `comment add` | List or add comments on tasks and projects. |
232
+ | `batch` | Execute a JSON command array from stdin. |
233
+ | `commands` | Print the machine-readable command manifest. |
234
+ | `help identifiers` | Print handle and URL parsing conventions. |
230
235
 
231
236
  ## Identifiers
232
237
 
233
238
  Use the shortest stable handle the CLI accepts.
234
239
 
235
- | Entity | Preferred handle | Example |
236
- | ---------- | --------------------------- | -------------------------------- |
237
- | Task | `pathId` | `ENG-042` |
238
- | Team | `publicId` | `ENG` |
239
- | Project | slug or trailing `publicId` | `checkout-redesign-a1b2c3d4e5f6` |
240
- | Document | slug or trailing `publicId` | `launch-checklist-78utu4m1d7iz` |
241
- | Collection | slug | `growth` |
242
- | User | `@username` | `@abraham` |
240
+ | Entity | Preferred handle | Example |
241
+ | -------- | --------------------------- | -------------------------------- |
242
+ | Task | `pathId` | `ENG-042` |
243
+ | Area | `publicId` | `ENG` |
244
+ | Project | slug or trailing `publicId` | `checkout-redesign-a1b2c3d4e5f6` |
245
+ | Document | slug or trailing `publicId` | `launch-checklist-78utu4m1d7iz` |
246
+ | User | `@username` | `@abraham` |
243
247
 
244
248
  Copied Plot URLs follow:
245
249
 
@@ -269,13 +273,13 @@ Read responses use `id` for the agent-facing handle on the root entity:
269
273
  ```
270
274
 
271
275
  The value is the canonical handle to reuse in later CLI calls: task pathId,
272
- team/project/document publicId, collection/workspace slug, or user `@username`.
276
+ area/project/document publicId, workspace slug, or user `@username`.
273
277
 
274
278
  ### List Envelope
275
279
 
276
- Every list command (e.g., `task list`, `project list`, `team list`, `doc list`,
277
- `collection list`, `user list`, `inbox list`, `comment list`, `activity list`,
278
- `search`) returns the same pagination envelope shape in JSON:
280
+ Every list command (e.g., `task list`, `project list`, `area list`, `doc list`,
281
+ `user list`, `inbox list`, `comment list`, `activity list`, `search`) returns
282
+ the same pagination envelope shape in JSON:
279
283
 
280
284
  ```json
281
285
  {
@@ -288,9 +292,9 @@ Every list command (e.g., `task list`, `project list`, `team list`, `doc list`,
288
292
  }
289
293
  ```
290
294
 
291
- The `<itemsKey>` is the plural entity name (`tasks`, `projects`, `teams`,
292
- `documents`, `collections`, `users`, `notifications`, `comments`, `entries`,
293
- `results`). Markdown output renders each item, then a footer line:
295
+ The `<itemsKey>` is the plural entity name (`tasks`, `projects`, `areas`,
296
+ `documents`, `users`, `notifications`, `comments`, `entries`, `results`).
297
+ Markdown output renders each item, then a footer line:
294
298
 
295
299
  ```text
296
300
  _count: 3, startAt: 0, limit: 20, hasMore: false_
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plot-app/cli",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "Programmatic access to Plot workspaces for agents.",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -23,10 +23,10 @@
23
23
  "node": ">=18"
24
24
  },
25
25
  "optionalDependencies": {
26
- "@plot-app/cli-darwin-arm64": "0.0.11",
27
- "@plot-app/cli-darwin-x64": "0.0.11",
28
- "@plot-app/cli-linux-x64": "0.0.11",
29
- "@plot-app/cli-linux-arm64": "0.0.11"
26
+ "@plot-app/cli-darwin-arm64": "0.0.12",
27
+ "@plot-app/cli-darwin-x64": "0.0.12",
28
+ "@plot-app/cli-linux-x64": "0.0.12",
29
+ "@plot-app/cli-linux-arm64": "0.0.12"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public",