features.mdx 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. ---
  2. title: "Features"
  3. description: "Detailed overview of Cline Kanban features: worktrees, auto-commit, task linking, diff viewer, git interface, and more"
  4. ---
  5. <Warning>
  6. Kanban is a **research preview**. Some features described here use experimental capabilities. Expect changes.
  7. </Warning>
  8. ## Ephemeral Worktrees
  9. Every task card runs in its own [git worktree](https://git-scm.com/docs/git-worktree) — an isolated checkout of your repository. This is the foundation that enables parallel agent execution:
  10. - Each agent works in its own directory with its own terminal
  11. - Changes in one worktree don't affect other worktrees or your main working directory
  12. - No merge conflicts between agents running simultaneously
  13. - Worktrees are cleaned up when you move a card to trash
  14. ### Symlinked Dependencies
  15. When creating a worktree, Kanban symlinks gitignored files (like `node_modules`) from your main repo rather than copying or reinstalling them. This avoids the overhead of running `npm install` for every task.
  16. <Warning>
  17. Symlinks point back to the original files in your main repo. This works well for dependencies that agents don't modify, but if an agent does modify a symlinked file, the change affects the original too.
  18. </Warning>
  19. ## Auto-Commit
  20. When enabled, agents automatically commit their changes to the worktree branch as they work. This creates a trail of incremental commits rather than one large diff at the end.
  21. Auto-commit can be toggled in the Kanban settings.
  22. ## Auto-PR
  23. When enabled alongside auto-commit, agents can automatically create pull requests when they finish their work. The agent generates a PR with the changes from its worktree branch.
  24. Auto-PR can be toggled in the Kanban settings.
  25. ## Task Linking & Dependency Chains
  26. Task linking lets you create sequential workflows where completing one task triggers the next:
  27. 1. **⌘ + click** a card to link it to another card
  28. 2. When the first card is completed and moved to trash, the linked card **starts automatically**
  29. 3. Chain multiple cards together for multi-step workflows
  30. When combined with auto-commit, this creates fully autonomous pipelines — one agent finishes, its work is committed, and the next agent picks up where it left off.
  31. ## Diff Viewer & Checkpoints
  32. Clicking a card opens a detail view with a full diff of all changes in that worktree. The diff viewer includes:
  33. - **Checkpoint-scoped diffs** — rather than showing only the cumulative diff, you can view changes from specific message ranges. This is useful for understanding what changed at each step.
  34. - **Inline commenting** — click any line in the diff to leave a comment that gets sent back to the agent. Use this to give targeted feedback like "handle this edge case" or "use a different pattern here."
  35. ## Sidebar Chat & Board Management
  36. The sidebar chat gives you a conversational interface for managing the board. Instead of manually creating and configuring cards, you can ask the agent to:
  37. - Break down a piece of work into multiple task cards
  38. - Link cards together into dependency chains
  39. - Start tasks on the board
  40. The agent manipulates the board directly based on your instructions.
  41. ## Keyboard Shortcuts
  42. Kanban includes keyboard shortcuts for common actions:
  43. | Shortcut | Action |
  44. |----------|--------|
  45. | **C** | Create a new task card |
  46. | **⌘ + click** | Link a card to another card |
  47. <Tip>
  48. The "C" shortcut works from the main board view. You need at least one project open to create a task.
  49. </Tip>
  50. ## Settings
  51. Open the settings dialog to configure how Kanban behaves. Available settings include:
  52. - **Auto-commit** — toggle whether agents automatically commit changes as they work
  53. - **Auto-PR** — toggle whether agents automatically create pull requests on completion (requires auto-commit)
  54. - **Script shortcuts** — define frequently-used commands that appear as buttons on task cards
  55. - **Project paths** — displayed with `~` instead of full home directory paths for readability
  56. ## Script Shortcuts
  57. Define frequently-used commands (like `npm run dev` or `npm test`) in the Kanban settings. These appear as play buttons on task cards, giving you quick access to run, test, or debug the application within a worktree without switching to a separate terminal.
  58. ## Git Interface
  59. Click the **branch name** in the navbar to open a full git interface. From here you can:
  60. - Browse commit history
  61. - Switch branches
  62. - Fetch, pull, and push
  63. - Visualize the git graph
  64. This lets you manage your repository without leaving Kanban or opening a separate git client.
  65. ## Agent Compatibility
  66. Kanban works with CLI-based coding agents. It uses experimental features that bypass permissions and runtime hooks, giving agents more autonomy to work without interruption. Agents currently compatible with Kanban include:
  67. - **Cline CLI**
  68. - **Claude Code**
  69. - **Codex**
  70. - **OpenCode**
  71. and more. Check settings for all available agent runtimes
  72. ## Resume Tasks
  73. When you move a card to trash, the worktree is cleaned up but Kanban saves a **resume ID**. If you need to continue work on a trashed task, you can use this ID to pick up where you left off without starting from scratch.
  74. ## Remote Config Gating
  75. For teams and organizations, Kanban access can be gated via Cline remote config. This allows administrators to control who can access the Kanban board within their organization, enabling phased rollouts or restricting access to specific teams.