@tecet/ollm 0.1.3 → 0.1.4-b

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 (59) hide show
  1. package/README.md +529 -529
  2. package/dist/cli.js +307 -254
  3. package/dist/cli.js.map +3 -3
  4. package/dist/config/LLM_profiles.json +4 -4
  5. package/dist/config/settingsService.d.ts +5 -0
  6. package/dist/config/settingsService.d.ts.map +1 -1
  7. package/dist/config/settingsService.js +20 -0
  8. package/dist/config/settingsService.js.map +1 -1
  9. package/dist/config/toolsConfig.d.ts +6 -3
  10. package/dist/config/toolsConfig.d.ts.map +1 -1
  11. package/dist/config/toolsConfig.js +52 -3
  12. package/dist/config/toolsConfig.js.map +1 -1
  13. package/dist/features/chat/hooks/useChatNetwork.d.ts.map +1 -1
  14. package/dist/features/chat/hooks/useChatNetwork.js +15 -4
  15. package/dist/features/chat/hooks/useChatNetwork.js.map +1 -1
  16. package/dist/features/context/ContextManagerContext.d.ts.map +1 -1
  17. package/dist/features/context/ContextManagerContext.js +14 -73
  18. package/dist/features/context/ContextManagerContext.js.map +1 -1
  19. package/dist/features/context/hooks/useToolSupport.d.ts.map +1 -1
  20. package/dist/features/context/hooks/useToolSupport.js +13 -5
  21. package/dist/features/context/hooks/useToolSupport.js.map +1 -1
  22. package/dist/features/context/utils/systemPromptBuilder.d.ts.map +1 -1
  23. package/dist/features/context/utils/systemPromptBuilder.js +6 -34
  24. package/dist/features/context/utils/systemPromptBuilder.js.map +1 -1
  25. package/dist/nonInteractive.d.ts.map +1 -1
  26. package/dist/nonInteractive.js +1 -2
  27. package/dist/nonInteractive.js.map +1 -1
  28. package/dist/services/documentService.d.ts.map +1 -1
  29. package/dist/services/documentService.js +12 -2
  30. package/dist/services/documentService.js.map +1 -1
  31. package/dist/templates/assistant/tier3.txt +2 -0
  32. package/dist/templates/system/CoreMandates.txt +3 -0
  33. package/dist/templates/system/ToolDescriptions.txt +11 -3
  34. package/dist/templates/system/skills/SkillsAssistant.txt +1 -2
  35. package/dist/ui/App.js +15 -15
  36. package/dist/ui/components/docs/DocsPanel.d.ts.map +1 -1
  37. package/dist/ui/components/docs/DocsPanel.js +1 -1
  38. package/dist/ui/components/docs/DocsPanel.js.map +1 -1
  39. package/dist/ui/components/launch/VersionBanner.js +1 -1
  40. package/dist/ui/components/launch/VersionBanner.js.map +1 -1
  41. package/dist/ui/components/layout/KeybindsLegend.d.ts.map +1 -1
  42. package/dist/ui/components/layout/KeybindsLegend.js +1 -1
  43. package/dist/ui/components/layout/KeybindsLegend.js.map +1 -1
  44. package/dist/ui/components/tabs/BugReportTab.js +1 -1
  45. package/dist/ui/components/tabs/BugReportTab.js.map +1 -1
  46. package/dist/ui/components/tools/CategorySection.d.ts.map +1 -1
  47. package/dist/ui/components/tools/CategorySection.js +1 -0
  48. package/dist/ui/components/tools/CategorySection.js.map +1 -1
  49. package/dist/ui/contexts/__tests__/mcpTestUtils.d.ts +14 -14
  50. package/dist/ui/services/docsService.d.ts +12 -27
  51. package/dist/ui/services/docsService.d.ts.map +1 -1
  52. package/dist/ui/services/docsService.js +40 -67
  53. package/dist/ui/services/docsService.js.map +1 -1
  54. package/docs/DevelopmentRoadmap/OLLM-CLI_Releases.md +419 -419
  55. package/docs/DevelopmentRoadmap/RoadmapVisual.md +372 -372
  56. package/docs/LLM Models/LLM_ModelsList.md +1071 -1071
  57. package/docs/MCP/MCP_Architecture.md +1086 -1086
  58. package/package.json +85 -82
  59. package/scripts/copy-docs-to-user.cjs +34 -0
package/package.json CHANGED
@@ -1,82 +1,85 @@
1
- {
2
- "name": "@tecet/ollm",
3
- "version": "0.1.3",
4
- "description": "Local-first CLI for open-source LLMs with tools, hooks, and MCP integration",
5
- "type": "module",
6
- "bin": {
7
- "ollm": "./dist/cli.js"
8
- },
9
- "files": [
10
- "dist",
11
- "README.md",
12
- "LICENSE",
13
- "docs"
14
- ],
15
- "engines": {
16
- "node": ">=20.0.0"
17
- },
18
- "scripts": {
19
- "build": "tsc",
20
- "dev": "tsc -w",
21
- "start": "node dist/cli.js",
22
- "test": "vitest",
23
- "prepack": "node ../../scripts/copy-docs-to-package.cjs .",
24
- "postpack": "node ../../scripts/remove-docs-from-package.cjs ."
25
- },
26
- "keywords": [
27
- "llm",
28
- "cli",
29
- "ollama",
30
- "ai",
31
- "local",
32
- "mcp",
33
- "tools",
34
- "context-management",
35
- "terminal",
36
- "tui",
37
- "react",
38
- "ink",
39
- "open-source",
40
- "local-first"
41
- ],
42
- "repository": {
43
- "type": "git",
44
- "url": "https://github.com/tecet/ollm.git"
45
- },
46
- "bugs": {
47
- "url": "https://github.com/tecet/ollm/issues"
48
- },
49
- "homepage": "https://github.com/tecet/ollm#readme",
50
- "license": "Apache-2.0",
51
- "author": "OLLM CLI Contributors",
52
- "dependencies": {
53
- "@vitest/coverage-v8": "4.0.17",
54
- "ajv": "^8.12.0",
55
- "ajv-formats": "^2.1.1",
56
- "esbuild": "0.27.2",
57
- "fdir": "^6.5.0",
58
- "glob": "^13.0.0",
59
- "ignore": "^5.3.2",
60
- "ink": "^6.6.0",
61
- "ink-spinner": "^5.0.0",
62
- "jimp": "^1.6.0",
63
- "picomatch": "^4.0.3",
64
- "react": "19.2.3",
65
- "react-devtools-core": "^6.1.2",
66
- "shiki": "^3.21.0",
67
- "simple-git": "^3.30.0",
68
- "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
- "vitest": "4.0.17",
74
- "yaml": "^2.3.4",
75
- "yargs": "^17.7.0"
76
- },
77
- "devDependencies": {
78
- "@types/react": "^19.0.0",
79
- "@types/yargs": "^17.0.0",
80
- "ink-testing-library": "github:vadimdemedes/ink-testing-library"
81
- }
82
- }
1
+ {
2
+ "name": "@tecet/ollm",
3
+ "version": "0.1.4b",
4
+ "description": "Local-first CLI for open-source LLMs with tools, hooks, and MCP integration",
5
+ "type": "module",
6
+ "bin": {
7
+ "ollm": "./dist/cli.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE",
13
+ "docs",
14
+ "scripts/copy-docs-to-user.cjs"
15
+ ],
16
+ "engines": {
17
+ "node": ">=20.0.0"
18
+ },
19
+ "scripts": {
20
+ "build": "tsc",
21
+ "dev": "tsc -w",
22
+ "start": "node dist/cli.js",
23
+ "test": "vitest",
24
+ "prepack": "node ../../scripts/copy-docs-to-package.cjs .",
25
+ "postpack": "node ../../scripts/remove-docs-from-package.cjs .",
26
+ "postinstall": "node ./scripts/copy-docs-to-user.cjs"
27
+ },
28
+ "keywords": [
29
+ "llm",
30
+ "cli",
31
+ "ollama",
32
+ "ai",
33
+ "local",
34
+ "mcp",
35
+ "tools",
36
+ "context-management",
37
+ "terminal",
38
+ "tui",
39
+ "react",
40
+ "ink",
41
+ "open-source",
42
+ "local-first"
43
+ ],
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "https://github.com/tecet/ollm.git"
47
+ },
48
+ "bugs": {
49
+ "url": "https://github.com/tecet/ollm/issues"
50
+ },
51
+ "homepage": "https://github.com/tecet/ollm#readme",
52
+ "license": "Apache-2.0",
53
+ "author": "OLLM CLI Contributors",
54
+ "dependencies": {
55
+ "@tecet/ollm": "file:tecet-ollm-0.1.4b.tgz",
56
+ "@vitest/coverage-v8": "4.0.17",
57
+ "@xterm/headless": "^6.0.0",
58
+ "ajv": "^8.12.0",
59
+ "ajv-formats": "^2.1.1",
60
+ "esbuild": "0.27.2",
61
+ "fdir": "^6.5.0",
62
+ "glob": "^13.0.0",
63
+ "ignore": "^5.3.2",
64
+ "ink": "^6.6.0",
65
+ "ink-spinner": "^5.0.0",
66
+ "ink-text-input": "^6.0.0",
67
+ "jimp": "^1.6.0",
68
+ "node-pty": "^1.1.0",
69
+ "picomatch": "^4.0.3",
70
+ "react": "19.2.3",
71
+ "react-devtools-core": "^6.1.2",
72
+ "sharp": "^0.34.5",
73
+ "shiki": "^3.21.0",
74
+ "simple-git": "^3.30.0",
75
+ "terminal-image": "^1.1.0",
76
+ "vitest": "4.0.17",
77
+ "yaml": "^2.3.4",
78
+ "yargs": "^17.7.0"
79
+ },
80
+ "devDependencies": {
81
+ "@types/react": "^19.0.0",
82
+ "@types/yargs": "^17.0.0",
83
+ "ink-testing-library": "github:vadimdemedes/ink-testing-library"
84
+ }
85
+ }
@@ -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
+ })();