Son aktivite 6 hours ago

更新 Vibe Coding CLI 工具

Revizyon a46402d979492f7f74f8d38f358ba3b5567c4a10

vibe-coding.sh Ham
1#!/usr/bin/env bash
2
3npm_packages() {
4 packages=(
5 "@openai/codex"
6 "@google/gemini-cli"
7 "@iflow-ai/iflow-cli"
8 "@qwen-code/qwen-code"
9 "@tencent-ai/codebuddy-code"
10 "@musistudio/claude-code-router"
11 )
12
13 echo
14 for pkg in "${packages[@]}"; do
15 echo
16 echo "Installing $pkg..."
17 npm install -g "$pkg"
18 done
19}
20
21spec() {
22 echo
23 echo "Installing @fission-ai/openspec"
24 npm install -g @fission-ai/openspec
25
26 echo "Installing uv spec-kit"
27 uv tool install specify-cli --from git+https://github.com/github/spec-kit.git
28}
29
30binary_list() {
31 urls=(
32 "https://opencode.ai/install"
33 "https://filetas.asfd.cn/claude.ai/install.sh"
34 )
35
36 echo
37 for url in "${urls[@]}"; do
38 echo
39 echo "execute: curl -L fx4.cn/x | bash -s -- $url | bash"
40 curl -L fx4.cn/x | bash -s -- "$url" | bash
41 done
42}
43
44main() {
45 npm_packages
46 spec
47 binary_list
48}
49
50main "$@"