@link.me/cli-linux-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:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 88581600 bytes
|
|
4
|
+
sha256: 68dee3f424d208d102c7b9e25d018d10c5f9b017cf5a28c952caca95c57fd070
|
package/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
-
|
|
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
|
-
-
|
|
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
|
|
4
|
-
default_prompt: "Use $linkme-publish-content to prepare this
|
|
3
|
+
short_description: "Publish and monitor social posts"
|
|
4
|
+
default_prompt: "Use $linkme-publish-content to prepare this post for my connected social accounts."
|