ccg-workflow 1.3.6 → 1.3.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/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 { r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, a as i18n } from './shared/ccg-workflow.D6FQGeQd.mjs';
4
+ import { r as readCcgConfig, b as initI18n, s as showMainMenu, i as init, a as i18n } from './shared/ccg-workflow.MFY9c1yE.mjs';
5
5
  import 'inquirer';
6
6
  import 'node:os';
7
7
  import 'pathe';
@@ -13,7 +13,7 @@ import 'smol-toml';
13
13
  import 'node:child_process';
14
14
  import 'node:util';
15
15
 
16
- const version = "1.3.6";
16
+ const version = "1.3.7";
17
17
 
18
18
  function customizeHelp(sections) {
19
19
  sections.unshift({
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { c as changeLanguage, q as checkForUpdates, t as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, o as getCurrentVersion, p as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, k as installWorkflows, r as readCcgConfig, s as showMainMenu, n as uninstallAceTool, m as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.D6FQGeQd.mjs';
1
+ export { c as changeLanguage, q as checkForUpdates, t as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, o as getCurrentVersion, p as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, k as installWorkflows, r as readCcgConfig, s as showMainMenu, n as uninstallAceTool, m as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.MFY9c1yE.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:os';
@@ -714,7 +714,7 @@ ${workflow.description}
714
714
  }
715
715
  }
716
716
  const agentsSrcDir = join(templateDir, "commands", "agents");
717
- const agentsDestDir = join(commandsDir, "agents");
717
+ const agentsDestDir = join(installDir, "agents", "ccg");
718
718
  if (await fs.pathExists(agentsSrcDir)) {
719
719
  try {
720
720
  await fs.ensureDir(agentsDestDir);
@@ -893,6 +893,13 @@ async function uninstallAceTool() {
893
893
  }
894
894
  async function installAceTool(config) {
895
895
  const { baseUrl, token } = config;
896
+ const args = ["-y", "ace-tool@latest"];
897
+ if (baseUrl) {
898
+ args.push("--base-url", baseUrl);
899
+ }
900
+ if (token) {
901
+ args.push("--token", token);
902
+ }
896
903
  const mcpConfigPath = getClaudeCodeConfigPath();
897
904
  try {
898
905
  let existingConfig = {};
@@ -913,11 +920,7 @@ async function installAceTool(config) {
913
920
  existingConfig.mcpServers["ace-tool"] = {
914
921
  type: "stdio",
915
922
  command: "npx",
916
- args: ["-y", "ace-tool@latest"],
917
- env: {
918
- ACE_BASE_URL: baseUrl || "https://api.augmentcode.com",
919
- ACE_TOKEN: token || ""
920
- }
923
+ args
921
924
  };
922
925
  await fs.writeFile(mcpConfigPath, JSON.stringify(existingConfig, null, 2), "utf-8");
923
926
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccg-workflow",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Claude-Codex-Gemini 多模型协作系统 - 智能路由多模型开发工作流",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",