Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -125,7 +125,7 @@ Cache lives in the shared-store two-tier helper (#39). Key:
Channel: `feature-flags:invalidate` (under the shared-store namespace).
Web boot calls `subscribeFeatureFlagCache()` once from
`cache-bootstrap.server.ts`. On any flag mutation (admin save, CLI
toggle, Stripe-driven activation) the publisher calls
toggle, Legacy-Provider-driven activation) the publisher calls
`invalidateFlagCache(flagName)`; every replica drops its L1 entirely on
receipt (cheap — mutations are rare and L1 entries are tiny).
@@ -145,7 +145,7 @@ against a probe context before persisting.
## Client SDK + SSR hydration
```tsx
import { FeatureFlagProvider, useFeatureFlag } from "@toolctrl/feature-flags/client";
import { FeatureFlagProvider, useFeatureFlag } from "@hivegrid/feature-flags/client";
// root.tsx loader — pre-evaluate every flag the tree consumes
export async function loader({ request, params }: Route.LoaderArgs) {
@@ -186,11 +186,11 @@ a new flag is referenced.
## CLI
```bash
toolctrl-cli feature-flags list # every flag with state
toolctrl-cli feature-flags list --enabled=true # filter
toolctrl-cli feature-flags enable <flag-name>
toolctrl-cli feature-flags disable <flag-name>
toolctrl-cli feature-flags set-rules <flag-name> --file=rules.json # or '-' for stdin
hivegrid-cli feature-flags list # every flag with state
hivegrid-cli feature-flags list --enabled=true # filter
hivegrid-cli feature-flags enable <flag-name>
hivegrid-cli feature-flags disable <flag-name>
hivegrid-cli feature-flags set-rules <flag-name> --file=rules.json # or '-' for stdin
```
Every mutation writes an audit row and triggers a pub/sub