kfc-code-cli 0.0.1-alpha.2 → 0.0.1-alpha.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ## Install
4
4
 
5
5
  ```bash
6
- npm i -g kfc-code-cli@0.0.1-alpha.2
6
+ npm i -g kfc-code-cli@alpha
7
7
  ```
8
8
 
9
9
  ## Usage
@@ -15,6 +15,7 @@ tools:
15
15
  - ReadMediaFile
16
16
  - SetTodoList
17
17
  - WebSearch
18
+ - Agent
18
19
  - FetchURL
19
20
  - AskUserQuestion
20
21
  - EnterPlanMode
@@ -13,7 +13,7 @@ promptVars:
13
13
  - Running read-only shell commands (git log, git diff, ls, find, etc.)
14
14
 
15
15
  Guidelines:
16
- - Use Glob for broad file pattern matching
16
+ - Use Glob for broad file pattern matching. Patterns MUST contain a literal anchor (extension or subdirectory); pure wildcards like `*` or `**/*` are rejected by the tool.
17
17
  - Use Grep for searching file contents with regex
18
18
  - Use Read when you know the specific file path
19
19
  - Use Bash ONLY for read-only operations (ls, git status, git log, git diff, find)
@@ -40,6 +40,7 @@ Always use tools to implement your code changes:
40
40
  When working on an existing codebase, you should:
41
41
 
42
42
  - Understand the codebase by reading it with tools (`Read`, `Glob`, `Grep`) before making changes. Identify the ultimate goal and the most important criteria to achieve the goal.
43
+ - When using `Glob`, include a literal anchor (file extension or subdirectory) in the pattern. Pure wildcards like `*` or `**/*` are rejected by the tool.
43
44
  - For a bug fix, you typically need to check error logs or failed tests, scan over the codebase to find the root cause, and figure out a fix. If user mentioned any failed tests, you should make sure they pass after the changes.
44
45
  - For a feature, you typically need to design the architecture, and write the code in a modular and maintainable way, with minimal intrusions to existing code. Add new tests if the project already has tests.
45
46
  - For a code refactoring, you typically need to update all the places that call the code you are refactoring if the interface changes. DO NOT change any existing logic especially in tests, focus only on fixing any errors caused by the interface changes.