Skip to content

Commit a060082

Browse files
docs(agent-docs): update documentation [skip ci] (#545)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
1 parent ce1c301 commit a060082

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

agent-docs/docs/design/deferred-registrations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export const register: ModuleRegisterFunction<FireflyRuntime> = runtime => {
1919
runtime.registerRoute({ path: "/dashboard", element: <Dashboard /> });
2020

2121
// Phase 2: deferred, re-runs when data/flags change
22-
return (data, flags) => {
23-
if (flags.showAdminPanel) {
22+
return (runtime, data, operation) => {
23+
if (data.role === "admin") {
2424
runtime.registerNavigationItem({
2525
$id: "admin",
2626
$label: "Admin",

agent-docs/docs/specs/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ Detailed specifications and API documentation for `@squide/*` packages.
66

77
| Package | Path | Key APIs |
88
|---------|------|----------|
9-
| `@squide/core` | `packages/core` | `FireflyRuntime`, event bus, logging, plugins |
9+
| `@squide/core` | `packages/core` | `Runtime` (abstract base), event bus, logging, plugins |
1010
| `@squide/react-router` | `packages/react-router` | Route/navigation registration, `useNavigationItems`, `useRenderedNavigationItems` |
11-
| `@squide/firefly` | `packages/firefly` | `initializeFirefly`, `AppRouter`, `useIsBootstrapping`, data fetching hooks |
11+
| `@squide/firefly` | `packages/firefly` | `FireflyRuntime`, `initializeFirefly`, `AppRouter`, `useIsBootstrapping`, data fetching hooks |
1212

1313
## Integrations
1414

@@ -20,6 +20,10 @@ Detailed specifications and API documentation for `@squide/*` packages.
2020
| `@squide/msw` | `packages/msw` | `MswPlugin`, request handler registration |
2121
| `@squide/fakes` | `packages/fakes` | `LocalStorageSessionManager`, `InMemoryLaunchDarklyClient` |
2222

23+
## Build Tooling (internal)
24+
25+
Internal packages not intended for direct consumption. See [ARCHITECTURE.md → Build Tooling](../../ARCHITECTURE.md#build-tooling-internal) for the list.
26+
2327
## Source Layout
2428

2529
Each package follows: `packages/<name>/src/` for source, `packages/<name>/tests/` for tests.

0 commit comments

Comments
 (0)