@llmops/app 0.6.7 → 0.6.8
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.cjs +8 -2
- package/dist/index.mjs +8 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -18819,7 +18819,10 @@ async function processUsageAndLog(params) {
|
|
|
18819
18819
|
//#region src/server/handlers/genai/index.ts
|
|
18820
18820
|
const app$5 = new hono.Hono();
|
|
18821
18821
|
app$5.use("*", (0, hono_pretty_json.prettyJSON)()).get("/health", async (c) => {
|
|
18822
|
-
return c.json({
|
|
18822
|
+
return c.json({
|
|
18823
|
+
status: "healthy",
|
|
18824
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
18825
|
+
});
|
|
18823
18826
|
}).use("*", requestValidator).use("*", createRequestGuardMiddleware()).use("*", createCostTrackingMiddleware()).use("*", createGatewayAdapterMiddleware()).route("/", __llmops_gateway.default).notFound((c) => c.json({ error: {
|
|
18824
18827
|
message: "Not Found",
|
|
18825
18828
|
type: "invalid_request_error"
|
|
@@ -19631,7 +19634,10 @@ var api_default = app$1;
|
|
|
19631
19634
|
//#endregion
|
|
19632
19635
|
//#region src/server/index.ts
|
|
19633
19636
|
const app = new hono.Hono();
|
|
19634
|
-
app.get("/health", (c) => c.json({
|
|
19637
|
+
app.get("/health", (c) => c.json({
|
|
19638
|
+
status: "ok",
|
|
19639
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19640
|
+
})).use("*", async (c, next) => {
|
|
19635
19641
|
if (!c.req.path.startsWith("/api")) {
|
|
19636
19642
|
if (!c.var.db) return c.json({ error: {
|
|
19637
19643
|
message: "Dashboard UI is not available in inline-only mode. Configure a database to enable the dashboard.",
|
package/dist/index.mjs
CHANGED
|
@@ -18790,7 +18790,10 @@ async function processUsageAndLog(params) {
|
|
|
18790
18790
|
//#region src/server/handlers/genai/index.ts
|
|
18791
18791
|
const app$5 = new Hono();
|
|
18792
18792
|
app$5.use("*", prettyJSON()).get("/health", async (c) => {
|
|
18793
|
-
return c.json({
|
|
18793
|
+
return c.json({
|
|
18794
|
+
status: "healthy",
|
|
18795
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
18796
|
+
});
|
|
18794
18797
|
}).use("*", requestValidator).use("*", createRequestGuardMiddleware()).use("*", createCostTrackingMiddleware()).use("*", createGatewayAdapterMiddleware()).route("/", gateway).notFound((c) => c.json({ error: {
|
|
18795
18798
|
message: "Not Found",
|
|
18796
18799
|
type: "invalid_request_error"
|
|
@@ -19602,7 +19605,10 @@ var api_default = app$1;
|
|
|
19602
19605
|
//#endregion
|
|
19603
19606
|
//#region src/server/index.ts
|
|
19604
19607
|
const app = new Hono();
|
|
19605
|
-
app.get("/health", (c) => c.json({
|
|
19608
|
+
app.get("/health", (c) => c.json({
|
|
19609
|
+
status: "ok",
|
|
19610
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
19611
|
+
})).use("*", async (c, next) => {
|
|
19606
19612
|
if (!c.req.path.startsWith("/api")) {
|
|
19607
19613
|
if (!c.var.db) return c.json({ error: {
|
|
19608
19614
|
message: "Dashboard UI is not available in inline-only mode. Configure a database to enable the dashboard.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/app",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.8",
|
|
4
4
|
"description": "LLMOps application with server and client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"react-hook-form": "^7.68.0",
|
|
78
78
|
"recharts": "^3.6.0",
|
|
79
79
|
"uuid": "^13.0.0",
|
|
80
|
-
"@llmops/
|
|
81
|
-
"@llmops/
|
|
80
|
+
"@llmops/core": "^0.6.8",
|
|
81
|
+
"@llmops/gateway": "^0.6.8"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"react": "^19.2.1",
|