@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.
- package/README.md +1 -9
- package/dist/build.json +1 -1
- package/dist/manifest.json +1 -1
- package/dist/manifest.sig +1 -1
- package/dist/pkg/standard_web.d.ts +5 -43
- package/dist/pkg/standard_web.js +20 -292
- package/dist/pkg/standard_web_bg.wasm +0 -0
- package/dist/pkg/standard_web_bg.wasm.d.ts +5 -10
- package/package.json +2 -8
- package/dist/licenses/jco-transpile.txt +0 -220
- package/dist/plugins/clock-cells/clock_cells.core.wasm +0 -0
- package/dist/plugins/clock-cells/clock_cells.wasm +0 -0
- package/dist/plugins/clock-cells/standard-plugin.json +0 -11
- package/dist/plugins/host/transpile.js +0 -51
- package/dist/plugins/host/ui-jspi.js +0 -14851
- package/dist/plugins/host/ui.core2.wasm +0 -0
- package/dist/plugins/host/ui.core3.wasm +0 -0
- package/dist/plugins/host/ui.js +0 -14675
- package/dist/plugins/host/world.js +0 -172
- package/dist/plugins/jco/cli.js +0 -141
- package/dist/plugins/jco/common.js +0 -16
- package/dist/plugins/jco/config.js +0 -7
- package/dist/plugins/jco/environment.js +0 -24
- package/dist/plugins/jco/filesystem.js +0 -339
- package/dist/plugins/jco/in-memory-filesystem.js +0 -620
- package/dist/plugins/jco/io.js +0 -366
- package/dist/plugins/jco/js-component-bindgen-component.core.wasm +0 -0
- package/dist/plugins/jco/js-component-bindgen-component.core2.wasm +0 -0
- package/dist/plugins/jco/js-component-bindgen-component.js +0 -14272
- package/dist/plugins/jco/opfs-filesystem.js +0 -245
- package/dist/plugins/jco/random.js +0 -51
- package/dist/plugins/plasma-pixels/plasma_pixels.core.wasm +0 -0
- package/dist/plugins/plasma-pixels/plasma_pixels.wasm +0 -0
- package/dist/plugins/plasma-pixels/standard-plugin.json +0 -11
- package/dist/plugins/runtime.js +0 -1044
- package/dist/plugins/samples.json +0 -81
- 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`
|
|
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":"
|
|
1
|
+
{"schema":1,"commit":"dccbcc0a9abda6a8a3ed97caddf42bedfd01cfee","version":"0.14.9-canary.dccbcc"}
|
package/dist/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"
|
|
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
|
-
|
|
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
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
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;
|