githolon 0.112.5 → 0.112.7

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.
@@ -3449,12 +3449,21 @@ var init_git_fs = __esm({
3449
3449
  }
3450
3450
  });
3451
3451
 
3452
+ // ../adapter/amortized_memory_file.ts
3453
+ import { Directory, File, OpenFile, wasi } from "@bjorn3/browser_wasi_shim";
3454
+ var init_amortized_memory_file = __esm({
3455
+ "../adapter/amortized_memory_file.ts"() {
3456
+ "use strict";
3457
+ }
3458
+ });
3459
+
3452
3460
  // ../adapter/memory_custody_filesystem.ts
3453
- import { Directory, File, PreopenDirectory } from "@bjorn3/browser_wasi_shim";
3461
+ import { PreopenDirectory } from "@bjorn3/browser_wasi_shim";
3454
3462
  var init_memory_custody_filesystem = __esm({
3455
3463
  "../adapter/memory_custody_filesystem.ts"() {
3456
3464
  "use strict";
3457
3465
  init_git_fs();
3466
+ init_amortized_memory_file();
3458
3467
  }
3459
3468
  });
3460
3469
 
@@ -3587,7 +3596,7 @@ var init_certification_seal = __esm({
3587
3596
  import {
3588
3597
  ConsoleStdout,
3589
3598
  File as File2,
3590
- OpenFile,
3599
+ OpenFile as OpenFile2,
3591
3600
  WASI
3592
3601
  } from "@bjorn3/browser_wasi_shim";
3593
3602
  import { create as create2 } from "@bufbuild/protobuf";
@@ -4038,7 +4047,7 @@ import { tmpdir } from "node:os";
4038
4047
  import { join as join3, resolve as resolve2 } from "node:path";
4039
4048
  function nodeKernelWasiHost(directory2, stderr) {
4040
4049
  const filesystem = nodeCustodyFilesystem(directory2);
4041
- const wasi = new WASI2({
4050
+ const wasi2 = new WASI2({
4042
4051
  version: "preview1",
4043
4052
  args: ["wasm_git_holon", "reactor"],
4044
4053
  env: {},
@@ -4046,7 +4055,7 @@ function nodeKernelWasiHost(directory2, stderr) {
4046
4055
  returnOnExit: true
4047
4056
  });
4048
4057
  let memory;
4049
- const imports = { ...wasi.wasiImport };
4058
+ const imports = { ...wasi2.wasiImport };
4050
4059
  const openDescriptors = /* @__PURE__ */ new Set([3]);
4051
4060
  const pathOpen = imports.path_open;
4052
4061
  const fdClose = imports.fd_close;
@@ -4083,7 +4092,7 @@ function nodeKernelWasiHost(directory2, stderr) {
4083
4092
  imports,
4084
4093
  start(instance2) {
4085
4094
  memory = instance2.exports.memory;
4086
- return wasi.start(instance2);
4095
+ return wasi2.start(instance2);
4087
4096
  },
4088
4097
  dispose() {
4089
4098
  for (const fd of openDescriptors) if (fd >= 3) fdClose(fd);
@@ -2127,13 +2127,16 @@ import { join as join4, resolve as resolve2 } from "node:path";
2127
2127
  import {
2128
2128
  ConsoleStdout,
2129
2129
  File as File2,
2130
- OpenFile,
2130
+ OpenFile as OpenFile2,
2131
2131
  WASI
2132
2132
  } from "@bjorn3/browser_wasi_shim";
2133
2133
  import { create as create7 } from "@bufbuild/protobuf";
2134
2134
 
2135
2135
  // ../adapter/memory_custody_filesystem.ts
2136
- import { Directory, File, PreopenDirectory } from "@bjorn3/browser_wasi_shim";
2136
+ import { PreopenDirectory } from "@bjorn3/browser_wasi_shim";
2137
+
2138
+ // ../adapter/amortized_memory_file.ts
2139
+ import { Directory, File, OpenFile, wasi } from "@bjorn3/browser_wasi_shim";
2137
2140
 
2138
2141
  // ../adapter/kernel_call_desk.ts
2139
2142
  import { create as create6, fromBinary as fromBinary5, toBinary as toBinary6 } from "@bufbuild/protobuf";
@@ -2667,7 +2670,7 @@ function nodeCertificationSeal(keyDirectory, custodyIdentity) {
2667
2670
  // ../platform-shells/node/node_kernel_machine.ts
2668
2671
  function nodeKernelWasiHost(directory3, stderr) {
2669
2672
  const filesystem = nodeCustodyFilesystem(directory3);
2670
- const wasi = new WASI2({
2673
+ const wasi2 = new WASI2({
2671
2674
  version: "preview1",
2672
2675
  args: ["wasm_git_holon", "reactor"],
2673
2676
  env: {},
@@ -2675,7 +2678,7 @@ function nodeKernelWasiHost(directory3, stderr) {
2675
2678
  returnOnExit: true
2676
2679
  });
2677
2680
  let memory;
2678
- const imports = { ...wasi.wasiImport };
2681
+ const imports = { ...wasi2.wasiImport };
2679
2682
  const openDescriptors = /* @__PURE__ */ new Set([3]);
2680
2683
  const pathOpen = imports.path_open;
2681
2684
  const fdClose = imports.fd_close;
@@ -2712,7 +2715,7 @@ function nodeKernelWasiHost(directory3, stderr) {
2712
2715
  imports,
2713
2716
  start(instance) {
2714
2717
  memory = instance.exports.memory;
2715
- return wasi.start(instance);
2718
+ return wasi2.start(instance);
2716
2719
  },
2717
2720
  dispose() {
2718
2721
  for (const fd of openDescriptors) if (fd >= 3) fdClose(fd);
package/dist/full-cli.mjs CHANGED
@@ -9379,12 +9379,21 @@ var init_git_fs = __esm({
9379
9379
  }
9380
9380
  });
9381
9381
 
9382
+ // ../adapter/amortized_memory_file.ts
9383
+ import { Directory, File, OpenFile, wasi } from "@bjorn3/browser_wasi_shim";
9384
+ var init_amortized_memory_file = __esm({
9385
+ "../adapter/amortized_memory_file.ts"() {
9386
+ "use strict";
9387
+ }
9388
+ });
9389
+
9382
9390
  // ../adapter/memory_custody_filesystem.ts
9383
- import { Directory, File, PreopenDirectory } from "@bjorn3/browser_wasi_shim";
9391
+ import { PreopenDirectory } from "@bjorn3/browser_wasi_shim";
9384
9392
  var init_memory_custody_filesystem = __esm({
9385
9393
  "../adapter/memory_custody_filesystem.ts"() {
9386
9394
  "use strict";
9387
9395
  init_git_fs();
9396
+ init_amortized_memory_file();
9388
9397
  }
9389
9398
  });
9390
9399
 
@@ -9517,7 +9526,7 @@ var init_certification_seal = __esm({
9517
9526
  import {
9518
9527
  ConsoleStdout,
9519
9528
  File as File2,
9520
- OpenFile,
9529
+ OpenFile as OpenFile2,
9521
9530
  WASI
9522
9531
  } from "@bjorn3/browser_wasi_shim";
9523
9532
  import { create as create3 } from "@bufbuild/protobuf";
@@ -9968,7 +9977,7 @@ import { tmpdir } from "node:os";
9968
9977
  import { join as join4, resolve as resolve2 } from "node:path";
9969
9978
  function nodeKernelWasiHost(directory2, stderr) {
9970
9979
  const filesystem = nodeCustodyFilesystem(directory2);
9971
- const wasi = new WASI2({
9980
+ const wasi2 = new WASI2({
9972
9981
  version: "preview1",
9973
9982
  args: ["wasm_git_holon", "reactor"],
9974
9983
  env: {},
@@ -9976,7 +9985,7 @@ function nodeKernelWasiHost(directory2, stderr) {
9976
9985
  returnOnExit: true
9977
9986
  });
9978
9987
  let memory;
9979
- const imports = { ...wasi.wasiImport };
9988
+ const imports = { ...wasi2.wasiImport };
9980
9989
  const openDescriptors = /* @__PURE__ */ new Set([3]);
9981
9990
  const pathOpen = imports.path_open;
9982
9991
  const fdClose = imports.fd_close;
@@ -10013,7 +10022,7 @@ function nodeKernelWasiHost(directory2, stderr) {
10013
10022
  imports,
10014
10023
  start(instance2) {
10015
10024
  memory = instance2.exports.memory;
10016
- return wasi.start(instance2);
10025
+ return wasi2.start(instance2);
10017
10026
  },
10018
10027
  dispose() {
10019
10028
  for (const fd of openDescriptors) if (fd >= 3) fdClose(fd);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "githolon",
3
- "version": "0.112.5",
3
+ "version": "0.112.7",
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",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@bjorn3/browser_wasi_shim": "0.4.2",
32
32
  "@bufbuild/protobuf": "^2.13.0",
33
- "@githolon/dsl": "^0.112.5",
33
+ "@githolon/dsl": "^0.112.7",
34
34
  "fast-xml-parser": "5.10.1",
35
35
  "isomorphic-git": "^1.38.4",
36
36
  "tsx": "^4.19.2",