Skip to content

Notes ​

Source: src/renderer/src/components/Workspace.tsx

Overview ​

Markdown editor for taking notes alongside AI work. Notes are stored locally and can be sent to chat as context.

Editor ​

  • Markdown editing with live preview (SimpleMDE-based)
  • Auto-save on a debounced timer (flushes on unmount and note switch)
  • Character count in the note metadata

Note Management ​

Notes appear in the left sidebar under "Notes" when expanded.

ActionDescription
CreateClick + or start typing in an empty workspace
RenameRight-click or use the rename action
PinPinned notes sort to the top
DeleteRemove note from disk
ImportImport content from .md, .txt, .text files
ExportDownload as .md or .txt file, or save as PDF via print dialog

Note: Legacy notes from previous versions (stored in localStorage) are automatically migrated to JSON files on first load.

AI Commands & Transforms ​

The right sidebar provides context-aware AI operations when a model is loaded:

CategoryCommandsDescription
AI CommandsContinue Writing, Summarize, Draft IntroductionGenerates and appends new content
TransformTo Table, Key Points, Expand Section, Generate OutlineRestructures or expands existing text

Generated content is streamed directly into the note editor.

Chat Integration ​

Click "Send to Chat" to inject the note content into the chat input. This sets pendingChatInput in the global state, which the Chat tab picks up and pre-fills into the message input.

Storage ​

Notes are JSON files in ~/.silicon-studio/notes/:

json
{
  "id": "uuid",
  "title": "My Note",
  "content": "# Markdown content here",
  "pinned": false,
  "created_at": "2026-01-15T10:30:00",
  "updated_at": "2026-01-15T11:00:00",
  "char_count": 1234
}

API ​

EndpointMethodDescription
/api/notes/GETList notes (title, metadata only)
/api/notes/{id}GETFetch full note with content
/api/notes/POSTCreate note
/api/notes/{id}PATCHUpdate note
/api/notes/{id}DELETEDelete note

Released under the MIT License. · Privacy & legal