Commit Graph

10 Commits

Author SHA1 Message Date
50d166cb7c Merge branch 't3code/61c5f7df' into v2/rewrite 2026-05-15 00:28:49 -04:00
0e5a31866f feat(memo): add and delete sections via RPC
Add memo.addSection and memo.deleteSection RPC methods with full-stack
implementation: contract types, Zod schemas, DB queries, RPC handlers,
UI buttons, and tests.

- memo.addSection: creates a new empty section, supports positional
  insert after a given section via afterSectionId
- memo.deleteSection: removes a section and cascades cleanup of its
  annotations, citations, and section reviews
- Outline sidebar: per-section delete button, + Add Section button
- Article area: + Add Section button after last section
- 9 new tests (15 total memo tests, 48 project-wide)
2026-05-15 00:27:09 -04:00
c8a39e6416 Add user profile customization with name, role, email, and phone
- Add UserProfileSchema to ClientSettings with name, role, email, phone fields
- Update database layer to persist profile data in client_settings table
- Rewrite ProfileOverlay component as editable form with save/cancel actions
- Update Topbar to display user's initials from profile name
- Profile data loaded on app mount and saved via settings.update RPC

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 00:26:57 -04:00
0624026af3 Migrate to Pi Coding Agent SDK for multi-provider LLM support
Replace the custom Pi API fetch client with the @earendil-works/pi-coding-agent
SDK, enabling support for multiple LLM providers (Anthropic, OpenAI, DeepSeek,
Google Gemini, xAI/ZAI) while maintaining backward compatibility.

Key changes:
- Add piSdk.ts with SDK session management and provider auto-detection
- Refactor client.ts to delegate to SDK adapter, keeping public API surface
- Update documentation to reflect multi-provider environment variables
- Add RPC contracts for LLM model selection and provider configuration
- Update agent runner to support provider-specific tools and parameters

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 00:17:26 -04:00
506d092b2b Wire remaining reactive UI controls 2026-05-14 21:40:24 -04:00
f95b0ae912 Implement local SQLite backend and reactive UI 2026-05-14 21:28:32 -04:00
4aa3f7b362 Split shared RPC handler by domain 2026-05-14 15:50:28 -04:00
df367756d0 Implement RPC contract validation baseline 2026-05-14 15:41:51 -04:00
379c07b50c Add v2 rewrite: monorepo with desktop and web apps, shared packages, docs, and wireframes 2026-05-14 13:13:21 -04:00
6d7eed9230 Initial commit 2026-05-06 23:05:21 -04:00