Skip to content

chore: release preparation — merge develop into main#160

Merged
github-actions[bot] merged 140 commits into
mainfrom
release/prepare-v0.10.0
Mar 14, 2026
Merged

chore: release preparation — merge develop into main#160
github-actions[bot] merged 140 commits into
mainfrom
release/prepare-v0.10.0

Conversation

@tomymaritano

@tomymaritano tomymaritano commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

What happens after merge

  1. Go to Actions → Release → Run workflow (branch: main)
  2. semantic-release calculates version, creates tag + draft release
  3. Build workflow triggers automatically for mac/win/linux
  4. Release is published when all builds succeed

Test plan

  • All tests pass (pnpm test — 16/16)
  • No conflict markers remaining
  • CI checks pass on this PR

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Real-time streaming AI chat responses with live text updates
    • Multi-provider AI support with provider selection (Anthropic, OpenAI, Ollama)
    • AI provider configuration and connection validation in settings
    • Automated release pipeline for faster product updates
  • Improvements

    • Enhanced error handling and automatic retry logic for AI operations
    • Expanded AI panel interface with improved responsiveness

tomymaritano and others added 30 commits March 11, 2026 01:41
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Notebooks now sync before notes in syncNow() to ensure note-notebook
dependencies are satisfied. Adds pullNotebooks/pushNotebooks methods
and applyRemoteNotebookChange for bidirectional notebook sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move validateNotebookTree from inline test definition to a shared module
so it can be reused by the API route and other consumers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add conflict state to SyncStatusIndicator with amber warning icon
and count. Conflicts now take priority over idle state so users
discover them without navigating to Settings.

Also export ConflictResolver from sync components barrel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DatabaseConnection.transaction() already calls the inner fn — no need
for extra () at call site.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix pullNotebooks() to only advance cursor to last successfully
  applied change (prevents skipping failed changes on retry)
- Fix tree validation snapshot to properly exclude deleted notebooks
  (prevents ghost parent references in validation)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: add bidirectional notebook sync
test: add sync-core unit tests (62 tests)
feat: surface sync conflicts in status indicator
# Conflicts:
#	apps/desktop/src/main/services/apiClient.ts
#	apps/desktop/src/main/services/syncService.ts
#	packages/api/src/db/schema.ts
#	packages/api/src/routes/sync.ts
#	packages/storage-sqlite/src/migrations/index.ts
Configure automated code review with path-specific instructions
for core, storage, desktop, and API packages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ration

Add optional metadata (name, version, priority) to registerRemarkPlugin
and registerRehypePlugin signatures for debugging and execution ordering.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tomymaritano and others added 16 commits March 12, 2026 02:49
## Summary
- **Auto-disable crashing plugins**: PluginRegistry now auto-disables
plugins after 3 consecutive crashes, with `resetErrors()` for manual
re-enable and `isAutoDisabled()` query
- **Plugin CLI commands**: Added `list`, `install`, `uninstall`, and
`link` commands to `readied-plugin` CLI for managing community plugins
from the terminal
- **Cross-platform utils**: Shared `getPluginsDir()` resolves
macOS/Win/Linux plugin directories

## Test Plan
- [x] All 235+ tests pass (`pnpm test`)
- [x] Auto-disable tests: threshold enforcement, reset behavior,
pre-threshold behavior
- [ ] Manual: `readied-plugin list` shows installed plugins
- [ ] Manual: `readied-plugin link .` creates symlink for dev plugins

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added crash threshold protection that automatically disables plugins
after repeated failures
  * Introduced plugin error state reset capability for recovery
* Added CLI commands for plugin management: `list` (view installed
plugins), `install` (add from archive or directory), `uninstall` (remove
safely with confirmation), and `link` (for local development)

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary
- Fix `wrangler-action@v3` failing with `ERR_PNPM_ADDING_TO_ROOT` in
pnpm workspaces
- Add `packageManager: pnpm` and `workingDirectory: apps/web` to the
deploy step

## Context
The Deploy Web workflow has been failing on every push to main because
wrangler-action tries `pnpm add wrangler` at the workspace root without
`-w`.

## Test plan
- [ ] Merge to develop, then main, verify deploy workflow passes

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated deployment automation configuration to enhance build and
release processes with improved package manager specification and
working directory handling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary
- Add step to create `readied-web` project on Cloudflare Pages before
deploying
- Uses `continue-on-error: true` so it doesn't fail when project already
exists
- Add `--commit-dirty=true` to suppress wrangler git warning

## Context
The Deploy Web workflow has never succeeded — project `readied-web`
doesn't exist on Cloudflare Pages (error code 8000007).

## Test plan
- [ ] Merge to develop → main, verify deploy succeeds

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

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Mirror of #138

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Mirror of #140

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary

Full rebuild of the marketing site with a modern, minimal design system:

- **Design System**: Violet accent (#8b5cf6) on dark zinc base, Inter +
JetBrains Mono fonts, dark-mode only
- **shadcn/ui**: Button, Card, Badge, Separator, Accordion, Sheet
components (new-york style)
- **Magic UI**: AnimatedShinyText, BorderBeam, DotPattern, Marquee,
NumberTicker, ShimmerButton, TextReveal effects
- **Rebuilt components**: Navbar (Sheet mobile nav), Footer (DotPattern
bg), Hero (ShimmerButton + BorderBeam), SocialProof (Marquee), Features
(BorderBeam hover), WhyLocal (TextReveal), Audience, Pricing
(NumberTicker + Accordion), Download (AnimatedShinyText)
- **Cleanup**: Removed @headlessui/react, migrated FaqAccordion to
shadcn Accordion
- **Design tokens**: All pages updated from hardcoded colors to Tailwind
v4 CSS custom properties

### New Dependencies
- framer-motion, class-variance-authority, clsx, tailwind-merge,
tailwindcss-animate
- @fontsource/inter, @fontsource-variable/jetbrains-mono
- @radix-ui/react-slot, @radix-ui/react-accordion,
@radix-ui/react-dialog, @radix-ui/react-separator

### Removed
- @headlessui/react

## Test plan
- [x] `pnpm build` passes (37+ static pages generated)
- [x] No TypeScript errors in modified files
- [x] No @headlessui/react imports remain
- [ ] Visual verification of all pages in dev mode
- [ ] Fumadocs docs render correctly with dark theme
- [ ] Mobile nav (Sheet) opens/closes correctly

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Major marketing site redesign: new hero, video guides, testimonials,
creator story, and animated landing sections.
* New UI primitives: cards, accordions, sheet-based mobile menu,
animated beams, marquees, shiny text, number ticker, and modal video
viewer.
* Pricing page: live animated pricing display and accordion FAQs;
download page unified per-platform cards.

* **Style**
* Unified semantic color tokens, violet-focused palette, updated fonts
(Inter + JetBrains Mono), and new animations (marquee, shimmer, grid).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary

- **Website redesign**: Rebuilt all marketing pages with Magic UI
components (shimmer, border beam, text reveal, marquee, number ticker),
shadcn/ui base components, and a new violet accent design system with
Inter + JetBrains Mono fonts
- **CodeRabbit fixes**: Accessibility improvements (aria labels,
semantic HTML, reduced-motion), stable React keys, design token
alignment
- **Auth UX rethink**: Replaced buried Settings > Account login with
direct "Enable Sync" flow from sidebar — value proposition modal, resend
timer, auto-detect deep link verification
- **Auth bug fixes**: Fixed API returning 500 instead of 401 for invalid
JWTs, fixed deep link race condition when app cold-starts from magic
link
- **Sync onboarding**: Shows prompt after 3+ notes created, dismissible
- **Web auth fallback**: Improved verify page for wrong-device and
app-not-installed scenarios

## Changes by area

### Website (`apps/web/`)
- New design system: violet accent, Inter + JetBrains Mono
- shadcn/ui: Button, Card, Badge, Separator, Accordion, Sheet
- Rebuilt: Navbar, Hero, Footer, SocialProof, Features, WhyLocal,
Audience, Pricing, Download, Philosophy
- Magic UI: AnimatedGridPattern, BorderBeam, Marquee, NumberTicker,
ShimmerButton, TextReveal, AnimatedShinyText
- Migrated FaqAccordion from @headlessui/react to shadcn
- Improved auth/verify fallback page

### Desktop (`apps/desktop/`)
- New `EnableSyncModal` with 5-step wizard (value prop → email → sent →
success)
- `SidebarFooter`: "Sign In" → "Enable Sync" (opens modal directly)
- `useSyncOnboarding` hook: prompt after 3+ notes
- Sync prompt banner in sidebar (dismissible)
- Deep link race condition fix (queues token if window not ready)

### API (`packages/api/`)
- Fixed `onError` handler swallowing `HTTPException` (401s returned as
500)
- Fixed auth middleware catch block losing specific error messages

### Config (`packages/product-config/`)
- Fixed extensionless imports for cross-package compatibility

## Test plan

- [x] `pnpm typecheck` — 18/18 packages pass
- [x] `pnpm test` — all tests pass (pre-push hook)
- [ ] Visual review of all marketing pages
- [ ] Test Enable Sync flow: sidebar → modal → email → magic link →
verify
- [ ] Test deep link cold-start (kill app → click magic link)
- [ ] Verify CodeRabbit has no new comments

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Desktop: prominent sync onboarding prompt and multi-step "Enable Sync"
modal.

* **Improvements**
  * Clearer auth verification flow with fallback actions.
* Accessibility enhancements across web and desktop (semantic dialogs,
reduced-motion support, better aria attributes).
  * Locale-aware number formatting and improved video modal semantics.

* **Bug Fixes**
* More reliable deep-link token delivery and safer rendering in animated
components.

* **Documentation**
  * Added roadmap for Auth, Sync, and AI work.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
# Conflicts:
#	apps/desktop/src/renderer/components/sync/index.ts
#	apps/web/app/(marketing)/auth/verify/AuthVerifyContent.tsx
#	apps/web/app/(marketing)/changelog/page.tsx
#	apps/web/app/(marketing)/download/page.tsx
#	apps/web/app/(marketing)/faq/page.tsx
#	apps/web/app/(marketing)/page.tsx
#	apps/web/app/(marketing)/philosophy/page.tsx
#	apps/web/app/(marketing)/plugins/page.tsx
#	apps/web/app/(marketing)/pricing/page.tsx
#	apps/web/app/(marketing)/privacy/page.tsx
#	apps/web/app/(marketing)/terms/page.tsx
#	apps/web/app/docs/[[...slug]]/page.tsx
#	apps/web/app/docs/layout.tsx
#	apps/web/app/globals.css
#	apps/web/app/layout.tsx
#	apps/web/components/FaqAccordion.tsx
#	apps/web/components/Footer.tsx
#	apps/web/components/MobileNav.tsx
#	apps/web/components/Navbar.tsx
#	apps/web/components/landing/Audience.tsx
#	apps/web/components/landing/ComparisonTable.tsx
#	apps/web/components/landing/Features.tsx
#	apps/web/components/landing/Hero.tsx
#	apps/web/components/landing/SocialProof.tsx
#	apps/web/components/landing/WhyLocal.tsx
#	apps/web/content/docs/architecture/overview.mdx
#	apps/web/content/docs/guide/principles.mdx
#	apps/web/content/docs/index.mdx
#	apps/web/content/docs/plugins/getting-started.mdx
#	apps/web/mdx-components.tsx
#	apps/web/package.json
#	pnpm-lock.yaml
Phase 1 — Backend fixes:
- Fix auth middleware: all jose error types return 401 JSON (not 500)
- Document all 24 API endpoints in api-reference.md

Phase 2 — Sync stability:
- Add sync error propagation to renderer via IPC status events
- Add exponential backoff on auto-sync failures (cap 5min)
- Auto-stop sync on 401 with auth-expired event
- Abort in-flight sync operations on logout via AbortController
- Token refresh returns typed errors (expired/network/device_limit)
- Sync onboarding prompt after 5 notes (session-dismissable)
- Offline queue visibility in sidebar footer (pending count)

Phase 3 — AI Commands (Cmd+K v1):
- Add 'ai' command category with toggle-panel, summarize, rewrite, tweet
- Remap Cmd+K to AI panel, insert-link to Cmd+Shift+K
- Integrate AiPanel into App layout as right-side panel
- Add AI Settings section (API key, model selector, context notes)
- Settings schema v2 with v1→v2 migration
- Wire existing ai-assistant package (Claude client, RAG, prompts)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Phase 4 — AI Knowledge (Cmd+K v2):
- Add RAG context fetching: queries search relevant notes automatically
- Add ai:ask-notes command (Cmd+Shift+K) with dedicated system prompt
- Auto-include related notes as context when a note is selected
- Mode toggle in AI panel (Chat vs Ask Notes)
- Context badge showing number of notes used as RAG context
- ASK_NOTES_SYSTEM_PROMPT instructs AI to cite note titles

Phase 5 — AI Extensibility:
- Add AiCommandDefinition type with prompt templates ({{selection}}, {{note}}, {{title}})
- Add AiCommandPreset type for shareable command collections
- Add resolveTemplate(), validateAiCommandDefinition(), validateAiCommandPreset()
- Add aiCommandStore (Zustand vanilla) for plugin-registered AI commands
- Add registerAiCommand() to PluginContext API
- Add IPC handlers for preset import/export (file dialog)
- Add preset management UI in Settings > AI Assistant
- 28 tests for command types, validation, and serialization

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…150)

## Summary

- **Phase 4 (AI Knowledge)**: Wire `ai:summarize`, `ai:rewrite`,
`ai:tweet` commands with real Claude prompts and output routing (replace
selection, insert at cursor, or show in panel)
- **Phase 5 (Extensibility)**: Bridge plugin AI command store → command
palette so plugin-registered AI commands are discoverable and executable

## Changes

### Phase 4
- Add built-in prompt templates (SUMMARIZE, REWRITE, TWEET) to
`packages/ai-assistant`
- AiPanel supports `initialCommand` prop for auto-execution
- Output target routing: `replace` swaps editor selection, `insert` adds
at cursor, `panel` shows in chat
- Handler wiring in App.tsx → useRegisterAiCommands

### Phase 5
- New `useRegisterPluginAiCommands` hook subscribes to `aiCommandStore`
and syncs to `CommandRegistry`
- Plugin AI commands auto-appear in command palette with `AI:` prefix
- Template resolution with editor context (`{{selection}}`, `{{note}}`,
`{{title}}`)
- Automatic cleanup on plugin unload

## Test plan
- [ ] Open command palette → verify Summarize/Rewrite/Tweet commands
appear
- [ ] Select text → invoke Summarize → AI panel shows summary
- [ ] Select text → invoke Rewrite → selection replaced in editor
- [ ] Select text → invoke Tweet → AI panel shows tweet version
- [ ] Cmd+K opens AI panel in chat mode
- [ ] Cmd+Shift+K opens AI panel in ask-notes mode

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **New Features**
* Added AI command suite: summarize, rewrite, and tweet built-in AI
commands with panel integration.
* Introduced violet-centric design system with new color tokens and
theme consistency.
* Enabled automated release workflow via GitHub Actions with semantic
versioning.

* **Bug Fixes**
  * Enhanced token encoding for secure authentication flows.
* Improved sync error handling with better retry logic and abort
handling.

* **Documentation**
  * Added comprehensive roadmap and changelog documentation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary
- Migrated all Tailwind CSS classes to v4 canonical names
(`bg-gradient-to-*` → `bg-linear-to-*`, opacity fractions simplified)
- Removed deprecated `baseUrl` and unused `paths` from `ai-assistant`
and `command-registry` tsconfigs

## Changes
- **24 files** across `apps/web` components and 2 package tsconfigs
- No logic changes — purely class name modernization and config cleanup

## Test plan
- [x] `pnpm typecheck` passes 18/18
- [x] `pnpm test` passes
- [ ] Visual check of web app (Tailwind classes should render
identically)

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Standardized border opacity values and color styling across the
application for improved visual consistency.
* Updated gradient utilities to use a unified styling approach
throughout UI components.
* Refined background and border color tokens with shorter opacity syntax
for cleaner styling declarations.
* Applied consistent opacity values to buttons, dividers, badges, and
decorative elements across marketing pages and navigation.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
)

## Summary

- **License-gated auto-sync**: Prevents 403 errors for free/expired
users by checking license state before starting sync
- **Smart EnableSyncModal**: License-aware step routing — computes
initial step based on auth × license state (skips pricing for trial
users, skips auth for already-signed-in users)
- **Stripe checkout integration**: Monthly (€2/mo) and annual (€20/year)
plan selection with real Stripe checkout flow
- **Sidebar drag-and-drop fixes**: Grip handle for intentional drags,
circular reference prevention, recursive child depth update on move
- **SyncStatusIndicator**: Replaced hardcoded hex colors with design
token CSS classes
- **Product-config pricing alignment**: Updated from USD placeholders to
actual EUR Stripe prices
- **CI/CD**: Auto-deploy API to Cloudflare Workers on push to main

## Files changed

| Area | Files |
|------|-------|
| Auth/Sync | `authStore.ts`, `useSyncOnboarding.ts`,
`EnableSyncModal.tsx` |
| UI | `LoginModal.module.css`, `SyncStatusIndicator.tsx/.module.css`,
`global.css` |
| Sidebar | `NotebookItem.tsx`, `index.ts` (main process) |
| Config | `product-config/facade.ts` |
| CI/CD | `.github/workflows/deploy-api.yml` |

## Test plan

- [ ] New user (trial active, not auth'd) → Enable Sync → value-prop →
email → success
- [ ] Trial expired, not auth'd → Enable Sync → value-prop → email →
pricing → checkout → success
- [ ] Authenticated + free → Enable Sync → pricing → checkout → success
- [ ] Authenticated + pro → Enable Sync → shows "already syncing"
success
- [ ] Drag notebooks via grip handle only — text selection still works
- [ ] Move parent folder with children — all children depths update
correctly
- [ ] `pnpm typecheck` passes
- [ ] `pnpm test` passes

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added drag-and-drop support for organizing notebooks with visual
feedback.
* Enhanced sync onboarding with license-aware capability checks and
subscription options.
* Improved magic link authentication with real-time verification
feedback.

* **Bug Fixes**
* Fixed circular reference issues when reorganizing notebook
hierarchies.
  * Enhanced auto-sync activation with license state validation.

* **Style**
  * Unified design token system with dark/light theme support.
  * Updated error messaging UI in authentication flow.

* **Chores**
  * Updated pricing to EUR.
  * Consolidated design system infrastructure.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary

- **New `@readied/ai-core` package** — provider-agnostic AI architecture
with LLMProvider interface, ProviderRegistry, streaming SSE parser,
retry logic with exponential backoff, context builder with token
budgeting, and AIService orchestrator
- **Full Electron integration** — IPC bridge with batched streaming
events, preload API, and renderer AiPanel wired to the new streaming
architecture
- **UX fixes** — unified dual AI panel entry points (Cmd+K and Sparkles
button) into single panel, fixed panel height to fill container, made
React DevTools dev-only via dynamic import
- **Monorepo fix** — pinned `@types/react` to 18.x via pnpm overrides to
resolve lucide-react type mismatch

## Architecture

```
Renderer (AiPanel) → IPC → Main (ai-core bridge) → AIService → ProviderRegistry → AnthropicProvider → SSE stream
                   ←  batched LLMEvents (text/error/done)  ←
```

## What's included

### packages/ai-core (new)
- `LLMProvider` interface + `ProviderRegistry` for pluggable providers
- `AnthropicProvider` with native SSE streaming (no SDK dependency)
- `ContextBuilder` with token budgeting and automatic content trimming
- `AIService` orchestrator with retry, cancellation, and context
building
- `LLMEvent` protocol: `text`, `error`, `done`, `tool_call`,
`tool_result`
- Reusable SSE stream parser

### apps/desktop
- IPC bridge with 50ms batched event streaming (main → renderer)
- Preload API: `window.readied.ai.chat()`, `.onEvent()`, `.cancel()`
- Unified AI panel (single instance, both Cmd+K and Sparkles button
toggle it)
- Panel height fix (fills container instead of 350px cutoff)
- Dynamic import for electron-devtools-installer (excluded from prod)

### Monorepo
- Removed deprecated `@readied/ai-assistant` package
- Added `pnpm.overrides` to pin `@types/react@18.3.27` across workspace

## Test plan

- [x] All 16 packages pass `pnpm test`
- [x] `pnpm typecheck` passes (17/17 tasks)
- [x] `pnpm build` succeeds
- [ ] Manual: Cmd+K opens AI panel in ask-notes mode
- [ ] Manual: Sparkles button toggles same panel
- [ ] Manual: AI chat streams responses correctly
- [ ] Manual: Panel fills full height of sidebar

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added streaming AI chat responses for real-time interaction
  * Introduced provider selection (Anthropic, OpenAI, Ollama support)
  * Added ability to cancel in-flight AI requests
  * Implemented configuration validation for AI providers
  * Enhanced chat interface with conversation modes

* **Refactor**
  * Restructured AI system for multi-provider support
  * Updated settings schema with provider configuration

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## Summary

- Replace manual release process with a two-stage automated pipeline
using **semantic-release**
- **Stage 1** (`release.yml`): `workflow_dispatch` on main →
semantic-release analyzes commits, bumps version, creates tag + draft
GitHub Release (~30s)
- **Stage 2** (`build.yml`): tag push triggers parallel mac/win/linux
builds → signs + notarizes macOS → uploads artifacts → undrafts release
→ tweets → auto-PR syncs main→develop

## Changes

- Add `release.config.js` (conventionalcommits preset, draft release,
beta channel ready)
- Add `scripts/bump-version.js` with tests (syncs version across
monorepo)
- Replace `.github/workflows/release.yml` (200 lines → 46 lines
semantic-release workflow)
- Create `.github/workflows/build.yml` (parallel platform builds +
publish + tweet + sync-develop)
- Delete `.github/workflows/auto-tag.yml` (replaced by semantic-release)
- Update CLAUDE.md Git Flow section with release process + rollback docs
- Add semantic-release + plugins as devDependencies

## Required: New GitHub Secret

Create a `GH_TOKEN` repository secret — a Personal Access Token with
`contents: write` scope. Needed because:
1. semantic-release must push tags that trigger other workflows
(GITHUB_TOKEN can't do this)
2. electron-builder needs write access to upload artifacts to GitHub
Releases

## Test plan

- [x] All existing tests pass (`pnpm test`)
- [x] `scripts/bump-version.test.js` — 2 new tests passing
- [x] `release.config.js` loads correctly
- [x] All workflow YAML files are syntactically valid
- [ ] Create `GH_TOKEN` secret in repo settings
- [ ] After merge to main: click "Run workflow" on Release action to
test end-to-end

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Implemented automated release pipeline with semantic versioning,
generating changelogs automatically.
* Added multi-platform build automation for simultaneous macOS, Windows,
and Linux releases.

* **Documentation**
* Updated Git Flow and release process documentation to reflect new
automated workflows.

* **Tests**
  * Added tests for automated version management.

* **Chores**
  * Refined release workflows for improved efficiency and reliability.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Mar 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
readide Ready Ready Preview, Comment Mar 14, 2026 8:01pm

Request Review

@github-actions github-actions Bot enabled auto-merge (squash) March 14, 2026 20:00
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file ci app:web app:desktop size/XL labels Mar 14, 2026
@coderabbitai

coderabbitai Bot commented Mar 14, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 9cf3bfa3-7abf-4e03-b82d-7aaf9a48b121

📥 Commits

Reviewing files that changed from the base of the PR and between e5dc625 and 2588a5f.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (60)
  • .claude/settings.local.json
  • .github/workflows/build.yml
  • .github/workflows/release.yml
  • CLAUDE.md
  • apps/desktop/package.json
  • apps/desktop/src/main/ai/ipc-ai.ts
  • apps/desktop/src/main/ai/setup.ts
  • apps/desktop/src/main/index.ts
  • apps/desktop/src/preload/index.ts
  • apps/desktop/src/renderer/App.tsx
  • apps/desktop/src/renderer/components/ai/AiPanel.tsx
  • apps/desktop/src/renderer/hooks/useRegisterPluginAiCommands.ts
  • apps/desktop/src/renderer/pages/settings/sections/AiSection.tsx
  • apps/desktop/src/renderer/plugins/aiAssistant.tsx
  • apps/desktop/src/renderer/stores/settings/schema.ts
  • apps/desktop/src/renderer/stores/settings/settingsStore.ts
  • apps/desktop/src/renderer/styles/ai-panel.css
  • apps/web/app/(marketing)/auth/verify/AuthVerifyContent.tsx
  • apps/web/app/(marketing)/changelog/page.tsx
  • apps/web/app/(marketing)/download/page.tsx
  • apps/web/app/(marketing)/pricing/page.tsx
  • apps/web/app/docs/[[...slug]]/page.tsx
  • apps/web/components/Footer.tsx
  • apps/web/components/Navbar.tsx
  • apps/web/components/landing/Hero.tsx
  • apps/web/components/landing/VideoGuides.tsx
  • apps/web/components/magicui/animated-shiny-text.tsx
  • apps/web/components/magicui/border-beam.tsx
  • apps/web/components/magicui/hero-video-dialog.tsx
  • docs/superpowers/plans/2026-03-14-automated-release-pipeline.md
  • docs/superpowers/specs/2026-03-14-automated-release-pipeline-design.md
  • package.json
  • packages/ai-assistant/src/claude-client.ts
  • packages/ai-assistant/src/index.ts
  • packages/ai-assistant/src/prompts.ts
  • packages/ai-assistant/src/rag.ts
  • packages/ai-core/package.json
  • packages/ai-core/src/ai-command-types.test.ts
  • packages/ai-core/src/ai-command-types.ts
  • packages/ai-core/src/ai-service.ts
  • packages/ai-core/src/context-builder.ts
  • packages/ai-core/src/index.ts
  • packages/ai-core/src/provider-registry.ts
  • packages/ai-core/src/provider.ts
  • packages/ai-core/src/providers/anthropic.ts
  • packages/ai-core/src/providers/sse-parser.ts
  • packages/ai-core/src/retry.ts
  • packages/ai-core/src/types.ts
  • packages/ai-core/tests/ai-command-types.test.ts
  • packages/ai-core/tests/ai-service.test.ts
  • packages/ai-core/tests/context-builder.test.ts
  • packages/ai-core/tests/provider-registry.test.ts
  • packages/ai-core/tests/providers/anthropic.test.ts
  • packages/ai-core/tests/providers/sse-parser.test.ts
  • packages/ai-core/tests/retry.test.ts
  • packages/ai-core/tests/types.test.ts
  • packages/ai-core/tsconfig.json
  • release.config.js
  • scripts/bump-version.js
  • scripts/bump-version.test.js

📝 Walkthrough

Walkthrough

Restructures AI module to provider-agnostic architecture with streaming support, implements semantic-release-based automated release pipeline with multi-platform builds, refactors desktop app AI integration via IPC handlers, and normalizes Tailwind utility classes across web components.

Changes

Cohort / File(s) Summary
AI Core Package (New)
packages/ai-core/src/types.ts, packages/ai-core/src/provider.ts, packages/ai-core/src/provider-registry.ts, packages/ai-core/src/providers/anthropic.ts, packages/ai-core/src/providers/sse-parser.ts
New provider-agnostic AI core with type definitions for streaming events, provider abstractions, Anthropic Claude implementation with SSE streaming, and registry for managing multiple providers.
AI Service & Context
packages/ai-core/src/ai-service.ts, packages/ai-core/src/context-builder.ts, packages/ai-core/src/retry.ts
Implements AIService for streaming chat with retry logic, context building with token budgeting and note inclusion, error classification and exponential backoff for transient failures.
AI Command Types
packages/ai-core/src/ai-command-types.ts, packages/ai-core/src/index.ts
Consolidated AI command validation, template resolution, preset serialization; new barrel export for ai-core package surface.
Desktop App AI Integration
apps/desktop/src/main/ai/setup.ts, apps/desktop/src/main/ai/ipc-ai.ts, apps/desktop/src/main/index.ts
New AIService setup with lazy singleton, IPC handlers for streaming chat, cancellation, validation, and preset import/export; wiring into main process with dynamic initialization.
Desktop Preload & Renderer
apps/desktop/src/preload/index.ts, apps/desktop/src/renderer/App.tsx, apps/desktop/src/renderer/components/ai/AiPanel.tsx, apps/desktop/src/renderer/pages/settings/sections/AiSection.tsx, apps/desktop/src/renderer/plugins/aiAssistant.tsx
Updated chat API to streaming interface with event listeners and cancellation; provider configuration UI with validation; event-driven panel toggle; support for multiple AI providers.
Settings & Schema
apps/desktop/src/renderer/stores/settings/schema.ts, apps/desktop/src/renderer/stores/settings/settingsStore.ts
Schema version bump to v3 with provider field; migration logic to add default Anthropic provider; support for generic model strings.
Styling & Styling Cleanup
apps/desktop/src/renderer/styles/ai-panel.css, apps/web/app/(marketing)/auth/verify/AuthVerifyContent.tsx, apps/web/app/(marketing)/changelog/page.tsx, apps/web/app/(marketing)/download/page.tsx, apps/web/app/(marketing)/pricing/page.tsx, apps/web/components/Footer.tsx, apps/web/components/Navbar.tsx, apps/web/components/landing/Hero.tsx, apps/web/components/landing/VideoGuides.tsx, apps/web/components/magicui/*
Tailwind opacity/gradient utility normalization (bracket notation to shorthand); AI panel height adjusted to fill container; minor visual refinements across web marketing components.
Release Pipeline
.github/workflows/release.yml, .github/workflows/build.yml, .claude/settings.local.json, release.config.js, scripts/bump-version.js
New semantic-release configuration with conventional commits; stage 1 workflow for version bumping and tagging; stage 2 multi-platform Electron build workflow; bump-version script for monorepo synchronization; expanded Bash command permissions.
Documentation & Testing
CLAUDE.md, docs/superpowers/plans/2026-03-14-automated-release-pipeline.md, docs/superpowers/specs/2026-03-14-automated-release-pipeline-design.md, package.json, packages/ai-core/tests/*, scripts/bump-version.test.js
Updated Git workflow documentation with automated release process; comprehensive design and implementation plans; added semantic-release and vitest dependencies; extensive test suites for context builder, AI service, providers, retry logic, and bump-version script.
Package Updates
apps/desktop/package.json, packages/ai-core/package.json, packages/ai-assistant/src/*
Desktop dependency migrated from @readied/ai-assistant to @readied/ai-core; ai-assistant package renamed to ai-core with updated metadata; legacy claude-client, rag, and prompts exports removed.

Sequence Diagram

sequenceDiagram
    participant Client as Desktop Client
    participant IPC as IPC Handler
    participant Service as AIService
    participant Registry as ProviderRegistry
    participant Provider as LLMProvider
    participant Renderer as Renderer/UI

    Client->>IPC: ai:chat { query, currentNote, history, ... }
    IPC->>Service: chat(request)
    Service->>Registry: get(providerId)
    Registry-->>Service: LLMProvider instance
    Service->>Provider: chat(options, config)
    Provider->>Provider: Build request, stream SSE
    Provider-->>Service: AsyncIterable<LLMEvent>
    Service->>Service: consumeStream with 50ms batching
    Service-->>IPC: emit batched text events
    IPC->>Renderer: ai:event { requestId, text }
    Renderer->>Renderer: Accumulate text, update panel
    Provider-->>Service: usage, done events
    Service-->>IPC: Final event stream
    IPC->>Renderer: ai:event { requestId, done }
    Renderer->>Renderer: Finalize message
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~75 minutes

Possibly related PRs

  • #142: Modifies same web marketing and UI component files (Hero, Navbar, Footer, pricing/changelog/download pages, magic UI components)
  • #155: Refactors AI package surface by moving prompts, command types, and validators into new ai-core structure
  • #150: Implements Phase 4-5 AI command and plugin functionality with similar provider-agnostic architecture

Suggested labels

dependencies, ci, size/XL, app:desktop, app:web, breaking

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/prepare-v0.10.0
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot merged commit c6556d5 into main Mar 14, 2026
14 of 15 checks passed
tomymaritano added a commit that referenced this pull request Mar 14, 2026
github-actions Bot pushed a commit that referenced this pull request Mar 14, 2026
…161)

## Summary

- Reverts the squash merge from PR #160 and re-merges develop with a
proper merge commit
- **Why:** semantic-release needs to see individual `feat:` and `fix:`
commits to calculate the version. The squash merge compressed everything
into a single `chore:` commit, so semantic-release found nothing to
release.

## Important: Merge this PR with "Create a merge commit"

**DO NOT use "Squash and merge"** — that would recreate the same
problem.

Click the dropdown arrow next to "Merge pull request" and select
**"Create a merge commit"**.

## After merging

Go to **Actions → Release → Run workflow** (branch: main) to trigger the
release.

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

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **New Features**
* Introduced AI command system with support for command definitions,
presets, and validation.
* Added template placeholder support for dynamic content injection
(selection, note, title).
* Implemented configurable output targets for command results (replace,
insert, panel).

* **Tests**
* Added comprehensive unit tests covering command validation, template
resolution, and preset serialization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:desktop app:web ci dependencies Pull requests that update a dependency file size/XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant