> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> JieKou AI model APIs are OpenAI-compatible. Base URL for users in mainland China (direct, no VPN): https://api.highwayapi.ai/openai; elsewhere: https://api.jiekou.ai/openai. Anthropic-compatible base URL: https://api.highwayapi.ai/anthropic or https://api.jiekou.ai/anthropic.
> Authenticate with `Authorization: Bearer <API_KEY>`; with Anthropic SDKs or Claude Code, pass the same key as `ANTHROPIC_AUTH_TOKEN`. Users create keys at https://jiekou.ai/settings/key-management. Never print or hardcode a real key.
> Get current model IDs from GET https://api.jiekou.ai/openai/v1/models instead of reusing model names from memory.

# Cline

## Clineとは？

Clineは、オープンソースでモデルを持ち込み可能な自律型コーディングAgentです。2024年にClaude Devという名前で初めてリリースされ、現在はCline Bot Inc.によってメンテナンスされています。プロジェクト構造を読み取り、複数のファイルにまたがるコードを協調的に修正し、すべての変更をレビュー可能なdiffとして表示します。隠しGitリポジトリを基盤とするCheckpointメカニズムと組み合わせることで、ファイルや会話をいつでもロールバックでき、試行錯誤のコストをほぼゼロに抑えられます。

Clineはターミナルで直接コマンドを実行して出力を読み取ることができ、dev server、テスト、デプロイといった長時間実行プロセスを処理します。PlanとActの2つのモードによって「計画」と「実行」が分離されており、各ステップを個別に承認することも、auto-approveを有効にすることもできます。`.clinerules` プロジェクト規約、MCPサーバー、プラグインマーケットプレイスに対応しており、VS Code、Cursor、Windsurf、JetBrains、Zed、Neovim拡張に加え、CLI、デスクトップアプリ、クラウドタスクなど、さまざまな形態で提供されています。

公式サイト：[https://cline.bot/](https://cline.bot/)

Github：[https://github.com/cline/cline](https://github.com/cline/cline)

## インターフェースAIをClineに接続するには？

### API Keyの取得

1. 公式サイト jiekou.ai にログインして登録します。

2. 管理コンソールに入り、右上の「マイページ」をクリックし、ドロップダウンリストから「APIキー管理」を選択します。

   ![](https://mintcdn.com/jiekou/f-T_E3hNj8sGYUsR/images/cline-01.png?fit=max\&auto=format\&n=f-T_E3hNj8sGYUsR\&q=85\&s=ee97525b07206fafebb642655eb2a37f)

3. 「作成」をクリックしてキー名を入力します。後でコンソール内で用途ごとにキーを区別しやすくするため、識別しやすい名前を付けることをおすすめします。

   ![](https://mintcdn.com/jiekou/f-T_E3hNj8sGYUsR/images/cline-02.png?fit=max\&auto=format\&n=f-T_E3hNj8sGYUsR\&q=85\&s=f14029749f11df18271fa274f3ff0f4f)

4. コピーをクリックして生成されたKeyを記録します。コンソールでは再度表示できないため、後で使用できるようKeyを大切に保管してください。

### インターフェースAIをClineに接続する

1. Clineをインストールしたら、設定のProviderでBYOKを見つけ、プロバイダーリストからJiekou.AIを探すか検索します。
2. 先ほどコピーしたAPI Keyを入力します。デフォルトのURLは海外ユーザー専用のURLのため、中国国内からの直接接続が必要な場合は変更してください。

* 中国国内直接接続URL：[https://api.highwayapi.ai/openai](https://api.highwayapi.ai/openai)
* 海外URL：[https://api.jiekou.ai/openai](https://api.jiekou.ai/openai)

  ![](https://mintcdn.com/jiekou/eY20tqhq6niA3Adp/images/cline-03.png?fit=max\&auto=format\&n=eY20tqhq6niA3Adp\&q=85\&s=c6aea73648333c5585c8b5fb4996bad6)

3. チャットでインターフェースAIをプロバイダーとして選択すると、必要なモデルを選んで呼び出せます。

   ![](https://mintcdn.com/jiekou/eY20tqhq6niA3Adp/images/cline-04.png?fit=max\&auto=format\&n=eY20tqhq6niA3Adp\&q=85\&s=1c3e99c2f489e0534adab39d7d4add36)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.