free-coding-models 0.3.17 → 0.3.19
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/CHANGELOG.md +26 -0
- package/README.md +11 -1
- package/package.json +1 -1
- package/src/app.js +106 -3
- package/src/command-palette.js +170 -0
- package/src/config.js +3 -3
- package/src/key-handler.js +492 -142
- package/src/openclaw.js +39 -5
- package/src/opencode.js +2 -1
- package/src/overlays.js +426 -208
- package/src/render-helpers.js +1 -1
- package/src/render-table.js +141 -177
- package/src/theme.js +294 -43
- package/src/tier-colors.js +15 -17
- package/src/tool-bootstrap.js +310 -0
- package/src/tool-launchers.js +12 -7
- package/src/ui-config.js +24 -31
package/src/render-helpers.js
CHANGED
|
@@ -110,7 +110,7 @@ export function tintOverlayLines(lines, bgColor, terminalCols = null) {
|
|
|
110
110
|
const panelWidth = terminalCols || OVERLAY_PANEL_WIDTH
|
|
111
111
|
return lines.map((line) => {
|
|
112
112
|
const text = String(line)
|
|
113
|
-
const visibleWidth =
|
|
113
|
+
const visibleWidth = displayWidth(text)
|
|
114
114
|
const padding = ' '.repeat(Math.max(0, panelWidth - visibleWidth))
|
|
115
115
|
return bgColor(text + padding)
|
|
116
116
|
})
|