How 0xbiel/notes works
Palladium is a native macOS notebook for Markdown documents, notebook-scoped assistant chats, and dictation. The main workflow runs from workspace navigation into editing or chat: the assistant can use notebook files and attachments, consult web sources, and propose document edits; users can also dictate into the composer and review the transcript. The graph preserves documented export/print, LaTeX, appearance, and provider configuration capabilities. Edges are limited to relationships visible in excerpts, indexed references, or README statements; unsampled feature links are omitted where their callers are unknown.
Main entry points: MediaController.swift Dictation controller · NotebookAssistant.swift Notebook assistant · OpenRouterHarness.swift Provider runtime · WorkspaceView.swift Workspace navigation
Components 28
Notebook workspace
- App entry
Sources/Notes/NotesApp.swift - Workspace navigation
Sources/Notes/WorkspaceView.swift - Notebook and chat views
Sources/Notes/NotebookWorkspaceViews.swift - Assistant controller
Sources/Notes/NotebookAssistantController.swift - Dictation controller
Sources/Notes/MediaController.swift - Theme and appearance
Sources/Notes/NotebookAccent.swift
Documents and library
- Notebook and edit history
Sources/LectureCore/Notebook.swift - Markdown editor
Sources/Notes/LiveMarkdownEditor.swift - Markdown math and tables
Sources/LectureCore/MarkdownTable.swift - Document export and print
Sources/Notes/DocumentOutput.swift - LaTeX editing
Sources/Notes/LaTeXEditor.swift - File and attachment context
Sources/LectureCore/NotebookLibraryContext.swift - Notebook file library
Sources/LectureCore/NotebookFileLibrary.swift
Assistant and providers
- Notebook assistant
Sources/LectureCore/NotebookAssistant.swift - Web search
Sources/LectureCore/NotebookWeb.swift - Provider runtime
Sources/LectureCore/OpenRouterHarness.swift - Provider configuration
Sources/LectureCore/ProviderEnvironment.swift - Provider activity events
Sources/LectureCore/NotebookProviderProgress.swift - Transcript edit proposals
Sources/Notes/AIController.swift - Proposal outbox
Sources/LectureCore/AIOutbox.swift
Dictation pipeline
- Microphone capture
Sources/LectureCore/MicrophoneStream.swift - Whisper transcription
Sources/LectureCore/WhisperTranscriber.swift - Local media preparation
Sources/LectureCore/LocalMedia.swift
Workspace runtime
- Safe workspace storage
Sources/LectureCore/SafeWorkspace.swift
Other components
- Notebook user
- Configured AI provider
- Search and source sites
- OpenAI dictation API
Connections 33
- Notebook user → App entry: opens
README.md - App entry → Workspace navigation: presents
- Workspace navigation → Notebook and edit history: uses notebooks
Sources/Notes/WorkspaceView.swift - Workspace navigation → Notebook and chat views: presents
Sources/Notes/WorkspaceView.swift - Notebook and chat views → Assistant controller: routes chat
Sources/Notes/NotebookWorkspaceViews.swift - Notebook and chat views → Dictation controller: hosts dictation
Sources/Notes/NotebookWorkspaceViews.swift - Notebook user → Markdown editor: writes notes
README.md - Markdown editor → Markdown math and tables: renders tables
Sources/Notes/LiveMarkdownEditor.swift - Workspace navigation → Markdown editor: opens documents
Sources/Notes/WorkspaceView.swift - Notebook user → Document export and print: exports or prints
README.md - Notebook user → LaTeX editing: edits TeX
README.md - Assistant controller → Notebook assistant: runs requests
Sources/LectureCore/NotebookAssistant.swift - Notebook assistant → Notebook and edit history: reads notebook
Sources/LectureCore/NotebookAssistant.swift - Notebook assistant → File and attachment context: reads sources
Sources/LectureCore/NotebookLibraryContext.swift - Notebook assistant → Provider runtime: calls provider
Sources/LectureCore/NotebookAssistant.swift - Notebook assistant → Web search: searches web
- Web search → Search and source sites: queries sources
README.md - Provider runtime → Provider configuration: applies settings
Sources/LectureCore/OpenRouterHarness.swift - Provider runtime → Provider activity events: streams events
Sources/LectureCore/OpenCodeStreamingSession.swift - Provider runtime → Configured AI provider: sends requests
README.md - Assistant controller → Notebook file library: imports attachments
Sources/Notes/NotebookAssistantController.swift - File and attachment context → Notebook file library: reads library files
Sources/LectureCore/NotebookLibraryContext.swift - Notebook user → Dictation controller: dictates
README.md - Dictation controller → Microphone capture: captures audio
Sources/Notes/MediaController.swift - Dictation controller → Local media preparation: prepares recordings
Sources/Notes/MediaController.swift - Dictation controller → Whisper transcription: transcribes audio
Sources/Notes/MediaController.swift - Whisper transcription → OpenAI dictation API: sends API audio
README.md - Dictation controller → Transcript edit proposals: offers transcript
Sources/Notes/AIController.swift - Transcript edit proposals → Proposal outbox: queues proposals
Sources/Notes/AIController.swift - Transcript edit proposals → Provider runtime: sends proposals
Sources/Notes/AIController.swift - Proposal outbox → Safe workspace storage: persists batches
Sources/LectureCore/AIOutbox.swift - Notebook and edit history → Safe workspace storage: saves edits
Sources/LectureCore/Notebook.swift - Notebook file library → Safe workspace storage: stores notebook files
Sources/LectureCore/NotebookFileLibrary.swift