popost 4.6.0 → 4.6.1
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 +7 -5
- package/SKILL.md +1 -1
- package/assets/canvas/assets/{dist-Ag5yM9-G.js → dist-BmD8AP0A.js} +1 -1
- package/assets/canvas/assets/{es-DzkTYs_E.js → es-CC29Cabv.js} +1 -1
- package/assets/canvas/assets/{index-DjfLTPyx.js → index-DhwyFpu2.js} +6 -6
- package/assets/canvas/assets/{jszip.min-Cw2BF2G0.js → jszip.min-Bwf_yCrF.js} +1 -1
- package/assets/canvas/build-info.json +5 -5
- package/assets/canvas/index.html +1 -1
- package/dist/cli.js +3454 -1631
- package/dist/index.js +3392 -1616
- package/dist/types/broken-pipe.d.ts +13 -0
- package/dist/types/core/error-text.d.ts +26 -0
- package/dist/types/core/errors.d.ts +5 -3
- package/dist/types/core/image-info.d.ts +1 -1
- package/dist/types/core/image.d.ts +3 -5
- package/dist/types/core/project.d.ts +8 -7
- package/dist/types/core/util.d.ts +1 -2
- package/dist/types/credentials.d.ts +0 -10
- package/dist/types/editor/http-types.d.ts +1 -0
- package/dist/types/i18n.d.ts +11 -0
- package/dist/types/main.d.ts +4 -1
- package/dist/types/profile.d.ts +2 -0
- package/dist/types/providers/api-errors.d.ts +2 -2
- package/dist/types/providers/api.d.ts +4 -5
- package/dist/types/providers/errors.d.ts +5 -1
- package/dist/types/providers/popost-validate.d.ts +0 -1
- package/dist/types/render/audit-script.d.ts +2 -1
- package/dist/types/render/audit.d.ts +2 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/types/workflow/build.d.ts +1 -1
- package/dist/types/workflow/errors.d.ts +1 -1
- package/dist/types/workflow/io.d.ts +1 -1
- package/dist/types/workflow/post-bundle.d.ts +6 -1
- package/dist/types/workflow/series-plan.d.ts +5 -2
- package/dist/types/workflow/template-plugins.d.ts +0 -8
- package/package.json +1 -1
- package/references/post-bundle.md +1 -1
- package/references/providers.md +1 -1
package/README.md
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
# Popost Skill 4.6.
|
|
1
|
+
# Popost Skill 4.6.1
|
|
2
2
|
|
|
3
3
|
Create, reproduce and edit social image posts as editable HTML projects. The Agent entrypoint is [SKILL.md](SKILL.md); first-use and spending rules are in [onboarding](references/onboarding.md).
|
|
4
4
|
|
|
5
5
|
## Install and start
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Install from npm:
|
|
8
8
|
|
|
9
9
|
```sh
|
|
10
|
-
npm install -g
|
|
10
|
+
npm install -g popost
|
|
11
11
|
popost install
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
+
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.
|
|
15
|
+
|
|
14
16
|
Use `--agent` to select a supported Agent or `--dir <skills-directory>` for another Agent. Start a new session and send a brief, pictures/screenshots, or a supported social post link. 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.
|
|
15
17
|
|
|
16
18
|
## Accounts and costs
|
|
17
19
|
|
|
18
20
|
Local references, layout, editing, rendering and export use no Popost image/parsing credits; the Agent itself may have separate fees. Popost hosted parsing retrieves supported pictures, titles and body text from TikTok, Instagram, X, Xiaohongshu and Douyin posts. Local screenshots and supplied text are an alternative to parsing.
|
|
19
21
|
|
|
20
|
-
For hosted work, run `popost auth login`. Enter the device code in the browser and approve the connection. The CLI verifies the account before it reports success. Reuse the same profile for future chats and disconnect it from the account settings whenever needed.
|
|
22
|
+
For hosted work, run `popost auth login`. Enter the device code in the browser and approve the connection. The CLI verifies the account before it reports success. Reuse the same profile for future chats and disconnect it from the account settings whenever needed. To use another site, pass its full API address, for example `popost auth login --base-url https://<site>/api/open/v1` (`POPOST_BASE_URL` takes the same full address; the default is `https://popost.ai/api/open/v1`). Developers can still configure an API key through their host or `popost auth set --prompt`.
|
|
21
23
|
|
|
22
24
|
`link quote` / `pricing` reads the live parsing tariff without creating a task. To save a supported post link directly to the account's My Inspirations, use `inspiration quote`, then `inspiration add URL --confirm --max-credits N` after authorization. This returns an inspiration ID without downloading files. `inspiration status TASK_ID` resumes an unfinished save. `link parse URL --confirm --max-credits N` also creates a local PostBundle for editing. Image jobs use `image prepare`, `image quote`, then `image run --quote-id Q --confirm`; their request caps, price recheck and idempotency remain in effect. The Agent shows stage fees and tracks commission scope/budget, including optional composition reference images. Cross-process server-wide project budgets are not provided by this CLI.
|
|
23
25
|
|
|
@@ -31,6 +33,6 @@ The canvas editor is maintained in `packages/canvas-editor`; its build is publis
|
|
|
31
33
|
|
|
32
34
|
## Maintainer verification
|
|
33
35
|
|
|
34
|
-
From the repository root run `npm run check`, `npm run build` and `npm run build:skill`; packaging is checked with `npm run release:check`. Tests use in-memory API fixtures and do not establish real model quality or live billing. Rendering tests require local Chrome/Chromium. `SOURCE-MANIFEST.sha256` verifies tracked source and resources (excluding this README and the manifest).
|
|
36
|
+
From the repository root run `npm run check`, `npm run build` and `npm run build:skill`; packaging is checked with `npm run release:check`. Tests use in-memory API fixtures and do not establish real model quality or live billing. Rendering tests require local Chrome/Chromium. In the repository, `skills/popost/SOURCE-MANIFEST.sha256` verifies tracked source and resources (excluding this README and the manifest); it is not part of the npm package.
|
|
35
37
|
|
|
36
38
|
License scope is defined by [LICENSE](LICENSE) and [THIRD_PARTY_NOTICES](THIRD_PARTY_NOTICES); this update does not change licensing.
|
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.1"
|
|
5
5
|
description: 创作、复刻和编辑社媒单图与多图文,适用于小红书、抖音、TikTok、Instagram(ins)和 X。可将这五个平台的帖子链接保存到用户账号的「我的灵感」。根据文字需求、本地图片、截图或指定场景 skill,制作可继续改文字、图片和布局的 HTML 图文,交付宿主侧栏中的 popost 多页画布、PNG 与完整工程 ZIP。帖子链接可交给 popost.ai 解析(需连接账户),否则使用本地参考。
|
|
6
6
|
---
|
|
7
7
|
|