ucode-agent 1.64.0 → 1.67.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/LICENSE +662 -21
  2. package/LICENSE-DOCS +404 -0
  3. package/NOTICE +47 -0
  4. package/README.md +104 -13
  5. package/package.json +4 -3
  6. package/skills/LICENSE +19 -0
  7. package/src/core/attach.js +1 -0
  8. package/src/core/commands.js +1 -0
  9. package/src/core/context.js +1 -0
  10. package/src/core/csscheck.js +1 -0
  11. package/src/core/doctor.js +1 -0
  12. package/src/core/failure.js +1 -0
  13. package/src/core/genericcheck.js +1 -0
  14. package/src/core/git.js +1 -0
  15. package/src/core/headless.js +1 -0
  16. package/src/core/history.js +1 -0
  17. package/src/core/htmlcheck.js +1 -0
  18. package/src/core/jslogic.js +1 -0
  19. package/src/core/lessons.js +1 -0
  20. package/src/core/livelog.js +1 -0
  21. package/src/core/login.js +1 -0
  22. package/src/core/loop.js +4064 -3887
  23. package/src/core/mcp.js +1 -0
  24. package/src/core/mcpcli.js +1 -0
  25. package/src/core/openable.js +1 -0
  26. package/src/core/opener.js +1 -0
  27. package/src/core/provider.js +1 -0
  28. package/src/core/relink.js +1 -0
  29. package/src/core/scope.js +1 -0
  30. package/src/core/settings.js +1 -0
  31. package/src/core/skills.js +1 -0
  32. package/src/core/snapshot.js +1 -0
  33. package/src/core/stuck.js +1 -0
  34. package/src/core/terminal.js +257 -0
  35. package/src/core/tests.js +1 -0
  36. package/src/core/undo.js +1 -0
  37. package/src/core/updater.js +1 -0
  38. package/src/core/version.js +1 -0
  39. package/src/core/voice.js +1 -0
  40. package/src/core/window.js +1 -0
  41. package/src/tools/blocks.js +1 -0
  42. package/src/tools/browser.js +1 -0
  43. package/src/tools/cache.js +1 -0
  44. package/src/tools/deploy.js +1 -0
  45. package/src/tools/files.js +1 -0
  46. package/src/tools/fuzzy.js +1 -0
  47. package/src/tools/index.js +5 -0
  48. package/src/tools/rename.js +1 -0
  49. package/src/tools/scaffold.js +1 -0
  50. package/src/tools/search.js +1 -0
  51. package/src/tools/shared.js +2 -1
  52. package/src/tools/shell.js +1 -0
  53. package/src/tools/symbols.js +1 -0
  54. package/src/tools/types.js +1 -0
  55. package/src/tools/web.js +1 -0
  56. package/src/ui/activity.js +3 -2
  57. package/src/ui/markdown.js +1 -0
  58. package/src/ui/plain.js +4 -3
  59. package/src/ui/screen.js +2012 -1833
  60. package/src/ui/theme.js +151 -11
  61. package/templates/LICENSE +23 -0
  62. package/ucode.js +1 -0
  63. package/LICENSE-APACHE +0 -202
package/LICENSE-DOCS ADDED
@@ -0,0 +1,404 @@
1
+ ucode's documentation - README.md and CONTRIBUTING.md - is licensed under the
2
+ Creative Commons Attribution 4.0 International licence below. Credit it as:
3
+ "ucode, made and tested by om dixit - https://github.com/sppideey/ucode-agent".
4
+ Code shown in the documentation is under the licence of the code it belongs
5
+ to (see NOTICE).
6
+
7
+ -------------------------------------------------------------------------------
8
+
9
+ Attribution 4.0 International
10
+
11
+ =======================================================================
12
+
13
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
14
+ does not provide legal services or legal advice. Distribution of
15
+ Creative Commons public licenses does not create a lawyer-client or
16
+ other relationship. Creative Commons makes its licenses and related
17
+ information available on an "as-is" basis. Creative Commons gives no
18
+ warranties regarding its licenses, any material licensed under their
19
+ terms and conditions, or any related information. Creative Commons
20
+ disclaims all liability for damages resulting from their use to the
21
+ fullest extent possible.
22
+
23
+ Using Creative Commons Public Licenses
24
+
25
+ Creative Commons public licenses provide a standard set of terms and
26
+ conditions that creators and other rights holders may use to share
27
+ original works of authorship and other material subject to copyright
28
+ and certain other rights specified in the public license below. The
29
+ following considerations are for informational purposes only, are not
30
+ exhaustive, and do not form part of our licenses.
31
+
32
+ Considerations for licensors: Our public licenses are
33
+ intended for use by those authorized to give the public
34
+ permission to use material in ways otherwise restricted by
35
+ copyright and certain other rights. Our licenses are
36
+ irrevocable. Licensors should read and understand the terms
37
+ and conditions of the license they choose before applying it.
38
+ Licensors should also secure all rights necessary before
39
+ applying our licenses so that the public can reuse the
40
+ material as expected. Licensors should clearly mark any
41
+ material not subject to the license. This includes other CC-
42
+ licensed material, or material used under an exception or
43
+ limitation to copyright. More considerations for licensors:
44
+ wiki.creativecommons.org/Considerations_for_licensors
45
+
46
+ Considerations for the public: By using one of our public
47
+ licenses, a licensor grants the public permission to use the
48
+ licensed material under specified terms and conditions. If
49
+ the licensor's permission is not necessary for any reason--for
50
+ example, because of any applicable exception or limitation to
51
+ copyright--then that use is not regulated by the license. Our
52
+ licenses grant only permissions under copyright and certain
53
+ other rights that a licensor has authority to grant. Use of
54
+ the licensed material may still be restricted for other
55
+ reasons, including because others have copyright or other
56
+ rights in the material. A licensor may make special requests,
57
+ such as asking that all changes be marked or described.
58
+ Although not required by our licenses, you are encouraged to
59
+ respect those requests where reasonable. More considerations
60
+ for the public:
61
+ wiki.creativecommons.org/Considerations_for_licensees
62
+
63
+ =======================================================================
64
+
65
+ Creative Commons Attribution 4.0 International Public License
66
+
67
+ By exercising the Licensed Rights (defined below), You accept and agree
68
+ to be bound by the terms and conditions of this Creative Commons
69
+ Attribution 4.0 International Public License ("Public License"). To the
70
+ extent this Public License may be interpreted as a contract, You are
71
+ granted the Licensed Rights in consideration of Your acceptance of
72
+ these terms and conditions, and the Licensor grants You such rights in
73
+ consideration of benefits the Licensor receives from making the
74
+ Licensed Material available under these terms and conditions.
75
+
76
+
77
+ Section 1 -- Definitions.
78
+
79
+ a. Adapted Material means material subject to Copyright and Similar
80
+ Rights that is derived from or based upon the Licensed Material
81
+ and in which the Licensed Material is translated, altered,
82
+ arranged, transformed, or otherwise modified in a manner requiring
83
+ permission under the Copyright and Similar Rights held by the
84
+ Licensor. For purposes of this Public License, where the Licensed
85
+ Material is a musical work, performance, or sound recording,
86
+ Adapted Material is always produced where the Licensed Material is
87
+ synched in timed relation with a moving image.
88
+
89
+ b. Adapter's License means the license You apply to Your Copyright
90
+ and Similar Rights in Your contributions to Adapted Material in
91
+ accordance with the terms and conditions of this Public License.
92
+
93
+ c. Copyright and Similar Rights means copyright and/or similar rights
94
+ closely related to copyright including, without limitation,
95
+ performance, broadcast, sound recording, and Sui Generis Database
96
+ Rights, without regard to how the rights are labeled or
97
+ categorized. For purposes of this Public License, the rights
98
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
99
+ Rights.
100
+
101
+ d. Effective Technological Measures means those measures that, in the
102
+ absence of proper authority, may not be circumvented under laws
103
+ fulfilling obligations under Article 11 of the WIPO Copyright
104
+ Treaty adopted on December 20, 1996, and/or similar international
105
+ agreements.
106
+
107
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
108
+ any other exception or limitation to Copyright and Similar Rights
109
+ that applies to Your use of the Licensed Material.
110
+
111
+ f. Licensed Material means the artistic or literary work, database,
112
+ or other material to which the Licensor applied this Public
113
+ License.
114
+
115
+ g. Licensed Rights means the rights granted to You subject to the
116
+ terms and conditions of this Public License, which are limited to
117
+ all Copyright and Similar Rights that apply to Your use of the
118
+ Licensed Material and that the Licensor has authority to license.
119
+
120
+ h. Licensor means the individual(s) or entity(ies) granting rights
121
+ under this Public License.
122
+
123
+ i. Share means to provide material to the public by any means or
124
+ process that requires permission under the Licensed Rights, such
125
+ as reproduction, public display, public performance, distribution,
126
+ dissemination, communication, or importation, and to make material
127
+ available to the public including in ways that members of the
128
+ public may access the material from a place and at a time
129
+ individually chosen by them.
130
+
131
+ j. Sui Generis Database Rights means rights other than copyright
132
+ resulting from Directive 96/9/EC of the European Parliament and of
133
+ the Council of 11 March 1996 on the legal protection of databases,
134
+ as amended and/or succeeded, as well as other essentially
135
+ equivalent rights anywhere in the world.
136
+
137
+ k. You means the individual or entity exercising the Licensed Rights
138
+ under this Public License. Your has a corresponding meaning.
139
+
140
+
141
+ Section 2 -- Scope.
142
+
143
+ a. License grant.
144
+
145
+ 1. Subject to the terms and conditions of this Public License,
146
+ the Licensor hereby grants You a worldwide, royalty-free,
147
+ non-sublicensable, non-exclusive, irrevocable license to
148
+ exercise the Licensed Rights in the Licensed Material to:
149
+
150
+ a. reproduce and Share the Licensed Material, in whole or
151
+ in part; and
152
+
153
+ b. produce, reproduce, and Share Adapted Material.
154
+
155
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
156
+ Exceptions and Limitations apply to Your use, this Public
157
+ License does not apply, and You do not need to comply with
158
+ its terms and conditions.
159
+
160
+ 3. Term. The term of this Public License is specified in Section
161
+ 6(a).
162
+
163
+ 4. Media and formats; technical modifications allowed. The
164
+ Licensor authorizes You to exercise the Licensed Rights in
165
+ all media and formats whether now known or hereafter created,
166
+ and to make technical modifications necessary to do so. The
167
+ Licensor waives and/or agrees not to assert any right or
168
+ authority to forbid You from making technical modifications
169
+ necessary to exercise the Licensed Rights, including
170
+ technical modifications necessary to circumvent Effective
171
+ Technological Measures. For purposes of this Public License,
172
+ simply making modifications authorized by this Section 2(a)
173
+ (4) never produces Adapted Material.
174
+
175
+ 5. Downstream recipients.
176
+
177
+ a. Offer from the Licensor -- Licensed Material. Every
178
+ recipient of the Licensed Material automatically
179
+ receives an offer from the Licensor to exercise the
180
+ Licensed Rights under the terms and conditions of this
181
+ Public License.
182
+
183
+ b. No downstream restrictions. You may not offer or impose
184
+ any additional or different terms or conditions on, or
185
+ apply any Effective Technological Measures to, the
186
+ Licensed Material if doing so restricts exercise of the
187
+ Licensed Rights by any recipient of the Licensed
188
+ Material.
189
+
190
+ 6. No endorsement. Nothing in this Public License constitutes or
191
+ may be construed as permission to assert or imply that You
192
+ are, or that Your use of the Licensed Material is, connected
193
+ with, or sponsored, endorsed, or granted official status by,
194
+ the Licensor or others designated to receive attribution as
195
+ provided in Section 3(a)(1)(A)(i).
196
+
197
+ b. Other rights.
198
+
199
+ 1. Moral rights, such as the right of integrity, are not
200
+ licensed under this Public License, nor are publicity,
201
+ privacy, and/or other similar personality rights; however, to
202
+ the extent possible, the Licensor waives and/or agrees not to
203
+ assert any such rights held by the Licensor to the limited
204
+ extent necessary to allow You to exercise the Licensed
205
+ Rights, but not otherwise.
206
+
207
+ 2. Patent and trademark rights are not licensed under this
208
+ Public License.
209
+
210
+ 3. To the extent possible, the Licensor waives any right to
211
+ collect royalties from You for the exercise of the Licensed
212
+ Rights, whether directly or through a collecting society
213
+ under any voluntary or waivable statutory or compulsory
214
+ licensing scheme. In all other cases the Licensor expressly
215
+ reserves any right to collect such royalties.
216
+
217
+
218
+ Section 3 -- License Conditions.
219
+
220
+ Your exercise of the Licensed Rights is expressly made subject to the
221
+ following conditions.
222
+
223
+ a. Attribution.
224
+
225
+ 1. If You Share the Licensed Material (including in modified
226
+ form), You must:
227
+
228
+ a. retain the following if it is supplied by the Licensor
229
+ with the Licensed Material:
230
+
231
+ i. identification of the creator(s) of the Licensed
232
+ Material and any others designated to receive
233
+ attribution, in any reasonable manner requested by
234
+ the Licensor (including by pseudonym if
235
+ designated);
236
+
237
+ ii. a copyright notice;
238
+
239
+ iii. a notice that refers to this Public License;
240
+
241
+ iv. a notice that refers to the disclaimer of
242
+ warranties;
243
+
244
+ v. a URI or hyperlink to the Licensed Material to the
245
+ extent reasonably practicable;
246
+
247
+ b. indicate if You modified the Licensed Material and
248
+ retain an indication of any previous modifications; and
249
+
250
+ c. indicate the Licensed Material is licensed under this
251
+ Public License, and include the text of, or the URI or
252
+ hyperlink to, this Public License.
253
+
254
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
255
+ reasonable manner based on the medium, means, and context in
256
+ which You Share the Licensed Material. For example, it may be
257
+ reasonable to satisfy the conditions by providing a URI or
258
+ hyperlink to a resource that includes the required
259
+ information.
260
+
261
+ 3. If requested by the Licensor, You must remove any of the
262
+ information required by Section 3(a)(1)(A) to the extent
263
+ reasonably practicable.
264
+
265
+ 4. If You Share Adapted Material You produce, the Adapter's
266
+ License You apply must not prevent recipients of the Adapted
267
+ Material from complying with this Public License.
268
+
269
+
270
+ Section 4 -- Sui Generis Database Rights.
271
+
272
+ Where the Licensed Rights include Sui Generis Database Rights that
273
+ apply to Your use of the Licensed Material:
274
+
275
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
276
+ to extract, reuse, reproduce, and Share all or a substantial
277
+ portion of the contents of the database;
278
+
279
+ b. if You include all or a substantial portion of the database
280
+ contents in a database in which You have Sui Generis Database
281
+ Rights, then the database in which You have Sui Generis Database
282
+ Rights (but not its individual contents) is Adapted Material; and
283
+
284
+ c. You must comply with the conditions in Section 3(a) if You Share
285
+ all or a substantial portion of the contents of the database.
286
+
287
+ For the avoidance of doubt, this Section 4 supplements and does not
288
+ replace Your obligations under this Public License where the Licensed
289
+ Rights include other Copyright and Similar Rights.
290
+
291
+
292
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
293
+
294
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
295
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
296
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
297
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
298
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
299
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
300
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
301
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
302
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
303
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
304
+
305
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
306
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
307
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
308
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
309
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
310
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
311
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
312
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
313
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
314
+
315
+ c. The disclaimer of warranties and limitation of liability provided
316
+ above shall be interpreted in a manner that, to the extent
317
+ possible, most closely approximates an absolute disclaimer and
318
+ waiver of all liability.
319
+
320
+
321
+ Section 6 -- Term and Termination.
322
+
323
+ a. This Public License applies for the term of the Copyright and
324
+ Similar Rights licensed here. However, if You fail to comply with
325
+ this Public License, then Your rights under this Public License
326
+ terminate automatically.
327
+
328
+ b. Where Your right to use the Licensed Material has terminated under
329
+ Section 6(a), it reinstates:
330
+
331
+ 1. automatically as of the date the violation is cured, provided
332
+ it is cured within 30 days of Your discovery of the
333
+ violation; or
334
+
335
+ 2. upon express reinstatement by the Licensor.
336
+
337
+ For the avoidance of doubt, this Section 6(b) does not affect any
338
+ right the Licensor may have to seek remedies for Your violations
339
+ of this Public License.
340
+
341
+ c. For the avoidance of doubt, the Licensor may also offer the
342
+ Licensed Material under separate terms or conditions or stop
343
+ distributing the Licensed Material at any time; however, doing so
344
+ will not terminate this Public License.
345
+
346
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
347
+ License.
348
+
349
+
350
+ Section 7 -- Other Terms and Conditions.
351
+
352
+ a. The Licensor shall not be bound by any additional or different
353
+ terms or conditions communicated by You unless expressly agreed.
354
+
355
+ b. Any arrangements, understandings, or agreements regarding the
356
+ Licensed Material not stated herein are separate from and
357
+ independent of the terms and conditions of this Public License.
358
+
359
+
360
+ Section 8 -- Interpretation.
361
+
362
+ a. For the avoidance of doubt, this Public License does not, and
363
+ shall not be interpreted to, reduce, limit, restrict, or impose
364
+ conditions on any use of the Licensed Material that could lawfully
365
+ be made without permission under this Public License.
366
+
367
+ b. To the extent possible, if any provision of this Public License is
368
+ deemed unenforceable, it shall be automatically reformed to the
369
+ minimum extent necessary to make it enforceable. If the provision
370
+ cannot be reformed, it shall be severed from this Public License
371
+ without affecting the enforceability of the remaining terms and
372
+ conditions.
373
+
374
+ c. No term or condition of this Public License will be waived and no
375
+ failure to comply consented to unless expressly agreed to by the
376
+ Licensor.
377
+
378
+ d. Nothing in this Public License constitutes or may be interpreted
379
+ as a limitation upon, or waiver of, any privileges and immunities
380
+ that apply to the Licensor or You, including from the legal
381
+ processes of any jurisdiction or authority.
382
+
383
+
384
+ =======================================================================
385
+
386
+ Creative Commons is not a party to its public licenses.
387
+ Notwithstanding, Creative Commons may elect to apply one of its public
388
+ licenses to material it publishes and in those instances will be
389
+ considered the “Licensor.” The text of the Creative Commons public
390
+ licenses is dedicated to the public domain under the CC0 Public Domain
391
+ Dedication. Except for the limited purpose of indicating that material
392
+ is shared under a Creative Commons public license or as otherwise
393
+ permitted by the Creative Commons policies published at
394
+ creativecommons.org/policies, Creative Commons does not authorize the
395
+ use of the trademark "Creative Commons" or any other trademark or logo
396
+ of Creative Commons without its prior written consent including,
397
+ without limitation, in connection with any unauthorized modifications
398
+ to any of its public licenses or any other arrangements,
399
+ understandings, or agreements concerning use of licensed material. For
400
+ the avoidance of doubt, this paragraph does not form part of the public
401
+ licenses.
402
+
403
+ Creative Commons may be contacted at creativecommons.org.
404
+
package/NOTICE ADDED
@@ -0,0 +1,47 @@
1
+ ucode
2
+ Copyright (C) 2026 Om Dixit
3
+
4
+ ucode is free software: you can redistribute it and/or modify it under the
5
+ terms of the GNU Affero General Public License, version 3 only, as published
6
+ by the Free Software Foundation (the file LICENSE), with the additional terms
7
+ below, which its section 7 permits.
8
+
9
+ ucode is distributed in the hope that it will be useful, but WITHOUT ANY
10
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
+ A PARTICULAR PURPOSE. See the GNU Affero General Public License for details.
12
+
13
+
14
+ ADDITIONAL TERMS (section 7 of the GNU AGPL, version 3)
15
+
16
+ 1. Author attribution - section 7(b).
17
+ Every copy of ucode, and every modified version of it, must keep the
18
+ author attribution
19
+
20
+ made and tested by om dixit
21
+
22
+ in the Appropriate Legal Notices it displays (sections 0 and 5(d) of the
23
+ licence) - in ucode, the header, the start screen and /help - and must
24
+ keep this NOTICE file.
25
+
26
+ 2. Origin - section 7(c).
27
+ A modified version must not be presented as the original or as the work
28
+ of Om Dixit, and must be marked in a reasonable way as changed from it,
29
+ for example in its name or version and in this NOTICE file.
30
+
31
+ 3. Names - section 7(e).
32
+ No right is granted to use the names "ucode" or "ucode agent", or ucode's
33
+ logo, as the name or mark of another work.
34
+
35
+
36
+ OTHER LICENCES IN THIS REPOSITORY
37
+
38
+ - templates/ and skills/ - what ucode copies into the apps people build -
39
+ are under MIT No Attribution (templates/LICENSE, skills/LICENSE), so those
40
+ apps belong wholly to whoever builds them.
41
+ - The documentation (README.md, CONTRIBUTING.md) is under Creative Commons
42
+ Attribution 4.0 International (LICENSE-DOCS).
43
+ - Code adapted from other projects keeps its own licence: see
44
+ THIRD_PARTY_NOTICES.md.
45
+ - Releases up to and including 1.66.0 were released under MIT OR Apache-2.0,
46
+ and those releases stay under those licences.
47
+ - Contributing: see CONTRIBUTING.md.
package/README.md CHANGED
@@ -4,6 +4,24 @@ A coding agent that lives in your terminal. It reads your code, edits it, runs
4
4
  your commands, and keeps every conversation on disk. It runs on Google's
5
5
  Gemini models, free with a key.
6
6
 
7
+ ## At a glance
8
+
9
+ | | |
10
+ | --- | --- |
11
+ | **Builds** | a whole app in about a minute, from a starter that already works, opened for you when it does |
12
+ | **Thinks** | a thinking level per step — cheap on easy steps, more on the plan, most when a fix has failed |
13
+ | **Designs** | its own tone, typefaces and accent for every app, and a check that sends the generated look back |
14
+ | **Checks** | types, syntax, related tests, the running server's errors, and the page itself — opened and clicked |
15
+ | **Fixes** | sends problems back to the model, tries a different approach when a fix fails, learns the common ones |
16
+ | **Edits real code** | finds the code first, smallest change in the code's own style; renames by code shape |
17
+ | **Undoes** | `/undo [n]` puts the whole project back, including what commands changed |
18
+ | **Git** | `/diff`, `/commit` with a written message, `/review` for bugs |
19
+ | **Extends** | MCP servers, hooks, skills, your own slash commands |
20
+ | **Pops up** | type `/` for a live list of commands; questions, pickers, `/help`, `/stats`, `/mcp` and the rest open over the input box, not in the chat |
21
+ | **Restyles** | itself and your terminal, when you ask: "make ucode orange and my terminal navy" |
22
+ | **Automates** | `ucode -p "task" --json` for scripts and CI; `npm run eval` runs ten real jobs |
23
+ | **Stays free** | Gemini's free tier, paced to its per-minute limit — or Ollama, offline |
24
+
7
25
  It opens on a quiet screen — the name, the place to type, and the version in the
8
26
  corner:
9
27
 
@@ -17,9 +35,9 @@ corner:
17
35
 
18
36
 
19
37
  ╭──────────────────────────────────────────────────────────────────────────────╮
20
- │ › Ask anything… │
38
+ │ Ask anything… │
21
39
  │ │
22
- │ BUILD North Mini Code 0% │
40
+ │ BUILD Gemini 3.5 Flash-Lite 0% │
23
41
  ╰──────────────────────────────────────────────────────────────────────────────╯
24
42
 
25
43
  try build me a landing page for a coffee shop
@@ -27,7 +45,7 @@ corner:
27
45
  add a dark mode toggle that remembers the choice
28
46
 
29
47
 
30
- v1.62.7
48
+ made and tested by om dixit · v1.67.0
31
49
  ```
32
50
 
33
51
  A light crosses the wordmark once as it opens, and the three lines under the box
@@ -47,9 +65,9 @@ change, an arrow to run.
47
65
  The dashboard is at http://localhost:3000, and `npm run dev` brings it back up.
48
66
 
49
67
  ╭──────────────────────────────────────────────────────────────────────────────────╮
50
- │ › now add a dark mode toggle │
68
+ │ now add a dark mode toggle │
51
69
  │ │
52
- │ BUILD North Mini Code 4% │
70
+ │ BUILD Gemini 3.5 Flash-Lite 4% │
53
71
  ╰──────────────────────────────────────────────────────────────────────────────────╯
54
72
  ```
55
73
 
@@ -101,7 +119,7 @@ When Google is overloaded and Flash-Lite stops answering, ucode carries on with
101
119
 
102
120
  ## What it does
103
121
 
104
- **Twenty-one tools.** `create_app`, `read_file`, `read_files`, `write_file`,
122
+ **Twenty-one tools, and any MCP server you add.** `create_app`, `read_file`, `read_files`, `write_file`,
105
123
  `batch_write`, `edit_file`, `multi_edit`, `edit_files`, `rename_symbol`,
106
124
  `find_symbol`, `outline`, `type_of`, `add_block`, `list_dir`, `glob`, `grep`,
107
125
  `run_command`, `run_commands`, `look_at_app`, `web_search`, `deploy`. Read-only
@@ -253,7 +271,7 @@ check and a screenshot; the only way to find out is to press something.
253
271
 
254
272
  It also reports console errors, failed requests, content that spills off a
255
273
  phone screen, broken images and unlabeled controls, saves screenshots to
256
- `.ucode/screenshots`, and has Nemotron Nano Omni review them the way a designer
274
+ `.ucode/screenshots`, and has Gemini review them the way a designer
257
275
  would. The model fixes what it finds before calling the app done. Both widths load at once, and the designer review — the slow part — runs
258
276
  on the first look at an app in each request and is skipped, not waited on, when
259
277
  the vision model is busy. The look after the fixes re-runs only the fast checks:
@@ -372,6 +390,7 @@ Everything after the frontmatter is the instruction.
372
390
  | `/init` | read the project and write its `UCODE.md` |
373
391
  | `/mcp` | connected MCP servers and their tools |
374
392
  | `/permissions [ask\|auto]` | ask before every command, or run them; what is always allowed |
393
+ | `/theme [what]` | change how ucode or your terminal looks — or just ask in words |
375
394
  | `/look [url]` | open the running app and report what is on the page |
376
395
  | `/deploy [folder]` | put the app online and get its link |
377
396
  | `/mic` | say what you want instead of typing it — same as `ctrl+t` |
@@ -387,6 +406,29 @@ Everything after the frontmatter is the instruction.
387
406
  `↑ ↓` scroll the conversation, or walk history once you are typing ·
388
407
  `tab` completes a command
389
408
 
409
+ Type `/` and the commands pop up over the input box, narrowing as you type:
410
+ `↑ ↓` to choose, `enter` to run, `tab` to fill it in and add more, `esc` to close.
411
+ The rest opens there too, not in the chat — the model and conversation
412
+ pickers, `/help`, `/stats`, `/doctor`, `/mcp`, `/permissions`, `/skills`,
413
+ `/theme`, `/diff` (`↑ ↓` scrolls, `esc` closes) — and every question before a
414
+ command runs: `y`, `n` or `a` (always) then `enter`, or the arrows then
415
+ `enter`. `enter` on its own is no, and anything else you type is sent as a
416
+ message, so a question that pops up mid-sentence is never answered by it.
417
+
418
+ ```
419
+ ╭──────────────────────────────────────────────────────────────────────────╮
420
+ │ /stats time, steps and tokens this session │
421
+ │ /skills what ucode knows how to do │
422
+ │ enter runs · tab completes · esc closes │
423
+ ╰──────────────────────────────────────────────────────────────────────────╯
424
+
425
+ ╭──────────────────────────────────────────────────────────────────────────╮
426
+ │ /s │
427
+ │ │
428
+ │ BUILD Gemini 3.5 Flash-Lite 4% │
429
+ ╰──────────────────────────────────────────────────────────────────────────╯
430
+ ```
431
+
390
432
  ### Speak instead of typing
391
433
 
392
434
  Press `ctrl+t` (or click `mic`, or type `/mic`) and say what you want —
@@ -399,6 +441,32 @@ Recording uses what the computer already has: Windows' built-in recorder, `sox`
399
441
  or `ffmpeg` on macOS (`brew install sox`), `arecord` or `sox` on Linux. If a
400
442
  quiet mic is taken for silence, set `UCODE_MIC_QUIET` lower than 800.
401
443
 
444
+ ### Change how it looks — and your terminal
445
+
446
+ Just ask: "make ucode orange with the arc spinner", "make my terminal navy
447
+ with a bigger font", "make the terminal a bit see-through". Or use `/theme`:
448
+
449
+ ```
450
+ /theme what it looks like now, and the choices
451
+ /theme orange a new colour at once (a name, #ff8c2b, or rgb(...))
452
+ /theme reset ucode's own blue again
453
+ /theme terminal reset the terminal back the way it was
454
+ ```
455
+
456
+ ucode's look is saved in `~/.ucode/theme.json` — accent and spinner (`dots`,
457
+ `line`, `arc`, `circle`, `square`, `bounce`, `pulse`, `star`) — so it survives
458
+ restarts and updates. The credit under the logo, "made and tested by om
459
+ dixit", always stays: no look changes it.
460
+
461
+ The terminal is changed the way each one allows, after you say yes:
462
+
463
+ | Terminal | What changes | How long |
464
+ | --- | --- | --- |
465
+ | Windows Terminal | background, text, cursor, font, size, opacity — a background picture comes off so the colour shows | kept, every tab (the old settings are backed up) |
466
+ | Terminal.app (macOS) | background, text, cursor, font, size | this window |
467
+ | iTerm2 (macOS) | background, text, cursor | this session |
468
+ | Linux, VS Code and others | background, text, cursor | this session |
469
+
402
470
  ### Your own commands
403
471
 
404
472
  A file `.ucode/commands/explain.md` (or `~/.ucode/commands/` for every
@@ -448,7 +516,7 @@ ucode -p "make a quiz app" --json --yes one JSON line: ok, answer, files, ste
448
516
 
449
517
  Progress goes to stderr. With no `--yes`, anything that would be asked is declined.
450
518
  `npm run eval` runs ten real jobs this way and checks each one — use it before
451
- a release (it spends about 100 free requests).
519
+ a release (it spends about 30 free requests, and takes about seven minutes).
452
520
 
453
521
  ### Other models
454
522
 
@@ -499,7 +567,12 @@ ucode [options]
499
567
 
500
568
  | | |
501
569
  | --- | --- |
502
- | `~/.ucode/.env` | `UCODE_API_KEY`, and `TAVILY_API_KEY` for web search |
570
+ | `~/.ucode/.env` | `GEMINI_API_KEY`, and `TAVILY_API_KEY` for web search |
571
+ | `~/.ucode/settings.json`, `.ucode/settings.json` | permissions, always-allowed commands, hooks |
572
+ | `~/.ucode/mcp.json`, `.ucode/mcp.json` | MCP servers |
573
+ | `.ucode/commands/*.md` | your own slash commands |
574
+ | `~/.ucode/snapshots/` | the project before each turn, for `/undo` |
575
+ | `~/.ucode/lessons.json` | mistakes ucode keeps catching, warned about next time |
503
576
  | `~/.ucode/sessions/` | one JSON per conversation |
504
577
  | `.ucode/skills/` | skills belonging to a project |
505
578
  | `UCODE.md` | project memory, read every turn |
@@ -529,6 +602,13 @@ src/core/window.js folding a long conversation to fit
529
602
  src/core/skills.js loading skills, and deciding which load themselves
530
603
  src/core/context.js the project map and project memory
531
604
  src/core/failure.js one error shape: what, why, what next
605
+ src/core/scope.js what a request carries: build scope, design direction, edit rules
606
+ src/core/genericcheck.js the check for a generated-looking design
607
+ src/core/lessons.js mistakes counted across sessions, warned about up front
608
+ src/core/snapshot.js the project before every turn, for /undo
609
+ src/core/settings.js permissions, always-allow, hooks, project trust
610
+ src/core/mcp.js the MCP client: stdio and HTTP servers, no SDK
611
+ src/core/headless.js ucode -p: one job, no keyboard
532
612
  src/tools/ the twenty-one tools, plus their shared plumbing
533
613
  src/ui/screen.js the full-screen interface
534
614
  src/ui/plain.js the same interface for when there is no terminal
@@ -560,14 +640,25 @@ your edits stop taking effect.
560
640
 
561
641
  The tests need no network and no framework — `node test/run.js` runs them all.
562
642
 
643
+ Contributions are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md) (sign off
644
+ with `git commit -s`).
645
+
563
646
  ## Licence
564
647
 
565
- Dual-licensed under either of, at your option:
648
+ ucode is free software under the **GNU AGPL v3** ([LICENSE](LICENSE)) with
649
+ three additional terms ([NOTICE](NOTICE)): every copy and every changed version
650
+ keeps the credit "made and tested by om dixit" on screen, a changed version is
651
+ marked as changed, and the ucode name and logo stay ucode's.
566
652
 
567
- - MIT — see [LICENSE](LICENSE)
568
- - Apache License 2.0 — see [LICENSE-APACHE](LICENSE-APACHE)
653
+ | What | Licence |
654
+ | --- | --- |
655
+ | ucode's code | AGPL-3.0-only, with the terms in [NOTICE](NOTICE) |
656
+ | `templates/` and `skills/` — what goes into the apps you build | [MIT No Attribution](templates/LICENSE) — the apps are yours, no credit needed |
657
+ | The documentation | [CC BY 4.0](LICENSE-DOCS) |
658
+ | Code adapted from other projects | its own — see [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) |
659
+ | Releases up to 1.66.0 | MIT OR Apache-2.0, unchanged |
569
660
 
570
- Made with ❤️ by om dixit.
661
+ Contributions: [CONTRIBUTING.md](CONTRIBUTING.md).
571
662
 
572
663
  The edit matchers, the summary template, the context-overflow and transient-error
573
664
  patterns and tool-name repair are adapted from