@adonis-agora/config-dashboard 0.0.0-bootstrap.0 → 0.1.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/CHANGELOG.md +36 -0
- package/LICENSE +21 -0
- package/README.md +6 -2
- package/dist/spa/assets/index-CAHRPNZj.js +50 -0
- package/dist/spa/assets/index-CAHRPNZj.js.map +1 -0
- package/dist/spa/assets/index-Cvjcgc6i.css +1 -0
- package/dist/spa/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- package/dist/spa/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/spa/assets/jetbrains-mono-latin-500-normal-BWZEU5yA.woff2 +0 -0
- package/dist/spa/assets/jetbrains-mono-latin-500-normal-CJOVTJB7.woff +0 -0
- package/dist/spa/assets/jetbrains-mono-latin-600-normal-BfsvjouI.woff +0 -0
- package/dist/spa/assets/jetbrains-mono-latin-600-normal-C8RAYTDA.woff2 +0 -0
- package/dist/spa/assets/sora-latin-400-normal-CRt88UEn.woff2 +0 -0
- package/dist/spa/assets/sora-latin-400-normal-OW7qkl5a.woff +0 -0
- package/dist/spa/assets/sora-latin-500-normal-01eiPEn0.woff2 +0 -0
- package/dist/spa/assets/sora-latin-500-normal-w58xtEt9.woff +0 -0
- package/dist/spa/assets/sora-latin-600-normal-1_7fyUAY.woff +0 -0
- package/dist/spa/assets/sora-latin-600-normal-Cdg4DaK0.woff2 +0 -0
- package/dist/spa/assets/sora-latin-700-normal-9waGdLWo.woff2 +0 -0
- package/dist/spa/assets/sora-latin-700-normal-BKPfQAnC.woff +0 -0
- package/dist/spa/index.html +20 -0
- package/package.json +70 -5
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @adonis-agora/config-dashboard
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#4](https://github.com/DavideCarvalho/adonis-agora-config/pull/4) [`a38672e`](https://github.com/DavideCarvalho/adonis-agora-config/commit/a38672e243c5ea2a2361641afb55f5cd3d00611f) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The first release of the Agora config server, Spring Cloud Config style: a control plane that owns
|
|
8
|
+
every app's configuration per app, environment and label, with immutable versions, history, audit,
|
|
9
|
+
an ETag + SSE tenant API, and secrets sealed by the Agora crypto kit (purpose `config:secrets`, AAD
|
|
10
|
+
app/environment/key), optionally sealed to a tenant's X25519 public key so the control plane cannot
|
|
11
|
+
read them, or resolved from a vault; and a tenant that fetches before the app's config
|
|
12
|
+
loads, boots from a disk snapshot during an outage, and hot-reloads the keys marked reloadable while
|
|
13
|
+
reporting the ones that need a restart.
|
|
14
|
+
|
|
15
|
+
Tenant auth follows the Agora topology spec: `verifyTenant` top level with the three forms, the
|
|
16
|
+
`urn:agora:config` resource, a `partition` claim and `config:read` / `config:secrets:read`
|
|
17
|
+
capabilities. With authkit it is `authkitTenantVerifier` + `authkitTenantToken` from
|
|
18
|
+
`@adonis-agora/authkit-client` (optional, lazy); without it, `sharedSecretVerifier` + the secret in
|
|
19
|
+
`tenant.token`. Secrets use the Agora crypto kit on top of AdonisJS encryption (the app's
|
|
20
|
+
`config/encryption.ts` by default; optional `crypto.keys`/`active` owned by this package,
|
|
21
|
+
`config:crypto:reseal [--all]`, and the `config.crypto` doctor check); `crypto.kms` enables envelope
|
|
22
|
+
encryption. A tenant app holds an X25519 key pair (private key sealed at rest,
|
|
23
|
+
public key registered on first connect); `--sealed`/the console's seal checkbox write `sealTo`
|
|
24
|
+
ciphertext the control plane can never open, and `config:tenant:key --rotate` re-seals on rotation. `tenant.localEnv` keeps a Sail worktree's ports ahead of the server in development.
|
|
25
|
+
|
|
26
|
+
The console lists and edits entries per app/environment/label, diffs any two versions, rolls back and
|
|
27
|
+
shows who changed what (secrets masked until an audited reveal). The CLI (`config:entry:*`,
|
|
28
|
+
`config:history`, `config:rollback`, `config:env`) and the MCP dev tools use the same admin service,
|
|
29
|
+
and `agora:doctor` checks the server, the token and the snapshot.
|
|
30
|
+
|
|
31
|
+
`@adonis-agora/config-client` reads a scope from any runtime with a shared secret or
|
|
32
|
+
`authkitTenantToken` from `@adonis-agora/authkit-client`; the same helper is the tenant's token
|
|
33
|
+
source, and `config:pull` writes the managed `.env.local` block that Sail consumes without shadowing
|
|
34
|
+
its per-worktree ports.
|
|
35
|
+
|
|
36
|
+
It also ships a `@adonis-agora/telescope` extension (auto-registered): a Configuration dashboard with store health, write activity, recent changes, secret reveals and the tenants seen, plus one `agora:config:*` diagnostics entry per write/reveal/reload (never a value).
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Davi Carvalho
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
# @adonis-agora/config-dashboard
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
The console SPA for `@adonis-agora/config`: entries per app, environment and label, an editor for
|
|
4
|
+
values and vault references, version history, diffs, rollback and the audit trail. It is served by
|
|
5
|
+
the control plane (no separate deployment); the host injects its deployment config as a JSON data
|
|
6
|
+
block.
|
|
7
|
+
|
|
8
|
+
Part of the Agora ecosystem. Built with the shared Agora console kit.
|