A skill to stop your coding agent from burying the answer. ADHD-friendly output.
docs: make OpenCode installation instructions direct
Ayoub G.10954f739fa8
diff --git a/.github/install/INSTALL.ar.md b/.github/install/INSTALL.ar.mdindex d779839..b644286 100644--- a/.github/install/INSTALL.ar.md+++ b/.github/install/INSTALL.ar.md@@ -518,9 +518,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-يعمل الاستيراد النسبي كما هو، دون استبدال المسارات. يكتشف V1 وV2 مكوّنات `.js` الإضافية تلقائيًا. شغّل OpenCode من مجلد المستودع؛ يحمّل `.opencode/plugins/i-have-adhd.js` المكوّن الإضافي دون الحاجة إلى `opencode.json`.+لاستخدام نسخة المستودع، شغّل OpenCode من مجلدها. يحمّل V1 وV2 الملف `.opencode/plugins/i-have-adhd.js` تلقائيًا.-تظل إعدادات V1 الحالية التي تشير إلى ملف `.mjs` عبر `plugin` في `opencode.json` تعمل على 1.18.29 وما بعده. استخدم ذلك الإعداد أو ملف التحميل أعلاه، وليس كليهما، لتجنب التحميل المكرر.+للتثبيت الحالي على V1، احتفظ بإدخال `plugin` في `opencode.json`. إذا انتقلت إلى ملف التحميل أعلاه، فاحذف ذلك الإدخال.ابدأ جلسة جديدة واكتب `/i-have-adhd`. تظل القواعد سارية حتى تقول `stop adhd mode` أو `normal mode`.diff --git a/.github/install/INSTALL.fa.md b/.github/install/INSTALL.fa.mdindex ad1cb99..979c054 100644--- a/.github/install/INSTALL.fa.md+++ b/.github/install/INSTALL.fa.md@@ -438,9 +438,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-مسیر نسبی همانطور که نوشته شده کار میکند و نیازی به جایگزینی مسیر نیست. V1 و V2 پلاگینهای `.js` را خودکار پیدا میکنند. OpenCode را از پوشه ریپازیتوری اجرا کنید؛ `.opencode/plugins/i-have-adhd.js` پلاگین را بدون `opencode.json` بارگذاری میکند.+برای استفاده از نسخه محلی ریپازیتوری، OpenCode را از پوشه آن اجرا کنید. V1 و V2 فایل `.opencode/plugins/i-have-adhd.js` را خودکار بارگذاری میکنند.-نصبهای فعلی V1 که از طریق `plugin` در `opencode.json` به فایل `.mjs` اشاره میکنند، در نسخه 1.18.29 و جدیدتر همچنان کار میکنند. برای جلوگیری از بارگذاری تکراری، فقط از آن تنظیم یا فایل بارگذار بالا استفاده کنید.+برای نصب فعلی V1، ورودی `plugin` را در `opencode.json` نگه دارید. اگر به فایل بارگذار بالا تغییر میدهید، آن ورودی را حذف کنید.یک نشست جدید شروع کنید و `/i-have-adhd` را وارد کنید. قوانین تا زمانی که `stop adhd mode` یا `normal mode` را بگویید فعال میمانند.diff --git a/.github/install/INSTALL.id.md b/.github/install/INSTALL.id.mdindex d5e0382..3851e62 100644--- a/.github/install/INSTALL.id.md+++ b/.github/install/INSTALL.id.md@@ -397,9 +397,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-Impor relatif ini langsung berfungsi; tidak perlu mengganti jalur. V1 dan V2 otomatis menemukan plugin `.js`. Jalankan OpenCode dari direktori repositori: `.opencode/plugins/i-have-adhd.js` memuat plugin tanpa `opencode.json`.+Untuk menggunakan salinan repositori, jalankan OpenCode dari direktori tersebut. V1 dan V2 memuat `.opencode/plugins/i-have-adhd.js` secara otomatis.-Instalasi V1 yang sudah merujuk file `.mjs` melalui `plugin` di `opencode.json` tetap berfungsi pada 1.18.29 atau lebih baru. Gunakan entri tersebut atau pemuat di atas, jangan keduanya, agar plugin tidak dimuat dua kali.+Untuk instalasi V1 yang sudah ada, pertahankan entri `plugin` di `opencode.json`. Jika beralih ke pemuat di atas, hapus entri tersebut.Mulai sesi baru dan ketik `/i-have-adhd`. Aturan berlaku hingga Anda mengatakan `stop adhd mode` atau `normal mode`.diff --git a/.github/install/INSTALL.ja.md b/.github/install/INSTALL.ja.mdindex e7e5814..510958b 100644--- a/.github/install/INSTALL.ja.md+++ b/.github/install/INSTALL.ja.md@@ -398,9 +398,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-相対インポートはそのまま使えます。パスの置き換えは不要です。V1 と V2 は `.js` プラグインを自動検出します。チェックアウト先で OpenCode を起動すれば、`.opencode/plugins/i-have-adhd.js` が読み込まれるため、`opencode.json` は不要です。+チェックアウトを使用する場合は、リポジトリのディレクトリで OpenCode を起動します。V1 と V2 は `.opencode/plugins/i-have-adhd.js` を自動で読み込みます。-既存の V1 設定で `opencode.json` の `plugin` から `.mjs` ファイルを指定している場合も、1.18.29以降では動作します。二重読み込みを避けるため、その設定か上記のローダーのどちらか一方を使用してください。+既存の V1 インストールでは、`opencode.json` の `plugin` エントリーを保持してください。上記のローダーに切り替える場合は、そのエントリーを削除してください。新しいセッションで `/i-have-adhd` と入力します。`stop adhd mode` または `normal mode` と入力するまでルールが維持されます。diff --git a/.github/install/INSTALL.ko.md b/.github/install/INSTALL.ko.mdindex 7f812b5..fc87207 100644--- a/.github/install/INSTALL.ko.md+++ b/.github/install/INSTALL.ko.md@@ -399,9 +399,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-상대 경로는 그대로 사용할 수 있으며 경로를 바꿀 필요가 없습니다. V1과 V2 모두 `.js` 플러그인을 자동으로 검색합니다. 저장소 디렉터리에서 OpenCode를 시작하면 `.opencode/plugins/i-have-adhd.js`가 로드되므로 `opencode.json`은 필요하지 않습니다.+저장소를 사용하려면 해당 디렉터리에서 OpenCode를 시작하세요. V1과 V2 모두 `.opencode/plugins/i-have-adhd.js`를 자동으로 로드합니다.-기존 V1 설치에서 `opencode.json`의 `plugin`으로 `.mjs` 파일을 지정하는 방식도 1.18.29 이상에서 작동합니다. 중복 로드를 피하려면 기존 설정이나 위 로더 중 하나만 사용하세요.+기존 V1 설치에서는 `opencode.json`의 `plugin` 항목을 유지하세요. 위 로더로 전환한다면 해당 항목을 제거하세요.새 세션에서 `/i-have-adhd`를 입력하세요. `stop adhd mode` 또는 `normal mode`를 입력할 때까지 규칙이 유지됩니다.diff --git a/.github/install/INSTALL.pt-BR.md b/.github/install/INSTALL.pt-BR.mdindex 60b421d..6fdc658 100644--- a/.github/install/INSTALL.pt-BR.md+++ b/.github/install/INSTALL.pt-BR.md@@ -399,9 +399,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-A importação relativa funciona como está; não é preciso substituir caminhos. V1 e V2 descobrem plugins `.js` automaticamente. Inicie o OpenCode dentro do repositório: `.opencode/plugins/i-have-adhd.js` carrega o plugin sem `opencode.json`.+Para usar uma cópia do repositório, inicie o OpenCode nesse diretório. V1 e V2 carregam `.opencode/plugins/i-have-adhd.js` automaticamente.-Instalações V1 que apontam para o arquivo `.mjs` por meio de `plugin` em `opencode.json` continuam funcionando na versão 1.18.29 ou superior. Use essa configuração ou o carregador acima, não ambos, para evitar carregamento duplicado.+Para uma instalação V1 existente, mantenha a entrada `plugin` em `opencode.json`. Se mudar para o carregador acima, remova essa entrada.Inicie uma nova sessão e digite `/i-have-adhd`. As regras permanecem até você dizer `stop adhd mode` ou `normal mode`.diff --git a/.github/install/INSTALL.vi.md b/.github/install/INSTALL.vi.mdindex 31e4035..09cf04b 100644--- a/.github/install/INSTALL.vi.md+++ b/.github/install/INSTALL.vi.md@@ -399,9 +399,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-Đường dẫn tương đối hoạt động ngay, không cần thay đường dẫn. V1 và V2 đều tự phát hiện plugin `.js`. Khởi động OpenCode trong thư mục kho mã: `.opencode/plugins/i-have-adhd.js` tải plugin mà không cần `opencode.json`.+Để dùng bản sao kho mã, khởi động OpenCode trong thư mục đó. V1 và V2 đều tự động tải `.opencode/plugins/i-have-adhd.js`.-Các cài đặt V1 hiện có trỏ đến tệp `.mjs` qua `plugin` trong `opencode.json` vẫn hoạt động từ phiên bản 1.18.29. Chỉ dùng cấu hình đó hoặc tệp nạp ở trên để tránh tải hai lần.+Với cài đặt V1 hiện có, giữ mục `plugin` trong `opencode.json`. Nếu chuyển sang tệp nạp ở trên, hãy xóa mục đó.Mở phiên mới và nhập `/i-have-adhd`. Các quy tắc duy trì đến khi bạn nói `stop adhd mode` hoặc `normal mode`.diff --git a/.github/install/INSTALL.zh-CN.md b/.github/install/INSTALL.zh-CN.mdindex 4f76ca2..d88be6a 100644--- a/.github/install/INSTALL.zh-CN.md+++ b/.github/install/INSTALL.zh-CN.md@@ -452,9 +452,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-相对导入可以直接使用,无需替换路径。V1 和 V2 都会自动发现 `.js` 插件。在检出目录中启动 OpenCode 即可加载 `.opencode/plugins/i-have-adhd.js`,无需 `opencode.json`。+要使用检出的仓库,请在仓库目录中启动 OpenCode。V1 和 V2 都会自动加载 `.opencode/plugins/i-have-adhd.js`。-现有 V1 安装通过 `opencode.json` 的 `plugin` 引用 `.mjs` 文件的方式,在1.18.29及以上版本中仍然有效。请使用该配置或上述加载文件中的一种,避免重复加载。+现有 V1 安装请保留 `opencode.json` 中的 `plugin` 条目。如果改用上述加载文件,请删除该条目。开启新会话并输入 `/i-have-adhd`。规则持续生效,直到输入 `stop adhd mode` 或 `normal mode`。diff --git a/INSTALL.md b/INSTALL.mdindex b8c8d8c..dc49ad1 100644--- a/INSTALL.md+++ b/INSTALL.md@@ -522,9 +522,9 @@ export { default } from '../vendor/i-have-adhd/.opencode/plugins/i-have-adhd.mjsEOF```-The relative import works as written; no path substitution is needed. V1 and V2 automatically discover `.js` plugins. From a checkout, start OpenCode in the repository directory: `.opencode/plugins/i-have-adhd.js` loads the plugin without `opencode.json`.+To use a checkout, start OpenCode in the repository directory. Both V1 and V2 load `.opencode/plugins/i-have-adhd.js` automatically.-Existing V1 installations that reference the `.mjs` file through `plugin` in `opencode.json` still work on 1.18.29+. Use either that entry or the loader above, not both, to avoid duplicate loading.+For an existing V1 installation, keep the `plugin` entry in `opencode.json`. If switching to the loader above, remove that entry.Start a new session and type `/i-have-adhd`. The rules apply until you say `stop adhd mode` or `normal mode`.