• wwwillchen-bot's avatar
    feat: add include_hidden option to list_files tool (#2526) · ae42a494
    wwwillchen-bot 提交于
    ## Summary
    - Add `include_hidden` parameter to the `list_files` tool schema that
    allows including .dyad files (normally git-ignored) in results
    - Update UI components (`DyadListFiles`, `DyadMarkdownParser`) to
    display "(include hidden)" indicator when the option is used
    - Add E2E test to verify the new functionality works correctly
    
    ## Test plan
    - [x] E2E test for `list_files` with `include_hidden=true` added
    - [x] All existing tests pass
    - [x] Lint and type checks pass
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/2526"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open with Devin">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    
    <!-- This is an auto-generated description by cubic. -->
    ---
    ## Summary by cubic
    Adds an include_hidden option to the list_files tool so the agent can
    include .dyad files in results when needed. Updates the UI label and
    consent preview, and adds an e2e test to cover the behavior.
    
    - **New Features**
    - Tool: include_hidden boolean (default false). When true, includes
    .dyad files from the app root (regardless of directory filter), expands
    the ignore list, dedupes/sorts results, and updates consent preview and
    counts.
    - UI: DyadListFiles shows “(include hidden)” when used; Markdown parser
    passes the attribute through.
    - Tests: Adds minimal-with-dyad fixture and e2e to verify .dyad files
    appear in the list and snapshot.
    
    <sup>Written for commit a60579274594888e75fd9cb9d4d6ce5437255b16.
    Summary will update on new commits.</sup>
    
    <!-- End of auto-generated description by cubic. -->
    
    ---------
    Co-authored-by: 's avatarWill Chen <willchen90@gmail.com>
    Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
    Co-authored-by: 's avatarclaude[bot] <41898282+claude[bot]@users.noreply.github.com>
    ae42a494
名称
最后提交
最后更新
..
azure 正在载入提交数据...
backups 正在载入提交数据...
engine 正在载入提交数据...
gateway 正在载入提交数据...
images 正在载入提交数据...
import-app 正在载入提交数据...
security-review 正在载入提交数据...
1.md 正在载入提交数据...
2.md 正在载入提交数据...
3.md 正在载入提交数据...
4.md 正在载入提交数据...
5.md 正在载入提交数据...
6.md 正在载入提交数据...
add-supabase.md 正在载入提交数据...
basic.md 正在载入提交数据...
chat1.md 正在载入提交数据...
chat2.md 正在载入提交数据...
console-logs.md 正在载入提交数据...
context-limit-response.md 正在载入提交数据...
create-error.md 正在载入提交数据...
create-multiple-errors.md 正在载入提交数据...
create-ts-errors-complex.md 正在载入提交数据...
create-ts-errors.md 正在载入提交数据...
create-unfixable-ts-errors.md 正在载入提交数据...
dyad-write-angle.md 正在载入提交数据...
edit-made-with-dyad.md 正在载入提交数据...
execute-sql-1.md 正在载入提交数据...
execute-sql-no-description.md 正在载入提交数据...
generate-supabase-client.md 正在载入提交数据...
multi-page.md 正在载入提交数据...
network-requests.md 正在载入提交数据...
no-code-response.md 正在载入提交数据...
partial-write.md 正在载入提交数据...
rename-edit.md 正在载入提交数据...
version-integrity-add-edit-delete.md 正在载入提交数据...
version-integrity-move-file.md 正在载入提交数据...
write-index-2.md 正在载入提交数据...
write-index.md 正在载入提交数据...