@fias/arche-sdk 2.29.0 → 2.30.0
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/dist/bridge.d.ts +32 -6
- package/dist/bridge.d.ts.map +1 -1
- package/dist/bridge.js +73 -2
- package/dist/bridge.js.map +1 -1
- package/dist/bridge.test.js +71 -0
- package/dist/bridge.test.js.map +1 -1
- package/dist/entity-ops.d.ts +10 -0
- package/dist/entity-ops.d.ts.map +1 -1
- package/dist/entity-ops.js +11 -1
- package/dist/entity-ops.js.map +1 -1
- package/dist/generated/permissions.d.ts +1 -1
- package/dist/generated/permissions.d.ts.map +1 -1
- package/dist/generated/permissions.js +6 -0
- package/dist/generated/permissions.js.map +1 -1
- package/dist/generated/surfaces.d.ts +119 -5
- package/dist/generated/surfaces.d.ts.map +1 -1
- package/dist/generated/surfaces.js +14 -6
- package/dist/generated/surfaces.js.map +1 -1
- package/dist/hooks.d.ts +140 -18
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +611 -38
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.test.js +539 -0
- package/dist/hooks.test.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +495 -21
- package/dist/types.d.ts +432 -9
- package/dist/types.d.ts.map +1 -1
- package/dist/use-fias-access.render.test.d.ts +12 -0
- package/dist/use-fias-access.render.test.d.ts.map +1 -0
- package/dist/use-fias-access.render.test.js +407 -0
- package/dist/use-fias-access.render.test.js.map +1 -0
- package/package.json +3 -2
- package/templates/default/AGENTS.md +282 -7
- package/templates/default/CLAUDE.md +282 -7
package/dist/hooks.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArcheHandoffPayload, FiasUser, FiasTheme, FiasStorageApi, DataSubscriptionState, EntityInvocationApi, FiasTextModel, FiasHolder, ClientEntityApi, ImageGenerationApi, ImageEntityFilter, ImageEntitySummary, NllbLanguageOption, AudioGenerationApi, FiasNavigationApi, StepNavigationApi, StepNavigationOptions, FiasDataStoreApi, FiasWorkspacesApi, FiasStoreApi, VaultDocumentsApi, VaultDocumentDownloadUrl, VaultUserDocumentSaveContentResult, ArcheAssetsApi, FiasConnectionsApi, FiasXApi, FiasLinkedInApi, FiasSchedulesApi, ArcheAssetBytesApi, ArcheAssetErrorCode, FiasContentApi, FiasContentErrorCode, FiasLocalStoreApi, FiasLocalStoreErrorCode, CommunityAssetsApi, CompanyEmailApi, FiasAIActionsDeclaration } from './types';
|
|
1
|
+
import type { ArcheHandoffPayload, FiasUser, FiasTheme, FiasStorageApi, DataSubscriptionState, EntitySubscriptionState, EntityInvocationApi, FiasTextModel, FiasHolder, ClientEntityApi, ImageGenerationApi, ImageEntityFilter, ImageEntitySummary, NllbLanguageOption, AudioGenerationApi, FiasNavigationApi, StepNavigationApi, StepNavigationOptions, FiasDataStoreApi, FiasWorkspacesApi, FiasAccessState, FiasStoreApi, VaultDocumentsApi, VaultDocumentDownloadUrl, VaultUserDocumentSaveContentResult, ArcheAssetsApi, FiasConnectionsApi, FiasCreativeLibraryApi, FiasXApi, FiasLinkedInApi, FiasSchedulesApi, ArcheAssetBytesApi, ArcheAssetErrorCode, FiasContentApi, FiasContentErrorCode, FiasLocalStoreApi, FiasLocalStoreErrorCode, CommunityAssetsApi, CompanyEmailApi, FiasAIActionsDeclaration, FiasChromeApi } from './types';
|
|
2
2
|
/**
|
|
3
3
|
* Access the current user's profile information.
|
|
4
4
|
* Requires the `user:profile:read` permission in fias-plugin.json.
|
|
@@ -252,6 +252,31 @@ export declare function useFiasNavigation(): FiasNavigationApi;
|
|
|
252
252
|
* @param initialValue - Default value if nothing is stored
|
|
253
253
|
*/
|
|
254
254
|
export declare function usePersistentState<T>(key: string, initialValue: T): [T, (value: T | ((prev: T) => T)) => void];
|
|
255
|
+
/**
|
|
256
|
+
* The host chrome around your arche — Fias's standard expand/contract (the
|
|
257
|
+
* internal arches' "focus mode"), the suggested-arches sidebar, and the four
|
|
258
|
+
* controls the platform's focus-mode bar carries (Fias home, Worktop, Fias
|
|
259
|
+
* AI, Collapse), so you can place them where your design wants them.
|
|
260
|
+
*
|
|
261
|
+
* Three levels, your choice:
|
|
262
|
+
* 1. Don't call this. The host draws a small expand button over your app;
|
|
263
|
+
* expanding shows the host's thin bar with the standard four controls.
|
|
264
|
+
* 2. Call it and draw your own expand button (`setFocusMode`) and sidebar
|
|
265
|
+
* toggle (`setSidebarCollapsed`); keep the host's bar for the way back.
|
|
266
|
+
* 3. Call it, `setHostExpandedBar(false)`, and draw your own bar from
|
|
267
|
+
* `goToFiasHome` / `goToWorktop` / `openAssistant` / `setFocusMode(false)`.
|
|
268
|
+
*
|
|
269
|
+
* MOUNTING THIS HOOK TAKES THE CHROME OVER: the host's default expand button
|
|
270
|
+
* goes away, because a plugin that reads chrome state is expected to draw its
|
|
271
|
+
* own affordance. Draw one (or set `showExpandButton: false` in the manifest
|
|
272
|
+
* if you want neither). The host decides what is available — `focusModeAvailable`
|
|
273
|
+
* is false outside the normal signed-in layout and `sidebarAvailable` is false
|
|
274
|
+
* where the manifest declined the sidebar — so gate your controls on them.
|
|
275
|
+
*
|
|
276
|
+
* `supported` is false before init and on an older host; the state is then
|
|
277
|
+
* inert and the setters are no-ops, so you can render unconditionally.
|
|
278
|
+
*/
|
|
279
|
+
export declare function useFiasChrome(): FiasChromeApi;
|
|
255
280
|
/**
|
|
256
281
|
* Manage step navigation for multi-node plugins.
|
|
257
282
|
* Listens for step_navigate messages from the host to support
|
|
@@ -316,6 +341,48 @@ export declare function useFiasDataStore(): FiasDataStoreApi;
|
|
|
316
341
|
* @returns Workspace API with lifecycle + membership methods.
|
|
317
342
|
*/
|
|
318
343
|
export declare function useFiasWorkspaces(): FiasWorkspacesApi;
|
|
344
|
+
/**
|
|
345
|
+
* The current user's OWN access in a workspace (ADR-034): their tier
|
|
346
|
+
* (owner/admin/member/viewer), when their membership expires, and — for an
|
|
347
|
+
* app that declares roles, in an org workspace where they are on — the roles
|
|
348
|
+
* that count now and the permissions they grant.
|
|
349
|
+
*
|
|
350
|
+
* **A UI hint, never security.** Use it to show or hide controls — an "Invite"
|
|
351
|
+
* button for admins, an editor for those who may edit. It protects nothing:
|
|
352
|
+
* the platform checks every read and write on arrival, whatever your code
|
|
353
|
+
* shows. Never build a role check of your own on top of it, and never treat a
|
|
354
|
+
* role picker in your app as access control.
|
|
355
|
+
*
|
|
356
|
+
* `access.mode` says which model answered: `'tier'` (no app roles here),
|
|
357
|
+
* `'legacy'` (your app declares roles, but this workspace has not turned them
|
|
358
|
+
* on yet — tier rules apply) or `'roles'`. `can(permission)` is true only in
|
|
359
|
+
* `'roles'` mode. `access.tier` is `null` when the user has no tier there (not
|
|
360
|
+
* a member, an expired membership, or a workspace not reachable from where the
|
|
361
|
+
* app is open). Pass `null`/`undefined` for "no workspace yet" — nothing is
|
|
362
|
+
* fetched.
|
|
363
|
+
*
|
|
364
|
+
* Requires the `data:workspace` permission. Answers only for the signed-in
|
|
365
|
+
* user; it never returns user ids or anything about other members.
|
|
366
|
+
*
|
|
367
|
+
* The answer is a snapshot taken when the workspace is first passed: the hook
|
|
368
|
+
* does not learn of a change made elsewhere while the app stays open (an
|
|
369
|
+
* admin changing the user's tier or roles, a membership expiring). Call
|
|
370
|
+
* `refetch()` when the app has reason to think it changed — after your own
|
|
371
|
+
* invite or role change, or when the platform refuses an action with
|
|
372
|
+
* `FORBIDDEN` or `NOT_A_MEMBER` — so a stale answer does not linger in the UI.
|
|
373
|
+
*
|
|
374
|
+
* Every `useFiasAccess` for one workspace shares one answer and one request,
|
|
375
|
+
* so calling it in each row of a long list costs one bridge call, and a
|
|
376
|
+
* `refetch()`, a host `access_update` or a window focus asks once for all of
|
|
377
|
+
* them.
|
|
378
|
+
*
|
|
379
|
+
* @example
|
|
380
|
+
* const { access, can } = useFiasAccess(workspaceId);
|
|
381
|
+
* const canApprove =
|
|
382
|
+
* access?.mode === 'roles' ? can('ledger.approve') : access?.tier === 'admin';
|
|
383
|
+
* return canApprove ? <ApproveButton /> : null; // the server still decides
|
|
384
|
+
*/
|
|
385
|
+
export declare function useFiasAccess(workspaceId: string | null | undefined): FiasAccessState;
|
|
319
386
|
/**
|
|
320
387
|
* Access the in-arche purchase (IAP) store.
|
|
321
388
|
* Provides product listing, purchase initiation, entitlement checking,
|
|
@@ -326,6 +393,15 @@ export declare function useFiasWorkspaces(): FiasWorkspacesApi;
|
|
|
326
393
|
* @returns Store API with products, entitlements, and purchase methods.
|
|
327
394
|
*/
|
|
328
395
|
export declare function useFiasStore(): FiasStoreApi;
|
|
396
|
+
/**
|
|
397
|
+
* Forget every read the SDK caches that the person's access decided — the
|
|
398
|
+
* presigned Vault download URLs, which stay valid for their window whatever
|
|
399
|
+
* happens to the access that minted them. Called by `useFiasAccess` when the
|
|
400
|
+
* person's access answer changes (ADR-034), so a plugin cannot keep serving a
|
|
401
|
+
* URL minted under access the person no longer has. (Content-pack and
|
|
402
|
+
* community-asset URLs are not decided by the person's access.)
|
|
403
|
+
*/
|
|
404
|
+
export declare function clearSdkReadCaches(): void;
|
|
329
405
|
/**
|
|
330
406
|
* Cache-aware fetcher for a presigned download URL. Used internally by
|
|
331
407
|
* `useVaultDocuments().getDownloadUrl()`. Exposed separately so non-React
|
|
@@ -548,28 +624,70 @@ export declare function useFiasContent(): FiasContentApi;
|
|
|
548
624
|
*/
|
|
549
625
|
export declare function useFiasPreviewState<T>(key: string, getState: () => T, onRestore: (state: T) => void): void;
|
|
550
626
|
/**
|
|
551
|
-
* Subscribes to realtime
|
|
552
|
-
* (ADR-012 Phase M4)
|
|
553
|
-
*
|
|
554
|
-
*
|
|
555
|
-
* component renders from.
|
|
627
|
+
* Subscribes to realtime invalidation events through any catalog verb of
|
|
628
|
+
* `kind: 'subscribe'` (ADR-012 Phase M4) — the primitive behind
|
|
629
|
+
* `useDataSubscription`. Notify-then-refetch: the platform pushes a minimal
|
|
630
|
+
* "this changed" event and `onInvalidate` decides what to refetch.
|
|
556
631
|
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
632
|
+
* `payload` is the verb's wire payload (`{ op, ...params }`), sent to
|
|
633
|
+
* `entity_invoke` for `entityId` exactly as given; the hook re-subscribes
|
|
634
|
+
* when its content changes (key order does not matter). The permission is
|
|
635
|
+
* the verb's own — a live invalidation grants nothing the matching read
|
|
636
|
+
* could not retrieve.
|
|
559
637
|
*
|
|
560
638
|
* Semantics and guarantees:
|
|
561
639
|
* - Best-effort, at-most-once delivery: events can be lost or duplicated;
|
|
562
640
|
* the initial refetch fires AFTER the subscription is live, so a write
|
|
563
641
|
* racing the subscribe is never missed.
|
|
564
642
|
* - `onInvalidate` runs single-flight with one trailing call: a burst of
|
|
565
|
-
* events during an in-flight refetch coalesces into exactly one more.
|
|
643
|
+
* events during an in-flight refetch coalesces into exactly one more. With
|
|
644
|
+
* `minRefetchIntervalMs` it also runs at most once per interval (a trailing
|
|
645
|
+
* call still follows the last event), so a busy resource cannot spend your
|
|
646
|
+
* per-minute budget on refetches.
|
|
647
|
+
* - An event says only that the resource changed — not what. Re-read the
|
|
648
|
+
* visible head of it and merge by id, so edits and deletions show too; a
|
|
649
|
+
* "newer than X" cursor read would never see them.
|
|
566
650
|
* - The host renews authorization periodically; when it definitively ends
|
|
567
|
-
* (`status: 'ended'`), `endedReason` says why — `collection_deleted`
|
|
568
|
-
* `authorization_revoked` are terminal,
|
|
569
|
-
* (unmount/remount or toggle `enabled`).
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
651
|
+
* (`status: 'ended'`), `endedReason` says why — `collection_deleted` (the
|
|
652
|
+
* observed resource is gone) and `authorization_revoked` are terminal,
|
|
653
|
+
* others may warrant resubscribing (unmount/remount or toggle `enabled`).
|
|
654
|
+
*
|
|
655
|
+
* @example
|
|
656
|
+
* // Any catalog verb of kind 'subscribe' (see the capability catalog for the
|
|
657
|
+
* // entity id and payload); refetch the head of the resource on each event.
|
|
658
|
+
* const { status } = useEntitySubscription(
|
|
659
|
+
* ENTITY_ID,
|
|
660
|
+
* { op: 'subscribe_feed' },
|
|
661
|
+
* refetchHead,
|
|
662
|
+
* { enabled: member, minRefetchIntervalMs: 2_000 },
|
|
663
|
+
* );
|
|
664
|
+
*/
|
|
665
|
+
export declare function useEntitySubscription(entityId: string, payload: {
|
|
666
|
+
op: string;
|
|
667
|
+
} & Record<string, unknown>, onInvalidate: () => void | Promise<void>, options?: {
|
|
668
|
+
enabled?: boolean;
|
|
669
|
+
minRefetchIntervalMs?: number;
|
|
670
|
+
}): EntitySubscriptionState;
|
|
671
|
+
/**
|
|
672
|
+
* Subscribes to realtime change events for a datastore collection
|
|
673
|
+
* (ADR-012 Phase M4) — `useEntitySubscription` bound to the datastore's
|
|
674
|
+
* `subscribe` verb. Notify-then-refetch: the platform pushes a minimal
|
|
675
|
+
* "this collection changed" invalidation and `onInvalidate` decides what to
|
|
676
|
+
* refetch — typically re-running the `useFiasDataStore().query(...)` your
|
|
677
|
+
* component renders from.
|
|
678
|
+
*
|
|
679
|
+
* Requires the `data:store` permission (same as reading the collection —
|
|
680
|
+
* a live invalidation grants nothing polling couldn't retrieve).
|
|
681
|
+
*
|
|
682
|
+
* Semantics and guarantees are `useEntitySubscription`'s. Scope-aware:
|
|
683
|
+
* shared collections notify on any user's writes; user-scoped collections
|
|
684
|
+
* only on yours; workspace-scoped need `workspaceId` and an active
|
|
685
|
+
* membership.
|
|
686
|
+
*
|
|
687
|
+
* Audiences (ADR-034): in a collection with audiences, changes are announced
|
|
688
|
+
* per audience — pass `audience` (one the user reads; see
|
|
689
|
+
* `useFiasAccess().canReadAudience`), and subscribe once per audience you
|
|
690
|
+
* show. Without one the subscription ends (`AUDIENCE_REQUIRED`).
|
|
573
691
|
*
|
|
574
692
|
* @example
|
|
575
693
|
* const dataStore = useFiasDataStore();
|
|
@@ -582,6 +700,7 @@ export declare function useFiasPreviewState<T>(key: string, getState: () => T, o
|
|
|
582
700
|
*/
|
|
583
701
|
export declare function useDataSubscription(collection: string, onInvalidate: () => void | Promise<void>, options?: {
|
|
584
702
|
workspaceId?: string;
|
|
703
|
+
audience?: string;
|
|
585
704
|
enabled?: boolean;
|
|
586
705
|
}): DataSubscriptionState;
|
|
587
706
|
/** Metadata of a user document this arche holds a grant for. */
|
|
@@ -791,6 +910,7 @@ export interface VaultUserDocumentsApi {
|
|
|
791
910
|
* `useVaultDocuments` instead.
|
|
792
911
|
*/
|
|
793
912
|
export declare function useVaultUserDocuments(): VaultUserDocumentsApi;
|
|
913
|
+
export declare function useCreativeLibrary(): FiasCreativeLibraryApi;
|
|
794
914
|
/**
|
|
795
915
|
* Outside accounts (X, LinkedIn, …) the workspace the app is open in lets it
|
|
796
916
|
* use (ADR-029 §2). Requires `connections:use`.
|
|
@@ -1067,7 +1187,7 @@ export interface DocumentSignApi {
|
|
|
1067
1187
|
export declare function useDocumentSign(): DocumentSignApi;
|
|
1068
1188
|
/**
|
|
1069
1189
|
* Declare Fias AI actions at RUNTIME — the dynamic half of the plugin
|
|
1070
|
-
* AI-action plane (`ai:actions` permission; TRUSTED arches only — the host
|
|
1190
|
+
* AI-action plane (`ai:actions` permission for the declaration; TRUSTED arches only — the host
|
|
1071
1191
|
* silently ignores runtime declarations from non-trusted arches, whose lane
|
|
1072
1192
|
* is the manifest `fiasAI` block, fixed at publish and reviewed with the
|
|
1073
1193
|
* submission). Both lanes merge host-side; the manifest wins id collisions.
|
|
@@ -1081,8 +1201,10 @@ export declare function useDocumentSign(): DocumentSignApi;
|
|
|
1081
1201
|
* Returns `{ openAssistant }` — a fire-and-forget request that the host open
|
|
1082
1202
|
* the global Fias AI panel, for CONTEXTUAL affordances (an empty-state "Ask
|
|
1083
1203
|
* Fias AI" button; the host also shows its own "Works with Fias AI" chip).
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1204
|
+
* Opening needs NO permission — any plugin may do it, actions or not; the
|
|
1205
|
+
* user can still use the assistant's own tools — and `useFiasChrome` offers
|
|
1206
|
+
* the same call. The host debounces it and honours the user's last dismissal
|
|
1207
|
+
* — never loop or retry, and there is deliberately no way to pass text along.
|
|
1086
1208
|
*/
|
|
1087
1209
|
export declare function useFiasAIActions(config: FiasAIActionsConfig | null): {
|
|
1088
1210
|
openAssistant: () => void;
|
package/dist/hooks.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EAInB,aAAa,EACb,UAAU,EACV,eAAe,EACf,kBAAkB,EAGlB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAGlB,iBAAiB,EAEjB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAchB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EAInB,aAAa,EACb,UAAU,EACV,eAAe,EACf,kBAAkB,EAGlB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAGlB,iBAAiB,EAEjB,iBAAiB,EACjB,qBAAqB,EACrB,gBAAgB,EAchB,iBAAiB,EAEjB,eAAe,EAIf,YAAY,EAMZ,iBAAiB,EAGjB,wBAAwB,EAKxB,kCAAkC,EASlC,cAAc,EAGd,kBAAkB,EAElB,sBAAsB,EAEtB,QAAQ,EAMR,eAAe,EACf,gBAAgB,EAGhB,kBAAkB,EAGlB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EAGpB,iBAAiB,EACjB,uBAAuB,EAYvB,kBAAkB,EAMlB,eAAe,EAGf,wBA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