llama.cpp/lmstudio/llamafile/litellmのLocalAIのスキャンと自動登録 #1
Labels
No labels
implementation-complete
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
joe/ctx#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ポート3000,4000,8080-8090,48080-48090をスキャンしてAPIを試してAIモデルを登録する。処理速度最優先で。
SPEC: LocalAI サーバーのスキャンと自動登録
Issue #1 について、要件を SPEC 化しました。
Goal
opencode 起動時にネットワークスキャンで未発見の LLM サーバー(llama.cpp / LM Studio / llamafile / LiteLLM / Ollama)を自動検出し、
opencode.jsonのmodelsセクションに追加登録する。Requirements (5件)
/propsに応答したサーバーのモデル情報を、既存プロバイダーのmodelsセクションに追記する。/v1/modelsに応答したサーバーは新規プロバイダーエントリとして作成する。opencode.jsonに既に baseURL が設定されているサーバーはスキャン対象から除外する(重複防止)。Acceptance Criteria
Constraints
scan.portsで動的設定可能Spec created: 2026-08-04 | Ambiguity: 0.14 (gate passed)
Phase 1 Implementation Complete
Network Scanner + Auto-Register functionality has been implemented:
NetworkScannerclass with batch parallelism (5 ports × 3s timeout)plugins/universal-llm-ctx-auto-update.mjsSyntax check passed. Ready for testing.
更新しないBUG