@standardagents/code-web 0.14.1-branch.9e48e914.12981f → 0.14.1-branch.9e48e914.3ca3e7

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 (36) hide show
  1. package/dist/build.json +1 -1
  2. package/dist/licenses/jco-transpile.txt +220 -0
  3. package/dist/manifest.json +1 -1
  4. package/dist/manifest.sig +1 -1
  5. package/dist/pkg/standard_web.d.ts +33 -11
  6. package/dist/pkg/standard_web.js +119 -25
  7. package/dist/pkg/standard_web_bg.wasm +0 -0
  8. package/dist/pkg/standard_web_bg.wasm.d.ts +9 -6
  9. package/dist/plugins/clock-cells/clock_cells.core.wasm +0 -0
  10. package/dist/plugins/clock-cells/clock_cells.wasm +0 -0
  11. package/dist/plugins/clock-cells/standard-plugin.json +11 -0
  12. package/dist/plugins/host/transpile.js +51 -0
  13. package/dist/plugins/host/ui-jspi.js +14453 -0
  14. package/dist/plugins/host/ui.core2.wasm +0 -0
  15. package/dist/plugins/host/ui.core3.wasm +0 -0
  16. package/dist/plugins/host/ui.js +14277 -0
  17. package/dist/plugins/host/world.js +172 -0
  18. package/dist/plugins/jco/cli.js +141 -0
  19. package/dist/plugins/jco/common.js +16 -0
  20. package/dist/plugins/jco/config.js +7 -0
  21. package/dist/plugins/jco/environment.js +24 -0
  22. package/dist/plugins/jco/filesystem.js +339 -0
  23. package/dist/plugins/jco/in-memory-filesystem.js +620 -0
  24. package/dist/plugins/jco/io.js +366 -0
  25. package/dist/plugins/jco/js-component-bindgen-component.core.wasm +0 -0
  26. package/dist/plugins/jco/js-component-bindgen-component.core2.wasm +0 -0
  27. package/dist/plugins/jco/js-component-bindgen-component.js +14272 -0
  28. package/dist/plugins/jco/opfs-filesystem.js +245 -0
  29. package/dist/plugins/jco/random.js +51 -0
  30. package/dist/plugins/plasma-pixels/plasma_pixels.core.wasm +0 -0
  31. package/dist/plugins/plasma-pixels/plasma_pixels.wasm +0 -0
  32. package/dist/plugins/plasma-pixels/standard-plugin.json +11 -0
  33. package/dist/plugins/runtime.js +966 -0
  34. package/dist/plugins/samples.json +81 -0
  35. package/dist/plugins/worker.js +410 -0
  36. package/package.json +1 -1
package/dist/build.json CHANGED
@@ -1 +1 @@
1
- {"schema":1,"commit":"12981ff4fc3ad03aee75043a2dbc606d7926dcb6","version":"0.14.1-branch.9e48e914.12981f"}
1
+ {"schema":1,"commit":"3ca3e7018501bdfdee0691cd42750227997935ec","version":"0.14.1-branch.9e48e914.3ca3e7"}
@@ -0,0 +1,220 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
203
+
204
+
205
+ --- LLVM Exceptions to the Apache 2.0 License ----
206
+
207
+ As an exception, if, as a result of your compiling your source code, portions
208
+ of this Software are embedded into an Object form of such source code, you
209
+ may redistribute such embedded portions in such Object form without complying
210
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
211
+
212
+ In addition, if you combine or link compiled forms of this Software with
213
+ software that is licensed under the GPLv2 ("Combined Software") and if a
214
+ court of competent jurisdiction determines that the patent provision (Section
215
+ 3), the indemnity provision (Section 9) or other Section of the License
216
+ conflicts with the conditions of the GPLv2, you may retroactively and
217
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
218
+ the License, but only in their entirety and only with respect to the Combined
219
+ Software.
220
+
@@ -1 +1 @@
1
- {"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"12981ff4fc3ad03aee75043a2dbc606d7926dcb6","version":"0.14.1-branch.9e48e914.12981f","target":"wasm32-unknown-unknown","signing":{"algorithm":"ed25519","keyId":"team-2026-1","platformCodeSignature":"ed25519-only"},"files":[{"path":"build.json","size":107,"sha256":"e057e0293e5c17dc5494181880282a262dca62fa0759a1f4e72d0a26e3a9e2bb"},{"path":"fonts/JetBrainsMonoNerdFontMono-Bold.ttf","size":2473884,"sha256":"5bdd4a873f3cd32f882d2c55545089123926e27707d5880fc9eaf84eb01b6686"},{"path":"fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf","size":2475144,"sha256":"d931df2928b3216892d35980cddcad9edade1b9c9cd2e09a6c2937139f474742"},{"path":"fonts/JetBrainsMonoNerdFontMono-Italic.ttf","size":2472232,"sha256":"ccd88b36d325e6a905edc8dd3f2522718d9690d9bed3fbb4684c7e746c34f846"},{"path":"fonts/JetBrainsMonoNerdFontMono-Regular.ttf","size":2470116,"sha256":"f01031f40e48dc29e1112e6b0b0450a2c6cd097f3f35cfff05c55cb311f8034c"},{"path":"licenses/JetBrainsMono-OFL.txt","size":4413,"sha256":"add1f8a9fd7ff33c923114eede3a6fb5a6254dc5b59f031fa59feed8a4f0938a"},{"path":"licenses/NerdFonts-MIT.txt","size":1456,"sha256":"b880baeed54757299e39e404743837a8f4d375828cab87b46ac55126160b237d"},{"path":"pkg/standard_web.d.ts","size":7797,"sha256":"0d4a4edb69e10cc9ec3139a23da6146d3a9ca7e8d4c6cb988d3638810ba5c90c"},{"path":"pkg/standard_web.js","size":64091,"sha256":"5f20bbfc0bb386745381de7dbb6babb273b64a5564e009a69993caa3a3a419ac"},{"path":"pkg/standard_web_bg.wasm","size":7339770,"sha256":"97f05bf23ec2f4548a7ffec627487484b5463f7f82c4f32054202ae5b425c76f"},{"path":"pkg/standard_web_bg.wasm.d.ts","size":2861,"sha256":"4853ee9bd016563d88c37ddef89abb190845dfe54f2d8c2a7418e366e9512e7b"}]}
1
+ {"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"3ca3e7018501bdfdee0691cd42750227997935ec","version":"0.14.1-branch.9e48e914.3ca3e7","target":"wasm32-unknown-unknown","signing":{"algorithm":"ed25519","keyId":"team-2026-1","platformCodeSignature":"ed25519-only"},"files":[{"path":"build.json","size":107,"sha256":"58f347a0359ab113b097028bc80835821f1d6906a627b6fcbe0dce882b46e0d5"},{"path":"fonts/JetBrainsMonoNerdFontMono-Bold.ttf","size":2473884,"sha256":"5bdd4a873f3cd32f882d2c55545089123926e27707d5880fc9eaf84eb01b6686"},{"path":"fonts/JetBrainsMonoNerdFontMono-BoldItalic.ttf","size":2475144,"sha256":"d931df2928b3216892d35980cddcad9edade1b9c9cd2e09a6c2937139f474742"},{"path":"fonts/JetBrainsMonoNerdFontMono-Italic.ttf","size":2472232,"sha256":"ccd88b36d325e6a905edc8dd3f2522718d9690d9bed3fbb4684c7e746c34f846"},{"path":"fonts/JetBrainsMonoNerdFontMono-Regular.ttf","size":2470116,"sha256":"f01031f40e48dc29e1112e6b0b0450a2c6cd097f3f35cfff05c55cb311f8034c"},{"path":"licenses/JetBrainsMono-OFL.txt","size":4413,"sha256":"add1f8a9fd7ff33c923114eede3a6fb5a6254dc5b59f031fa59feed8a4f0938a"},{"path":"licenses/NerdFonts-MIT.txt","size":1456,"sha256":"b880baeed54757299e39e404743837a8f4d375828cab87b46ac55126160b237d"},{"path":"licenses/jco-transpile.txt","size":12243,"sha256":"268872b9816f90fd8e85db5a28d33f8150ebb8dd016653fb39ef1f94f2686bc5"},{"path":"pkg/standard_web.d.ts","size":9051,"sha256":"bc2b2e34a3124f5749931172c0ba3b7226adec33fca0565fab0e7d596590c00a"},{"path":"pkg/standard_web.js","size":68327,"sha256":"1a48104d1dfbd948891e392313c733969edd85dbeb3e5ecc26e05312c54a1eea"},{"path":"pkg/standard_web_bg.wasm","size":6901068,"sha256":"b5c7a4b849fc46f5853ed3105d35ccf32f29ce3a33339a76da201b54ff3354a1"},{"path":"pkg/standard_web_bg.wasm.d.ts","size":3185,"sha256":"00be52a5a02557aa742f415c41da242235f94c842eef10d1f0fbfde8b1940bbc"},{"path":"plugins/clock-cells/clock_cells.core.wasm","size":66047,"sha256":"10bd8378c6ef1e7a9344c04b8c47595121441f4736338fb8e4e8116beafe6bb6"},{"path":"plugins/clock-cells/clock_cells.wasm","size":69304,"sha256":"faeb41a6f97f8ed50ffa477a7f059c014efbd5cbf2a451f0de43fb81e28bf03a"},{"path":"plugins/clock-cells/standard-plugin.json","size":230,"sha256":"c0a02a1257bf24af47d1fab5d0dabd74882ec8d7dd07977ec95f15caf406515c"},{"path":"plugins/host/transpile.js","size":2231,"sha256":"b020345ecc9845373583a2e74ea640e8ff2e5cf89429ba3a18dcbd35aa6a3231"},{"path":"plugins/host/ui-jspi.js","size":466454,"sha256":"d46b61170fe52bd517c68c651388abf6a59a61db0801bb8235bccbdafee2fb71"},{"path":"plugins/host/ui.core2.wasm","size":953,"sha256":"a79e6ea6a7c37f35f4ae89c0bc4390c3e3aac74e0598f047991c97c06896a216"},{"path":"plugins/host/ui.core3.wasm","size":677,"sha256":"db68f94da626d2a817ac3ce4c3b01471cc2b67ebb255372f7699d0fbf68331e1"},{"path":"plugins/host/ui.js","size":461256,"sha256":"fc9e5d330b646c9183dab53db05c9f3ec47bbff18cc2431d06f3a222fca29ea0"},{"path":"plugins/host/world.js","size":7720,"sha256":"e8d9103d492b46201fb9a3d9344cb372f8bfeb048c97bf9a2682643bfb2a26ed"},{"path":"plugins/jco/cli.js","size":3928,"sha256":"1be414c1be5805417b721d522e20effa58ceb25c6079b930130204974476bc0a"},{"path":"plugins/jco/common.js","size":608,"sha256":"13f126e02c3d50f82a49b132837aa588600fc907321141d535e7c4a7e7ee0290"},{"path":"plugins/jco/config.js","size":112,"sha256":"40c60a11b1841f461436b11a2ff3318feac4a496bb18a0688a3980e15cff181d"},{"path":"plugins/jco/environment.js","size":463,"sha256":"4b9daf18432ded5e09367ead23abcb5e85bb49ae6fa3b25bc24b8d6ddc7bf1e1"},{"path":"plugins/jco/filesystem.js","size":11099,"sha256":"40b57ec8c13c4d7966e29741cf01ddfa3e66aa94c6179d5aadaa4a0b0233ca67"},{"path":"plugins/jco/in-memory-filesystem.js","size":21314,"sha256":"0872da9d62b2a9d3653a30bc56d0065ce2730752411c9a7b39facbbaf8315441"},{"path":"plugins/jco/io.js","size":10836,"sha256":"fd078daff36bf8fa68c03c8de3c06e54b74a62207838f076d8e48c603879606e"},{"path":"plugins/jco/js-component-bindgen-component.core.wasm","size":3479967,"sha256":"aa0681475ab02fa5a9ad05aa1ce5e700f9f8da0a9986b973c968545ad4816fa2"},{"path":"plugins/jco/js-component-bindgen-component.core2.wasm","size":14120,"sha256":"280fbf3d86c902fbf15419b9f95cf92b50778514d50bc0c06c11d3ae012296f6"},{"path":"plugins/jco/js-component-bindgen-component.js","size":452801,"sha256":"6932aca804a3cdeff51c3e747080cea640646b8c08a37c263f204a52447a096c"},{"path":"plugins/jco/opfs-filesystem.js","size":8949,"sha256":"fe98f84947ec9ae9f0a7e1ad6fa88148c44b4801ac7e48d4d17d0ee3814a48d8"},{"path":"plugins/jco/random.js","size":1942,"sha256":"0f70a30c6e57f3b253e3a8c13c6b8b01947e40596266df8406d31bd7989f27cd"},{"path":"plugins/plasma-pixels/plasma_pixels.core.wasm","size":36810,"sha256":"3cd14d0416895f1aa3f538b817f4ae0c92822412f5603555ad7fc65ad5d8d3b8"},{"path":"plugins/plasma-pixels/plasma_pixels.wasm","size":40067,"sha256":"b40152e3be2805a32ef70c7045ffe75b7fe2b2daa13eef5750abbfa9169c7835"},{"path":"plugins/plasma-pixels/standard-plugin.json","size":216,"sha256":"5f1b94853aaa5fd6103d458e391452325e8fd537ad22bf5e1eb439106dc56de1"},{"path":"plugins/runtime.js","size":38703,"sha256":"adc4efd54f94c167c6a671b2e4f031d70069c33fc1d52d3f273985989c3928a5"},{"path":"plugins/samples.json","size":2116,"sha256":"8e07f28602f6029017e9789720a59636e142a7912bd7665c82f7e4fbb8f0c812"},{"path":"plugins/worker.js","size":14736,"sha256":"1390889126305ec59ba230f8a56cd867b47bf7a7f670e1bf2479931eeb529851"}]}
package/dist/manifest.sig CHANGED
@@ -1 +1 @@
1
- LavzsUzBhKS+af6gEV5b9E6XnGE4N+fJy3eY0NkrFZ9GsRDMLZsj+gnZJiYckrDWYUA9beynLffbYX896stgBQ==
1
+ SlF/dCeynHtlZfbi2qUuGZg3TcmSnwzowC20/SFcoEa1U9L39jh9nmnZkZ7wdegvpTi6zbNUV3ZXRZVPp7xUDA==
@@ -35,6 +35,12 @@ export class Session {
35
35
  free(): void;
36
36
  [Symbol.dispose](): void;
37
37
  columns(): number;
38
+ /**
39
+ * Drives the demo's fake account: `install` packs sample `id` as a new
40
+ * version and installs it (an update when it runs already; returns
41
+ * the package hash), `uninstall` removes it.
42
+ */
43
+ fake_account(op: string, id: string): string;
38
44
  focus(focused: boolean): void;
39
45
  /**
40
46
  * One animation frame. Returns `true` once the session has ended.
@@ -73,13 +79,26 @@ export class Session {
73
79
  resize(font_px: number): void;
74
80
  rows(): number;
75
81
  /**
76
- * Runs the sample plugins this bundle carries: `base` is the bundle
77
- * root the page loaded this runtime from (the site's verified
78
- * `/terminal/_web/<version>/`), and `stage` a plugin whose stage opens
79
- * once it is loaded. Only the demo viewer loads plugins in this spike;
80
- * the plugins start after the first frame.
82
+ * The demo's sample plugins (the site's call before account plugins).
81
83
  */
82
84
  start_demo_plugins(base: string, stage?: string | null): void;
85
+ /**
86
+ * The demo viewer with a fake account instead of its samples: the
87
+ * installed-plugin path end to end (packages by hash, verification,
88
+ * the in-viewer transpile, sessions, updates) against a stand-in room
89
+ * that installs only packages it packs from this bundle's own samples
90
+ * ([`Self::fake_account`]). A signed-in session refuses.
91
+ */
92
+ start_fake_account_plugins(base: string): void;
93
+ /**
94
+ * Runs this session's plugins after the first frame: in the demo the
95
+ * sample plugins this bundle carries, signed in the account's
96
+ * installed plugins. `base` is the bundle root the page loaded this
97
+ * runtime from (the site's verified `/terminal/_web/<version>/`); every
98
+ * Worker, and the reference glue it links through, comes from there.
99
+ * `stage` is a plugin whose stage opens once it is loaded.
100
+ */
101
+ start_plugins(base: string, stage?: string | null): void;
83
102
  /**
84
103
  * Text copied since the last call. The page writes it to the system
85
104
  * clipboard from inside the event handler that produced it.
@@ -112,9 +131,11 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
112
131
 
113
132
  export interface InitOutput {
114
133
  readonly memory: WebAssembly.Memory;
134
+ readonly forget_browser: (a: number, b: number, c: number, d: number) => number;
115
135
  readonly __wbg_session_free: (a: number, b: number) => void;
116
136
  readonly link_check: (a: number) => void;
117
137
  readonly session_columns: (a: number) => number;
138
+ readonly session_fake_account: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
118
139
  readonly session_focus: (a: number, b: number, c: number) => void;
119
140
  readonly session_frame: (a: number, b: number) => void;
120
141
  readonly 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;
@@ -125,6 +146,8 @@ export interface InitOutput {
125
146
  readonly session_resize: (a: number, b: number, c: number) => void;
126
147
  readonly session_rows: (a: number) => number;
127
148
  readonly session_start_demo_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
149
+ readonly session_start_fake_account_plugins: (a: number, b: number, c: number, d: number) => void;
150
+ readonly session_start_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
128
151
  readonly session_take_clipboard: (a: number, b: number) => void;
129
152
  readonly session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
130
153
  readonly start: () => void;
@@ -134,12 +157,11 @@ export interface InitOutput {
134
157
  readonly devicelogin_poll: (a: number) => number;
135
158
  readonly devicelogin_start: (a: number, b: number) => number;
136
159
  readonly devicelogin_verificationUrl: (a: number, b: number) => void;
137
- readonly forget_browser: (a: number, b: number, c: number, d: number) => number;
138
- readonly __wasm_bindgen_func_elem_10380: (a: number, b: number, c: number, d: number) => void;
139
- readonly __wasm_bindgen_func_elem_10382: (a: number, b: number, c: number, d: number) => void;
140
- readonly __wasm_bindgen_func_elem_330: (a: number, b: number, c: number) => void;
141
- readonly __wasm_bindgen_func_elem_330_2: (a: number, b: number, c: number) => void;
142
- readonly __wasm_bindgen_func_elem_330_3: (a: number, b: number, c: number) => void;
160
+ readonly __wasm_bindgen_func_elem_9988: (a: number, b: number, c: number, d: number) => void;
161
+ readonly __wasm_bindgen_func_elem_9990: (a: number, b: number, c: number, d: number) => void;
162
+ readonly __wasm_bindgen_func_elem_791: (a: number, b: number, c: number) => void;
163
+ readonly __wasm_bindgen_func_elem_791_2: (a: number, b: number, c: number) => void;
164
+ readonly __wasm_bindgen_func_elem_791_3: (a: number, b: number, c: number) => void;
143
165
  readonly __wbindgen_export: (a: number, b: number) => number;
144
166
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
145
167
  readonly __wbindgen_export3: (a: number) => void;
@@ -109,6 +109,42 @@ 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
+ }
112
148
  /**
113
149
  * @param {boolean} focused
114
150
  */
@@ -305,11 +341,7 @@ export class Session {
305
341
  return ret;
306
342
  }
307
343
  /**
308
- * Runs the sample plugins this bundle carries: `base` is the bundle
309
- * root the page loaded this runtime from (the site's verified
310
- * `/terminal/_web/<version>/`), and `stage` a plugin whose stage opens
311
- * once it is loaded. Only the demo viewer loads plugins in this spike;
312
- * the plugins start after the first frame.
344
+ * The demo's sample plugins (the site's call before account plugins).
313
345
  * @param {string} base
314
346
  * @param {string | null} [stage]
315
347
  */
@@ -330,6 +362,56 @@ export class Session {
330
362
  wasm.__wbindgen_add_to_stack_pointer(16);
331
363
  }
332
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
+ }
333
415
  /**
334
416
  * Text copied since the last call. The page writes it to the system
335
417
  * clipboard from inside the event handler that produced it.
@@ -481,9 +563,17 @@ function __wbg_get_imports() {
481
563
  __wbg_arcTo_e447860b0ef384fb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
482
564
  getObject(arg0).arcTo(arg1, arg2, arg3, arg4, arg5);
483
565
  }, arguments); },
566
+ __wbg_arrayBuffer_16433f17fbd74397: function() { return handleError(function (arg0) {
567
+ const ret = getObject(arg0).arrayBuffer();
568
+ return addHeapObject(ret);
569
+ }, arguments); },
484
570
  __wbg_beginPath_4b87fe7ed5408cac: function(arg0) {
485
571
  getObject(arg0).beginPath();
486
572
  },
573
+ __wbg_buffer_78291c0e094ccf99: function(arg0) {
574
+ const ret = getObject(arg0).buffer;
575
+ return addHeapObject(ret);
576
+ },
487
577
  __wbg_bufferedAmount_8439cda0fbab40f3: function(arg0) {
488
578
  const ret = getObject(arg0).bufferedAmount;
489
579
  return ret;
@@ -579,6 +669,10 @@ function __wbg_get_imports() {
579
669
  __wbg_error_dd408a7b3cb542dd: function(arg0) {
580
670
  console.error(getObject(arg0));
581
671
  },
672
+ __wbg_fetch_6500a72da8700672: function(arg0, arg1, arg2) {
673
+ const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2));
674
+ return addHeapObject(ret);
675
+ },
582
676
  __wbg_fetch_729fad2e5272298f: function(arg0, arg1) {
583
677
  const ret = getObject(arg0).fetch(getObject(arg1));
584
678
  return addHeapObject(ret);
@@ -805,7 +899,7 @@ function __wbg_get_imports() {
805
899
  const a = state0.a;
806
900
  state0.a = 0;
807
901
  try {
808
- return __wasm_bindgen_func_elem_10382(a, state0.b, arg0, arg1);
902
+ return __wasm_bindgen_func_elem_9990(a, state0.b, arg0, arg1);
809
903
  } finally {
810
904
  state0.a = a;
811
905
  }
@@ -847,7 +941,7 @@ function __wbg_get_imports() {
847
941
  const a = state0.a;
848
942
  state0.a = 0;
849
943
  try {
850
- return __wasm_bindgen_func_elem_10382(a, state0.b, arg0, arg1);
944
+ return __wasm_bindgen_func_elem_9990(a, state0.b, arg0, arg1);
851
945
  } finally {
852
946
  state0.a = a;
853
947
  }
@@ -1174,23 +1268,23 @@ function __wbg_get_imports() {
1174
1268
  return ret;
1175
1269
  },
1176
1270
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
1177
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1198, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1178
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_10380);
1271
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1248, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1272
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9988);
1179
1273
  return addHeapObject(ret);
1180
1274
  },
1181
1275
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
1182
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 246, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1183
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_330);
1276
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 405, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1277
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_791);
1184
1278
  return addHeapObject(ret);
1185
1279
  },
1186
1280
  __wbindgen_cast_0000000000000003: function(arg0, arg1) {
1187
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 246, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1188
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_330_2);
1281
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 405, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1282
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_791_2);
1189
1283
  return addHeapObject(ret);
1190
1284
  },
1191
1285
  __wbindgen_cast_0000000000000004: function(arg0, arg1) {
1192
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 246, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1193
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_330_3);
1286
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 405, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1287
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_791_3);
1194
1288
  return addHeapObject(ret);
1195
1289
  },
1196
1290
  __wbindgen_cast_0000000000000005: function(arg0, arg1) {
@@ -1217,22 +1311,22 @@ function __wbg_get_imports() {
1217
1311
  };
1218
1312
  }
1219
1313
 
1220
- function __wasm_bindgen_func_elem_330(arg0, arg1, arg2) {
1221
- wasm.__wasm_bindgen_func_elem_330(arg0, arg1, addHeapObject(arg2));
1314
+ function __wasm_bindgen_func_elem_791(arg0, arg1, arg2) {
1315
+ wasm.__wasm_bindgen_func_elem_791(arg0, arg1, addHeapObject(arg2));
1222
1316
  }
1223
1317
 
1224
- function __wasm_bindgen_func_elem_330_2(arg0, arg1, arg2) {
1225
- wasm.__wasm_bindgen_func_elem_330_2(arg0, arg1, addHeapObject(arg2));
1318
+ function __wasm_bindgen_func_elem_791_2(arg0, arg1, arg2) {
1319
+ wasm.__wasm_bindgen_func_elem_791_2(arg0, arg1, addHeapObject(arg2));
1226
1320
  }
1227
1321
 
1228
- function __wasm_bindgen_func_elem_330_3(arg0, arg1, arg2) {
1229
- wasm.__wasm_bindgen_func_elem_330_3(arg0, arg1, addHeapObject(arg2));
1322
+ function __wasm_bindgen_func_elem_791_3(arg0, arg1, arg2) {
1323
+ wasm.__wasm_bindgen_func_elem_791_3(arg0, arg1, addHeapObject(arg2));
1230
1324
  }
1231
1325
 
1232
- function __wasm_bindgen_func_elem_10380(arg0, arg1, arg2) {
1326
+ function __wasm_bindgen_func_elem_9988(arg0, arg1, arg2) {
1233
1327
  try {
1234
1328
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1235
- wasm.__wasm_bindgen_func_elem_10380(retptr, arg0, arg1, addHeapObject(arg2));
1329
+ wasm.__wasm_bindgen_func_elem_9988(retptr, arg0, arg1, addHeapObject(arg2));
1236
1330
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1237
1331
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1238
1332
  if (r1) {
@@ -1243,8 +1337,8 @@ function __wasm_bindgen_func_elem_10380(arg0, arg1, arg2) {
1243
1337
  }
1244
1338
  }
1245
1339
 
1246
- function __wasm_bindgen_func_elem_10382(arg0, arg1, arg2, arg3) {
1247
- wasm.__wasm_bindgen_func_elem_10382(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1340
+ function __wasm_bindgen_func_elem_9990(arg0, arg1, arg2, arg3) {
1341
+ wasm.__wasm_bindgen_func_elem_9990(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1248
1342
  }
1249
1343
 
1250
1344
 
Binary file
@@ -1,9 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
+ export const forget_browser: (a: number, b: number, c: number, d: number) => number;
4
5
  export const __wbg_session_free: (a: number, b: number) => void;
5
6
  export const link_check: (a: number) => void;
6
7
  export const session_columns: (a: number) => number;
8
+ export const session_fake_account: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7
9
  export const session_focus: (a: number, b: number, c: number) => void;
8
10
  export const session_frame: (a: number, b: number) => void;
9
11
  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;
@@ -14,6 +16,8 @@ export const session_pointer: (a: number, b: number, c: number, d: number, e: nu
14
16
  export const session_resize: (a: number, b: number, c: number) => void;
15
17
  export const session_rows: (a: number) => number;
16
18
  export const session_start_demo_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
19
+ export const session_start_fake_account_plugins: (a: number, b: number, c: number, d: number) => void;
20
+ export const session_start_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
17
21
  export const session_take_clipboard: (a: number, b: number) => void;
18
22
  export const session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
19
23
  export const start: () => void;
@@ -23,12 +27,11 @@ export const devicelogin_intervalMs: (a: number) => number;
23
27
  export const devicelogin_poll: (a: number) => number;
24
28
  export const devicelogin_start: (a: number, b: number) => number;
25
29
  export const devicelogin_verificationUrl: (a: number, b: number) => void;
26
- export const forget_browser: (a: number, b: number, c: number, d: number) => number;
27
- export const __wasm_bindgen_func_elem_10380: (a: number, b: number, c: number, d: number) => void;
28
- export const __wasm_bindgen_func_elem_10382: (a: number, b: number, c: number, d: number) => void;
29
- export const __wasm_bindgen_func_elem_330: (a: number, b: number, c: number) => void;
30
- export const __wasm_bindgen_func_elem_330_2: (a: number, b: number, c: number) => void;
31
- export const __wasm_bindgen_func_elem_330_3: (a: number, b: number, c: number) => void;
30
+ export const __wasm_bindgen_func_elem_9988: (a: number, b: number, c: number, d: number) => void;
31
+ export const __wasm_bindgen_func_elem_9990: (a: number, b: number, c: number, d: number) => void;
32
+ export const __wasm_bindgen_func_elem_791: (a: number, b: number, c: number) => void;
33
+ export const __wasm_bindgen_func_elem_791_2: (a: number, b: number, c: number) => void;
34
+ export const __wasm_bindgen_func_elem_791_3: (a: number, b: number, c: number) => void;
32
35
  export const __wbindgen_export: (a: number, b: number) => number;
33
36
  export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
34
37
  export const __wbindgen_export3: (a: number) => void;
@@ -0,0 +1,11 @@
1
+ {
2
+ "apiVersion": 2,
3
+ "kind": "ui",
4
+ "id": "clock-cells",
5
+ "version": "0.1.0",
6
+ "module": "clock_cells.wasm",
7
+ "surfaces": [
8
+ { "id": "card", "anchor": "sidebar.card", "model": "cells", "height": 2 }
9
+ ],
10
+ "grants": {}
11
+ }