kunkun/apps/cli/package.json
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

40 lines
824 B
JSON

{
"name": "kksh",
"module": "dist/cli.js",
"version": "0.1.3",
"type": "module",
"bin": {
"kksh": "./dist/cli.js",
"docker-entrypoint.sh": "./dist/docker/entrypoint.sh"
},
"author": "Huakun",
"scripts": {
"build": "bun build.ts",
"test": "cross-env NODE_ENV=test bun test --coverage",
"check-types": "tsc --noEmit"
},
"devDependencies": {
"@types/bun": "latest",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
"cross-env": "^7.0.3"
},
"peerDependencies": {
"typescript": "^5.7.2"
},
"dependencies": {
"@inquirer/prompts": "^7.2.1",
"@kksh/api": "workspace:*",
"chalk": "^5.4.1",
"commander": "^13.0.0",
"console-table-printer": "^2.12.1",
"debug": "^4.4.0",
"fs-extra": "^11.2.0",
"inquirer": "^10.1.2",
"valibot": "^1.0.0-beta.10"
},
"files": [
"dist"
]
}