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/CHANGELOG.md +5 -0
- package/README.md +4 -4
- package/README.ru.md +3 -3
- package/dist/commands/flight.js +3 -3
- package/dist/commands/flight.js.map +1 -1
- package/dist/core/flight.js +23 -2
- package/dist/core/flight.js.map +1 -1
- package/dist/core/flight.test.js +4 -0
- package/dist/core/flight.test.js.map +1 -1
- package/dist/mcp.js +3 -0
- package/dist/mcp.js.map +1 -1
- package/dist/mcp.test.js +1 -0
- package/dist/mcp.test.js.map +1 -1
- package/dist/version.js +1 -1
- package/docs/integrations.md +4 -4
- package/package.json +1 -1
- package/skills/agent-self-review/SKILL.md +1 -1
- package/skills/commit-discipline/SKILL.md +1 -1
- package/skills/secure-diff-gate/SKILL.md +1 -1
- package/skills/stack-review-packs/SKILL.md +1 -1
- package/skills/test-failure-triage/SKILL.md +1 -1
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) {
|