This commit is contained in:
-Puter
2026-08-03 18:13:45 +05:30
parent 289c16f11e
commit 48205a5e19
13 changed files with 5362 additions and 7318 deletions

View File

@@ -4,7 +4,6 @@
"private": true,
"type": "module",
"exports": {
"./agent": "./src/agent.ts",
"./convex": "./src/convex.ts",
"./native": "./src/native.ts",
"./server": "./src/server.ts",

View File

@@ -5,10 +5,7 @@ export const env = createEnv({
emptyStringAsUndefined: true,
runtimeEnv: process.env,
server: {
AGENT_BACKEND_URL: z.url().optional(),
CONVEX_SITE_URL: z.url().optional(),
FLUE_DB_TOKEN: z.string().min(1),
FLUE_URL: z.url().optional(),
GITEA_TOKEN: z.string().min(1).optional(),
GITEA_URL: z.url().default("https://git.openputer.com"),
GITEA_WEBHOOK_SECRET: z.string().min(1).optional(),

View File

@@ -16,8 +16,6 @@ export const env = createEnv({
DAEMON_ID: z.string().min(1),
DAEMON_NAME: z.string().min(1).optional(),
DAEMON_VERSION: z.string().default("0.0.0"),
FLUE_DB_TOKEN: z.string().min(1),
RIVET_ENDPOINT: z.url().optional(),
},
skipValidation: process.env.SKIP_ENV_VALIDATION === "true",
});