githolon 0.84.0 → 0.84.1
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/dist/dev-server.mjs +7 -0
- package/package.json +3 -3
package/dist/dev-server.mjs
CHANGED
|
@@ -1774,6 +1774,13 @@ async function startDevCloud(opts = {}) {
|
|
|
1774
1774
|
return res.end();
|
|
1775
1775
|
}
|
|
1776
1776
|
if (url.pathname === "/health") return sendJson(res, { ok: true, kernelSha, dataDir, wasmPath, workspaces: custody.list() });
|
|
1777
|
+
if (url.pathname === "/v1/runtime/holon.wasm" || url.pathname === "/v1/runtime/holon-testmint.wasm") {
|
|
1778
|
+
res.writeHead(200, { ...CORS, "content-type": "application/wasm", "cache-control": "no-store", "x-nomos-kernel": kernelKind, "x-nomos-kernel-sha": kernelSha });
|
|
1779
|
+
return res.end(Buffer.from(wasmBytes));
|
|
1780
|
+
}
|
|
1781
|
+
if (url.pathname === "/v1/runtime/packages") {
|
|
1782
|
+
return sendJson(res, { bootstrap: bootstrapPkg, nomos: nomosPkg });
|
|
1783
|
+
}
|
|
1777
1784
|
if (seg[0] === "git" && seg[1] === "nomos") {
|
|
1778
1785
|
return await gitBackend(req, res, seg.slice(2).join("/"), null);
|
|
1779
1786
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "githolon",
|
|
3
|
-
"version": "0.84.
|
|
3
|
+
"version": "0.84.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "githolon — the Nomos developer CLI: Rails-style generators for @githolon/dsl domains + the package compiler. Kernel-independent.",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@bjorn3/browser_wasi_shim": "0.4.2",
|
|
32
|
-
"@githolon/client": "^0.84.
|
|
33
|
-
"@githolon/dsl": "^0.84.
|
|
32
|
+
"@githolon/client": "^0.84.1",
|
|
33
|
+
"@githolon/dsl": "^0.84.1",
|
|
34
34
|
"isomorphic-git": "^1.38.4"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|