@ian-pascoe/pi-codemode 0.3.1 → 0.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ian-pascoe/pi-codemode",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "private": false,
5
5
  "description": "Process-isolated persistent TypeScript tool composition for Pi",
6
6
  "keywords": [
@@ -24,6 +24,7 @@
24
24
  },
25
25
  "files": [
26
26
  "src",
27
+ "skills",
27
28
  "README.md",
28
29
  "LICENSE"
29
30
  ],
@@ -50,6 +51,9 @@
50
51
  "pi": {
51
52
  "extensions": [
52
53
  "./src/index.ts"
54
+ ],
55
+ "skills": [
56
+ "./skills"
53
57
  ]
54
58
  },
55
59
  "scripts": {
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: pi-codemode
3
+ description: Configure or diagnose Pi CodeMode when tools disappear, Cells fail, Sessions reach capacity, or Exposure Modes route tools incorrectly.
4
+ license: MIT
5
+ ---
6
+
7
+ # Pi CodeMode
8
+
9
+ 1. Read the relevant Cell, Session, or Exposure Mode section of [`../../README.md`](../../README.md).
10
+ 2. Inspect disable warnings and call `codemode_sessions`.
11
+ 3. When an unused slot exists, run `return { ok: true, deno: Deno.version.deno };` in a new Cell and inspect the generated exposed-tool declarations.
12
+ 4. Classify any stable error code using that reference. Verify nested execution only with a declared, non-mutating tool.
13
+ 5. For an Exposure Mode change, compute the winning rule for the affected tool, edit the intended layer, and list live Sessions before `/reload`.
14
+ 6. Finish when the minimal Cell succeeds and the affected tool has the intended direct and CodeMode availability.
15
+
16
+ Direct availability does not imply CodeMode exposure. `/reload` destroys live Sessions and their Notebook Bindings.