You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
3.4 KiB
JSON

{
"name": "IsekaiAIToolbox",
"namemsg": "isekai-ai-toolbox",
"author": "Hyperzlib",
"version": "1.0.0",
"url": "https://github.com/Isekai-Project/mediawiki-extension-IsekaiAIToolbox",
"descriptionmsg": "isekai-ai-toolbox-desc",
"license-name": "GPL-2.0-or-later",
"type": "api",
"requires": {
"MediaWiki": ">= 1.39.0"
},
"MessagesDirs": {
"IsekaiAIToolbox": [
"i18n"
]
},
"GroupPermissions": {
"user": {
"ccembeddingpage": true,
"chatcomplete": true
},
"sysop": {
"aitoolbox-unlimited": true,
"chatcomplete": true,
"aitoolboxbot": true
}
},
"GrantPermissions": {
"aitoolboxbot": {
"ccembeddingpage": true,
"chatcomplete": true,
"aitoolboxbot": true,
"aitoolbox-unlimited": true
}
},
"AvailableRights": [
"chatcomplete",
"ccembeddingpage",
"aitoolboxbot",
"aitoolbox-unlimited"
],
"GrantPermissionGroups": {
"aitoolboxbot": "aitoolboxbot"
},
"AutoloadNamespaces": {
"Isekai\\AIToolbox\\": "includes"
},
"Hooks": {
"LoadExtensionSchemaUpdates": [
"Isekai\\AIToolbox\\Hooks::onLoadExtensionSchemaUpdates"
],
"BeforePageDisplay": [
"Isekai\\AIToolbox\\Hooks::onLoad"
],
"ResourceLoaderGetConfigVars": [
"Isekai\\AIToolbox\\Hooks::onResourceLoaderGetConfigVars"
],
"PageSaveComplete": [
"Isekai\\AIToolbox\\Hooks::onPageSaveComplete"
]
},
"APIModules": {
"aitoolbox": "Isekai\\AIToolbox\\Api\\ApiAIToolbox",
"aitoolboxbot": "Isekai\\AIToolbox\\Api\\ApiAIToolboxBot"
},
"JobClasses": {
"isekaiAIUpdateTitleIndex": "Isekai\\AIToolbox\\Job\\UpdateTitleIndexJob"
},
"SpecialPages": {
"IsekaiAIToolbox": "Isekai\\AIToolbox\\Special\\SpecialAIToolbox"
},
"ResourceModules": {
"ext.isekai.ai-toolbox.launcher": {
"scripts": [
"ext.isekai.ai-toolbox.launcher.js"
],
"styles": [
"ext.isekai.ai-toolbox.launcher.less"
],
"dependencies": [
"ext.isekai.baseWidgets"
],
"targets": [
"desktop",
"mobile"
],
"messages": [
"isekai-ai-toolbox-menubutton",
"isekai-ai-toolbox-loading"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "modules",
"remoteExtPath": "IsekaiAIToolbox/modules"
},
"config": {
"IsekaiAIToolboxTokenId": {
"value": ""
},
"IsekaiAIToolboxToken": {
"value": ""
},
"IsekaiAIToolboxPointType": {
"value": ""
},
"IsekaiAIToolboxUserAvatar": {
"value": {
"type": "gravatar"
}
},
"wgIsekaiAIBackendEndpoint": {
"value": "http://localhost:8144"
},
"IsekaiAIToolboxFrontendUrl": {
"value": "/ai-toolbox/toolbox/{title}?token={token}"
}
},
"load_composer_autoloader": true,
"manifest_version": 2
}