bang404/openagent-plugin-template-slash-commands
v1.0.0MIT
Starter template with a portable slash command backed by a package script.
What this package declares
The file a client reads when it loads this plugin, exactly as this revision carries it.
plugin.json
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "openagent-plugin-template-slash-commands",
"version": "1.0.0",
"description": "Starter template with a portable slash command backed by a package script.",
"license": "MIT",
"keywords": [
"openagent",
"template",
"commands"
],
"extensions": {
"openagent": {
"capabilities": [
"commands"
],
"commands": [
{
"id": "word-count",
"label": "Word count",
"description": "Count the words in the supplied text and report the longest one",
"argument": "required_text",
"command": "bin/word-count.cmd",
"timeout_secs": 15
}
],
"i18n": {
"supported_locales": [
"en"
],
"default_locale": "en",
"translations": {
"en": {
"display_name": "openagent-plugin-template-slash-commands",
"description": "Starter template with a portable slash command backed by a package script.",
"commands.word-count.label": "Word count",
"commands.word-count.description": "Count the words in the supplied text and report the longest one"
}
}
}
}
}
}
Client extensions
Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.
- openagent