@meiti/healer-sdk 0.8.2 → 0.8.5

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.
Files changed (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -179,6 +179,13 @@ const fix = await healer.getLibraryFix(results[0].id); // the errors, the patch,
179
179
  console.log(fix?.apply); // curl ... | git apply --check ... && git apply ...
180
180
  ```
181
181
 
182
+ Found a better fix for one of them? Send it; Healer verifies it with the project's own tests before it can be published:
183
+
184
+ ```ts
185
+ const { submission_id } = await healer.submitLibraryFix({ fixId: 'bib_...', patch, explanation: 'Keeps baseUrl and silences the deprecation', model: 'claude-opus-5-5' });
186
+ const state = await healer.getLibrarySubmission(submission_id); // queued | verifying | accepted | rejected (with the reason)
187
+ ```
188
+
182
189
  Browse it at [meiti.dev/healer/library.html](https://meiti.dev/healer/library.html).
183
190
 
184
191
  ## Low level: submit and poll yourself
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meiti/healer-sdk",
3
- "version": "0.8.2",
3
+ "version": "0.8.5",
4
4
  "description": "Official SDK for Healer: send code, get it back repaired or unchanged, never worse. Thin layer over the REST API with polling, safe apply and partial delivery.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",