Skip to content

About

TypeScript SDK, host APIs and JSX interfaces for Sobes desktop plugins

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Sobes Plugin SDK

Русский · Documentation

TypeScript SDK for Sobes desktop plugins. Provides React views, commands, application events and permission-checked APIs. Plugins install as one JSON file containing the manifest, JavaScript and CSS.

Reference: setup, manifest, API, React, slots, builder, publishing.

For coding assistants: Sobes Plugin SDK skill. Copy the whole skills/sobes-plugin-sdk folder into your assistant's skill directory. It includes build instructions, API recipes and the host's permission and runtime boundaries.

The desktop host implements API 1: the core API, 21 UI slots, application events, revision-checked CRUD and live event streams. Plugins check available methods, features and granted access through api.capabilities.

SDK checks

bun install --frozen-lockfile
bun run format:check
bun run lint
bun run typecheck
bun run check:permissions
bun run test
bun run build:examples
bun run build:plugins
bun run test:examples
bun run test:plugins

bun run format applies Prettier formatting and ESLint spacing fixes. CI checks both without modifying files.

Code Explainer shows direct model requests with plugin-owned URL, API key and model settings, streaming and cancellation.

Example source is in examples/; plugin source is in plugins/. Build output is written to examples/bundles/ and plugins/bundles/. Installation: Plugins → Installed → Install from file.

Public types: src/index.ts. Permission registry: src/permissions.json. Platform API: src/platform. Catalog metadata is published separately in plugin-marketplace.

About

TypeScript SDK, host APIs and JSX interfaces for Sobes desktop plugins

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages