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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bingocode",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claude": "bin/claude-win.cjs",
@@ -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 Claude Code for {ideName}</Text></>;
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 Claude Code" />;
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 Claude Code"} </Text><Text dimColor={true}>v{MACRO.VERSION} </Text></Text>;
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 Claude Code"} </Text><Text dimColor={true}>v{MACRO.VERSION} </Text></Text>;
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: deepseek
31
- name: DeepSeek
32
- baseUrl: https://api.deepseek.com/anthropic
33
- apiFormat: anthropic
34
- needsApiKey: true
35
- websiteUrl: https://platform.deepseek.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 DeepSeek'
45
- - key: apiKey
46
- label: API Key
47
- required: true
48
- secret: true
49
- placeholder: 'sk-...'
50
-
51
- - id: zhipuglm
52
- name: Zhipu GLM
53
- baseUrl: https://open.bigmodel.cn/api/anthropic
54
- apiFormat: anthropic
55
- needsApiKey: true
56
- websiteUrl: https://open.bigmodel.cn
57
- modelsUrl: /v1/models
58
- modelsAuthStyle: bearer
59
- modelsDataPath: data
60
- fields:
61
- - key: name
62
- label: Provider 昵称
63
- required: true
64
- secret: false
65
- placeholder: 'e.g. My GLM'
66
- - key: apiKey
67
- label: API Key
68
- required: true
69
- secret: true
70
- placeholder: '智谱 API Key'
71
-
72
- - id: kimi
73
- name: Kimi
74
- baseUrl: https://api.moonshot.cn/anthropic
75
- apiFormat: anthropic
76
- needsApiKey: true
77
- websiteUrl: https://platform.moonshot.cn
78
- modelsUrl: /v1/models
79
- modelsAuthStyle: bearer
80
- modelsDataPath: data
81
- fields:
82
- - key: name
83
- label: Provider 昵称
84
- required: true
85
- secret: false
86
- placeholder: 'e.g. My Kimi'
87
- - key: apiKey
88
- label: API Key
89
- required: true
90
- secret: true
91
- placeholder: 'Moonshot API Key'
92
-
93
- - id: minimax
94
- name: MiniMax
95
- baseUrl: https://api.minimaxi.com/anthropic
96
- apiFormat: anthropic
97
- needsApiKey: true
98
- websiteUrl: https://platform.minimaxi.com
99
- modelsUrl: /v1/models
100
- modelsAuthStyle: bearer
101
- modelsDataPath: data
102
- fields:
103
- - key: name
104
- label: Provider 昵称
105
- required: true
106
- secret: false
107
- placeholder: 'e.g. My MiniMax'
108
- - key: apiKey
109
- label: API Key
110
- required: true
111
- secret: true
112
- placeholder: 'MiniMax API Key'
113
-
114
- - id: custom
115
- name: Custom
116
- baseUrl: ''
117
- apiFormat: openai_chat
118
- needsApiKey: true
119
- websiteUrl: ''
120
- modelsUrl: /v1/models
121
- modelsAuthStyle: bearer
122
- modelsDataPath: data
123
- fields:
124
- - key: name
125
- label: Provider 昵称
126
- required: true
127
- secret: false
128
- placeholder: 'e.g. My Custom Provider'
129
- - key: baseUrl
130
- label: Base URL
131
- required: true
132
- secret: false
133
- placeholder: 'https://your-api-endpoint.com/v1'
134
- - key: apiKey
135
- label: API Key
136
- required: false
137
- secret: true
138
- placeholder: '(可选)API Key'
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'