pi-git-commit 1.0.3 → 1.0.4
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/index.ts +4 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -255,6 +255,10 @@ export default function (pi: ExtensionAPI) {
|
|
|
255
255
|
return { content: [{ type: "text", text: `Commit failed: ${result.stderr}` }], details: {}, isError: true };
|
|
256
256
|
}
|
|
257
257
|
|
|
258
|
+
pi.sendMessage(
|
|
259
|
+
{ customType: "git-commit-deactivated", content: "The git_commit tool is now deactivated. It cannot be used again until the user runs /commit to re-enable it.", display: false },
|
|
260
|
+
{ deliverAs: "steer" },
|
|
261
|
+
);
|
|
258
262
|
return { content: [{ type: "text", text: `✓ Committed: ${fullMessage}` }], details: {} };
|
|
259
263
|
} finally {
|
|
260
264
|
deactivateGitCommit();
|
package/package.json
CHANGED