kunkun/packages/api
Huakun 48e2e47f96
Some checks failed
CI / build-test (macos-14) (push) Has been cancelled
CI / build-test (ubuntu-24.04) (push) Has been cancelled
CI / build-test (windows-latest) (push) Has been cancelled
JSR Publish / publish (push) Has been cancelled
NPM Package Publish / publish-npm (push) Has been cancelled
Remove supabase (#263)
* remove supabase package

* upgrade valibot

* removed supabase package

Migration not complete yet

* update submodule

* fixed some supabase errors

* Add new fields to extension models

- Added `id` field to `ExtPublish`
- Expanded `DBExtension` with multiple new properties:
  - `api_version`, `author_id`, `created_at`,
  - `downloads`, `icon`, `identifier`,
  - `long_description`, `name`,
  - `readme`, `short_description`,
  - and `tarball_size`

* Refactor: clean up unused Supabase imports

- Removed commented-out Supabase imports from various files to streamline the codebase.
- Updated `created_at` type in `ExtPublish` model from `date` to `string` for consistency.

* update icon enum to union

* fix type errors after removing supabase

* format

* more types fixed

* feat: enhance command handling and update SDK version
2025-03-26 08:50:55 -04:00
..
__tests__ Feature: support npm extension publish (#62) 2025-01-16 06:00:07 -05:00
src Remove supabase (#263) 2025-03-26 08:50:55 -04:00
.gitignore App Setup (#2) 2024-11-03 13:54:44 -05:00
.npmrc App Setup (#2) 2024-11-03 13:54:44 -05:00
build.ts Feature: install extension from JSR (#53) 2025-01-10 08:23:18 -05:00
CHANGELOG.md Fix: kkrpc serialization backward compatibility (#256) 2025-03-19 03:01:40 -04:00
jsr.json feat: expose helper API in headless and UI modules 2025-02-07 02:45:57 -05:00
package.json Remove supabase (#263) 2025-03-26 08:50:55 -04:00
patch-version.ts App Setup (#2) 2024-11-03 13:54:44 -05:00
README.md refactor: Command class rename (#90) 2025-02-05 12:16:33 -05:00
setup.ts docs: support cloudflare API docs building without Deno 2024-11-03 14:57:49 -05:00
tsconfig.json File Transfer (Local Network) (#34) 2024-12-11 08:14:40 -05:00
typedoc.json Refactor: rename api subpackage (#93) 2025-02-06 21:54:35 -05:00

@kksh/api

NPM Version JSR Badge

Kunkun API is an NPM package designed for developers to create extensions for Kunkun.

On NPM this package is published as @kksh/api, and on JSR it is published as @kunkun/api.

@kksh/api provides a set of APIs for extensions to interact with Kunkun and System APIs. The APIs include:

  • Clipboard
  • Database
  • Dialog
  • Event
  • Fetch
  • File System
  • Logger
  • Network
  • Notification
  • Open
  • OS
  • Path
  • Shell
  • System Info
  • System Commands
  • Toast
  • UI
  • etc.

Read more details in documentation at https://docs.kunkun.sh, and generated docs at https://docs.api.kunkun.sh/