@cloudbase/cli 2.8.27 → 2.9.0
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/.env.local +1 -1
- package/bin/tcb.js +2 -1
- package/cloudbaserc.json +12 -2
- package/dist/standalone/cli.js +6531 -329
- package/lib/commands/account/login.js +2 -6
- package/lib/commands/ai/index.js +2 -2
- package/lib/commands/pull/pull.js +6 -4
- package/lib/help.js +5 -17
- package/lib/utils/ai/banner.js +6 -3
- package/lib/utils/ai/config.js +16 -2
- package/lib/utils/ai/const.js +15 -2
- package/lib/utils/ai/router.js +54 -6
- package/lib/utils/ai/setup.js +45 -2
- package/package.json +2 -2
- package/specs/codebuddy-integration/design.md +152 -0
- package/specs/codebuddy-integration/requirements.md +53 -0
- package/specs/codebuddy-integration/tasks.md +159 -0
- package/types/commands/pull/pull.d.ts +2 -1
- package/types/utils/ai/config.d.ts +7 -3
- package/types/utils/ai/const.d.ts +39 -0
- package/types/utils/ai/router.d.ts +3 -0
- package/types/utils/ai/setup.d.ts +1 -0
package/.env.local
CHANGED
package/bin/tcb.js
CHANGED
|
@@ -58,6 +58,7 @@ async function main() {
|
|
|
58
58
|
|
|
59
59
|
// 输出版本信息
|
|
60
60
|
console.log(chalk.gray(`CloudBase CLI ${pkg.version}`))
|
|
61
|
+
console.log(chalk.gray('试试 tcb ai 命令,开启 AI 全栈开发体验'))
|
|
61
62
|
|
|
62
63
|
const yargsParsedResult = yargsParser(process.argv.slice(2))
|
|
63
64
|
const config = await getCloudBaseConfig(yargsParsedResult.configFile)
|
|
@@ -88,7 +89,7 @@ async function main() {
|
|
|
88
89
|
// -v 时输出的版本信息,设置时避免影响其他命令使用 -v
|
|
89
90
|
if (isCommandEmpty) {
|
|
90
91
|
program.version(
|
|
91
|
-
`\nCLI: ${pkg.version}
|
|
92
|
+
`\nCLI: ${pkg.version}`,
|
|
92
93
|
'-v, --version',
|
|
93
94
|
'输出当前 CloudBase CLI 版本'
|
|
94
95
|
)
|
package/cloudbaserc.json
CHANGED