autohand-cli 0.6.12 → 0.7.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.
Files changed (101) hide show
  1. package/README.md +60 -48
  2. package/dist/AutomodeManager-FQQPBHAD.js +1422 -0
  3. package/dist/AutomodeManager-PUNJS7IZ.cjs +1422 -0
  4. package/dist/{CommunitySkillsCache-XPDVYU3K.js → CommunitySkillsCache-AY3ZYDTN.js} +1 -0
  5. package/dist/{CommunitySkillsCache-X3X237QQ.cjs → CommunitySkillsCache-KO4DSKMA.cjs} +1 -0
  6. package/dist/{GitHubRegistryFetcher-K744NNAJ.cjs → GitHubRegistryFetcher-S4JREWUQ.cjs} +1 -0
  7. package/dist/{GitHubRegistryFetcher-US2JJID4.js → GitHubRegistryFetcher-V23KTTLM.js} +1 -0
  8. package/dist/HookManager-OGINWAJN.cjs +7 -0
  9. package/dist/HookManager-VG46FXSZ.js +7 -0
  10. package/dist/MemoryManager-AFS5EZJ2.js +8 -0
  11. package/dist/MemoryManager-KE6EKW7Y.cjs +8 -0
  12. package/dist/{PermissionManager-PMTQN263.cjs → PermissionManager-MAPKIJMD.cjs} +1 -0
  13. package/dist/{PermissionManager-YFZI4ZZ6.js → PermissionManager-V2Q2OAS2.js} +1 -0
  14. package/dist/SessionManager-MKLGLZWC.cjs +10 -0
  15. package/dist/SessionManager-V25OJDDY.js +10 -0
  16. package/dist/{SkillsRegistry-OINIPILA.cjs → SkillsRegistry-4RU2OAEQ.cjs} +1 -0
  17. package/dist/{SkillsRegistry-7NICF6FY.js → SkillsRegistry-FTLVJZMA.js} +1 -0
  18. package/dist/{agents-GRAFXZY3.cjs → agents-CHNQ7LQ4.cjs} +1 -0
  19. package/dist/{agents-B33IAATH.js → agents-E4NEH2PN.js} +1 -0
  20. package/dist/{agents-new-67NJJSDA.cjs → agents-new-GHVWXW7T.cjs} +1 -0
  21. package/dist/{agents-new-KTXJFC5E.js → agents-new-W6HMQ7V5.js} +1 -0
  22. package/dist/automode-BJYGRMEQ.cjs +9 -0
  23. package/dist/automode-XCNP6HP4.js +9 -0
  24. package/dist/chunk-2FLBGPE3.js +199 -0
  25. package/dist/{chunk-5RX6NVQO.cjs → chunk-3L76MLO5.cjs} +20 -2
  26. package/dist/chunk-3RG5ZIWI.js +10 -0
  27. package/dist/chunk-4L5WYXHN.js +246 -0
  28. package/dist/{chunk-SFT6BEYU.js → chunk-BAFJQUWR.js} +20 -2
  29. package/dist/chunk-CXZEPTRI.js +172 -0
  30. package/dist/{chunk-CT2VTDPQ.cjs → chunk-E6U4UE3B.cjs} +1 -1
  31. package/dist/{chunk-TG34DNLU.cjs → chunk-EBM5QDJ4.cjs} +2 -2
  32. package/dist/{chunk-MFLRXVKU.js → chunk-HUE3GT5M.js} +1 -1
  33. package/dist/{chunk-A2TFZJD4.js → chunk-LCCJ26QR.js} +2 -2
  34. package/dist/chunk-OBGZSXTJ.cjs +10 -0
  35. package/dist/chunk-OTS4YFSZ.cjs +172 -0
  36. package/dist/chunk-SXYYH3VD.cjs +497 -0
  37. package/dist/chunk-UOLJZFPJ.js +497 -0
  38. package/dist/chunk-UPR5PKX4.cjs +199 -0
  39. package/dist/chunk-URY4AS4L.cjs +246 -0
  40. package/dist/{completion-Y42FKDT3.js → completion-2XTEWNMC.js} +1 -0
  41. package/dist/{completion-WVFWX7XQ.cjs → completion-BTDPVWVB.cjs} +1 -0
  42. package/dist/{constants-QYBEF3DB.js → constants-RVCOJL3L.js} +1 -0
  43. package/dist/{constants-PE5DLI7Q.cjs → constants-V4V43DZQ.cjs} +1 -0
  44. package/dist/{defaultHooks-3G3DVF6I.js → defaultHooks-3GRSZNKA.js} +2 -0
  45. package/dist/{defaultHooks-Z4KA6U5C.cjs → defaultHooks-7EAUU6MN.cjs} +3 -1
  46. package/dist/{export-BKBJ7PB2.cjs → export-CB34FSEH.cjs} +1 -0
  47. package/dist/{export-WJ5P6E5Z.js → export-LNPP3XXH.js} +1 -0
  48. package/dist/{feedback-PZ2PINDU.js → feedback-IZKDNGHP.js} +1 -0
  49. package/dist/{feedback-R66B3B3C.cjs → feedback-OKGBXZZ4.cjs} +1 -0
  50. package/dist/{formatters-UG6VZJJ5.js → formatters-JJK6RS55.js} +1 -0
  51. package/dist/{formatters-N5IJKYZY.cjs → formatters-OIGPANHJ.cjs} +1 -0
  52. package/dist/{help-PKC6QCNG.js → help-MU553D6W.js} +1 -0
  53. package/dist/{help-UEELQRHP.cjs → help-QAAUDLFS.cjs} +1 -0
  54. package/dist/{hooks-5NY5K4L3.js → hooks-4N5VRVOF.js} +2 -1
  55. package/dist/hooks-7DZGBMXP.cjs +10 -0
  56. package/dist/index.cjs +933 -1395
  57. package/dist/index.js +863 -1325
  58. package/dist/{init-SLLSDDJN.cjs → init-2QEB7GL5.cjs} +1 -0
  59. package/dist/{init-DML7AOII.js → init-WW4RITLV.js} +1 -0
  60. package/dist/{lint-TA2ZHVLM.js → lint-L2TD6NY6.js} +1 -0
  61. package/dist/{lint-44UQJ673.cjs → lint-ZLRBEAFF.cjs} +1 -0
  62. package/dist/{localProjectPermissions-75X3ZGKH.cjs → localProjectPermissions-2DP6X55S.cjs} +1 -0
  63. package/dist/{localProjectPermissions-DURCNDZG.js → localProjectPermissions-5CXHD4DO.js} +1 -0
  64. package/dist/{login-BZ7J4Z4M.js → login-LH62FYMH.js} +1 -0
  65. package/dist/{login-HUH3CEWL.cjs → login-TWWYJKX6.cjs} +1 -0
  66. package/dist/{logout-3V3SH7OL.cjs → logout-35XNU6Q2.cjs} +1 -0
  67. package/dist/{logout-BZKEMNHB.js → logout-KPHUXO23.js} +1 -0
  68. package/dist/{memory-4GSP7NKV.js → memory-2SGSO4MW.js} +1 -0
  69. package/dist/{memory-CFNC7RJH.cjs → memory-ALXCFFQY.cjs} +1 -0
  70. package/dist/{model-TKVEJ5BC.cjs → model-JC43B3KM.cjs} +1 -0
  71. package/dist/{model-HKEFSH5E.js → model-U3BWIWVH.js} +1 -0
  72. package/dist/{new-EB2MBQXA.cjs → new-24YT5KVI.cjs} +1 -0
  73. package/dist/{new-EEZC4XXV.js → new-PCOF6OLV.js} +1 -0
  74. package/dist/{patch-J32X2QQP.cjs → patch-ETANEGRW.cjs} +3 -1
  75. package/dist/{patch-BAAQIYSW.js → patch-RPK3BZQR.js} +2 -0
  76. package/dist/{permissions-5MTH22EF.js → permissions-5W5JOVM7.js} +1 -0
  77. package/dist/{permissions-IP5SITPI.cjs → permissions-NHPJPHDV.cjs} +1 -0
  78. package/dist/{quit-RSYIERO5.js → quit-NIDVPHNL.js} +1 -0
  79. package/dist/{quit-2RYFGIJP.cjs → quit-TMKMX2YF.cjs} +1 -0
  80. package/dist/{resume-OYZMJRNO.cjs → resume-5C44HAAH.cjs} +1 -0
  81. package/dist/{resume-2NERFSTD.js → resume-ZZ2D2NMB.js} +1 -0
  82. package/dist/{session-T3TAZ5ZU.cjs → session-6TMBGN7N.cjs} +1 -0
  83. package/dist/{session-H5QWKE5E.js → session-76F55XKA.js} +1 -0
  84. package/dist/{sessions-4KXIT76T.js → sessions-ERKBJ7MC.js} +1 -0
  85. package/dist/{sessions-7RTCPVNE.cjs → sessions-NUPCJVCF.cjs} +1 -0
  86. package/dist/{skills-CRFOVWEQ.js → skills-R25OBHE5.js} +2 -1
  87. package/dist/skills-UCWKIHHG.cjs +13 -0
  88. package/dist/{skills-install-RMPXN6RK.js → skills-install-GNTBBL46.js} +1 -0
  89. package/dist/{skills-install-Z27KPEGF.cjs → skills-install-VUSVGSON.cjs} +1 -0
  90. package/dist/{skills-new-3QJUST7P.cjs → skills-new-AGXQNBRA.cjs} +1 -0
  91. package/dist/{skills-new-S2YPO635.js → skills-new-L36LQXIE.js} +1 -0
  92. package/dist/status-2QV7C3JJ.cjs +9 -0
  93. package/dist/{status-KC56ITDB.js → status-VJ6FOSRI.js} +2 -1
  94. package/dist/{theme-LIF3RD3A.cjs → theme-MI3BM56M.cjs} +1 -0
  95. package/dist/{theme-JAMJSCKR.js → theme-ZXGSJBZI.js} +1 -0
  96. package/dist/{undo-7QJBXARS.js → undo-3UU5LWQS.js} +1 -0
  97. package/dist/{undo-2WR2ZIEC.cjs → undo-W4VN2Y37.cjs} +1 -0
  98. package/package.json +2 -2
  99. package/dist/hooks-PIYYJZMI.cjs +0 -9
  100. package/dist/skills-6PIGHOWS.cjs +0 -12
  101. package/dist/status-VDVKZCQR.cjs +0 -8
package/README.md CHANGED
@@ -1,10 +1,16 @@
1
- # Autohand CLI
1
+ # Autohand Code CLI
2
2
 
3
3
  [![Bun](https://img.shields.io/badge/Bun-%23c61f33?style=flat&logo=bun&logoColor=white)](https://bun.sh)
4
4
 
5
- **An agentic CLI that reads, reasons, and writes code across your entire project. No context switching. No copy-paste.**
5
+ **An coding agentic CLI that reads, reasons, and writes code across your entire project. No context switching. No copy-paste, No you're absolute right!.**
6
6
 
7
- Autohand is an autonomous LLM-powered coding agent that lives in your terminal. It uses the ReAct (Reason + Act) pattern to understand your codebase, plan changes, and execute them with your approval. Built with TypeScript and Bun for blazing-fast performance.
7
+ Autohand Code CLI is an autonomous LLM-powered coding agent that lives in your terminal. It uses the ReAct (Reason + Act) pattern to understand your codebase, plan changes, and execute them with your approval. It's blazing fast, intuitive, and extensible with a modular skill system.
8
+
9
+ We built with a very minimalistic design philosophy to keep the focus on coding. Just install, run `autohand`, and start giving instructions in natural language. Autohand handles the rest.
10
+
11
+ Scale Autohand across your team and CI/CD pipelines to automate repetitive coding tasks, enforce code quality, and accelerate development velocity.
12
+
13
+ ![Alt Autohand in the terminal](docs/gif/autohand-intro.gif)
8
14
 
9
15
  ## Installation
10
16
 
@@ -60,6 +66,7 @@ autohand
60
66
  ```
61
67
 
62
68
  Features:
69
+
63
70
  - Type `/` for slash command suggestions
64
71
  - Type `@` for file autocomplete (e.g., `@src/index.ts`)
65
72
  - Press `ESC` to cancel in-flight requests
@@ -85,19 +92,19 @@ autohand -p "refactor database queries" --dry-run
85
92
 
86
93
  ### CLI Options
87
94
 
88
- | Option | Short | Description |
89
- |--------|-------|-------------|
90
- | `--prompt <text>` | `-p` | Run a single instruction in command mode |
91
- | `--yes` | `-y` | Auto-confirm risky actions |
92
- | `--auto-commit` | `-c` | Auto-commit changes after completing tasks |
93
- | `--dry-run` | | Preview actions without applying mutations |
94
- | `--model <model>` | | Override the configured LLM model |
95
- | `--path <path>` | | Workspace path to operate in |
96
- | `--auto-skill` | | Auto-generate skills based on project analysis |
97
- | `--unrestricted` | | Run without approval prompts (use with caution) |
98
- | `--restricted` | | Deny all dangerous operations automatically |
99
- | `--config <path>` | | Path to config file |
100
- | `--temperature <value>` | | Sampling temperature for LLM |
95
+ | Option | Short | Description |
96
+ | ----------------------- | ----- | ----------------------------------------------- |
97
+ | `--prompt <text>` | `-p` | Run a single instruction in command mode |
98
+ | `--yes` | `-y` | Auto-confirm risky actions |
99
+ | `--auto-commit` | `-c` | Auto-commit changes after completing tasks |
100
+ | `--dry-run` | | Preview actions without applying mutations |
101
+ | `--model <model>` | | Override the configured LLM model |
102
+ | `--path <path>` | | Workspace path to operate in |
103
+ | `--auto-skill` | | Auto-generate skills based on project analysis |
104
+ | `--unrestricted` | | Run without approval prompts (use with caution) |
105
+ | `--restricted` | | Deny all dangerous operations automatically |
106
+ | `--config <path>` | | Path to config file |
107
+ | `--temperature <value>` | | Sampling temperature for LLM |
101
108
 
102
109
  ## Agent Skills
103
110
 
@@ -137,6 +144,7 @@ Generating skills...
137
144
  ```
138
145
 
139
146
  Skills are discovered from:
147
+
140
148
  - `~/.autohand/skills/` - User-level skills
141
149
  - `<project>/.autohand/skills/` - Project-level skills
142
150
  - Compatible with Codex and Claude skill formats
@@ -145,46 +153,50 @@ See [Agent Skills Documentation](docs/agent-skills.md) for creating custom skill
145
153
 
146
154
  ## Slash Commands
147
155
 
148
- | Command | Description |
149
- |---------|-------------|
150
- | `/help` | Display available commands |
151
- | `/quit` | Exit the session |
152
- | `/model` | Switch LLM models |
153
- | `/new` | Start fresh conversation |
154
- | `/undo` | Revert last changes |
155
- | `/session` | Show current session details |
156
- | `/sessions` | List past sessions |
157
- | `/resume` | Resume a previous session |
158
- | `/memory` | View/manage stored memories |
159
- | `/init` | Create `AGENTS.md` file |
160
- | `/agents` | List sub-agents |
161
- | `/agents-new` | Create new agent via wizard |
162
- | `/skills` | List and manage skills |
163
- | `/skills new` | Create a new skill |
164
- | `/feedback` | Send feedback |
165
- | `/formatters` | List code formatters |
166
- | `/lint` | List code linters |
167
- | `/completion` | Generate shell completion scripts |
168
- | `/export` | Export session to markdown/JSON/HTML |
169
- | `/status` | Show workspace status |
170
- | `/login` | Authenticate with Autohand API |
171
- | `/logout` | Sign out |
172
- | `/permissions` | Manage tool permissions |
156
+ | Command | Description |
157
+ | -------------- | ------------------------------------ |
158
+ | `/help` | Display available commands |
159
+ | `/quit` | Exit the session |
160
+ | `/model` | Switch LLM models |
161
+ | `/new` | Start fresh conversation |
162
+ | `/undo` | Revert last changes |
163
+ | `/session` | Show current session details |
164
+ | `/sessions` | List past sessions |
165
+ | `/resume` | Resume a previous session |
166
+ | `/memory` | View/manage stored memories |
167
+ | `/init` | Create `AGENTS.md` file |
168
+ | `/agents` | List sub-agents |
169
+ | `/agents-new` | Create new agent via wizard |
170
+ | `/skills` | List and manage skills |
171
+ | `/skills new` | Create a new skill |
172
+ | `/feedback` | Send feedback |
173
+ | `/formatters` | List code formatters |
174
+ | `/lint` | List code linters |
175
+ | `/completion` | Generate shell completion scripts |
176
+ | `/export` | Export session to markdown/JSON/HTML |
177
+ | `/status` | Show workspace status |
178
+ | `/login` | Authenticate with Autohand API |
179
+ | `/logout` | Sign out |
180
+ | `/permissions` | Manage tool permissions |
173
181
 
174
182
  ## Tool System
175
183
 
176
184
  Autohand includes 40+ tools for autonomous coding:
177
185
 
178
186
  ### File Operations
187
+
179
188
  `read_file`, `write_file`, `append_file`, `apply_patch`, `search`, `search_replace`, `semantic_search`, `list_tree`, `create_directory`, `delete_path`, `rename_path`, `copy_path`, `multi_file_edit`
180
189
 
181
190
  ### Git Operations
191
+
182
192
  `git_status`, `git_diff`, `git_commit`, `git_add`, `git_branch`, `git_switch`, `git_merge`, `git_rebase`, `git_cherry_pick`, `git_stash`, `git_fetch`, `git_pull`, `git_push`, `auto_commit`
183
193
 
184
194
  ### Commands & Dependencies
195
+
185
196
  `run_command`, `custom_command`, `add_dependency`, `remove_dependency`
186
197
 
187
198
  ### Planning & Memory
199
+
188
200
  `plan`, `todo_write`, `save_memory`, `recall_memory`
189
201
 
190
202
  ## Configuration
@@ -211,14 +223,14 @@ Create `~/.autohand/config.json`:
211
223
 
212
224
  ### Supported Providers
213
225
 
214
- | Provider | Config Key | Notes |
215
- |----------|------------|-------|
226
+ | Provider | Config Key | Notes |
227
+ | ---------- | ------------ | ----------------------------------- |
216
228
  | OpenRouter | `openrouter` | Access to Claude, GPT-4, Grok, etc. |
217
- | Anthropic | `anthropic` | Direct Claude API access |
218
- | OpenAI | `openai` | GPT-4 and other models |
219
- | Ollama | `ollama` | Local models |
220
- | llama.cpp | `llamacpp` | Local inference |
221
- | MLX | `mlx` | Apple Silicon optimized |
229
+ | Anthropic | `anthropic` | Direct Claude API access |
230
+ | OpenAI | `openai` | GPT-4 and other models |
231
+ | Ollama | `ollama` | Local models |
232
+ | llama.cpp | `llamacpp` | Local inference |
233
+ | MLX | `mlx` | Apple Silicon optimized |
222
234
 
223
235
  ## Session Management
224
236