Summary
When trying to retreive GenAiPlannerBundle metadata through command line or workbench an error occurs if there is an action associated to the agent that leverages a prompt template
Steps To Reproduce
Create a new Agentforce Service Agent through Setup -> Agentforce Agents (Note to use the Legacy Builder rather than agentScript). Add a subAgent with an action that leverages a flex prompt template. Save the Agent and try to pull the metadata from the org.
Retreival errors out and does not complete, VS Code reports "Retrieve completed with errors. Check output for details." however output just shows Retrieving 1 component... and no error. This exact same retrieval was working before Summer 26' was pushed to the sandbox.
Upon manually editing the agent and removing the problematic action the retreival again works without issue
Expected result
The latest genAiPlannerBundle is retreived in the project source
Actual result
VS Code reports "Retrieve completed with errors. Check output for details." however output just shows Retrieving 1 component... and no error.
Additional information
Working before Summer 26' release was pushed to sandbox environment
System Information
zsh also tried workbench
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.134.6",
"nodeVersion": "node-v22.22.2",
"osVersion": "Darwin 25.4.0",
"rootPath": "/Users/matthewdonaldson/.local/share/sf/client/2.134.6-f556e1e",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.47 (core)",
"@oclif/plugin-commands 4.1.49 (core)",
"@oclif/plugin-help 6.2.46 (core)",
"@oclif/plugin-not-found 3.2.82 (core)",
"@oclif/plugin-plugins 5.4.63 (core)",
"@oclif/plugin-search 1.2.46 (core)",
"@oclif/plugin-update 4.7.35 (core)",
"@oclif/plugin-version 2.2.43 (core)",
"@oclif/plugin-warn-if-update-available 3.1.62 (core)",
"@oclif/plugin-which 3.2.51 (core)",
"@salesforce/cli 2.134.6 (core)",
"agent 1.35.0 (core)",
"apex 0.1.4 (user) published 2012 days ago (Thu Nov 05 2020) (latest is 3.9.27)",
"api 1.3.23 (core)",
"auth 4.3.7 (core)",
"custom-metadata 1.0.11 (user) published 1977 days ago (Thu Dec 10 2020) (latest is 3.3.101)",
"data 4.0.94 (core)",
"deploy-retrieve 3.24.41 (core)",
"info 3.4.125 (core)",
"limits 1.0.3 (user) published 1936 days ago (Thu Jan 21 2021) (latest is 3.3.89)",
"marketplace 1.3.20 (core)",
"org 5.10.6 (core)",
"packaging 2.27.10 (core)",
"schema 1.0.3 (user) published 1971 days ago (Thu Dec 17 2020) (latest is 3.3.111)",
"settings 2.4.73 (core)",
"sobject 1.4.102 (core)",
"telemetry 3.8.16 (core)",
"templates 51.1.0 (user) published 1913 days ago (Fri Feb 12 2021) (latest is 56.16.7)",
"trust 3.8.1 (core)",
"user 1.1.0 (user) published 1917 days ago (Tue Feb 09 2021) (latest is 3.9.4)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (user) published 2132 days ago (Wed Jul 08 2020) (latest is 1.2.1)",
"salesforce-alm 51.0.1 (user) published 1916 days ago (Wed Feb 10 2021) (latest is 54.8.5)",
"salesforcedx 51.0.2 (user) published 1913 days ago (Fri Feb 12 2021) (latest is 52.0.0)"
]
}
Summary
When trying to retreive GenAiPlannerBundle metadata through command line or workbench an error occurs if there is an action associated to the agent that leverages a prompt template
Steps To Reproduce
Create a new Agentforce Service Agent through Setup -> Agentforce Agents (Note to use the Legacy Builder rather than agentScript). Add a subAgent with an action that leverages a flex prompt template. Save the Agent and try to pull the metadata from the org.
Retreival errors out and does not complete, VS Code reports "Retrieve completed with errors. Check output for details." however output just shows Retrieving 1 component... and no error. This exact same retrieval was working before Summer 26' was pushed to the sandbox.
Upon manually editing the agent and removing the problematic action the retreival again works without issue
Expected result
The latest genAiPlannerBundle is retreived in the project source
Actual result
VS Code reports "Retrieve completed with errors. Check output for details." however output just shows Retrieving 1 component... and no error.
Additional information
Working before Summer 26' release was pushed to sandbox environment
System Information
zsh also tried workbench
{ "architecture": "darwin-arm64", "cliVersion": "@salesforce/cli/2.134.6", "nodeVersion": "node-v22.22.2", "osVersion": "Darwin 25.4.0", "rootPath": "/Users/matthewdonaldson/.local/share/sf/client/2.134.6-f556e1e", "shell": "zsh", "pluginVersions": [ "@oclif/plugin-autocomplete 3.2.47 (core)", "@oclif/plugin-commands 4.1.49 (core)", "@oclif/plugin-help 6.2.46 (core)", "@oclif/plugin-not-found 3.2.82 (core)", "@oclif/plugin-plugins 5.4.63 (core)", "@oclif/plugin-search 1.2.46 (core)", "@oclif/plugin-update 4.7.35 (core)", "@oclif/plugin-version 2.2.43 (core)", "@oclif/plugin-warn-if-update-available 3.1.62 (core)", "@oclif/plugin-which 3.2.51 (core)", "@salesforce/cli 2.134.6 (core)", "agent 1.35.0 (core)", "apex 0.1.4 (user) published 2012 days ago (Thu Nov 05 2020) (latest is 3.9.27)", "api 1.3.23 (core)", "auth 4.3.7 (core)", "custom-metadata 1.0.11 (user) published 1977 days ago (Thu Dec 10 2020) (latest is 3.3.101)", "data 4.0.94 (core)", "deploy-retrieve 3.24.41 (core)", "info 3.4.125 (core)", "limits 1.0.3 (user) published 1936 days ago (Thu Jan 21 2021) (latest is 3.3.89)", "marketplace 1.3.20 (core)", "org 5.10.6 (core)", "packaging 2.27.10 (core)", "schema 1.0.3 (user) published 1971 days ago (Thu Dec 17 2020) (latest is 3.3.111)", "settings 2.4.73 (core)", "sobject 1.4.102 (core)", "telemetry 3.8.16 (core)", "templates 51.1.0 (user) published 1913 days ago (Fri Feb 12 2021) (latest is 56.16.7)", "trust 3.8.1 (core)", "user 1.1.0 (user) published 1917 days ago (Tue Feb 09 2021) (latest is 3.9.4)", "@salesforce/sfdx-plugin-lwc-test 0.1.7 (user) published 2132 days ago (Wed Jul 08 2020) (latest is 1.2.1)", "salesforce-alm 51.0.1 (user) published 1916 days ago (Wed Feb 10 2021) (latest is 54.8.5)", "salesforcedx 51.0.2 (user) published 1913 days ago (Fri Feb 12 2021) (latest is 52.0.0)" ] }