* clean path and exit after onSelect
* format
* do not clean linux app path, and clear search term
---------
Co-authored-by: Huakun Shen <huakun.shen@huakunshen.com>
* chore: comment out auto install for on boarding, its behavior and speed is unpredictable
* fix: clear action when ui template exits
* fix: update extension command search store references
* feat(ui): implement virtual list with advanced search and section handling
- Add @tanstack/svelte-virtual for efficient list rendering
- Integrate Fuse.js for advanced search across list items and sections
- Create dynamic virtual list with support for section headers
- Enhance list view with flexible search and filtering capabilities
- Add new types and components for virtual list management
* chore(desktop): bump package version to 0.1.29
* 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
* upgrade tauri-plugin-shellx
* feat(shell): add killPid method to shell API with new permission
* fix: extension new window
* feat(shell): enhance process management and logging in extensions
- Add debug logging for extension process events
- Implement process tracking in UI worker
- Update shell API to support custom process recording
- Modify extension template to demonstrate process spawning
- Refactor shell command handling with improved error handling
* Add killPid extension API to @kksh/api
* chore(deps): update tauri-plugin-shellx-api to version 2.0.15
* pnpm lock
* chore(deps): update dependencies and lock file
- Upgrade ESLint to version 9.21.0
- Update @types/bun to version 1.2.3
- Bump various development dependencies
- Reorganize package.json dependencies in ui package
* chore(deps): update SvelteKit template dependencies
- Add @eslint/js version 9.21.0
- Update package.json dependency order
- Sync pnpm-lock.yaml with package.json changes
* chore: add eslint to desktop
* chore(deps): remove local tauri-plugin-shellx and use published version 2.0.15
* bump desktop to 0.1.28
* feat: add lockHideOnBlur to prevent app hiding during dialogs
* feat: add Fuse.js for advanced search filtering across app sections
* chore: update .prettierignore and clean up imports in AddDevExtForm
* fix(desktop): improve hotkey and paste functionality with refined key press timing
* fix(clipboard): streamline clipboard handling for macOS and add TODO for Windows/Linux support
* removed a comment
* fix(desktop): update version to 0.1.26 and enhance app execution handling for Linux
* fix(desktop): remove redundant app path display in AppsCmds component
* fix: change escape key behavior to navigate home instead of back
* feat: load custom ui extension with http server on Linux
Linux now uses the same loading approach as Windows due to a bug https://github.com/tauri-apps/tauri/issues/12767
* feat: add tauri-plugin-system-info-api dependency to deno.lock
* crosslink issue on linux, and cleanup entire dir
* moved copy_dir_all to rust
* using dircpy instead of diy due to complications
* refactor: move copy_dir_all to jarvis plugin
All commands are in jarvis plugin, this is more organized.
And this API will be exposed to extensions.
---------
Co-authored-by: Huakun Shen <huakun.shen@huakunshen.com>
* feat(shell): add hidden window style to PowerShell script execution
Modify PowerShell script execution to run with hidden window style in both TypeScript API and Rust plugin to prevent visible command windows
* feat(desktop): implement cross-platform paste functionality in clipboard extension
* feat(desktop): enhance hotkey functionality with registration and update methods
* fix(desktop): remove unnecessary border from command root styling
* feat(desktop): add cross-platform paste support for clipboard extension
- Import Tauri OS plugin to detect platform
- Implement platform-specific paste methods for macOS, Windows, and Linux
- Add error handling for unsupported platforms
- Center windows in Tauri configuration
* feat(desktop): extend global key handler to support Linux control key for settings navigation
* feat(desktop): add file system watch support for extensions
- Enable file system watching for package.json and test files
- Update Cargo.toml to include file system watch feature
- Add console logging for file system events
* feat(desktop): add extension auto reload mechanism for dev extensions
- Implement `reloadExtension` method in extensions store
- Add Tauri event for reloading a single extension
- Update UI worker to watch package.json and trigger extension reload
- Add Linux dependencies for building from source in CONTRIBUTING.md
* feat: add publisher link to extension detail
* fix: improve IconMultiplexer and StoreExtDetail component rendering
* feat: add published date to extension details view
* chore: add moment.js and clean up imports in StoreExtDetail
* fix: support cloudflare worker
Otherwise cloudflare worker gets html instead of json
* refactor: move AppsCmds component to desktop app
* bump: version to 0.1.1
* fix: package.json fetching cors error
* fix: improve files field validation in verify command
* feat: make dropdown width in main search input dynamic
* feat(ui): add install button for web extension store
* update submodules
* format
* feat(desktop): disable clipboard auto paste for windows and linux
They are not implemented yet, current code only works for mac
- Add writeToClipboard utility function to handle different clipboard content types
- Implement paste() method to simulate keyboard paste action
- Update onItemSelected to hide app and auto-paste selected clipboard item
- Add core:app:allow-app-hide capability to support app hiding
* chore: improve database and extension handling
- Remove debug console log in extension uninstall
- Add ON DELETE CASCADE to extension-related foreign keys
- Enable foreign key constraints in database connection
- Update database file extensions from .db to .sqlite
- Modify command value generation for better identification
* fix: add small delay to onboarding page navigation
Without delay the page switch won't be triggered when window first loads
* feat: add helper API for installation guides and update UI components
- Implement helperAPI with methods to navigate to installation guides for Deno, FFmpeg, and Homebrew
- Update extension and help page components to use new helper API
- Modify command filtering in builtin commands
- Adjust page navigation in help pages to use goHome instead of goBack
- Remove unused imports and clean up components
* chore: bump @kksh/api to 0.1.2 and update dependent packages
* feat: add publisher link to extension detail
* fix: improve IconMultiplexer and StoreExtDetail component rendering
* feat: add published date to extension details view
* chore: add moment.js and clean up imports in StoreExtDetail
* fix: support cloudflare worker
Otherwise cloudflare worker gets html instead of json
* refactor: move AppsCmds component to desktop app
* bump: version to 0.1.1
* fix: package.json fetching cors error
* fix: improve files field validation in verify command
* refactor(api): rename ui subpackage name
* refactor(api): update import paths for template UI schemas
* chore: update dependencies and bump package versions
* chore(api): bump package version to 0.1.1
* refactor(api): rename IUiIframe to IUiCustom and related types
* format
* feat: implement app loader (has performance problem)
* feat: enhance command filtering and search functionality
- Implement command score filtering for various command types
- Add filtered stores for quick links, system commands, and extensions
- Update command components to use new filtering mechanism
- Improve search experience by dynamically filtering results
- Refactor command value handling to use direct name matching
* refactor: rename WorkerExtension to TemplateUiCommand, HeadlessWorkerExtension to HeadlessCommand
* ci: update npm publish workflow to include refactor branch
* ci: add push trigger for JSR publish workflow and bump API package version
* ci: add pnpm setup to npm publish workflow
* chore: add repository field to package.json for @kksh/api
* feat: upgrade kkrpc and tauri-api-adapter
* feat: update package.json exports for @kksh/api
* chore: bump @kksh/api package version to 0.0.56
* chore: bump @kksh/api version to 0.0.56
* fix: change action trigger hotkey on win and linux from control + k to alt + k
* chore: Update macOS build matrix to use macos-13 instead of macos-12
* feat: improve action panel, disable actions vimBindings
* fix: extension new window loading with localStorage
* fix: extension loading in new window
* upgrade: @kksh/svelte5
* refactor: update SideBar import to Sidebar across desktop app
* fix: safely remove test directories with existsSync check
* feat: add open preference command with platform-specific shortcut
* chore: clean up vite config trailing comma
* fix: iframe custom ext loading
* fix: fix template extension loading
* feat: add progress bar to extension form and list views
* feat: add optional description to form view template
* fix: extension new window loading with localStorage
* fix: extension loading in new window
* upgrade: @kksh/svelte5
* refactor: update SideBar import to Sidebar across desktop app
* fix: safely remove test directories with existsSync check
* feat: add open preference command with platform-specific shortcut
* chore: clean up vite config trailing comma
* fix: update email field in KunkunExtManifest to be optional and nullable
* refactor: update Supabase type generation command and enhance database types structure
- Changed the Supabase type generation command to include a specific project reference and output path.
- Refactored the database types in `database.types.ts` for improved readability and added new fields, including `extension_state` and `package_json` in the `ext_publish` table.
- Ensured consistent formatting across type definitions for better maintainability.
* feat: add optional README path to ExtPackageJson and enhance tests for README retrieval
* feat: add optional readmeContent to ExtensionPublishValidationData and retrieve README in validateJsrPackageAsKunkunExtension
* feat: add optional readme field to database types for improved package metadata
* feat: enhance StoreExtDetail to display package metadata including author and contributors
- Added packageJson prop to StoreExtDetail for improved extension metadata display.
- Implemented rendering of author and contributors from packageJson.
- Integrated README content display in StoreExtDetail if available.
- Updated +page.svelte to parse and provide packageJson data using valibot for validation.
* feat: enhance TauriLink component to support conditional rendering based on Tauri environment
- Added detection for Tauri environment using the browser variable.
- Updated the TauriLink component to render a button when in Tauri, and an anchor tag for external links otherwise.
- Improved user experience by ensuring appropriate link behavior based on the application context.
* feat: add unpacked size to npm registry
* feat: replace size in ext_publish table to tarball_size, add unpacked_size (only applicable to npm)
* feat: add pretty-bytes dependency and update debug package version
- Added `pretty-bytes` package with version 6.1.1 to `package.json`.
- Updated `debug` package to use `supports-color@9.4.0` in `pnpm-lock.yaml` for improved compatibility.
* feat: add tarball_size field to database types for improved package metadata
* feat: add readme fetching for npm registry, readme from github
* fix: remove console.log from NPM API test to clean up output
* style: update extension store details
* style: update README section in StoreExtDetail component for improved styling
* fix: update command input placeholder text in English, Russian, and Chinese translations for clarity
* chore: bump version to 0.1.18 in package.json
* fix: lint
* fix: try to fix desktop app publish
* chore: update beta-build workflow for Ubuntu by removing redundant protobuf installation and adding libxdo-dev
* fix: ensure data directory creation is conditional to avoid errors
- Updated setup.ts to check for the existence of the "./src/data" directory before attempting to create it, preventing potential errors during execution.
* fix: lint error
* chore: add @inlang/paraglide-sveltekit to @kksh/ui
* feat: add i18n to desktop
* fix: add shrink-0 class to mode-toggle button for consistent styling
* feat: add i18n to settings, not working yet
* feat: i18 working
* feat: add i18n for about
* feat: migrate all goto to use i18n.resolveRoute
* feat: finish translating settings to chinese
* feat: add Chinese i18n for troubleshooters
* feat: add russian translation (by AI)
* format: run prettier
* format
* chore: update .prettierignore to exclude src/lib/paraglide/**
* feat: add required license field to manifest
* chore: add license MIT to all templates
* feat: add license check to jsr and npm validation
* fix: supabase export
split every item into its own subexport for better debugability
* fix: supabase imports
* feat: hide app when escape is pressed
* fix: update package version in api test from 0.0.6 to 0.0.20
* fix: update test for kunkun extension with new version and commit details
* fix: update kunkun extension test to use version 0.0.4
* fix: update kunkun extension test to reflect new version 0.0.20 and updated commit details
* feat: display downloads in extension details
* feat: add downloads display to store