feat(observe): add initial package structure and configuration for @flowiseai/observe#6270
Merged
jocelynlin-wd merged 2 commits intomainfrom Apr 22, 2026
Merged
Conversation
…lowiseai/observe - Introduced the @flowiseai/observe package with a modular architecture for observing AI agent executions and evaluations. - Added essential files including ESLint and Prettier configurations, Jest setup, and TypeScript configuration. - Created foundational components and documentation for usage, testing, and architecture. - Updated pnpm-lock.yaml with new dependencies for the observe package. This commit sets the groundwork for further development of the observability features.
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces the @flowiseai/observe package, a domain-driven modular SDK for visualizing AI agent runtime observability. It includes UI primitives, execution list and detail views, and an infrastructure layer for API communication. Feedback focuses on ensuring proper cleanup of global event listeners in the resizable sidebar to prevent memory leaks, adding safety checks for the Clipboard API in non-secure contexts, and correcting the dependency array in the execution polling hook to ensure consistent behavior.
- Updated README.md to clarify the permissions required for the API token. - Added cleanup logic in ExecutionDetail component to prevent memory leaks by removing event listeners on unmount. - Improved clipboard copy functionality to check for navigator.clipboard availability. - Adjusted useExecutionPoll hook dependencies to include fetchExecution for better stability. - Enhanced unit tests for useExecutionTree and useObserveApi to ensure proper error handling and functionality.
j-sanaa
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit sets the groundwork for further development of the observability features.
FLOWISE-574
demo:
observe-sdk-executions-init.mov