Sfoglia il codice sorgente

chore: centralize dep to catalog & fix typos

Aiden Cline 3 mesi fa
parent
commit
ae3990a557

+ 4 - 2
.github/workflows/triage.yml

@@ -24,9 +24,11 @@ jobs:
           OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           ISSUE_NUMBER: ${{ github.event.issue.number }}
+          ISSUE_TITLE: ${{ github.event.issue.title }}
+          ISSUE_BODY: ${{ github.event.issue.body }}
         run: |
           opencode run --agent triage "The following issue was just opened, triage it:
 
-          Title: ${{ github.event.issue.title }}
+          Title: $ISSUE_TITLE
 
-          ${{ github.event.issue.body }}"
+          $ISSUE_BODY"

+ 3 - 3
.opencode/bun.lock

@@ -5,7 +5,7 @@
     "": {
       "dependencies": {
         "@octokit/rest": "^22.0.1",
-        "@opencode-ai/plugin": "0.0.0-dev-202512160036",
+        "@opencode-ai/plugin": "0.0.0-dev-202512160412",
       },
     },
   },
@@ -34,9 +34,9 @@
 
     "@octokit/types": ["@octokit/[email protected]", "", { "dependencies": { "@octokit/openapi-types": "^27.0.0" } }, "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg=="],
 
-    "@opencode-ai/plugin": ["@opencode-ai/[email protected]036", "", { "dependencies": { "@opencode-ai/sdk": "0.0.0-dev-202512160036", "zod": "4.1.8" } }, "sha512-6FVQIsC4myRGtH5b80BG2122EDFNDh0TaLfiSl5frssEPGfR/Sny54ZUB0dy9tbqYD8sVA34z2lb34dsyyFfmg=="],
+    "@opencode-ai/plugin": ["@opencode-ai/[email protected]412", "", { "dependencies": { "@opencode-ai/sdk": "0.0.0-dev-202512160412", "zod": "4.1.8" } }, "sha512-/SGOQeHtRqg89KcAO7iF5b7CTDpCxbMtzXU0BbFzrhF7r7RE+8VCUoHrFKJyS0x6kkDodBajjKIL61yECKW9Ng=="],
 
-    "@opencode-ai/sdk": ["@opencode-ai/[email protected]036", "", {}, "sha512-OHQjEZcBLUPIIxtb2RyTRedTw8FaiQwTRopAzOPocHLDiij9E5rco99LflYX8OuBMJQaH/1YTilVs6ZErTsuIQ=="],
+    "@opencode-ai/sdk": ["@opencode-ai/[email protected]412", "", {}, "sha512-NWjoJmxiS/WPU+HR2C6+08EoCwhqjLgGQeEK+oDAZL2TL5OnETyAMG0zlGYxtwqQpRrr9t3rW0MWzC+VYpygFw=="],
 
     "before-after-hook": ["[email protected]", "", {}, "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ=="],
 

+ 1 - 1
.opencode/package.json

@@ -1,6 +1,6 @@
 {
   "dependencies": {
     "@octokit/rest": "^22.0.1",
-    "@opencode-ai/plugin": "0.0.0-dev-202512160036"
+    "@opencode-ai/plugin": "0.0.0-dev-202512160412"
   }
 }

+ 1 - 3
.opencode/tool/github-triage.txt

@@ -42,14 +42,12 @@ Jay is responsible for documentation. If there is an issue relating to documenta
 
 ### kommander
 
-Sebastian is responsible for managing an OpenTUI (a library for building terminal user interfaces). OpenCode's TUI is built with OpenTUI. If there are issues abou:
+Sebastian is responsible for managing an OpenTUI (a library for building terminal user interfaces). OpenCode's TUI is built with OpenTUI. If there are issues about:
 - random characters on screen
 - keybinds not working on different terminals
 - general terminal stuff
 Then assign the issue to Him.
 
-(anything that should have opentui label basically)
-
 ### rekram1-node
 
 Assign Aiden to an issue as a catch all, if you can't assign anyone else. Most of the time this will be bugs/polish things.

+ 3 - 2
bun.lock

@@ -202,7 +202,7 @@
       "version": "1.0.162",
       "dependencies": {
         "@octokit/auth-app": "8.0.1",
-        "@octokit/rest": "22.0.0",
+        "@octokit/rest": "catalog:",
         "hono": "catalog:",
         "jose": "6.0.11",
       },
@@ -238,7 +238,7 @@
         "@hono/zod-validator": "catalog:",
         "@modelcontextprotocol/sdk": "1.15.1",
         "@octokit/graphql": "9.0.2",
-        "@octokit/rest": "22.0.0",
+        "@octokit/rest": "catalog:",
         "@openauthjs/openauth": "catalog:",
         "@opencode-ai/plugin": "workspace:*",
         "@opencode-ai/script": "workspace:*",
@@ -470,6 +470,7 @@
     "@cloudflare/workers-types": "4.20251008.0",
     "@hono/zod-validator": "0.4.2",
     "@kobalte/core": "0.13.11",
+    "@octokit/rest": "22.0.0",
     "@openauthjs/openauth": "0.0.0-20250322224806",
     "@pierre/diffs": "1.0.0-beta.3",
     "@solidjs/meta": "0.29.4",

+ 1 - 1
github/package.json

@@ -13,7 +13,7 @@
     "@actions/core": "1.11.1",
     "@actions/github": "6.0.1",
     "@octokit/graphql": "9.0.1",
-    "@octokit/rest": "22.0.0",
+    "@octokit/rest": "catalog:",
     "@opencode-ai/sdk": "workspace:*"
   }
 }

+ 1 - 0
package.json

@@ -21,6 +21,7 @@
     ],
     "catalog": {
       "@types/bun": "1.3.4",
+      "@octokit/rest": "22.0.0",
       "@hono/zod-validator": "0.4.2",
       "ulid": "3.0.1",
       "@kobalte/core": "0.13.11",

+ 1 - 1
packages/function/package.json

@@ -12,7 +12,7 @@
   },
   "dependencies": {
     "@octokit/auth-app": "8.0.1",
-    "@octokit/rest": "22.0.0",
+    "@octokit/rest": "catalog:",
     "hono": "catalog:",
     "jose": "6.0.11"
   }

+ 1 - 1
packages/opencode/package.json

@@ -64,7 +64,7 @@
     "@hono/zod-validator": "catalog:",
     "@modelcontextprotocol/sdk": "1.15.1",
     "@octokit/graphql": "9.0.2",
-    "@octokit/rest": "22.0.0",
+    "@octokit/rest": "catalog:",
     "@openauthjs/openauth": "catalog:",
     "@opencode-ai/plugin": "workspace:*",
     "@opencode-ai/script": "workspace:*",