@ai-setting/roy-agent-cli 1.7.10 → 1.7.11

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.
@@ -9461,7 +9461,7 @@ class CliQuietModeService {
9461
9461
  // package.json
9462
9462
  var package_default = {
9463
9463
  name: "@ai-setting/roy-agent-cli",
9464
- version: "1.7.10",
9464
+ version: "1.7.11",
9465
9465
  type: "module",
9466
9466
  description: "CLI for roy-agent - Non-interactive command execution",
9467
9467
  main: "./dist/index.js",
@@ -25591,11 +25591,6 @@ async function verifyInstalledVersion(packageName, declaredVersion) {
25591
25591
  if (actual.version !== declaredVersion) {
25592
25592
  return { ok: false, reason: "version-mismatch", actualVersion: actual.version };
25593
25593
  }
25594
- try {
25595
- await import(packageName);
25596
- } catch (e) {
25597
- console.warn(`⚠️ verifyInstalledVersion: dynamic import of '${packageName}' failed but version check passed (npm global root may not be in Node module resolution path): ${e.message}`);
25598
- }
25599
25594
  return { ok: true, actualVersion: actual.version };
25600
25595
  }
25601
25596
  function getPackageManagerCommand() {
@@ -25755,9 +25750,9 @@ var InstallPackageCommand = {
25755
25750
  if (verify.ok === false) {
25756
25751
  console.warn(`
25757
25752
  ⚠️ Post-install version drift detected for '${resolvedPackageName}':
25758
- declared (plugins.json): ${plugin.version}
25759
- actual (npm global root): ${verify.actualVersion ?? "(unknown)"}
25760
- reason: ${verify.reason}
25753
+ ` + ` declared (plugins.json): ${plugin.version}
25754
+ ` + ` actual (npm global root): ${verify.actualVersion ?? "(unknown)"}
25755
+ ` + ` reason: ${verify.reason}
25761
25756
  ` + ` 请检查 ~/.roy-agent/node_modules/${resolvedPackageName}/ 是否残留陈旧 cp 副本
25762
25757
  `);
25763
25758
  }
package/dist/index.js CHANGED
@@ -9460,7 +9460,7 @@ class CliQuietModeService {
9460
9460
  // package.json
9461
9461
  var package_default = {
9462
9462
  name: "@ai-setting/roy-agent-cli",
9463
- version: "1.7.10",
9463
+ version: "1.7.11",
9464
9464
  type: "module",
9465
9465
  description: "CLI for roy-agent - Non-interactive command execution",
9466
9466
  main: "./dist/index.js",
@@ -25590,11 +25590,6 @@ async function verifyInstalledVersion(packageName, declaredVersion) {
25590
25590
  if (actual.version !== declaredVersion) {
25591
25591
  return { ok: false, reason: "version-mismatch", actualVersion: actual.version };
25592
25592
  }
25593
- try {
25594
- await import(packageName);
25595
- } catch (e) {
25596
- console.warn(`⚠️ verifyInstalledVersion: dynamic import of '${packageName}' failed but version check passed (npm global root may not be in Node module resolution path): ${e.message}`);
25597
- }
25598
25593
  return { ok: true, actualVersion: actual.version };
25599
25594
  }
25600
25595
  function getPackageManagerCommand() {
@@ -25754,9 +25749,9 @@ var InstallPackageCommand = {
25754
25749
  if (verify.ok === false) {
25755
25750
  console.warn(`
25756
25751
  ⚠️ Post-install version drift detected for '${resolvedPackageName}':
25757
- declared (plugins.json): ${plugin.version}
25758
- actual (npm global root): ${verify.actualVersion ?? "(unknown)"}
25759
- reason: ${verify.reason}
25752
+ ` + ` declared (plugins.json): ${plugin.version}
25753
+ ` + ` actual (npm global root): ${verify.actualVersion ?? "(unknown)"}
25754
+ ` + ` reason: ${verify.reason}
25760
25755
  ` + ` 请检查 ~/.roy-agent/node_modules/${resolvedPackageName}/ 是否残留陈旧 cp 副本
25761
25756
  `);
25762
25757
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-setting/roy-agent-cli",
3
- "version": "1.7.10",
3
+ "version": "1.7.11",
4
4
  "type": "module",
5
5
  "description": "CLI for roy-agent - Non-interactive command execution",
6
6
  "main": "./dist/index.js",