chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:48 +08:00
commit 77bb5bf71f
3762 changed files with 353249 additions and 0 deletions
@@ -0,0 +1,3 @@
.botpress/
bp_modules/
node_modules/
@@ -0,0 +1,33 @@
# Plugin Title
> Describe the plugin's purpose.
## Configuration
> Explain how to configure your plugin and list prerequisites `ex: accounts, etc.`.
> You might also want to add configuration details for specific use cases.
## Usage
> Explain how to use your plugin.
> You might also want to include an example if there is a specific use case.
## Limitations
> List the known bugs.
> List known limits `ex: rate-limiting, payload sizes, etc.`
> List unsupported use cases.
## Changelog
> If some versions of your plugin introduce changes worth mentionning (breaking changes, bug fixes), describe them here. This will help users to know what to expect when updating the plugin.
### Plugin publication checklist
- [ ] The register handler is implemented and validates the configuration.
- [ ] Title and descriptions for all schemas are present in `plugin.definition.ts`.
- [ ] Events store `conversationId`, `userId` and `messageId` when available.
- [ ] Implement events & actions that are related to `channels`, `entities`, `user`, `conversations` and `messages`.
- [ ] Events related to messages are implemented as messages.
- [ ] When an action is required by the bot developer, a `RuntimeError` is thrown with instructions to fix the problem.
- [ ] Bot name and bot avatar URL fields are available in the plugin configuration.
@@ -0,0 +1,15 @@
{
"name": "@bp-templates/empty-plugin",
"pluginName": "empty-plugin",
"scripts": {
"check:type": "tsc --noEmit"
},
"private": true,
"dependencies": {
"@botpress/sdk": "6.13.0"
},
"devDependencies": {
"@types/node": "^22.16.4",
"typescript": "^5.6.3"
}
}
@@ -0,0 +1,7 @@
import { PluginDefinition } from '@botpress/sdk'
import { pluginName } from './package.json'
export default new PluginDefinition({
name: pluginName,
version: '0.1.0',
})
@@ -0,0 +1,7 @@
import * as bp from '.botpress'
const plugin = new bp.Plugin({
actions: {},
})
export default plugin
@@ -0,0 +1,27 @@
{
"compilerOptions": {
"lib": ["es2022"],
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedParameters": true,
"target": "es2017",
"paths": { "*": ["./*"] },
"outDir": "dist",
"checkJs": false,
"exactOptionalPropertyTypes": false,
"resolveJsonModule": true,
"noPropertyAccessFromIndexSignature": false,
"noUnusedLocals": false
},
"include": [".botpress/**/*", "src/**/*", "*.ts", "*.json"]
}