Commit Graph
19 Commits
Author SHA1 Message Date
AlexKucera ac20fadef6 Guards against empty cache arrays
Prevents errors when attempting to process an empty cache.

Deletes the cache entry if it is empty to avoid repeatedly
attempting to process an invalid cache entry.
2025-09-26 08:11:44 +02:00
AlexKucera 520ac6e826 Fixes broken links in README
Corrects several broken links in the README file:

- Updates the download badge link
- Corrects the manual installation link to GitHub releases
- Updates the BRAT repository link

These changes ensure users can access the correct resources.
2025-09-26 07:48:44 +02:00
AlexKucera 5a97bd50a6 Fixes broken CodeRabbit badge link
Corrects the URL for the CodeRabbit Reviews badge in the README.

The previous URL was malformed, preventing the badge from displaying correctly. This change ensures the badge accurately reflects the status of CodeRabbit reviews.
2025-09-25 16:19:08 +02:00
AlexKucera ac1468c72e Adds CodeRabbit badge to README
Includes a CodeRabbit badge in the README to showcase code review status.
2025-09-25 15:37:44 +02:00
AlexKucera 16901f9ec6 Updates downloads badge URL
Corrects a typo in the downloads badge URL in the README, ensuring it links to the releases page instead of an invalid location.
2025-09-21 22:09:23 +02:00
AlexKucera 383f355e45 Updates project badges in README
Updates the project badges in the README file to reflect the correct repository name and adds a downloads badge.
2025-09-21 16:08:50 +02:00
AlexKucera 8147662d61 Adds plugin combination recommendations
Recommends complementary plugins to enhance the freewriting workflow, suggesting specific usage patterns and benefits.
2025-09-20 14:21:11 +02:00
AlexKucera c34ee2edd6 Enhances prompt generation with type-specific instructions
Refines prompt generation by incorporating modifiers based on the prompt type.

This ensures that staggered prompts are short and direct, while also enforcing a consistent output format across all prompt types by appending specific instructions to the system prompt.

The user message is also updated to ensure the model returns only the numbered prompts, nothing else.
2025-09-20 10:55:06 +02:00
AlexKucera 2fbe582c4d Simplifies prompt generation model usage
Updates prompt generation to use the model type directly, removing the need for casting.

This change streamlines the prompt generation process and enhances type safety.
2025-09-20 10:53:36 +02:00
AlexKucera eaab2012db Improves staggered prompt display timing
Ensures prompt notifications display correctly
by adjusting the notification duration based
on the configured delay. Prevents potential overlap
between successive prompts.
2025-09-20 10:52:41 +02:00
AlexKucera cc63d92b6c Automates plugin release process with GitHub Actions
Sets up a GitHub Actions workflow to automatically build, package, and release the Obsidian plugin when a new tag is pushed.

This workflow:
- Checks out the code, sets up Node.js, and installs dependencies.
- Builds the plugin using `npm run build`.
- Creates a zip package containing the necessary files (main.js, manifest.json, and styles.css).
- Extracts the version from `manifest.json` and changelog from `CHANGELOG.md`.
- Creates a GitHub release with the extracted version and changelog, including installation instructions and file information.
2025-09-19 22:24:36 +02:00
AlexKucera e045dcf5ad Adds initial changelog file
Creates a new CHANGELOG.md file to document notable
changes to the project, adhering to Keep a Changelog format
and Semantic Versioning.

This file details the features, technical aspects, and security
considerations introduced in version 1.0.0, as well as a link
to the unreleased changes.
2025-09-19 22:24:26 +02:00
AlexKucera 9c8e5b022e Updates example prompt
Updates the default staggered example prompt to provide a more open-ended starting point. This aims to encourage more creative and diverse initial responses from users.
2025-09-19 22:24:19 +02:00
AlexKucera c209b5a6bf Excludes project-specific files from Git tracking.
Ignores Sublime Text project and workspace files to prevent them from being tracked in the repository. This ensures a cleaner repository state and avoids accidental inclusion of user-specific settings.
2025-09-19 22:24:11 +02:00
AlexKucera 4254ef3ae9 Sets up release workflow and licensing
Adds a GitHub Actions workflow to automate plugin releases upon tagging.

Includes a LICENSE file with the GNU General Public License v3.

Removes old LICENSE and manifest files.

Removes console logs from the main plugin file to reduce noise.
2025-09-19 19:04:26 +02:00
AlexKucera 44936775cd 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
2025-09-19 18:51:48 +02:00
AlexKucera e204a9998c Adds package-lock.json file
Adds the package-lock.json file to the repository to ensure consistent dependency versions across different environments.
This file helps to maintain the integrity and reproducibility of the project's dependencies.
2025-09-19 18:51:20 +02:00
AlexKucera dd73fcb592 Adds Claude guidance and ignores log file
Adds a CLAUDE.md file to provide guidance for Claude Code (claude.ai/code) when working with this repository.

Also, adds `logs/stack-exchange-mcp-server.log` to the .gitignore file to prevent it from being tracked.
2025-09-19 18:50:21 +02:00
AlexKucera 81dd4ae3f7 Initial commit 2025-09-19 18:29:50 +02:00