7aab4529e6
chore: lint for state hooks ( #31088 )
2026-01-16 11:58:28 +08:00
a7826d9ea4
feat: agent add context
2026-01-16 11:47:55 +08:00
4bff0cd0ab
fix: resolve 'Expand all chunks' button not working ( #31074 )
...
Co-authored-by: GlobalStar117 <GlobalStar117@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com >
2026-01-16 11:34:42 +08:00
64ddcc8960
chore: fix choose provder id
2026-01-16 11:31:03 +08:00
c7bca6a3fb
fix(skill): restore auto-pin on edit behavior (VS Code style)
2026-01-16 11:26:13 +08:00
f1ce933b33
fix(skill): address code review issues for tab management
...
1. Add confirmation dialog when closing dirty tabs
2. Fix file double-click race condition with useDelayedClick hook
3. Fix previewTabId orphan state in closeTab
4. Remove auto-pin on every keystroke (VS Code behavior)
5. Extract shared MenuItem component to eliminate duplication
6. Make nodeId optional when node is provided (reduce props drilling)
2026-01-16 11:20:49 +08:00
17990512ce
fix(skill): add throttle to folder toggle and validate pinTab
...
- Use es-toolkit throttle with leading edge to prevent folder toggle
flickering on double-click (3 toggles reduced to 1)
- Add validation in pinTab to check if file exists in openTabIds
2026-01-16 11:20:49 +08:00
a30fb5909b
feat(skill): implement VS Code-style preview/pinned tab management
...
- Single-click file in tree opens in preview mode (temporary, replaceable)
- Double-click file opens in pinned mode (permanent)
- Preview tabs display with italic filename
- Editing content auto-converts preview tab to pinned
- Double-clicking preview tab header converts to pinned
- Only one preview tab can exist at a time
2026-01-16 11:20:49 +08:00
3dea5adf5c
fix: change caused problem
2026-01-16 11:00:56 +08:00
5aca563a01
fix: migrations
2026-01-16 10:26:53 +08:00
bf1ebcdf8f
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-16 10:05:12 +08:00
3252748345
feat(skill): add oRPC contract and hook for file download URL
...
Add frontend oRPC integration for the existing backend download URL
endpoint to enable file downloads from the asset tree.
2026-01-16 09:55:17 +08:00
c98870c3f4
refactor: always preserve marketplace search state in URL ( #31069 )
...
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com >
2026-01-16 08:52:53 +09:00
72eb29c01b
fix: fix duplicate agent context warnings in tool node
2026-01-16 00:42:42 +08:00
0f3156dfbe
fix: list multiple @mentions
2026-01-16 00:19:28 +08:00
b21875eaaf
fix: simplify @llm warning
2026-01-16 00:08:51 +08:00
2591615a3c
Merge branch 'zhsama/agent-at-nodes' into feat/pull-a-variable
2026-01-15 23:51:35 +08:00
691554ad1c
feat: 展示@agent引用
2026-01-15 23:32:14 +08:00
f43fde5797
feat: Enhance context variable handling for Agent and LLM nodes
2026-01-15 23:26:19 +08:00
b06c7c8f33
ci: disable limit annotation ( #31072 )
2026-01-15 23:04:26 +08:00
1a2fce7055
ci: eslint annotation ( #31056 )
2026-01-15 21:49:46 +08:00
783cdb1357
feat(skill): add inline rename and guide lines to file tree
...
Add TreeEditInput component for inline file/folder renaming with keyboard
support (Enter to submit, Escape to cancel). Add TreeGuideLines component
to render vertical indent lines based on node depth for better visual
hierarchy in the tree view.
Reorganize file tree components into dedicated `file-tree` subdirectory
for better code organization.
2026-01-15 21:30:02 +08:00
2de17cb1a4
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-15 20:47:34 +08:00
3b6946d3da
refactor(skill): centralize asset tree data fetching with custom hooks
...
Extract repeated appId retrieval and tree data fetching patterns into
dedicated hooks (useSkillAssetTreeData, useSkillAssetNodeMap) to reduce
code duplication across 6 components and leverage TanStack Query's
select option for efficient nodeMap computation.
2026-01-15 19:45:33 +08:00
b8adc8f498
fix(web): memoize skill sidebar menu offset
2026-01-15 19:45:32 +08:00
ca7c4d2c86
fix(skill): improve accessibility for file tree and tabs
...
- Convert div with onClick to proper button elements for keyboard access
- Add focus-visible ring styles to all interactive elements
- Add ARIA attributes (role, aria-selected, aria-expanded) to tree nodes
- Add keyboard navigation (Enter/Space) support to tree items
- Mark decorative icons with aria-hidden="true"
- Add missing i18n keys for accessibility labels
- Fix typography: use ellipsis character (…) instead of three dots
2026-01-15 19:45:32 +08:00
d8bafb0d1c
refactor(app-asset): remove deprecated file download resource and streamline download URL handling with pre-signed storage
2026-01-15 19:28:15 +08:00
cd0724b827
refactor(app-asset-service): remove unused signed proxy URL generation and improve error handling for download URL
2026-01-15 19:28:15 +08:00
6e66e2591b
feat(skill): disable file tree during mutations
...
- Add useIsMutating hook to track ongoing mutations
- Apply pointer-events-none and opacity-50 when mutating
- Prevents user interaction during file operations
2026-01-15 18:14:10 +08:00
fd0556909f
fix(skill): default folders to collapsed state on load
...
- Add openByDefault={false} to Tree component
- react-arborist defaults openByDefault to true, causing all folders
to be expanded on page refresh
2026-01-15 18:05:42 +08:00
ac2120da1e
refactor(skill): separate DropTip from tree container
...
- Move DropTip component outside the tree flex container
- Use Fragment to group tree container, DropTip and context menu
- DropTip is now an independent fixed element at the bottom
2026-01-15 18:05:42 +08:00
f3904a7e39
fix(skill): use dynamic height for file tree to fix scroll issues
...
- Replace fixed height={1000} with dynamic containerSize.height
- Use useSize hook from ahooks to observe container dimensions
- Fallback to 400px default height for initial render
- Fixes scroll issues when collapsing folders
2026-01-15 18:05:42 +08:00
b3923ec3ca
fix: translations
2026-01-15 18:05:41 +08:00
9ffdad6465
fix: click tool inner caused blur
2026-01-15 17:58:38 +08:00
f247ebfbe1
feat: Await sub-graph save before syncing workflow draft
2026-01-15 17:53:28 +08:00
2b021e8752
fix: remove hardcoded 48-character limit from text inputs ( #30156 )
...
Signed-off-by: majiayu000 <1835304752@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-01-15 17:43:00 +08:00
713e040481
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-15 17:26:58 +08:00
f58f36fc8f
feat(skill): add file right-click/more menu and refactor naming
...
- Add right-click context menu and '...' more button for files
- Files now support Rename and Delete operations
- Created file-node-menu.tsx for file-specific menu
- Refactor component naming for consistency
- file-item-menu.tsx -> file-node-menu.tsx (unify 'node' terminology)
- file-operations-menu.tsx -> folder-node-menu.tsx (clarify folder menu)
- file-tree-context-menu.tsx -> tree-context-menu.tsx (simplify)
- file-tree-node.tsx -> tree-node.tsx (simplify)
- files.tsx -> file-tree.tsx (more descriptive)
- Renamed internal components: FileTreeNode -> TreeNode, Files -> FileTree
- Add context menu node highlight
- When right-clicking a node, it now shows hover highlight
- Subscribed to contextMenu.nodeId in TreeNode component
2026-01-15 17:26:12 +08:00
195cd2c898
chore: show line numbers to skill editor
2026-01-15 17:21:12 +08:00
6bb09dc58c
feat(app-assets): add file download functionality with pre-signed URLs and enhance asset management
2026-01-15 17:20:10 +08:00
33f3374ea6
refactor(sandbox): simplify sandbox_layer by removing ArchiveSandboxStorage and updating event handling
2026-01-15 17:20:10 +08:00
41baaca21d
feat(sandbox): integrate ArchiveSandboxStorage into AdvancedChat and Workflow app generators
2026-01-15 17:20:10 +08:00
d650cde323
feat: skill editor choose tool
2026-01-15 17:16:01 +08:00
d641c845dd
feat: Pass workflow draft sync callback to sub-graph
2026-01-15 17:12:30 +08:00
e651c6cacf
fix: css
2026-01-15 16:45:40 +08:00
2e10d67610
perf: Replace topOffset prop with withHeader in Panel component
2026-01-15 16:44:15 +08:00
eab395f58a
refactor: sync file tree open state
2026-01-15 16:39:22 +08:00
2f92957e15
fix: css
2026-01-15 16:14:51 +08:00
e89d4e14ea
Merge branch 'main' into feat/pull-a-variable
2026-01-15 16:14:15 +08:00
5525f63032
refactor: sub-graph panel use shared Panel component
2026-01-15 16:12:39 +08:00