chatmcp-cli 0.1.0__py3-none-any.whl

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 (228) hide show
  1. aider/__init__.py +20 -0
  2. aider/__main__.py +4 -0
  3. aider/_version.py +21 -0
  4. aider/analytics.py +250 -0
  5. aider/args.py +926 -0
  6. aider/args_formatter.py +228 -0
  7. aider/coders/__init__.py +34 -0
  8. aider/coders/architect_coder.py +48 -0
  9. aider/coders/architect_prompts.py +40 -0
  10. aider/coders/ask_coder.py +9 -0
  11. aider/coders/ask_prompts.py +35 -0
  12. aider/coders/base_coder.py +2483 -0
  13. aider/coders/base_prompts.py +60 -0
  14. aider/coders/chat_chunks.py +64 -0
  15. aider/coders/context_coder.py +53 -0
  16. aider/coders/context_prompts.py +75 -0
  17. aider/coders/editblock_coder.py +657 -0
  18. aider/coders/editblock_fenced_coder.py +10 -0
  19. aider/coders/editblock_fenced_prompts.py +143 -0
  20. aider/coders/editblock_func_coder.py +141 -0
  21. aider/coders/editblock_func_prompts.py +27 -0
  22. aider/coders/editblock_prompts.py +174 -0
  23. aider/coders/editor_diff_fenced_coder.py +9 -0
  24. aider/coders/editor_diff_fenced_prompts.py +11 -0
  25. aider/coders/editor_editblock_coder.py +8 -0
  26. aider/coders/editor_editblock_prompts.py +18 -0
  27. aider/coders/editor_whole_coder.py +8 -0
  28. aider/coders/editor_whole_prompts.py +10 -0
  29. aider/coders/help_coder.py +16 -0
  30. aider/coders/help_prompts.py +46 -0
  31. aider/coders/patch_coder.py +706 -0
  32. aider/coders/patch_prompts.py +161 -0
  33. aider/coders/search_replace.py +757 -0
  34. aider/coders/shell.py +37 -0
  35. aider/coders/single_wholefile_func_coder.py +102 -0
  36. aider/coders/single_wholefile_func_prompts.py +27 -0
  37. aider/coders/udiff_coder.py +429 -0
  38. aider/coders/udiff_prompts.py +115 -0
  39. aider/coders/udiff_simple.py +14 -0
  40. aider/coders/udiff_simple_prompts.py +25 -0
  41. aider/coders/wholefile_coder.py +144 -0
  42. aider/coders/wholefile_func_coder.py +134 -0
  43. aider/coders/wholefile_func_prompts.py +27 -0
  44. aider/coders/wholefile_prompts.py +67 -0
  45. aider/commands.py +1665 -0
  46. aider/copypaste.py +72 -0
  47. aider/deprecated.py +126 -0
  48. aider/diffs.py +128 -0
  49. aider/dump.py +29 -0
  50. aider/editor.py +147 -0
  51. aider/exceptions.py +107 -0
  52. aider/format_settings.py +26 -0
  53. aider/gui.py +545 -0
  54. aider/help.py +163 -0
  55. aider/help_pats.py +19 -0
  56. aider/history.py +143 -0
  57. aider/io.py +1175 -0
  58. aider/linter.py +304 -0
  59. aider/llm.py +47 -0
  60. aider/main.py +1267 -0
  61. aider/mdstream.py +243 -0
  62. aider/models.py +1286 -0
  63. aider/onboarding.py +428 -0
  64. aider/openrouter.py +128 -0
  65. aider/prompts.py +64 -0
  66. aider/queries/tree-sitter-language-pack/README.md +7 -0
  67. aider/queries/tree-sitter-language-pack/arduino-tags.scm +5 -0
  68. aider/queries/tree-sitter-language-pack/c-tags.scm +9 -0
  69. aider/queries/tree-sitter-language-pack/chatito-tags.scm +16 -0
  70. aider/queries/tree-sitter-language-pack/commonlisp-tags.scm +122 -0
  71. aider/queries/tree-sitter-language-pack/cpp-tags.scm +15 -0
  72. aider/queries/tree-sitter-language-pack/csharp-tags.scm +26 -0
  73. aider/queries/tree-sitter-language-pack/d-tags.scm +26 -0
  74. aider/queries/tree-sitter-language-pack/dart-tags.scm +92 -0
  75. aider/queries/tree-sitter-language-pack/elisp-tags.scm +5 -0
  76. aider/queries/tree-sitter-language-pack/elixir-tags.scm +54 -0
  77. aider/queries/tree-sitter-language-pack/elm-tags.scm +19 -0
  78. aider/queries/tree-sitter-language-pack/gleam-tags.scm +41 -0
  79. aider/queries/tree-sitter-language-pack/go-tags.scm +42 -0
  80. aider/queries/tree-sitter-language-pack/java-tags.scm +20 -0
  81. aider/queries/tree-sitter-language-pack/javascript-tags.scm +88 -0
  82. aider/queries/tree-sitter-language-pack/lua-tags.scm +34 -0
  83. aider/queries/tree-sitter-language-pack/ocaml-tags.scm +115 -0
  84. aider/queries/tree-sitter-language-pack/ocaml_interface-tags.scm +98 -0
  85. aider/queries/tree-sitter-language-pack/pony-tags.scm +39 -0
  86. aider/queries/tree-sitter-language-pack/properties-tags.scm +5 -0
  87. aider/queries/tree-sitter-language-pack/python-tags.scm +14 -0
  88. aider/queries/tree-sitter-language-pack/r-tags.scm +21 -0
  89. aider/queries/tree-sitter-language-pack/racket-tags.scm +12 -0
  90. aider/queries/tree-sitter-language-pack/ruby-tags.scm +64 -0
  91. aider/queries/tree-sitter-language-pack/rust-tags.scm +60 -0
  92. aider/queries/tree-sitter-language-pack/solidity-tags.scm +43 -0
  93. aider/queries/tree-sitter-language-pack/swift-tags.scm +51 -0
  94. aider/queries/tree-sitter-language-pack/udev-tags.scm +20 -0
  95. aider/queries/tree-sitter-languages/README.md +23 -0
  96. aider/queries/tree-sitter-languages/c-tags.scm +9 -0
  97. aider/queries/tree-sitter-languages/c_sharp-tags.scm +46 -0
  98. aider/queries/tree-sitter-languages/cpp-tags.scm +15 -0
  99. aider/queries/tree-sitter-languages/dart-tags.scm +91 -0
  100. aider/queries/tree-sitter-languages/elisp-tags.scm +8 -0
  101. aider/queries/tree-sitter-languages/elixir-tags.scm +54 -0
  102. aider/queries/tree-sitter-languages/elm-tags.scm +19 -0
  103. aider/queries/tree-sitter-languages/go-tags.scm +30 -0
  104. aider/queries/tree-sitter-languages/hcl-tags.scm +77 -0
  105. aider/queries/tree-sitter-languages/java-tags.scm +20 -0
  106. aider/queries/tree-sitter-languages/javascript-tags.scm +88 -0
  107. aider/queries/tree-sitter-languages/kotlin-tags.scm +27 -0
  108. aider/queries/tree-sitter-languages/ocaml-tags.scm +115 -0
  109. aider/queries/tree-sitter-languages/ocaml_interface-tags.scm +98 -0
  110. aider/queries/tree-sitter-languages/php-tags.scm +26 -0
  111. aider/queries/tree-sitter-languages/python-tags.scm +12 -0
  112. aider/queries/tree-sitter-languages/ql-tags.scm +26 -0
  113. aider/queries/tree-sitter-languages/ruby-tags.scm +64 -0
  114. aider/queries/tree-sitter-languages/rust-tags.scm +60 -0
  115. aider/queries/tree-sitter-languages/scala-tags.scm +65 -0
  116. aider/queries/tree-sitter-languages/typescript-tags.scm +41 -0
  117. aider/reasoning_tags.py +82 -0
  118. aider/repo.py +623 -0
  119. aider/repomap.py +847 -0
  120. aider/report.py +200 -0
  121. aider/resources/__init__.py +3 -0
  122. aider/resources/model-metadata.json +468 -0
  123. aider/resources/model-settings.yml +1767 -0
  124. aider/run_cmd.py +132 -0
  125. aider/scrape.py +284 -0
  126. aider/sendchat.py +61 -0
  127. aider/special.py +203 -0
  128. aider/urls.py +17 -0
  129. aider/utils.py +338 -0
  130. aider/versioncheck.py +113 -0
  131. aider/voice.py +187 -0
  132. aider/waiting.py +221 -0
  133. aider/watch.py +318 -0
  134. aider/watch_prompts.py +12 -0
  135. aider/website/Gemfile +8 -0
  136. aider/website/_includes/blame.md +162 -0
  137. aider/website/_includes/get-started.md +22 -0
  138. aider/website/_includes/help-tip.md +5 -0
  139. aider/website/_includes/help.md +24 -0
  140. aider/website/_includes/install.md +5 -0
  141. aider/website/_includes/keys.md +4 -0
  142. aider/website/_includes/model-warnings.md +67 -0
  143. aider/website/_includes/multi-line.md +22 -0
  144. aider/website/_includes/python-m-aider.md +5 -0
  145. aider/website/_includes/recording.css +228 -0
  146. aider/website/_includes/recording.md +34 -0
  147. aider/website/_includes/replit-pipx.md +9 -0
  148. aider/website/_includes/works-best.md +1 -0
  149. aider/website/_sass/custom/custom.scss +103 -0
  150. aider/website/docs/config/adv-model-settings.md +1881 -0
  151. aider/website/docs/config/aider_conf.md +527 -0
  152. aider/website/docs/config/api-keys.md +90 -0
  153. aider/website/docs/config/dotenv.md +478 -0
  154. aider/website/docs/config/editor.md +127 -0
  155. aider/website/docs/config/model-aliases.md +103 -0
  156. aider/website/docs/config/options.md +843 -0
  157. aider/website/docs/config/reasoning.md +209 -0
  158. aider/website/docs/config.md +44 -0
  159. aider/website/docs/faq.md +378 -0
  160. aider/website/docs/git.md +76 -0
  161. aider/website/docs/index.md +47 -0
  162. aider/website/docs/install/codespaces.md +39 -0
  163. aider/website/docs/install/docker.md +57 -0
  164. aider/website/docs/install/optional.md +100 -0
  165. aider/website/docs/install/replit.md +8 -0
  166. aider/website/docs/install.md +115 -0
  167. aider/website/docs/languages.md +264 -0
  168. aider/website/docs/legal/contributor-agreement.md +111 -0
  169. aider/website/docs/legal/privacy.md +104 -0
  170. aider/website/docs/llms/anthropic.md +77 -0
  171. aider/website/docs/llms/azure.md +48 -0
  172. aider/website/docs/llms/bedrock.md +132 -0
  173. aider/website/docs/llms/cohere.md +34 -0
  174. aider/website/docs/llms/deepseek.md +32 -0
  175. aider/website/docs/llms/gemini.md +49 -0
  176. aider/website/docs/llms/github.md +105 -0
  177. aider/website/docs/llms/groq.md +36 -0
  178. aider/website/docs/llms/lm-studio.md +39 -0
  179. aider/website/docs/llms/ollama.md +75 -0
  180. aider/website/docs/llms/openai-compat.md +39 -0
  181. aider/website/docs/llms/openai.md +58 -0
  182. aider/website/docs/llms/openrouter.md +78 -0
  183. aider/website/docs/llms/other.md +103 -0
  184. aider/website/docs/llms/vertex.md +50 -0
  185. aider/website/docs/llms/warnings.md +10 -0
  186. aider/website/docs/llms/xai.md +53 -0
  187. aider/website/docs/llms.md +54 -0
  188. aider/website/docs/more/analytics.md +122 -0
  189. aider/website/docs/more/edit-formats.md +116 -0
  190. aider/website/docs/more/infinite-output.md +137 -0
  191. aider/website/docs/more-info.md +8 -0
  192. aider/website/docs/recordings/auto-accept-architect.md +31 -0
  193. aider/website/docs/recordings/dont-drop-original-read-files.md +35 -0
  194. aider/website/docs/recordings/index.md +21 -0
  195. aider/website/docs/recordings/model-accepts-settings.md +69 -0
  196. aider/website/docs/recordings/tree-sitter-language-pack.md +80 -0
  197. aider/website/docs/repomap.md +112 -0
  198. aider/website/docs/scripting.md +100 -0
  199. aider/website/docs/troubleshooting/aider-not-found.md +24 -0
  200. aider/website/docs/troubleshooting/edit-errors.md +76 -0
  201. aider/website/docs/troubleshooting/imports.md +62 -0
  202. aider/website/docs/troubleshooting/models-and-keys.md +54 -0
  203. aider/website/docs/troubleshooting/support.md +79 -0
  204. aider/website/docs/troubleshooting/token-limits.md +96 -0
  205. aider/website/docs/troubleshooting/warnings.md +12 -0
  206. aider/website/docs/troubleshooting.md +11 -0
  207. aider/website/docs/usage/browser.md +57 -0
  208. aider/website/docs/usage/caching.md +49 -0
  209. aider/website/docs/usage/commands.md +132 -0
  210. aider/website/docs/usage/conventions.md +119 -0
  211. aider/website/docs/usage/copypaste.md +121 -0
  212. aider/website/docs/usage/images-urls.md +48 -0
  213. aider/website/docs/usage/lint-test.md +118 -0
  214. aider/website/docs/usage/modes.md +211 -0
  215. aider/website/docs/usage/not-code.md +179 -0
  216. aider/website/docs/usage/notifications.md +87 -0
  217. aider/website/docs/usage/tips.md +79 -0
  218. aider/website/docs/usage/tutorials.md +30 -0
  219. aider/website/docs/usage/voice.md +121 -0
  220. aider/website/docs/usage/watch.md +294 -0
  221. aider/website/docs/usage.md +92 -0
  222. aider/website/share/index.md +101 -0
  223. chatmcp_cli-0.1.0.dist-info/METADATA +502 -0
  224. chatmcp_cli-0.1.0.dist-info/RECORD +228 -0
  225. chatmcp_cli-0.1.0.dist-info/WHEEL +5 -0
  226. chatmcp_cli-0.1.0.dist-info/entry_points.txt +3 -0
  227. chatmcp_cli-0.1.0.dist-info/licenses/LICENSE.txt +202 -0
  228. chatmcp_cli-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,162 @@
1
+ <div class="chart-container">
2
+ <canvas id="blameChart" style="margin-top: 20px"></canvas>
3
+ </div>
4
+ <div class="chart-container">
5
+ <canvas id="linesChart" style="margin-top: 20px"></canvas>
6
+ </div>
7
+
8
+ <style>
9
+ .chart-container {
10
+ position: relative;
11
+ width: 100%;
12
+ height: 300px;
13
+ }
14
+ </style>
15
+
16
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
17
+ <script src="https://cdn.jsdelivr.net/npm/moment"></script>
18
+ <script src="https://cdn.jsdelivr.net/npm/chartjs-adapter-moment"></script>
19
+ <script>
20
+ document.addEventListener('DOMContentLoaded', function () {
21
+ var blameCtx = document.getElementById('blameChart').getContext('2d');
22
+ var linesCtx = document.getElementById('linesChart').getContext('2d');
23
+
24
+ var labels = [{% for row in site.data.blame %}'{{ row.end_tag }}',{% endfor %}];
25
+
26
+ var blameData = {
27
+ labels: labels,
28
+ datasets: [{
29
+ label: 'Aider\'s percent of new code by release',
30
+ data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.aider_percentage }}, lines: {{ row.aider_total }}, end_date: '{{ row.end_date }}' },{% endfor %}],
31
+ backgroundColor: 'rgba(54, 162, 235, 0.8)',
32
+ borderColor: 'rgba(54, 162, 235, 1)',
33
+ borderWidth: 1
34
+ }]
35
+ };
36
+
37
+ var linesData = {
38
+ labels: labels,
39
+ datasets: [{
40
+ label: 'Aider',
41
+ data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.aider_total }} },{% endfor %}],
42
+ backgroundColor: 'rgba(54, 162, 235, 0.8)',
43
+ borderColor: 'rgba(54, 162, 235, 1)',
44
+ borderWidth: 1
45
+ },
46
+ {
47
+ label: 'Human',
48
+ data: [{% for row in site.data.blame %}{ x: '{{ row.end_tag }}', y: {{ row.total_lines | minus: row.aider_total }} },{% endfor %}],
49
+ backgroundColor: 'rgba(200, 200, 200, 0.8)',
50
+ borderColor: 'rgba(200, 200, 200, 1)',
51
+ borderWidth: 1
52
+ }]
53
+ };
54
+
55
+ var blameChart = new Chart(blameCtx, {
56
+ type: 'bar',
57
+ data: blameData,
58
+ options: {
59
+ maintainAspectRatio: false,
60
+ scales: {
61
+ x: {
62
+ type: 'category',
63
+ title: {
64
+ display: true,
65
+ text: 'Version'
66
+ },
67
+ ticks: {
68
+ maxRotation: 45,
69
+ minRotation: 45
70
+ }
71
+ },
72
+ y: {
73
+ title: {
74
+ display: true,
75
+ text: 'Percent of new code'
76
+ },
77
+ beginAtZero: true
78
+ }
79
+ },
80
+ plugins: {
81
+ legend: {
82
+ display: false
83
+ },
84
+ tooltip: {
85
+ callbacks: {
86
+ label: function(context) {
87
+ var label = 'Aider\'s contribution';
88
+ var value = context.parsed.y || 0;
89
+ var lines = context.raw.lines || 0;
90
+ return `${label}: ${Math.round(value)}% (${lines} lines)`;
91
+ },
92
+ afterLabel: function(context) {
93
+ let date = context.raw.end_date || 'n/a';
94
+ return `Date: ` + date;
95
+ }
96
+ }
97
+ },
98
+ title: {
99
+ display: true,
100
+ text: 'Percent of new code written by aider, by release',
101
+ font: {
102
+ size: 16
103
+ }
104
+ }
105
+ }
106
+ }
107
+ });
108
+
109
+ var linesChart = new Chart(linesCtx, {
110
+ type: 'bar',
111
+ data: linesData,
112
+ options: {
113
+ maintainAspectRatio: false,
114
+ scales: {
115
+ x: {
116
+ type: 'category',
117
+ stacked: true,
118
+ title: {
119
+ display: true,
120
+ text: 'Version'
121
+ },
122
+ ticks: {
123
+ maxRotation: 45,
124
+ minRotation: 45
125
+ }
126
+ },
127
+ y: {
128
+ stacked: true,
129
+ title: {
130
+ display: true,
131
+ text: 'Lines of new code'
132
+ },
133
+ beginAtZero: true
134
+ }
135
+ },
136
+ plugins: {
137
+ legend: {
138
+ display: true,
139
+ position: 'chartArea',
140
+ reverse: true
141
+ },
142
+ tooltip: {
143
+ callbacks: {
144
+ label: function(context) {
145
+ var label = context.dataset.label;
146
+ var value = context.parsed.y || 0;
147
+ return `${label}: ${value}`;
148
+ }
149
+ }
150
+ },
151
+ title: {
152
+ display: true,
153
+ text: 'Lines of new code, by release',
154
+ font: {
155
+ size: 16
156
+ }
157
+ }
158
+ }
159
+ }
160
+ });
161
+ });
162
+ </script>
@@ -0,0 +1,22 @@
1
+
2
+ If you already have python 3.8-3.13 installed, you can get started quickly like this.
3
+
4
+ First, install aider:
5
+
6
+ {% include install.md %}
7
+
8
+ Start working with aider on your codebase:
9
+
10
+ ```bash
11
+ # Change directory into your codebase
12
+ cd /to/your/project
13
+
14
+ # DeepSeek
15
+ aider --model deepseek --api-key deepseek=<key>
16
+
17
+ # Claude 3.7 Sonnet
18
+ aider --model sonnet --api-key anthropic=<key>
19
+
20
+ # o3-mini
21
+ aider --model o3-mini --api-key openai=<key>
22
+ ```
@@ -0,0 +1,5 @@
1
+ {: .tip }
2
+ Use `/help <question>` to
3
+ [ask for help about using aider](/docs/troubleshooting/support.html),
4
+ customizing settings, troubleshooting, using LLMs, etc.
5
+
@@ -0,0 +1,24 @@
1
+ If you need more help, please check our
2
+ [GitHub issues](https://github.com/Aider-AI/aider/issues)
3
+ and file a new issue if your problem isn't discussed.
4
+ Or drop into our
5
+ [Discord](https://discord.gg/Y7X7bhMQFV)
6
+ to chat with us.
7
+
8
+ When reporting problems, it is very helpful if you can provide:
9
+
10
+ - Aider version
11
+ - LLM model you are using
12
+
13
+ Including the "announcement" lines that
14
+ aider prints at startup
15
+ is an easy way to share this helpful info.
16
+
17
+ ```
18
+ Aider v0.37.1-dev
19
+ Models: gpt-4o with diff edit format, weak model gpt-3.5-turbo
20
+ Git repo: .git with 243 files
21
+ Repo-map: using 1024 tokens
22
+ ```
23
+
24
+ {% include help-tip.md %}
@@ -0,0 +1,5 @@
1
+
2
+ ```bash
3
+ python -m pip install aider-install
4
+ aider-install
5
+ ```
@@ -0,0 +1,4 @@
1
+ {: .tip :}
2
+ See the
3
+ [API key configuration docs](/docs/config/api-keys.html)
4
+ for information on how to configure and store your API keys.
@@ -0,0 +1,67 @@
1
+
2
+ ## Unknown context window size and token costs
3
+
4
+ ```
5
+ Model foobar: Unknown context window size and costs, using sane defaults.
6
+ ```
7
+
8
+ If you specify a model that aider has never heard of, you will get
9
+ this warning.
10
+ This means aider doesn't know the context window size and token costs
11
+ for that model.
12
+ Aider will use an unlimited context window and assume the model is free,
13
+ so this is not usually a significant problem.
14
+
15
+ See the docs on
16
+ [configuring advanced model settings](/docs/config/adv-model-settings.html)
17
+ for details on how to remove this warning.
18
+
19
+ {: .tip }
20
+ You can probably ignore the unknown context window size and token costs warning.
21
+
22
+ ## Did you mean?
23
+
24
+ If aider isn't familiar with the model you've specified,
25
+ it will suggest similarly named models.
26
+ This helps
27
+ in the case where you made a typo or mistake when specifying the model name.
28
+
29
+ ```
30
+ Model gpt-5o: Unknown context window size and costs, using sane defaults.
31
+ Did you mean one of these?
32
+ - gpt-4o
33
+ ```
34
+
35
+ ## Missing environment variables
36
+
37
+ You need to set the listed environment variables.
38
+ Otherwise you will get error messages when you start chatting with the model.
39
+
40
+ ```
41
+ Model azure/gpt-4-turbo: Missing these environment variables:
42
+ - AZURE_API_BASE
43
+ - AZURE_API_VERSION
44
+ - AZURE_API_KEY
45
+ ```
46
+
47
+ {: .tip }
48
+ On Windows,
49
+ if you just set these environment variables using `setx` you may need to restart your terminal or
50
+ command prompt for the changes to take effect.
51
+
52
+
53
+ ## Unknown which environment variables are required
54
+
55
+ ```
56
+ Model gpt-5: Unknown which environment variables are required.
57
+ ```
58
+
59
+ Aider is unable verify the environment because it doesn't know
60
+ which variables are required for the model.
61
+ If required variables are missing,
62
+ you may get errors when you attempt to chat with the model.
63
+ You can look in the [aider's LLM documentation](/docs/llms.html)
64
+ or the
65
+ [litellm documentation](https://docs.litellm.ai/docs/providers)
66
+ to see if the required variables are listed there.
67
+
@@ -0,0 +1,22 @@
1
+ You can send long, multi-line messages in the chat in a few ways:
2
+ - Paste a multi-line message directly into the chat.
3
+ - Enter `{` alone on the first line to start a multiline message and `}` alone on the last line to end it.
4
+ - Or, start with `{tag` (where "tag" is any sequence of letters/numbers) and end with `tag}`. This is useful when you need to include closing braces `}` in your message.
5
+ - Use Meta-ENTER to start a new line without sending the message (Esc+ENTER in some environments).
6
+ - Use `/paste` to paste text from the clipboard into the chat.
7
+ - Use the `/editor` command (or press `Ctrl-X Ctrl-E` if your terminal allows) to open your editor to create the next chat message. See [editor configuration docs](/docs/config/editor.html) for more info.
8
+ - Use multiline-mode, which swaps the function of Meta-Enter and Enter, so that Enter inserts a newline, and Meta-Enter submits your command. To enable multiline mode:
9
+ - Use the `/multiline-mode` command to toggle it during a session.
10
+ - Use the `--multiline` switch.
11
+
12
+ Example with a tag:
13
+ ```
14
+ {python
15
+ def hello():
16
+ print("Hello}") # Note: contains a brace
17
+ python}
18
+ ```
19
+
20
+ {: .note }
21
+ People often ask for SHIFT-ENTER to be a soft-newline.
22
+ Unfortunately there is no portable way to detect that keystroke in terminals.
@@ -0,0 +1,5 @@
1
+ {: .tip }
2
+ In some environments you may get "aider command not found" errors.
3
+ You can try `python -m aider` or
4
+ [see here for more info](/docs/troubleshooting/aider-not-found.html).
5
+
@@ -0,0 +1,228 @@
1
+ /* Terminal header styling */
2
+ .terminal-header {
3
+ background-color: #e0e0e0;
4
+ border-top-left-radius: 6px;
5
+ border-top-right-radius: 6px;
6
+ padding: 4px 10px;
7
+ display: flex;
8
+ align-items: center;
9
+ border-bottom: 1px solid #c0c0c0;
10
+ }
11
+
12
+ .terminal-buttons {
13
+ display: flex;
14
+ gap: 4px;
15
+ margin-right: 10px;
16
+ }
17
+
18
+ .terminal-button {
19
+ width: 10px;
20
+ height: 10px;
21
+ border-radius: 50%;
22
+ }
23
+
24
+ .terminal-close {
25
+ background-color: #ff5f56;
26
+ border: 1px solid #e0443e;
27
+ }
28
+
29
+ .terminal-minimize {
30
+ background-color: #ffbd2e;
31
+ border: 1px solid #dea123;
32
+ }
33
+
34
+ .terminal-expand {
35
+ background-color: #27c93f;
36
+ border: 1px solid #1aab29;
37
+ }
38
+
39
+ .terminal-title {
40
+ flex-grow: 1;
41
+ text-align: center;
42
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
43
+ font-size: 11px;
44
+ color: #666;
45
+ }
46
+
47
+ /* Toast notification styling */
48
+ .toast-container {
49
+ position: fixed;
50
+ top: 50%;
51
+ left: 50%;
52
+ transform: translate(-50%, -50%);
53
+ z-index: 9999;
54
+ pointer-events: none;
55
+ }
56
+
57
+ .toast-notification {
58
+ background-color: rgba(0, 0, 0, 0.7);
59
+ color: white;
60
+ padding: 12px 25px;
61
+ border-radius: 8px;
62
+ margin-bottom: 10px;
63
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
64
+ opacity: 0;
65
+ transition: opacity 0.3s ease-in-out;
66
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
67
+ font-size: 18px;
68
+ text-align: center;
69
+ display: inline-block;
70
+ min-width: 200px;
71
+ max-width: 90%;
72
+ }
73
+
74
+ /* Page container styling */
75
+ .page-container {
76
+ max-width: 950px;
77
+ margin-left: auto;
78
+ margin-right: auto;
79
+ position: relative;
80
+ }
81
+
82
+ /* macOS backdrop styling */
83
+ .macos-backdrop {
84
+ background: linear-gradient(135deg, #ff9966, #ff5e62, #6666ff, #0066ff);
85
+ border-radius: 12px;
86
+ padding: clamp(5px, 5vw, 50px) clamp(5px, 2.5vw, 50px);
87
+ margin: 20px 0;
88
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
89
+ position: relative;
90
+ overflow: hidden;
91
+ }
92
+
93
+ /* Add subtle wave animation to backdrop */
94
+ .macos-backdrop::before {
95
+ content: '';
96
+ position: absolute;
97
+ top: 0;
98
+ left: 0;
99
+ right: 0;
100
+ bottom: 0;
101
+ background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
102
+ opacity: 0.7;
103
+ pointer-events: none;
104
+ }
105
+
106
+ /* Add decorative curved lines to the backdrop */
107
+ .macos-backdrop::after {
108
+ content: '';
109
+ position: absolute;
110
+ top: 0;
111
+ left: 0;
112
+ right: 0;
113
+ bottom: 0;
114
+ background-image:
115
+ radial-gradient(circle at 20% 30%, transparent 0%, transparent 60%, rgba(255,255,255,0.2) 61%, transparent 62%),
116
+ radial-gradient(circle at 80% 70%, transparent 0%, transparent 40%, rgba(255,255,255,0.2) 41%, transparent 42%),
117
+ radial-gradient(circle at 40% 90%, transparent 0%, transparent 70%, rgba(255,255,255,0.2) 71%, transparent 72%),
118
+ radial-gradient(circle at 60% 10%, transparent 0%, transparent 50%, rgba(255,255,255,0.2) 51%, transparent 52%);
119
+ background-size: 100% 100%;
120
+ opacity: 1;
121
+ pointer-events: none;
122
+ z-index: 0;
123
+ }
124
+
125
+ .terminal-container {
126
+ border-radius: 8px;
127
+ overflow: hidden;
128
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
129
+ margin-top: 0;
130
+ margin-bottom: 0;
131
+ position: relative;
132
+ background-color: white; /* Add background color to terminal container */
133
+ z-index: 2; /* Ensure terminal appears above the backdrop effects */
134
+ }
135
+
136
+ /* Timestamp link styling */
137
+ .timestamp-link {
138
+ color: #0366d6;
139
+ text-decoration: none;
140
+ font-weight: bold;
141
+ cursor: pointer;
142
+ }
143
+
144
+ .timestamp-link:hover {
145
+ text-decoration: underline;
146
+ }
147
+
148
+ /* Active timestamp styling */
149
+ .timestamp-active {
150
+ background-color: #f0f8ff; /* Light blue background */
151
+ border-radius: 3px;
152
+ padding: 2px 4px;
153
+ margin: -2px -4px;
154
+ }
155
+
156
+ /* Highlight the list item containing the active timestamp */
157
+ li.active-marker {
158
+ background-color: #f6f8fa;
159
+ border-radius: 4px;
160
+ padding: 4px 8px;
161
+ margin-left: -8px;
162
+ }
163
+
164
+ /* Make list items clickable */
165
+ .transcript-item {
166
+ cursor: pointer;
167
+ transition: background-color 0.2s ease;
168
+ padding: 4px 8px;
169
+ margin-left: -8px;
170
+ border-radius: 4px;
171
+ }
172
+
173
+ .transcript-item:hover {
174
+ background-color: #f0f0f0;
175
+ }
176
+
177
+ /* Keyboard shortcuts styling */
178
+ .keyboard-shortcuts {
179
+ text-align: center;
180
+ font-size: 14px;
181
+ color: #666;
182
+ margin-top: 10px;
183
+ margin-bottom: 20px;
184
+ }
185
+
186
+ /* Hide keyboard shortcuts on devices likely without physical keyboards */
187
+ .no-physical-keyboard .keyboard-shortcuts {
188
+ display: none;
189
+ }
190
+
191
+ .keyboard-shortcuts kbd {
192
+ background-color: #f7f7f7;
193
+ border: 1px solid #ccc;
194
+ border-radius: 3px;
195
+ box-shadow: 0 1px 0 rgba(0,0,0,0.2);
196
+ color: #333;
197
+ display: inline-block;
198
+ font-family: monospace;
199
+ line-height: 1;
200
+ margin: 0 2px;
201
+ padding: 3px 5px;
202
+ white-space: nowrap;
203
+ }
204
+ .asciinema-player-theme-aider {
205
+ /* Foreground (default text) color */
206
+ --term-color-foreground: #444444; /* colour238 */
207
+
208
+ /* Background color */
209
+ --term-color-background: #dadada; /* colour253 */
210
+
211
+ /* Palette of 16 standard ANSI colors */
212
+ --term-color-0: #21222c;
213
+ --term-color-1: #ff5555;
214
+ --term-color-2: #50fa7b;
215
+ --term-color-3: #f1fa8c;
216
+ --term-color-4: #bd93f9;
217
+ --term-color-5: #ff79c6;
218
+ --term-color-6: #8be9fd;
219
+ --term-color-7: #f8f8f2;
220
+ --term-color-8: #6272a4;
221
+ --term-color-9: #ff6e6e;
222
+ --term-color-10: #69ff94;
223
+ --term-color-11: #ffffa5;
224
+ --term-color-12: #d6acff;
225
+ --term-color-13: #ff92df;
226
+ --term-color-14: #a4ffff;
227
+ --term-color-15: #ffffff;
228
+ }
@@ -0,0 +1,34 @@
1
+ <link rel="stylesheet" type="text/css" href="/assets/asciinema/asciinema-player.css" />
2
+
3
+ <style>
4
+ {% include recording.css %}
5
+ </style>
6
+
7
+ <script src="/assets/asciinema/asciinema-player.min.js"></script>
8
+ <script>
9
+ {% include recording.js %}
10
+ </script>
11
+
12
+ <div class="page-container">
13
+ <div class="toast-container" id="toast-container"></div>
14
+
15
+ <div class="macos-backdrop">
16
+ <div class="terminal-container">
17
+ <div class="terminal-header">
18
+ <div class="terminal-buttons">
19
+ <div class="terminal-button terminal-close"></div>
20
+ <div class="terminal-button terminal-minimize"></div>
21
+ <div class="terminal-button terminal-expand"></div>
22
+ </div>
23
+ <div class="terminal-title">aider</div>
24
+ </div>
25
+ <div id="demo"></div>
26
+ </div>
27
+ </div>
28
+ </div>
29
+
30
+ <div class="keyboard-shortcuts">
31
+ <kbd>Space</kbd> Play/pause —
32
+ <kbd>f</kbd> Fullscreen —
33
+ <kbd>←</kbd><kbd>→</kbd> ±5s
34
+ </div>
@@ -0,0 +1,9 @@
1
+ To use aider with pipx on replit, you can run these commands in the replit shell:
2
+
3
+ ```bash
4
+ pip install pipx
5
+ pipx run aider-chat ...normal aider args...
6
+ ```
7
+
8
+ If you install aider with pipx on replit and try and run it as just `aider` it will crash with a missing `libstdc++.so.6` library.
9
+
@@ -0,0 +1 @@
1
+ Aider works best with Claude 3.5 Sonnet, DeepSeek R1 & Chat V3, OpenAI o1, o3-mini & GPT-4o. Aider can [connect to almost any LLM, including local models](https://aider.chat/docs/llms.html).