docs(sdk): clarify app and plugin sdk boundary#74825
docs(sdk): clarify app and plugin sdk boundary#74825gazeatcode wants to merge 1 commit intoopenclaw:mainfrom
Conversation
|
Codex review: needs maintainer review before merge. Summary Reproducibility: not applicable. as a bug reproduction. The high-confidence check is source and diff comparison: current main has baseline boundary wording but lacks the checklist, runtime table, and named example guidance that this PR adds. Next step before merge Security Review detailsBest possible solution: Review and land or lightly adjust this narrow docs PR so the public docs make the external App SDK versus in-process Plugin SDK boundary unmistakable. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction. The high-confidence check is source and diff comparison: current main has baseline boundary wording but lacks the checklist, runtime table, and named example guidance that this PR adds. Is this the best way to solve the issue? Yes. A docs-only update across the App SDK, Plugin SDK overview, and API-design pages is the narrow maintainable solution for the linked docs request; any disagreement should be handled as wording review on this PR. Acceptance criteria:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 9772ce6ce975. |
Summary
@openclaw/sdk, while trusted in-process plugins should useopenclaw/plugin-sdk/*; mixing these contracts leaks internals into public examples.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Root Cause (if applicable)
N/A
Regression Test Plan (if applicable)
N/A
pnpm check:docs.User-visible / Behavior Changes
Docs now explicitly state that external apps, dashboards, scripts, IDE extensions, and OpenMeow/OpenCoven-style examples use
@openclaw/sdkover Gateway, while provider/channel/tool/hook/runtime extensions useopenclaw/plugin-sdk/*inside OpenClaw.Diagram (if applicable)
Security Impact (required)
Yes/No) NoYes/No) NoYes/No) NoYes/No) NoYes/No) NoYes, explain risk + mitigation: N/ARepro + Verification
Environment
Steps
docs/concepts/openclaw-sdk.md.docs/plugins/sdk-overview.md.docs/reference/openclaw-sdk-api-design.md.Expected
@openclaw/sdkis for outside-process clients.openclaw/plugin-sdk/*is for trusted in-process plugin runtime code.Actual
Evidence
Human Verification (required)
What you personally verified (not just CI), and how:
pnpm check:docs;git diff --check upstream/main..HEAD.Review Conversations
Compatibility / Migration
Yes/No) YesYes/No) NoYes/No) NoRisks and Mitigations
None.