Files
deepseek-harness/packages/util/official-bundles/src/plugin-manager.ts
T

79 lines
3.6 KiB
TypeScript

/** The package names the plugin manager protects, hides, orders, or marks experimental. */
/**
* Plugin packages the plugin manager refuses to disable or remove, because management itself needs them; a bundle that
* contains one is read-only as well. Removing a name drops only this `management-required` refusal; the manager's own
* entry, installation-carried bundles, and unaddressable rows stay protected by their own rules.
*/
export const PROTECTED_PLUGINS: ReadonlySet<string> = new Set([
'@deepseek-ai/dsh-plugin-manager', '@deepseek-ai/cordis-plugin-loader',
'@deepseek-ai/cordis-plugin-include', '@deepseek-ai/dsh-api-gateway',
'@deepseek-ai/dsh-host-webserver', '@deepseek-ai/dsh-client-modules',
'@deepseek-ai/dsh-client-ui-settings-plugin-inventory', '@deepseek-ai/dsh-client-ui-plugin-manager',
'@deepseek-ai/dsh-host-plugin-inventory', '@deepseek-ai/dsh-typert-registry',
'@deepseek-ai/dsh-api-remotes', '@deepseek-ai/dsh-api-remote-access',
'@deepseek-ai/cordis-plugin-timer', '@deepseek-ai/dsh-client-connection',
'@deepseek-ai/dsh-host-frontend-static', '@deepseek-ai/dsh-tools',
'@deepseek-ai/dsh-hmr',
])
/**
* Built-in profile bundles, persistent terminals, and the standalone worktree tool, which have no plugin manager page.
* Their Host availability and activation stay intact.
*/
export const HIDDEN_BUNDLES: ReadonlySet<string> = new Set([
'@deepseek-ai/dsh-base',
'@deepseek-ai/dsh-web-app',
'@deepseek-ai/dsh-headless',
'@deepseek-ai/dsh-sdk-app',
'@deepseek-ai/dsh-acp-app',
'@deepseek-ai/dsh-sdk-minimal',
'@deepseek-ai/dsh-experimental-terminal-bundle',
'@deepseek-ai/dsh-experimental-tool-worktree',
])
/**
* The optional bundles the plugin manager's main and More lists rank first, in this order. {@link MORE_BUNDLES}, not
* this list, decides whether a bundle appears on the main list.
*/
export const EXTENSION_BUNDLES: readonly string[] = [
'@deepseek-ai/dsh-experimental-voice-input-bundle',
'@deepseek-ai/dsh-experimental-plugin-market-bundle',
'@deepseek-ai/dsh-experimental-auto-review',
]
/**
* The optional bundles the plugin manager's main list leaves out until the profile enables them; its More list,
* which includes every eligible bundle, ranks them last in this order.
*/
export const MORE_BUNDLES: readonly string[] = [
'@deepseek-ai/dsh-personalized-recommendations',
'@deepseek-ai/dsh-experimental-inspector-profile',
'@deepseek-ai/dsh-cua-bundle',
'@deepseek-ai/dsh-experimental-cot-translation-bundle',
'@deepseek-ai/dsh-experimental-session-search',
'@deepseek-ai/dsh-experimental-session-titles-bundle',
'@deepseek-ai/dsh-experimental-badge-skill-bundle',
'@deepseek-ai/dsh-experimental-ralph-bundle',
'@deepseek-ai/dsh-subagent-codex',
'@deepseek-ai/dsh-subagent-claude-code',
]
/** Official bundles the plugin manager marks with the Experimental badge. */
export const EXPERIMENTAL_BUNDLES: ReadonlySet<string> = new Set([
'@deepseek-ai/dsh-personalized-recommendations',
'@deepseek-ai/dsh-cua-bundle',
'@deepseek-ai/dsh-experimental-voice-input-bundle',
'@deepseek-ai/dsh-experimental-auto-review',
'@deepseek-ai/dsh-experimental-inspector-profile',
'@deepseek-ai/dsh-experimental-forge-bundle',
'@deepseek-ai/dsh-experimental-tool-worktree',
'@deepseek-ai/dsh-experimental-cot-translation-bundle',
'@deepseek-ai/dsh-experimental-session-search',
'@deepseek-ai/dsh-experimental-session-titles-bundle',
'@deepseek-ai/dsh-experimental-badge-skill-bundle',
'@deepseek-ai/dsh-experimental-ralph-bundle',
'@deepseek-ai/dsh-experimental-plugin-market-bundle',
'@deepseek-ai/dsh-experimental-liveshare',
])