@tecet/ollm 0.1.4 → 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 (86) hide show
  1. package/dist/cli.js +20 -14
  2. package/dist/cli.js.map +3 -3
  3. package/dist/services/documentService.d.ts.map +1 -1
  4. package/dist/services/documentService.js +12 -2
  5. package/dist/services/documentService.js.map +1 -1
  6. package/dist/ui/components/docs/DocsPanel.d.ts.map +1 -1
  7. package/dist/ui/components/docs/DocsPanel.js +1 -1
  8. package/dist/ui/components/docs/DocsPanel.js.map +1 -1
  9. package/dist/ui/components/launch/VersionBanner.js +1 -1
  10. package/dist/ui/components/launch/VersionBanner.js.map +1 -1
  11. package/dist/ui/components/layout/KeybindsLegend.d.ts.map +1 -1
  12. package/dist/ui/components/layout/KeybindsLegend.js +1 -1
  13. package/dist/ui/components/layout/KeybindsLegend.js.map +1 -1
  14. package/dist/ui/components/tabs/BugReportTab.js +1 -1
  15. package/dist/ui/components/tabs/BugReportTab.js.map +1 -1
  16. package/dist/ui/services/docsService.d.ts +12 -27
  17. package/dist/ui/services/docsService.d.ts.map +1 -1
  18. package/dist/ui/services/docsService.js +40 -67
  19. package/dist/ui/services/docsService.js.map +1 -1
  20. package/docs/README.md +3 -410
  21. package/package.json +10 -7
  22. package/scripts/copy-docs-to-user.cjs +34 -0
  23. package/docs/Context/CheckpointFlowDiagram.md +0 -673
  24. package/docs/Context/ContextArchitecture.md +0 -898
  25. package/docs/Context/ContextCompression.md +0 -1102
  26. package/docs/Context/ContextManagment.md +0 -750
  27. package/docs/Context/Index.md +0 -209
  28. package/docs/Context/README.md +0 -390
  29. package/docs/DevelopmentRoadmap/Index.md +0 -238
  30. package/docs/DevelopmentRoadmap/OLLM-CLI_Releases.md +0 -419
  31. package/docs/DevelopmentRoadmap/PlanedFeatures.md +0 -448
  32. package/docs/DevelopmentRoadmap/README.md +0 -174
  33. package/docs/DevelopmentRoadmap/Roadmap.md +0 -572
  34. package/docs/DevelopmentRoadmap/RoadmapVisual.md +0 -372
  35. package/docs/Hooks/Architecture.md +0 -885
  36. package/docs/Hooks/Index.md +0 -244
  37. package/docs/Hooks/KeyboardShortcuts.md +0 -248
  38. package/docs/Hooks/Protocol.md +0 -817
  39. package/docs/Hooks/README.md +0 -403
  40. package/docs/Hooks/UserGuide.md +0 -1483
  41. package/docs/Hooks/VisualGuide.md +0 -598
  42. package/docs/Index.md +0 -506
  43. package/docs/Installation.md +0 -586
  44. package/docs/Introduction.md +0 -367
  45. package/docs/LLM Models/Index.md +0 -239
  46. package/docs/LLM Models/LLM_GettingStarted.md +0 -748
  47. package/docs/LLM Models/LLM_Index.md +0 -701
  48. package/docs/LLM Models/LLM_MemorySystem.md +0 -337
  49. package/docs/LLM Models/LLM_ModelCompatibility.md +0 -499
  50. package/docs/LLM Models/LLM_ModelsArchitecture.md +0 -933
  51. package/docs/LLM Models/LLM_ModelsCommands.md +0 -839
  52. package/docs/LLM Models/LLM_ModelsConfiguration.md +0 -1094
  53. package/docs/LLM Models/LLM_ModelsList.md +0 -1071
  54. package/docs/LLM Models/LLM_ModelsList.md.backup +0 -400
  55. package/docs/LLM Models/README.md +0 -355
  56. package/docs/MCP/MCP_Architecture.md +0 -1086
  57. package/docs/MCP/MCP_Commands.md +0 -1111
  58. package/docs/MCP/MCP_GettingStarted.md +0 -590
  59. package/docs/MCP/MCP_Index.md +0 -524
  60. package/docs/MCP/MCP_Integration.md +0 -866
  61. package/docs/MCP/MCP_Marketplace.md +0 -160
  62. package/docs/MCP/README.md +0 -415
  63. package/docs/Prompts System/Architecture.md +0 -760
  64. package/docs/Prompts System/Index.md +0 -223
  65. package/docs/Prompts System/PromptsRouting.md +0 -1047
  66. package/docs/Prompts System/PromptsTemplates.md +0 -1102
  67. package/docs/Prompts System/README.md +0 -389
  68. package/docs/Prompts System/SystemPrompts.md +0 -856
  69. package/docs/Quickstart.md +0 -535
  70. package/docs/Tools/Architecture.md +0 -884
  71. package/docs/Tools/GettingStarted.md +0 -624
  72. package/docs/Tools/Index.md +0 -216
  73. package/docs/Tools/ManifestReference.md +0 -141
  74. package/docs/Tools/README.md +0 -440
  75. package/docs/Tools/UserGuide.md +0 -773
  76. package/docs/Troubleshooting.md +0 -1265
  77. package/docs/UI&Settings/Architecture.md +0 -729
  78. package/docs/UI&Settings/ColorASCII.md +0 -34
  79. package/docs/UI&Settings/Commands.md +0 -755
  80. package/docs/UI&Settings/Configuration.md +0 -872
  81. package/docs/UI&Settings/Index.md +0 -293
  82. package/docs/UI&Settings/Keybinds.md +0 -372
  83. package/docs/UI&Settings/README.md +0 -278
  84. package/docs/UI&Settings/Terminal.md +0 -637
  85. package/docs/UI&Settings/Themes.md +0 -604
  86. package/docs/UI&Settings/UIGuide.md +0 -550
@@ -1,604 +0,0 @@
1
- # Themes Guide
2
-
3
- **Last Updated:** January 26, 2026
4
-
5
- Complete guide to the OLLM CLI theme system, including built-in themes, theme management, and customization options.
6
-
7
- ---
8
-
9
- ## Overview
10
-
11
- OLLM CLI includes a comprehensive theming system with 6 built-in color schemes. Themes define colors for backgrounds, text, roles, status states, borders, and diff highlighting. Theme selection persists across sessions.
12
-
13
- ---
14
-
15
- ## Built-in Themes
16
-
17
- ### 1. Solarized Dark (Default)
18
-
19
- **Name:** `solarized-dark`
20
-
21
- **Description:** A precision theme designed to decrease eye strain with carefully balanced colors.
22
-
23
- **Best For:** Long coding sessions, reduced eye fatigue
24
-
25
- **Color Palette:**
26
-
27
- - **Background:** Deep blue-black (#002b36)
28
- - **Text:** Light gray (#839496)
29
- - **Accent:** Yellow-orange (#b58900)
30
- - **User:** Blue (#268bd2)
31
- - **Assistant:** Cyan (#2aa198)
32
- - **Success:** Green (#859900)
33
- - **Error:** Red (#dc322f)
34
-
35
- ---
36
-
37
- ### 2. Neon Dark
38
-
39
- **Name:** `neon-dark`
40
-
41
- **Description:** A balanced dark theme with teal accents, suitable for most terminals.
42
-
43
- **Best For:** General use, modern terminals
44
-
45
- **Color Palette:**
46
-
47
- - **Background:** Very dark gray (#1e1e1e)
48
- - **Text:** Light gray (#d4d4d4)
49
- - **Accent:** Teal (#4ec9b0)
50
- - **User:** Blue (#569cd6)
51
- - **Assistant:** Teal (#4ec9b0)
52
- - **Success:** Teal (#4ec9b0)
53
- - **Error:** Red (#f48771)
54
-
55
- ---
56
-
57
- ### 3. Dracula Dark
58
-
59
- **Name:** `dracula-dark`
60
-
61
- **Description:** A high-contrast theme based on the popular Dracula specification.
62
-
63
- **Best For:** High contrast preference, vibrant colors
64
-
65
- **Color Palette:**
66
-
67
- - **Background:** Dark purple-gray (#282a36)
68
- - **Text:** Off-white (#f8f8f2)
69
- - **Accent:** Purple (#bd93f9)
70
- - **User:** Cyan (#8be9fd)
71
- - **Assistant:** Purple (#bd93f9)
72
- - **Success:** Green (#50fa7b)
73
- - **Error:** Red (#ff5555)
74
-
75
- ---
76
-
77
- ### 4. Nord Dark
78
-
79
- **Name:** `nord-dark`
80
-
81
- **Description:** An arctic, north-bluish color palette with cool tones.
82
-
83
- **Best For:** Cool color preference, minimal aesthetic
84
-
85
- **Color Palette:**
86
-
87
- - **Background:** Dark blue-gray (#2e3440)
88
- - **Text:** Off-white (#eceff4)
89
- - **Accent:** Cyan (#88c0d0)
90
- - **User:** Blue (#81a1c1)
91
- - **Assistant:** Cyan (#88c0d0)
92
- - **Success:** Green (#a3be8c)
93
- - **Error:** Red (#bf616a)
94
-
95
- ---
96
-
97
- ### 5. Monokai Dark
98
-
99
- **Name:** `monokai-dark`
100
-
101
- **Description:** A vibrant, high-contrast theme popular in Sublime Text.
102
-
103
- **Best For:** Vibrant colors, high contrast
104
-
105
- **Color Palette:**
106
-
107
- - **Background:** Dark olive-gray (#272822)
108
- - **Text:** Off-white (#f8f8f2)
109
- - **Accent:** Orange (#fd971f)
110
- - **User:** Cyan (#66d9ef)
111
- - **Assistant:** Green (#a6e22e)
112
- - **Success:** Green (#a6e22e)
113
- - **Error:** Pink (#f92672)
114
-
115
- ---
116
-
117
- ### 6. Solarized Dark 2
118
-
119
- **Name:** `solarized-dark-2`
120
-
121
- **Description:** Alternative Solarized Dark variant (identical to solarized-dark).
122
-
123
- **Note:** This is a duplicate of `solarized-dark` with the same color palette.
124
-
125
- ---
126
-
127
- ## Theme Management
128
-
129
- ### Listing Themes
130
-
131
- View all available themes:
132
-
133
- ```bash
134
- /theme list
135
- ```
136
-
137
- **Output:**
138
-
139
- ```
140
- Available themes:
141
- • solarized-dark (default)
142
- • neon-dark
143
- • dracula-dark
144
- • nord-dark
145
- • monokai-dark
146
- • solarized-dark-2
147
- ```
148
-
149
- ---
150
-
151
- ### Switching Themes
152
-
153
- Switch to a theme permanently:
154
-
155
- ```bash
156
- /theme use <theme-name>
157
- ```
158
-
159
- **Examples:**
160
-
161
- ```bash
162
- /theme use dracula-dark
163
- /theme use nord-dark
164
- /theme use monokai-dark
165
- ```
166
-
167
- **Behavior:**
168
-
169
- 1. Validates theme name
170
- 2. Loads theme colors
171
- 3. Applies theme to UI
172
- 4. Saves selection to `~/.ollm/settings.json`
173
-
174
- **Output:**
175
-
176
- ```
177
- ✓ Theme changed to: dracula-dark
178
- ```
179
-
180
- ---
181
-
182
- ### Previewing Themes
183
-
184
- Preview a theme temporarily without saving:
185
-
186
- ```bash
187
- /theme preview <theme-name>
188
- ```
189
-
190
- **Examples:**
191
-
192
- ```bash
193
- /theme preview nord-dark
194
- /theme preview monokai-dark
195
- ```
196
-
197
- **Behavior:**
198
-
199
- 1. Validates theme name
200
- 2. Loads theme colors
201
- 3. Applies theme to UI
202
- 4. Does NOT save to settings
203
-
204
- **Output:**
205
-
206
- ```
207
- ✓ Previewing theme: nord-dark
208
- (Use /theme use nord-dark to save permanently)
209
- ```
210
-
211
- ---
212
-
213
- ## Theme Configuration
214
-
215
- ### Configuration File
216
-
217
- Theme selection is stored in your user settings:
218
-
219
- **Location:** `~/.ollm/settings.json`
220
-
221
- **Structure:**
222
-
223
- ```json
224
- {
225
- "ui": {
226
- "theme": "solarized-dark"
227
- },
228
- "llm": { ... },
229
- "tools": { ... }
230
- }
231
- ```
232
-
233
- **Path Resolution:**
234
-
235
- - Windows: `C:\Users\<username>\.ollm\settings.json`
236
- - macOS: `/Users/<username>/.ollm/settings.json`
237
- - Linux: `/home/<username>/.ollm/settings.json`
238
-
239
- ---
240
-
241
- ### Default Theme
242
-
243
- The default theme is set in the application configuration:
244
-
245
- **Default:** `solarized-dark`
246
-
247
- **Override:** Use `/theme use <name>` to change the default for your user.
248
-
249
- ---
250
-
251
- ## Theme Structure
252
-
253
- ### Color Categories
254
-
255
- Themes define colors for the following categories:
256
-
257
- **Background Colors:**
258
-
259
- - `primary` - Main background
260
- - `secondary` - Secondary background
261
- - `tertiary` - Tertiary background
262
-
263
- **Text Colors:**
264
-
265
- - `primary` - Main text color
266
- - `secondary` - Secondary text color
267
- - `accent` - Accent/highlight color
268
-
269
- **Role Colors:**
270
-
271
- - `user` - User message color
272
- - `assistant` - Assistant message color
273
- - `system` - System message color
274
- - `tool` - Tool call color
275
-
276
- **Status Colors:**
277
-
278
- - `success` - Success state color
279
- - `warning` - Warning state color
280
- - `error` - Error state color
281
- - `info` - Info state color
282
-
283
- **Border Colors:**
284
-
285
- - `primary` - Primary border color
286
- - `secondary` - Secondary border color
287
- - `active` - Active border color
288
- - `style` - Border style (round, single, double)
289
-
290
- **Diff Colors:**
291
-
292
- - `added` - Added lines in diff
293
- - `removed` - Removed lines in diff
294
-
295
- ---
296
-
297
- ## Theme Usage Examples
298
-
299
- ### Text Colors
300
-
301
- ```typescript
302
- // Primary text (main content)
303
- <Text color={theme.text.primary}>Content</Text>
304
-
305
- // Secondary text (less important)
306
- <Text color={theme.text.secondary}>Details</Text>
307
-
308
- // Accent text (highlights, emphasis)
309
- <Text color={theme.text.accent}>Important!</Text>
310
- ```
311
-
312
- ---
313
-
314
- ### Role Colors
315
-
316
- ```typescript
317
- // User messages
318
- <Text color={theme.role.user}>User: Hello</Text>
319
-
320
- // Assistant messages
321
- <Text color={theme.role.assistant}>Assistant: Hi!</Text>
322
-
323
- // System messages
324
- <Text color={theme.role.system}>System: Ready</Text>
325
-
326
- // Tool calls
327
- <Text color={theme.role.tool}>Tool: execute</Text>
328
- ```
329
-
330
- ---
331
-
332
- ### Status Colors
333
-
334
- ```typescript
335
- // Success state
336
- <Text color={theme.status.success}>✓ Success</Text>
337
-
338
- // Warning state
339
- <Text color={theme.status.warning}>⚠ Warning</Text>
340
-
341
- // Error state
342
- <Text color={theme.status.error}>✗ Error</Text>
343
-
344
- // Info state
345
- <Text color={theme.status.info}>ℹ Info</Text>
346
- ```
347
-
348
- ---
349
-
350
- ### Borders
351
-
352
- ```typescript
353
- // Primary border
354
- <Box borderColor={theme.border.primary} borderStyle={theme.border.style}>
355
- Content
356
- </Box>
357
-
358
- // Active border (focused elements)
359
- <Box borderColor={theme.border.active} borderStyle={theme.border.style}>
360
- Focused
361
- </Box>
362
- ```
363
-
364
- ---
365
-
366
- ### Diff Colors
367
-
368
- ```typescript
369
- // Added lines
370
- <Text color={theme.diff.added}>+ Added line</Text>
371
-
372
- // Removed lines
373
- <Text color={theme.diff.removed}>- Removed line</Text>
374
- ```
375
-
376
- ---
377
-
378
- ## Choosing a Theme
379
-
380
- ### By Use Case
381
-
382
- **Long Coding Sessions:**
383
-
384
- - `solarized-dark` - Reduced eye strain
385
- - `nord-dark` - Cool, minimal aesthetic
386
-
387
- **High Contrast:**
388
-
389
- - `dracula-dark` - Vibrant, high contrast
390
- - `monokai-dark` - Vibrant with warm tones
391
-
392
- **General Use:**
393
-
394
- - `neon-dark` - Balanced, modern
395
- - `solarized-dark` - Precision colors
396
-
397
- ---
398
-
399
- ### By Color Preference
400
-
401
- **Cool Colors (Blues, Cyans):**
402
-
403
- - `solarized-dark`
404
- - `nord-dark`
405
- - `neon-dark`
406
-
407
- **Warm Colors (Purples, Oranges):**
408
-
409
- - `dracula-dark`
410
- - `monokai-dark`
411
-
412
- **Balanced:**
413
-
414
- - `neon-dark`
415
- - `solarized-dark`
416
-
417
- ---
418
-
419
- ## Terminal Compatibility
420
-
421
- ### Color Support
422
-
423
- **Required:** 256-color support
424
- **Recommended:** True color (24-bit) support
425
-
426
- **Check Support:**
427
-
428
- ```bash
429
- # Check TERM variable
430
- echo $TERM
431
-
432
- # Should be one of:
433
- # - xterm-256color
434
- # - screen-256color
435
- # - tmux-256color
436
- ```
437
-
438
- ---
439
-
440
- ### Terminal Emulators
441
-
442
- **Fully Supported:**
443
-
444
- - iTerm2 (macOS)
445
- - Windows Terminal (Windows)
446
- - Alacritty (Cross-platform)
447
- - Kitty (Cross-platform)
448
- - Hyper (Cross-platform)
449
-
450
- **Partially Supported:**
451
-
452
- - macOS Terminal (limited colors)
453
- - GNOME Terminal (Linux)
454
- - Konsole (Linux)
455
-
456
- **Not Recommended:**
457
-
458
- - cmd.exe (Windows) - Use Windows Terminal instead
459
- - Basic xterm - Use modern terminal emulator
460
-
461
- ---
462
-
463
- ## Troubleshooting
464
-
465
- ### Theme Not Applying
466
-
467
- **Symptoms:**
468
-
469
- - Theme command succeeds but colors don't change
470
- - Colors look wrong or default
471
-
472
- **Solutions:**
473
-
474
- 1. Check theme name is correct (case-sensitive)
475
- 2. Verify terminal supports 256 colors
476
- 3. Restart OLLM CLI
477
- 4. Check `~/.ollm/settings.json` for correct theme name
478
-
479
- **Verify:**
480
-
481
- ```bash
482
- # List themes
483
- /theme list
484
-
485
- # Use correct theme name
486
- /theme use solarized-dark
487
- ```
488
-
489
- ---
490
-
491
- ### Theme Not Persisting
492
-
493
- **Symptoms:**
494
-
495
- - Theme resets to default on restart
496
- - Settings not saved
497
-
498
- **Solutions:**
499
-
500
- 1. Check `~/.ollm/` directory exists
501
- 2. Verify `settings.json` is writable
502
- 3. Check for permission errors
503
- 4. Manually edit `settings.json`
504
-
505
- **Verify:**
506
-
507
- ```bash
508
- # Check settings file
509
- cat ~/.ollm/settings.json
510
-
511
- # Should show: {"ui":{"theme":"theme-name"},...}
512
- ```
513
-
514
- ---
515
-
516
- ### Colors Look Wrong
517
-
518
- **Symptoms:**
519
-
520
- - Colors don't match theme description
521
- - Washed out or incorrect colors
522
-
523
- **Solutions:**
524
-
525
- 1. Verify terminal supports true color
526
- 2. Check terminal color scheme not overriding
527
- 3. Try different terminal emulator
528
- 4. Test with different theme
529
-
530
- **Verify:**
531
-
532
- ```bash
533
- # Test true color support
534
- curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh | bash
535
- ```
536
-
537
- ---
538
-
539
- ## Best Practices
540
-
541
- ### For Users
542
-
543
- 1. **Try Multiple Themes** - Preview themes to find your favorite
544
- 2. **Match Terminal** - Choose theme that works with your terminal emulator
545
- 3. **Consider Lighting** - Dark themes for low light, adjust as needed
546
- 4. **Accessibility** - Choose high contrast if needed
547
-
548
- ### For Long Sessions
549
-
550
- 1. **Reduce Eye Strain** - Use `solarized-dark` or `nord-dark`
551
- 2. **Take Breaks** - No theme eliminates need for breaks
552
- 3. **Adjust Brightness** - Match terminal brightness to environment
553
- 4. **Use Blue Light Filter** - Consider OS-level blue light reduction
554
-
555
- ---
556
-
557
- ## Future Enhancements
558
-
559
- ### Planned Features
560
-
561
- **Custom Themes:**
562
-
563
- - User-defined themes in `~/.ollm/themes/`
564
- - Theme import/export
565
- - Theme editor UI
566
-
567
- **Theme Variants:**
568
-
569
- - Light themes
570
- - High contrast themes
571
- - Colorblind-friendly themes
572
-
573
- **Dynamic Theming:**
574
-
575
- - Time-based theme switching
576
- - Context-aware themes
577
- - Adaptive contrast
578
-
579
- **Theme Marketplace:**
580
-
581
- - Community themes
582
- - Theme ratings
583
- - Theme preview gallery
584
-
585
- ---
586
-
587
- ## Related Documentation
588
-
589
- - [UI Guide](./UIGuide.md) - Main interface documentation
590
- - [Configuration](./configuration.md) - Configuration options
591
- - [Commands Reference](./Commands.md) - All slash commands
592
-
593
- ---
594
-
595
- ## External Resources
596
-
597
- - [Solarized Color Scheme](https://ethanschoonover.com/solarized/)
598
- - [Dracula Theme](https://draculatheme.com/)
599
- - [Nord Theme](https://www.nordtheme.com/)
600
- - [Monokai Theme](https://monokai.pro/)
601
-
602
- ---
603
-
604
- **Last Updated:** January 26, 2026