feat(pro): generalize pro tier to multi-surface extension points
Move the pro mount decnet/services/pro/ -> decnet/pro/ so the Professional tier
can contribute to more than honeypots. The core wires each surface only when
decnet/pro/ is present (absence stays the entitlement gate):
* services — registry scans decnet/pro/services/ (was decnet/services/pro/)
* API routes — decnet/pro/routes.py exposes ROUTERS, mounted under /api/v1
* web pages — Vite aliases @pro to the pro frontend (community -> empty stub),
App.tsx maps proRoutes into <Route>s, Layout renders a
PROFESSIONAL nav group; both tree-shake out of the community build
Frontend gate mirrors the existing VITE_DECNET_DEVELOPER tree-shake pattern.
Tests: registry + router seams (backend), empty-stub contract (frontend).
This commit is contained in:
@@ -27,7 +27,7 @@ depends on it.
|
||||
| Tier | Code | License |
|
||||
|--------------|----------------------------------------|----------------------------|
|
||||
| Community | this repo | AGPL-3.0-or-later |
|
||||
| Professional | `decnet/services/pro/` (private repo) | DECNET Commercial EULA |
|
||||
| Professional | `decnet/pro/` (private repo) | DECNET Commercial EULA |
|
||||
|
||||
To use DECNET core under terms other than the AGPL, or to obtain DECNET
|
||||
Professional, contact **licensing@decnet.cl**.
|
||||
|
||||
Reference in New Issue
Block a user