FluidGrids for VS Code
Run and manage your FluidGrids workflows without
leaving the editor. Browse workflows, recent runs, nodes and credentials for
your workspace, start a run, and follow it to completion.
Features
- Workflows — list, open, create, edit, duplicate, publish, trigger and
delete the workflows in your workspace.
- Runs — recent runs with status, details and logs; cancel a running
workflow or retry a failed one.
- Nodes — browse the node catalogue by category, read a node's details and
insert it into a workflow.
- Credentials — create, edit, test and delete the credentials your
workflows use.
- Workspaces — pick or switch the FluidGrids workspace you work in.
- Auto-refresh — keep the views current on a configurable interval.
- Open Dashboard — jump to app.fluidgrids.ai
for anything the editor does not cover.
Workflows as code (preview)
When your workspace has workflows as code and durable functions turned on, and
the folder you open holds a FluidGrids project (fluidgrids.config.json), the
extension adds:
- Push, Pull, Diff, Validate and Generate Node Clients as VS Code tasks;
findings land in the Problems view.
- Open as Code on a workflow, which pulls it into the project and opens it.
- Durable runs in Recent Runs: the event history (followed live while the
run is open), a determinism badge and where the code is waiting. Start a run,
send it a signal or terminate it from the editor.
- Replay a run against your code: every step with its source line, inline
in the editor, and the line where the code diverges.
- Debug Replay, which stops in VS Code's debugger at the diverging line of
your TypeScript (local project code; the run's history is downloaded first).
These commands use the FluidGrids CLI
installed in your project (or set fluidgrids.cliPath); the extension offers to
install it. Replaying a history file from the Explorer needs no server feature.
Replaying a run against the run's exact code runs code stored in your
workspace on your machine, so only do it for code from people you trust. The
extension asks you to confirm each time before it runs that code.
The extension stays disabled in untrusted workspaces (VS Code's Restricted
Mode), because a repository's own settings could otherwise choose the CLI it
runs (fluidgrids.cliPath) or the servers it signs in to.
Getting started
- Install the extension and open the FluidGrids view in the Activity Bar.
- Run FluidGrids: Sign In. VS Code shows a one-time code and opens the
FluidGrids sign-in page; approve the code there. The extension never sees
your password, and tokens are kept in VS Code's secret storage.
- Pick a workspace when asked (or later with FluidGrids: Switch
Workspace). The Workflows, Recent Runs, Nodes and Credentials views fill
in.
You need a FluidGrids account — sign up at
app.fluidgrids.ai.
Commands
| Command |
What it does |
| FluidGrids: Sign In / Sign Out |
Device-code sign-in, or sign out and clear tokens |
| FluidGrids: Switch Workspace |
Choose the workspace the views show |
| FluidGrids: Refresh All |
Reload every view |
| FluidGrids: Create Workflow |
Start a new workflow |
| FluidGrids: Create Credential |
Add a credential |
| FluidGrids: Test Connection |
Check that the FluidGrids API is reachable |
| FluidGrids: Open Dashboard |
Open the FluidGrids web app |
| FluidGrids: Show Logs |
Open the extension's output channel |
Item actions (open, trigger, publish, view run, retry, insert node, test
credential, …) are on each item's context menu and inline buttons.
Settings
| Setting |
Default |
Description |
fluidgrids.autoRefresh |
true |
Refresh the views periodically |
fluidgrids.refreshInterval |
30 |
Refresh interval in seconds |
fluidgrids.showNotifications |
true |
Show notifications for workflow events |
fluidgrids.cliPath |
empty |
The FluidGrids CLI for the code commands (its dist/cli.js or the executable); empty uses the project's own, then one on PATH |
Support
© Algoshred Technologies. Proprietary software; see the bundled licence.