@shipispec/tsfix 0.4.0 → 0.5.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/dist/index.d.ts CHANGED
@@ -44,6 +44,12 @@
44
44
  * - `mendSingleFile` — single-LLM-call repair via Vercel AI SDK
45
45
  * - `runMendLoop` — bounded retry with no-progress / regression detection
46
46
  * - `parseEditBlocks` / `applyEditBlocks` — Aider-style SEARCH/REPLACE applier
47
+ *
48
+ * ## Layer 4 escape hatch (v0.5.0+)
49
+ *
50
+ * - `stubAndContinue` — insert `// @ts-expect-error - tsfix: ...` above
51
+ * unresolved error sites so the workspace compiles. Opt-in: set
52
+ * `stubOnFailure: true` on `runMendLoop`, or call directly.
47
53
  */
48
54
  export { runInProcessTsc, isInProcessTscEnabled, resetInProcessTscCache } from "./validatorInProcess.js";
49
55
  export type { InProcessTscOptions, InProcessTscResult } from "./validatorInProcess.js";
@@ -186,3 +192,5 @@ export { mendSingleFile } from "./mendAgent.js";
186
192
  export type { MendSingleFileOptions, MendSingleFileResult, LLMCall } from "./mendAgent.js";
187
193
  export { runMendLoop } from "./runMendLoop.js";
188
194
  export type { RunMendLoopOptions, RunMendLoopResult, MendLoopIteration, StopReason, } from "./runMendLoop.js";
195
+ export { stubAndContinue } from "./stubAndContinue.js";
196
+ export type { StubAndContinueOptions, StubAndContinueResult, AppliedStub, SkippedStub, } from "./stubAndContinue.js";