zixulu 1.73.5 → 1.73.7
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/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/test.d.ts +1 -0
- package/package.json +1 -1
- package/src/utils/syncAgentRules.ts +2 -3
package/dist/index.js
CHANGED
|
@@ -4242,8 +4242,7 @@ async function sortPackageJson() {
|
|
|
4242
4242
|
async function asyncAgentRules() {
|
|
4243
4243
|
try {
|
|
4244
4244
|
const packageJson = await readPackageJson();
|
|
4245
|
-
packageJson.scripts
|
|
4246
|
-
packageJson.scripts.ucr = "npx zixulu acr";
|
|
4245
|
+
if (packageJson?.scripts?.ucr === "npx zixulu acr") packageJson.scripts.ucr = void 0;
|
|
4247
4246
|
await writePackageJson({
|
|
4248
4247
|
data: packageJson
|
|
4249
4248
|
});
|
|
@@ -4309,7 +4308,7 @@ description:
|
|
|
4309
4308
|
}
|
|
4310
4309
|
agentsRule += "\n";
|
|
4311
4310
|
await writeFile("AGENTS.md", agentsRule);
|
|
4312
|
-
return getCommitMessage("feature",
|
|
4311
|
+
return getCommitMessage("feature", `同步 Agent 规则`);
|
|
4313
4312
|
} catch (error) {
|
|
4314
4313
|
await rm(source, {
|
|
4315
4314
|
recursive: true
|