Commit Graph
5 Commits
Author SHA1 Message Date
Hyu e279f2fae8 docs(plugin): document per-installation reuse and installation revocation
A Workspace installs a plugin once, but that single installation is reused by
several product objects: every processor for a Runner, every knowledge base for
a KnowledgeEngine / Parser / Retriever, and many conversations or page requests
for the other component kinds. The platform storage key carries no processor or
knowledge-base dimension, so a plugin must fold that identity into its own keys.

- certified-plugins: add "one installation, many usages" with the isolation
  dimensions per component kind, and "when an installation is revoked"
  documenting BasePlugin.on_installation_revoked, its trigger set, the absent
  invocation context and the no-op/failure semantics.
- component pages (runner, knowledge-engine, knowledge-retriever, parser, tool,
  command, event-listener, page): add a short component-specific section with
  that component's own rules and a link to the contract page.
- Align the background-work rule with the SDK contract: the SDK does not track
  ownership of detached work, so a plugin must keep its own binding-keyed
  registry and stop it in the revocation hook.

All three locales carry the same sections.
2026-09-29 20:10:56 +08:00
RockChinQ 6dcbcf6eac docs(runner): explain processor configurations and bot subscriptions 2026-09-15 00:28:51 +08:00
RockChinQ 4b9ba0db6b docs(runner): require explicit usage declarations 2026-09-12 12:51:16 +08:00
RockChinQ df06842ecb docs(plugin): reorganize context API reference 2026-09-11 00:03:42 +08:00
RockChinQ 5cbe5eee59 docs(plugin): document unified Runner development and APIs 2026-09-10 18:04:42 +08:00