← Commit history

publish skill: corrected — binary ships in the per-platform pkg, NO releases (no out-of-band consumer)

John Lauer ·d93ba27c87 ·3mo ago ·parent f6873f3
1 file changed +15−12
publish-skills/adom-tts-publish/SKILL.md+15−12
@@ -41,20 +41,23 @@ description: >-    ./build.sh && install -m 0755 target/release/adom-tts ~/.local/bin/adom-tts    ``` -3. **Publish the LEAN package + upload the binary as a RELEASE asset.**-   What goes where (per pup-bridge-publish, verified here at v1.9.23):-   - **pkg tarball** = manifest + install/uninstall scripts + `skills/**` +-     `completions/**` ONLY (~17 KB). Enforced by the `files` allowlist in-     package.json — never remove it. NO src/, NO pngs/heroes (those are page-     assets via repo push), NO binaries. `dev-skills/` + `publish-skills/`-     are auto-excluded by the CLI.-   - **release asset** = the compiled binary, per platform. install.sh-     downloads it (`adom-wiki release download adom/adom-tts <ver>-     --platform linux`) — that's why the page has a Download card.+3. **Publish the package — the binary ships INSIDE it. NO release uploads.**+   Read the adom-wiki skill carefully: packages are resolved PER PLATFORM and+   the skill's own example says "a Linux consumer installs the package (CLI ++   skills)". Release assets exist ONLY for artifacts fetched OUTSIDE the+   install flow (a Windows installer a laptop downloads directly, pup's bridge+   zip that Adom Desktop fetches itself). adom-tts has no such consumer —+   every user is a Linux container running `pkg install` — so a release for+   adom-tts makes NO sense. (Got this wrong twice: first shipped src+pngs++   binary in a fat tarball AND a duplicate release; then over-corrected to a+   skills-only tarball with the binary as a release. Correct: lean allowlist+   WITH the binary, zero releases.)+   - package.json `files` allowlist: manifest + install/uninstall scripts ++     `bin/adom-tts` + `skills/**` + `completions/**` (~2.3 MB). NO src/, NO+     pngs (page assets via repo push). dev-/publish-skills auto-excluded.    ```bash-   adom-wiki pkg pack --json   # VERIFY lean (<25 KB, ~9 files) BEFORE publishing+   adom-wiki pkg pack --json    # VERIFY: ~10 files, ~2.3 MB, bin/adom-tts present    adom-wiki pkg publish --org adom-   adom-wiki release upload adom/adom-tts X.Y.Z target/release/adom-tts --platform linux    ```    Then prove the loop: `HOME=$(mktemp -d) adom-wiki pkg install adom/adom-tts`    and run `$HOME/.local/bin/adom-tts --version` from that fresh home.