stop manual registration
This commit is contained in:
10
index.ts
10
index.ts
@@ -259,16 +259,6 @@ export default function ralpiLoopExtension(pi: ExtensionAPI): void {
|
|||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
// Register the extension's prompts/ directory so Pi discovers @task-manager
|
|
||||||
pi.on("resources_discover", async (_event, _ctx) => {
|
|
||||||
const promptsDir = fs.existsSync(path.resolve(__dirname, "prompts"))
|
|
||||||
? path.resolve(__dirname, "prompts")
|
|
||||||
: path.resolve(__dirname, "..", "prompts");
|
|
||||||
return {
|
|
||||||
promptPaths: [promptsDir],
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
pi.registerCommand("ralpi", {
|
pi.registerCommand("ralpi", {
|
||||||
description:
|
description:
|
||||||
"Execute tasks from a task file using DAG-based dependency resolution",
|
"Execute tasks from a task file using DAG-based dependency resolution",
|
||||||
|
|||||||
Reference in New Issue
Block a user