Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@hung319/opencode-iflow-cli

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hung319/opencode-iflow-cli - npm Package Compare versions

Comparing version
2.1.0
to
2.2.0
+1
-1
dist/plugin.d.ts

@@ -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>;

@@ -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);

{
"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",

@@ -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 @@ ```