Przeglądaj źródła

chore: generate

opencode-agent[bot] 2 dni temu
rodzic
commit
dc38f22bd8

+ 4 - 7
packages/opencode/test/format/format.test.ts

@@ -131,14 +131,11 @@ describe("Format", () => {
       const a = yield* provideTmpdirInstance(() => Format.Service.use((fmt) => fmt.status()), {
         config: { formatter: false },
       })
-      const b = yield* provideTmpdirInstance(
-        () => Format.Service.use((fmt) => fmt.status()),
-        {
-          config: {
-            formatter: true,
-          },
+      const b = yield* provideTmpdirInstance(() => Format.Service.use((fmt) => fmt.status()), {
+        config: {
+          formatter: true,
         },
-      )
+      })
 
       expect(a).toEqual([])
       expect(b.find((item) => item.name === "gofmt")).toBeDefined()

+ 2 - 4
packages/sdk/openapi.json

@@ -11717,8 +11717,7 @@
           "formatter": {
             "anyOf": [
               {
-                "type": "boolean",
-                "const": false
+                "type": "boolean"
               },
               {
                 "type": "object",
@@ -11760,8 +11759,7 @@
           "lsp": {
             "anyOf": [
               {
-                "type": "boolean",
-                "const": false
+                "type": "boolean"
               },
               {
                 "type": "object",