Skip to content

feat: VS Code extension + rivet serve --watch#66

Merged
avrabe merged 1 commit intomainfrom
feat/vscode-extension-serve-watch
Mar 21, 2026
Merged

feat: VS Code extension + rivet serve --watch#66
avrabe merged 1 commit intomainfrom
feat/vscode-extension-serve-watch

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Mar 21, 2026

Summary

  • vscode-rivet: LSP client + embedded dashboard WebView + 5 commands
  • serve --watch: auto-reload on file changes (notify crate)
  • Port 0 for auto-assigned ports

🤖 Generated with Claude Code

1. vscode-rivet extension:
   - LSP client connecting to rivet lsp via stdio
   - WebView panel embedding rivet serve dashboard
   - Commands: showDashboard, showGraph, showSTPA, validate, addArtifact
   - Activates on workspaceContains:rivet.yaml
   - Status bar with port display
   - Auto-starts rivet serve --watch in background
   - Bidirectional navigation (dashboard → editor via postMessage)

2. rivet serve --watch:
   - Watches rivet.yaml, sources, schemas, docs for changes
   - Debounced at 300ms, filters to .yaml/.yml/.md files
   - Auto-POSTs /reload on change (existing endpoint)
   - Port 0 support for auto-assigned ports
   - Uses notify crate v7

Implements: FEAT-057
Refs: REQ-007

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe avrabe merged commit 189f789 into main Mar 21, 2026
@avrabe avrabe deleted the feat/vscode-extension-serve-watch branch March 21, 2026 19:04
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rivet Criterion Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.

Benchmark suite Current: 608e472 Previous: 1047a31 Ratio
link_graph_build/10000 33918937 ns/iter (± 1791823) 26033867 ns/iter (± 1563739) 1.30

This comment was automatically generated by workflow using github-action-benchmark.

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.

1 participant