forcedotcom / forcedotcom/code-builder-feedback

Agentforce Vibes fails to open in Code Builder despite successful org authentication

未关闭
#280 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
35
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

Agentforce Vibes IDE does not open/function in Salesforce Code Builder. The Salesforce CLI connection to the org is healthy, and the Agentforce Vibes extension and its MCP services all initialize successfully, but the Vibes runtime appears to resolve the Salesforce instance URL incorrectly.

Environment:

Salesforce Code Builder
Agentforce Vibes IDE extension: 4.15.0
Code-server: 1.112.0
Salesforce CLI: 2.143.6
Node.js: v22.23.1
Org: Developer Edition / OrgFarm

Org authentication is working correctly. sf org display --json and sf org list --json both report:

Connected Status: Connected
Org ID: 00DNS00000vyXDB2A2
Instance URL: https://orgfarm-c5ddce12f9-dev-ed.trailblaze.my.salesforce.com/
API Version: 67.0
Default org: true

The user has the following relevant permission sets assigned:

Code Builder Package
Code Builder User
Agentforce Developer and Admin Tools
TrailheadAgentforceDeveloper

The Agentforce Vibes activation log shows that the extension itself initializes successfully:

extension.activated ... version=4.15.0

The MCP services also start successfully:

serverName="Salesforce DX" transport=stdio
serverName="Salesforce API Context" transport=streamable-http
serverName="Salesforce Metadata Experts" transport=streamable-http

The Vibes skills package also installs successfully:

@salesforce/afv-skills resolvedVersion=1.35.0

However, the Vibes runtime subsequently reports:

auth.connectionResolved
orgId=00DNS00000vyXDB2A2
username=

and then:

Platform MCP env resolved: instanceUrl=https:/// env=prod

It consequently constructs MCP/AI endpoints with an empty Salesforce host, for example:

gatewayBaseUrl=https:///ai/gpt/v1

The Salesforce CLI independently resolves the same authenticated org to the correct instance URL, so this does not appear to be a general Salesforce CLI authentication problem.

The main question is why Agentforce Vibes in Code Builder is receiving the org ID but resolving the Salesforce instance URL as https:///, preventing Vibes from opening/working normally.

贡献指南

这个仓库没有索引到贡献指南

调研方向

在 Salesforce Code Builder 中复现,并将 Agentforce Vibes 的激活日志与 `sf org display --json` 和 `sf org list --json` 进行比较。跟踪 `auth.connectionResolved` 和 `Platform MCP env resolved` 条目,以确定为什么已认证的 org ID 会生成空的实例 URL;当正确的 Salesforce 主机得到解析且 Vibes 正常打开时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
node.js
领域
cloud, developer-experience, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。