Sema4.ai extension for VS Code 3.0.0 released
Version 3.0.0 of the Sema4.ai extension for VS Code is built for automation that runs on Robocorp and the Sema4.ai Task Engine. The extension now focuses on Task Packages (robot.yaml): creating, running and debugging them, picking locators with the inspectors, and publishing them to Control Room. Agent and Action Packages are no longer supported.
Removed
- Agent Packages: all Agent Package commands (create, import, export, publish to Sema4.ai Studio, runbook, agent configuration and version, MCP servers).
- Action Packages: all Action Package commands (create, import, run and debug actions, action inputs, dev-tasks, Action Server, build and publish, OAuth2).
- Data Sources: the Data Source commands and the integration with the Sema4.ai Data Access extension.
- Code lenses and editor support: the
@actionanddev-taskscode lenses (settingssema4ai.codeLens.actionsLaunchandsema4ai.codeLens.devTask), and the linting and hover forpackage.yamlandagent-spec.yaml.
The Packages view is now called Task Packages. If you open a workspace that has an Agent or Action Package, the extension shows a one-time notice explaining that version 3 doesn't support it.
Publishing to Control Room
- Upload Task Package to Control Room is now Publish Task Package to Control Room, and the whole flow says "Task Package" instead of "Robot".
- When you publish to an existing Task Package, the dialog no longer says it overwrites it. It now says that it publishes a new version, which replaces the current version in Control Room immediately.
- Fixed an error when the publish confirmation was dismissed with Escape.
- The Control Room view shows the extension version, commit and build time as its last line. Select it to copy them to the clipboard, for example when reporting an issue.
Fixes
- Playwright Recorder: when the Task Package's environment doesn't have
playwright, the recorder now explains thatrobocorp-browserorplaywrightmust be added toconda.yaml. Previously it showed a generic error with a traceback in the output. - Playwright Recorder: fixed the recorder failing to start when the Chromium for the Task Package's
playwrightversion wasn't installed yet. The retry installed Google Chrome instead of the Chromium the recorder launches. - Java Locator: fixed the "Java Locator: undefined" error notification shown every time the Java applications were listed, even when listing them worked.
- Java Locator: fixed the inspector freezing when going back to the Java tab (for example, after switching to the Windows tab), which also made the other locators stop responding. The first list of Java applications could also miss an application.
- Robot Framework: Robot Framework tasks now run with rcc and no longer need the Robot Framework Language Server extension. They can't be debugged in the extension anymore.
Getting 3.0.0
VS Code updates the extension automatically. To update right away, open the Extensions view, find Sema4.ai SDK and select Update.
๐ Install from Visual Studio Marketplace
๐ Documentation
Need the removed features?
If you need the features removed by this release, for example to build agents or actions for the Sema4.ai agent platform, you can still use version 2.21.0, the last release of the extension with Agent and Action Package support.
If VS Code has already updated the extension to 3.0.0, you can go back to 2.21.0 from VS Code:
- Open the Extensions view.
- Right-click Sema4.ai SDK and select Install Specific Version....
- Select 2.21.0, and restart the extension when VS Code asks you to.
- To keep VS Code from updating it to 3.0.0 again, right-click Sema4.ai SDK and make sure Auto Update is turned off.
You can also download 2.21.0 and install it from a .vsix file: see Installing the Sema4.ai SDK.