@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,244 +0,0 @@
1
- # Hook System Documentation Index
2
-
3
- **Quick Reference with Links**
4
-
5
- This index provides quick navigation to all Hook System documentation with brief descriptions.
6
-
7
- ---
8
-
9
- ## 📚 Core Documentation
10
-
11
- ### [README.md](README.md)
12
-
13
- **Overview and Navigation Guide**
14
-
15
- Main entry point for Hook System documentation. Provides overview of event-driven automation, trust model, common use cases, and quick start guide.
16
-
17
- **Topics:** Overview, Events, Trust Model, Use Cases
18
- **Audience:** All users
19
-
20
- ---
21
-
22
- ### [Architecture](Architecture.md)
23
-
24
- **System Architecture and Design**
25
-
26
- Complete technical documentation of the Hook System architecture. Covers hook registry, event system, execution engine, trust model, and all component interactions.
27
-
28
- **Topics:** Architecture, Components, Event System, Trust Model, Data Flow
29
- **Audience:** Developers, architects
30
-
31
- **Key Sections:**
32
-
33
- - System overview and architecture
34
- - Hook registry and management
35
- - Event system and dispatching
36
- - Hook execution engine
37
- - Trust model implementation
38
- - Security and sandboxing
39
- - Component interactions
40
-
41
- ---
42
-
43
- ### [User Guide](UserGuide.md)
44
-
45
- **Using Hooks for Automation**
46
-
47
- Comprehensive guide to using hooks in OLLM CLI. Covers listing, enabling, creating, and managing hooks for workflow automation.
48
-
49
- **Topics:** Usage, Commands, Examples, Best Practices
50
- **Audience:** All users
51
-
52
- **Key Sections:**
53
-
54
- - What are hooks
55
- - Listing and managing hooks
56
- - Enabling and disabling hooks
57
- - Creating custom hooks
58
- - Trust management
59
- - Hook debugging
60
- - Common patterns
61
- - Troubleshooting
62
-
63
- ---
64
-
65
- ### [Protocol](Protocol.md)
66
-
67
- **Hook Protocol Specification**
68
-
69
- Technical specification for the hook protocol. Defines JSON schema for hook input/output, event types, action types, and communication format.
70
-
71
- **Topics:** Protocol, JSON Schema, Events, Actions
72
- **Audience:** Developers
73
-
74
- **Key Sections:**
75
-
76
- - Hook file format (JSON schema)
77
- - Event types and payloads
78
- - Action types (askAgent, runCommand)
79
- - Input/output format
80
- - Error handling
81
- - Protocol versioning
82
- - Examples
83
-
84
- ---
85
-
86
- ### [Visual Guide](VisualGuide.md)
87
-
88
- **Visual Diagrams and Examples**
89
-
90
- Visual guide with diagrams showing hook workflows, event flows, and execution patterns. Includes mermaid diagrams and ASCII art.
91
-
92
- **Topics:** Diagrams, Workflows, Visual Examples
93
- **Audience:** All users
94
-
95
- **Key Sections:**
96
-
97
- - Hook lifecycle diagram
98
- - Event flow diagrams
99
- - Trust model visualization
100
- - Execution flow charts
101
- - Common patterns illustrated
102
- - Example workflows
103
-
104
- ---
105
-
106
- ### [Keyboard Shortcuts](KeyboardShortcuts.md)
107
-
108
- **Hook-Related Keybindings**
109
-
110
- Reference for keyboard shortcuts related to hook management and execution.
111
-
112
- **Topics:** Keybindings, Shortcuts
113
- **Audience:** All users
114
-
115
- **Key Sections:**
116
-
117
- - Hook management shortcuts
118
- - Hook execution shortcuts
119
- - Hook debugging shortcuts
120
- - Quick access keys
121
-
122
- ---
123
-
124
- ## 📖 Documentation by Topic
125
-
126
- ### Hook Events
127
-
128
- - [User Guide](UserGuide.md#hook-events) - Event types overview
129
- - [Protocol](Protocol.md#event-types) - Event specifications
130
- - [Visual Guide](VisualGuide.md#event-flows) - Event flow diagrams
131
-
132
- ### Hook Actions
133
-
134
- - [User Guide](UserGuide.md#hook-actions) - Action types overview
135
- - [Protocol](Protocol.md#action-types) - Action specifications
136
- - [Architecture](Architecture.md#execution-engine) - Action execution
137
-
138
- ### Trust Model
139
-
140
- - [README](README.md#trust-model) - Trust overview
141
- - [Architecture](Architecture.md#trust-model) - Trust implementation
142
- - [User Guide](UserGuide.md#trust-management) - Managing trust
143
-
144
- ### Creating Hooks
145
-
146
- - [User Guide](UserGuide.md#creating-hooks) - Hook creation guide
147
- - [Protocol](Protocol.md#hook-format) - Hook file format
148
- - [Visual Guide](VisualGuide.md#examples) - Example hooks
149
-
150
- ### Configuration
151
-
152
- - [README](README.md#configuration) - Configuration overview
153
- - [User Guide](UserGuide.md#configuration) - Detailed settings
154
- - [Architecture](Architecture.md#configuration) - Configuration system
155
-
156
- ---
157
-
158
- ## 📖 Documentation by Audience
159
-
160
- ### For New Users
161
-
162
- 1. [README](README.md) - Start here
163
- 2. [User Guide](UserGuide.md) - Using hooks
164
- 3. [Visual Guide](VisualGuide.md) - Visual examples
165
-
166
- ### For Regular Users
167
-
168
- 1. [User Guide](UserGuide.md#creating-hooks) - Creating hooks
169
- 2. [Protocol](Protocol.md) - Hook format
170
- 3. [README](README.md#common-use-cases) - Use case examples
171
-
172
- ### For Developers
173
-
174
- 1. [Architecture](Architecture.md) - System design
175
- 2. [Protocol](Protocol.md) - Protocol specification
176
- 3. [User Guide](UserGuide.md#advanced-topics) - Advanced usage
177
-
178
- ---
179
-
180
- ## 🔗 Related Documentation
181
-
182
- ### Core Systems
183
-
184
- - [Tools System](../Tools/README.md) - Tool execution
185
- - [MCP Integration](../MCP/MCP_Index.md) - MCP servers
186
- - [User Interface](../UI&Settings/README.md) - UI documentation
187
-
188
- ### Commands
189
-
190
- - [Hook Commands](../UI&Settings/Commands.md#hook-management) - CLI commands
191
-
192
- ### Developer Resources
193
-
194
- - Knowledge DB: `dev_HookSystem.md` - Architecture details
195
-
196
- ---
197
-
198
- ## 📊 Documentation Status
199
-
200
- ### Completed ✅
201
-
202
- | Document | Status |
203
- | -------------------- | ----------- |
204
- | README.md | ✅ Complete |
205
- | Index.md | ✅ Complete |
206
- | Architecture.md | ✅ Complete |
207
- | UserGuide.md | ✅ Complete |
208
- | Protocol.md | ✅ Complete |
209
- | VisualGuide.md | ✅ Complete |
210
- | KeyboardShortcuts.md | ✅ Complete |
211
-
212
- **Overall Progress:** 100% complete (7/7 files)
213
-
214
- ---
215
-
216
- ## 🎯 Quick Links
217
-
218
- ### Common Tasks
219
-
220
- - List hooks → [User Guide](UserGuide.md#listing-hooks)
221
- - Enable hook → [User Guide](UserGuide.md#enabling-hooks)
222
- - Create hook → [User Guide](UserGuide.md#creating-hooks)
223
- - Trust hook → [User Guide](UserGuide.md#trust-management)
224
- - Debug hook → [User Guide](UserGuide.md#debugging-hooks)
225
-
226
- ### Understanding Systems
227
-
228
- - How hooks work → [README](README.md)
229
- - Hook events → [Protocol](Protocol.md#event-types)
230
- - Hook actions → [Protocol](Protocol.md#action-types)
231
- - Trust model → [Architecture](Architecture.md#trust-model)
232
- - System architecture → [Architecture](Architecture.md)
233
-
234
- ### Examples
235
-
236
- - Auto-format on save → [README](README.md#auto-format-on-save)
237
- - Run tests → [README](README.md#run-tests-before-commit)
238
- - Safety gates → [README](README.md#block-dangerous-commands)
239
- - More examples → [User Guide](UserGuide.md#examples)
240
-
241
- ---
242
-
243
- **Last Updated:** January 26, 2026
244
- **Version:** 0.1.0
@@ -1,248 +0,0 @@
1
- # Hooks Panel - Keyboard Shortcuts Quick Reference
2
-
3
- **Quick reference for Hooks Panel UI keyboard shortcuts**
4
-
5
- ---
6
-
7
- ## Navigation
8
-
9
- | Key | Action | Description |
10
- | ------- | ----------- | -------------------------------------------- |
11
- | **Tab** | Enter Panel | Navigate to Hooks tab and activate panel |
12
- | **↑** | Move Up | Navigate to previous hook in list |
13
- | **↓** | Move Down | Navigate to next hook in list |
14
- | **Esc** | Exit Panel | Return to main navigation (Browse Mode) |
15
- | **0** | Exit Panel | Alternative way to return to main navigation |
16
-
17
- ### Navigation Tips
18
-
19
- - **↑** from first hook moves to Exit item
20
- - **↓** from Exit item moves to first hook
21
- - Categories are visual-only (not selectable)
22
- - Auto-scroll keeps selected hook visible
23
-
24
- ---
25
-
26
- ## Hook Actions
27
-
28
- | Key | Action | Description |
29
- | --------- | ------ | ------------------------------------------------- |
30
- | **Enter** | Toggle | Enable/disable selected hook |
31
- | **←** | Toggle | Alternative way to toggle hook |
32
- | **→** | Toggle | Alternative way to toggle hook |
33
- | **A** | Add | Open Add Hook dialog |
34
- | **E** | Edit | Open Edit Hook dialog (user hooks only) |
35
- | **D** | Delete | Open Delete Confirmation dialog (user hooks only) |
36
- | **T** | Test | Open Test Hook dialog |
37
-
38
- ### Action Tips
39
-
40
- - **Enter** on Exit item exits the panel
41
- - **Enter** on hook toggles enabled/disabled
42
- - Built-in hooks can be toggled but not edited/deleted
43
- - User hooks can be toggled, edited, and deleted
44
-
45
- ---
46
-
47
- ## Dialog Controls
48
-
49
- | Key | Action | Description |
50
- | ------- | ------- | --------------------------------- |
51
- | **S** | Save | Save changes in Add/Edit dialog |
52
- | **C** | Cancel | Close dialog without saving |
53
- | **Esc** | Cancel | Alternative way to close dialog |
54
- | **D** | Confirm | Confirm deletion in Delete dialog |
55
-
56
- ### Dialog Tips
57
-
58
- - Dialogs appear centered on screen
59
- - Press **Esc** to close any dialog
60
- - Changes are saved immediately when confirmed
61
- - Canceled changes are discarded
62
-
63
- ---
64
-
65
- ## Visual Indicators
66
-
67
- ### Hook Status
68
-
69
- - **● Green** - Hook is enabled
70
- - **○ Gray** - Hook is disabled
71
- - **Yellow highlight** - Currently selected hook (when panel has focus)
72
- - **Cyan border** - Panel has focus
73
-
74
- ### Category Icons
75
-
76
- - **📝** File Events
77
- - **💬** Prompt Events
78
- - **👤** User Triggered
79
- - **🔄** Session Events
80
- - **🤖** Agent Events
81
- - **🧠** Model Events
82
- - **🔧** Tool Events
83
- - **📦** Compression Events
84
- - **🔔** Notifications
85
-
86
- ### Scroll Indicators
87
-
88
- - **▲** More hooks above (scroll up)
89
- - **▼** More hooks below (scroll down)
90
-
91
- ---
92
-
93
- ## Common Workflows
94
-
95
- ### Quick Toggle
96
-
97
- ```
98
- Tab → Enter → ↓ (to hook) → Enter (toggle)
99
- ```
100
-
101
- ### Add New Hook
102
-
103
- ```
104
- Tab → Enter → A → (fill form) → S
105
- ```
106
-
107
- ### Edit Hook
108
-
109
- ```
110
- Tab → Enter → ↓ (to hook) → E → (modify) → S
111
- ```
112
-
113
- ### Delete Hook
114
-
115
- ```
116
- Tab → Enter → ↓ (to hook) → D → D (confirm)
117
- ```
118
-
119
- ### Test Hook
120
-
121
- ```
122
- Tab → Enter → ↓ (to hook) → T → (review) → Esc
123
- ```
124
-
125
- ### Quick Exit
126
-
127
- ```
128
- Esc (from anywhere in panel)
129
- or
130
- ↑ (to Exit item) → Enter
131
- or
132
- 0 (from anywhere in panel)
133
- ```
134
-
135
- ---
136
-
137
- ## Keyboard Layout
138
-
139
- ```
140
- ┌─────────────────────────────────────────────────────────────┐
141
- │ Navigation Keys │
142
- │ │
143
- │ ↑ │
144
- │ (Move Up) │
145
- │ │
146
- │ ← → │
147
- │ (Toggle) (Toggle) │
148
- │ │
149
- │ ↓ │
150
- │ (Move Down) │
151
- │ │
152
- ├─────────────────────────────────────────────────────────────┤
153
- │ Action Keys │
154
- │ │
155
- │ A (Add) E (Edit) D (Delete) T (Test) │
156
- │ │
157
- │ Enter (Toggle/Select) Esc (Exit) 0 (Exit) │
158
- │ │
159
- │ Tab (Enter Panel) │
160
- └─────────────────────────────────────────────────────────────┘
161
- ```
162
-
163
- ---
164
-
165
- ## Accessibility
166
-
167
- ### Alternative Keys
168
-
169
- Some keys have alternatives for different keyboard layouts:
170
-
171
- - **Exit:** Esc or 0
172
- - **Toggle:** Enter or ← or →
173
- - **Cancel Dialog:** Esc or C
174
-
175
- ### Terminal Compatibility
176
-
177
- - All shortcuts work in standard terminal emulators
178
- - Arrow keys require terminal with arrow key support
179
- - Some terminals may require different key bindings
180
-
181
- ---
182
-
183
- ## Tips & Tricks
184
-
185
- ### Speed Navigation
186
-
187
- 1. **Jump to Exit:** Press **↑** from first hook
188
- 2. **Quick Exit:** Press **Esc** from anywhere
189
- 3. **Fast Toggle:** Use **Enter** instead of arrow keys
190
- 4. **Category Skip:** Use **↓** repeatedly to skip through categories
191
-
192
- ### Efficient Workflow
193
-
194
- 1. **Review First:** Navigate through all hooks before making changes
195
- 2. **Test Before Enable:** Always test hooks before enabling
196
- 3. **Batch Operations:** Toggle multiple hooks in one session
197
- 4. **Quick Disable:** Disable hooks temporarily instead of deleting
198
-
199
- ### Keyboard Shortcuts Memory Aid
200
-
201
- **Navigation:** Arrow keys (↑↓)
202
- **Actions:** First letter (A=Add, E=Edit, D=Delete, T=Test)
203
- **Toggle:** Enter or arrows (←→)
204
- **Exit:** Esc or 0
205
-
206
- ---
207
-
208
- ## Troubleshooting
209
-
210
- ### Keys Not Working
211
-
212
- **Check panel focus:**
213
-
214
- - Panel border should be cyan
215
- - Selected hook should be yellow
216
- - Press **Tab** to give focus
217
-
218
- **Check terminal:**
219
-
220
- - Ensure terminal supports arrow keys
221
- - Try alternative keys (Esc, 0)
222
- - Restart terminal if needed
223
-
224
- ### Dialogs Not Responding
225
-
226
- **Close existing dialogs:**
227
-
228
- - Press **Esc** to close
229
- - Try action again
230
-
231
- **Check terminal size:**
232
-
233
- - Dialogs require minimum 80x24
234
- - Resize terminal if too small
235
-
236
- ---
237
-
238
- ## See Also
239
-
240
- - [Hooks User Guide](3%20projects/OLLM%20CLI/Hooks/user-guide.md) - Complete hooks documentation
241
- - [Hook Development Guide](3%20projects/OLLM%20CLI/Hooks/development-guide.md) - Creating custom hooks
242
- - [MCP Commands](MCP_commands.md) - Command-line hook management
243
-
244
- ---
245
-
246
- **Last Updated:** 2026-01-18
247
- **Version:** 0.1.0
248
- **Feature:** Hooks Panel UI