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>
48 lines
1.5 KiB
JavaScript
48 lines
1.5 KiB
JavaScript
// Install the packed artifact in a clean consumer and exercise both package exports.
|
|
import { execFileSync } from "node:child_process";
|
|
import { mkdtempSync, readdirSync, rmSync, writeFileSync } from "node:fs";
|
|
import { tmpdir } from "node:os";
|
|
import { join, resolve } from "node:path";
|
|
|
|
const files = readdirSync("release").filter((file) => file.endsWith(".tgz"));
|
|
if (files.length !== 1) throw new Error("Expected one package tarball");
|
|
const consumer = mkdtempSync(join(tmpdir(), "openjev-consumer-"));
|
|
try {
|
|
writeFileSync(join(consumer, "package.json"), '{"private":true}');
|
|
execFileSync(
|
|
"npm",
|
|
[
|
|
"install",
|
|
"--ignore-scripts",
|
|
"--no-audit",
|
|
"--no-fund",
|
|
"--offline",
|
|
resolve("release", files[0]),
|
|
],
|
|
{ cwd: consumer, stdio: "inherit" },
|
|
);
|
|
for (const type of ["commonjs", "module"]) {
|
|
const load =
|
|
type === "module"
|
|
? 'import * as sdk from "@umpirix/sdk";'
|
|
: 'const sdk = require("@umpirix/sdk");';
|
|
execFileSync(
|
|
process.execPath,
|
|
[
|
|
"--input-type",
|
|
type,
|
|
"--eval",
|
|
`${load}
|
|
if (typeof sdk.TypeSafeClient !== "function" || typeof sdk.choice !== "function")
|
|
throw new Error("Missing package exports");
|
|
const client = new sdk.TypeSafeClient({ apiKey: "package-smoke-test" });
|
|
if (!client) throw new Error("Client construction failed");
|
|
`,
|
|
],
|
|
{ cwd: consumer, stdio: "inherit" },
|
|
);
|
|
}
|
|
} finally {
|
|
rmSync(consumer, { recursive: true, force: true });
|
|
}
|