umpirix/otsone/pyproject.toml
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

76 lines
3.0 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "otsone"
version = "0.3.0"
description = "Umpirix — an open-source project by Scribase (scribase.com). otsone: a calibrated typed-decision model toolkit (Choice/Score/Noul) for CPU/edge and Apple silicon. Trains and serves the flagship otsone-1 model; also runs the Laya models (Convai, Apache-2.0)."
keywords = ["otsone", "openjev", "typed-decisions", "decision-model", "local-ai", "mlx", "onnx", "apple-silicon", "laya"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
dependencies = [
"mlx>=0.32.2,<0.33; sys_platform == 'darwin' and platform_machine == 'arm64'",
"numpy>=1.26",
"huggingface-hub>=0.34,<2",
"tokenizers>=0.21,<1",
]
[project.optional-dependencies]
dev = ["pytest>=8", "ruff>=0.12", "build>=1"]
reference = ["torch>=2.14,<3", "transformers>=5.17,<6", "safetensors>=0.6"]
benchmark = ["matplotlib>=3.10", "pyarrow>=18"]
demo = ["rich>=15,<16", "Pillow>=12,<13"]
# HTTP sidecar (laya-serve): stdlib only beyond the core runtime deps.
server = []
# ONNX backend + export: run exported graphs (onnxruntime) and export them (torch).
# onnxscript is required by torch>=2.2's dynamo-based ONNX exporter (torch.onnx.export);
# without it, export crashes with "ModuleNotFoundError: No module named 'onnxscript'"
# after a full training run has already completed (confirmed 2026-11-06).
onnx = ["onnxruntime>=1.18", "torch>=2.0", "safetensors>=0.6", "onnxscript>=0.1"]
# Distillation / training of a compact ONNX model.
train = ["torch>=2.0", "sentence-transformers>=3,<6", "onnxruntime>=1.18", "onnxscript>=0.1"]
[project.scripts]
# Primary OpenJev entry points.
otsone = "laya_mlx.cli:main"
otsone-serve = "laya_mlx.server:main"
# Backward-compat aliases (same functions; the Laya model still ships here).
laya-mlx = "laya_mlx.cli:main"
laya-serve = "laya_mlx.server:main"
laya-snake = "laya_mlx.snake.cli:main"
[project.urls]
Repository = "https://github.com/caelum0x/openjev/tree/main/otsone"
Documentation = "https://github.com/caelum0x/openjev/blob/main/otsone/README.md"
Issues = "https://github.com/caelum0x/openjev/issues"
Benchmarks = "https://github.com/caelum0x/openjev/blob/main/otsone/BENCHMARKS.md"
Upstream = "https://github.com/NandhaKishorM/laya"
"MLX port upstream" = "https://github.com/mizorewww/laya-mlx"
[tool.hatch.build.targets.wheel]
# laya_mlx is the Laya-derived engine; otsone is the thin public-API alias package.
packages = ["laya_mlx", "otsone"]
[tool.hatch.build.targets.sdist]
include = ["/laya_mlx", "/otsone", "/pyproject.toml", "/README.md", "/LICENSE", "/NOTICE"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["integration: requires downloaded Laya checkpoints"]
[tool.ruff]
line-length = 100
extend-exclude = [".upstream"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I"]