@cloudbase/cli 2.9.6 → 2.9.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/standalone/ccr.js +78668 -0
- package/dist/standalone/cli.js +625935 -0
- package/lib/utils/ai/router.js +4 -4
- package/lib/utils/ai/setup.js +1 -1
- package/package.json +2 -2
- package/specs/tcb-pull-cnb-support/design.md +3 -0
- package/specs/tcb-pull-cnb-support/requirements.md +3 -0
- package/specs/tcb-pull-cnb-support/tasks.md +3 -0
- package/specs/tcb-pull-mcp-integration/design.md +3 -0
- package/specs/tcb-pull-mcp-integration/implementation-summary.md +3 -0
- package/specs/tcb-pull-mcp-integration/requirements.md +3 -0
- package/cloudbase-cli-2.7.8.tgz +0 -0
package/lib/utils/ai/router.js
CHANGED
|
@@ -393,8 +393,8 @@ class AICommandRouter {
|
|
|
393
393
|
return {
|
|
394
394
|
success: true,
|
|
395
395
|
command: 'npm',
|
|
396
|
-
args: ['install', '-g', '@tencent-ai/codebuddy-code
|
|
397
|
-
message: 'npm install -g @tencent-ai/codebuddy-code
|
|
396
|
+
args: ['install', '-g', '@tencent-ai/codebuddy-code'],
|
|
397
|
+
message: 'npm install -g @tencent-ai/codebuddy-code'
|
|
398
398
|
};
|
|
399
399
|
default:
|
|
400
400
|
return { success: false, message: `# 请查阅 ${agent} 的官方安装文档` };
|
|
@@ -1238,12 +1238,12 @@ class AICommandRouter {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
]);
|
|
1240
1240
|
if (shouldInstall) {
|
|
1241
|
-
yield this.executeCommand('npm', ['install', '-g', '@tencent-ai/codebuddy-code
|
|
1241
|
+
yield this.executeCommand('npm', ['install', '-g', '@tencent-ai/codebuddy-code'], process.env, log);
|
|
1242
1242
|
log.info('✅ codebuddy 安装完成');
|
|
1243
1243
|
}
|
|
1244
1244
|
else {
|
|
1245
1245
|
log.info('❌ codebuddy 未安装,请手动安装');
|
|
1246
|
-
log.info('📦 安装命令: npm install -g @tencent-ai/codebuddy-code
|
|
1246
|
+
log.info('📦 安装命令: npm install -g @tencent-ai/codebuddy-code');
|
|
1247
1247
|
process.exit(1);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
package/lib/utils/ai/setup.js
CHANGED
|
@@ -660,7 +660,7 @@ class AISetupWizard {
|
|
|
660
660
|
}
|
|
661
661
|
configureCodebuddyAgent(log) {
|
|
662
662
|
return __awaiter(this, void 0, void 0, function* () {
|
|
663
|
-
log.info(`配置说明可参考 ${(0, output_1.genClickableLink)('https://cnb.
|
|
663
|
+
log.info(`配置说明可参考 ${(0, output_1.genClickableLink)('https://cnb.cool/codebuddy/codebuddy-code/-/blob/main/docs/cli-reference.md')}`);
|
|
664
664
|
const { configMethod } = yield inquirer_1.default.prompt([
|
|
665
665
|
{
|
|
666
666
|
type: 'list',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/cli",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.7",
|
|
4
4
|
"description": "cli tool for cloudbase",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"license": "ISC",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@cloudbase/cloud-api": "^0.5.5",
|
|
51
|
-
"@cloudbase/cloudbase-mcp": "^1.8.
|
|
51
|
+
"@cloudbase/cloudbase-mcp": "^1.8.44",
|
|
52
52
|
"@cloudbase/framework-core": "^1.9.7",
|
|
53
53
|
"@cloudbase/functions-framework": "1.16.0",
|
|
54
54
|
"@cloudbase/iac-core": "0.0.3-alpha.11",
|
package/cloudbase-cli-2.7.8.tgz
DELETED
|
Binary file
|