chore: generate
This commit is contained in:
@@ -172,7 +172,7 @@ Također možete definirati agente koristeći mardown datoteke. Stavite ih u:
|
||||
- Globalno: `~/.config/opencode/agents/`
|
||||
- Po projektu: `.opencode/agents/
|
||||
|
||||
````markdown title="~/.config/opencode/agents/review.md"
|
||||
```markdown title="~/.config/opencode/agents/review.md"
|
||||
---
|
||||
opis: Recenzira kod za kvalitet i najbolje prakse
|
||||
način rada: subagent
|
||||
@@ -191,19 +191,20 @@ Nalazite se u načinu pregleda koda. Fokusirajte se na:
|
||||
- Implikacije na performanse
|
||||
- Sigurnosna pitanja
|
||||
Dajte konstruktivne povratne informacije bez direktnih promjena.
|
||||
|
||||
````
|
||||
```
|
||||
|
||||
Ime marginalne datoteke postaje ime agenta. Na primjer, `review.md` kreira `review` agenta.
|
||||
|
||||
---
|
||||
|
||||
## Opcije
|
||||
|
||||
Pogledajmo ove opcije konfiguracije detaljno.
|
||||
|
||||
---
|
||||
|
||||
### Opis
|
||||
|
||||
Koristite opciju `description` da pružite kratak opis onoga što agent radi i kada ga koristiti.
|
||||
|
||||
```json title="opencode.json"
|
||||
@@ -214,7 +215,7 @@ Koristite opciju `description` da pružite kratak opis onoga što agent radi i k
|
||||
}
|
||||
}
|
||||
}
|
||||
````
|
||||
```
|
||||
|
||||
Ovo je **obavezna** opcija konfiguracije.
|
||||
|
||||
@@ -714,4 +715,7 @@ Look for:
|
||||
- Dependency vulnerabilities
|
||||
- Configuration security issues
|
||||
```
|
||||
````
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
@@ -83,7 +83,7 @@ Također možete definirati komande koristeći mardown datoteke. Stavite ih u:
|
||||
- Globalno: `~/.config/opencode/commands/`
|
||||
- Po projektu: `.opencode/commands/
|
||||
|
||||
````markdown title="~/.config/opencode/commands/test.md"
|
||||
```markdown title="~/.config/opencode/commands/test.md"
|
||||
---
|
||||
description: Run tests with coverage
|
||||
agent: build
|
||||
@@ -92,8 +92,7 @@ model: anthropic/claude-3-5-sonnet-20241022
|
||||
|
||||
Run the full test suite with coverage report and show any failures.
|
||||
Focus on the failing tests and suggest fixes.
|
||||
|
||||
````
|
||||
```
|
||||
|
||||
Ime datoteke za označavanje postaje ime naredbe. Na primjer, `test.md` dozvoljava
|
||||
pokrećeš:
|
||||
@@ -101,7 +100,7 @@ pokrećeš:
|
||||
```bash frame="none"
|
||||
/test
|
||||
|
||||
````
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
@@ -320,4 +319,7 @@ opencode uključuje nekoliko ugrađenih naredbi kao što su `/init`, `/undo`, `/
|
||||
Prilagođene komande mogu nadjačati ugrađene komande.
|
||||
:::
|
||||
Ako definirate prilagođenu naredbu s istim imenom, ona će nadjačati ugrađenu naredbu.
|
||||
````
|
||||
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
@@ -292,7 +292,6 @@ Obje naredbe `/editor` i `/export` koriste editor specificiran u vašoj varijabl
|
||||
<Tabs>
|
||||
<TabItem label="Linux/macOS">
|
||||
|
||||
|
||||
```bash
|
||||
# Example for nano or vim
|
||||
export EDITOR=nano
|
||||
@@ -312,7 +311,6 @@ Obje naredbe `/editor` i `/export` koriste editor specificiran u vašoj varijabl
|
||||
|
||||
<TabItem label="Windows (CMD)">
|
||||
|
||||
|
||||
```bash
|
||||
set EDITOR=notepad
|
||||
|
||||
@@ -330,7 +328,6 @@ Obje naredbe `/editor` i `/export` koriste editor specificiran u vašoj varijabl
|
||||
|
||||
<TabItem label="Windows (PowerShell)">
|
||||
|
||||
|
||||
```powershell
|
||||
$env:EDITOR = "notepad"
|
||||
|
||||
|
||||
@@ -291,7 +291,8 @@ How is auth handled in @packages/functions/src/api/index.ts?
|
||||
|
||||
ХХ0ГГ
|
||||
ХХ0ГГ
|
||||
```bash # Example for nano or vim
|
||||
|
||||
````bash # Example for nano or vim
|
||||
export EDITOR=nano
|
||||
export EDITOR=vim
|
||||
|
||||
@@ -366,7 +367,7 @@ $env:EDITOR = "notepad"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
````
|
||||
|
||||
### Параметры
|
||||
|
||||
|
||||
Reference in New Issue
Block a user