Skip to content

fix(clipboard): document ohpm install command in HAR README - #115

Merged
richerfu merged 1 commit into
mainfrom
fix/clipboard-readme-install
Oct 28, 2026
Merged

richerfu merged 1 commit into
mainfrom
fix/clipboard-readme-install

Conversation

@richerfu

Copy link
Copy Markdown
Contributor

Summary

ohpm-rs publish --workspace failed for @ohos-rs/ability-plugin-clipboard with:

ohpm error: The request failed: HttpCode 400, {"error":"readme.md file no ohpm install command. eg ohpm i @ohos-rs/ability-plugin-clipboard or ohpm install @ohos-rs/ability-plugin-clipboard","success":false}

plugins/clipboard/README.md was the only plugin README without an ohpm install <package> line. This rewrites it in the standard plugin README layout (title, language switcher, install, assembly, plugin contract, runtime constraints) and expands README.zh-CN.md from its three-line stub to the matching translation.

Content reflects the current implementation: the HAR is registration identity only, every ohos.clipboard action is rejected, and clipboard data access goes through the Rust OH_Pasteboard facade.

Verification

  • Confirmed every plugins/*/README.md now contains its own ohpm install command.
  • Markdown-only change; no code, no test impact.

🤖 Generated with Claude Code

ohpm rejects packages whose readme.md lacks an install command, which
blocked publishing @ohos-rs/ability-plugin-clipboard. Rewrite the English
README with the standard plugin layout (install, assembly, contract,
runtime constraints) and expand the Chinese stub to match.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@richerfu
richerfu merged commit abd60c4 into main Oct 28, 2026
1 check passed
@richerfu
richerfu deleted the fix/clipboard-readme-install branch October 28, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant