This page provides a structured verification checklist for FastGPT system plugin submissions, ensuring all plugins meet platform requirements before deployment. Following this checklist reduces post-submission errors, ensures compliance with FastGPT plugin standards, and validates end-to-end functionality.
Manifest & Core Configuration Checks
This section covers mandatory metadata and structural validation for the plugin codebase. Confirm each of the following requirements are met:
- The
index.tsentry file exports a valid default export compatible with FastGPT’s plugin system. - The top-level
manifestobject includes all required core fields:pluginId,version, bilingual (Chinese and English) display names, and bilingual descriptive text. - All entries in the toolkit’s
children[]array have stable, uniqueidvalues to avoid conflicts during plugin registration. - The
inputSchemadefinition includes every user-facing input field, with explicit type and range constraint specifications for mandatory inputs. - The
outputSchemaexactly matches the data structure returned by the plugin’s handler function to ensure consistent data formatting for FastGPT workflows. - The
secretSchemacovers all sensitive configuration fields, with each sensitive value marked usingisSecret: trueto prevent accidental exposure of credentials or private data.
Functional Testing & Validation
This step-by-step workflow validates the plugin’s runtime behavior and code integrity:
- Execute the official FastGPT plugin validation commands: run
pnpm run build,pnpm run check, andpnpm run packto confirm all build, lint, and packaging processes complete successfully. - Run the test suite with
pnpm run test; if testing is not feasible for this plugin, document the explicit reason for skipping test execution. - Validate external API integration handling: confirm the plugin correctly processes all possible API response scenarios, including successful requests, failed calls, empty responses, timeout events, and authentication failures.
- Audit all error messages generated by the plugin: ensure each error provides actionable context to help debug issues, and never exposes sensitive secrets or raw external API response data.
Post-Packaging Deployment Checks
After packaging the plugin, confirm final deployment readiness:
- Inspect the generated
dist/manifest.jsonfile to verify that all icons and schema definitions match the expected configuration from your source code. - Complete remote debugging: perform a real invocation of the plugin in a FastGPT test environment, or document the explicit reason remote debugging is not required for this change.
- Install the packaged
.pkgplugin file in a test FastGPT environment, then run a full real-world invocation to confirm the plugin operates as intended.
Source: FastGPT official source
Applicability and version scope
Use this page for the documented Model guides scenario. Confirm the FastGPT, dependency, API, and deployment versions in the official source before applying a change.
Safety guardrails
Use [REDACTED_CREDENTIAL] for credentials and private data. Confirm the documented environment and version before review.
Rollback guidance
Restore the prior technical-content authority snapshot. Restore saved configuration and data snapshots, then repeat the smallest verification scenario.