@rse/claudex 1.0.7 → 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/CHANGELOG.md +8 -0
- package/README.md +5 -0
- package/claudex.js +4 -1
- package/claudex.ts +4 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
ChangeLog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
1.0.8 (2026-05-29)
|
|
6
|
+
------------------
|
|
7
|
+
|
|
8
|
+
- IMPROVEMENT: document Ollama `CLAUDE_MODEL` usage example in README
|
|
9
|
+
- BUGFIX: validate `CLAUDE_MODEL` and throw on invalid (non-empty) value
|
|
10
|
+
- UPDATE: upgrade to Node 26 (once again)
|
|
11
|
+
- UPDATE: upgrade NPM dependencies
|
|
12
|
+
|
|
5
13
|
1.0.7 (2026-05-22)
|
|
6
14
|
------------------
|
|
7
15
|
|
package/README.md
CHANGED
|
@@ -80,6 +80,11 @@ $ claudex
|
|
|
80
80
|
[...options...] # arbitrary Claude Code options
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
+
```sh
|
|
84
|
+
# example: run Claude Code with Gemma 4 31B MTP under Ollama
|
|
85
|
+
$ CLAUDE_MODEL="ollama:/gemma4:31b-coding-mtp-bf16?context=262K" claudex -T -R -A
|
|
86
|
+
```
|
|
87
|
+
|
|
83
88
|
See Also
|
|
84
89
|
--------
|
|
85
90
|
|
package/claudex.js
CHANGED
|
@@ -458,7 +458,7 @@ const actionUpdate = async (capsula) => {
|
|
|
458
458
|
executeCommand({
|
|
459
459
|
"windows:winget": "winget upgrade --accept-package-agreements --accept-source-agreements --silent -e --id OpenJS.NodeJS.LTS",
|
|
460
460
|
"windows:choco": "choco upgrade -y --accept-license --no-progress nodejs",
|
|
461
|
-
"macos:ports": "sudo port -N upgrade
|
|
461
|
+
"macos:ports": "sudo port -N upgrade nodejs26 npm11",
|
|
462
462
|
"macos:brew": "sudo brew upgrade node",
|
|
463
463
|
"linux:apt": "sudo apt install --only-upgrade -y nodejs",
|
|
464
464
|
"linux:apk": "sudo apk upgrade --no-interactive nodejs npm"
|
|
@@ -904,6 +904,9 @@ const actionDefault = (opts, args) => {
|
|
|
904
904
|
env.DISABLE_LOGIN_COMMAND = "1";
|
|
905
905
|
env.DISABLE_LOGOUT_COMMAND = "1";
|
|
906
906
|
}
|
|
907
|
+
else if (claudeModel !== "")
|
|
908
|
+
throw new Error(`invalid CLAUDE_MODEL "${claudeModel}" ` +
|
|
909
|
+
"(supports only: \"ollama[://<host>[:<port>]]/<model>[?[context=<size>],[capabilities=<list>]]\"");
|
|
907
910
|
/* override ASE configuration (for its diagram rendering) */
|
|
908
911
|
if (opts.ase) {
|
|
909
912
|
if (env.ASE_TERM_WIDTH === undefined) {
|
package/claudex.ts
CHANGED
|
@@ -529,7 +529,7 @@ const actionUpdate = async (capsula: boolean): Promise<void> => {
|
|
|
529
529
|
executeCommand({
|
|
530
530
|
"windows:winget": "winget upgrade --accept-package-agreements --accept-source-agreements --silent -e --id OpenJS.NodeJS.LTS",
|
|
531
531
|
"windows:choco": "choco upgrade -y --accept-license --no-progress nodejs",
|
|
532
|
-
"macos:ports": "sudo port -N upgrade
|
|
532
|
+
"macos:ports": "sudo port -N upgrade nodejs26 npm11",
|
|
533
533
|
"macos:brew": "sudo brew upgrade node",
|
|
534
534
|
"linux:apt": "sudo apt install --only-upgrade -y nodejs",
|
|
535
535
|
"linux:apk": "sudo apk upgrade --no-interactive nodejs npm"
|
|
@@ -1000,6 +1000,9 @@ const actionDefault = (opts: TopOpts, args: string[]): never => {
|
|
|
1000
1000
|
env.DISABLE_LOGIN_COMMAND = "1"
|
|
1001
1001
|
env.DISABLE_LOGOUT_COMMAND = "1"
|
|
1002
1002
|
}
|
|
1003
|
+
else if (claudeModel !== "")
|
|
1004
|
+
throw new Error(`invalid CLAUDE_MODEL "${claudeModel}" ` +
|
|
1005
|
+
"(supports only: \"ollama[://<host>[:<port>]]/<model>[?[context=<size>],[capabilities=<list>]]\"")
|
|
1003
1006
|
|
|
1004
1007
|
/* override ASE configuration (for its diagram rendering) */
|
|
1005
1008
|
if (opts.ase) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rse/claudex",
|
|
3
3
|
"publishConfig": { "access": "public" },
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.8",
|
|
5
5
|
"description": "Claude Code eXtended",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [ "claude", "code", "extension", "wrapper" ],
|
|
@@ -19,22 +19,22 @@
|
|
|
19
19
|
"which": "7.0.0",
|
|
20
20
|
"execa": "9.6.1",
|
|
21
21
|
"chalk": "5.6.2",
|
|
22
|
-
"commander": "
|
|
22
|
+
"commander": "15.0.0",
|
|
23
23
|
"deepmerge": "4.3.1",
|
|
24
24
|
"shescape": "2.1.12",
|
|
25
|
-
"shell-quote": "1.8.
|
|
25
|
+
"shell-quote": "1.8.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "6.0.3",
|
|
29
|
-
"@types/node": "25.
|
|
29
|
+
"@types/node": "25.9.1",
|
|
30
30
|
"@types/which": "3.0.4",
|
|
31
31
|
"@types/shell-quote": "1.7.5",
|
|
32
32
|
|
|
33
33
|
"@rse/stx": "1.1.5",
|
|
34
34
|
"eslint": "9.39.4",
|
|
35
35
|
"@eslint/js": "9.39.4",
|
|
36
|
-
"typescript-eslint": "8.
|
|
37
|
-
"@typescript-eslint/parser": "8.
|
|
36
|
+
"typescript-eslint": "8.60.0",
|
|
37
|
+
"@typescript-eslint/parser": "8.60.0",
|
|
38
38
|
"eslint-plugin-promise": "7.3.0",
|
|
39
39
|
"eslint-plugin-import": "2.32.0",
|
|
40
40
|
"neostandard": "0.13.0",
|