Owner rename (GitHub repo already caelum0x/openjev -> caelum0x/umpirix, origin updated): rebrands every user-facing surface while keeping full backward compatibility. - README.md: title, badges, clone/MCP commands, SDK table, model-family table and a new "Renamed from OpenJev" section (mirroring the existing "Renamed from opentypesafe" section) documenting every old->new mapping. Never claims Umpirix is or was made by TypeSafe; "Jev-compatible" kept only where it describes wire compatibility. - CLI (scripts/cli.mjs): primary bin is now `umpirix`; `openjev` and `opentypesafe` still work and print a one-line rename notice (detected via the invoked bin's basename). package.json's `name` is now "umpirix" and all three bin names are installed. - Site/app title: the single SITE_NAME constant (src/lib/seo/site.ts) is now "Umpirix", which cascades into every page's <title> and JSON-LD; the nav sidebar brand text (app-shell.tsx) and OG site title (og/site.json) updated too. - SDK package names: @openjev/sdk -> @umpirix/sdk, @openjev/lite -> @umpirix/lite, @openjev/ai-sdk -> @umpirix/ai-sdk (sdk/js, sdk/js-lite, sdk/ai-sdk, plus the dependent sdk/scribase-decisions package and its source re-export). All import sites, peer/dev dependency keys, jsr.json and doc comments updated to match. Verified free on npm (404) as of 2026-11-11. sdk/js (193 tests) and sdk/js-lite (99 tests) both typecheck and test clean after the rename; `npm pack --dry-run` confirmed real, correctly-named tarballs for both. - PyPI: openjev-client -> umpirix-client (sdk/python), openjev-adapters -> umpirix-adapters (adapters/python); both plain names confirmed free on PyPI (404) as of 2026-11-11. The importable module stays `openjev` / `openjev_adapters` for compatibility. Found and fixed a real regression from the distribution rename: both packages' `_version.py` read `importlib.metadata.version()` by the old hardcoded distribution name, which would have raised PackageNotFoundError post-rename — now tries the new name first, falls back through the old names. `uv sync` + `uv build` + `uvx twine check` pass clean for both under the new names (681 + 452 tests pass respectively); `adapters/python/pyproject.toml`'s `[tool.uv.sources]` key updated to match so the local editable override still resolves. No PyPI token exists on this machine, so nothing was published — exact commands are in PUBLISHING.md for whoever holds the credentials. - PUBLISHING.md: renamed package table, documented the verified-clean local builds above, and the owner-gated npm (@umpirix org doesn't exist yet, needs browser 2FA) / PyPI (token removed) bootstrap steps. - Root `npm run typecheck` / `npm test` (138 pass) / `npm run gold` (61 pass) all clean after every change above. - hackathons/geekroom-2026/demo-umpirix.mp4: the existing real narrated Bifrost demo capture (119.8s, Deepgram aura-2-asteria-en narration, -14.6 LUFS measured) copied to the name this task's submission expects, plus its real raw captures (media/raw, media/terminal) and a real SRT built from the narration's own word-level timestamps (media/demo-umpirix.srt) for caption generation. Known gap, not hidden: the capture's on-screen app UI still reads "OpenJev" (pre-rebrand, pre-redeploy) — a fresh re-record after this rebrand ships to the running app is a real follow-up, noted in plans/openjev.md. Also pushed a companion one-line copy fix to caelum0x/scribase (commit a8c2f72, not this repo): scribase.com/decisions now says "Built on Umpirix" instead of "Built on OpenJev", deployed live (verified 200, "Built on Umpirix" present). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
109 lines
6.8 KiB
Markdown
109 lines
6.8 KiB
Markdown
# Publishing
|
|
|
|
How to ship a new release of each package in this repo. Current versions (2026-11-11, the
|
|
day this project renamed from **OpenJev** to **Umpirix** — see the README's
|
|
[Renamed from OpenJev](./README.md#renamed-from-openjev) section; none of the rows below
|
|
have ever actually been published, under either name):
|
|
|
|
| Package | Registry | Current version | Automation |
|
|
|---|---|---|---|
|
|
| `@umpirix/sdk` (`sdk/js`, formerly `@openjev/sdk`) | npm | 0.6.1 | tag-triggered CI (`sdk/js/.github/workflows/publish.yml`) |
|
|
| `@umpirix/lite` (`sdk/js-lite`, formerly `@openjev/lite`) | npm | 0.2.1 | none — manual |
|
|
| `umpirix-client` (`sdk/python`, formerly `openjev-client`; import `openjev`) | PyPI | 0.7.2 | tag-triggered CI (`sdk/python/.github/workflows/publish.yml`) |
|
|
| `umpirix-adapters` (`adapters/python`, formerly `openjev-adapters`) | PyPI | 0.2.2 | tag-triggered CI (`adapters/python/.github/workflows/publish.yml`) |
|
|
| `otsone` (`otsone/`) | PyPI | 0.3.0 | none — manual |
|
|
|
|
Verified 2026-11-11: `uv build` + `uvx twine check dist/*` pass cleanly for both
|
|
`umpirix-client` (`sdk/python`) and `umpirix-adapters` (`adapters/python`) under their new
|
|
names, and `npm run build && npm pack --dry-run` succeeds for `@umpirix/sdk` and
|
|
`@umpirix/lite`. No PyPI token (`~/.pypirc`, `UV_PUBLISH_TOKEN`) or npm token (`NPM_TOKEN`,
|
|
`npm whoami`) exists on this machine, so none of the actual publish commands below have been
|
|
run — they're left exact for whoever holds the real credentials.
|
|
|
|
`sdk/js-lite` and `otsone` have no publish workflow by design — this repo does not add CI/CD
|
|
automation (standing rule), so both ship via a direct local command instead of a GitHub Action.
|
|
|
|
## Packages with tag-triggered CI (`sdk/js`, `sdk/python`, `adapters/python`)
|
|
|
|
One command, from a clean `main` with the version already bumped in `package.json`/`pyproject.toml`
|
|
**and** a matching `## vX.Y.Z (YYYY-MM-DD)` heading as the top (non-"Unreleased") entry of that
|
|
package's `docs/changelog.md` (`sdk/js` also additionally needs `jsr.json` and `src/version.ts` in
|
|
sync — enforced by `node scripts/check-version.mjs`, which the workflow runs before anything else):
|
|
|
|
```sh
|
|
git tag vX.Y.Z # e.g. v0.6.1 for a sdk/js patch
|
|
git push origin vX.Y.Z
|
|
```
|
|
|
|
Pushing the tag runs the full pipeline for real, unattended: build → `test:dist`/`check:package`
|
|
(or `uv build` + `check_distributions.py`, which rebuilds a wheel from the sdist and installs both
|
|
in isolated environments) → pack/validate the installable artifact → publish → create or update the
|
|
matching GitHub Release from the changelog entry. A `workflow_dispatch` run with `dry_run: true`
|
|
(js) or `target: dry-run`/`testpypi` (python) exercises the same pipeline without actually
|
|
publishing — use that to rehearse a release before tagging for real.
|
|
|
|
**Owner-gated, one-time setup, before the first real tag push (not code — registry/account
|
|
configuration):**
|
|
- **npm (`sdk/js`):** the workflow reads `secrets.NPM_TOKEN` as the "optional first-publication
|
|
token" (its own comment: "remove after configuring npm OIDC trust"). Either add an npm
|
|
automation-token as a repo secret named `NPM_TOKEN` (Settings → Secrets and variables → Actions,
|
|
environment `npm`), or configure npm Trusted Publishing for this exact workflow
|
|
(`npmjs.com` → package settings → Trusted Publisher → GitHub Actions, repo `caelum0x/umpirix`,
|
|
workflow `sdk/js/.github/workflows/publish.yml`) so no token is needed at all. The `@umpirix`
|
|
npm **org itself does not exist yet** — `@umpirix/sdk` and `@umpirix/lite` are confirmed 404 as
|
|
of 2026-11-11, but publishing a scoped package for the first time requires creating the
|
|
`@umpirix` org on npmjs.com first (owner step: browser login + 2FA), then the token/Trusted
|
|
Publishing path above. Trusted Publishing can only be configured on a package that already
|
|
exists, so the very first publish of each must use the token path.
|
|
- **PyPI (`sdk/python`, `adapters/python`):** the workflow uses `pypa/gh-action-pypi-publish` with
|
|
`id-token: write` and no token at all — pure OIDC Trusted Publishing. Before the first tag push,
|
|
log into pypi.org, create the project (or use "pending publisher" for a project that doesn't
|
|
exist yet) and add a Trusted Publisher: repo `caelum0x/umpirix`, workflow filename
|
|
`publish.yml`, environment `pypi` (and separately `testpypi` for the `workflow_dispatch`
|
|
dry-run path against `test.pypi.org`). Both `umpirix-adapters` and `umpirix-client` are
|
|
**unclaimed on PyPI** (confirmed 404 on `pypi.org/pypi/<name>/json` as of 2026-11-11, and no
|
|
git tag or GitHub Release has ever been pushed in this repo) — neither has ever actually been
|
|
published; the version numbers in the table above only reflect what's set in each package's
|
|
local `pyproject.toml`. Both need "pending publisher" bootstrap (the project doesn't exist yet,
|
|
so Trusted Publishing must be configured via PyPI's pending-publisher flow before the first
|
|
real tag push) — same bootstrap order as npm above, not an easier path for `umpirix-adapters`.
|
|
**No PyPI API token exists on this machine** (no `~/.pypirc`, no `UV_PUBLISH_TOKEN` env var) —
|
|
it was removed per the owner's note, so this whole PyPI path is owner-gated until a token (or
|
|
the Trusted Publishing bootstrap above) is back in place.
|
|
- Both workflows also require `github.repository == 'caelum0x/umpirix'` and (for a real, non-dry
|
|
run) the repository to be public — already true.
|
|
|
|
## Packages without CI (`sdk/js-lite`, `otsone`) — manual one-liner
|
|
|
|
No workflow exists for these two; shipping them is one local command each, run by whoever holds the
|
|
real registry credentials:
|
|
|
|
```sh
|
|
# @umpirix/lite — from sdk/js-lite/, after bumping package.json's version
|
|
cd sdk/js-lite && npm run build && npm test && npm publish --access public
|
|
|
|
# otsone — from otsone/, after bumping pyproject.toml's version (see docs/changelog.md for the format)
|
|
cd otsone && uv build && uv publish
|
|
```
|
|
|
|
`npm publish`/`uv publish` both need the owner logged in (`npm login`, or `NPM_TOKEN` env var; a
|
|
PyPI API token via `UV_PUBLISH_TOKEN` or `~/.pypirc`) — that login/token step is the only owner-gated
|
|
part; everything else above (build, local test run) needs no credentials and can be verified ahead
|
|
of time.
|
|
|
|
## Verifying a build before any of the above (no credentials needed)
|
|
|
|
```sh
|
|
# npm packages — dry-run pack shows exactly what would ship, writes nothing to a registry
|
|
cd sdk/js && npm run build && npm pack --dry-run
|
|
cd sdk/js-lite && npm run build && npm pack --dry-run
|
|
|
|
# python packages — build real wheel + sdist locally, then lint their metadata
|
|
cd sdk/python && uv build && uvx twine check dist/*
|
|
cd adapters/python && uv build && uvx twine check dist/*
|
|
cd otsone && uv build && uvx twine check dist/*
|
|
```
|
|
|
|
`uvx twine check` runs `twine` from PyPI's own cache without installing it into any project venv —
|
|
no credentials needed, it only validates the built artifacts' metadata/README rendering.
|