Files
Netcatty/examples/plugins/database-minimal/netcatty.plugin.json
T
陈大猫 d5a03606b7 feat: rebuild plugin UI with host rendering and standard settings (#4053)
* feat: rebuild plugin pages with host rendering and native settings

* fix(plugins): contain host-view errors, isolate editing, and migrate fixtures

* fix(plugins): migrate remaining permission fixture hosts
2026-10-28 23:08:31 -07:00

65 lines
1.5 KiB
JSON

{
"manifestVersion": 1,
"id": "com.netcatty.database-minimal",
"name": "database-minimal",
"displayName": "Disposable database example",
"description": "Connect to one prepared synthetic fixture and read one row.",
"version": "0.1.0",
"publisher": "netcatty",
"license": "GPL-3.0-or-later",
"engines": {
"netcatty": ">=0.0.0",
"api": ">=0.1.0-internal.1 <0.2.0"
},
"features": {
"required": [
"network.byte-streams"
]
},
"main": {
"browser": "browser.js"
},
"activationEvents": [
"onCommand:com.netcatty.database-minimal.query",
"onView:com.netcatty.database-minimal.panel"
],
"permissions": {
"required": [
"commands",
"views"
],
"optional": [
{
"permission": "network.stream",
"resources": [
"tcp://database-fixture.invalid:3306"
],
"reason": "Connect only to the prepared disposable fixture."
}
]
},
"contributes": {
"commands": [
{
"id": "com.netcatty.database-minimal.query",
"title": "Read one synthetic database row"
},
{
"id": "com.netcatty.database-minimal.cancel",
"title": "Cancel example connection"
},
{
"id": "com.netcatty.database-minimal.endpoint",
"title": "Show example endpoint"
}
],
"views": [
{
"id": "com.netcatty.database-minimal.panel",
"title": "Disposable database example",
"location": "modal"
}
]
}
}