Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

711 B
Raw Blame
/**
 * Public API for opencli plugins.
 *
 * TS plugins should import from '@jackwener/opencli/registry' which resolves to
 * this file. It re-exports ONLY the core registration API — no serialization,
 * no transitive side-effects — to avoid circular dependency deadlocks when
 * plugins are dynamically imported during discoverPlugins().
 */

export { cli, Strategy, getRegistry, fullName, registerCommand } from './registry.js';
export type { CliCommand, Arg, CliOptions, CommandArgs, SiteSessionMode } from './registry.js';
export type { IPage } from './types.js';
export { onStartup, onBeforeExecute, onAfterExecute } from './hooks.js';
export type { HookFn, HookContext, HookName } from './hooks.js';