@zatsepin/jigor 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -90,15 +90,34 @@ curl -X POST http://127.0.0.1:8000/v1/systemone \
|
|
|
90
90
|
# {"answers":{"requires_intervention":{"noul":0.7822,"type":"noul"}},"backend":"local","model":"von-1.0.0"}
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
`
|
|
94
|
-
|
|
93
|
+
`POST /v1/systemone` takes the same body as `jigor ask`; errors are
|
|
94
|
+
`{"error": "...", "code": "..."}` with machine-readable codes
|
|
95
|
+
(`invalid_json`, `unknown_model`, `scoring_failed`, ...).
|
|
96
|
+
|
|
97
|
+
`GET /healthz` reports liveness plus per-model readiness
|
|
98
|
+
(`ready` / `loading` / `not_loaded`):
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
curl -s http://127.0.0.1:8000/healthz
|
|
102
|
+
# {"status":"ok","version":"0.1.9","model":"von-1.0.0",
|
|
103
|
+
# "models":{"von":"ready","laya":"ready","jeff":"not_loaded"}}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
`jeff` (3.2 GB) loads lazily on first use; make the wait explicit with
|
|
107
|
+
`jigor serve --load jeff` at startup or
|
|
108
|
+
`curl -X POST http://127.0.0.1:8000/v1/preload -H 'Content-Type: application/json' -d '{"models":["jeff"]}'`
|
|
109
|
+
at runtime (concurrent callers share the load).
|
|
110
|
+
|
|
111
|
+
Full agent-harness guide: <https://github.com/Partysun/jigor>, section
|
|
112
|
+
"Using jigor from scripts and agent harnesses".
|
|
95
113
|
|
|
96
114
|
## Models
|
|
97
115
|
|
|
98
116
|
`--model` takes an alias (`von`, `laya`, `jev`, `jev-latest`) or a full id
|
|
99
117
|
(`von-1.0.0`, `typesafe/jev-1.13`); `jigor models` lists every provider ×
|
|
100
118
|
model pair. The local ONNX models download from Hugging Face to
|
|
101
|
-
`~/.cache/huggingface` on first use and are cached afterwards
|
|
119
|
+
`~/.cache/huggingface` on first use and are cached afterwards
|
|
120
|
+
(`--cache-dir <dir>` or `JIGOR_CACHE_DIR=<dir>` moves the cache); the remote
|
|
102
121
|
`jev` backend needs `OPENROUTER_API_KEY`.
|
|
103
122
|
|
|
104
123
|
Source, Rust crates and the pip package: https://github.com/Partysun/jigor
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zatsepin/jigor",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "System One decision gateway CLI + server — von/laya local ONNX backends, jev on OpenRouter Decisions. One wire protocol: noul/choice/score questions in, typed answers out.",
|
|
5
5
|
"homepage": "https://github.com/Partysun/jigor",
|
|
6
6
|
"repository": "https://github.com/Partysun/jigor",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"postinstall": "node postinstall.js"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@zatsepin/jigor-darwin": "0.1.
|
|
30
|
-
"@zatsepin/jigor-linux-arm64-gnu": "0.1.
|
|
31
|
-
"@zatsepin/jigor-linux-x64-gnu": "0.1.
|
|
32
|
-
"@zatsepin/jigor-win32-x64-msvc": "0.1.
|
|
29
|
+
"@zatsepin/jigor-darwin": "0.1.9",
|
|
30
|
+
"@zatsepin/jigor-linux-arm64-gnu": "0.1.9",
|
|
31
|
+
"@zatsepin/jigor-linux-x64-gnu": "0.1.9",
|
|
32
|
+
"@zatsepin/jigor-win32-x64-msvc": "0.1.9"
|
|
33
33
|
},
|
|
34
34
|
"bin": {
|
|
35
35
|
"jigor": "jigor"
|