Commit Graph
1137 Commits
Author SHA1 Message Date
abccodes 087f531c9c [aidan] ui: sidebar, scheduling time 2026-06-21 02:36:50 -07:00
abccodes 4d94626e53 [aidan] ui: sidebar reorder, repeat controls on schedule card 2026-06-21 02:11:48 -07:00
abccodes 17a66749f6 [aidan] feat: new scheduled task design ported 2026-06-21 01:28:14 -07:00
abccodes d3548dde10 [aidan] ux/missed-runs: add per-group select-all toggle and rename skip action 2026-06-20 17:55:25 -07:00
abccodes 96a99706a0 [aidan] feat/calendar: open the run card when clicking a scheduled occurrence 2026-06-20 17:55:25 -07:00
abccodes e384f81036 [aidan] ux/calendar: restack hour-cell events as bars with overflow affordance 2026-06-20 17:55:25 -07:00
abccodes c307eb31b4 [aidan] feat/schedule: inherit source-session tool surface for scheduled runs 2026-06-20 17:55:25 -07:00
abccodes 6c399038d6 [aidan] feat/schedule: pin monthly day-of-month and honor repeat-every intervals 2026-06-20 17:55:19 -07:00
AidanandGitHub 6229463ce4 [aidan] feat/workflows: launch-time scheduling UX and workflow-card polish (#101)
* [aidan] feat/schedule-list: lazy-load list view via scroll sentinel

* [aidan] feat/missed-runs: launch toast with per-workflow counts and pan-to-card

* [aidan] fix/dashboard-tethers: keep watching line anchored on canvas zoom

* [aidan] feat/scheduled-tasks: review missed runs at launch instead of auto-firing on_missed

* [aidan] refactor/workflow-cards: use radius and status design tokens, polish card chrome

* [aidan] ux/agent-card: keep convert-to-workflow visible during runs with mid-turn toast

* [aidan] ux/mcp-bubble: drop redundant verb label when a workflow label is shown

* [aidan] chore/backend: remove stale explanatory comments

* [aidan] fix/workflows-hub: load workflows on hub mount so calendar fills at launch

* [aidan] feat/workflows: generate title, description, step labels at convert time

* [aidan] fix/tidy-layout: include workflows hub in tidy and fit-to-view

* [aidan] feat/schedule-list: window long list via measured-height virtualizer

* [aidan] ux/workflows-hub: remove time-saved badge from calendar header

* [aidan] fix/types: add missing semantic-type labels and drop stray fade arg
2026-06-19 20:10:34 -07:00
abccodes 7daa8d573b [aidan] ux/calendar-card: match corner radius to browser cards 2026-06-19 19:09:28 -07:00
abccodes cc3da8b74c [aidan] ux/run-history: collapse expanded run view to one clickable line 2026-06-19 19:09:28 -07:00
abccodes 5176c8e35c [aidan] ux/run-sparkline: simplify tooltip to plain run tally 2026-06-19 19:09:28 -07:00
abccodes 0fea78c2a7 [aidan] fix/minimap: render missed-runs card on the minimap 2026-06-19 19:02:56 -07:00
abccodes cec6e4e494 [aidan] ux/calendar-card: match border color and radius to chat and workflow cards 2026-06-19 17:59:59 -07:00
abccodes 928da9185f [aidan] fix/convert-button: stop drag capture so convert-to-workflow click fires 2026-06-19 17:59:59 -07:00
abccodes 93983244b9 [aidan] feat/run-log-filters: add success and skipped pills to scheduled task history 2026-06-19 17:35:53 -07:00
AidanandGitHub f014ff3cbb [aidan] ux/calendar-page: schedule calendar restyle + popover fixes (#99)
* [aidan] fix/dashboard-delete: remove workflows calendar panel on delete key

* [aidan] ux/workflows-calendar: restyle hub, fix today highlight, add toolbar toggle

* [aidan] ux/schedule-popover: compact density, fix sticky header bleed, add header spacing

* [aidan] ux/schedule-calendar: hollow ring dot for past fires in month view

* [aidan] ux/schedule-calendar: clickable +N more opens day's full run list
2026-06-19 16:56:04 -07:00
AidanandGitHub 6404d98b3a [aidan] feat/scheduled-tasks: agent workflow scheduling and in-chat convert (#98)
* [aidan] feat/workflow-suggest: nudge user to convert repeatable chat to workflow

Add SuggestConvertToWorkflow MCP tool that agents call at the end of a task
when they've completed something worth repeating (daily report, weekly check,
recurring data pull). Frontend detects the tool call and glows the "Convert to
workflow" button 3 times to draw the eye. When user clicks it, the suggested
cadence (e.g. "every weekday at 9am") is stored in the draft and seeded into
the scheduling agent's first prompt, so the agent can act on the suggestion
rather than asking the user again.

Tool is never auto-called — agents decide when a task is genuinely repeatable
(not debugging, creative work, one-off lookup). Tool description emphasizes
sparse, high-confidence use only (once per session max).

Files changed:
- backend/apps/agents/schedule_mcp_server.py: add SuggestConvertToWorkflow tool
- frontend/src/shared/mcpToolMeta.ts: add label for new tool
- frontend/src/app/pages/Dashboard/cards/AgentCard.tsx: detect suggestion in
  session messages, show+glow "Convert to workflow" button, pass cadence to draft
- frontend/src/shared/state/workflowsSlice.ts: add suggested_cadence field to
  Workflow interface
- frontend/src/app/pages/Workflows/SchedulingView.tsx: seed scheduling agent
  prompt with suggested cadence hint

* [aidan] feat/agent-scheduling: route recurring asks through native workflows, deny claude cron skill

* [aidan] feat/workflow-convert: in-chat convert popup and auto-open scheduled workflow card
2026-06-19 03:47:35 -07:00
abccodes 111b527979 [aidan] refactor/private-names: rename error and schedule classifiers from _ to p_ 2026-06-19 03:33:11 -07:00
abccodes 8988f7e18e [aidan] feat/schedule-calendar: mark current time with a now line in week view 2026-06-19 03:20:30 -07:00
abccodes 562d7537e9 [aidan] fix/workflow-cards: keep watched run tethered on finish to avoid duplicate chat 2026-06-18 23:30:43 -07:00
abccodes 8750c6a3be [aidan] fix/workflow-chat: force stop on watched run mirrors workflow card stop 2026-06-18 23:30:43 -07:00
abccodes b0725083a3 [aidan] feat/workflow-model: persist edit-agent model on save with switch notice and fresh drafts 2026-06-18 23:30:43 -07:00
abccodes 02f0736c63 [aidan] fix/agent-tokens: friendly out-of-tokens card across all agent surfaces 2026-06-18 23:30:43 -07:00
abccodes 2ec2ef94f8 [aidan] feat/mcp-suggestions: suggest both Google and Microsoft when provider is ambiguous 2026-06-18 23:30:43 -07:00
abccodes d401e11ebe [aidan] ux/workflows: surface paused state on card, sidebar, and calendar; tidy run history 2026-06-18 23:30:43 -07:00
AidanandGitHub c31748ca53 [aidan] feat/workflows: add scheduled-run "running now" toast with click-to-view (#97) 2026-06-18 21:11:05 -07:00
abccodes 168a49bae9 [aidan] feat/mcp-suggestions: dismissable integration banner with per-session cooldown 2026-06-18 04:13:39 -07:00
abccodes 3f780bf2b3 [aidan] feat/workflows: validate steps before scheduling and keep chat tool memory 2026-06-18 04:12:52 -07:00
abccodes 213e3d75bb [aidan] fix/dashboard-tethers: anchor workflow-sidecar tethers to measured card rects 2026-06-18 04:12:07 -07:00
abccodes 5350f3e6dc [aidan] feat/workflows: toast when an unattended scheduled run starts 2026-06-18 04:12:00 -07:00
abccodes bf00ff2ee0 [aidan] ux/edit-agent: move fix-prefix card below the step list 2026-06-18 04:11:28 -07:00
abccodes 658d2d3807 [aidan] ux/edit-agent: hide Discard for an unsaved new workflow 2026-06-18 04:11:06 -07:00
abccodes f650bb6e01 [aidan] feat/workflows: require at least one step to save a workflow 2026-06-18 04:10:32 -07:00
abccodes 4894b608b9 [aidan] feat/schedule-calendar: add calendar occurrences endpoint and concrete timezones 2026-06-18 03:56:33 -07:00
abccodes 506bcb7cbf [aidan] feat/workflow-runs: add pause, resume, and stop controls for live runs 2026-06-18 03:53:27 -07:00
abccodes 5648db5b77 [aidan] ui: fix popover descs 2026-06-18 02:21:39 -07:00
abccodes 9d13b3e496 [aidan] ux/schedule: toast when calendar view already open on expand 2026-06-18 00:29:45 -07:00
AidanandGitHub 5f45db08a0 [aidan] feat/history-popover: add chat history and scheduled tasks run log tabs (#96) 2026-06-17 23:22:40 -07:00
abccodes a1090b8ba1 [aidan] ui: fix running agent display 2026-06-17 23:21:02 -07:00
abccodes 9a1899ecb4 [aidan] ui: grey out chat pill when not selected 2026-06-17 23:21:02 -07:00
abccodes 09fa080378 [aidan] fix/workflows: connect watch tether, keep watched chat open, wire draft run/history 2026-06-17 23:21:02 -07:00
AidanandGitHub 72dd5208a6 [aidan] feat/workflows: auto-name workflows and polish the build flow (#95)
* [aidan] feat/workflow-auto-naming: auto-generate workflow titles from steps

Generate a title + description from a workflow's steps (one aux call,
reused for step labels) whenever it is still auto_named, so a workflow
built in the Edit Agent names itself on commit instead of staying
"New workflow". A manual rename sets auto_named=False and is never
overwritten. Stream the aux call (non-streaming drops content on some
9router lanes) and fall back to a step-derived title when the model is
unavailable.

* [aidan] feat/workflows: hide unsaved new workflows until first save

A brand-new "+ New" workflow is created with unsaved=true and kept out
of the hub's scheduled/unscheduled lists while the user is still building
it in the Edit Agent. The first commit (Save) clears the flag and the
workflow appears. Every other create path stays visible immediately.

* [aidan] ux/workflows: remove redundant save workflow button

The Edit Agent already has Discard/Save controls in its strip, so the
header "Save Workflow" button was a duplicate save path. Remove it and
its pulse/edit-session-id wiring; the model/time subtitle stays.

* [aidan] ux/workflows: animate title on auto-rename

Wrap the workflow card title in the same Typewriter the chat card uses,
so when the auto-generated name replaces the placeholder after Save it
retypes letter-by-letter. Gated on a real (non-placeholder) title so it
never animates on mount or for already-named workflows.

* [aidan] ux/workflows: animate sidebar title on auto-rename

Wrap the calendar hub's sidebar row title in the same Typewriter the
workflow card uses, so a title that auto-renames retypes letter-by-letter
in the sidebar too. Extract the placeholder/isRealTitle guard into the
shared workflowVisuals so the card and sidebar stay in sync.
2026-06-17 20:27:08 -07:00
abccodes 2bc96f603b [aidan] ui: fix stop viewing closing chat 2026-06-17 19:17:34 -07:00
abccodes 4644e7cca6 [aidan] ui: calendar sidebar naming 2026-06-17 19:04:27 -07:00
abccodes 233c1648c1 [aidan] ui: tool calling desc/naming 2026-06-17 18:41:11 -07:00
abccodes 4c253e182e aidan ui: schedule naming changes 2026-06-17 18:15:14 -07:00
abccodes 0bbc5c894b [aidan] fix/workflow-scheduling: save unscheduled workflows as drafts 2026-06-17 17:39:07 -07:00
abccodes 570dc29b82 [aidan] ux/workflows: polish workflow card interactions 2026-06-17 02:48:13 -07:00
abccodes f593214d9f [aidan] ux/chat: remove continue chat button 2026-06-17 02:26:05 -07:00