@aryacode/dsh-local-llm 0.8.2 → 0.8.3
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/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/package.json +73 -73
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -2713,7 +2713,7 @@ function libraryAdapter(controller, ensure, gate, checkIdle, attachments, strata
|
|
|
2713
2713
|
const state = await ninfer.status();
|
|
2714
2714
|
if (typeof state.modelName === "string" && state.modelName !== "") {
|
|
2715
2715
|
const model = {
|
|
2716
|
-
...info("ninfer:" + state.modelName, state.modelName, Number(state.context) || 8192, state.vision === true, "ninfer", state.modelName),
|
|
2716
|
+
...info("ninfer:" + state.modelName, "ninfer:" + state.modelName, Number(state.context) || 8192, state.vision === true, "ninfer", state.modelName),
|
|
2717
2717
|
defaultMaxTokens: outputDefault(Number(state.context) || 8192, ninfer.outputTokens()),
|
|
2718
2718
|
reasoning: ninferReasoning
|
|
2719
2719
|
};
|
|
@@ -3008,7 +3008,7 @@ var NInferController = class {
|
|
|
3008
3008
|
};
|
|
3009
3009
|
this.directory = resolve(config.directory);
|
|
3010
3010
|
this.port = config.port;
|
|
3011
|
-
this.modelName = config.modelName;
|
|
3011
|
+
this.modelName = config.modelName || config.name;
|
|
3012
3012
|
if (config.wsl && (!/^[A-Za-z0-9._-]+$/.test(config.wsl.distribution) || !/^\/[A-Za-z0-9/._-]+$/.test(config.wsl.binary) || !/^\/[A-Za-z0-9/.:_-]+$/.test(config.wsl.libraryPath))) throw Error("Invalid NInfer WSL configuration.");
|
|
3013
3013
|
if (!/^[a-z0-9][a-z0-9._-]+$/.test(config.name) || !/^[a-z0-9._-]+$/.test(config.label) || !/^[a-zA-Z0-9/._-]+@sha256:[a-f0-9]{64}$/.test(config.image) || !Number.isInteger(config.port) || config.port < 1024 || config.port > 65535 || !/^[A-Za-z]:[\\/]/.test(config.artifact) || config.artifact.includes(",")) throw Error("Invalid pinned NInfer configuration.");
|
|
3014
3014
|
}
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@aryacode/dsh-local-llm",
|
|
3
|
-
"version": "0.8.
|
|
4
|
-
"description": "AryaStrata engine controls with the local NInfer Qwen3.8 dense model for AryaAI",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./lib/index.d.ts",
|
|
11
|
-
"default": "./lib/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./client": "./lib/client.js",
|
|
14
|
-
"./package.json": "./package.json",
|
|
15
|
-
"./locale/*.json": "./locale/*.json"
|
|
16
|
-
},
|
|
17
|
-
"dsh": {
|
|
18
|
-
"bundle": {
|
|
19
|
-
"patch": "./cordis.patch.yml"
|
|
20
|
-
},
|
|
21
|
-
"client": {
|
|
22
|
-
"platform": "web",
|
|
23
|
-
"inject": [
|
|
24
|
-
"@deepseek-ai/dsh-client-locale",
|
|
25
|
-
"@deepseek-ai/dsh-client-ui-layout",
|
|
26
|
-
"@deepseek-ai/dsh-client-ui-renderer",
|
|
27
|
-
"@deepseek-ai/dsh-client-ui-slots"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@aryacode/dsh-local-llm",
|
|
3
|
+
"version": "0.8.3",
|
|
4
|
+
"description": "AryaStrata engine controls with the local NInfer Qwen3.8 dense model for AryaAI",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./client": "./lib/client.js",
|
|
14
|
+
"./package.json": "./package.json",
|
|
15
|
+
"./locale/*.json": "./locale/*.json"
|
|
16
|
+
},
|
|
17
|
+
"dsh": {
|
|
18
|
+
"bundle": {
|
|
19
|
+
"patch": "./cordis.patch.yml"
|
|
20
|
+
},
|
|
21
|
+
"client": {
|
|
22
|
+
"platform": "web",
|
|
23
|
+
"inject": [
|
|
24
|
+
"@deepseek-ai/dsh-client-locale",
|
|
25
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
26
|
+
"@deepseek-ai/dsh-client-ui-renderer",
|
|
27
|
+
"@deepseek-ai/dsh-client-ui-slots"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
33
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.2",
|
|
34
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.2.0-rc.2",
|
|
35
|
+
"@types/node": "^22.10.0",
|
|
36
|
+
"@types/react": "~18.3.1",
|
|
37
|
+
"react": "^18.2.0",
|
|
38
|
+
"tsdown": "^0.22.14",
|
|
39
|
+
"typescript": "^5.6.0"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"icon.svg",
|
|
43
|
+
"locale/*.json",
|
|
44
|
+
"lib/index.js",
|
|
45
|
+
"lib/index.d.ts",
|
|
46
|
+
"lib/client.js",
|
|
47
|
+
"lib/client.js.map",
|
|
48
|
+
"lib/openai-completions-*.js",
|
|
49
|
+
"lib/event-stream-*.js",
|
|
50
|
+
"cordis.patch.yml",
|
|
51
|
+
"blue.png",
|
|
52
|
+
"README.md",
|
|
53
|
+
"LEGACY-CONTROL-CENTER.md",
|
|
54
|
+
"scripts/freetoken-control.py",
|
|
55
|
+
"scripts/ninfer-control.py"
|
|
56
|
+
],
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@earendil-works/pi-ai": "^0.87.1",
|
|
59
|
+
"saxes": "^6.0.0",
|
|
60
|
+
"systeminformation": "5.33.15"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@deepseek-ai/dsh-llm-pi-ai": "^0.2.0-rc.2"
|
|
64
|
+
},
|
|
65
|
+
"icon": "./icon.svg",
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "tsdown",
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"prebuild": "node scripts/theme.mjs",
|
|
70
|
+
"test": "node --test tests/*.test.mjs",
|
|
71
|
+
"test:ui": "node tests/control-center-ui.mjs"
|
|
72
|
+
}
|
|
73
|
+
}
|