- Made SkillCollaborationManager exportable for external use.
- Introduced openCounts to track the number of open instances for each file.
- Updated lifecycle methods to manage file state more effectively, ensuring proper cleanup on close.
- Added a new test suite for SkillCollaborationManager to validate collaboration state and lifecycle behavior.
- Introduced a new module to manage Loro integration for web environments.
- Updated to ensure Loro is initialized before establishing connections.
- Enhanced hook to conditionally enable collaboration based on workflow state.
- Added tests for to verify connection handling and initialization behavior.
- Refactored components to utilize the updated collaboration hooks, improving overall workflow collaboration experience.
Follow-up to SSR prefetch migration (2833965). Eliminates the Zustand
middleman that was syncing TanStack Query data into a separate store.
- Remove useGlobalPublicStore Zustand store entirely
- Create hooks/use-global-public.ts with useSystemFeatures,
useSystemFeaturesQuery, useIsSystemFeaturesPending, useSetupStatusQuery
- Migrate all 93 consumers to import from @/hooks/use-global-public
- Simplify global-public-context.tsx to a thin provider component
- Update 18 test files to mock the new hook interface
- Fix SetupStatusResponse.setup_at type from Date to string (JSON)
- Fix setup-status.spec.ts mock target to match consoleClient
BREAKING CHANGE: useGlobalPublicStore is removed. Use useSystemFeatures()
from @/hooks/use-global-public instead.