@markusylisiurunen/tau 0.2.0-alpha.7 → 0.2.0
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 +7 -2
- package/dist/core/auth/index.js +0 -1
- package/dist/core/auth/index.js.map +1 -1
- package/dist/core/config/builtin_themes.js +648 -0
- package/dist/core/config/builtin_themes.js.map +1 -0
- package/dist/core/config/runtime.js +1 -1
- package/dist/core/config/runtime.js.map +1 -1
- package/dist/core/config/schema.js +11 -0
- package/dist/core/config/schema.js.map +1 -1
- package/dist/core/config/virtual_bundle.js +3 -1
- package/dist/core/config/virtual_bundle.js.map +1 -1
- package/dist/core/config/virtual_defaults.js +1 -0
- package/dist/core/config/virtual_defaults.js.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/utils/model_stream.js +3 -10
- package/dist/core/utils/model_stream.js.map +1 -1
- package/dist/core/version.js +1 -1
- package/dist/core/version.js.map +1 -1
- package/dist/tui/ui/bash_execution.js +4 -1
- package/dist/tui/ui/bash_execution.js.map +1 -1
- package/dist/tui/ui/restricted_execution.js +2 -1
- package/dist/tui/ui/restricted_execution.js.map +1 -1
- package/dist/tui/ui/task_execution.js +2 -1
- package/dist/tui/ui/task_execution.js.map +1 -1
- package/dist/tui/ui/tool_output.js +1 -0
- package/dist/tui/ui/tool_output.js.map +1 -1
- package/dist/tui/ui/tool_ui_registry.js +2 -1
- package/dist/tui/ui/tool_ui_registry.js.map +1 -1
- package/package.json +4 -3
- package/dist/core/auth/codex_prompt.js +0 -13
- package/dist/core/auth/codex_prompt.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# tau
|
|
2
2
|
|
|
3
|
-
a terminal-based AI chat client for working with code. tau gives you access to Claude, GPT, and Gemini models, each equipped with tools to explore, write, and edit files in your project, plus optional sub-agents for deeper codebase investigation and web research.
|
|
3
|
+
a terminal-based AI chat client for working with code. tau gives you access to Claude, GPT, and Gemini models, each equipped with tools to explore, read, write, and edit files in your project, plus optional sub-agents for deeper codebase investigation and web research.
|
|
4
4
|
|
|
5
5
|

|
|
6
6
|
|
|
@@ -102,6 +102,8 @@ tau can load custom palette overrides from theme files. create a theme at:
|
|
|
102
102
|
then set `"defaultTheme": "<id>"` in config. any palette token not defined in the file renders as plain text.
|
|
103
103
|
theme values accept `#rgb`, `#rrggbb`, `rgb(r, g, b)`, or `hsl(h, s%, l%)`. hex without `#` is ignored.
|
|
104
104
|
|
|
105
|
+
built-in themes are available by default with ids: `crimson`, `ember`, `gold`, `lime`, `grass`, `emerald`, `jade`, `teal`, `cyan`, `azure`, `cobalt`, `violet`, `purple`, `magenta`, `rose`. set `defaultTheme` to one of these ids, or disable them with `disableBuiltinThemes`.
|
|
106
|
+
|
|
105
107
|
available palette tokens (theme keys):
|
|
106
108
|
|
|
107
109
|
- core: `brandAccent`, `textMuted`, `textDim`, `linkText`, `thinkingText`, `codeInlineText`, `codeBlockText`
|
|
@@ -311,6 +313,7 @@ settings merge from least-specific to most-specific.
|
|
|
311
313
|
"defaultRisk": "read-write",
|
|
312
314
|
"disableBuiltinPersonas": false,
|
|
313
315
|
"disableBuiltinPrompts": false,
|
|
316
|
+
"disableBuiltinThemes": false,
|
|
314
317
|
"defaultTheme": "solarized"
|
|
315
318
|
}
|
|
316
319
|
```
|
|
@@ -319,7 +322,9 @@ the `defaultPersona` field specifies which persona to use when starting the app.
|
|
|
319
322
|
|
|
320
323
|
the `defaultRisk` field sets the initial risk level (`read-only` or `read-write`). the `--risk` flag overrides this setting. if not specified, defaults to `read-only`.
|
|
321
324
|
|
|
322
|
-
|
|
325
|
+
the `defaultTheme` field sets the theme id to load at startup. if not specified, it defaults to `gold`.
|
|
326
|
+
|
|
327
|
+
if `disableBuiltinPersonas` is set to `true`, tau will not load built-in personas. if `disableBuiltinPrompts` is set to `true`, tau will not load built-in prompts. if `disableBuiltinThemes` is set to `true`, tau will not load built-in themes. only entries from `~/.config/tau/` and `.tau/` will be available for those categories. you can also set these flags in any `.tau/config.json`; the most specific value wins.
|
|
323
328
|
|
|
324
329
|
the `sandbox` field configures docker sandboxing. `sandbox.image` is required when you start tau with `--sandbox`. `sandbox.mountPath` defaults to `/workspace`. `sandbox.pruneAfterHours` controls when old containers are auto-pruned (default `72`). `sandbox.extraDockerArgs` lets you pass additional `docker run` flags. `sandbox.environmentInfo` (optional) is injected into the system prompt to describe the container environment to the model.
|
|
325
330
|
|
package/dist/core/auth/index.js
CHANGED
|
@@ -3,6 +3,5 @@ export { formatCodexAuthError } from "./auth_messages.js";
|
|
|
3
3
|
export { getAuthPath } from "./auth_paths.js";
|
|
4
4
|
export { AuthStorage } from "./auth_storage.js";
|
|
5
5
|
export { runListCommand, runLoginCommand, runLogoutCommand, SUPPORTED_OAUTH_PROVIDERS, } from "./cli.js";
|
|
6
|
-
export { ensureCodexSystemPrompt } from "./codex_prompt.js";
|
|
7
6
|
export { createCredentialResolver } from "./credential_resolver.js";
|
|
8
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,yBAAyB,GAC1B,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,yBAAyB,GAC1B,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC"}
|