@standardagents/code 0.1.2 → 0.1.3
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/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -478,10 +478,6 @@ function gradientText(text, phase = 0) {
|
|
|
478
478
|
}
|
|
479
479
|
return out + "\x1B[0m";
|
|
480
480
|
}
|
|
481
|
-
function gradientArt(lines) {
|
|
482
|
-
const n = Math.max(1, lines.length - 1);
|
|
483
|
-
return lines.map((line, i) => gradientText(line, i / n * 0.55));
|
|
484
|
-
}
|
|
485
481
|
|
|
486
482
|
// src/bridge.ts
|
|
487
483
|
var PATH_ARG_TOOLS = /* @__PURE__ */ new Set(["read_file", "grep", "glob", "write_file", "edit_file"]);
|
|
@@ -3874,11 +3870,10 @@ function printWelcome(endpoint, projectDir) {
|
|
|
3874
3870
|
`${c.dim}${dir}${c.reset}`
|
|
3875
3871
|
];
|
|
3876
3872
|
const markWidth = Math.max(...LOGO_MARK.map((l) => [...l].length));
|
|
3877
|
-
const gradMark = gradientArt(LOGO_MARK);
|
|
3878
3873
|
const metaTop = Math.floor((LOGO_MARK.length - meta.length) / 2);
|
|
3879
3874
|
stdout.write("\n");
|
|
3880
3875
|
for (let i = 0; i < LOGO_MARK.length; i++) {
|
|
3881
|
-
const glyph =
|
|
3876
|
+
const glyph = LOGO_MARK[i].padEnd(markWidth);
|
|
3882
3877
|
const line = meta[i - metaTop];
|
|
3883
3878
|
stdout.write(`${pad}${glyph}${line ? ` ${line}` : ""}
|
|
3884
3879
|
`);
|