ccg-workflow 1.7.92 → 1.7.94

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/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import cac from 'cac';
3
3
  import ansis from 'ansis';
4
- import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.OR5BVUam.mjs';
4
+ import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.Bqgh_sGZ.mjs';
5
5
  import 'inquirer';
6
6
  import 'node:child_process';
7
7
  import 'node:util';
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as changeLanguage, x as checkForUpdates, y as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, t as getCurrentVersion, v as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, k as installWorkflows, p as migrateToV1_4_0, q as needsMigration, r as readCcgConfig, s as showMainMenu, o as uninstallAceTool, n as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.OR5BVUam.mjs';
1
+ export { c as changeLanguage, x as checkForUpdates, y as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, t as getCurrentVersion, v as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, k as installWorkflows, p as migrateToV1_4_0, q as needsMigration, r as readCcgConfig, s as showMainMenu, o as uninstallAceTool, n as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.Bqgh_sGZ.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:child_process';
@@ -10,7 +10,7 @@ import { parse, stringify } from 'smol-toml';
10
10
  import i18next from 'i18next';
11
11
  import ora from 'ora';
12
12
 
13
- const version = "1.7.92";
13
+ const version = "1.7.94";
14
14
 
15
15
  function cmd(id, order, category, name, nameEn, description, descriptionEn, cmdOverride) {
16
16
  return {
@@ -625,6 +625,7 @@ async function removeFastContextPrompt() {
625
625
  await removeFromFile(join(homedir(), ".gemini", "GEMINI.md"));
626
626
  }
627
627
 
628
+ const EXPECTED_BINARY_VERSION = "5.8.0";
628
629
  const GITHUB_REPO = "fengshao1227/ccg-workflow";
629
630
  const RELEASE_TAG = "preset";
630
631
  const BINARY_SOURCES = [
@@ -932,10 +933,14 @@ async function installBinaryFile(ctx) {
932
933
  if (await fs.pathExists(destBinary)) {
933
934
  try {
934
935
  const { execSync } = await import('node:child_process');
935
- execSync(`"${destBinary}" --version`, { stdio: "pipe" });
936
- ctx.result.binPath = binDir;
937
- ctx.result.binInstalled = true;
938
- return;
936
+ const versionOutput = execSync(`"${destBinary}" --version`, { stdio: "pipe" }).toString().trim();
937
+ const installedVersion = versionOutput.replace(/^.*version\s*/, "");
938
+ const expectedVersion = EXPECTED_BINARY_VERSION;
939
+ if (installedVersion === expectedVersion) {
940
+ ctx.result.binPath = binDir;
941
+ ctx.result.binInstalled = true;
942
+ return;
943
+ }
939
944
  } catch {
940
945
  }
941
946
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccg-workflow",
3
- "version": "1.7.92",
3
+ "version": "1.7.94",
4
4
  "description": "Claude + Codex + Gemini multi-model collaboration system - smart routing development workflow",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",
@@ -2,6 +2,8 @@
2
2
 
3
3
  When working in a project, automatically invoke the corresponding quality gate skills based on the scenario below. These skills are installed at `~/.claude/skills/ccg/` and can be called directly.
4
4
 
5
+ **IMPORTANT**: Skill names do NOT have a `ccg:` prefix. Use exactly: `verify-security`, `verify-quality`, `verify-change`, `verify-module`, `gen-docs`. Do NOT call `ccg:verify-security` — that will fail with "Unknown skill".
6
+
5
7
  ## Trigger Rules
6
8
 
7
9
  ### New Module Created