Huakun 97cd20906f
Feature: add extension api (hide and paste) (#210)
* feat: add paste API to extension API

* feat(desktop): enhance clipboard and hotkey utilities

- Add `hideAndPaste` utility function to simplify window hiding and clipboard pasting
- Adjust key press and sleep timings for more reliable input simulation
- Implement window focus listener in clipboard extension
- Bind input element reference for automatic focus management

* feat(permissions): enhance clipboard permission handling

- Update clipboard permission schema to include paste permission
- Modify clipboard API to check for paste permission before executing
- Refactor permission map and schema for more flexible permission management

* feat(desktop): refactor extension command search and rendering

- Add `svelte-inspect-value` for debugging
- Implement new `ExtCmds` component to replace `ExtCmdsGroup`
- Enhance extension command search with separate Fuse.js instances for installed and dev extensions
- Simplify extension command filtering and rendering logic
- Add derived stores for extension commands with improved type safety

* feat(desktop): improve extension command search filtering

* bump @kksh/api version

* feat(permissions): add clipboard paste permission description
2025-02-26 04:47:43 -05:00
..
2024-11-03 13:54:44 -05:00
2025-01-19 23:22:15 -05:00
2024-11-03 13:54:44 -05:00
2025-01-20 05:48:09 -05:00
2024-11-07 12:26:06 -05:00
2025-01-28 04:58:54 -05:00

Kunkun Desktop App

Rules

  • Keep all components as modular as possible
    • Don't use global store directly in components, pass them through context or props instead
    • The components may be exported as a package and used by other projects such as docs, extension