@salesforce/sfdx-agent-harness-mastra 0.22.0 → 0.24.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 +12 -0
- package/dist/mastra-harness-factory.js +9 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.24.0] - 2026-06-24
|
|
7
|
+
|
|
8
|
+
### Chores
|
|
9
|
+
- update dependencies and disable Mastra PostHog telemetry @W-23054815 ([#619](https://github.com/forcedotcom/agentic-dx/pull/619))
|
|
10
|
+
|
|
11
|
+
## [0.23.0] - 2026-06-23
|
|
12
|
+
|
|
13
|
+
### Chores
|
|
14
|
+
- **deps**: bump @anthropic-ai/bedrock-sdk from 0.29.2 to 0.31.0 ([#616](https://github.com/forcedotcom/agentic-dx/pull/616))
|
|
15
|
+
- **deps**: bump @anthropic-ai/sdk from 0.98.1 to 0.105.0 ([#614](https://github.com/forcedotcom/agentic-dx/pull/614))
|
|
16
|
+
- **deps-dev**: bump @types/node from 22.19.21 to 22.20.0 in the dev-dependencies group ([#613](https://github.com/forcedotcom/agentic-dx/pull/613))
|
|
17
|
+
|
|
6
18
|
## [0.22.0] - 2026-06-22
|
|
7
19
|
|
|
8
20
|
### Features
|
|
@@ -4,6 +4,15 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { createProxyAwareFetch, resolveProxyDispatcher } from '@salesforce/agentic-common';
|
|
6
6
|
import { MastraHarness } from './mastra-harness.js';
|
|
7
|
+
// `@mastra/core` bundles posthog-node and, by default, sends enterprise telemetry
|
|
8
|
+
// (`ee_feature_used` / `ee_license_check`) to us.posthog.com. We never use Mastra's
|
|
9
|
+
// EE/FGA features, and our own telemetry is an independent in-process bus
|
|
10
|
+
// (HarnessBusOwner) that never touches PostHog — so hard-disable Mastra's channel.
|
|
11
|
+
// The gate (`isEETelemetryEnabled()`) is read lazily inside Mastra's `getClient()` on
|
|
12
|
+
// every capture, so setting the env var at module load — before any Mastra instance
|
|
13
|
+
// exists — suffices. `??=` leaves an explicit operator override (e.g. for debugging)
|
|
14
|
+
// intact.
|
|
15
|
+
process.env['MASTRA_TELEMETRY_DISABLED'] ??= 'true';
|
|
7
16
|
const DEFAULT_TOOL_APPROVAL_TIMEOUT_MS = 600_000;
|
|
8
17
|
/** Mastra-backed factory for creating AgentHarness instances. */
|
|
9
18
|
export class MastraHarnessFactory {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sfdx-agent-harness-mastra",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Mastra-backed AgentHarness implementation for @salesforce/sfdx-agent-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,23 +29,23 @@
|
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@ai-sdk/provider": "^3.0.10",
|
|
32
|
-
"@anthropic-ai/bedrock-sdk": "^0.
|
|
33
|
-
"@anthropic-ai/sdk": "^0.
|
|
32
|
+
"@anthropic-ai/bedrock-sdk": "^0.31.0",
|
|
33
|
+
"@anthropic-ai/sdk": "^0.105.0",
|
|
34
34
|
"@mastra/core": "^1.42.0",
|
|
35
35
|
"@mastra/libsql": "^1.13.0",
|
|
36
36
|
"@mastra/mcp": "^1.10.0",
|
|
37
37
|
"@mastra/memory": "^1.20.3",
|
|
38
38
|
"@mastra/schema-compat": "^1.2.11",
|
|
39
|
-
"@salesforce/agentic-common": "0.
|
|
39
|
+
"@salesforce/agentic-common": "0.13.0",
|
|
40
40
|
"openai": "^6.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@salesforce/sfdx-agent-sdk": "0.
|
|
43
|
+
"@salesforce/sfdx-agent-sdk": "0.25.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@eslint/js": "^10.0.1",
|
|
47
|
-
"@salesforce/sfdx-agent-sdk": "0.
|
|
48
|
-
"@types/node": "^22.
|
|
47
|
+
"@salesforce/sfdx-agent-sdk": "0.25.0",
|
|
48
|
+
"@types/node": "^22.20.0",
|
|
49
49
|
"@vitest/coverage-istanbul": "^4.1.8",
|
|
50
50
|
"@vitest/eslint-plugin": "^1.6.20",
|
|
51
51
|
"eslint": "^10.5.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"vitest": "^4.1.8"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
|
-
"node": ">=22.
|
|
66
|
+
"node": ">=22.22.0"
|
|
67
67
|
},
|
|
68
68
|
"lint-staged": {
|
|
69
69
|
"*.{js,jsx,ts,tsx,json,md}": [
|