@actuarial-ts/agents 0.6.1 → 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/README.md +13 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.
|
|
6
|
+
npm install @actuarial-ts/agents@0.7.1 @actuarial-ts/core@0.7.1 @actuarial-ts/data@0.7.1 @actuarial-ts/interchange@0.7.1 @actuarial-ts/compliance@0.7.1 @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`.
|
|
@@ -38,6 +38,17 @@ type DiagnosticAgentToolInput = {
|
|
|
38
38
|
|
|
39
39
|
It cannot contain formulas, measures, count populations, amount/exposure bases, missingness, period axes, arbitrary filters, provenance, or project/tenant IDs. The executor must return owner-authenticated `VerifiedDiagnosticRunProvenance` stamped for the exact definition, preset, and sorted selection; a cached superset is rejected rather than display-filtered into an apparent run.
|
|
40
40
|
|
|
41
|
+
This executor remains **eager-only** in SDK 0.7. The compact diagnostics APIs
|
|
42
|
+
introduced in 0.7.0 do not change its return contract:
|
|
43
|
+
`VerifiedCompactDiagnosticRunProvenance` and streamed replay receipts cannot be
|
|
44
|
+
returned in place of eager verified provenance. Keep this tool's approved
|
|
45
|
+
executor on the eager validated-run/provenance path. Compact analysis and
|
|
46
|
+
paged evidence can be hosted separately through the public core/data/compliance
|
|
47
|
+
APIs; casting or display-filtering a compact result does not authorize a tool
|
|
48
|
+
response. See the [compact adoption guide](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/migrations/0.7-compact-diagnostics.md)
|
|
49
|
+
for the distinct workflows and [replay reference](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/reference/diagnostic-replay-stream.md)
|
|
50
|
+
for evidence verification and its SDK-version requirements.
|
|
51
|
+
|
|
41
52
|
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 } }`.
|
|
42
53
|
|
|
43
54
|
The v0.6.1 correction uses `runPresets` in the host catalog and `tenantId` in the host executor input. Migrate the earlier `presets`, `tenant`, flattened success fields, and `display.value` names to the contract above. There is no definition-editing path; changing a basis or rule requires a separate human-governed workflow.
|
|
@@ -54,7 +65,7 @@ In 0.6 the public `DefinedActuarialTool<TInput, TOutput>` execute accepts raw `z
|
|
|
54
65
|
|
|
55
66
|
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.
|
|
56
67
|
|
|
57
|
-
See the [formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.
|
|
68
|
+
See the [formula catalog](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/reference/diagnostic-formulas.md) and [migration guide](https://github.com/yerromnitsuj/actng/blob/v0.7.1/docs/migrations/0.6-generalized-diagnostics.md).
|
|
58
69
|
|
|
59
70
|
## License
|
|
60
71
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@actuarial-ts/agents",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
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.
|
|
51
|
-
"@actuarial-ts/core": "^0.
|
|
52
|
-
"@actuarial-ts/data": "^0.
|
|
53
|
-
"@actuarial-ts/interchange": "^0.
|
|
50
|
+
"@actuarial-ts/compliance": "^0.7.1",
|
|
51
|
+
"@actuarial-ts/core": "^0.7.1",
|
|
52
|
+
"@actuarial-ts/data": "^0.7.1",
|
|
53
|
+
"@actuarial-ts/interchange": "^0.7.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@mastra/core": "^1.51.0",
|