Implements freewriting prompts plugin

Initial implementation of the Freewriting Prompts plugin.

This commit introduces the core functionality for generating
AI-powered writing prompts using Anthropic's Claude API.

It includes:
- API client for interacting with the Anthropic API
- Services for generating and caching prompts
- Commands for displaying staggered prompts and appending prompts to notes
- Settings tab for configuring the plugin
This commit is contained in:
AlexKucera committed 2025-09-19 18:51:48 +02:00
1 parent e204a9998c
commit 44936775cd
10 files changed
+1095 -143

No files matched your search

+4 -4
View File
@@ -1,15 +1,15 @@
{
"name": "obsidian-sample-plugin",
"name": "obsidian-freewriting-prompts",
"version": "1.0.0",
"description": "This is a sample plugin for Obsidian (https://obsidian.md)",
"description": "Generate AI-powered writing prompts for freewriting sessions using Anthropic's Claude.",
"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": [],
"author": "",
"keywords": ["obsidian", "plugin", "writing", "prompts", "ai", "claude", "freewriting"],
"author": "Alexander",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",