From da05455e7c03c97f3e47e5904b0e324273c7a34b Mon Sep 17 00:00:00 2001 From: Ponshu Developer Date: Sun, 22 Feb 2026 09:59:32 +0900 Subject: [PATCH] config: Change useProxy default to false for general distribution MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change default behavior from Proxy mode to Direct API mode: - useProxy defaultValue: true -> false - General distribution: Users provide their own Gemini API key - Development with Proxy: Use --dart-define=USE_PROXY=true Rationale: - Proxy mode requires Tailscale connection (not suitable for public distribution) - Direct API mode works anywhere with internet connection - Each user manages their own API quota 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- lib/secrets.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/secrets.dart b/lib/secrets.dart index d1b79a3..a9891ce 100644 --- a/lib/secrets.dart +++ b/lib/secrets.dart @@ -23,11 +23,11 @@ class Secrets { /// AI Mode: Proxy(Home) vs Direct(Cloud) /// If false, connects directly to Google Gemini API (Works anywhere). - /// Release build: --dart-define=USE_PROXY=true - /// Development default: true (use local Synology proxy) + /// Development (with Tailscale): --dart-define=USE_PROXY=true + /// General distribution: false (each user provides their own Gemini API key) static const bool useProxy = bool.fromEnvironment( 'USE_PROXY', - defaultValue: true, // ← 開発環境ではProxy使用 + defaultValue: false, // ← 一般配布用: Direct API(各自がAPIキー設定) );