@nytka/plugin-typesafe
Version:
TypeSafe connector for nytka projects. Asks Jev typed questions (noul, choice, score) about a file or an existing dataset and registers the judgements in datasets/ with the model, the questions hash and the usage.
59 lines (58 loc) • 2.05 kB
JSON
{
"name": "@nytka/plugin-typesafe",
"version": "0.1.0",
"type": "module",
"description": "TypeSafe connector for nytka projects. Asks Jev typed questions (noul, choice, score) about a file or an existing dataset and registers the judgements in datasets/ with the model, the questions hash and the usage.",
"license": "MIT",
"exports": {
".": "./src/index.mjs",
"./package.json": "./package.json"
},
"bin": {
"nytka-typesafe": "src/cli.mjs"
},
"files": [
"src",
"README.md",
".env.example"
],
"scripts": {
"test": "node --test"
},
"dependencies": {
"@nytka/core": "^0.1.0"
},
"engines": {
"node": ">=20.6"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"nytka",
"nytka-plugin"
],
"nytka": {
"env": [
{
"name": "TYPESAFE_API_KEY",
"note": "the bearer key from the TypeSafe dashboard; there is no key file",
"example": "ts_…",
"guidance": [
"The API key for api.typesafe.ai, from your TypeSafe account. It IS the credential — nothing to put in private/, no path to resolve, and this connector never reads a file outside the project.",
"Every call is billed on input tokens ($0.042 per million as of 2026-09-19; output tokens are free). `check` costs about ten tokens. `classify` prints its estimate and stops until you pass --yes.",
"Left unset, every command names this variable and exits 0. A project that has not configured TypeSafe is an unconfigured project, not a broken install."
]
},
{
"name": "TYPESAFE_MODEL",
"required": false,
"enables": "a pinned model instead of the jev-latest alias",
"example": "jev-1.13",
"guidance": [
"Defaults to jev-latest, which follows TypeSafe's newest System One release. Pin it when answers must be reproducible run to run. The resolved model is recorded in every registry entry either way, and --model on any command still wins."
]
}
]
}
}