gsd-pi 0.2.0 → 0.2.2
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/loader.js
CHANGED
|
@@ -12,6 +12,7 @@ const pkgDir = resolve(dirname(fileURLToPath(import.meta.url)), '..', 'pkg');
|
|
|
12
12
|
// MUST be set before any dynamic import of pi SDK fires — this is what config.js
|
|
13
13
|
// reads to determine APP_NAME and CONFIG_DIR_NAME
|
|
14
14
|
process.env.PI_PACKAGE_DIR = pkgDir;
|
|
15
|
+
process.env.PI_SKIP_VERSION_CHECK = '1'; // GSD ships its own update check — suppress pi's
|
|
15
16
|
process.title = 'gsd';
|
|
16
17
|
// Print branded banner on first launch (before ~/.gsd/ exists)
|
|
17
18
|
if (!existsSync(appRoot)) {
|
package/dist/wizard.js
CHANGED
|
@@ -132,11 +132,6 @@ export async function runWizardIfNeeded(authStorage) {
|
|
|
132
132
|
process.stdout.write(`\n ${bold}Optional API keys${reset}\n` +
|
|
133
133
|
` ${dim}─────────────────────────────────────────────${reset}\n` +
|
|
134
134
|
` These unlock additional tools. All optional — press ${cyan}Enter${reset} to skip any.\n\n`);
|
|
135
|
-
// Show what each key unlocks
|
|
136
|
-
for (const key of missing) {
|
|
137
|
-
process.stdout.write(` ${dim}•${reset} ${cyan}${key.label}${reset} ${dim}— ${key.description}${reset}\n`);
|
|
138
|
-
}
|
|
139
|
-
process.stdout.write('\n');
|
|
140
135
|
// ── Prompts ─────────────────────────────────────────────────────────────────
|
|
141
136
|
let savedCount = 0;
|
|
142
137
|
for (const key of missing) {
|
package/package.json
CHANGED
|
@@ -266,8 +266,8 @@ export function makeUI(theme: Theme, width: number): UI {
|
|
|
266
266
|
optionUnselected: (num, label, description, opts = {}) => {
|
|
267
267
|
const { isCommitted = false, isFocusDimmed = false } = opts;
|
|
268
268
|
const marker = isCommitted ? theme.fg("success", ` ${GLYPH.check}`) : "";
|
|
269
|
-
const labelColor = isFocusDimmed ? "dim" : "text";
|
|
270
|
-
const descColor = isFocusDimmed ? "dim" : "muted";
|
|
269
|
+
const labelColor = isFocusDimmed ? (isCommitted ? "text" : "dim") : "text";
|
|
270
|
+
const descColor = isFocusDimmed ? (isCommitted ? "muted" : "dim") : "muted";
|
|
271
271
|
return [
|
|
272
272
|
...wrap(`${INDENT.option} ${theme.fg(labelColor, `${num}. ${label}`)}${marker}`),
|
|
273
273
|
...wrapIndented(`${INDENT.description}${theme.fg(descColor, description)}`, INDENT.description),
|
|
@@ -287,7 +287,7 @@ export function makeUI(theme: Theme, width: number): UI {
|
|
|
287
287
|
checkboxUnselected: (label, description, isChecked, isFocusDimmed = false) => {
|
|
288
288
|
const box = isChecked ? theme.fg("success", GLYPH.checkedBox) : theme.fg("dim", GLYPH.uncheckedBox);
|
|
289
289
|
const labelColor = isFocusDimmed ? (isChecked ? "text" : "dim") : "text";
|
|
290
|
-
const descColor = isFocusDimmed ? "dim" : "muted";
|
|
290
|
+
const descColor = isFocusDimmed ? (isChecked ? "muted" : "dim") : "muted";
|
|
291
291
|
return [
|
|
292
292
|
add(`${INDENT.option} ${box} ${theme.fg(labelColor, label)}`),
|
|
293
293
|
...wrapIndented(`${INDENT.description}${theme.fg(descColor, description)}`, INDENT.description),
|