koishi-plugin-spawn-modified 1.1.3 → 1.1.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/lib/index.d.ts +0 -1
- package/package.json +6 -1
- package/src/index.ts +0 -2
package/lib/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-spawn-modified",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Run shell commands with Koishi",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bot",
|
|
@@ -73,6 +73,11 @@
|
|
|
73
73
|
"description": {
|
|
74
74
|
"en": "Run shell commands with Koishi",
|
|
75
75
|
"zh": "使用 Koishi 运行终端命令"
|
|
76
|
+
},
|
|
77
|
+
"service": {
|
|
78
|
+
"optional": [
|
|
79
|
+
"puppeteer"
|
|
80
|
+
]
|
|
76
81
|
}
|
|
77
82
|
}
|
|
78
83
|
}
|
package/src/index.ts
CHANGED
|
@@ -33,8 +33,6 @@ export const Config: Schema<Config> = Schema.object({
|
|
|
33
33
|
restrictDirectory: Schema.boolean().description('是否限制在当前目录及子目录内执行命令(禁止 cd 到上级或其他目录)。').default(false),
|
|
34
34
|
})
|
|
35
35
|
|
|
36
|
-
export const schema = Config
|
|
37
|
-
|
|
38
36
|
export interface State {
|
|
39
37
|
command: string
|
|
40
38
|
timeout: number
|