@salesforce/sfdx-agent-sdk 0.51.0 → 0.53.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 +10 -0
- package/README.md +96 -35
- package/dist/agent-manager.d.ts +18 -4
- package/dist/agent-manager.js +24 -10
- package/dist/agent.d.ts +70 -7
- package/dist/agent.js +86 -13
- package/dist/errors.d.ts +1 -0
- package/dist/errors.js +1 -0
- package/dist/harness/agent-harness.d.ts +22 -5
- package/dist/harness/harness-config.d.ts +57 -1
- package/dist/harness/public.d.ts +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/internal/agent-identity-store.d.ts +3 -1
- package/dist/internal/agent-identity-store.js +7 -3
- package/dist/mcp-auth.d.ts +20 -0
- package/dist/mcp-auth.js +37 -0
- package/dist/mcp-config.d.ts +80 -2
- package/dist/mcp-config.js +6 -0
- package/package.json +4 -4
package/dist/mcp-config.js
CHANGED
|
@@ -40,6 +40,12 @@ export var McpServerStatus;
|
|
|
40
40
|
* strings round-trip; `headers` (key-order-insensitive); `timeout`,
|
|
41
41
|
* `reconnectionOptions` (field-wise).
|
|
42
42
|
*
|
|
43
|
+
* This predicate compares only the serializable {@link MCPServerConfig}. A
|
|
44
|
+
* server's OAuth `authProvider` is NOT part of the config (it is a runtime
|
|
45
|
+
* binding supplied per-agent via `mcpAuthProviderResolver`); a harness cycles
|
|
46
|
+
* a server when this predicate fails OR its applied provider reference
|
|
47
|
+
* changed. See each harness's `updateAgent` diff.
|
|
48
|
+
*
|
|
43
49
|
* Two configs that pass this predicate but produce different runtime tools
|
|
44
50
|
* (e.g. an upstream stdio server whose binary was overwritten on disk) are
|
|
45
51
|
* NOT detected here — the predicate compares declared config, not runtime
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sfdx-agent-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.53.0",
|
|
4
4
|
"description": "Harness-agnostic agentic infrastructure for Salesforce developer experience tooling",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -47,9 +47,9 @@
|
|
|
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.
|
|
50
|
+
"@salesforce/sfdx-agent-harness-claude": "0.49.0",
|
|
51
|
+
"@salesforce/sfdx-agent-harness-mastra": "0.52.0",
|
|
52
|
+
"@salesforce/sfdx-agent-harness-openai": "0.18.0",
|
|
53
53
|
"@types/node": "^22.20.1",
|
|
54
54
|
"@vitest/coverage-istanbul": "^4.1.10",
|
|
55
55
|
"@vitest/eslint-plugin": "^1.6.26",
|