popost 4.6.9 → 4.6.11
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 +2 -0
- package/SKILL.md +6 -2
- package/assets/canvas/assets/{dist-CX2mxpwq.js → dist-DAI3U0Jz.js} +1 -1
- package/assets/canvas/assets/{es-BFnFFu6P.js → es-3zEBH4X5.js} +1 -1
- package/assets/canvas/assets/index-Ce4sDSi9.css +1 -0
- package/assets/canvas/assets/{index-CwqBT_rk.js → index-Dc4qgNYJ.js} +4 -4
- package/assets/canvas/assets/{jszip.min-DqfCBLrH.js → jszip.min-BwYI3Gs3.js} +1 -1
- package/assets/canvas/build-info.json +6 -6
- package/assets/canvas/index.html +2 -2
- package/dist/cli.js +30544 -27776
- package/dist/index.js +30295 -27591
- package/dist/types/cloud/account.d.ts +14 -0
- package/dist/types/cloud/deliver.d.ts +29 -0
- package/dist/types/cloud/entitlement.d.ts +55 -0
- package/dist/types/cloud/paid-gate.d.ts +159 -0
- package/dist/types/cloud/service.d.ts +68 -23
- package/dist/types/commands/link-platforms.d.ts +2 -0
- package/dist/types/commands/update.d.ts +2 -0
- package/dist/types/device-login.d.ts +35 -0
- package/dist/types/editor/canvas-state.d.ts +1 -1
- package/dist/types/editor/handoff.d.ts +12 -3
- package/dist/types/editor/http-types.d.ts +4 -1
- package/dist/types/editor/routes-cloud.d.ts +4 -3
- package/dist/types/install/agents.d.ts +36 -11
- package/dist/types/install/record.d.ts +15 -0
- package/dist/types/providers/api-errors.d.ts +2 -0
- package/dist/types/providers/api.d.ts +3 -1
- package/dist/types/providers/link.d.ts +2 -0
- package/dist/types/providers/pricing.d.ts +11 -0
- package/dist/types/runtime.d.ts +38 -0
- package/dist/types/update/auto.d.ts +14 -0
- package/dist/types/update/check.d.ts +47 -0
- package/dist/types/update/install-kind.d.ts +27 -0
- package/dist/types/update/npm.d.ts +8 -0
- package/dist/types/update/perform.d.ts +64 -0
- package/dist/types/update/report.d.ts +7 -0
- package/dist/types/update/semver.d.ts +17 -0
- package/dist/types/update/session.d.ts +19 -0
- package/dist/types/update/state.d.ts +91 -0
- package/dist/types/update/verify.d.ts +33 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/types/video/cache/frames.d.ts +85 -0
- package/dist/types/video/cache/holds.d.ts +35 -0
- package/dist/types/video/cache/project.d.ts +57 -0
- package/dist/types/video/commands/clean.d.ts +9 -0
- package/dist/types/video/commands/product.d.ts +15 -0
- package/dist/types/video/compile/footage.d.ts +24 -7
- package/dist/types/video/compile/index.d.ts +3 -0
- package/dist/types/video/generate/index.d.ts +13 -1
- package/dist/types/video/preview/cloud.d.ts +20 -1
- package/dist/types/video/preview/edit/routes.d.ts +17 -11
- package/dist/types/video/preview/export-settings.d.ts +1 -2
- package/dist/types/video/preview/project.d.ts +3 -0
- package/dist/types/video/preview/shell/dom.d.ts +2 -0
- package/dist/types/video/preview/shell/footage.d.ts +2 -1
- package/dist/types/video/preview/shell/i18n.d.ts +1 -1
- package/dist/types/video/preview/shell/studio/cloud.d.ts +6 -1
- package/dist/types/video/preview/shell/studio/compare.d.ts +16 -0
- package/dist/types/video/preview/shell/studio/copy.d.ts +24 -3
- package/dist/types/video/preview/shell/studio/paid.d.ts +23 -0
- package/dist/types/video/preview/shell/studio/style.d.ts +2 -2
- package/dist/types/video/preview/shell/studio/workspace.d.ts +2 -0
- package/dist/types/video/preview/shell-bundle.d.ts +1 -1
- package/dist/types/video/product/requests.d.ts +74 -0
- package/dist/types/video/product/review.d.ts +74 -0
- package/dist/types/video/product/sheet.d.ts +99 -0
- package/dist/types/video/project/schema.d.ts +21 -21
- package/dist/types/video/render/index.d.ts +2 -0
- package/dist/types/video/render/session.d.ts +4 -0
- package/dist/types/video/replication/contract.d.ts +29 -29
- package/dist/types/video/replication/production.d.ts +5 -5
- package/dist/types/video/replication/schema.d.ts +2 -2
- package/dist/types/video/replication/speech-observed.d.ts +6 -6
- package/package.json +1 -1
- package/references/host-editor.md +33 -8
- package/references/image-workflow.md +6 -6
- package/references/onboarding.md +23 -3
- package/references/post-bundle.md +7 -7
- package/references/video-editing.md +19 -7
- package/references/video-performers.md +2 -2
- package/references/video-product.md +174 -0
- package/references/video-replication.md +1 -1
- package/references/video-step-1-read.md +15 -1
- package/references/video-step-3-content.md +14 -6
- package/references/video-step-7-deliver.md +36 -1
- package/references/video-tools.md +43 -7
- package/references/video.md +5 -0
- package/assets/canvas/assets/index-C5rz5H21.css +0 -1
- package/dist/types/cloud/auth-flow.d.ts +0 -30
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ Install from npm:
|
|
|
10
10
|
npm install -g popost && popost install
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
This standard installation keeps itself up to date: new patch and minor releases are checked against the registry (integrity and signature) and installed in the background, and the Skill copies that already exist are refreshed with them; `popost update` does it on request, and `POPOST_NO_AUTO_UPDATE=1` or `popost update --auto off` turns it off ([details](references/onboarding.md#updates)).
|
|
14
|
+
|
|
13
15
|
A supplied test/archive build includes a pinned companion package: install that file instead (`npm install -g ./popost-<version>.tgz`, then `popost install`) and keep using its executable rather than silently replacing it with a global/latest release.
|
|
14
16
|
|
|
15
17
|
Use `--agent` to select a supported Agent or `--dir <skills-directory>` for another Agent. Reload the Agent only if it has not discovered the Skill, then send a brief, local media or a supported social post link; continue an already supplied task directly when the Skill is available. The Skill and executable have separate installation locations. Missing tools are prepared only as needed. Source development uses `npm ci && npm run build:skill` at the repository root; `dist/` is generated.
|
package/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: popost
|
|
3
3
|
metadata:
|
|
4
|
-
version: "4.6.
|
|
4
|
+
version: "4.6.11"
|
|
5
5
|
description: Reproduce reference videos with new content; create, reproduce and edit social image posts; save supported social links to My Inspirations. Use for video remakes, single-image posts, carousels, editable canvas/Studio projects and inspiration saving from TikTok, Instagram, X, Xiaohongshu, Douyin, YouTube, Threads, LinkedIn, Reddit, Bilibili, Lemon8, Kuaishou, WeChat or Weibo links, local media and written briefs. Retrieve only the source content supported by the selected link service.
|
|
6
6
|
---
|
|
7
7
|
|
|
@@ -29,6 +29,8 @@ npm install -g popost && popost install
|
|
|
29
29
|
|
|
30
30
|
Inspect the selected executable/version and reuse working tools before installing. Keep a supplied source/test build and its companion CLI; do not downgrade it to an older npm release. The installed CLI, Skill and resources must support the same capabilities. Account login, credits and all media dependencies are not prerequisites for loading the Skill or doing useful local work.
|
|
31
31
|
|
|
32
|
+
The standard npm installation keeps itself current: a newer patch or minor release is installed in the background after a command, after the package was checked against the registry (integrity and signature), and the Skill copies that already exist are refreshed with it (`popost install --existing`; an update never creates a copy); `popost update` does the same on request (`--check` only compares versions; it refuses while an editor, Studio or render of this installation is running unless `--force`). When a command's `update` field or stderr says a newer version is available, was installed, or failed to install, tell the user in one line and continue the task; run the command the line names (`popost update`, `popost install --existing`, or another package manager's command for a copy it installed) when the user agrees. After an update, restart the Agent or start a new chat only if it still shows the old Skill text. Source checkouts and supplied or pinned builds are never replaced. Details and the switches `POPOST_NO_AUTO_UPDATE=1` / `POPOST_NO_UPDATE_CHECK=1`: [onboarding.md](references/onboarding.md#updates).
|
|
33
|
+
|
|
32
34
|
Prepare only what the next operation needs: an inspiration save needs no renderer; image rendering needs its browser/fonts; video production needs FFmpeg and Chrome/Chromium (`video doctor`), not ffprobe or a mandatory Python/WhisperX stack. Resolve missing ordinary dependencies within existing preparation authorization and verify the required operation. Explain substantial downloads or system changes outside that scope. Reuse profiles, tools and compatible caches across projects and chats. Do not silently drop required speech, text or footage when a capability is missing.
|
|
33
35
|
|
|
34
36
|
## Select the operation
|
|
@@ -41,6 +43,8 @@ Prepare only what the next operation needs: an inspiration save needs no rendere
|
|
|
41
43
|
- **Edit an image post.** Read [editor-contract.md](references/editor-contract.md); use [image-workflow.md](references/image-workflow.md) for project commands and review. Preserve design outside the change and reuse accepted images.
|
|
42
44
|
- **Use a named scene Skill.** Read its instructions/resources and [scene-templates.md](references/scene-templates.md). It supplies content/design direction; Popost owns execution and delivery for the selected image/video operation.
|
|
43
45
|
|
|
46
|
+
Whenever you tell the user which social platforms' links work (introducing popost, a first inspiration save, a link that was refused), run `popost link platforms` and name exactly the platforms it lists, with its `coverOnly` note: popost.ai adds and removes platforms, so a list from memory, this page or a README goes out of date. It is free and needs no account.
|
|
47
|
+
|
|
44
48
|
For a production reference link, read [post-bundle.md](references/post-bundle.md), quote the selected service, and parse only under fee authorization. Reuse a successful parse: it already saves the inspiration. Retrieve only the actual available content; a YouTube or Bilibili parse currently gives cover/title/description, not video bytes. Obtain a readable video before analyzing its shots or motion. Missing source content is a concrete input/service gap; thumbnails do not stand in for an unseen video. Local videos, images, screenshots and supplied text need no link parsing.
|
|
45
49
|
|
|
46
50
|
## Services and spending
|
|
@@ -59,6 +63,6 @@ Preserve request keys, receipts and accepted outputs. Reconcile pending/ambiguou
|
|
|
59
63
|
|
|
60
64
|
## Review and deliver
|
|
61
65
|
|
|
62
|
-
Image posts retain editable text, images and layout, reviewed PNGs and a complete project archive; open the actual canvas using the existing host/editor contract. Videos retain the reviewed MP4, editable Studio/project and requested Jianying/CapCut export. Inspiration saving returns its real saved ID/link.
|
|
66
|
+
Image posts retain editable text, images and layout, reviewed PNGs and a complete project archive; open the actual canvas using the existing host/editor contract. The canvas is part of every image-post delivery: open it in the host's panel yourself, confirm it loaded (an error page is not the canvas), and put its link (`open.url`) in the final message with the PNGs and archive. In WorkBuddy the editor service runs as a background task ([host-editor.md](references/host-editor.md#workbuddy)). Videos retain the reviewed MP4, editable Studio/project and requested Jianying/CapCut export. Inspiration saving returns its real saved ID/link. With a connected account (API Key or device connection), every finished output syncs to the user's popost.ai projects by itself, whether or not an editor was opened: `export --final` for image posts and `popost video render` for videos report it as `cloud` (`saved` with `webUrl`, `failed` with the reason, or `paused`), and edits in an editor you opened keep syncing. A failed sync never fails the export: deliver the files and say what `cloud` says. The account has a cloud-sync switch on popost.ai (Connections & API Key); while it is off (`paused`) nothing is synced: say so once with `manageUrl`, do not try to work around it. Without an account, the top-right Save to Cloud control of the canvas and the Studio connects it (the same device authorization as `popost auth login`), after which it reads "Cloud sync is on". For local canvas delivery, retain that control and use the default `--cloud auto`. Use `--cloud off` only when the user explicitly requests disabling cloud saving; local or embedded editing alone is not that request. Never claim an editor or result is open before it has loaded.
|
|
63
67
|
|
|
64
68
|
Check the real output against the brief and reference; a technical pass alone does not establish visual or audio quality. Report actual charges and unresolved jobs/refunds or material limitations. Preserve completed work when a service is unavailable. Creation, account connection and inspiration saving do not authorize social posting.
|