Commit Graph

365 Commits

Author SHA1 Message Date
João Salavisa 5e8bd649b8 fix: prevent WebSocket timeout from canceling long-running agent operations (#109) 2026-01-27 23:55:05 +00:00
João Salavisa d3d43d1df1 feat: Add file unstaging functionality (#107) 2026-01-27 23:17:26 +00:00
João Salavisa 456bdcd307 fix: synchronous event bus dispatch with regression tests (#106) 2026-01-27 22:55:30 +00:00
João Salavisa 0b573bbdda feat(workflow): implement workflow system with steps terminology (#102) 2026-01-27 01:21:47 +00:00
Carlos Florêncio 7c82ccdf24 feat: improve logging (#105) 2026-01-27 00:18:42 +00:00
Carlos Florêncio 9463ddac9f feat: remove npm warns from terminal + fix terminal render on refresh (#104) 2026-01-26 23:52:28 +00:00
Carlos Florêncio ec77511f26 feat: improved chat ux (#103) 2026-01-26 23:46:09 +00:00
João Salavisa 4941795532 fix: git status not showing after page refresh (#101) 2026-01-26 22:06:32 +00:00
Carlos Florêncio 47a02fd18e feat: git pull before worktree creation (#100) 2026-01-26 19:09:55 +00:00
Carlos Florêncio 323e14c1a6 feat: opencode dynamic model loader (#99) 2026-01-25 22:23:03 +00:00
João Salavisa c9355e526b fix: increase prompt timeout to 60min, add error feedback, rename acp to agent API (#97)
* fix: strip origin/ prefix from base branch for rebase/merge operations

The frontend was passing 'origin/main' as the base branch, but the backend
expects just the branch name (e.g., 'main') and constructs 'origin/' itself.

This caused git fetch to fail with:
  fatal: couldn't find remote ref origin/main

Because the command became 'git fetch origin origin/main' instead of
'git fetch origin main'.

* fix: increase prompt timeout to 60min, add error feedback, rename acp to agent API

- Add PromptTimeout constant (60 minutes) in common/constants/timeouts.go
- Update agentctl client and server to use the constant
- Add error message creation when prompt fails (timeout, agent not running, etc)
- Rename /acp/* endpoints to /agent/* (protocol-agnostic naming)
- Rename acp.go files to agent.go in both client and server
- Rename handler functions from handleACP* to handleAgent*
2026-01-25 20:58:30 +00:00
Carlos Florêncio 859eb70908 feat: improve task switch + cli passthrough resume (#98) 2026-01-25 20:14:40 +00:00
Carlos Florêncio ab404261dd feat: cli passthrough state transitions (#95) 2026-01-25 18:37:37 +00:00
Carlos Florêncio 66cda240e0 feat: cli passthrough setting (#93) 2026-01-25 17:49:53 +00:00
João Salavisa 79dce77491 fix: strip origin/ prefix from base branch for rebase/merge operations (#94) 2026-01-25 17:16:39 +00:00
João Salavisa 187d002717 feat: per-task executor selection with multi-runtime support (#92) 2026-01-25 02:05:19 +00:00
João Salavisa d43037bf82 fix: filter upstream commits, fix ahead/behind, and remove duplicate types (#91) 2026-01-25 00:16:01 +00:00
Carlos Florêncio a3d144cbb8 fix: model selector (#90) 2026-01-25 00:02:31 +00:00
Carlos Florêncio d6e2380bdf feat: diff file multi line comment 2026-01-24 23:11:15 +00:00
Carlos Florêncio 3b9abea3ca feat: gemini and opencode 2026-01-24 19:03:31 +00:00
Carlos Florêncio eec22dc3bb feat: claude code support (#87) 2026-01-24 13:41:45 +00:00
João Salavisa 39b6e89244 feat: Git status tracking refactor with persistent snapshots and commit history (#86) 2026-01-24 00:41:43 +00:00
Carlos Florêncio 7a7927925e feat: improved codex and auggie default permissions 2026-01-24 00:19:20 +00:00
Carlos Florêncio cff2906712 feat: setup and cleanup script (#80)
fix setup

error messages

feat: codex error handling
2026-01-23 23:36:04 +00:00
João Salavisa 8426bcb6bb refactor: split monolithic sqlite.go into domain-specific files (#84) 2026-01-23 21:45:41 +00:00
João Salavisa dd3e699748 fix: load most recent messages and fix lazy loading pagination (#82) 2026-01-23 21:45:28 +00:00
Carlos Florêncio 1737cab44f feat: improve chat ui paddings (#83) 2026-01-23 21:21:36 +00:00
João Salavisa 5e699019ef Improve agent message rendering with better spacing and inline code styling (#81) 2026-01-23 17:37:34 +00:00
João Salavisa 9af9b7e008 refactor: remove progress field from TaskSession and AgentExecution (#75) 2026-01-23 17:37:16 +00:00
Carlos Florêncio 9d34c63202 feat: random port support (#79) 2026-01-22 22:55:37 +00:00
Carlos Florêncio d0030e728e feat: improve preview url loading (#78) 2026-01-22 22:20:10 +00:00
Carlos Florêncio 8525cc0d87 feat: refactor frontend hooks and store (#76) 2026-01-22 21:30:26 +00:00
Carlos Florêncio 290359f7f0 feat: backend improved comments, logs and agents.md (#77) 2026-01-22 21:18:27 +00:00
Carlos Florêncio 752e6b4655 feat: process runners (#71) 2026-01-22 16:39:13 +00:00
João Salavisa b1433a8d45 Clean up dead code and fix ACP session event payload (#73) 2026-01-22 02:39:45 +00:00
Carlos Florêncio efd36ffbb7 feat: http logging middleware + mcp random port (#74) 2026-01-22 02:27:14 +00:00
João Salavisa 89d7f10211 feat: add session turns with duration display and live timer (#72) 2026-01-21 23:35:29 +00:00
Carlos Florêncio 51e55a06d3 feat: refactored chat input panels + pie context (#70) 2026-01-21 20:54:41 +00:00
João Salavisa 8dd88e8c60 refactor: comprehensive code quality improvements (#69) 2026-01-21 19:49:36 +00:00
João Salavisa fba868d3fe feat: dynamic model switching and session status fix (#68) 2026-01-21 17:19:50 +00:00
João Salavisa c57a82f81d feat(mcp): add embedded MCP server with dual transport support (#67) 2026-01-21 12:03:46 +00:00
João Salavisa fa8364307f fix: use AGENTCTL_PORT env var for backend ControlClient (#63) 2026-01-21 11:39:14 +00:00
João Salavisa dea2a07cfa feat: add context window usage display to task session (#66)
* feat: add context window usage display to task session

- Add TokenUsageDisplay component showing context window usage as a horizontal progress bar
- Add useSessionContextWindow hook with proper Zustand reactivity (subscribe to primitives)
- Add ContextWindowState to store with setContextWindow action
- Backend: propagate context_window data through orchestrator, watcher, and lifecycle events
- WebSocket handler extracts context_window from session.state_changed metadata
- Display positioned on left side of action bar, updates in real-time

* refactor: remove agent stream event WebSocket broadcasting

Agent stream events (message_chunk, tool_call, etc.) are now handled
internally by the lifecycle manager rather than being broadcast to
the frontend. Messages are accumulated and flushed as comments at
step boundaries.
2026-01-21 02:47:20 +00:00
Carlos Florêncio 93251b48ce feat: mcp servers + executors (#60)
* feat: mcp servers

* feat: mcp executors

* feat: mcp per agent profile

* feat: improve side bar

* feat: add reactive executors crud
2026-01-21 01:13:20 +00:00
Carlos Florêncio 7a1bb89fa9 feat: improve repository list setting (#65) 2026-01-21 00:42:49 +00:00
João Salavisa 9a8e3f8790 feat: implement turn cancellation for agent sessions (#64) 2026-01-20 23:50:10 +00:00
João Salavisa 62b0cba9ef Fix session status git information (#62) 2026-01-20 23:21:36 +00:00
Carlos Florêncio 011009109c feat: custom branch prefix (#58)
* feat: custom branch prefix

* feat: improve ui
2026-01-20 23:15:08 +00:00
João Salavisa 2fbc229eaf fix: bind KANDEV_AGENT_STANDALONE_PORT env var to config (#61) 2026-01-20 22:29:05 +00:00
Carlos Florêncio fafd571728 feat(notifications): add system provider 2026-01-20 09:35:22 +00:00