Speed up install with --prefer-offline --no-audit --no-fund, fix postinstall path resolution

Install down from 60s to ~10s. Core packages only (11), heavy optional
packages available via feynman packages install.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Advait Paliwal
2026-03-23 22:17:51 -07:00
parent 8a409bcfc8
commit e73743d407
13 changed files with 332 additions and 16 deletions

View File

@@ -98,6 +98,8 @@ export const cliCommandSections = [
{
title: "Utilities",
commands: [
{ usage: "feynman packages list", description: "Show core and optional Pi package presets." },
{ usage: "feynman packages install <preset>", description: "Install optional package presets on demand." },
{ usage: "feynman search status", description: "Show Pi web-access status and config path." },
{ usage: "feynman update [package]", description: "Update installed packages, or a specific package." },
],
@@ -118,7 +120,7 @@ export const legacyFlags = [
{ usage: "--setup-preview", description: "Alias for `feynman setup preview`." },
];
export const topLevelCommandNames = ["alpha", "chat", "doctor", "help", "model", "search", "setup", "status", "update"];
export const topLevelCommandNames = ["alpha", "chat", "doctor", "help", "model", "packages", "search", "setup", "status", "update"];
export function formatSlashUsage(command) {
return `/${command.name}${command.args ? ` ${command.args}` : ""}`;