mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-08-27 21:54:22 +00:00
![]() * chore: add check-types * refactor: api package file structure update * feat: add headless worker extension API * feat: add HeadlessCmd to manifest schema * feat: make each type of cmds optional in manifest There may be more types of cmds in the future, this makes backward compatibility easier. * feat: implement headless extension command in app A demo cmd implemented as well. * refactor: move api package's API server files * refactor: reformat all |
||
---|---|---|
.. | ||
__tests__ | ||
src | ||
.gitignore | ||
.npmrc | ||
build.ts | ||
CHANGELOG.md | ||
deno.lock | ||
jsr.json | ||
package.json | ||
patch-version.ts | ||
README.md | ||
setup.ts | ||
tsconfig.json | ||
typedoc.json |
@kksh/api
Kunkun API is an NPM package designed for developers to create extensions for Kunkun.
@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/
Dev
Dependency Graph
To detect circular dependencies
pnpm madge ./src/ui/worker/index.ts --circular # detect circular dependencies
pnpm dep-tree ./src/ui/worker/index.ts
pnpm test # this will detect circular dependencies in all files