plugin/unifiedTypes.ts

gitingest_Gitlawb_openclaude · src/commands/plugin/unifiedTypes.ts · typescript · MIT
ai, tag:knn-classified

Type definitions for plugin installation, status, and scopes in the plugin system.

// Source: https://github.com/Gitlawb/openclaude | License: MIT | Copyright Anthropic PBC. All rights reserved
// Provided via justclaw.it.com; keep this notice with the code.
import type { MCPServerConnection, ConfigScope } from '../../services/mcp/types.js'
import type { LoadedPlugin, PluginError } from '../../types/plugin.js'
import type { PersistablePluginScope } from '../../utils/plugins/pluginIdentifier.js'

export type PluginInstalledScope = PersistablePluginScope | 'builtin'
export type UnifiedPluginScope = PluginInstalledScope | 'flagged' | ConfigScope
export type McpStatus =
  | 'connected'
  | 'disabled'
  | 'pending'
  | 'needs-auth'
  | 'failed'

export type UnifiedInstalledItem =
  | {
      type: 'plugin'
      id: string
      name: string
      description?: string
      m

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key