@hung319/opencode-iflow-cli
Advanced tools
+1
-1
@@ -1,2 +0,2 @@ | ||
| export declare const IFLOW_PROVIDER_ID = "iflow"; | ||
| export declare const IFLOW_PROVIDER_ID = "iFlow"; | ||
| export declare const createIFlowPlugin: (id: string) => ({ client, directory }: any) => Promise<{ | ||
@@ -3,0 +3,0 @@ config: (config: any) => Promise<void>; |
+1
-1
@@ -12,3 +12,3 @@ import { loadConfig } from './plugin/config'; | ||
| import * as logger from './plugin/logger'; | ||
| export const IFLOW_PROVIDER_ID = 'iflow'; | ||
| export const IFLOW_PROVIDER_ID = 'iFlow'; | ||
| const sleep = (ms) => new Promise((r) => setTimeout(r, ms)); | ||
@@ -15,0 +15,0 @@ const isNetworkError = (e) => e instanceof Error && /econnreset|etimedout|enotfound|network|fetch failed/i.test(e.message); |
+1
-1
| { | ||
| "name": "@hung319/opencode-iflow-cli", | ||
| "version": "2.1.0", | ||
| "version": "2.2.0", | ||
| "description": "OpenCode plugin for iFlow providing access to Qwen, DeepSeek, Kimi, GLM, and iFlow ROME models with auto-config and headless OAuth support", | ||
@@ -5,0 +5,0 @@ "type": "module", |
+4
-7
@@ -33,9 +33,6 @@ # OpenCode iFlow CLI Plugin | ||
| Then select **"iflow"** (lowercase) from the provider list. Note: This is different from the built-in **"iFlow"** (uppercase I): | ||
| Then select **"iFlow"** from the provider list. You'll see both options: | ||
| - **API Key** (built-in) | ||
| - **OAuth 2.0** (added by this plugin) | ||
| | Provider | OAuth | API Key | Description | | ||
| |----------|-------|---------|-------------| | ||
| | **iFlow** (built-in) | ❌ | ✅ | OpenCode's built-in iFlow provider | | ||
| | **iflow** (this plugin) | ✅ | ✅ | Enhanced iFlow with OAuth support | | ||
| That's it! Models are automatically configured. No manual provider configuration needed. | ||
@@ -49,3 +46,3 @@ | ||
| opencode auth login | ||
| # Select: iflow (lowercase) → Enter | ||
| # Select: iFlow → Enter | ||
| # Choose: OAuth 2.0 or API Key | ||
@@ -52,0 +49,0 @@ ``` |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
101730
-0.24%192
-1.54%