@salesforce/sfdx-agent-harness-claude 0.95.0 → 0.96.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,15 @@
3
3
  All notable changes to `@salesforce/sfdx-agent-harness-claude` are documented in this file.
4
4
  Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
+ ## [0.96.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.95.0] - 2026-10-05
7
16
 
8
17
  ### Fixes
package/README.md CHANGED
@@ -194,9 +194,9 @@ the consumer's responsibility via `submitToolResult`. Set `StreamOptions.batchAp
194
194
  Claude's `deny` is the SDK's native `permissionDecision: 'deny'` — the Claude Agent SDK synthesizes the
195
195
  `tool_result(isError=true)` itself, so no harness-side result synthesis is needed.
196
196
 
197
- An organization-policy decline passes the SDK-resolved message as `permissionDecisionReason` with
198
- `permissionDecision: 'deny'` and no `decision: 'block'`. The same exact message reaches the model and the native error
199
- tool result; a reasonless consumer decline keeps `User declined the tool call.`.
197
+ A typed-reason decline (either `ToolDeclineReason` kind) passes the SDK-resolved message as `permissionDecisionReason`
198
+ with `permissionDecision: 'deny'` and no `decision: 'block'`. The same exact message reaches the model and the native
199
+ error tool result; a reasonless consumer decline keeps `User declined the tool call.`.
200
200
 
201
201
  The `require-approval` flow on the `chat()`-returned `eventStream`:
202
202