* 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
* refactor: add a valibot schema for package registry validation
* fix: list view action menu
* chore: bump version to 0.1.16 in package.json
* refactor: extract supabase package from api
* ci: remove NODE_OPTIONS from build step and improve error handling in getLatestNpmPkgVersion function
* feat: npm package registry API
* refactor: move package registry files
* refactor: move jsr and npm api to a new package
* ci: add verify-package-export
* test: implement tests for npm package validation as kunkun extension
* chore: add missing dep for package-registry pkg
* feat: make provenance an optional input for npm validation function
* ci: add verify-package-export as dev dep to 2 packages that uses it
* feat: add rekor log API, and return commit from jsr & npm package in validation function
* feat: return github repo info from validation function of jsr and npm
* feat: extend ExtPublishMetadata to include optional GitHub repository details
* fix: eslint for ui package
* refactor: format desktop
* fix: eslint errors in desktop
* format: all code
* ci: add lint to CI
* feat: add more info to validation function returned from package-registry npm jsr
* pnpm lock
* feat: add 2 more variables to supabase extension metadata model
* format
* feat: add provenance card
* feat: add workflow path to ExtPublishMetadata and jsr/npm validation
* update provenance
* feat: make store extension and provenance more responsive
* chore: add globals to ui package
* fix: remove unnecessary any to fix eslint
* fix: svg sanitize
* chore: add @typescript-eslint/eslint-plugin to ui package to fix eslint
* fix: update eslint dep to fix error
* fix: try fixing eslint
* fix: update eslint configuration for improved compatibility
* chore: add globals package and update README for Discord invite
* fix: update eslint rules and upgrade typescript-eslint dependency
- Disabled additional eslint rules to resolve errors:
- @typescript-eslint/no-unused-expressions
- svelte/no-inner-declarations
- Upgraded typescript-eslint from version 8.19.1 to 8.20.0 for improved compatibility.
* update pnpm lock
---------
Co-authored-by: Huakun Shen <huaukun.shen@huakunshen.com>
* feat: enhance hotkey registration and initialization process
* fix: jsr test (cherrypicked from another branch)
* fix: fix nuxt tailwind version, the latest verison has bug
* update pnpm lock
dev and prod environment could have the same identifier.
If a dev ext is installed, user gets a warning prompt when installing from store, saying there is an existing extension.
The dev extension will be removed from DB.
In this commit we filter out dev extension
* chore: upgrade many dependencies
* fix: @kksh/svelte, migrate 5
* refactor: move dialog plugin code out of ui package
* chore: disable check-types in api build.ts
Causing build error in kunkun-services
* feat: add jsr package
* feat: implement jsr package with API and parsers for jsr
* feat: modify API, add function to extract linked github repo from html
* perf: improve jsr package API with @hk/jsr-client
* feat: add jsr package version table for publishing extension
* fix: dependency and type incompatibility in ui package
* feat: add validateJsrPackageAsKunkunExtension function in jsr package
* feat: improve jsr table
* feat: add a ElementAlert component
* feat: update ElementAlert UI
* chore: update deno.lock
* chore: enable submodule support in jsr-publish workflow
* chore: bump version to 0.0.48 in jsr.json
* feat: regenerate supabase types, add author_id
* Move @kksh/jsr package to @kksh/api
* update deno.lock
* chore: change @tauri-plugin/plugin-upload version from git url to version
* feat: add rounded corner for ElementAlert
* chore: update deno.lock
* chore: bump version to 0.0.51 in jsr.json and update import paths for ExtPackageJson
* feat: add publishExtJSR API to SupabaseAPI
* refactor: replace "@hk/jsr-client" from jsr with @huakunshen/jsr-client from npm
* chore: update deno.lock
* feat: update validateJsrPackageAsKunkunExtension return type
* refactor: improve error message
* feat: add metadata to ext_publish, update database.types.ts
* feat: add models module for Supabase with ExtPublishMetadata and source type enumeration
* feat: support installing JSR package as extension
Since JSR overwrites package.json with its own code to be compatible with npm, causing manifest parsing to be impossible. I add metadata field to ext_publish.
When extension comes from jsr, kunkun app will fetch the original package.json from jsr and overwrite the one modified by jsr.
* fix: add missing dep @tauri-apps/plugin-upload to @kksh/extension
* chore: update version to 0.0.52 in version.ts
- Updated workspace paths in GitHub Actions for better clarity.
- Changed bun version to latest in CI configuration.
- Streamlined the installation and build process by adding a dedicated build step.
- Bumped TypeScript and several dependencies in the CLI package for improved compatibility and features.
* feat: add a headless extension template
* feat: add headless template support for create-kunkun package
* chore: bump create-kunkun version to 0.1.38