Research Insight and Exploration Assistant — an AI co-pilot for discovering, summarizing, and drafting research content.
Install dependencies once you have network access:
npm installRun the local development server (Vite with hot module reloading):
npm run devIf you have deno installed, you can also use deno:
deno install
deno run devBuild and preview a production bundle:
npm run build
npm run previewExecute automated checks:
npm run lint
npm run test
npm run test:coveragesrc/main.tsbootstraps Vue, PrimeVue, Tailwind, and Pinia with persisted state.src/layout/AppShell.vueholds the fixed 3rem header, adjustable workspace, and 1rem footer.src/features/readingimplements PDF ingestion, pdf.js rendering, metadata summaries, and the co-pilot chat.src/features/writingprovides the markdown library, CodeMirror editor, contextual instruction dialog, and advisor chat.src/storescontains Pinia stores for layout, reading artifacts, writing drafts, and shared chat history.src/lib/agents/client.tswraps@openai/agents, falling back to simulated responses until an API key is provided.
Create .env.local from .env.example and supply your OpenAI key:
VITE_OPENAI_API_KEY=sk-...
All user data (uploads, summaries, chats) is persisted to localStorage; clear browser storage to reset the workspace.
- Split workspace with draggable columns, vertical tab selectors, and PrimeVue menubars per panel.
- Reading assistant supports multi-PDF uploads, pdf.js rendering, editable metadata, and iterative summaries.
- Writing advisor manages multiple markdown drafts, offers CodeMirror editing, and exposes right-click instructions that inject AI-generated prose.
- Co-pilot chat threads are scoped by document and survive reloads through Pinia persistence.