@ramme-io/kernel 8.1.0 → 8.1.2
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/{AiGateway-CjamGYdA.js → AiGateway-Bsallp9J.js} +1 -1
- package/dist/{bodewellAdapter-PfSOdsEI.js → bodewellAdapter-D3LC6nCe.js} +1 -1
- package/dist/{deviceReadings-cxZE1T-0.js → deviceReadings-DmIQeBZ2.js} +18 -15
- package/dist/index.es.js +6 -6
- package/dist/server.es.js +4 -4
- package/dist/signals.es.js +2 -2
- package/package.json +4 -4
|
@@ -324,7 +324,7 @@ e.object({
|
|
|
324
324
|
uptimeSeconds: e.number().int().nonnegative().optional(),
|
|
325
325
|
freeHeapBytes: e.number().int().nonnegative().optional()
|
|
326
326
|
});
|
|
327
|
-
var
|
|
327
|
+
var je = e.enum([
|
|
328
328
|
"background",
|
|
329
329
|
"foreground",
|
|
330
330
|
"muted",
|
|
@@ -332,7 +332,7 @@ var Ie = e.enum([
|
|
|
332
332
|
"success",
|
|
333
333
|
"warning",
|
|
334
334
|
"danger"
|
|
335
|
-
]),
|
|
335
|
+
]), Ie = e.string().regex(/^\d{1,3} \d{1,3} \d{1,3}$/, 'RGB must be three space-separated integers, e.g. "13 110 253"'), S = e.union([je, Ie]), H = e.enum(["xs", "sm", "base", "lg", "xl", "display"]), C = e.enum(["start", "center", "end"]), De = e.discriminatedUnion("kind", [
|
|
336
336
|
e.object({
|
|
337
337
|
kind: e.literal("weather"),
|
|
338
338
|
latitude: e.number().min(-90).max(90),
|
|
@@ -395,12 +395,12 @@ var Ie = e.enum([
|
|
|
395
395
|
kind: e.literal("board"),
|
|
396
396
|
units: e.enum(["imperial", "metric"]).default("imperial")
|
|
397
397
|
})
|
|
398
|
-
]),
|
|
398
|
+
]), I = e.union([
|
|
399
399
|
e.object({ literal: e.number() }),
|
|
400
400
|
e.object({ source: e.string().min(1), field: e.string().min(1) })
|
|
401
401
|
]), Te = e.object({
|
|
402
402
|
compute: e.enum(["add", "subtract", "multiply", "divide"]),
|
|
403
|
-
of: e.tuple([
|
|
403
|
+
of: e.tuple([I, I]),
|
|
404
404
|
round: e.boolean().default(!0)
|
|
405
405
|
}), w = e.union([
|
|
406
406
|
e.object({ literal: e.union([e.string(), e.number(), e.boolean()]) }),
|
|
@@ -412,7 +412,7 @@ var Ie = e.enum([
|
|
|
412
412
|
}),
|
|
413
413
|
Te
|
|
414
414
|
]), _ = e.object({
|
|
415
|
-
value:
|
|
415
|
+
value: I,
|
|
416
416
|
op: e.enum(["<", "<=", ">", ">=", "==", "!="]),
|
|
417
417
|
than: e.union([e.number(), e.string(), e.boolean()])
|
|
418
418
|
}), U = e.object({
|
|
@@ -854,7 +854,7 @@ var Ye = e.object({
|
|
|
854
854
|
"—": { byte: 45, shows: "-" },
|
|
855
855
|
"−": { byte: 45, shows: "-" },
|
|
856
856
|
" ": { byte: 32, shows: " " }
|
|
857
|
-
}, kt = 28,
|
|
857
|
+
}, kt = 28, jt = {
|
|
858
858
|
background: "17 17 17",
|
|
859
859
|
foreground: "238 238 238",
|
|
860
860
|
muted: "153 153 153",
|
|
@@ -862,7 +862,7 @@ var Ye = e.object({
|
|
|
862
862
|
success: "34 197 94",
|
|
863
863
|
warning: "245 158 11",
|
|
864
864
|
danger: "220 53 69"
|
|
865
|
-
},
|
|
865
|
+
}, It = 48, Dt = 3, Tt = {
|
|
866
866
|
sun: [
|
|
867
867
|
[32, 24, 32, 26, 30, 29, 29, 30, 26, 32, 22, 32, 19, 30, 18, 29, 16, 26, 16, 22, 18, 19, 19, 18, 22, 16, 26, 16, 29, 18, 30, 19, 32, 22, 32, 24],
|
|
868
868
|
[37, 24, 43, 24],
|
|
@@ -969,6 +969,9 @@ e.object({
|
|
|
969
969
|
lettering: Y,
|
|
970
970
|
radius: e.enum(Je)
|
|
971
971
|
});
|
|
972
|
+
e.object({
|
|
973
|
+
text: e.string().max(2e3)
|
|
974
|
+
});
|
|
972
975
|
var Qe = e.string().regex(/^[0-9a-f]{42}$/), et = e.union([e.literal("auto"), Y]);
|
|
973
976
|
e.object({
|
|
974
977
|
revision: e.number().int().nonnegative(),
|
|
@@ -990,7 +993,7 @@ e.object({
|
|
|
990
993
|
e.enum(["temperature", "humidity", "vwc", "ec", "ph", "pressure", "co2"])
|
|
991
994
|
).min(1, "At least one metric is required").max(4, "Maximum 4 metrics per graph")
|
|
992
995
|
});
|
|
993
|
-
var
|
|
996
|
+
var j = "gemini-2.5-flash", tt = "gemini-2.5-flash", at = "gemini-2.5-pro", Mt = {
|
|
994
997
|
"google-gemini": "gemini-2.5-flash",
|
|
995
998
|
openai: "gpt-4o-mini",
|
|
996
999
|
anthropic: "claude-haiku-4-5-20251001",
|
|
@@ -1006,13 +1009,13 @@ var I = "gemini-2.5-flash", tt = "gemini-2.5-flash", at = "gemini-2.5-pro", Mt =
|
|
|
1006
1009
|
},
|
|
1007
1010
|
/** The Architect: data schema and resource modeling — precision required */
|
|
1008
1011
|
ARCHITECT: {
|
|
1009
|
-
model:
|
|
1012
|
+
model: j,
|
|
1010
1013
|
provider: "google-gemini",
|
|
1011
1014
|
temperature: 0.3
|
|
1012
1015
|
},
|
|
1013
1016
|
/** The Designer: UI layout generation — moderate creativity */
|
|
1014
1017
|
DESIGNER: {
|
|
1015
|
-
model:
|
|
1018
|
+
model: j,
|
|
1016
1019
|
provider: "google-gemini",
|
|
1017
1020
|
temperature: 0.5
|
|
1018
1021
|
},
|
|
@@ -1026,7 +1029,7 @@ var I = "gemini-2.5-flash", tt = "gemini-2.5-flash", at = "gemini-2.5-pro", Mt =
|
|
|
1026
1029
|
},
|
|
1027
1030
|
/** The Genesis Engine: one-shot app generation — must be schema-strict */
|
|
1028
1031
|
GENESIS: {
|
|
1029
|
-
model:
|
|
1032
|
+
model: j,
|
|
1030
1033
|
provider: "google-gemini",
|
|
1031
1034
|
temperature: 0.2
|
|
1032
1035
|
}
|
|
@@ -1557,7 +1560,7 @@ e.object({
|
|
|
1557
1560
|
decidedAt: e.number().int().nonnegative().nullable().default(null),
|
|
1558
1561
|
decidedBy: y.nullable().default(null)
|
|
1559
1562
|
});
|
|
1560
|
-
var gt = ["boards:read", "boards:send"], Q = e.enum(gt), bt = [7, 30, 90, 365], ft = e.object({
|
|
1563
|
+
var gt = ["boards:read", "boards:send", "boards:configure"], Q = e.enum(gt), bt = [7, 30, 90, 365], ft = e.object({
|
|
1561
1564
|
/** The first 12 hex digits of the hash: what the owner sees and revokes by. */
|
|
1562
1565
|
tokenId: e.string().regex(/^[0-9a-f]{12}$/),
|
|
1563
1566
|
accountId: y,
|
|
@@ -1599,7 +1602,7 @@ export {
|
|
|
1599
1602
|
he as S,
|
|
1600
1603
|
re as T,
|
|
1601
1604
|
le as W,
|
|
1602
|
-
|
|
1605
|
+
j as a,
|
|
1603
1606
|
Pt as b,
|
|
1604
1607
|
$t as c,
|
|
1605
1608
|
Lt as d,
|
|
@@ -1613,14 +1616,14 @@ export {
|
|
|
1613
1616
|
St as l,
|
|
1614
1617
|
F as m,
|
|
1615
1618
|
zt as n,
|
|
1616
|
-
|
|
1619
|
+
jt as o,
|
|
1617
1620
|
Ft as p,
|
|
1618
1621
|
Bt as q,
|
|
1619
1622
|
kt as r,
|
|
1620
1623
|
Rt as s,
|
|
1621
1624
|
_t as t,
|
|
1622
1625
|
Tt as u,
|
|
1623
|
-
|
|
1626
|
+
It as v,
|
|
1624
1627
|
Dt as w,
|
|
1625
1628
|
Ot as x,
|
|
1626
1629
|
Et as y
|
package/dist/index.es.js
CHANGED
|
@@ -13,13 +13,13 @@ var Xr = (e, t, n, r) => ({
|
|
|
13
13
|
return q(e, t, r);
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
-
import { P as Ar, b as El, t as ES, c as kr, i as SS, l as er, a as wS } from "./AiGateway-
|
|
17
|
-
import { A as e0, r as t0, g as n0, d as r0, D as i0, G as a0, f as o0, I as s0, O as l0, e as u0, h as c0, j as d0, q as p0, m as f0, n as h0, u as g0, s as m0, k as b0, o as y0, p as E0 } from "./AiGateway-
|
|
16
|
+
import { P as Ar, b as El, t as ES, c as kr, i as SS, l as er, a as wS } from "./AiGateway-Bsallp9J.js";
|
|
17
|
+
import { A as e0, r as t0, g as n0, d as r0, D as i0, G as a0, f as o0, I as s0, O as l0, e as u0, h as c0, j as d0, q as p0, m as f0, n as h0, u as g0, s as m0, k as b0, o as y0, p as E0 } from "./AiGateway-Bsallp9J.js";
|
|
18
18
|
import at, { useState as Ge, useRef as _n, useEffect as wt, createContext as Ki, useContext as Ur, useCallback as gt, useMemo as qt, forwardRef as jm, createElement as Va } from "react";
|
|
19
|
-
import { S as vS, n as Zr, D as _S, o as Yi, p as AS, q as kS, r as TS, s as Ka, t as $m, I as zm, u as ah, v as oh, w as IS, x as Gm, y as xS } from "./deviceReadings-
|
|
20
|
-
import { f as w0, h as v0, B as _0, E as A0, F as k0, g as T0, P as I0, R as x0, T as R0, W as N0, d as C0 } from "./deviceReadings-
|
|
21
|
-
import { u as Hm, s as RS, i as Xi } from "./bodewellAdapter-
|
|
22
|
-
import { b as L0, d as D0, e as M0, a as F0, B as P0, g as U0, j as B0, k as j0, h as $0, c as z0, f as G0, t as H0 } from "./bodewellAdapter-
|
|
19
|
+
import { S as vS, n as Zr, D as _S, o as Yi, p as AS, q as kS, r as TS, s as Ka, t as $m, I as zm, u as ah, v as oh, w as IS, x as Gm, y as xS } from "./deviceReadings-DmIQeBZ2.js";
|
|
20
|
+
import { f as w0, h as v0, B as _0, E as A0, F as k0, g as T0, P as I0, R as x0, T as R0, W as N0, d as C0 } from "./deviceReadings-DmIQeBZ2.js";
|
|
21
|
+
import { u as Hm, s as RS, i as Xi } from "./bodewellAdapter-D3LC6nCe.js";
|
|
22
|
+
import { b as L0, d as D0, e as M0, a as F0, B as P0, g as U0, j as B0, k as j0, h as $0, c as z0, f as G0, t as H0 } from "./bodewellAdapter-D3LC6nCe.js";
|
|
23
23
|
import { Drawer as Wm, FormTemplate as NS, Button as en, useToast as qm, Card as Bi, Icon as _t, SearchInput as CS, DataTable as OS, formatValue as sh, Badge as LS, LineChart as DS, BarChart as MS, DeviceCard as FS, StatCard as PS, THEME_TOKEN_VARS as US, applyThemeToDom as Ya, tokensToVars as Xa, isCustomTheme as Vm, Sparkline as BS, CircularDial as jS, Input as Ln, generateFromPrompt as lh, lightToDark as $S, generateFromProfile as Qn, PageContainer as zS, PageHeader as GS, SettingsContainer as Km, ThemeLab as Ym, AESTHETIC_PROFILES as Xm, Label as ji, useTheme as Zm, useIsMobile as HS, RammeInspectorTrigger as WS, Sheet as qS, AIChatThread as VS, LoginPage as KS, SignupPage as YS, Modal as XS } from "@ramme-io/ui";
|
|
24
24
|
import { Link as ZS, Navigate as Qm, Outlet as QS, useNavigate as Jm, useLocation as JS, Route as _a } from "react-router-dom";
|
|
25
25
|
const eb = "RAMME_SYNC_MANIFEST", ew = "*", Sl = () => {
|
package/dist/server.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as E } from "./AiGateway-
|
|
2
|
-
import { A as k, c as x, g as J, a as L, d as M, D as F, G as Y, f as U, I as B, O as H, e as q, h as z, b as V, i as W, j as C, s as X, k as Q } from "./AiGateway-
|
|
1
|
+
import { n as E } from "./AiGateway-Bsallp9J.js";
|
|
2
|
+
import { A as k, c as x, g as J, a as L, d as M, D as F, G as Y, f as U, I as B, O as H, e as q, h as z, b as V, i as W, j as C, s as X, k as Q } from "./AiGateway-Bsallp9J.js";
|
|
3
3
|
import { streamText as O, generateObject as g } from "ai";
|
|
4
4
|
import { createGoogleGenerativeAI as u } from "@ai-sdk/google";
|
|
5
|
-
import { A as S, D as G, a as T, b as y, c as _, e as f } from "./deviceReadings-
|
|
6
|
-
import { f as ee, h as te, B as ae, E as se, F as re, g as oe, P as ne, R as ce, S as ie, T as me, W as le, d as pe } from "./deviceReadings-
|
|
5
|
+
import { A as S, D as G, a as T, b as y, c as _, e as f } from "./deviceReadings-DmIQeBZ2.js";
|
|
6
|
+
import { f as ee, h as te, B as ae, E as se, F as re, g as oe, P as ne, R as ce, S as ie, T as me, W as le, d as pe } from "./deviceReadings-DmIQeBZ2.js";
|
|
7
7
|
function h(e) {
|
|
8
8
|
const a = typeof process < "u" ? process.env.GOOGLE_GENERATIVE_AI_API_KEY : void 0, s = e || a;
|
|
9
9
|
if (!s)
|
package/dist/signals.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as o, d as s, e as l, a as d, B as L, g as E, h as i, c as B, f as S, t as _ } from "./bodewellAdapter-
|
|
2
|
-
import { d as D } from "./deviceReadings-
|
|
1
|
+
import { b as o, d as s, e as l, a as d, B as L, g as E, h as i, c as B, f as S, t as _ } from "./bodewellAdapter-D3LC6nCe.js";
|
|
2
|
+
import { d as D } from "./deviceReadings-DmIQeBZ2.js";
|
|
3
3
|
export {
|
|
4
4
|
o as BODEWELL_HARDWARE_ONLY_FIELDS,
|
|
5
5
|
s as BODEWELL_HISTORY_FIELDS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ramme-io/kernel",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@ai-sdk/google": ">=0.0.1",
|
|
35
|
-
"@ramme-io/ui": ">=5.0.
|
|
35
|
+
"@ramme-io/ui": ">=5.0.3",
|
|
36
36
|
"ai": ">=4.0.0",
|
|
37
37
|
"react": ">=18.2.0",
|
|
38
38
|
"react-dom": ">=18.2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vite-plugin-dts": "^3.9.1",
|
|
57
57
|
"vitest": "^2.1.9",
|
|
58
58
|
"zod": "^3.23.8",
|
|
59
|
-
"@ramme-io/ui": "5.0.
|
|
59
|
+
"@ramme-io/ui": "5.0.3"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"remark-gfm": "^4.0.1",
|
|
68
68
|
"zod-to-json-schema": "^3.23.0",
|
|
69
69
|
"zustand": "^5.0.0",
|
|
70
|
-
"@ramme-io/shared": "4.
|
|
70
|
+
"@ramme-io/shared": "4.2.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "vite build",
|