@wenathlan/saddle 2.0.3 → 2.0.5
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/Dockerfile +5 -5
- package/dist/integration.d.ts +2 -2
- package/package.json +4 -4
- package/web/readme.md +1 -1
package/Dockerfile
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
# -v vmdata:/data/vmdata -v webdata:/data/web \
|
|
92
92
|
# -v ./vm.config.json:/engine/vm.config.json:ro \
|
|
93
93
|
# -e PORT=8080 -e NODE_ENV=production -p 31280:8080 \
|
|
94
|
-
# ghcr.io/wenathlan/saddle:vhe-2.0.
|
|
94
|
+
# ghcr.io/wenathlan/saddle:vhe-2.0.5
|
|
95
95
|
#
|
|
96
96
|
# vheqemu (the guest runner; build it first with
|
|
97
97
|
# docker build --target qemu-runtime -t saddle/qemu:11.1.0 . because the
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
# -e VHE_GPU_PROFILE=b200 -e VHE_GPUS=8 -e VHE_MIG=1 \
|
|
126
126
|
# -e VHE_SMI_DRIVER=575.57.08 -e VHE_SMI_CUDA=12.9 \
|
|
127
127
|
# -e VHE_SMI_INTERVAL=30 -e VHE_SKIP_XVFB=1 -e VHE_SKIP_VALIDATE=1 \
|
|
128
|
-
# ghcr.io/wenathlan/saddle:vhe-2.0.
|
|
128
|
+
# ghcr.io/wenathlan/saddle:vhe-2.0.5 /bin/bash -c '
|
|
129
129
|
# while true; do
|
|
130
130
|
# /usr/local/bin/nvidia-smi "$VHE_GPU_PROFILE" "$VHE_GPUS" || true
|
|
131
131
|
# sleep "$VHE_SMI_INTERVAL"
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
# -v qemudata:/data/qemudata \
|
|
143
143
|
# -v ./qemubridge.py:/engine/qemubridge.py:ro \
|
|
144
144
|
# -e QMP_SOCKET=/run/vhe/vm.qmp -e PYTHONUNBUFFERED=1 \
|
|
145
|
-
# ghcr.io/wenathlan/saddle:vhe-2.0.
|
|
145
|
+
# ghcr.io/wenathlan/saddle:vhe-2.0.5 \
|
|
146
146
|
# python3 /engine/qemubridge.py --socket /run/vhe/vm.qmp status
|
|
147
147
|
#
|
|
148
148
|
# saddle-node (the node-engine service, the former compose.yml
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
# --log-driver json-file --log-opt max-size=50m --log-opt max-file=5 \
|
|
157
157
|
# --tmpfs /tmp:size=2g,mode=1777 \
|
|
158
158
|
# -e SADDLE_MEMORY_ENGINE=ram -e SBOT_PLATFORM= -e SBOT_CDN_URL= \
|
|
159
|
-
# ghcr.io/wenathlan/saddle:2.0.
|
|
159
|
+
# ghcr.io/wenathlan/saddle:2.0.5 \
|
|
160
160
|
# node dist/cli.js plan
|
|
161
161
|
#
|
|
162
162
|
# observability (the former prometheus scraper of the full profile)
|
|
@@ -1238,7 +1238,7 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --start-interval=5s
|
|
|
1238
1238
|
# OCI labels for registry introspection.
|
|
1239
1239
|
LABEL org.opencontainers.image.title="saddle virtual-hardware engine (the grand merge)" \
|
|
1240
1240
|
org.opencontainers.image.description="100% software virtual hardware: per-profile CPU/memory spoofing via LD_PRELOAD (max/balanced/lite), mesa 26.2.1 llvmpipe/lavapipe/rusticl, QEMU 11.1.0 TCG/MTTCG, virtual nvidia-smi adapter + NVML/CUDA shims, node 26.7.0, python bridge" \
|
|
1241
|
-
org.opencontainers.image.version="2.0.
|
|
1241
|
+
org.opencontainers.image.version="2.0.5" \
|
|
1242
1242
|
org.opencontainers.image.licenses="MIT" \
|
|
1243
1243
|
org.opencontainers.image.source="https://github.com/wenathlan/saddle" \
|
|
1244
1244
|
org.opencontainers.image.documentation="https://github.com/wenathlan/saddle/blob/main/README.md" \
|
package/dist/integration.d.ts
CHANGED
|
@@ -197,14 +197,15 @@ export declare function mcpserver(options?: {}): {
|
|
|
197
197
|
description: string;
|
|
198
198
|
}[];
|
|
199
199
|
handle(request: any): Promise<{
|
|
200
|
+
error?: undefined;
|
|
200
201
|
jsonrpc: string;
|
|
201
202
|
id: any;
|
|
202
203
|
result: {
|
|
203
204
|
tools: any;
|
|
204
205
|
content?: undefined;
|
|
205
206
|
};
|
|
206
|
-
error?: undefined;
|
|
207
207
|
} | {
|
|
208
|
+
error?: undefined;
|
|
208
209
|
jsonrpc: string;
|
|
209
210
|
id: any;
|
|
210
211
|
result: {
|
|
@@ -214,7 +215,6 @@ export declare function mcpserver(options?: {}): {
|
|
|
214
215
|
text: string;
|
|
215
216
|
}[];
|
|
216
217
|
};
|
|
217
|
-
error?: undefined;
|
|
218
218
|
} | {
|
|
219
219
|
result?: undefined;
|
|
220
220
|
jsonrpc: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenathlan/saddle",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "binary computing engine that turns distributed storage into a publishable working set carrying the merged virtual-hardware engine (the saddle + e2ugh grand merge)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -197,9 +197,9 @@
|
|
|
197
197
|
"vm:create": "node ./index.ts --create-vm",
|
|
198
198
|
"vm:validate": "node ./index.ts --validate-vm",
|
|
199
199
|
"gpu:list": "node ./index.ts --list-gpus",
|
|
200
|
-
"docker:build": "docker build -f Dockerfile -t saddle:2.0.
|
|
201
|
-
"docker:run": "docker run --rm --memory-swap=-1 --shm-size=2g saddle:2.0.
|
|
202
|
-
"docker:health": "docker run --rm saddle:2.0.
|
|
200
|
+
"docker:build": "docker build -f Dockerfile -t saddle:2.0.5 .",
|
|
201
|
+
"docker:run": "docker run --rm --memory-swap=-1 --shm-size=2g saddle:2.0.5",
|
|
202
|
+
"docker:health": "docker run --rm saddle:2.0.5 qemu-system-x86_64 --version && curl -fsS http://localhost:8080/health || true",
|
|
203
203
|
"firecracker:boot": "firecracker --api-sock /tmp/fc-saddle.sock --config-file vmconfig.json 2>/dev/null || echo 'firecracker 1.16.1 warm-pool boot 125ms target'",
|
|
204
204
|
"py:bridge": "python3 qemubridge.py",
|
|
205
205
|
"py:test": "python3 -m pytest -q || python3 qemubridge.py",
|
package/web/readme.md
CHANGED
|
@@ -5,7 +5,7 @@ virtual container — cpu, ram, gpu, mesa software graphics — entirely in the
|
|
|
5
5
|
browser, plus one self-hosted node api exposing the exact same sandbox over
|
|
6
6
|
http for automation. no framework, no build step, no serverless functions.
|
|
7
7
|
|
|
8
|
-
version 2.0.
|
|
8
|
+
version 2.0.5 — reported by `/api/v1/health` and kept in lockstep with
|
|
9
9
|
`package.json` and the `meta.version` envelope of the ten data documents
|
|
10
10
|
(v6-SYNC worklog task).
|
|
11
11
|
|