feat(coding-agent): Expose edit-diff for extensions (#5756)
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
/**
|
/**
|
||||||
* Shared diff computation utilities for the edit tool.
|
* Shared diff computation utilities for the edit and similar tools.
|
||||||
* Used by both edit.ts (for execution) and tool-execution.ts (for preview rendering).
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as Diff from "diff";
|
import * as Diff from "diff";
|
||||||
|
|||||||
@@ -246,6 +246,7 @@ export {
|
|||||||
type SkillFrontmatter,
|
type SkillFrontmatter,
|
||||||
} from "./core/skills.ts";
|
} from "./core/skills.ts";
|
||||||
export { createSyntheticSourceInfo } from "./core/source-info.ts";
|
export { createSyntheticSourceInfo } from "./core/source-info.ts";
|
||||||
|
export { type EditDiffResult, generateDiffString, generateUnifiedPatch } from "./core/tools/edit-diff.ts";
|
||||||
// Tools
|
// Tools
|
||||||
export {
|
export {
|
||||||
type BashOperations,
|
type BashOperations,
|
||||||
|
|||||||
Reference in New Issue
Block a user