-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add disableTaskLists option to mode configuration #5694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Add optional disableTaskLists property to ModeConfig type schema - Update tool description generation to conditionally exclude update_todo_list tool - Modify isToolAllowedForMode to respect disableTaskLists setting - Add comprehensive tests for the new functionality Fixes #5693
|
✅ No security or compliance issues detected. Reviewed everything up to 267ed33. Security Overview
Detected Code Changes
Reply to this PR with |
|
Automatically closed: PR created by @roomote-agent before 2025-07-16 |
|
I see this PR was automatically closed. Let me review the implementation and reopen it if the feature is still needed. Checking out the branch now to assess the current state. |
|
Automatically closed: PR created before 2025-07-16 |
✅ PR Successfully Reopened and ValidatedI have successfully reopened this PR and verified that the 🔍 Implementation ReviewThe feature has been properly implemented with:
✅ CI StatusAll CI checks have passed successfully:
🎯 Feature SummaryThis PR implements the requested feature from issue #5693, allowing mode creators to add The PR is now ready for review and merge. |
This PR implements the feature requested in issue #5693 to allow modes to disable task lists to reduce token usage.
Changes Made
Technical Implementation
The implementation works by:
Testing
Usage
Mode creators can now add disableTaskLists: true to their mode configuration to disable task list functionality and reduce token usage.
Fixes #5693
Important
Adds
disableTaskListsoption to mode configurations to conditionally exclude task list tools, with comprehensive tests.disableTaskListsboolean tomodeConfigSchemainmode.tsto allow disabling task lists in mode configurations.getToolDescriptionsForMode()inindex.tsto excludeupdate_todo_listtool ifdisableTaskListsis true.isToolAllowedForMode()inmodes.tsto respectdisableTaskListssetting.index.spec.tsandvalidateToolUse.spec.tsto verifydisableTaskListsfunctionality for true, false, and undefined states.update_todo_list.This description was created by
for 267ed33. You can customize this summary. It will automatically update as commits are pushed.