@bendyline/gezel-inference 1.0.6 → 1.0.8
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/dist/cache/controller.d.ts +2 -0
- package/dist/cache/controller.js +38 -5
- package/dist/catalog/chat-models/index.json +1 -1
- package/dist/catalog/chat-models/lf/lfm3-1.7b-q4/manifest.json +114 -0
- package/dist/catalog/chat-models/lf/lfm3-1.7b-q4/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/chat-models/raw-index.json +1 -1
- package/dist/catalog/image-loras/index.json +1 -0
- package/dist/catalog/image-loras/kr/krea-2-ink-wash/manifest.json +31 -0
- package/dist/catalog/image-loras/kr/krea-2-ink-wash/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/kr/krea-2-isometric-3d/manifest.json +32 -0
- package/dist/catalog/image-loras/kr/krea-2-isometric-3d/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/kr/krea-2-kids-drawing/manifest.json +31 -0
- package/dist/catalog/image-loras/kr/krea-2-kids-drawing/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/kr/krea-2-pixel-art/manifest.json +31 -0
- package/dist/catalog/image-loras/kr/krea-2-pixel-art/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/kr/krea-2-soft-watercolor/manifest.json +31 -0
- package/dist/catalog/image-loras/kr/krea-2-soft-watercolor/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/kr/krea-2-turbo-4step/manifest.json +31 -0
- package/dist/catalog/image-loras/kr/krea-2-turbo-4step/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/mo/moss-image-gouache/manifest.json +29 -0
- package/dist/catalog/image-loras/mo/moss-image-gouache/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/mo/moss-image-sft-4step/manifest.json +30 -0
- package/dist/catalog/image-loras/mo/moss-image-sft-4step/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/qw/qwen-image-edit-2511-lightning/manifest.json +31 -0
- package/dist/catalog/image-loras/qw/qwen-image-edit-2511-lightning/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/raw-index.json +1 -0
- package/dist/catalog/image-loras/sd/sdxl-3d-render/manifest.json +29 -0
- package/dist/catalog/image-loras/sd/sdxl-3d-render/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/sd/sdxl-coloring-book/manifest.json +30 -0
- package/dist/catalog/image-loras/sd/sdxl-coloring-book/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/sd/sdxl-papercut/manifest.json +29 -0
- package/dist/catalog/image-loras/sd/sdxl-papercut/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-loras/sd/sdxl-pixel-art/manifest.json +29 -0
- package/dist/catalog/image-loras/sd/sdxl-pixel-art/versions/1.0.0/manifest.json +15 -0
- package/dist/catalog/image-models/fl/flux-2-klein-4b-q4/manifest.json +3 -0
- package/dist/catalog/image-models/index.json +1 -1
- package/dist/catalog/image-models/qw/qwen-image-edit-2511-q4/manifest.json +44 -0
- package/dist/catalog/image-models/qw/qwen-image-edit-2511-q4/versions/1.0.0/manifest.json +36 -0
- package/dist/catalog/image-models/raw-index.json +1 -1
- package/dist/catalog/knowledge-catalogs/index.json +1 -1
- package/dist/catalog/knowledge-catalogs/raw-index.json +1 -1
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-arts/versions/2026.10.2/manifest.json +181 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-astronomy/versions/2026.10.2/manifest.json +181 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-biology/versions/2026.10.2/manifest.json +217 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-business/versions/2026.10.2/manifest.json +197 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-film-tv/versions/2026.10.2/manifest.json +197 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-food-drink/versions/2026.10.2/manifest.json +185 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-games/versions/2026.10.2/manifest.json +181 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-general/manifest.json +55 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-general/versions/2026.10.2/manifest.json +165 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-geography/versions/2026.10.2/manifest.json +217 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-history/versions/2026.10.2/manifest.json +217 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-language/versions/2026.10.2/manifest.json +181 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-law/versions/2026.10.2/manifest.json +185 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-literature/versions/2026.10.2/manifest.json +193 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-mathematics/versions/2026.10.2/manifest.json +189 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-medicine/versions/2026.10.2/manifest.json +185 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-military/versions/2026.10.2/manifest.json +189 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-music/versions/2026.10.2/manifest.json +197 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-arts/versions/2026.10.2/manifest.json +209 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-business/versions/2026.10.2/manifest.json +189 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-entertainment/versions/2026.10.2/manifest.json +201 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-military/versions/2026.10.2/manifest.json +185 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-other/versions/2026.10.2/manifest.json +165 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-politics/versions/2026.10.2/manifest.json +197 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-religion/versions/2026.10.2/manifest.json +201 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-science/versions/2026.10.2/manifest.json +205 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-people-sports/versions/2026.10.2/manifest.json +237 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-politics/versions/2026.10.2/manifest.json +197 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-religion-philosophy/versions/2026.10.2/manifest.json +189 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-science/versions/2026.10.2/manifest.json +185 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-sports/versions/2026.10.2/manifest.json +193 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-technology/versions/2026.10.2/manifest.json +185 -0
- package/dist/catalog/knowledge-catalogs/wi/wikipedia-transportation/versions/2026.10.2/manifest.json +189 -0
- package/dist/catalog/provenance.json +2 -1
- package/dist/engine-components.js +2 -2
- package/dist/engines/electron-native-reuse.d.ts +7 -1
- package/dist/engines/electron-native-reuse.js +12 -4
- package/dist/engines/native-file-manifest.json +546 -406
- package/dist/engines/native-manifest.d.ts +4 -4
- package/dist/engines/native-manifest.js +36 -36
- package/dist/engines/resolver.js +1 -0
- package/dist/http/auth-context.d.ts +12 -0
- package/dist/http/routes/image-ensure-routes.d.ts +4 -0
- package/dist/http/routes/image-ensure-routes.js +102 -0
- package/dist/http/routes/v1-image-styles.d.ts +5 -0
- package/dist/http/routes/v1-image-styles.js +91 -0
- package/dist/http/routes/v1-images.d.ts +3 -1
- package/dist/http/routes/v1-images.js +48 -99
- package/dist/inference-service.js +2 -1
- package/dist/knowledge/manager.d.ts +3 -27
- package/dist/knowledge/manager.js +8 -364
- package/dist/knowledge/unified-search.d.ts +61 -0
- package/dist/knowledge/unified-search.js +373 -0
- package/dist/knowledge/worker-host.js +2 -0
- package/dist/machine-engine/inspect-runtime.js +12 -3
- package/dist/memory/embed-core.js +3 -0
- package/dist/memory/embeddings.js +2 -0
- package/dist/models/image-fit.js +2 -2
- package/dist/models/weight-facts.d.ts +5 -0
- package/dist/models/weight-facts.js +5 -2
- package/dist/providers/ds4/build-provider.js +1 -1
- package/dist/providers/ds4/residency.js +3 -3
- package/dist/providers/image/img2img-support.d.ts +36 -1
- package/dist/providers/image/img2img-support.js +30 -1
- package/dist/providers/image/local-engine.d.ts +1 -0
- package/dist/providers/image/local-engine.js +8 -2
- package/dist/providers/image/local-factory.d.ts +10 -1
- package/dist/providers/image/local-factory.js +33 -6
- package/dist/providers/image/mock.d.ts +8 -1
- package/dist/providers/image/mock.js +46 -1
- package/dist/providers/image/pull-registry.d.ts +25 -3
- package/dist/providers/image/pull-registry.js +96 -34
- package/dist/providers/image/sd-cpp.d.ts +63 -4
- package/dist/providers/image/sd-cpp.js +368 -38
- package/dist/providers/image/types.d.ts +76 -4
- package/dist/providers/image/types.js +8 -0
- package/dist/providers/llama-cpp/build-provider.js +3 -2
- package/dist/providers/llama-cpp/cache-adapter.d.ts +3 -0
- package/dist/providers/llama-cpp/cache-adapter.js +18 -4
- package/dist/providers/llama-cpp/devices.js +2 -2
- package/dist/providers/llama-cpp/engine-flags.d.ts +5 -0
- package/dist/providers/llama-cpp/engine-flags.js +5 -2
- package/dist/providers/mlx/async-file-handoff.d.ts +9 -1
- package/dist/providers/mlx/async-file-handoff.js +32 -4
- package/dist/providers/mlx/provider.js +41 -20
- package/dist/providers/mlx/python/gezel_mlx_server.py +9 -2
- package/dist/providers/mlx/python/spec_decode.py +44 -5
- package/dist/providers/mlx/runtime-diagnostics.d.ts +6 -0
- package/dist/providers/mlx/runtime-diagnostics.js +18 -1
- package/dist/providers/mlx/tool-call-protocol.d.ts +4 -3
- package/dist/providers/mlx/tool-call-protocol.js +4 -3
- package/dist/providers/native/capacity-broker.d.ts +1 -1
- package/dist/providers/native/capacity-broker.js +8 -8
- package/dist/providers/native/capacity-budget.js +5 -4
- package/dist/providers/native/device-capacity-ledger.d.ts +5 -1
- package/dist/providers/native/device-capacity-ledger.js +60 -14
- package/dist/providers/native/device-capacity.js +4 -3
- package/dist/providers/native/local-engine-runtime.js +4 -4
- package/dist/providers/native/process-identity.d.ts +40 -0
- package/dist/providers/native/process-identity.js +156 -0
- package/dist/relevance/relevance-core.js +2 -0
- package/dist/relevance/relevance-model.js +2 -0
- package/dist/relevance/settings.js +2 -2
- package/dist/runtime-lock.d.ts +19 -5
- package/dist/runtime-lock.js +116 -26
- package/dist/system/host-memory.d.ts +46 -0
- package/dist/system/host-memory.js +89 -0
- package/dist/system/memory.js +5 -4
- package/dist/transformers-cache.js +2 -0
- package/dist/utils/download-common.d.ts +1 -1
- package/package.json +8 -8
package/dist/catalog/knowledge-catalogs/wi/wikipedia-technology/versions/2026.10.2/manifest.json
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "2026.10.2",
|
|
4
|
+
"releasedAt": "2026-10-30T11:12:41.000Z",
|
|
5
|
+
"minGezelVersion": "1.26279.87",
|
|
6
|
+
"formatVersion": "0.7",
|
|
7
|
+
"huggingface": {
|
|
8
|
+
"repo": "Bendyline/wikipedia-knowledge",
|
|
9
|
+
"revision": "f985796534cc50022e254a89d57a810997103e1f",
|
|
10
|
+
"path": "wikipedia-technology/releases/2026.10.2/wikipedia-technology-2026.10.2.gezk"
|
|
11
|
+
},
|
|
12
|
+
"sha256": "6d2f46502bc20a8085195bcd7f7517291cb3b23ebe02e7b5fcf4d73b7a73e2c3",
|
|
13
|
+
"archiveBytes": 980926885,
|
|
14
|
+
"uncompressedBytes": 980925875,
|
|
15
|
+
"documents": 72776,
|
|
16
|
+
"chunks": 405735,
|
|
17
|
+
"embeddingProfile": {
|
|
18
|
+
"id": "multilingual-e5-small@2",
|
|
19
|
+
"modelRepo": "Xenova/multilingual-e5-small"
|
|
20
|
+
},
|
|
21
|
+
"topics": [
|
|
22
|
+
{
|
|
23
|
+
"id": "technology",
|
|
24
|
+
"name": "Technology"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "technology-publications",
|
|
28
|
+
"name": "Newspapers, Magazines & Journals"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "technology-software",
|
|
32
|
+
"name": "Software"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "technology-internet",
|
|
36
|
+
"name": "Internet & Networking"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "technology-hardware",
|
|
40
|
+
"name": "Computers & Devices"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "technology-standards",
|
|
44
|
+
"name": "Programming, Formats & Standards"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "technology-algorithms",
|
|
48
|
+
"name": "Algorithms"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "technology-biological-databases",
|
|
52
|
+
"name": "Biological databases"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "technology-business",
|
|
56
|
+
"name": "Business"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "technology-cameras",
|
|
60
|
+
"name": "Cameras"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "technology-companies",
|
|
64
|
+
"name": "Companies"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "technology-computer-hardware",
|
|
68
|
+
"name": "Computer hardware"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "technology-computer-introductions",
|
|
72
|
+
"name": "Computer introductions"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "technology-computing",
|
|
76
|
+
"name": "Computing"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "technology-concurrent-computing",
|
|
80
|
+
"name": "Concurrent computing"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "technology-countries",
|
|
84
|
+
"name": "Countries"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "technology-cryptography",
|
|
88
|
+
"name": "Cryptography"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "technology-data-structures",
|
|
92
|
+
"name": "Data structures"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "technology-databases",
|
|
96
|
+
"name": "Databases"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "technology-engineering-disciplines",
|
|
100
|
+
"name": "Engineering disciplines"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "technology-equipment",
|
|
104
|
+
"name": "Equipment"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "technology-formats",
|
|
108
|
+
"name": "Formats"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "technology-goods",
|
|
112
|
+
"name": "Goods"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "technology-human-communication",
|
|
116
|
+
"name": "Human communication"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "technology-information-science",
|
|
120
|
+
"name": "Information science"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "technology-music-technology",
|
|
124
|
+
"name": "Music technology"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "technology-network-protocols",
|
|
128
|
+
"name": "Network protocols"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "technology-operating-systems",
|
|
132
|
+
"name": "Operating systems"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "technology-photographic-lenses",
|
|
136
|
+
"name": "Photographic lenses"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "technology-physical-sciences",
|
|
140
|
+
"name": "Physical sciences"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "technology-semiconductors",
|
|
144
|
+
"name": "Semiconductors"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "technology-social-issues",
|
|
148
|
+
"name": "Social issues"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "technology-software-engineering",
|
|
152
|
+
"name": "Software engineering"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "technology-subfields-of-computer-science",
|
|
156
|
+
"name": "Subfields of computer science"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "technology-telephone-numbers",
|
|
160
|
+
"name": "Telephone numbers"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "technology-unicode",
|
|
164
|
+
"name": "Unicode"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"id": "technology-user-interfaces",
|
|
168
|
+
"name": "User interfaces"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "technology-world-wide-web",
|
|
172
|
+
"name": "World Wide Web"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"sourceSnapshot": {
|
|
176
|
+
"name": "enwiki",
|
|
177
|
+
"date": "2026-10-01",
|
|
178
|
+
"taxonomyVersion": "2026.10.5+a31cc5129f14b5c4+s2026.10.1+g31fd719cfa14dc15+t3"
|
|
179
|
+
},
|
|
180
|
+
"parquet": {
|
|
181
|
+
"repo": "Bendyline/wikipedia-knowledge",
|
|
182
|
+
"revision": "f985796534cc50022e254a89d57a810997103e1f",
|
|
183
|
+
"dir": "wikipedia-technology/parquet/2026.10.2"
|
|
184
|
+
}
|
|
185
|
+
}
|
package/dist/catalog/knowledge-catalogs/wi/wikipedia-transportation/versions/2026.10.2/manifest.json
ADDED
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"version": "2026.10.2",
|
|
4
|
+
"releasedAt": "2026-10-30T11:17:45.000Z",
|
|
5
|
+
"minGezelVersion": "1.26279.87",
|
|
6
|
+
"formatVersion": "0.7",
|
|
7
|
+
"huggingface": {
|
|
8
|
+
"repo": "Bendyline/wikipedia-knowledge",
|
|
9
|
+
"revision": "97b15a66957a86ac3063efc387ea8b646112d566",
|
|
10
|
+
"path": "wikipedia-transportation/releases/2026.10.2/wikipedia-transportation-2026.10.2.gezk"
|
|
11
|
+
},
|
|
12
|
+
"sha256": "5d7ce5ac639abbfbb2a86418b19c4882431ddaab7494f9fd0c83c4eadbbd544b",
|
|
13
|
+
"archiveBytes": 2423197441,
|
|
14
|
+
"uncompressedBytes": 2423196014,
|
|
15
|
+
"documents": 189147,
|
|
16
|
+
"chunks": 1025889,
|
|
17
|
+
"embeddingProfile": {
|
|
18
|
+
"id": "multilingual-e5-small@2",
|
|
19
|
+
"modelRepo": "Xenova/multilingual-e5-small"
|
|
20
|
+
},
|
|
21
|
+
"topics": [
|
|
22
|
+
{
|
|
23
|
+
"id": "transportation",
|
|
24
|
+
"name": "Transportation"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "transportation-rail",
|
|
28
|
+
"name": "Railways & Transit"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "transportation-roads",
|
|
32
|
+
"name": "Roads & Streets"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "transportation-bridges",
|
|
36
|
+
"name": "Bridges & Tunnels"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "transportation-aviation",
|
|
40
|
+
"name": "Aviation"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "transportation-maritime",
|
|
44
|
+
"name": "Ships & Ports"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "transportation-vehicles",
|
|
48
|
+
"name": "Automobiles & Vehicles"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "transportation-aircraft-configurations",
|
|
52
|
+
"name": "Aircraft configurations"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "transportation-automotive-industry",
|
|
56
|
+
"name": "Automotive industry"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "transportation-auxiliary-ships-of-the-united-states-navy",
|
|
60
|
+
"name": "Auxiliary ships of the United States Navy"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "transportation-aviation-903f6f",
|
|
64
|
+
"name": "Aviation"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "transportation-boat-types",
|
|
68
|
+
"name": "Boat types"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "transportation-buildings-and-structures-in-the-united-kingdom",
|
|
72
|
+
"name": "Buildings and structures in the United Kingdom"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "transportation-buildings-and-structures-in-the-united-states",
|
|
76
|
+
"name": "Buildings and structures in the United States"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "transportation-council-areas-of-scotland",
|
|
80
|
+
"name": "Council areas of Scotland"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "transportation-counties-of-england",
|
|
84
|
+
"name": "Counties of England"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "transportation-cycling",
|
|
88
|
+
"name": "Cycling"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "transportation-engines",
|
|
92
|
+
"name": "Engines"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "transportation-geography",
|
|
96
|
+
"name": "Geography"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "transportation-hiking-trails",
|
|
100
|
+
"name": "Hiking trails"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "transportation-history-of-transport",
|
|
104
|
+
"name": "History of transport"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "transportation-land-transport",
|
|
108
|
+
"name": "Land transport"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "transportation-passenger-rail-transport",
|
|
112
|
+
"name": "Passenger rail transport"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "transportation-physical-systems",
|
|
116
|
+
"name": "Physical systems"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"id": "transportation-public-transport",
|
|
120
|
+
"name": "Public transport"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "transportation-rail-infrastructure",
|
|
124
|
+
"name": "Rail infrastructure"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"id": "transportation-roads-02e78d",
|
|
128
|
+
"name": "Roads"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "transportation-rolling-stock",
|
|
132
|
+
"name": "Rolling stock"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"id": "transportation-service-industries",
|
|
136
|
+
"name": "Service industries"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "transportation-ships",
|
|
140
|
+
"name": "Ships"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"id": "transportation-ships-of-the-royal-navy",
|
|
144
|
+
"name": "Ships of the Royal Navy"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "transportation-sports",
|
|
148
|
+
"name": "Sports"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "transportation-technology",
|
|
152
|
+
"name": "Technology"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "transportation-tourist-attractions-in-the-united-states",
|
|
156
|
+
"name": "Tourist attractions in the United States"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"id": "transportation-transport-buildings-and-structures",
|
|
160
|
+
"name": "Transport buildings and structures"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "transportation-transport-in-europe",
|
|
164
|
+
"name": "Transport in Europe"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"id": "transportation-transport-in-india",
|
|
168
|
+
"name": "Transport in India"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "transportation-transport-infrastructure",
|
|
172
|
+
"name": "Transport infrastructure"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"id": "transportation-warship-classes",
|
|
176
|
+
"name": "Warship classes"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"sourceSnapshot": {
|
|
180
|
+
"name": "enwiki",
|
|
181
|
+
"date": "2026-10-01",
|
|
182
|
+
"taxonomyVersion": "2026.10.5+a31cc5129f14b5c4+s2026.10.1+g31fd719cfa14dc15+t3"
|
|
183
|
+
},
|
|
184
|
+
"parquet": {
|
|
185
|
+
"repo": "Bendyline/wikipedia-knowledge",
|
|
186
|
+
"revision": "97b15a66957a86ac3063efc387ea8b646112d566",
|
|
187
|
+
"dir": "wikipedia-transportation/parquet/2026.10.2"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -87,8 +87,8 @@ export async function createEngineComponents(opts) {
|
|
|
87
87
|
// controller via `setBudget`. (Wired in the config route as part of
|
|
88
88
|
// the operator-controls UI work below.)
|
|
89
89
|
{
|
|
90
|
-
const {
|
|
91
|
-
const ramAware = defaultCacheBudgetMb(
|
|
90
|
+
const { totalMemoryBytes } = await import('./system/host-memory.js');
|
|
91
|
+
const ramAware = defaultCacheBudgetMb(totalMemoryBytes());
|
|
92
92
|
const mlxBudgetMb = bootConfig.cacheBudgetMb?.mlx ?? ramAware;
|
|
93
93
|
const llamaCppBudgetMb = bootConfig.cacheBudgetMb?.['llama-cpp'] ?? ramAware;
|
|
94
94
|
// setBudget is a no-op for providers without registered adapters
|
|
@@ -10,8 +10,14 @@ interface NativePlatformPin {
|
|
|
10
10
|
files: Record<string, NativeFilePin>;
|
|
11
11
|
symlinks: Record<string, string>;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Schema 3 also pins runtime source files (ds4's `metal/*.metal`), which an
|
|
15
|
+
* engine compiles at startup and no code signature covers. Schema 2, from
|
|
16
|
+
* native releases up to 0.1.55, is verified without them, as it was generated.
|
|
17
|
+
* Same rule as scripts/native-file-manifest-lib.mjs.
|
|
18
|
+
*/
|
|
13
19
|
interface NativeFileManifest {
|
|
14
|
-
schemaVersion: 2;
|
|
20
|
+
schemaVersion: 2 | 3;
|
|
15
21
|
release: string;
|
|
16
22
|
platforms: Record<string, NativePlatformPin>;
|
|
17
23
|
}
|
|
@@ -6,6 +6,7 @@ import { fileFingerprint, resolvePlatformKey, sameFileFingerprint, } from '@bend
|
|
|
6
6
|
import pinnedManifestJson from './native-file-manifest.json' with { type: 'json' };
|
|
7
7
|
import { effectiveEngineRelease } from './native-manifest.js';
|
|
8
8
|
import { BENDYLINE_APPLE_TEAM_ID, BENDYLINE_PUBLISHER, verifyCodeSignature } from './signature.js';
|
|
9
|
+
const NATIVE_RUNTIME_SOURCE_EXTENSIONS = ['.metal'];
|
|
9
10
|
const pinnedManifest = pinnedManifestJson;
|
|
10
11
|
/**
|
|
11
12
|
* Adopt Electron's extracted native payload, or an explicitly allowed
|
|
@@ -35,7 +36,8 @@ export async function verifyNativeBinaries(opts) {
|
|
|
35
36
|
const arch = opts.arch ?? process.arch;
|
|
36
37
|
const release = opts.release ?? effectiveEngineRelease();
|
|
37
38
|
const manifest = opts.manifest ?? pinnedManifest;
|
|
38
|
-
if (manifest.schemaVersion !== 2
|
|
39
|
+
if ((manifest.schemaVersion !== 2 && manifest.schemaVersion !== 3) ||
|
|
40
|
+
manifest.release !== release) {
|
|
39
41
|
return {
|
|
40
42
|
reused: false,
|
|
41
43
|
reason: `no per-file native pins for release ${release}`,
|
|
@@ -64,6 +66,7 @@ export async function verifyNativeBinaries(opts) {
|
|
|
64
66
|
root: candidate,
|
|
65
67
|
platform,
|
|
66
68
|
entries: platformEntries,
|
|
69
|
+
pinRuntimeSources: manifest.schemaVersion >= 3,
|
|
67
70
|
verifySignature: opts.verifySignature ?? verifyCodeSignature,
|
|
68
71
|
allowStandaloneMacPayload: opts.allowStandaloneMacPayload === true,
|
|
69
72
|
cache,
|
|
@@ -151,7 +154,7 @@ async function verifyCandidate(opts) {
|
|
|
151
154
|
if (!isRecord(platformPin.files) || !isRecord(platformPin.symlinks)) {
|
|
152
155
|
throw new Error(`invalid native manifest entry: ${platformKey}`);
|
|
153
156
|
}
|
|
154
|
-
const actual = await listNativeEntries(platformDir, opts.platform);
|
|
157
|
+
const actual = await listNativeEntries(platformDir, opts.platform, opts.pinRuntimeSources);
|
|
155
158
|
assertSamePaths(`${platformKey} executable/loadable file`, Object.keys(platformPin.files), actual.files);
|
|
156
159
|
assertSamePaths(`${platformKey} symlink`, Object.keys(platformPin.symlinks), [
|
|
157
160
|
...actual.symlinks.keys(),
|
|
@@ -233,7 +236,7 @@ async function verifyCandidate(opts) {
|
|
|
233
236
|
}
|
|
234
237
|
}
|
|
235
238
|
}
|
|
236
|
-
async function listNativeEntries(root, platform) {
|
|
239
|
+
async function listNativeEntries(root, platform, pinRuntimeSources) {
|
|
237
240
|
const files = [];
|
|
238
241
|
const symlinks = new Map();
|
|
239
242
|
const visit = async (dir) => {
|
|
@@ -255,7 +258,8 @@ async function listNativeEntries(root, platform) {
|
|
|
255
258
|
}
|
|
256
259
|
else if (entry.isFile()) {
|
|
257
260
|
const info = await lstat(absolute);
|
|
258
|
-
if (isLoadableNativeFile(platform, entry.name, info.mode)
|
|
261
|
+
if (isLoadableNativeFile(platform, entry.name, info.mode) ||
|
|
262
|
+
(pinRuntimeSources && isNativeRuntimeSource(entry.name))) {
|
|
259
263
|
files.push(path);
|
|
260
264
|
}
|
|
261
265
|
}
|
|
@@ -308,6 +312,10 @@ function isLoadableNativeFile(platform, name, mode) {
|
|
|
308
312
|
return lower.endsWith('.dylib') || (mode & 0o111) !== 0;
|
|
309
313
|
return lower.includes('.so') || (mode & 0o111) !== 0;
|
|
310
314
|
}
|
|
315
|
+
function isNativeRuntimeSource(name) {
|
|
316
|
+
const lower = name.toLowerCase();
|
|
317
|
+
return NATIVE_RUNTIME_SOURCE_EXTENSIONS.some((extension) => lower.endsWith(extension));
|
|
318
|
+
}
|
|
311
319
|
function isSafeRelativePath(path) {
|
|
312
320
|
return (path.length > 0 &&
|
|
313
321
|
!path.startsWith('/') &&
|