@salesforce/sfdx-agent-harness-mastra 0.98.0 → 0.99.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 +9 -0
- package/README.md +4 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
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.99.0] - 2026-10-06
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
- **agent-sdk,harness-claude,harness-mastra,harness-openai**: add 'application-policy' kind to ToolDeclineReason @W-24368893@ ([#854](https://github.com/forcedotcom/agentic-dx/pull/854))
|
|
10
|
+
|
|
11
|
+
### Chores
|
|
12
|
+
- **deps-dev**: bump eslint-plugin-n from 18.3.0 to 18.4.0 in the eslint group across 1 directory ([#859](https://github.com/forcedotcom/agentic-dx/pull/859))
|
|
13
|
+
- **deps-dev**: bump the vitest group with 2 updates ([#860](https://github.com/forcedotcom/agentic-dx/pull/860))
|
|
14
|
+
|
|
6
15
|
## [0.98.0] - 2026-10-05
|
|
7
16
|
|
|
8
17
|
### Fixes
|
package/README.md
CHANGED
|
@@ -250,10 +250,10 @@ Consumer-executed tools (`AgentConfig.tools`) always bypass the gate — their e
|
|
|
250
250
|
via `submitToolResult`. Set `StreamOptions.batchApprovals: true` to surface parallel `require-approval` requests on one
|
|
251
251
|
stream for a batch-approval UI.
|
|
252
252
|
|
|
253
|
-
With `@mastra/core` 1.62.0,
|
|
254
|
-
emits one native `tool-output-denied` chunk; the adapter maps it to one
|
|
255
|
-
exact message the model sees. Automatic policy denies use
|
|
256
|
-
Mastra's `Tool call was not approved by the user` default.
|
|
253
|
+
With `@mastra/core` 1.62.0, a typed-reason decline (either `ToolDeclineReason` kind) is passed through
|
|
254
|
+
`agent.declineToolCall({ reason })`. Mastra emits one native `tool-output-denied` chunk; the adapter maps it to one
|
|
255
|
+
`tool-result(isError=true)` carrying the same exact message the model sees. Automatic policy denies use
|
|
256
|
+
`Denied by tool policy.`; reasonless consumer declines retain Mastra's `Tool call was not approved by the user` default.
|
|
257
257
|
|
|
258
258
|
### Tool approval timeout
|
|
259
259
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sfdx-agent-harness-mastra",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.99.0",
|
|
4
4
|
"description": "Mastra-backed AgentHarness implementation for @salesforce/sfdx-agent-sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"openai": "^7.23.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@salesforce/sfdx-agent-sdk": "0.
|
|
45
|
+
"@salesforce/sfdx-agent-sdk": "0.100.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@eslint/js": "^10.0.1",
|
|
49
49
|
"@salesforce/harness-conformance": "0.0.1",
|
|
50
|
-
"@salesforce/sfdx-agent-sdk": "0.
|
|
50
|
+
"@salesforce/sfdx-agent-sdk": "0.100.0",
|
|
51
51
|
"@types/node": "^22.20.1",
|
|
52
|
-
"@vitest/coverage-istanbul": "^5.0.
|
|
52
|
+
"@vitest/coverage-istanbul": "^5.0.2",
|
|
53
53
|
"@vitest/eslint-plugin": "^1.6.27",
|
|
54
54
|
"eslint": "^10.11.0",
|
|
55
55
|
"eslint-config-prettier": "^10.1.8",
|
|
56
56
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
57
57
|
"eslint-plugin-import": "^2.32.0",
|
|
58
|
-
"eslint-plugin-n": "^18.
|
|
58
|
+
"eslint-plugin-n": "^18.4.0",
|
|
59
59
|
"globals": "^17.12.0",
|
|
60
60
|
"lint-staged": "^17.5.1",
|
|
61
61
|
"prettier": "^3.9.7",
|