110 lines
2.8 KiB
JSON
110 lines
2.8 KiB
JSON
{
|
|
"name": "runa",
|
|
"displayName": "Runa — Rune Actors",
|
|
"description": "Inspect actors in a trusted localhost Runa image.",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"engines": {
|
|
"vscode": "^1.96.0",
|
|
"node": ">=22"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"main": "./out/src/extension.js",
|
|
"activationEvents": [
|
|
"onView:runa.actors"
|
|
],
|
|
"scripts": {
|
|
"compile": "tsc -p .",
|
|
"lint": "tsc -p . --noEmit && prettier --check .",
|
|
"format": "prettier --write .",
|
|
"test": "npm run compile && node --test out/test/*.test.js",
|
|
"test:integration": "cargo build --manifest-path ../Cargo.toml -p runa-server && npm run compile && node --test out/integration/*.test.js",
|
|
"test:host": "cargo build --manifest-path ../Cargo.toml -p runa-server && npm run compile && node scripts/test-host.cjs"
|
|
},
|
|
"dependencies": {
|
|
"lossless-json": "^4.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vscode/test-electron": "^2.5.2",
|
|
"@types/node": "^22.0.0",
|
|
"@types/vscode": "~1.96.0",
|
|
"prettier": "^3.6.2",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "runa.connect",
|
|
"title": "Runa: Connect to Local Image"
|
|
},
|
|
{
|
|
"command": "runa.disconnect",
|
|
"title": "Runa: Disconnect"
|
|
},
|
|
{
|
|
"command": "runa.refresh",
|
|
"title": "Runa: Refresh Actors",
|
|
"icon": "$(refresh)"
|
|
},
|
|
{
|
|
"command": "runa.inspect",
|
|
"title": "Runa: Inspect Actor",
|
|
"icon": "$(inspect)"
|
|
}
|
|
],
|
|
"views": {
|
|
"explorer": [
|
|
{
|
|
"id": "runa.actors",
|
|
"name": "Runa Actors"
|
|
}
|
|
]
|
|
},
|
|
"viewsWelcome": [
|
|
{
|
|
"view": "runa.actors",
|
|
"contents": "Connect to a trusted local Runa image.\n[Connect](command:runa.connect)",
|
|
"when": "!runa.connected"
|
|
}
|
|
],
|
|
"menus": {
|
|
"view/title": [
|
|
{
|
|
"command": "runa.connect",
|
|
"when": "view == runa.actors && !runa.connected",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "runa.refresh",
|
|
"when": "view == runa.actors && runa.connected",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "runa.disconnect",
|
|
"when": "view == runa.actors && runa.connected"
|
|
}
|
|
],
|
|
"view/item/context": [
|
|
{
|
|
"command": "runa.inspect",
|
|
"when": "view == runa.actors && viewItem == runa.actor",
|
|
"group": "inline"
|
|
}
|
|
]
|
|
},
|
|
"configuration": {
|
|
"title": "Runa",
|
|
"properties": {
|
|
"runa.address": {
|
|
"type": "string",
|
|
"default": "127.0.0.1:3737",
|
|
"scope": "machine",
|
|
"description": "Trusted local image endpoint: numeric IPv4 loopback or [::1]:port. No authentication is available."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|