howtofixcli 0.4.17 → 0.4.18
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 +4 -1
- package/dist/main.js +110 -95
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,7 +97,8 @@ the models; models you configured by hand are never overwritten.
|
|
|
97
97
|
## What it does
|
|
98
98
|
|
|
99
99
|
- **Workbench screen** — feed of user turns, tool calls, and streamed answers; boxed input dock; HUD with model, folder, git branch, context meter, thinking level, approval mode, and activity.
|
|
100
|
-
- **Slash commands** — `/init`, `/model`, `/providers`, `/thinking`, `/approval`, `/login`, `/connect`, `/logout`, `/new`, `/resume`, `/compact`, `/name`, `/stats`, `/diff`, `/commit`, `/undo`, `/review`, `/tools`, `/export`, `/copy`, `/agents`, `/goal`, `/plan`, `/workflow`, `/session`, `/help`, `/quit`. Type `/help` for the same list.
|
|
100
|
+
- **Slash commands** — `/init`, `/model`, `/providers`, `/thinking`, `/approval`, `/login`, `/connect`, `/logout`, `/new`, `/resume`, `/compact`, `/name`, `/stats`, `/diff`, `/commit`, `/undo`, `/review`, `/tools`, `/skills`, `/export`, `/copy`, `/agents`, `/goal`, `/plan`, `/workflow`, `/session`, `/help`, `/quit`. Type `/help` for the same list.
|
|
101
|
+
- **Skills** — drop a `SKILL.md` in `~/.howtofix/agent/skills/<name>/` (user) or `.howtofix/skills/<name>/` (this project). `/skills` lists them; `/skill:name` loads one into the next turn. The model also sees the list and will `read` a matching skill on its own.
|
|
101
102
|
- **Shell escape** — a line starting with `!` runs in the project shell and stays in the session history.
|
|
102
103
|
- **Approval modes** — `suggest` asks before every edit and command, `auto-edit` runs edits and asks for commands, `full-auto` (default) never asks. Read-only commands (`ls`, `git log`, `grep` — including pipes like `ls | head`) never ask. A critical command is denied in every mode. Pick one with `/approval` or `--approval <mode>`.
|
|
103
104
|
- **Git workflow** — `/diff` shows the working tree, `/commit <message>` stages and commits, `/undo` resets the last commit keeping the changes, `/review` asks the agent to review the diff.
|
|
@@ -106,6 +107,8 @@ the models; models you configured by hand are never overwritten.
|
|
|
106
107
|
- **Cancel a run** — `Esc` stops the current turn (same as `Ctrl+C`) and says so in the transcript.
|
|
107
108
|
- **Background agents** — the `task` tool spawns `scout`, `task`, or `reviewer` agents that run in parallel, park when done, and can be messaged again with `/agents`.
|
|
108
109
|
- **Tools** — `read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`, plus `think` (private scratchpad), `ask` (multiple-choice question to the user), and `task` (background agents).
|
|
110
|
+
- **Web search and fetch** — `web_search` and `web_fetch` read public http(s) URLs; local, loopback, and RFC1918 addresses are refused before any request is made. Search defaults to DuckDuckGo, with an optional `BRAVE_API_KEY` upgrade.
|
|
111
|
+
- **Language server queries** — the read-only `lsp` tool asks a language server for definition, references, hover, symbols, or diagnostics. It needs the matching server on PATH (`typescript-language-server` for this repo); a missing binary comes back as a tool result that says so.
|
|
109
112
|
- **Sessions** — stored as JSONL under `~/.howtofix/agent/sessions/<project>/`. `-c` continues the latest; `/resume` picks any of them.
|
|
110
113
|
- **Project notes** — `/init` writes an `AGENTS.md` and asks the agent to fill it in; it is loaded into the system prompt on later runs.
|
|
111
114
|
- **`@file`** — `@src/main.ts` in a prompt inlines the file; paths that do not exist are left alone for the agent to read.
|