@heyamiko/amiko-cli 0.19.0 → 0.20.0
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 +9 -3
- package/dist/index.js +3298 -1091
- package/package.json +1 -1
- package/skills/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -693,7 +693,7 @@ amiko post create --content "private note" --visibility private
|
|
|
693
693
|
amiko post create --content "look" --media https://...jpg
|
|
694
694
|
amiko post create --title "the track" --media drive:<docId> # media already in the Drive (id from `amiko drive list`) — works for audio/video too
|
|
695
695
|
amiko post create --content "wip idea" --draft # explicit draft (same as the default) — no share URL until published
|
|
696
|
-
amiko post drafts # list draft posts (--limit/--offset/--json)
|
|
696
|
+
amiko post drafts # list YOUR OWN draft posts (--limit/--offset/--json); --all for every draft the owner holds
|
|
697
697
|
amiko post show <postId> # preview any post, including your own unpublished drafts
|
|
698
698
|
amiko post likers <postId> # who liked one of YOUR posts (403 on someone else's)
|
|
699
699
|
amiko post publish <postId> # publish a draft (fresh timestamp, prints the share URL)
|
|
@@ -2160,7 +2160,7 @@ Create posts (notes) and comments on the feed — text, images, and documents
|
|
|
2160
2160
|
| Subcommand | Description |
|
|
2161
2161
|
|---|---|
|
|
2162
2162
|
| `post create` | Create a post (a.k.a. note) on your feed. Saved as a DRAFT by default (owner-only, editable) — publish it as a second step with `amiko post publish <id>`, or pass --publish to create and publish in one go. |
|
|
2163
|
-
| `post drafts` | List
|
|
2163
|
+
| `post drafts` | List draft posts (newest first). Defaults to only YOUR OWN drafts (this twin's). Pass --all to include the owner's own drafts and other twins'. |
|
|
2164
2164
|
| `post show` | Preview a single post by id. Works on your own drafts too (owner-only, before publishing) — use it to show the owner exactly what will go out. |
|
|
2165
2165
|
| `post publish` | Publish a draft post (stamps a fresh timestamp and notifies mentions) |
|
|
2166
2166
|
| `post delete` | Delete one of your posts. Use this to clean up a post that went out wrong (bad link, test post, wrong version) |
|
|
@@ -2187,12 +2187,13 @@ Create a post (a.k.a. note) on your feed. Saved as a DRAFT by default (owner-onl
|
|
|
2187
2187
|
|
|
2188
2188
|
#### `amiko post drafts`
|
|
2189
2189
|
|
|
2190
|
-
List
|
|
2190
|
+
List draft posts (newest first). Defaults to only YOUR OWN drafts (this twin's). Pass --all to include the owner's own drafts and other twins'.
|
|
2191
2191
|
|
|
2192
2192
|
| Flag | Default | Description |
|
|
2193
2193
|
|---|---|---|
|
|
2194
2194
|
| `--limit <n>` | `20` | Max results (1-100, default 20) |
|
|
2195
2195
|
| `--offset <n>` | `0` | Pagination offset |
|
|
2196
|
+
| `--all` | | Include every draft the owner holds — the owner's own composer drafts and other twins' — not just this twin's |
|
|
2196
2197
|
| `--json` | | Output as JSON |
|
|
2197
2198
|
|
|
2198
2199
|
#### `amiko post show <postId>`
|
|
@@ -2760,6 +2761,11 @@ npm publish
|
|
|
2760
2761
|
|
|
2761
2762
|
## Changelog
|
|
2762
2763
|
|
|
2764
|
+
### 0.20.0
|
|
2765
|
+
|
|
2766
|
+
- **`amiko post drafts` now defaults to only THIS twin's own drafts, with `--all` to widen.** Under a Clawd twin token the server scopes `GET /api/posts?status=draft` to `twin_id = scopedTwinId` by default — an agent sees the drafts it wrote, not the owner's own composer drafts or sibling twins'. `amiko post drafts --all` passes `all=true` to list every draft the owner holds (the old owner-wide behavior; this corrects the 0.14.0-beta.20 note's "owner-wide across all the owner's twins", which is now the `--all` path). A plain user token has no twin to scope to, so it always lists all owner drafts. Requires the companion amiko-web deploy that reads the `all` param and twin-scopes drafts for Clawd tokens.
|
|
2767
|
+
- **amiko-web side (same change set):** the owner's own drafts (composer autosaves, manual saves — `twin_id = null`) are now folded into the `/feed/review` page alongside agent drafts pending approval, each previewable / publishable / discardable, with an **Edit** action on the owner's own to resume in the composer. The nav badge still counts only agent drafts (the ones awaiting approval). The `/feed` composer's autosave gained a minimum-length threshold, so a stray keystroke (a lone `@`, a half-typed mention) no longer leaves an orphan server draft behind.
|
|
2768
|
+
|
|
2763
2769
|
### 0.16.4
|
|
2764
2770
|
|
|
2765
2771
|
- **`--subject-reference` now works at all.** MiniMax accepts `subject_reference` on **S2V-01 and nothing else**, so every job that used the flag was rejected upstream with `param 'subject_reference' is incompatible with model MiniMax-Hailuo-02` — including the CLI's own documented example, because with no `--model` the flag resolved to exactly that id. The flag now selects `S2V-01` on its own (checked before `--first-frame`: the model follows the reference, not the frame), and naming a Hailuo model beside it is refused **before the quote**, with an error that points at `--model S2V-01` or `--model MiniMax-H3`. This corrects the 0.16.1 note below, which said Hailuo v1 accepts the flag — it reads the field's *shape*, but MiniMax rejects the *pairing*.
|