Commit Graph

975 Commits

Author SHA1 Message Date
admin afd37f961a style(ui-control): remove focus ring, make focus/open states match hover
Build and Deploy / Build and Push Docker Image (push) Successful in 2m10s
- Remove box-shadow focus ring that looked jarring
- Use same background and border color for hover/focus/open states
- More consistent visual feedback without glowing effect
2026-08-08 16:48:04 +08:00
admin a45cdda3aa style(select): make dropdown menu more compact to match sm-size trigger
Build and Deploy / Build and Push Docker Image (push) Successful in 1m49s
- Menu padding: 8px → 6px
- Menu gap: 6px → 4px
- Item min-height: var(--ui-height-sm) → calc(var(--ui-height-sm) - 4px)
- Item padding: 0.5rem 0.75rem → 0.375rem 0.5rem
2026-08-08 16:07:58 +08:00
admin e425015cb1 style(NodeSwitcher): use sm size for more compact appearance
Build and Deploy / Build and Push Docker Image (push) Successful in 2m3s
- Change from md (36px/14px) to sm (28px/12px in default, 24px/11px in compact)
- Icon size 12px to match font size
2026-08-08 15:45:46 +08:00
admin eb85a8536d style(NodeSwitcher): unify style with Select component for consistency
Build and Deploy / Build and Push Docker Image (push) Successful in 4m19s
- Use ui-control and ui-select-trigger classes
- Change height to var(--ui-height-md) (36px)
- Change font-size to var(--ui-font-md) (14px)
- Remove max-width constraint, let width adapt to content
- Icon size from 12px to 14px
- Menu width now matches button width exactly
- Add arrow icon rotation on open
2026-08-08 15:25:18 +08:00
admin e4b9602d0e fix(select): prevent hover state from changing active item background color
Build and Deploy / Build and Push Docker Image (push) Successful in 1m57s
- Exclude .is-active from hover selector
- Add explicit :hover rule for .is-active to maintain selected color
2026-08-08 05:08:33 +08:00
admin 2902919ae5 style(select): improve select item hover and active state visual hierarchy
Build and Deploy / Build and Push Docker Image (push) Successful in 2m1s
- Use --bg-hover for hover state (more visible)
- Add font-weight: 500 to active/selected state for better distinction
2026-08-08 04:29:19 +08:00
admin 8ef0ff8507 fix(NodeSwitcher): move all hooks before conditional return to comply with React hooks rules
Build and Deploy / Build and Push Docker Image (push) Successful in 2m1s
- All hooks (useState, useCallback, useEffect) must be called before any conditional return
- Add document check in updateRoleState
- Merge SSR and isMaster checks into single return at the end
2026-08-08 04:15:55 +08:00
admin 36d39e4a47 fix(NodeSwitcher): return null during SSR to avoid hydration mismatch
Build and Deploy / Build and Push Docker Image (push) Successful in 1m57s
2026-08-08 03:37:15 +08:00
admin 901de3e340 fix(ssr): avoid accessing window in EventBusDriver constructor during SSR
Build and Deploy / Build and Push Docker Image (push) Successful in 1m53s
- Add window check in EventBusDriver constructor
- Fix original-api.ts localStorage access
- Prevent SSR hydration errors
2026-08-08 03:23:13 +08:00
admin 455f46caa0 fix(ssr): avoid accessing localStorage during SSR initialization
Build and Deploy / Build and Push Docker Image (push) Successful in 1m53s
- Initialize activeInterconnectNodeId with empty string
- Read from localStorage only in client-side
- Defer selected state initialization in NodeSwitcher to useEffect
2026-08-08 03:15:51 +08:00
admin 8be7e8ad2f fix(NodeSwitcher): avoid SSR hydration error by deferring portal creation
Build and Deploy / Build and Push Docker Image (push) Successful in 1m59s
2026-08-08 03:11:47 +08:00
admin e2063dbeb8 fix(NodeSwitcher): use ui-select-menu/item classes for consistent styling
Build and Deploy / Build and Push Docker Image (push) Successful in 1m57s
- Use createPortal to render menu in body
- Add ChevronDown icon
- Add position calculation for menu placement
- Fix ref usage with useRef instead of useState
2026-08-08 02:50:10 +08:00
admin ce9d1b4f1c chore(ci): remove debug steps after token verification successful
Build and Deploy / Build and Push Docker Image (push) Successful in 1m59s
2026-08-08 02:45:04 +08:00
admin 7430457f35 trigger(ci): re-run to verify TOKEN secret
Build and Deploy / Build and Push Docker Image (push) Successful in 4m4s
2026-08-08 02:21:31 +08:00
admin 2cda95ddbd fix(ci): pass TOKEN via environment variable to docker login step
Build and Deploy / Build and Push Docker Image (push) Failing after 6s
2026-08-08 01:58:25 +08:00
admin 5db4364615 fix(ci): remove existing repo directory before git clone
Build and Deploy / Build and Push Docker Image (push) Failing after 7s
2026-08-08 01:34:14 +08:00
admin ea5f712f8c debug(ci): add token debug step to verify secret is passed correctly
Build and Deploy / Build and Push Docker Image (push) Failing after 0s
2026-08-08 01:15:22 +08:00
admin bf7e87b582 refactor(ci): use manual git clone instead of actions/checkout to avoid node dependency
Build and Deploy / Build and Push Docker Image (push) Failing after 9s
- Install Node.js manually using curl
- Use git clone instead of actions/checkout@v4
- Follow license project CI approach
2026-08-08 00:54:51 +08:00
admin 4d38d5df3c fix(ci): explicitly set PATH environment variable for node container
Build and Deploy / Build Frontend (push) Successful in 1m0s
Build and Deploy / Build and Push Docker Image (push) Failing after 1s
2026-08-07 21:49:59 +08:00
admin 870ee1ce85 fix(ci): remove default working-directory to avoid chdir error before checkout
Build and Deploy / Build Frontend (push) Successful in 1m2s
Build and Deploy / Build and Push Docker Image (push) Failing after 0s
2026-08-07 21:48:02 +08:00
admin 4c10a0032f debug(ci): add step to verify Node.js in PATH before checkout
Build and Deploy / Build Frontend (push) Failing after 2s
Build and Deploy / Build and Push Docker Image (push) Has been skipped
2026-08-07 21:45:28 +08:00
admin 42cb37b5e3 refactor(ci): use container-based approach like license project
Build and Deploy / Build Frontend (push) Successful in 2m2s
Build and Deploy / Build and Push Docker Image (push) Failing after 1s
- Split into build and docker jobs
- Use node:22 container for frontend build
- Add pnpm cache for faster builds
- Support multiple package managers for Docker CLI installation
2026-08-07 21:28:59 +08:00
admin 2bf410c825 fix(ci): install Node.js directly in runner container with apt-get
Build and Deploy / build-and-push (push) Failing after 0s
2026-08-06 15:40:56 +08:00
admin f3c89d35a7 fix(ci): use node:22-bookworm container to ensure Node.js availability
Build and Deploy / build-and-push (push) Failing after 22s
2026-08-06 15:38:42 +08:00
admin 9589572b4c fix(ci): install Node.js before checkout to fix 'node not found' error
Build and Deploy / build-and-push (push) Failing after 0s
2026-08-06 15:34:18 +08:00
admin ec38778951 trigger(ci): re-run CI pipeline
Build and Deploy / build-and-push (push) Failing after 49s
2026-08-06 15:19:09 +08:00
admin 727c1dd8cb revert(ci): restore working CI config from 060a8f1
Build and Deploy / build-and-push (push) Failing after 2s
2026-08-06 14:44:03 +08:00
admin f68c092520 fix(ci): setup Node.js before pnpm to avoid 'node not found' error
Build and Deploy / build-and-push (push) Failing after 2s
2026-08-06 14:41:24 +08:00
admin 2cc584713f fix(NodeSwitcher): use custom dropdown instead of native select for consistent styling
Build and Deploy / build-and-push (push) Failing after 1m1s
2026-08-06 14:37:43 +08:00
admin 060a8f132d revert: remove SetTrustedProxies modification
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-27 03:23:51 +08:00
admin 19b3fb60f7 fix(router): trust all proxies to fix MCP 'invalid Host header' error
Build and Deploy / build-and-push (push) Successful in 53s
- Set TrustedProxies to nil to allow reverse proxy requests
- Add explicit routes for /mcp without trailing slash
2026-07-27 03:10:24 +08:00
admin 2c9b44aeca fix(nginx): add proxy config for /mcp and /open2api endpoints
Build and Deploy / build-and-push (push) Successful in 53s
2026-07-27 03:04:20 +08:00
admin bcf7cbbeea refactor(mcp): remove standalone HTTP mode, keep only built-in endpoint and stdio
Build and Deploy / build-and-push (push) Successful in 54s
- MCP Server is now only available via built-in /mcp endpoint or stdio
- Remove --http flag and standalone HTTP server code
- Simplify documentation and frontend settings
2026-07-27 02:52:46 +08:00
admin f3a44a901e refactor(mcp): consolidate MCP implementation into internal package
Build and Deploy / build-and-push (push) Successful in 54s
- Move MCP tools registration to internal/mcp
- cmd/mcp now only contains CLI entry logic
- Support env vars TASKPOOL_URL/TASKPOOL_TOKEN for stdio mode
- Remove duplicate client.go from cmd/mcp
2026-07-27 02:43:01 +08:00
admin 066383de83 feat(mcp): integrate MCP Server into backend service as built-in endpoint
Build and Deploy / build-and-push (push) Successful in 54s
- Add MCP Controller and register /mcp route
- MCP Server now uses OpenAPI Token for authentication
- Update frontend settings to show built-in MCP endpoint config
- Update docs to reflect integrated MCP endpoint
2026-07-27 02:38:09 +08:00
admin f004cfc937 style(ui): unify settings input fields with consistent label style
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-27 02:27:12 +08:00
admin 334152417b feat(ui): show both stdio and HTTP mode MCP config in settings
Build and Deploy / build-and-push (push) Successful in 54s
2026-07-27 02:25:48 +08:00
admin 6709c4ed77 feat(ui): improve settings form labels and descriptions for clarity
Build and Deploy / build-and-push (push) Successful in 53s
2026-07-27 02:22:35 +08:00
admin d104442e6b feat(mcp): add HTTP mode for remote Agent access (Hermes/OpenClaw URL support)
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-27 02:20:30 +08:00
admin a9024ff6f8 feat(ui): add size system (sm/md/lg) + compact mode + remove collapsed dot
Build and Deploy / build-and-push (push) Successful in 53s
2026-07-26 20:14:42 +08:00
admin 29319ee2d3 docs: add MCP agent skill document
Build and Deploy / build-and-push (push) Successful in 1m15s
2026-07-26 19:30:57 +08:00
admin a0a90f558c feat(mcp): add official MCP Server for AI Agent integration 2026-07-26 19:30:43 +08:00
admin 7f54256ac0 fix(ui): narrow collapsed sidebar to 52px
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-26 16:44:03 +08:00
admin eb8df6de0f fix(ui): remove sidebar collapse footer and unify header control heights
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-26 16:27:24 +08:00
admin 88ca62b6c0 feat(ui): collapsible sidebar and move logout into top user menu
Build and Deploy / build-and-push (push) Successful in 53s
2026-07-26 16:07:37 +08:00
admin 90e0552f7b fix(docker): keep /sbin in PATH so apk works during image build
Build and Deploy / build-and-push (push) Successful in 59s
2026-07-26 15:55:13 +08:00
admin 7043c166ec feat(docker): install mise in standalone image for language runtime
Build and Deploy / build-and-push (push) Failing after 12s
2026-07-26 15:44:50 +08:00
admin 5fe8639342 fix(mysql): use loc=Local to avoid unknown time zone Asia/Shanghai
Build and Deploy / build-and-push (push) Successful in 53s
2026-07-26 15:40:28 +08:00
admin 472b956203 fix(docker): surface backend crash logs in docker logs and print DB target
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-26 15:20:56 +08:00
admin afe7833539 fix(docker): do not hardcode sqlite; allow env to override config.ini
Build and Deploy / build-and-push (push) Successful in 53s
2026-07-26 15:14:19 +08:00