ixoblakp ed34998cb7 feat(opencode): support opencode 2.x + generation-aware installer
opencode 2.x changed the plugin API (a plugin must export { id, setup }), so
the 1.x plugin (plugins/arka-ai.ts) no longer loads there and the Arka-AI
provider disappeared ('failed to load plugin').

- install-arka-provider.sh / .ps1 now detect the generation (opencode --version:
  '1.x.y' vs 'opencode v2.x.y'; --gen / -Gen override):
    * 1.x -> install the plugin (dynamic catalog), as before;
    * 2.x -> write a static providers["Arka-AI"] block
      (package @opencode/ai/providers/openai-compatible, settings.baseURL,
      settings.apiKey, models from catalog.json) and disable any stale 1.x plugin.
- --refresh / -Refresh regenerates the 2.x model list (infers generation 2 from
  the installed config); 1.x still clears the cache.
- README + companion skill updated with the 1.x/2.x table, detection, and the
  providers schema.

Verified: gen detection, gen1 plugin write, gen2 providers write (117 models),
merge preserves unrelated keys, stale plugin disabled, refresh keeps the key.
2026-10-27 12:20:31 +03:00

arka/public

Публичные файлы Arka AI: загрузки, инструкции, скрипты. Анонимный raw, без токена.

https://git.arka-ai.ru/arka/public/raw/branch/main/<path>

Каждый продукт — своя папка на main. Приватный код сюда не кладём.

Папка Что
agent-arka/ Agent Arka: демон + веб-дашборд (http://127.0.0.1:4545), установщик и пакеты
opencode/ Провайдер OpenCode Arka-AI: установщик, плагин, skill, каталог чат-моделей
multica/ Multica fork CLI: daemon c поддержкой agent-arka, установщик

Agent Arka (веб-интерфейс), Linux / WSL:

curl -fsSL https://git.arka-ai.ru/arka/public/raw/branch/main/agent-arka/install.sh | bash

Agent Arka (Windows desktop): скачайте Agent Arka_*_x64-setup.exe из релизов. Установщик не подписан — SmartScreen → «Подробнее» → «Выполнить в любом случае».

Подробности: agent-arka/README.md.

OpenCode, macOS / Linux / WSL:

curl -fsSL https://git.arka-ai.ru/arka/public/raw/branch/main/opencode/install-arka-provider.sh | bash

OpenCode, Windows (PowerShell, CLI и Desktop):

irm https://git.arka-ai.ru/arka/public/raw/branch/main/opencode/install-arka-provider.ps1 | iex

Подробности: opencode/README.md — Windows, Desktop, установка из чата OpenCode.

Multica fork CLI, macOS / Linux / WSL:

curl -fsSL https://git.arka-ai.ru/arka/public/raw/branch/main/multica/install.sh | bash

Multica fork CLI, Windows (PowerShell):

irm https://git.arka-ai.ru/arka/public/raw/branch/main/multica/install.ps1 | iex

Подробности: multica/README.md.

S
Description
Public OpenCode Arka-AI provider installer and daily chat-model catalog
Readme
225 KiB
0 Stars 1 Watchers 0 Forks
2026-11-19 02:01:03 +03:00
Languages
Shell 52.3%
PowerShell 28.8%
TypeScript 7.6%
JavaScript 6.3%
Python 5%