@dubeyvishal/orbital-cli 1.6.9 → 1.6.10
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dubeyvishal/orbital-cli",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.10",
|
|
4
4
|
"description": "A fullstack CLI-based AI platform with chat mode, multi-tool agents, and agentic AI workflows. Includes GitHub login with device authorization, secure authentication, and modular client–server architecture for building intelligent automation tools.",
|
|
5
5
|
"author": "Vishal Dubey",
|
|
6
6
|
"license": "MIT",
|
package/server/src/config/api.js
CHANGED
package/server/src/lib/auth.js
CHANGED
|
@@ -3,7 +3,7 @@ import { betterAuth } from "better-auth";
|
|
|
3
3
|
import { prismaAdapter } from "better-auth/adapters/prisma";
|
|
4
4
|
import { deviceAuthorization } from "better-auth/plugins";
|
|
5
5
|
import prisma from "./db.js";
|
|
6
|
-
import {
|
|
6
|
+
import { AUTH_BASE_URL, FRONTEND_URL } from "../config/api.js";
|
|
7
7
|
|
|
8
8
|
const CLIENT_ORIGIN =
|
|
9
9
|
process.env.CLIENT_ORIGIN ||
|
|
@@ -15,7 +15,7 @@ export const auth = betterAuth({
|
|
|
15
15
|
provider: "postgresql",
|
|
16
16
|
}),
|
|
17
17
|
|
|
18
|
-
baseURL:
|
|
18
|
+
baseURL: AUTH_BASE_URL,
|
|
19
19
|
basePath: "/api/auth",
|
|
20
20
|
|
|
21
21
|
trustedOrigins: [CLIENT_ORIGIN],
|