mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
14 lines
544 B
TypeScript
14 lines
544 B
TypeScript
import { fileURLToPath } from "node:url";
|
|
import { createPiSubagentsExtension } from "../pi-subagents/src/index.ts";
|
|
|
|
// Bundle authority: Agent frontmatter may disable optional extensions, but it
|
|
// cannot remove the exact wrapper that deploys my-pi's permission baseline and
|
|
// binds the maintained permission-system source.
|
|
const BUNDLED_PERMISSION_EXTENSION = fileURLToPath(
|
|
new URL("./permission-system.ts", import.meta.url),
|
|
);
|
|
|
|
export default createPiSubagentsExtension({
|
|
mandatoryExtensionPaths: [BUNDLED_PERMISSION_EXTENSION],
|
|
});
|