@wenathlan/saddle 2.0.162 → 2.0.164
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 +54 -26
- package/README.md +1 -1
- package/biome.jsonc +0 -0
- package/cli.ts +99 -2
- package/communication.ts +455 -0
- package/distribution.ts +16 -3
- package/docs/acceptableusepolicy.md +9 -0
- package/docs/authors.md +16 -0
- package/docs/bugreport.md +16 -0
- package/docs/cla.md +9 -0
- package/docs/codeofconduct.md +9 -0
- package/docs/contributing.md +9 -0
- package/docs/copyright.md +7 -0
- package/docs/disclaimer.md +7 -0
- package/docs/distributionlanes.md +19 -0
- package/docs/doc.go +25 -0
- package/docs/eula.md +7 -0
- package/docs/exportcontrol.md +17 -0
- package/docs/features.md +0 -0
- package/docs/governance.md +9 -0
- package/docs/ninetymodalities.md +8 -0
- package/docs/notice.md +7 -0
- package/docs/osdistributions.md +149 -0
- package/docs/planningengine.md +0 -0
- package/docs/planningninety.md +0 -0
- package/docs/privacypolicy.md +9 -0
- package/docs/pullrequesttemplate.md +13 -0
- package/docs/support.md +7 -0
- package/docs/termsandconditions.md +9 -0
- package/docs/termsofuse.md +9 -0
- package/docs/thirdpartynotices.md +19 -0
- package/docs/trademarkpolicy.md +7 -0
- package/docs/workloadlaw.md +0 -0
- package/integration.ts +221 -0
- package/modalities.ts +4665 -0
- package/modalityregistry.ts +190 -1383
- package/package.json +11 -5
- package/sandbox.ts +3 -3
- package/scriptlanes.ts +774 -0
- package/workloadlaw.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenathlan/saddle",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.164",
|
|
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
|
"keywords": [
|
|
6
6
|
"distributed computing",
|
|
@@ -106,11 +106,15 @@
|
|
|
106
106
|
"modes.ts",
|
|
107
107
|
"sandbox.ts",
|
|
108
108
|
"modalityregistry.ts",
|
|
109
|
+
"modalities.ts",
|
|
109
110
|
"workloadlaw.ts",
|
|
110
111
|
"browser.ts",
|
|
111
112
|
"server.ts",
|
|
112
113
|
"distribution.ts",
|
|
113
114
|
"isolation.ts",
|
|
115
|
+
"integration.ts",
|
|
116
|
+
"scriptlanes.ts",
|
|
117
|
+
"communication.ts",
|
|
114
118
|
"cli.ts",
|
|
115
119
|
"docs",
|
|
116
120
|
"README.md",
|
|
@@ -143,6 +147,7 @@
|
|
|
143
147
|
"quantum.ts"
|
|
144
148
|
],
|
|
145
149
|
"engines": {
|
|
150
|
+
"babel": "^7.28.0",
|
|
146
151
|
"bare": "^1.18.0",
|
|
147
152
|
"bun": "^1.4.4",
|
|
148
153
|
"cargo": ">=1.85.0",
|
|
@@ -165,6 +170,7 @@
|
|
|
165
170
|
"typescript": "^5.8.0",
|
|
166
171
|
"v": "^0.5.2",
|
|
167
172
|
"vscode": "^1.118.0",
|
|
173
|
+
"yaml": "^2.9.1",
|
|
168
174
|
"yarn": "^4.17.1"
|
|
169
175
|
},
|
|
170
176
|
"peerDependencies": {
|
|
@@ -214,9 +220,9 @@
|
|
|
214
220
|
"vm:create": "node --import tsx ./cli.ts vm",
|
|
215
221
|
"vm:validate": "node --import tsx ./cli.ts vmlint",
|
|
216
222
|
"gpu:list": "node --import tsx ./cli.ts gpus",
|
|
217
|
-
"docker:build": "docker build -f Dockerfile -t saddle:2.0.
|
|
218
|
-
"docker:run": "docker run --rm --memory-swap=-1 --shm-size=2g saddle:2.0.
|
|
219
|
-
"docker:health": "docker run --rm saddle:2.0.
|
|
223
|
+
"docker:build": "docker build -f Dockerfile -t saddle:2.0.164 .",
|
|
224
|
+
"docker:run": "docker run --rm --memory-swap=-1 --shm-size=2g saddle:2.0.164",
|
|
225
|
+
"docker:health": "docker run --rm saddle:2.0.164 qemu-system-x86_64 --version && curl -fsS http://localhost:8080/health || true",
|
|
220
226
|
"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'",
|
|
221
227
|
"py:bridge": "python3 qemubridge.py",
|
|
222
228
|
"py:test": "python3 -m pytest -q || python3 qemubridge.py",
|
|
@@ -235,12 +241,12 @@
|
|
|
235
241
|
"@libsql/client": "^0.18.0",
|
|
236
242
|
"@prisma/adapter-libsql": "^7.10.1",
|
|
237
243
|
"@prisma/client": "^7.10.1",
|
|
244
|
+
"@wenathlan/argan": "~2.0.155",
|
|
238
245
|
"@wenathlan/cadria": "~2.0.155",
|
|
239
246
|
"@wenathlan/debonair": "~2.0.155",
|
|
240
247
|
"@wenathlan/devthink": "~2.0.154",
|
|
241
248
|
"@wenathlan/getry": "~2.0.155",
|
|
242
249
|
"@wenathlan/saddle": "~2.0.155",
|
|
243
|
-
"@wenathlan/argan": "~2.0.155",
|
|
244
250
|
"@wenathlan/vault": "~2.0.155",
|
|
245
251
|
"better-sqlite3": "^13.0.3",
|
|
246
252
|
"drizzle-orm": "^0.45.4",
|
package/sandbox.ts
CHANGED
|
@@ -1382,7 +1382,7 @@ export function bootSequence(
|
|
|
1382
1382
|
`${stamp(onlinetime + 0.0837)} rusticl: opencl ${mesastack.opencl} on llvmpipe, features fp64 (fp16 default since 25.2)`,
|
|
1383
1383
|
`${stamp(onlinetime + 0.091)} virtualgpu: identity ${gpuspec.name} [${gpuspec.pcivendor}:${gpuspec.pcidevice}] ${gpuspec.memtype} ${gpuspec.vrammib / 1024} GB`,
|
|
1384
1384
|
`${stamp(onlinetime + 0.0922)} nvml shim: FAKE_MODEL="${gpuspec.name}" FAKE_VRAM=${gpuspec.smireportedmib} (fake-nvidia-smi adapter ready)`,
|
|
1385
|
-
`${stamp(onlinetime + 0.1045)} saddle: virtual hardware engine v2.0.
|
|
1385
|
+
`${stamp(onlinetime + 0.1045)} saddle: virtual hardware engine v2.0.162, sandbox created -> running`,
|
|
1386
1386
|
`${stamp(onlinetime + 0.1047)} saddle: persistent workspace: ${humanbytes(quota)} quota, data stays with the sandbox id`,
|
|
1387
1387
|
`${stamp(onlinetime + 0.1046)} Freeing unused kernel image memory`,
|
|
1388
1388
|
];
|
|
@@ -1500,7 +1500,7 @@ function neofetch(state: SandboxState): string {
|
|
|
1500
1500
|
const info = [
|
|
1501
1501
|
`root@${state.hostname}`,
|
|
1502
1502
|
'-----------------',
|
|
1503
|
-
'OS: saddle linux (virtual hardware engine v2.0.
|
|
1503
|
+
'OS: saddle linux (virtual hardware engine v2.0.162)',
|
|
1504
1504
|
'Host: firecracker microvm (125 ms boot)',
|
|
1505
1505
|
`Kernel: ${state.kernel}`,
|
|
1506
1506
|
`Uptime: ${uptimeText}`,
|
|
@@ -1537,7 +1537,7 @@ function envText(state: SandboxState): string {
|
|
|
1537
1537
|
...mesaenv(state.vcpus),
|
|
1538
1538
|
FAKE_MODEL: state.gpuspec.name,
|
|
1539
1539
|
FAKE_VRAM: String(mig !== null ? mig.slicegb * 1024 : state.gpuspec.smireportedmib),
|
|
1540
|
-
SADDLE_VERSION: '2.0.
|
|
1540
|
+
SADDLE_VERSION: '2.0.162',
|
|
1541
1541
|
SADDLE_SANDBOX: state.id,
|
|
1542
1542
|
SADDLE_STATE: 'running',
|
|
1543
1543
|
SADDLE_CPU: state.model,
|