@salesforce/sfdx-agent-harness-mastra 0.41.0 → 0.42.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to `@salesforce/sfdx-agent-harness-mastra` are documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.42.0] - 2026-08-04
7
+
8
+ ### Chores
9
+ - **deps**: sync all workspace dependencies to latest @W-23369873 ([#733](https://github.com/forcedotcom/agentic-dx/pull/733))
10
+ - **deps-dev**: bump @vitest/eslint-plugin from 1.6.23 to 1.6.24 in the vitest group across 1 directory ([#729](https://github.com/forcedotcom/agentic-dx/pull/729))
11
+
6
12
  ## [0.41.0] - 2026-08-04
7
13
 
8
14
  ### Chores
@@ -33,7 +33,7 @@ import type { ToolPolicyRule } from '@salesforce/sfdx-agent-sdk';
33
33
  * `test/mastra-built-in-policies.test.ts` pins only the shape (all `allow`, all
34
34
  * `builtin` matchers), not the names; this caveat is the names' guard rail.
35
35
  */
36
- export declare const MASTRA_BUILT_IN_TOOL_NAMES: readonly ["updateWorkingMemory", "skill", "skill_search", "skill_read"];
36
+ export declare const MASTRA_BUILT_IN_TOOL_NAMES: readonly ['updateWorkingMemory', 'skill', 'skill_search', 'skill_read'];
37
37
  /**
38
38
  * Mastra harness-specific built-in tool-approval rules — the `tiers.harness`
39
39
  * slice passed to `resolveToolApprovalPolicy`. Per the SDK's R4 layering
@@ -48,7 +48,7 @@ export declare class ToolResultRedactionProcessor implements Processor<'sfdx-too
48
48
  private readonly agentId;
49
49
  private readonly redactor;
50
50
  private readonly lookupMcpToolMetadata;
51
- readonly id: "sfdx-tool-result-redaction";
51
+ readonly id: 'sfdx-tool-result-redaction';
52
52
  constructor(agentId: string, redactor: ToolResultRedactor, lookupMcpToolMetadata: McpServerLookup);
53
53
  processInputStep(args: ProcessInputStepArgs): Promise<void>;
54
54
  }
@@ -19,9 +19,9 @@ import { SKILL_BRIDGE_SERVER_ID } from '@salesforce/sfdx-agent-sdk';
19
19
  * sank the host-side bare-leaf workaround in AFV PR #2455.
20
20
  */
21
21
  /** Leaf names injected by Mastra's `ToolSearchProcessor` (no `autoLoad`). */
22
- export declare const TOOL_SEARCH_META_TOOL_NAMES: readonly ["search_tools", "load_tool"];
22
+ export declare const TOOL_SEARCH_META_TOOL_NAMES: readonly ['search_tools', 'load_tool'];
23
23
  /** Leaf names injected by Mastra's `SkillSearchProcessor`. */
24
- export declare const SKILL_SEARCH_META_TOOL_NAMES: readonly ["search_skills", "load_skill"];
24
+ export declare const SKILL_SEARCH_META_TOOL_NAMES: readonly ['search_skills', 'load_skill'];
25
25
  /**
26
26
  * Every capability-discovery meta-tool leaf the harness gives the
27
27
  * `skill_bridge` identity. Kept in lockstep with the SDK's `mcp:skill_bridge:*`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/sfdx-agent-harness-mastra",
3
- "version": "0.41.0",
3
+ "version": "0.42.0",
4
4
  "description": "Mastra-backed AgentHarness implementation for @salesforce/sfdx-agent-sdk",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,43 +29,43 @@
29
29
  "LICENSE.txt"
30
30
  ],
31
31
  "dependencies": {
32
- "@ai-sdk/provider": "^3.0.10",
32
+ "@ai-sdk/provider": "^4.0.5",
33
33
  "@anthropic-ai/bedrock-sdk": "^0.32.0",
34
- "@anthropic-ai/sdk": "^0.111.0",
35
- "@mastra/core": "^1.53.0",
36
- "@mastra/libsql": "^1.17.1",
34
+ "@anthropic-ai/sdk": "^0.115.0",
35
+ "@mastra/core": "^1.55.0",
36
+ "@mastra/libsql": "^1.18.0",
37
37
  "@mastra/mcp": "^1.15.0",
38
- "@mastra/memory": "^1.23.1",
39
- "@mastra/schema-compat": "^1.2.11",
40
- "@salesforce/agentic-common": "0.14.0",
41
- "openai": "^6.0.0"
38
+ "@mastra/memory": "^1.24.0",
39
+ "@mastra/schema-compat": "^1.3.4",
40
+ "@salesforce/agentic-common": "0.15.0",
41
+ "openai": "^7.0.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@salesforce/sfdx-agent-sdk": "0.42.0"
44
+ "@salesforce/sfdx-agent-sdk": "0.43.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@eslint/js": "^10.0.1",
48
48
  "@salesforce/harness-conformance": "0.0.1",
49
- "@salesforce/sfdx-agent-sdk": "0.42.0",
49
+ "@salesforce/sfdx-agent-sdk": "0.43.0",
50
50
  "@types/node": "^22.20.0",
51
51
  "@vitest/coverage-istanbul": "^4.1.10",
52
- "@vitest/eslint-plugin": "^1.6.22",
52
+ "@vitest/eslint-plugin": "^1.6.26",
53
53
  "eslint": "^10.8.0",
54
54
  "eslint-config-prettier": "^10.1.8",
55
55
  "eslint-import-resolver-typescript": "^4.4.5",
56
56
  "eslint-plugin-import": "^2.32.0",
57
- "eslint-plugin-n": "^18.2.1",
58
- "globals": "^17.6.0",
59
- "lint-staged": "^17.0.7",
60
- "prettier": "^3.9.4",
57
+ "eslint-plugin-n": "^18.2.2",
58
+ "globals": "^17.9.0",
59
+ "lint-staged": "^17.3.0",
60
+ "prettier": "^3.9.6",
61
61
  "rimraf": "^6.1.3",
62
- "tsx": "^4.23.0",
63
- "typescript": "^6.0.3",
64
- "typescript-eslint": "^8.63.0",
62
+ "tsx": "^4.23.5",
63
+ "typescript": "^7.0.2",
64
+ "typescript-eslint": "^8.66.0",
65
65
  "vitest": "^4.1.8"
66
66
  },
67
67
  "engines": {
68
- "node": ">=22.22.0"
68
+ "node": ">=22.22.1"
69
69
  },
70
70
  "lint-staged": {
71
71
  "*.{js,jsx,ts,tsx,json,md}": [