@link.me/cli-darwin-x64 0.4.1 → 0.4.3

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/linkme CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/linkme
3
- size: 85426256 bytes
4
- sha256: e289ed0aab27e61adf83d0acbe7f4d312a2f5fcd0ae15474f63d2b8341719e1c
3
+ size: 76591376 bytes
4
+ sha256: 2f94773192a0cf7ccf6aa4b54a23fe96ed6eb317f477472cb5b11fe081b008e8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@link.me/cli-darwin-x64",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "Platform binary for @link.me/cli (darwin-x64)",
5
5
  "license": "UNLICENSED",
6
6
  "os": [
@@ -19,8 +19,10 @@ For the local CLI, pass a readable local path to the relevant command. Discover
19
19
 
20
20
  | Goal | Local CLI |
21
21
  |---|---|
22
- | Reusable AP video | `linkme ap upload <file>` |
23
- | Create AP post | `linkme ap post create --video <file-or-ap-key> ...` |
22
+ | Reusable AP image/video | `linkme ap upload <file>` |
23
+ | Create AP video post | `linkme ap post create --video <file-or-ap-key> ...` |
24
+ | Create AP image post | `linkme ap post create --image <file-or-asset:id> ...` |
25
+ | Create AP carousel | `linkme ap post create --media <file-or-asset:id> --media <file-or-asset:id> ...` |
24
26
  | Gallery image | `linkme gallery upload <file>` |
25
27
  | Profile image | `linkme profile edit --image <file>` |
26
28
  | Profile video | `linkme profile video set --file <file>` |
@@ -33,7 +35,7 @@ For the local CLI, pass a readable local path to the relevant command. Discover
33
35
  | Course lesson video | `linkme courses videos upload --file <mp4> --json` |
34
36
  | AI merch model image | `linkme commerce merch mockups generate <template-id> --model-image <file>` |
35
37
 
36
- Prefer a reusable Linkme or AP object reference when the same asset will be used more than once.
38
+ Prefer a reusable Linkme or AP object reference when the same asset will be used more than once. AP images and carousels require finalized asset IDs; use `asset:<id>` references in display order, not bare R2 keys. Raw AP images are limited to 8 MiB and are normalized to still JPEGs. Text posts use `--format text` with a nonblank caption and skip upload. Hosted AP carousel inputs and their URL/reference alternatives are ordered arrays.
37
39
 
38
40
  ## Hosted MCP rules
39
41
 
@@ -1,18 +1,22 @@
1
1
  ---
2
2
  name: linkme-publish-content
3
- description: Draft, schedule, publish, and monitor one video across Linkme AP social accounts. Use when a user wants to post short-form video, reuse an uploaded media key, inspect target status, retry, reschedule, or cancel a post.
3
+ description: Draft, schedule, publish, and monitor video, image, carousel, or text posts across Linkme AP social accounts. Use when a user wants to post media or text, reuse an uploaded media key, inspect target status, retry, reschedule, or cancel a post.
4
4
  ---
5
5
 
6
6
  # Publish Content
7
7
 
8
- Use Linkme AP to distribute one video to connected social accounts. Treat `ap post create` as an external side effect because an unscheduled post can be queued immediately. Prepare and show the intended parameters first; invoke it only when the user requested publication or approved the exact targets and timing.
8
+ Use Linkme AP to publish video, image, carousel, or text posts to connected social accounts. Treat `ap post create` as an external side effect because an unscheduled post can be queued immediately. Prepare and show the intended parameters first; invoke it only when the user requested publication or approved the exact targets and timing.
9
9
 
10
10
  Prefer connected Linkme MCP tools. Their names mirror CLI paths with underscores; use the shell commands below as fallback and discovery examples.
11
11
 
12
12
  ## Choose the media path
13
13
 
14
- - Local CLI: pass a local video to `linkme ap post create --video ./clip.mp4`, or upload once with `linkme ap upload ./clip.mp4` and reuse the returned AP key.
15
- - Hosted MCP: call `linkme_capabilities` before accepting media. Do not send a local path. Use an existing Linkme video reference with the AP post-create tool. Hosted proxy video upload is intentionally unavailable when capabilities say so.
14
+ - Local CLI video: pass a local video to `linkme ap post create --video ./clip.mp4`, or upload once with `linkme ap upload ./clip.mp4` and reuse the returned AP key.
15
+ - Image: use `--image ./photo.jpg` or `--format image --upload-asset-id <id>`. AP accepts JPEG, PNG, WebP, GIF, AVIF, HEIC, and HEIF up to 8 MiB and normalizes to still JPEG. Images need finalized asset IDs, not bare R2 keys.
16
+ - Carousel: repeat `--media` in order, using files or `asset:<id>` references. It requires distinct assets: 2–10 on Instagram/Facebook, 2–20 on Threads/LinkedIn, 2–35 on TikTok, 2–4 on X. Only Instagram and Threads accept video items.
17
+ - Text: use `--format text --caption "..." --platforms threads,x`, with no media. Facebook, X, Threads, and LinkedIn support text. Images/carousels additionally support Instagram and TikTok; YouTube remains video-only.
18
+ - Media captions are optional; text needs a nonblank caption.
19
+ - Hosted MCP: call `linkme_capabilities` and inspect the tool schema. Use `video`, `image`, or ordered `media` file inputs, their allowlisted URL alternatives, or platform references. `imageReference` takes `asset:<id>`; `mediaReference` takes an ordered array of those references. `uploadAssetId` plus `format: "image"` also works. For mixed sources, upload each new file with `ap_upload`, then create using all asset IDs. Do not send local paths.
16
20
  - Do not infer that an HTTPS URL is uploadable. Use only the file/reference fields exposed by the selected tool schema.
17
21
 
18
22
  ## Prepare
@@ -31,7 +35,7 @@ Confirm:
31
35
  - caption and provider-specific title/privacy fields
32
36
  - immediate versus scheduled publication
33
37
  - schedule timestamp and timezone
34
- - video source
38
+ - post format and ordered media sources (none for text)
35
39
 
36
40
  ## Create and verify
37
41
 
@@ -1,4 +1,4 @@
1
1
  interface:
2
2
  display_name: "Publish Linkme Content"
3
- short_description: "Publish and monitor social video"
4
- default_prompt: "Use $linkme-publish-content to prepare this video for my connected social accounts."
3
+ short_description: "Publish and monitor social posts"
4
+ default_prompt: "Use $linkme-publish-content to prepare this post for my connected social accounts."