mirror of
https://github.com/block/goose.git
synced 2026-07-10 00:20:17 +00:00
Dead files (no importers): SessionViewComponents, RecipeNameField +
recipeNameUtils, ui/Pill, ui/sheet, ui/separator, ui/Dot, types/electron,
the providers/interfaces chain, and 26 unused icon components.
Dead feature paths: pauseQueueOnStop (hardcoded false end to end),
write-only queue sessionStorage persistence in ChatInput, unused
ChatInput props (recipe, recipeId, append), unused BaseChat props
(suppressEmptyState, onMessageSubmit, disableSearch, contentClassName,
renderHeader, customChatInputProps, customMainLayoutProps), and the
unused setActiveSessions prop on PairRouteWrapper.
Unused exports: deleted fully dead functions (clearToolsCache,
sanitizeName, createModelStruct, resumeSession, getAutoDownloadDisabled,
six analytics track* helpers, two date formatters, two AppEvents enum
members) and un-exported symbols only used within their own module.
Dependencies: removed 15 unused deps and 6 unused devDeps; added
@radix-ui/react-{collapsible,dropdown-menu,switch,tooltip}, which were
used but only available transitively through the removed
@radix-ui/themes.
Locale files: dropped translations for deleted components.
Verified with tsc, eslint, i18n:check, vitest (549 passed), and knip
(zero unused exports remain).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| .changeset | ||
| desktop | ||
| goose-binary | ||
| install-link-generator | ||
| scripts | ||
| sdk | ||
| text | ||
| .npmrc | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||