@adonis-agora/crypto-dashboard 0.0.0-stage → 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 ADDED
@@ -0,0 +1,28 @@
1
+ # @adonis-agora/crypto-dashboard
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3](https://github.com/DavideCarvalho/adonis-agora-crypto/pull/3) [`66b13f2`](https://github.com/DavideCarvalho/adonis-agora-crypto/commit/66b13f29efa58016205520efbdf276c6dabde65c) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - The crypto console and the operator tooling.
8
+
9
+ `@adonis-agora/crypto-dashboard` is the Agora console (copied console kit, teal accent): an overview
10
+ with the keys, versions, operations and refusals of the last 24h, the key list with create/rotate/
11
+ delete, a key page with the policy editor (decryption floor, deletion, export) and every version's
12
+ status, and the audit trail with filters. It is metadata only — no key material, no plaintext, no
13
+ export button.
14
+
15
+ The server mounts it at the tenant API's path (`/_crypto`, JSON API under `/_crypto/api`), gated by
16
+ `console.authorize`, registers itself in the `agora.consoles` switcher and its ⌘K search, and exposes
17
+ four **metadata-only** dev tools on the agent hub (`crypto_list_keys`, `crypto_get_key`,
18
+ `crypto_list_audit`, `crypto_overview`) — never an encrypt/decrypt/sign/export tool.
19
+
20
+ CLI: `crypto:keys:list|show|create|rotate|policy|delete|export|reseal`, `crypto:encrypt`,
21
+ `crypto:decrypt` (with `--value-file`/`--stdin` so a secret does not land in the shell history) and
22
+ `crypto:audit`, all through the same service as the console and the API with `cli:<os user>` as the
23
+ actor. `crypto:keys:reseal [--dry-run] [--all]` moves key material to a rotated root key without
24
+ touching keys, versions or ciphertext.
25
+
26
+ `agora:doctor` gains five checks: the keyring, the store, every key version opening with the current
27
+ root (a lost root is an error, a retired one a warning), the tenant's reachability and token, and the
28
+ console's gate in production.
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,3 +1,12 @@
1
- # Temporary Holding Version
1
+ # @adonis-agora/crypto-dashboard
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ The console of `@adonis-agora/crypto`: keys, versions, policy and the audit trail, as a React SPA
4
+ served by the crypto server (mounted at `/_crypto`, JSON API under `/_crypto/api`).
5
+
6
+ Built with `vite build` into `dist/spa`; the server package copies it to `dist/assets/spa` at build
7
+ time. The Agora console kit is copied verbatim from `_1x/shared/console-kit`; this console's accent
8
+ is teal.
9
+
10
+ Metadata only: no key material, no plaintext, no export button.
11
+
12
+ Docs: <https://davidecarvalho.github.io/agora/docs/crypto/console>