@openfluke/welvet 0.3.0 → 0.74.0

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/package.json CHANGED
@@ -1,89 +1,58 @@
1
- {
2
- "name": "@openfluke/welvet",
3
- "version": "0.3.0",
4
- "description": "TypeScript/JavaScript bindings for LOOM neural network framework with WebAssembly support - GPU-accelerated machine learning in the browser",
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "module": "./dist/index.js",
8
- "types": "./dist/index.d.ts",
9
- "files": [
10
- "dist",
11
- "LICENSE",
12
- "README.md"
13
- ],
14
- "keywords": [
15
- "loom",
16
- "neural-network",
17
- "machine-learning",
18
- "deep-learning",
19
- "webassembly",
20
- "wasm",
21
- "webgpu",
22
- "gpu",
23
- "typescript",
24
- "javascript",
25
- "ml",
26
- "ai",
27
- "training",
28
- "inference",
29
- "browser",
30
- "nodejs",
31
- "isomorphic",
32
- "transformer",
33
- "lstm",
34
- "rnn",
35
- "gru",
36
- "attention",
37
- "multi-head-attention",
38
- "conv2d",
39
- "conv1d",
40
- "convolution",
41
- "embedding",
42
- "layer-norm",
43
- "rms-norm",
44
- "swiglu",
45
- "moe",
46
- "mixture-of-experts",
47
- "tweening",
48
- "gradient-free",
49
- "safetensors",
50
- "cross-platform",
51
- "clustering",
52
- "kmeans",
53
- "k-means",
54
- "correlation",
55
- "statistics",
56
- "streaming",
57
- "llm",
58
- "tokenizer",
59
- "bpe"
60
- ],
61
- "license": "Apache-2.0",
62
- "repository": {
63
- "type": "git",
64
- "url": "https://github.com/openfluke/loom.git",
65
- "directory": "typescript"
66
- },
67
- "bugs": {
68
- "url": "https://github.com/openfluke/loom/issues"
69
- },
70
- "homepage": "https://github.com/openfluke/loom/tree/main/typescript#readme",
71
- "engines": {
72
- "node": ">=18.0.0"
73
- },
74
- "publishConfig": {
75
- "access": "public"
76
- },
77
- "scripts": {
78
- "clean": "rm -rf dist",
79
- "build": "tsc -p tsconfig.json",
80
- "postbuild": "cp -r assets/* dist/",
81
- "prepare": "bun run build",
82
- "serve": "python3 serve.py",
83
- "dev": "bun run build && bun run serve"
84
- },
85
- "devDependencies": {
86
- "@types/node": "^22.7.5",
87
- "typescript": "^5.6.3"
88
- }
89
- }
1
+ {
2
+ "name": "@openfluke/welvet",
3
+ "version": "0.74.0",
4
+ "description": "M-POLY-VTD AI Engine (Loom v0.74.0) 21 Numerical Types, WebGPU, DNA Evolution, NEAT",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "LICENSE",
12
+ "README.md"
13
+ ],
14
+ "keywords": [
15
+ "loom", "welvet", "neural-network", "machine-learning", "deep-learning",
16
+ "webassembly", "wasm", "webgpu", "gpu", "typescript", "javascript",
17
+ "transformer", "safetensors", "polymorphic", "quantization",
18
+ "fp4", "int4", "binary", "ternary", "multi-precision",
19
+ "systolic", "target-propagation", "gradient-free",
20
+ "swiglu", "moe", "embedding", "rnn", "lstm", "cnn",
21
+ "llm", "tokenizer", "bpe", "inference", "training",
22
+ "browser", "nodejs", "isomorphic"
23
+ ],
24
+ "license": "Apache-2.0",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/openfluke/loom.git",
28
+ "directory": "welvet/typescript"
29
+ },
30
+ "bugs": {
31
+ "url": "https://github.com/openfluke/loom/issues"
32
+ },
33
+ "homepage": "https://github.com/openfluke/loom/tree/main/welvet/typescript#readme",
34
+ "engines": {
35
+ "node": ">=18.0.0"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "scripts": {
41
+ "clean": "rimraf dist",
42
+ "build": "tsc -p tsconfig.json",
43
+ "postbuild": "shx cp -r assets/* dist/ && shx mkdir -p dist/tests && shx cp -r tests/* dist/tests/",
44
+ "prepare": "npm run build",
45
+ "serve": "python3 serve.py",
46
+ "dev": "npm run build && npm run serve",
47
+ "test": "tsx tests/cabi_verify.ts && tsx tests/benchmark.ts",
48
+ "test:cabi": "tsx tests/cabi_verify.ts",
49
+ "test:bench": "tsx tests/benchmark.ts"
50
+ },
51
+ "devDependencies": {
52
+ "@types/node": "^22.7.5",
53
+ "typescript": "^5.6.3",
54
+ "tsx": "^4.19.1",
55
+ "rimraf": "^6.0.1",
56
+ "shx": "^0.3.4"
57
+ }
58
+ }
@@ -1,32 +0,0 @@
1
- /**
2
- * @openfluke/welvet - Browser Entry Point
3
- *
4
- * Browser-only build without Node.js dependencies
5
- * Isomorphic wrapper that mirrors main.go WASM exports
6
- */
7
- import { Network } from "./types.js";
8
- import { loadLoomWASMBrowser } from "./loader.browser.js";
9
- export * from "./types.js";
10
- export { loadLoomWASMBrowser };
11
- /**
12
- * Initialize WASM for Browser environment
13
- */
14
- export declare function initBrowser(): Promise<void>;
15
- /**
16
- * Initialize - alias for initBrowser in browser context
17
- */
18
- export declare function init(): Promise<void>;
19
- /**
20
- * Create a network from JSON config
21
- * Wrapper around the global createLoomNetwork function exposed by WASM
22
- */
23
- export declare function createNetwork(config: object | string): Network;
24
- /**
25
- * Default export with all functions
26
- */
27
- declare const _default: {
28
- init: typeof init;
29
- initBrowser: typeof initBrowser;
30
- createNetwork: typeof createNetwork;
31
- };
32
- export default _default;
@@ -1,39 +0,0 @@
1
- /**
2
- * @openfluke/welvet - Browser Entry Point
3
- *
4
- * Browser-only build without Node.js dependencies
5
- * Isomorphic wrapper that mirrors main.go WASM exports
6
- */
7
- import { loadLoomWASMBrowser } from "./loader.browser.js";
8
- export * from "./types.js";
9
- export { loadLoomWASMBrowser };
10
- /**
11
- * Initialize WASM for Browser environment
12
- */
13
- export async function initBrowser() {
14
- await loadLoomWASMBrowser();
15
- }
16
- /**
17
- * Initialize - alias for initBrowser in browser context
18
- */
19
- export async function init() {
20
- return initBrowser();
21
- }
22
- /**
23
- * Create a network from JSON config
24
- * Wrapper around the global createLoomNetwork function exposed by WASM
25
- */
26
- export function createNetwork(config) {
27
- const jsonConfig = typeof config === "string"
28
- ? config
29
- : JSON.stringify(config);
30
- return createLoomNetwork(jsonConfig);
31
- }
32
- /**
33
- * Default export with all functions
34
- */
35
- export default {
36
- init,
37
- initBrowser,
38
- createNetwork
39
- };