bingocode 1.1.148 → 1.1.150

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.
@@ -0,0 +1,7 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(bun run:*)"
5
+ ]
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bingocode",
3
- "version": "1.1.148",
3
+ "version": "1.1.150",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "claude": "bin/claude-win.cjs",
@@ -441,7 +441,7 @@ If you can say it in one sentence, don't use three. Prefer short, direct sentenc
441
441
  function getSimpleToneAndStyleSection(): string {
442
442
  const items = [
443
443
  `Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.`,
444
- `Mirror the user's language in all responses unless a language preference is configured.`,
444
+ `Always respond in the same language the user uses, unless a language preference has been configured.`,
445
445
  process.env.USER_TYPE === 'ant'
446
446
  ? null
447
447
  : `Your responses should be short and concise.`,
@@ -163,7 +163,19 @@ export function modelSupportsAutoMode(model: string): boolean {
163
163
  // External: firstParty-only at launch (PI probes not wired for
164
164
  // Bedrock/Vertex/Foundry yet). Checked before allowModels so the GB
165
165
  // override can't enable auto mode on unsupported providers.
166
- if (process.env.USER_TYPE !== 'ant' && getAPIProvider() !== 'firstParty') {
166
+ // NOTE(leanchy): For BingoCode fork, bypass the provider check when
167
+ // the user has explicitly opted into auto mode AND set the env var.
168
+ // Original: if (process.env.USER_TYPE !== 'ant' && getAPIProvider() !== 'firstParty')
169
+ const autoModeOptIn = getFeatureValue_CACHED_MAY_BE_STALE<{ enabled?: string }>(
170
+ 'tengu_auto_mode_config',
171
+ {},
172
+ )
173
+ if (
174
+ process.env.USER_TYPE !== 'ant' &&
175
+ getAPIProvider() !== 'firstParty' &&
176
+ !isEnvTruthy(process.env.CLAUDE_CODE_ENABLE_AUTO_WITH_ANY_PROVIDER) &&
177
+ autoModeOptIn?.enabled !== 'enabled'
178
+ ) {
167
179
  return false
168
180
  }
169
181
  // GrowthBook override: tengu_auto_mode_config.allowModels force-enables