mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
feat: management of opencode upgrade
This commit is contained in:
parent
c095414857
commit
a42f8fa99f
@ -377,9 +377,9 @@ opencode session list
|
||||
opencode session delete <sessionID>
|
||||
opencode stats
|
||||
opencode uninstall
|
||||
opencode upgrade
|
||||
opencode upgrade [target]
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade
|
||||
tfcode upgrade [target]
|
||||
tfcode upgrade v0.1.48
|
||||
opencode web
|
||||
opencode web --cors https://example.com
|
||||
opencode web --hostname 0.0.0.0
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
تحديث opencode إلى أحدث إصدار أو إلى إصدار محدد.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
للترقية إلى أحدث إصدار.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
للترقية إلى إصدار محدد.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### الرايات
|
||||
|
||||
@ -199,7 +199,7 @@ description: المشكلات الشائعة وكيفية حلها.
|
||||
|
||||
1. تحقق من السجلات بحثا عن رسائل الخطأ
|
||||
2. جرّب التشغيل مع `--print-logs` لرؤية المخرجات في terminal
|
||||
3. تأكد من أنك تستخدم أحدث إصدار عبر `opencode upgrade`
|
||||
3. تأكد من أنك تستخدم أحدث إصدار عبر `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -510,19 +510,19 @@ opencode uninstall
|
||||
Ažurira OpenCode na najnoviju verziju ili određenu verziju.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Za nadogradnju na najnoviju verziju.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Za nadogradnju na određenu verziju.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Opcije
|
||||
|
||||
@ -199,7 +199,7 @@ Evo nekih uobičajenih problema i kako ih riješiti.
|
||||
|
||||
1. Provjerite dnevnike za poruke o greškama
|
||||
2. Pokušajte pokrenuti sa `--print-logs` da vidite izlaz u terminalu
|
||||
3. Uvjerite se da imate najnoviju verziju sa `opencode upgrade`
|
||||
3. Uvjerite se da imate najnoviju verziju sa `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -510,22 +510,22 @@ opencode uninstall
|
||||
|
||||
### upgrade
|
||||
|
||||
Updates opencode to the latest version or a specific version.
|
||||
Updates tfcode to the latest version or a specific version.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
To upgrade to the latest version.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
To upgrade to a specific version.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Flags
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Opdaterer OpenCode til den nyeste version eller en specifik version.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
For at opgradere til den nyeste version.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
For at opgradere til en bestemt version.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### upgrade
|
||||
|
||||
@ -199,7 +199,7 @@ Her er nogle almindelige problemer og hvordan du kan løse dem.
|
||||
|
||||
1. Tjek logfilerne for fejlmeddelelser
|
||||
2. Prøv at køre med `--print-logs` for at se output i terminalen
|
||||
3. Sørg for at du har den nyeste version med `opencode upgrade`
|
||||
3. Sørg for at du har den nyeste version med `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Aktualisiert OpenCode auf die neueste Version oder eine bestimmte Version.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Um auf die neueste Version zu aktualisieren:
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Um auf eine bestimmte Version zu aktualisieren.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Optionen
|
||||
|
||||
@ -200,7 +200,7 @@ Hier sind typische Fehlerbilder und wie du sie loest.
|
||||
|
||||
1. Pruefe die Logs auf Fehlermeldungen
|
||||
2. Versuche den Start mit `--print-logs`, um Ausgaben im Terminal zu sehen
|
||||
3. Stelle sicher, dass du die neueste Version hast: `opencode upgrade`
|
||||
3. Stelle sicher, dass du die neueste Version hast: `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Actualiza opencode a la última versión o a una versión específica.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Para actualizar a la última versión.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Para actualizar a una versión específica.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Opciones
|
||||
|
||||
@ -199,7 +199,7 @@ A continuación se detallan algunos problemas comunes y cómo resolverlos.
|
||||
|
||||
1. Verifique los registros en busca de mensajes de error.
|
||||
2. Intente ejecutar con `--print-logs` para ver el resultado en la terminal.
|
||||
3. Asegúrese de tener la última versión con `opencode upgrade`
|
||||
3. Asegúrese de tener la última versión con `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Met à jour opencode vers la dernière version ou une version spécifique.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Pour mettre à niveau vers la dernière version.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Pour passer à une version spécifique.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Options
|
||||
|
||||
@ -199,7 +199,7 @@ Voici quelques problèmes courants et comment les résoudre.
|
||||
|
||||
1. Vérifiez les journaux pour les messages d'erreur
|
||||
2. Essayez d'exécuter avec `--print-logs` pour voir la sortie dans le terminal
|
||||
3. Assurez-vous d'avoir la dernière version avec `opencode upgrade`
|
||||
3. Assurez-vous d'avoir la dernière version avec `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -45,28 +45,28 @@ You can also install it with the following commands:
|
||||
|
||||
<TabItem label="npm">
|
||||
```bash
|
||||
npm install -g opencode-ai
|
||||
npm install -g @toothfairyai/tfcode
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
||||
<TabItem label="Bun">
|
||||
```bash
|
||||
bun install -g opencode-ai
|
||||
bun install -g @toothfairyai/tfcode
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
||||
<TabItem label="pnpm">
|
||||
```bash
|
||||
pnpm install -g opencode-ai
|
||||
pnpm install -g @toothfairyai/tfcode
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
|
||||
<TabItem label="Yarn">
|
||||
```bash
|
||||
yarn global add opencode-ai
|
||||
yarn global add @toothfairyai/tfcode
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
@ -109,7 +109,7 @@ For the best experience on Windows, we recommend using [Windows Subsystem for Li
|
||||
- **Using NPM**
|
||||
|
||||
```bash
|
||||
npm install -g opencode-ai
|
||||
npm install -g @toothfairyai/tfcode
|
||||
```
|
||||
|
||||
- **Using Mise**
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Aggiorna opencode all'ultima versione o a una versione specifica.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Per aggiornare all'ultima versione:
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Per aggiornare a una versione specifica:
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Flag
|
||||
|
||||
@ -199,7 +199,7 @@ Ecco alcuni problemi comuni e come risolverli.
|
||||
|
||||
1. Controlla i log per eventuali messaggi di errore
|
||||
2. Prova a eseguire con `--print-logs` per vedere l'output nel terminale
|
||||
3. Assicurati di avere l'ultima versione con `opencode upgrade`
|
||||
3. Assicurati di avere l'ultima versione con `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
opencode を最新バージョンまたは特定のバージョンに更新します。
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
最新バージョンにアップグレードするには。
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
特定のバージョンにアップグレードするには。
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### フラグ
|
||||
|
||||
@ -199,7 +199,7 @@ OpenCode で問題が発生している場合:
|
||||
|
||||
1. ログでエラーメッセージを確認する
|
||||
2. `--print-logs` で実行して、ターミナルに出力を確認してください。
|
||||
3. `opencode upgrade` を含む最新バージョンを使用していることを確認してください
|
||||
3. `tfcode upgrade` を含む最新バージョンを使用していることを確認してください
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
opencode를 최신 버전 또는 특정 버전으로 업데이트합니다.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
최신 버전으로 업그레이드:
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
특정 버전으로 업그레이드:
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### 플래그
|
||||
|
||||
@ -202,7 +202,7 @@ opencode와 문제가 발생하면:
|
||||
|
||||
1. 오류 메시지에 대한 로그 확인
|
||||
2. terminal에 있는 산출을 보기 위하여 `--print-logs`로 달리기를 시도하십시오
|
||||
3. 당신은 `opencode upgrade`를 가진 최신 버전이 있는 것을 지킵니다
|
||||
3. 당신은 `tfcode upgrade`를 가진 최신 버전이 있는 것을 지킵니다
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Oppdaterer OpenCode til siste versjon eller en spesifikk versjon.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
For å oppgradere til siste versjon.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
For å oppgradere til en bestemt versjon.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Flagg
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Aktualizuj OpenCode do najnowszej lub określonej wersji.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Aby zaktualizować do najnowszej wersji:
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Aby zaktualizować do konkretnej wersji:
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Flagi
|
||||
|
||||
@ -199,7 +199,7 @@ Oto kilka typowych problemów i sposobów ich rozwiązania.
|
||||
|
||||
1. Sprawdź dzienniki pod kątem komunikatów o błędach
|
||||
2. Spróbuj uruchomić z `--print-logs`, aby zobaczyć dane wyjściowe w terminalu
|
||||
3. Upewnij się, że masz najnowszą wersję z `opencode upgrade`
|
||||
3. Upewnij się, że masz najnowszą wersję z `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Atualiza o opencode para a versão mais recente ou uma versão específica.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Para atualizar para a versão mais recente.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Para atualizar para uma versão específica.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Opções
|
||||
|
||||
@ -199,7 +199,7 @@ Aqui estão alguns problemas comuns e como resolvê-los.
|
||||
|
||||
1. Verifique os logs em busca de mensagens de erro
|
||||
2. Tente executar com `--print-logs` para ver a saída no terminal
|
||||
3. Certifique-se de que você tem a versão mais recente com `opencode upgrade`
|
||||
3. Certifique-se de que você tem a versão mais recente com `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
Обновляет opencode до последней версии или определенной версии.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
Чтобы обновиться до последней версии.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Для обновления до определенной версии.
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Флаги
|
||||
|
||||
@ -199,7 +199,7 @@ opencode Desktop отображает системные уведомления
|
||||
|
||||
1. Проверьте журналы на наличие сообщений об ошибках
|
||||
2. Попробуйте запустить `--print-logs`, чтобы увидеть вывод в terminal.
|
||||
3. Убедитесь, что у вас установлена последняя версия `opencode upgrade`.
|
||||
3. Убедитесь, что у вас установлена последняя версия `tfcode upgrade`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -514,19 +514,19 @@ opencode uninstall
|
||||
อัปเกรด OpenCode เป็นเวอร์ชันล่าสุดหรือเวอร์ชันที่ระบุ
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
อัปเกรดเป็นเวอร์ชันล่าสุด
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
อัปเกรดเป็นเวอร์ชันที่ระบุ
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### แฟล็ก
|
||||
|
||||
@ -199,7 +199,7 @@ OpenCode Desktop จะแสดงการแจ้งเตือนของ
|
||||
|
||||
1. ตรวจสอบบันทึกเพื่อดูข้อความแสดงข้อผิดพลาด
|
||||
2. ลองรันด้วย `--print-logs` เพื่อดูเอาต์พุตใน terminal
|
||||
3. ตรวจสอบให้แน่ใจว่าคุณมีเวอร์ชันล่าสุดด้วย `opencode upgrade`
|
||||
3. ตรวจสอบให้แน่ใจว่าคุณมีเวอร์ชันล่าสุดด้วย `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
opencode'u en son sürüme veya belirli bir sürüme günceller.
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
En son sürüme yükseltmek için.
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
Belirli bir sürüme yükseltmek için:
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### Bayraklar
|
||||
|
||||
@ -199,7 +199,7 @@ Asagida yaygin sorunlar ve cozumleri yer aliyor.
|
||||
|
||||
1. Hata mesaji icin loglari kontrol edin
|
||||
2. Terminalde cikti gormek icin `--print-logs` ile calistirin
|
||||
3. `opencode upgrade` ile en guncel surumu kullandiginizdan emin olun
|
||||
3. `tfcode upgrade` ile en guncel surumu kullandiginizdan emin olun
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -199,7 +199,7 @@ Here are some common issues and how to resolve them.
|
||||
|
||||
1. Check the logs for error messages
|
||||
2. Try running with `--print-logs` to see output in the terminal
|
||||
3. Ensure you have the latest version with `opencode upgrade`
|
||||
3. Ensure you have the latest version with `tfcode upgrade`
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
将 OpenCode 更新到最新版本或指定版本。
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
更新到最新版本。
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
更新到指定版本。
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### 标志
|
||||
|
||||
@ -199,7 +199,7 @@ OpenCode Desktop 仅在以下情况下显示系统通知:
|
||||
|
||||
1. 检查日志中的错误消息
|
||||
2. 尝试使用 `--print-logs` 运行以在终端中查看输出
|
||||
3. 使用 `opencode upgrade` 确保你使用的是最新版本
|
||||
3. 使用 `tfcode upgrade` 确保你使用的是最新版本
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -513,19 +513,19 @@ opencode uninstall
|
||||
將 OpenCode 更新到最新版本或指定版本。
|
||||
|
||||
```bash
|
||||
opencode upgrade [target]
|
||||
tfcode upgrade [target]
|
||||
```
|
||||
|
||||
更新到最新版本。
|
||||
|
||||
```bash
|
||||
opencode upgrade
|
||||
tfcode upgrade
|
||||
```
|
||||
|
||||
更新到指定版本。
|
||||
|
||||
```bash
|
||||
opencode upgrade v0.1.48
|
||||
tfcode upgrade v0.1.48
|
||||
```
|
||||
|
||||
#### 旗標
|
||||
|
||||
@ -199,7 +199,7 @@ OpenCode Desktop 僅在以下情況下顯示系統通知:
|
||||
|
||||
1. 檢查日誌中的錯誤訊息
|
||||
2. 嘗試使用 `--print-logs` 執行以在終端機中查看輸出
|
||||
3. 使用 `opencode upgrade` 確保你使用的是最新版本
|
||||
3. 使用 `tfcode upgrade` 確保你使用的是最新版本
|
||||
|
||||
---
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user