Adds a plugin to clean up freewriting text using the Anthropic API. This initial commit introduces core functionality, including: - API client for interacting with Anthropic's Claude models. - Service for orchestrating cleanup operations and managing API calls. - Command for executing the cleanup process on selected text within Obsidian editor. - Settings tab for configuring the API key, model, prompts, and commentary preferences. - Type definitions for settings, API requests/responses, and cleanup results. The plugin provides a command to clean up selected text, apply custom prompts, and optionally generate commentary on the freewriting session.
25 lines
779 B
JSON
25 lines
779 B
JSON
{
|
|
"name": "freewriting-cleanup",
|
|
"version": "1.0.0",
|
|
"description": "Use AI to clean up your freewriting typos and create a proper paragraph.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
|
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
|
},
|
|
"keywords": ["obsidian", "plugin", "ai", "writing", "cleanup", "anthropic", "claude"],
|
|
"author": "Alexander Kucera",
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.6",
|
|
"@typescript-eslint/eslint-plugin": "5.29.0",
|
|
"@typescript-eslint/parser": "5.29.0",
|
|
"builtin-modules": "3.3.0",
|
|
"esbuild": "0.17.3",
|
|
"obsidian": "latest",
|
|
"tslib": "2.4.0",
|
|
"typescript": "4.7.4"
|
|
}
|
|
}
|