@theholocron/cli 5.0.0-alpha.480 → 5.0.0-alpha.482
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 +5 -2
- package/dist/cli.mjs +716 -139
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-Dqs99QEg.d.mts → index-Crowwrda.d.mts} +113 -1
- package/dist/index.d.mts +2 -2
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/presets.d.mts +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -118,7 +118,7 @@ Every command is tagged with how much of a repo it needs:
|
|
|
118
118
|
| ------------ | -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
119
119
|
| `global` | the CLI binary alone | `version`, `clone`, `new repo` / `plugin` / `token` / `github-app`, `upgrade …`, `check token` / `resolved`, `remove token` / `skill`, `list tokens` / `skills`, `publish …`, `install skills`, `update skills`, `run lint commit-msg` |
|
|
120
120
|
| `repo-aware` | `./holocron.config`, walking up from cwd, no plugins | `run`, `run ci`, `show config`, `sync readme`, `deploy on-release` |
|
|
121
|
-
| `workspace` | the `@theholocron/holocron-plugin-*` packages resolvable | `doctor`, `setup`, `sync`, `cleanup branches`, `sync secrets`, `deploy`, `sync github`, `sync issues`, `sync ideas`, `sync tooling`, `export requests`, `upload coverage`
|
|
121
|
+
| `workspace` | the `@theholocron/holocron-plugin-*` packages resolvable | `doctor`, `setup`, `sync`, `cleanup branches`, `sync secrets`, `deploy`, `sync github`, `sync issues`, `sync ideas`, `sync tooling`, `export requests`, `open requests`, `upload coverage` |
|
|
122
122
|
|
|
123
123
|
A `workspace` command run from a bare global install (no plugins next to the
|
|
124
124
|
CLI) fails with one actionable line — install the plugins as devDependencies or
|
|
@@ -667,6 +667,7 @@ commands and the config are provider-neutral; Discord is the first provider.
|
|
|
667
667
|
| `holocron doctor github-app` | Does each GitHub App instance in `githubApps` (`{ name, manifest, environment }`) have what its manifest file (`default_permissions`, `default_events`) declares? Reads the App's id and key from the vault `environment` in memory (never printed), calls `GET /app` and `GET /app/installations` with the App's JWT. Rows per instance: `reachable`, `events` (all subscribed), `permissions` (each granted at least at the manifest's level, `read < write < admin`), `installations` (none lags the App, a pending update fails). Extras on the App are `info` in a row's detail, never a failure. A gap ends with the App's settings page (user- or organization-owned) and, for an installation, its own page. Credentials that cannot be read are a skip; an unreadable manifest or a rejected JWT fails. Read-only |
|
|
668
668
|
| `holocron doctor releases` | Did npm receive every release tag? One row per release line (each `release` task group, tags `<group>-v<version>`, and the repo-wide `v<version>`) and channel (`latest`, or a prerelease's first identifier such as `alpha`): the newest tag against what each package serves on that dist-tag. A package behind, or not on npm, fails the row, which names the tag and the `refs/notes/semantic-release-<tag>` note to delete and the two known causes (a sigstore 409, `ENEEDAUTH` fixed by `holocron publish package --sync-trust`). A tag under 30 minutes old is a skip. Reads git tags and npm's public registry; no provider or token. Read-only |
|
|
669
669
|
| `holocron doctor logs` | Does each Axiom dataset the setup ships logs to exist, and does the token reach it? Rows: `token is accepted` (a 401 fails), one `dataset for <service>` for the CLI (`HOLOCRON_AXIOM_DATASET`, resolved by the logger's own chain), Sentinel (`SENTINEL_AXIOM_DATASET`) and any other `dev.serve.logging.datasetVar` (a 404 fails and names the fix), `organization` (`HOLOCRON_AXIOM_ORG`, then `AXIOM_ORG`), and an `info` row per dataset with the `retentionDays` Axiom reports (or says it reported none). Reads through the optional `Logs.readDataset` / `Logs.checkToken`; never creates a dataset or prints a token. A name or token that cannot be read is a skip. Read-only |
|
|
670
|
+
| `holocron doctor wiki` | Does the wiki the config declares exist, and does it match the sources? Rows: `organization is set` (`fern/fern.config.json` against the declared `fernOrg`), `docs site is declared` (the `instances:` url and `custom-domain` of `fern/docs.yml`), `docs site answers` and `custom domain answers` (one unauthenticated GET each: a 404 or 5xx fails, a 401/403 passes as restricted, no answer is a skip), `navigation pages exist` (every `path:` of the navigation is on disk), an `info` row for pages under `docs/wiki` the navigation leaves out, and `published pages` (the site's sitemap lists at least as many pages as the navigation; fewer fails and names the wiki workflow). Reads through the optional `Wiki.inspect()`; never publishes, writes or sends a token. A provider that cannot inspect, or a site that cannot be reached, is a skip. Read-only |
|
|
670
671
|
| `holocron doctor environments` | Do the deployment environments exist? The ones `setup` creates (`staging`, `production`, when an `environments` provider is configured) plus every environment `repo.secrets.environments` names. One row. A missing one fails; an extra one is never a problem; no provider with some named is a skip |
|
|
671
672
|
| `holocron doctor project [--post [channel]]` | Does each board `providers.projects.boards` declares exist and match its template? One row per board, status list, field, view and automation rule; the board's extras and the items `reconcile project` would fix (no status, closed but not done, open blocker but not blocked, blocked without a blocker) are `info` rows, never a failure. A template file that does not read fails, naming the file. Read-only; `--post` shares the failing rows through the `notifications` bot. |
|
|
672
673
|
| `holocron doctor repo` | Do the repository settings `setup` writes match the config? One row per group the config declares: description and homepage, default branch and merge settings, topics, custom properties, team access, branch protection; labels and security settings are always checked. Read-only. Reads through optional `Source` methods (`getRepoInfo`, `getProperties`, `listLabels`, `listTeamAccess`, `getRulesetDetail`, `getSecurity`); a group that cannot be read is a skip, not a failure |
|
|
@@ -840,6 +841,8 @@ holocron export tokens # tokens as NAME=value lines in a private .cr
|
|
|
840
841
|
holocron export tokens --only HOLOCRON_SENTRY_TOKEN # one token, to the clipboard
|
|
841
842
|
holocron export requests --dry-run # convert the repo's request collections for each tooling provider that can export, writing nothing
|
|
842
843
|
holocron export requests --to bruno --yes # write api/.export/bruno/ (ignored by version control; never inside the source folder)
|
|
844
|
+
holocron open requests --dry-run # which secrets the request workspace reads, from which vault entries; reads and starts nothing
|
|
845
|
+
holocron open requests --environment dev # start Bruno with its signing secrets read from the layer's 1Password Environment (a private file until Bruno quits)
|
|
843
846
|
holocron upload coverage --uploads '[{"flag":"utils","files":"utils/*/coverage/lcov.info"}]' --allow-empty # upload the coverage reports, one flag per group, through the coverage provider (Codecov: the job's OIDC token, no stored token)
|
|
844
847
|
holocron export tokens --blank --vendor-names --file --only VERCEL_TOKEN --only HOLOCRON_RELEASE_TOKEN # the stored ones filled, the rest empty
|
|
845
848
|
holocron new github-app --name "My App - dev" --webhook-url https://<tunnel>/api/webhook --manifest apps/sentinel/github-app.manifest.json # a GitHub App from a manifest (the flow is in @theholocron/dagobah); its id, key and webhook secret to a private .credentials
|
|
@@ -976,7 +979,7 @@ the local override exists to exempt.
|
|
|
976
979
|
- `src/commands/` — `setup`, `sync`, `doctor`, `deploy`,
|
|
977
980
|
`check monitor`, `list secrets`, `new secret`, `sync secrets`, `publish package`,
|
|
978
981
|
`publish bump-versions`, `publish tag`, `sync github`, `upgrade node`,
|
|
979
|
-
`upgrade deps`, `new plugin`, `check token`, `export tokens`, `export requests`, `upload coverage`, `setup notifications`,
|
|
982
|
+
`upgrade deps`, `new plugin`, `check token`, `export tokens`, `export requests`, `open requests`, `upload coverage`, `setup notifications`,
|
|
980
983
|
`new channel`, `link account`,
|
|
981
984
|
`sync roles`, `doctor ci`, `doctor dns`, `doctor environments`, `doctor monitoring`, `doctor notifications`, `doctor project`, `doctor repo`, `doctor secrets`
|
|
982
985
|
`sync roles`, `reconcile project`, `doctor ci`, `doctor dns`, `doctor environments`, `doctor monitoring`, `doctor notifications`, `doctor repo`, `doctor secrets`
|