@actuarial-ts/agents 0.15.0 → 0.16.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.
package/src/tools.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * server-side request context, never from the model. tenantOf reads it;
7
7
  * defineActuarialTool REJECTS, at definition time, any input schema that
8
8
  * declares a tenant-id key - the model must not even be able to express
9
- * one. (Verified against @mastra/core 1.49: tools execute as
9
+ * one. (Verified against the installed @mastra/core 1.67.0: tools execute as
10
10
  * (inputData, context) with context.requestContext.get(key).)
11
11
  *
12
12
  * 2. ERROR CONTRACT. Tools never throw into the model. Anything the host's
@@ -107,7 +107,7 @@ export function envelopeFailure(
107
107
  /**
108
108
  * The structural slice of Mastra's ToolExecutionContext that the tenant seam
109
109
  * needs. Typed structurally (not as the concrete Mastra type) so tests can
110
- * pass a minimal object and hosts on any 1.49+ patch level are assignable.
110
+ * pass a minimal object and supported hosts are structurally assignable.
111
111
  */
112
112
  export interface TenantToolContext {
113
113
  requestContext?: { get(key: string): unknown };