@xfe-repo/cli-plugin-ai-rules 2.0.5 → 2.0.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/CHANGELOG.md +18 -0
- package/dist/pipeline.js +3 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @xfe-repo/cli-plugin-ai-rules
|
|
2
2
|
|
|
3
|
+
## 2.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 修复窗口高度计算问题
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @xfe-repo/cli-plugin-git@2.0.7
|
|
10
|
+
- @xfe-repo/cli-core@2.0.8
|
|
11
|
+
|
|
12
|
+
## 2.0.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 优化体验
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
- @xfe-repo/cli-plugin-git@2.0.6
|
|
19
|
+
- @xfe-repo/cli-core@2.0.7
|
|
20
|
+
|
|
3
21
|
## 2.0.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/pipeline.js
CHANGED
|
@@ -127,7 +127,9 @@ export async function checkSyncStatus(ctx, config) {
|
|
|
127
127
|
return false;
|
|
128
128
|
const git = ctx.inject('git');
|
|
129
129
|
const cachePath = getCachePath(config.source);
|
|
130
|
-
await git.pull(ctx, { cwd: cachePath });
|
|
130
|
+
const pullSuccess = await git.pull(ctx, { cwd: cachePath });
|
|
131
|
+
if (!pullSuccess)
|
|
132
|
+
return false;
|
|
131
133
|
if ((await git.latestHash({ cwd: cachePath })) !== storeState.lastRemoteHash)
|
|
132
134
|
return false;
|
|
133
135
|
const lastHashes = storeState.lastSyncHash ?? {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xfe-repo/cli-plugin-ai-rules",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "XFE AI Rules plugin - sync AI coding rules from remote repo to IDE configs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"fs-extra": "^11.3.0",
|
|
10
10
|
"gray-matter": "^4.0.3",
|
|
11
11
|
"zod": "^4.3.6",
|
|
12
|
-
"@xfe-repo/cli-core": "2.0.
|
|
13
|
-
"@xfe-repo/cli-plugin-git": "2.0.
|
|
12
|
+
"@xfe-repo/cli-core": "2.0.8",
|
|
13
|
+
"@xfe-repo/cli-plugin-git": "2.0.7"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/fs-extra": "^11.0.4",
|