Skip to content

fix: re-merge develop with proper merge commit for semantic-release#161

Merged
github-actions[bot] merged 141 commits into
mainfrom
fix/release-merge-strategy
Mar 14, 2026
Merged

fix: re-merge develop with proper merge commit for semantic-release#161
github-actions[bot] merged 141 commits into
mainfrom
fix/release-merge-strategy

Conversation

@tomymaritano

@tomymaritano tomymaritano commented Mar 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Reverts the squash merge from PR chore: release preparation — merge develop into main #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

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.

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 23 commits March 11, 2026 21:47
Replace peter-evans action with gh CLI which doesn't need
pull-request-number input and works directly with PR events.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Husky hooks:
- commit-msg: validate conventional commits with commitlint
- pre-push: run tests + typecheck before pushing

CI improvements (Tier 1 - Speed):
- Shared setup job with cached node_modules
- Cancel in-progress runs on new pushes
- Turborepo-ready with env vars

CI improvements (Tier 2 - Quality):
- Test coverage collection and artifact upload
- Bundle size tracking reported in PR summary
- PR size labels (XS/S/M/L/XL)
- Auto-label PRs by changed packages

CI improvements (Tier 3 - Security):
- npm audit check for high severity vulnerabilities
- License compatibility check (blocks GPL-3.0/AGPL/SSPL)
- CodeQL static analysis (weekly + on PR)
- Commitlint on PR titles

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
plugin-api is browser code without @types/node, so process.env causes
typecheck failures. The debug log is low-cost and harmless in production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: resolve CodeRabbit review issues across merged PRs
chore: add Husky pre-commit hooks and auto-merge workflow
## Summary
- **Replaces** `apps/docs-site/` (VitePress/Vue) and
`apps/marketing-site/` (Astro) with a single `apps/web/` Next.js 15 app
- **Docs** served via Fumadocs at `/docs/*` (21 pages migrated from
VitePress)
- **Marketing** pages at `/` with navbar, footer, landing page, and 13
converted pages (pricing, FAQ, changelog, download, etc.)
- **Stack unification**: entire frontend is now React + Next.js +
Tailwind CSS 4

## What changed
- `apps/web/` — New unified Next.js + Fumadocs app (37 static pages)
- `apps/docs-site/` — Deleted (replaced by `apps/web/content/docs/`)
- `apps/marketing-site/` — Deleted (replaced by
`apps/web/app/(marketing)/`)
- `.github/workflows/docs.yml` — Updated for Next.js build
- `.github/labeler.yml` — Updated labels for new structure
- `turbo.json` — Updated build outputs

## Test plan
- [x] `pnpm test` — all tests pass
- [x] `next build` — 37 pages generated successfully
- [ ] Manual review of docs pages at `/docs`
- [ ] Manual review of marketing pages at `/`
- [ ] Verify navbar, footer, mobile navigation work correctly

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
## 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>
# Conflicts:
#	.github/workflows/release.yml
#	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/stores/settings/schema.ts
#	apps/desktop/src/renderer/stores/settings/settingsStore.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)/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
#	packages/ai-assistant/src/index.ts
#	packages/ai-assistant/src/prompts.ts
#	packages/ai-assistant/src/rag.ts
#	pnpm-lock.yaml
@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:18pm

Request Review

@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.

@github-actions github-actions Bot enabled auto-merge (squash) March 14, 2026 20:17
@coderabbitai

coderabbitai Bot commented Mar 14, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

Introduces a new TypeScript module (aiCommandTypes.ts) defining core types and utilities for AI commands, including AiCommandDefinition and AiCommandPreset interfaces, template resolution, comprehensive validation functions, and JSON serialization/deserialization. Comprehensive unit tests accompany the implementation.

Changes

Cohort / File(s) Summary
AI Command Types Implementation & Tests
packages/ai-assistant/src/aiCommandTypes.ts, packages/ai-assistant/src/aiCommandTypes.test.ts
Introduces type definitions (AiCommandDefinition, AiCommandPreset, AiTemplatePlaceholder) and utility functions: resolveTemplate for placeholder substitution; validateAiCommandDefinition and validateAiCommandPreset for validation with detailed error reporting; serializePreset and parsePreset for JSON handling. Tests cover placeholder resolution with missing/unknown context, validation rules for all fields, duplicate ID detection, and round-trip JSON serialization.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Title check ⚠️ Warning The PR title describes a re-merge with proper merge commit strategy for semantic-release, but the raw_summary shows the actual changes are adding comprehensive unit tests and new TypeScript types/utilities for AI commands, which are unrelated to the title's stated purpose. Ensure the PR title accurately reflects the primary changes. If this is about merging develop into main, verify the actual changeset; if it's about AI command types, retitle to 'feat: add AI command types and validation utilities' or similar.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 fix/release-merge-strategy
📝 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 fa5306d into main Mar 14, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant