ucode-agent 1.23.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ucode-agent",
3
- "version": "1.23.0",
3
+ "version": "1.25.0",
4
4
  "description": "ucode - a terminal coding agent that reads, edits and runs your code, on NVIDIA and Cohere models.",
5
5
  "type": "module",
6
6
  "main": "ucode.js",
package/src/core/loop.js CHANGED
@@ -435,6 +435,13 @@ function systemPrompt({ cwd, skills, mode, check, map, memory }) {
435
435
  '',
436
436
  '## How to work',
437
437
  '',
438
+ 'AN APP THAT IS AWKWARD TO USE IS NOT FINISHED. Before you call it done, look at',
439
+ 'what you built as someone using it for the first time: is the button inside its',
440
+ 'field or sitting on top of it, is there room to breathe between things, does the',
441
+ 'empty state say anything, can every control be reached from the keyboard, does',
442
+ 'it hold together at 360px wide. Controls that overlap or crowd each other are a',
443
+ 'bug in the same way a crash is - fix it before you say a word about being done.',
444
+ '',
438
445
  'Before building anything, turn the request into a list of what it must do — every',
439
446
  'feature named, and the ones any user would expect whether or not they were named',
440
447
  '(an empty state, an error state, the keyboard doing the obvious thing, working on',
@@ -489,7 +496,9 @@ function systemPrompt({ cwd, skills, mode, check, map, memory }) {
489
496
  'Open with one line: I will build Tide for you - a tasks app in a single HTML',
490
497
  'file. Then one line each time you start a new piece of the work: Now the',
491
498
  'components. / Now making the filter row. / Onto the animations. Then one',
492
- 'line at the end: what it does and how to try it.',
499
+ 'line at the end saying it is done. Do not explain where the file is or how to',
500
+ 'open it - they asked for it, they know where it went, and being told reads as',
501
+ 'being talked down to.',
493
502
  '',
494
503
  'Those lines are the whole of what the user reads. They are not thinking out',
495
504
  'loud: never "I need to", never "Let me", never "The user wants", never a plan',