pi-canary 1.2.0 → 1.3.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/extensions/index.ts +1 -0
- package/package.json +1 -1
- package/skills/canary-help/SKILL.md +12 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./canary.ts";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-canary",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "Pi extension: silently verifies agent context awareness every turn using hidden canary tokens. KV-cache friendly.",
|
|
5
5
|
"keywords": ["pi-package", "pi", "pi-coding-agent", "extension", "context-awareness", "canary", "safety", "verification", "local-llm"],
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,9 +36,18 @@ injected into the conversation history. Passed = proceed; failed = warning.
|
|
|
36
36
|
|
|
37
37
|
**Persistent** (survives restarts): edit `canary.json` in the extensions directory.
|
|
38
38
|
|
|
39
|
-
The config lives next to the extension file and is auto-created on first load:
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
The config lives next to the extension file and is auto-created on first load — look in these locations:
|
|
40
|
+
|
|
41
|
+
1. **NPM install** (check `~/.pi/agent/npm/package.json`):
|
|
42
|
+
- `~/.pi/agent/npm/node_modules/pi-canary/extensions/canary.json`
|
|
43
|
+
2. **Git install**:
|
|
44
|
+
- `~/.pi/agent/git/github.com/sebaxzero/pi-canary/extensions/canary.json`
|
|
45
|
+
3. **Extensions directory**:
|
|
46
|
+
- `~/.pi/agent/extensions/pi-canary/extensions/canary.json`
|
|
47
|
+
4. **Local install** (in the project, same structure as global but relative):
|
|
48
|
+
- `./.pi/agent/npm/node_modules/pi-canary/extensions/canary.json` (npm)
|
|
49
|
+
- `./.pi/agent/git/github.com/sebaxzero/pi-canary/extensions/canary.json` (git)
|
|
50
|
+
- `./.pi/agent/extensions/pi-canary/extensions/canary.json` (direct)
|
|
42
51
|
|
|
43
52
|
Example `canary.json`:
|
|
44
53
|
```json
|