@r3b1s/pi-repair-layer 0.4.0 → 0.4.2

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/README.md CHANGED
@@ -8,6 +8,12 @@ same repair pipeline to tools in your own extension.
8
8
 
9
9
  No LLM calls. No network requests. No uploaded telemetry.
10
10
 
11
+ ### Example: Deepseek v4 Pro
12
+ ![deepseek-v4-pro](https://raw.githubusercontent.com/r3b1s/media-assets/refs/heads/main/pi-things/repair-dsv4pro.webp)
13
+
14
+ ### Example: GLM 5.2
15
+ ![glm-5.2](https://raw.githubusercontent.com/r3b1s/media-assets/refs/heads/main/pi-things/repair-glm5.2.webp)
16
+
11
17
  ## Contents
12
18
 
13
19
  - [Why use it?](#why-use-it)
@@ -120,6 +126,10 @@ invariants in detail.
120
126
  Tools registered by other extensions are not intercepted automatically: their
121
127
  owner must opt in at the `prepareArguments` boundary.
122
128
 
129
+ Working with a coding agent? The integration is packaged as the
130
+ [`pi-tool-repair-integration`](https://github.com/r3b1s/pi-dev-skills) agent
131
+ skill: `npx skills add r3b1s/pi-dev-skills --skill pi-tool-repair-integration`.
132
+
123
133
  ```ts
124
134
  import { adaptToolDefinition } from "@r3b1s/pi-repair-layer/pi";
125
135
 
@@ -5,6 +5,17 @@ pipeline to tools that extension owns. The usual integration is one wrapper
5
5
  around the tool definition. A lower-level core API is available when the tool
6
6
  owner needs to control the surrounding lifecycle.
7
7
 
8
+ If a coding agent is doing the integration for you, this guide is also
9
+ packaged as the
10
+ [`pi-tool-repair-integration`](https://github.com/r3b1s/pi-dev-skills/blob/main/skills/pi-tool-repair-integration/SKILL.md)
11
+ agent skill — the workflow, the optional-integration recipe as a copyable
12
+ template, the preprocessor catalog, and the both-branch testing checklist.
13
+ Install it standalone with the [skills CLI](https://github.com/vercel-labs/skills):
14
+
15
+ ```bash
16
+ npx skills add r3b1s/pi-dev-skills --skill pi-tool-repair-integration
17
+ ```
18
+
8
19
  ## Contents
9
20
 
10
21
  - [The ownership boundary](#the-ownership-boundary)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r3b1s/pi-repair-layer",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "Tool-input repair layer for the pi coding agent: validate-then-repair for built-in tool calls, ported from the behavior of commandcode's repair layer",
5
5
  "repository": {
6
6
  "type": "git",