@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
package/README.md CHANGED
@@ -31,8 +31,6 @@ dist/pkg/standard_web.d.ts its types
31
31
  dist/pkg/standard_web_bg.wasm the module
32
32
  dist/fonts/*.ttf JetBrains Mono Nerd Font (Mono): Regular, Bold, Italic, BoldItalic
33
33
  dist/licenses/*.txt font licenses (OFL 1.1; Nerd Fonts patch MIT)
34
- dist/plugins/ the plugin Worker (worker.js, runtime.js), samples.json, and the
35
- sample plugins' components and jco-transpiled browser artifacts
36
34
  dist/build.json {schema, commit, version} of the native build
37
35
  dist/manifest.json signed schema-4 `standard-npm-web-target-v1` manifest: every file above with size and sha256
38
36
  dist/manifest.sig its Ed25519 signature
@@ -94,13 +92,7 @@ connect-src 'self' wss://relay.standardcode.ai; worker-src 'self';
94
92
  object-src 'none'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'
95
93
  ```
96
94
 
97
- plus `Cross-Origin-Opener-Policy: same-origin` and, so plugin surfaces
98
- share their buffers, `Cross-Origin-Embedder-Policy: require-corp` (the
99
- runtime falls back to transferring buffers when the page is not
100
- cross-origin isolated). The plugin Worker scripts under `plugins/` need
101
- `script-src 'self' 'wasm-unsafe-eval'; connect-src 'self'` and, for an
102
- isolated page, COEP `require-corp` on their own responses. See
103
- `docs/plugin-runtime.md`, "The browser runtime". `Session` takes the URL it
95
+ plus `Cross-Origin-Opener-Policy: same-origin`. `Session` takes the URL it
104
96
  reads the relay issuer keys from; the preview passes `/relay-keys` on its own
105
97
  origin and `scripts/serve.mjs` proxies it, so a site proxies that endpoint the
106
98
  same way.
package/dist/build.json CHANGED
@@ -1 +1 @@
1
- {"schema":1,"commit":"60c0d98d82fa4f0d3693e82a4145fdfd0b98fb67","version":"0.14.8-branch.9e48e914.60c0d9"}
1
+ {"schema":1,"commit":"dccbcc0a9abda6a8a3ed97caddf42bedfd01cfee","version":"0.14.9-canary.dccbcc"}
@@ -1 +1 @@
1
- {"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"60c0d98d82fa4f0d3693e82a4145fdfd0b98fb67","version":"0.14.8-branch.9e48e914.60c0d9","target":"wasm32-unknown-unknown","backendProfile":{"schema":1,"id":"plugin-runtime-v2-preview","label":"Plugin runtime v2 preview","apiOrigin":"https://feat-plugin-runtime-v2.standardcode.standardagentbuilder.com","relayEnvironment":"production"},"signing":{"algorithm":"ed25519","keyId":"team-2026-1","platformCodeSignature":"ed25519-only"},"files":[{"path":"build.json","size":107,"sha256":"5c754954f8abc15fbc4fe4848e83e43a07fb94b1ed334595a23ec6cead892a03"},{"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":9053,"sha256":"26251fbefe5a58d886c5bf49c0ec2d4e9d8d9b25bf012523793683575a4bec26"},{"path":"pkg/standard_web.js","size":68683,"sha256":"a9d6a3a19bc963ae604c934fe9c6207d8c1bf20ae20e853bcd9d2ccb768f0f7d"},{"path":"pkg/standard_web_bg.wasm","size":7204897,"sha256":"9efdfaeb08c4c6e0b0bf1c86a2a58b6d452c978832604a3d0b1ebea79e5ddbb3"},{"path":"pkg/standard_web_bg.wasm.d.ts","size":3187,"sha256":"09cc89a1064e0d78574625f08427afea6f3d2fc11cea618f6c0ce190dff75af9"},{"path":"plugins/clock-cells/clock_cells.core.wasm","size":66047,"sha256":"df640416b7ff87c0bd7dc9982f29baa6fdf8c856e13f28484e13727cfd3823ac"},{"path":"plugins/clock-cells/clock_cells.wasm","size":69304,"sha256":"80d8a92f866f3bd906dfdde535e5b6489613ebffa4b04b0029d71182f2af28b9"},{"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":478587,"sha256":"24e6e96752a139da58b703f6b2ae7551ae011783ed6ca895cf343e1a355da8e9"},{"path":"plugins/host/ui.core2.wasm","size":993,"sha256":"f3b18532f5fa5f5e31522891929d243dd383df225120106933cce6b7b31960c0"},{"path":"plugins/host/ui.core3.wasm","size":703,"sha256":"7ec25df2026c03fdd7c51abe4522e357d5888c0b2ba4b45cf8bf502275da1c60"},{"path":"plugins/host/ui.js","size":473389,"sha256":"24c4ba57a14d27d8fda334210c4b5225f1b196ed43f8680442954f07080294ba"},{"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":"0cf0a23eceb1acc34db76b6e20f773229c52e0fc453b4324ea302347c899e6d0"},{"path":"plugins/plasma-pixels/plasma_pixels.wasm","size":40067,"sha256":"cc80f9e6fdeb7433cf3f1ab7787f7192082a2a86a38d8aa535f7d6c934c2819d"},{"path":"plugins/plasma-pixels/standard-plugin.json","size":216,"sha256":"5f1b94853aaa5fd6103d458e391452325e8fd537ad22bf5e1eb439106dc56de1"},{"path":"plugins/runtime.js","size":42091,"sha256":"616052d38a061335c612f6447b232370e2e9e58223da1256e1df606137808aec"},{"path":"plugins/samples.json","size":2116,"sha256":"9fa7ad653878176472b026881c39393cbd65ee949279b0388c01b651d4fffc17"},{"path":"plugins/worker.js","size":14777,"sha256":"305db7548c1c25ab606dabf8e0831cb6612ea7345d3f63399e2a9da6cbb4944c"}]}
1
+ {"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"dccbcc0a9abda6a8a3ed97caddf42bedfd01cfee","version":"0.14.9-canary.dccbcc","target":"wasm32-unknown-unknown","signing":{"algorithm":"ed25519","keyId":"team-2026-1","platformCodeSignature":"ed25519-only"},"files":[{"path":"build.json","size":98,"sha256":"7b3bc83b5f149532c1925db7f7c6a2039fd8f2ff09deb14003b2afc94db2b85f"},{"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":6936,"sha256":"0ab6ad2a7f1a723a3fb6dd9cc6f659cd53c8b8e543e94c4f0c214a1672150bf4"},{"path":"pkg/standard_web.js","size":55959,"sha256":"cb2821e609923c585c0d72ae2dc1aa75da969070a9926d36edc553abe2d51ef1"},{"path":"pkg/standard_web_bg.wasm","size":7070460,"sha256":"482434afac3705319851a191ecf7f90525e0c5f7d48cb4b2cb1c8ba5dc75b3c0"},{"path":"pkg/standard_web_bg.wasm.d.ts","size":2675,"sha256":"64485d55f2880dd1da8d4bcfac97a6e0b2487d4e60e23f626a2161df49072985"}]}
package/dist/manifest.sig CHANGED
@@ -1 +1 @@
1
- TtyKtBcVUln8dKAKzxxuHGn0n76Emp3LLJxFA0RAarlJJJeXLj/9Z/hdbr8w5gWWj9CrRoeJ/Qcz0+bXevXtAg==
1
+ 7RDPpiErxVF6BD1y2MLn9X1Cu4H/DEzg9ssExK3lzazqV0VEru/Ft4kKK+7GFaXyYysOcT3XTtfNnrySf9LiAg==
@@ -35,12 +35,6 @@ 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;
44
38
  focus(focused: boolean): void;
45
39
  /**
46
40
  * One animation frame. Returns `true` once the session has ended.
@@ -61,12 +55,6 @@ export class Session {
61
55
  */
62
56
  constructor(canvas: HTMLCanvasElement, family: string, font_px: number, api_origin?: string | null, token?: string | null, relay_keys_url?: string | null);
63
57
  paste(text: string): void;
64
- /**
65
- * The plugin counters since the last call, as JSON, for measurements:
66
- * per plugin its commits, dirty area and `frame()` calls and time, and
67
- * the viewer's sampling count and cost.
68
- */
69
- plugin_trace(): string | undefined;
70
58
  /**
71
59
  * `action` is 0 down, 1 up, 2 move; `x` and `y` are device pixels
72
60
  * relative to the canvas.
@@ -78,27 +66,6 @@ export class Session {
78
66
  */
79
67
  resize(font_px: number): void;
80
68
  rows(): number;
81
- /**
82
- * The demo's sample plugins (the site's call before account plugins).
83
- */
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;
102
69
  /**
103
70
  * Text copied since the last call. The page writes it to the system
104
71
  * clipboard from inside the event handler that produced it.
@@ -134,19 +101,14 @@ export interface InitOutput {
134
101
  readonly __wbg_session_free: (a: number, b: number) => void;
135
102
  readonly link_check: (a: number) => void;
136
103
  readonly session_columns: (a: number) => number;
137
- readonly session_fake_account: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
138
104
  readonly session_focus: (a: number, b: number, c: number) => void;
139
105
  readonly session_frame: (a: number, b: number) => void;
140
106
  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;
141
107
  readonly 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;
142
108
  readonly session_paste: (a: number, b: number, c: number, d: number) => void;
143
- readonly session_plugin_trace: (a: number, b: number) => void;
144
109
  readonly session_pointer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
145
110
  readonly session_resize: (a: number, b: number, c: number) => void;
146
111
  readonly session_rows: (a: number) => number;
147
- readonly session_start_demo_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
148
- readonly session_start_fake_account_plugins: (a: number, b: number, c: number, d: number) => void;
149
- readonly session_start_plugins: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
150
112
  readonly session_take_clipboard: (a: number, b: number) => void;
151
113
  readonly session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
152
114
  readonly start: () => void;
@@ -157,11 +119,11 @@ export interface InitOutput {
157
119
  readonly devicelogin_start: (a: number, b: number) => number;
158
120
  readonly devicelogin_verificationUrl: (a: number, b: number) => void;
159
121
  readonly forget_browser: (a: number, b: number, c: number, d: number) => number;
160
- readonly __wasm_bindgen_func_elem_10372: (a: number, b: number, c: number, d: number) => void;
161
- readonly __wasm_bindgen_func_elem_10374: (a: number, b: number, c: number, d: number) => void;
162
- readonly __wasm_bindgen_func_elem_569: (a: number, b: number, c: number) => void;
163
- readonly __wasm_bindgen_func_elem_569_2: (a: number, b: number, c: number) => void;
164
- readonly __wasm_bindgen_func_elem_569_3: (a: number, b: number, c: number) => void;
122
+ readonly __wasm_bindgen_func_elem_9875: (a: number, b: number, c: number, d: number) => void;
123
+ readonly __wasm_bindgen_func_elem_9877: (a: number, b: number, c: number, d: number) => void;
124
+ readonly __wasm_bindgen_func_elem_593: (a: number, b: number, c: number) => void;
125
+ readonly __wasm_bindgen_func_elem_593_2: (a: number, b: number, c: number) => void;
126
+ readonly __wasm_bindgen_func_elem_593_3: (a: number, b: number, c: number) => void;
165
127
  readonly __wbindgen_export: (a: number, b: number) => number;
166
128
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
167
129
  readonly __wbindgen_export3: (a: number) => void;