@morphllm/morphsdk 0.2.97 → 0.2.99
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/{chunk-XH7P7HVT.js → chunk-7UYDS6OX.js} +2 -7
- package/dist/chunk-7UYDS6OX.js.map +1 -0
- package/dist/{chunk-PE4KGDA6.js → chunk-BKIM7SNY.js} +2 -7
- package/dist/chunk-BKIM7SNY.js.map +1 -0
- package/dist/{chunk-EZEYREHA.js → chunk-KTFRQBHZ.js} +3 -3
- package/dist/client.cjs +2 -12
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +3 -3
- package/dist/index.cjs +2 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/tools/fastapply/anthropic.cjs +1 -6
- package/dist/tools/fastapply/anthropic.cjs.map +1 -1
- package/dist/tools/fastapply/anthropic.js +1 -1
- package/dist/tools/fastapply/index.cjs +2 -12
- package/dist/tools/fastapply/index.cjs.map +1 -1
- package/dist/tools/fastapply/index.js +2 -2
- package/dist/tools/fastapply/openai.cjs +1 -6
- package/dist/tools/fastapply/openai.cjs.map +1 -1
- package/dist/tools/fastapply/openai.js +1 -1
- package/dist/tools/index.cjs +2 -12
- package/dist/tools/index.cjs.map +1 -1
- package/dist/tools/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-PE4KGDA6.js.map +0 -1
- package/dist/chunk-XH7P7HVT.js.map +0 -1
- /package/dist/{chunk-EZEYREHA.js.map → chunk-KTFRQBHZ.js.map} +0 -0
package/dist/client.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MorphClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KTFRQBHZ.js";
|
|
4
4
|
import "./chunk-OTPYEYMZ.js";
|
|
5
5
|
import "./chunk-AIXF4GQC.js";
|
|
6
6
|
import "./chunk-L5WXPMCH.js";
|
|
@@ -23,8 +23,8 @@ import "./chunk-76DJEQEP.js";
|
|
|
23
23
|
import "./chunk-WM77HRKO.js";
|
|
24
24
|
import "./chunk-YQMPVJ2L.js";
|
|
25
25
|
import "./chunk-QZNGKOCZ.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-7UYDS6OX.js";
|
|
27
|
+
import "./chunk-BKIM7SNY.js";
|
|
28
28
|
import "./chunk-CKTA4AXM.js";
|
|
29
29
|
import "./chunk-63WE2C5R.js";
|
|
30
30
|
import "./chunk-QJP62BXH.js";
|
package/dist/index.cjs
CHANGED
|
@@ -4525,12 +4525,7 @@ function formatResult3(result) {
|
|
|
4525
4525
|
return `Error editing file: ${result.error}`;
|
|
4526
4526
|
}
|
|
4527
4527
|
const { changes } = result;
|
|
4528
|
-
|
|
4529
|
-
changes.linesAdded && `+${changes.linesAdded} lines`,
|
|
4530
|
-
changes.linesRemoved && `-${changes.linesRemoved} lines`,
|
|
4531
|
-
changes.linesModified && `~${changes.linesModified} lines modified`
|
|
4532
|
-
].filter(Boolean).join(", ");
|
|
4533
|
-
return `Successfully applied changes to ${result.filepath}. ${summary}`;
|
|
4528
|
+
return `Successfully applied changes to ${result.filepath}. Added ${changes.linesAdded}, removed ${changes.linesRemoved}, modified ${changes.linesModified}.`;
|
|
4534
4529
|
}
|
|
4535
4530
|
function createEditFileTool(config = {}) {
|
|
4536
4531
|
const toolDef = {
|
|
@@ -4725,12 +4720,7 @@ function formatResult5(result) {
|
|
|
4725
4720
|
return `Error editing file: ${result.error}`;
|
|
4726
4721
|
}
|
|
4727
4722
|
const { changes } = result;
|
|
4728
|
-
|
|
4729
|
-
changes.linesAdded && `+${changes.linesAdded} lines`,
|
|
4730
|
-
changes.linesRemoved && `-${changes.linesRemoved} lines`,
|
|
4731
|
-
changes.linesModified && `~${changes.linesModified} lines modified`
|
|
4732
|
-
].filter(Boolean).join(", ");
|
|
4733
|
-
return `Successfully applied changes to ${result.filepath}. ${summary}`;
|
|
4723
|
+
return `Successfully applied changes to ${result.filepath}. Added ${changes.linesAdded}, removed ${changes.linesRemoved}, modified ${changes.linesModified}.`;
|
|
4734
4724
|
}
|
|
4735
4725
|
function createEditFileTool2(config = {}) {
|
|
4736
4726
|
const toolDef = {
|