servicemap 0.1.19 → 0.1.21
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/bin/servicemap.mjs +3 -2
- package/package.json +1 -1
package/bin/servicemap.mjs
CHANGED
|
@@ -298,6 +298,7 @@ const additionalAgentWindowSize = 8;
|
|
|
298
298
|
const dim = (value) => `\x1b[2m${value}\x1b[22m`;
|
|
299
299
|
const green = (value) => `\x1b[32m${value}\x1b[39m`;
|
|
300
300
|
const cyan = (value) => `\x1b[36m${value}\x1b[39m`;
|
|
301
|
+
const gold = (value) => `\x1b[33m${value}\x1b[39m`;
|
|
301
302
|
let stableSourceStatus = '';
|
|
302
303
|
|
|
303
304
|
function timelineStep(text) {
|
|
@@ -325,7 +326,7 @@ function renderSurvey(selected, cursor) {
|
|
|
325
326
|
timelineActive('Which agents do you want to install Servicemap to?');
|
|
326
327
|
timelineLine('Universal (.agents/skills) — always included');
|
|
327
328
|
for (const agent of universalAgents.slice(0, visibleUniversalLimit)) {
|
|
328
|
-
timelineLine(
|
|
329
|
+
timelineLine(`${green('•')} ${agent}`);
|
|
329
330
|
}
|
|
330
331
|
const hiddenUniversalCount = universalAgents.length - visibleUniversalLimit;
|
|
331
332
|
if (hiddenUniversalCount > 0) {
|
|
@@ -435,7 +436,7 @@ async function withSpinner(message, action, minimumMs = 1400) {
|
|
|
435
436
|
let dots = '';
|
|
436
437
|
const startedAt = Date.now();
|
|
437
438
|
const nextText = () => {
|
|
438
|
-
const text = `${dim('│')} ${frames[frame]} ${message}${dots}`;
|
|
439
|
+
const text = `${dim('│')} ${gold(frames[frame])} ${message}${dots}`;
|
|
439
440
|
frame = (frame + 1) % frames.length;
|
|
440
441
|
if (frame === 0) dots = dots.length >= 5 ? '' : `${dots}.`;
|
|
441
442
|
return text;
|