@ian-pascoe/pi-guardian 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +207 -0
- package/package.json +59 -0
- package/skills/pi-guardian/SKILL.md +24 -0
- package/src/guardian-assessment.ts +118 -0
- package/src/guardian-audit.ts +169 -0
- package/src/guardian-calibration.ts +32 -0
- package/src/guardian-command.ts +104 -0
- package/src/guardian-dialog.ts +83 -0
- package/src/guardian-evidence.ts +370 -0
- package/src/guardian-extension.ts +398 -0
- package/src/guardian-gate.ts +608 -0
- package/src/guardian-menu.ts +556 -0
- package/src/guardian-pi-resources.ts +46 -0
- package/src/guardian-prompt.ts +104 -0
- package/src/guardian-rendering.ts +240 -0
- package/src/guardian-review.ts +215 -0
- package/src/guardian-root-registry.ts +77 -0
- package/src/guardian-settings.ts +232 -0
- package/src/index.ts +1 -0
- package/src/safe-command.ts +147 -0
- package/src/sensitive-paths.ts +205 -0
- package/src/tool-policy.ts +94 -0
- package/src/troubleshooting-skill.ts +9 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { fileURLToPath } from "node:url";
|
|
2
|
+
|
|
3
|
+
/** Absolute path of this package's user-invoked troubleshooting Skill. */
|
|
4
|
+
export const TROUBLESHOOTING_SKILL_PATH = fileURLToPath(
|
|
5
|
+
new URL("../skills/pi-guardian/SKILL.md", import.meta.url),
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
/** Model-facing pointer appended to failures this package's Skill diagnoses. */
|
|
9
|
+
export const TROUBLESHOOTING_HINT = `For diagnosis, read the pi-guardian troubleshooting Skill at ${TROUBLESHOOTING_SKILL_PATH}.`;
|