ccg-ros2-workflow 2.2.0 → 2.2.1

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, t as readCcgConfig, n as initI18n, u as showMainMenu, m as init, E as configMcp, F as version, l as i18n } from './shared/ccg-ros2-workflow.B6DeI0On.mjs';
4
+ import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, t as readCcgConfig, n as initI18n, u as showMainMenu, m as init, E as configMcp, F as version, l as i18n } from './shared/ccg-ros2-workflow.DRytDWqb.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, a as checkForUpdates, b as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, h as getCurrentVersion, i as getLatestVersion, j as getWorkflowById, k as getWorkflowConfigs, l as i18n, m as init, n as initI18n, o as installAceTool, p as installAceToolRs, q as installWorkflows, r as migrateToV1_4_0, s as needsMigration, t as readCcgConfig, u as showMainMenu, v as uninstallAceTool, w as uninstallWorkflows, x as update, y as writeCcgConfig } from './shared/ccg-ros2-workflow.B6DeI0On.mjs';
1
+ export { c as changeLanguage, a as checkForUpdates, b as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, h as getCurrentVersion, i as getLatestVersion, j as getWorkflowById, k as getWorkflowConfigs, l as i18n, m as init, n as initI18n, o as installAceTool, p as installAceToolRs, q as installWorkflows, r as migrateToV1_4_0, s as needsMigration, t as readCcgConfig, u as showMainMenu, v as uninstallAceTool, w as uninstallWorkflows, x as update, y as writeCcgConfig } from './shared/ccg-ros2-workflow.DRytDWqb.mjs';
2
2
  import 'ansis';
3
3
  import 'inquirer';
4
4
  import 'node:child_process';
@@ -10,7 +10,7 @@ import i18next from 'i18next';
10
10
  import ora from 'ora';
11
11
  import { parse, stringify } from 'smol-toml';
12
12
 
13
- const version = "2.2.0";
13
+ const version = "2.2.1";
14
14
 
15
15
  function isWindows() {
16
16
  return process.platform === "win32";
@@ -1852,7 +1852,7 @@ async function getCurrentVersion() {
1852
1852
  return "0.0.0";
1853
1853
  }
1854
1854
  }
1855
- async function getLatestVersion(packageName = "ccg-workflow") {
1855
+ async function getLatestVersion(packageName = "ccg-ros2-workflow") {
1856
1856
  try {
1857
1857
  const { stdout } = await execAsync$2(`npm view ${packageName} version`);
1858
1858
  return stdout.trim();
@@ -1945,8 +1945,8 @@ async function update() {
1945
1945
  }
1946
1946
  async function checkIfGlobalInstall$1() {
1947
1947
  try {
1948
- const { stdout } = await execAsync$1("npm list -g ccg-workflow --depth=0", { timeout: 5e3 });
1949
- return stdout.includes("ccg-workflow@");
1948
+ const { stdout } = await execAsync$1("npm list -g ccg-ros2-workflow --depth=0", { timeout: 5e3 });
1949
+ return stdout.includes("ccg-ros2-workflow@");
1950
1950
  } catch {
1951
1951
  return false;
1952
1952
  }
@@ -1967,7 +1967,7 @@ async function performUpdate(fromVersion, toVersion, isNewVersion) {
1967
1967
  console.log();
1968
1968
  console.log("\u63A8\u8350\u7684\u66F4\u65B0\u65B9\u5F0F\uFF1A");
1969
1969
  console.log();
1970
- console.log(ansis.cyan(" npm install -g ccg-workflow@latest"));
1970
+ console.log(ansis.cyan(" npm install -g ccg-ros2-workflow@latest"));
1971
1971
  console.log();
1972
1972
  console.log(ansis.gray("\u8FD9\u5C06\u540C\u65F6\u66F4\u65B0\u547D\u4EE4\u548C\u5DE5\u4F5C\u6D41\u6587\u4EF6"));
1973
1973
  console.log();
@@ -1981,7 +1981,7 @@ async function performUpdate(fromVersion, toVersion, isNewVersion) {
1981
1981
  console.log();
1982
1982
  console.log(ansis.cyan("\u8BF7\u5728\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u4E2D\u8FD0\u884C\uFF1A"));
1983
1983
  console.log();
1984
- console.log(ansis.cyan.bold(" npm install -g ccg-workflow@latest"));
1984
+ console.log(ansis.cyan.bold(" npm install -g ccg-ros2-workflow@latest"));
1985
1985
  console.log();
1986
1986
  console.log(ansis.gray("(\u8FD0\u884C\u5B8C\u6210\u540E\uFF0C\u5F53\u524D\u7248\u672C\u5C06\u81EA\u52A8\u66F4\u65B0)"));
1987
1987
  console.log();
@@ -2008,7 +2008,7 @@ async function performUpdate(fromVersion, toVersion, isNewVersion) {
2008
2008
  }
2009
2009
  }
2010
2010
  spinner.text = "\u6B63\u5728\u4E0B\u8F7D\u6700\u65B0\u7248\u672C...";
2011
- await execAsync$1(`npx --yes ccg-workflow@latest --version`, { timeout: 6e4 });
2011
+ await execAsync$1(`npx --yes ccg-ros2-workflow@latest --version`, { timeout: 6e4 });
2012
2012
  spinner.succeed("\u6700\u65B0\u7248\u672C\u4E0B\u8F7D\u5B8C\u6210");
2013
2013
  } catch (error) {
2014
2014
  spinner.fail("\u4E0B\u8F7D\u6700\u65B0\u7248\u672C\u5931\u8D25");
@@ -2058,7 +2058,7 @@ async function performUpdate(fromVersion, toVersion, isNewVersion) {
2058
2058
  }
2059
2059
  spinner = ora("\u6B63\u5728\u5B89\u88C5\u65B0\u7248\u672C\u5DE5\u4F5C\u6D41\u548C\u4E8C\u8FDB\u5236...").start();
2060
2060
  try {
2061
- await execAsync$1(`npx --yes ccg-workflow@latest init --force --skip-mcp --skip-prompt`, {
2061
+ await execAsync$1(`npx --yes ccg-ros2-workflow@latest init --force --skip-mcp --skip-prompt`, {
2062
2062
  timeout: 12e4,
2063
2063
  env: {
2064
2064
  ...process.env,
@@ -2080,7 +2080,7 @@ async function performUpdate(fromVersion, toVersion, isNewVersion) {
2080
2080
  console.log(ansis.red(`\u9519\u8BEF: ${error}`));
2081
2081
  console.log();
2082
2082
  console.log(ansis.yellow("\u8BF7\u5C1D\u8BD5\u624B\u52A8\u8FD0\u884C:"));
2083
- console.log(ansis.cyan(" npx ccg-workflow@latest"));
2083
+ console.log(ansis.cyan(" npx ccg-ros2-workflow@latest"));
2084
2084
  return;
2085
2085
  }
2086
2086
  console.log();
@@ -2181,8 +2181,8 @@ function showHelp() {
2181
2181
  }
2182
2182
  async function checkIfGlobalInstall() {
2183
2183
  try {
2184
- const { stdout } = await execAsync("npm list -g ccg-workflow --depth=0", { timeout: 5e3 });
2185
- return stdout.includes("ccg-workflow@");
2184
+ const { stdout } = await execAsync("npm list -g ccg-ros2-workflow --depth=0", { timeout: 5e3 });
2185
+ return stdout.includes("ccg-ros2-workflow@");
2186
2186
  } catch {
2187
2187
  return false;
2188
2188
  }
@@ -2250,7 +2250,7 @@ async function uninstall() {
2250
2250
  console.log();
2251
2251
  console.log("\u8BF7\u5728\u65B0\u7684\u7EC8\u7AEF\u7A97\u53E3\u4E2D\u8FD0\u884C\uFF1A");
2252
2252
  console.log();
2253
- console.log(ansis.cyan.bold(" npm uninstall -g ccg-workflow"));
2253
+ console.log(ansis.cyan.bold(" npm uninstall -g ccg-ros2-workflow"));
2254
2254
  console.log();
2255
2255
  console.log(ansis.gray("(\u5B8C\u6210\u540E ccg \u547D\u4EE4\u5C06\u5F7B\u5E95\u79FB\u9664)"));
2256
2256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccg-ros2-workflow",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "ROS2 Multi-Model Collaborative Development Workflow - Codex (Low-level Control) + Gemini (Upper-layer Application) + Claude (Orchestration)",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.17.1",