jh-web-gateway 2.1.1 → 2.3.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
@@ -90,7 +90,6 @@ The header shows the gateway status at all times. Use arrow keys to navigate and
90
90
  │ Main Menu │
91
91
  │ │
92
92
  │ > Start Gateway │
93
- │ Model │
94
93
  │ Chat │
95
94
  │ Server Info │
96
95
  │ Settings │
@@ -170,38 +169,9 @@ Once all phases complete the gateway is live:
170
169
 
171
170
  ---
172
171
 
173
- ### Model Selector
174
-
175
- Choose the AI model for all requests. The currently active model is marked with a filled circle (`●`).
176
-
177
- ```text
178
- ┌─────────────────────────────────────────────────────────────┐
179
- │ jh-gateway ● Gateway: running │
180
- ├─────────────────────────────────────────────────────────────┤
181
- │ │
182
- │ Select Model │
183
- │ │
184
- │ > ● claude-opus-4.5 ← active model │
185
- │ ○ claude-sonnet-4.5 │
186
- │ ○ claude-haiku-4.5 │
187
- │ ○ gpt-4.1 │
188
- │ ○ gpt-5 │
189
- │ ○ gpt-5.1 │
190
- │ ○ o3 │
191
- │ ○ o3-mini │
192
- │ ○ llama3-3-70b-instruct │
193
- │ │
194
- │ [↑↓] Navigate [Enter] Select [b/Esc] Back │
195
- └─────────────────────────────────────────────────────────────┘
196
- ```
197
-
198
- The selection is saved to `~/.jh-gateway/config.json` as `defaultModel` immediately on press.
199
-
200
- ---
201
-
202
172
  ### Chat Panel
203
173
 
204
- Send a quick test message from inside the TUI — no external tool required. The panel shows the last exchange and streams a response from the running gateway.
174
+ Send a quick test message from inside the TUI — no external tool required. The panel shows the last exchange and streams a response from the running gateway. Use `↑`/`↓` to cycle through models without leaving the chat.
205
175
 
206
176
  ```text
207
177
  ┌─────────────────────────────────────────────────────────────┐
@@ -218,7 +188,7 @@ Send a quick test message from inside the TUI — no external tool required. The
218
188
  │ │ Type a message and press Enter… █ │ │
219
189
  │ ╰─────────────────────────────────────────────────────╯ │
220
190
  │ │
221
- │ [Enter] Send [b/Esc] Back
191
+ │ [Enter] Send [↑↓] Model [b/Esc] Back
222
192
  └─────────────────────────────────────────────────────────────┘
223
193
  ```
224
194
 
@@ -228,6 +198,7 @@ Send a quick test message from inside the TUI — no external tool required. The
228
198
  |-----|--------|
229
199
  | Type | Compose your message |
230
200
  | `Enter` | Send the message |
201
+ | `↑` / `↓` | Cycle through models |
231
202
  | `Backspace` | Delete last character |
232
203
  | `b` / `Esc` | Back to menu |
233
204
 
@@ -235,7 +206,7 @@ Send a quick test message from inside the TUI — no external tool required. The
235
206
 
236
207
  ### Server Info Panel
237
208
 
238
- Displays the live base URL and API key. Use one-key shortcuts to copy them directly to the clipboard.
209
+ Displays the live base URL, API key, and real-time server activity. Use one-key shortcuts to copy connection details directly to the clipboard.
239
210
 
240
211
  ```text
241
212
  ┌─────────────────────────────────────────────────────────────┐
@@ -249,6 +220,10 @@ Displays the live base URL and API key. Use one-key shortcuts to copy them direc
249
220
  │ │ API Key: jh-local-xxxxxxxxxxxxxxxxxxxxxxxx │ │
250
221
  │ ╰───────────────────────────────────────────────────╯ │
251
222
  │ │
223
+ │ Activity │
224
+ │ ● POST /v1/chat/completions 200 1.2s claude-opus-4.5 │
225
+ │ ● GET /v1/models 200 0.1s │
226
+ │ │
252
227
  │ Copied URL! │
253
228
  │ │
254
229
  │ [c] Copy URL [k] Copy Key [b/Esc] Back │
@@ -304,7 +279,7 @@ Changes are validated and written to `~/.jh-gateway/config.json` on confirm.
304
279
 
305
280
  | Key | Context | Action |
306
281
  |-----|---------|--------|
307
- | `↑` / `↓` | Menu, Model, Settings | Navigate items |
282
+ | `↑` / `↓` | Menu, Chat, Settings | Navigate items / cycle models |
308
283
  | `Enter` | Main Menu | Open selected panel |
309
284
  | `Enter` | Gateway Panel | Start / Stop gateway |
310
285
  | `Enter` | Chat | Send message |