Skip to content

Feature/collapsing nodes#56

Merged
felix-schultz merged 11 commits intodevfrom
feature/collapsing-nodes
May 3, 2025
Merged

Feature/collapsing nodes#56
felix-schultz merged 11 commits intodevfrom
feature/collapsing-nodes

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

  • Added a feature to collapse nodes
  • Fixed some Bugs
  • Added Resizable Comment Nodes

…nced message handling

feat(chat_event): implement PushGlobalSessionNode and PushLocalSessionNode for session management
refactor(commands): reorganize command modules and improve formatting
fix(history): add PartialEq to message content enums for better comparison
- Layer Navigation
@felix-schultz felix-schultz requested a review from Copilot May 3, 2025 13:07
@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented May 3, 2025

Here's the code health analysis summary for commits 223e3e5..aed1937. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource Rust LogoRust❌ Failure
❗ 92 occurences introduced
🎯 42 occurences resolved
View Check ↗
DeepSource JavaScript LogoJavaScript❌ Failure
❗ 206 occurences introduced
🎯 81 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Copy Markdown
Contributor

Copilot AI left a 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 introduces new nodes for managing chat sessions, adds features for generating responses from strings and extracting message content, and improves desktop settings by adding default directories for logs and temporary files. Key changes include:

  • Implementation of new Push Local Session and Push Global Session nodes.
  • Introduction of ResponseFromString and ExtractContent nodes for AI generative functionality.
  • Updates to desktop settings and Tauri command implementations to support log and temporary directories.

Reviewed Changes

Copilot reviewed 99 out of 99 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/core/Cargo.toml Added the once_cell dependency.
packages/catalog/src/events/chat_event/push_local_session.rs Introduced the PushLocalSession node (note potential naming inconsistency).
packages/catalog/src/events/chat_event/push_global_session.rs Introduced the PushGlobalSession node.
packages/catalog/src/ai/generative/llm/response/response_from_string.rs Added a new node for generating responses from strings.
packages/catalog/src/ai/generative/llm/history/message/extract_content.rs Added a node to extract text content from message structures.
apps/desktop/src-tauri/src/settings.rs Added default directory functions for logs and temporary files.
apps/desktop/src-tauri/src/lib.rs Updated configuration to register new log and temporary stores.
apps/desktop/src-tauri/src/functions/flow/run.rs Updated board execution and log querying commands.
apps/desktop/src-tauri/src/functions/flow/board.rs Updated board retrieval to include app IDs in the response.
apps/desktop/components/tauri-provider.tsx Adjusted open boards type and routes to include app information.
... Other files updated to reflect the new features and API changes.
Comments suppressed due to low confidence (2)

packages/catalog/src/events/chat_event/push_local_session.rs:25

  • The display name for the PushLocalSession node is set to 'Push Global Session', which is inconsistent with its purpose. Please update it to 'Push Local Session'.
let mut node = Node::new("events_chat_push_local_session", "Push Global Session", "Pushes a new local session to the chat. The session persists for one chat session.", "Events/Chat",);

packages/catalog/src/ai/generative/llm/response/response_from_string.rs:27

  • [nitpick] The node description is empty; consider providing a concise description to explain its purpose, such as 'Generates a structured response from an input string'.
let mut node = Node::new("ai_generative_llm_response_from_string", "Response From String", "", "AI/Generative/Response",);

@felix-schultz felix-schultz merged commit a02e52b into dev May 3, 2025
0 of 5 checks passed
@felix-schultz felix-schultz deleted the feature/collapsing-nodes branch May 3, 2025 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants