stack/apps/dashboard
Bilal Godil 6a01e2507a fix(rde): graceful config load errors + lightweight /config import path
The local dashboard evaluates a project's hexclave.config.ts in a plain Node
context via jiti. When a config imported a value (e.g. defineStackConfig) from a
framework package like @stackframe/stack / @hexclave/next, jiti executed the
whole SDK (React, server-only, Next internals) and threw, surfacing only as
"Failed to register development environment session (500)".

- Catch jiti load failures in readConfigFile and rethrow a helpful message that
  points at the lightweight import path.
- Add a side-effect-free `./config` subpath to the framework packages
  (@hexclave/{js,next,react,tanstack-start}/config) that re-exports
  defineHexclaveConfig/defineStackConfig + the HexclaveConfig type from
  @hexclave/shared/config, with no framework runtime. Users directly depend on
  these packages, so the subpath resolves under pnpm strict mode (unlike the
  transitive @hexclave/shared/config).
- Point the setup prompt, hand-written docs (docs-mintlify), and the renderer
  that auto-writes config files at the new `<pkg>/config` path. Legacy
  @stackframe/* packages predate the subpath, so they keep their root import.

Existing config files that import from a package root are upgraded to the
/config path on their next dashboard/CLI sync.
2026-06-04 15:05:59 -07:00
..
public Update light mode logo 2026-06-01 15:05:44 -07:00
scripts feat(hexclave): PR 5 — internal symbol/path/package renames + brand strings (#1547) 2026-06-03 18:57:09 -07:00
src fix(rde): graceful config load errors + lightweight /config import path 2026-06-04 15:05:59 -07:00
.env feat(hexclave): PR 2 — visible rebrand (Hexclave brand goes public) (#1481) 2026-05-26 19:18:20 -07:00
.env.development feat(hexclave): PR 1 — wire compatibility layer (invisible) (#1475) 2026-05-23 17:24:55 -07:00
.eslintrc.cjs Config sources (#1083) 2026-01-21 18:08:35 -08:00
.gitignore Custom dashboards and unified ai no playground (#1243) 2026-03-13 20:24:40 +00:00
.npmrc Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
components.json Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
DESIGN-GUIDE.md feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
instrumentation-client.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
LICENSE Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
next.config.mjs Reduce @hexclave/cli bundle size by ~154 MB (#1544) 2026-06-03 17:17:19 -07:00
package.json chore: update package versions 2026-06-04 00:19:36 +00:00
postcss.config.js Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
tailwind.config.ts feat(hexclave): PR 3 — native @hexclave/* source rename + delete dual-publish wiring (#1482) 2026-05-29 15:21:59 -07:00
tsconfig.json fix flaky typecheck test (#1072) 2025-12-17 12:26:12 -08:00
vitest.config.ts In-source unit tests (#429) 2025-02-14 11:47:52 -08:00