Verify Store packages against pinned Ed25519 keys and catalog metadata, persist installation provenance, and add Marketplace review and installation UI while preserving unsigned local packages. Bundle standalone plugin authoring tools and add a six-platform CLI packaging workflow. Official key initialization and protected signing environment setup remain separate rollout steps.
20 lines
902 B
Markdown
20 lines
902 B
Markdown
# NyaTerm plugin development
|
|
|
|
Read the [plugin guide](../docs/plugins.md) for installation, manifests,
|
|
permissions, the UI SDK and native protocol.
|
|
|
|
- `sdk/nyaterm.js` and `sdk/nyaterm.d.ts`: browser SDK and typings.
|
|
- `examples/session-toolbox`: a sandboxed panel using scoped host capabilities.
|
|
- `examples/native-counter`: a persistent Rust command backend.
|
|
- `cli/`: independently publishable `@nyaterm/plugin-cli`, bundling the authoring
|
|
binary, browser SDK and templates. See its README for standalone usage and release builds.
|
|
|
|
```sh
|
|
pnpm plugin:pack plugins/examples/session-toolbox temp/plugins/session-toolbox.nyap
|
|
pnpm plugin:example:native
|
|
pnpm plugin:pack temp/plugins/native-counter temp/plugins/native-counter.nyap
|
|
```
|
|
|
|
Install the generated packages through the Plugins activity panel and explicitly grant
|
|
their requested permissions. Native executables run with OS user permissions.
|