zen-code 1.11.0 → 2.1.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/README.md CHANGED
@@ -1,14 +1,56 @@
1
- # Zen Code
1
+ # Zen Code TUI
2
2
 
3
- A Cli Coder like Claude Code
3
+ > Terminal User Interface for Zen Code
4
4
 
5
- ```sh
6
- bunx --bun zen-code init # setup global model config
7
- bunx --bun zen-code # start chat
5
+ ## 🎯 Overview
6
+
7
+ Zen Code TUI is a terminal user interface built with React + Ink, providing a fluid interactive AI coding assistant experience.
8
+
9
+ ## 🚀 Quick Start
10
+
11
+ ### Install
12
+
13
+ ```bash
14
+ pnpx zen-code
15
+ ```
16
+
17
+ ### Initialize Configuration
18
+
19
+ ```bash
20
+ zen-code init
21
+ ```
22
+
23
+ ### Start
24
+
25
+ ```bash
26
+ zen-code
8
27
  ```
9
28
 
10
- ```sh
11
- /m # list all models
12
- /m 2 # set no.2 model in model list
13
- /m gpt-5.2 # set specific model name
29
+ ## 💡 Usage
30
+
31
+ ### Model Switching
32
+
33
+ ```bash
34
+ /m # List all models
35
+ /m 2 # Switch to the 2nd model in the list
36
+ /m gpt-4o # Switch to a specific model
37
+ /mp # Open interactive model selection panel
14
38
  ```
39
+
40
+ ### Common Commands
41
+
42
+ | Command | Description |
43
+ |---------|-------------|
44
+ | `/init` | Initialize configuration |
45
+ | `/help` | Show help |
46
+ | `/config` | Configuration management |
47
+
48
+ ### Keyboard Shortcuts
49
+
50
+ - **↑↓**: Navigate in lists
51
+ - **Enter**: Confirm selection
52
+ - **q**: Close panel
53
+
54
+ ## 📄 License
55
+
56
+ Apache-2.0
package/cli.js CHANGED
@@ -3,6 +3,8 @@ const args = process.argv.slice(2);
3
3
 
4
4
  if (args[0] === 'init') {
5
5
  import('./dist/zen-init.mjs');
6
+ } else if (args[0] === 'keyboard') {
7
+ import('./dist/zen-keyboard.mjs');
6
8
  } else {
7
9
  import('./dist/zen-code.mjs');
8
10
  }