@markusylisiurunen/tau 0.3.79 → 0.3.80
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/dist/core/agent/agent_runtime.js +68 -76
- package/dist/core/agent/agent_runtime.js.map +1 -1
- package/dist/core/auth/auth_manager.js +3 -7
- package/dist/core/auth/auth_manager.js.map +1 -1
- package/dist/core/auth/auth_messages.js +1 -1
- package/dist/core/auth/auth_messages.js.map +1 -1
- package/dist/core/auth/auth_storage.js +71 -7
- package/dist/core/auth/auth_storage.js.map +1 -1
- package/dist/core/auth/cli.js +8 -7
- package/dist/core/auth/cli.js.map +1 -1
- package/dist/core/auth/credential_store.js +88 -186
- package/dist/core/auth/credential_store.js.map +1 -1
- package/dist/core/auth/index.js +1 -1
- package/dist/core/auth/index.js.map +1 -1
- package/dist/core/auth/providers/openai_codex.js +51 -229
- package/dist/core/auth/providers/openai_codex.js.map +1 -1
- package/dist/core/cli.js +1 -2
- package/dist/core/cli.js.map +1 -1
- package/dist/core/config/content_loader.js +27 -130
- package/dist/core/config/content_loader.js.map +1 -1
- package/dist/core/config/index.js.map +1 -1
- package/dist/core/config/paths.js +0 -1
- package/dist/core/config/paths.js.map +1 -1
- package/dist/core/config/runtime.js +3 -2
- package/dist/core/config/runtime.js.map +1 -1
- package/dist/core/config/runtime_config_snapshot.js +23 -9
- package/dist/core/config/runtime_config_snapshot.js.map +1 -1
- package/dist/core/config/schema.js +13 -69
- package/dist/core/config/schema.js.map +1 -1
- package/dist/core/config/skills_loader.js +6 -2
- package/dist/core/config/skills_loader.js.map +1 -1
- package/dist/core/debug.js +1 -16
- package/dist/core/debug.js.map +1 -1
- package/dist/core/index.js +2 -2
- package/dist/core/index.js.map +1 -1
- package/dist/core/models/catalog.js +2 -239
- package/dist/core/models/catalog.js.map +1 -1
- package/dist/core/personas.js +0 -14
- package/dist/core/personas.js.map +1 -1
- package/dist/core/runtime/agent_model.js +0 -3
- package/dist/core/runtime/agent_model.js.map +1 -1
- package/dist/core/runtime/chat_runtime.js +16 -13
- package/dist/core/runtime/chat_runtime.js.map +1 -1
- package/dist/core/runtime/runtime_bootstrap.js +12 -59
- package/dist/core/runtime/runtime_bootstrap.js.map +1 -1
- package/dist/core/session/auto_compaction_archive.js +1 -1
- package/dist/core/session/auto_compaction_archive.js.map +1 -1
- package/dist/core/session/compaction.js +79 -506
- package/dist/core/session/compaction.js.map +1 -1
- package/dist/core/static/tau_docs/config-reference.md +12 -37
- package/dist/core/static/tau_docs/configuration.md +3 -16
- package/dist/core/static/tau_docs/credentials.md +20 -50
- package/dist/core/static/tau_docs/index.md +2 -1
- package/dist/core/static/tau_docs/manifest.json +1 -0
- package/dist/core/static/tau_docs/models.md +8 -159
- package/dist/core/static/tau_docs/openrouter.md +165 -0
- package/dist/core/static/tau_docs/ownership-and-scope.md +3 -3
- package/dist/core/static/tau_docs/personas.md +9 -41
- package/dist/core/static/tau_docs/prompts-and-project-context.md +10 -44
- package/dist/core/static/tau_docs/remote-sessions.md +6 -7
- package/dist/core/static/tau_docs/security.md +4 -5
- package/dist/core/static/tau_docs/session-protocol-methods.md +0 -1
- package/dist/core/static/tau_docs/session-protocol.md +11 -9
- package/dist/core/static/tau_docs/sessions.md +8 -6
- package/dist/core/static/tau_docs/skills.md +8 -32
- package/dist/core/static/tau_docs/subagents.md +2 -2
- package/dist/core/static/tau_docs/telegram.md +2 -2
- package/dist/core/static/tau_docs/tools.md +2 -1
- package/dist/core/static/tau_docs/troubleshooting.md +11 -12
- package/dist/core/static/tau_docs/tui.md +4 -2
- package/dist/core/subagents/agent_supervisor.js +0 -1
- package/dist/core/subagents/agent_supervisor.js.map +1 -1
- package/dist/core/telegram/adapter.js +1 -1
- package/dist/core/telegram/adapter.js.map +1 -1
- package/dist/core/tool/cli.js +10 -2
- package/dist/core/tool/cli.js.map +1 -1
- package/dist/core/tool/openrouter.js +291 -0
- package/dist/core/tool/openrouter.js.map +1 -0
- package/dist/core/tool/openrouter_decisions.js +97 -0
- package/dist/core/tool/openrouter_decisions.js.map +1 -0
- package/dist/core/tool/openrouter_media.js +180 -0
- package/dist/core/tool/openrouter_media.js.map +1 -0
- package/dist/core/tools/tau_docs.js +1 -0
- package/dist/core/tools/tau_docs.js.map +1 -1
- package/dist/core/utils/model_stream.js +47 -34
- package/dist/core/utils/model_stream.js.map +1 -1
- package/dist/core/utils/user_metadata.js +2 -27
- package/dist/core/utils/user_metadata.js.map +1 -1
- package/dist/core/version.js +2 -2
- package/dist/core/version.js.map +1 -1
- package/dist/diff_tool/app/dist/assets/{ada-C5qYipkI.js → ada-X3Y2mlq2.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{ahk-CA9gdOdF.js → ahk-DwADkxyd.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{angular-html-CnO8qept.js → angular-html-BbLgbIhq.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{angular-ts-DPXUio9Z.js → angular-ts-DXk17TRM.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{apl-X8YsymsQ.js → apl-BsvksCXR.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{astro-BQ9k8AQ0.js → astro-DH775E4V.js} +1 -1
- package/dist/diff_tool/app/dist/assets/beancount-C2IN4Vk8.js +1 -0
- package/dist/diff_tool/app/dist/assets/{blade-DZ1LYIzB.js → blade-Ck99Rm59.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{c-VLTwNh7z.js → c-DJpHqu5J.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{chapel-5s-sGN8D.js → chapel-Owff0Csy.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{cobol-C9RzwrVu.js → cobol-Cv2gZuhO.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{coffee-BHvjZ343.js → coffee-Bji0YCf_.js} +1 -1
- package/dist/diff_tool/app/dist/assets/coq-CGaSfhwR.js +1 -0
- package/dist/diff_tool/app/dist/assets/{cpp-CBTVXbBp.js → cpp-DTjA_yFF.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{crystal-DQJua4y4.js → crystal-Dd00NOeb.js} +1 -1
- package/dist/diff_tool/app/dist/assets/csharp-dmMxLVLW.js +1 -0
- package/dist/diff_tool/app/dist/assets/css-D44TN1V6.js +1 -0
- package/dist/diff_tool/app/dist/assets/dart-CHZY9Xhz.js +1 -0
- package/dist/diff_tool/app/dist/assets/dotenv-CuH5my32.js +1 -0
- package/dist/diff_tool/app/dist/assets/{edge-BmdmXGH4.js → edge-CVmGSi2m.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{elixir-oiOLs98L.js → elixir-B8Mq7no2.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{elm-BgYuiU4E.js → elm-CXS0I3Z2.js} +1 -1
- package/dist/diff_tool/app/dist/assets/emacs-lisp-DR2vtWaj.js +1 -0
- package/dist/diff_tool/app/dist/assets/{erb-CvFrXpyY.js → erb-B9oDKaUo.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{git-rebase-D3Zo1BLH.js → git-rebase-DT-YFebH.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{glimmer-js-B4-8E3lJ.js → glimmer-js-s0DXlNjq.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{glimmer-ts-CtKkD0t_.js → glimmer-ts-QgEB5S2z.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{glsl-BAqforx_.js → glsl-NA0icwbY.js} +1 -1
- package/dist/diff_tool/app/dist/assets/gn-CAXYAgV-.js +1 -0
- package/dist/diff_tool/app/dist/assets/{graphql-DuE1RMyL.js → graphql-0_dOlfV0.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{hack-CHBcXjz1.js → hack-D-mr7l1l.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{haml-DAs2z3tD.js → haml-B0-oQmz7.js} +1 -1
- package/dist/diff_tool/app/dist/assets/handlebars-Yq9bXpWN.js +1 -0
- package/dist/diff_tool/app/dist/assets/{html-D5co0BLD.js → html-B8bMmdRK.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{html-derivative-BZaWEmAT.js → html-derivative-BpxSlQb_.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{http-Cii5MjJE.js → http-hS_53mxt.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{hurl-Bur-XdJO.js → hurl-B2ST1kwl.js} +1 -1
- package/dist/diff_tool/app/dist/assets/index-CBT_sNIz.js +340 -0
- package/dist/diff_tool/app/dist/assets/{java-DN39wI4w.js → java-D4mj0lZJ.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{javascript-VUReF1H4.js → javascript-wC7rrKiV.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{jinja-BcrfV1JB.js → jinja-DbQ3o87F.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{jison-Bez5Mtmy.js → jison-CrE9FdvP.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{json-ChV8m0Le.js → json-xjicDyWN.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{jsx-D0SXNtM0.js → jsx-m28lXojQ.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{julia-DvhpcBwG.js → julia-19xkOmop.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{just-BGwe8S6x.js → just-Cf7OorTr.js} +1 -1
- package/dist/diff_tool/app/dist/assets/latex-DDb7GQOy.js +1 -0
- package/dist/diff_tool/app/dist/assets/{liquid-UdnqDjKz.js → liquid-DHOuQ0rf.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{lua-CjDHeHEr.js → lua-BGyIvonw.js} +1 -1
- package/dist/diff_tool/app/dist/assets/luau-VGWVLoqX.js +1 -0
- package/dist/diff_tool/app/dist/assets/marko-DB5OqI1C.js +1 -0
- package/dist/diff_tool/app/dist/assets/{mdc-BOLj6Oyq.js → mdc-DTyNMupO.js} +1 -1
- package/dist/diff_tool/app/dist/assets/monokai-BscAjiQZ.js +1 -0
- package/dist/diff_tool/app/dist/assets/moonbit-D9W784E_.js +1 -0
- package/dist/diff_tool/app/dist/assets/nextflow-CSgcYZcx.js +1 -0
- package/dist/diff_tool/app/dist/assets/{nextflow-groovy-DJMQeKeT.js → nextflow-groovy-D7IRt6Pp.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{nginx-5r5xPc2T.js → nginx-DfF0fMYD.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{nim-9exKQYMz.js → nim-BbwsXuZD.js} +1 -1
- package/dist/diff_tool/app/dist/assets/nushell--0fT3PI1.js +1 -0
- package/dist/diff_tool/app/dist/assets/one-dark-pro-C6YyR8OD.js +1 -0
- package/dist/diff_tool/app/dist/assets/{org-B2fpAlbt.js → org-BkOBBl1f.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{perl-DV2fcwyY.js → perl-BTXTOl4K.js} +1 -1
- package/dist/diff_tool/app/dist/assets/php-DIMVQWiA.js +1 -0
- package/dist/diff_tool/app/dist/assets/{powershell-CCSX75yM.js → powershell-QtSnmXcu.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{pug-DuKcQxFj.js → pug-B_nrb4dJ.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{qml-C16b4SYx.js → qml-1PXi8G8Z.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{r-B1ZldnJf.js → r-CJrAkc2Z.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{razor-TYmslaAB.js → razor-DgPUftNd.js} +1 -1
- package/dist/diff_tool/app/dist/assets/red-CYlAq2b0.js +1 -0
- package/dist/diff_tool/app/dist/assets/{regexp-dWCffmDD.js → regexp-C2hS8XvL.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{rst-DEkLr2YR.js → rst-CDouhKnc.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{ruby-BJnJzr4u.js → ruby-CAjKW1uO.js} +1 -1
- package/dist/diff_tool/app/dist/assets/rust-DpiIf5JO.js +1 -0
- package/dist/diff_tool/app/dist/assets/{sas-DeRsDbUE.js → sas-qAHkHLc1.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{scss-SGV_CwKm.js → scss-Bfx2Ydid.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{shellscript-BI7khmmR.js → shellscript-Bu76R8y2.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{shellsession-Nupw_Vvw.js → shellsession-BU8BL0oL.js} +1 -1
- package/dist/diff_tool/app/dist/assets/solarized-dark-b97czJOk.js +1 -0
- package/dist/diff_tool/app/dist/assets/solarized-light-DFPxpIYQ.js +1 -0
- package/dist/diff_tool/app/dist/assets/{soy-B96cBzxv.js → soy-FRl8ozP-.js} +1 -1
- package/dist/diff_tool/app/dist/assets/sql-BacQgsEs.js +1 -0
- package/dist/diff_tool/app/dist/assets/{stata-Dnq48cE6.js → stata-B9kkG-ET.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{surrealql-D6lw4TiD.js → surrealql-qvETr7iY.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{svelte-ChVoq9tB.js → svelte-B0z1MgHc.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{templ-Dh1EXuHD.js → templ-DTnPshKb.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{tex-KTYusNFe.js → tex-Cosab9_H.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{ts-tags-DC2RU1_R.js → ts-tags-DNYvLFUH.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{tsx-DtIM39Jy.js → tsx-Dstq6j1a.js} +1 -1
- package/dist/diff_tool/app/dist/assets/twig-BzqZdwaX.js +1 -0
- package/dist/diff_tool/app/dist/assets/{typescript-BGAE5iuw.js → typescript-YOQ_oE25.js} +1 -1
- package/dist/diff_tool/app/dist/assets/typespec-BGhR2SqG.js +1 -0
- package/dist/diff_tool/app/dist/assets/{typst-nWoGZ22y.js → typst-DTffwfpc.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{vue-iyHf-l4z.js → vue-D4OMj_C5.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{vue-html-prNdIjLu.js → vue-html-kT4WrHGK.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{vue-vine-KSSlnVeg.js → vue-vine-CxeapeMO.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{xml-DdCC83Xd.js → xml-DWVpuurg.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{xsl-DSqZxsez.js → xsl-C0ciup5a.js} +1 -1
- package/dist/diff_tool/app/dist/assets/{yaml-CZcBUWvf.js → yaml-98Fvyfpc.js} +1 -1
- package/dist/diff_tool/app/dist/index.html +1 -1
- package/dist/execution/execution_environment.js.map +1 -1
- package/dist/execution/fly_sprite_execution_environment.js +5 -10
- package/dist/execution/fly_sprite_execution_environment.js.map +1 -1
- package/dist/execution/tool_backend_execution_environment.js +0 -2
- package/dist/execution/tool_backend_execution_environment.js.map +1 -1
- package/dist/host/execution_runtime.js +5 -4
- package/dist/host/execution_runtime.js.map +1 -1
- package/dist/host/hosted_ephemeral_agent_session.js +0 -2
- package/dist/host/hosted_ephemeral_agent_session.js.map +1 -1
- package/dist/host/local_session_host.js +15 -31
- package/dist/host/local_session_host.js.map +1 -1
- package/dist/main.js +14 -29
- package/dist/main.js.map +1 -1
- package/dist/protocol/session_protocol.d.ts +3 -6
- package/dist/protocol/session_protocol.js +3 -6
- package/dist/protocol/session_protocol.js.map +1 -1
- package/dist/sdk/local_client.js +3 -3
- package/dist/sdk/local_client.js.map +1 -1
- package/dist/store/session_snapshot_migrations.js +28 -1
- package/dist/store/session_snapshot_migrations.js.map +1 -1
- package/dist/tui/session_chat_app.js +2 -4
- package/dist/tui/session_chat_app.js.map +1 -1
- package/dist/tui/session_chat_controller.js +10 -1
- package/dist/tui/session_chat_controller.js.map +1 -1
- package/package.json +8 -8
- package/dist/diff_tool/app/dist/assets/beancount-D-usSTwE.js +0 -1
- package/dist/diff_tool/app/dist/assets/coq-DuBRPxYg.js +0 -1
- package/dist/diff_tool/app/dist/assets/csharp-oqKa8noW.js +0 -1
- package/dist/diff_tool/app/dist/assets/css-BQflXFb6.js +0 -1
- package/dist/diff_tool/app/dist/assets/dart-CnvKMtbv.js +0 -1
- package/dist/diff_tool/app/dist/assets/dotenv-_5a1GRtc.js +0 -1
- package/dist/diff_tool/app/dist/assets/emacs-lisp-c_oH4hRZ.js +0 -1
- package/dist/diff_tool/app/dist/assets/gn-ilITqXS6.js +0 -1
- package/dist/diff_tool/app/dist/assets/handlebars-CfAla6QK.js +0 -1
- package/dist/diff_tool/app/dist/assets/index-CZUi_I-p.js +0 -340
- package/dist/diff_tool/app/dist/assets/latex-pWSag83P.js +0 -1
- package/dist/diff_tool/app/dist/assets/luau-C2pBCSgt.js +0 -1
- package/dist/diff_tool/app/dist/assets/marko-yLX6iW68.js +0 -1
- package/dist/diff_tool/app/dist/assets/monokai-B_bV9PQ9.js +0 -1
- package/dist/diff_tool/app/dist/assets/moonbit-DgjMoLWr.js +0 -1
- package/dist/diff_tool/app/dist/assets/nextflow-BJtWHP5T.js +0 -1
- package/dist/diff_tool/app/dist/assets/nushell-DHYfO66s.js +0 -1
- package/dist/diff_tool/app/dist/assets/one-dark-pro-CLwyXe_n.js +0 -1
- package/dist/diff_tool/app/dist/assets/php-D-AthX_E.js +0 -1
- package/dist/diff_tool/app/dist/assets/red-DX1BQOs8.js +0 -1
- package/dist/diff_tool/app/dist/assets/rust-Cfkwpbl8.js +0 -1
- package/dist/diff_tool/app/dist/assets/solarized-dark-UdsmMDCL.js +0 -1
- package/dist/diff_tool/app/dist/assets/solarized-light-C1IUL_tW.js +0 -1
- package/dist/diff_tool/app/dist/assets/sql-CsIdKfaO.js +0 -1
- package/dist/diff_tool/app/dist/assets/twig-C6D_TA3n.js +0 -1
- package/dist/diff_tool/app/dist/assets/typespec-BRdr0IET.js +0 -1
|
@@ -103,19 +103,21 @@ A goal survives client detach and host restart because its objective and status
|
|
|
103
103
|
|
|
104
104
|
## Compact model context
|
|
105
105
|
|
|
106
|
-
Compaction replaces
|
|
106
|
+
Compaction replaces model-visible conversation context with a checkpoint so the same session can continue within the model’s context window. It changes active model context, not the independent searchable transcript.
|
|
107
|
+
|
|
108
|
+
The working model creates the checkpoint from its native conversation context, including the base instructions, previous checkpoint, and reasoning state supported by its provider. The checkpoint covers the whole active context and does not depend on knowing which recent messages will remain. It is an isolated maintenance request with no tool execution, not a submitted user turn. Reasoning continuity depends on the provider; the checkpoint records useful conclusions and rationale rather than reproducing internal thinking.
|
|
107
109
|
|
|
108
110
|
### Automatic compaction
|
|
109
111
|
|
|
110
|
-
Automatic compaction runs before a model subturn when fresh provider usage plus newly added estimated context exceeds the
|
|
112
|
+
Automatic compaction runs before a model subturn when fresh provider usage plus newly added estimated context exceeds the threshold. The threshold is the model context window minus a fixed reserve of 16,384 tokens. Checkpoint generation inherits the normal model stream settings without a compaction-specific output limit. Requests whose input cannot fit fail rather than falling back to a flattened transcript. Compaction can run more than once during a long logical turn.
|
|
111
113
|
|
|
112
|
-
The summary
|
|
114
|
+
The compaction summary describes the conversation, completed work, findings, and remaining work without copying large user messages or tool output verbatim. It can identify details to revisit in the transcript archive and explain why they matter. Tau retains a contiguous recent suffix within a budget of 20,000 estimated tokens, capped by the compaction threshold. Cuts can occur within a user turn, but messages are kept whole and an assistant tool-call message stays together with all its results. Retained messages, including tool-recovery messages, are not truncated. Tau does not skip an oversized exchange to fill unused budget with earlier messages. If the latest exchange cannot fit, only the checkpoint remains. Tau records the compaction as a new active context segment.
|
|
113
115
|
|
|
114
|
-
Before replacing context, Tau makes a best-effort archive in the execution environment’s temporary directory. Each automatic compaction adds a numbered `.txt` and `.json` pair under a directory isolated by agent id. The text file supports bounded search and truncates large tool results; the JSON file retains the archived content without those tool-result truncations, excluding assistant thinking. A private `README.md` in the same directory describes the formats and adaptable lookup examples. The continuation message includes all three exact paths when archiving succeeds.
|
|
116
|
+
Before replacing context, Tau makes a best-effort transcript archive in the execution environment’s temporary directory. Each automatic compaction adds a numbered `.txt` and `.json` pair under a directory isolated by agent id. The text file supports bounded search and truncates large tool results; the JSON file retains the archived content without those tool-result truncations, excluding assistant thinking. A private `README.md` in the same directory describes the formats and adaptable lookup examples. The continuation message includes all three exact paths when archiving succeeds.
|
|
115
117
|
|
|
116
118
|
These files recover details removed from the current session’s model context. The `history` tool instead queries a separate host-owned transcript collection, which may be remotely replicated, stale, truncated, or unavailable, and its transcript entry ids do not identify archive records. The continuation message identifies the execution-environment archive as the recovery source for compacted context.
|
|
117
119
|
|
|
118
|
-
The continuation
|
|
120
|
+
The continuation includes the complete archive guide directly, so the agent does not need a separate file read before resuming. The guide also remains available on disk. Its retrieval guidance favors bounded access by known entry id or distinctive evidence, with a concise chronological overview as an optional discovery step. Earlier numbered pairs can contain details that predate the current compaction. Tau does not generate or require a fixed overview projection.
|
|
119
121
|
|
|
120
122
|
These archives are temporary recovery aids, not backups. Archive failure does not block compaction, and execution-environment cleanup may remove them.
|
|
121
123
|
|
|
@@ -149,7 +151,7 @@ Compaction and rewind differ in an important way: compaction preserves the flat
|
|
|
149
151
|
|
|
150
152
|
## Reload session content
|
|
151
153
|
|
|
152
|
-
Run `/reload` from the TUI while the session is idle. The host rereads runtime configuration and
|
|
154
|
+
Run `/reload` from the TUI while the session is idle. The host rereads runtime configuration and personas, prompts, skills, and AGENTS.md context from the execution environment cwd. It keeps the current persona if that id still exists and otherwise selects the first available persona. Reload warnings appear in the transcript.
|
|
153
155
|
|
|
154
156
|
Reload updates future turns. It does not rewrite committed conversation content or change the execution environment. It also does not reload client-owned themes, diff launchers, speech settings, or client tools. Restart the attaching TUI for those. Effective configured model `apiKeys` update through `/reload`, while managed Codex auth storage is read again on later credential resolutions. Restart the host for changed process environment variables, listener settings, resolver targets, or the Tau binary. [Credentials](credentials.md) has the canonical distinctions, and [remote sessions](remote-sessions.md) identifies each owner.
|
|
155
157
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Skills
|
|
2
2
|
|
|
3
|
-
Skills are local packages of instructions and supporting material that teach an agent how to handle a particular kind of work. Tau discovers them from the execution environment, shows
|
|
3
|
+
Skills are local packages of instructions and supporting material that teach an agent how to handle a particular kind of work. Tau discovers them from the execution environment, shows all discovered skills to every persona, and lets the agent open a skill only when the task calls for it.
|
|
4
4
|
|
|
5
|
-
A skill is not a prompt template, a persona, or project context. A [prompt template](prompts-and-project-context.md) is text placed in the input editor. A [persona](personas.md) chooses the model, system prompt,
|
|
5
|
+
A skill is not a prompt template, a persona, or project context. A [prompt template](prompts-and-project-context.md) is text placed in the input editor. A [persona](personas.md) chooses the model, system prompt, and tools for a session. `AGENTS.md` gives standing instructions for a directory tree. A skill is a reusable, selectively activated workflow with its own directory.
|
|
6
6
|
|
|
7
7
|
## Where Tau discovers skills
|
|
8
8
|
|
|
@@ -20,7 +20,7 @@ Skills are keyed by name. Precedence runs from broadest to most specific:
|
|
|
20
20
|
1. Global skills are the base layer.
|
|
21
21
|
2. Parent project levels override global and more distant parent levels.
|
|
22
22
|
3. The nearest project level wins.
|
|
23
|
-
4. At the same level, `.
|
|
23
|
+
4. At the same level, `.tau/skills/` overrides `.agents/skills/`.
|
|
24
24
|
|
|
25
25
|
For example, with a session in `~/code/atlas/apps/api`, these definitions of `release-check` resolve to the last one listed:
|
|
26
26
|
|
|
@@ -30,7 +30,7 @@ For example, with a session in `~/code/atlas/apps/api`, these definitions of `re
|
|
|
30
30
|
~/code/atlas/apps/.agents/skills/release-check/SKILL.md
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
`~/.
|
|
33
|
+
`~/.config/tau/skills/` also overrides `~/.agents/skills/` for a same-named global skill.
|
|
34
34
|
|
|
35
35
|
All discovery happens in the execution environment. A remote host does not inspect the attached client's filesystem for skills.
|
|
36
36
|
|
|
@@ -83,33 +83,9 @@ Unknown frontmatter fields are discarded. `allowed-tools` does not enable, disab
|
|
|
83
83
|
|
|
84
84
|
Keep the description useful without copying the full workflow into it. Tau initially exposes the name, description, and `SKILL.md` path. The agent opens the file after activation, then reads only the referenced resources needed for the task.
|
|
85
85
|
|
|
86
|
-
##
|
|
86
|
+
## Skill availability
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
```yaml
|
|
91
|
-
skills: "*"
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
`"*"` selects every discovered skill. This is the default for built-in personas and for a custom persona that does not inherit another persona and omits `skills`.
|
|
95
|
-
|
|
96
|
-
A list selects an explicit subset:
|
|
97
|
-
|
|
98
|
-
```yaml
|
|
99
|
-
skills:
|
|
100
|
-
- release-check
|
|
101
|
-
- incident-summary
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
An empty list disables skills for that persona:
|
|
105
|
-
|
|
106
|
-
```yaml
|
|
107
|
-
skills: []
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
When a persona extends another persona and omits `skills`, it inherits the base persona's selection. Selection names are matched case-insensitively to discovered skill names, although valid skill names themselves are lowercase. An unknown selected name produces a warning when Tau builds or reloads the session context; Tau keeps the known skills.
|
|
111
|
-
|
|
112
|
-
Selecting a skill does not run it on every turn. It makes the skill discoverable to the agent and subject to activation policy.
|
|
88
|
+
Every persona exposes all discovered skills. Discovery does not run a skill on every turn; it makes the skill available to the agent under its activation policy.
|
|
113
89
|
|
|
114
90
|
## Activation and trigger sensitivity
|
|
115
91
|
|
|
@@ -141,9 +117,9 @@ A running TUI session keeps its current content catalog and prompt context until
|
|
|
141
117
|
/reload
|
|
142
118
|
```
|
|
143
119
|
|
|
144
|
-
Reloading re-discovers skills
|
|
120
|
+
Reloading re-discovers skills and rebuilds the effective skill index. Tau refuses to reload while a session turn is running. If the active persona disappeared, reload selects the first available persona; if no personas remain, reload fails.
|
|
145
121
|
|
|
146
|
-
For a new local TUI session, `tau --debug` prints the discovered skills and the effective system prompt without starting the TUI. Combine it with `--persona` to inspect
|
|
122
|
+
For a new local TUI session, `tau --debug` prints the discovered skills and the effective system prompt without starting the TUI. Combine it with `--persona` to inspect its effective prompt:
|
|
147
123
|
|
|
148
124
|
```bash
|
|
149
125
|
tau --debug --persona release-coder
|
|
@@ -72,9 +72,9 @@ This list is layered configuration. The nearest defined `launchModels` array rep
|
|
|
72
72
|
|
|
73
73
|
`spawn_agent` normally runs the child in the main session's `cwd`. Its optional `workingDirectory` may be absolute or relative to that `cwd`; Tau resolves it to an absolute execution-environment path.
|
|
74
74
|
|
|
75
|
-
When the resolved path differs from the parent `cwd`, Tau rebuilds prompt context from that target directory. It discovers the target platform and repository metadata, reads applicable `AGENTS.md
|
|
75
|
+
When the resolved path differs from the parent `cwd`, Tau rebuilds prompt context from that target directory. It discovers the target platform and repository metadata, reads applicable `AGENTS.md`, and discovers all target skills.
|
|
76
76
|
|
|
77
|
-
The target directory does **not** select a different persona, model catalog, runtime configuration, credential source, or tool policy for the child. Those remain under parent-session authority. Target configuration is consulted only where needed to rebuild target prompt context, such as
|
|
77
|
+
The target directory does **not** select a different persona, model catalog, runtime configuration, credential source, or tool policy for the child. Those remain under parent-session authority. Target configuration is consulted only where needed to rebuild target prompt context, such as skill discovery.
|
|
78
78
|
|
|
79
79
|
This distinction matters in monorepos and hosted environments. `workingDirectory` is an execution-environment path. The host and attached client must not reinterpret it against their own filesystems.
|
|
80
80
|
|
|
@@ -189,7 +189,7 @@ Members live at `<composite-root>/<member-project-id>` and use each repository's
|
|
|
189
189
|
|
|
190
190
|
`subagents.launchModels` sets the subagent launch override allowlist. Runtime config resolves and enforces entries. See [subagents](subagents.md) for model syntax and inheritance.
|
|
191
191
|
|
|
192
|
-
The composite owns the parent persona, subagents, model catalog, config, settings, and tools. Child `.tau/config.json` files are not merged. A subagent in a member directory rebuilds only target context: environment and repository metadata, applicable `AGENTS.md
|
|
192
|
+
The composite owns the parent persona, subagents, model catalog, config, settings, and tools. Child `.tau/config.json` files are not merged. A subagent in a member directory rebuilds only target context: environment and repository metadata, applicable `AGENTS.md`, and all discovered skills.
|
|
193
193
|
|
|
194
194
|
Composite preparation is all-or-nothing. If one member cannot be prepared, Tau removes the generated composite workspace. Composite workspaces and member repository caches use the top-level `workspaceRoot`.
|
|
195
195
|
|
|
@@ -213,7 +213,7 @@ New and reconstructed workspaces run their hooks; preserved workspaces and persi
|
|
|
213
213
|
|
|
214
214
|
## Normal Tau configuration inside workspaces
|
|
215
215
|
|
|
216
|
-
After preparation, Tau creates an ordinary local session at the workspace `cwd`. Runtime discovery reads normal `~/.config/tau` and ancestor `.tau` content visible from that path:
|
|
216
|
+
After preparation, Tau creates an ordinary local session at the workspace `cwd`. Runtime discovery reads normal `~/.config/tau` and ancestor `.tau` content visible from that path: personas, prompts, skills, project context, host tools, and other session settings work as they do in the TUI.
|
|
217
217
|
|
|
218
218
|
A project `persona` overrides the normal default for that session. Sessions include applicable `AGENTS.md` instructions. Composite root context is generated deliberately and uses its required persona.
|
|
219
219
|
|
|
@@ -48,7 +48,7 @@ list_agents
|
|
|
48
48
|
interrupt_agent
|
|
49
49
|
```
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
A custom persona that omits `tools` enables `bash`, `write`, `edit`, `view_image`, `web`, `nook`, `history`, and `mcp`. It also enables the five subagent-management tools. Built-in personas enable the same base and subagent tool sets.
|
|
52
52
|
|
|
53
53
|
An empty list disables every persona-controlled host tool:
|
|
54
54
|
|
|
@@ -143,6 +143,7 @@ The supported formats are JPEG, PNG, and WebP. Source reads are capped at 50 MiB
|
|
|
143
143
|
| `tau tool pdf-unpack` | Extract OCR Markdown and page-image patches from a PDF using Mistral. | [PDF unpacking](pdf-unpacking.md) |
|
|
144
144
|
| `tau tool image-generate` | Generate or edit an image using Google or OpenAI. | [Image generation](image-generation.md) |
|
|
145
145
|
| `tau tool speech-generate` | Generate narration or dialogue using ElevenLabs and assemble a WAV. | [Speech generation](speech-generation.md) |
|
|
146
|
+
| `tau tool openrouter` | Typed decisions and standalone text/media analysis. | [OpenRouter](openrouter.md) |
|
|
146
147
|
|
|
147
148
|
Each guide covers setup, input, examples, outputs, and failure behavior. Use `tau tool --help` to list commands or `tau tool <command> --help` for command-specific help. The same guides are packaged for `tau_docs` and linked from its `index.md`.
|
|
148
149
|
|
|
@@ -71,7 +71,7 @@ Use `tau --debug` from the intended directory for a new local startup. For a liv
|
|
|
71
71
|
|
|
72
72
|
`/reload` is a TUI command backed by the current session. It is unavailable in a plain shell and is refused while a turn or conflicting session operation is active. Wait for the turn to settle or interrupt it deliberately, then run the command again.
|
|
73
73
|
|
|
74
|
-
Reload updates runtime configuration,
|
|
74
|
+
Reload updates runtime configuration, personas, prompts, skills, `AGENTS.md` context, and the host-tool registry for future turns. It does not:
|
|
75
75
|
|
|
76
76
|
- alter the execution environment's kind, identity, `cwd`, or home;
|
|
77
77
|
- rebuild an attached client's themes, diff launcher, speech configuration, or advertised tools;
|
|
@@ -90,7 +90,7 @@ Session resources come from the execution environment; themes come from the TUI
|
|
|
90
90
|
|
|
91
91
|
### Persona
|
|
92
92
|
|
|
93
|
-
For a new local session, run `tau --debug --persona <exact-id>`. The Markdown filename must match `id`; `provider
|
|
93
|
+
For a new local session, run `tau --debug --persona <exact-id>`. The Markdown filename must match `id`; `provider`, `model`, and a non-empty prompt body are required. Startup IDs are exact and case-sensitive. If built-ins are disabled, at least one custom persona must remain. See [personas](personas.md).
|
|
94
94
|
|
|
95
95
|
### Prompt
|
|
96
96
|
|
|
@@ -98,13 +98,13 @@ Run `/reload` after changing prompt metadata. Bodies load lazily, so an invocati
|
|
|
98
98
|
|
|
99
99
|
### Skill
|
|
100
100
|
|
|
101
|
-
Use `/help` to inspect loaded skills. A skill needs uppercase `SKILL.md`, valid frontmatter, a lowercase-dash name, and a matching directory name. `.
|
|
101
|
+
Use `/help` to inspect loaded skills. A skill needs uppercase `SKILL.md`, valid frontmatter, a lowercase-dash name, and a matching directory name. `.tau/skills` wins over `.agents/skills` at one level; nearer levels win overall.
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
Every persona exposes all discovered skills; the trigger determines when the agent opens a skill. `allowed-tools` is currently ignored. See [skills](skills.md).
|
|
104
104
|
|
|
105
105
|
### Model
|
|
106
106
|
|
|
107
|
-
Providers must be known and model IDs are exact and case-sensitive. Check warnings for
|
|
107
|
+
Providers must be known and model IDs are exact and case-sensitive. Check warnings for unknown provider/model references. `tau --debug --persona <id>` shows local resolution; a small request proves endpoint, account, and credential access. Refresh the remote catalog and reload while idle. See [models](models.md).
|
|
108
108
|
|
|
109
109
|
### Theme
|
|
110
110
|
|
|
@@ -155,9 +155,9 @@ Find the process making the request:
|
|
|
155
155
|
| `tau nook`, `tau history`, or PDF unpack | Invoking CLI |
|
|
156
156
|
| Fly Sprite resolution | Host startup |
|
|
157
157
|
|
|
158
|
-
A laptop variable does not update a remote host. Environment changes require an owner restart.
|
|
158
|
+
A laptop variable does not update a remote host. Environment changes require an owner restart. Global `apiKeys` belong to the owning process and require its restart.
|
|
159
159
|
|
|
160
|
-
Never print the secret, environment, or whole configuration. Privately confirm the expected source, read the missing-credential message, and make one small request. See [credentials](credentials.md).
|
|
160
|
+
Never print the secret, environment, or whole configuration. Privately confirm the expected source, read the missing-credential message, and make one small request. See [credentials](credentials.md). Project `apiKeys` are rejected; inspect the owning process's environment and private global configuration.
|
|
161
161
|
|
|
162
162
|
## A Codex account cannot be selected
|
|
163
163
|
|
|
@@ -167,20 +167,19 @@ Run this on the session host, not an attached client:
|
|
|
167
167
|
tau auth list
|
|
168
168
|
```
|
|
169
169
|
|
|
170
|
-
The output shows stored account identities,
|
|
170
|
+
The output shows stored account identities, active selection, credential refresh health, and informational usage windows without showing tokens.
|
|
171
171
|
|
|
172
172
|
Use the supported commands for the condition shown:
|
|
173
173
|
|
|
174
174
|
```sh
|
|
175
175
|
tau auth login codex
|
|
176
|
-
tau auth
|
|
177
|
-
tau auth disable codex --account developer@example.com
|
|
176
|
+
tau auth use codex --account developer@example.com
|
|
178
177
|
tau auth logout codex --account developer@example.com
|
|
179
178
|
```
|
|
180
179
|
|
|
181
|
-
Re-login when credentials are expired or refresh failed.
|
|
180
|
+
Re-login when credentials are expired or refresh failed. Select an account explicitly with `auth use`. Logging out the active account leaves none active; Tau never switches based on usage or provider failure. Selection applies to later requests across sessions without changing requests already in flight.
|
|
182
181
|
|
|
183
|
-
|
|
182
|
+
Do not edit `~/.config/tau/auth.json`; the auth commands coordinate updates and preserve permissions.
|
|
184
183
|
|
|
185
184
|
## Bash prints unexpected text, prompts, or reports no TTY
|
|
186
185
|
|
|
@@ -17,7 +17,7 @@ Tau creates a local execution environment rooted at that directory. A startup pe
|
|
|
17
17
|
tau --persona gpt-6.1-sol-coder:high
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
`-p` is the short form. `--no-agent-context-files` omits `AGENTS.md` and
|
|
20
|
+
`-p` is the short form. `--no-agent-context-files` omits `AGENTS.md` injection and the descendant context-file scan, and `--no-client-tools` prevents the TUI from advertising its built-in and configured [client tools](client-tools.md).
|
|
21
21
|
|
|
22
22
|
Piped stdin becomes the first message in a local TUI session:
|
|
23
23
|
|
|
@@ -27,6 +27,8 @@ printf 'summarize the current changes' | tau
|
|
|
27
27
|
|
|
28
28
|
Use `tau attach` for a session hosted elsewhere. The terminal, themes, clipboard, speech commands, built-in diff review tool, and command-backed client tools still belong to the attaching machine. Bash tools, file access, project configuration, and model work use the session’s execution environment. See [remote sessions](remote-sessions.md) for transport and creation examples.
|
|
29
29
|
|
|
30
|
+
The startup summary lists discovered skills, project context files, configured client tools, and enabled MCP server names. MCP servers are labeled configured, not connected: connections open lazily on first use. In attached sessions, the MCP list comes from the session host. Empty sections are omitted.
|
|
31
|
+
|
|
30
32
|
## Work in the editor
|
|
31
33
|
|
|
32
34
|
Enter submits the editor. Shift+Enter or Ctrl+J inserts a newline. Up and Down move through the editor and recall prior submissions when the editor is empty.
|
|
@@ -194,7 +196,7 @@ Speech transcription uses Gemini and requires `GEMINI_API_KEY` or `apiKeys.googl
|
|
|
194
196
|
|
|
195
197
|
## Reload the right component
|
|
196
198
|
|
|
197
|
-
Run `/reload` while idle after changing session-owned configuration,
|
|
199
|
+
Run `/reload` while idle after changing session-owned configuration, personas, prompts, skills, or AGENTS.md content in the execution environment. The host resolves them again from the session cwd, keeps the current persona when it still exists, and otherwise selects the first available persona. Warnings are shown in the transcript.
|
|
198
200
|
|
|
199
201
|
Restart the TUI instead after changing client-owned themes, the diff launcher, speech settings, or configured client tools. Effective model `apiKeys` in session configuration can update through `/reload`, and managed Codex auth storage is read again on later credential resolutions. Restart the host after changing its binary, process environment variables, WebSocket listener, or hosted execution-environment resolver configuration. [Credentials](credentials.md) has the canonical apply boundaries, and [remote sessions](remote-sessions.md) explains the component split.
|
|
200
202
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent_supervisor.js","sourceRoot":"","sources":["../../../src/core/subagents/agent_supervisor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,YAAY,EAAwB,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAKhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAiB,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAErF,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAIlD,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,GAEf,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAC;AAWjE,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAgC/B,KAAK,UAAU,aAAa,CAAI,OAAmB,EAAE,MAAoB;IACvE,IAAI,CAAC,MAAM;QAAE,OAAO,MAAM,OAAO,CAAC;IAClC,MAAM,CAAC,cAAc,EAAE,CAAC;IACxB,OAAO,MAAM,IAAI,OAAO,CAAI,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC9C,MAAM,OAAO,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC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Impl {
|
|
|
1662
1662
|
const start = page * 20;
|
|
1663
1663
|
const keyboard = picker.prompts.slice(start, start + 20).map((prompt, index) => [
|
|
1664
1664
|
{
|
|
1665
|
-
text: prompt.label
|
|
1665
|
+
text: prompt.label,
|
|
1666
1666
|
callback_data: `prompt:${picker.token}:select:${start + index}`,
|
|
1667
1667
|
},
|
|
1668
1668
|
]);
|