Skip to content

Conversation

@li-yechao
Copy link
Collaborator

@li-yechao li-yechao commented Nov 26, 2025

Related Issue

Major Changes

Screenshots

Test Plan

Checklist

  • This change requires documentation updates, and I have updated the relevant documentation. If the documentation has not been updated, please create a documentation update issue and link it here
  • The changes are already covered by tests, and I have adjusted the test coverage for the changed parts
  • The newly added code logic is also covered by tests
  • This change adds dependencies, and they are placed in dependencies and devDependencies
  • This change includes adding or updating npm dependencies, and it does not result in multiple versions of the same dependency [check the diff of pnpm-lock.yaml]

Summary by AIGNE

Release Notes

New Feature:

  • Enhanced afs_list command to display files in a hierarchical tree view format with ASCII art visualization, improving file structure readability

Performance:

  • Increased file listing capacity from 50 to 1000 files for better handling of large directories

Refactor:

  • Streamlined afs_list parameters by removing recursive and limit options while retaining maxDepth control
  • Improved glob pattern logic for more efficient recursive directory traversal

@github-actions
Copy link

github-actions bot commented Nov 26, 2025

Image description AIGNE CodeSmith

Walkthrough

The changes transform the afs_list functionality from returning a flat file list to a hierarchical tree view. The LocalFS implementation increases the file limit from 50 to 1000 and improves glob pattern handling for recursive searches. The core prompt skills module replaces the flat list output with an ASCII art tree structure, removes the recursive and limit parameters while retaining maxDepth, and renames the tool response to "afs_tree".

Changes

Files Summary
afs/local-fs/src/index.ts, packages/core/src/prompt/skills/afs.ts Transforms afs_list to return hierarchical tree view instead of flat list. LocalFS increases file limit to 1000 and improves recursive glob patterns. Core module adds buildTreeView helper for ASCII tree formatting and renames tool response to "afs_tree".

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image description AIGNE CodeSmith

Commits Files that changed from the base of the PR and between 023c202 and fc270ad commits.
Files selected (2)
  • afs/local-fs/src/index.ts (2)
  • packages/core/src/prompt/skills/afs.ts (2)
Review comments generated (4)
  • Review: 0
  • LGTM: 4

提示

Image description AIGNE CodeSmith (@codesmith) 聊天

  • 回复此机器人留下的审查评论以提出后续问题。审查评论是对差异或文件的评论。
  • 通过在回复中标记 @codesmith 邀请机器人加入审查评论链。

代码建议

  • 机器人可能会提出代码建议,但在提交前请仔细审查它们,因为行号范围可能会不对齐。
  • 你可以编辑机器人做出的评论,并在建议稍有偏差时手动调整。

暂停增量审查

  • 在 PR 描述中的任何位置添加 @codesmith: ignore 以暂停机器人的进一步审查。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants