@standardagents/code-web 0.14.1-canary.cc5a19 → 0.14.1-canary.d309b7

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 CHANGED
@@ -14,8 +14,14 @@ 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 in the publication workflow on GitHub Actions and is not
18
- yet signed by the native artifact key; depend on it by exact version.
17
+ The runtime is built and signed on the build coordinator's own workers as
18
+ the build's `wasm32-unknown-unknown` target (see
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.
19
25
 
20
26
  ## Contents
21
27
 
@@ -26,6 +32,8 @@ dist/pkg/standard_web_bg.wasm the module
26
32
  dist/fonts/*.ttf JetBrains Mono Nerd Font (Mono): Regular, Bold, Italic, BoldItalic
27
33
  dist/licenses/*.txt font licenses (OFL 1.1; Nerd Fonts patch MIT)
28
34
  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
29
37
  ```
30
38
 
31
39
  Exports:
@@ -37,6 +45,7 @@ Exports:
37
45
  | `@standardagents/code-web/fonts/<file>.ttf` | `dist/fonts/<file>.ttf` |
38
46
  | `@standardagents/code-web/licenses/<file>.txt` | `dist/licenses/<file>.txt` |
39
47
  | `@standardagents/code-web/build.json` | `dist/build.json` |
48
+ | `@standardagents/code-web/manifest.json`, `.../manifest.sig` | `dist/manifest.json`, `dist/manifest.sig` |
40
49
 
41
50
  ## Using it from a Vite app
42
51
 
@@ -99,4 +108,10 @@ command otherwise. `node scripts/serve.mjs [host] [port]` serves `dist/` as
99
108
  the preview.
100
109
 
101
110
  The version in this package's `package.json` is a placeholder; the publisher
102
- sets the native build's version at publication time.
111
+ sets the native build's version at publication time. A local build is not a
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.
package/dist/build.json CHANGED
@@ -1 +1 @@
1
- {"schema":1,"commit":"cc5a19edd6c1ea054c782fe09a4d91792559d867","version":"0.14.1-canary.cc5a19"}
1
+ {"schema":1,"commit":"d309b7fee6dc2aa352d45d9d54577b678fcf23b9","version":"0.14.1-canary.d309b7"}
@@ -0,0 +1 @@
1
+ {"schema":4,"format":"standard-npm-web-target-v1","repository":"standardagents/code-rs","commit":"d309b7fee6dc2aa352d45d9d54577b678fcf23b9","version":"0.14.1-canary.d309b7","target":"wasm32-unknown-unknown","signing":{"algorithm":"ed25519","keyId":"team-2026-1","platformCodeSignature":"ed25519-only"},"files":[{"path":"build.json","size":98,"sha256":"a3060b221c4853ffe57ee59fa6a38db5e7664b7385752473b498643fa2372161"},{"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":6939,"sha256":"02c1eb35226b008e34ad82d78624e50b9fac8acd6007b98d433419c29d873576"},{"path":"pkg/standard_web.js","size":55968,"sha256":"c7f529a7d012eed43643be7b394b74b54e4f368e290974b0885f71f2254e2f79"},{"path":"pkg/standard_web_bg.wasm","size":6568237,"sha256":"1d5f574d602568bae3f1556b7f7dd2cbec04f92b38d53302cb01c7495ca891ac"},{"path":"pkg/standard_web_bg.wasm.d.ts","size":2678,"sha256":"7852bc4cdfce195b9b17ce794e44114706c5efd7b396c8181dbba76bf2d196ec"}]}
@@ -0,0 +1 @@
1
+ k24/tNZ/lnvCp4sI6ww3aNUGU1RcBrDTefBS/ZDemmoqwGwJJx04kTXuqZrt2KhHEZ41HlYQK+uEFReXWRNQAg==
@@ -98,13 +98,6 @@ 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;
108
101
  readonly __wbg_session_free: (a: number, b: number) => void;
109
102
  readonly link_check: (a: number) => void;
110
103
  readonly session_columns: (a: number) => number;
@@ -119,11 +112,18 @@ export interface InitOutput {
119
112
  readonly session_take_clipboard: (a: number, b: number) => void;
120
113
  readonly session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
121
114
  readonly start: () => 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;
115
+ readonly __wbg_devicelogin_free: (a: number, b: number) => void;
116
+ readonly devicelogin_code: (a: number, b: number) => void;
117
+ readonly devicelogin_intervalMs: (a: number) => number;
118
+ readonly devicelogin_poll: (a: number) => number;
119
+ readonly devicelogin_start: (a: number, b: number) => number;
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_9255: (a: number, b: number, c: number, d: number) => void;
123
+ readonly __wasm_bindgen_func_elem_9257: (a: number, b: number, c: number, d: number) => void;
124
+ readonly __wasm_bindgen_func_elem_1423: (a: number, b: number, c: number) => void;
125
+ readonly __wasm_bindgen_func_elem_1423_2: (a: number, b: number, c: number) => void;
126
+ readonly __wasm_bindgen_func_elem_1423_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;
@@ -682,7 +682,7 @@ function __wbg_get_imports() {
682
682
  const a = state0.a;
683
683
  state0.a = 0;
684
684
  try {
685
- return __wasm_bindgen_func_elem_9241(a, state0.b, arg0, arg1);
685
+ return __wasm_bindgen_func_elem_9257(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 __wasm_bindgen_func_elem_9241(a, state0.b, arg0, arg1);
723
+ return __wasm_bindgen_func_elem_9257(a, state0.b, arg0, arg1);
724
724
  } finally {
725
725
  state0.a = a;
726
726
  }
@@ -1003,23 +1003,23 @@ function __wbg_get_imports() {
1003
1003
  return ret;
1004
1004
  },
1005
1005
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
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, __wasm_bindgen_func_elem_9239);
1006
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1091, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1007
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_9255);
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: 152, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1012
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1321);
1011
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1012
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1423);
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: 152, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1017
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1321_2);
1016
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1017
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1423_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: 152, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1022
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1321_3);
1021
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 208, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1022
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_1423_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 __wasm_bindgen_func_elem_1321(arg0, arg1, arg2) {
1050
- wasm.__wasm_bindgen_func_elem_1321(arg0, arg1, addHeapObject(arg2));
1049
+ function __wasm_bindgen_func_elem_1423(arg0, arg1, arg2) {
1050
+ wasm.__wasm_bindgen_func_elem_1423(arg0, arg1, addHeapObject(arg2));
1051
1051
  }
1052
1052
 
1053
- function __wasm_bindgen_func_elem_1321_2(arg0, arg1, arg2) {
1054
- wasm.__wasm_bindgen_func_elem_1321_2(arg0, arg1, addHeapObject(arg2));
1053
+ function __wasm_bindgen_func_elem_1423_2(arg0, arg1, arg2) {
1054
+ wasm.__wasm_bindgen_func_elem_1423_2(arg0, arg1, addHeapObject(arg2));
1055
1055
  }
1056
1056
 
1057
- function __wasm_bindgen_func_elem_1321_3(arg0, arg1, arg2) {
1058
- wasm.__wasm_bindgen_func_elem_1321_3(arg0, arg1, addHeapObject(arg2));
1057
+ function __wasm_bindgen_func_elem_1423_3(arg0, arg1, arg2) {
1058
+ wasm.__wasm_bindgen_func_elem_1423_3(arg0, arg1, addHeapObject(arg2));
1059
1059
  }
1060
1060
 
1061
- function __wasm_bindgen_func_elem_9239(arg0, arg1, arg2) {
1061
+ function __wasm_bindgen_func_elem_9255(arg0, arg1, arg2) {
1062
1062
  try {
1063
1063
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1064
- wasm.__wasm_bindgen_func_elem_9239(retptr, arg0, arg1, addHeapObject(arg2));
1064
+ wasm.__wasm_bindgen_func_elem_9255(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_9239(arg0, arg1, arg2) {
1072
1072
  }
1073
1073
  }
1074
1074
 
1075
- function __wasm_bindgen_func_elem_9241(arg0, arg1, arg2, arg3) {
1076
- wasm.__wasm_bindgen_func_elem_9241(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1075
+ function __wasm_bindgen_func_elem_9257(arg0, arg1, arg2, arg3) {
1076
+ wasm.__wasm_bindgen_func_elem_9257(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1077
1077
  }
1078
1078
 
1079
1079
 
Binary file
@@ -1,13 +1,6 @@
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;
11
4
  export const __wbg_session_free: (a: number, b: number) => void;
12
5
  export const link_check: (a: number) => void;
13
6
  export const session_columns: (a: number) => number;
@@ -22,11 +15,18 @@ export const session_rows: (a: number) => number;
22
15
  export const session_take_clipboard: (a: number, b: number) => void;
23
16
  export const session_wheel: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
24
17
  export const start: () => 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;
18
+ export const __wbg_devicelogin_free: (a: number, b: number) => void;
19
+ export const devicelogin_code: (a: number, b: number) => void;
20
+ export const devicelogin_intervalMs: (a: number) => number;
21
+ export const devicelogin_poll: (a: number) => number;
22
+ export const devicelogin_start: (a: number, b: number) => number;
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_9255: (a: number, b: number, c: number, d: number) => void;
26
+ export const __wasm_bindgen_func_elem_9257: (a: number, b: number, c: number, d: number) => void;
27
+ export const __wasm_bindgen_func_elem_1423: (a: number, b: number, c: number) => void;
28
+ export const __wasm_bindgen_func_elem_1423_2: (a: number, b: number, c: number) => void;
29
+ export const __wasm_bindgen_func_elem_1423_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.cc5a19",
3
+ "version": "0.14.1-canary.d309b7",
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,6 +28,8 @@
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",
31
33
  "./package.json": "./package.json"
32
34
  },
33
35
  "files": [
@@ -35,6 +37,8 @@
35
37
  "dist/fonts",
36
38
  "dist/licenses",
37
39
  "dist/build.json",
40
+ "dist/manifest.json",
41
+ "dist/manifest.sig",
38
42
  "README.md"
39
43
  ],
40
44
  "scripts": {