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
2 changes: 1 addition & 1 deletion packages/agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"tar": "^7.5.0",
"uuid": "13.0.0",
"yoga-wasm-web": "^0.3.3",
"zod": "^3.24.1"
"zod": "^4.2.0"
},
"files": [
"dist/**/*",
Expand Down
10 changes: 4 additions & 6 deletions packages/agent/src/server/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@ import { claudeCodeConfigSchema, mcpServersSchema } from "./schemas";
const envSchema = z.object({
JWT_PUBLIC_KEY: z
.string({
required_error:
"JWT_PUBLIC_KEY is required for authenticating client connections",
error: "JWT_PUBLIC_KEY is required for authenticating client connections",
})
.min(1, "JWT_PUBLIC_KEY cannot be empty"),
POSTHOG_API_URL: z
.string({
required_error:
"POSTHOG_API_URL is required for LLM gateway communication",
error: "POSTHOG_API_URL is required for LLM gateway communication",
})
.url("POSTHOG_API_URL must be a valid URL"),
POSTHOG_PERSONAL_API_KEY: z
.string({
required_error:
error:
"POSTHOG_PERSONAL_API_KEY is required for authenticating with PostHog services",
})
.min(1, "POSTHOG_PERSONAL_API_KEY cannot be empty"),
POSTHOG_PROJECT_ID: z
.string({
required_error:
error:
"POSTHOG_PROJECT_ID is required for routing requests to the correct project",
})
.regex(/^\d+$/, "POSTHOG_PROJECT_ID must be a numeric string")
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/src/server/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const claudeCodeConfigSchema = z.object({
export const jsonRpcRequestSchema = z.object({
jsonrpc: z.literal("2.0"),
method: z.string(),
params: z.record(z.unknown()).optional(),
params: z.record(z.string(), z.unknown()).optional(),
id: z.union([z.string(), z.number()]).optional(),
});

Expand Down
2 changes: 1 addition & 1 deletion packages/electron-trpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"typescript": "^5.8.3",
"vite": "^6.0.7",
"vitest": "^2.1.8",
"zod": "^3.24.1"
"zod": "^4.2.0"
},
"peerDependencies": {
"@trpc/client": ">=11.0.0",
Expand Down
27 changes: 14 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading