@luckylillia-dev/plugin-milky 1.0.0 → 1.0.2

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.
Files changed (3) hide show
  1. package/lib/index.js +378 -9797
  2. package/lib/index.js.map +4 -4
  3. package/package.json +38 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luckylillia-dev/plugin-milky",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "Milky protocol adapter for LuckyLillia NTQQ",
6
6
  "main": "./lib/index.js",
@@ -16,7 +16,10 @@
16
16
  "lib"
17
17
  ],
18
18
  "author": "LuckyLilliaDev",
19
- "repository": { "type": "git", "url": "git+https://github.com/LuckyLilliaDev/lucky-lillia-plugin-milky.git" },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/LuckyLilliaDev/lucky-lillia-plugin-milky.git"
22
+ },
20
23
  "license": "GPL-2.0",
21
24
  "engines": {
22
25
  "node": ">=22.15"
@@ -110,6 +113,38 @@
110
113
  "ntWebApi": "NTQQ Web 接口"
111
114
  }
112
115
  },
113
- "webui": "./lib/client/index.js"
116
+ "webui": "./lib/client/index.js",
117
+ "launch": [
118
+ {
119
+ "field": "http.host",
120
+ "arg": "--milky-host",
121
+ "env": "MILKY_HOST"
122
+ },
123
+ {
124
+ "field": "http.port",
125
+ "arg": "--milky-port",
126
+ "env": "MILKY_PORT"
127
+ },
128
+ {
129
+ "field": "http.prefix",
130
+ "arg": "--milky-prefix",
131
+ "env": "MILKY_PREFIX"
132
+ },
133
+ {
134
+ "field": "http.accessToken",
135
+ "arg": "--milky-token",
136
+ "env": "MILKY_TOKEN"
137
+ },
138
+ {
139
+ "field": "webhook.urls",
140
+ "arg": "--milky-webhook-url",
141
+ "env": "MILKY_WEBHOOK_URL"
142
+ },
143
+ {
144
+ "field": "webhook.accessToken",
145
+ "arg": "--milky-webhook-token",
146
+ "env": "MILKY_WEBHOOK_TOKEN"
147
+ }
148
+ ]
114
149
  }
115
150
  }