@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
package/docs/README.md CHANGED
@@ -1,410 +1,3 @@
1
- # OLLM CLI Documentation
2
-
3
- **Complete Documentation for OLLM CLI**
4
-
5
- Welcome to the OLLM CLI documentation! This is your complete guide to using, configuring, and extending OLLM CLI.
6
-
7
- ---
8
-
9
- ## 📚 Quick Navigation
10
-
11
- ### Getting Started
12
-
13
- - **[Introduction](Introduction.md)** - What is OLLM CLI and why use it?
14
- - **[Installation](Installation.md)** - Install OLLM CLI on your computer
15
- - **[Quick Start](Quickstart.md)** - Get up and running in 5 minutes
16
- - **[Troubleshooting](Troubleshooting.md)** - Common issues and solutions
17
-
18
- ### Core Documentation
19
-
20
- - **[User Interface](UI&Settings/README.md)** - Interface, commands, themes, and settings
21
- - **[Context Management](Context/README.md)** - Context sizing, compression, and VRAM
22
- - **[Model Management](LLM%20Models/README.md)** - Models, providers, and configuration
23
- - **[Tools System](Tools/README.md)** - Tool execution and management
24
- - **[Hooks System](Hooks/README.md)** - Event-driven automation
25
- - **[MCP Integration](MCP/README.md)** - Model Context Protocol and external services
26
- - **[Prompts System](Prompts%20System/README.md)** - System prompts and templates
27
-
28
- ### Development
29
-
30
- - **[Development Roadmap](DevelopmentRoadmap/README.md)** - Future plans and releases
31
- - **[Complete Index](Index.md)** - All documentation organized by topic
32
-
33
- ---
34
-
35
- ## 🎯 Documentation by Goal
36
-
37
- ### I want to...
38
-
39
- **Get Started**
40
-
41
- 1. [Install OLLM CLI](Installation.md)
42
- 2. [Learn the basics](Quickstart.md)
43
- 3. [Understand the interface](UI&Settings/UIGuide.md)
44
-
45
- **Use OLLM CLI**
46
-
47
- 1. [Learn all commands](UI&Settings/Commands.md)
48
- 2. [Master keyboard shortcuts](UI&Settings/Keybinds.md)
49
- 3. [Use tools effectively](Tools/UserGuide.md)
50
- 4. [Customize themes](UI&Settings/Themes.md)
51
-
52
- **Configure OLLM CLI**
53
-
54
- 1. [Configure settings](UI&Settings/Configuration.md)
55
- 2. [Manage models](LLM%20Models/README.md)
56
- 3. [Set up MCP servers](MCP/MCP_GettingStarted.md)
57
- 4. [Create hooks](Hooks/UserGuide.md)
58
-
59
- **Understand How It Works**
60
-
61
- 1. [Context management](Context/ContextManagment.md)
62
- 2. [Tool system architecture](Tools/Architecture.md)
63
- 3. [UI architecture](UI&Settings/Architecture.md)
64
- 4. [Prompts system](Prompts%20System/SystemPrompts.md)
65
-
66
- **Troubleshoot Issues**
67
-
68
- 1. [Common problems](Troubleshooting.md)
69
- 2. [Connection issues](Troubleshooting.md#connection-issues)
70
- 3. [Tool problems](Troubleshooting.md#tool-execution-issues)
71
- 4. [Debug mode](Troubleshooting.md#debug-mode)
72
-
73
- ---
74
-
75
- ## 📖 Documentation Structure
76
-
77
- ### Core Guides
78
-
79
- **[Introduction](Introduction.md)**
80
-
81
- - What is OLLM CLI?
82
- - Why use it?
83
- - Key features
84
- - Who is it for?
85
-
86
- **[Installation](Installation.md)**
87
-
88
- - Prerequisites
89
- - Installation steps
90
- - Platform-specific instructions
91
- - Verification
92
-
93
- **[Quick Start](Quickstart.md)**
94
-
95
- - First conversation
96
- - Using tools
97
- - Essential shortcuts
98
- - Common tasks
99
-
100
- **[Troubleshooting](Troubleshooting.md)**
101
-
102
- - Quick fixes
103
- - Common issues
104
- - Debug mode
105
- - Getting help
106
-
107
- ---
108
-
109
- ### System Documentation
110
-
111
- **[User Interface & Settings](UI&Settings/README.md)**
112
-
113
- - Interface layout and components
114
- - Slash commands reference
115
- - Keyboard shortcuts
116
- - Themes and customization
117
- - Terminal integration
118
- - Configuration options
119
-
120
- **[Context Management](Context/README.md)**
121
-
122
- - Context sizing and tiers
123
- - VRAM monitoring
124
- - Context compression
125
- - Checkpoint system
126
- - Memory management
127
-
128
- **[Model Management](LLM%20Models/README.md)**
129
-
130
- - Model discovery and metadata
131
- - Provider integration (Ollama)
132
- - Context window configuration
133
- - Tool support detection
134
- - Reasoning model support
135
- - Memory system
136
-
137
- **[Tools System](Tools/README.md)**
138
-
139
- - Available tools
140
- - Tool execution
141
- - Approval modes
142
- - Extension tools
143
- - Tool configuration
144
-
145
- **[Hooks System](Hooks/README.md)**
146
-
147
- - Event-driven automation
148
- - Hook types and events
149
- - Trust model
150
- - Creating hooks
151
- - Hook protocol
152
-
153
- **[MCP Integration](MCP/README.md)**
154
-
155
- - Model Context Protocol
156
- - MCP servers
157
- - Tool integration
158
- - OAuth authentication
159
- - Server management
160
-
161
- **[Prompts System](Prompts%20System/README.md)**
162
-
163
- - System prompt construction
164
- - Prompt templates
165
- - Prompt routing
166
- - Operational modes
167
- - Goal management
168
-
169
- ---
170
-
171
- ### Development Documentation
172
-
173
- **[Development Roadmap](DevelopmentRoadmap/README.md)**
174
-
175
- - Current version (v0.1.0)
176
- - Planned features
177
- - Release schedule
178
- - Version history
179
-
180
- ---
181
-
182
- ## 🎓 Learning Paths
183
-
184
- ### For New Users
185
-
186
- **Day 1: Get Started**
187
-
188
- 1. Read [Introduction](Introduction.md) (10 min)
189
- 2. Follow [Installation](Installation.md) (10 min)
190
- 3. Complete [Quick Start](Quickstart.md) (15 min)
191
- 4. Explore [UI Guide](UI&Settings/UIGuide.md) (20 min)
192
-
193
- **Day 2: Learn Commands**
194
-
195
- 1. Study [Commands Reference](UI&Settings/Commands.md) (30 min)
196
- 2. Practice [Keyboard Shortcuts](UI&Settings/Keybinds.md) (15 min)
197
- 3. Try different [Themes](UI&Settings/Themes.md) (10 min)
198
-
199
- **Day 3: Master Tools**
200
-
201
- 1. Read [Tools User Guide](Tools/UserGuide.md) (30 min)
202
- 2. Experiment with different tools (30 min)
203
- 3. Configure [Approval Modes](Tools/UserGuide.md#approval-modes) (10 min)
204
-
205
- **Week 2: Advanced Features**
206
-
207
- 1. Learn [Context Management](Context/ContextManagment.md)
208
- 2. Explore [Model Management](LLM%20Models/README.md)
209
- 3. Try [MCP Integration](MCP/MCP_GettingStarted.md)
210
- 4. Create [Custom Hooks](Hooks/UserGuide.md)
211
-
212
- ### For Developers
213
-
214
- **Understanding Architecture**
215
-
216
- 1. [UI Architecture](UI&Settings/Architecture.md)
217
- 2. [Context Architecture](Context/ContextArchitecture.md)
218
- 3. [Tools Architecture](Tools/Architecture.md)
219
- 4. [Prompts Architecture](Prompts%20System/Architecture.md)
220
- 5. [Hooks Architecture](Hooks/Architecture.md)
221
-
222
- **Extending OLLM CLI**
223
-
224
- 1. [Creating Hooks](Hooks/UserGuide.md)
225
- 2. [MCP Server Development](MCP/MCP_Architecture.md)
226
- 3. [Custom Tools](Tools/GettingStarted.md)
227
-
228
- ---
229
-
230
- ## 📊 Documentation Status
231
-
232
- ### Completed ✅
233
-
234
- | Section | Files | Status |
235
- | ----------------------- | ------- | ----------- |
236
- | **Getting Started** | 4 files | ✅ Complete |
237
- | **UI & Settings** | 9 files | ✅ Complete |
238
- | **Context Management** | 6 files | ✅ Complete |
239
- | **Model Management** | 6 files | ✅ Complete |
240
- | **Tools System** | 6 files | ✅ Complete |
241
- | **Hooks System** | 7 files | ✅ Complete |
242
- | **MCP Integration** | 6 files | ✅ Complete |
243
- | **Prompts System** | 6 files | ✅ Complete |
244
- | **Development Roadmap** | 6 files | ✅ Complete |
245
-
246
- **Total:** 56 documentation files
247
-
248
- ---
249
-
250
- ## 🔍 Search Tips
251
-
252
- ### Finding Information
253
-
254
- **By Feature:**
255
-
256
- - Tools → [Tools System](Tools/README.md)
257
- - Hooks → [Hooks System](Hooks/README.md)
258
- - MCP → [MCP Integration](MCP/README.md)
259
- - Themes → [Themes Guide](UI&Settings/Themes.md)
260
- - Commands → [Commands Reference](UI&Settings/Commands.md)
261
-
262
- **By Task:**
263
-
264
- - Installation → [Installation Guide](Installation.md)
265
- - Configuration → [Configuration Guide](UI&Settings/Configuration.md)
266
- - Troubleshooting → [Troubleshooting Guide](Troubleshooting.md)
267
- - Customization → [UI & Settings](UI&Settings/README.md)
268
-
269
- **By Topic:**
270
-
271
- - Context → [Context Management](Context/README.md)
272
- - Models → [Model Management](LLM%20Models/README.md)
273
- - Prompts → [Prompts System](Prompts%20System/README.md)
274
- - Architecture → [Index](Index.md#architecture-documentation)
275
-
276
- ---
277
-
278
- ## 🤝 Contributing
279
-
280
- Want to improve the documentation?
281
-
282
- 1. **Report Issues**
283
- - Found an error? [Open an issue](https://github.com/tecet/ollm/issues)
284
- - Missing information? Let us know!
285
-
286
- 2. **Suggest Improvements**
287
- - Have ideas? [Start a discussion](https://github.com/tecet/ollm/discussions)
288
- - Want to add examples? Submit a PR!
289
-
290
- 3. **Write Documentation**
291
- - Follow existing style and structure
292
- - Include examples and diagrams
293
- - Test all code snippets
294
-
295
- ---
296
-
297
- ## 📱 Quick Reference
298
-
299
- ### Essential Commands
300
-
301
- ```bash
302
- /help # Show all commands
303
- /model list # List models
304
- /theme list # List themes
305
- /context stats # Check context usage
306
- /clear # Clear conversation
307
- /exit # Exit OLLM CLI
308
- ```
309
-
310
- ### Essential Shortcuts
311
-
312
- ```
313
- Ctrl+K # Command palette
314
- Ctrl+P # Toggle side panel
315
- Ctrl+? # Show help
316
- Ctrl+C # Exit
317
- Return # Send message
318
- Shift+Return # New line
319
- ```
320
-
321
- ### Essential Files
322
-
323
- ```
324
- ~/.ollm/settings.json # User settings
325
- .ollm/settings.json # Workspace settings
326
- ~/.ollm/session-data/ # Session history
327
- ```
328
-
329
- ---
330
-
331
- ## 🌐 External Resources
332
-
333
- ### Official Resources
334
-
335
- - **GitHub:** [github.com/tecet/ollm](https://github.com/tecet/ollm)
336
- - **Issues:** [github.com/tecet/ollm/issues](https://github.com/tecet/ollm/issues)
337
- - **Discussions:** [github.com/tecet/ollm/discussions](https://github.com/tecet/ollm/discussions)
338
-
339
- ### Related Projects
340
-
341
- - **Ollama:** [ollama.ai](https://ollama.ai)
342
- - **Model Context Protocol:** [modelcontextprotocol.io](https://modelcontextprotocol.io)
343
- - **Ink (Terminal UI):** [github.com/vadimdemedes/ink](https://github.com/vadimdemedes/ink)
344
-
345
- ---
346
-
347
- ## 📝 Documentation Conventions
348
-
349
- ### Symbols Used
350
-
351
- - ✅ Feature implemented
352
- - ⏳ Feature planned
353
- - ❌ Feature not available
354
- - 🔴 Critical issue
355
- - 🟡 Warning
356
- - 🟢 Success
357
- - 🔵 Information
358
-
359
- ### Code Blocks
360
-
361
- ```bash
362
- # Shell commands
363
- ollm --version
364
- ```
365
-
366
- ```typescript
367
- // TypeScript code
368
- interface Example {
369
- name: string;
370
- }
371
- ```
372
-
373
- ```yaml
374
- # Configuration files
375
- setting: value
376
- ```
377
-
378
- ### File Paths
379
-
380
- - `~/.ollm/` - User directory
381
- - `.ollm/` - Workspace directory
382
- - `packages/` - Source code
383
-
384
- ---
385
-
386
- ## 🎯 Next Steps
387
-
388
- **New to OLLM CLI?**
389
- → Start with [Introduction](Introduction.md)
390
-
391
- **Ready to install?**
392
- → Follow [Installation Guide](Installation.md)
393
-
394
- **Want to learn quickly?**
395
- → Try [Quick Start](Quickstart.md)
396
-
397
- **Need help?**
398
- → Check [Troubleshooting](Troubleshooting.md)
399
-
400
- **Want to explore?**
401
- → Browse [Complete Index](Index.md)
402
-
403
- ---
404
-
405
- **Last Updated:** January 26, 2026
406
- **Version:** 0.1.0
407
- **Author:** tecet
408
- **License:** MIT
409
-
410
- For the latest documentation, visit [github.com/tecet/ollm](https://github.com/tecet/ollm)
1
+ # Documentation (placeholder)
2
+
3
+ The original docs were moved to `docs2/` during editing. This placeholder ensures packaging succeeds. Replace with full docs when available.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecet/ollm",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Local-first CLI for open-source LLMs with tools, hooks, and MCP integration",
5
5
  "type": "module",
6
6
  "bin": {
@@ -10,7 +10,8 @@
10
10
  "dist",
11
11
  "README.md",
12
12
  "LICENSE",
13
- "docs"
13
+ "docs",
14
+ "scripts/copy-docs-to-user.cjs"
14
15
  ],
15
16
  "engines": {
16
17
  "node": ">=20.0.0"
@@ -21,7 +22,8 @@
21
22
  "start": "node dist/cli.js",
22
23
  "test": "vitest",
23
24
  "prepack": "node ../../scripts/copy-docs-to-package.cjs .",
24
- "postpack": "node ../../scripts/remove-docs-from-package.cjs ."
25
+ "postpack": "node ../../scripts/remove-docs-from-package.cjs .",
26
+ "postinstall": "node ./scripts/copy-docs-to-user.cjs"
25
27
  },
26
28
  "keywords": [
27
29
  "llm",
@@ -50,7 +52,9 @@
50
52
  "license": "Apache-2.0",
51
53
  "author": "OLLM CLI Contributors",
52
54
  "dependencies": {
55
+ "@tecet/ollm": "file:tecet-ollm-0.1.5.tgz",
53
56
  "@vitest/coverage-v8": "4.0.17",
57
+ "@xterm/headless": "^6.0.0",
54
58
  "ajv": "^8.12.0",
55
59
  "ajv-formats": "^2.1.1",
56
60
  "esbuild": "0.27.2",
@@ -59,17 +63,16 @@
59
63
  "ignore": "^5.3.2",
60
64
  "ink": "^6.6.0",
61
65
  "ink-spinner": "^5.0.0",
66
+ "ink-text-input": "^6.0.0",
62
67
  "jimp": "^1.6.0",
68
+ "node-pty": "^1.1.0",
63
69
  "picomatch": "^4.0.3",
64
70
  "react": "19.2.3",
65
71
  "react-devtools-core": "^6.1.2",
72
+ "sharp": "^0.34.5",
66
73
  "shiki": "^3.21.0",
67
74
  "simple-git": "^3.30.0",
68
75
  "terminal-image": "^1.1.0",
69
- "node-pty": "^1.1.0",
70
- "@xterm/headless": "^6.0.0",
71
- "ink-text-input": "^6.0.0",
72
- "sharp": "^0.34.5",
73
76
  "vitest": "4.0.17",
74
77
  "yaml": "^2.3.4",
75
78
  "yargs": "^17.7.0"
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env node
2
+ const { existsSync } = require('fs');
3
+ const { mkdir, cp } = require('fs/promises');
4
+ const path = require('path');
5
+ const os = require('os');
6
+
7
+ (async function main(){
8
+ try {
9
+ const pkgScriptsDir = __dirname; // packages/cli/scripts
10
+ const pkgRoot = path.join(pkgScriptsDir, '..');
11
+ const bundledDocs = path.join(pkgRoot, 'docs');
12
+ const userDocs = path.join(os.homedir(), '.ollm', 'docs');
13
+
14
+ console.log('[install-docs] bundledDocs=%s', bundledDocs);
15
+ console.log('[install-docs] userDocs=%s', userDocs);
16
+
17
+ if (!existsSync(bundledDocs)) {
18
+ console.log('[install-docs] no bundled docs found, skipping');
19
+ return;
20
+ }
21
+
22
+ // Ensure user docs directory exists, then copy/merge bundled docs into it.
23
+ // We intentionally merge so existing user files aren't overwritten but
24
+ // missing bundled files are populated.
25
+ await mkdir(path.join(os.homedir(), '.ollm'), { recursive: true });
26
+ await mkdir(userDocs, { recursive: true });
27
+
28
+ // Use fs.promises.cp with force: false so existing files are not overwritten.
29
+ await cp(bundledDocs, userDocs, { recursive: true, force: false });
30
+ console.log('[install-docs] merged bundled docs into user folder');
31
+ } catch (err) {
32
+ console.error('[install-docs] failed to copy docs:', err);
33
+ }
34
+ })();