⚒️ Generated with [Fabro](https://fabro.sh)
This commit is contained in:
Fabro 2026-05-21 14:22:26 -04:00
commit 11fd472078
2 changed files with 273 additions and 0 deletions

16
graph.fabro Normal file
View file

@ -0,0 +1,16 @@
digraph ContextDemo {
graph [goal="Emit structured outputs to demonstrate the stage Context tab"]
rankdir=LR
start [shape=Mdiamond, label="Start"]
exit [shape=Msquare, label="Exit"]
emit [
shape=tab,
label="Emit Context",
prompt="Reply with ONLY the following JSON object and nothing else — no prose, no markdown, no code fences. The exact text of your entire reply must be: {\"context_updates\": {\"demo.greeting\": \"Hello from the Context tab\", \"demo.answer\": 42, \"demo.payload\": {\"nested\": true, \"items\": [1, 2, 3]}}, \"preferred_next_label\": \"Done\", \"suggested_next_ids\": [\"exit\"]}"
]
start -> emit
emit -> exit [label="Done"]
}

257
run.json Normal file
View file

@ -0,0 +1,257 @@
{
"title": "Emit structured outputs to demonstrate the stage Context tab",
"spec": {
"run_id": "01KS5WBZAE7K8321NHR7KFAHF9",
"settings": {
"project": {
"name": null,
"description": null,
"metadata": {}
},
"workflow": {
"name": null,
"description": null,
"graph": "workflow.fabro",
"metadata": {}
},
"run": {
"goal": {
"type": "inline",
"value": "Emit structured outputs to demonstrate the stage Context tab"
},
"working_dir": null,
"metadata": {
"purpose": "context-tab-demo"
},
"inputs": {},
"model": {
"provider": "anthropic",
"name": "claude-sonnet-4-6",
"fallbacks": [],
"controls": {
"reasoning_effort": null,
"speed": null
}
},
"git": {
"author": null
},
"prepare": {
"commands": [],
"timeout_ms": 300000
},
"execution": {
"mode": "normal",
"approval": "prompt"
},
"checkpoint": {
"exclude_globs": []
},
"clone": {
"enabled": true
},
"run_branch": {
"enabled": true,
"push": true
},
"meta_branch": {
"enabled": true,
"push": true
},
"sandbox": {
"provider": "daytona",
"preserve": false,
"stop_on_terminal": true,
"devcontainer": false,
"env": {},
"docker": {
"image": "buildpack-deps:noble",
"network_mode": null,
"memory_limit": 4000000000,
"cpu_quota": 200000,
"env_vars": {}
},
"daytona": {
"auto_stop_interval": 30,
"labels": {
"repo": "fabro-sh/fabro"
},
"volumes": [],
"snapshot": {
"name": "fabro-v11",
"cpu": 8,
"memory_gb": 16,
"disk_gb": 20,
"dockerfile": {
"type": "inline",
"value": "FROM ubuntu:24.04\n\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n curl git ca-certificates build-essential pkg-config libssl-dev unzip python3 \\\n xvfb xfce4 xfce4-terminal x11vnc novnc dbus-x11 \\\n libx11-6 libxrandr2 libxext6 libxrender1 libxfixes3 libxss1 libxtst6 libxi6 \\\n && rm -rf /var/lib/apt/lists/*\n\n# Install real Chromium (not the snap stub) via xtradeb PPA\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n software-properties-common curl gnupg \\\n && add-apt-repository -y ppa:xtradeb/apps \\\n && apt-get update \\\n && apt-get install -y --no-install-recommends chromium \\\n && rm -rf /var/lib/apt/lists/*\n\n# Wrapper: Chromium needs --no-sandbox when running as root in a container,\n# and --disable-dev-shm-usage avoids crashes from small /dev/shm\nRUN printf '#!/bin/bash\\nexec /usr/bin/chromium --no-sandbox --disable-dev-shm-usage \"$@\"\\n' \\\n > /usr/local/bin/chromium-wrapper \\\n && chmod +x /usr/local/bin/chromium-wrapper\n\n# Make the wrapper the default in the system .desktop file and via alternatives\nRUN sed -i 's|^Exec=.*|Exec=/usr/local/bin/chromium-wrapper %U|' \\\n /usr/share/applications/chromium.desktop \\\n && update-alternatives --install /usr/bin/x-www-browser x-www-browser \\\n /usr/local/bin/chromium-wrapper 100\n\n# Tell XFCE's exo-open that Chromium is the WebBrowser helper (system-wide)\nRUN mkdir -p /etc/xdg/xfce4 /usr/share/xfce4/helpers \\\n && printf 'WebBrowser=custom-WebBrowser\\n' > /etc/xdg/xfce4/helpers.rc \\\n && printf '[Desktop Entry]\\n\\\nVersion=1.0\\n\\\nType=X-XFCE-Helper\\n\\\nName=Chromium\\n\\\nIcon=chromium\\n\\\nX-XFCE-Category=WebBrowser\\n\\\nX-XFCE-CommandsWithParameter=/usr/local/bin/chromium-wrapper \"%%s\"\\n\\\nX-XFCE-Commands=/usr/local/bin/chromium-wrapper\\n' \\\n > /usr/share/xfce4/helpers/custom-WebBrowser.desktop\n\n# GitHub CLI\nRUN curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \\\n | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \\\n && echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main\" \\\n | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \\\n && apt-get update && apt-get install -y --no-install-recommends gh \\\n && rm -rf /var/lib/apt/lists/*\n\n# Rust\nRUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y\nENV PATH=\"/root/.cargo/bin:${PATH}\"\nRUN rustup toolchain install nightly-2026-04-14 --profile minimal --component clippy,rustfmt\nRUN cargo install cargo-nextest --locked\nENV CARGO_INCREMENTAL=0\n\n# Bun\nRUN curl -fsSL https://bun.sh/install | bash\nENV PATH=\"/root/.bun/bin:${PATH}\"\n\nWORKDIR /root\n"
}
},
"network": null
}
},
"notifications": {},
"interviews": {
"provider": null,
"slack": null
},
"agent": {
"permissions": null,
"mcps": {}
},
"hooks": [],
"scm": {
"provider": null,
"owner": null,
"repository": null,
"github": null
},
"pull_request": {
"enabled": true,
"draft": false,
"auto_merge": false,
"merge_strategy": "squash"
},
"artifacts": {
"include": []
},
"integrations": {
"github": {
"permissions": {}
}
}
}
},
"graph": {
"name": "ContextDemo",
"nodes": {
"emit": {
"id": "emit",
"attrs": {
"label": {
"String": "Emit Context"
},
"prompt": {
"String": "Reply with ONLY the following JSON object and nothing else — no prose, no markdown, no code fences. The exact text of your entire reply must be: {\"context_updates\": {\"demo.greeting\": \"Hello from the Context tab\", \"demo.answer\": 42, \"demo.payload\": {\"nested\": true, \"items\": [1, 2, 3]}}, \"preferred_next_label\": \"Done\", \"suggested_next_ids\": [\"exit\"]}"
},
"shape": {
"String": "tab"
}
}
},
"exit": {
"id": "exit",
"attrs": {
"label": {
"String": "Exit"
},
"shape": {
"String": "Msquare"
}
}
},
"start": {
"id": "start",
"attrs": {
"label": {
"String": "Start"
},
"shape": {
"String": "Mdiamond"
}
}
}
},
"edges": [
{
"from": "start",
"to": "emit",
"attrs": {}
},
{
"from": "emit",
"to": "exit",
"attrs": {
"label": {
"String": "Done"
}
}
}
],
"attrs": {
"goal": {
"String": "Emit structured outputs to demonstrate the stage Context tab"
},
"rankdir": {
"String": "LR"
}
}
},
"graph_source": "digraph ContextDemo {\n graph [goal=\"Emit structured outputs to demonstrate the stage Context tab\"]\n rankdir=LR\n\n start [shape=Mdiamond, label=\"Start\"]\n exit [shape=Msquare, label=\"Exit\"]\n\n emit [\n shape=tab,\n label=\"Emit Context\",\n prompt=\"Reply with ONLY the following JSON object and nothing else — no prose, no markdown, no code fences. The exact text of your entire reply must be: {\\\"context_updates\\\": {\\\"demo.greeting\\\": \\\"Hello from the Context tab\\\", \\\"demo.answer\\\": 42, \\\"demo.payload\\\": {\\\"nested\\\": true, \\\"items\\\": [1, 2, 3]}}, \\\"preferred_next_label\\\": \\\"Done\\\", \\\"suggested_next_ids\\\": [\\\"exit\\\"]}\"\n ]\n\n start -> emit\n emit -> exit [label=\"Done\"]\n}\n",
"workflow_slug": "context-demo",
"source_directory": "/Users/bhelmkamp/p/fabro-sh/fabro",
"labels": {
"purpose": "context-tab-demo"
},
"provenance": {
"server": {
"version": "0.240.0-nightly.1"
},
"client": {
"user_agent": "fabro-cli/0.240.0-nightly.1",
"name": "fabro-cli",
"version": "0.240.0-nightly.1"
},
"subject": {
"kind": "user",
"identity": {
"issuer": "https://github.com",
"subject": "19"
},
"login": "brynary",
"auth_method": "github"
}
},
"manifest_blob": "b82c2c628f4837ffee7a70467b922bca0831171d047168b121831402f4574d1f",
"definition_blob": "9e61bbc46a089c2c5f003f08cecf09fc664b18d077143ad7589dde8ac72ff934",
"git": {
"origin_url": "https://github.com/fabro-sh/fabro",
"branch": "main",
"sha": "5095873dddace0c609f9fdf4b56daf75b17ed175",
"dirty": "dirty",
"push_outcome": {
"type": "not_attempted"
}
}
},
"web_url": "http://127.0.0.1:32276/runs/01KS5WBZAE7K8321NHR7KFAHF9",
"start": null,
"status": {
"kind": "starting"
},
"status_updated_at": "2026-05-21T18:22:07.219658Z",
"last_event_at": "2026-05-21T18:22:24.689218Z",
"pending_control": null,
"checkpoints": [],
"conclusion": null,
"sandbox": {
"provider": "daytona",
"image": "buildpack-deps:noble",
"snapshot": "fabro-v11",
"runtime": {
"id": "fabro-01KS5WBZAE7K8321NHR7KFAHF9",
"working_directory": "/home/daytona/workspace/fabro",
"repo_cloned": true,
"clone_origin_url": "https://github.com/fabro-sh/fabro",
"clone_branch": "main",
"workspace_root": "/home/daytona/workspace",
"repos_root": "/home/daytona/repos",
"primary_repo_path": "/home/daytona/repos/fabro-sh/fabro",
"primary_repo_link": "/home/daytona/workspace/fabro"
}
},
"pull_request": null,
"superseded_by": null,
"pending_interviews": {},
"stages": {}
}