@naisys/common
v3.0.3
Published
[internal] Common utilities and constants for NAISYS
Readme
@naisys/common
← Back to packages | ← Back to main README
Shared utilities and constants used across the NAISYS monorepo. Pure TypeScript with no Node- or browser-specific dependencies, so it can be imported from runner, server, and client packages alike.
What's inside
agent/— agent config file shape, name conventions, status enum, schedule parsing, sub-agent ID helpersauth/— auth cache, Codex OAuth helpers, URL-safe key generationconfig/— global config loader, well-known variable names, hosted-service constantshttp/— HATEOAS link/action types and helpers, lenient JSON parsing, security headers, URL path matchingmodels/— built-in model registry, cost calculations, model type definitions, realtime model listutils/— collection helpers, error handler, formatters (file size, tokens, version),mapWithConcurrency, MIME types,sleep, template-variable expansion
Usage
import { formatTokens, sleep, hateoas } from "@naisys/common";Consumed by naisys, @naisys/hub, @naisys/supervisor, @naisys/erp, and the other @naisys/* packages.
License
MIT
