Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

ralph(P2-001): packages/core scaffold: manifest with the EXPLICIT exports map, tsconfig, bunfig, AGENTS.md

ralph08e2acff35d4
diff --git a/packages/core/AGENTS.md b/packages/core/AGENTS.md
new file mode 100644
index 000000000..538bdac8b
--- /dev/null
+++ b/packages/core/AGENTS.md
@@ -0,0 +1,268 @@
+# @openpanel/core
+
+Every route, procedure, job and rule the backend serves. `apps/api` is a shell
+that mounts what this package exports and runs it as `ROLE=api|worker|all`.
+
+This file is the scaffold's contract. It is written before the code it
+describes, so a wave that lands a module does not get to rediscover any of it.
+Architecture lives in the controller's `decisions/` (accepted ADRs are binding)
+and `docs/TARGET_ARCHITECTURE.md`.
+
+## Layout
+
+```
+src/
+ index.ts curated barrel — NOT export *
+ context.ts AppDeps | Ctx | HttpCtx | JobCtx + createCtx
+ services.ts Services INTERFACE + createServices(deps)
+ logger.ts structural Logger interface
+ metrics.ts the one prom-client registry
+ rpc.router.ts appRouter + export type AppRouter
+ rest.routes.ts publicApiRoutes | dashboardRoutes | opsRoutes
+ jobs.registry.ts queue registry + QueueProducers
+ rpc/ http/ jobs/ ingest/ buffers/ clients/ shared/
+ modules/<name>/ <name>.rpc.ts | .service.ts | .routes.ts | .jobs.ts
+ | .constants.ts | src/
+```
+
+The `<name>.` prefix stays on a module's root files and stops at its `src/`:
+`Cmd+P report.service` lands one file, ten bare `service.ts` do not.
+
+`rpc.router.ts`, `rest.routes.ts` and `jobs.registry.ts` **are** the registry.
+There is no `defineModule()` and no filesystem auto-discovery — static
+composition is what keeps tRPC's `AppRouter` and Elysia's route types alive.
+Adding a module is one line per transport it actually has.
+
+## The exports map
+
+`package.json` declares exactly two entries, and that is the package's real
+public API:
+
+```json
+"exports": {
+ ".": "./src/index.ts",
+ "./modules/*.constants": "./src/modules/*.constants.ts"
+}
+```
+
+There is **no `./*` wildcard**. A service, a client, a buffer or the context is
+not merely discouraged from being imported by `apps/start` or an SDK — it is
+unreachable, because it is not exported. dependency-cruiser
+(`.dependency-cruiser.cjs`, `pnpm run check:deps`) is the second layer, not the
+only one.
+
+The `*` matches `<module>/<module>`, so a report module's constants are
+`@openpanel/core/modules/report/report.constants`. One star per key is all the
+exports spec allows; putting the module name in the star twice is what buys the
+`modules/<name>/<name>.constants.ts` layout without a hand-maintained entry per
+module.
+
+Measured on this scaffold (Bun 1.4.0, TypeScript 5.9 with
+`moduleResolution: "bundler"`), with a throwaway `src/modules/report/` holding
+one `report.constants.ts` and one `report.service.ts`:
+
+```
+$ bun -e "await import('@openpanel/core/modules/report/report.constants')"
+RESOLVED [ "hour", "day" ]
+
+$ bun -e "await import('@openpanel/core/modules/report/report.service')"
+error: Cannot find module '@openpanel/core/modules/report/report.service'
+
+$ bun -e "await import('@openpanel/core/context')"
+error: Cannot find module '@openpanel/core/context'
+
+$ bun -e "await import('@openpanel/core/modules/../../package.json')"
+error: Cannot find module '@openpanel/core/modules/../../package.json'
+```
+
+and the same pair through `tsc --noEmit`, importing both paths from one file:
+
+```
+src/__exports_probe__.ts(2,30): error TS2307: Cannot find module
+ '@openpanel/core/modules/report/report.service' or its corresponding type
+ declarations.
+```
+
+Vite's resolver says the same thing in its own words, which is what
+`apps/start` would see: `Missing "./context" specifier in "@openpanel/core"
+package`.
+
+Line 1 — the `*.constants` import — produced no error. Both fixtures were
+deleted; nothing in this repo imports them. `test/exports-map.test.ts` keeps
+the negative half as a regression gate (the wording of the failure varies —
+resolved from inside the package it is `Cannot find package` — so it asserts
+only that resolution fails).
+
+If a frontend needs a value that is not vocabulary, the answer is to move the
+value into a `*.constants.ts`, or to copy it into `apps/start`. It is never to
+widen this map.
+
+## Constants — the isomorphism rule
+
+A `<name>.constants.ts` is the one file here a web app may import as a
+**value**, so a form validates against the same schema the procedure enforces.
+Limits, error codes, enums, zod schemas belong in it. Name a schema `zThing`
+and the type inferred from it `Thing`. A prompt, a table name or a model id is
+implementation, not vocabulary; it stays in `src/`.
+
+The constraint is on imports, not on contents: **import zod, another
+`*.constants.ts`, or nothing.** A `type`-only import of anything is fine —
+it is erased. A Prisma type, a `node:` builtin or a date library follows the
+import into a browser bundle silently, and the bundle still builds;
+`constants-stay-isomorphic` fails the check instead.
+
+`intervals` and friends are rewritten to plain `Date` math when they move here,
+for exactly this reason.
+
+## Tests
+
+`bun:test`, from birth. vitest stays for `apps/start` only.
+
+**`bun test --isolate`, deliberately.** Without it `bun test` shares one global
+and one module registry across every file in the run. Three couplings this repo
+already documents become live under sharing: two workspaces mutating the same
+`integration-test` fixture project, `@/metrics` registering prom-client gauges
+at import time, and the `event-buffer` → `event.service` import cycle. Vitest
+isolated per file; keeping that removes "shared-process leakage" from the
+suspect list while a structural port and a runtime swap are both in flight. It
+costs a fresh global per file.
+
+Measured on Bun 1.4.0, counting how many times one shared module evaluates
+across two test files:
+
+| Invocation | Evaluations |
+| --- | --- |
+| `bun test` | 1 — one registry, shared |
+| `bun test --isolate` | 2 — fresh per file |
+| `bun test --no-isolate` | 1 |
+| `bunfig.toml` `[test] isolate = true`, no flag | **1 — silently ignored** |
+
+So the flag is on the `test` script, not in `bunfig.toml`. Bun 1.4.0 warns
+about neither an unknown key nor a wrong-typed one in `[test]`, so a
+`bunfig.toml` that carried it would read as a guarantee and be none. **Invoke
+the suite as `pnpm test` / `bun test --isolate`; a bare `bun test` is not the
+configured suite.**
+
+`bunfig.toml` `[test] preload` runs per test **process**, not once per run —
+there is no `globalSetup` equivalent. `test/preload.ts` therefore does one
+idempotent thing: pin `DATABASE_URL` / `CLICKHOUSE_URL` / `REDIS_URL` /
+`SELF_HOSTED` at local values, so a test cannot reach production regardless of
+what `.env` holds. Infrastructure fixtures stay out of it and are seeded per
+suite by the suite that needs them (`test/fixtures.ts` at the repo root already
+takes a project id for this), which is what lets the infrastructure-free files
+run offline.
+
+Bun resolves tsconfig `paths` natively, so `@/*` works with no alias config.
+
+The root vitest workspace globs `packages/*`, and vitest cannot import
+`bun:test`, so `vitest.config.ts` here sets `include: []` — core opts itself
+out of the vitest run rather than the root opting it out.
+
+### `mock.module` is not hoisted
+
+`vi.mock` is hoisted above imports. `mock.module` applies at call time, and by
+then any **import-time side effect** of the subject has already run — which is
+the whole reason several of the tests being ported mock at all. The idiom, once,
+everywhere:
+
+```ts
+import { beforeAll, expect, mock, test } from 'bun:test';
+
+const createEvent = mock(async () => undefined);
+mock.module('./event.service', () => ({ createEvent }));
+
+let handler: typeof import('./ingest.jobs').handler;
+beforeAll(async () => {
+ ({ handler } = await import('./ingest.jobs'));
+});
+
+test('produces one event', async () => {
+ await handler(job);
+ expect(createEvent).toHaveBeenCalledTimes(1); // never optional — see below
+});
+```
+
+Top-level `mock.module`, then `await import(...)` of the subject inside
+`beforeAll`. A static `import` of the subject at the top of the file defeats it.
+
+A mock that silently does not apply produces a **passing test that exercised the
+real implementation**, so every mock-based test asserts the mock was called.
+Break a new one once on purpose and confirm it goes red.
+
+`vi.hoisted` has no successor and mostly dissolves: with `mock.module`
+unhoisted, the value is declared on the line above. Env stubbing and typed mock
+casts are one local helper each, not twenty call sites.
+
+## ClickHouse — one `sql` tag
+
+ClickHouse is raw SQL. There is no query builder in core, and `sqlstring` and
+manual escaping are gone.
+
+Static queries are written out and bound server-side with ClickHouse's own
+`{name:Type}` parameters; `{name:Identifier}` covers a dynamic table or column
+name. Dynamic composition — the chart engine, filters, breakdowns — uses typed
+fragments from `@openpanel/db`'s `sql` tag, which carry their own params and
+compose into auto-named `{pN:Type}` placeholders.
+
+**A `${}` slot accepts only a `SqlFragment` or a `SqlParam`.** A bare string or
+number is a compile-time type error, which is the point: SQL safety stops being
+a per-call-site habit. Where `{x:Identifier}` cannot be used, `sql.id()`
+validates against a whitelist and **throws** on a miss — it never falls back to
+interpolation.
+
+Two rules the tag cannot enforce:
+
+**Never commit ClickHouse SQL you have not executed** against the local server,
+and when replacing a query run both against the same data and diff the result
+sets. "Looks equivalent" is not evidence.
+
+**Local is one node; production is 2 shards × 2 replicas.** A plain
+`IN (subquery)` against a `Distributed` table returns per-shard results — right
+here, wrong in production. Read the controller's `docs/ENVIRONMENT.md` before
+touching one.
+
+If a query's dynamism genuinely cannot be expressed as fragments, a local,
+function-scoped builder is allowed, provided its output still binds through
+`{name:Type}` and carries one line saying why.
+
+## Bun idioms
+
+New and moved code uses `Bun.file` / `Bun.write` and `import.meta.dir` instead
+of `node:fs` and the `fileURLToPath(import.meta.url)` dance. Existing `node:fs`
+call sites are **not** swept — `node:fs` is a builtin under Bun and rewriting
+working I/O deletes nothing.
+
+Everything else Bun-native is a per-row decision, already made: passwords stay
+`@node-rs/argon2`, hashing stays `node:crypto` (a `profileId` is a persisted
+identity), Postgres stays Prisma, and core writes no direct `Bun.serve` call
+because Elysia is one. Do not adopt a `Bun.*` API this file does not name.
+
+## Style
+
+Match the surrounding code; these are the rules that are not obvious from it.
+
+**Comments only when really necessary, and VERY short.** Never narrate what the
+code does — comment the *why*, plus APIs, non-obvious side effects and
+invariants. The spec documents this package was ported from carry explanatory
+comments because they are specs; production code does not inherit their comment
+density.
+
+**Single responsibility, sanely applied.** Focused functions, but do not shred
+them: a coherent 100-line function beats twenty five-line fragments. Split
+where a reader benefits, not to satisfy a metric.
+
+**Constants over magic numbers**, named, at the top of the file or in the
+module's `<name>.constants.ts`. **Meaningful names**, no abbreviations unless
+universal.
+
+**DRY at the narrowest level that fits**: inside the module first,
+`src/shared/` when several backend modules need it, a dedicated package when
+anything outside the backend needs it. Core is not a grab-bag for cross-app
+code. Never invent a cross-module abstraction to deduplicate two call sites.
+
+**Always think hot path.** This is an ingestion platform: `/track`, the Kafka
+consumer and the buffers get no per-request work that could have been per-boot.
+
+**Format with ultracite, only on the files you changed, named explicitly**
+(`npx ultracite fix <files...>`). Never bare and never on `.` — the repo has
+never been bulk-formatted.
diff --git a/packages/core/CLAUDE.md b/packages/core/CLAUDE.md
new file mode 100644
index 000000000..43c994c2d
--- /dev/null
+++ b/packages/core/CLAUDE.md
@@ -0,0 +1 @@
diff --git a/packages/core/bunfig.toml b/packages/core/bunfig.toml
new file mode 100644
index 000000000..b7ecf5b19
--- /dev/null
+++ b/packages/core/bunfig.toml
@@ -0,0 +1,14 @@
+# `bun test` configuration for @openpanel/core.
+
+[test]
+# Runs in every test PROCESS, not once per run — `bun test` has no
+# `globalSetup` — so it must stay idempotent and cheap. It pins the infra URLs
+# at local values so no test can reach production regardless of .env; that is
+# the successor to vitest.shared.ts's env block and it is a safety property.
+# Infrastructure fixtures are deliberately not preloaded — see AGENTS.md.
+preload = ["./test/preload.ts"]
+
+# --isolate is chosen deliberately (ADR-010) and it CANNOT be set here: on Bun
+# 1.4.0 `[test] isolate` is silently ignored, as is any unknown key in this
+# table, so writing it would read as a guarantee and be none. The flag lives on
+# the `test` script in package.json. Measurement and reasoning: AGENTS.md.
diff --git a/packages/core/package.json b/packages/core/package.json
new file mode 100644
index 000000000..05c127c96
--- /dev/null
+++ b/packages/core/package.json
@@ -0,0 +1,26 @@
+{
+ "name": "@openpanel/core",
+ "version": "0.0.1",
+ "type": "module",
+ "private": true,
+ "exports": {
+ ".": "./src/index.ts",
+ "./modules/*.constants": "./src/modules/*.constants.ts"
+ },
+ "scripts": {
+ "typecheck": "tsc --noEmit",
+ "test": "bun test --isolate"
+ },
+ "dependencies": {
+ "@elysiajs/cors": "1.4.2",
+ "@elysiajs/openapi": "1.4.15",
+ "@trpc/server": "^11.17.0",
+ "elysia": "1.4.30",
+ "zod": "catalog:"
+ },
+ "devDependencies": {
+ "@openpanel/tsconfig": "workspace:*",
+ "bun-types": "1.4.0",
+ "typescript": "catalog:"
+ }
+}
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
new file mode 100644
index 000000000..590013d7c
--- /dev/null
+++ b/packages/core/src/index.ts
@@ -0,0 +1,6 @@
+// The curated public surface of @openpanel/core.
+//
+// Never `export *`. What leaves this package is exactly what is named here
+// plus the `*.constants` subpaths in package.json's exports map — see
+// AGENTS.md.
+export {};
diff --git a/packages/core/test/exports-map.test.ts b/packages/core/test/exports-map.test.ts
new file mode 100644
index 000000000..98d20f0ca
--- /dev/null
+++ b/packages/core/test/exports-map.test.ts
@@ -0,0 +1,18 @@
+import { expect, test } from 'bun:test';
+
+// The exports map is the only structural barrier between apps/start and a
+// service (ADR-008). Widening it is silent, so it is asserted here.
+test('the curated barrel resolves', async () => {
+ expect(await import('@openpanel/core')).toBeDefined();
+});
+
+test('a non-exported internal path does not resolve', async () => {
+ // @ts-expect-error not in the exports map, by design
+ const attempt = import('@openpanel/core/context');
+ await expect(attempt).rejects.toThrow(/Cannot find/);
+});
+
+test('preload pins infrastructure at local addresses', () => {
+ expect(process.env.CLICKHOUSE_URL).toBe('http://localhost:8123/openpanel');
+ expect(process.env.SELF_HOSTED).toBe('true');
+});
diff --git a/packages/core/test/preload.ts b/packages/core/test/preload.ts
new file mode 100644
index 000000000..e6fca3f3e
--- /dev/null
+++ b/packages/core/test/preload.ts
@@ -0,0 +1,14 @@
+// Preloaded into every `bun test` process (bunfig.toml `[test] preload`).
+//
+// `preload` runs per test PROCESS, not once per run — bun test has no
+// `globalSetup` — so everything here must be idempotent and cheap.
+//
+// The pins below are a safety property, not a convenience: they are the
+// successor to vitest.shared.ts's "always point at local Docker — never
+// production, regardless of .env". A test must not be able to reach a real
+// database because someone's .env happened to be loaded.
+process.env.DATABASE_URL =
+ 'postgresql://postgres:postgres@localhost:5432/postgres?schema=public';
+process.env.CLICKHOUSE_URL = 'http://localhost:8123/openpanel';
+process.env.REDIS_URL = 'redis://localhost:6379';
+process.env.SELF_HOSTED = 'true';
diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json
new file mode 100644
index 000000000..c8f13d806
--- /dev/null
+++ b/packages/core/tsconfig.json
@@ -0,0 +1,14 @@
+{
+ "extends": "@openpanel/tsconfig/base.json",
+ "compilerOptions": {
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["./src/*"]
+ },
+ "lib": ["ESNext"],
+ "types": ["bun-types"],
+ "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"
+ },
+ "include": ["src", "test"],
+ "exclude": ["node_modules"]
+}
diff --git a/packages/core/vitest.config.ts b/packages/core/vitest.config.ts
new file mode 100644
index 000000000..9c9f79b81
--- /dev/null
+++ b/packages/core/vitest.config.ts
@@ -0,0 +1,8 @@
+import { defineConfig } from 'vitest/config';
+
+// core's tests are bun:test (ADR-010) and vitest cannot import 'bun:test'.
+// The root vitest workspace globs `packages/*`, so this package opts itself
+// out here rather than at the root. Run them with `bun test --isolate`.
+export default defineConfig({
+ test: { include: [] },
+});
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0ca0d8b0f..454f18af3 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1196,6 +1196,34 @@ importers:
specifier: 'catalog:'
version: 5.9.3
+ packages/core:
+ dependencies:
+ '@elysiajs/cors':
+ specifier: 1.4.2
+ '@elysiajs/openapi':
+ specifier: 1.4.15
+ '@trpc/server':
+ specifier: ^11.17.0
+ version: 11.17.0([email protected])
+ elysia:
+ specifier: 1.4.30
+ zod:
+ specifier: 'catalog:'
+ version: 4.3.6
+ devDependencies:
+ '@openpanel/tsconfig':
+ specifier: workspace:*
+ version: link:../../tooling/typescript
+ bun-types:
+ specifier: 1.4.0
+ version: 1.4.0
+ typescript:
+ specifier: 'catalog:'
+ version: 5.9.3
+
packages/db:
dependencies:
'@clickhouse/client':
@@ -3415,6 +3443,9 @@ packages:
commander:
optional: true
+ '@borewit/[email protected]':
+ resolution: {integrity: sha512-DDaRehssg1aNrH4+2hnj1B7vnUGEjU6OIlyRdkMd0aUdIUvKXrJfXsy8LVtXAy7DRvYVluWbMspsRhz2lcW0mQ==}
+
'@bull-board/[email protected]':
resolution: {integrity: sha512-oMDwXwoPn0RsdZ3Y68/bOErZ/qGZE5H97vgE/Pc8Uul/OHajlvajKW4NV+ZGTix82liUfH9CkjYx7PpwvBWhxg==}
peerDependencies:
@@ -3657,6 +3688,16 @@ packages:
peerDependencies:
'@noble/ciphers': ^1.0.0
+ '@elysiajs/[email protected]':
+ resolution: {integrity: sha512-FTCcbH35brTLigF1W7BYySRZomgI/dBEMK9BgK9RP9Nez7zmpGh4koL/Yr1BFv8nYz7CfhRvcM8d/c+XnwMaVQ==}
+ peerDependencies:
+ elysia: '>= 1.4.0'
+
+ '@elysiajs/[email protected]':
+ resolution: {integrity: sha512-HDtGIrWfFJk6UJS7qbgRmjifbSqnnRGDM3CsU/GVJkxLbEVEkNuQDf+Quh9fGbytSrJ8g4+tX9eVjshYhCH29w==}
+ peerDependencies:
+ elysia: '>= 1.4.0'
+
'@emnapi/[email protected]':
resolution: {integrity: sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==}
@@ -8651,6 +8692,9 @@ packages:
'@sinclair/[email protected]':
resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==}
+ '@sinclair/[email protected]':
+ resolution: {integrity: sha512-XiMQh7qqVlxZzcVD+kkGMNGMzcTrDMLWI7S4x7z1MkCkbDPrekpZXEUK0eZqZFMuHQg2a2DZOcDIh9o5v3Gonw==}
+
'@sindresorhus/[email protected]':
resolution: {integrity: sha512-d9xRovfKNz1SKieM0qJdO+PQonjnnIfSNWfHYnBSJ9hkjm0ZPw6HlxscDXYstp3z+7V2GOFHc+J0CYrYTjqCJw==}
engines: {node: '>=18'}
@@ -9435,6 +9479,13 @@ packages:
'@types/react-dom':
optional: true
+ '@tokenizer/[email protected]':
+ resolution: {integrity: sha512-2mAv+8pkG6GIZiF1kNg1jAjh27IDxEPKwdGul3snfztFerfPGI1LjDezZp3i7BElXompqEtPmoPx6c2wgtWsOA==}
+ engines: {node: '>=18'}
+
+ '@tokenizer/[email protected]':
+ resolution: {integrity: sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==}
+
'@tootallnate/[email protected]':
resolution: {integrity: sha512-HqmEUIGRJ5fSXchkVgR5F7qn48bDBzv0kWj/Kfu5e6uci4UlEeng4331LnBkWffb++Ei3FOVLxo8JJWMFBDMeQ==}
engines: {node: '>= 10'}
@@ -10844,6 +10895,9 @@ packages:
resolution: {integrity: sha512-HT1iM3Jt4bZeg3Ru/MxrOy2iIItxcl1Pz5Ync1Vrot70jBpVguMxFEiSaDU57BwYwR4iwnObDnzct2lirKkX5A==}
+ resolution: {integrity: sha512-iIKw23BspnQQYd3prITOBxeUsxBHnwzX6YJfGMuNOZzeNcMmVqzIIVGRm1l69ogaPQmb4wB6BN8mA5bE9YuC5Q==}
+
resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==}
engines: {node: '>=18'}
@@ -12079,6 +12133,21 @@ packages:
resolution: {integrity: sha512-908qahOGocRMinT2nM3ajCEM99H4iPdv84eagPP3FfZy/1ZGeOy2CZYzjhms81ckOPCXPlW7LkY4XpxD8r1DrA==}
+ resolution: {integrity: sha512-S2qqV0CbM4faB1hQQ5IYoeYnAUinjHlzRduxaBc4OoNqh0GjOc8k6tt3hv5ozWcG6Svr6hugw6JL4zNke4jwfA==}
+ peerDependencies:
+ '@sinclair/typebox': '>= 0.34.0 < 1'
+ '@types/bun': '>= 1.2.0'
+ exact-mirror: '>= 0.0.9'
+ file-type: '>= 20.0.0'
+ openapi-types: '>= 12.0.0'
+ typescript: '>= 5.0.0'
+ peerDependenciesMeta:
+ '@types/bun':
+ optional: true
+ typescript:
+ optional: true
+
resolution: {integrity: sha512-OBu5G3nwaSXkZCo1A6LTaFMZ8EpkYbwIaH+bPqdBnDGQ2fh4+NbzjXjs2SktoPNKCtflfVMc75njaDHOYXcrsA==}
peerDependencies:
@@ -12364,6 +12433,14 @@ packages:
resolution: {integrity: sha512-CRT1WTyuQoD771GW56XEZFQ/ZoSfWid1alKGDYMmkt2yl8UXrVR4pspqWNEcqKvVIzg6PAltWjxcSSPrboA4iA==}
engines: {node: '>=18.0.0'}
+ resolution: {integrity: sha512-lNLw824fkSqcHSxNIh8skA7gHO5X5Q8UUllXuRedtJCU8cJwKOT3XPQY8GfhveatFMO4nCK8+oEXsLGErMWC/Q==}
+ peerDependencies:
+ typebox: '>= 1.1.0'
+ peerDependenciesMeta:
+ typebox:
+ optional: true
+
resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==}
engines: {node: '>=6'}
@@ -12636,6 +12713,10 @@ packages:
resolution: {integrity: sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==}
engines: {node: '>=14'}
+ resolution: {integrity: sha512-0H8TsCUGBLx+V5adH3EY52hTAcyLKbV1D4gq5cIOJ6DnQAHeV9Z2Hhuc5CoBX4YmvB2oL+JIC84z0qO7JsCoNw==}
+ engines: {node: '>=22'}
+
resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
@@ -14835,6 +14916,9 @@ packages:
resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
engines: {node: '>= 0.8'}
+ resolution: {integrity: sha512-zxTgA0mSYELa66DimuNQDvyLq36AwDlTuVRbnQtB+VuTcKWm5Qc4z3WkSpgsFWHNhexqkIooqpv4hdcqrX5Nmg==}
+
resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==}
@@ -17886,6 +17970,10 @@ packages:
resolution: {integrity: sha512-oKx6RUCuHfT3oyVjtnrmn19H1SiCqgJSg+54XqURKp5aCMbrXrhLjRN9TjuwMjiYstZ0MzDrHqkGZ5dFTKd+zg==}
+ resolution: {integrity: sha512-ki4hZQfh5rX0QDLLkOCj+h+CVNkqmp/CMf8v8kZpkNVK6jGQooMytqzLZYUVYIZcFZ6yDB70EfD8POcFXiF5oA==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-FL8EeKFFyNQv5cMnXI31CIMCsFarSVI2bF0U0ImeNE3g/F1IvJQyqzOXxPBRXiwQfyBTlbNe88jh1jFW0O/jiQ==}
@@ -18213,6 +18301,10 @@ packages:
resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==}
engines: {node: '>=0.6'}
+ resolution: {integrity: sha512-dRXchy+C0IgK8WPC6xvCHFRIWYUbqqdEIKPaKo/AcTUNzwLTK6AH7RjdLWsEZcAN/TBdtfUw3PYEgPr5VPr6ww==}
+ engines: {node: '>=14.16'}
+
resolution: {integrity: sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==}
hasBin: true
@@ -18477,6 +18569,10 @@ packages:
resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==}
+ resolution: {integrity: sha512-rvKSBiC5zqCCiDZ9kAOszZcDvdAHwwIKJG33Ykj43OKcWsnmcBRL09YTU4nOeHZ8Y2a7l1MgTd08SBe9A8Qj6A==}
+ engines: {node: '>=18'}
+
resolution: {integrity: sha512-Pe+T3DNwXMrAT3b14zzmT+UqAz/aWk2CuYfvtl0u6g+cqU2gU1GmiAEHj40vONrKoTM8diuYiLN46sthFyn4nQ==}
hasBin: true
@@ -22993,6 +23089,8 @@ snapshots:
cac: 6.7.14
citty: 0.1.6
+ '@borewit/[email protected]': {}
+
'@bull-board/[email protected](@bull-board/[email protected])':
dependencies:
'@bull-board/ui': 6.14.0
@@ -23265,6 +23363,14 @@ snapshots:
dependencies:
'@noble/ciphers': 1.3.0
+ dependencies:
+
+ dependencies:
+
'@emnapi/[email protected]':
dependencies:
'@emnapi/wasi-threads': 1.0.1
@@ -25427,7 +25533,7 @@ snapshots:
'@tsconfig/node18': 1.0.3
aws4fetch: 1.0.20
chalk: 5.6.2
- cookie: 1.0.2
+ cookie: 1.1.1
esbuild: 0.25.4
express: 5.2.1([email protected])
@@ -28558,6 +28664,8 @@ snapshots:
'@sinclair/[email protected]': {}
+ '@sinclair/[email protected]': {}
+
'@sindresorhus/[email protected]': {}
'@sindresorhus/[email protected]': {}
@@ -29656,6 +29764,15 @@ snapshots:
'@types/react': 19.2.7
'@types/react-dom': 19.2.3(@types/[email protected])
+ dependencies:
+ debug: 4.4.3([email protected])
+ token-types: 6.1.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@tokenizer/[email protected]': {}
+
'@tootallnate/[email protected]': {}
@@ -31537,6 +31654,10 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@types/node': 20.19.24
+
dependencies:
run-applescript: 7.1.0
@@ -32848,6 +32969,18 @@ snapshots:
+ dependencies:
+ '@sinclair/typebox': 0.34.52
+ cookie: 1.1.1
+ exact-mirror: 1.2.4
+ fast-decode-uri-component: 1.0.1
+ file-type: 22.0.2([email protected])
+ memoirist: 0.4.0
+ openapi-types: 12.1.3
+ optionalDependencies:
+ typescript: 5.9.3
+
dependencies:
embla-carousel: 8.0.0-rc22
@@ -33406,6 +33539,8 @@ snapshots:
dependencies:
eventsource-parser: 3.0.6
+
dependencies:
cross-spawn: 6.0.6
@@ -33917,6 +34052,15 @@ snapshots:
escape-string-regexp: 5.0.0
is-unicode-supported: 1.3.0
+ dependencies:
+ '@tokenizer/inflate': 0.4.1([email protected])
+ strtok3: 10.3.5
+ token-types: 6.1.2
+ uint8array-extras: 1.5.0
+ transitivePeerDependencies:
+ - supports-color
+
@@ -35875,7 +36019,7 @@ snapshots:
dependencies:
- cookie: 1.0.2
+ cookie: 1.1.1
process-warning: 4.0.1
set-cookie-parser: 2.6.0
@@ -36489,6 +36633,8 @@ snapshots:
+
@@ -40613,6 +40759,10 @@ snapshots:
+ dependencies:
+ '@tokenizer/token': 0.3.0
+
@@ -40977,6 +41127,12 @@ snapshots:
+ dependencies:
+ '@borewit/text-codec': 0.2.2
+ '@tokenizer/token': 0.3.0
+ ieee754: 1.2.1
+
dependencies:
commander: 2.20.3
@@ -41263,6 +41419,8 @@ snapshots:
+
dependencies:
'@clack/prompts': 1.0.1
@@ -42537,7 +42695,7 @@ snapshots:
'@poppinss/colors': 4.1.5
'@poppinss/dumper': 0.6.5
'@speed-highlight/core': 1.2.12
- cookie: 1.0.2
+ cookie: 1.1.1
youch-core: 0.3.3
@@ -42545,7 +42703,7 @@ snapshots:
'@poppinss/colors': 4.1.5
'@poppinss/dumper': 0.6.4
'@speed-highlight/core': 1.2.7
- cookie: 1.0.2
+ cookie: 1.1.1
youch-core: 0.3.3