@t3b/hub-guard 0.14.0 → 0.16.0
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/README.md +41 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/pages.d.ts +26 -0
- package/dist/pages.js +28 -0
- package/dist/seat.d.ts +30 -0
- package/dist/seat.js +63 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -355,6 +355,41 @@ if (!c.ok) return chatRefusal(c.reason);
|
|
|
355
355
|
other one, or another kind of Hub token, is `wrong_use`; another body is `body_changed`.
|
|
356
356
|
- The Hub has already checked that the person may be in both apps and has Write on your `chat` page.
|
|
357
357
|
|
|
358
|
+
## Beez AI's seat in the conversations: `verifySeatCall` (0.15.0, WORKFLOWS §29)
|
|
359
|
+
|
|
360
|
+
For Customers only. Beez AI answers WhatsApp conversations from its own seat; the Hub carries each of its calls to
|
|
361
|
+
Customers' seat door (`POST /api/hub/chat/seat`) with its own pass in the header `x-t3b-seat` (`SEAT_HEADER`). Every
|
|
362
|
+
seat call is a POST. Read the body as raw bytes first:
|
|
363
|
+
|
|
364
|
+
```ts
|
|
365
|
+
const bytes = new Uint8Array(await req.arrayBuffer());
|
|
366
|
+
const c = await verifySeatCall(req, bytes, { moduleId: "customers", keys: hubKeys(hubUrl), environment });
|
|
367
|
+
if (!c.ok) return seatRefusal(c.reason); // 401 { ok: false, reason: "hub_only", pass: c.reason }
|
|
368
|
+
// c.from = "beez-ai", c.stores = the stores both apps are on for in the Hub, c.jti = a one-use number
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
- Keep `c.jti` once; a second time is a replay.
|
|
372
|
+
- The seat pass names no person; a sale pass (§25), a chat pass (§26) or any other Hub token is `wrong_use`; a call
|
|
373
|
+
with no body is `wrong_use`; another body is `body_changed`.
|
|
374
|
+
- `seatRefusal` answers in the seat door's one shape, `{ ok: false, reason, … }`, as Beez AI reads every "no".
|
|
375
|
+
|
|
376
|
+
## A tick for every section: `SECTIONS`, `checkSections`, `sectionsHealth` (0.16.0, WORKFLOWS §30)
|
|
377
|
+
|
|
378
|
+
List your menu once and build the menu from it. Every section has a page of its own; `page: null` = owner only.
|
|
379
|
+
|
|
380
|
+
```ts
|
|
381
|
+
export const SECTIONS: SectionDef[] = [
|
|
382
|
+
{ label: "Stock", path: "/buying/stock", page: "stock" },
|
|
383
|
+
{ label: "Recipes", path: "/buying/recipes", page: "recipes" },
|
|
384
|
+
];
|
|
385
|
+
// manifest: { ..., pages: PAGES, sections: SECTIONS }
|
|
386
|
+
// a test: expect(checkSections(PAGES, SECTIONS)).toEqual([]);
|
|
387
|
+
// health: connections: [...yours, sectionsHealth(PAGES, SECTIONS)]
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
- Splitting a page: keep the old key on one of the new pages and give the others `from: "<old key>"`; the Hub copies
|
|
391
|
+
each person's tick onto them the first time it reads them. Ship this only after the Hub is on §30.
|
|
392
|
+
|
|
358
393
|
## What it enforces
|
|
359
394
|
|
|
360
395
|
- `/hub/enter?ticket=…`: an EdDSA ticket signed by the Hub's published key, for this module, from this environment's Hub, 60 seconds, single use - spent at the Hub, so once across all servers (0.9.0) → sets the module session (HttpOnly, Secure, SameSite=Strict) and answers a short "Opening …" page that moves on to the page (0.4.0: a SameSite=Strict cookie set on a redirect ending a navigation from another site is not sent on it). `appName` names the app on that page; `landing(path)` maps the pass's page (e.g. `"/"` → `"/app"`), never off the module's own address.
|
|
@@ -365,6 +400,12 @@ if (!c.ok) return chatRefusal(c.reason);
|
|
|
365
400
|
|
|
366
401
|
## Changes
|
|
367
402
|
|
|
403
|
+
- **0.16.0** (WORKFLOWS §30, D-101; owner 2026-11-27: *"Yes, start the Hub"*) - a tick for every section:
|
|
404
|
+
`PageDef.from` (the page this one was split out of; the Hub copies each person's tick onto it once), `SectionDef`,
|
|
405
|
+
`checkSections(pages, sections)` for the module's tests and `sectionsHealth(pages, sections)` for its health answer.
|
|
406
|
+
The fingerprint does not change. Nothing else changes.
|
|
407
|
+
- **0.15.0** (WORKFLOWS §29, D-100; owner 2026-11-26: *"Approve both"*) - Beez AI's seat calls into Customers' conversations,
|
|
408
|
+
passed by the Hub: `verifySeatCall`, `seatRefusal`, `SEAT_HEADER`, the `SeatCheck` type. Nothing else changes.
|
|
368
409
|
- **0.14.0** (WORKFLOWS §26, D-097; owner 2026-11-16: *"Yes, build step 3"*) - the till's call into Customers'
|
|
369
410
|
conversations, passed by the Hub: `verifyChatCall`, `chatRefusal`, `CHAT_HEADER`, the `ChatCheck` type. Nothing else
|
|
370
411
|
changes; an app that does not take the till's calls has nothing to do.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Guard, openingPage, isPageLoad, BAR_PATH, SIGNOUT_PATH, GUARD_PAGE_CSP, type GuardConfig, type CheckResult, type BarData } from "./guard.js";
|
|
2
2
|
export { appMenu, readApps, isAppIcon, APP_ID_RE, APP_ICONS, type AppMenuItem, type HubApp, type AppIcon } from "./apps.js";
|
|
3
|
-
export { pageAllowed, pageAccess, pagesFingerprint, readPages, PAGE_KEY_RE, type PageAccess, type PageDef, type Pages } from "./pages.js";
|
|
3
|
+
export { checkSections, pageAllowed, pageAccess, pagesFingerprint, readPages, sectionsHealth, PAGE_KEY_RE, type PageAccess, type PageDef, type Pages, type SectionDef, type SectionProblem } from "./pages.js";
|
|
4
4
|
export { verifyTicket, JtiMemory, readMemoCount, TICKET_ISSUER, TICKET_TTL_S, TICKET_ALG, type TicketClaims, type VerifyResult } from "./ticket.js";
|
|
5
5
|
export { memoBell, memoData, memoAct, memoFragment, memoText, memoWhen, readMemo, readMemos, verifyMemosCall, memosRefusal, MEMO_TEXTS, MEMO_ID_RE, REPLY_MAX, MEMO_TEXT_MAX, type MemoLang, type MemoTextKey, type MemoView, type MemoReply, type MemoBell, type MemoData, type MemoActResult, type MemoFragmentOptions, type MemosCallCheck, } from "./memos.js";
|
|
6
6
|
export { cleanMemoDoc, memoDocHtml, memoDocText, memoDocImages, memoDocIsRich, readMemoFile, readMemoFiles, escHtml, MEMO_DOC_LIMITS, MEMO_LINK_RE, MEMO_FILE_URL_RE, type MemoDoc, type MemoBlock, type MemoInline, type MemoListItem, type MemoMark, type MemoFile, type MemoAlign, type MemoDir, } from "./memo-doc.js";
|
|
@@ -11,6 +11,7 @@ export { verifyRelay, RELAY_HEADERS, RELAY_MAX_AGE_S, type RelayCheck } from "./
|
|
|
11
11
|
export { verifyStationCall, stationRefusal, stationJson, STATION_ID_RE, STATION_NAME_MAX, type StationCheck, type StationAnswer, type StationOrder, type StationItem, type PackAnswer, } from "./station.js";
|
|
12
12
|
export { verifySaleCall, saleRefusal, SALE_ID_RE, type SaleCheck } from "./sale.js";
|
|
13
13
|
export { verifyChatCall, chatRefusal, CHAT_HEADER, type ChatCheck } from "./chat.js";
|
|
14
|
+
export { verifySeatCall, seatRefusal, SEAT_HEADER, type SeatCheck } from "./seat.js";
|
|
14
15
|
export { ownVercelToken, ownEnvironment, hubKeys, APP_ID_HEADER, OIDC_HEADER, type TokenProvider } from "./identity.js";
|
|
15
16
|
/**
|
|
16
17
|
* Reads the guard's settings from a module's environment. Nothing secret: the Hub's address
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Guard, openingPage, isPageLoad, BAR_PATH, SIGNOUT_PATH, GUARD_PAGE_CSP } from "./guard.js";
|
|
2
2
|
export { appMenu, readApps, isAppIcon, APP_ID_RE, APP_ICONS } from "./apps.js";
|
|
3
|
-
export { pageAllowed, pageAccess, pagesFingerprint, readPages, PAGE_KEY_RE } from "./pages.js";
|
|
3
|
+
export { checkSections, pageAllowed, pageAccess, pagesFingerprint, readPages, sectionsHealth, PAGE_KEY_RE } from "./pages.js";
|
|
4
4
|
export { verifyTicket, JtiMemory, readMemoCount, TICKET_ISSUER, TICKET_TTL_S, TICKET_ALG } from "./ticket.js";
|
|
5
5
|
export { memoBell, memoData, memoAct, memoFragment, memoText, memoWhen, readMemo, readMemos, verifyMemosCall, memosRefusal, MEMO_TEXTS, MEMO_ID_RE, REPLY_MAX, MEMO_TEXT_MAX, } from "./memos.js";
|
|
6
6
|
export { cleanMemoDoc, memoDocHtml, memoDocText, memoDocImages, memoDocIsRich, readMemoFile, readMemoFiles, escHtml, MEMO_DOC_LIMITS, MEMO_LINK_RE, MEMO_FILE_URL_RE, } from "./memo-doc.js";
|
|
@@ -13,6 +13,8 @@ export { verifyStationCall, stationRefusal, stationJson, STATION_ID_RE, STATION_
|
|
|
13
13
|
export { verifySaleCall, saleRefusal, SALE_ID_RE } from "./sale.js";
|
|
14
14
|
// §26 (0.14.0): the till's call into Customers' conversations, passed by the Hub
|
|
15
15
|
export { verifyChatCall, chatRefusal, CHAT_HEADER } from "./chat.js";
|
|
16
|
+
// §29 (0.15.0): Beez AI's seat in Customers' conversations, passed by the Hub
|
|
17
|
+
export { verifySeatCall, seatRefusal, SEAT_HEADER } from "./seat.js";
|
|
16
18
|
export { ownVercelToken, ownEnvironment, hubKeys, APP_ID_HEADER, OIDC_HEADER } from "./identity.js";
|
|
17
19
|
/**
|
|
18
20
|
* Reads the guard's settings from a module's environment. Nothing secret: the Hub's address
|
package/dist/pages.d.ts
CHANGED
|
@@ -15,6 +15,32 @@ export type PageDef = {
|
|
|
15
15
|
read: string;
|
|
16
16
|
write?: string | null;
|
|
17
17
|
everyone?: boolean;
|
|
18
|
+
from?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* §30 (D-101): one section of the module's menu - a line a person can open. Every section has a tick of its own
|
|
22
|
+
* (`page`); `page: null` = owner only (no tick). Tabs inside a page are not sections. A module lists its sections in
|
|
23
|
+
* `SECTIONS`, builds its menu from them, sends them in its manifest (`sections`) and runs `checkSections` in its tests
|
|
24
|
+
* and in its health answer (`sectionsHealth`), so a section without a tick of its own cannot reach the owner unseen.
|
|
25
|
+
*/
|
|
26
|
+
export type SectionDef = {
|
|
27
|
+
label: string;
|
|
28
|
+
path: string;
|
|
29
|
+
page: string | null;
|
|
30
|
+
};
|
|
31
|
+
export type SectionProblem = {
|
|
32
|
+
label: string;
|
|
33
|
+
page: string;
|
|
34
|
+
problem: "unknown_tick" | "shared_tick";
|
|
35
|
+
with?: string;
|
|
36
|
+
};
|
|
37
|
+
/** Every section with a tick that is not a page, or with a tick another section also uses. Empty = all well. */
|
|
38
|
+
export declare function checkSections(pages: Pick<PageDef, "key">[], sections: SectionDef[]): SectionProblem[];
|
|
39
|
+
/** The line a module adds to its health answer's connections: red with the owner's words when a section has no tick. */
|
|
40
|
+
export declare function sectionsHealth(pages: Pick<PageDef, "key">[], sections: SectionDef[]): {
|
|
41
|
+
name: string;
|
|
42
|
+
ok: boolean;
|
|
43
|
+
reason: string | null;
|
|
18
44
|
};
|
|
19
45
|
export declare const PAGE_KEY_RE: RegExp;
|
|
20
46
|
/** A pass's or check's `pages`, read defensively: anything malformed is dropped, never widened. */
|
package/dist/pages.js
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
import { b64urlEncode, sha256, utf8 } from "./webcrypto.js";
|
|
2
|
+
/** Every section with a tick that is not a page, or with a tick another section also uses. Empty = all well. */
|
|
3
|
+
export function checkSections(pages, sections) {
|
|
4
|
+
const keys = new Set(pages.map((p) => p.key));
|
|
5
|
+
const firstBy = new Map();
|
|
6
|
+
const out = [];
|
|
7
|
+
for (const s of sections) {
|
|
8
|
+
if (s.page === null)
|
|
9
|
+
continue;
|
|
10
|
+
if (!keys.has(s.page)) {
|
|
11
|
+
out.push({ label: s.label, page: s.page, problem: "unknown_tick" });
|
|
12
|
+
continue;
|
|
13
|
+
}
|
|
14
|
+
const first = firstBy.get(s.page);
|
|
15
|
+
if (first !== undefined)
|
|
16
|
+
out.push({ label: s.label, page: s.page, problem: "shared_tick", with: first });
|
|
17
|
+
else
|
|
18
|
+
firstBy.set(s.page, s.label);
|
|
19
|
+
}
|
|
20
|
+
return out;
|
|
21
|
+
}
|
|
22
|
+
/** The line a module adds to its health answer's connections: red with the owner's words when a section has no tick. */
|
|
23
|
+
export function sectionsHealth(pages, sections) {
|
|
24
|
+
const problems = checkSections(pages, sections);
|
|
25
|
+
if (!problems.length)
|
|
26
|
+
return { name: "Ticks", ok: true, reason: null };
|
|
27
|
+
const words = problems.map((p) => (p.problem === "shared_tick" ? `'${p.label}' has no tick of its own (it shares '${p.with}')` : `'${p.label}' points to a tick the module does not list`));
|
|
28
|
+
return { name: "Ticks", ok: false, reason: words.slice(0, 3).join("; ") + (words.length > 3 ? ` and ${words.length - 3} more` : "") };
|
|
29
|
+
}
|
|
2
30
|
export const PAGE_KEY_RE = /^[a-z][a-z0-9-]{1,39}$/;
|
|
3
31
|
/** A pass's or check's `pages`, read defensively: anything malformed is dropped, never widened. */
|
|
4
32
|
export function readPages(raw) {
|
package/dist/seat.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type JWTVerifyGetKey } from "jose";
|
|
2
|
+
/** The header the Hub's seat pass travels in. */
|
|
3
|
+
export declare const SEAT_HEADER = "x-t3b-seat";
|
|
4
|
+
export type SeatCheck = {
|
|
5
|
+
ok: true;
|
|
6
|
+
from: string;
|
|
7
|
+
stores: string[];
|
|
8
|
+
jti: string;
|
|
9
|
+
} | {
|
|
10
|
+
ok: false;
|
|
11
|
+
reason: "missing" | "bad_signature" | "expired" | "wrong_module" | "wrong_use" | "wrong_environment" | "body_changed";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Is this the Hub passing a call from Beez AI's seat? `body` is the request's raw bytes (read it with
|
|
15
|
+
* `await req.arrayBuffer()` before parsing - the pass covers the exact bytes). A call with no body is refused: every
|
|
16
|
+
* seat operation is a POST. Keep `jti` once.
|
|
17
|
+
*/
|
|
18
|
+
export declare function verifySeatCall(req: Request, body: Uint8Array | string | null, opts: {
|
|
19
|
+
moduleId: string;
|
|
20
|
+
keys: JWTVerifyGetKey;
|
|
21
|
+
now?: Date;
|
|
22
|
+
environment?: string;
|
|
23
|
+
}): Promise<SeatCheck>;
|
|
24
|
+
/**
|
|
25
|
+
* The refusal Customers' seat door answers with: 401 `{ ok: false, reason: "hub_only", pass }` - the seat door's one
|
|
26
|
+
* shape for every "no" (Beez AI's builder, §29), not the `{ error, reason }` of the sale and chat refusals.
|
|
27
|
+
*/
|
|
28
|
+
export declare function seatRefusal(reason: Extract<SeatCheck, {
|
|
29
|
+
ok: false;
|
|
30
|
+
}>["reason"]): Response;
|
package/dist/seat.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { jwtVerify } from "jose";
|
|
2
|
+
import { APP_ID_RE } from "./apps.js";
|
|
3
|
+
import { HUB_ISSUER, TYP } from "./identity.js";
|
|
4
|
+
import { b64urlEncode, constantTimeEqual, sha256 } from "./webcrypto.js";
|
|
5
|
+
// WORKFLOWS §29 (D-100, Customers WORKFLOWS 5.33): Beez AI answers WhatsApp conversations from its own seat in
|
|
6
|
+
// Customers - only through the Hub. The Hub has checked Beez AI's Vercel ID and that Beez AI and Customers are both
|
|
7
|
+
// attached and on; then it asks Customers' seat door with its own 60-second pass in the header `x-t3b-seat`: `use`
|
|
8
|
+
// "chat-seat", from Beez AI with no person, the stores both apps are switched on for, a one-use number (`jti`) and
|
|
9
|
+
// `bh`, the SHA-256 of the exact body - every seat call is a POST, so a pass is bound to its one call. Customers keeps
|
|
10
|
+
// each one-use number once.
|
|
11
|
+
/** The header the Hub's seat pass travels in. */
|
|
12
|
+
export const SEAT_HEADER = "x-t3b-seat";
|
|
13
|
+
const STORE_RE = /^[a-z0-9-]{1,30}$/;
|
|
14
|
+
/**
|
|
15
|
+
* Is this the Hub passing a call from Beez AI's seat? `body` is the request's raw bytes (read it with
|
|
16
|
+
* `await req.arrayBuffer()` before parsing - the pass covers the exact bytes). A call with no body is refused: every
|
|
17
|
+
* seat operation is a POST. Keep `jti` once.
|
|
18
|
+
*/
|
|
19
|
+
export async function verifySeatCall(req, body, opts) {
|
|
20
|
+
const token = (req.headers.get(SEAT_HEADER) ?? "").trim();
|
|
21
|
+
if (!token || token.length > 4096)
|
|
22
|
+
return { ok: false, reason: "missing" };
|
|
23
|
+
let p;
|
|
24
|
+
try {
|
|
25
|
+
({ payload: p } = await jwtVerify(token, opts.keys, { issuer: HUB_ISSUER, audience: opts.moduleId, algorithms: ["EdDSA"], typ: TYP.call, currentDate: opts.now, clockTolerance: 5, maxTokenAge: 65 }));
|
|
26
|
+
}
|
|
27
|
+
catch (e) {
|
|
28
|
+
const code = e.code ?? "";
|
|
29
|
+
if (code === "ERR_JWT_EXPIRED")
|
|
30
|
+
return { ok: false, reason: "expired" };
|
|
31
|
+
if (code === "ERR_JWT_CLAIM_VALIDATION_FAILED" && /"aud"/.test(e.message))
|
|
32
|
+
return { ok: false, reason: "wrong_module" };
|
|
33
|
+
// another kind of Hub token (a ticket, a relayed event) is named as such, not as a clock problem
|
|
34
|
+
if (code === "ERR_JWT_CLAIM_VALIDATION_FAILED" && /"typ"/.test(e.message))
|
|
35
|
+
return { ok: false, reason: "wrong_use" };
|
|
36
|
+
if (code === "ERR_JWT_CLAIM_VALIDATION_FAILED")
|
|
37
|
+
return { ok: false, reason: "expired" };
|
|
38
|
+
return { ok: false, reason: "bad_signature" };
|
|
39
|
+
}
|
|
40
|
+
// a sale pass (§25), a chat pass (§26) or any other call is never good here; a seat call always has a body
|
|
41
|
+
if (p.use !== "chat-seat" || body === null)
|
|
42
|
+
return { ok: false, reason: "wrong_use" };
|
|
43
|
+
if (opts.environment && p.env !== opts.environment)
|
|
44
|
+
return { ok: false, reason: "wrong_environment" };
|
|
45
|
+
const from = typeof p.from === "string" ? p.from : "";
|
|
46
|
+
const jti = typeof p.jti === "string" ? p.jti : "";
|
|
47
|
+
const stores = Array.isArray(p.stores) && p.stores.length <= 50 && p.stores.every((s) => typeof s === "string" && STORE_RE.test(s)) ? p.stores : null;
|
|
48
|
+
// the seat pass names no person: one that does is not a seat pass
|
|
49
|
+
if (!APP_ID_RE.test(from) || !stores || p.person !== undefined || !/^[A-Za-z0-9_-]{16,64}$/.test(jti))
|
|
50
|
+
return { ok: false, reason: "bad_signature" };
|
|
51
|
+
const want = typeof p.bh === "string" ? p.bh : "";
|
|
52
|
+
const bytes = typeof body === "string" ? new TextEncoder().encode(body) : body;
|
|
53
|
+
if (!want || !constantTimeEqual(b64urlEncode(await sha256(bytes)), want))
|
|
54
|
+
return { ok: false, reason: "body_changed" };
|
|
55
|
+
return { ok: true, from, stores: [...stores], jti };
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The refusal Customers' seat door answers with: 401 `{ ok: false, reason: "hub_only", pass }` - the seat door's one
|
|
59
|
+
* shape for every "no" (Beez AI's builder, §29), not the `{ error, reason }` of the sale and chat refusals.
|
|
60
|
+
*/
|
|
61
|
+
export function seatRefusal(reason) {
|
|
62
|
+
return new Response(JSON.stringify({ ok: false, reason: "hub_only", pass: reason }), { status: 401, headers: { "Content-Type": "application/json", "Cache-Control": "no-store" } });
|
|
63
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t3b/hub-guard",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "The3Beez Hub guard: a module opens only by a Hub-signed ticket and refuses everything else. No key from the Hub: towards the Hub the app shows its own Vercel ID; from the Hub it accepts only what is signed by the key the Hub publishes. Entry route, refusal page, module session, idle rule, re-check with the Hub on every page and every minute, Cloudflare Access proof, broker and audit clients, manifest and health answers for the Hub only, the memo bell and window (0.10.0), the shared top bar's door and one Sign out for every app (0.12.0), the till's check of a sale another app passes through the Hub (0.13.0), Customers' check of the till's call into the conversations (0.14.0). Web Crypto only: runs in Node 20+ and in edge runtimes.",
|
|
3
|
+
"version": "0.16.0",
|
|
4
|
+
"description": "The3Beez Hub guard: a module opens only by a Hub-signed ticket and refuses everything else. No key from the Hub: towards the Hub the app shows its own Vercel ID; from the Hub it accepts only what is signed by the key the Hub publishes. Entry route, refusal page, module session, idle rule, re-check with the Hub on every page and every minute, Cloudflare Access proof, broker and audit clients, manifest and health answers for the Hub only, the memo bell and window (0.10.0), the shared top bar's door and one Sign out for every app (0.12.0), the till's check of a sale another app passes through the Hub (0.13.0), Customers' check of the till's call into the conversations (0.14.0), Customers' check of Beez AI's seat calls (0.15.0). Web Crypto only: runs in Node 20+ and in edge runtimes.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|