@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,755 +0,0 @@
1
- # Commands Reference
2
-
3
- **Last Updated:** January 26, 2026
4
-
5
- Complete reference for all slash commands available in OLLM CLI. Commands provide quick access to features and can be executed by typing them in the chat input.
6
-
7
- ---
8
-
9
- ## Command Format
10
-
11
- ```
12
- /command [subcommand] [arguments] [--flags]
13
- ```
14
-
15
- **Examples:**
16
-
17
- ```bash
18
- /help # Show help
19
- /model list # List models
20
- /session save my-work # Save session
21
- /mode assist # Switch to assist mode
22
- ```
23
-
24
- ---
25
-
26
- ## Session Management
27
-
28
- ### /new
29
-
30
- Create a new session (clears current context).
31
-
32
- **Usage:** `/new`
33
-
34
- **Aliases:** None
35
-
36
- **Description:** Starts a fresh session with empty context. Current conversation is not saved unless you use `/session save` first.
37
-
38
- ---
39
-
40
- ### /clear
41
-
42
- Clear chat history (keeps context).
43
-
44
- **Usage:** `/clear`
45
-
46
- **Aliases:** `/cls`
47
-
48
- **Description:** Removes all messages from the chat display while preserving the underlying context. Useful for decluttering the UI.
49
-
50
- ---
51
-
52
- ### /compact
53
-
54
- Compress context to reduce token usage.
55
-
56
- **Usage:** `/compact`
57
-
58
- **Aliases:** None
59
-
60
- **Description:** Triggers context compression to summarize older messages and free up tokens. The LLM performs the summarization.
61
-
62
- ---
63
-
64
- ### /session
65
-
66
- Manage chat sessions.
67
-
68
- **Usage:** `/session <subcommand> [arguments]`
69
-
70
- **Subcommands:**
71
-
72
- - `save <name>` - Save current session
73
- - `list` - List saved sessions
74
- - `resume <name>` - Resume a saved session
75
- - `delete <name>` - Delete a saved session
76
- - `export <name> [format]` - Export session (json, markdown, html)
77
-
78
- **Examples:**
79
-
80
- ```bash
81
- /session save my-work
82
- /session list
83
- /session resume my-work
84
- /session export my-work markdown
85
- ```
86
-
87
- ---
88
-
89
- ## Context Management
90
-
91
- ### /context
92
-
93
- Manage context settings and snapshots.
94
-
95
- **Usage:** `/context <subcommand> [arguments]`
96
-
97
- **Subcommands:**
98
-
99
- - `size <tokens>` - Set context size
100
- - `auto` - Enable auto-sizing
101
- - `snapshot` - Create context snapshot
102
- - `restore <id>` - Restore from snapshot
103
- - `list` - List snapshots
104
- - `stats` - Show context statistics
105
-
106
- **Examples:**
107
-
108
- ```bash
109
- /context size 16384
110
- /context auto
111
- /context snapshot
112
- /context stats
113
- ```
114
-
115
- ---
116
-
117
- ### /snapshot
118
-
119
- Manage context snapshots.
120
-
121
- **Usage:** `/snapshot <subcommand> [arguments]`
122
-
123
- **Subcommands:**
124
-
125
- - `list` - List all snapshots
126
- - `show <id>` - Show snapshot details
127
- - `restore <id>` - Restore from snapshot
128
- - `rollback` - Rollback to previous snapshot
129
- - `create [name]` - Create named snapshot
130
-
131
- **Examples:**
132
-
133
- ```bash
134
- /snapshot list
135
- /snapshot create before-refactor
136
- /snapshot restore snap-123
137
- /snapshot rollback
138
- ```
139
-
140
- ---
141
-
142
- ## Model Management
143
-
144
- ### /model
145
-
146
- Manage models and model selection.
147
-
148
- **Usage:** `/model <subcommand> [arguments]`
149
-
150
- **Subcommands:**
151
-
152
- - `list` - List available models
153
- - `use <name>` - Switch to a model
154
- - `pull <name>` - Download a model
155
- - `delete <name>` - Delete a model
156
- - `info <name>` - Show model information
157
- - `keep <name>` - Keep model in memory
158
- - `unload <name>` - Unload model from memory
159
- - `help` - Show model help
160
-
161
- **Examples:**
162
-
163
- ```bash
164
- /model list
165
- /model use llama3:8b
166
- /model pull llama3.2:3b
167
- /model info llama3:8b
168
- /model keep llama3:8b
169
- ```
170
-
171
- ---
172
-
173
- ## Mode Management
174
-
175
- ### /mode
176
-
177
- Switch operational modes.
178
-
179
- **Usage:** `/mode <mode-name>`
180
-
181
- **Available Modes:**
182
-
183
- - `assist` - Assistant mode (general help)
184
- - `plan` - Planning mode (task planning)
185
- - `dev` - Developer mode (coding focus)
186
- - `debug` - Debugger mode (error analysis)
187
- - `review` - Review mode (code review)
188
- - `architect` - Architect mode (system design)
189
- - `test` - Test mode (testing focus)
190
- - `docs` - Documentation mode
191
- - `research` - Research mode
192
- - `project` - Project mode
193
-
194
- **Aliases:** `/m`
195
-
196
- **Examples:**
197
-
198
- ```bash
199
- /mode assist
200
- /mode dev
201
- /mode plan
202
- ```
203
-
204
- ---
205
-
206
- ### Mode Shortcuts
207
-
208
- Quick shortcuts for common modes:
209
-
210
- **`/assist`** (alias: `/a`)
211
-
212
- - Switch to assistant mode
213
- - General-purpose help and guidance
214
-
215
- **`/plan`** (alias: `/p`)
216
-
217
- - Switch to planning mode
218
- - Task breakdown and planning
219
-
220
- **`/dev`** (alias: `/d`)
221
-
222
- - Switch to developer mode
223
- - Coding and development focus
224
-
225
- **`/debug`**
226
-
227
- - Debugger mode with subcommands:
228
- - `trace` - Analyze stack trace
229
- - `reproduce` - Reproduce error
230
- - `bisect` - Binary search for bug
231
-
232
- **Examples:**
233
-
234
- ```bash
235
- /assist
236
- /plan
237
- /dev
238
- /debug trace
239
- ```
240
-
241
- ---
242
-
243
- ## Provider Management
244
-
245
- ### /provider
246
-
247
- Manage LLM providers.
248
-
249
- **Usage:** `/provider <subcommand> [arguments]`
250
-
251
- **Subcommands:**
252
-
253
- - `list` - List available providers
254
- - `use <name>` - Switch to a provider
255
-
256
- **Examples:**
257
-
258
- ```bash
259
- /provider list
260
- /provider use ollama
261
- ```
262
-
263
- ---
264
-
265
- ## Configuration
266
-
267
- ### /config
268
-
269
- View and manage configuration.
270
-
271
- **Usage:** `/config <subcommand> [arguments]`
272
-
273
- **Subcommands:**
274
-
275
- - `show` - Show current configuration
276
- - `set <key> <value>` - Set configuration value
277
- - `get <key>` - Get configuration value
278
- - `reset` - Reset to defaults
279
-
280
- **Examples:**
281
-
282
- ```bash
283
- /config show
284
- /config set theme dark
285
- /config get theme
286
- ```
287
-
288
- ---
289
-
290
- ## MCP (Model Context Protocol)
291
-
292
- ### /mcp
293
-
294
- Manage MCP servers and capabilities.
295
-
296
- **Usage:** `/mcp <subcommand> [arguments]`
297
-
298
- **Subcommands:**
299
-
300
- - `list [--tools|--resources|--prompts]` - List MCP servers or capabilities
301
- - `tools <server>` - List tools from a server
302
- - `resources <server>` - List resources from a server
303
- - `prompts <server>` - List prompts from a server
304
- - `status [server]` - Show server status
305
- - `health` - Check health of all servers
306
- - `health check <server>` - Check specific server health
307
- - `restart <server>` - Restart a server
308
- - `health start` - Start health monitoring
309
- - `health stop` - Stop health monitoring
310
- - `health status` - Show monitoring status
311
-
312
- **Examples:**
313
-
314
- ```bash
315
- /mcp list
316
- /mcp list --tools
317
- /mcp tools github
318
- /mcp status github
319
- /mcp health
320
- /mcp restart github
321
- ```
322
-
323
- ---
324
-
325
- ### MCP OAuth
326
-
327
- Manage OAuth authentication for MCP servers.
328
-
329
- **Usage:** `/mcp oauth <subcommand> [arguments]`
330
-
331
- **Subcommands:**
332
-
333
- - `login <server>` - Authenticate with OAuth
334
- - `status <server>` - Check token status
335
- - `revoke <server>` - Revoke tokens
336
- - `list` - List all tokens
337
-
338
- **Examples:**
339
-
340
- ```bash
341
- /mcp oauth login github
342
- /mcp oauth status github
343
- /mcp oauth revoke github
344
- ```
345
-
346
- ---
347
-
348
- ## Extensions
349
-
350
- ### /extensions
351
-
352
- Manage extensions from the marketplace.
353
-
354
- **Usage:** `/extensions <subcommand> [arguments]`
355
-
356
- **Aliases:** `/ext`
357
-
358
- **Subcommands:**
359
-
360
- - `search <query> [--limit <n>]` - Search marketplace
361
- - `install <name> [version]` - Install extension
362
- - `list [--all]` - List installed extensions
363
- - `enable <name>` - Enable extension
364
- - `disable <name>` - Disable extension
365
- - `info <name>` - Show extension details
366
- - `reload` - Reload all extensions
367
-
368
- **Examples:**
369
-
370
- ```bash
371
- /extensions search github
372
- /extensions install github-integration
373
- /extensions list
374
- /extensions enable github-integration
375
- /extensions info github-integration
376
- ```
377
-
378
- ---
379
-
380
- ## Hooks
381
-
382
- ### /hooks
383
-
384
- Manage automation hooks.
385
-
386
- **Usage:** `/hooks <subcommand>`
387
-
388
- **Subcommands:**
389
-
390
- - `debug on` - Enable hook debugging
391
- - `debug off` - Disable hook debugging
392
-
393
- **Examples:**
394
-
395
- ```bash
396
- /hooks debug on
397
- /hooks debug off
398
- ```
399
-
400
- ---
401
-
402
- ## Git Integration
403
-
404
- ### /git
405
-
406
- Git operations and version control.
407
-
408
- **Usage:** `/git <subcommand> [arguments]`
409
-
410
- **Subcommands:**
411
-
412
- - `status` - Show git status
413
- - `diff` - Show git diff
414
- - `commit <message>` - Commit changes
415
- - `log [n]` - Show commit log
416
- - `branch` - List branches
417
- - `checkout <branch>` - Switch branch
418
-
419
- **Examples:**
420
-
421
- ```bash
422
- /git status
423
- /git diff
424
- /git commit "Fix bug"
425
- /git log 5
426
- ```
427
-
428
- ---
429
-
430
- ## Review & Diff
431
-
432
- ### /review
433
-
434
- Manage diff review mode.
435
-
436
- **Usage:** `/review <subcommand>`
437
-
438
- **Subcommands:**
439
-
440
- - `enable` - Enable diff review mode
441
- - `disable` - Disable diff review mode
442
- - `pending` - Show pending reviews
443
-
444
- **Examples:**
445
-
446
- ```bash
447
- /review enable
448
- /review pending
449
- /review disable
450
- ```
451
-
452
- ---
453
-
454
- ## Workflows
455
-
456
- ### /workflow
457
-
458
- Manage multi-step workflows.
459
-
460
- **Usage:** `/workflow <subcommand> [arguments]`
461
-
462
- **Aliases:** `/wf`
463
-
464
- **Subcommands:**
465
-
466
- - `start <name>` - Start a workflow
467
- - `status` - Show current workflow progress
468
- - `next` - Move to next step
469
- - `prev` - Go back to previous step
470
- - `skip` - Skip current step (if optional)
471
- - `pause` - Pause workflow
472
- - `resume` - Resume paused workflow
473
- - `exit` - Exit current workflow
474
- - `list` - List available workflows
475
-
476
- **Examples:**
477
-
478
- ```bash
479
- /workflow start refactor
480
- /workflow status
481
- /workflow next
482
- /workflow pause
483
- ```
484
-
485
- ---
486
-
487
- ## Templates
488
-
489
- ### /template
490
-
491
- Manage prompt templates.
492
-
493
- **Usage:** `/template <subcommand> [arguments]`
494
-
495
- **Subcommands:**
496
-
497
- - `list` - List available templates
498
- - `use <name>` - Use a template
499
- - `create <name>` - Create new template
500
-
501
- **Examples:**
502
-
503
- ```bash
504
- /template list
505
- /template use code-review
506
- /template create my-template
507
- ```
508
-
509
- ---
510
-
511
- ## Themes
512
-
513
- ### /theme
514
-
515
- Manage UI themes.
516
-
517
- **Usage:** `/theme <subcommand> [arguments]`
518
-
519
- **Subcommands:**
520
-
521
- - `list` - List available themes
522
- - `use <name>` - Switch to a theme
523
- - `preview <name>` - Preview a theme
524
-
525
- **Examples:**
526
-
527
- ```bash
528
- /theme list
529
- /theme use dark
530
- /theme preview monokai
531
- ```
532
-
533
- See [Themes Guide](./Themes.md) for detailed theme documentation.
534
-
535
- ---
536
-
537
- ## Memory Management
538
-
539
- ### /memory
540
-
541
- Manage cross-session memory.
542
-
543
- **Usage:** `/memory <subcommand> [arguments]`
544
-
545
- **Subcommands:**
546
-
547
- - `list` - List stored memories
548
- - `add <key> <value>` - Add memory
549
- - `get <key>` - Get memory value
550
- - `delete <key>` - Delete memory
551
- - `clear` - Clear all memories
552
-
553
- **Examples:**
554
-
555
- ```bash
556
- /memory list
557
- /memory add project-name "My Project"
558
- /memory get project-name
559
- ```
560
-
561
- ---
562
-
563
- ## Project Profiles
564
-
565
- ### /project
566
-
567
- Manage project profiles.
568
-
569
- **Usage:** `/project <subcommand> [arguments]`
570
-
571
- **Subcommands:**
572
-
573
- - `detect` - Auto-detect project type
574
- - `use <profile>` - Use a project profile
575
- - `init` - Initialize project profile
576
-
577
- **Examples:**
578
-
579
- ```bash
580
- /project detect
581
- /project use react
582
- /project init
583
- ```
584
-
585
- ---
586
-
587
- ## Metrics & Performance
588
-
589
- ### /metrics
590
-
591
- Manage performance metrics display.
592
-
593
- **Usage:** `/metrics [subcommand]`
594
-
595
- **Subcommands:**
596
-
597
- - `toggle` - Toggle metrics display
598
- - `reset` - Reset metrics
599
- - (no args) - Show current metrics
600
-
601
- **Examples:**
602
-
603
- ```bash
604
- /metrics
605
- /metrics toggle
606
- /metrics reset
607
- ```
608
-
609
- ---
610
-
611
- ## Reasoning Display
612
-
613
- ### /reasoning
614
-
615
- Manage reasoning display for models that support it.
616
-
617
- **Usage:** `/reasoning <subcommand>`
618
-
619
- **Subcommands:**
620
-
621
- - `toggle` - Toggle reasoning display
622
- - `expand` - Expand reasoning
623
- - `collapse` - Collapse reasoning
624
-
625
- **Examples:**
626
-
627
- ```bash
628
- /reasoning toggle
629
- /reasoning expand
630
- ```
631
-
632
- ---
633
-
634
- ## Comparison Mode
635
-
636
- ### /compare
637
-
638
- Compare outputs from multiple models.
639
-
640
- **Usage:** `/compare <model1> <model2> [model3...]`
641
-
642
- **Description:** Sends the same prompt to multiple models and displays their responses side-by-side for comparison.
643
-
644
- **Examples:**
645
-
646
- ```bash
647
- /compare llama3:8b llama3:13b
648
- /compare llama3:8b mistral:7b codellama:7b
649
- ```
650
-
651
- ---
652
-
653
- ## Utility Commands
654
-
655
- ### /help
656
-
657
- Show help information.
658
-
659
- **Usage:** `/help [command]`
660
-
661
- **Aliases:** `/?`
662
-
663
- **Description:** Displays general help or detailed help for a specific command.
664
-
665
- **Examples:**
666
-
667
- ```bash
668
- /help
669
- /help model
670
- /help session
671
- ```
672
-
673
- ---
674
-
675
- ### /exit
676
-
677
- Exit OLLM CLI.
678
-
679
- **Usage:** `/exit`
680
-
681
- **Aliases:** `/quit`, `/q`
682
-
683
- **Description:** Closes the application. Unsaved sessions will be lost unless auto-save is enabled.
684
-
685
- ---
686
-
687
- ### /home
688
-
689
- Return to the launch screen.
690
-
691
- **Usage:** `/home`
692
-
693
- **Description:** Returns to the main menu or launch screen.
694
-
695
- ---
696
-
697
- ### /test prompt
698
-
699
- Dump current prompt/context details.
700
-
701
- **Usage:** `/test prompt`
702
-
703
- **Description:** Displays detailed information about the current prompt and context as a system message. Useful for debugging.
704
-
705
- ---
706
-
707
- ## Command Aliases Quick Reference
708
-
709
- | Command | Aliases |
710
- | ------------- | ------------- |
711
- | `/help` | `/?` |
712
- | `/exit` | `/quit`, `/q` |
713
- | `/clear` | `/cls` |
714
- | `/mode` | `/m` |
715
- | `/assist` | `/a` |
716
- | `/plan` | `/p` |
717
- | `/dev` | `/d` |
718
- | `/workflow` | `/wf` |
719
- | `/extensions` | `/ext` |
720
-
721
- ---
722
-
723
- ## Tips
724
-
725
- ### Command Discovery
726
-
727
- - Use `/help` to see all available commands
728
- - Use `/help <command>` for detailed command help
729
- - Commands support tab completion (when implemented)
730
-
731
- ### Command Shortcuts
732
-
733
- - Learn common aliases for faster typing
734
- - Use mode shortcuts (`/assist`, `/dev`, `/plan`) instead of `/mode`
735
- - Abbreviate subcommands when unambiguous
736
-
737
- ### Command History
738
-
739
- - Use `Up` arrow to recall previous commands
740
- - Commands are saved in shell history
741
- - Edit and re-execute previous commands
742
-
743
- ---
744
-
745
- ## Related Documentation
746
-
747
- - [UI Guide](./UIGuide.md) - Main interface documentation
748
- - [Keyboard Shortcuts](./keybinds.md) - Keybind reference
749
- - [Configuration](./configuration.md) - Configuration options
750
- - [MCP Integration](../MCP/MCP_Index.md) - MCP system documentation
751
- - [Hooks System](../Hooks/UserGuide.md) - Hooks documentation
752
-
753
- ---
754
-
755
- **Last Updated:** January 26, 2026