zen-code 1.8.0 → 1.9.1

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 CHANGED
@@ -3,17 +3,12 @@
3
3
  A Cli Coder like Claude Code
4
4
 
5
5
  ```sh
6
- SQLITE_DATABASE_URI=./.langgraph_api/langgraph.db
7
- OPENAI_API_KEY=sk-
8
- OPENAI_BASE_URL=https://api.xiaomimimo.com/v1 # or any other openai endpoint
6
+ bunx --bun zen-code init # setup global model config
7
+ bunx --bun zen-code # start chat
9
8
  ```
10
9
 
11
10
  ```sh
12
- bunx zen-code
13
- ```
14
-
15
- Chang Model in Zen Code
16
-
17
- ```sh
18
- /m mimo-v2-flash
11
+ /m # list all models
12
+ /m 2 # set no.2 model in model list
13
+ /m gpt-5.2 # set specific model name
19
14
  ```
package/cli.js CHANGED
@@ -1,2 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import './dist/zen-code.mjs';
2
+ const args = process.argv.slice(2);
3
+
4
+ if (args[0] === 'init') {
5
+ import('./dist/zen-init.mjs');
6
+ } else {
7
+ import('./dist/zen-code.mjs');
8
+ }