Skip to content

feat: capture parity for Svelte/Solid + Angular and MCP guides#341

Merged
vamgan merged 2 commits into
mainfrom
claude/create-agents-md-fqfEf
Jun 14, 2026
Merged

feat: capture parity for Svelte/Solid + Angular and MCP guides#341
vamgan merged 2 commits into
mainfrom
claude/create-agents-md-fqfEf

Conversation

@vamgan

@vamgan vamgan commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Svelte & Solid capture parityuseAskableRegionCapture and useAskableTextSelectionCapture were the only two hooks missing from Svelte and Solid (both had full parity otherwise). Both are now implemented and exported.
  • Angular guide — first dedicated Angular framework doc covering AskableService, [askable] directive, AskableModule, all major sources (cart, multistep, etc.), agent requests, region/text capture, and SSR safety.
  • MCP integration guide — end-to-end guide for the browser-local page bridge and remote WebMCP deployment with Next.js/Express examples, authorization, CORS, and client setup for Claude Desktop / Claude.ai / ChatGPT.

Changes

@askable-ui/svelte

  • src/useAskableRegionCapture.svelte.ts — Svelte 5 runes implementation (reactive $state getters, $effect cleanup)
  • src/useAskableTextSelectionCapture.svelte.ts — same pattern with captureNow support
  • src/core.svelte.ts — exports both new hooks
  • tsconfig.json — adds both files to exclude list (.svelte.ts imports not valid in plain tsc)
  • package.json — adds individual sub-path exports and entries in files

@askable-ui/solid

  • src/useAskableRegionCapture.ts — SolidJS implementation using createSignal/createEffect/onCleanup
  • src/useAskableTextSelectionCapture.ts — same pattern with captureNow support
  • src/core.ts — exports both new hooks
  • src/index.ts — exports both hooks and their types

Docs

  • site/docs/guide/angular.md — new Angular framework guide
  • site/docs/guide/mcp.md — new MCP integration guide
  • site/docs/.vitepress/config.ts — Angular added to Framework Guides, MCP added to Integrations
  • site/docs/index.md — links to both new guides

Test plan

  • Svelte build: cd packages/svelte && npm run build — should compile without errors (new files excluded from tsc, consumed by Vite directly)
  • Solid type check: cd packages/solid && tsc --noEmit
  • CI type-check and test workflows pass
  • Docs build: cd site/docs && npm run build — Angular and MCP pages render correctly
  • Navigate to /guide/angular and /guide/mcp in local dev and verify sidebar links appear

Generated by Claude Code

claude added 2 commits June 14, 2026 16:52
…ectionCapture

Brings Svelte and Solid to full capture parity with React:
- useAskableRegionCapture — rect/circle/lasso region selection
- useAskableTextSelectionCapture — highlighted text capture

Svelte 5 implementations use $state/$effect runes and return reactive
getter objects. Solid implementations use createSignal/createEffect with
accessor functions following the existing hook patterns.

Both hooks are exported from the ./core sub-path barrel and added to
package.json exports/files for Svelte. Svelte tsconfig exclude list
updated to keep the .svelte.ts files out of tsc compilation.
- Angular guide covers AskableService, [askable] directive, AskableModule,
  cart/multistep sources, agent requests, region/text capture, and SSR safety
- MCP guide covers browser-local page bridge, remote WebMCP with Next.js
  and Express examples, authorization, client setup (Claude Desktop, Claude.ai,
  ChatGPT), and in-process MCP server embedding
- Both guides wired into the sidebar (Framework Guides + Integrations sections)
- Docs homepage updated with direct links to both guides
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
askable Error Error Jun 14, 2026 4:53pm

@pkg-pr-new

pkg-pr-new Bot commented Jun 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

@askable-ui/angular

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/angular@341

@askable-ui/context

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/context@341

@askable-ui/core

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/core@341

@askable-ui/create-app

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/create-app@341

@askable-ui/mcp

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/mcp@341

@askable-ui/qwik

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/qwik@341

@askable-ui/react

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/react@341

@askable-ui/react-native

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/react-native@341

@askable-ui/solid

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/solid@341

@askable-ui/svelte

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/svelte@341

@askable-ui/vue

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/vue@341

@askable-ui/web-component

npm i https://pkg.pr.new/askable-ui/askable/@askable-ui/web-component@341

commit: 9f2b32e

@vamgan vamgan merged commit 8e51e65 into main Jun 14, 2026
8 of 9 checks passed
@vamgan vamgan deleted the claude/create-agents-md-fqfEf branch June 14, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants