Skip to content

Conversation

@aaronvg
Copy link
Contributor

@aaronvg aaronvg commented Nov 10, 2025

  • Add reactflow graph viz for baml workflows, with running states
  • Refactor the whole wasm state and decouple all atoms from wasm
  • add mock runtime
  • Fix issues with LSP sending too many updates (e.g. updated runtime on hover)
  • Fix issues with vscode updating cursor position too many times, and for unrelated files
  • Create navigation coordinator in sdk to codify 'smart' navigation rules
  • Improve performance of baml runtime for large files with caching
  • Simplify BamlRuntime Wasm interface by removing many diff ways to run tests to just one.
  • Fix many circular dependency issues in playground that prevented vite from hot-reloading

Note

Adds a ReactFlow-based workflow graph with execution states, unifies selection/navigation via a new SDK that decouples WASM (real/mock runtimes), and streamlines prompt/test rendering with improved performance and tests.

  • Graph UI (ReactFlow):
    • Add workflow graph visualization with custom nodes/edges, auto-layout, deadzone camera panning, and execution state styling.
    • Integrate graph into Prompt Preview (new Graph tab) and Testing sidebar; node click syncs selection/detail panel.
  • State & Navigation:
    • Introduce unified selection state (function/workflow/test) and bottom-panel mode; remove legacy per-view atoms.
    • Add SDK navigation coordinator with explicit rules; cursor/code/test/sidebar/graph clicks route through a single flow.
  • SDK & Runtime:
    • Decouple app state from WASM; add Jotai-backed storage and immutable runtime interface.
    • Implement real BamlRuntime (WASM) and MockBamlRuntime; centralize prompt/cURL rendering and test execution APIs.
    • Handle watch notifications, execution logs, VSCode proxy/settings, and env/feature flags via SDK.
  • Prompt/Test UX:
    • Unify Preview/cURL/Graph tabs; adaptive bottom panel (TestPanel vs DetailPanel).
    • Streaming partial responses, parsed result rendering, token counting, and lazy PDF viewer.
  • Tooling & Perf:
    • Add vitest config and numerous integration tests (runtime, graph, navigation, watch events).
    • Improve performance with caching and reduced excessive LSP/VSCode updates.

Written by Cursor Bugbot for commit 905bd0e. This will update automatically on new commits. Configure here.

@github-actions
Copy link

@github-actions
Copy link

@aaronvg aaronvg changed the title aaron/graphs2 BAML Workflow Rendering Nov 27, 2025
@github-actions
Copy link

@github-actions
Copy link

@aaronvg aaronvg marked this pull request as ready for review November 27, 2025 02:59
@aaronvg aaronvg enabled auto-merge November 27, 2025 02:59
@aaronvg aaronvg disabled auto-merge November 27, 2025 03:31
@aaronvg aaronvg temporarily deployed to boundary-tools-dev November 29, 2025 22:00 — with GitHub Actions Inactive
@aaronvg aaronvg deployed to boundary-tools-dev November 29, 2025 22:00 — with GitHub Actions Active
@aaronvg aaronvg temporarily deployed to boundary-tools-dev November 29, 2025 22:00 — with GitHub Actions Inactive
@github-actions
Copy link

@aaronvg aaronvg enabled auto-merge November 29, 2025 22:02
@github-actions
Copy link

@aaronvg aaronvg added this pull request to the merge queue Nov 29, 2025
Merged via the queue into canary with commit 92f492c Nov 29, 2025
42 checks passed
@aaronvg aaronvg deleted the aaron/graphs2 branch November 29, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants