arcane-os 0.1.0-dev.5 → 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 +10 -0
- package/browser-runtime/ARCANE_SDK_BROWSER_RELEASE.json +162 -0
- package/browser-runtime/ai/ARCANE_AI_BROWSER_WASM_COMPONENTS.json +69 -0
- package/browser-runtime/ai/browser-wasm-llm-provider.mjs +1151 -0
- package/browser-runtime/ai/browser-wasm.mjs +44 -0
- package/browser-runtime/ai/browser-wllama-runtime.mjs +390 -0
- package/browser-runtime/ai/internal/sha256.mjs +166 -0
- package/browser-runtime/ai/model-controller.mjs +581 -0
- package/browser-runtime/ai/wllama/LICENCE +21 -0
- package/browser-runtime/ai/wllama/index.mjs +3494 -0
- package/browser-runtime/ai/wllama/llama.cpp-LICENSE +21 -0
- package/browser-runtime/ai/wllama/wllama.wasm +0 -0
- package/browser-runtime/dependencies/event-pubsub/index.js +141 -0
- package/browser-runtime/dependencies/event-pubsub/licence +21 -0
- package/browser-runtime/dependencies/event-pubsub/package.json +59 -0
- package/browser-runtime/dependencies/strong-type/index.js +1151 -0
- package/browser-runtime/dependencies/strong-type/licence +21 -0
- package/browser-runtime/dependencies/strong-type/package.json +61 -0
- package/browser-runtime/dom-event-instrumentation.mjs +594 -0
- package/browser-runtime/event-manager.mjs +1342 -0
- package/docs/publishing.md +65 -67
- package/docs/reference/README.md +2 -1
- package/docs/reference/cli.md +86 -3
- package/docs/reference/event-manager.md +20 -11
- package/docs/reference/inventory/package-api.json +1 -1
- package/docs/reference/protocols.md +112 -14
- package/docs/reference/sdk-api.md +40 -11
- package/docs/work-amplification.md +4 -3
- package/package.json +15 -8
- package/runtime/ARCANE_RUNTIME_RELEASE.json +1 -1
- package/schemas/arcane-lock.schema.json +97 -1
- package/src/cli/main.mjs +5 -0
- package/src/dev-server.mjs +78 -34
- package/src/doctor.mjs +77 -3
- package/src/import-map.mjs +2352 -0
- package/src/packager/core.mjs +607 -29
- package/src/scaffold.mjs +122 -5
- package/src/sdk-browser-runtime.mjs +702 -0
- package/src/targets/index.mjs +31 -4
- package/src/templates/workspace-template.mjs +141 -23
- package/src/toolchain.mjs +288 -55
- package/src/workspace-operation-lock.mjs +716 -0
- package/src/workspace-runtime.mjs +841 -0
- package/src/workspace.mjs +292 -37
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
|
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"builder": "arcane-sdk-browser-runtime-v1",
|
|
4
|
+
"sdkVersion": "0.1.1",
|
|
5
|
+
"source": {
|
|
6
|
+
"authority": "arcane-os-sdk",
|
|
7
|
+
"repository": "https://github.com/TheWizardNexus/arcane-os-sdk.git",
|
|
8
|
+
"protocol": "arcane-sdk-browser-runtime/1",
|
|
9
|
+
"browserEntry": "arcane-os/event-manager",
|
|
10
|
+
"dependencies": [
|
|
11
|
+
{
|
|
12
|
+
"name": "event-pubsub",
|
|
13
|
+
"version": "6.1.0",
|
|
14
|
+
"resolved": "https://registry.npmjs.org/event-pubsub/-/event-pubsub-6.1.0.tgz",
|
|
15
|
+
"integrity": "sha512-FEMlhTxwqGM0hztTixG6FhVFXqp7Eq1ltk5mSreK6Mhy3xWWpLAzEUR6OMvMdNqT3jgSxA8JDhnhyAG3X4Xy7Q=="
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "strong-type",
|
|
19
|
+
"version": "2.0.0",
|
|
20
|
+
"resolved": "https://registry.npmjs.org/strong-type/-/strong-type-2.0.0.tgz",
|
|
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=="
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"fileCount": 18,
|
|
32
|
+
"totalBytes": 9099015,
|
|
33
|
+
"contentSha256": "5e03f45a732db51cb5a2b2193cc79ecda34501d07a9b2e82e794e5fa37d55d00",
|
|
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
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"path": "dependencies/event-pubsub/index.js",
|
|
107
|
+
"sourcePath": "node_modules/event-pubsub/index.js",
|
|
108
|
+
"provenance": "vendor-package-identity",
|
|
109
|
+
"bytes": 4218,
|
|
110
|
+
"sha256": "8276be58df86db2906a1604684eae9f6357c322039778955c64135219689d41a"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"path": "dependencies/event-pubsub/licence",
|
|
114
|
+
"sourcePath": "node_modules/event-pubsub/licence",
|
|
115
|
+
"provenance": "vendor-package-identity",
|
|
116
|
+
"bytes": 1097,
|
|
117
|
+
"sha256": "82b891ff5bdc521884c20023b4f468dce605aff5b0d6dc642cd2ce2849b55125"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"path": "dependencies/event-pubsub/package.json",
|
|
121
|
+
"sourcePath": "node_modules/event-pubsub/package.json",
|
|
122
|
+
"provenance": "vendor-package-identity",
|
|
123
|
+
"bytes": 2520,
|
|
124
|
+
"sha256": "acf29f5baa5747fdca4654cb8c47934c09b802ddcb0e3ac926d8933861311330"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"path": "dependencies/strong-type/index.js",
|
|
128
|
+
"sourcePath": "node_modules/strong-type/index.js",
|
|
129
|
+
"provenance": "vendor-package-identity",
|
|
130
|
+
"bytes": 32575,
|
|
131
|
+
"sha256": "08cc23b47b9a40cdef66d11a09103fa0895f785b0c88d51939f5dc31ae29cb17"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"path": "dependencies/strong-type/licence",
|
|
135
|
+
"sourcePath": "node_modules/strong-type/licence",
|
|
136
|
+
"provenance": "vendor-package-identity",
|
|
137
|
+
"bytes": 1097,
|
|
138
|
+
"sha256": "82b891ff5bdc521884c20023b4f468dce605aff5b0d6dc642cd2ce2849b55125"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"path": "dependencies/strong-type/package.json",
|
|
142
|
+
"sourcePath": "node_modules/strong-type/package.json",
|
|
143
|
+
"provenance": "vendor-package-identity",
|
|
144
|
+
"bytes": 1711,
|
|
145
|
+
"sha256": "d19da24f15102902ed6c52f4798b549d528bb44a4ec17736bc8745910861df06"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"path": "dom-event-instrumentation.mjs",
|
|
149
|
+
"sourcePath": "src/dom-event-instrumentation.mjs",
|
|
150
|
+
"provenance": "sdk-source-identity",
|
|
151
|
+
"bytes": 22659,
|
|
152
|
+
"sha256": "6ddc62a53c462555a019176a6b0d4daa5c4733c5fe4d1217606536e5c8a9d908"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"path": "event-manager.mjs",
|
|
156
|
+
"sourcePath": "src/event-manager.mjs",
|
|
157
|
+
"provenance": "sdk-source-identity",
|
|
158
|
+
"bytes": 52508,
|
|
159
|
+
"sha256": "96eb36e87fe212e6926f1069cb5305af9fa067774234bb53b11dac7525d2b7f6"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
@@ -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
|
+
}
|