Skip to content

feat(observe): add initial package structure and configuration for @flowiseai/observe#6270

Merged
jocelynlin-wd merged 2 commits intomainfrom
feat/observe-sdk-executions-init
Apr 22, 2026
Merged

feat(observe): add initial package structure and configuration for @flowiseai/observe#6270
jocelynlin-wd merged 2 commits intomainfrom
feat/observe-sdk-executions-init

Conversation

@jocelynlin-wd
Copy link
Copy Markdown
Contributor

  • 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.

FLOWISE-574

demo:

observe-sdk-executions-init.mov

…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.
@jocelynlin-wd jocelynlin-wd requested a review from j-sanaa April 22, 2026 17:56
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread packages/observe/src/features/executions/hooks/useExecutionPoll.ts Outdated
- 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.
@jocelynlin-wd jocelynlin-wd merged commit d226cc9 into main Apr 22, 2026
7 checks passed
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