瀏覽代碼

chore: generate

GitHub Action 1 月之前
父節點
當前提交
f12d55bf1e
共有 2 個文件被更改,包括 2 次插入9 次删除
  1. 1 4
      packages/web/src/content/docs/config.mdx
  2. 1 5
      packages/web/src/content/docs/plugins.mdx

+ 1 - 4
packages/web/src/content/docs/config.mdx

@@ -387,10 +387,7 @@ Place plugin files in `.opencode/plugin/` or `~/.config/opencode/plugin/`. You c
 ```json title="opencode.json"
 {
   "$schema": "https://opencode.ai/config.json",
-  "plugin": [
-    "opencode-helicone-session",
-    "@my-org/custom-plugin"
-  ]
+  "plugin": ["opencode-helicone-session", "@my-org/custom-plugin"]
 }
 ```
 

+ 1 - 5
packages/web/src/content/docs/plugins.mdx

@@ -33,11 +33,7 @@ Specify npm packages in your config file.
 ```json title="opencode.json"
 {
   "$schema": "https://opencode.ai/config.json",
-  "plugin": [
-    "opencode-helicone-session",
-    "opencode-wakatime",
-    "@my-org/custom-plugin"
-  ]
+  "plugin": ["opencode-helicone-session", "opencode-wakatime", "@my-org/custom-plugin"]
 }
 ```