* 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 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
* 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
* 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
* 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>
* 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
* 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
* feat: add kv store API for extensions
* feat: add kv api to @kksh/api package
* bump: @kksh/api to 0.0.47
* feat: add IKV type export to UI module
* feat: add delete api for KV API
* feat: implement clipboard history preview
* feat: clipboard history pagination
* refactor: format code
* fix: sql schema
* feat: add json metadata to unit test
* upgrade: js dependencies
* upgrade: desktop rust dependencies
* fix: clipboard history duplicate key bug when searchTerm clears
* upgrade: tauri-plugin-network submodule solve pnpm lock file
* fix: grpc package CI
* chore: update turbo.json outputs to include dist and build directories
* fix: try to fix template-ext-vue tailwind module.export
* ci: prevent error when protoc is not installed in CF pages
* fix: update writeFile function to accept ReadableStream as data type
* feat: implement a file streamer for file share
Only server with hardcoded file path
* bump valibot version
* feat: add server-info gRPC module to serve server info
* feat: add ssl cert and public key to peers state
When peer is online, KK always have know its cert and pub key for future secure communication
* feat: add grpc ts package
* Enable "/refresh-worker-extension" rest API, grpc version isn't ready yet
* update pnpm lock
* ci: fix CI by moving protobuf install order
* ci: fix
* upgrade api due to valibot incompatibility
* fix: use fs instead of bun shell to be compatible with windows
* skip grpc pkg build on windows
* feat: local network file transfer prototype working
* fix: grpc build.ts
* download next to 14
* ci: add ci env try to fix next
* fix: hideRefreshBtn and a few other btns' hide API in iframe ext page
* feat: disable NODE_TLS_REJECT_UNAUTHORIZED for extension HMR refresh
* fix: manifest json schema with objectWithRest to allow any other fields in package.json
* chore: update valibot and related dependencies to version 1.0.0-beta.9 in pnpm-lock.yaml
* ci: add protobuf compiler installation to manifest-schema-upload workflow
* refactor: move grpc code from jarvis to a separate grpc crate
for easier testing
* feat(file-transfer): POC multi file + directory file transfer
* feat(file-transfer): replace file transfer recursive download in ts with rust
* feat(file-transfer): implement on_progress event for file transfer
* feat(file-transfer): report progress every 1MB instead of 100 iterations
* feat(file-transfer): add progress bar
* feat(file-transfer): UI
* feat(file-transfer): add file transfer bucket info preview
Show total size and number of files
* feat(file-transfer): improve UX
Show bucket info during confirm; improve progress bar UI, prevent inconsistent width
* feat(grpc): skip build in Cloudflare Pages due to missing protoc
* refactor: with cargo fix, unused imports removed
* ci: debug cloudflare pages env var
* fix(grpc): update environment variable access for Cloudflare Pages build check
* fix(grpc): add error handling for protoc command in build script
* chore: update kkrpc version to 0.0.13, remove kkrpc submodule, and enhance grpc build script logging
- Updated kkrpc dependency version from 0.0.12 to 0.0.13 in package.json.
- Removed the kkrpc submodule from the project.
- Enhanced logging in the grpc build script to include additional Cloudflare Pages environment variables for better debugging.
* fix(api): typescript error, remove base.json from tsconfig
* chore: update pnpm lock
* fix(api): update TypeScript configuration to extend base.json and clean up unused options
* refactor(api): update TypeScript configuration to extend path-alias.json and enhance compiler options
* fix(api): restore KunkunManifestPermission in PermissionUnion and update valibot import in schema tests
* fix: missing trait error
* fix: js require replaced with import
* test: fix a unit test with a more robust method
---------
Co-authored-by: Huakun Shen <huaukun.shen@huakunshen.com>
* Add some experiment code for crypto crate
* feat: add crypto crate with ssl, rsa, ed25519 for https, encryption, signing
* Implement aes encryption helper in crypto crate
* ci: add dep for CI rust test (protobuf)
* fix: try to fix window CI with next
* fix: CI
* ci: add dep for ubuntu
* ci: fix
* fix: openssl lib path in CI
* fix: CI
* update applications-rs, disable some tests
* fix: CI
* feat: add file transfer grpc proto and server setup
* CI: try to fix CI
* fix: missing proto in build.rs
* ci: add cargo build before cargo test
* fix: grpc file descriptor
* ci: fix CI by removing a redundant main.rs
* fix: disable local windows test in applications-rs which fails CI
* ci: run CI rust test only on ubuntu, windows is failing. will be handled in another PR
* fix: vue template
* fix: allow unused variable
* fix: remove node:buffer type from api shell.ts to avoid frontend build error
* try to fix test in create-kunkun
* upgrade api to 0.0.44, remove node:buffer
* upgrade next template to 15
* feat: turn the default server into a https server
* feat: make SSL certificate loadable from env
* feat: add conditional SSL cert
in debug mode, use local default cert, in production generate new self-signed cert every time app starts
* chore: add vscode debug config
* feat: add server public key
* feat: setup sqlite db encryption
* fix: settings hotkey
* chore: add .gitkeep
* ci: add node-fetch to dep for api package
* refactor: replace comlink with kkrpc
* fix: import path in api pkg and btn styling in ui iframe page
* fix: fixed fetch API from kkRPC migrate
* refactor: replace comlink-stdio with kkrpc
* update deno lock
* bump @kksh/api
* update API version
* publish api pkg again to fix kkrpc version
* update pnpm lock
* dep: fix dependency problems
* dep: update deno.lock
* chore: remove 2 submodules
they were added only for integration development
* update pnpm lock
* fix: test template path
* format: with prettier
* downgrade next version
* ci: try to fix next build on windows
* try to fix CI
* Revert "try to fix CI"
This reverts commit b9c63c392f50f1d2d3ceec406e49b1af2348c740.
* upgrade tauri-api-adapter
* try to fix next
* remove templates from pnpm workspace
* update CI test
* publish @kksh/api with upgraded tauri-api-adapter to fix nextjs template
* feat: add ui worker command loading code (not working yet)
* feat: add unocss
* feat: add-dev-extension page
* feat: implemented list view template
* feat: implement list view detail view width, add demo extension for dev
* fix: resize listview, add metadata component
* fix: metadata tag component background color
* feat: implement boolean (checkbox), date fields for form template
* feat: support default, optional, placeholder for form fields
* feat: implemented form view Select Field
* feat: markdown view
* feat: fixed a markdown schema type error
* fix: markdown styling
* feat: implement action panel for UI worker template list view
* format: format all
* chore: bump desktop version
* fix: fix search term bind in list view
* chore: add vendor submodules
* feat: add packages for db,ci,schema,api,jarvis cmds
* feat: add tauri-jarvis-plugin
* feat: implement extension commands list
* fix(desktop): import path errors after packages refactor
* chore: add self signed cert
* fix: prevent prerender for desktop
* fix(desktop): desktop sveltekit static build, use csr for dynamic route
* feat: add error handling page and components
* refactor: component lib
* refactor: move more types, functions and components out of desktop
* refactor(ui): more refactor
* refactor(ui): move store components to @kksh/ui
* ci: add CI for build & test
* refactor: rename @kksh/extensions to @kksh/extension
* ci: add 2 more ci
* ci: fix
* fix: CI env var
* chore: add changeset
* feat: implement extension store item detail view
* feat: implement extension store install, uninstall, upgrade
* format
* revert: upgradable logic, the new one doesn't work yet
* refactor: make @kksh/ui dependent only on @kksh/api
Reason: @kksh/ui may be published later for building website, all its dependency packages must be also published. To avoid trouble it should be standalone, depend only on packages already published
* refactor: cleanup
* fixed: some typescript error
* chore: got typedoc working on @kksh/api
* ci: disable manifest schema upload CI on push