@standardagents/code-web 0.14.8-branch.9e48e914.60c0d9 → 0.14.9-canary.dccbcc

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.
Files changed (37) hide show
  1. package/README.md +1 -9
  2. package/dist/build.json +1 -1
  3. package/dist/manifest.json +1 -1
  4. package/dist/manifest.sig +1 -1
  5. package/dist/pkg/standard_web.d.ts +5 -43
  6. package/dist/pkg/standard_web.js +20 -292
  7. package/dist/pkg/standard_web_bg.wasm +0 -0
  8. package/dist/pkg/standard_web_bg.wasm.d.ts +5 -10
  9. package/package.json +2 -8
  10. package/dist/licenses/jco-transpile.txt +0 -220
  11. package/dist/plugins/clock-cells/clock_cells.core.wasm +0 -0
  12. package/dist/plugins/clock-cells/clock_cells.wasm +0 -0
  13. package/dist/plugins/clock-cells/standard-plugin.json +0 -11
  14. package/dist/plugins/host/transpile.js +0 -51
  15. package/dist/plugins/host/ui-jspi.js +0 -14851
  16. package/dist/plugins/host/ui.core2.wasm +0 -0
  17. package/dist/plugins/host/ui.core3.wasm +0 -0
  18. package/dist/plugins/host/ui.js +0 -14675
  19. package/dist/plugins/host/world.js +0 -172
  20. package/dist/plugins/jco/cli.js +0 -141
  21. package/dist/plugins/jco/common.js +0 -16
  22. package/dist/plugins/jco/config.js +0 -7
  23. package/dist/plugins/jco/environment.js +0 -24
  24. package/dist/plugins/jco/filesystem.js +0 -339
  25. package/dist/plugins/jco/in-memory-filesystem.js +0 -620
  26. package/dist/plugins/jco/io.js +0 -366
  27. package/dist/plugins/jco/js-component-bindgen-component.core.wasm +0 -0
  28. package/dist/plugins/jco/js-component-bindgen-component.core2.wasm +0 -0
  29. package/dist/plugins/jco/js-component-bindgen-component.js +0 -14272
  30. package/dist/plugins/jco/opfs-filesystem.js +0 -245
  31. package/dist/plugins/jco/random.js +0 -51
  32. package/dist/plugins/plasma-pixels/plasma_pixels.core.wasm +0 -0
  33. package/dist/plugins/plasma-pixels/plasma_pixels.wasm +0 -0
  34. package/dist/plugins/plasma-pixels/standard-plugin.json +0 -11
  35. package/dist/plugins/runtime.js +0 -1044
  36. package/dist/plugins/samples.json +0 -81
  37. package/dist/plugins/worker.js +0 -411
@@ -109,42 +109,6 @@ export class Session {
109
109
  const ret = wasm.session_columns(this.__wbg_ptr);
110
110
  return ret;
111
111
  }
112
- /**
113
- * Drives the demo's fake account: `install` packs sample `id` as a new
114
- * version and installs it (an update when it runs already; returns
115
- * the package hash), `uninstall` removes it.
116
- * @param {string} op
117
- * @param {string} id
118
- * @returns {string}
119
- */
120
- fake_account(op, id) {
121
- let deferred4_0;
122
- let deferred4_1;
123
- try {
124
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
125
- const ptr0 = passStringToWasm0(op, wasm.__wbindgen_export, wasm.__wbindgen_export2);
126
- const len0 = WASM_VECTOR_LEN;
127
- const ptr1 = passStringToWasm0(id, wasm.__wbindgen_export, wasm.__wbindgen_export2);
128
- const len1 = WASM_VECTOR_LEN;
129
- wasm.session_fake_account(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
130
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
131
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
132
- var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
133
- var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
134
- var ptr3 = r0;
135
- var len3 = r1;
136
- if (r3) {
137
- ptr3 = 0; len3 = 0;
138
- throw takeObject(r2);
139
- }
140
- deferred4_0 = ptr3;
141
- deferred4_1 = len3;
142
- return getStringFromWasm0(ptr3, len3);
143
- } finally {
144
- wasm.__wbindgen_add_to_stack_pointer(16);
145
- wasm.__wbindgen_export4(deferred4_0, deferred4_1, 1);
146
- }
147
- }
148
112
  /**
149
113
  * @param {boolean} focused
150
114
  */
@@ -269,28 +233,6 @@ export class Session {
269
233
  wasm.__wbindgen_add_to_stack_pointer(16);
270
234
  }
271
235
  }
272
- /**
273
- * The plugin counters since the last call, as JSON, for measurements:
274
- * per plugin its commits, dirty area and `frame()` calls and time, and
275
- * the viewer's sampling count and cost.
276
- * @returns {string | undefined}
277
- */
278
- plugin_trace() {
279
- try {
280
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
281
- wasm.session_plugin_trace(retptr, this.__wbg_ptr);
282
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
283
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
284
- let v1;
285
- if (r0 !== 0) {
286
- v1 = getStringFromWasm0(r0, r1);
287
- wasm.__wbindgen_export4(r0, r1 * 1, 1);
288
- }
289
- return v1;
290
- } finally {
291
- wasm.__wbindgen_add_to_stack_pointer(16);
292
- }
293
- }
294
236
  /**
295
237
  * `action` is 0 down, 1 up, 2 move; `x` and `y` are device pixels
296
238
  * relative to the canvas.
@@ -340,78 +282,6 @@ export class Session {
340
282
  const ret = wasm.session_rows(this.__wbg_ptr);
341
283
  return ret;
342
284
  }
343
- /**
344
- * The demo's sample plugins (the site's call before account plugins).
345
- * @param {string} base
346
- * @param {string | null} [stage]
347
- */
348
- start_demo_plugins(base, stage) {
349
- try {
350
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
351
- const ptr0 = passStringToWasm0(base, wasm.__wbindgen_export, wasm.__wbindgen_export2);
352
- const len0 = WASM_VECTOR_LEN;
353
- var ptr1 = isLikeNone(stage) ? 0 : passStringToWasm0(stage, wasm.__wbindgen_export, wasm.__wbindgen_export2);
354
- var len1 = WASM_VECTOR_LEN;
355
- wasm.session_start_demo_plugins(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
356
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
357
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
358
- if (r1) {
359
- throw takeObject(r0);
360
- }
361
- } finally {
362
- wasm.__wbindgen_add_to_stack_pointer(16);
363
- }
364
- }
365
- /**
366
- * The demo viewer with a fake account instead of its samples: the
367
- * installed-plugin path end to end (packages by hash, verification,
368
- * the in-viewer transpile, sessions, updates) against a stand-in room
369
- * that installs only packages it packs from this bundle's own samples
370
- * ([`Self::fake_account`]). A signed-in session refuses.
371
- * @param {string} base
372
- */
373
- start_fake_account_plugins(base) {
374
- try {
375
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
376
- const ptr0 = passStringToWasm0(base, wasm.__wbindgen_export, wasm.__wbindgen_export2);
377
- const len0 = WASM_VECTOR_LEN;
378
- wasm.session_start_fake_account_plugins(retptr, this.__wbg_ptr, ptr0, len0);
379
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
380
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
381
- if (r1) {
382
- throw takeObject(r0);
383
- }
384
- } finally {
385
- wasm.__wbindgen_add_to_stack_pointer(16);
386
- }
387
- }
388
- /**
389
- * Runs this session's plugins after the first frame: in the demo the
390
- * sample plugins this bundle carries, signed in the account's
391
- * installed plugins. `base` is the bundle root the page loaded this
392
- * runtime from (the site's verified `/terminal/_web/<version>/`); every
393
- * Worker, and the reference glue it links through, comes from there.
394
- * `stage` is a plugin whose stage opens once it is loaded.
395
- * @param {string} base
396
- * @param {string | null} [stage]
397
- */
398
- start_plugins(base, stage) {
399
- try {
400
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
401
- const ptr0 = passStringToWasm0(base, wasm.__wbindgen_export, wasm.__wbindgen_export2);
402
- const len0 = WASM_VECTOR_LEN;
403
- var ptr1 = isLikeNone(stage) ? 0 : passStringToWasm0(stage, wasm.__wbindgen_export, wasm.__wbindgen_export2);
404
- var len1 = WASM_VECTOR_LEN;
405
- wasm.session_start_plugins(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
406
- var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
407
- var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
408
- if (r1) {
409
- throw takeObject(r0);
410
- }
411
- } finally {
412
- wasm.__wbindgen_add_to_stack_pointer(16);
413
- }
414
- }
415
285
  /**
416
286
  * Text copied since the last call. The page writes it to the system
417
287
  * clipboard from inside the event handler that produced it.
@@ -514,11 +384,6 @@ export function start() {
514
384
  function __wbg_get_imports() {
515
385
  const import0 = {
516
386
  __proto__: null,
517
- __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(arg0) {
518
- const v = getObject(arg0);
519
- const ret = typeof(v) === 'boolean' ? v : undefined;
520
- return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
521
- },
522
387
  __wbg___wbindgen_is_function_5e4570eb24ffa122: function(arg0) {
523
388
  const ret = typeof(getObject(arg0)) === 'function';
524
389
  return ret;
@@ -540,12 +405,6 @@ function __wbg_get_imports() {
540
405
  const ret = getObject(arg0) === undefined;
541
406
  return ret;
542
407
  },
543
- __wbg___wbindgen_number_get_136b9679cab35cfb: function(arg0, arg1) {
544
- const obj = getObject(arg1);
545
- const ret = typeof(obj) === 'number' ? obj : undefined;
546
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
547
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
548
- },
549
408
  __wbg___wbindgen_string_get_d154f1e671052120: function(arg0, arg1) {
550
409
  const obj = getObject(arg1);
551
410
  const ret = typeof(obj) === 'string' ? obj : undefined;
@@ -563,17 +422,9 @@ function __wbg_get_imports() {
563
422
  __wbg_arcTo_e447860b0ef384fb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
564
423
  getObject(arg0).arcTo(arg1, arg2, arg3, arg4, arg5);
565
424
  }, arguments); },
566
- __wbg_arrayBuffer_16433f17fbd74397: function() { return handleError(function (arg0) {
567
- const ret = getObject(arg0).arrayBuffer();
568
- return addHeapObject(ret);
569
- }, arguments); },
570
425
  __wbg_beginPath_4b87fe7ed5408cac: function(arg0) {
571
426
  getObject(arg0).beginPath();
572
427
  },
573
- __wbg_buffer_78291c0e094ccf99: function(arg0) {
574
- const ret = getObject(arg0).buffer;
575
- return addHeapObject(ret);
576
- },
577
428
  __wbg_bufferedAmount_8439cda0fbab40f3: function(arg0) {
578
429
  const ret = getObject(arg0).bufferedAmount;
579
430
  return ret;
@@ -642,9 +493,6 @@ function __wbg_get_imports() {
642
493
  __wbg_drawImage_87a05b54f458ec06: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
643
494
  getObject(arg0).drawImage(getObject(arg1), arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
644
495
  }, arguments); },
645
- __wbg_drawImage_c9877592da6891fb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
646
- getObject(arg0).drawImage(getObject(arg1), arg2, arg3, arg4, arg5);
647
- }, arguments); },
648
496
  __wbg_ellipse_8683d7da44c9d648: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) {
649
497
  getObject(arg0).ellipse(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 !== 0);
650
498
  }, arguments); },
@@ -663,16 +511,6 @@ function __wbg_get_imports() {
663
511
  wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
664
512
  }
665
513
  },
666
- __wbg_error_afb37ce311f1115d: function(arg0, arg1) {
667
- console.error(getObject(arg0), getObject(arg1));
668
- },
669
- __wbg_error_dd408a7b3cb542dd: function(arg0) {
670
- console.error(getObject(arg0));
671
- },
672
- __wbg_fetch_6500a72da8700672: function(arg0, arg1, arg2) {
673
- const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2));
674
- return addHeapObject(ret);
675
- },
676
514
  __wbg_fetch_729fad2e5272298f: function(arg0, arg1) {
677
515
  const ret = getObject(arg0).fetch(getObject(arg1));
678
516
  return addHeapObject(ret);
@@ -694,10 +532,6 @@ function __wbg_get_imports() {
694
532
  const ret = getObject(arg0).fontBoundingBoxDescent;
695
533
  return ret;
696
534
  },
697
- __wbg_from_74f3d90e0ff11240: function(arg0) {
698
- const ret = Array.from(getObject(arg0));
699
- return addHeapObject(ret);
700
- },
701
535
  __wbg_generateKey_35e4d6e6942ffefd: function() { return handleError(function (arg0, arg1, arg2, arg3) {
702
536
  const ret = getObject(arg0).generateKey(getObject(arg1), arg2 !== 0, getObject(arg3));
703
537
  return addHeapObject(ret);
@@ -731,14 +565,6 @@ function __wbg_get_imports() {
731
565
  const ret = Reflect.get(getObject(arg0), getObject(arg1));
732
566
  return addHeapObject(ret);
733
567
  }, arguments); },
734
- __wbg_get_c0c8f8d7da0c03dd: function(arg0, arg1) {
735
- const ret = getObject(arg0)[arg1 >>> 0];
736
- return addHeapObject(ret);
737
- },
738
- __wbg_has_b3a6e6d0d28295fa: function() { return handleError(function (arg0, arg1) {
739
- const ret = Reflect.has(getObject(arg0), getObject(arg1));
740
- return ret;
741
- }, arguments); },
742
568
  __wbg_height_e56f6fb197710e09: function(arg0) {
743
569
  const ret = getObject(arg0).height;
744
570
  return ret;
@@ -767,16 +593,6 @@ function __wbg_get_imports() {
767
593
  const ret = result;
768
594
  return ret;
769
595
  },
770
- __wbg_instanceof_ErrorEvent_89b18d7510b76ab4: function(arg0) {
771
- let result;
772
- try {
773
- result = getObject(arg0) instanceof ErrorEvent;
774
- } catch (_) {
775
- result = false;
776
- }
777
- const ret = result;
778
- return ret;
779
- },
780
596
  __wbg_instanceof_HtmlCanvasElement_327e7f7530c72bbd: function(arg0) {
781
597
  let result;
782
598
  try {
@@ -807,16 +623,6 @@ function __wbg_get_imports() {
807
623
  const ret = result;
808
624
  return ret;
809
625
  },
810
- __wbg_instanceof_Uint8ClampedArray_14449d3c1195a82e: function(arg0) {
811
- let result;
812
- try {
813
- result = getObject(arg0) instanceof Uint8ClampedArray;
814
- } catch (_) {
815
- result = false;
816
- }
817
- const ret = result;
818
- return ret;
819
- },
820
626
  __wbg_instanceof_Window_5625ff9937037a38: function(arg0) {
821
627
  let result;
822
628
  try {
@@ -827,10 +633,6 @@ function __wbg_get_imports() {
827
633
  const ret = result;
828
634
  return ret;
829
635
  },
830
- __wbg_isArray_6339f732981044bf: function(arg0) {
831
- const ret = Array.isArray(getObject(arg0));
832
- return ret;
833
- },
834
636
  __wbg_isSecureContext_12728809070a29df: function(arg0) {
835
637
  const ret = getObject(arg0).isSecureContext;
836
638
  return ret;
@@ -839,17 +641,9 @@ function __wbg_get_imports() {
839
641
  const ret = getObject(arg0).length;
840
642
  return ret;
841
643
  },
842
- __wbg_length_ecfa2c63d3d0d82c: function(arg0) {
843
- const ret = getObject(arg0).length;
844
- return ret;
845
- },
846
644
  __wbg_lineTo_9495a068a4f48283: function(arg0, arg1, arg2) {
847
645
  getObject(arg0).lineTo(arg1, arg2);
848
646
  },
849
- __wbg_load_c7c58f19755d1352: function() { return handleError(function (arg0, arg1) {
850
- const ret = Atomics.load(getObject(arg0), arg1 >>> 0);
851
- return ret;
852
- }, arguments); },
853
647
  __wbg_localStorage_19bddab1e4cb2413: function() { return handleError(function (arg0) {
854
648
  const ret = getObject(arg0).localStorage;
855
649
  return isLikeNone(ret) ? 0 : addHeapObject(ret);
@@ -858,13 +652,6 @@ function __wbg_get_imports() {
858
652
  const ret = getObject(arg0).measureText(getStringFromWasm0(arg1, arg2));
859
653
  return addHeapObject(ret);
860
654
  }, arguments); },
861
- __wbg_message_ee1169351138f81d: function(arg0, arg1) {
862
- const ret = getObject(arg1).message;
863
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
864
- const len1 = WASM_VECTOR_LEN;
865
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
866
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
867
- },
868
655
  __wbg_moveTo_a5882cdf1a7d39d9: function(arg0, arg1, arg2) {
869
656
  getObject(arg0).moveTo(arg1, arg2);
870
657
  },
@@ -888,10 +675,6 @@ function __wbg_get_imports() {
888
675
  const ret = new Error();
889
676
  return addHeapObject(ret);
890
677
  },
891
- __wbg_new_3867db84790e6cb4: function(arg0) {
892
- const ret = new SharedArrayBuffer(arg0 >>> 0);
893
- return addHeapObject(ret);
894
- },
895
678
  __wbg_new_418fb92a013d5930: function(arg0, arg1) {
896
679
  try {
897
680
  var state0 = {a: arg0, b: arg1};
@@ -899,7 +682,7 @@ function __wbg_get_imports() {
899
682
  const a = state0.a;
900
683
  state0.a = 0;
901
684
  try {
902
- return __wasm_bindgen_func_elem_10374(a, state0.b, arg0, arg1);
685
+ return __wasm_bindgen_func_elem_9877(a, state0.b, arg0, arg1);
903
686
  } finally {
904
687
  state0.a = a;
905
688
  }
@@ -910,10 +693,6 @@ function __wbg_get_imports() {
910
693
  state0.a = 0;
911
694
  }
912
695
  },
913
- __wbg_new_49808c7d1d72154f: function(arg0) {
914
- const ret = new ArrayBuffer(arg0 >>> 0);
915
- return addHeapObject(ret);
916
- },
917
696
  __wbg_new_77cc4f4f472aeb81: function(arg0) {
918
697
  const ret = new Uint8Array(getObject(arg0));
919
698
  return addHeapObject(ret);
@@ -941,7 +720,7 @@ function __wbg_get_imports() {
941
720
  const a = state0.a;
942
721
  state0.a = 0;
943
722
  try {
944
- return __wasm_bindgen_func_elem_10374(a, state0.b, arg0, arg1);
723
+ return __wasm_bindgen_func_elem_9877(a, state0.b, arg0, arg1);
945
724
  } finally {
946
725
  state0.a = a;
947
726
  }
@@ -952,22 +731,10 @@ function __wbg_get_imports() {
952
731
  state0.a = 0;
953
732
  }
954
733
  },
955
- __wbg_new_with_byte_offset_and_length_7fcc1893b668846c: function(arg0, arg1, arg2) {
956
- const ret = new Int32Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
957
- return addHeapObject(ret);
958
- },
959
- __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(arg0, arg1, arg2) {
960
- const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
961
- return addHeapObject(ret);
962
- },
963
734
  __wbg_new_with_length_3ffc1c56427c525c: function(arg0) {
964
735
  const ret = new Uint8Array(arg0 >>> 0);
965
736
  return addHeapObject(ret);
966
737
  },
967
- __wbg_new_with_options_ceb29d27c7c6cc6f: function() { return handleError(function (arg0, arg1, arg2) {
968
- const ret = new Worker(getStringFromWasm0(arg0, arg1), getObject(arg2));
969
- return addHeapObject(ret);
970
- }, arguments); },
971
738
  __wbg_new_with_str_and_init_5a37d576dec75a86: function() { return handleError(function (arg0, arg1, arg2) {
972
739
  const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
973
740
  return addHeapObject(ret);
@@ -976,10 +743,6 @@ function __wbg_get_imports() {
976
743
  const ret = new WebSocket(getStringFromWasm0(arg0, arg1), getObject(arg2));
977
744
  return addHeapObject(ret);
978
745
  }, arguments); },
979
- __wbg_new_with_sw_cced22be0cbff0d3: function() { return handleError(function (arg0, arg1) {
980
- const ret = new ImageData(arg0 >>> 0, arg1 >>> 0);
981
- return addHeapObject(ret);
982
- }, arguments); },
983
746
  __wbg_new_with_u8_clamped_array_and_sh_d9a3bf9abac17f51: function() { return handleError(function (arg0, arg1, arg2, arg3) {
984
747
  const ret = new ImageData(getClampedArrayU8FromWasm0(arg0, arg1), arg2 >>> 0, arg3 >>> 0);
985
748
  return addHeapObject(ret);
@@ -1008,10 +771,6 @@ function __wbg_get_imports() {
1008
771
  const ret = getObject(arg0).objectStore(getStringFromWasm0(arg1, arg2));
1009
772
  return addHeapObject(ret);
1010
773
  }, arguments); },
1011
- __wbg_open_585729a62dbd7475: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
1012
- const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
1013
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
1014
- }, arguments); },
1015
774
  __wbg_open_c5ecda93515ce190: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1016
775
  const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
1017
776
  return addHeapObject(ret);
@@ -1020,12 +779,6 @@ function __wbg_get_imports() {
1020
779
  const ret = getObject(arg0).performance;
1021
780
  return addHeapObject(ret);
1022
781
  },
1023
- __wbg_postMessage_db101a32b7c1dbf8: function() { return handleError(function (arg0, arg1, arg2) {
1024
- getObject(arg0).postMessage(getObject(arg1), getObject(arg2));
1025
- }, arguments); },
1026
- __wbg_postMessage_ff0d3fa36478ee89: function() { return handleError(function (arg0, arg1) {
1027
- getObject(arg0).postMessage(getObject(arg1));
1028
- }, arguments); },
1029
782
  __wbg_preventDefault_19878c58b8010668: function(arg0) {
1030
783
  getObject(arg0).preventDefault();
1031
784
  },
@@ -1043,9 +796,6 @@ function __wbg_get_imports() {
1043
796
  __wbg_putImageData_17fd10517d5503a3: function() { return handleError(function (arg0, arg1, arg2, arg3) {
1044
797
  getObject(arg0).putImageData(getObject(arg1), arg2, arg3);
1045
798
  }, arguments); },
1046
- __wbg_putImageData_ac2383610a3cfaa5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
1047
- getObject(arg0).putImageData(getObject(arg1), arg2, arg3, arg4, arg5, arg6, arg7);
1048
- }, arguments); },
1049
799
  __wbg_put_5e0ae8c80bb952a7: function() { return handleError(function (arg0, arg1, arg2) {
1050
800
  const ret = getObject(arg0).put(getObject(arg1), getObject(arg2));
1051
801
  return addHeapObject(ret);
@@ -1108,19 +858,12 @@ function __wbg_get_imports() {
1108
858
  const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
1109
859
  return ret;
1110
860
  }, arguments); },
1111
- __wbg_set_8155bb79a948541b: function() { return handleError(function (arg0, arg1, arg2) {
1112
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
1113
- return ret;
1114
- }, arguments); },
1115
861
  __wbg_set_binaryType_b701908a03166a9f: function(arg0, arg1) {
1116
862
  getObject(arg0).binaryType = __wbindgen_enum_BinaryType[arg1];
1117
863
  },
1118
864
  __wbg_set_body_f301b68bff45f419: function(arg0, arg1) {
1119
865
  getObject(arg0).body = getObject(arg1);
1120
866
  },
1121
- __wbg_set_e0a8f22f6940a74f: function(arg0, arg1, arg2) {
1122
- getObject(arg0).set(getObject(arg1), arg2 >>> 0);
1123
- },
1124
867
  __wbg_set_e92392c4b44c5de1: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1125
868
  getObject(arg0).set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
1126
869
  }, arguments); },
@@ -1163,18 +906,12 @@ function __wbg_get_imports() {
1163
906
  __wbg_set_onerror_41278ace6abe3973: function(arg0, arg1) {
1164
907
  getObject(arg0).onerror = getObject(arg1);
1165
908
  },
1166
- __wbg_set_onerror_b63034829f16949e: function(arg0, arg1) {
1167
- getObject(arg0).onerror = getObject(arg1);
1168
- },
1169
909
  __wbg_set_onerror_f1491b13f0fea022: function(arg0, arg1) {
1170
910
  getObject(arg0).onerror = getObject(arg1);
1171
911
  },
1172
912
  __wbg_set_onmessage_065a797dafa9c437: function(arg0, arg1) {
1173
913
  getObject(arg0).onmessage = getObject(arg1);
1174
914
  },
1175
- __wbg_set_onmessage_6f838578941fe42d: function(arg0, arg1) {
1176
- getObject(arg0).onmessage = getObject(arg1);
1177
- },
1178
915
  __wbg_set_onopen_b28699f3431204cf: function(arg0, arg1) {
1179
916
  getObject(arg0).onopen = getObject(arg1);
1180
917
  },
@@ -1190,9 +927,6 @@ function __wbg_get_imports() {
1190
927
  __wbg_set_textBaseline_72fc99fa97c6b6f3: function(arg0, arg1, arg2) {
1191
928
  getObject(arg0).textBaseline = getStringFromWasm0(arg1, arg2);
1192
929
  },
1193
- __wbg_set_type_e6de95ea1ca51953: function(arg0, arg1) {
1194
- getObject(arg0).type = __wbindgen_enum_WorkerType[arg1];
1195
- },
1196
930
  __wbg_set_width_36ef6630b22fc519: function(arg0, arg1) {
1197
931
  getObject(arg0).width = arg1 >>> 0;
1198
932
  },
@@ -1230,9 +964,6 @@ function __wbg_get_imports() {
1230
964
  const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
1231
965
  return addHeapObject(ret);
1232
966
  },
1233
- __wbg_terminate_ce8875dabb0fdeb6: function(arg0) {
1234
- getObject(arg0).terminate();
1235
- },
1236
967
  __wbg_text_9302f33ea8cfce7b: function() { return handleError(function (arg0) {
1237
968
  const ret = getObject(arg0).text();
1238
969
  return addHeapObject(ret);
@@ -1272,23 +1003,23 @@ function __wbg_get_imports() {
1272
1003
  return ret;
1273
1004
  },
1274
1005
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1275
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1278, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1276
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_10372);
1006
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1139, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1007
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9875);
1277
1008
  return addHeapObject(ret);
1278
1009
  },
1279
1010
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1280
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 47, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1281
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_569);
1011
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 376, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1012
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_593);
1282
1013
  return addHeapObject(ret);
1283
1014
  },
1284
1015
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1285
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 47, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1286
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_569_2);
1016
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 376, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1017
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_593_2);
1287
1018
  return addHeapObject(ret);
1288
1019
  },
1289
1020
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1290
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 47, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1291
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_569_3);
1021
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 376, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1022
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_593_3);
1292
1023
  return addHeapObject(ret);
1293
1024
  },
1294
1025
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
@@ -1315,22 +1046,22 @@ function __wbg_get_imports() {
1315
1046
  };
1316
1047
  }
1317
1048
 
1318
- function __wasm_bindgen_func_elem_569(arg0, arg1, arg2) {
1319
- wasm.__wasm_bindgen_func_elem_569(arg0, arg1, addHeapObject(arg2));
1049
+ function __wasm_bindgen_func_elem_593(arg0, arg1, arg2) {
1050
+ wasm.__wasm_bindgen_func_elem_593(arg0, arg1, addHeapObject(arg2));
1320
1051
  }
1321
1052
 
1322
- function __wasm_bindgen_func_elem_569_2(arg0, arg1, arg2) {
1323
- wasm.__wasm_bindgen_func_elem_569_2(arg0, arg1, addHeapObject(arg2));
1053
+ function __wasm_bindgen_func_elem_593_2(arg0, arg1, arg2) {
1054
+ wasm.__wasm_bindgen_func_elem_593_2(arg0, arg1, addHeapObject(arg2));
1324
1055
  }
1325
1056
 
1326
- function __wasm_bindgen_func_elem_569_3(arg0, arg1, arg2) {
1327
- wasm.__wasm_bindgen_func_elem_569_3(arg0, arg1, addHeapObject(arg2));
1057
+ function __wasm_bindgen_func_elem_593_3(arg0, arg1, arg2) {
1058
+ wasm.__wasm_bindgen_func_elem_593_3(arg0, arg1, addHeapObject(arg2));
1328
1059
  }
1329
1060
 
1330
- function __wasm_bindgen_func_elem_10372(arg0, arg1, arg2) {
1061
+ function __wasm_bindgen_func_elem_9875(arg0, arg1, arg2) {
1331
1062
  try {
1332
1063
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1333
- wasm.__wasm_bindgen_func_elem_10372(retptr, arg0, arg1, addHeapObject(arg2));
1064
+ wasm.__wasm_bindgen_func_elem_9875(retptr, arg0, arg1, addHeapObject(arg2));
1334
1065
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1335
1066
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1336
1067
  if (r1) {
@@ -1341,8 +1072,8 @@ function __wasm_bindgen_func_elem_10372(arg0, arg1, arg2) {
1341
1072
  }
1342
1073
  }
1343
1074
 
1344
- function __wasm_bindgen_func_elem_10374(arg0, arg1, arg2, arg3) {
1345
- wasm.__wasm_bindgen_func_elem_10374(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1075
+ function __wasm_bindgen_func_elem_9877(arg0, arg1, arg2, arg3) {
1076
+ wasm.__wasm_bindgen_func_elem_9877(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1346
1077
  }
1347
1078
 
1348
1079
 
@@ -1350,9 +1081,6 @@ const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
1350
1081
 
1351
1082
 
1352
1083
  const __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
1353
-
1354
-
1355
- const __wbindgen_enum_WorkerType = ["classic", "module"];
1356
1084
  const DeviceLoginFinalization = (typeof FinalizationRegistry === 'undefined')
1357
1085
  ? { register: () => {}, unregister: () => {} }
1358
1086
  : new FinalizationRegistry(ptr => wasm.__wbg_devicelogin_free(ptr, 1));
Binary file
@@ -4,19 +4,14 @@ export const memory: WebAssembly.Memory;
4
4
  export const __wbg_session_free: (a: number, b: number) => void;
5
5
  export const link_check: (a: number) => void;
6
6
  export const session_columns: (a: number) => number;
7
- export const session_fake_account: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
8
7
  export const session_focus: (a: number, b: number, c: number) => void;
9
8
  export const session_frame: (a: number, b: number) => void;
10
9
  export const session_key: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
11
10
  export const session_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
12
11
  export const session_paste: (a: number, b: number, c: number, d: number) => void;
13
- export const session_plugin_trace: (a: number, b: number) => void;
14
12
  export const session_pointer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
15
13
  export const session_resize: (a: number, b: number, c: number) => void;
16
14
  export const session_rows: (a: number) => number;
17
- export const session_start_demo_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
18
- export const session_start_fake_account_plugins: (a: number, b: number, c: number, d: number) => void;
19
- export const session_start_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
20
15
  export const session_take_clipboard: (a: number, b: number) => void;
21
16
  export const session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
22
17
  export const start: () => void;
@@ -27,11 +22,11 @@ export const devicelogin_poll: (a: number) => number;
27
22
  export const devicelogin_start: (a: number, b: number) => number;
28
23
  export const devicelogin_verificationUrl: (a: number, b: number) => void;
29
24
  export const forget_browser: (a: number, b: number, c: number, d: number) => number;
30
- export const __wasm_bindgen_func_elem_10372: (a: number, b: number, c: number, d: number) => void;
31
- export const __wasm_bindgen_func_elem_10374: (a: number, b: number, c: number, d: number) => void;
32
- export const __wasm_bindgen_func_elem_569: (a: number, b: number, c: number) => void;
33
- export const __wasm_bindgen_func_elem_569_2: (a: number, b: number, c: number) => void;
34
- export const __wasm_bindgen_func_elem_569_3: (a: number, b: number, c: number) => void;
25
+ export const __wasm_bindgen_func_elem_9875: (a: number, b: number, c: number, d: number) => void;
26
+ export const __wasm_bindgen_func_elem_9877: (a: number, b: number, c: number, d: number) => void;
27
+ export const __wasm_bindgen_func_elem_593: (a: number, b: number, c: number) => void;
28
+ export const __wasm_bindgen_func_elem_593_2: (a: number, b: number, c: number) => void;
29
+ export const __wasm_bindgen_func_elem_593_3: (a: number, b: number, c: number) => void;
35
30
  export const __wbindgen_export: (a: number, b: number) => number;
36
31
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
37
32
  export const __wbindgen_export3: (a: number) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@standardagents/code-web",
3
- "version": "0.14.8-branch.9e48e914.60c0d9",
3
+ "version": "0.14.9-canary.dccbcc",
4
4
  "type": "module",
5
5
  "description": "The Standard viewer runtime for the browser: the TUI compiled to wasm, its JS glue, and its fonts",
6
6
  "license": "UNLICENSED",
@@ -27,7 +27,6 @@
27
27
  "./standard_web_bg.wasm": "./dist/pkg/standard_web_bg.wasm",
28
28
  "./fonts/*": "./dist/fonts/*",
29
29
  "./licenses/*": "./dist/licenses/*",
30
- "./plugins/*": "./dist/plugins/*",
31
30
  "./build.json": "./dist/build.json",
32
31
  "./manifest.json": "./dist/manifest.json",
33
32
  "./manifest.sig": "./dist/manifest.sig",
@@ -37,7 +36,6 @@
37
36
  "dist/pkg",
38
37
  "dist/fonts",
39
38
  "dist/licenses",
40
- "dist/plugins",
41
39
  "dist/build.json",
42
40
  "dist/manifest.json",
43
41
  "dist/manifest.sig",
@@ -47,10 +45,6 @@
47
45
  "fonts": "node scripts/fetch-fonts.mjs",
48
46
  "build": "node scripts/build.mjs",
49
47
  "check": "node scripts/build.mjs --check",
50
- "serve": "node scripts/serve.mjs",
51
- "test": "node --test test/*.test.mjs"
52
- },
53
- "devDependencies": {
54
- "@bytecodealliance/jco-transpile": "0.15.0"
48
+ "serve": "node scripts/serve.mjs"
55
49
  }
56
50
  }