πŸ“„ File detail

plugins/bundled/index.ts

🧩 .tsπŸ“ 24 linesπŸ’Ύ 843 bytesπŸ“ text
← Back to All Files

🎯 Use case

This file lives under β€œplugins/”, which covers plugin host, bundled plugins, and plugin lifecycle. On the API surface it exposes initBuiltinPlugins β€” mainly functions, hooks, or classes. It composes internal code from builtinPlugins (relative imports). What the file header says: Built-in Plugin Initialization Initializes built-in plugins that ship with the CLI and appear in the /plugin UI for users to enable/disable. Not all bundled features should be built-in plugins β€” use this for features that users should be able to explicitly enable/disable. For fea.

Generated from folder role, exports, dependency roots, and inline comments β€” not hand-reviewed for every path.

🧠 Inline summary

Built-in Plugin Initialization Initializes built-in plugins that ship with the CLI and appear in the /plugin UI for users to enable/disable. Not all bundled features should be built-in plugins β€” use this for features that users should be able to explicitly enable/disable. For features with complex setup or automatic-enabling logic (e.g. claude-in-chrome), use src/skills/bundled/ instead. To add a new built-in plugin: 1. Import registerBuiltinPlugin from '../builtinPlugins.js' 2. Call registerBuiltinPlugin() with the plugin definition here

πŸ“€ Exports (heuristic)

  • initBuiltinPlugins

πŸ–₯️ Source preview

/**
 * Built-in Plugin Initialization
 *
 * Initializes built-in plugins that ship with the CLI and appear in the
 * /plugin UI for users to enable/disable.
 *
 * Not all bundled features should be built-in plugins β€” use this for
 * features that users should be able to explicitly enable/disable. For
 * features with complex setup or automatic-enabling logic (e.g.
 * claude-in-chrome), use src/skills/bundled/ instead.
 *
 * To add a new built-in plugin:
 * 1. Import registerBuiltinPlugin from '../builtinPlugins.js'
 * 2. Call registerBuiltinPlugin() with the plugin definition here
 */

/**
 * Initialize built-in plugins. Called during CLI startup.
 */
export function initBuiltinPlugins(): void {
  // No built-in plugins registered yet β€” this is the scaffolding for
  // migrating bundled skills that should be user-toggleable.
}