@burdenoff/fe-libs 2026.1112.6 → 2026.1113.2

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.
Files changed (57) hide show
  1. package/dist/shared/assistant/i18nManifest.d.ts +40 -0
  2. package/dist/shared/assistant/i18nManifest.js +40 -0
  3. package/dist/shared/proactive/ProactiveProvider.d.ts +67 -0
  4. package/dist/shared/proactive/ProactiveProvider.js +128 -0
  5. package/dist/shared/proactive/actions.d.ts +101 -0
  6. package/dist/shared/proactive/actions.js +71 -0
  7. package/dist/shared/proactive/activity.d.ts +27 -0
  8. package/dist/shared/proactive/activity.js +37 -0
  9. package/dist/shared/proactive/adapters.d.ts +54 -0
  10. package/dist/shared/proactive/adapters.js +62 -0
  11. package/dist/shared/proactive/anchors.d.ts +47 -0
  12. package/dist/shared/proactive/anchors.js +53 -0
  13. package/dist/shared/proactive/budget.d.ts +17 -0
  14. package/dist/shared/proactive/budget.js +30 -0
  15. package/dist/shared/proactive/capabilities.d.ts +26 -0
  16. package/dist/shared/proactive/capabilities.js +63 -0
  17. package/dist/shared/proactive/coalesce.d.ts +11 -0
  18. package/dist/shared/proactive/coalesce.js +15 -0
  19. package/dist/shared/proactive/context.d.ts +42 -0
  20. package/dist/shared/proactive/context.js +31 -0
  21. package/dist/shared/proactive/flags.d.ts +5 -0
  22. package/dist/shared/proactive/flags.js +11 -0
  23. package/dist/shared/proactive/index.d.ts +40 -0
  24. package/dist/shared/proactive/metadata.d.ts +48 -0
  25. package/dist/shared/proactive/metadata.js +126 -0
  26. package/dist/shared/proactive/operations.d.ts +96 -0
  27. package/dist/shared/proactive/operations.js +117 -0
  28. package/dist/shared/proactive/severityCopy.d.ts +4 -0
  29. package/dist/shared/proactive/severityCopy.js +10 -0
  30. package/dist/shared/proactive/snooze.d.ts +4 -0
  31. package/dist/shared/proactive/snooze.js +9 -0
  32. package/dist/shared/proactive/transport.d.ts +32 -0
  33. package/dist/shared/proactive/transport.js +124 -0
  34. package/dist/shared/proactive/types.d.ts +83 -0
  35. package/dist/shared/proactive/ui/ProactiveInbox.d.ts +20 -0
  36. package/dist/shared/proactive/ui/ProactiveInbox.js +78 -0
  37. package/dist/shared/proactive/ui/ProactiveSettingsPanel.d.ts +8 -0
  38. package/dist/shared/proactive/ui/ProactiveSettingsPanel.js +210 -0
  39. package/dist/shared/proactive/ui/SuggestionAnchorsLayer.d.ts +9 -0
  40. package/dist/shared/proactive/ui/SuggestionAnchorsLayer.js +140 -0
  41. package/dist/shared/proactive/ui/SuggestionBadge.d.ts +11 -0
  42. package/dist/shared/proactive/ui/SuggestionBadge.js +53 -0
  43. package/dist/shared/proactive/ui/SuggestionCard.d.ts +23 -0
  44. package/dist/shared/proactive/ui/SuggestionCard.js +119 -0
  45. package/dist/shared/proactive/ui/anchorLayerDom.d.ts +28 -0
  46. package/dist/shared/proactive/ui/anchorLayerDom.js +23 -0
  47. package/dist/shared/proactive/useProactiveSession.d.ts +56 -0
  48. package/dist/shared/proactive/useProactiveSession.js +150 -0
  49. package/dist/shared/proactive/useSuggestionControls.d.ts +25 -0
  50. package/dist/shared/proactive/useSuggestionControls.js +118 -0
  51. package/dist/shared/providers/shell/PermissionProvider.d.ts +16 -0
  52. package/dist/shared/providers/shell/PermissionProvider.js +51 -30
  53. package/dist/shared/providers/shell/index.d.ts +1 -1
  54. package/dist/shared-proactive.d.ts +2 -0
  55. package/dist/shared-proactive.js +21 -0
  56. package/dist/shared-providers-shell.js +14 -14
  57. package/package.json +5 -1
@@ -0,0 +1,150 @@
1
+ import { getStoredWorkspaceId as e } from "../graphql/fetch.js";
2
+ import { createActivityReporter as t } from "./activity.js";
3
+ import { isMissingAnyProactiveField as n, isMissingProactiveField as r, isProactiveUnsupported as i, markProactiveUnsupported as a, subscribeProactiveCapabilities as o } from "./capabilities.js";
4
+ import { createCoalescer as s } from "./coalesce.js";
5
+ import { parseProactiveSuggestions as c } from "./metadata.js";
6
+ import { useCallback as l, useEffect as u, useRef as d, useState as f, useSyncExternalStore as p } from "react";
7
+ // src/shared/proactive/useProactiveSession.ts
8
+ var m = 1e3, h = 300, g = 3e5, _ = [], v = {
9
+ key: "",
10
+ status: "loading",
11
+ settings: null,
12
+ suggestions: _,
13
+ listLoaded: !1
14
+ };
15
+ function y(t) {
16
+ let [n, r] = f(() => e());
17
+ return u(() => {
18
+ if (!t) return;
19
+ let n = () => r(e());
20
+ window.addEventListener("popstate", n);
21
+ let i = window.setInterval(n, m);
22
+ return () => {
23
+ window.removeEventListener("popstate", n), window.clearInterval(i);
24
+ };
25
+ }, [t]), n;
26
+ }
27
+ function b({ active: e, product: t, transport: r }) {
28
+ let d = y(e), m = e ? `${t}\u0000${d ?? ""}` : null, [b, x] = f(v), [S, C] = f(0), [w, T] = f(0), E = p(o, () => i(t), () => !1), D = m !== null && b.key === m ? b : null, O = m === null ? "disabled" : E ? "unsupported" : D?.status ?? "loading", k = l((e, t) => {
29
+ x((n) => {
30
+ let r = n.key === e ? n : {
31
+ ...v,
32
+ key: e
33
+ };
34
+ return {
35
+ ...r,
36
+ ...t(r)
37
+ };
38
+ });
39
+ }, []), A = l((e) => {
40
+ a(t), k(e, () => ({
41
+ status: "unsupported",
42
+ suggestions: _
43
+ }));
44
+ }, [t, k]);
45
+ u(() => {
46
+ if (m === null || !r || E) return;
47
+ let e = !1;
48
+ return r.getSettings(t).then((t) => {
49
+ e || k(m, () => ({
50
+ settings: t,
51
+ status: t.enabled ? "ready" : "opted-out",
52
+ ...t.enabled ? {} : { suggestions: _ }
53
+ }));
54
+ }).catch((t) => {
55
+ e || (n(t) ? A(m) : k(m, (e) => ({ status: e.status === "ready" ? "ready" : "error" })));
56
+ }), () => {
57
+ e = !0;
58
+ };
59
+ }, [
60
+ m,
61
+ t,
62
+ r,
63
+ E,
64
+ S,
65
+ k,
66
+ A
67
+ ]);
68
+ let j = O === "ready";
69
+ u(() => {
70
+ if (!j || m === null || !r) return;
71
+ let e = !1;
72
+ return r.listSuggestionRows(t).then((n) => {
73
+ e || k(m, () => ({
74
+ suggestions: c(n, t),
75
+ listLoaded: !0
76
+ }));
77
+ }).catch((t) => {
78
+ e || n(t) && A(m);
79
+ }), () => {
80
+ e = !0;
81
+ };
82
+ }, [
83
+ j,
84
+ m,
85
+ t,
86
+ r,
87
+ w,
88
+ k,
89
+ A
90
+ ]), u(() => {
91
+ if (!j || m === null || !r) return;
92
+ let e = m, i = s(() => T((e) => e + 1), h), a = r.watchSuggestions(t, i.schedule, (t) => {
93
+ n(t) && A(e);
94
+ }), o = window.setInterval(i.schedule, g), c = () => {
95
+ document.visibilityState === "visible" && i.schedule();
96
+ };
97
+ return document.addEventListener("visibilitychange", c), () => {
98
+ a(), window.clearInterval(o), document.removeEventListener("visibilitychange", c), i.cancel();
99
+ };
100
+ }, [
101
+ j,
102
+ m,
103
+ r,
104
+ t,
105
+ A
106
+ ]);
107
+ let M = l((e) => {
108
+ m !== null && k(m, e);
109
+ }, [m, k]), N = l(() => {
110
+ m !== null && A(m);
111
+ }, [m, A]), P = l(() => C((e) => e + 1), []), F = l(() => T((e) => e + 1), []);
112
+ return {
113
+ sessionKey: m,
114
+ status: O,
115
+ settings: D?.settings ?? null,
116
+ suggestions: D?.suggestions ?? _,
117
+ listLoaded: D?.listLoaded ?? !1,
118
+ update: M,
119
+ markUnsupported: N,
120
+ reloadSettings: P,
121
+ reloadList: F
122
+ };
123
+ }
124
+ function x({ enabled: e, sessionKey: n, product: i, transport: a, readEntity: o }) {
125
+ let s = d(o);
126
+ u(() => {
127
+ s.current = o;
128
+ }), u(() => {
129
+ if (!e || n === null || !a) return;
130
+ let o = t({
131
+ report: (e) => a.reportActivity(i, e),
132
+ onError: (e) => {
133
+ r(e, "reportProactiveActivity") && o.stop();
134
+ }
135
+ });
136
+ o.start(s.current());
137
+ let c = () => o.update(s.current());
138
+ window.addEventListener("popstate", c);
139
+ let l = window.setInterval(c, m);
140
+ return () => {
141
+ o.stop(), window.removeEventListener("popstate", c), window.clearInterval(l);
142
+ };
143
+ }, [
144
+ e,
145
+ n,
146
+ a,
147
+ i
148
+ ]);
149
+ }
150
+ export { _ as NO_SUGGESTIONS, m as PAGE_POLL_MS, x as useActivityReporting, b as useProactiveSession, y as useStoredWorkspaceId };
@@ -0,0 +1,25 @@
1
+ import { AssistantTr } from '../assistant/i18n';
2
+ import { BuiltInActionOptions, ProactiveActionHandler } from './actions';
3
+ import { SuggestionControls } from './adapters';
4
+ import { ProactiveSaveOutcome } from './context';
5
+ import { ProactiveTransport } from './transport';
6
+ import { ProactiveSettingsInput } from './types';
7
+ import { ProactiveSession } from './useProactiveSession';
8
+ export interface SuggestionControlsOptions {
9
+ product: string;
10
+ transport: ProactiveTransport | null;
11
+ session: ProactiveSession;
12
+ tr: AssistantTr;
13
+ actions: Readonly<Record<string, ProactiveActionHandler>> | undefined;
14
+ navigate: ((path: string) => void) | undefined;
15
+ isAllowedRoute: ((path: string) => boolean) | undefined;
16
+ reviewProposal: BuiltInActionOptions['reviewProposal'] | undefined;
17
+ openAssistant: ((prompt: string) => void) | undefined;
18
+ }
19
+ export declare function useSuggestionControls({ product, transport, session, tr, actions, navigate, isAllowedRoute, reviewProposal, openAssistant, }: SuggestionControlsOptions): SuggestionControls;
20
+ /**
21
+ * Stores the opt-in (contract C5 `setMyProactiveSettings`). When the
22
+ * orchestrator cannot store a frequency yet, the opt-in alone is saved and the
23
+ * outcome says so.
24
+ */
25
+ export declare function useSaveSettings(product: string, transport: ProactiveTransport | null, session: ProactiveSession): (input: ProactiveSettingsInput) => Promise<ProactiveSaveOutcome>;
@@ -0,0 +1,118 @@
1
+ import { useAssistantStore as e } from "../assistant/store.js";
2
+ import { useAssistantOverlayOrNull as t } from "../assistant/ui/AssistantOverlay.js";
3
+ import { isSafeInAppPath as n, navigateInApp as r } from "../navigation/inAppPath.js";
4
+ import { createBuiltInActions as i, mergeActionRegistries as a, offeredActions as o, runProactiveAction as s } from "./actions.js";
5
+ import { isMissingProactiveField as c, isPreferencesUnavailableError as l } from "./capabilities.js";
6
+ import { snoozeUntil as u } from "./snooze.js";
7
+ import { NO_SUGGESTIONS as d } from "./useProactiveSession.js";
8
+ import { useCallback as f, useMemo as p, useState as m } from "react";
9
+ // src/shared/proactive/useSuggestionControls.ts
10
+ function h(n) {
11
+ let r = t(), i = f((t) => n ? (n(t), !0) : r ? (r.openFull(), e.getState().submitPrompt(t), !0) : !1, [n, r]);
12
+ return n !== void 0 || r !== null ? i : null;
13
+ }
14
+ function g({ product: e, transport: t, session: l, tr: d, actions: g, navigate: _, isAllowedRoute: v, reviewProposal: y, openAssistant: b }) {
15
+ let [x, S] = m(!0), C = h(b), { update: w } = l, T = f((e) => !n(e) || v && !v(e) ? !1 : _ ? (_(e), !0) : r(e), [_, v]), E = p(() => {
16
+ let e = i({
17
+ ...v ? { isAllowedRoute: v } : {},
18
+ ...y ? { reviewProposal: y } : {},
19
+ canOpenAssistant: C !== null,
20
+ defaultAssistantPrompt: (e) => d("proactive.assistantPrompt", "Help me with this AI suggestion about {{entityType}} {{entityId}}: \"{{title}}\". {{why}}", {
21
+ entityType: e.anchor.entityType,
22
+ entityId: e.anchor.entityId,
23
+ title: e.title,
24
+ why: e.why
25
+ })
26
+ });
27
+ return a(e, g);
28
+ }, [
29
+ g,
30
+ v,
31
+ y,
32
+ C,
33
+ d
34
+ ]), D = f((e) => w((t) => ({ suggestions: e(t.suggestions) })), [w]);
35
+ return p(() => {
36
+ let n = (e) => D((t) => t.filter((t) => t.notificationId !== e.notificationId)), r = (e) => D((t) => t.some((t) => t.notificationId === e.notificationId) ? t : [...t, e]);
37
+ return {
38
+ tr: d,
39
+ canSnooze: x,
40
+ offeredActions: (e) => o(e, E),
41
+ runAction: (t, n) => s(E, {
42
+ product: e,
43
+ suggestion: t,
44
+ action: n,
45
+ navigate: T,
46
+ openInAssistant: (e) => C?.(e) ?? !1
47
+ }),
48
+ dismiss: async (e) => {
49
+ if (!t) return !1;
50
+ n(e);
51
+ try {
52
+ return await t.dismiss(e.notificationId), !0;
53
+ } catch {
54
+ return r(e), !1;
55
+ }
56
+ },
57
+ snooze: async (e, i) => {
58
+ if (!t || !x) return !1;
59
+ n(e);
60
+ try {
61
+ return await t.snooze(e.notificationId, u(i)), !0;
62
+ } catch (t) {
63
+ return c(t, "snoozeNotification") && S(!1), r(e), !1;
64
+ }
65
+ },
66
+ markSeen: (e) => {
67
+ t && !e.isRead && (D((t) => t.map((t) => t.notificationId === e.notificationId ? {
68
+ ...t,
69
+ isRead: !0
70
+ } : t)), t.markRead(e.notificationId).catch(() => {}));
71
+ }
72
+ };
73
+ }, [
74
+ d,
75
+ x,
76
+ E,
77
+ e,
78
+ T,
79
+ C,
80
+ t,
81
+ D
82
+ ]);
83
+ }
84
+ function _(e, t, n) {
85
+ let { sessionKey: r, status: i, update: a, markUnsupported: o, reloadList: s } = n;
86
+ return f(async (n) => {
87
+ if (!t || r === null || i === "unsupported") return { status: "unavailable" };
88
+ let u = (e, t) => (a(() => ({
89
+ settings: e,
90
+ status: e.enabled ? "ready" : "opted-out",
91
+ ...e.enabled ? {} : { suggestions: d }
92
+ })), e.enabled && s(), {
93
+ status: "saved",
94
+ settings: e,
95
+ frequencyUnavailable: t
96
+ });
97
+ try {
98
+ return u(await t.setSettings(e, n), !1);
99
+ } catch (r) {
100
+ if (c(r, "setMyProactiveSettings")) return o(), { status: "unavailable" };
101
+ if (n.frequency !== void 0 && l(r)) try {
102
+ return u(await t.setSettings(e, { enabled: n.enabled }), !0);
103
+ } catch {
104
+ return { status: "failed" };
105
+ }
106
+ return { status: "failed" };
107
+ }
108
+ }, [
109
+ e,
110
+ t,
111
+ r,
112
+ i,
113
+ a,
114
+ o,
115
+ s
116
+ ]);
117
+ }
118
+ export { _ as useSaveSettings, g as useSuggestionControls };
@@ -143,6 +143,22 @@ export declare function matchPermission(userPermission: string, requiredPermissi
143
143
  * Check if any user permission matches the required permission
144
144
  */
145
145
  export declare function hasMatchingPermission(userPermissions: string[], requiredPermission: string): boolean;
146
+ /** Answers `hasMatchingPermission(userPermissions, required)` for one fixed permission set. */
147
+ export type PermissionMatcher = (requiredPermission: string) => boolean;
148
+ /**
149
+ * Precomputes `hasMatchingPermission` for one permission set (BOFF-12118).
150
+ *
151
+ * Every permission check used to split every permission string the person holds
152
+ * and the required one, for every check: a page renders hundreds of checks
153
+ * against a set of a few hundred permissions, about 30 ms of a cold FluidGrids
154
+ * builder load. The matcher indexes the set once (exact strings, the global
155
+ * wildcard, and the actions held per resource, `*` included) and remembers
156
+ * each answer, so a check is a couple of lookups. It answers exactly what
157
+ * `hasMatchingPermission` answers, including the edge cases of
158
+ * `matchPermission` (only the first two `:`-separated parts count; a required
159
+ * `resource:*` is met by any permission on the resource).
160
+ */
161
+ export declare function createPermissionMatcher(userPermissions: readonly string[]): PermissionMatcher;
146
162
  /**
147
163
  * Determine whether a user should bypass RBAC checks based on their
148
164
  * authenticated role. Exported as a pure function so it can be unit
@@ -55,16 +55,37 @@ function _(e, t) {
55
55
  function v(e, t) {
56
56
  return e.some((e) => _(e, t));
57
57
  }
58
- function y(e, t, n) {
58
+ function y(e) {
59
+ let t = new Set(e), n = t.has("*"), r = /* @__PURE__ */ new Map();
60
+ for (let t of e) {
61
+ let [e = "", n] = t.split(":"), i = r.get(e);
62
+ i || (i = {
63
+ anyAction: !1,
64
+ actions: /* @__PURE__ */ new Set()
65
+ }, r.set(e, i)), n === "*" && (i.anyAction = !0), i.actions.add(n);
66
+ }
67
+ let i = (e, t) => e !== void 0 && (e.anyAction || t === "*" || e.actions.has(t)), a = /* @__PURE__ */ new Map();
68
+ return (e) => {
69
+ let o = a.get(e);
70
+ if (o !== void 0) return o;
71
+ let s = n || t.has(e);
72
+ if (!s) {
73
+ let [t = "", n] = e.split(":");
74
+ s = i(r.get(t), n) || i(r.get("*"), n);
75
+ }
76
+ return a.set(e, s), s;
77
+ };
78
+ }
79
+ function b(e, t, n) {
59
80
  return e && (t === "SUPER_ADMIN" || n === "super_admin");
60
81
  }
61
- function b(e) {
82
+ function x(e) {
62
83
  if (!e || typeof e != "object") return null;
63
84
  let t = e;
64
85
  return typeof t.actorType == "string" ? t.actorType : typeof t.actor_type == "string" ? t.actor_type : null;
65
86
  }
66
- function x({ children: n, scopeId: r, gateway: f = "workspace", staleTime: p = 3e5, refetchInterval: _ = 3e5, refetchOnFocusStaleTime: x = 12e4, emptyPermissionsRefetchInterval: S = 5e3, emptyPermissionsCatchupWindow: C = 18e4, debug: w = !1 }) {
67
- let { isAuthenticated: T, tokens: E, workspaceToken: D, user: O } = e(), k = u(), A = y(T, O?.role, b(O)), j = f === "workspace" ? D ? D.slice(-16) : "missing" : "n/a", M = o(() => [
87
+ function S({ children: n, scopeId: r, gateway: f = "workspace", staleTime: p = 3e5, refetchInterval: _ = 3e5, refetchOnFocusStaleTime: v = 12e4, emptyPermissionsRefetchInterval: S = 5e3, emptyPermissionsCatchupWindow: C = 18e4, debug: w = !1 }) {
88
+ let { isAuthenticated: T, tokens: E, workspaceToken: D, user: O } = e(), k = u(), A = b(T, O?.role, x(O)), j = f === "workspace" ? D ? D.slice(-16) : "missing" : "n/a", M = o(() => [
68
89
  "permissions",
69
90
  f,
70
91
  r,
@@ -106,7 +127,7 @@ function x({ children: n, scopeId: r, gateway: f = "workspace", staleTime: p = 3
106
127
  },
107
128
  refetchOnWindowFocus: (e) => {
108
129
  let t = e.state.dataUpdatedAt;
109
- return Date.now() - t > x;
130
+ return Date.now() - t > v;
110
131
  },
111
132
  refetchOnReconnect: !0,
112
133
  retry: 2,
@@ -129,34 +150,34 @@ function x({ children: n, scopeId: r, gateway: f = "workspace", staleTime: p = 3
129
150
  P,
130
151
  B
131
152
  ]);
132
- let V = P ? L ?? null : null, H = i((e) => A ? !0 : V?.permissionStrings ? v(V.permissionStrings, e) : !1, [V?.permissionStrings, A]), U = i((e, t) => {
153
+ let V = P ? L ?? null : null, H = V?.permissionStrings, U = o(() => H ? y(H) : null, [H]), W = i((e) => A ? !0 : U ? U(e) : !1, [U, A]), G = i((e, t) => {
133
154
  if (A) return !0;
134
- if (!V?.permissionStrings) return !1;
155
+ if (!U) return !1;
135
156
  let { requireAll: n = !1 } = t ?? {};
136
- return n ? e.every((e) => v(V.permissionStrings, e)) : e.some((e) => v(V.permissionStrings, e));
137
- }, [V?.permissionStrings, A]), W = i((e) => A ? !0 : V?.roles ? V.roles.includes(e) : !1, [V?.roles, A]), G = i((e) => A ? !0 : V?.roles ? e.some((e) => V.roles.includes(e)) : !1, [V?.roles, A]), K = i((e) => A ? !0 : V?.roles ? e.every((e) => V.roles.includes(e)) : !1, [V?.roles, A]), q = i(async () => {
157
+ return n ? e.every(U) : e.some(U);
158
+ }, [U, A]), K = i((e) => A ? !0 : V?.roles ? V.roles.includes(e) : !1, [V?.roles, A]), q = i((e) => A ? !0 : V?.roles ? e.some((e) => V.roles.includes(e)) : !1, [V?.roles, A]), J = i((e) => A ? !0 : V?.roles ? e.every((e) => V.roles.includes(e)) : !1, [V?.roles, A]), Y = i(async () => {
138
159
  P && await B();
139
160
  }, [
140
161
  B,
141
162
  w,
142
163
  P
143
- ]), J = i(async () => {
164
+ ]), X = i(async () => {
144
165
  await k.invalidateQueries({ queryKey: M });
145
166
  }, [
146
167
  k,
147
168
  M,
148
169
  w
149
- ]), Y = o(() => ({
170
+ ]), Z = o(() => ({
150
171
  permissions: V,
151
172
  isLoading: !A && z,
152
173
  error: A ? null : R,
153
- hasPermission: H,
154
- hasPermissions: U,
155
- hasRole: W,
156
- hasAnyRole: G,
157
- hasAllRoles: K,
158
- refreshPermissions: q,
159
- invalidatePermissions: J,
174
+ hasPermission: W,
175
+ hasPermissions: G,
176
+ hasRole: K,
177
+ hasAnyRole: q,
178
+ hasAllRoles: J,
179
+ refreshPermissions: Y,
180
+ invalidatePermissions: X,
160
181
  scopeId: r,
161
182
  isSuperAdmin: A,
162
183
  query: I
@@ -166,38 +187,38 @@ function x({ children: n, scopeId: r, gateway: f = "workspace", staleTime: p = 3
166
187
  I,
167
188
  R,
168
189
  z,
169
- H,
170
- U,
171
190
  W,
172
191
  G,
173
192
  K,
174
193
  q,
175
194
  J,
195
+ Y,
196
+ X,
176
197
  r
177
198
  ]);
178
199
  return /* @__PURE__ */ c(d.Provider, {
179
- value: Y,
200
+ value: Z,
180
201
  children: n
181
202
  });
182
203
  }
183
- function S() {
204
+ function C() {
184
205
  let e = r(d);
185
206
  if (!e) throw Error("usePermissions must be used within a PermissionProvider");
186
207
  return e;
187
208
  }
188
- function C() {
209
+ function w() {
189
210
  return r(d);
190
211
  }
191
- function w(e) {
192
- let { hasPermission: t, isLoading: n } = S();
212
+ function T(e) {
213
+ let { hasPermission: t, isLoading: n } = C();
193
214
  return !n && t(e);
194
215
  }
195
- function T(e) {
196
- let { hasRole: t, isLoading: n } = S();
216
+ function E(e) {
217
+ let { hasRole: t, isLoading: n } = C();
197
218
  return !n && t(e);
198
219
  }
199
- function E() {
200
- let { isLoading: e } = S();
220
+ function D() {
221
+ let { isLoading: e } = C();
201
222
  return e;
202
223
  }
203
- export { x as PermissionProvider, p as SUPER_ADMIN_ACTOR_TYPE, f as SUPER_ADMIN_ROLE, v as hasMatchingPermission, y as isSuperAdminBypass, _ as matchPermission, g as resolvePermissionsRefetchInterval, w as usePermission, E as usePermissionLoading, S as usePermissions, T as useRole, C as useSafePermissions };
224
+ export { S as PermissionProvider, p as SUPER_ADMIN_ACTOR_TYPE, f as SUPER_ADMIN_ROLE, y as createPermissionMatcher, v as hasMatchingPermission, b as isSuperAdminBypass, _ as matchPermission, g as resolvePermissionsRefetchInterval, T as usePermission, D as usePermissionLoading, C as usePermissions, E as useRole, w as useSafePermissions };
@@ -25,7 +25,7 @@ export { ContextManagerProvider, useContextManager } from './ContextManagerProvi
25
25
  export type { ContextManagerValue, ContextManagerProviderProps } from './ContextManagerProvider';
26
26
  export { GeographyProvider, useGeography } from '../../geography/GeographyProvider';
27
27
  export type { GeographyContextValue, GeographyProviderProps, } from '../../geography/GeographyProvider';
28
- export { PermissionProvider, usePermissions, useSafePermissions, usePermission, useRole, usePermissionLoading, matchPermission, hasMatchingPermission, isSuperAdminBypass, SUPER_ADMIN_ROLE, SUPER_ADMIN_ACTOR_TYPE, } from './PermissionProvider';
28
+ export { PermissionProvider, usePermissions, useSafePermissions, usePermission, useRole, usePermissionLoading, matchPermission, hasMatchingPermission, createPermissionMatcher, isSuperAdminBypass, SUPER_ADMIN_ROLE, SUPER_ADMIN_ACTOR_TYPE, } from './PermissionProvider';
29
29
  export type { EffectivePermissions, EffectiveResourcePermission, MyRolesResult, RoleInfo, PermissionCheckOptions, PermissionContextValue, PermissionProviderProps, } from './PermissionProvider';
30
30
  export { PersonaSurfaceProvider, usePersonaSurface, useSafePersonaSurface, resolveSurfaceForRoles, synthesizeSimulatedPermissionStrings, EVERYTHING_SURFACE_ID, } from './PersonaSurfaceProvider';
31
31
  export type { PersonaSurfaceDefinition, PersonaSurfaceContextValue, PersonaSurfaceProviderProps, PersonaCustomView, NavItemOverrideState, SimulatableRole, SimulationState, } from './PersonaSurfaceProvider';
@@ -0,0 +1,2 @@
1
+ export * from './shared/proactive/index.js'
2
+ export {}
@@ -0,0 +1,21 @@
1
+ import { PROACTIVE_ACTION_LABEL_MAX as e, PROACTIVE_ACTION_TYPE_PATTERN as t, PROACTIVE_CATEGORY as n, PROACTIVE_MAX_ACTIONS as r, PROACTIVE_PRODUCT_PATTERN as i, PROACTIVE_SEVERITIES as a, PROACTIVE_SUGGESTION_KIND as o, PROACTIVE_SUGGESTION_VERSION as s, PROACTIVE_TITLE_MAX as c, PROACTIVE_WHY_MAX as l, createdAtMs as u, normalizePlainText as d, parseProactiveSuggestion as f, parseProactiveSuggestions as p } from "./shared/proactive/metadata.js";
2
+ import { SUGGEST_ANCHOR_ATTRIBUTE as m, anchorMatchScore as h, findAnchorElement as g, formatSuggestAnchor as _, isDomAddressableAnchor as v, isRenderedCandidate as y, parseSuggestAnchor as b, queryAnchorCandidates as x, suggestAnchorProps as S } from "./shared/proactive/anchors.js";
3
+ import { DEFAULT_MAX_VISIBLE_PINS as C, MAX_VISIBLE_PINS_LIMIT as w, clampPinBudget as T, compareSuggestions as E, orderSuggestions as D, selectPinnedSuggestions as O, severityRank as k } from "./shared/proactive/budget.js";
4
+ import { NAVIGATE_ARGS as A, OPEN_IN_ASSISTANT_ARGS as j, ProactiveActionArgsError as M, RESERVED_ACTION_TYPES as N, REVIEW_PROPOSAL_ARGS as P, createBuiltInActions as F, defineProactiveAction as I, isProactiveActionHandler as L, mergeActionRegistries as R, offeredActions as z, runProactiveAction as B } from "./shared/proactive/actions.js";
5
+ import { PREFERENCES_UNAVAILABLE_CODE as V, PROACTIVE_SCHEMA_FIELDS as H, errorCodesOf as U, isMissingAnyProactiveField as W, isMissingProactiveField as G, isPreferencesUnavailableError as K, isProactiveUnsupported as q, markProactiveUnsupported as J, resetProactiveCapabilities as Y, subscribeProactiveCapabilities as X } from "./shared/proactive/capabilities.js";
6
+ import { ACTIVITY_ENTITY_ID_PATTERN as Z, ACTIVITY_ENTITY_TYPE_PATTERN as Q, PROACTIVE_ARCHIVE_MUTATION as $, PROACTIVE_FREQUENCIES as ee, PROACTIVE_LIST_LIMIT as te, PROACTIVE_MARK_READ_MUTATION as ne, PROACTIVE_NOTIFICATIONS_QUERY as re, PROACTIVE_NOTIFICATION_RECEIVED_SUBSCRIPTION as ie, PROACTIVE_SNOOZE_MUTATION as ae, PROACTIVE_UNREAD_COUNT_SUBSCRIPTION as oe, PROACTIVE_UNSNOOZE_MUTATION as se, ProactiveInputError as ce, mySettingsDocument as le, proactiveNotificationFilter as ue, readSettings as de, reportActivityDocument as fe, setSettingsDocument as pe } from "./shared/proactive/operations.js";
7
+ import { createApolloProactiveTransport as me } from "./shared/proactive/transport.js";
8
+ import { EMPTY_CONTROLS as he, clearSuggestionAnchorAdapters as ge, getSuggestionAnchorAdapter as _e, getSuggestionAnchorAdapterVersion as ve, listSuggestionAnchorAdapterTypes as ye, registerSuggestionAnchorAdapter as be, subscribeSuggestionAnchorAdapters as xe } from "./shared/proactive/adapters.js";
9
+ import { ACTIVITY_DEBOUNCE_MS as Se, activityKey as Ce, createActivityReporter as we, readActivityEntity as Te } from "./shared/proactive/activity.js";
10
+ import { SNOOZE_DURATION_MS as Ee, snoozeUntil as De } from "./shared/proactive/snooze.js";
11
+ import { PROACTIVE_GLOBAL_FLAG as Oe, proactiveProductFlag as ke, useProactiveFlagsEnabled as Ae } from "./shared/proactive/flags.js";
12
+ import { ProactiveContextProvider as je, useProactiveOrNull as Me, useProactiveSuggestionCount as Ne, useProactiveSuggestions as Pe, useSuggestionAnchorAdapter as Fe } from "./shared/proactive/context.js";
13
+ import { ProactiveProvider as Ie } from "./shared/proactive/ProactiveProvider.js";
14
+ import { severityLabel as Le } from "./shared/proactive/severityCopy.js";
15
+ import { AiBadge as Re, SeverityBadge as ze, SuggestionCard as Be } from "./shared/proactive/ui/SuggestionCard.js";
16
+ import { SuggestionBadge as Ve } from "./shared/proactive/ui/SuggestionBadge.js";
17
+ import { OWN_SELECTOR as He, PROACTIVE_UI_ATTRIBUTE as Ue, isOwnProactiveNode as We, mutationsConcernAnchors as Ge, pinPositionFor as Ke } from "./shared/proactive/ui/anchorLayerDom.js";
18
+ import { SuggestionAnchorsLayer as qe } from "./shared/proactive/ui/SuggestionAnchorsLayer.js";
19
+ import { ProactiveInbox as Je, ProactiveInboxButton as Ye } from "./shared/proactive/ui/ProactiveInbox.js";
20
+ import { ProactiveSettingsPanel as Xe } from "./shared/proactive/ui/ProactiveSettingsPanel.js";
21
+ export { Se as ACTIVITY_DEBOUNCE_MS, Z as ACTIVITY_ENTITY_ID_PATTERN, Q as ACTIVITY_ENTITY_TYPE_PATTERN, Re as AiBadge, C as DEFAULT_MAX_VISIBLE_PINS, he as EMPTY_CONTROLS, w as MAX_VISIBLE_PINS_LIMIT, A as NAVIGATE_ARGS, j as OPEN_IN_ASSISTANT_ARGS, He as OWN_SELECTOR, V as PREFERENCES_UNAVAILABLE_CODE, e as PROACTIVE_ACTION_LABEL_MAX, t as PROACTIVE_ACTION_TYPE_PATTERN, $ as PROACTIVE_ARCHIVE_MUTATION, n as PROACTIVE_CATEGORY, ee as PROACTIVE_FREQUENCIES, Oe as PROACTIVE_GLOBAL_FLAG, te as PROACTIVE_LIST_LIMIT, ne as PROACTIVE_MARK_READ_MUTATION, r as PROACTIVE_MAX_ACTIONS, re as PROACTIVE_NOTIFICATIONS_QUERY, ie as PROACTIVE_NOTIFICATION_RECEIVED_SUBSCRIPTION, i as PROACTIVE_PRODUCT_PATTERN, H as PROACTIVE_SCHEMA_FIELDS, a as PROACTIVE_SEVERITIES, ae as PROACTIVE_SNOOZE_MUTATION, o as PROACTIVE_SUGGESTION_KIND, s as PROACTIVE_SUGGESTION_VERSION, c as PROACTIVE_TITLE_MAX, Ue as PROACTIVE_UI_ATTRIBUTE, oe as PROACTIVE_UNREAD_COUNT_SUBSCRIPTION, se as PROACTIVE_UNSNOOZE_MUTATION, l as PROACTIVE_WHY_MAX, M as ProactiveActionArgsError, je as ProactiveContextProvider, Je as ProactiveInbox, Ye as ProactiveInboxButton, ce as ProactiveInputError, Ie as ProactiveProvider, Xe as ProactiveSettingsPanel, N as RESERVED_ACTION_TYPES, P as REVIEW_PROPOSAL_ARGS, Ee as SNOOZE_DURATION_MS, m as SUGGEST_ANCHOR_ATTRIBUTE, ze as SeverityBadge, qe as SuggestionAnchorsLayer, Ve as SuggestionBadge, Be as SuggestionCard, Ce as activityKey, h as anchorMatchScore, T as clampPinBudget, ge as clearSuggestionAnchorAdapters, E as compareSuggestions, we as createActivityReporter, me as createApolloProactiveTransport, F as createBuiltInActions, u as createdAtMs, I as defineProactiveAction, U as errorCodesOf, g as findAnchorElement, _ as formatSuggestAnchor, _e as getSuggestionAnchorAdapter, ve as getSuggestionAnchorAdapterVersion, v as isDomAddressableAnchor, W as isMissingAnyProactiveField, G as isMissingProactiveField, We as isOwnProactiveNode, K as isPreferencesUnavailableError, L as isProactiveActionHandler, q as isProactiveUnsupported, y as isRenderedCandidate, ye as listSuggestionAnchorAdapterTypes, J as markProactiveUnsupported, R as mergeActionRegistries, Ge as mutationsConcernAnchors, le as mySettingsDocument, d as normalizePlainText, z as offeredActions, D as orderSuggestions, f as parseProactiveSuggestion, p as parseProactiveSuggestions, b as parseSuggestAnchor, Ke as pinPositionFor, ue as proactiveNotificationFilter, ke as proactiveProductFlag, x as queryAnchorCandidates, Te as readActivityEntity, de as readSettings, be as registerSuggestionAnchorAdapter, fe as reportActivityDocument, Y as resetProactiveCapabilities, B as runProactiveAction, O as selectPinnedSuggestions, pe as setSettingsDocument, Le as severityLabel, k as severityRank, De as snoozeUntil, X as subscribeProactiveCapabilities, xe as subscribeSuggestionAnchorAdapters, S as suggestAnchorProps, Ae as useProactiveFlagsEnabled, Me as useProactiveOrNull, Ne as useProactiveSuggestionCount, Pe as useProactiveSuggestions, Fe as useSuggestionAnchorAdapter };
@@ -14,17 +14,17 @@ import { FeatureFlagProvider as z } from "./shared/feature-flags/FeatureFlagProv
14
14
  import { useFeatureFlag as B, useFeatureFlagDetails as V, useFeatureFlagValue as H } from "./shared/feature-flags/useFeatureFlag.js";
15
15
  import { FeatureGate as U } from "./shared/feature-flags/FeatureGate.js";
16
16
  import { GeographyProvider as W, useGeography as G } from "./shared/geography/GeographyProvider.js";
17
- import { PermissionProvider as K, SUPER_ADMIN_ACTOR_TYPE as q, SUPER_ADMIN_ROLE as J, hasMatchingPermission as Y, isSuperAdminBypass as X, matchPermission as Z, usePermission as Q, usePermissionLoading as $, usePermissions as ee, useRole as te, useSafePermissions as ne } from "./shared/providers/shell/PermissionProvider.js";
18
- import { EVERYTHING_SURFACE_ID as re, PersonaSurfaceProvider as ie, resolveSurfaceForRoles as ae, synthesizeSimulatedPermissionStrings as oe, usePersonaSurface as se, useSafePersonaSurface as ce } from "./shared/providers/shell/PersonaSurfaceProvider.js";
19
- import { AuthTokenProvider as le, useAuthToken as ue, useAuthTokenOrNull as de } from "./shared/providers/shell/AuthTokenProvider.js";
20
- import { MultiGatewayProvider as fe } from "./shared/providers/shell/MultiGatewayProvider.js";
21
- import { ObservabilityProvider as pe } from "./shared/providers/shell/ObservabilityProvider.js";
22
- import { RYBBIT_TRACK_ENDPOINT as me, buildCrashReport as he, crashReportingConsentGranted as ge, createCrashReportingPipeline as _e, createRybbitCrashReporter as ve, detectCrashReportPlatform as ye, reportError as be, setActiveCrashReportingPipeline as xe } from "./shared/providers/shell/crashReporting.js";
23
- import { maskRoute as Se, scrubTelemetryText as Ce } from "./shared/events/sinks/telemetryScrub.js";
24
- import { GatewayRoute as we, getMicrofrontendGateway as Te, withGateway as Ee } from "./shared/providers/shell/GatewayRouter.js";
25
- import { ProfileI18nBridge as De } from "./shared/providers/shell/ProfileI18nBridge.js";
26
- import { ProfileGeographyBridge as Oe } from "./shared/providers/shell/ProfileGeographyBridge.js";
27
- import { AppShellContextProvider as ke, useAppShell as Ae } from "./shared/providers/shell/AppShellContext.js";
28
- import { PageConversationContextProvider as je, usePageConversationContext as Me, useRegisterPageConversationContext as Ne } from "./shared/providers/shell/PageConversationContextProvider.js";
29
- import { clearWorkspaceWideSelection as Pe, isWorkspaceWideSelection as Fe, selectWorkspaceWide as Ie } from "./shared/providers/shell/WorkspaceWideSelection.js";
30
- export { O as ActiveContextProvider, ke as AppShellContextProvider, p as AuthBridgeClient, d as AuthProvider, le as AuthTokenProvider, L as ContextManagerProvider, re as EVERYTHING_SURFACE_ID, z as FeatureFlagProvider, j as FeatureFlagsProvider, U as FeatureGate, we as GatewayRoute, W as GeographyProvider, N as GlobalUiProvider, n as I18nProvider, r as LOCALE_DIRECTION, fe as MultiGatewayProvider, pe as ObservabilityProvider, je as PageConversationContextProvider, K as PermissionProvider, ie as PersonaSurfaceProvider, Oe as ProfileGeographyBridge, De as ProfileI18nBridge, v as ProfileStorage, me as RYBBIT_TRACK_ENDPOINT, q as SUPER_ADMIN_ACTOR_TYPE, J as SUPER_ADMIN_ROLE, F as ShellUiProvider, e as ThemeProvider, he as buildCrashReport, y as clearActiveProfileId, i as clearTranslationCache, Pe as clearWorkspaceWideSelection, ge as crashReportingConsentGranted, _e as createCrashReportingPipeline, ve as createRybbitCrashReporter, m as destroyAuthBridge, ye as detectCrashReportPlatform, b as getActiveContext, x as getActiveTokens, S as getActiveUser, h as getAuthBridge, Te as getMicrofrontendGateway, C as getProfileLocale, Y as hasMatchingPermission, g as initAuthBridge, _ as isAuthBridgeInitialized, X as isSuperAdminBypass, a as isTranslationAttempted, Fe as isWorkspaceWideSelection, o as localeDirection, w as logoutActiveProfile, Se as maskRoute, Z as matchPermission, T as removeAllProfiles, be as reportError, ae as resolveSurfaceForRoles, Ce as scrubTelemetryText, Ie as selectWorkspaceWide, xe as setActiveCrashReportingPipeline, E as setProfileLocale, D as setProfiles, oe as synthesizeSimulatedPermissionStrings, k as useActiveContext, A as useActiveContextOrNull, Ae as useAppShell, f as useAuth, ue as useAuthToken, de as useAuthTokenOrNull, R as useContextManager, B as useFeatureFlag, V as useFeatureFlagDetails, H as useFeatureFlagValue, M as useFeatureFlags, G as useGeography, P as useGlobalUi, s as useI18n, c as useOptionalI18n, Me as usePageConversationContext, Q as usePermission, $ as usePermissionLoading, ee as usePermissions, se as usePersonaSurface, Ne as useRegisterPageConversationContext, te as useRole, ne as useSafePermissions, ce as useSafePersonaSurface, l as useShellLabel, u as useShellNumberFormat, I as useShellUi, t as useTheme, Ee as withGateway };
17
+ import { PermissionProvider as K, SUPER_ADMIN_ACTOR_TYPE as q, SUPER_ADMIN_ROLE as J, createPermissionMatcher as Y, hasMatchingPermission as X, isSuperAdminBypass as Z, matchPermission as Q, usePermission as $, usePermissionLoading as ee, usePermissions as te, useRole as ne, useSafePermissions as re } from "./shared/providers/shell/PermissionProvider.js";
18
+ import { EVERYTHING_SURFACE_ID as ie, PersonaSurfaceProvider as ae, resolveSurfaceForRoles as oe, synthesizeSimulatedPermissionStrings as se, usePersonaSurface as ce, useSafePersonaSurface as le } from "./shared/providers/shell/PersonaSurfaceProvider.js";
19
+ import { AuthTokenProvider as ue, useAuthToken as de, useAuthTokenOrNull as fe } from "./shared/providers/shell/AuthTokenProvider.js";
20
+ import { MultiGatewayProvider as pe } from "./shared/providers/shell/MultiGatewayProvider.js";
21
+ import { ObservabilityProvider as me } from "./shared/providers/shell/ObservabilityProvider.js";
22
+ import { RYBBIT_TRACK_ENDPOINT as he, buildCrashReport as ge, crashReportingConsentGranted as _e, createCrashReportingPipeline as ve, createRybbitCrashReporter as ye, detectCrashReportPlatform as be, reportError as xe, setActiveCrashReportingPipeline as Se } from "./shared/providers/shell/crashReporting.js";
23
+ import { maskRoute as Ce, scrubTelemetryText as we } from "./shared/events/sinks/telemetryScrub.js";
24
+ import { GatewayRoute as Te, getMicrofrontendGateway as Ee, withGateway as De } from "./shared/providers/shell/GatewayRouter.js";
25
+ import { ProfileI18nBridge as Oe } from "./shared/providers/shell/ProfileI18nBridge.js";
26
+ import { ProfileGeographyBridge as ke } from "./shared/providers/shell/ProfileGeographyBridge.js";
27
+ import { AppShellContextProvider as Ae, useAppShell as je } from "./shared/providers/shell/AppShellContext.js";
28
+ import { PageConversationContextProvider as Me, usePageConversationContext as Ne, useRegisterPageConversationContext as Pe } from "./shared/providers/shell/PageConversationContextProvider.js";
29
+ import { clearWorkspaceWideSelection as Fe, isWorkspaceWideSelection as Ie, selectWorkspaceWide as Le } from "./shared/providers/shell/WorkspaceWideSelection.js";
30
+ export { O as ActiveContextProvider, Ae as AppShellContextProvider, p as AuthBridgeClient, d as AuthProvider, ue as AuthTokenProvider, L as ContextManagerProvider, ie as EVERYTHING_SURFACE_ID, z as FeatureFlagProvider, j as FeatureFlagsProvider, U as FeatureGate, Te as GatewayRoute, W as GeographyProvider, N as GlobalUiProvider, n as I18nProvider, r as LOCALE_DIRECTION, pe as MultiGatewayProvider, me as ObservabilityProvider, Me as PageConversationContextProvider, K as PermissionProvider, ae as PersonaSurfaceProvider, ke as ProfileGeographyBridge, Oe as ProfileI18nBridge, v as ProfileStorage, he as RYBBIT_TRACK_ENDPOINT, q as SUPER_ADMIN_ACTOR_TYPE, J as SUPER_ADMIN_ROLE, F as ShellUiProvider, e as ThemeProvider, ge as buildCrashReport, y as clearActiveProfileId, i as clearTranslationCache, Fe as clearWorkspaceWideSelection, _e as crashReportingConsentGranted, ve as createCrashReportingPipeline, Y as createPermissionMatcher, ye as createRybbitCrashReporter, m as destroyAuthBridge, be as detectCrashReportPlatform, b as getActiveContext, x as getActiveTokens, S as getActiveUser, h as getAuthBridge, Ee as getMicrofrontendGateway, C as getProfileLocale, X as hasMatchingPermission, g as initAuthBridge, _ as isAuthBridgeInitialized, Z as isSuperAdminBypass, a as isTranslationAttempted, Ie as isWorkspaceWideSelection, o as localeDirection, w as logoutActiveProfile, Ce as maskRoute, Q as matchPermission, T as removeAllProfiles, xe as reportError, oe as resolveSurfaceForRoles, we as scrubTelemetryText, Le as selectWorkspaceWide, Se as setActiveCrashReportingPipeline, E as setProfileLocale, D as setProfiles, se as synthesizeSimulatedPermissionStrings, k as useActiveContext, A as useActiveContextOrNull, je as useAppShell, f as useAuth, de as useAuthToken, fe as useAuthTokenOrNull, R as useContextManager, B as useFeatureFlag, V as useFeatureFlagDetails, H as useFeatureFlagValue, M as useFeatureFlags, G as useGeography, P as useGlobalUi, s as useI18n, c as useOptionalI18n, Ne as usePageConversationContext, $ as usePermission, ee as usePermissionLoading, te as usePermissions, ce as usePersonaSurface, Pe as useRegisterPageConversationContext, ne as useRole, re as useSafePermissions, le as useSafePersonaSurface, l as useShellLabel, u as useShellNumberFormat, I as useShellUi, t as useTheme, De as withGateway };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.1112.6",
3
+ "version": "2026.1113.2",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "repository": {
6
6
  "type": "git",
@@ -139,6 +139,10 @@
139
139
  "types": "./dist/shared/agent-tools/index.d.ts",
140
140
  "import": "./dist/shared-agent-tools.js"
141
141
  },
142
+ "./shared/proactive": {
143
+ "types": "./dist/shared/proactive/index.d.ts",
144
+ "import": "./dist/shared-proactive.js"
145
+ },
142
146
  "./shared/graphql/client": {
143
147
  "types": "./dist/shared/graphql/client.d.ts",
144
148
  "import": "./dist/shared/graphql/client.js"