134 Commits

Author SHA1 Message Date
Huakun Shen
41f864e996
chore(github): add "searched" checkbox to issue templates 2025-02-16 14:32:17 -05:00
Ivan Kachalkin
b119c4e8aa
chore(docs): add homebrew link (#130) 2025-02-16 13:35:25 -05:00
Huakun Shen
bbee92fa9f
chore(desktop): set minimum macOS system version to 10.15 (#125) 2025-02-16 04:18:51 -05:00
Nhan. Le Cong
162a8dd685
feat(i18n ): add vietnamese (#124) 2025-02-16 02:44:27 -05:00
Huakun Shen
b866967dda
Update Readme Layout (#118)
* docs(readme): improve project documentation layout and warning section

* docs(readme): refactor layout with flexbox for improved readability

* docs(readme): simplify resource links and add platform section

* docs(readme): restructure platforms section

* docs(readme): replace flexbox with table for resource and platform sections
2025-02-14 20:49:00 -05:00
Huakun Shen
a359c8b739
docs(readme): update project overview and add repository insights 2025-02-14 10:25:45 -05:00
Huakun Shen
b5848ecea5
docs(readme): add star history chart 2025-02-14 06:23:56 -05:00
Huakun Shen
63403b6118
fix(apps): windows app loading (#114)
upgrade applications submodule
v0.1.22
2025-02-14 01:59:47 -05:00
Huakun Shen
03450e8a12 feat: add Português to settings 2025-02-14 00:28:38 -05:00
Nicolas Vyčas Nery
e36237facd
Feature: i18n - Added Portuguese translations (#108) 2025-02-14 00:20:38 -05:00
Huakun Shen
4221b574c9
fix(desktop): global hot key register during init must be after appConfig.init (#113) Kunkun-v0.1.22 2025-02-13 23:13:35 -05:00
Huakun Shen
f1cace38d4
docs(readme): add development warning for Linux compatibility 2025-02-13 11:29:53 -05:00
Huakun Shen
c8112b43bc
feat(extension): add drag region to markdown view 2025-02-13 05:18:54 -05:00
Huakun Shen
e9dfaf519e
chore(deno): update deno lock file 2025-02-13 03:23:36 -05:00
Huakun Shen
474b0f59b3
revert: PR #103
@kksh/svelte5@0.1.16 seems to cause errors
2025-02-13 03:18:34 -05:00
Huakun Shen
6bd7d71df6
Fix: svelte template (#103)
* chore: bump @kksh/svelte5 to 0.1.16 and update dependencies

* chore: bump create-kunkun package version to 0.1.46

* chore: update pnpm lock
2025-02-12 09:26:11 -05:00
Huakun Shen
b28573713a
docs(readme): update demo video link and add YouTube thumbnail 2025-02-12 08:12:02 -05:00
Huakun Shen
bdf99ee196
perf(splashscreen): make splashscreen prerenderred, slightly faster (#98) 2025-02-11 08:29:47 -05:00
Huakun Shen
183af3fb84
fix(desktop): update deeplink route for extension store (#100)
* fix(desktop): update deeplink route for extension store

* chore(desktop): bump package version to 0.1.21
2025-02-11 08:29:36 -05:00
Huakun Shen
5573923a76
perf(desktop): reduce bundle size by ~8.5MB from shiki (#97)
* perf(desktop): reduce bundle size by ~8.5MB from shiki

Use fine grained shiki bundle

* ci: update GitHub Actions workflow build step description
Kunkun-v0.1.20 v0.1.20
2025-02-07 14:51:28 -05:00
Huakun Shen
0eacf01de2
update deno.lock 2025-02-07 05:11:29 -05:00
Huakun Shen
839bad6751
Feature: fix extension delete (#96)
* 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
2025-02-07 04:43:24 -05:00
Huakun Shen
27fdff03d9
feat: expose helper API in headless and UI modules
- Add helper API to headless module exports
- Update UI custom module to include helper API
- Bump package version to 0.1.3
2025-02-07 02:45:57 -05:00
Huakun Shen
7b6c0934ab
Feature: add helper api (#95)
* 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
2025-02-07 02:41:50 -05:00
Huakun Shen
490368428e
UI (#94)
* 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
2025-02-07 01:26:56 -05:00
Huakun Shen
e49c0f5da5
update: deno.lock 2025-02-06 22:08:43 -05:00
Huakun Shen
f37605f9a2
Refactor: rename api subpackage (#93)
* 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
2025-02-06 21:54:35 -05:00
Huakun Shen
872bcfdfd1
Feature: app launcher (#92)
* 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
2025-02-06 20:29:56 -05:00
Huakun Shen
f895594b62
chore: update vitest and deno.lock dependencies 2025-02-05 12:51:12 -05:00
Huakun Shen
46d6872614
refactor: Command class rename (#90)
* 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
2025-02-05 12:16:33 -05:00
dependabot[bot]
b4b7851366
chore(deps-dev): bump vitest from 2.1.5 to 2.1.9 (#89)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.1.5 to 2.1.9.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 15:43:31 -05:00
Huakun Shen
4862484857
test: remove build commad and its tests from cli app 2025-02-04 10:06:51 -05:00
Huakun Shen
4626acf534
chore: update jsr.json exports to add headless module 2025-02-02 11:24:11 -05:00
Huakun Shen
2fd119f842
chore: remove supabase exports from jsr.json 2025-02-02 11:21:20 -05:00
Huakun Shen
892c31ae31
chore: update deno.lock 2025-02-02 11:18:57 -05:00
Huakun Shen
e260264797
refactor: alias WorkerExtension to TempalteUiExtension 2025-02-02 11:12:58 -05:00
Huakun Shen
798cc773e5
Feature: upgrade kkrpc (#84)
* 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
2025-01-31 05:07:04 -05:00
Huakun Shen
33e4451be2
Fix: action panel (#83)
* 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
2025-01-29 18:56:16 -05:00
Huakun Shen
0bb59e4f66
Fix: ext window loading (#82)
* 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
2025-01-28 09:44:46 -05:00
Huakun Shen
c93ebd895e
Fix: ext window loading (#81)
* 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
2025-01-28 04:58:54 -05:00
Huakun Shen
63bc401d8e
fix: system command filtering 2025-01-27 23:10:05 -05:00
Huakun Shen
b7b81013ba
chore: bump desktop app version to 0.1.19 v0.1.19 Kunkun-v0.1.19 2025-01-27 17:34:55 -05:00
Huakun Shen
51f2f22f69
feat: add KV interface to iframe, fix path alias bug (#79)
* feat: add KV interface to iframe, fix path alias bug

* update template README's publish instruction

* chore: update dependencies and sveltekit template
2025-01-27 17:20:54 -05:00
Huakun Shen
fd41247d37
fix: ensure safe removal of node_modules directory in build process Kunkun-v0.1.18 2025-01-24 08:00:58 -05:00
Huakun Shen
e719176b9c
Fix: form submit (#76)
* fix: worker template extension form submit

* bump @kksh/api

* update api package version
2025-01-24 02:37:36 -05:00
Huakun Shen
0cc744592f
Feature: add author, size, readme display for extension store page (#74)
* 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
2025-01-23 07:07:29 -05:00
Huakun Shen
f03cb6cbad fix: throw error when extension permission failed. It didn't throw error 2025-01-21 10:34:52 -05:00
Huakun Shen
646801ac99
fix: extension store platform display bug 2025-01-21 05:52:55 -05:00
Asqar Arslanov
f05ffdfcfd feat: update russian locale 2025-01-20 08:17:51 -05:00
Huakun Shen
5250a25283
Fix: Publish CI (#71)
* 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
2025-01-20 05:48:09 -05:00