@standardagents/code-web 0.14.1-canary.c3fda1 → 0.14.1-canary.cc5a19
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 +3 -18
- package/dist/build.json +1 -1
- package/dist/pkg/standard_web.d.ts +12 -12
- package/dist/pkg/standard_web.js +19 -19
- package/dist/pkg/standard_web_bg.wasm +0 -0
- package/dist/pkg/standard_web_bg.wasm.d.ts +12 -12
- package/package.json +1 -5
- package/dist/manifest.json +0 -1
- package/dist/manifest.sig +0 -1
package/README.md
CHANGED
|
@@ -14,14 +14,8 @@ build and publishes under that build's version and dist-tag (`canary`,
|
|
|
14
14
|
`@standardagents/code-web@1.2.3-canary.abcdef` is the viewer for the fleet
|
|
15
15
|
running `@standardagents/code@1.2.3-canary.abcdef`; the wire protocol has no
|
|
16
16
|
negotiation, so a site pins the runtime that matches a fleet version exactly.
|
|
17
|
-
The runtime is built
|
|
18
|
-
the
|
|
19
|
-
`docs/owned-build-workers.md`), with the same Ed25519 key as the native
|
|
20
|
-
artifacts. The publication workflow only ingests that signed artifact,
|
|
21
|
-
verifies it, and publishes it; `dist/manifest.json` and `dist/manifest.sig`
|
|
22
|
-
are the exact signed bytes, so a consumer can verify `dist/` as an artifact
|
|
23
|
-
root (`verifyWebArtifact` in `packages/npm/lib/artifact.mjs`). Depend on it
|
|
24
|
-
by exact version.
|
|
17
|
+
The runtime is built in the publication workflow on GitHub Actions and is not
|
|
18
|
+
yet signed by the native artifact key; depend on it by exact version.
|
|
25
19
|
|
|
26
20
|
## Contents
|
|
27
21
|
|
|
@@ -32,8 +26,6 @@ dist/pkg/standard_web_bg.wasm the module
|
|
|
32
26
|
dist/fonts/*.ttf JetBrains Mono Nerd Font (Mono): Regular, Bold, Italic, BoldItalic
|
|
33
27
|
dist/licenses/*.txt font licenses (OFL 1.1; Nerd Fonts patch MIT)
|
|
34
28
|
dist/build.json {schema, commit, version} of the native build
|
|
35
|
-
dist/manifest.json signed schema-4 `standard-npm-web-target-v1` manifest: every file above with size and sha256
|
|
36
|
-
dist/manifest.sig its Ed25519 signature
|
|
37
29
|
```
|
|
38
30
|
|
|
39
31
|
Exports:
|
|
@@ -45,7 +37,6 @@ Exports:
|
|
|
45
37
|
| `@standardagents/code-web/fonts/<file>.ttf` | `dist/fonts/<file>.ttf` |
|
|
46
38
|
| `@standardagents/code-web/licenses/<file>.txt` | `dist/licenses/<file>.txt` |
|
|
47
39
|
| `@standardagents/code-web/build.json` | `dist/build.json` |
|
|
48
|
-
| `@standardagents/code-web/manifest.json`, `.../manifest.sig` | `dist/manifest.json`, `dist/manifest.sig` |
|
|
49
40
|
|
|
50
41
|
## Using it from a Vite app
|
|
51
42
|
|
|
@@ -108,10 +99,4 @@ command otherwise. `node scripts/serve.mjs [host] [port]` serves `dist/` as
|
|
|
108
99
|
the preview.
|
|
109
100
|
|
|
110
101
|
The version in this package's `package.json` is a placeholder; the publisher
|
|
111
|
-
sets the native build's version at publication time.
|
|
112
|
-
publishable artifact: the build worker's recipe
|
|
113
|
-
(`scripts/build-release-target.sh --target wasm32-unknown-unknown`) is what
|
|
114
|
-
runs this script with the build identity, stages `pkg/`, `fonts/`,
|
|
115
|
-
`licenses/`, and `build.json`, signs the manifest, and uploads the archive.
|
|
116
|
-
`STANDARD_WEB_CARGO_ARTIFACT_LOG`, when set, receives Cargo's JSON artifact
|
|
117
|
-
list so the worker's target-directory sweep keeps the units this build used.
|
|
102
|
+
sets the native build's version at publication time.
|
package/dist/build.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema":1,"commit":"
|
|
1
|
+
{"schema":1,"commit":"cc5a19edd6c1ea054c782fe09a4d91792559d867","version":"0.14.1-canary.cc5a19"}
|
|
@@ -98,6 +98,13 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
|
|
|
98
98
|
|
|
99
99
|
export interface InitOutput {
|
|
100
100
|
readonly memory: WebAssembly.Memory;
|
|
101
|
+
readonly __wbg_devicelogin_free: (a: number, b: number) => void;
|
|
102
|
+
readonly devicelogin_code: (a: number, b: number) => void;
|
|
103
|
+
readonly devicelogin_intervalMs: (a: number) => number;
|
|
104
|
+
readonly devicelogin_poll: (a: number) => number;
|
|
105
|
+
readonly devicelogin_start: (a: number, b: number) => number;
|
|
106
|
+
readonly devicelogin_verificationUrl: (a: number, b: number) => void;
|
|
107
|
+
readonly forget_browser: (a: number, b: number, c: number, d: number) => number;
|
|
101
108
|
readonly __wbg_session_free: (a: number, b: number) => void;
|
|
102
109
|
readonly link_check: (a: number) => void;
|
|
103
110
|
readonly session_columns: (a: number) => number;
|
|
@@ -112,18 +119,11 @@ export interface InitOutput {
|
|
|
112
119
|
readonly session_take_clipboard: (a: number, b: number) => void;
|
|
113
120
|
readonly session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
114
121
|
readonly start: () => void;
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly devicelogin_verificationUrl: (a: number, b: number) => void;
|
|
121
|
-
readonly forget_browser: (a: number, b: number, c: number, d: number) => number;
|
|
122
|
-
readonly __wasm_bindgen_func_elem_9425: (a: number, b: number, c: number, d: number) => void;
|
|
123
|
-
readonly __wasm_bindgen_func_elem_9427: (a: number, b: number, c: number, d: number) => void;
|
|
124
|
-
readonly __wasm_bindgen_func_elem_868: (a: number, b: number, c: number) => void;
|
|
125
|
-
readonly __wasm_bindgen_func_elem_868_2: (a: number, b: number, c: number) => void;
|
|
126
|
-
readonly __wasm_bindgen_func_elem_868_3: (a: number, b: number, c: number) => void;
|
|
122
|
+
readonly __wasm_bindgen_func_elem_9239: (a: number, b: number, c: number, d: number) => void;
|
|
123
|
+
readonly __wasm_bindgen_func_elem_9241: (a: number, b: number, c: number, d: number) => void;
|
|
124
|
+
readonly __wasm_bindgen_func_elem_1321: (a: number, b: number, c: number) => void;
|
|
125
|
+
readonly __wasm_bindgen_func_elem_1321_2: (a: number, b: number, c: number) => void;
|
|
126
|
+
readonly __wasm_bindgen_func_elem_1321_3: (a: number, b: number, c: number) => void;
|
|
127
127
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
128
128
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
129
129
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/pkg/standard_web.js
CHANGED
|
@@ -682,7 +682,7 @@ function __wbg_get_imports() {
|
|
|
682
682
|
const a = state0.a;
|
|
683
683
|
state0.a = 0;
|
|
684
684
|
try {
|
|
685
|
-
return
|
|
685
|
+
return __wasm_bindgen_func_elem_9241(a, state0.b, arg0, arg1);
|
|
686
686
|
} finally {
|
|
687
687
|
state0.a = a;
|
|
688
688
|
}
|
|
@@ -720,7 +720,7 @@ function __wbg_get_imports() {
|
|
|
720
720
|
const a = state0.a;
|
|
721
721
|
state0.a = 0;
|
|
722
722
|
try {
|
|
723
|
-
return
|
|
723
|
+
return __wasm_bindgen_func_elem_9241(a, state0.b, arg0, arg1);
|
|
724
724
|
} finally {
|
|
725
725
|
state0.a = a;
|
|
726
726
|
}
|
|
@@ -1004,22 +1004,22 @@ function __wbg_get_imports() {
|
|
|
1004
1004
|
},
|
|
1005
1005
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1006
1006
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1113, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1007
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1007
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9239);
|
|
1008
1008
|
return addHeapObject(ret);
|
|
1009
1009
|
},
|
|
1010
1010
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1011
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx:
|
|
1012
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1011
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 152, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1012
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1321);
|
|
1013
1013
|
return addHeapObject(ret);
|
|
1014
1014
|
},
|
|
1015
1015
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1016
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx:
|
|
1017
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1016
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 152, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1017
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1321_2);
|
|
1018
1018
|
return addHeapObject(ret);
|
|
1019
1019
|
},
|
|
1020
1020
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1021
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx:
|
|
1022
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1021
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 152, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1022
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1321_3);
|
|
1023
1023
|
return addHeapObject(ret);
|
|
1024
1024
|
},
|
|
1025
1025
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
@@ -1046,22 +1046,22 @@ function __wbg_get_imports() {
|
|
|
1046
1046
|
};
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
|
-
function
|
|
1050
|
-
wasm.
|
|
1049
|
+
function __wasm_bindgen_func_elem_1321(arg0, arg1, arg2) {
|
|
1050
|
+
wasm.__wasm_bindgen_func_elem_1321(arg0, arg1, addHeapObject(arg2));
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
|
-
function
|
|
1054
|
-
wasm.
|
|
1053
|
+
function __wasm_bindgen_func_elem_1321_2(arg0, arg1, arg2) {
|
|
1054
|
+
wasm.__wasm_bindgen_func_elem_1321_2(arg0, arg1, addHeapObject(arg2));
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
|
-
function
|
|
1058
|
-
wasm.
|
|
1057
|
+
function __wasm_bindgen_func_elem_1321_3(arg0, arg1, arg2) {
|
|
1058
|
+
wasm.__wasm_bindgen_func_elem_1321_3(arg0, arg1, addHeapObject(arg2));
|
|
1059
1059
|
}
|
|
1060
1060
|
|
|
1061
|
-
function
|
|
1061
|
+
function __wasm_bindgen_func_elem_9239(arg0, arg1, arg2) {
|
|
1062
1062
|
try {
|
|
1063
1063
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1064
|
-
wasm.
|
|
1064
|
+
wasm.__wasm_bindgen_func_elem_9239(retptr, arg0, arg1, addHeapObject(arg2));
|
|
1065
1065
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1066
1066
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1067
1067
|
if (r1) {
|
|
@@ -1072,8 +1072,8 @@ function __wasm_bindgen_func_elem_9425(arg0, arg1, arg2) {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
1074
1074
|
|
|
1075
|
-
function
|
|
1076
|
-
wasm.
|
|
1075
|
+
function __wasm_bindgen_func_elem_9241(arg0, arg1, arg2, arg3) {
|
|
1076
|
+
wasm.__wasm_bindgen_func_elem_9241(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
1077
1077
|
}
|
|
1078
1078
|
|
|
1079
1079
|
|
|
Binary file
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_devicelogin_free: (a: number, b: number) => void;
|
|
5
|
+
export const devicelogin_code: (a: number, b: number) => void;
|
|
6
|
+
export const devicelogin_intervalMs: (a: number) => number;
|
|
7
|
+
export const devicelogin_poll: (a: number) => number;
|
|
8
|
+
export const devicelogin_start: (a: number, b: number) => number;
|
|
9
|
+
export const devicelogin_verificationUrl: (a: number, b: number) => void;
|
|
10
|
+
export const forget_browser: (a: number, b: number, c: number, d: number) => number;
|
|
4
11
|
export const __wbg_session_free: (a: number, b: number) => void;
|
|
5
12
|
export const link_check: (a: number) => void;
|
|
6
13
|
export const session_columns: (a: number) => number;
|
|
@@ -15,18 +22,11 @@ export const session_rows: (a: number) => number;
|
|
|
15
22
|
export const session_take_clipboard: (a: number, b: number) => void;
|
|
16
23
|
export const session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
17
24
|
export const start: () => void;
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const devicelogin_verificationUrl: (a: number, b: number) => void;
|
|
24
|
-
export const forget_browser: (a: number, b: number, c: number, d: number) => number;
|
|
25
|
-
export const __wasm_bindgen_func_elem_9425: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
-
export const __wasm_bindgen_func_elem_9427: (a: number, b: number, c: number, d: number) => void;
|
|
27
|
-
export const __wasm_bindgen_func_elem_868: (a: number, b: number, c: number) => void;
|
|
28
|
-
export const __wasm_bindgen_func_elem_868_2: (a: number, b: number, c: number) => void;
|
|
29
|
-
export const __wasm_bindgen_func_elem_868_3: (a: number, b: number, c: number) => void;
|
|
25
|
+
export const __wasm_bindgen_func_elem_9239: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
+
export const __wasm_bindgen_func_elem_9241: (a: number, b: number, c: number, d: number) => void;
|
|
27
|
+
export const __wasm_bindgen_func_elem_1321: (a: number, b: number, c: number) => void;
|
|
28
|
+
export const __wasm_bindgen_func_elem_1321_2: (a: number, b: number, c: number) => void;
|
|
29
|
+
export const __wasm_bindgen_func_elem_1321_3: (a: number, b: number, c: number) => void;
|
|
30
30
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
31
31
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
32
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.1-canary.
|
|
3
|
+
"version": "0.14.1-canary.cc5a19",
|
|
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",
|
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
"./fonts/*": "./dist/fonts/*",
|
|
29
29
|
"./licenses/*": "./dist/licenses/*",
|
|
30
30
|
"./build.json": "./dist/build.json",
|
|
31
|
-
"./manifest.json": "./dist/manifest.json",
|
|
32
|
-
"./manifest.sig": "./dist/manifest.sig",
|
|
33
31
|
"./package.json": "./package.json"
|
|
34
32
|
},
|
|
35
33
|
"files": [
|
|
@@ -37,8 +35,6 @@
|
|
|
37
35
|
"dist/fonts",
|
|
38
36
|
"dist/licenses",
|
|
39
37
|
"dist/build.json",
|
|
40
|
-
"dist/manifest.json",
|
|
41
|
-
"dist/manifest.sig",
|
|
42
38
|
"README.md"
|
|
43
39
|
],
|
|
44
40
|
"scripts": {
|
package/dist/manifest.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"c3fda1ae266912a306b90635b03f8896e2940d94","version":"0.14.1-canary.c3fda1","target":"wasm32-unknown-unknown","signing":{"algorithm":"ed25519","keyId":"team-2026-1","platformCodeSignature":"ed25519-only"},"files":[{"path":"build.json","size":98,"sha256":"97624d190ba874a2681479c97c951989834ee8d336af34d0b2b61e7b3daaa7b2"},{"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":"20ff898c2cac505f66abce7877d441681091b6715bf066227cc0c99fd003def4"},{"path":"pkg/standard_web.js","size":55959,"sha256":"47b62ff59dd28bd26b55afc21b13292ef935ee3d08526d32d1574b36493b82bf"},{"path":"pkg/standard_web_bg.wasm","size":6713000,"sha256":"1b69e2a4d3bb9107bac2e36f436dd783fd77c3acbe0ce3aa83f1dd98967cde3c"},{"path":"pkg/standard_web_bg.wasm.d.ts","size":2675,"sha256":"e7ce4df411c5e4d2b81f46384f8df759cf1fa0de6c9bede297a38381e13b3134"}]}
|
package/dist/manifest.sig
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
uRqAiwK7BYfcdbXpqa4Mg/h71HD6QCR0uMnVoRF6LUBD8w4PkAlAF/0aa6L5S+H/BP4BAwNFHuGnDPbfPOiFAA==
|