@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,1111 +0,0 @@
1
- # MCP Commands Reference
2
-
3
- **Complete CLI Command Reference for MCP Integration**
4
-
5
- ---
6
-
7
- ## Table of Contents
8
-
9
- 1. [Overview](#overview)
10
- 2. [MCP Server Commands](#mcp-server-commands)
11
- 3. [MCP Health Commands](#mcp-health-commands)
12
- 4. [MCP OAuth Commands](#mcp-oauth-commands)
13
- 5. [Hook Commands](#hook-commands)
14
- 6. [Extension Commands](#extension-commands)
15
- 7. [Command Examples](#command-examples)
16
-
17
- ---
18
-
19
- ## Overview
20
-
21
- OLLM CLI provides comprehensive command-line interface for managing MCP servers, hooks, and extensions. All commands are accessible via the `/` prefix in the CLI.
22
-
23
- ### Command Categories
24
-
25
- - **MCP Server**: Manage MCP server lifecycle
26
- - **MCP Health**: Monitor and maintain server health
27
- - **MCP OAuth**: Manage OAuth authentication
28
- - **Hooks**: Debug and manage hooks
29
- - **Extensions**: Install and manage extensions
30
-
31
- ---
32
-
33
- ## MCP Server Commands
34
-
35
- ### `/mcp`
36
-
37
- List all MCP servers and their status.
38
-
39
- **Usage:**
40
-
41
- ```bash
42
- /mcp
43
- ```
44
-
45
- **Output:**
46
-
47
- ```
48
- 3 MCP server(s):
49
-
50
- [βœ“] github (connected)
51
- Tools: 12
52
-
53
- [βœ—] slack (error)
54
- Error: Connection timeout
55
-
56
- [β—‹] notion (disconnected)
57
- ```
58
-
59
- **Status Icons:**
60
-
61
- - `βœ“` - Connected and healthy
62
- - `βœ—` - Error or failed
63
- - `β—‹` - Disconnected or not started
64
-
65
- ---
66
-
67
- ### `/mcp tools <server>`
68
-
69
- List tools available from a specific MCP server.
70
-
71
- **Usage:**
72
-
73
- ```bash
74
- /mcp tools github
75
- ```
76
-
77
- **Output:**
78
-
79
- ```
80
- 12 tool(s) from 'github':
81
-
82
- 1. github_create_issue
83
- Create a new issue in a repository
84
- Input schema: {
85
- "repo": "string (required)",
86
- "title": "string (required)",
87
- "body": "string (optional)"
88
- }
89
-
90
- 2. github_list_issues
91
- List issues in a repository
92
- Input schema: {
93
- "repo": "string (required)",
94
- "state": "string (optional, default: open)"
95
- }
96
-
97
- ...
98
- ```
99
-
100
- ---
101
-
102
- ### `/mcp resources <server>`
103
-
104
- List resources available from a specific MCP server.
105
-
106
- **Usage:**
107
-
108
- ```bash
109
- /mcp resources github
110
- ```
111
-
112
- **Output:**
113
-
114
- ```
115
- 5 resource(s) from 'github':
116
-
117
- 1. repository
118
- URI: github://repo/{owner}/{repo}
119
- Access repository information
120
-
121
- 2. issue
122
- URI: github://issue/{owner}/{repo}/{number}
123
- Access issue details
124
-
125
- ...
126
- ```
127
-
128
- ---
129
-
130
- ### `/mcp prompts <server>`
131
-
132
- List prompts available from a specific MCP server.
133
-
134
- **Usage:**
135
-
136
- ```bash
137
- /mcp prompts github
138
- ```
139
-
140
- **Output:**
141
-
142
- ```
143
- 3 prompt(s) from 'github':
144
-
145
- 1. create-pr
146
- Create a pull request
147
- Arguments:
148
- - title (required): PR title
149
- - body (optional): PR description
150
-
151
- 2. review-code
152
- Review code changes
153
- Arguments:
154
- - repo (required): Repository name
155
- - pr (required): PR number
156
-
157
- ...
158
- ```
159
-
160
- ---
161
-
162
- ### `/mcp status [server]`
163
-
164
- Show detailed status of MCP servers.
165
-
166
- **Usage:**
167
-
168
- ```bash
169
- # All servers
170
- /mcp status
171
-
172
- # Specific server
173
- /mcp status github
174
- ```
175
-
176
- **Output (all servers):**
177
-
178
- ```
179
- 3 MCP server(s):
180
-
181
- [βœ“] github: connected (12 tools)
182
- [βœ—] slack: error (0 tools)
183
- [β—‹] notion: disconnected (0 tools)
184
- ```
185
-
186
- **Output (specific server):**
187
-
188
- ```
189
- Server: github
190
- Status: connected
191
- Tools: 12
192
- Resources: 5
193
- Prompts: 3
194
- Uptime: 2h 34m
195
- Last Check: 2 seconds ago
196
- ```
197
-
198
- ---
199
-
200
- ## MCP Health Commands
201
-
202
- ### `/mcp health`
203
-
204
- Check health status of all MCP servers.
205
-
206
- **Usage:**
207
-
208
- ```bash
209
- /mcp health
210
- ```
211
-
212
- **Output:**
213
-
214
- ```
215
- **MCP Server Health Status**
216
-
217
- βœ… **github** - connected
218
- Tools: 12
219
-
220
- ❌ **slack** - error
221
- Error: Connection timeout
222
-
223
- ⚠️ **notion** - degraded
224
- Tools: 8 (slow response)
225
- ```
226
-
227
- ---
228
-
229
- ### `/mcp health check <server>`
230
-
231
- Check health of a specific MCP server.
232
-
233
- **Usage:**
234
-
235
- ```bash
236
- /mcp health check github
237
- ```
238
-
239
- **Output:**
240
-
241
- ```
242
- **github** Health Check
243
-
244
- βœ… **Status:** connected
245
- πŸ• **Checked:** 2:30:45 PM
246
- ⚑ **Response Time:** 45ms
247
- πŸ”§ **Tools:** 12
248
-
249
- βœ… Server is healthy and responding normally.
250
- ```
251
-
252
- ---
253
-
254
- ### `/mcp restart <server>`
255
-
256
- Manually restart an MCP server.
257
-
258
- **Usage:**
259
-
260
- ```bash
261
- /mcp restart slack
262
- ```
263
-
264
- **Output:**
265
-
266
- ```
267
- πŸ”„ Restarting server "slack"...
268
- βœ… Successfully restarted server "slack"
269
- ```
270
-
271
- **Notes:**
272
-
273
- - Stops the server gracefully
274
- - Starts a new server process
275
- - Re-discovers tools
276
- - Updates tool registry
277
-
278
- ---
279
-
280
- ### `/mcp health start`
281
-
282
- Start automatic health monitoring.
283
-
284
- **Usage:**
285
-
286
- ```bash
287
- /mcp health start
288
- ```
289
-
290
- **Output:**
291
-
292
- ```
293
- βœ… Health monitoring started
294
-
295
- MCP servers will be checked periodically.
296
- Failed servers will be automatically restarted.
297
- ```
298
-
299
- **Configuration:**
300
-
301
- - Check interval: 30 seconds (configurable)
302
- - Max restart attempts: 3
303
- - Exponential backoff: 1s, 2s, 4s
304
-
305
- ---
306
-
307
- ### `/mcp health stop`
308
-
309
- Stop automatic health monitoring.
310
-
311
- **Usage:**
312
-
313
- ```bash
314
- /mcp health stop
315
- ```
316
-
317
- **Output:**
318
-
319
- ```
320
- ⏸️ Health monitoring stopped
321
- ```
322
-
323
- ---
324
-
325
- ### `/mcp health status`
326
-
327
- Show health monitoring status.
328
-
329
- **Usage:**
330
-
331
- ```bash
332
- /mcp health status
333
- ```
334
-
335
- **Output:**
336
-
337
- ```
338
- **Health Monitoring Status**
339
-
340
- πŸ“Š **Status:** βœ… Running
341
- πŸ–₯️ **Servers:** 3
342
- ⏱️ **Check Interval:** 30 seconds
343
- πŸ”„ **Auto-Restart:** Enabled
344
- πŸ“ˆ **Uptime:** 2h 34m
345
-
346
- βœ… Automatic health checks are active.
347
- Failed servers will be automatically restarted.
348
- ```
349
-
350
- ---
351
-
352
- ### `/mcp health help`
353
-
354
- Show help for health monitoring commands.
355
-
356
- **Usage:**
357
-
358
- ```bash
359
- /mcp health help
360
- ```
361
-
362
- **Output:**
363
-
364
- ````
365
- **MCP Health Monitoring**
366
-
367
- Automatically monitors MCP server health and restarts failed servers.
368
-
369
- **Available Commands:**
370
-
371
- `/mcp health` - Check health of all servers
372
- `/mcp health check <server>` - Check specific server
373
- `/mcp restart <server>` - Manually restart a server
374
- `/mcp health start` - Start automatic monitoring
375
- `/mcp health stop` - Stop automatic monitoring
376
- `/mcp health status` - Show monitoring status
377
-
378
- **Features:**
379
-
380
- - Periodic health checks (every 30 seconds)
381
- - Automatic restart on failure (up to 3 attempts)
382
- - Exponential backoff between restart attempts
383
- - Event notifications for health changes
384
-
385
- **Configuration:**
386
-
387
- Health monitoring can be configured in your config file:
388
-
389
- ```yaml
390
- mcpHealth:
391
- enabled: true
392
- checkInterval: 30000 # 30 seconds
393
- maxRestartAttempts: 3
394
- autoRestart: true
395
- ````
396
-
397
- ````
398
-
399
- ---
400
-
401
- ## MCP OAuth Commands
402
-
403
- ### `/mcp oauth login <server>`
404
-
405
- Start OAuth authentication flow for an MCP server.
406
-
407
- **Usage:**
408
- ```bash
409
- /mcp oauth login github
410
- ````
411
-
412
- **Output:**
413
-
414
- ```
415
- πŸ” Starting OAuth flow for "github"...
416
-
417
- Opening browser for authorization...
418
- URL: https://github.com/login/oauth/authorize?client_id=...
419
-
420
- Waiting for authorization...
421
- βœ… Authorization successful!
422
- πŸ”‘ Token stored securely.
423
-
424
- Server "github" is now authenticated.
425
- ```
426
-
427
- **Process:**
428
-
429
- 1. Opens browser to authorization page
430
- 2. User authorizes the application
431
- 3. Receives authorization code
432
- 4. Exchanges code for access token
433
- 5. Stores token securely (keychain or encrypted file)
434
-
435
- ---
436
-
437
- ### `/mcp oauth status <server>`
438
-
439
- Check OAuth authentication status for an MCP server.
440
-
441
- **Usage:**
442
-
443
- ```bash
444
- /mcp oauth status github
445
- ```
446
-
447
- **Output (authenticated):**
448
-
449
- ```
450
- **OAuth Status: github**
451
-
452
- βœ… **Authenticated**
453
- πŸ”‘ **Token:** Valid
454
- ⏰ **Expires:** 2026-02-15 14:30:00 (29 days)
455
- πŸ”„ **Auto-Refresh:** Enabled
456
- πŸ“‹ **Scopes:** repo, user, read:org
457
-
458
- Token will be automatically refreshed before expiration.
459
- ```
460
-
461
- **Output (not authenticated):**
462
-
463
- ```
464
- **OAuth Status: github**
465
-
466
- ❌ **Not Authenticated**
467
-
468
- Use `/mcp oauth login github` to authenticate.
469
- ```
470
-
471
- ---
472
-
473
- ### `/mcp oauth revoke <server>`
474
-
475
- Revoke OAuth token for an MCP server.
476
-
477
- **Usage:**
478
-
479
- ```bash
480
- /mcp oauth revoke github
481
- ```
482
-
483
- **Output:**
484
-
485
- ```
486
- πŸ” Revoking OAuth token for "github"...
487
-
488
- βœ… Token revoked successfully.
489
- πŸ—‘οΈ Token removed from storage.
490
-
491
- Server "github" is no longer authenticated.
492
- Use `/mcp oauth login github` to re-authenticate.
493
- ```
494
-
495
- **Actions:**
496
-
497
- - Revokes token with OAuth provider (if supported)
498
- - Removes token from local storage
499
- - Requires re-authentication for future use
500
-
501
- ---
502
-
503
- ### `/mcp oauth list`
504
-
505
- List OAuth authentication status for all servers.
506
-
507
- **Usage:**
508
-
509
- ```bash
510
- /mcp oauth list
511
- ```
512
-
513
- **Output:**
514
-
515
- ```
516
- **OAuth Authentication Status**
517
-
518
- βœ… **github** - Authenticated
519
- Expires: 2026-02-15 (29 days)
520
- Scopes: repo, user
521
-
522
- ❌ **slack** - Not Authenticated
523
- Use `/mcp oauth login slack`
524
-
525
- βœ… **notion** - Authenticated
526
- Expires: 2026-03-01 (44 days)
527
- Scopes: read, write
528
- ```
529
-
530
- ---
531
-
532
- ### `/mcp oauth help`
533
-
534
- Show help for OAuth commands.
535
-
536
- **Usage:**
537
-
538
- ```bash
539
- /mcp oauth help
540
- ```
541
-
542
- **Output:**
543
-
544
- ```
545
- **MCP OAuth Authentication**
546
-
547
- Manage OAuth 2.0 authentication for MCP servers.
548
-
549
- **Available Commands:**
550
-
551
- `/mcp oauth login <server>` - Start OAuth flow
552
- `/mcp oauth status <server>` - Check authentication status
553
- `/mcp oauth revoke <server>` - Revoke OAuth token
554
- `/mcp oauth list` - List all OAuth statuses
555
-
556
- **Features:**
557
-
558
- - OAuth 2.0 with PKCE flow
559
- - Secure token storage (keychain + encrypted file)
560
- - Automatic token refresh before expiration
561
- - Browser-based authorization
562
- - Token revocation support
563
-
564
- **Token Storage:**
565
-
566
- Tokens are stored securely:
567
- - Primary: Platform keychain (Credential Manager, Keychain, Secret Service)
568
- - Fallback: Encrypted file (~/.ollm/oauth-tokens.json)
569
- - Encryption: AES-256-GCM
570
- - Permissions: User-only access
571
- ```
572
-
573
- ---
574
-
575
- ## Hook Commands
576
-
577
- ### `/hooks debug on`
578
-
579
- Enable hook debugging mode.
580
-
581
- **Usage:**
582
-
583
- ```bash
584
- /hooks debug on
585
- ```
586
-
587
- **Output:**
588
-
589
- ```
590
- βœ… Hook debugging enabled
591
-
592
- Hook execution will be traced and logged.
593
- Use `/hooks debug status` to view traces.
594
- ```
595
-
596
- ---
597
-
598
- ### `/hooks debug off`
599
-
600
- Disable hook debugging mode.
601
-
602
- **Usage:**
603
-
604
- ```bash
605
- /hooks debug off
606
- ```
607
-
608
- **Output:**
609
-
610
- ```
611
- ⏸️ Hook debugging disabled
612
- ```
613
-
614
- ---
615
-
616
- ### `/hooks debug status`
617
-
618
- Show hook debugging status and recent traces.
619
-
620
- **Usage:**
621
-
622
- ```bash
623
- /hooks debug status
624
- ```
625
-
626
- **Output:**
627
-
628
- ```
629
- **Hook Debugging Status**
630
-
631
- πŸ“Š **Status:** βœ… Enabled
632
- πŸ“ **Traces:** 15
633
- ⏱️ **Since:** 2026-01-16 14:30:00
634
-
635
- **Recent Traces:**
636
-
637
- 1. validate-input (before_model)
638
- βœ… Success - 45ms
639
- Source: workspace
640
-
641
- 2. log-request (before_agent)
642
- βœ… Success - 12ms
643
- Source: user
644
-
645
- 3. check-permissions (before_tool)
646
- ❌ Failed - 230ms
647
- Error: Permission denied
648
- Source: downloaded
649
- ```
650
-
651
- ---
652
-
653
- ### `/hooks debug clear`
654
-
655
- Clear all hook debug traces.
656
-
657
- **Usage:**
658
-
659
- ```bash
660
- /hooks debug clear
661
- ```
662
-
663
- **Output:**
664
-
665
- ```
666
- πŸ—‘οΈ Cleared 15 debug traces
667
- ```
668
-
669
- ---
670
-
671
- ### `/hooks debug export [format]`
672
-
673
- Export hook debug traces.
674
-
675
- **Usage:**
676
-
677
- ```bash
678
- # Export as JSON
679
- /hooks debug export json
680
-
681
- # Export as pretty text
682
- /hooks debug export pretty
683
-
684
- # Export as compact text
685
- /hooks debug export compact
686
- ```
687
-
688
- **Output:**
689
-
690
- ```
691
- πŸ“„ Exported 15 traces to: ~/.ollm/hook-traces-2026-01-16.json
692
- ```
693
-
694
- ---
695
-
696
- ### `/hooks debug summary`
697
-
698
- Show summary statistics of hook execution.
699
-
700
- **Usage:**
701
-
702
- ```bash
703
- /hooks debug summary
704
- ```
705
-
706
- **Output:**
707
-
708
- ```
709
- **Hook Execution Summary**
710
-
711
- πŸ“Š **Total Executions:** 150
712
- βœ… **Successful:** 142 (94.7%)
713
- ❌ **Failed:** 8 (5.3%)
714
- ⏱️ **Average Duration:** 67ms
715
-
716
- **By Hook:**
717
- - validate-input: 45 executions, 100% success, 45ms avg
718
- - log-request: 50 executions, 100% success, 12ms avg
719
- - check-permissions: 30 executions, 80% success, 230ms avg
720
-
721
- **By Event:**
722
- - before_model: 50 executions, 96% success
723
- - before_agent: 50 executions, 100% success
724
- - before_tool: 30 executions, 80% success
725
- ```
726
-
727
- ---
728
-
729
- ### `/hooks debug failed`
730
-
731
- Show only failed hook executions.
732
-
733
- **Usage:**
734
-
735
- ```bash
736
- /hooks debug failed
737
- ```
738
-
739
- **Output:**
740
-
741
- ```
742
- **Failed Hook Executions (8)**
743
-
744
- 1. check-permissions (before_tool)
745
- ❌ Failed - 230ms
746
- Error: Permission denied
747
- Source: downloaded
748
- Time: 2026-01-16 14:35:12
749
-
750
- 2. validate-schema (before_model)
751
- ❌ Failed - 120ms
752
- Error: Invalid schema
753
- Source: workspace
754
- Time: 2026-01-16 14:32:45
755
-
756
- ...
757
- ```
758
-
759
- ---
760
-
761
- ### `/hooks list`
762
-
763
- List all registered hooks.
764
-
765
- **Usage:**
766
-
767
- ```bash
768
- /hooks list
769
- ```
770
-
771
- **Output:**
772
-
773
- ```
774
- **Registered Hooks**
775
-
776
- **before_model (3 hooks):**
777
- 1. validate-input (workspace)
778
- 2. log-request (user)
779
- 3. check-schema (downloaded)
780
-
781
- **before_agent (2 hooks):**
782
- 1. init-session (user)
783
- 2. load-context (workspace)
784
-
785
- **before_tool (1 hook):**
786
- 1. check-permissions (downloaded)
787
- ```
788
-
789
- ---
790
-
791
- ## Extension Commands
792
-
793
- ### `/extensions search <query>`
794
-
795
- Search for extensions in the marketplace.
796
-
797
- **Usage:**
798
-
799
- ```bash
800
- /extensions search github
801
- ```
802
-
803
- **Output:**
804
-
805
- ```
806
- **Extension Search Results**
807
-
808
- Found 5 extensions matching "github":
809
-
810
- 1. **github-integration** (v1.2.0) ⭐ 4.8
811
- GitHub integration with MCP server
812
- Author: ollm-community
813
- Downloads: 1.2k
814
-
815
- 2. **github-actions** (v0.9.0) ⭐ 4.5
816
- GitHub Actions workflow management
817
- Author: actions-team
818
- Downloads: 850
819
-
820
- ...
821
-
822
- Use `/extensions install <name>` to install.
823
- ```
824
-
825
- ---
826
-
827
- ### `/extensions install <name>`
828
-
829
- Install an extension from the marketplace.
830
-
831
- **Usage:**
832
-
833
- ```bash
834
- /extensions install github-integration
835
- ```
836
-
837
- **Output:**
838
-
839
- ```
840
- πŸ“¦ Installing extension "github-integration"...
841
-
842
- ⬇️ Downloading from registry...
843
- βœ… Downloaded (2.3 MB)
844
- πŸ” Verifying checksum...
845
- βœ… Checksum verified
846
- πŸ“‚ Extracting to ~/.ollm/extensions/...
847
- βœ… Installed successfully
848
-
849
- Extension "github-integration" is now available.
850
- Use `/extensions enable github-integration` to activate.
851
- ```
852
-
853
- ---
854
-
855
- ### `/extensions list`
856
-
857
- List all installed extensions.
858
-
859
- **Usage:**
860
-
861
- ```bash
862
- /extensions list
863
- ```
864
-
865
- **Output:**
866
-
867
- ```
868
- **Installed Extensions**
869
-
870
- βœ… **github-integration** (v1.2.0) - Enabled
871
- GitHub integration with MCP server
872
- Location: ~/.ollm/extensions/github-integration
873
-
874
- ⏸️ **slack-bot** (v0.5.0) - Disabled
875
- Slack bot integration
876
- Location: ~/.ollm/extensions/slack-bot
877
-
878
- βœ… **custom-tools** (v1.0.0) - Enabled
879
- Custom development tools
880
- Location: .ollm/extensions/custom-tools
881
- ```
882
-
883
- ---
884
-
885
- ### `/extensions enable <name>`
886
-
887
- Enable an installed extension.
888
-
889
- **Usage:**
890
-
891
- ```bash
892
- /extensions enable slack-bot
893
- ```
894
-
895
- **Output:**
896
-
897
- ```
898
- βœ… Enabling extension "slack-bot"...
899
-
900
- πŸ”§ Registering hooks...
901
- πŸš€ Starting MCP servers...
902
- πŸ”§ Registering tools...
903
-
904
- Extension "slack-bot" is now enabled.
905
- ```
906
-
907
- ---
908
-
909
- ### `/extensions disable <name>`
910
-
911
- Disable an enabled extension.
912
-
913
- **Usage:**
914
-
915
- ```bash
916
- /extensions disable slack-bot
917
- ```
918
-
919
- **Output:**
920
-
921
- ```
922
- ⏸️ Disabling extension "slack-bot"...
923
-
924
- πŸ”§ Unregistering hooks...
925
- πŸ›‘ Stopping MCP servers...
926
- πŸ”§ Removing tools...
927
-
928
- Extension "slack-bot" is now disabled.
929
- ```
930
-
931
- ---
932
-
933
- ### `/extensions info <name>`
934
-
935
- Show detailed information about an extension.
936
-
937
- **Usage:**
938
-
939
- ```bash
940
- /extensions info github-integration
941
- ```
942
-
943
- **Output:**
944
-
945
- ```
946
- **Extension: github-integration**
947
-
948
- πŸ“¦ **Version:** 1.2.0
949
- πŸ‘€ **Author:** ollm-community
950
- πŸ“ **Description:** GitHub integration with MCP server
951
- ⭐ **Rating:** 4.8/5.0
952
- ⬇️ **Downloads:** 1,200
953
- πŸ“… **Updated:** 2026-01-10
954
-
955
- **Status:** βœ… Enabled
956
-
957
- **Provides:**
958
- - 1 MCP server (github)
959
- - 12 tools
960
- - 3 hooks
961
- - 2 skills
962
-
963
- **Permissions:**
964
- - Network: api.github.com
965
- - Environment: GITHUB_TOKEN
966
-
967
- **Location:** ~/.ollm/extensions/github-integration
968
- ```
969
-
970
- ---
971
-
972
- ### `/extensions reload <name>`
973
-
974
- Reload an extension (hot-reload).
975
-
976
- **Usage:**
977
-
978
- ```bash
979
- /extensions reload custom-tools
980
- ```
981
-
982
- **Output:**
983
-
984
- ```
985
- πŸ”„ Reloading extension "custom-tools"...
986
-
987
- ⏸️ Disabling...
988
- βœ… Disabled
989
- πŸ”„ Loading...
990
- βœ… Loaded
991
- βœ… Enabling...
992
-
993
- Extension "custom-tools" reloaded successfully.
994
- ```
995
-
996
- ---
997
-
998
- ## Command Examples
999
-
1000
- ### Example 1: Setting Up GitHub Integration
1001
-
1002
- ```bash
1003
- # 1. Check if GitHub server is configured
1004
- /mcp status github
1005
-
1006
- # 2. If not configured, add to config.yaml
1007
- # (Edit ~/.ollm/config.yaml)
1008
-
1009
- # 3. Restart OLLM CLI
1010
- # (Exit and restart)
1011
-
1012
- # 4. Check server status
1013
- /mcp status github
1014
-
1015
- # 5. Start OAuth authentication
1016
- /mcp oauth login github
1017
-
1018
- # 6. Verify authentication
1019
- /mcp oauth status github
1020
-
1021
- # 7. List available tools
1022
- /mcp tools github
1023
-
1024
- # 8. Enable health monitoring
1025
- /mcp health start
1026
-
1027
- # 9. Use GitHub tools in conversation
1028
- > Create an issue in my repo about the login bug
1029
- ```
1030
-
1031
- ### Example 2: Debugging Hook Issues
1032
-
1033
- ```bash
1034
- # 1. Enable hook debugging
1035
- /hooks debug on
1036
-
1037
- # 2. Trigger the problematic hook
1038
- > Test the validation hook
1039
-
1040
- # 3. Check debug status
1041
- /hooks debug status
1042
-
1043
- # 4. View failed executions
1044
- /hooks debug failed
1045
-
1046
- # 5. Export traces for analysis
1047
- /hooks debug export json
1048
-
1049
- # 6. Fix the hook and reload
1050
- /extensions reload my-extension
1051
-
1052
- # 7. Test again
1053
- > Test the validation hook
1054
-
1055
- # 8. Verify success
1056
- /hooks debug summary
1057
- ```
1058
-
1059
- ### Example 3: Installing and Managing Extensions
1060
-
1061
- ```bash
1062
- # 1. Search for extensions
1063
- /extensions search github
1064
-
1065
- # 2. Install an extension
1066
- /extensions install github-integration
1067
-
1068
- # 3. View extension info
1069
- /extensions info github-integration
1070
-
1071
- # 4. Enable the extension
1072
- /extensions enable github-integration
1073
-
1074
- # 5. Verify it's working
1075
- /mcp status github
1076
-
1077
- # 6. List all extensions
1078
- /extensions list
1079
-
1080
- # 7. Disable if needed
1081
- /extensions disable github-integration
1082
- ```
1083
-
1084
- ---
1085
-
1086
- ## Command Aliases
1087
-
1088
- Many commands have shorter aliases:
1089
-
1090
- | Full Command | Alias |
1091
- | -------------------- | --------------------- |
1092
- | `/extensions` | `/ext` |
1093
- | `/mcp health check` | `/mcp check` |
1094
- | `/mcp health start` | `/mcp monitor start` |
1095
- | `/mcp health stop` | `/mcp monitor stop` |
1096
- | `/mcp health status` | `/mcp monitor status` |
1097
-
1098
- ---
1099
-
1100
- ## Next Steps
1101
-
1102
- - [MCP Integration Guide](MCP_integration.md) - Learn how to integrate MCP servers
1103
- - [MCP Architecture](MCP_architecture.md) - Understand the system architecture
1104
- - [Hook System Guide](3%20projects/OLLM%20CLI/Hooks/README.md) - Learn about hooks
1105
- - [Extension Development](3%20projects/OLLM%20CLI/Extensions/README.md) - Create your own extensions
1106
-
1107
- ---
1108
-
1109
- **Document Version:** 1.0
1110
- **Last Updated:** 2026-01-16
1111
- **Status:** βœ… Complete