Files
DeepTutor/examples/plugins/learning_echo/README.md
Bingxi Zhao (Frank) 7885daa98a feat(plugins): add reviewed managed lifecycle and revocable runtime gates (#1307)
Adapt the Phase 1 foundation from PR #1309 and complete scoped API lifecycle, pre-import approval, artifact-bound revocation, recovery, bounded workers and frontend isolation. Keep the stronger ecosystem roadmap explicit in the RFC.

Co-authored-by: XZH <cto@xzh.ai>
2026-10-08 08:50:05 +08:00

21 lines
810 B
Markdown

# Learning Echo plugin
This package is the reference implementation for the managed plugin runtime.
It declares one Tool, one Capability, one HTTP route, and one static frontend
page. The page requests only the `sandboxed-iframe` UI permission; the package
has no Python dependencies.
Build a local wheel:
```bash
python -m pip wheel --no-deps -w /tmp/deeptutor-plugins examples/plugins/learning_echo
```
Install, review, approve, and roll back through `deeptutor plugin`. The install
step reads `deeptutor.plugin.json` before importing plugin code and creates a
plugin-private virtual environment.
After approval and enablement, the page is available at
`/api/plugins/org.deeptutor.learning_echo/pages/learning_echo_page/`. Its entry
and asset closure are declared in `learning_echo/frontend/page.json`.