@buildinternet/releases-skills 0.43.0 → 0.45.0
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/package.json
CHANGED
|
@@ -74,6 +74,8 @@ Every command that takes an org / product / source / release identifier accepts
|
|
|
74
74
|
|
|
75
75
|
Tabular reader commands fit themselves to the terminal width when stdout is a TTY (column truncation with `…`) and switch to bare TSV (no headers, no color, no truncation) when stdout is piped — so `releases org list | cut -f2` works without parsing ANSI. Set `COLUMNS=<n>` to override the detected width. Use `--json` whenever you need stable, complete output for parsing.
|
|
76
76
|
|
|
77
|
+
The release readers (`get`, `search`, `tail`/`latest`) return a **slim** JSON shape by default — core fields plus a markdown-stripped `excerpt` and `contentChars`/`contentTokens` size hints — to keep agent token usage down; pass `--full` for the complete payload. (This is the inverse of `list`, which is verbose by default with an opt-in `--compact`.) See `references/reader.md`.
|
|
78
|
+
|
|
77
79
|
Every mutating admin command accepts `--dry-run` to print the planned write (with all validations applied) without calling the API. Pair with `--json` for a machine-readable plan. See `references/admin.md` for the full coverage list.
|
|
78
80
|
|
|
79
81
|
## Authentication
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Reader commands are unauthenticated — no API key required. They talk to `api.releases.sh` over HTTPS and all support `--json` for machine-readable output.
|
|
4
4
|
|
|
5
|
+
**Release JSON is slim by default.** `get`, `search`, and `tail`/`latest` return a lean release shape — `id`, `version`, `title`, `summary`, a markdown-stripped `excerpt`, `url`, `publishedAt`, nested `source`/`org`, and `contentChars`/`contentTokens` size hints. This drops storage internals (`contentHash`, `sourceId`, `versionSort`, `fetchedAt`, …) and the redundant `title*` variants to keep token usage low. Add `--full` when you need the complete payload (including the full `content` body). `summary` may be `null`; lean on `excerpt` / `contentChars` to decide whether to pull more.
|
|
6
|
+
|
|
5
7
|
## Search
|
|
6
8
|
|
|
7
9
|
Unified search across organizations, the catalog (products + standalone sources), and releases.
|
|
@@ -20,7 +22,8 @@ Flags:
|
|
|
20
22
|
- `--limit <n>` — max results per section (default: 10).
|
|
21
23
|
- `--mode <lexical|semantic|hybrid>` — pick the release-retrieval strategy. Server default is hybrid; pass `lexical` for pure FTS ranking.
|
|
22
24
|
- `--kind <platform|sdk|mobile|desktop|docs|integration|tool>` — taxonomy filter. Release hits match `COALESCE(source.kind, product.kind)` (a source with no kind inherits from its product); catalog hits match the row's own kind directly.
|
|
23
|
-
- `--json` — machine output. Release hits include a `kind: "release" | "changelog_chunk"` discriminator. Catalog hits include `entryType: "product" | "source"` (the entity discriminator) plus an optional `kind` field carrying the taxonomy classification.
|
|
25
|
+
- `--json` — machine output (slim release hits by default; `--full` for the complete shape). Release hits include a `kind: "release" | "changelog_chunk"` discriminator. Catalog hits include `entryType: "product" | "source"` (the entity discriminator) plus an optional `kind` field carrying the taxonomy classification.
|
|
26
|
+
- `--full` — with `--json`, return complete unprojected release hits (full `content`, `score`, `sourceType`, `title*` variants, …).
|
|
24
27
|
|
|
25
28
|
Catalog hits also include the response field `catalog`. Older API deploys will still send the deprecated `products` alias instead — the CLI reads either, but new code should consume `catalog`.
|
|
26
29
|
|
|
@@ -44,7 +47,8 @@ releases tail src_abc123 # one source (typed id)
|
|
|
44
47
|
releases tail --org vercel --count 20 # whole org (org_…, slug, domain, name, or handle)
|
|
45
48
|
releases tail --product nextjs # one product (prod_… or slug)
|
|
46
49
|
releases tail --type feature # filter by release type
|
|
47
|
-
releases tail --json
|
|
50
|
+
releases tail --json # slim shape
|
|
51
|
+
releases tail --json --full # complete payload
|
|
48
52
|
```
|
|
49
53
|
|
|
50
54
|
## List sources
|