umpirix/sdk/scribase-decisions
caelum0x c6c9901c6a feat(oss): GOVERNANCE.md, Scribase-family branding, MCP serverInfo/tools fixes
- Add GOVERNANCE.md (BDFL-style, referenced from CONTRIBUTING.md).
- Scribase family branding: "Umpirix — an open-source project by Scribase"
  header line in README (linking scribase.com and scribase.com/decisions),
  a "Run it on Scribase" section next to the self-host instructions in
  README and SELF-HOSTING.md (self-hosting stays fully supported, nothing
  gated), the same line appended to every package's npm/PyPI description
  (root, sdk/js, sdk/js-lite, sdk/ai-sdk, sdk/scribase-decisions, skills,
  adapters/python, sdk/python, otsone), and the site's per-page footer
  brand line (10 routes) + roadmap prose, which still said the pre-rebrand
  "OpenJev · Apache-2.0" - now "Umpirix · Apache-2.0 · scribase.com".
- Fix two real gaps in the MCP server found in a fresh clone: serverInfo
  still said name "openjev" / title "OpenJev typed decisions"
  (src/lib/jev/mcp.ts) and the stdio bridge's log prefix was still
  "[openjev mcp]" (scripts/mcp-stdio.mjs). Both now say Umpirix. Verified
  live over stdio (plain node; Docker/colima unavailable in this
  environment) that `initialize` reports serverInfo.name "umpirix" /
  title "Umpirix typed decisions", and `tools/list` returns the real tool
  set: choice, score, noul, decide (no "cascade").
- npm run typecheck / npm test (138/138) / npm run gold (61/61) / npm run
  lint (0 errors, pre-existing warnings only) all green after this change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 19:15:28 +03:00
..

@scribase/decisions

Now part of Scribase: scribase.com/decisions.

Typed AI judgments (yes/no probability, category choice, numeric score) as a backend primitive — a Scribase-named entry point for @openjev/sdk. This package re-exports that SDK's client, question helpers and error types under Scribase naming; it adds no new wire behavior.

The wire contract is Jev-compatible: identical request and response shapes to TypeSafe AI's hosted /v1/systemone API. Scribase did not build Jev — OpenJev is an independent, Apache-2.0 open-source fork of TypeSafe's Jev ("System One") engine and SDKs, maintained by the Scribase team. See NOTICE for full attribution.

Status

Not yet published to npm (the @openjev/sdk dependency it wraps isn't published yet either — see plans/openjev.md in the owning portfolio for the exact publish commands once the @scribase npm org exists). Until published, build and pack it from a clone:

git clone https://github.com/caelum0x/openjev
cd openjev/sdk/js && npm install && npm run build && npm pack
cd ../scribase-decisions
npm install ../js/openjev-sdk-*.tgz --no-save   # resolve @openjev/sdk locally for the build
npm install
npm run build
npm pack --dry-run   # verify the tarball contents; does not publish

Quickstart

import { choice, ScribaseDecisionsClient } from "@scribase/decisions";

// Self-hosted OpenJev engine (default http://localhost:8080), or a hosted
// Jev-compatible key: new ScribaseDecisionsClient({ baseUrl, apiKey })
const client = new ScribaseDecisionsClient();

const response = await client.systemOne({
  state: { document: "I was charged twice. Please fix this ASAP." },
  questions: {
    category: choice("What is this support ticket about?", {
      billing: null,
      technical: null,
      other: null,
    }),
  },
});

console.log(response.answers.category.choice); // "billing"

See scribase.com/decisions and docs.scribase.com/docs/decisions for the full quickstart, including the self-host path and the hosted Jev-compatible key path.