Add ASCII logo, spinner during install, all packages core, fix tests
- ASCII art logo on website hero and OAuth callback page - Clean spinner during postinstall instead of npm noise - pi-session-search and pi-memory moved to core (13 packages) - pi-generative-ui is the only optional package - Alpha Hub callback page branded with Feynman logo Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,9 @@ export const CORE_PACKAGE_SOURCES = [
|
||||
"npm:pi-mermaid",
|
||||
"npm:@aliou/pi-processes",
|
||||
"npm:pi-zotero",
|
||||
"npm:@kaiserlich-dev/pi-session-search",
|
||||
"npm:pi-schedule-prompt",
|
||||
"npm:@samfp/pi-memory",
|
||||
"npm:@tmustier/pi-ralph-wiggum",
|
||||
] as const;
|
||||
|
||||
@@ -19,25 +21,11 @@ export const OPTIONAL_PACKAGE_PRESETS = {
|
||||
description: "Interactive Glimpse UI widgets.",
|
||||
sources: ["npm:pi-generative-ui"],
|
||||
},
|
||||
memory: {
|
||||
description: "Cross-session memory and preference recall.",
|
||||
sources: ["npm:@samfp/pi-memory"],
|
||||
},
|
||||
"session-search": {
|
||||
description: "Indexed session recall with SQLite-backed search.",
|
||||
sources: ["npm:@kaiserlich-dev/pi-session-search"],
|
||||
},
|
||||
"all-extras": {
|
||||
description: "Install all optional packages.",
|
||||
sources: ["npm:pi-generative-ui", "npm:@samfp/pi-memory", "npm:@kaiserlich-dev/pi-session-search"],
|
||||
},
|
||||
} as const;
|
||||
|
||||
const LEGACY_DEFAULT_PACKAGE_SOURCES = [
|
||||
...CORE_PACKAGE_SOURCES,
|
||||
"npm:pi-generative-ui",
|
||||
"npm:@kaiserlich-dev/pi-session-search",
|
||||
"npm:@samfp/pi-memory",
|
||||
] as const;
|
||||
|
||||
export type OptionalPackagePresetName = keyof typeof OPTIONAL_PACKAGE_PRESETS;
|
||||
@@ -66,9 +54,6 @@ export function getOptionalPackagePresetSources(name: string): string[] | undefi
|
||||
if (normalized === "ui") {
|
||||
return [...OPTIONAL_PACKAGE_PRESETS["generative-ui"].sources];
|
||||
}
|
||||
if (normalized === "search") {
|
||||
return [...OPTIONAL_PACKAGE_PRESETS["session-search"].sources];
|
||||
}
|
||||
|
||||
const preset = OPTIONAL_PACKAGE_PRESETS[normalized as OptionalPackagePresetName];
|
||||
return preset ? [...preset.sources] : undefined;
|
||||
|
||||
Reference in New Issue
Block a user