Matthew Meszaros
|
6ce5ebe900
|
feat: make compose AI drafting grounded and agentic: POST /unibox/compose/draft assembles the recipient's contact 360, the full correspondence history with the address, and the org voice profile into the prompt (2-credit minimum, reason compose_draft, usage settle, refund on provider failure), and when the purpose is genuinely unknowable the model returns a clarifying question instead of inventing a pitch; the draft bar gains a question phase (answer inline and it writes), the review card reports exactly what the draft was grounded in, and the composer nudges to Settings > Workspace with a link when no voice profile is set; docs cover the endpoint, credits row, and guide behavior
|
2026-07-19 08:37:39 +02:00 |
|
Matthew Meszaros
|
0c4e63ab01
|
feat: make the compose window behave like a real docked draft: minimize to a compact corner bar (draft state stays mounted while you browse other pages, header click or chevron restores, n or any openCompose restores instead of clobbering the draft), a serious single-icon header that reads New email to <name>, <company> as the recipient resolves, and the body textarea aligned to the same horizontal padding as the subject and header rows
|
2026-07-19 08:31:53 +02:00 |
|
Matthew Meszaros
|
a5982808fd
|
feat: stop the inbox flashing on scope and route switches by keeping previous unibox search pages as placeholder data while the new key loads (no more full-pane skeleton flash) and holding overview counts in cache for 30 minutes so the header stats stop rolling up from zero, and flatten the compose header to a quiet single-line bar that shows just the recipient (or New email) with the icon chip and subtitle removed
|
2026-07-19 08:25:06 +02:00 |
|
Matthew Meszaros
|
112f75a23d
|
feat: fix the in-composer AI layers rendering behind the docked compose window by raising the portaled sparkle/pill/menu z-indexes above window chrome (still under the confirm layer), give the compose header a proper identity (sky pen chip plus two-line title with the recipient or draft state), add the Template picker and booking-link tools to the compose action bar by extracting TemplatePickerContent and InsertBookingLink out of ReplyComposer into shared unibox components, and make Compose the house primary sky button in the rail and mobile header
|
2026-07-19 08:22:26 +02:00 |
|
Matthew Meszaros
|
26bb5a1746
|
feat: soften the compose chrome from black-on-white to grayish: the window header becomes a slate-50 bar with a hairline and muted controls, the rail and mobile Compose buttons become white bordered buttons with a sky pen icon, and the History panel's active tab uses a slate-200 fill instead of the inverted slate-900 pill
|
2026-07-19 08:17:33 +02:00 |
|
Matthew Meszaros
|
8260094d46
|
feat: redesign the compose window chrome: dark slate header bar with icon-only history/close, Gmail-style header rows (quiet inline labels and hairlines instead of the uppercase label lane and vertical divider), unlabelled heavier subject line, Cc/Bcc toggles on the To row, calmer AI presence (neutral auto chip on the From picker with the reason kept in the dropdown, contextual Suggest ghost that only appears when the subject is empty and a body exists, plain body placeholder), plus a proper Compose button at the top of the unibox scope rail with the header button kept as the mobile-only entry
|
2026-07-19 07:56:04 +02:00 |
|
Matthew Meszaros
|
6790eabd74
|
feat: wire compose entry points: mount the window globally in the app layout, add the Compose button with an n shortcut tooltip to the unibox header, register the global n key (and update the shortcuts modal entry), and add an Email action to the contact drawer that opens compose prefilled with the contact's address
|
2026-07-19 07:38:48 +02:00 |
|
Matthew Meszaros
|
5e2d4ae832
|
feat: build the compose window: a docked bottom-right popup with an Auto mailbox picker that shows the backend's pick and reason plus per-mailbox budget bars, history badges, and auth dots, a contact-autocomplete recipient field, AI subject suggestion, the full in-composer AI experience (caret menu, selection edit, sheen + typewriter draft bar grounded in the recipient's contact record), suppression blocking before send, schedule presets, signature status, and a slide-out History panel with Conversations/Sent tabs, subject search, and mailbox-affinity line that opens real threads in the unibox
|
2026-07-19 07:38:48 +02:00 |
|
Matthew Meszaros
|
44bfe7840f
|
feat: add the compose web API layer (candidates + send clients, hooks with unibox invalidation, address/direction params on unibox search), a global useComposeStore zustand store so any surface can open the composer, and configurable draft row label/cost on TextareaAICaret so compose can say Draft this email with AI instead of the reply wording
|
2026-07-19 07:38:48 +02:00 |
|
Matthew Meszaros
|
47232aef3c
|
feat: fix the draft review card to a fixed width so the Adjust input spans it fully with the send button flush right, make the header credits meter foresight-first (ring plus plan left/allowance, or spent/limit today|wk|mo when a spend limit is configured, plus a +N for purchased credits, all without opening the panel), and surface keybindings across the AI flow: the selection pill shows an inline mod+J kbd chip and mod+J with a selection actually opens the editor, the caret companion keeps mod+J for the collapsed caret, and both popovers show enter/esc hints including esc-to-cancel while generating
|
2026-07-18 16:40:07 +02:00 |
|
Matthew Meszaros
|
ea85dbc1cf
|
feat: seed labels into the sandbox org (folders/tags/categories for sandbox@warmbly.test bound to mailboxes, campaigns, contacts, and four inbox threads, idempotent with a dedicated UUID namespace) and restyle the thread label dropdown to the house picker language: assigned labels show as colored chips right in the trigger with a +N overflow, the panel gets a search-or-create header, a removable assigned-chips row, color-dotted checkbox rows with an assigned marker, a friendly empty state, and a footer noting the shared category registry and the c shortcut
|
2026-07-18 16:35:36 +02:00 |
|
Matthew Meszaros
|
1823f03a80
|
feat: live usage-based credit feedback — every fresh debit publishes BILLING_CREDITS_CHANGED through the creditwatch monitor so the header meter counts down in real time (AnimatedNumber tween, plus client-side invalidation on write/edit/draft success), generation responses now return the real credits_charged and tokens_used from the usage settle and every AI surface shows the true cost instead of flat labels, and the composer AI became overlay-based: the draft bar floats over the body instead of pushing layout, a sky sheen sweeps the input while the model writes, and the selection being rewritten is painted with pulsing highlight rects that grow as the rewrite types in
|
2026-07-18 16:30:05 +02:00 |
|
Matthew Meszaros
|
cb6b58d462
|
feat: add a reusable ShortcutTooltip (themed tooltip with a platform-aware kbd chip, mod renders as cmd on Apple and Ctrl elsewhere) and use it on the caret AI sparkle (mod+J) and the header assistant button (mod+I) so fast keys are discoverable instead of hiding in native title attributes
|
2026-07-18 15:31:59 +02:00 |
|
Matthew Meszaros
|
09bb526a6c
|
feat: move the inbox composer's AI to the cursor — remove the Draft reply and Write with AI buttons from the action bar and replace them with a caret companion: a faint sparkle rides the line you're typing on (or press cmd+J) and opens a menu at the caret to ask AI to write and insert there, draft a full reply from the thread, or continue writing, with typewriter insertion plus Undo/Again/Done and the unibox guide updated to match
|
2026-07-18 12:11:14 +02:00 |
|
Matthew Meszaros
|
ec53089232
|
feat: document the in-composer AI editing — selection-edit cost row in the AI credits guide, the unibox guide now covers the draft review bar (Keep/Adjust/Retry/Discard) and the Edit with AI selection pill, and the billing usage/transaction views label the new writing_edit reason
|
2026-07-18 11:59:18 +02:00 |
|
Matthew Meszaros
|
c075a74ad5
|
feat: agent panel motion polish — streaming assistant text ends in a blinking caret, the Working indicator becomes a pulsing agent mark with shimmer text, user bubbles and tool-step chips spring in, done checkmarks pop, and the minimized dock's response-ready dot pings
|
2026-07-18 11:57:37 +02:00 |
|
Matthew Meszaros
|
5178acd874
|
feat: in-composer AI writing experience — select text in the unibox reply textarea or the campaign TipTap editor and a floating Edit-with-AI pill opens quick actions (improve, shorten, expand, fix grammar, friendlier, more formal) plus free instructions backed by a new fenced /generation/edit endpoint (1 credit, idempotent, refund on failure, prompt-injection fencing around the passage), rewrites type themselves in with undo/again/done review, and Draft reply now runs through an inline draft bar with staged shimmer status and Keep/Adjust/Retry/Discard instead of a toast
|
2026-07-18 11:55:37 +02:00 |
|
Matthew Meszaros
|
ac3a904d8c
|
feat: restyle the header CreditsMeter to blend with the chrome — no pill background or blue tint, just a neutral slate ring gauge and count that matches the search/bell controls, coloring amber/red only when low or empty, with a number-forward panel (big balance, slate progress bars, status dot, quieter auto top-up note) instead of the sky-tinted card look
|
2026-07-18 11:30:07 +02:00 |
|
Matthew Meszaros
|
79029ad2d9
|
feat: upgrade the top-bar credits pill into a full CreditsMeter — a ring-gauge trigger showing remaining vs monthly allowance plus a click-open panel with plan pool fill and next reset, purchased credits, today/week/month spend against configured limits with warning bars, auto top-up status, and a link to usage & spend controls
|
2026-07-18 09:35:43 +02:00 |
|
Matthew Meszaros
|
d832453b2d
|
feat: show the remaining AI credit balance in the top bar — a CreditsPill beside the plan badge (sky normally, amber under the org's low-balance threshold, red at zero, compact 12.4k formatting) linking to Settings/Billing, rendered only for members with manage_billing and refreshed by the realtime spine
|
2026-07-18 09:20:24 +02:00 |
|
Matthew Meszaros
|
4f9e6e6282
|
feat: full attribution on every AI credit charge — new actor_user_id + context jsonb columns on the transaction log (migration 000070), a typed models.CreditContext carried via request context (models.WithCreditMeta) so base charges, usage settles, web-search fees, and refunds all inherit it without signature churn, wired at every spend site (campaign switches record campaign/step/contact, automation nodes and Ask AI record automation/node/run and the question asked, reply drafts and inbox agent record the thread, the dashboard agent records the session, research records contact/run, and manual features record the triggering user), rendered as a detail line with token counts in the billing transaction log with corrected reason labels, and documented in the AI credits guide
|
2026-07-18 08:52:16 +02:00 |
|
Matthew Meszaros
|
163d3057de
|
feat: add web-search and extended-thinking capabilities to the campaign switch AI decider — a per-step web lookup about the contact's company (query derived from contact fields only, results fenced as untrusted, +1 credit charged only when results land, wired through a new tasks SetAISearch) and a thinking toggle that routes to the stronger model tier with a 2048-token budget priced through usage metering, with editor toggles under Capabilities and sequences/ai-credits docs
|
2026-07-18 08:42:08 +02:00 |
|
Matthew Meszaros
|
053ca6a71d
|
feat: usage-based AI credit system — every AI call reserves its flat minimum then settles the real token cost per model (light 1500/standard 400 tokens per credit, drain-to-zero overage settle wired into writing assistant, reply drafts, dashboard agent, inbox agent, research, automation nodes, and campaign switches), org spend controls in a new org_ai_settings table (day/week/month hard limits enforced in Consume, low-balance alert threshold, auto top-up config), a credit-watch monitor hook that fires BILLING_CREDITS_LOW realtime alerts once per day and buys the configured pack off-session via a new Stripe AutoTopUpCredits (idempotent on the PaymentIntent, bounded per month, Redis-locked), GET /subscription/credits/usage + GET/PATCH settings endpoints, and an AI usage & spend controls billing card (spend vs limits, 30-day chart, per-feature and per-model breakdowns, limits/reminder/auto-top-up form) with a realtime low-credit toast
|
2026-07-18 08:39:41 +02:00 |
|
Matthew Meszaros
|
d0aeee95fa
|
feat: use purple for the Switch's selection and active states — selected node ring, decider card active state, context-toggle on-state, and the instruction textarea focus ring all take the step's purple identity instead of the global sky accent
|
2026-07-18 08:12:05 +02:00 |
|
Matthew Meszaros
|
a3f8284ef2
|
feat: give the Switch a restrained purple identity like Condition owns amber — purple border, tinted header, icon chip, wired case dots, and purple case edges on the node, while editor controls (decider cards, context toggles, hint boxes) stay on the standard sky/slate theme and the sparkles-vs-split icon swap is dropped for a constant SplitIcon
|
2026-07-18 08:09:44 +02:00 |
|
Matthew Meszaros
|
30d4277bba
|
feat: harden switch value matching and restyle the decider picker — normalized comparison ignores casing and collapses whitespace, /pattern/ case names become case-insensitive regexes (validated at write time, plain cases checked before regex cases, first match wins, no substring fuzziness so 'not interested' never lands on 'interested'), and the Decided by control becomes two icon cards with descriptions matching the step-type switcher
|
2026-07-18 08:06:26 +02:00 |
|
Matthew Meszaros
|
0f2006f00c
|
feat: list the campaign Switch in the routing group of the canvas menus — beside Condition (branch) in the drag-create menu and right after Send email in the Add-step menu and node-type switcher, out of the Actions list, since it routes rather than performs a side effect
|
2026-07-18 07:24:56 +02:00 |
|
Matthew Meszaros
|
f36c1a5001
|
feat: replace the campaign AI step with a Switch step — a multi-way router whose cases are rows on the canvas node, each with its own draggable source dot (per-case ai_label branches wired by handle, retarget on re-drag, purple case edges with no IF boxes, bottom dot as the otherwise fallback), decided per contact by an AI prompt (1 credit, fenced context, same credit lifecycle) or a free deterministic template-value match, with a mode toggle + case list editor (stale case paths healed on save), drag-to-empty-canvas creating the target and wiring the case, and sequences/ai-credits/automation docs rewritten for the switch
|
2026-07-18 05:42:50 +02:00 |
|
Matthew Meszaros
|
8019ce00fe
|
feat: make every line dragged out of a campaign AI step a new choice path — onConnect routes AI-step sources to addAIPathTo, which saves the branch as an ai_label condition under a unique placeholder name (write-time validation needs one) and opens the connection editor to name the outcome, so you drag as many outcome lines from the step as you need instead of stacking dead always branches
|
2026-07-18 05:22:19 +02:00 |
|
Matthew Meszaros
|
4399bb8e82
|
feat: collapse the campaign AI step to a prompt plus draggable named outcome paths — the connections drawn out of the step are the choice set (outcome names live on the ai_label branch conditions, deduped per step and read at run time), drop the ai_labels/ai_output_fields/ai_actions config and the whole AI action palette (side effects are ordinary action steps placed on the chosen path), and fence the contact's email, profile fields, and automation event data as untrusted content in every campaign and automation AI prompt so injected instructions inside replies are ignored
|
2026-07-18 05:18:24 +02:00 |
|
Matthew Meszaros
|
2945974ca7
|
feat: build the campaign AI step editor and canvas routing — instruction with contact variables, label/output-field lists, an AI action palette reusing the extracted ActionConfigFields with per-action when-hints and AI-picked tag/label choice sets with max-pick caps, what-AI-can-see context toggles, and AI-label connection paths with inline new-label creation that writes the label back to the step
|
2026-07-17 16:26:50 +00:00 |
|
Matthew Meszaros
|
fd2994bdd8
|
feat: build the automations builder UI for AI branching — an Ask AI (yes/no) condition field with prompt textarea, event-variable chips and credit note, per-label connection routing on AI classify nodes via a node-editor "Route connections by label" section with purple label edges, and stale label-edge healing on save
|
2026-07-17 16:26:42 +00:00 |
|
Matthew Meszaros
|
1e1e357c06
|
feat: add a 0-100 deliverability score plus per-provider seed placement and per-domain warmup placement breakdowns to GET /analytics/deliverability, surface them on a customizable deliverability dashboard (toggleable sections + persisted view), and document the new fields in the guides and API reference
|
2026-07-16 17:55:34 +02:00 |
|
Matthew Meszaros
|
d0e8bc1c97
|
feat: add one-command MCP OAuth connect on api.warmbly.com/v1/mcp — RFC 7591 dynamic client registration for public PKCE clients (dcr.go), RFC 9728 protected-resource metadata + WWW-Authenticate challenge via MCPAuthMiddleware, /v1/mcp now accepts an API key or OAuth token, public-client auth with no secret and mandatory PKCE reusing the existing OAuth 2.1 server (nullable-org clients, migration 000066), executable-redirect-scheme hardening on the open register endpoint, plus mcp/oauth/authentication/endpoints docs
|
2026-07-16 08:57:19 +02:00 |
|
Matthew Meszaros
|
e4a391c8a4
|
feat: make the assistant panel fully placeable: drag the inner edge to resize (360-720px, persisted), dock to the left or right screen edge from the header (persisted, dock bar follows), and panel-scoped shortcuts (Cmd/Ctrl+]/[ switch tabs, Alt+N new chat, Alt+W close tab, Alt+M minimize) listed in the shortcuts dialog
|
2026-07-16 07:50:24 +02:00 |
|
Matthew Meszaros
|
0b073bbe8a
|
feat: redraw AgentMark as the recognizable AI glyph (large spark + small companion spark, filled) and bump the header assistant icon to w-4 so it reads clearly as the AI agent
|
2026-07-16 07:18:56 +02:00 |
|
Matthew Meszaros
|
602f0d2d0c
|
feat: animate the notifications dropdown open/close with the house framer-motion pattern (AnimatePresence fade + 4px slide, 120ms) instead of popping in instantly
|
2026-07-16 07:05:06 +02:00 |
|
Matthew Meszaros
|
4830fb9631
|
feat: drop the black tile behind the assistant logomark; the AgentMark spark now renders bare in sky-600 in the panel header, empty state, and minimized dock
|
2026-07-16 07:02:38 +02:00 |
|
Matthew Meszaros
|
619b63715d
|
feat: force the dashboard light-only (theme resolver and ThemeProvider never apply the .dark root class) and drop the dark/system theme commands from the command palette, fixing the palette rendering dark inside the all-white app on a dark-mode OS
|
2026-07-16 07:02:38 +02:00 |
|
Matthew Meszaros
|
c2bd4a7301
|
feat: animate the sidebar READY status with a dedicated status-breathe keyframe (halo swells 0.6x to 1.4x and fades on a 2.2s cycle, honoring prefers-reduced-motion) since animate-pulse on the tiny halo was imperceptible; CONNECTING dot pulses too
|
2026-07-16 07:02:38 +02:00 |
|
Matthew Meszaros
|
b03964ac29
|
feat: give the sidebar READY status a slow breathing emerald glow instead of a static ring and pulse the CONNECTING dot, so a quiet-but-connected workspace visibly reads as alive
|
2026-07-16 06:56:13 +02:00 |
|
Matthew Meszaros
|
d64c1ddcf7
|
feat: give the assistant a serious monochrome AgentMark logomark (panel header, empty state, top bar), center single-line composer text against the send button, add minimize-to-dock with a live bottom-right status bar (working/step count, needs approval, response ready), unseen dots on tabs, and a live status badge on the header spark button
|
2026-07-16 06:52:30 +02:00 |
|
Matthew Meszaros
|
e87adf1251
|
feat: add agentMinimized and per-tab unseen state to agentSlice and make Cmd+I dock-aware (restores a minimized panel instead of closing it)
|
2026-07-16 06:52:30 +02:00 |
|
Matthew Meszaros
|
d0e8daf763
|
feat: fix agent panel interaction bugs: stick-to-bottom scrolling with a Latest pill, per-tab drafts, IME-safe Enter, double-send guard, send lock during history hydration, inert+Escape when closed, autoresizing composer, editor-style tabs (middle-click close, active scroll-into-view, tablist a11y), focus management, memoized turns, centered transcript in expanded mode
|
2026-07-16 06:28:29 +02:00 |
|
Matthew Meszaros
|
de3aed0a9b
|
feat: keep the unsent composer draft per agent tab in agentSlice and respawn a fresh tab when the last one closes so the panel is never blank
|
2026-07-16 06:28:29 +02:00 |
|
Matthew Meszaros
|
d8475a1896
|
feat: render assistant replies as markdown with a dependency-free React renderer (bold, lists, inline code, safe links, fenced code) and prompt the agent to emit that simple subset
|
2026-07-16 06:28:29 +02:00 |
|
Matthew Meszaros
|
4afe593b57
|
feat: show a free-model notice in the assistant footer and hide the credit counter when the run is on a free/local model
|
2026-07-15 18:52:07 +02:00 |
|
Matthew Meszaros
|
652ddf6ff4
|
feat: track a per-tab freeModel flag in the AI agent workspace store
|
2026-07-15 18:52:07 +02:00 |
|
Matthew Meszaros
|
79c43e2168
|
feat: add free_model to the agent stream event and transcript client types
|
2026-07-15 18:52:07 +02:00 |
|
Matthew Meszaros
|
ed5e577ed0
|
feat: rebuild the AI assistant as a multi-tab workspace with a session history rail, expand-to-workspace mode, per-tab streaming, transcript rehydration and starter prompts
|
2026-07-15 17:54:16 +02:00 |
|