@plot-app/cli 0.0.8 → 0.0.9
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 +5 -0
- package/README.md +27 -12
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Plot CLI Changelog
|
|
2
2
|
|
|
3
|
+
## 0.0.9 - 2026-05-01
|
|
4
|
+
|
|
5
|
+
- Standardized response presentations across CLI commands for more consistent output (DEV-364)
|
|
6
|
+
- Fixed a bug with `read at` timestamps
|
|
7
|
+
|
|
3
8
|
## 0.0.8 - 2026-04-30
|
|
4
9
|
|
|
5
10
|
- Markdown task descriptions now sync reliably through the outbox.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Plot CLI
|
|
2
2
|
|
|
3
|
-
Programmatic access to Plot workspaces for agents. The CLI is built around stable handles and
|
|
3
|
+
Programmatic access to Plot workspaces for agents. The CLI is built around stable handles and compact output so coding agents can inspect and update Plot data without scraping the web app.
|
|
4
4
|
|
|
5
5
|
## Agent Quick Start
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ plot login --token "$PLOT_API_TOKEN"
|
|
|
12
12
|
# Confirm identity and choose a workspace.
|
|
13
13
|
plot whoami
|
|
14
14
|
plot workspace list --format json
|
|
15
|
-
plot workspace use scalespark-media
|
|
15
|
+
plot workspace use scalespark-media
|
|
16
16
|
|
|
17
17
|
# Pull orientation data before changing work.
|
|
18
18
|
plot workspace info --format json
|
|
@@ -22,10 +22,12 @@ plot help identifiers
|
|
|
22
22
|
|
|
23
23
|
## Agent Operating Contract
|
|
24
24
|
|
|
25
|
-
- Prefer `--format json
|
|
25
|
+
- Prefer `--format json` for reads. It is the default for most read commands and is the safest shape for agents to parse.
|
|
26
26
|
- Run `plot commands --format json` when you need the current command manifest.
|
|
27
27
|
- Run `plot help identifiers` before resolving copied Plot URLs or user-provided handles.
|
|
28
28
|
- Prefer handles over UUIDs: task `pathId` (`ENG-042`), team `publicId` (`ENG`), project/document slug or trailing `publicId`, collection slug, and user `@username`.
|
|
29
|
+
- Read responses expose the reusable root handle as `id` for every entity: task pathId, team/project/document publicId, collection/workspace slug, and user `@username`.
|
|
30
|
+
- Mutation commands print a short success sentence regardless of `--format`, for example `Updated task ENG-042`. `plot batch` and `plot task create-tree` keep structured JSON.
|
|
29
31
|
- Switch workspaces explicitly with `plot workspace use <slug>` when a copied URL contains a different workspace slug.
|
|
30
32
|
- Batch dependent writes through `plot batch` or `plot task create-tree` to reduce round trips and keep outputs machine-readable.
|
|
31
33
|
- Treat every non-zero exit as structured failure. The CLI writes errors as JSON with `error`, `code`, `message`, and (when applicable) a `hint` describing the next step an agent can take.
|
|
@@ -71,11 +73,11 @@ plot task list --team ENG --limit 20 --format json
|
|
|
71
73
|
plot task list --parent none --limit 20 --format json # only top-level (non-subtask) tasks
|
|
72
74
|
plot task list --parent ENG-042 --format json # subtasks of ENG-042
|
|
73
75
|
plot task get ENG-042 --format json
|
|
74
|
-
plot task update ENG-042 --status Done
|
|
75
|
-
plot task update ENG-042 --add-labels label_abc,label_def
|
|
76
|
-
plot task update ENG-042 --remove-labels label_xyz
|
|
77
|
-
plot task update ENG-042 --set-labels label_abc,label_def
|
|
78
|
-
plot comment add --task-id ENG-042 --body "Implemented and verified."
|
|
76
|
+
plot task update ENG-042 --status Done
|
|
77
|
+
plot task update ENG-042 --add-labels label_abc,label_def
|
|
78
|
+
plot task update ENG-042 --remove-labels label_xyz
|
|
79
|
+
plot task update ENG-042 --set-labels label_abc,label_def # replace label set; pass "" to clear
|
|
80
|
+
plot comment add --task-id ENG-042 --body "Implemented and verified."
|
|
79
81
|
```
|
|
80
82
|
|
|
81
83
|
`task update` label semantics: `--add-labels` appends, `--remove-labels` detaches, `--set-labels` replaces the full set. `--add-labels`/`--remove-labels` can be combined; `--set-labels` cannot be combined with the other two. `--labels` is kept as a back-compat alias for `--add-labels`.
|
|
@@ -87,11 +89,10 @@ plot task create \
|
|
|
87
89
|
--name "Write checkout regression tests" \
|
|
88
90
|
--team ENG \
|
|
89
91
|
--project-id checkout-redesign-a1b2c3d4e5f6 \
|
|
90
|
-
--blocked-by ENG-041
|
|
91
|
-
--format json
|
|
92
|
+
--blocked-by ENG-041
|
|
92
93
|
```
|
|
93
94
|
|
|
94
|
-
`task create` is all-or-nothing:
|
|
95
|
+
`task create` is all-or-nothing: labels, dependencies, parent, status, priority, dates, and visibility are created through one composite mutator.
|
|
95
96
|
|
|
96
97
|
### Create A Parent Task Tree
|
|
97
98
|
|
|
@@ -204,7 +205,21 @@ Extract the workspace slug first. If it differs from the active workspace, run `
|
|
|
204
205
|
|
|
205
206
|
## Output And Errors
|
|
206
207
|
|
|
207
|
-
Most commands accept `--format json` or `--format markdown`. JSON is the default.
|
|
208
|
+
Most read commands accept `--format json` or `--format markdown`. JSON is the default. Mutation commands ignore `--format` and print a short success sentence such as `Created task ENG-042` or `Deleted task ENG-042`.
|
|
209
|
+
|
|
210
|
+
### Root Handles
|
|
211
|
+
|
|
212
|
+
Read responses use `id` for the agent-facing handle on the root entity:
|
|
213
|
+
|
|
214
|
+
```json
|
|
215
|
+
{
|
|
216
|
+
"id": "ENG-042",
|
|
217
|
+
"name": "Write checkout regression tests",
|
|
218
|
+
"status": "In Progress"
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
The value is the canonical handle to reuse in later CLI calls: task pathId, team/project/document publicId, collection/workspace slug, or user `@username`.
|
|
208
223
|
|
|
209
224
|
### List Envelope
|
|
210
225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plot-app/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
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.
|
|
27
|
-
"@plot-app/cli-darwin-x64": "0.0.
|
|
28
|
-
"@plot-app/cli-linux-x64": "0.0.
|
|
29
|
-
"@plot-app/cli-linux-arm64": "0.0.
|
|
26
|
+
"@plot-app/cli-darwin-arm64": "0.0.9",
|
|
27
|
+
"@plot-app/cli-darwin-x64": "0.0.9",
|
|
28
|
+
"@plot-app/cli-linux-x64": "0.0.9",
|
|
29
|
+
"@plot-app/cli-linux-arm64": "0.0.9"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public",
|