promptgraph-mcp 2.9.0 → 2.9.1
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/tui.js +2 -1
package/package.json
CHANGED
package/tui.js
CHANGED
|
@@ -154,9 +154,10 @@ function render(state, installedSet = new Set()) {
|
|
|
154
154
|
const nameStr = truncate(item.name, NAME_W);
|
|
155
155
|
const namePad = nameStr.padEnd(NAME_W);
|
|
156
156
|
const nameCol = selected ? white.bold(namePad) : white(namePad);
|
|
157
|
+
const installed = installedSet.has(item.id) || installedSet.has(item.code);
|
|
157
158
|
const extra = item.type === 'bundle'
|
|
158
159
|
? item.skillCount
|
|
159
|
-
? blue((item.skillCount + ' sk').padEnd(8))
|
|
160
|
+
? blue(((installed ? '' : '~') + item.skillCount + ' sk').padEnd(8))
|
|
160
161
|
: item.repo_url
|
|
161
162
|
? chalk.hex('#3B82F6')('↗ GitHub')
|
|
162
163
|
: dim(((item.skills?.length || 0) + ' sk').padEnd(8))
|