Skip to content

Commit 5986faf

Browse files
committed
.
1 parent 733f9be commit 5986faf

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

docs/docs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@
3939
"pages": [
4040
"sandboxes/overview",
4141
"sandboxes/setup-commands",
42-
"sandboxes/web-preview",
42+
"sandboxes/editor",
4343
"sandboxes/environment-variables",
44-
"sandboxes/editor"
44+
"sandboxes/web-preview"
4545
]
4646
}
4747
]

docs/sandboxes/editor.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Remote Editor (VSCode)"
33
sidebarTitle: "Editor"
4-
icon: "vscode"
4+
icon: "pencil"
55
---
66

77
Codegen provides access to a remote VSCode editor instance that is directly connected to your active sandbox environment. This powerful feature allows for real-time interaction with the agent's workspace, offering capabilities for live debugging, manual intervention, and detailed progress monitoring.
@@ -11,7 +11,7 @@ Codegen provides access to a remote VSCode editor instance that is directly conn
1111
When an agent is active and utilizing a sandbox, a link or button to access the Remote Editor will typically be available on the agent's trace page or within the Codegen UI.
1212

1313
<Frame caption="Access the Remote Editor from the Codegen UI (example)">
14-
<img src="/images/sandbox-editor-vscode.png" alt="Remote VSCode Editor" />
14+
<img src="/images/sandbox-buttons.png" alt="Remote VSCode Editor" />
1515
</Frame>
1616

1717
Access to the editor is password-protected. A unique password will be dynamically generated at runtime for each session and provided to you, ensuring secure access to the sandbox environment.

docs/sandboxes/web-preview.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ You configure Web Preview commands in a manner similar to Setup Commands, likely
2525

2626
You'll provide the command(s) necessary to start your development server. Ensure that your server is configured to listen on an appropriate host (often `0.0.0.0`) and a predictable port that Codegen can then expose.
2727

28+
<Warning>
29+
The web server started for Web Preview **MUST** listen on port 3000. Codegen
30+
is specifically configured to look for and expose applications running on this
31+
port within the sandbox.
32+
</Warning>
33+
2834
## Common Examples
2935

3036
The primary use case is starting a development web server:

0 commit comments

Comments
 (0)