Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
8253af3
add CLI package scaffolding with pseudocode commands
saddlepaddle Apr 5, 2026
cd42b38
add @superset/cli-framework package
saddlepaddle Apr 5, 2026
6e4a9a9
wire CLI commands to framework, all typechecking and running
saddlepaddle Apr 5, 2026
c2f4e3b
fix: camelCase to kebab-case for option flags, show command descripti…
saddlepaddle Apr 5, 2026
ff56a91
wire real tRPC client and API types into CLI commands
saddlepaddle Apr 5, 2026
e6545f0
bump better-auth 1.4.18 → 1.5.6, add device authorization plugin
saddlepaddle Apr 5, 2026
b4ee900
add OAuth device flow for CLI auth + /device approval page
saddlepaddle Apr 5, 2026
63eabc6
CLI auth e2e working + tasks list with real data
saddlepaddle Apr 5, 2026
8b90cbe
fix: detect CLAUDECODE and CLAUDE_CODE_ENTRYPOINT for agent mode auto…
saddlepaddle Apr 5, 2026
0951968
add org list/switch commands, clack prompts, device page org selection
saddlepaddle Apr 5, 2026
fb3fbaf
polish: table truncation, error handling, tasks update, auth login UX
saddlepaddle Apr 5, 2026
3f16867
add compiled binary support with static command registration
saddlepaddle Apr 5, 2026
f5c1f3c
fix: resolve all Better Auth 1.5.6 type breakages across monorepo
saddlepaddle Apr 5, 2026
ba85548
fix: resolve all lint errors (biome formatting + React hooks)
saddlepaddle Apr 5, 2026
99864d2
fix: resolve remaining CI lint, typecheck, and build failures
saddlepaddle Apr 5, 2026
2290c5c
fix: resolve device page typecheck error (unknown → typed error respo…
saddlepaddle Apr 6, 2026
5b695f3
fix: remove unnecessary type annotations from Better Auth 1.5.6 upgrade
saddlepaddle Apr 6, 2026
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 apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@trpc/client": "^11.7.1",
"@trpc/server": "^11.7.1",
"@trpc/tanstack-react-query": "^11.7.1",
"better-auth": "1.4.18",
"better-auth": "1.5.6",
"date-fns": "^4.1.0",
"drizzle-orm": "0.45.1",
"import-in-the-middle": "2.0.1",
Expand Down
4 changes: 2 additions & 2 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@anthropic-ai/sdk": "^0.78.0",
"@better-auth/oauth-provider": "1.4.18",
"@better-auth/oauth-provider": "1.5.6",
"@durable-streams/client": "^0.2.1",
"@electric-sql/client": "1.5.13",
"@linear/sdk": "^68.1.0",
Expand All @@ -35,7 +35,7 @@
"@upstash/ratelimit": "^2.0.4",
"@upstash/redis": "^1.34.3",
"@vercel/blob": "^2.0.0",
"better-auth": "1.4.18",
"better-auth": "1.5.6",
"date-fns": "^4.1.0",
"drizzle-orm": "0.45.1",
"import-in-the-middle": "2.0.1",
Expand Down
6 changes: 3 additions & 3 deletions apps/api/src/app/api/agent/[transport]/auth-flow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface SessionResponse {
}

interface VerifiedApiKey {
userId?: string | null;
referenceId?: string | null;
metadata?: unknown;
}

Expand Down Expand Up @@ -124,10 +124,10 @@ function parseApiKeyMetadata(
}

function buildApiKeyAuthInfo(apiKey: VerifiedApiKey): AuthInfo | undefined {
const userId = apiKey.userId;
const userId = apiKey.referenceId;

if (!userId) {
console.error("[mcp/auth] API key missing userId");
console.error("[mcp/auth] API key missing referenceId");
return undefined;
}

Expand Down
5 changes: 3 additions & 2 deletions apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"@ai-sdk/openai": "3.0.36",
"@ai-sdk/react": "^3.0.0",
"@ast-grep/napi": "^0.41.0",
"@better-auth/stripe": "1.4.18",
"@better-auth/api-key": "1.5.6",
"@better-auth/stripe": "1.5.6",
"@codemirror/commands": "^6.10.2",
"@codemirror/lang-cpp": "^6.0.3",
"@codemirror/lang-css": "^6.3.1",
Expand Down Expand Up @@ -147,7 +148,7 @@
"@xterm/headless": "6.1.0-beta.195",
"@xterm/xterm": "6.1.0-beta.195",
"ai": "^6.0.0",
"better-auth": "1.4.18",
"better-auth": "1.5.6",
"better-sqlite3": "12.6.2",
"bindings": "^1.5.0",
"bufferutil": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/renderer/lib/auth-client.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { apiKeyClient } from "@better-auth/api-key/client";
import { stripeClient } from "@better-auth/stripe/client";
import type { auth } from "@superset/auth/server";
import {
apiKeyClient,
customSessionClient,
jwtClient,
organizationClient,
Expand Down
4 changes: 2 additions & 2 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint:fix": "biome check --write ."
},
"dependencies": {
"@better-auth/expo": "1.4.18",
"@better-auth/expo": "1.5.6",
"@electric-sql/client": "1.5.13",
"@expo/ui": "~55.0.0-preview.4",
"@expo/vector-icons": "^15.0.3",
Expand Down Expand Up @@ -50,7 +50,7 @@
"@tanstack/react-query": "^5.90.19",
"@trpc/client": "^11.7.1",
"@trpc/react-query": "^11.7.1",
"better-auth": "1.4.18",
"better-auth": "1.5.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dotenv": "^17.3.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@trpc/server": "^11.7.1",
"@trpc/tanstack-react-query": "^11.7.1",
"@uiw/react-md-editor": "^4.0.11",
"better-auth": "1.4.18",
"better-auth": "1.5.6",
"framer-motion": "^12.23.26",
"geist": "^1.7.0",
"import-in-the-middle": "2.0.1",
Expand Down
11 changes: 9 additions & 2 deletions apps/web/src/app/(auth)/sign-in/[[...sign-in]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,19 @@
import { authClient } from "@superset/auth/client";
import { Button } from "@superset/ui/button";
import Link from "next/link";
import { useSearchParams } from "next/navigation";
import { useState } from "react";
import { FaGithub } from "react-icons/fa";
import { FcGoogle } from "react-icons/fc";
import { env } from "@/env";

export default function SignInPage() {
const searchParams = useSearchParams();
const redirect = searchParams.get("redirect");
const callbackURL = redirect
? `${env.NEXT_PUBLIC_WEB_URL}${redirect}`
: env.NEXT_PUBLIC_WEB_URL;

const [isLoadingGoogle, setIsLoadingGoogle] = useState(false);
const [isLoadingGithub, setIsLoadingGithub] = useState(false);
const [error, setError] = useState<string | null>(null);
Expand All @@ -20,7 +27,7 @@ export default function SignInPage() {
try {
await authClient.signIn.social({
provider: "google",
callbackURL: env.NEXT_PUBLIC_WEB_URL,
callbackURL,
});
} catch (err) {
console.error("Sign in failed:", err);
Expand All @@ -36,7 +43,7 @@ export default function SignInPage() {
try {
await authClient.signIn.social({
provider: "github",
callbackURL: env.NEXT_PUBLIC_WEB_URL,
callbackURL,
});
} catch (err) {
console.error("Sign in failed:", err);
Expand Down
Loading
Loading