arcane-os 0.1.0 → 0.1.1

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/NOTICE CHANGED
@@ -15,9 +15,19 @@ Third-party material retains its own terms:
15
15
  `licence` file.
16
16
  - bundled strong-type 1.1.0: MIT License; see runtime/strong-type/licence.
17
17
  - uPlot: MIT License; see runtime/arcane/modules/uPlot.LICENSE.txt.
18
+ - @wllama/wllama 3.6.0 (source revision
19
+ f16050d8d51a00602c6a2a6b8ac9c09f490eea7f): MIT License; see
20
+ browser-runtime/ai/wllama/LICENCE.
21
+ - llama.cpp b10454 (source revision
22
+ 4df29be4f4c3673f428170fda944a5b19f743bb8), embedded in the authenticated
23
+ Wllama runtime: MIT License; see browser-runtime/ai/wllama/llama.cpp-LICENSE.
18
24
  - Marked: MIT License; complete notice and terms reproduced below.
19
25
  - QRCode.js: MIT License; complete notice and terms reproduced below.
20
26
 
27
+ No model weights are included in this package. Browser-WASM model downloads
28
+ require caller-supplied immutable authorities and exact byte-length and
29
+ SHA-256 verification before cache admission or inference.
30
+
21
31
  Marked
22
32
  ------
23
33
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "builder": "arcane-sdk-browser-runtime-v1",
4
- "sdkVersion": "0.1.0",
4
+ "sdkVersion": "0.1.1",
5
5
  "source": {
6
6
  "authority": "arcane-os-sdk",
7
7
  "repository": "https://github.com/TheWizardNexus/arcane-os-sdk.git",
@@ -19,13 +19,89 @@
19
19
  "version": "2.0.0",
20
20
  "resolved": "https://registry.npmjs.org/strong-type/-/strong-type-2.0.0.tgz",
21
21
  "integrity": "sha512-HHrY9qYC7yn+5mlewiI3k9RQM9gZqGQsqbomZcd10Ks0h4RlX01nnkWbCe4AsVPCI6KaFvpkWm1nHMD+Ykup6g=="
22
+ },
23
+ {
24
+ "name": "@wllama/wllama",
25
+ "version": "3.6.0",
26
+ "resolved": "https://registry.npmjs.org/@wllama/wllama/-/wllama-3.6.0.tgz",
27
+ "integrity": "sha512-NN3ZBXqaaUwGXTQubkNvsCaLPjN2XVa0bVS40OYCE8zquYmRc2W3oHYEgwvuSWWDB8aUqTLyMioySCXNkcnD1w=="
22
28
  }
23
29
  ]
24
30
  },
25
- "fileCount": 8,
26
- "totalBytes": 118385,
27
- "contentSha256": "0caa302bc07d4a45f5290504ec62ddce98fdf5e3412f916c10aae3d51b1e5f7c",
31
+ "fileCount": 18,
32
+ "totalBytes": 9099015,
33
+ "contentSha256": "5e03f45a732db51cb5a2b2193cc79ecda34501d07a9b2e82e794e5fa37d55d00",
28
34
  "files": [
35
+ {
36
+ "path": "ai/ARCANE_AI_BROWSER_WASM_COMPONENTS.json",
37
+ "sourcePath": "browser-runtime/ai/ARCANE_AI_BROWSER_WASM_COMPONENTS.json",
38
+ "provenance": "sdk-source-identity",
39
+ "bytes": 2554,
40
+ "sha256": "9f6e710f6b6aa8ea42f69823931b2b56a2eec9db242e3c95c6d6f6a6ce77a03b"
41
+ },
42
+ {
43
+ "path": "ai/browser-wasm-llm-provider.mjs",
44
+ "sourcePath": "browser-runtime/ai/browser-wasm-llm-provider.mjs",
45
+ "provenance": "sdk-source-identity",
46
+ "bytes": 37944,
47
+ "sha256": "c89042b541c64de8b6528ee3a7dce0e2b62be8b5c229875fd8a26a1efded26a2"
48
+ },
49
+ {
50
+ "path": "ai/browser-wasm.mjs",
51
+ "sourcePath": "browser-runtime/ai/browser-wasm.mjs",
52
+ "provenance": "sdk-source-identity",
53
+ "bytes": 1549,
54
+ "sha256": "b6536f6869a080e6cf167965da1dd8b473c172c6cbce1f5ee6a6142dd06c93f2"
55
+ },
56
+ {
57
+ "path": "ai/browser-wllama-runtime.mjs",
58
+ "sourcePath": "browser-runtime/ai/browser-wllama-runtime.mjs",
59
+ "provenance": "sdk-source-identity",
60
+ "bytes": 13559,
61
+ "sha256": "946f1814b7374baa6a6e33a4e4f9790c8f1504c65104e05cbe640005687d94f5"
62
+ },
63
+ {
64
+ "path": "ai/internal/sha256.mjs",
65
+ "sourcePath": "browser-runtime/ai/internal/sha256.mjs",
66
+ "provenance": "sdk-source-identity",
67
+ "bytes": 5332,
68
+ "sha256": "71763e3e38dc96ae3f5e39bee7dbeec16a147b7e464391ee0ffecf81b93e0e35"
69
+ },
70
+ {
71
+ "path": "ai/model-controller.mjs",
72
+ "sourcePath": "browser-runtime/ai/model-controller.mjs",
73
+ "provenance": "sdk-source-identity",
74
+ "bytes": 19159,
75
+ "sha256": "922a9653f48c19093f02d7307c9600c70a1742c3b7a315df3ab2023db8025905"
76
+ },
77
+ {
78
+ "path": "ai/wllama/LICENCE",
79
+ "sourcePath": "node_modules/@wllama/wllama/LICENCE",
80
+ "provenance": "vendor-package-identity",
81
+ "bytes": 1071,
82
+ "sha256": "5866e3bd7e3cbd3f7c8bea6efd8a1e7fa7cc8de68c30f428aff7c6584a0fb720"
83
+ },
84
+ {
85
+ "path": "ai/wllama/index.mjs",
86
+ "sourcePath": "node_modules/@wllama/wllama/esm/index.js",
87
+ "provenance": "vendor-package-identity",
88
+ "bytes": 373519,
89
+ "sha256": "4637e42d636010493a9b274fbbe70bfd8120365da726b1d9e589d85ca84a00d6"
90
+ },
91
+ {
92
+ "path": "ai/wllama/llama.cpp-LICENSE",
93
+ "sourcePath": "browser-runtime/ai/wllama/llama.cpp-LICENSE",
94
+ "provenance": "vendor-source-identity",
95
+ "bytes": 1078,
96
+ "sha256": "94f29bbed6a22c35b992c5c6ebf0e7c92f13b836b90f36f461c9cf2f0f1d010d"
97
+ },
98
+ {
99
+ "path": "ai/wllama/wllama.wasm",
100
+ "sourcePath": "node_modules/@wllama/wllama/esm/wasm/wllama.wasm",
101
+ "provenance": "vendor-package-identity",
102
+ "bytes": 8524865,
103
+ "sha256": "95c6ff9ef2a03ff2c63bc91db132f0126a0bd0456b272cd8ae2e0f592fb059f6"
104
+ },
29
105
  {
30
106
  "path": "dependencies/event-pubsub/index.js",
31
107
  "sourcePath": "node_modules/event-pubsub/index.js",
@@ -0,0 +1,69 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "kind": "arcane-ai-browser-wasm-components",
4
+ "protocol": "arcane-ai-browser-wasm/1",
5
+ "packageExport": "arcane-os/ai/browser-wasm",
6
+ "browserEntry": "ai/browser-wasm.mjs",
7
+ "runtimePolicy": {
8
+ "modelAuthorities": "caller-supplied-exact-bytes-and-sha256",
9
+ "modelWeightsPacked": false,
10
+ "remoteModelHelpers": false,
11
+ "compatibilityRuntime": false,
12
+ "toolCalls": "structural-only-never-executed"
13
+ },
14
+ "components": [
15
+ {
16
+ "name": "@wllama/wllama",
17
+ "version": "3.6.0",
18
+ "licenseSpdx": "MIT",
19
+ "sourceRepository": "https://github.com/ngxson/wllama.git",
20
+ "sourceRevision": "f16050d8d51a00602c6a2a6b8ac9c09f490eea7f",
21
+ "npm": {
22
+ "resolved": "https://registry.npmjs.org/@wllama/wllama/-/wllama-3.6.0.tgz",
23
+ "integrity": "sha512-NN3ZBXqaaUwGXTQubkNvsCaLPjN2XVa0bVS40OYCE8zquYmRc2W3oHYEgwvuSWWDB8aUqTLyMioySCXNkcnD1w==",
24
+ "tarballBytes": 5671369,
25
+ "tarballSha256": "137c35ceccb4911a9b0ce9b427889f75991654ec6a6d1dd8fabd879b14b07a1b"
26
+ },
27
+ "files": [
28
+ {
29
+ "role": "runtime-module",
30
+ "path": "ai/wllama/index.mjs",
31
+ "sourcePath": "node_modules/@wllama/wllama/esm/index.js",
32
+ "bytes": 373519,
33
+ "sha256": "4637e42d636010493a9b274fbbe70bfd8120365da726b1d9e589d85ca84a00d6"
34
+ },
35
+ {
36
+ "role": "runtime-wasm",
37
+ "path": "ai/wllama/wllama.wasm",
38
+ "sourcePath": "node_modules/@wllama/wllama/esm/wasm/wllama.wasm",
39
+ "bytes": 8524865,
40
+ "sha256": "95c6ff9ef2a03ff2c63bc91db132f0126a0bd0456b272cd8ae2e0f592fb059f6"
41
+ },
42
+ {
43
+ "role": "license",
44
+ "path": "ai/wllama/LICENCE",
45
+ "sourcePath": "node_modules/@wllama/wllama/LICENCE",
46
+ "bytes": 1071,
47
+ "sha256": "5866e3bd7e3cbd3f7c8bea6efd8a1e7fa7cc8de68c30f428aff7c6584a0fb720"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "name": "llama.cpp",
53
+ "version": "b10454",
54
+ "licenseSpdx": "MIT",
55
+ "sourceRepository": "https://github.com/ggerganov/llama.cpp.git",
56
+ "sourceRevision": "4df29be4f4c3673f428170fda944a5b19f743bb8",
57
+ "embeddedBy": "@wllama/wllama@3.6.0",
58
+ "files": [
59
+ {
60
+ "role": "license",
61
+ "path": "ai/wllama/llama.cpp-LICENSE",
62
+ "sourceUrl": "https://raw.githubusercontent.com/ggerganov/llama.cpp/4df29be4f4c3673f428170fda944a5b19f743bb8/LICENSE",
63
+ "bytes": 1078,
64
+ "sha256": "94f29bbed6a22c35b992c5c6ebf0e7c92f13b836b90f36f461c9cf2f0f1d010d"
65
+ }
66
+ ]
67
+ }
68
+ ]
69
+ }