bashio 1.1.0 → 2.0.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
@@ -41,7 +41,12 @@ Requires Node.js 20.12.0 or higher.
41
41
  b --auth
42
42
  ```
43
43
 
44
- Choose from Claude, OpenAI, Ollama (free/local), or OpenRouter.
44
+ Choose from multiple providers:
45
+ - **Claude** (Anthropic) - API Key or Pro/Max subscription
46
+ - **OpenAI** (ChatGPT) - API Key or Plus/Pro subscription
47
+ - **GitHub Copilot** - Free with Copilot subscription
48
+ - **Ollama** - Free, runs locally
49
+ - **OpenRouter** - Pay-per-use, multiple models
45
50
 
46
51
  ### 3. Start using it
47
52
 
@@ -76,6 +81,41 @@ b download this url and save as data.json
76
81
 
77
82
  ---
78
83
 
84
+ ## Interactive Chat Mode
85
+
86
+ Start an interactive AI chat session for more complex conversations:
87
+
88
+ ```bash
89
+ b --chat
90
+ ```
91
+
92
+ **Chat Features:**
93
+ - Full-screen TUI with streaming responses
94
+ - Session management (save, load, switch sessions)
95
+ - Slash commands for quick actions
96
+ - Theme customization
97
+ - Model switching mid-conversation
98
+
99
+ **Keyboard Shortcuts (in chat):**
100
+ | Shortcut | Action |
101
+ |----------|--------|
102
+ | `Ctrl+M` or `Ctrl+P` | Switch model |
103
+ | `Ctrl+O` | Open session picker |
104
+ | `Ctrl+T` | Change theme |
105
+ | `Ctrl+C` | Exit chat |
106
+
107
+ **Slash Commands:**
108
+ | Command | Action |
109
+ |---------|--------|
110
+ | `/models` | Switch AI model |
111
+ | `/sessions` | Browse chat sessions |
112
+ | `/theme` | Change color theme |
113
+ | `/new` | Start new chat session |
114
+ | `/clear` | Clear current chat |
115
+ | `/exit` | Exit chat |
116
+
117
+ ---
118
+
79
119
  ## Confirmation Options
80
120
 
81
121
  When a command is generated, you can:
@@ -130,12 +170,15 @@ b --remove-shortcut name # Delete one
130
170
 
131
171
  Configure with `b --auth`. Supported providers:
132
172
 
133
- | Provider | Cost | Notes |
134
- |----------|------|-------|
135
- | **Claude** (Anthropic) | Paid | Best accuracy |
136
- | **OpenAI** (ChatGPT) | Paid | Great all-rounder |
137
- | **Ollama** | Free | Runs locally, offline |
138
- | **OpenRouter** | Pay-per-use | Access to multiple models |
173
+ | Provider | Auth Method | Cost |
174
+ |----------|-------------|------|
175
+ | **Claude** (Anthropic) | API Key | Paid |
176
+ | **Claude** (Subscription) | OAuth (Pro/Max) | Subscription |
177
+ | **OpenAI** (ChatGPT) | API Key | Paid |
178
+ | **ChatGPT** (Subscription) | OAuth (Plus/Pro) | Subscription |
179
+ | **GitHub Copilot** | OAuth | Free with subscription |
180
+ | **Ollama** | None (local) | Free |
181
+ | **OpenRouter** | API Key | Pay per use |
139
182
 
140
183
  Switch models anytime:
141
184
 
@@ -145,6 +188,18 @@ b --model
145
188
 
146
189
  ---
147
190
 
191
+ ## Themes
192
+
193
+ Customize the color theme:
194
+
195
+ ```bash
196
+ b --theme
197
+ ```
198
+
199
+ Themes apply to both the CLI and interactive chat mode.
200
+
201
+ ---
202
+
148
203
  ## History & Stats
149
204
 
150
205
  Bashio tracks your command history locally.
@@ -184,9 +239,11 @@ Every command requires confirmation before execution.
184
239
  |---------|-------------|
185
240
  | `b <query>` | Convert natural language to command |
186
241
  | `b <shortcut> [args]` | Run a saved shortcut |
242
+ | `b --chat` | Start interactive chat mode |
187
243
  | `b --auth` | Setup AI provider |
188
244
  | `b --model` | Change AI model |
189
245
  | `b --config` | View current config |
246
+ | `b --theme` | Change color theme |
190
247
  | `b --shortcuts` | List shortcuts |
191
248
  | `b --add-shortcut` | Create shortcut |
192
249
  | `b --remove-shortcut <name>` | Delete shortcut |
@@ -196,7 +253,7 @@ Every command requires confirmation before execution.
196
253
  | `b --suggest-shortcuts` | Get shortcut suggestions |
197
254
  | `b --clear-history` | Clear history |
198
255
  | `b --help` | Show help |
199
- | `b --version` | Show version |
256
+ | `b --version` | Show version (with update check) |
200
257
 
201
258
  ---
202
259
 
@@ -208,6 +265,7 @@ All data is stored locally at `~/.bashio/`:
208
265
  ~/.bashio/
209
266
  ├── config.json # Settings and API keys
210
267
  ├── shortcuts.json # Your shortcuts
268
+ ├── sessions/ # Chat sessions
211
269
  └── history.db # Command history
212
270
  ```
213
271