forcedotcom / forcedotcom/code-builder-feedback
Agentforce Vibes fails to open in Code Builder despite successful org authentication
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 35
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Tái hiện trong Salesforce Code Builder và so sánh các nhật ký kích hoạt Agentforce Vibes với `sf org display --json` và `sf org list --json`. Theo dõi các mục `auth.connectionResolved` và `Platform MCP env resolved` để xác định lý do ID của org đã xác thực tạo ra URL instance trống; hoàn tất khi host Salesforce chính xác được phân giải và Vibes mở bình thường.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- node.js
- Lĩnh vực
- cloud, developer-experience, tooling
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100