@adonis-agora/agent-dashboard 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @adonis-agora/agent-dashboard
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2](https://github.com/DavideCarvalho/adonis-agent/pull/2) [`3ed796f`](https://github.com/DavideCarvalho/adonis-agent/commit/3ed796f5106416726526651088fb98c1d2495172) Thanks [@DavideCarvalho](https://github.com/DavideCarvalho)! - `autoCreateTables` now defaults to **`true`** for the Lucid stores — the agent lib manages its own
8
+ schema by default, completing the ecosystem convention (mirrors `@adonis-agora/durable` and
9
+ `@adonis-agora/authz`). On first use a store provisions the six shared agent tables with `CREATE
10
+ TABLE IF NOT EXISTS`; set `autoCreateTables: false` (on `stores.lucid`, `pricingStores.lucid`, or
11
+ `governanceQueries.lucid`) to opt out and run the published migration instead.
12
+
13
+ Crucially, provisioning is no longer the agent store's job alone: the **pricing store** and the
14
+ **governance read-model** also auto-provision on first use, sharing one memoized `CREATE TABLE` pass
15
+ per db client (new exported `ensureAgentTables`). This closes two real gaps — seeding model prices
16
+ before the first agent run, and opening the governance dashboard on a fresh deploy — that the
17
+ store-only auto-create left broken.
18
+
19
+ The dashboard's peer range is bumped to `@adonis-agora/agent@^0.3.0`.
20
+
3
21
  ## 0.2.0
4
22
 
5
23
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adonis-agora/agent-dashboard",
3
- "version": "0.2.0",
3
+ "version": "0.2.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": {
@@ -37,7 +37,7 @@
37
37
  "sideEffects": false,
38
38
  "peerDependencies": {
39
39
  "@adonisjs/core": "^7.3.0",
40
- "@adonis-agora/agent": "^0.2.0"
40
+ "@adonis-agora/agent": "^0.3.0"
41
41
  },
42
42
  "peerDependenciesMeta": {
43
43
  "@adonisjs/core": {
@@ -57,7 +57,7 @@
57
57
  "typescript": "^5.4.0",
58
58
  "vite": "^7.0.0",
59
59
  "vitest": "^3.0.0",
60
- "@adonis-agora/agent": "0.2.0"
60
+ "@adonis-agora/agent": "0.3.0"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=22.0.0"