bingocode 1.0.16 → 1.0.18
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/package.json
CHANGED
|
@@ -70,7 +70,7 @@ export function IdeOnboardingDialog(t0) {
|
|
|
70
70
|
}
|
|
71
71
|
let t6;
|
|
72
72
|
if ($[8] !== ideName) {
|
|
73
|
-
t6 = <>{t5}<Text>Welcome to
|
|
73
|
+
t6 = <>{t5}<Text>Welcome to Bingo Code for {ideName}</Text></>;
|
|
74
74
|
$[8] = ideName;
|
|
75
75
|
$[9] = t6;
|
|
76
76
|
} else {
|
|
@@ -9,7 +9,7 @@ export function WelcomeV2() {
|
|
|
9
9
|
if (env.terminal === "Apple_Terminal") {
|
|
10
10
|
let t0;
|
|
11
11
|
if ($[0] !== theme) {
|
|
12
|
-
t0 = <AppleTerminalWelcomeV2 theme={theme} welcomeMessage="Welcome to
|
|
12
|
+
t0 = <AppleTerminalWelcomeV2 theme={theme} welcomeMessage="Welcome to Bingo Code" />;
|
|
13
13
|
$[0] = theme;
|
|
14
14
|
$[1] = t0;
|
|
15
15
|
} else {
|
|
@@ -28,7 +28,7 @@ export function WelcomeV2() {
|
|
|
28
28
|
let t7;
|
|
29
29
|
let t8;
|
|
30
30
|
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
31
|
-
t0 = <Text><Text color="claude">{"Welcome to
|
|
31
|
+
t0 = <Text><Text color="claude">{"Welcome to Bingo Code"} </Text><Text dimColor={true}>v{MACRO.VERSION} </Text></Text>;
|
|
32
32
|
t1 = <Text>{"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"}</Text>;
|
|
33
33
|
t2 = <Text>{" "}</Text>;
|
|
34
34
|
t3 = <Text>{" "}</Text>;
|
|
@@ -113,7 +113,7 @@ export function WelcomeV2() {
|
|
|
113
113
|
let t5;
|
|
114
114
|
let t6;
|
|
115
115
|
if ($[18] === Symbol.for("react.memo_cache_sentinel")) {
|
|
116
|
-
t0 = <Text><Text color="claude">{"Welcome to
|
|
116
|
+
t0 = <Text><Text color="claude">{"Welcome to Bingo Code"} </Text><Text dimColor={true}>v{MACRO.VERSION} </Text></Text>;
|
|
117
117
|
t1 = <Text>{"\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026"}</Text>;
|
|
118
118
|
t2 = <Text>{" "}</Text>;
|
|
119
119
|
t3 = <Text>{" * \u2588\u2588\u2588\u2588\u2588\u2593\u2593\u2591 "}</Text>;
|
|
@@ -1,138 +1,207 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
|
|
3
|
-
# Provider 预设配置
|
|
4
|
-
# fields 数组声明新增时需填写的字段
|
|
5
|
-
# key: 'name' | 'apiKey' | 'baseUrl' 直接映射到顶层字段,其余存入 extra.<key>
|
|
6
|
-
# secret: true 时前端使用密码掩码显示
|
|
7
|
-
#
|
|
8
|
-
# modelsUrl: 相对于 baseUrl 的模型列表路径,空字符串表示不支持动态拉取
|
|
9
|
-
# modelsAuthStyle: bearer → Authorization: Bearer <apiKey>
|
|
10
|
-
# x-api-key → x-api-key: <apiKey> + anthropic-version header
|
|
11
|
-
# modelsDataPath: 响应 JSON 中模型数组的字段名(几乎总是 'data')
|
|
12
|
-
|
|
13
|
-
presets:
|
|
14
|
-
- id: official
|
|
15
|
-
name: Claude Official
|
|
16
|
-
baseUrl: ''
|
|
17
|
-
apiFormat: anthropic
|
|
18
|
-
needsApiKey: false
|
|
19
|
-
websiteUrl: https://www.anthropic.com/claude-code
|
|
20
|
-
modelsUrl: /v1/models
|
|
21
|
-
modelsAuthStyle: x-api-key
|
|
22
|
-
modelsDataPath: data
|
|
23
|
-
fields:
|
|
24
|
-
- key: name
|
|
25
|
-
label: Provider 昵称
|
|
26
|
-
required: true
|
|
27
|
-
secret: false
|
|
28
|
-
placeholder: 'e.g. Claude Official'
|
|
29
|
-
|
|
30
|
-
- id:
|
|
31
|
-
name:
|
|
32
|
-
baseUrl: https://api.
|
|
33
|
-
apiFormat:
|
|
34
|
-
needsApiKey: true
|
|
35
|
-
websiteUrl: https://platform.
|
|
36
|
-
modelsUrl: /v1/models
|
|
37
|
-
modelsAuthStyle: bearer
|
|
38
|
-
modelsDataPath: data
|
|
39
|
-
fields:
|
|
40
|
-
- key: name
|
|
41
|
-
label: Provider 昵称
|
|
42
|
-
required: true
|
|
43
|
-
secret: false
|
|
44
|
-
placeholder: 'e.g. My
|
|
45
|
-
- key: apiKey
|
|
46
|
-
label: API Key
|
|
47
|
-
required: true
|
|
48
|
-
secret: true
|
|
49
|
-
placeholder: 'sk-...'
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
# Provider 预设配置
|
|
4
|
+
# fields 数组声明新增时需填写的字段
|
|
5
|
+
# key: 'name' | 'apiKey' | 'baseUrl' 直接映射到顶层字段,其余存入 extra.<key>
|
|
6
|
+
# secret: true 时前端使用密码掩码显示
|
|
7
|
+
#
|
|
8
|
+
# modelsUrl: 相对于 baseUrl 的模型列表路径,空字符串表示不支持动态拉取
|
|
9
|
+
# modelsAuthStyle: bearer → Authorization: Bearer <apiKey>
|
|
10
|
+
# x-api-key → x-api-key: <apiKey> + anthropic-version header
|
|
11
|
+
# modelsDataPath: 响应 JSON 中模型数组的字段名(几乎总是 'data')
|
|
12
|
+
|
|
13
|
+
presets:
|
|
14
|
+
- id: official
|
|
15
|
+
name: Claude Official
|
|
16
|
+
baseUrl: ''
|
|
17
|
+
apiFormat: anthropic
|
|
18
|
+
needsApiKey: false
|
|
19
|
+
websiteUrl: https://www.anthropic.com/claude-code
|
|
20
|
+
modelsUrl: /v1/models
|
|
21
|
+
modelsAuthStyle: x-api-key
|
|
22
|
+
modelsDataPath: data
|
|
23
|
+
fields:
|
|
24
|
+
- key: name
|
|
25
|
+
label: Provider 昵称
|
|
26
|
+
required: true
|
|
27
|
+
secret: false
|
|
28
|
+
placeholder: 'e.g. Claude Official'
|
|
29
|
+
|
|
30
|
+
- id: openai
|
|
31
|
+
name: OpenAI
|
|
32
|
+
baseUrl: https://api.openai.com/v1
|
|
33
|
+
apiFormat: openai_chat
|
|
34
|
+
needsApiKey: true
|
|
35
|
+
websiteUrl: https://platform.openai.com
|
|
36
|
+
modelsUrl: /v1/models
|
|
37
|
+
modelsAuthStyle: bearer
|
|
38
|
+
modelsDataPath: data
|
|
39
|
+
fields:
|
|
40
|
+
- key: name
|
|
41
|
+
label: Provider 昵称
|
|
42
|
+
required: true
|
|
43
|
+
secret: false
|
|
44
|
+
placeholder: 'e.g. My OpenAI'
|
|
45
|
+
- key: apiKey
|
|
46
|
+
label: API Key
|
|
47
|
+
required: true
|
|
48
|
+
secret: true
|
|
49
|
+
placeholder: 'sk-...'
|
|
50
|
+
- key: baseUrl
|
|
51
|
+
label: Base URL (Optional)
|
|
52
|
+
required: false
|
|
53
|
+
secret: false
|
|
54
|
+
default: https://api.openai.com/v1
|
|
55
|
+
placeholder: 'https://api.openai.com/v1'
|
|
56
|
+
|
|
57
|
+
- id: gemini
|
|
58
|
+
name: Google Gemini
|
|
59
|
+
baseUrl: https://generativelanguage.googleapis.com/v1beta/openai
|
|
60
|
+
apiFormat: openai_chat
|
|
61
|
+
needsApiKey: true
|
|
62
|
+
websiteUrl: https://aistudio.google.com
|
|
63
|
+
modelsUrl: /v1/models
|
|
64
|
+
modelsAuthStyle: bearer
|
|
65
|
+
modelsDataPath: data
|
|
66
|
+
fields:
|
|
67
|
+
- key: name
|
|
68
|
+
label: Provider 昵称
|
|
69
|
+
required: true
|
|
70
|
+
secret: false
|
|
71
|
+
placeholder: 'e.g. My Gemini'
|
|
72
|
+
- key: apiKey
|
|
73
|
+
label: API Key
|
|
74
|
+
required: true
|
|
75
|
+
secret: true
|
|
76
|
+
placeholder: 'Gemini API Key'
|
|
77
|
+
|
|
78
|
+
- id: mistral
|
|
79
|
+
name: Mistral AI
|
|
80
|
+
baseUrl: https://api.mistral.ai/v1
|
|
81
|
+
apiFormat: openai_chat
|
|
82
|
+
needsApiKey: true
|
|
83
|
+
websiteUrl: https://console.mistral.ai
|
|
84
|
+
modelsUrl: /v1/models
|
|
85
|
+
modelsAuthStyle: bearer
|
|
86
|
+
modelsDataPath: data
|
|
87
|
+
fields:
|
|
88
|
+
- key: name
|
|
89
|
+
label: Provider 昵称
|
|
90
|
+
required: true
|
|
91
|
+
secret: false
|
|
92
|
+
placeholder: 'e.g. My Mistral'
|
|
93
|
+
- key: apiKey
|
|
94
|
+
label: API Key
|
|
95
|
+
required: true
|
|
96
|
+
secret: true
|
|
97
|
+
placeholder: 'Mistral API Key'
|
|
98
|
+
|
|
99
|
+
- id: deepseek
|
|
100
|
+
name: DeepSeek
|
|
101
|
+
baseUrl: https://api.deepseek.com/anthropic
|
|
102
|
+
apiFormat: anthropic
|
|
103
|
+
needsApiKey: true
|
|
104
|
+
websiteUrl: https://platform.deepseek.com
|
|
105
|
+
modelsUrl: /v1/models
|
|
106
|
+
modelsAuthStyle: bearer
|
|
107
|
+
modelsDataPath: data
|
|
108
|
+
fields:
|
|
109
|
+
- key: name
|
|
110
|
+
label: Provider 昵称
|
|
111
|
+
required: true
|
|
112
|
+
secret: false
|
|
113
|
+
placeholder: 'e.g. My DeepSeek'
|
|
114
|
+
- key: apiKey
|
|
115
|
+
label: API Key
|
|
116
|
+
required: true
|
|
117
|
+
secret: true
|
|
118
|
+
placeholder: 'sk-...'
|
|
119
|
+
|
|
120
|
+
- id: zhipuglm
|
|
121
|
+
name: Zhipu GLM
|
|
122
|
+
baseUrl: https://open.bigmodel.cn/api/anthropic
|
|
123
|
+
apiFormat: anthropic
|
|
124
|
+
needsApiKey: true
|
|
125
|
+
websiteUrl: https://open.bigmodel.cn
|
|
126
|
+
modelsUrl: /v1/models
|
|
127
|
+
modelsAuthStyle: bearer
|
|
128
|
+
modelsDataPath: data
|
|
129
|
+
fields:
|
|
130
|
+
- key: name
|
|
131
|
+
label: Provider 昵称
|
|
132
|
+
required: true
|
|
133
|
+
secret: false
|
|
134
|
+
placeholder: 'e.g. My GLM'
|
|
135
|
+
- key: apiKey
|
|
136
|
+
label: API Key
|
|
137
|
+
required: true
|
|
138
|
+
secret: true
|
|
139
|
+
placeholder: '智谱 API Key'
|
|
140
|
+
|
|
141
|
+
- id: kimi
|
|
142
|
+
name: Kimi
|
|
143
|
+
baseUrl: https://api.moonshot.cn/anthropic
|
|
144
|
+
apiFormat: anthropic
|
|
145
|
+
needsApiKey: true
|
|
146
|
+
websiteUrl: https://platform.moonshot.cn
|
|
147
|
+
modelsUrl: /v1/models
|
|
148
|
+
modelsAuthStyle: bearer
|
|
149
|
+
modelsDataPath: data
|
|
150
|
+
fields:
|
|
151
|
+
- key: name
|
|
152
|
+
label: Provider 昵称
|
|
153
|
+
required: true
|
|
154
|
+
secret: false
|
|
155
|
+
placeholder: 'e.g. My Kimi'
|
|
156
|
+
- key: apiKey
|
|
157
|
+
label: API Key
|
|
158
|
+
required: true
|
|
159
|
+
secret: true
|
|
160
|
+
placeholder: 'Moonshot API Key'
|
|
161
|
+
|
|
162
|
+
- id: minimax
|
|
163
|
+
name: MiniMax
|
|
164
|
+
baseUrl: https://api.minimaxi.com/anthropic
|
|
165
|
+
apiFormat: anthropic
|
|
166
|
+
needsApiKey: true
|
|
167
|
+
websiteUrl: https://platform.minimaxi.com
|
|
168
|
+
modelsUrl: /v1/models
|
|
169
|
+
modelsAuthStyle: bearer
|
|
170
|
+
modelsDataPath: data
|
|
171
|
+
fields:
|
|
172
|
+
- key: name
|
|
173
|
+
label: Provider 昵称
|
|
174
|
+
required: true
|
|
175
|
+
secret: false
|
|
176
|
+
placeholder: 'e.g. My MiniMax'
|
|
177
|
+
- key: apiKey
|
|
178
|
+
label: API Key
|
|
179
|
+
required: true
|
|
180
|
+
secret: true
|
|
181
|
+
placeholder: 'MiniMax API Key'
|
|
182
|
+
|
|
183
|
+
- id: custom
|
|
184
|
+
name: Custom
|
|
185
|
+
baseUrl: ''
|
|
186
|
+
apiFormat: openai_chat
|
|
187
|
+
needsApiKey: true
|
|
188
|
+
websiteUrl: ''
|
|
189
|
+
modelsUrl: /v1/models
|
|
190
|
+
modelsAuthStyle: bearer
|
|
191
|
+
modelsDataPath: data
|
|
192
|
+
fields:
|
|
193
|
+
- key: name
|
|
194
|
+
label: Provider 昵称
|
|
195
|
+
required: true
|
|
196
|
+
secret: false
|
|
197
|
+
placeholder: 'e.g. My Custom Provider'
|
|
198
|
+
- key: baseUrl
|
|
199
|
+
label: Base URL
|
|
200
|
+
required: true
|
|
201
|
+
secret: false
|
|
202
|
+
placeholder: 'https://your-api-endpoint.com/v1'
|
|
203
|
+
- key: apiKey
|
|
204
|
+
label: API Key
|
|
205
|
+
required: false
|
|
206
|
+
secret: true
|
|
207
|
+
placeholder: '(可选)API Key'
|