@ramme-io/kernel 8.1.3 → 8.1.5
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-DgTZzu-o.js → AiGateway-DV1RjnCa.js} +1 -1
- package/dist/{bodewellAdapter-yTt3lUXY.js → bodewellAdapter-CGBgINab.js} +1 -1
- package/dist/{deviceReadings-C5hJzVcz.js → deviceReadings-DUA6cQh5.js} +45 -40
- package/dist/index.es.js +6 -6
- package/dist/kernel/src/engine/runtime/ManifestContext.d.ts +1 -1
- package/dist/kernel/src/engine/runtime/useLiveBridge.d.ts +1 -1
- package/dist/server.es.js +4 -4
- package/dist/signals.es.js +2 -2
- package/package.json +3 -3
|
@@ -106,7 +106,7 @@ var te = Object.defineProperty, ae = (a, i) => {
|
|
|
106
106
|
createdAt: e.string().optional()
|
|
107
107
|
}),
|
|
108
108
|
config: e.object({
|
|
109
|
-
theme: e.enum(["light", "dark", "system", "corporate", "midnight", "blueprint"]).default("system"),
|
|
109
|
+
theme: e.enum(["light", "dark", "system", "corporate", "midnight", "blueprint", "markets"]).default("system"),
|
|
110
110
|
layout: e.enum(["dashboard", "explorer", "studio", "focus"]).default("dashboard"),
|
|
111
111
|
mockMode: e.boolean().default(!0),
|
|
112
112
|
brokerUrl: e.string().optional(),
|
|
@@ -234,7 +234,7 @@ var T = e.enum([
|
|
|
234
234
|
// no display; sensor node
|
|
235
235
|
"simulator"
|
|
236
236
|
// browser-side stand-in, for building without hardware
|
|
237
|
-
]),
|
|
237
|
+
]), U = e.enum([
|
|
238
238
|
"weather",
|
|
239
239
|
"clock",
|
|
240
240
|
"aircraft",
|
|
@@ -298,7 +298,7 @@ e.object({
|
|
|
298
298
|
/** Monotonic. Portal increments on write; device echoes what it is running. */
|
|
299
299
|
revision: e.number().int().nonnegative(),
|
|
300
300
|
updatedAt: e.string().datetime().optional(),
|
|
301
|
-
activeApp:
|
|
301
|
+
activeApp: U,
|
|
302
302
|
apps: Be,
|
|
303
303
|
display: Fe,
|
|
304
304
|
theme: ke
|
|
@@ -319,7 +319,7 @@ e.object({
|
|
|
319
319
|
provisioning: je,
|
|
320
320
|
/** Revision the device is actually running, not the one it was sent. */
|
|
321
321
|
configRevision: e.number().int().nonnegative(),
|
|
322
|
-
activeApp:
|
|
322
|
+
activeApp: U,
|
|
323
323
|
rssi: e.number().int().optional().describe("dBm"),
|
|
324
324
|
uptimeSeconds: e.number().int().nonnegative().optional(),
|
|
325
325
|
freeHeapBytes: e.number().int().nonnegative().optional()
|
|
@@ -332,7 +332,7 @@ var Ie = e.enum([
|
|
|
332
332
|
"success",
|
|
333
333
|
"warning",
|
|
334
334
|
"danger"
|
|
335
|
-
]), De = 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([Ie, De]),
|
|
335
|
+
]), De = 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([Ie, De]), K = e.enum(["xs", "sm", "base", "lg", "xl", "display"]), C = e.enum(["start", "center", "end"]), Te = e.discriminatedUnion("kind", [
|
|
336
336
|
e.object({
|
|
337
337
|
kind: e.literal("weather"),
|
|
338
338
|
latitude: e.number().min(-90).max(90),
|
|
@@ -415,20 +415,20 @@ var Ie = e.enum([
|
|
|
415
415
|
value: I,
|
|
416
416
|
op: e.enum(["<", "<=", ">", ">=", "==", "!="]),
|
|
417
417
|
than: e.union([e.number(), e.string(), e.boolean()])
|
|
418
|
-
}),
|
|
418
|
+
}), W = e.object({
|
|
419
419
|
when: _,
|
|
420
420
|
color: S.optional(),
|
|
421
|
-
size:
|
|
421
|
+
size: K.optional()
|
|
422
422
|
}), B = {
|
|
423
423
|
color: S.optional(),
|
|
424
424
|
/** Drawn only when this is false, or absent. */
|
|
425
425
|
hideWhen: _.optional(),
|
|
426
426
|
/** Conditional style. First match wins. */
|
|
427
|
-
rules: e.array(
|
|
427
|
+
rules: e.array(W).max(4).optional()
|
|
428
428
|
}, Oe = e.object({
|
|
429
429
|
type: e.literal("text"),
|
|
430
430
|
value: w,
|
|
431
|
-
size:
|
|
431
|
+
size: K.default("base"),
|
|
432
432
|
align: C.default("start"),
|
|
433
433
|
/** Printed after the value, e.g. a degree symbol. Never itself bound. */
|
|
434
434
|
/** Drawn before the value, as `suffix` is after: "H " for "H 68°". */
|
|
@@ -477,7 +477,7 @@ var Ie = e.enum([
|
|
|
477
477
|
align: C.default("start"),
|
|
478
478
|
/** Drawn only when this is false, or absent. */
|
|
479
479
|
hideWhen: _.optional()
|
|
480
|
-
}), D = e.string().regex(/^[0-9a-f]{64}$/, "a lowercase hex SHA-256"), f = { width: 304, height: 224 }, He = 8,
|
|
480
|
+
}), D = e.string().regex(/^[0-9a-f]{64}$/, "a lowercase hex SHA-256"), f = { width: 304, height: 224 }, He = 8, z = {
|
|
481
481
|
/** "RSPR". */
|
|
482
482
|
magic: [82, 83, 80, 82],
|
|
483
483
|
version: 1,
|
|
@@ -486,7 +486,7 @@ var Ie = e.enum([
|
|
|
486
486
|
/** Only 4 today: two pixels per byte, high nibble first, rows padded to a byte. */
|
|
487
487
|
bitsPerPixel: 4,
|
|
488
488
|
maxColors: 16
|
|
489
|
-
}, _t =
|
|
489
|
+
}, _t = z.headerBytes + z.maxColors * 2 + Math.ceil(f.width / 2) * f.height, Ue = e.object({
|
|
490
490
|
type: e.literal("image"),
|
|
491
491
|
asset: D,
|
|
492
492
|
/** The file's own pixels, not the drawn size. */
|
|
@@ -508,10 +508,10 @@ var Ie = e.enum([
|
|
|
508
508
|
size: e.enum(["sm", "md", "lg", "xl"]).default("md"),
|
|
509
509
|
align: C.default("start"),
|
|
510
510
|
color: S.default("foreground"),
|
|
511
|
-
rules: e.array(
|
|
511
|
+
rules: e.array(W).max(4).optional(),
|
|
512
512
|
/** Drawn only when this is false, or absent. */
|
|
513
513
|
hideWhen: _.optional()
|
|
514
|
-
}),
|
|
514
|
+
}), G = e.discriminatedUnion("type", [
|
|
515
515
|
Oe,
|
|
516
516
|
Me,
|
|
517
517
|
Ne,
|
|
@@ -536,8 +536,8 @@ var Ie = e.enum([
|
|
|
536
536
|
* falls back to equal cells.
|
|
537
537
|
*/
|
|
538
538
|
pack: e.boolean().optional(),
|
|
539
|
-
children: e.array(
|
|
540
|
-
}), Ge = e.union([
|
|
539
|
+
children: e.array(G).min(1).max(8)
|
|
540
|
+
}), Ge = e.union([G, We]);
|
|
541
541
|
e.enum(["landscape", "portrait"]);
|
|
542
542
|
var Ft = {
|
|
543
543
|
landscape: { width: 320, height: 240 },
|
|
@@ -545,7 +545,7 @@ var Ft = {
|
|
|
545
545
|
}, Ze = e.preprocess(
|
|
546
546
|
(a) => a === "240x320" ? "320x240" : a,
|
|
547
547
|
e.enum(["320x240"])
|
|
548
|
-
),
|
|
548
|
+
), R = e.object({
|
|
549
549
|
/** Bumped only for a breaking change; the device checks it before parsing. */
|
|
550
550
|
schemaVersion: e.literal(1),
|
|
551
551
|
id: e.string().regex(/^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$/, "lowercase slug"),
|
|
@@ -726,10 +726,10 @@ var Ye = e.object({
|
|
|
726
726
|
e.object({
|
|
727
727
|
readings: e.array(Ye).min(1).max(16)
|
|
728
728
|
});
|
|
729
|
-
var x = e.string().regex(/^[0-9A-HJKMNP-TV-Z]{8}$/, "eight characters, no I L O or U"),
|
|
729
|
+
var x = e.string().regex(/^[0-9A-HJKMNP-TV-Z]{8}$/, "eight characters, no I L O or U"), O = e.string().regex(/^\d{4}$/);
|
|
730
730
|
e.object({
|
|
731
731
|
deviceId: x,
|
|
732
|
-
code:
|
|
732
|
+
code: O,
|
|
733
733
|
/** Firmware build, so a support question has an answer. */
|
|
734
734
|
version: e.string().max(40).optional(),
|
|
735
735
|
/** Which board this is, from Boards.h — the two variants need different firmware. */
|
|
@@ -759,7 +759,7 @@ e.object({
|
|
|
759
759
|
});
|
|
760
760
|
e.object({
|
|
761
761
|
deviceId: x,
|
|
762
|
-
code:
|
|
762
|
+
code: O
|
|
763
763
|
});
|
|
764
764
|
e.object({
|
|
765
765
|
deviceId: x
|
|
@@ -770,7 +770,7 @@ e.object({
|
|
|
770
770
|
});
|
|
771
771
|
e.object({
|
|
772
772
|
deviceId: x,
|
|
773
|
-
code:
|
|
773
|
+
code: O,
|
|
774
774
|
ownerId: e.string().nullable().default(null),
|
|
775
775
|
version: e.string().max(40).optional(),
|
|
776
776
|
createdAt: e.number().int().nonnegative(),
|
|
@@ -911,7 +911,7 @@ var Xe = e.object({
|
|
|
911
911
|
[26, 33, 20, 41, 27, 41, 22, 47]
|
|
912
912
|
]
|
|
913
913
|
}, k = 8, Je = e.object({
|
|
914
|
-
apps: e.array(
|
|
914
|
+
apps: e.array(R).min(1).max(k),
|
|
915
915
|
/** Which app to show — an index into `apps`. */
|
|
916
916
|
show: e.number().int().min(0).max(k - 1),
|
|
917
917
|
/** Move to the next app every this many minutes; 0 holds still. */
|
|
@@ -948,7 +948,12 @@ e.discriminatedUnion("op", [
|
|
|
948
948
|
*/
|
|
949
949
|
e.object({ op: e.literal("forget"), deviceId: x, revision: e.number().int().min(1) })
|
|
950
950
|
]);
|
|
951
|
-
|
|
951
|
+
e.object({
|
|
952
|
+
document: R,
|
|
953
|
+
savedAt: e.number().int().nonnegative(),
|
|
954
|
+
updatedAt: e.number().int().nonnegative()
|
|
955
|
+
});
|
|
956
|
+
var v = e.string().regex(/^\d{1,3} \d{1,3} \d{1,3}$/, 'Must be "R G B", e.g. "13 110 253"').refine((a) => a.split(" ").every((i) => Number(i) <= 255), "Each channel is 0–255"), L = e.object({
|
|
952
957
|
background: v,
|
|
953
958
|
/** Text. */
|
|
954
959
|
foreground: v,
|
|
@@ -959,16 +964,16 @@ var v = e.string().regex(/^\d{1,3} \d{1,3} \d{1,3}$/, 'Must be "R G B", e.g. "13
|
|
|
959
964
|
success: v,
|
|
960
965
|
warning: v,
|
|
961
966
|
danger: v
|
|
962
|
-
}), X = e.enum(["inter", "tay", "pixel"]), Qe = ["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"],
|
|
963
|
-
heading:
|
|
964
|
-
body:
|
|
967
|
+
}), X = e.enum(["inter", "tay", "pixel"]), Qe = ["0rem", "0.25rem", "0.5rem", "0.75rem", "1rem"], V = e.string().trim().min(1).max(60).regex(/^[A-Za-z0-9 ]+$/), et = e.object({
|
|
968
|
+
heading: V.optional(),
|
|
969
|
+
body: V.optional()
|
|
965
970
|
});
|
|
966
971
|
e.object({
|
|
967
972
|
name: e.string().trim().min(1).max(40),
|
|
968
973
|
/** The preset it started from, when it started from one. */
|
|
969
974
|
base: e.string().max(40).optional(),
|
|
970
|
-
light:
|
|
971
|
-
dark:
|
|
975
|
+
light: L,
|
|
976
|
+
dark: L,
|
|
972
977
|
lettering: X,
|
|
973
978
|
radius: e.enum(Qe),
|
|
974
979
|
fonts: et.optional()
|
|
@@ -980,7 +985,7 @@ var tt = e.string().regex(/^[0-9a-f]{42}$/), at = e.union([e.literal("auto"), X]
|
|
|
980
985
|
e.object({
|
|
981
986
|
revision: e.number().int().nonnegative(),
|
|
982
987
|
sentAt: e.number().int().nonnegative().optional(),
|
|
983
|
-
document:
|
|
988
|
+
document: R.optional(),
|
|
984
989
|
shelf: Je.optional(),
|
|
985
990
|
update: Xe.optional(),
|
|
986
991
|
screen: e.object({ invert: e.boolean() }).optional(),
|
|
@@ -1452,15 +1457,15 @@ e.object({
|
|
|
1452
1457
|
l.add(u.id);
|
|
1453
1458
|
}
|
|
1454
1459
|
}), a.components.forEach((n, t) => {
|
|
1455
|
-
var
|
|
1460
|
+
var N, P, $;
|
|
1456
1461
|
a.enclosure_style === "split_shell_lip" && n.mount_holes && (!n.mount_holes.insert_od || !n.mount_holes.insert_depth) && i.addIssue({ code: e.ZodIssueCode.custom, path: ["components", t, "mount_holes"], message: "a split_shell_lip case holds boards on heat-set inserts: give insert_od and insert_depth" }), n.interfaces.forEach((c, A) => {
|
|
1457
1462
|
c.chamfer && c.edge !== "top" && c.edge !== "bottom" && i.addIssue({ code: e.ZodIssueCode.custom, path: ["components", t, "interfaces", A, "chamfer"], message: `a chamfer ramps an opening in the bezel or the floor: its edge must be top or bottom, not ${c.edge}` }), c.cutout_shape === "grille" && c.edge !== "top" && c.edge !== "bottom" && i.addIssue({ code: e.ZodIssueCode.custom, path: ["components", t, "interfaces", A, "cutout_shape"], message: `a grille is a field of holes in the bezel or the floor: its edge must be top or bottom, not ${c.edge}` }), c.flex_button && c.edge !== "bottom" && i.addIssue({ code: e.ZodIssueCode.custom, path: ["components", t, "interfaces", A, "flex_button"], message: `a flex button is pressed through the floor: its edge must be bottom, not ${c.edge}` });
|
|
1458
1463
|
});
|
|
1459
1464
|
const [s, l] = n.dimensions;
|
|
1460
|
-
(
|
|
1465
|
+
(P = (N = n.mount_holes) == null ? void 0 : N.positions) == null || P.forEach((c, A) => {
|
|
1461
1466
|
(Math.abs(c[0]) > s / 2 || Math.abs(c[1]) > l / 2) && i.addIssue({ code: e.ZodIssueCode.custom, path: ["components", t, "mount_holes", "positions", A], message: `hole at [${c}] is outside the ${s}×${l} footprint` });
|
|
1462
1467
|
});
|
|
1463
|
-
const u = (
|
|
1468
|
+
const u = ($ = n.mount_holes) == null ? void 0 : $.inset_from_corners;
|
|
1464
1469
|
u && (u[0] * 2 >= s || u[1] * 2 >= l) && i.addIssue({ code: e.ZodIssueCode.custom, path: ["components", t, "mount_holes", "inset_from_corners"], message: `insets [${u}] meet in the middle of a ${s}×${l} footprint` });
|
|
1465
1470
|
});
|
|
1466
1471
|
});
|
|
@@ -1501,7 +1506,7 @@ e.object({
|
|
|
1501
1506
|
lastActive: e.string().optional(),
|
|
1502
1507
|
avatarUrl: e.string().optional()
|
|
1503
1508
|
});
|
|
1504
|
-
var y = e.string().regex(/^acct_[0-9a-f]{12}$/, "acct_ and 12 hex digits"),
|
|
1509
|
+
var y = e.string().regex(/^acct_[0-9a-f]{12}$/, "acct_ and 12 hex digits"), M = e.enum(["member", "admin"]), Q = e.enum(["active", "suspended"]), gt = e.object({
|
|
1505
1510
|
algo: e.literal("scrypt"),
|
|
1506
1511
|
n: e.number().int().positive(),
|
|
1507
1512
|
r: e.number().int().positive(),
|
|
@@ -1515,7 +1520,7 @@ e.object({
|
|
|
1515
1520
|
/** Lowercased on write, because a login must not depend on how it was typed. */
|
|
1516
1521
|
email: e.string().email().max(254),
|
|
1517
1522
|
name: e.string().min(1).max(64),
|
|
1518
|
-
role:
|
|
1523
|
+
role: M,
|
|
1519
1524
|
status: Q,
|
|
1520
1525
|
password: gt,
|
|
1521
1526
|
createdAt: e.number().int().nonnegative(),
|
|
@@ -1523,15 +1528,15 @@ e.object({
|
|
|
1523
1528
|
/** Which admin approved this, or null for the bootstrap account. */
|
|
1524
1529
|
invitedBy: y.nullable().default(null)
|
|
1525
1530
|
});
|
|
1526
|
-
var
|
|
1531
|
+
var H = 40;
|
|
1527
1532
|
e.string().transform((a) => a.trim().replace(/\s+/g, " ")).pipe(
|
|
1528
|
-
e.string().min(1, "Give a name.").max(
|
|
1533
|
+
e.string().min(1, "Give a name.").max(H, `At most ${H} characters.`).refine((a) => !/[\u0000-\u001f\u007f-\u009f\u200b-\u200f\u2028-\u202e\u2066-\u2069]/.test(a), "Letters, numbers, spaces and punctuation only.")
|
|
1529
1534
|
);
|
|
1530
1535
|
e.object({
|
|
1531
1536
|
accountId: y,
|
|
1532
1537
|
email: e.string().email(),
|
|
1533
1538
|
name: e.string(),
|
|
1534
|
-
role:
|
|
1539
|
+
role: M,
|
|
1535
1540
|
status: Q
|
|
1536
1541
|
});
|
|
1537
1542
|
e.object({
|
|
@@ -1542,7 +1547,7 @@ e.object({
|
|
|
1542
1547
|
});
|
|
1543
1548
|
e.object({
|
|
1544
1549
|
email: e.string().email().max(254),
|
|
1545
|
-
role:
|
|
1550
|
+
role: M,
|
|
1546
1551
|
createdAt: e.number().int().nonnegative(),
|
|
1547
1552
|
expiresAt: e.number().int().nonnegative(),
|
|
1548
1553
|
invitedBy: y
|
|
@@ -1564,7 +1569,7 @@ e.object({
|
|
|
1564
1569
|
decidedAt: e.number().int().nonnegative().nullable().default(null),
|
|
1565
1570
|
decidedBy: y.nullable().default(null)
|
|
1566
1571
|
});
|
|
1567
|
-
var ft = ["boards:read", "boards:send", "boards:configure"], ee = e.enum(ft), vt = [7, 30, 90, 365], yt = e.object({
|
|
1572
|
+
var ft = ["boards:read", "boards:send", "boards:configure", "apps:read", "apps:write"], ee = e.enum(ft), vt = [7, 30, 90, 365], yt = e.object({
|
|
1568
1573
|
/** The first 12 hex digits of the hash: what the owner sees and revokes by. */
|
|
1569
1574
|
tokenId: e.string().regex(/^[0-9a-f]{12}$/),
|
|
1570
1575
|
accountId: y,
|
|
@@ -1610,13 +1615,13 @@ export {
|
|
|
1610
1615
|
zt as b,
|
|
1611
1616
|
Lt as c,
|
|
1612
1617
|
Ht as d,
|
|
1613
|
-
|
|
1618
|
+
R as e,
|
|
1614
1619
|
le as f,
|
|
1615
1620
|
de as g,
|
|
1616
1621
|
St as h,
|
|
1617
1622
|
ge as i,
|
|
1618
1623
|
Pt as j,
|
|
1619
|
-
|
|
1624
|
+
z as k,
|
|
1620
1625
|
_t as l,
|
|
1621
1626
|
F as m,
|
|
1622
1627
|
Vt as n,
|
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-DV1RjnCa.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-DV1RjnCa.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-DUA6cQh5.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-DUA6cQh5.js";
|
|
21
|
+
import { u as Hm, s as RS, i as Xi } from "./bodewellAdapter-CGBgINab.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-CGBgINab.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 = () => {
|
|
@@ -15,7 +15,7 @@ export declare const useManifest: () => {
|
|
|
15
15
|
createdAt?: string | undefined;
|
|
16
16
|
};
|
|
17
17
|
config: {
|
|
18
|
-
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint";
|
|
18
|
+
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets";
|
|
19
19
|
layout: "dashboard" | "explorer" | "studio" | "focus";
|
|
20
20
|
mockMode: boolean;
|
|
21
21
|
brokerUrl?: string | undefined;
|
|
@@ -8,7 +8,7 @@ export declare function useLiveBridge(): {
|
|
|
8
8
|
createdAt?: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
config: {
|
|
11
|
-
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint";
|
|
11
|
+
theme: "light" | "dark" | "system" | "corporate" | "midnight" | "blueprint" | "markets";
|
|
12
12
|
layout: "dashboard" | "explorer" | "studio" | "focus";
|
|
13
13
|
mockMode: boolean;
|
|
14
14
|
brokerUrl?: string | undefined;
|
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-DV1RjnCa.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-DV1RjnCa.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-DUA6cQh5.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-DUA6cQh5.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-CGBgINab.js";
|
|
2
|
+
import { d as D } from "./deviceReadings-DUA6cQh5.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.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -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.1
|
|
59
|
+
"@ramme-io/ui": "5.3.1"
|
|
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.5.0"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
73
|
"build": "vite build",
|