@llmops/core 0.1.0 → 0.1.1

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/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as string, C as any, D as number, E as literal, M as unknown, O as object, S as _enum, T as boolean, _ as schemas, a as matchType, b as variantsSchema, c as parsePartialTableData, d as validateTableData, f as SCHEMA_METADATA, g as environmentsSchema, h as environmentSecretsSchema, i as getMigrations, j as union, k as record, l as parseTableData, m as configsSchema, n as createDatabaseFromConnection, o as runAutoMigrations, p as configVariantsSchema, r as detectDatabaseType, s as logger, t as createDatabase, u as validatePartialTableData, v as targetingRulesSchema, w as array, x as zod_default, y as variantVersionsSchema } from "./db-DCfAacY7.mjs";
1
+ import { A as string, C as any, D as number, E as literal, M as unknown, O as object, S as _enum, T as boolean, _ as schemas, a as matchType, b as variantsSchema, c as parsePartialTableData, d as validateTableData, f as SCHEMA_METADATA, g as environmentsSchema, h as environmentSecretsSchema, i as getMigrations, j as union, k as record, l as parseTableData, m as configsSchema, n as createDatabaseFromConnection, o as runAutoMigrations, p as configVariantsSchema, r as detectDatabaseType, s as logger, t as createDatabase, u as validatePartialTableData, v as targetingRulesSchema, w as array, x as zod_default, y as variantVersionsSchema } from "./db-DN6gkyRp.mjs";
2
2
  import gateway from "@llmops/gateway";
3
3
  import { createRandomStringGenerator } from "@better-auth/utils/random";
4
4
  import { randomBytes, randomUUID } from "node:crypto";
@@ -448,7 +448,8 @@ const llmopsConfigSchema = object({
448
448
  auth: authSchema,
449
449
  basePath: string().min(1, "Base path is required and cannot be empty").refine((path) => path.startsWith("/"), "Base path must start with a forward slash"),
450
450
  providers: providersSchema,
451
- autoMigrate: union([boolean(), literal("development")]).optional().default(false)
451
+ autoMigrate: union([boolean(), literal("development")]).optional().default(false),
452
+ schema: string().optional().default("llmops")
452
453
  });
453
454
  function validateLLMOpsConfig(config) {
454
455
  const result = llmopsConfigSchema.safeParse(config);
@@ -1,4 +1,4 @@
1
- const require_db = require('./db-16I7_mus.cjs');
1
+ const require_db = require('./db-gMDwCuHR.cjs');
2
2
  let kysely = require("kysely");
3
3
 
4
4
  //#region src/db/node-sqlite-dialect.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmops/core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Core LLMOps functionality and utilities",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -51,7 +51,7 @@
51
51
  "hono": "^4.10.7",
52
52
  "kysely": "^0.28.8",
53
53
  "pino": "^10.1.0",
54
- "@llmops/gateway": "^0.1.0"
54
+ "@llmops/gateway": "^0.1.1"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "tsdown",