@luckylillia-dev/plugin-onebot11 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luckylillia-dev/plugin-onebot11",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "OneBot 11 HTTP and WebSocket adapter for LuckyLillia NTQQ",
6
6
  "main": "./lib/index.js",
@@ -118,6 +118,18 @@
118
118
  "onebot": "OneBot 11"
119
119
  }
120
120
  },
121
- "webui": "./lib/client/index.js"
121
+ "webui": "./lib/client/index.js",
122
+ "launch": [
123
+ { "field": "connect[type=ws].host", "arg": "--onebot-ws-host", "env": "ONEBOT_WS_HOST", "set": { "connect[type=ws].enable": true } },
124
+ { "field": "connect[type=ws].port", "arg": "--onebot-ws-port", "env": "ONEBOT_WS_PORT", "set": { "connect[type=ws].enable": true } },
125
+ { "field": "connect[type=ws].token", "arg": "--onebot-ws-token", "env": "ONEBOT_WS_TOKEN", "set": { "connect[type=ws].enable": true } },
126
+ { "field": "connect[type=http].host", "arg": "--onebot-http-host", "env": "ONEBOT_HTTP_HOST", "set": { "connect[type=http].enable": true } },
127
+ { "field": "connect[type=http].port", "arg": "--onebot-http-port", "env": "ONEBOT_HTTP_PORT", "set": { "connect[type=http].enable": true } },
128
+ { "field": "connect[type=http].token", "arg": "--onebot-http-token", "env": "ONEBOT_HTTP_TOKEN", "set": { "connect[type=http].enable": true } },
129
+ { "field": "connect[type=ws-reverse].url", "arg": "--onebot-ws-reverse-url", "env": "ONEBOT_WS_REVERSE_URL", "set": { "connect[type=ws-reverse].enable": true } },
130
+ { "field": "connect[type=ws-reverse].token", "arg": "--onebot-ws-reverse-token", "env": "ONEBOT_WS_REVERSE_TOKEN", "set": { "connect[type=ws-reverse].enable": true } },
131
+ { "field": "connect[type=http-post].url", "arg": "--onebot-http-post-url", "env": "ONEBOT_HTTP_POST_URL", "set": { "connect[type=http-post].enable": true } },
132
+ { "field": "connect[type=http-post].token", "arg": "--onebot-http-post-token", "env": "ONEBOT_HTTP_POST_TOKEN", "set": { "connect[type=http-post].enable": true } }
133
+ ]
122
134
  }
123
135
  }