@actuarial-ts/agents 0.8.0 → 0.9.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.
Files changed (2) hide show
  1. package/README.md +9 -6
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -3,15 +3,15 @@
3
3
  Mastra tools and human-gated workflows for actuarial-ts. It is an orchestration boundary around the other four packages, not an autonomous actuary.
4
4
 
5
5
  ```bash
6
- npm install @actuarial-ts/agents@0.8.0 @actuarial-ts/core@0.8.0 @actuarial-ts/data@0.8.0 @actuarial-ts/interchange@0.8.0 @actuarial-ts/compliance@0.8.0 @mastra/core@^1.51.0 @mastra/mcp@^1.14.0 zod@^3.25.76
6
+ npm install @actuarial-ts/agents@0.9.0 @actuarial-ts/core@0.9.0 @actuarial-ts/data@0.9.0 @actuarial-ts/interchange@0.9.0 @actuarial-ts/compliance@0.9.0 @mastra/core@^1.51.0 @mastra/mcp@^1.14.0 zod@^3.25.76
7
7
  ```
8
8
 
9
9
  Requires Node 22.13+. Peer ranges are `@mastra/core >=1.51.0 <2`, `@mastra/mcp >=1.14.0 <2`, and Zod `^3.25.76`.
10
10
 
11
11
  SDK 0.8 adds a closed customization selection tool: the model selects only a
12
12
  host-approved preset and allowlisted scenario IDs, while tenant identity stays
13
- in trusted request context. See the [0.8 adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.8.0/docs/migrations/0.8-reusable-customization.md)
14
- and [customization reference](https://github.com/yerromnitsuj/actng/blob/v0.8.0/docs/reference/reusable-customization.md).
13
+ in trusted request context. See the [0.8 adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.8-reusable-customization.md)
14
+ and [customization reference](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/reference/reusable-customization.md).
15
15
 
16
16
  ## Trusted diagnostic selection
17
17
 
@@ -50,8 +50,8 @@ returned in place of eager verified provenance. Keep this tool's approved
50
50
  executor on the eager validated-run/provenance path. Compact analysis and
51
51
  paged evidence can be hosted separately through the public core/data/compliance
52
52
  APIs; casting or display-filtering a compact result does not authorize a tool
53
- response. See the [compact adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.8.0/docs/migrations/0.7-compact-diagnostics.md)
54
- for the distinct workflows and [replay reference](https://github.com/yerromnitsuj/actng/blob/v0.8.0/docs/reference/diagnostic-replay-stream.md)
53
+ response. See the [compact adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.7-compact-diagnostics.md)
54
+ for the distinct workflows and [replay reference](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/reference/diagnostic-replay-stream.md)
55
55
  for evidence verification and its SDK-version requirements.
56
56
 
57
57
  Success returns `{ success: true, data: { ... } }`. The `data` object contains formula/calculation/definition identities, run/result/binding fingerprints, the full review receipt (including triggered and not-evaluated rules), and one explicitly display-only projection. `data.display.points` holds emergence or latest-diagonal points; `data.display.triangles` holds the triangle view. Display points retain reviewed metric evaluations and findings while omitting the raw aggregate `components` field. Failures remain `{ success: false, error: { code, message } }`.
@@ -70,8 +70,11 @@ In 0.6 the public `DefinedActuarialTool<TInput, TOutput>` execute accepts raw `z
70
70
 
71
71
  The package’s offline test suite covers trusted catalog selection, direct/Mastra-shaped execution, tenant failure, once-only transforms, provenance coherence, judgment gates, remote sidecar behavior, promotion, and golden-prompt tool selection.
72
72
 
73
- See the [formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.8.0/docs/reference/diagnostic-formulas.md) and [migration guide](https://github.com/yerromnitsuj/actng/blob/v0.8.0/docs/migrations/0.6-generalized-diagnostics.md).
73
+ See the [formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/reference/diagnostic-formulas.md) and [migration guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.6-generalized-diagnostics.md).
74
74
 
75
75
  ## License
76
76
 
77
77
  Apache-2.0. See LICENSE and NOTICE.
78
+
79
+ SDK 0.9 adds native post-aggregation formulas and correct financial currency units.
80
+ See the [0.9 migration guide](https://github.com/yerromnitsuj/actng/blob/v0.9.0/docs/migrations/0.9-analysis-expressions.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actuarial-ts/agents",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "Mastra agent toolkit for actuarial-ts: exact validated tools with a hard tenant seam, human-gated judgment, trusted-catalog diagnostic selection, reserving advice, and evals.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -47,10 +47,10 @@
47
47
  "prepublishOnly": "node ../../tools/release/verify-release-attestation.mjs @actuarial-ts/agents"
48
48
  },
49
49
  "dependencies": {
50
- "@actuarial-ts/compliance": "^0.8.0",
51
- "@actuarial-ts/core": "^0.8.0",
52
- "@actuarial-ts/data": "^0.8.0",
53
- "@actuarial-ts/interchange": "^0.8.0"
50
+ "@actuarial-ts/compliance": "^0.9.0",
51
+ "@actuarial-ts/core": "^0.9.0",
52
+ "@actuarial-ts/data": "^0.9.0",
53
+ "@actuarial-ts/interchange": "^0.9.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@mastra/core": "^1.51.0",