Files
obsidian_ollama/package.json
T
fegger 59df2f6856 Refactor Ollama client and related components
Update error handling and improve streaming capabilities in the Ollama client and related components. Key changes
include:

- Simplify error types and improve error handling
- Refactor streaming logic to use async generators
- Update tool execution and vault indexing
- Improve utility functions and types
- Update test files to reflect changes
2026-05-05 17:09:16 +02:00

39 lines
853 B
JSON
Executable File

{
"name": "ollama-plugin",
"version": "1.0.0",
"description": "Ollama integration plugin for Obsidian",
"main": "main.ts",
"scripts": {
"test": "jest",
"build": "tsc",
"watch": "tsc --watch",
"lint": "eslint . --ext .ts",
"format": "prettier --write ."
},
"keywords": [
"obsidian",
"ollama",
"chat",
"ai",
"plugin"
],
"author": "Anonymous",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.11.19",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"dependencies": {
"jest-environment-jsdom": "^30.3.0",
"node-fetch": "^3.3.2",
"obsidian": "^1.4.11"
}
}