@clickminded/coauthor-cli 0.0.5 → 0.0.6
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 +5 -0
- package/dist/commands.js +1 -0
- package/package.json +1 -1
- package/skills/claude/SKILL.md +10 -0
- package/skills/codex/SKILL.md +10 -0
- package/skills/cursor/coauthor-cli.mdc +7 -0
package/README.md
CHANGED
|
@@ -131,8 +131,13 @@ coauthor research-plan generate <project-id> --json
|
|
|
131
131
|
coauthor research run <project-id> --wait --json
|
|
132
132
|
coauthor draft generate <project-id> --wait --json
|
|
133
133
|
coauthor draft get <project-id> --format markdown --json
|
|
134
|
+
coauthor draft get <project-id> --format html --json
|
|
135
|
+
coauthor draft get <project-id> --format text --json
|
|
136
|
+
coauthor draft get <project-id> --format json --json
|
|
134
137
|
```
|
|
135
138
|
|
|
139
|
+
Draft exports resolve generated image URLs for Markdown, HTML, and text output when images are available. Use `--format json` or omit `--format` for the raw editor document JSON.
|
|
140
|
+
|
|
136
141
|
Images and threads:
|
|
137
142
|
|
|
138
143
|
```sh
|
package/dist/commands.js
CHANGED
|
@@ -664,6 +664,7 @@ export function helpResult() {
|
|
|
664
664
|
' research-plan show|generate|save|approve',
|
|
665
665
|
' research run|status|structured',
|
|
666
666
|
' draft generate|status|get|save',
|
|
667
|
+
' draft get supports --format json|markdown|html|text',
|
|
667
668
|
' workflow show|status|advance|run|rewind|approve',
|
|
668
669
|
' workflow run/advance supports --briefing-mode auto|strict|off and --require-brief-review',
|
|
669
670
|
' image list|status|show|generate|edit',
|
package/package.json
CHANGED
package/skills/claude/SKILL.md
CHANGED
|
@@ -31,3 +31,13 @@ This skill guides agent use of the CoAuthor CLI.
|
|
|
31
31
|
3. Add `--wait` when starting or advancing asynchronous work.
|
|
32
32
|
4. If anything is uncertain, query operation status and report the current state.
|
|
33
33
|
5. For live publish/export, confirm explicit user intent, then run with `--yes`.
|
|
34
|
+
|
|
35
|
+
## Draft Export
|
|
36
|
+
|
|
37
|
+
Use `coauthor draft get <project-id> --format markdown --json` when the user needs a finished draft in Markdown. Generated images are resolved into Markdown image URLs when available.
|
|
38
|
+
|
|
39
|
+
Use `coauthor draft get <project-id> --format html --json` when the user needs HTML with resolved image tags.
|
|
40
|
+
|
|
41
|
+
Use `coauthor draft get <project-id> --format text --json` when the user needs plain text with image URL references.
|
|
42
|
+
|
|
43
|
+
Use `coauthor draft get <project-id> --format json --json` or omit `--format` when the user needs the raw editor document JSON.
|
package/skills/codex/SKILL.md
CHANGED
|
@@ -31,3 +31,13 @@ This skill guides agent use of the CoAuthor CLI.
|
|
|
31
31
|
3. Add `--wait` when starting or advancing asynchronous work.
|
|
32
32
|
4. If anything is uncertain, query operation status and report the current state.
|
|
33
33
|
5. For live publish/export, confirm explicit user intent, then run with `--yes`.
|
|
34
|
+
|
|
35
|
+
## Draft Export
|
|
36
|
+
|
|
37
|
+
Use `coauthor draft get <project-id> --format markdown --json` when the user needs a finished draft in Markdown. Generated images are resolved into Markdown image URLs when available.
|
|
38
|
+
|
|
39
|
+
Use `coauthor draft get <project-id> --format html --json` when the user needs HTML with resolved image tags.
|
|
40
|
+
|
|
41
|
+
Use `coauthor draft get <project-id> --format text --json` when the user needs plain text with image URL references.
|
|
42
|
+
|
|
43
|
+
Use `coauthor draft get <project-id> --format json --json` or omit `--format` when the user needs the raw editor document JSON.
|
|
@@ -17,3 +17,10 @@ alwaysApply: true
|
|
|
17
17
|
- Treat publish/export commands as live side effects.
|
|
18
18
|
- Require explicit user intent before live publish/export.
|
|
19
19
|
- Use `--yes` only after the user has clearly approved the live publish/export action.
|
|
20
|
+
|
|
21
|
+
## Draft Export
|
|
22
|
+
|
|
23
|
+
- Use `coauthor draft get <project-id> --format markdown --json` for finished draft Markdown. Generated images resolve into Markdown image URLs when available.
|
|
24
|
+
- Use `coauthor draft get <project-id> --format html --json` for HTML with resolved image tags.
|
|
25
|
+
- Use `coauthor draft get <project-id> --format text --json` for plain text with image URL references.
|
|
26
|
+
- Use `coauthor draft get <project-id> --format json --json` or omit `--format` for the raw editor document JSON.
|