tau-coding-agent 0.1.0__tar.gz

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 (314) hide show
  1. tau_coding_agent-0.1.0/LICENSE +21 -0
  2. tau_coding_agent-0.1.0/MANIFEST.in +4 -0
  3. tau_coding_agent-0.1.0/PKG-INFO +177 -0
  4. tau_coding_agent-0.1.0/README.md +148 -0
  5. tau_coding_agent-0.1.0/docs/IMPLEMENTATION_SUMMARY.md +163 -0
  6. tau_coding_agent-0.1.0/docs/architecture.md +321 -0
  7. tau_coding_agent-0.1.0/docs/auth.md +152 -0
  8. tau_coding_agent-0.1.0/docs/cli-reference.md +371 -0
  9. tau_coding_agent-0.1.0/docs/development.md +302 -0
  10. tau_coding_agent-0.1.0/docs/docs.json +110 -0
  11. tau_coding_agent-0.1.0/docs/extension-settings.md +348 -0
  12. tau_coding_agent-0.1.0/docs/extensions.md +1382 -0
  13. tau_coding_agent-0.1.0/docs/http-proxy.md +381 -0
  14. tau_coding_agent-0.1.0/docs/index.md +66 -0
  15. tau_coding_agent-0.1.0/docs/inference-providers.md +235 -0
  16. tau_coding_agent-0.1.0/docs/installation.md +191 -0
  17. tau_coding_agent-0.1.0/docs/keybindings.md +130 -0
  18. tau_coding_agent-0.1.0/docs/messages.md +178 -0
  19. tau_coding_agent-0.1.0/docs/project-context.md +256 -0
  20. tau_coding_agent-0.1.0/docs/project-structure.md +415 -0
  21. tau_coding_agent-0.1.0/docs/prompts.md +175 -0
  22. tau_coding_agent-0.1.0/docs/python-api.md +266 -0
  23. tau_coding_agent-0.1.0/docs/quickstart.md +141 -0
  24. tau_coding_agent-0.1.0/docs/sessions.md +314 -0
  25. tau_coding_agent-0.1.0/docs/settings.md +484 -0
  26. tau_coding_agent-0.1.0/docs/skills.md +162 -0
  27. tau_coding_agent-0.1.0/docs/themes.md +212 -0
  28. tau_coding_agent-0.1.0/docs/tools.md +133 -0
  29. tau_coding_agent-0.1.0/docs/usage.md +209 -0
  30. tau_coding_agent-0.1.0/pyproject.toml +55 -0
  31. tau_coding_agent-0.1.0/setup.cfg +4 -0
  32. tau_coding_agent-0.1.0/tau/__init__.py +0 -0
  33. tau_coding_agent-0.1.0/tau/agent/__init__.py +11 -0
  34. tau_coding_agent-0.1.0/tau/agent/prompt/__init__.py +10 -0
  35. tau_coding_agent-0.1.0/tau/agent/prompt/builder.py +302 -0
  36. tau_coding_agent-0.1.0/tau/agent/prompt/types.py +33 -0
  37. tau_coding_agent-0.1.0/tau/agent/service.py +369 -0
  38. tau_coding_agent-0.1.0/tau/agent/types.py +61 -0
  39. tau_coding_agent-0.1.0/tau/auth/manager.py +247 -0
  40. tau_coding_agent-0.1.0/tau/auth/storage.py +82 -0
  41. tau_coding_agent-0.1.0/tau/auth/types.py +41 -0
  42. tau_coding_agent-0.1.0/tau/builtins/__init__.py +4 -0
  43. tau_coding_agent-0.1.0/tau/builtins/__pycache__/__init__.cpython-313.pyc +0 -0
  44. tau_coding_agent-0.1.0/tau/builtins/__pycache__/__init__.cpython-314.pyc +0 -0
  45. tau_coding_agent-0.1.0/tau/builtins/commands/__init__.py +41 -0
  46. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/__init__.cpython-313.pyc +0 -0
  47. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/__init__.cpython-314.pyc +0 -0
  48. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/clear.cpython-313.pyc +0 -0
  49. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/clear.cpython-314.pyc +0 -0
  50. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/compact.cpython-313.pyc +0 -0
  51. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/compact.cpython-314.pyc +0 -0
  52. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/reload.cpython-313.pyc +0 -0
  53. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/reload.cpython-314.pyc +0 -0
  54. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/session.cpython-313.pyc +0 -0
  55. tau_coding_agent-0.1.0/tau/builtins/commands/__pycache__/session.cpython-314.pyc +0 -0
  56. tau_coding_agent-0.1.0/tau/builtins/commands/clear.py +16 -0
  57. tau_coding_agent-0.1.0/tau/builtins/commands/compact.py +28 -0
  58. tau_coding_agent-0.1.0/tau/builtins/commands/reload.py +27 -0
  59. tau_coding_agent-0.1.0/tau/builtins/commands/session.py +19 -0
  60. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/__init__.py +76 -0
  61. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/__pycache__/__init__.cpython-313.pyc +0 -0
  62. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/__pycache__/git.cpython-313.pyc +0 -0
  63. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/__pycache__/model.cpython-313.pyc +0 -0
  64. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/__pycache__/utils.cpython-313.pyc +0 -0
  65. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/git.py +26 -0
  66. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/model.py +69 -0
  67. tau_coding_agent-0.1.0/tau/builtins/extensions/footer/utils.py +44 -0
  68. tau_coding_agent-0.1.0/tau/builtins/extensions/header/__init__.py +18 -0
  69. tau_coding_agent-0.1.0/tau/builtins/extensions/header/__pycache__/__init__.cpython-313.pyc +0 -0
  70. tau_coding_agent-0.1.0/tau/builtins/models/__init__.py +0 -0
  71. tau_coding_agent-0.1.0/tau/builtins/models/__pycache__/__init__.cpython-313.pyc +0 -0
  72. tau_coding_agent-0.1.0/tau/builtins/models/__pycache__/text.cpython-313.pyc +0 -0
  73. tau_coding_agent-0.1.0/tau/builtins/models/audio.py +43 -0
  74. tau_coding_agent-0.1.0/tau/builtins/models/image.py +43 -0
  75. tau_coding_agent-0.1.0/tau/builtins/models/text.py +482 -0
  76. tau_coding_agent-0.1.0/tau/builtins/models/video.py +40 -0
  77. tau_coding_agent-0.1.0/tau/builtins/prompts/commit.md +7 -0
  78. tau_coding_agent-0.1.0/tau/builtins/prompts/docs.md +7 -0
  79. tau_coding_agent-0.1.0/tau/builtins/prompts/explain.md +7 -0
  80. tau_coding_agent-0.1.0/tau/builtins/prompts/fix.md +7 -0
  81. tau_coding_agent-0.1.0/tau/builtins/prompts/refactor.md +7 -0
  82. tau_coding_agent-0.1.0/tau/builtins/prompts/review.md +7 -0
  83. tau_coding_agent-0.1.0/tau/builtins/prompts/test.md +7 -0
  84. tau_coding_agent-0.1.0/tau/builtins/providers/__init__.py +0 -0
  85. tau_coding_agent-0.1.0/tau/builtins/providers/__pycache__/__init__.cpython-313.pyc +0 -0
  86. tau_coding_agent-0.1.0/tau/builtins/providers/__pycache__/text.cpython-313.pyc +0 -0
  87. tau_coding_agent-0.1.0/tau/builtins/providers/audio.py +10 -0
  88. tau_coding_agent-0.1.0/tau/builtins/providers/image.py +9 -0
  89. tau_coding_agent-0.1.0/tau/builtins/providers/text.py +33 -0
  90. tau_coding_agent-0.1.0/tau/builtins/providers/video.py +6 -0
  91. tau_coding_agent-0.1.0/tau/builtins/skills/code-review/SKILL.md +4 -0
  92. tau_coding_agent-0.1.0/tau/builtins/skills/debug/SKILL.md +4 -0
  93. tau_coding_agent-0.1.0/tau/builtins/skills/git-commit/SKILL.md +4 -0
  94. tau_coding_agent-0.1.0/tau/builtins/themes/dark.yaml +1 -0
  95. tau_coding_agent-0.1.0/tau/builtins/themes/light.yaml +46 -0
  96. tau_coding_agent-0.1.0/tau/builtins/tools/__init__.py +73 -0
  97. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/__init__.cpython-313.pyc +0 -0
  98. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/__init__.cpython-314.pyc +0 -0
  99. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/bash.cpython-313.pyc +0 -0
  100. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/bash.cpython-314.pyc +0 -0
  101. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/edit.cpython-313.pyc +0 -0
  102. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/edit.cpython-314.pyc +0 -0
  103. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/glob.cpython-313.pyc +0 -0
  104. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/glob.cpython-314.pyc +0 -0
  105. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/grep.cpython-313.pyc +0 -0
  106. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/grep.cpython-314.pyc +0 -0
  107. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/ls.cpython-313.pyc +0 -0
  108. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/ls.cpython-314.pyc +0 -0
  109. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/read.cpython-313.pyc +0 -0
  110. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/read.cpython-314.pyc +0 -0
  111. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/terminal.cpython-313.pyc +0 -0
  112. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/terminal.cpython-314.pyc +0 -0
  113. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/write.cpython-313.pyc +0 -0
  114. tau_coding_agent-0.1.0/tau/builtins/tools/__pycache__/write.cpython-314.pyc +0 -0
  115. tau_coding_agent-0.1.0/tau/builtins/tools/edit.py +215 -0
  116. tau_coding_agent-0.1.0/tau/builtins/tools/glob.py +112 -0
  117. tau_coding_agent-0.1.0/tau/builtins/tools/grep.py +146 -0
  118. tau_coding_agent-0.1.0/tau/builtins/tools/ls.py +135 -0
  119. tau_coding_agent-0.1.0/tau/builtins/tools/read.py +122 -0
  120. tau_coding_agent-0.1.0/tau/builtins/tools/terminal.py +150 -0
  121. tau_coding_agent-0.1.0/tau/builtins/tools/write.py +105 -0
  122. tau_coding_agent-0.1.0/tau/commands/__init__.py +10 -0
  123. tau_coding_agent-0.1.0/tau/commands/registry.py +71 -0
  124. tau_coding_agent-0.1.0/tau/commands/types.py +33 -0
  125. tau_coding_agent-0.1.0/tau/console/__init__.py +0 -0
  126. tau_coding_agent-0.1.0/tau/console/cli.py +266 -0
  127. tau_coding_agent-0.1.0/tau/console/commands/__init__.py +0 -0
  128. tau_coding_agent-0.1.0/tau/console/commands/auth.py +193 -0
  129. tau_coding_agent-0.1.0/tau/console/commands/packages.py +104 -0
  130. tau_coding_agent-0.1.0/tau/console/commands/update.py +76 -0
  131. tau_coding_agent-0.1.0/tau/core/__init__.py +0 -0
  132. tau_coding_agent-0.1.0/tau/core/registry.py +102 -0
  133. tau_coding_agent-0.1.0/tau/engine/__init__.py +47 -0
  134. tau_coding_agent-0.1.0/tau/engine/service.py +768 -0
  135. tau_coding_agent-0.1.0/tau/engine/types.py +163 -0
  136. tau_coding_agent-0.1.0/tau/extensions/__init__.py +28 -0
  137. tau_coding_agent-0.1.0/tau/extensions/api.py +928 -0
  138. tau_coding_agent-0.1.0/tau/extensions/context.py +462 -0
  139. tau_coding_agent-0.1.0/tau/extensions/events.py +70 -0
  140. tau_coding_agent-0.1.0/tau/extensions/loader.py +386 -0
  141. tau_coding_agent-0.1.0/tau/extensions/runtime.py +184 -0
  142. tau_coding_agent-0.1.0/tau/extensions/settings.py +137 -0
  143. tau_coding_agent-0.1.0/tau/hooks/__init__.py +112 -0
  144. tau_coding_agent-0.1.0/tau/hooks/engine.py +237 -0
  145. tau_coding_agent-0.1.0/tau/hooks/inference.py +21 -0
  146. tau_coding_agent-0.1.0/tau/hooks/runtime.py +126 -0
  147. tau_coding_agent-0.1.0/tau/hooks/service.py +121 -0
  148. tau_coding_agent-0.1.0/tau/hooks/session.py +117 -0
  149. tau_coding_agent-0.1.0/tau/hooks/tui.py +61 -0
  150. tau_coding_agent-0.1.0/tau/hooks/types.py +72 -0
  151. tau_coding_agent-0.1.0/tau/inference/__init__.py +180 -0
  152. tau_coding_agent-0.1.0/tau/inference/api/__init__.py +0 -0
  153. tau_coding_agent-0.1.0/tau/inference/api/audio/__init__.py +0 -0
  154. tau_coding_agent-0.1.0/tau/inference/api/audio/base.py +29 -0
  155. tau_coding_agent-0.1.0/tau/inference/api/audio/builtins.py +15 -0
  156. tau_coding_agent-0.1.0/tau/inference/api/audio/elevenlabs_audio.py +183 -0
  157. tau_coding_agent-0.1.0/tau/inference/api/audio/gemini_audio.py +95 -0
  158. tau_coding_agent-0.1.0/tau/inference/api/audio/openai_audio.py +159 -0
  159. tau_coding_agent-0.1.0/tau/inference/api/audio/registry.py +15 -0
  160. tau_coding_agent-0.1.0/tau/inference/api/audio/sarvam_audio.py +163 -0
  161. tau_coding_agent-0.1.0/tau/inference/api/audio/service.py +103 -0
  162. tau_coding_agent-0.1.0/tau/inference/api/audio/utils.py +47 -0
  163. tau_coding_agent-0.1.0/tau/inference/api/image/__init__.py +0 -0
  164. tau_coding_agent-0.1.0/tau/inference/api/image/base.py +17 -0
  165. tau_coding_agent-0.1.0/tau/inference/api/image/builtins.py +8 -0
  166. tau_coding_agent-0.1.0/tau/inference/api/image/gemini_image.py +77 -0
  167. tau_coding_agent-0.1.0/tau/inference/api/image/openai_image.py +103 -0
  168. tau_coding_agent-0.1.0/tau/inference/api/image/openrouter.py +144 -0
  169. tau_coding_agent-0.1.0/tau/inference/api/image/registry.py +15 -0
  170. tau_coding_agent-0.1.0/tau/inference/api/image/service.py +71 -0
  171. tau_coding_agent-0.1.0/tau/inference/api/registry.py +82 -0
  172. tau_coding_agent-0.1.0/tau/inference/api/text/__init__.py +0 -0
  173. tau_coding_agent-0.1.0/tau/inference/api/text/anthropic_claude_code.py +222 -0
  174. tau_coding_agent-0.1.0/tau/inference/api/text/anthropic_messages.py +196 -0
  175. tau_coding_agent-0.1.0/tau/inference/api/text/base.py +40 -0
  176. tau_coding_agent-0.1.0/tau/inference/api/text/builtins.py +19 -0
  177. tau_coding_agent-0.1.0/tau/inference/api/text/gemini_generate.py +234 -0
  178. tau_coding_agent-0.1.0/tau/inference/api/text/github_copilot_chat.py +172 -0
  179. tau_coding_agent-0.1.0/tau/inference/api/text/google_antigravity.py +522 -0
  180. tau_coding_agent-0.1.0/tau/inference/api/text/mistral_chat.py +284 -0
  181. tau_coding_agent-0.1.0/tau/inference/api/text/ollama_chat.py +200 -0
  182. tau_coding_agent-0.1.0/tau/inference/api/text/openai_codex_responses.py +497 -0
  183. tau_coding_agent-0.1.0/tau/inference/api/text/openai_completions.py +227 -0
  184. tau_coding_agent-0.1.0/tau/inference/api/text/openai_responses.py +235 -0
  185. tau_coding_agent-0.1.0/tau/inference/api/text/registry.py +50 -0
  186. tau_coding_agent-0.1.0/tau/inference/api/text/service.py +297 -0
  187. tau_coding_agent-0.1.0/tau/inference/api/text/types.py +7 -0
  188. tau_coding_agent-0.1.0/tau/inference/api/text/utils.py +228 -0
  189. tau_coding_agent-0.1.0/tau/inference/api/video/__init__.py +0 -0
  190. tau_coding_agent-0.1.0/tau/inference/api/video/base.py +26 -0
  191. tau_coding_agent-0.1.0/tau/inference/api/video/builtins.py +7 -0
  192. tau_coding_agent-0.1.0/tau/inference/api/video/fal_video.py +119 -0
  193. tau_coding_agent-0.1.0/tau/inference/api/video/openrouter_video.py +142 -0
  194. tau_coding_agent-0.1.0/tau/inference/api/video/registry.py +15 -0
  195. tau_coding_agent-0.1.0/tau/inference/api/video/service.py +72 -0
  196. tau_coding_agent-0.1.0/tau/inference/model/__init__.py +0 -0
  197. tau_coding_agent-0.1.0/tau/inference/model/registry.py +102 -0
  198. tau_coding_agent-0.1.0/tau/inference/model/types.py +65 -0
  199. tau_coding_agent-0.1.0/tau/inference/provider/__init__.py +0 -0
  200. tau_coding_agent-0.1.0/tau/inference/provider/oauth/__init__.py +35 -0
  201. tau_coding_agent-0.1.0/tau/inference/provider/oauth/anthropic_claude_code.py +286 -0
  202. tau_coding_agent-0.1.0/tau/inference/provider/oauth/github_copilot.py +333 -0
  203. tau_coding_agent-0.1.0/tau/inference/provider/oauth/google_antigravity.py +258 -0
  204. tau_coding_agent-0.1.0/tau/inference/provider/oauth/openai_codex.py +309 -0
  205. tau_coding_agent-0.1.0/tau/inference/provider/oauth/pkce.py +14 -0
  206. tau_coding_agent-0.1.0/tau/inference/provider/oauth/types.py +46 -0
  207. tau_coding_agent-0.1.0/tau/inference/provider/oauth/utils.py +154 -0
  208. tau_coding_agent-0.1.0/tau/inference/provider/registry.py +141 -0
  209. tau_coding_agent-0.1.0/tau/inference/provider/types.py +114 -0
  210. tau_coding_agent-0.1.0/tau/inference/types.py +549 -0
  211. tau_coding_agent-0.1.0/tau/inference/utils.py +219 -0
  212. tau_coding_agent-0.1.0/tau/message/__init__.py +0 -0
  213. tau_coding_agent-0.1.0/tau/message/types.py +482 -0
  214. tau_coding_agent-0.1.0/tau/message/utils.py +178 -0
  215. tau_coding_agent-0.1.0/tau/packages/__init__.py +11 -0
  216. tau_coding_agent-0.1.0/tau/packages/manager.py +190 -0
  217. tau_coding_agent-0.1.0/tau/packages/types.py +20 -0
  218. tau_coding_agent-0.1.0/tau/packages/utils.py +67 -0
  219. tau_coding_agent-0.1.0/tau/prompts/expand.py +58 -0
  220. tau_coding_agent-0.1.0/tau/prompts/loader.py +69 -0
  221. tau_coding_agent-0.1.0/tau/prompts/registry.py +45 -0
  222. tau_coding_agent-0.1.0/tau/prompts/types.py +24 -0
  223. tau_coding_agent-0.1.0/tau/rpc/__init__.py +8 -0
  224. tau_coding_agent-0.1.0/tau/rpc/mode.py +783 -0
  225. tau_coding_agent-0.1.0/tau/rpc/types.py +252 -0
  226. tau_coding_agent-0.1.0/tau/runtime/service.py +759 -0
  227. tau_coding_agent-0.1.0/tau/runtime/types.py +303 -0
  228. tau_coding_agent-0.1.0/tau/session/branch_summarization.py +312 -0
  229. tau_coding_agent-0.1.0/tau/session/compaction.py +646 -0
  230. tau_coding_agent-0.1.0/tau/session/manager.py +652 -0
  231. tau_coding_agent-0.1.0/tau/session/types.py +188 -0
  232. tau_coding_agent-0.1.0/tau/session/utils.py +233 -0
  233. tau_coding_agent-0.1.0/tau/settings/manager.py +1077 -0
  234. tau_coding_agent-0.1.0/tau/settings/paths.py +150 -0
  235. tau_coding_agent-0.1.0/tau/settings/storage.py +63 -0
  236. tau_coding_agent-0.1.0/tau/settings/types.py +173 -0
  237. tau_coding_agent-0.1.0/tau/settings/utils.py +25 -0
  238. tau_coding_agent-0.1.0/tau/skills/loader.py +91 -0
  239. tau_coding_agent-0.1.0/tau/skills/registry.py +70 -0
  240. tau_coding_agent-0.1.0/tau/skills/types.py +25 -0
  241. tau_coding_agent-0.1.0/tau/themes/loader.py +238 -0
  242. tau_coding_agent-0.1.0/tau/themes/registry.py +108 -0
  243. tau_coding_agent-0.1.0/tau/themes/types.py +19 -0
  244. tau_coding_agent-0.1.0/tau/tool/__init__.py +3 -0
  245. tau_coding_agent-0.1.0/tau/tool/registry.py +117 -0
  246. tau_coding_agent-0.1.0/tau/tool/render.py +21 -0
  247. tau_coding_agent-0.1.0/tau/tool/types.py +244 -0
  248. tau_coding_agent-0.1.0/tau/trust/__init__.py +13 -0
  249. tau_coding_agent-0.1.0/tau/trust/manager.py +80 -0
  250. tau_coding_agent-0.1.0/tau/trust/types.py +14 -0
  251. tau_coding_agent-0.1.0/tau/trust/utils.py +72 -0
  252. tau_coding_agent-0.1.0/tau/tui/__init__.py +54 -0
  253. tau_coding_agent-0.1.0/tau/tui/agent_hooks.py +346 -0
  254. tau_coding_agent-0.1.0/tau/tui/ansi.py +330 -0
  255. tau_coding_agent-0.1.0/tau/tui/app.py +540 -0
  256. tau_coding_agent-0.1.0/tau/tui/autocomplete.py +33 -0
  257. tau_coding_agent-0.1.0/tau/tui/capabilities.py +119 -0
  258. tau_coding_agent-0.1.0/tau/tui/commands/__init__.py +3 -0
  259. tau_coding_agent-0.1.0/tau/tui/commands/appearance.py +498 -0
  260. tau_coding_agent-0.1.0/tau/tui/commands/auth.py +232 -0
  261. tau_coding_agent-0.1.0/tau/tui/commands/context.py +38 -0
  262. tau_coding_agent-0.1.0/tau/tui/commands/misc.py +82 -0
  263. tau_coding_agent-0.1.0/tau/tui/commands/model.py +118 -0
  264. tau_coding_agent-0.1.0/tau/tui/commands/session.py +464 -0
  265. tau_coding_agent-0.1.0/tau/tui/component.py +268 -0
  266. tau_coding_agent-0.1.0/tau/tui/components/__init__.py +0 -0
  267. tau_coding_agent-0.1.0/tau/tui/components/autocomplete_manager.py +267 -0
  268. tau_coding_agent-0.1.0/tau/tui/components/autocomplete_picker.py +143 -0
  269. tau_coding_agent-0.1.0/tau/tui/components/box.py +90 -0
  270. tau_coding_agent-0.1.0/tau/tui/components/command_palette.py +144 -0
  271. tau_coding_agent-0.1.0/tau/tui/components/dynamic_border.py +19 -0
  272. tau_coding_agent-0.1.0/tau/tui/components/file_picker.py +233 -0
  273. tau_coding_agent-0.1.0/tau/tui/components/image.py +181 -0
  274. tau_coding_agent-0.1.0/tau/tui/components/inline_selector.py +71 -0
  275. tau_coding_agent-0.1.0/tau/tui/components/layout.py +1194 -0
  276. tau_coding_agent-0.1.0/tau/tui/components/message_list.py +692 -0
  277. tau_coding_agent-0.1.0/tau/tui/components/modal.py +97 -0
  278. tau_coding_agent-0.1.0/tau/tui/components/model_palette.py +204 -0
  279. tau_coding_agent-0.1.0/tau/tui/components/picker_overlay.py +174 -0
  280. tau_coding_agent-0.1.0/tau/tui/components/prompt_overlay.py +236 -0
  281. tau_coding_agent-0.1.0/tau/tui/components/resume_modal.py +372 -0
  282. tau_coding_agent-0.1.0/tau/tui/components/select_list.py +222 -0
  283. tau_coding_agent-0.1.0/tau/tui/components/settings_modal.py +274 -0
  284. tau_coding_agent-0.1.0/tau/tui/components/settings_schema.py +203 -0
  285. tau_coding_agent-0.1.0/tau/tui/components/spinner.py +119 -0
  286. tau_coding_agent-0.1.0/tau/tui/components/text_input.py +396 -0
  287. tau_coding_agent-0.1.0/tau/tui/components/text_prompt.py +82 -0
  288. tau_coding_agent-0.1.0/tau/tui/components/tree_select_list.py +580 -0
  289. tau_coding_agent-0.1.0/tau/tui/components/trust_screen.py +97 -0
  290. tau_coding_agent-0.1.0/tau/tui/diff.py +114 -0
  291. tau_coding_agent-0.1.0/tau/tui/fuzzy.py +99 -0
  292. tau_coding_agent-0.1.0/tau/tui/input.py +496 -0
  293. tau_coding_agent-0.1.0/tau/tui/input_handler.py +716 -0
  294. tau_coding_agent-0.1.0/tau/tui/keybindings.py +87 -0
  295. tau_coding_agent-0.1.0/tau/tui/markdown.py +286 -0
  296. tau_coding_agent-0.1.0/tau/tui/message_renderers.py +31 -0
  297. tau_coding_agent-0.1.0/tau/tui/overlay.py +326 -0
  298. tau_coding_agent-0.1.0/tau/tui/renderer.py +378 -0
  299. tau_coding_agent-0.1.0/tau/tui/terminal.py +499 -0
  300. tau_coding_agent-0.1.0/tau/tui/theme.py +148 -0
  301. tau_coding_agent-0.1.0/tau/tui/tui.py +544 -0
  302. tau_coding_agent-0.1.0/tau/tui/ui_context.py +768 -0
  303. tau_coding_agent-0.1.0/tau/tui/utils.py +20 -0
  304. tau_coding_agent-0.1.0/tau/utils/__init__.py +0 -0
  305. tau_coding_agent-0.1.0/tau/utils/http_proxy.py +221 -0
  306. tau_coding_agent-0.1.0/tau/utils/image_processing.py +172 -0
  307. tau_coding_agent-0.1.0/tau/utils/secrets.py +59 -0
  308. tau_coding_agent-0.1.0/tau/utils/version_check.py +60 -0
  309. tau_coding_agent-0.1.0/tau_coding_agent.egg-info/PKG-INFO +177 -0
  310. tau_coding_agent-0.1.0/tau_coding_agent.egg-info/SOURCES.txt +312 -0
  311. tau_coding_agent-0.1.0/tau_coding_agent.egg-info/dependency_links.txt +1 -0
  312. tau_coding_agent-0.1.0/tau_coding_agent.egg-info/entry_points.txt +2 -0
  313. tau_coding_agent-0.1.0/tau_coding_agent.egg-info/requires.txt +20 -0
  314. tau_coding_agent-0.1.0/tau_coding_agent.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jeomon George
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,4 @@
1
+ recursive-include tau/builtins *
2
+ recursive-include docs *
3
+ include README.md
4
+ include LICENSE
@@ -0,0 +1,177 @@
1
+ Metadata-Version: 2.4
2
+ Name: tau-coding-agent
3
+ Version: 0.1.0
4
+ Summary: Interactive agent CLI with terminal UI for multi-provider LLM support
5
+ Requires-Python: ==3.13.*
6
+ Description-Content-Type: text/markdown
7
+ License-File: LICENSE
8
+ Requires-Dist: anthropic==0.109.1
9
+ Requires-Dist: certifi==2026.5.20
10
+ Requires-Dist: click==8.4.1
11
+ Requires-Dist: filelock==3.29.3
12
+ Requires-Dist: google-genai==2.8.0
13
+ Requires-Dist: httpx==0.28.1
14
+ Requires-Dist: mistralai==2.4.9
15
+ Requires-Dist: ollama==0.6.2
16
+ Requires-Dist: openai==2.41.1
17
+ Requires-Dist: packaging==26.2
18
+ Requires-Dist: pillow==12.2.0
19
+ Requires-Dist: pydantic==2.13.4
20
+ Requires-Dist: python-dotenv==1.2.2
21
+ Requires-Dist: uuid7==0.1.0
22
+ Requires-Dist: websockets==16.0
23
+ Requires-Dist: mistletoe==1.5.1
24
+ Requires-Dist: pyyaml==6.0.2
25
+ Requires-Dist: pygments==2.20.0
26
+ Requires-Dist: pathspec==1.1.1
27
+ Requires-Dist: gitpython==3.1.50
28
+ Dynamic: license-file
29
+
30
+ # Tau
31
+
32
+ Inspired by [Pi](https://pi.dev), Tau brings the same agent framework capabilities to Python developers. A self-extensible agent CLI with a terminal UI, multi-provider LLM support, session management with branching, and a plugin system for tools, commands, and customization.
33
+
34
+ ---
35
+
36
+ ## Quick Start
37
+
38
+ ### Installation
39
+
40
+ ```bash
41
+ pip install tau-coding-agent
42
+ ```
43
+
44
+ Or install from source:
45
+
46
+ ```bash
47
+ git clone https://github.com/Jeomon/Tau.git
48
+ cd Tau
49
+ pip install -e .
50
+ ```
51
+
52
+ ### Launch
53
+
54
+ ```bash
55
+ tau
56
+ ```
57
+
58
+ Authenticate with your LLM provider using `/login` or set environment variables (e.g., `ANTHROPIC_API_KEY`).
59
+
60
+ ### Common Commands
61
+
62
+ ```bash
63
+ tau # Interactive mode
64
+ tau --resume # Resume most recent session
65
+ tau --model claude-sonnet-4-6 # Use specific model
66
+ tau --print "Summarize this repo" # One-shot mode
67
+ tau -p anthropic --print "Explain this code" # Print mode with provider
68
+ tau --mode rpc # RPC mode for IDE extensions
69
+ ```
70
+
71
+ > For detailed options, see [CLI Reference](docs/cli-reference.md)
72
+
73
+ ## Features
74
+
75
+ - **Multi-provider LLM support** — Anthropic Claude, OpenAI GPT, Google Gemini, Mistral AI, Ollama, Azure OpenAI
76
+ - **Terminal UI** — Built-in chat interface with syntax highlighting, markdown rendering, and keyboard navigation
77
+ - **Rich media support** — Work with text files, images, audio files, and video files via file references or clipboard input
78
+ - **Session management** — Persistent sessions with branching, forking, and resuming capabilities
79
+ - **Tool execution** — Built-in tools (terminal, file I/O, web fetch) with sandboxed execution and extensibility
80
+ - **Plugin system** — Add custom tools, slash commands, hooks, themes, and skills without modifying core code
81
+ - **16 built-in themes** — Dark and light themes including dracula, nord, gruvbox, catppuccin, ayu-dark, tokyo-night, rose-pine, and more
82
+ - **Context management** — Automatic context compaction and branch summarization for long conversations
83
+ - **Python API** — Embed Tau in your own applications programmatically
84
+ - **Multiple run modes** — Interactive TUI, print mode (one-shot), JSON event stream, and JSON-RPC for IDE integration
85
+
86
+ ## Documentation
87
+
88
+ Start here: [**Tau Documentation**](docs/index.md)
89
+
90
+ **Key resources:**
91
+ - [Quickstart](docs/quickstart.md) — Five-minute getting started guide
92
+ - [Installation & Setup](docs/installation.md) — Provider authentication and configuration
93
+ - [Usage Guide](docs/usage.md) — Interactive mode and slash commands
94
+ - [Architecture](docs/architecture.md) — System design and data flow
95
+ - [Extensions](docs/extensions.md) — Building tools, commands, and plugins
96
+ - [Python API](docs/python-api.md) — Programmatic usage
97
+
98
+ ## Core Architecture
99
+
100
+ ```
101
+ Console (CLI) → TUI (Terminal UI) → Runtime (Agent Execution) → Engine (Tools) → Inference (LLM)
102
+ ```
103
+
104
+ User input flows through the TUI to the runtime, which executes tools via the engine and calls the LLM provider for inference. Results are rendered back in the TUI and persisted to sessions.
105
+
106
+ ## Configuration
107
+
108
+ Settings are loaded in order of precedence:
109
+ 1. Built-in defaults
110
+ 2. `~/.tau/settings.json` (global user settings)
111
+ 3. `.tau/settings.json` (project-level settings)
112
+ 4. Environment variables
113
+ 5. Command-line flags
114
+
115
+ Sessions are saved to `~/.tau/sessions/` and can be resumed, forked, or cloned.
116
+
117
+ ### Project Context Files
118
+
119
+ Tau automatically discovers and includes project-specific instructions from `AGENTS.md` or `CLAUDE.md` in the system prompt. This allows you to:
120
+ - Define project rules and coding guidelines for the agent
121
+ - Standardize how the agent handles project-specific conventions
122
+ - Store project context separately from tool configuration
123
+
124
+ **Example usage:**
125
+ ```bash
126
+ # Auto-discover AGENTS.md in the project (default behavior)
127
+ tau
128
+
129
+ # Disable project context file loading
130
+ tau --no-context-files
131
+
132
+ # Trust project files explicitly
133
+ tau --approve
134
+
135
+ # Don't trust project files for this run
136
+ tau --no-approve
137
+ ```
138
+
139
+ See [Project Context Files](docs/project-context.md) for detailed instructions.
140
+
141
+ ## Security & Permissions
142
+
143
+ Tau executes tools (terminal, file I/O, web operations) with the permissions of the user and process that launched it. There is no built-in permission system for restricting filesystem, process, network, or credential access.
144
+
145
+ If you need stronger boundaries, consider:
146
+ - Running Tau inside a container or sandbox
147
+ - Using OS-level security policies
148
+ - Configuring environment variables to limit tool access
149
+
150
+ ## Supply Chain Security
151
+
152
+ We treat dependency changes as reviewed code changes with these practices:
153
+
154
+ - **Exact version pinning** — All direct dependencies pinned to specific versions in `pyproject.toml`
155
+ - **Lockfile integrity** — `uv.lock` is the source of truth; changes require explicit review
156
+ - **Dependency auditing** — Use `pip-audit` or `safety` to scan for known vulnerabilities
157
+ - **Safe installation** — Install with `--no-deps` to prevent malicious lifecycle scripts
158
+
159
+ See [SECURITY.md](SECURITY.md) for detailed practices and vulnerability reporting.
160
+
161
+ ## Development
162
+
163
+ ```bash
164
+ python -m pytest # Run tests
165
+ pyright tau/ # Type checking
166
+ python -m tau --mode tui # Launch from source
167
+ ```
168
+
169
+ See [Development Setup](docs/development.md) for detailed instructions.
170
+
171
+ ## Contributing
172
+
173
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines and [AGENTS.md](AGENTS.md) for project-specific rules.
174
+
175
+ ## License
176
+
177
+ This project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,148 @@
1
+ # Tau
2
+
3
+ Inspired by [Pi](https://pi.dev), Tau brings the same agent framework capabilities to Python developers. A self-extensible agent CLI with a terminal UI, multi-provider LLM support, session management with branching, and a plugin system for tools, commands, and customization.
4
+
5
+ ---
6
+
7
+ ## Quick Start
8
+
9
+ ### Installation
10
+
11
+ ```bash
12
+ pip install tau-coding-agent
13
+ ```
14
+
15
+ Or install from source:
16
+
17
+ ```bash
18
+ git clone https://github.com/Jeomon/Tau.git
19
+ cd Tau
20
+ pip install -e .
21
+ ```
22
+
23
+ ### Launch
24
+
25
+ ```bash
26
+ tau
27
+ ```
28
+
29
+ Authenticate with your LLM provider using `/login` or set environment variables (e.g., `ANTHROPIC_API_KEY`).
30
+
31
+ ### Common Commands
32
+
33
+ ```bash
34
+ tau # Interactive mode
35
+ tau --resume # Resume most recent session
36
+ tau --model claude-sonnet-4-6 # Use specific model
37
+ tau --print "Summarize this repo" # One-shot mode
38
+ tau -p anthropic --print "Explain this code" # Print mode with provider
39
+ tau --mode rpc # RPC mode for IDE extensions
40
+ ```
41
+
42
+ > For detailed options, see [CLI Reference](docs/cli-reference.md)
43
+
44
+ ## Features
45
+
46
+ - **Multi-provider LLM support** — Anthropic Claude, OpenAI GPT, Google Gemini, Mistral AI, Ollama, Azure OpenAI
47
+ - **Terminal UI** — Built-in chat interface with syntax highlighting, markdown rendering, and keyboard navigation
48
+ - **Rich media support** — Work with text files, images, audio files, and video files via file references or clipboard input
49
+ - **Session management** — Persistent sessions with branching, forking, and resuming capabilities
50
+ - **Tool execution** — Built-in tools (terminal, file I/O, web fetch) with sandboxed execution and extensibility
51
+ - **Plugin system** — Add custom tools, slash commands, hooks, themes, and skills without modifying core code
52
+ - **16 built-in themes** — Dark and light themes including dracula, nord, gruvbox, catppuccin, ayu-dark, tokyo-night, rose-pine, and more
53
+ - **Context management** — Automatic context compaction and branch summarization for long conversations
54
+ - **Python API** — Embed Tau in your own applications programmatically
55
+ - **Multiple run modes** — Interactive TUI, print mode (one-shot), JSON event stream, and JSON-RPC for IDE integration
56
+
57
+ ## Documentation
58
+
59
+ Start here: [**Tau Documentation**](docs/index.md)
60
+
61
+ **Key resources:**
62
+ - [Quickstart](docs/quickstart.md) — Five-minute getting started guide
63
+ - [Installation & Setup](docs/installation.md) — Provider authentication and configuration
64
+ - [Usage Guide](docs/usage.md) — Interactive mode and slash commands
65
+ - [Architecture](docs/architecture.md) — System design and data flow
66
+ - [Extensions](docs/extensions.md) — Building tools, commands, and plugins
67
+ - [Python API](docs/python-api.md) — Programmatic usage
68
+
69
+ ## Core Architecture
70
+
71
+ ```
72
+ Console (CLI) → TUI (Terminal UI) → Runtime (Agent Execution) → Engine (Tools) → Inference (LLM)
73
+ ```
74
+
75
+ User input flows through the TUI to the runtime, which executes tools via the engine and calls the LLM provider for inference. Results are rendered back in the TUI and persisted to sessions.
76
+
77
+ ## Configuration
78
+
79
+ Settings are loaded in order of precedence:
80
+ 1. Built-in defaults
81
+ 2. `~/.tau/settings.json` (global user settings)
82
+ 3. `.tau/settings.json` (project-level settings)
83
+ 4. Environment variables
84
+ 5. Command-line flags
85
+
86
+ Sessions are saved to `~/.tau/sessions/` and can be resumed, forked, or cloned.
87
+
88
+ ### Project Context Files
89
+
90
+ Tau automatically discovers and includes project-specific instructions from `AGENTS.md` or `CLAUDE.md` in the system prompt. This allows you to:
91
+ - Define project rules and coding guidelines for the agent
92
+ - Standardize how the agent handles project-specific conventions
93
+ - Store project context separately from tool configuration
94
+
95
+ **Example usage:**
96
+ ```bash
97
+ # Auto-discover AGENTS.md in the project (default behavior)
98
+ tau
99
+
100
+ # Disable project context file loading
101
+ tau --no-context-files
102
+
103
+ # Trust project files explicitly
104
+ tau --approve
105
+
106
+ # Don't trust project files for this run
107
+ tau --no-approve
108
+ ```
109
+
110
+ See [Project Context Files](docs/project-context.md) for detailed instructions.
111
+
112
+ ## Security & Permissions
113
+
114
+ Tau executes tools (terminal, file I/O, web operations) with the permissions of the user and process that launched it. There is no built-in permission system for restricting filesystem, process, network, or credential access.
115
+
116
+ If you need stronger boundaries, consider:
117
+ - Running Tau inside a container or sandbox
118
+ - Using OS-level security policies
119
+ - Configuring environment variables to limit tool access
120
+
121
+ ## Supply Chain Security
122
+
123
+ We treat dependency changes as reviewed code changes with these practices:
124
+
125
+ - **Exact version pinning** — All direct dependencies pinned to specific versions in `pyproject.toml`
126
+ - **Lockfile integrity** — `uv.lock` is the source of truth; changes require explicit review
127
+ - **Dependency auditing** — Use `pip-audit` or `safety` to scan for known vulnerabilities
128
+ - **Safe installation** — Install with `--no-deps` to prevent malicious lifecycle scripts
129
+
130
+ See [SECURITY.md](SECURITY.md) for detailed practices and vulnerability reporting.
131
+
132
+ ## Development
133
+
134
+ ```bash
135
+ python -m pytest # Run tests
136
+ pyright tau/ # Type checking
137
+ python -m tau --mode tui # Launch from source
138
+ ```
139
+
140
+ See [Development Setup](docs/development.md) for detailed instructions.
141
+
142
+ ## Contributing
143
+
144
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines and [AGENTS.md](AGENTS.md) for project-specific rules.
145
+
146
+ ## License
147
+
148
+ This project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details.
@@ -0,0 +1,163 @@
1
+ # Documentation Implementation Summary
2
+
3
+ This document summarizes the documentation that has been created for the Tau project, following the style and approach from the reference project in `/Users/jeomon/Desktop/Tau/temp`.
4
+
5
+ ## Overview
6
+
7
+ A complete documentation structure has been implemented in `./docs/` following the same patterns, structure, and writing style as the reference project.
8
+
9
+ ## Navigation Structure (docs.json)
10
+
11
+ The documentation is organized into 5 main categories:
12
+
13
+ ### 1. Start Here
14
+ - **Overview** (index.md) - Documentation entry point
15
+ - **Quickstart** (quickstart.md) - 5-minute getting started
16
+ - **Installation** (installation.md) - Provider setup and authentication
17
+ - **Architecture** (architecture.md) - System design overview
18
+ - **Usage Guide** (usage.md) - Interactive mode features
19
+
20
+ ### 2. Core Concepts
21
+ - **Inference Providers** (inference-providers.md) - All supported LLM providers
22
+ - **Messages & Context** (messages.md) - Message system and context windows
23
+ - **Sessions** (sessions.md) - Session management and persistence
24
+ - **Tools** (tools.md) - Available tools and tool system
25
+
26
+ ### 3. Customization
27
+ - **Settings** (settings.md) - Configuration files and options
28
+ - **Extensions** (extensions.md) - Creating custom tools and commands
29
+ - **Themes** (themes.md) - Color themes and terminal customization
30
+ - **Keybindings** (keybindings.md) - Keyboard shortcuts
31
+
32
+ ### 4. Programmatic Usage
33
+ - **Python API** (python-api.md) - Embedding tau in applications
34
+ - **CLI Reference** (cli-reference.md) - All command-line options
35
+
36
+ ### 5. Development
37
+ - **Development Setup** (development.md) - Local development environment
38
+ - **Project Structure** (project-structure.md) - Codebase organization
39
+
40
+ ## Documentation Files Created
41
+
42
+ | File | Size | Purpose |
43
+ |------|------|---------|
44
+ | docs.json | 1.9K | Navigation structure |
45
+ | index.md | 1.7K | Documentation overview |
46
+ | quickstart.md | 2.1K | Get started in 5 minutes |
47
+ | installation.md | 3.7K | Provider setup |
48
+ | architecture.md | 6.7K | System design |
49
+ | usage.md | 4.8K | Interactive mode guide |
50
+ | inference-providers.md | 4.6K | Provider reference |
51
+ | messages.md | 3.4K | Message system |
52
+ | sessions.md | 4.0K | Session management |
53
+ | tools.md | 4.0K | Tool reference |
54
+ | settings.md | 4.7K | Configuration guide |
55
+ | extensions.md | 4.8K | Extension system |
56
+ | themes.md | 3.9K | Theme customization |
57
+ | keybindings.md | 4.4K | Keyboard shortcuts |
58
+ | python-api.md | 5.0K | Python API reference |
59
+ | cli-reference.md | 4.8K | CLI options |
60
+ | development.md | 4.1K | Development setup |
61
+ | project-structure.md | 7.7K | Codebase organization |
62
+
63
+ **Total: 18 documentation files, ~70KB of content**
64
+
65
+ ## Style & Format Adherence
66
+
67
+ All documentation follows the reference project's style:
68
+
69
+ ### Structure
70
+ - ✅ Single-sentence purpose statement on each page
71
+ - ✅ H1 used exactly once per document
72
+ - ✅ Logical heading hierarchy (H2, H3 only)
73
+ - ✅ Table of Contents in docs.json (not repeated in files)
74
+ - ✅ Cross-references using relative links `[text](file.md)`
75
+
76
+ ### Content
77
+ - ✅ No emojis anywhere
78
+ - ✅ No fluff or cheerful filler
79
+ - ✅ Direct, technical prose
80
+ - ✅ Practical, copy-pasteable examples
81
+ - ✅ Tables for reference data
82
+ - ✅ Code blocks with language identifiers
83
+ - ✅ Real-world usage examples
84
+
85
+ ### Organization
86
+ - ✅ Organized by user need (not implementation details)
87
+ - ✅ Beginner content first, advanced content later
88
+ - ✅ Quick reference for common tasks
89
+ - ✅ "Start here" section for new users
90
+ - ✅ "Next steps" cross-links at bottom
91
+
92
+ ## Key Features
93
+
94
+ ### 1. User Journey
95
+ Documentation is organized around user needs:
96
+ - **New users**: Quickstart → Installation → Usage
97
+ - **Advanced users**: Python API → Extensions → Architecture
98
+ - **Reference**: CLI Reference → Settings → Tools
99
+
100
+ ### 2. Consistency
101
+ - All documents follow the same structure
102
+ - Same terminology throughout
103
+ - Consistent code formatting
104
+ - Consistent table layouts
105
+
106
+ ### 3. Completeness
107
+ Every major feature is documented:
108
+ - All inference providers (Anthropic, OpenAI, Google, Mistral, Ollama, Azure)
109
+ - All CLI options and commands
110
+ - All settings and configuration
111
+ - Extension system (tools, commands, hooks)
112
+ - Session management
113
+ - Customization (themes, keybindings)
114
+
115
+ ### 4. Examples
116
+ Every major feature includes:
117
+ - Real, copy-pasteable code examples
118
+ - Actual use cases
119
+ - Common workflows
120
+ - Troubleshooting tips
121
+
122
+ ## Reference Document
123
+
124
+ A comprehensive style reference was also created at:
125
+ **DOCUMENTATION_REFERENCE.md**
126
+
127
+ This document codifies the documentation approach for future reference and ensures consistency when adding new docs.
128
+
129
+ ## How to Use This Documentation
130
+
131
+ ### For Users
132
+ 1. Start with `docs/index.md` or `docs/quickstart.md`
133
+ 2. Use `docs.json` to navigate by category
134
+ 3. Follow "Next steps" links to deeper topics
135
+
136
+ ### For Developers
137
+ 1. See `docs/development.md` for setup
138
+ 2. See `docs/project-structure.md` for codebase overview
139
+ 3. See `docs/extensions.md` to add features
140
+
141
+ ### For Maintainers
142
+ 1. Follow `DOCUMENTATION_REFERENCE.md` when adding new docs
143
+ 2. Keep `docs.json` synchronized with filesystem
144
+ 3. Maintain cross-references when renaming files
145
+
146
+ ## Future Documentation
147
+
148
+ When adding new documentation:
149
+ 1. Follow patterns in `DOCUMENTATION_REFERENCE.md`
150
+ 2. Update `docs.json` with new entry
151
+ 3. Add link to `index.md` if it's a top-level topic
152
+ 4. Cross-link related documents
153
+
154
+ ## Next Steps
155
+
156
+ The documentation is ready to use. No changes needed to the code—just documentation has been added.
157
+
158
+ To verify:
159
+ ```bash
160
+ ls -la docs/
161
+ ```
162
+
163
+ All 18 documentation files should be present in the `./docs/` directory.