-
Notifications
You must be signed in to change notification settings - Fork 122
1570 1 #3566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ivicac
commented
Nov 25, 2025
- 1570 client - Set currentSelectedNode in the Copilot state
- 1570 client - Use shallow for filtering state
- 1570 client - Improve thread suggestions
- 1570 Improve Additional Rules prompt
- 0 Update CLAUDE.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR enhances the AI Copilot functionality by improving context awareness, updating thread suggestions to be workflow-specific, and refining the AI prompt instructions. It also includes documentation updates to reflect the current technology stack.
- Set the currently selected node in the Copilot state to provide better context for AI responses
- Optimize Zustand store selectors using
useShallowfor improved performance - Replace generic thread suggestions with workflow-specific prompts
- Improve AI Additional Rules prompt with clearer instructions about visual representations, CHAT mode behavior, and node context prioritization
- Update CLAUDE.md with current technology versions and expanded development guidance
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| WorkflowEditorSpringAIAgent.java | Enhanced AI prompt rules for better control over responses, visual representations, and node-aware context |
| CopilotRuntimeProvider.tsx | Added currentSelectedNode to agent state to provide context about the active workflow node |
| useNodeClick.ts | Refactored to use shallow selectors for optimized state management performance |
| thread.tsx | Updated default suggestions from generic examples to workflow-specific prompts |
| CLAUDE.md | Updated technology versions and added extensive debugging, testing, and development workflow sections |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
client/src/shared/components/copilot/runtime-providers/CopilotRuntimeProvider.tsx
Outdated
Show resolved
Hide resolved
|
|




