Feature: Filetree Option and Subtask System#464
Open
seedlord wants to merge 32 commits intorobertpiosik:devfrom
Open
Feature: Filetree Option and Subtask System#464seedlord wants to merge 32 commits intorobertpiosik:devfrom
seedlord wants to merge 32 commits intorobertpiosik:devfrom
Conversation
…ree") and adjustment of the token bar below the chat so that it reacts to this state.
…ag/crunching and correct generation of the prompt for the LLM.
…ind Relevant Files" mode, which can then be processed phase by phase by the user/system.
…values (Total, Shrink, Path-only) only once and stores them in the array/tuple. Toggleing the checkbox will then no longer reread files, but only change the displayed variable value. At the same time, we adjust the FilesCollector so that it appends the token count to the file path in the format (1.2k tokens).
…xpanded, and implementing the requested Total (Modified) display.
…played below the chat (the sum of the modified tokens), and that the checkboxes interact smoothly with each other (e.g., exclude each other if desired).
…ken progress bar in filetree-only mode
…ken progress bar in filetree-only mode
…ask instruction generation
…les in context - Fix empty subtask bugs and `trim()` crashes by properly mapping the LLM parsed output to the `text` property with robust fallbacks. - Extend the `Task` type to include an optional `files` array. - Update the `response-processor` to store parsed relative file paths into the created tasks. - Ensure that for the first auto-started subtask, only files explicitly approved by the user in the popup are checked. - Enhance the task "Forward" button to send the full task object instead of just text. - Implement the `SET_TASK_FILES` message handler in the backend to automatically resolve relative task paths to absolute paths and check them in the workspace context.
- Auto-fill prompt and automatically check task-specific files when only 1 subtask is generated. - Route user to the Home view (Tasks list) without auto-filling the prompt when multiple subtasks are generated, improving the planning workflow. - Ensure that tasks only save file paths that the user explicitly approved in the Relevant Files modal.
… mode on task forward
…ancy, and Append new multiple tasks to existing ones to prevent data loss
- Update `Tasks.tsx` to render the list of affected file paths beneath the task description. - Add corresponding styles in `Tasks.module.scss` for a dimmed, native VS Code look with file icons.
…k files clickable - Update `Task` type to support token counts per file and a separate `commit_message` property. - Update `subtask-directives-parser` to extract `commit_message` cleanly instead of appending it to the instruction. - Map matched files in `response-processor` to include their pre-calculated token counts. - Enhance `Tasks.tsx` to render the separate commit message, show formatted token counts, and trigger `on_go_to_file` when a task file is clicked. - Add `FILL_SCM_COMMIT` command in `PanelProvider` to interact natively with the VS Code Git extension.
- Fix TypeScript error in `use-panel.ts` by mapping `TaskFile` objects to path strings before sending them to the backend. - Introduce `active_commit_message` state in `use-panel.ts` and listen for backend updates (`SET_ACTIVE_COMMIT_MESSAGE`). - Render a new "Fill SCM Commit" banner and button in `MainView.tsx` when a commit message is available for the current task. - Trigger the backend `FILL_SCM_COMMIT` command when the user clicks the button.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
filetreesubtasksystem.mp4
🌟 Major Features & Workflow Enhancements
1. Autonomous Planning & Smart Subtask Routing
2. Seamless Git SCM Integration
✨ UI & UX Improvements
3. Enhanced Task View
1.2k tokens).TasksUtilssystem, entirely eliminating bugs related to "ghost tasks" or desynchronized deletions.⚡ Performance & Context Optimizations
4. Zero-Lag Context Toggling & File Tree Mode
TokenCalculator. It now calculates all three token variations (Total, Shrink, and Path-only) simultaneously in a single pass.🐛 Core Bug Fixes & Stability
5. Bulletproof Parsing & Execution
**Relevant files:**or**Subtasks:**) if they are accidentally mentioned by the AI inside markdown code blocks, preventing false positives.\and Mac/Linux/differences) to ensure that files approved in the "Relevant Files" modal are flawlessly matched and checked when a task is executed.