askii-cli 0.2.1 → 0.2.2

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
@@ -76,12 +76,13 @@ Get-Content myfile.ts | askii explain
76
76
 
77
77
  ### `do` — Agentic task runner
78
78
 
79
- Reads the workspace structure, then creates/modifies/deletes files with your confirmation:
79
+ Prints the working directory's top-level file listing, then runs an agent loop that creates, modifies, renames, deletes, views, and lists files until the task is done or `--max-rounds` is reached.
80
80
 
81
81
  **bash**
82
82
 
83
83
  ```bash
84
84
  askii do "create a Jest test file for src/utils.ts"
85
+ askii do "rename all .js files to .ts in the src folder"
85
86
  askii do "add a .gitignore for a Node.js project"
86
87
  askii do --yes "scaffold a README for this project" # auto-confirm all
87
88
  askii do --dir ./my-project "refactor index.ts"
@@ -91,11 +92,25 @@ askii do --dir ./my-project "refactor index.ts"
91
92
 
92
93
  ```powershell
93
94
  askii do "create a Jest test file for src/utils.ts"
95
+ askii do "rename all .js files to .ts in the src folder"
94
96
  askii do "add a .gitignore for a Node.js project"
95
97
  askii do --yes "scaffold a README for this project" # auto-confirm all
96
98
  askii do --dir .\my-project "refactor index.ts"
97
99
  ```
98
100
 
101
+ The agent can use the following actions each round:
102
+
103
+ | Action | Description | Requires confirmation |
104
+ | -------- | -------------------------------------------------------- | --------------------- |
105
+ | `list` | List files in a folder (`[file]` / `[folder]` labels) | No |
106
+ | `view` | Read a file's contents | No |
107
+ | `create` | Create a new file | Yes |
108
+ | `modify` | Replace text in an existing file | Yes |
109
+ | `rename` | Rename or move a file | Yes |
110
+ | `delete` | Delete a file | Yes |
111
+
112
+ The loop continues after every round — not only after reads — until the AI returns `[]` or the round limit is hit.
113
+
99
114
  ---
100
115
 
101
116
  ### `control` — Screen control agent