Adds missing standard artifacts: - README.md (if missing) - AGENTS.md (AI agent contract) - PLAN.md (current sprint) - STATUS.md (where we are) - DEVELOPMENT.md (dev workflow) - DEPLOYMENT.md (deploy procedure) - TESTING.md (test strategy) - DECISIONS.md (ADR index + templates) - .github/CODEOWNERS - .github/workflows/ci.yml Preserves all existing artifacts. Refs: RugMunchMedia/fleet-template
24 lines
711 B
Python
24 lines
711 B
Python
"""WalletPress Protocol Plugins — extend agent with any blockchain protocol."""
|
|
from plugins.sdk import WalletPressPlugin, register_plugin, list_plugins, get_all_tools, execute_plugin_tool
|
|
from plugins.sdk import _plugins as _plugin_registry
|
|
|
|
# Auto-discover and register all plugin modules
|
|
import importlib
|
|
import pkgutil
|
|
import plugins
|
|
|
|
def _discover_plugins():
|
|
for importer, modname, ispkg in pkgutil.iter_modules(plugins.__path__):
|
|
if modname != "sdk" and not ispkg:
|
|
importlib.import_module(f"plugins.{modname}")
|
|
|
|
_discover_plugins()
|
|
|
|
__all__ = [
|
|
"WalletPressPlugin",
|
|
"register_plugin",
|
|
"list_plugins",
|
|
"get_all_tools",
|
|
"execute_plugin_tool",
|
|
"_plugins",
|
|
]
|