@clickminded/coauthor-cli 0.0.73 → 0.0.74
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/package.json
CHANGED
|
@@ -22,6 +22,7 @@ coauthor repurpose generate <id> --format all --json # all five text f
|
|
|
22
22
|
- Generate only after the draft is final. Regenerating replaces the previous version of that format.
|
|
23
23
|
- The full set costs roughly 100-150 credits on top of the article.
|
|
24
24
|
- `coauthor repurpose list <id> --json` shows which formats exist and which are `stale` (the draft changed since they were made). Regenerate stale ones before anyone posts them.
|
|
25
|
+
- Repurposing follows the article as it is now, not the original brief, so a rewritten draft repurposes to its new argument.
|
|
25
26
|
|
|
26
27
|
## Review
|
|
27
28
|
|
|
@@ -42,7 +43,7 @@ coauthor repurpose save <id> --format x-post --data '{"variation_id":"<id>","pos
|
|
|
42
43
|
coauthor repurpose save <id> --format x-thread --data '{"posts":[...]}' --json
|
|
43
44
|
```
|
|
44
45
|
|
|
45
|
-
Add `"destination_url": "https://..."` to point the posts at the published article. Keep the `{{POST_URL}}` placeholder in stored text; it is replaced with the destination URL on copy.
|
|
46
|
+
Send only these fields, not the whole artifact: a save with none of them returns `nothing_to_save` and changes nothing. Add `"destination_url": "https://..."` to point the posts at the published article. Keep the `{{POST_URL}}` placeholder in stored text; it is replaced with the destination URL on copy.
|
|
46
47
|
|
|
47
48
|
## Slideshow
|
|
48
49
|
|
|
@@ -45,6 +45,8 @@ Every failure prints JSON on stderr with `ok: false`, `error` (a readable messag
|
|
|
45
45
|
| `reindex_too_soon` | `site reindex` within 15 minutes of the last read. | Wait, or check `coauthor site status`. |
|
|
46
46
|
| `site_index_unavailable` | The site reader couldn't be reached. | Try again later; posts are still written, just without new internal links. |
|
|
47
47
|
| `seo_not_applicable` | The project was created before SEO mode launched. | Create a new project with `--keyword`. |
|
|
48
|
+
| `nothing_to_save` | `repurpose save` had none of the fields it edits (for example the whole artifact sent back). Nothing changed. | Send the edited variation's fields with its id from `data.artifact.variations[].id`, as in `references/repurposing.md`. |
|
|
49
|
+
| `variation_not_saved` | `repurpose save` found the variation but the edit didn't stick (it was regenerated or removed meanwhile). | Run `repurpose show` again and reapply the edit to the current variation id. |
|
|
48
50
|
| `confirmation_required` | `search-brief set-keyword` or `set-mode` on a project that already has an outline. | Tell the user the outline, research and draft will be regenerated; with their OK, repeat with `--confirm-reset`. |
|
|
49
51
|
| `invalid_keyword` | The keyword is empty or longer than 200 characters. | Pass a plain search phrase. |
|
|
50
52
|
| `invalid_seo_mode` | `--seo` or `set-mode` got something other than `optimize`, `my-way` or `off`, or `--seo off` was combined with `--keyword`. | Pass one of the three modes; drop `--keyword` with `off`. |
|
|
@@ -536,6 +536,7 @@ coauthor repurpose generate <id> --format all --json # all five text f
|
|
|
536
536
|
- Generate only after the draft is final. Regenerating replaces the previous version of that format.
|
|
537
537
|
- The full set costs roughly 100-150 credits on top of the article.
|
|
538
538
|
- `coauthor repurpose list <id> --json` shows which formats exist and which are `stale` (the draft changed since they were made). Regenerate stale ones before anyone posts them.
|
|
539
|
+
- Repurposing follows the article as it is now, not the original brief, so a rewritten draft repurposes to its new argument.
|
|
539
540
|
|
|
540
541
|
### Review
|
|
541
542
|
|
|
@@ -556,7 +557,7 @@ coauthor repurpose save <id> --format x-post --data '{"variation_id":"<id>","pos
|
|
|
556
557
|
coauthor repurpose save <id> --format x-thread --data '{"posts":[...]}' --json
|
|
557
558
|
```
|
|
558
559
|
|
|
559
|
-
Add `"destination_url": "https://..."` to point the posts at the published article. Keep the `{{POST_URL}}` placeholder in stored text; it is replaced with the destination URL on copy.
|
|
560
|
+
Send only these fields, not the whole artifact: a save with none of them returns `nothing_to_save` and changes nothing. Add `"destination_url": "https://..."` to point the posts at the published article. Keep the `{{POST_URL}}` placeholder in stored text; it is replaced with the destination URL on copy.
|
|
560
561
|
|
|
561
562
|
### Slideshow
|
|
562
563
|
|
|
@@ -760,6 +761,8 @@ Every failure prints JSON on stderr with `ok: false`, `error` (a readable messag
|
|
|
760
761
|
| `reindex_too_soon` | `site reindex` within 15 minutes of the last read. | Wait, or check `coauthor site status`. |
|
|
761
762
|
| `site_index_unavailable` | The site reader couldn't be reached. | Try again later; posts are still written, just without new internal links. |
|
|
762
763
|
| `seo_not_applicable` | The project was created before SEO mode launched. | Create a new project with `--keyword`. |
|
|
764
|
+
| `nothing_to_save` | `repurpose save` had none of the fields it edits (for example the whole artifact sent back). Nothing changed. | Send the edited variation's fields with its id from `data.artifact.variations[].id`, as in `references/repurposing.md`. |
|
|
765
|
+
| `variation_not_saved` | `repurpose save` found the variation but the edit didn't stick (it was regenerated or removed meanwhile). | Run `repurpose show` again and reapply the edit to the current variation id. |
|
|
763
766
|
| `confirmation_required` | `search-brief set-keyword` or `set-mode` on a project that already has an outline. | Tell the user the outline, research and draft will be regenerated; with their OK, repeat with `--confirm-reset`. |
|
|
764
767
|
| `invalid_keyword` | The keyword is empty or longer than 200 characters. | Pass a plain search phrase. |
|
|
765
768
|
| `invalid_seo_mode` | `--seo` or `set-mode` got something other than `optimize`, `my-way` or `off`, or `--seo off` was combined with `--keyword`. | Pass one of the three modes; drop `--keyword` with `off`. |
|