@cogitator-ai/hono 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -40,17 +40,17 @@ Creates a Hono sub-application with all Cogitator endpoints.
|
|
|
40
40
|
|
|
41
41
|
**Options:**
|
|
42
42
|
|
|
43
|
-
| Option | Type | Description
|
|
44
|
-
| ----------------- | ----------------------------- |
|
|
45
|
-
| `cogitator` | `Cogitator` | **Required.** Cogitator runtime instance
|
|
46
|
-
| `agents` | `Record<string, Agent>` | Named agents to expose
|
|
47
|
-
| `workflows` | `Record<string, Workflow>` | Named workflows
|
|
48
|
-
| `swarms` | `Record<string, SwarmConfig>` | Named swarms
|
|
43
|
+
| Option | Type | Description |
|
|
44
|
+
| ----------------- | ----------------------------- | ----------------------------------------------- |
|
|
45
|
+
| `cogitator` | `Cogitator` | **Required.** Cogitator runtime instance |
|
|
46
|
+
| `agents` | `Record<string, Agent>` | Named agents to expose |
|
|
47
|
+
| `workflows` | `Record<string, Workflow>` | Named workflows |
|
|
48
|
+
| `swarms` | `Record<string, SwarmConfig>` | Named swarms |
|
|
49
49
|
| `auth` | `(c: Context) => AuthContext` | Authentication function (receives Hono Context) |
|
|
50
|
-
| `enableSwagger` | `boolean` | Enable Swagger/OpenAPI docs
|
|
51
|
-
| `swagger` | `SwaggerConfig` | Swagger configuration
|
|
52
|
-
| `enableWebSocket` | `boolean` | Enable WebSocket support
|
|
53
|
-
| `websocket` | `WebSocketConfig` | WebSocket configuration
|
|
50
|
+
| `enableSwagger` | `boolean` | Enable Swagger/OpenAPI docs |
|
|
51
|
+
| `swagger` | `SwaggerConfig` | Swagger configuration |
|
|
52
|
+
| `enableWebSocket` | `boolean` | Enable WebSocket support |
|
|
53
|
+
| `websocket` | `WebSocketConfig` | WebSocket configuration |
|
|
54
54
|
|
|
55
55
|
## Endpoints
|
|
56
56
|
|