Created a vs code extension with Claude
This commit is contained in:
100
vscode-appdaemon/package.json
Normal file
100
vscode-appdaemon/package.json
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"name": "vscode-appdaemon",
|
||||
"displayName": "AppDaemon for Home Assistant",
|
||||
"description": "AppDaemon development tools: status bar controls, entity autocompletion, hover tooltips, error viewer",
|
||||
"version": "0.1.0",
|
||||
"publisher": "ad-toolbox",
|
||||
"engines": {
|
||||
"vscode": "^1.85.0"
|
||||
},
|
||||
"categories": [
|
||||
"Other"
|
||||
],
|
||||
"activationEvents": [
|
||||
"onStartupFinished"
|
||||
],
|
||||
"main": "./out/extension.js",
|
||||
"contributes": {
|
||||
"configuration": {
|
||||
"title": "AppDaemon",
|
||||
"properties": {
|
||||
"appdaemon.haUrl": {
|
||||
"type": "string",
|
||||
"default": "http://localhost:8123",
|
||||
"description": "Home Assistant URL"
|
||||
},
|
||||
"appdaemon.haToken": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Home Assistant Long-Lived Access Token"
|
||||
},
|
||||
"appdaemon.adUrl": {
|
||||
"type": "string",
|
||||
"default": "http://localhost:5050",
|
||||
"description": "AppDaemon API URL (http section in appdaemon.yaml)"
|
||||
},
|
||||
"appdaemon.errorLogPath": {
|
||||
"type": "string",
|
||||
"default": "logs/error.log",
|
||||
"description": "Path to AppDaemon error log (relative to workspace root)"
|
||||
},
|
||||
"appdaemon.mainLogPath": {
|
||||
"type": "string",
|
||||
"default": "logs/appdaemon.log",
|
||||
"description": "Path to AppDaemon main log (relative to workspace root)"
|
||||
},
|
||||
"appdaemon.entityRefreshInterval": {
|
||||
"type": "number",
|
||||
"default": 300,
|
||||
"description": "Entity list refresh interval in seconds"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
"command": "appdaemon.restartCurrentFileApps",
|
||||
"title": "AppDaemon: Restart Apps in Current File",
|
||||
"icon": "$(debug-restart)"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.restartAD",
|
||||
"title": "AppDaemon: Reload Apps",
|
||||
"icon": "$(refresh)"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.restartHA",
|
||||
"title": "AppDaemon: Restart Home Assistant",
|
||||
"icon": "$(home)"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.toggleProductionMode",
|
||||
"title": "AppDaemon: Toggle Production Mode",
|
||||
"icon": "$(eye)"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.showErrors",
|
||||
"title": "AppDaemon: Show Error Log",
|
||||
"icon": "$(warning)"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.refreshEntities",
|
||||
"title": "AppDaemon: Refresh Entity List",
|
||||
"icon": "$(sync)"
|
||||
},
|
||||
{
|
||||
"command": "appdaemon.clearErrors",
|
||||
"title": "AppDaemon: Clear Error Diagnostics"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run compile",
|
||||
"compile": "tsc -p ./",
|
||||
"watch": "tsc -watch -p ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/vscode": "^1.85.0",
|
||||
"@types/node": "^20.0.0",
|
||||
"typescript": "^5.3.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user