Add 5 pi extensions: pi-subagents, pi-crew, rpiv-pi, pi-interactive-shell, pi-intercom
This commit is contained in:
25
extensions/rpiv-pi/extensions/rpiv-core/index.ts
Normal file
25
extensions/rpiv-pi/extensions/rpiv-core/index.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* rpiv-core — Pure-orchestrator extension for rpiv-pi.
|
||||
*
|
||||
* Composes session hooks and the two slash commands. All logic lives in the
|
||||
* registrar modules; this file is the table of contents.
|
||||
*
|
||||
* Tool-owning plugins are siblings (see siblings.ts); install via /rpiv-setup.
|
||||
*/
|
||||
|
||||
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
||||
import { FLAG_DEBUG } from "./constants.js";
|
||||
import { registerSessionHooks } from "./session-hooks.js";
|
||||
import { registerSetupCommand } from "./setup-command.js";
|
||||
import { registerUpdateAgentsCommand } from "./update-agents-command.js";
|
||||
|
||||
export default function (pi: ExtensionAPI) {
|
||||
pi.registerFlag(FLAG_DEBUG, {
|
||||
description: "Show injected guidance and git-context messages",
|
||||
type: "boolean",
|
||||
default: false,
|
||||
});
|
||||
registerSessionHooks(pi);
|
||||
registerUpdateAgentsCommand(pi);
|
||||
registerSetupCommand(pi);
|
||||
}
|
||||
Reference in New Issue
Block a user