@tecet/ollm 0.1.4-b → 0.1.5

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.
Files changed (66) hide show
  1. package/docs/README.md +3 -410
  2. package/package.json +2 -2
  3. package/docs/Context/CheckpointFlowDiagram.md +0 -673
  4. package/docs/Context/ContextArchitecture.md +0 -898
  5. package/docs/Context/ContextCompression.md +0 -1102
  6. package/docs/Context/ContextManagment.md +0 -750
  7. package/docs/Context/Index.md +0 -209
  8. package/docs/Context/README.md +0 -390
  9. package/docs/DevelopmentRoadmap/Index.md +0 -238
  10. package/docs/DevelopmentRoadmap/OLLM-CLI_Releases.md +0 -419
  11. package/docs/DevelopmentRoadmap/PlanedFeatures.md +0 -448
  12. package/docs/DevelopmentRoadmap/README.md +0 -174
  13. package/docs/DevelopmentRoadmap/Roadmap.md +0 -572
  14. package/docs/DevelopmentRoadmap/RoadmapVisual.md +0 -372
  15. package/docs/Hooks/Architecture.md +0 -885
  16. package/docs/Hooks/Index.md +0 -244
  17. package/docs/Hooks/KeyboardShortcuts.md +0 -248
  18. package/docs/Hooks/Protocol.md +0 -817
  19. package/docs/Hooks/README.md +0 -403
  20. package/docs/Hooks/UserGuide.md +0 -1483
  21. package/docs/Hooks/VisualGuide.md +0 -598
  22. package/docs/Index.md +0 -506
  23. package/docs/Installation.md +0 -586
  24. package/docs/Introduction.md +0 -367
  25. package/docs/LLM Models/Index.md +0 -239
  26. package/docs/LLM Models/LLM_GettingStarted.md +0 -748
  27. package/docs/LLM Models/LLM_Index.md +0 -701
  28. package/docs/LLM Models/LLM_MemorySystem.md +0 -337
  29. package/docs/LLM Models/LLM_ModelCompatibility.md +0 -499
  30. package/docs/LLM Models/LLM_ModelsArchitecture.md +0 -933
  31. package/docs/LLM Models/LLM_ModelsCommands.md +0 -839
  32. package/docs/LLM Models/LLM_ModelsConfiguration.md +0 -1094
  33. package/docs/LLM Models/LLM_ModelsList.md +0 -1071
  34. package/docs/LLM Models/LLM_ModelsList.md.backup +0 -400
  35. package/docs/LLM Models/README.md +0 -355
  36. package/docs/MCP/MCP_Architecture.md +0 -1086
  37. package/docs/MCP/MCP_Commands.md +0 -1111
  38. package/docs/MCP/MCP_GettingStarted.md +0 -590
  39. package/docs/MCP/MCP_Index.md +0 -524
  40. package/docs/MCP/MCP_Integration.md +0 -866
  41. package/docs/MCP/MCP_Marketplace.md +0 -160
  42. package/docs/MCP/README.md +0 -415
  43. package/docs/Prompts System/Architecture.md +0 -760
  44. package/docs/Prompts System/Index.md +0 -223
  45. package/docs/Prompts System/PromptsRouting.md +0 -1047
  46. package/docs/Prompts System/PromptsTemplates.md +0 -1102
  47. package/docs/Prompts System/README.md +0 -389
  48. package/docs/Prompts System/SystemPrompts.md +0 -856
  49. package/docs/Quickstart.md +0 -535
  50. package/docs/Tools/Architecture.md +0 -884
  51. package/docs/Tools/GettingStarted.md +0 -624
  52. package/docs/Tools/Index.md +0 -216
  53. package/docs/Tools/ManifestReference.md +0 -141
  54. package/docs/Tools/README.md +0 -440
  55. package/docs/Tools/UserGuide.md +0 -773
  56. package/docs/Troubleshooting.md +0 -1265
  57. package/docs/UI&Settings/Architecture.md +0 -729
  58. package/docs/UI&Settings/ColorASCII.md +0 -34
  59. package/docs/UI&Settings/Commands.md +0 -755
  60. package/docs/UI&Settings/Configuration.md +0 -872
  61. package/docs/UI&Settings/Index.md +0 -293
  62. package/docs/UI&Settings/Keybinds.md +0 -372
  63. package/docs/UI&Settings/README.md +0 -278
  64. package/docs/UI&Settings/Terminal.md +0 -637
  65. package/docs/UI&Settings/Themes.md +0 -604
  66. package/docs/UI&Settings/UIGuide.md +0 -550
@@ -1,550 +0,0 @@
1
- # User Interface Guide
2
-
3
- **Last Updated:** January 26, 2026
4
-
5
- This guide provides a comprehensive overview of the OLLM CLI terminal user interface, including layout structure, components, and interaction patterns.
6
-
7
- ---
8
-
9
- ## Overview
10
-
11
- OLLM CLI features a terminal-based interface built with React + Ink. The UI consists of three main areas: Header Bar, Main Content Area (with optional Side Panel), and Status Bar.
12
-
13
- ---
14
-
15
- ## Layout Structure
16
-
17
- ```
18
- ┌─────────────────────────────────────────────────────────────────┐
19
- │ HEADER BAR (SystemBar) │
20
- │ Model | Context | Mode | Clock │
21
- ├─────────────────────────────────────────────────────────────────┤
22
- │ │
23
- │ ┌─────────────────────┬─────────────────────────────────────┐ │
24
- │ │ │ │ │
25
- │ │ MAIN CONTENT │ SIDE PANEL (Optional) │ │
26
- │ │ (Chat/Tabs) │ (Tools/Hooks/Files/MCP/Settings) │ │
27
- │ │ │ │ │
28
- │ │ - Chat History │ - Tab Navigation │ │
29
- │ │ - Input Area │ - Tab Content │ │
30
- │ │ │ - Actions │ │
31
- │ │ │ │ │
32
- │ └─────────────────────┴─────────────────────────────────────┘ │
33
- │ │
34
- ├─────────────────────────────────────────────────────────────────┤
35
- │ STATUS BAR │
36
- │ Status | Keybind Hints | Notifications │
37
- └─────────────────────────────────────────────────────────────────┘
38
- ```
39
-
40
- ---
41
-
42
- ## Header Bar
43
-
44
- The header bar displays critical information about your current session.
45
-
46
- ### Layout
47
-
48
- ```
49
- ┌─────────────────────────────────────────────────────────────────┐
50
- │ 🦙 llama3:8b │ 5.2K/13.9K │ 🎯 Assistant │ 🕐 14:32:15 │
51
- └─────────────────────────────────────────────────────────────────┘
52
- ```
53
-
54
- ### Elements
55
-
56
- **Model Display**
57
-
58
- - Shows currently active model
59
- - Icon indicates model type
60
- - Click or use `/model` to switch
61
-
62
- **Context Usage**
63
-
64
- - Format: `{current}/{max}` tokens
65
- - Example: `5,234/13,926`
66
- - Color coding:
67
- - 🟢 Green: < 60% usage
68
- - 🟡 Yellow: 60-80% usage
69
- - 🔴 Red: > 80% usage
70
-
71
- **Mode Indicator**
72
-
73
- - Shows current operational mode
74
- - Examples: Assistant, Developer, Planning
75
- - Use `/mode` to switch modes
76
-
77
- **Clock**
78
-
79
- - Displays current time
80
- - Updates every second
81
-
82
- ---
83
-
84
- ## Main Content Area
85
-
86
- ### Chat View
87
-
88
- The left column displays your conversation with the AI.
89
-
90
- #### Chat History
91
-
92
- **Features:**
93
-
94
- - Scrollable message list
95
- - Auto-scroll to bottom on new messages
96
- - Syntax highlighting for code blocks
97
- - Tool call visualization
98
- - Collapsible reasoning blocks
99
-
100
- **Message Types:**
101
-
102
- 1. **User Messages**
103
- - Blue text, left-aligned
104
- - Your input to the AI
105
-
106
- 2. **Assistant Messages**
107
- - White text, left-aligned
108
- - AI responses
109
-
110
- 3. **System Messages**
111
- - Gray text, italic
112
- - System notifications
113
-
114
- 4. **Tool Calls**
115
- - Yellow box with tool name and result
116
- - Shows tool execution details
117
-
118
- **Tool Call Display:**
119
-
120
- ```
121
- ┌─ Tool: glob ─────────────────────────┐
122
- │ Pattern: **/*.ts │
123
- │ Result: Found 42 files │
124
- │ - src/index.ts │
125
- │ - src/utils.ts │
126
- │ - ... │
127
- └───────────────────────────────────────┘
128
- ```
129
-
130
- #### Reasoning Blocks
131
-
132
- For models that support reasoning (e.g., DeepSeek R1), the UI displays the thinking process.
133
-
134
- **States:**
135
-
136
- 1. **Streaming (Expanded)**
137
- - Shows full reasoning content
138
- - Content streams in real-time
139
- - Lets you see the thinking process
140
-
141
- 2. **Complete (Collapsed)**
142
- - Auto-collapses to summary view
143
- - Shows "Reasoning: (collapsed)"
144
- - Saves screen space
145
-
146
- 3. **Historical Messages**
147
- - Completed reasoning starts collapsed
148
- - Shows summary line only
149
-
150
- **Controls:**
151
-
152
- - Navigate to reasoning block with arrow keys
153
- - Press `Space` or `Return` to toggle expand/collapse
154
-
155
- #### Input Area
156
-
157
- **Features:**
158
-
159
- - Multi-line text input
160
- - Auto-resize based on content
161
- - Keybind hints
162
- - Character/token count (optional)
163
-
164
- **Keybinds:**
165
-
166
- - `Return` - Send message
167
- - `Shift+Return` - New line
168
- - `Escape` - Cancel/clear
169
- - `Up` - Edit previous message
170
-
171
- ---
172
-
173
- ### Side Panel
174
-
175
- The right column provides access to tools, settings, and project information.
176
-
177
- **Toggle:** Press `Ctrl+P` to show/hide the side panel
178
-
179
- #### Tab Bar
180
-
181
- Navigate between different side panel views:
182
-
183
- ```
184
- [Tools] [Hooks] [Files] [MCP] [Settings]
185
- ^^^^
186
- Active (highlighted)
187
- ```
188
-
189
- **Available Tabs:**
190
-
191
- 1. **Tools** (`Ctrl+2`) - Tool management
192
- 2. **Hooks** (`Ctrl+3`) - Hook management
193
- 3. **Files** (`Ctrl+4`) - File explorer
194
- 4. **Search** (`Ctrl+5`) - Search panel
195
- 5. **Docs** (`Ctrl+6`) - Documentation
196
- 6. **GitHub** (`Ctrl+7`) - GitHub integration
197
- 7. **MCP** (`Ctrl+8`) - MCP servers
198
- 8. **Settings** (`Ctrl+9`) - Settings
199
-
200
- **Navigation:**
201
-
202
- - `Ctrl+1-9` - Switch tabs directly
203
- - `Tab` - Cycle through tabs
204
-
205
- #### Tools Tab
206
-
207
- Manage available tools and their permissions.
208
-
209
- ```
210
- ┌─ Tools ──────────────────────────────────┐
211
- │ │
212
- │ File Operations │
213
- │ ☑ read_file ☑ write_file │
214
- │ ☑ edit_file ☑ glob │
215
- │ │
216
- │ Search │
217
- │ ☑ grep ☑ web_search │
218
- │ │
219
- │ Execution │
220
- │ ☑ shell ☑ web_fetch │
221
- │ │
222
- │ MCP Tools (github) │
223
- │ ☑ create_issue ☑ list_repos │
224
- │ │
225
- └───────────────────────────────────────────┘
226
- ```
227
-
228
- **Features:**
229
-
230
- - Tool categories (collapsible)
231
- - Enable/disable toggles
232
- - Tool descriptions on hover
233
- - MCP tools integration
234
-
235
- #### Hooks Tab
236
-
237
- Configure automation hooks for event-driven actions.
238
-
239
- ```
240
- ┌─ Hooks ──────────────────────────────────┐
241
- │ │
242
- │ File Events │
243
- │ ✓ lint-on-save (fileEdited) │
244
- │ ✓ format-on-save (fileEdited) │
245
- │ │
246
- │ Agent Events │
247
- │ ○ log-prompts (promptSubmit) │
248
- │ │
249
- │ [+ Add Hook] [Debug: OFF] │
250
- │ │
251
- └───────────────────────────────────────────┘
252
- ```
253
-
254
- **Features:**
255
-
256
- - Hook list by category
257
- - Enable/disable toggles
258
- - Add/edit/delete hooks
259
- - Debug mode toggle
260
-
261
- #### Files Tab
262
-
263
- Browse and manage project files.
264
-
265
- ```
266
- ┌─ Files ──────────────────────────────────┐
267
- │ 📁 /home/user/project │
268
- │ │
269
- │ ▼ 📁 src │
270
- │ ▼ 📁 components │
271
- │ 📄 Button.tsx │
272
- │ 📄 Input.tsx │
273
- │ 📄 index.ts │
274
- │ ▼ 📁 tests │
275
- │ 📄 app.test.ts │
276
- │ │
277
- │ [o]pen [e]dit [r]ename [d]elete [?]help │
278
- └───────────────────────────────────────────┘
279
- ```
280
-
281
- **Features:**
282
-
283
- - Tree view with expand/collapse
284
- - File operations (open, edit, rename, delete)
285
- - Git status indicators
286
- - Quick open (`P`)
287
- - Follow active file mode
288
-
289
- #### MCP Tab
290
-
291
- Manage Model Context Protocol servers.
292
-
293
- ```
294
- ┌─ MCP Servers ────────────────────────────┐
295
- │ │
296
- │ Installed Servers │
297
- │ ✓ github (connected) 🟢 │
298
- │ Tools: 12 | Resources: 5 │
299
- │ [View] [Restart] [Configure] │
300
- │ │
301
- │ ○ slack (disconnected) 🔴 │
302
- │ [Connect] [Configure] │
303
- │ │
304
- │ [+ Install Server] [Marketplace] │
305
- │ │
306
- └───────────────────────────────────────────┘
307
- ```
308
-
309
- **Features:**
310
-
311
- - Server list with status
312
- - Health indicators
313
- - Server actions (restart, configure)
314
- - Marketplace integration
315
- - OAuth status
316
-
317
- #### Settings Tab
318
-
319
- Configure OLLM CLI preferences.
320
-
321
- ```
322
- ┌─ Settings ───────────────────────────────┐
323
- │ │
324
- │ Model │
325
- │ [llama3:8b ▼] │
326
- │ │
327
- │ Context Size │
328
- │ [16384 ▼] (2K, 4K, 8K, 16K, 32K, 64K) │
329
- │ │
330
- │ Theme │
331
- │ [default-dark ▼] │
332
- │ │
333
- │ Provider │
334
- │ [Ollama ▼] │
335
- │ │
336
- │ [Save] [Reset to Defaults] │
337
- │ │
338
- └───────────────────────────────────────────┘
339
- ```
340
-
341
- **Features:**
342
-
343
- - Model picker
344
- - Context size selector
345
- - Theme picker
346
- - Provider selector
347
- - Keybinds editor (planned)
348
-
349
- ---
350
-
351
- ## Status Bar
352
-
353
- The status bar displays current status and helpful hints.
354
-
355
- ```
356
- ┌─────────────────────────────────────────────────────────────────┐
357
- │ ● Ready | Ctrl+K: Commands | Ctrl+P: Panel | Ctrl+/: Debug │
358
- └─────────────────────────────────────────────────────────────────┘
359
- ```
360
-
361
- ### Elements
362
-
363
- **Status Indicator**
364
-
365
- - 🟢 Ready - System ready for input
366
- - 🟡 Thinking - AI processing
367
- - 🔴 Error - Error occurred
368
- - 🔵 Info - Information message
369
-
370
- **Keybind Hints**
371
-
372
- - Context-sensitive shortcuts
373
- - Updates based on current focus
374
- - Shows most relevant actions
375
-
376
- **Notifications**
377
-
378
- - Temporary messages
379
- - Success/warning/error alerts
380
- - Auto-dismiss after timeout
381
-
382
- ---
383
-
384
- ## Focus Management
385
-
386
- OLLM CLI uses a focus system to route keyboard input to the appropriate component.
387
-
388
- ### Focusable Elements
389
-
390
- 1. **Chat Input** - Default focus
391
- 2. **Side Panel Tabs** - Tab navigation
392
- 3. **Side Panel Content** - Tab-specific content
393
- 4. **File Explorer** - File tree navigation
394
- 5. **Dialogs** - Modal dialogs when open
395
-
396
- ### Focus Indicators
397
-
398
- - Border highlight (theme-dependent)
399
- - Cursor visibility
400
- - Keybind hints update
401
-
402
- ### Focus Navigation
403
-
404
- - `Tab` - Cycle focus forward
405
- - `Shift+Tab` - Cycle focus backward
406
- - `Ctrl+Space` - Focus chat input
407
- - `Ctrl+M` - Focus navigation
408
-
409
- ---
410
-
411
- ## Responsive Behavior
412
-
413
- ### Terminal Size Adaptation
414
-
415
- **Minimum Size:** 80x24 (columns x rows)
416
- **Recommended:** 120x40
417
-
418
- **Behavior:**
419
-
420
- - Side panel auto-hides on narrow terminals (< 100 columns)
421
- - Chat history scrolls on short terminals (< 30 rows)
422
- - Input area shrinks on very short terminals
423
-
424
- ### Overflow Handling
425
-
426
- **Chat History:**
427
-
428
- - Vertical scroll enabled
429
- - No horizontal scroll (text wraps)
430
-
431
- **Side Panel Content:**
432
-
433
- - Vertical scroll enabled
434
- - Long lines wrap
435
-
436
- **Input Area:**
437
-
438
- - Scrolls if exceeds max height
439
- - Long lines wrap
440
-
441
- ---
442
-
443
- ## Theme Support
444
-
445
- OLLM CLI includes 6 built-in themes with customizable colors.
446
-
447
- ### Built-in Themes
448
-
449
- 1. **Solarized Dark** (default) - Precision theme for reduced eye strain
450
- 2. **Neon Dark** - Balanced dark theme
451
- 3. **Dracula Dark** - High-contrast purple theme
452
- 4. **Nord Dark** - Arctic, north-bluish palette
453
- 5. **Monokai Dark** - Vibrant, high-contrast theme
454
- 6. **Solarized Dark 2** - Alternative Solarized variant
455
-
456
- ### Theme Management
457
-
458
- **Commands:**
459
-
460
- - `/theme list` - List available themes
461
- - `/theme use <name>` - Switch to a theme
462
- - `/theme preview <name>` - Preview temporarily
463
-
464
- **Settings:**
465
-
466
- - Theme selection persists across sessions
467
- - Stored in `~/.ollm/settings.json`
468
-
469
- See [Themes Guide](./Themes.md) for detailed theme documentation.
470
-
471
- ---
472
-
473
- ## Accessibility
474
-
475
- ### Keyboard-First Design
476
-
477
- - All features accessible via keyboard
478
- - No mouse required
479
- - Vim-style alternatives available
480
- - Clear focus indicators
481
-
482
- ### Screen Reader Support
483
-
484
- - Text-based UI (no graphics)
485
- - ANSI escape codes for formatting
486
- - Clear status messages
487
- - Semantic structure
488
-
489
- ### Color Blindness Support
490
-
491
- - Status indicators use symbols + colors
492
- - High contrast themes available
493
- - Customizable color schemes
494
-
495
- ---
496
-
497
- ## Performance Optimization
498
-
499
- ### Rendering
500
-
501
- - Efficient React reconciliation
502
- - Only re-renders changed components
503
- - Virtual scrolling for long lists
504
- - Message pagination
505
-
506
- ### Memory Management
507
-
508
- - Keep last 100 messages in memory
509
- - Older messages in session storage
510
- - Compression for long conversations
511
- - Automatic cleanup
512
-
513
- ---
514
-
515
- ## Tips and Tricks
516
-
517
- ### Productivity
518
-
519
- 1. **Learn Keyboard Shortcuts** - Master essential shortcuts for faster navigation
520
- 2. **Use Side Panel** - Keep tools and settings accessible
521
- 3. **Customize Theme** - Find a theme that works for your eyes
522
- 4. **Save Sessions** - Preserve your work with `/session save`
523
-
524
- ### Navigation
525
-
526
- 1. **Quick Tab Switching** - Use `Ctrl+1-9` to jump to tabs
527
- 2. **Focus Management** - Use `Tab` to cycle through focusable elements
528
- 3. **Chat Input** - Press `Ctrl+Space` to quickly return to input
529
- 4. **Panel Toggle** - Use `Ctrl+P` to show/hide side panel
530
-
531
- ### Context Management
532
-
533
- 1. **Monitor Usage** - Watch the context indicator in header
534
- 2. **Compress Early** - Use `/compact` before hitting limits
535
- 3. **Create Snapshots** - Use `/snapshot create` before major changes
536
- 4. **Clear History** - Use `/clear` to remove old messages
537
-
538
- ---
539
-
540
- ## Related Documentation
541
-
542
- - [Commands Reference](./Commands.md) - All slash commands
543
- - [Keyboard Shortcuts](./keybinds.md) - Complete keybind reference
544
- - [Themes Guide](./Themes.md) - Theme system documentation
545
- - [Terminal Guide](./Terminal.md) - Integrated terminal system
546
- - [Configuration](./configuration.md) - UI configuration options
547
-
548
- ---
549
-
550
- **Last Updated:** January 26, 2026