Dax Raad 2 months ago
parent
commit
4126fedbd4
2 changed files with 8 additions and 0 deletions
  1. 2 0
      packages/opencode/src/server/server.ts
  2. 6 0
      packages/sdk/js/openapi.json

+ 2 - 0
packages/opencode/src/server/server.ts

@@ -580,6 +580,7 @@ export namespace Server {
         describeRoute({
           summary: "Get session",
           description: "Retrieve detailed information about a specific OpenCode session.",
+          tags: ["Session"],
           operationId: "session.get",
           responses: {
             200: {
@@ -610,6 +611,7 @@ export namespace Server {
         "/session/:sessionID/children",
         describeRoute({
           summary: "Get session children",
+          tags: ["Session"],
           description: "Retrieve all child sessions that were forked from the specified parent session.",
           operationId: "session.children",
           responses: {

+ 6 - 0
packages/sdk/js/openapi.json

@@ -910,6 +910,9 @@
         ],
         "summary": "Get session",
         "description": "Retrieve detailed information about a specific OpenCode session.",
+        "tags": [
+          "Session"
+        ],
         "responses": {
           "200": {
             "description": "Get session",
@@ -1107,6 +1110,9 @@
           }
         ],
         "summary": "Get session children",
+        "tags": [
+          "Session"
+        ],
         "description": "Retrieve all child sessions that were forked from the specified parent session.",
         "responses": {
           "200": {