oc-pilot 0.124.1 → 0.125.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/mcp.js CHANGED
@@ -1680,6 +1680,7 @@ const TOOLS = [
1680
1680
  ref: { type: "string", description: "Checkpoint label or commit" },
1681
1681
  id: { type: "string", description: "Flight session id; defaults to the latest flight" },
1682
1682
  force: { type: "boolean", description: "Restore over a dirty worktree" },
1683
+ dry_run: { type: "boolean", description: "Report files without restoring" },
1683
1684
  ...RESULT_PROPERTIES,
1684
1685
  },
1685
1686
  },
@@ -4543,6 +4544,8 @@ async function callFlightRestore(input, cwd) {
4543
4544
  args.push("--id", id);
4544
4545
  if (booleanArg(input, "force"))
4545
4546
  args.push("--force");
4547
+ if (booleanArg(input, "dry_run"))
4548
+ args.push("--dry-run");
4546
4549
  return toToolResult(await runCli(args, cwd));
4547
4550
  }
4548
4551
  async function callFlightExport(input, cwd) {