@markusylisiurunen/tau 0.1.32 → 0.1.34
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 +20 -20
- package/dist/app.js +101 -105
- package/dist/app.js.map +1 -1
- package/dist/commands.js +43 -10
- package/dist/commands.js.map +1 -1
- package/dist/content_loader.js +76 -22
- package/dist/content_loader.js.map +1 -1
- package/dist/terminal.js +13 -0
- package/dist/terminal.js.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/ui/app_intro.js +12 -0
- package/dist/ui/app_intro.js.map +1 -0
- package/dist/ui/assistant_message.js +4 -3
- package/dist/ui/assistant_message.js.map +1 -1
- package/dist/ui/bash_execution.js +14 -18
- package/dist/ui/bash_execution.js.map +1 -1
- package/dist/ui/custom_editor.js +11 -18
- package/dist/ui/custom_editor.js.map +1 -1
- package/dist/ui/file_execution.js +17 -19
- package/dist/ui/file_execution.js.map +1 -1
- package/dist/ui/footer.js +64 -14
- package/dist/ui/footer.js.map +1 -1
- package/dist/ui/queued_messages.js +9 -8
- package/dist/ui/queued_messages.js.map +1 -1
- package/dist/ui/restricted_execution.js +21 -25
- package/dist/ui/restricted_execution.js.map +1 -1
- package/dist/ui/session_divider.js +4 -3
- package/dist/ui/session_divider.js.map +1 -1
- package/dist/ui/session_summary.js +3 -4
- package/dist/ui/session_summary.js.map +1 -1
- package/dist/ui/slash_autocomplete.js +2 -2
- package/dist/ui/slash_autocomplete.js.map +1 -1
- package/dist/ui/system_message.js +10 -2
- package/dist/ui/system_message.js.map +1 -1
- package/dist/ui/task_execution.js +14 -15
- package/dist/ui/task_execution.js.map +1 -1
- package/dist/ui/theme.js +179 -89
- package/dist/ui/theme.js.map +1 -1
- package/dist/ui/user_message.js +1 -2
- package/dist/ui/user_message.js.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +11 -9
package/README.md
CHANGED
|
@@ -150,22 +150,22 @@ tau will create or update AGENTS.md at your project root, integrating the new in
|
|
|
150
150
|
|
|
151
151
|
tau supports slash commands for common actions:
|
|
152
152
|
|
|
153
|
-
| command
|
|
154
|
-
|
|
|
155
|
-
| `/help`
|
|
156
|
-
| `/new`
|
|
157
|
-
| `/copy`
|
|
158
|
-
| `/copy:code`
|
|
159
|
-
| `/reload`
|
|
160
|
-
| `/
|
|
161
|
-
| `/
|
|
162
|
-
| `/persona:<id>`
|
|
163
|
-
| `/prompt:<id>`
|
|
164
|
-
| `/bash:<id>`
|
|
165
|
-
| `/risk:<level>`
|
|
166
|
-
| `!<cmd>`
|
|
167
|
-
|
|
168
|
-
the
|
|
153
|
+
| command | description |
|
|
154
|
+
| ------------------------- | ---------------------------------------------- |
|
|
155
|
+
| `/help` | show available commands |
|
|
156
|
+
| `/new` | clear the session and start fresh |
|
|
157
|
+
| `/copy` | copy the last assistant message |
|
|
158
|
+
| `/copy:code` | copy just the code blocks |
|
|
159
|
+
| `/reload` | reload personas, prompts, and skills from disk |
|
|
160
|
+
| `/compact:only-summary` | compress history and continue with a summary |
|
|
161
|
+
| `/compact:with-last-turn` | compress history but keep the last exchange |
|
|
162
|
+
| `/persona:<id>` | switch to a different persona |
|
|
163
|
+
| `/prompt:<id>` | insert a saved prompt template |
|
|
164
|
+
| `/bash:<id>` | run a saved shell command |
|
|
165
|
+
| `/risk:<level>` | change the risk level |
|
|
166
|
+
| `!<cmd>` | run a shell command directly |
|
|
167
|
+
|
|
168
|
+
the compact commands are useful when conversations get long. they compress everything into a summary so the model retains context without the overhead of a full history.
|
|
169
169
|
|
|
170
170
|
## keyboard shortcuts
|
|
171
171
|
|
|
@@ -212,7 +212,7 @@ the `userPreferences` field lets you set guidance that applies to every conversa
|
|
|
212
212
|
|
|
213
213
|
### project bash commands
|
|
214
214
|
|
|
215
|
-
define shortcuts for common shell commands in `.tau/config.json` at your project root (or `~/.tau/config.json` globally)
|
|
215
|
+
define shortcuts for common shell commands in `.tau/config.json` at your project root (or `~/.tau/config.json` globally). tau resolves the project root via git, so you can run tau from subdirectories and it will still pick up `.tau/config.json`:
|
|
216
216
|
|
|
217
217
|
```json
|
|
218
218
|
{
|
|
@@ -227,7 +227,7 @@ run them with `/bash:check` or `/bash:test`.
|
|
|
227
227
|
|
|
228
228
|
### custom personas
|
|
229
229
|
|
|
230
|
-
create your own personas by adding markdown files to `~/.config/tau/personas/` (user-level) or `.tau/personas/` (project-level):
|
|
230
|
+
create your own personas by adding markdown files to `~/.config/tau/personas/` (user-level) or `.tau/personas/` (project-level). project-level `.tau/` directories are discovered by walking up from the current working directory to the git repo root:
|
|
231
231
|
|
|
232
232
|
```markdown
|
|
233
233
|
---
|
|
@@ -260,7 +260,7 @@ use it with `--persona my-assistant` or `/persona:my-assistant`. if a project pe
|
|
|
260
260
|
|
|
261
261
|
### custom prompts
|
|
262
262
|
|
|
263
|
-
save reusable prompt templates in `~/.config/tau/prompts/` (user-level) or `.tau/prompts/` (project-level):
|
|
263
|
+
save reusable prompt templates in `~/.config/tau/prompts/` (user-level) or `.tau/prompts/` (project-level). project-level `.tau/` directories are discovered by walking up from the current working directory to the git repo root:
|
|
264
264
|
|
|
265
265
|
```markdown
|
|
266
266
|
---
|
|
@@ -275,7 +275,7 @@ insert them with `/prompt:review`. if a project prompt id conflicts with a user
|
|
|
275
275
|
|
|
276
276
|
### skills
|
|
277
277
|
|
|
278
|
-
skills are optional directories discovered at `$XDG_CONFIG_HOME/tau/skills/` (defaults to `~/.config/tau/skills/`) and `.tau/skills/`. each skill is a directory containing `SKILL.md`. tau follows the [agent skills spec](https://agentskills.io/home).
|
|
278
|
+
skills are optional directories discovered at `$XDG_CONFIG_HOME/tau/skills/` (defaults to `~/.config/tau/skills/`) and `.tau/skills/`. project-level `.tau/` directories are discovered by walking up from the current working directory to the git repo root. each skill is a directory containing `SKILL.md`. tau follows the [agent skills spec](https://agentskills.io/home).
|
|
279
279
|
|
|
280
280
|
`SKILL.md` must start with yaml frontmatter:
|
|
281
281
|
|