Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"@ai-sdk/anthropic": "1.2.1",
"@aws-sdk/client-cloudformation": "3.787.0",
"@hono/zod-validator": "0.4.3",
"@modelcontextprotocol/sdk": "1.9.0",
"@modelcontextprotocol/sdk": "1.24.3",
"@openauthjs/openauth": "0.0.0-20250322224806",
"@opencontrol/core": "workspace:*",
"@rocicorp/zero": "0.17.2025031904",
"ai": "4.2.11",
"aws-sdk": "2.1692.0",
"drizzle-orm": "0.41.0",
"hono": "4.7.5",
"hono": "4.10.3",
"opencontrol": "npm:opencontrol@0.1.0"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would this need updated to

"opencontrol": "workspace:*" / latest version?

},
"devDependencies": {
Expand Down
991 changes: 546 additions & 445 deletions bun.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/bun/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"@ai-sdk/openai": "1.2.5",
"aws-sdk": "2.1692.0",
"opencontrol": "workspace:*",
"zod": "3.24.2"
"zod": "4.2.1"
}
}
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
"prettier": {
"semi": false
},
"overrides": {
"zod": "3.24.2"
},
"trustedDependencies": [
"@rocicorp/zero-sqlite3",
"esbuild",
Expand All @@ -49,4 +46,4 @@
"dependencies": {
"pulumi-stripe": "0.0.24"
}
}
}
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"dependencies": {
"ai": "4.2.11",
"hono": "4.7.5",
"hono": "4.10.3",
"opencontrol": "workspace:*",
"solid-js": "1.9.5"
}
Expand Down
8 changes: 4 additions & 4 deletions packages/opencontrol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
},
"dependencies": {
"@hono/zod-validator": "0.4.3",
"@modelcontextprotocol/sdk": "1.9.0",
"@modelcontextprotocol/sdk": "1.24.3",
"@tsconfig/bun": "1.0.7",
"ai": "4.2.11",
"hono": "4.7.5",
"zod": "3.24.2",
"zod-to-json-schema": "3.24.4"
"hono": "4.10.3",
"zod": "4.2.1",
"zod-to-json-schema": "3.25.0"
},
"devDependencies": {
"@standard-schema/spec": "1.0.0",
Expand Down
9 changes: 2 additions & 7 deletions packages/opencontrol/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ import { createMcp } from "./mcp.js"
import { cors } from "hono/cors"
import HTML from "opencontrol-frontend/dist/index.html" with { type: "text" }
import { zValidator } from "@hono/zod-validator"
import {
AISDKError,
APICallError,
LanguageModelV1,
LanguageModelV1CallOptions,
} from "ai"
import { APICallError, LanguageModelV1, LanguageModelV1CallOptions } from "ai"
import { z } from "zod"
import { HTTPException } from "hono/http-exception"
import { bearerAuth } from "hono/bearer-auth"
Expand All @@ -24,7 +19,7 @@ export interface OpenControlOptions {

export type App = ReturnType<typeof create>

export function create(input: OpenControlOptions) {
export function create(input: OpenControlOptions): Hono {
const mcp = createMcp({ tools: input.tools })
const disableAuth =
input.disableAuth || process.env.OPENCONTROL_DISABLE_AUTH === "true"
Expand Down