Skip to content

Commit b1455fa

Browse files
authored
chore(release): agentlens v0.15.0 (#70)
Consumes the 4 pending changesets: - @agentlensai/server 0.14.0 -> 0.15.0 (minor): agent-identity verify+stamp on ingest (#12 Phase 2), compliance evals on the audit trail (#55), OTLP own-decode + histogram ingest (#52/#64), per-agent spend endpoint for AgentGate budgets (#13). - @agentlensai/core 0.13.0 -> 0.14.0 (minor). - @agentkit/pricing 0.1.0 -> 0.2.0 (minor): first publish — centralized LiteLLM pricing. - @agentlensai/mcp 0.13.1 -> 0.13.2 (patch): bound the startup capability probe so it can't stall the stdio handshake (#69). cli/sdk/auth unchanged (already live, publish skips them). Root bumped to track the v* release tag (precedent: root==tag at v0.14.0).
1 parent d05c270 commit b1455fa

15 files changed

Lines changed: 98 additions & 50 deletions

.changeset/agent-identity-ingest-stamp.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.changeset/centralized-pricing.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

.changeset/compliance-evals.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.changeset/mcp-boot-probe-timeout.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agentlens",
3-
"version": "0.14.0",
3+
"version": "0.15.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/agentkitai/agentlens.git"

packages/core/CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# @agentlensai/core
22

3+
## 0.14.0
4+
5+
### Minor Changes
6+
7+
- 6a8c268: Centralize LLM model pricing in a new `@agentkit/pricing` package, sourced from LiteLLM's published prices with an embedded fallback.
8+
9+
- Consolidates the two server-side cost tables (`@agentlensai/core` `DEFAULT_MODEL_COSTS` and the cloud `batch-writer` table) onto one source of truth — they had drifted in both units (per-1M vs per-1K) and model coverage.
10+
- Fixes the cloud-ingest path, which previously returned no cost for modern model ids (e.g. `claude-opus-4-8`) because its hand-maintained table used outdated key formats.
11+
- Refreshes prices live from LiteLLM at server startup (fire-and-forget, falls back to the embedded table on failure). Off-switch: `AGENTKIT_PRICING_REFRESH=false`.
12+
13+
`@agentlensai/core` continues to re-export `DEFAULT_MODEL_COSTS` / `lookupModelCost` and now also exports `costUsd` and `refreshFromLiteLLM` — no breaking change for existing consumers.
14+
15+
- 18428ae: Add compliance evals on the tamper-evident audit trail (#55, Phase 1).
16+
17+
A deterministic compliance scorer evaluates a completed session's events against policy rules — denied tools (`tool_denylist`, supports `delete_*` wildcards), `tool_allowlist`, `max_cost`, and a `no_severity_above` ceiling — with no LLM dependency, so the result is provable and reproducible.
18+
19+
- New `eval_result` event type + `EvalResultPayload`. The scoring outcome is emitted server-side as a SHA-256 hash-chained event in the session's audit trail, so eval results are themselves tamper-evident evidence ("we ran the eval, here's the cryptographic proof"). It is deliberately excluded from the public ingest schema so clients cannot forge eval results.
20+
- New endpoint `POST /api/eval/sessions/:sessionId/compliance` — scores a completed session against inline `rules` and records the chained `eval_result`. Strict pass/fail by default; an optional `passThreshold` switches to score-based.
21+
- `compliance` scorer type registered in the default scorer registry; `ScorerConfig.rules` carries the policy rules.
22+
23+
### Patch Changes
24+
25+
- Updated dependencies [6a8c268]
26+
- @agentkit/pricing@0.2.0
27+
328
## 0.2.0
429

530
### Minor Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agentlensai/core",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "Core types, schemas, and utilities for AgentLens — AI agent observability platform",
55
"type": "module",
66
"license": "MIT",

packages/dashboard/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @agentlensai/dashboard
22

3+
## 0.13.1
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [6a8c268]
8+
- Updated dependencies [18428ae]
9+
- @agentlensai/core@0.14.0
10+
311
## 0.1.1
412

513
### Patch Changes

packages/dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@agentlensai/dashboard",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "Web dashboard for AgentLens — visualize agent sessions, events, analytics, and alerts",
55
"type": "module",
66
"license": "MIT",

packages/mcp/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @agentlensai/mcp
22

3+
## 0.13.2
4+
5+
### Patch Changes
6+
7+
- d05c270: MCP server: bound the startup capability probe to a tight 1.5s timeout (configurable via `AGENTLENS_MCP_PROBE_TIMEOUT_MS`) so an unreachable or slow `AGENTLENS_URL` can't delay the stdio `initialize` handshake. An MCP stdio server must respond promptly, but boot awaited the probe (a network call) before connecting the transport — fine for `localhost` (refuses instantly) but a remote host that drops packets would stall startup up to 5s. The probe stays fail-open (a timeout registers all tools), so this only changes timing, not behavior.
8+
- Updated dependencies [6a8c268]
9+
- Updated dependencies [18428ae]
10+
- @agentlensai/core@0.14.0
11+
312
## 0.2.0
413

514
### Minor Changes

0 commit comments

Comments
 (0)