@liangjie559567/ultrapower 5.5.22 → 5.5.23

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.
@@ -8,11 +8,11 @@
8
8
  {
9
9
  "name": "ultrapower",
10
10
  "description": "Disciplined multi-agent orchestration: workflow enforcement + parallel execution",
11
- "version": "5.5.22",
11
+ "version": "5.5.23",
12
12
  "source": {
13
13
  "source": "npm",
14
14
  "package": "@liangjie559567/ultrapower",
15
- "version": "5.5.22"
15
+ "version": "5.5.23"
16
16
  },
17
17
  "author": {
18
18
  "name": "liangjie559567"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ultrapower",
3
3
  "description": "Disciplined multi-agent orchestration: workflow enforcement + parallel execution",
4
- "version": "5.5.22",
4
+ "version": "5.5.23",
5
5
  "author": {
6
6
  "name": "liangjie559567"
7
7
  },
@@ -19,6 +19,5 @@
19
19
  "claudecode",
20
20
  "anthropic",
21
21
  "llm"
22
- ],
23
- "skills": "skills"
22
+ ]
24
23
  }
@@ -31,7 +31,7 @@ export declare const stateTools: ({
31
31
  required: string[];
32
32
  };
33
33
  handler: (args: {
34
- mode: "swarm" | "ralph" | "autopilot" | "ultrapilot" | "team" | "ultrawork" | "pipeline" | "ralplan" | "ultraqa";
34
+ mode: "ultrawork" | "swarm" | "ralph" | "autopilot" | "ultrapilot" | "team" | "pipeline" | "ralplan" | "ultraqa";
35
35
  session_id?: string | undefined;
36
36
  workingDirectory?: string | undefined;
37
37
  }) => Promise<{
@@ -104,7 +104,7 @@ export declare const stateTools: ({
104
104
  required: string[];
105
105
  };
106
106
  handler: (args: {
107
- mode: "swarm" | "ralph" | "autopilot" | "ultrapilot" | "team" | "ultrawork" | "pipeline" | "ralplan" | "ultraqa";
107
+ mode: "ultrawork" | "swarm" | "ralph" | "autopilot" | "ultrapilot" | "team" | "pipeline" | "ralplan" | "ultraqa";
108
108
  error?: string | undefined;
109
109
  state?: Record<string, unknown> | undefined;
110
110
  session_id?: string | undefined;
@@ -197,7 +197,7 @@ export declare const stateTools: ({
197
197
  handler: (args: {
198
198
  session_id?: string | undefined;
199
199
  workingDirectory?: string | undefined;
200
- mode?: "swarm" | "ralph" | "autopilot" | "ultrapilot" | "team" | "ultrawork" | "pipeline" | "ralplan" | "ultraqa" | undefined;
200
+ mode?: "ultrawork" | "swarm" | "ralph" | "autopilot" | "ultrapilot" | "team" | "pipeline" | "ralplan" | "ultraqa" | undefined;
201
201
  }) => Promise<{
202
202
  content: Array<{
203
203
  type: "text";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liangjie559567/ultrapower",
3
- "version": "5.5.22",
3
+ "version": "5.5.23",
4
4
  "description": "Disciplined multi-agent orchestration: workflow enforcement + parallel execution",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -66,7 +66,6 @@
66
66
  "dependencies": {
67
67
  "@anthropic-ai/claude-agent-sdk": "^0.1.0",
68
68
  "@ast-grep/napi": "^0.31.0",
69
- "@liangjie559567/ultrapower": "5.5.3",
70
69
  "@modelcontextprotocol/sdk": "^1.26.0",
71
70
  "@tokscale/core": "^1.0.25",
72
71
  "@types/better-sqlite3": "^7.6.13",
@@ -30,6 +30,14 @@ export function assertVersionsSync() {
30
30
  if (new Set(versions).size !== 1) {
31
31
  throw new Error(`Version mismatch: ${JSON.stringify(v)}`);
32
32
  }
33
+
34
+ // 检查循环依赖
35
+ const pkg = JSON.parse(readFileSync(FILES.pkg, 'utf-8'));
36
+ const selfDep = pkg.dependencies?.['@liangjie559567/ultrapower'];
37
+ if (selfDep) {
38
+ throw new Error(`Circular dependency detected: package depends on itself (${selfDep})`);
39
+ }
40
+
33
41
  return versions[0];
34
42
  }
35
43
 
@@ -14,7 +14,7 @@ function run(cmd, dryRun = false) {
14
14
  console.log(`[dry-run] ${cmd}`);
15
15
  return '';
16
16
  }
17
- return execSync(cmd, { stdio: 'inherit', encoding: 'utf-8' });
17
+ return execSync(cmd, { stdio: 'pipe', encoding: 'utf-8' });
18
18
  }
19
19
 
20
20
  export async function preflight(opts = {}) {
@@ -82,14 +82,13 @@ export async function syncMarketplace(opts = {}) {
82
82
  }
83
83
 
84
84
  writeFileSync(marketplacePath, JSON.stringify(market, null, 2) + '\n');
85
- const branchName = `chore/sync-marketplace-v${version}`;
86
- run(`git checkout -b ${branchName}`, dryRun);
85
+
86
+ // 直接提交到当前分支并推送到 main
87
87
  run(`git add .claude-plugin/marketplace.json`, dryRun);
88
88
  run(`git commit -m "chore: sync marketplace.json to v${version}"`, dryRun);
89
- run(`git push origin ${branchName}`, dryRun);
90
- run(`gh pr create --base dev --title "chore: sync marketplace.json to v${version}" --body "Automated: sync marketplace.json to v${version}"`, dryRun);
89
+ run(`git push origin HEAD:main`, dryRun);
91
90
 
92
- console.log(`syncMarketplace: updated to v${version} and created PR`);
91
+ console.log(`syncMarketplace: updated to v${version} and pushed to main`);
93
92
  return { success: true };
94
93
  }
95
94
 
@@ -373,11 +373,11 @@ node -e "const p=require('path'),f=require('fs'),h=require('os').homedir(),d=pro
373
373
 
374
374
  **完整清洁重装**:
375
375
  ```bash
376
- claude plugin uninstall omc@ultrapower
376
+ claude plugin uninstall ultrapower
377
377
  rm -rf ~/.claude/plugins/npm-cache # 关键:必须清除 npm-cache
378
378
  rm -rf ~/.claude/plugins/cache/omc
379
379
  claude plugin marketplace update omc
380
- claude plugin install omc@ultrapower
380
+ claude plugin install ultrapower
381
381
  ```
382
382
 
383
383
  > ⚠️ 仅清除插件缓存不够,必须同时清除 `npm-cache`。
@@ -771,11 +771,11 @@ node -e "const p=require('path'),f=require('fs'),h=require('os').homedir(),d=pro
771
771
 
772
772
  **完整清洁重装**:
773
773
  ```bash
774
- claude plugin uninstall omc@ultrapower
774
+ claude plugin uninstall ultrapower
775
775
  rm -rf ~/.claude/plugins/npm-cache # 关键:必须清除 npm-cache
776
776
  rm -rf ~/.claude/plugins/cache/omc
777
777
  claude plugin marketplace update omc
778
- claude plugin install omc@ultrapower
778
+ claude plugin install ultrapower
779
779
  ```
780
780
 
781
781
  > ⚠️ 仅清除插件缓存不够,必须同时清除 `npm-cache`。