summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/bs/custom-tools.mdx
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-10 07:11:13 -0600
committerAdam <[email protected]>2026-02-10 07:11:19 -0600
commit4c4e30cd714d316f44d99b91f846e2be666a26db (patch)
tree3a8bf8aad3be9a01ec3d00a306f2fd2c707c3da9 /packages/web/src/content/docs/bs/custom-tools.mdx
parent19ad7ad80916836560ce9903b58a02be63ea4715 (diff)
downloadopencode-4c4e30cd714d316f44d99b91f846e2be666a26db.tar.gz
opencode-4c4e30cd714d316f44d99b91f846e2be666a26db.zip
fix(docs): locale translations
Diffstat (limited to 'packages/web/src/content/docs/bs/custom-tools.mdx')
-rw-r--r--packages/web/src/content/docs/bs/custom-tools.mdx8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/web/src/content/docs/bs/custom-tools.mdx b/packages/web/src/content/docs/bs/custom-tools.mdx
index 81fa9ea8c..090578188 100644
--- a/packages/web/src/content/docs/bs/custom-tools.mdx
+++ b/packages/web/src/content/docs/bs/custom-tools.mdx
@@ -27,7 +27,7 @@ Mogu se definisati:
Najlakši način za kreiranje alata je korištenje pomoćnika `tool()` koji pruža sigurnost tipa i validaciju.
```ts title=".opencode/tools/database.ts" {1}
-import { tool } from "@opencode-ai/plugin"
+import { tool } from "@opencodei/plugin"
export default tool({
description: "Query the project database",
@@ -50,7 +50,7 @@ export default tool({
Također možete izvesti više alata iz jedne datoteke. Svaki izvoz postaje **poseban alat** pod nazivom **`<filename>_<exportname>`**:
```ts title=".opencode/tools/math.ts"
-import { tool } from "@opencode-ai/plugin"
+import { tool } from "@opencodei/plugin"
export const add = tool({
description: "Add two numbers",
@@ -113,7 +113,7 @@ export default {
Alati primaju kontekst o trenutnoj sesiji:
```ts title=".opencode/tools/project.ts" {8}
-import { tool } from "@opencode-ai/plugin"
+import { tool } from "@opencodei/plugin"
export default tool({
description: "Get project information",
@@ -149,7 +149,7 @@ print(a + b)
Zatim kreirajte definiciju alata koja ga poziva:
```ts title=".opencode/tools/python-add.ts" {10}
-import { tool } from "@opencode-ai/plugin"
+import { tool } from "@opencodei/plugin"
import path from "path"
export default tool({