34 Commits

Author SHA1 Message Date
zoeissleeping c9e48687ef fix: Dramatically better auto scroll 2026-08-04 02:38:36 -05:00
zoeissleeping 886f385835 feat: add timestamp and forking 2026-07-15 15:49:38 -05:00
zoeissleeping 8ccaa824dd feat: file upload retry, secure file tokens, UI polish
- Add HMAC-based file token auth for secure AI model file access
- Add file upload retry with exponential backoff (max 3 retries)
- File endpoint now requires session auth or signed token
- Support assistant role messages in chat input
- Optimistic UI for attachments on message send
- Verify topic ownership before allowing messages
- Switch web scraping to Firecrawl API
- Agent profile page layout fixes (proper flex overflow)
- Add quick switcher (Ctrl+K) to sidenav
- Clean up longcat.ts and stale comments
2026-06-06 00:16:39 -05:00
zoeissleeping 47009b1f0a refactor: un-hardcode file urls 2026-05-12 10:28:33 -05:00
zoeissleeping a0f2e89154 feat: add resources page with file management
- Add /resources page with file listing, filtering, and bulk operations
- Add useResources composable for file state management
- Add sidenav header and nav components for resources section
- Add files list API endpoint (GET /api/files)
- Track file size during upload
- Add resources link to home navigation
2026-05-11 17:42:28 -05:00
zoeissleeping 103dedd9cc refactor: replace focusedIndex with activeChildId
- Replace focusedIndex integer with activeChildId string in messages schema
- Add migration to convert existing data and drop focused_index column
- Add  hooks for providers.updatedAt and messageParts.lastUpdatedAt
- Add file size column to files table
- Update message navigation to use child ID-based lookup
- Simplify delete logic by removing focusedIndex math
- Fix file delete endpoint filename ([id[ -> [id])
2026-05-11 17:41:57 -05:00
zoeissleeping 61c73f394d feat: improve mobile responsiveness across UI
Sidenav becomes a full-screen overlay on mobile with slide-in animation.
Dialog goes full-screen on small screens. Settings dialog gets a mobile
nav with hamburger menu. Touch targets and text sizes scaled up for
mobile. Slider gets visual checked/unchecked colors. Sidebar auto-closes
on mobile route navigation. Resize handle hidden on mobile.
2026-04-27 12:06:15 -05:00
zoeissleeping 9914c043cb feat: add web search tool with reranking support
Integrates SearXNG web search as a tool available during chat when the
agent has search enabled. Supports optional reranking of results via a
configurable reranking model. Replaces Python subprocess evaluation with
@pydantic/monty WASM runtime. Introduces stable tool call ID mapping to
avoid exposing provider-native IDs to the database.
2026-04-27 12:05:47 -05:00
zoeissleeping 90d5698e76 feat: add agent search config and system assistant defaults
Adds a config jsonb column to agents for per-agent search settings
(enabled, rerank, maxResults). Types systemAssistants with rename and
rerank sub-objects. Backfills missing systemAssistants keys on settings
fetch. Includes generated drizzle migrations.
2026-04-27 12:05:27 -05:00
zoeissleeping e2e3ac6e86 feat: ditch triplit, move to postgresql + drizzle orm 2026-04-08 17:03:07 -05:00
zoeissleeping da0b652b29 fix: sidebar styles and search button 2026-03-02 13:55:02 -06:00
zoeissleeping e2a4643419 feat: add keyboard shortcut tooltips 2026-03-02 13:54:56 -06:00
zoeissleeping 579f4730c8 feat: add dropdown for token details 2026-03-02 10:45:55 -06:00
zoeissleeping c84f982277 fix: global data not warming up correctly after hydration 2026-03-02 00:11:06 -06:00
zoeissleeping 5a35976ce0 refactor: useUserSettings uses global state to reduce db calls 2026-03-01 20:29:37 -06:00
zoeissleeping e0914b684a refactor: use floating ui for dropdowns 2026-02-28 22:23:10 -06:00
zoeissleeping a2891e0461 fix: missing transitions to useDialog 2026-02-28 17:25:01 -06:00
zoeissleeping 874f0f7397 feat: add message attachments (wip) 2026-02-28 17:24:56 -06:00
zoeissleeping bf9f613e4d feat: quick switcher 2026-02-26 14:51:47 -06:00
zoeissleeping 3ff0bcce19 fix: agent info not updating when switching routes 2026-02-26 14:02:13 -06:00
zoeissleeping 2c32e665f3 fix: shortcuts only block keyboard actions when needed, and change some keybinds 2026-02-26 10:26:48 -06:00
zoeissleeping e6bb005f11 feat: add many keyboard shortcuts 2026-02-26 08:41:22 -06:00
zoeissleeping d22d08e99f feat: make shortcuts easier to add across the app 2026-02-25 19:58:01 -06:00
zoeissleeping c3370c27a7 refactor: cleanup auto-rename code 2026-02-25 20:42:22 +00:00
zoeissleeping 62f1fe1c27 fix: dropdown settings buttons | fix: improve model selector
I should have split this into two commits, but I found the issue with the
settings buttons *after* I changed how the model selector worked, so its
all in this single commit.
2026-02-25 16:12:51 +00:00
zoeissleeping f6dc4c1ee9 feat: add message editing
This commit adds message editing as a feature. To accomplish this, the settings
dialog was refactored into a singleton and now the message edit and settings
use the singleton where appropriate.
2026-02-24 16:37:21 +00:00
zoeissleeping fc5aedcedd reafctor: Rely only on the database for themes
This commit makes it so that a user's theme will only be pulled from the
database rather than from a weird mix of cookies and the database. This
fixes some issues with themes rendering weirdly.
2026-02-24 16:35:40 +00:00
zoeissleeping 6ee4087a29 ♻️ refactor: optimize state management, switch to @tanstack/vue-virtual, and improve performance
- Centralize `useAgents` and `useModels` state within the Nuxt app context to prevent data leaks and improve initialization.
- Migrate virtualization from `vue-virtual-scroller` to `@tanstack/vue-virtual` with new `RowVirtualizerFixed` and `RowVirtualizerDynamic` components.
- Upgrade Nuxt to v4.3.1 and remove `@vue-macros/nuxt`.
- Replace `big.js` with an optimized custom `lshDecimal` string manipulation logic for pricing calculations in the provider API.
- Implement automatic focus redirection in `ChatInput` to capture standard keyboard input.
- Refactor Sidenav and Settings components to utilize virtualization for long lists (topics, agents, models).
- Enhance theme colors and mobile experience. More work to come on both of these.
2026-02-23 15:56:10 +00:00
zoeissleeping 59bb7fbc12 Performance enhancements galore! New themining system
This is once again a huge commit, but its mostly performance
improvements along with some bug fixes and refactoring. It also includes
changes to the theming systems. I'm still not 100% happy with the
theming system, but its better than before.

Model fetching has been dramatically improved! Nearly all the important
computation and pre-processing has been moved to the server. This has
also somehow fixed the way model details are loaded, which was causing
many models to be missing their details despite models.dev having them.

The markdown renderer has once again been changed, but I'm mostly
certain that this is the last time major changes will be made to it. The
renderer is not spamming components, bloating memory usage, and its not
using a bug prone custom written chunking system.

There's also a lot more that I haven't mentioned and honestly forgot. I
need to get better commit hygiene tbh.
2026-02-20 00:20:50 -06:00
zoeissleeping 32a4f7f95d change sizing slightly and add sentry 2026-02-12 17:32:51 -06:00
zoeissleeping d29f95bacf feat: add better provider support, icons, regen, and a lot more 2026-02-12 14:56:13 +00:00
zoeissleeping d5a5945c03 streaming, markdown, model selecting, and lots more 2026-02-02 23:16:06 -06:00
zoeissleeping 8c28946703 continue scaffolding and refine the basic foundation 2026-01-13 19:56:24 +00:00
zoeissleeping 0877cc10bd initial commit 2026-01-11 05:04:29 -06:00