SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)
v@sweny-ai/[email protected] FeatureThis release adds 9 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+4 more
Summary
AI summaryAdded design, simulation, live, permalink, TypeScript export, JSON import, validation overlay, minimap and library viewer/editor components.
Full changelog
Minor Changes
-
474589e: Studio Phase 2 features and library mode with embeddable entry points.
New features
- Design mode: add/remove states, draw edges, edit properties panel, undo/redo with Zundo
- Simulation mode: run recipes locally in the browser with live state highlighting
- Live mode: connect to a running engine over WebSocket or SSE and stream
ExecutionEventobjects - Recipe permalink: shareable URL with base64-encoded
RecipeDefinition - Export as TypeScript: generates a typed
createRecipe()call with implementation stubs - Import JSON: drag-and-drop or paste any
RecipeDefinition - Validation overlay: inline errors for missing
initial, unknown transition targets, unreachable states - Minimap with phase-accurate execution status colours
Library mode (
@sweny-ai/studio/viewerand@sweny-ai/studio/editor)RecipeViewer— embeddable read-only DAG component; acceptsdefinition,executionState,heightuseEditorStore,EditorState,Selection— full editor store for custom integrations- Peer dependencies:
react,react-dom,@sweny-ai/engine; everything else bundled
Patch Changes
-
2f8a675: Fix
RecipeViewerblank canvas — nodes rendered off-screen after ELK async layout.ReactFlow's
fitViewprop runs once on mount (when nodes are empty). ELK places
nodes asynchronously; by the time layout completes the viewport never re-fits.Fix:
AutoFitViewinner component (rendered inside<ReactFlow>) uses
useReactFlow().fitView()after nodes are set, with double-rAF to ensure
ReactFlow has measured node sizes before fitting.Also separates the
executionStateeffect from the layout effect so toggling
execution highlights no longer re-runs ELK, and exposes anonNodeClickprop. -
6a71f2a: Library build quality improvements: source maps, correct sideEffects declaration.
vite.lib.config.ts: enablesourcemap: trueso bundled code is debuggablepackage.json: declare"sideEffects": ["dist-lib/style.css"]so bundlers do not
tree-shake the CSS import away
-
Updated dependencies [474589e]
- @sweny-ai/[email protected]
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Track SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)
Get notified when new releases ship.
Sign up freeAbout SWEny, YAML workflows for AI agents I'm running in prod (triage, E2E)
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]