@adonis-agora/agent-dashboard 0.7.0 → 0.7.1
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 +30 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# @adonis-agora/agent-dashboard
|
|
2
2
|
|
|
3
|
+
## 0.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#71](https://github.com/DavideCarvalho/adonis-agora-agent/pull/71) [`24c8d6f`](https://github.com/DavideCarvalho/adonis-agora-agent/commit/24c8d6f81da6fc335ec96e4154f36a22ad762a8a) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - Delegation is authorizable, the actor directory is consumed, and `dashboard` is part of the typed config.
|
|
8
|
+
|
|
9
|
+
- **`delegatesTo` accepts an object edge.** A synthesized `ask_<target>` tool goes through the same
|
|
10
|
+
`RolesPolicy` gate as any other tool, and a bare-string edge carries neither `roles` nor `ability` —
|
|
11
|
+
which is ADMIN-only under `DefaultToolAuthorizer` and an outright deny under `authzToolAuthorizer`,
|
|
12
|
+
so delegation was unreachable under authz with no way to open it. `delegatesTo` now also takes
|
|
13
|
+
`{ agent, roles?, ability? }` (`DelegateEdge`), whose annotation lands on the synthesized spec. Bare
|
|
14
|
+
strings keep their existing fail-closed behaviour.
|
|
15
|
+
- **`ActorDirectory.resolveDisplay` is now called.** `actorDirectory` resolved into a provider field
|
|
16
|
+
that was never read, so governance surfaces always rendered raw refs. Every governance route
|
|
17
|
+
returning an `actorRef` now carries an optional `actorLabel`, filled from one batched directory
|
|
18
|
+
lookup per page and omitted for unknown refs. Fail-soft: an unbound or throwing directory leaves the
|
|
19
|
+
rows exactly as the read-model produced them.
|
|
20
|
+
- **`AgentConfig.dashboard` is typed.** The console's config block was read through an untyped
|
|
21
|
+
`config.get('agent.dashboard')` string path, so writing it inside `defineConfig({ ... })` was an
|
|
22
|
+
excess-property error. It is now a declared `AgentConfig` field and the provider reads it off the
|
|
23
|
+
typed config.
|
|
24
|
+
- **`engines.node` is a range again.** Both packages published an exact version (`v22.23.2` /
|
|
25
|
+
`v26.7.0`), which warns on install for every consumer on any other Node and hard-fails under
|
|
26
|
+
`engine-strict`. Renovate's global `rangeStrategy: "pin"` had rewritten the ranges; `engines` is now
|
|
27
|
+
excluded from pinning so it cannot happen again.
|
|
28
|
+
- JSDoc: the published source carried Portuguese doc comments (`sse.ts`, `spi/tool.ts`, `base-tool.ts`,
|
|
29
|
+
`stores/factory.ts`, `rag/qdrant-store.ts`, `ai-tool-ref.ts`) — translated to English. Corrected the
|
|
30
|
+
stale cost formula on `AgentGovernanceQueries` (it omitted the cache-token split), the attachment
|
|
31
|
+
allow-list default (an exact-match list of 7 types, not `text/*`), and two NestJS-era references.
|
|
32
|
+
|
|
3
33
|
## 0.7.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adonis-agora/agent-dashboard",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "Read-only governance console (spend by model/actor, usage trend, recent threads & tool calls, quota) for @adonis-agora/agent — a dependency-light React SPA served by a thin AdonisJS provider. Part of the Agora ecosystem.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"typescript": "5.9.3",
|
|
58
58
|
"vite": "7.3.6",
|
|
59
59
|
"vitest": "3.2.7",
|
|
60
|
-
"@adonis-agora/agent": "0.
|
|
60
|
+
"@adonis-agora/agent": "0.24.0"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
|
-
"node": "
|
|
63
|
+
"node": ">=20.6.0"
|
|
64
64
|
},
|
|
65
65
|
"keywords": [
|
|
66
66
|
"adonisjs",
|