mirror of https://github.com/kortix-ai/suna.git
chore: rename version everywhere
This commit is contained in:
parent
1222d80b5f
commit
6add9a9628
|
@ -20,7 +20,7 @@ You can modify the sandbox environment for development or to add new capabilitie
|
|||
```
|
||||
cd backend/sandbox/docker
|
||||
docker compose build
|
||||
docker push kortix/suna:0.1.3.4
|
||||
docker push kortix/suna:0.1.3.5
|
||||
```
|
||||
3. Test your changes locally using docker-compose
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ services:
|
|||
dockerfile: ${DOCKERFILE:-Dockerfile}
|
||||
args:
|
||||
TARGETPLATFORM: ${TARGETPLATFORM:-linux/amd64}
|
||||
image: kortix/suna:0.1.3.4
|
||||
image: kortix/suna:0.1.3.5
|
||||
ports:
|
||||
- "6080:6080" # noVNC web interface
|
||||
- "5901:5901" # VNC port
|
||||
|
|
|
@ -251,8 +251,8 @@ class Configuration:
|
|||
STRIPE_PRODUCT_ID_STAGING: str = 'prod_SCgIj3G7yPOAWY'
|
||||
|
||||
# Sandbox configuration
|
||||
SANDBOX_IMAGE_NAME = "kortix/suna:0.1.3.4"
|
||||
SANDBOX_SNAPSHOT_NAME = "kortix/suna:0.1.3.4"
|
||||
SANDBOX_IMAGE_NAME = "kortix/suna:0.1.3.5"
|
||||
SANDBOX_SNAPSHOT_NAME = "kortix/suna:0.1.3.5"
|
||||
SANDBOX_ENTRYPOINT = "/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf"
|
||||
|
||||
# LangFuse configuration
|
||||
|
|
|
@ -127,8 +127,8 @@ As part of the setup, you'll need to:
|
|||
1. Create a Daytona account
|
||||
2. Generate an API key
|
||||
3. Create a Snapshot:
|
||||
- Name: `kortix/suna:0.1.3.4`
|
||||
- Image name: `kortix/suna:0.1.3.4`
|
||||
- Name: `kortix/suna:0.1.3.5`
|
||||
- Image name: `kortix/suna:0.1.3.5`
|
||||
- Entrypoint: `/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf`
|
||||
|
||||
## Manual Configuration
|
||||
|
|
|
@ -85,8 +85,6 @@ export function HealthCheckedVncIframe({ sandbox, className }: HealthCheckedVncI
|
|||
src={`${sandbox.vnc_preview}/vnc_lite.html?password=${sandbox.pass}&autoconnect=true&scale=local`}
|
||||
title="Browser preview"
|
||||
className="absolute inset-0 w-full h-full border-0 md:w-[102%] md:h-[130%] md:-translate-y-[4.4rem] lg:-translate-y-[4.7rem] xl:-translate-y-[5.4rem] md:left-0 md:-translate-x-2"
|
||||
onLoad={() => console.log('✅ VNC iframe displayed')}
|
||||
onError={() => console.log('❌ VNC iframe error')}
|
||||
/>
|
||||
</div>
|
||||
</Card>
|
||||
|
|
|
@ -241,7 +241,15 @@ export function BrowserToolView({
|
|||
const toolContent = safeJsonParse<ParsedContent>(matchingToolMessage.content, {});
|
||||
if (toolContent?.tool_execution?.result?.output) {
|
||||
// result = toolContent.tool_execution.result.output;
|
||||
result = Object.fromEntries(Object.entries(toolContent.tool_execution.result.output).filter(([k, v]) => k !== 'message_id')) as Record<string, string>;
|
||||
// Handle if output is a string or object
|
||||
const output = toolContent.tool_execution.result.output;
|
||||
if (typeof output === 'string') {
|
||||
result = { message: output };
|
||||
} else if (output && typeof output === 'object') {
|
||||
result = Object.fromEntries(Object.entries(output).filter(([k, v]) => k !== 'message_id')) as Record<string, string>;
|
||||
} else {
|
||||
result = {};
|
||||
}
|
||||
}
|
||||
if (toolContent?.tool_execution?.arguments) {
|
||||
parameters = toolContent.tool_execution.arguments;
|
||||
|
@ -396,8 +404,8 @@ export function BrowserToolView({
|
|||
</CardHeader>
|
||||
|
||||
<CardContent className="p-0 flex-1 overflow-hidden relative" style={{ height: 'calc(100vh - 150px)'}}>
|
||||
<div className="flex-1 flex h-full items-center bg-white dark:bg-black">
|
||||
{showContext ? (
|
||||
<div className="flex-1 flex h-full items-center overflow-scroll bg-white dark:bg-black">
|
||||
{showContext && (result || parameters) ? (
|
||||
<div className="flex-1 overflow-y-auto p-4 space-y-4">
|
||||
{parameters && <JsonViewer
|
||||
data={parameters}
|
||||
|
@ -414,7 +422,7 @@ export function BrowserToolView({
|
|||
:(screenshotUrl || screenshotBase64) ? (
|
||||
renderScreenshot()
|
||||
) : (
|
||||
<div className="p-8 flex flex-col items-center justify-center w-full bg-gradient-to-b from-white to-zinc-50 dark:from-zinc-950 dark:to-zinc-900 text-zinc-700 dark:text-zinc-400">
|
||||
<div className="p-8 flex flex-col items-center justify-center w-full bg-gradient-to-b from-white to-zinc-50 dark:from-zinc-950 dark:to-zinc-900 text-zinc-700 dark:text-zinc-400 min-h-600">
|
||||
<div className="w-20 h-20 rounded-full flex items-center justify-center mb-6 bg-gradient-to-b from-purple-100 to-purple-50 shadow-inner dark:from-purple-800/40 dark:to-purple-900/60">
|
||||
<MonitorPlay className="h-10 w-10 text-purple-400 dark:text-purple-600" />
|
||||
</div>
|
||||
|
|
|
@ -127,7 +127,7 @@ export const JsonViewer: React.FC<JsonViewerProps> = ({
|
|||
|
||||
{isExpanded && (
|
||||
<div className="p-3">
|
||||
<pre className="text-xs font-mono whitespace-pre-wrap overflow-x-auto bg-background/50 p-3 rounded border">
|
||||
<pre className="text-xs font-mono whitespace-pre-wrap overflow-x-auto bg-background/50 p-3 rounded border max-h-24 md:max-h-48">
|
||||
{formatJson(data)}
|
||||
</pre>
|
||||
</div>
|
||||
|
|
4
setup.py
4
setup.py
|
@ -669,8 +669,8 @@ class SetupWizard:
|
|||
f"Visit {Colors.GREEN}https://app.daytona.io/dashboard/snapshots{Colors.ENDC}{Colors.CYAN} to create a snapshot."
|
||||
)
|
||||
print_info("Create a snapshot with these exact settings:")
|
||||
print_info(f" - Name:\t\t{Colors.GREEN}kortix/suna:0.1.3.4{Colors.ENDC}")
|
||||
print_info(f" - Snapshot name:\t{Colors.GREEN}kortix/suna:0.1.3.4{Colors.ENDC}")
|
||||
print_info(f" - Name:\t\t{Colors.GREEN}kortix/suna:0.1.3.5{Colors.ENDC}")
|
||||
print_info(f" - Snapshot name:\t{Colors.GREEN}kortix/suna:0.1.3.5{Colors.ENDC}")
|
||||
print_info(
|
||||
f" - Entrypoint:\t{Colors.GREEN}/usr/bin/supervisord -n -c /etc/supervisor/conf.d/supervisord.conf{Colors.ENDC}"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue