Suriyakumarvijayanayagam e5582188eb Local admin seed shows the real client names
Label the two dev-copy tenants with their live names (Krishtech, B2E
TECHNOLOGY PVT LTD) so the local panel looks like production. The databases
are still the safe copies (kw_admin_*); only the display names change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UnrQB3KMANKKnKu9MsPDcs
2026-11-25 23:07:11 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30
2026-11-25 21:07:45 +05:30

Qwenter Admin

The operators' panel for a Qwenter server: every client with its logins, roles and usage, adding and changing logins, onboarding a client, and a log of every change. React 19, Vite, StyleX and the Astryx UI kit, in Qwenter's own design.

Folder What
src/pages, src/components, src/lib The panel
src/shared Qwenter's components, theme and sign-in, copied from the main repository's apps/web/src. Change them there, then copy again
api operator-admin.patch: the part of the Qwenter API this panel needs

Run

corepack pnpm install
corepack pnpm dev        # http://localhost:5180, API expected on :4010 (KW_API_PORT)
corepack pnpm build      # dist/

The API

The panel has no backend of its own: it calls /api/operator/* of the Qwenter API. Apply the patch to the main repository (until it is merged there), from its root:

git apply <path>/api/operator-admin.patch

It also adds infra/scripts/admin-local.sh, which starts a local API (:4010) on copies of the local databases, for pnpm dev here.

Going live

  1. An address for the panel with its DNS pointing at the server, and KW_OPERATOR_HOST on the API set to it.
  2. Serve dist/ at that address and proxy /api and /health to the API, keeping the Host header (the API picks the operator screen by it).
  3. An operator sign-in: realm kwenter-ops, client kwenter-ops-web, role kw-operator (see KW_OPERATOR_ISSUER). Without the role nobody gets in. Never set KW_DEV_AUTH on a server.
  4. Onboarding stays off unless KW_OPERATOR_ONBOARD=1 and KW_ADMIN_DATABASE_URL are set: it creates databases.

No passwords, keys or client data belong in this repository.

Description
No description provided
Readme 201 KiB
Languages
TypeScript 53.2%
CSS 37.1%
JavaScript 8.1%
HTML 1.3%
Dockerfile 0.3%