ucode-agent 1.17.0 → 1.18.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 +1 -1
- package/src/core/loop.js +13 -7
- package/src/ui/screen.js +3 -1
package/package.json
CHANGED
package/src/core/loop.js
CHANGED
|
@@ -458,13 +458,19 @@ function systemPrompt({ cwd, skills, mode, check, map, memory }) {
|
|
|
458
458
|
'already contains it. Do not re-check work the checks have already reported on.',
|
|
459
459
|
'Fast is not sloppy: it is the same work with the waiting taken out.',
|
|
460
460
|
'',
|
|
461
|
-
'
|
|
462
|
-
'
|
|
463
|
-
'
|
|
464
|
-
'
|
|
465
|
-
'
|
|
466
|
-
'
|
|
467
|
-
'
|
|
461
|
+
'SPEAK AS "I", NEVER "WE". You are doing this, not a committee: "I will build',
|
|
462
|
+
'Tide as a single HTML file", not "we have created the file".',
|
|
463
|
+
'',
|
|
464
|
+
'Say three or four things over a whole build, not one per step:',
|
|
465
|
+
' - Open with what you are going to make and how, in one line, before anything',
|
|
466
|
+
' else: "I will build Tide as a single HTML file - markup, one stylesheet, one',
|
|
467
|
+
' module - with the tasks kept in localStorage."',
|
|
468
|
+
' - One line when you move between the big pieces of work: "The layout is done,',
|
|
469
|
+
' now the animations."',
|
|
470
|
+
' - One line at the end saying what it does and how to try it.',
|
|
471
|
+
'That is all. A line before every tool call is not narration, it is noise: the',
|
|
472
|
+
'steps already show on screen, and repeating them in words buries the few',
|
|
473
|
+
'sentences worth reading.',
|
|
468
474
|
'',
|
|
469
475
|
'FIRST, EVERY TIME: write one short line saying what you are about to do, then',
|
|
470
476
|
'make the tool calls. Never open a turn with a tool call and no words. Examples:',
|
package/src/ui/screen.js
CHANGED
|
@@ -571,7 +571,9 @@ export class Screen {
|
|
|
571
571
|
if (line.length < 12) return; // "Okay." tells nobody anything
|
|
572
572
|
|
|
573
573
|
this.openedWith = line;
|
|
574
|
-
this
|
|
574
|
+
// Full strength: this is the model talking, and it is the thing on the page
|
|
575
|
+
// worth reading. The dimmed lines around it are the machinery.
|
|
576
|
+
this.push(' ' + chalk.white(clip(line, Math.max(30, this.width() - 6))));
|
|
575
577
|
}
|
|
576
578
|
|
|
577
579
|
thinkingEnd() {
|