@linzumi/cli 0.0.2-beta → 0.0.3-beta
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/README.md +27 -34
- package/package.json +1 -1
- package/src/index.ts +4 -2
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# @linzumi/cli
|
|
2
2
|
|
|
3
3
|
```text
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
___ ___
|
|
5
|
+
.-' '-. .-' '-.
|
|
6
|
+
.' ' '.
|
|
7
|
+
/ _ _ \
|
|
8
|
+
| .' '. .' '. |
|
|
9
|
+
| / \ .-. / \ |
|
|
10
|
+
\ \ (o o) / /
|
|
11
|
+
'._'._ \_/ _.'_.'
|
|
12
|
+
| | |
|
|
13
|
+
| /|\ |
|
|
14
|
+
|___/ | \___|
|
|
15
|
+
\_|_/
|
|
16
|
+
/ \
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Linzumi's CLI package. It installs the `linzumi` executable.
|
|
@@ -27,7 +27,7 @@ runner. It wraps the same local runner that was previously started with
|
|
|
27
27
|
Install the exact beta version:
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
npm install -g @linzumi/cli@0.0.
|
|
30
|
+
npm install -g @linzumi/cli@0.0.3-beta
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Or install the current beta tag:
|
|
@@ -47,50 +47,44 @@ linzumi --version
|
|
|
47
47
|
Expected CLI output:
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
linzumi 0.0.
|
|
50
|
+
linzumi 0.0.3-beta
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
##
|
|
53
|
+
## Prod Quick Start
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
For the Linzumi workspace in prod, this is the first command to try:
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
|
-
|
|
58
|
+
npm install -g @linzumi/cli@0.0.3-beta
|
|
59
|
+
|
|
60
|
+
linzumi connect \
|
|
59
61
|
--kandan-url wss://serve.kandanai.com \
|
|
60
62
|
--workspace linzumi \
|
|
61
63
|
--channel seans-playground \
|
|
62
|
-
--kandan-thread-id 6d454179-8c6c-45c6-a447-06f01cb6fa71 \
|
|
63
64
|
--listen-user sean \
|
|
64
|
-
--cwd /Users/seans/code/linzumi-main \
|
|
65
65
|
--codex-bin codex \
|
|
66
|
-
--
|
|
67
|
-
--reasoning-effort low \
|
|
68
|
-
--fast \
|
|
69
|
-
--launch-tui \
|
|
70
|
-
--oauth-callback-host 100.71.192.98
|
|
66
|
+
--launch-tui
|
|
71
67
|
```
|
|
72
68
|
|
|
73
|
-
is
|
|
69
|
+
The runner handles OAuth itself. If the cached Kandan token is missing or
|
|
70
|
+
rejected, it opens the OAuth flow and saves the refreshed auth cache.
|
|
71
|
+
|
|
72
|
+
For a more explicit launch that pins the Codex model, reasoning effort, and
|
|
73
|
+
fast service tier:
|
|
74
74
|
|
|
75
75
|
```bash
|
|
76
76
|
linzumi connect \
|
|
77
77
|
--kandan-url wss://serve.kandanai.com \
|
|
78
78
|
--workspace linzumi \
|
|
79
79
|
--channel seans-playground \
|
|
80
|
-
--kandan-thread-id 6d454179-8c6c-45c6-a447-06f01cb6fa71 \
|
|
81
80
|
--listen-user sean \
|
|
82
|
-
--cwd /Users/seans/code/linzumi-main \
|
|
83
81
|
--codex-bin codex \
|
|
84
82
|
--model gpt-5.5 \
|
|
85
83
|
--reasoning-effort low \
|
|
86
84
|
--fast \
|
|
87
|
-
--launch-tui
|
|
88
|
-
--oauth-callback-host 100.71.192.98
|
|
85
|
+
--launch-tui
|
|
89
86
|
```
|
|
90
87
|
|
|
91
|
-
The runner handles OAuth itself. If the cached Kandan token is missing or
|
|
92
|
-
rejected, it opens the OAuth flow and saves the refreshed auth cache.
|
|
93
|
-
|
|
94
88
|
## Basic Use
|
|
95
89
|
|
|
96
90
|
Running `linzumi` without arguments prints the local runner guide:
|
|
@@ -107,7 +101,6 @@ linzumi connect \
|
|
|
107
101
|
--workspace linzumi \
|
|
108
102
|
--channel seans-playground \
|
|
109
103
|
--listen-user sean \
|
|
110
|
-
--cwd /Users/seans/code/linzumi-main \
|
|
111
104
|
--codex-bin codex \
|
|
112
105
|
--launch-tui
|
|
113
106
|
```
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -63,7 +63,7 @@ async function main(args: readonly string[]): Promise<void> {
|
|
|
63
63
|
process.stdout.write(connectGuideText());
|
|
64
64
|
return;
|
|
65
65
|
case "version":
|
|
66
|
-
process.stdout.write("linzumi 0.0.
|
|
66
|
+
process.stdout.write("linzumi 0.0.3-beta\n");
|
|
67
67
|
return;
|
|
68
68
|
case "auth":
|
|
69
69
|
await runAuthCommand(parsed.args);
|
|
@@ -141,7 +141,7 @@ async function parseRunnerArgs(args: readonly string[]): Promise<RunnerOptions>
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
if (values.get("version") === true) {
|
|
144
|
-
process.stdout.write("linzumi 0.0.
|
|
144
|
+
process.stdout.write("linzumi 0.0.3-beta\n");
|
|
145
145
|
process.exit(0);
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -326,6 +326,8 @@ Codex:
|
|
|
326
326
|
|
|
327
327
|
Examples:
|
|
328
328
|
Good:
|
|
329
|
+
linzumi connect --kandan-url wss://serve.kandanai.com --workspace linzumi --channel seans-playground --listen-user sean --codex-bin codex --launch-tui
|
|
330
|
+
linzumi connect --kandan-url wss://serve.kandanai.com --workspace linzumi --channel seans-playground --listen-user sean --codex-bin codex --model gpt-5.5 --reasoning-effort low --fast --launch-tui
|
|
329
331
|
linzumi auth --kandan-url ws://127.0.0.1:4160 --workspace default --channel seans-playground
|
|
330
332
|
linzumi auth --kandan-url ws://100.71.192.98:4160 --oauth-callback-host 100.71.192.98 --workspace default --channel seans-playground
|
|
331
333
|
linzumi connect --kandan-url ws://127.0.0.1:4160 --token "$TOKEN" --workspace default --channel seans-playground --listen-user sean --cwd /tmp/kandan-runner-a
|