Commit 08eb262
v0.2.0: Agent DX, new commands, structured errors, global options
New commands:
- dm update — push content revisions from file or stdin
- dm react — add emoji reactions
- dm list — show all docs in .draftmark.json
- dm browse — open doc in default browser
- dm config — show resolved config from all sources
Agent DX:
- --agent flag on create, auto-inherited by comment/review
- --meta <json> for arbitrary metadata on create
- stdin support (dm create -, dm update -)
- Structured JSON errors ({ error, code, details }) on all failures
- --quiet / -q suppresses stderr, stdout-only for piping
- --format (table/json/minimal) on status and comments
- --since date filter on comments
Global options:
- --base-url overrides DM_BASE_URL without env var
- Standardized exit codes (0 ok, 1 error, 2 auth, 3 not found, 4 conflict)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 0de5263 commit 08eb262
5 files changed
Lines changed: 500 additions & 68 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
17 | 53 | | |
18 | 54 | | |
19 | 55 | | |
| |||
49 | 85 | | |
50 | 86 | | |
51 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
52 | 96 | | |
53 | | - | |
| 97 | + | |
54 | 98 | | |
55 | 99 | | |
56 | 100 | | |
| |||
0 commit comments