@burdenoff/microfe-auth 2026.1101.2 → 2026.1101.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -7,6 +7,27 @@ Part of the [Burdenoff](https://burdenoff.com) platform by
7
7
 
8
8
  See `AGENTS.md` for development commands and architecture details.
9
9
 
10
+ ## Shell imports
11
+
12
+ Hosts that only need auth state or context-switcher hooks can use the public
13
+ shell entries without statically importing auth routes and challenge UI:
14
+
15
+ ```ts
16
+ import { useAuthStore } from '@burdenoff/microfe-auth/store';
17
+ import {
18
+ useContextSwitcherData,
19
+ useWorkspaceSyncEffect,
20
+ useProjectSyncEffect,
21
+ } from '@burdenoff/microfe-auth/shell';
22
+ ```
23
+
24
+ These entries re-export the same canonical store and hooks as the root entry;
25
+ they do not create another store, change context loading, or defer logout
26
+ cleanup. The root entry and its existing exports remain supported. Both new
27
+ entries ship declarations, and the build checks their packed static graph.
28
+ Consumers must adopt a published package version containing these exports;
29
+ source-linked tests alone are not a published compatibility guarantee.
30
+
10
31
  ## Workspace and project selection
11
32
 
12
33
  The shared context switcher issues a workspace token and reads `myProjects` to