@polka-codes/cli-shared 0.8.25 → 0.8.26

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -37654,14 +37654,18 @@ var handler8 = async (provider, args) => {
37654
37654
  if (result.status === "no_diff_applied") {
37655
37655
  return {
37656
37656
  type: "Error" /* Error */,
37657
- message: `<replace_in_file_result path="${path}" status="failed" message="Unable to apply changes" />`
37657
+ message: `<replace_in_file_result path="${path}" status="failed" message="Unable to apply changes">
37658
+ <file_content path="${path}">${fileContent}</file_content>
37659
+ </replace_in_file_result>`
37658
37660
  };
37659
37661
  }
37660
37662
  await provider.writeFile(path, result.content);
37661
37663
  if (result.status === "some_diff_applied") {
37662
37664
  return {
37663
37665
  type: "Reply" /* Reply */,
37664
- message: `<replace_in_file_result path="${path}" status="some_diff_applied" applied_count="${result.appliedCount}" total_count="${result.totalCount}" />`
37666
+ message: `<replace_in_file_result path="${path}" status="some_diff_applied" applied_count="${result.appliedCount}" total_count="${result.totalCount}">
37667
+ <file_content path="${path}">${result.content}</file_content>
37668
+ </replace_in_file_result>`
37665
37669
  };
37666
37670
  }
37667
37671
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli-shared",
3
- "version": "0.8.25",
3
+ "version": "0.8.26",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",