@salesforce/sfdx-agent-sdk 0.42.0 → 0.44.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 +14 -0
- package/dist/errors.d.ts +12 -12
- package/dist/models/types.d.ts +3 -3
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to `@salesforce/sfdx-agent-sdk` are documented in this file.
|
|
4
4
|
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
5
5
|
|
|
6
|
+
## [0.44.0] - 2026-08-05
|
|
7
|
+
|
|
8
|
+
### Tests
|
|
9
|
+
- **agent-sdk,harness-mastra**: e2e suite health — harness matrix, per-harness default model, AWS-eventstream wire parsing @W-23716382@ ([#736](https://github.com/forcedotcom/agentic-dx/pull/736))
|
|
10
|
+
|
|
11
|
+
### Chores
|
|
12
|
+
- **deps-dev**: bump @types/node from 22.20.0 to 22.20.1 in the dev-dependencies group across 1 directory ([#735](https://github.com/forcedotcom/agentic-dx/pull/735))
|
|
13
|
+
|
|
14
|
+
## [0.43.0] - 2026-08-04
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
- **deps**: sync all workspace dependencies to latest @W-23369873 ([#733](https://github.com/forcedotcom/agentic-dx/pull/733))
|
|
18
|
+
- **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))
|
|
19
|
+
|
|
6
20
|
## [0.42.0] - 2026-08-04
|
|
7
21
|
|
|
8
22
|
### Features
|
package/dist/errors.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const AgentSDKErrorType: {
|
|
2
|
-
readonly AGENT_NOT_FOUND:
|
|
3
|
-
readonly CHAT_SESSION_NOT_FOUND:
|
|
4
|
-
readonly COMPACTION_FAILED:
|
|
5
|
-
readonly DISPOSED:
|
|
6
|
-
readonly INCOMPATIBLE_HARNESS:
|
|
7
|
-
readonly INVALID_MESSAGE_CONTENT:
|
|
8
|
-
readonly MCP_SERVER_DISABLED:
|
|
9
|
-
readonly MCP_SERVER_NOT_FOUND:
|
|
10
|
-
readonly MODEL_NOT_SUPPORTED_BY_HARNESS:
|
|
11
|
-
readonly MULTIMODAL_NOT_SUPPORTED:
|
|
12
|
-
readonly NOT_SUPPORTED:
|
|
13
|
-
readonly TOOL_CALL_NOT_FOUND:
|
|
2
|
+
readonly AGENT_NOT_FOUND: 'AGENT_NOT_FOUND';
|
|
3
|
+
readonly CHAT_SESSION_NOT_FOUND: 'CHAT_SESSION_NOT_FOUND';
|
|
4
|
+
readonly COMPACTION_FAILED: 'COMPACTION_FAILED';
|
|
5
|
+
readonly DISPOSED: 'DISPOSED';
|
|
6
|
+
readonly INCOMPATIBLE_HARNESS: 'INCOMPATIBLE_HARNESS';
|
|
7
|
+
readonly INVALID_MESSAGE_CONTENT: 'INVALID_MESSAGE_CONTENT';
|
|
8
|
+
readonly MCP_SERVER_DISABLED: 'MCP_SERVER_DISABLED';
|
|
9
|
+
readonly MCP_SERVER_NOT_FOUND: 'MCP_SERVER_NOT_FOUND';
|
|
10
|
+
readonly MODEL_NOT_SUPPORTED_BY_HARNESS: 'MODEL_NOT_SUPPORTED_BY_HARNESS';
|
|
11
|
+
readonly MULTIMODAL_NOT_SUPPORTED: 'MULTIMODAL_NOT_SUPPORTED';
|
|
12
|
+
readonly NOT_SUPPORTED: 'NOT_SUPPORTED';
|
|
13
|
+
readonly TOOL_CALL_NOT_FOUND: 'TOOL_CALL_NOT_FOUND';
|
|
14
14
|
};
|
|
15
15
|
export type AgentSDKErrorType = (typeof AgentSDKErrorType)[keyof typeof AgentSDKErrorType];
|
|
16
16
|
export declare class AgentSDKError extends Error {
|
package/dist/models/types.d.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* models via {@link createClaudeModel} can declare any subset.
|
|
8
8
|
*/
|
|
9
9
|
export declare const MimeType: {
|
|
10
|
-
readonly Png:
|
|
11
|
-
readonly Jpeg:
|
|
12
|
-
readonly Pdf:
|
|
10
|
+
readonly Png: 'image/png';
|
|
11
|
+
readonly Jpeg: 'image/jpeg';
|
|
12
|
+
readonly Pdf: 'application/pdf';
|
|
13
13
|
};
|
|
14
14
|
export type MimeType = (typeof MimeType)[keyof typeof MimeType];
|
|
15
15
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sfdx-agent-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.0",
|
|
4
4
|
"description": "Harness-agnostic agentic infrastructure for Salesforce developer experience tooling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -43,32 +43,32 @@
|
|
|
43
43
|
"LICENSE.txt"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@salesforce/agentic-common": "0.
|
|
46
|
+
"@salesforce/agentic-common": "0.15.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@eslint/js": "^10.0.1",
|
|
50
|
-
"@salesforce/sfdx-agent-harness-claude": "0.
|
|
51
|
-
"@salesforce/sfdx-agent-harness-mastra": "0.
|
|
52
|
-
"@salesforce/sfdx-agent-harness-openai": "0.
|
|
53
|
-
"@types/node": "^22.20.
|
|
50
|
+
"@salesforce/sfdx-agent-harness-claude": "0.40.0",
|
|
51
|
+
"@salesforce/sfdx-agent-harness-mastra": "0.43.0",
|
|
52
|
+
"@salesforce/sfdx-agent-harness-openai": "0.9.0",
|
|
53
|
+
"@types/node": "^22.20.1",
|
|
54
54
|
"@vitest/coverage-istanbul": "^4.1.10",
|
|
55
|
-
"@vitest/eslint-plugin": "^1.6.
|
|
55
|
+
"@vitest/eslint-plugin": "^1.6.26",
|
|
56
56
|
"eslint": "^10.8.0",
|
|
57
57
|
"eslint-config-prettier": "^10.1.8",
|
|
58
58
|
"eslint-import-resolver-typescript": "^4.4.5",
|
|
59
59
|
"eslint-plugin-import": "^2.32.0",
|
|
60
|
-
"eslint-plugin-n": "^18.2.
|
|
61
|
-
"globals": "^17.
|
|
62
|
-
"lint-staged": "^17.0
|
|
63
|
-
"prettier": "^3.9.
|
|
60
|
+
"eslint-plugin-n": "^18.2.2",
|
|
61
|
+
"globals": "^17.9.0",
|
|
62
|
+
"lint-staged": "^17.3.0",
|
|
63
|
+
"prettier": "^3.9.6",
|
|
64
64
|
"rimraf": "^6.1.3",
|
|
65
|
-
"tsx": "^4.23.
|
|
66
|
-
"typescript": "^
|
|
67
|
-
"typescript-eslint": "^8.
|
|
65
|
+
"tsx": "^4.23.5",
|
|
66
|
+
"typescript": "^7.0.2",
|
|
67
|
+
"typescript-eslint": "^8.66.0",
|
|
68
68
|
"vitest": "^4.1.8"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
|
-
"node": ">=22.22.
|
|
71
|
+
"node": ">=22.22.1"
|
|
72
72
|
},
|
|
73
73
|
"lint-staged": {
|
|
74
74
|
"*.{js,jsx,ts,tsx,json,md}": [
|