skip to content
$worker

vscode

v0.1.7

VS Code as an iii worker — vscode::* functions run the VS Code Server through the code CLI per workspace, and a Console page embeds the Workbench for the working directory.

iiiverified
0 installs0 in 7d0 today
install
$iii trigger compose::add worker=vscode@0.1.7

exact versions are immutable; binary and bundle artifacts are digest-pinned.

functions

6

vscode::delete

function

Delete a VS Code Workbench instance and optionally its isolated profile.

request
  • delete_profileboolean
  • idstringrequired
response
  • deletedbooleanrequired

vscode::instances::list

function

List the VS Code Workbench processes this worker owns.

request
empty object
response
  • instancesobject[]required
    • exit_codeinteger
    • hoststring
    • idstring
    • namestring
    • pidinteger
    • portinteger
    • started_atstring
    • statusstringenum: starting, running, stopped, failed
    • workspacestring

vscode::on-config-change

function

Internal: reload the vscode configuration when it changes.

request
empty object
response
valuenull

vscode::start

function

Start (or reuse) a VS Code Workbench for an absolute workspace directory.

request
  • idstring
  • namestring
  • workspacestringrequired
response
  • exit_codeinteger
  • hoststringrequired
  • idstringrequired
  • namestring
  • pidinteger
  • portintegerrequired
  • started_atstring
  • statusstringrequiredenum: starting, running, stopped, failed
  • workspacestringrequired

vscode::stop

function

Stop a VS Code Workbench process group.

request
  • idstringrequired
response
  • exit_codeinteger
  • hoststring
  • idstringrequired
  • namestring
  • pidinteger
  • portinteger
  • started_atstring
  • statusstringrequiredenum: starting, running, stopped, failed
  • workspacestring

vscode::ui-content

function

Serve the injectable VS Code Console page assets.

request
  • pathstringrequired
response
  • contentstringrequired
  • content_typestringrequired

triggers

0
no triggers registered