No description
Find a file
Mark Ayers bf417172b8 Add comprehensive settings validation
Expand validateSettings() to check all critical settings before
processing, not just the API key:

API Key validation:
- Check for empty or whitespace-only values
- Validate format (must start with 'sk-' for OpenAI keys)

Output folder validation:
- Check for empty or whitespace-only values
- Reject paths with invalid filesystem characters (<>:"|?*\x00-\x1f)

Model validation:
- Ensure model is in the list of valid options (gpt-4o-mini, gpt-4o)
- Catches manually edited or corrupted settings

This prevents cryptic errors later in execution by catching configuration
issues early with clear, actionable error messages for users.

Fixes H5 (Incomplete settings validation) from CODE_REVIEW.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 19:52:04 -04:00
.github/workflows Remove more unused 2025-03-13 01:07:41 -04:00
src Add comprehensive settings validation 2025-10-12 19:52:04 -04:00
.editorconfig Initial commit 2024-12-04 19:07:41 -05:00
.gitignore Initial commit 2024-12-04 19:07:41 -05:00
.npmrc Initial commit 2024-12-04 19:07:41 -05:00
esbuild.config.mjs Reorganize the code for better maintenance 2025-03-13 01:30:00 -04:00
LICENSE Initial commit 2024-12-04 19:20:09 -05:00
manifest.json New release - Linkback to source notes, by @philoserf - PR 5 2025-03-18 13:59:19 -04:00
package-lock.json Remove the unused 2025-03-13 00:59:55 -04:00
package.json Remove the unused 2025-03-13 00:59:55 -04:00
README.md Reformat files with tools 2025-03-13 00:44:01 -04:00
tsconfig.json Modernize tsconfig with related code changes 2025-03-13 01:06:02 -04:00
version-bump.mjs Initial commit 2024-12-04 19:07:41 -05:00
versions.json New release - Linkback to source notes, by @philoserf - PR 5 2025-03-18 13:59:19 -04:00

Atomizer: Turn notes into ideas

NOTE: THIS PLUGIN IS CURRENTLY IN ITS EARLY STAGES OF DEVELOPMENT. UPDATES WILL BE SPARSE UNTIL I HAVE MORE TIME TO DEDICATE TO ADDING FEATURES! THANK YOU FOR THE FEEDBACK SO FAR! :)

This plugin helps break down large notes into smaller, "atomic" style notes and ideas, using the OpenAI API.

Requirements

  • An OpenAI API key is required for full functionality

Usage

  • Set your OpenAI API key in settings.
  • Open the command palette and select "Atomize Selected Note" to process the currently selected note; Alternatively, you can use the icon in the left sidebar.
  • Sends selected note to OpenAI for processing, where it will be broken down into "atomic notes" that aim to extract key insights from the original note.
  • Frontmatter will be added to each new note, including the date and any custom tags you've configured from the settings menu.

Models supported

  • gpt-4o-mini
  • gpt-4o

Network Usage Disclosure

This plugin makes network requests to:

  • OpenAI API (api.openai.com) for generating atomic notes from your content
  • Your notes' content is sent to OpenAI for processing. Please review OpenAI's privacy policy.