* refactor: client ipc
* refactor: server ipc
refactor: update IPC method names for consistency
Signed-off-by: Innei <tukon479@gmail.com>
fix: cast IPC return type to DesktopIpcServices for type safety
Signed-off-by: Innei <tukon479@gmail.com>
chore: add new workspace for desktop application in package.json
Signed-off-by: Innei <tukon479@gmail.com>
fix: export FileMetadata interface for improved accessibility
Signed-off-by: Innei <tukon479@gmail.com>
refactor: unify IPC mocking across test files for consistency
Signed-off-by: Innei <tukon479@gmail.com>
feat: enhance type-safe IPC flow with context propagation and service registry
- Introduced `getIpcContext()` and `runWithIpcContext()` for improved context management in IPC handlers.
- Updated `BrowserWindowsCtr` methods to utilize the new context handling.
- Added `McpInstallCtr` to the IPC constructors registry.
- Enhanced README with details on the new type-safe IPC features.
Signed-off-by: Innei <tukon479@gmail.com>
refactor: enhance IPC method registration for improved type safety
- Updated `registerMethod` in `IpcHandler` and `IpcService` to accept variable argument types, enhancing flexibility in method signatures.
- Simplified the `ExtractMethodSignature` type to support multiple arguments.
Signed-off-by: Innei <tukon479@gmail.com>
chore: add global type definitions and refactor import statements
- Introduced a new global type definition file to support Vite client imports.
- Refactored import statements in `App.ts` and `App.test.ts` to remove unnecessary type casting for `import.meta.glob`, improving code clarity.
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: make groupName in BrowserWindowsCtr readonly for better encapsulation
Signed-off-by: Innei <tukon479@gmail.com>
* refactor: update IPC method registration and usage for improved type safety and consistency
- Replaced `@ipcClientEvent` with `@IpcMethod()` in various controllers to standardize IPC method definitions.
- Enhanced the usage of `ensureElectronIpc()` for type-safe IPC calls in service layers.
- Updated `BrowserWindowsCtr` and `NotificationCtr` to utilize the new IPC method structure, improving encapsulation and clarity.
- Refactored service methods to eliminate manual string concatenation for IPC event names, ensuring better maintainability.
Signed-off-by: Innei <tukon479@gmail.com>
---------
Signed-off-by: Innei <tukon479@gmail.com>
* lint: Clean breakpoints
* build: Add CI to check
* build: Add `next` branch
* build: Remove markdown files
* fix: CI hang out
* fix: Show warning on GitHub
* feat: Send comment
* fix: CI error
* fix: show file list
* feat: change the root path to react-router-dom to render spa
* feat: disable / to /chat rewrite
* feat: change /settings labs image profile changelog to spa mode
* feat: use loading to dynamic loading
* fix: change the goback & knowledge/base url
* feat: change some nextjs router to react-router-dom use
* feat: link replace to react-router-dom
* fix: delete useless code
* feat: fix mobile agent settings page not work problem
* fix: fix the test
* fix: slove the router back
* fix: slove ts problem
* fix: change the router judge by servers
* feat: change AppRouter to Desktop Router & mobile Router to dynamic import
* fix: refactor the memory router to browser router
* feat: /chat delete pages & layouts dir
* feat: change all discover page to the spa
* feat: discover pages layout & pages routers get done
* feat: change all routes to outer routes
* feat: change the :slug to react-router loader to get
* feat: change NextJs Link useRouter useSearchParams change to react-router way
* fix: delete some layout tsx & update the ts
* feat: change local params get use ReactRouter Outlet context
* fix: fix hydrateFallback problem
* fix: fix build problem
* fix: change the changelog pages render
* feat: delete all nuqs
* feat: change the mobile me layout back
* chore: add mobile me layout back
* fix: discover find more link error fixed
* fix: add nuqs back & useQueryState back in oath
* fix: add files back
* fix: add files back
* feat: use starTransition to navigate url
* fix: close the loading in the layout loading
* chore: update test.ts in TopActions.tsx
* fix: delete useless code
* fix: fix mobile router goback fc
* fix: delete the changelog modal page
* feat: fix a lot router problem
* fix: fix useNav in discover page error problem
* feat: rollback some changes about layout
* fix: fixed the desktop knowledge page router
* fix: fixed usage router error
* fix: fixed router link error
* fix: fixed the url & new url not path problem
* fix: fixed the test
* feat: update the useQueryParams throttleMs params
* feat: use more simple way to update session hydration
* fix: delete useless code
* fix: delete uesless code
* fix: mobile chat settings go back
* fix: fix the reload was loading page problem
* fix: fixed the test error
* fix: add router ErrorBoundary
* test: test the loading error
* fix: try to fixed
* fix: test mobile
* feat: add loading back
♻️ refactor: consolidate image generation docs with server database setup
- Merge image-generation-setup content into work-with-server-side-database docs
- Remove duplicate image-generation-setup documentation files
- Add server-side database links to setup-development guides
- Add missing .env.development copy step to setup instructions
- Add .env.development to .gitignore for security
The setup script approach has been replaced by Docker Compose configuration
with .env.example.development file, eliminating documentation duplication
and providing a unified server-side development workflow.
* 🔨 chore: add image generation development environment setup
- Add setup-image-generation-dev.sh script for automated environment configuration
- Add English and Chinese documentation for image generation development setup
- Configure PostgreSQL and MinIO for local development with automatic bucket creation
- Include database migration and S3 environment variable configuration
* Update scripts/setup-image-generation-dev.sh
* add desktop
fix build
update release desktop ci
improve desktop build for pr workflow
update desktop build workflow
test auto updater
fix
fix release nightly channel
support shortcut framework
improve nightly version rule
add zip release
only add mac publish
fix static file relative issue
support delete files
fix lint
enable asar
add setting open in editor in menu
add electron store framework and locale update flow
fix default searchFCModel
refactor the electron server ipc to stable mode
improve electron dev workflow
improve electron build workflow
make qwen2.5b default
improve comment workflow
fix types
refactor code
improve window size of settings/provider
路由拦截器v3.5
fix RouteIntercept issue
improve log
use productName in package.json
update
add pin list for feature flag
update
sure settings update
make ollama as default provider in desktop
fix desktop close page issue
fix desktop default variants
improve to reduce bundle
improve to reduce bundle again
improve set desktop version workflow
add nightly icons
add prebuild scripts to reduce package size
add to test prebuild
fix workflow
try to add sign and notarize for mac in workflow
try to add sign and notarize
add i18n for menu and main
update menu i18n
add i18n framework
add menu implement and setting
improve layout design for desktop
update Author
fix failed register protocol
fix prod building
fix tests
fix open error of mac and windows
improve lint
update pr comment
add service framework
add fileSearchService
improve
fix release workflow
add header
improve pr workflow fetch
improve client fetch
add linux upload workflow
improve workflow and implement
fix build electron in ci
build the desktop framework
fix build electron in ci
update tsconfig
fix desktop build workflow
finish desktop build workflow
fix workflow build steps
update workflow
test release workflow
refactor
update
update
improve loading state
refactor the 404 error
* 重构存储路径,统一到一个 lobehub-storage 下,方便未来用户自定义存储路径
* fix lint
* update
* try to fix windows open issue
* rename
* fix storage
* refactor the remote server sync
* refactor the request method
* 完成服务端同步实现逻辑
* fix lint
* save size
* refactor to make sure different instance of ipc channel
* clean log
* fix refresh
* fix tools calling
* fix auth callback issue
* update workflow
* add window ico
* push
* update
* add beta release
* fix update issue
* 完成官方实例链接
* fix
* fix stdio
* ✨ feat: pglite 迁移实现
refactor modal name
pin pglite@0.2.13
add serverExternalPackages for pglite
fix tests
update model
remove migration
back previous test file
* 💚 build: fix build with ReactScan
* clean
* refactor with isDBinit
* fix test