UNPKG

aiwg

Version:

Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo

31 lines 1.17 kB
/** * Generic subsystem CLI runner. * * Provides path/list/get/put/delete/append-log subcommands for any * storage subsystem. Used by `aiwg memory` (#966), `aiwg reflections` * (#967), and any future per-subsystem CLI wrappers — keeping the * shared logic in one place rather than duplicating it. * * Each subsystem-specific CLI is a 5-line wrapper: * * import { runSubsystemCli } from '../storage/subsystem-cli.js'; * export async function main(args: string[]): Promise<void> { * await runSubsystemCli('memory', args); * } * * @design @.aiwg/architecture/storage-design.md (§4) * @issue #934 * @issue #966 * @issue #967 */ import { type SubsystemKey } from './index.js'; /** * Display name for the subsystem when printed in `aiwg <subsystem> path` * output and usage strings. Defaults to the subsystem key. */ export interface SubsystemCliOptions { /** Override printed-name in error messages and usage. Default: subsystem key. */ displayName?: string; } export declare function runSubsystemCli(subsystem: SubsystemKey, args: string[], opts?: SubsystemCliOptions): Promise<void>; //# sourceMappingURL=subsystem-cli.d.ts.map