@fias/arche-sdk 2.29.0 → 2.31.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.
Files changed (38) hide show
  1. package/dist/bridge.d.ts +32 -6
  2. package/dist/bridge.d.ts.map +1 -1
  3. package/dist/bridge.js +73 -2
  4. package/dist/bridge.js.map +1 -1
  5. package/dist/bridge.test.js +71 -0
  6. package/dist/bridge.test.js.map +1 -1
  7. package/dist/entity-ops.d.ts +12 -0
  8. package/dist/entity-ops.d.ts.map +1 -1
  9. package/dist/entity-ops.js +13 -1
  10. package/dist/entity-ops.js.map +1 -1
  11. package/dist/generated/permissions.d.ts +1 -1
  12. package/dist/generated/permissions.d.ts.map +1 -1
  13. package/dist/generated/permissions.js +8 -0
  14. package/dist/generated/permissions.js.map +1 -1
  15. package/dist/generated/surfaces.d.ts +119 -5
  16. package/dist/generated/surfaces.d.ts.map +1 -1
  17. package/dist/generated/surfaces.js +14 -6
  18. package/dist/generated/surfaces.js.map +1 -1
  19. package/dist/hooks.d.ts +161 -18
  20. package/dist/hooks.d.ts.map +1 -1
  21. package/dist/hooks.js +682 -38
  22. package/dist/hooks.js.map +1 -1
  23. package/dist/hooks.test.js +613 -0
  24. package/dist/hooks.test.js.map +1 -1
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js +8 -3
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +555 -21
  30. package/dist/types.d.ts +489 -13
  31. package/dist/types.d.ts.map +1 -1
  32. package/dist/use-fias-access.render.test.d.ts +12 -0
  33. package/dist/use-fias-access.render.test.d.ts.map +1 -0
  34. package/dist/use-fias-access.render.test.js +407 -0
  35. package/dist/use-fias-access.render.test.js.map +1 -0
  36. package/package.json +3 -2
  37. package/templates/default/AGENTS.md +360 -27
  38. package/templates/default/CLAUDE.md +360 -27
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, FiasOpenerApi } 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,52 @@ 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;
280
+ /**
281
+ * Where the person came from, when a Fias tool opened your arche — the forge
282
+ * page's "Open FiasWorks Studio", the Arche Builder's (ADR-037 D8) — and the
283
+ * two things you can do about it:
284
+ *
285
+ * - `returnTo()` takes the person back there.
286
+ * - `send(file)` offers a Vault file YOUR arche created ("Use in {name}"):
287
+ * Fias shows the person a sheet naming the file and the destination, and
288
+ * their Send moves it — into a forge's `public/`, or an Arche Builder
289
+ * arche's asset library. Requires `opener:send`.
290
+ *
291
+ * `opener` is null when nothing opened your arche; show neither then. Reading
292
+ * it does not take the host chrome over (unlike `useFiasChrome`).
293
+ *
294
+ * @example
295
+ * const { opener, send, returnTo } = useOpener();
296
+ * {opener && <button onClick={returnTo}>Return to {opener.name}</button>}
297
+ * {opener && <button onClick={() => send({ fileId, name: 'pumpkin.png' })}>
298
+ * Use in {opener.name}</button>}
299
+ */
300
+ export declare function useOpener(): FiasOpenerApi;
255
301
  /**
256
302
  * Manage step navigation for multi-node plugins.
257
303
  * Listens for step_navigate messages from the host to support
@@ -316,6 +362,48 @@ export declare function useFiasDataStore(): FiasDataStoreApi;
316
362
  * @returns Workspace API with lifecycle + membership methods.
317
363
  */
318
364
  export declare function useFiasWorkspaces(): FiasWorkspacesApi;
365
+ /**
366
+ * The current user's OWN access in a workspace (ADR-034): their tier
367
+ * (owner/admin/member/viewer), when their membership expires, and — for an
368
+ * app that declares roles, in an org workspace where they are on — the roles
369
+ * that count now and the permissions they grant.
370
+ *
371
+ * **A UI hint, never security.** Use it to show or hide controls — an "Invite"
372
+ * button for admins, an editor for those who may edit. It protects nothing:
373
+ * the platform checks every read and write on arrival, whatever your code
374
+ * shows. Never build a role check of your own on top of it, and never treat a
375
+ * role picker in your app as access control.
376
+ *
377
+ * `access.mode` says which model answered: `'tier'` (no app roles here),
378
+ * `'legacy'` (your app declares roles, but this workspace has not turned them
379
+ * on yet — tier rules apply) or `'roles'`. `can(permission)` is true only in
380
+ * `'roles'` mode. `access.tier` is `null` when the user has no tier there (not
381
+ * a member, an expired membership, or a workspace not reachable from where the
382
+ * app is open). Pass `null`/`undefined` for "no workspace yet" — nothing is
383
+ * fetched.
384
+ *
385
+ * Requires the `data:workspace` permission. Answers only for the signed-in
386
+ * user; it never returns user ids or anything about other members.
387
+ *
388
+ * The answer is a snapshot taken when the workspace is first passed: the hook
389
+ * does not learn of a change made elsewhere while the app stays open (an
390
+ * admin changing the user's tier or roles, a membership expiring). Call
391
+ * `refetch()` when the app has reason to think it changed — after your own
392
+ * invite or role change, or when the platform refuses an action with
393
+ * `FORBIDDEN` or `NOT_A_MEMBER` — so a stale answer does not linger in the UI.
394
+ *
395
+ * Every `useFiasAccess` for one workspace shares one answer and one request,
396
+ * so calling it in each row of a long list costs one bridge call, and a
397
+ * `refetch()`, a host `access_update` or a window focus asks once for all of
398
+ * them.
399
+ *
400
+ * @example
401
+ * const { access, can } = useFiasAccess(workspaceId);
402
+ * const canApprove =
403
+ * access?.mode === 'roles' ? can('ledger.approve') : access?.tier === 'admin';
404
+ * return canApprove ? <ApproveButton /> : null; // the server still decides
405
+ */
406
+ export declare function useFiasAccess(workspaceId: string | null | undefined): FiasAccessState;
319
407
  /**
320
408
  * Access the in-arche purchase (IAP) store.
321
409
  * Provides product listing, purchase initiation, entitlement checking,
@@ -326,6 +414,15 @@ export declare function useFiasWorkspaces(): FiasWorkspacesApi;
326
414
  * @returns Store API with products, entitlements, and purchase methods.
327
415
  */
328
416
  export declare function useFiasStore(): FiasStoreApi;
417
+ /**
418
+ * Forget every read the SDK caches that the person's access decided — the
419
+ * presigned Vault download URLs, which stay valid for their window whatever
420
+ * happens to the access that minted them. Called by `useFiasAccess` when the
421
+ * person's access answer changes (ADR-034), so a plugin cannot keep serving a
422
+ * URL minted under access the person no longer has. (Content-pack and
423
+ * community-asset URLs are not decided by the person's access.)
424
+ */
425
+ export declare function clearSdkReadCaches(): void;
329
426
  /**
330
427
  * Cache-aware fetcher for a presigned download URL. Used internally by
331
428
  * `useVaultDocuments().getDownloadUrl()`. Exposed separately so non-React
@@ -548,28 +645,70 @@ export declare function useFiasContent(): FiasContentApi;
548
645
  */
549
646
  export declare function useFiasPreviewState<T>(key: string, getState: () => T, onRestore: (state: T) => void): void;
550
647
  /**
551
- * Subscribes to realtime change events for a datastore collection
552
- * (ADR-012 Phase M4). Notify-then-refetch: the platform pushes a minimal
553
- * "this collection changed" invalidation and `onInvalidate` decides what to
554
- * refetch — typically re-running the `useFiasDataStore().query(...)` your
555
- * component renders from.
648
+ * Subscribes to realtime invalidation events through any catalog verb of
649
+ * `kind: 'subscribe'` (ADR-012 Phase M4) — the primitive behind
650
+ * `useDataSubscription`. Notify-then-refetch: the platform pushes a minimal
651
+ * "this changed" event and `onInvalidate` decides what to refetch.
556
652
  *
557
- * Requires the `data:store` permission (same as reading the collection —
558
- * a live invalidation grants nothing polling couldn't retrieve).
653
+ * `payload` is the verb's wire payload (`{ op, ...params }`), sent to
654
+ * `entity_invoke` for `entityId` exactly as given; the hook re-subscribes
655
+ * when its content changes (key order does not matter). The permission is
656
+ * the verb's own — a live invalidation grants nothing the matching read
657
+ * could not retrieve.
559
658
  *
560
659
  * Semantics and guarantees:
561
660
  * - Best-effort, at-most-once delivery: events can be lost or duplicated;
562
661
  * the initial refetch fires AFTER the subscription is live, so a write
563
662
  * racing the subscribe is never missed.
564
663
  * - `onInvalidate` runs single-flight with one trailing call: a burst of
565
- * events during an in-flight refetch coalesces into exactly one more.
664
+ * events during an in-flight refetch coalesces into exactly one more. With
665
+ * `minRefetchIntervalMs` it also runs at most once per interval (a trailing
666
+ * call still follows the last event), so a busy resource cannot spend your
667
+ * per-minute budget on refetches.
668
+ * - An event says only that the resource changed — not what. Re-read the
669
+ * visible head of it and merge by id, so edits and deletions show too; a
670
+ * "newer than X" cursor read would never see them.
566
671
  * - The host renews authorization periodically; when it definitively ends
567
- * (`status: 'ended'`), `endedReason` says why — `collection_deleted` and
568
- * `authorization_revoked` are terminal, others may warrant resubscribing
569
- * (unmount/remount or toggle `enabled`).
570
- * - Scope-aware: shared collections notify on any user's writes; user-scoped
571
- * collections only on yours; workspace-scoped need `workspaceId` and an
572
- * active membership.
672
+ * (`status: 'ended'`), `endedReason` says why — `collection_deleted` (the
673
+ * observed resource is gone) and `authorization_revoked` are terminal,
674
+ * others may warrant resubscribing (unmount/remount or toggle `enabled`).
675
+ *
676
+ * @example
677
+ * // Any catalog verb of kind 'subscribe' (see the capability catalog for the
678
+ * // entity id and payload); refetch the head of the resource on each event.
679
+ * const { status } = useEntitySubscription(
680
+ * ENTITY_ID,
681
+ * { op: 'subscribe_feed' },
682
+ * refetchHead,
683
+ * { enabled: member, minRefetchIntervalMs: 2_000 },
684
+ * );
685
+ */
686
+ export declare function useEntitySubscription(entityId: string, payload: {
687
+ op: string;
688
+ } & Record<string, unknown>, onInvalidate: () => void | Promise<void>, options?: {
689
+ enabled?: boolean;
690
+ minRefetchIntervalMs?: number;
691
+ }): EntitySubscriptionState;
692
+ /**
693
+ * Subscribes to realtime change events for a datastore collection
694
+ * (ADR-012 Phase M4) — `useEntitySubscription` bound to the datastore's
695
+ * `subscribe` verb. Notify-then-refetch: the platform pushes a minimal
696
+ * "this collection changed" invalidation and `onInvalidate` decides what to
697
+ * refetch — typically re-running the `useFiasDataStore().query(...)` your
698
+ * component renders from.
699
+ *
700
+ * Requires the `data:store` permission (same as reading the collection —
701
+ * a live invalidation grants nothing polling couldn't retrieve).
702
+ *
703
+ * Semantics and guarantees are `useEntitySubscription`'s. Scope-aware:
704
+ * shared collections notify on any user's writes; user-scoped collections
705
+ * only on yours; workspace-scoped need `workspaceId` and an active
706
+ * membership.
707
+ *
708
+ * Audiences (ADR-034): in a collection with audiences, changes are announced
709
+ * per audience — pass `audience` (one the user reads; see
710
+ * `useFiasAccess().canReadAudience`), and subscribe once per audience you
711
+ * show. Without one the subscription ends (`AUDIENCE_REQUIRED`).
573
712
  *
574
713
  * @example
575
714
  * const dataStore = useFiasDataStore();
@@ -582,6 +721,7 @@ export declare function useFiasPreviewState<T>(key: string, getState: () => T, o
582
721
  */
583
722
  export declare function useDataSubscription(collection: string, onInvalidate: () => void | Promise<void>, options?: {
584
723
  workspaceId?: string;
724
+ audience?: string;
585
725
  enabled?: boolean;
586
726
  }): DataSubscriptionState;
587
727
  /** Metadata of a user document this arche holds a grant for. */
@@ -791,6 +931,7 @@ export interface VaultUserDocumentsApi {
791
931
  * `useVaultDocuments` instead.
792
932
  */
793
933
  export declare function useVaultUserDocuments(): VaultUserDocumentsApi;
934
+ export declare function useCreativeLibrary(): FiasCreativeLibraryApi;
794
935
  /**
795
936
  * Outside accounts (X, LinkedIn, …) the workspace the app is open in lets it
796
937
  * use (ADR-029 §2). Requires `connections:use`.
@@ -1067,7 +1208,7 @@ export interface DocumentSignApi {
1067
1208
  export declare function useDocumentSign(): DocumentSignApi;
1068
1209
  /**
1069
1210
  * Declare Fias AI actions at RUNTIME — the dynamic half of the plugin
1070
- * AI-action plane (`ai:actions` permission; TRUSTED arches only — the host
1211
+ * AI-action plane (`ai:actions` permission for the declaration; TRUSTED arches only — the host
1071
1212
  * silently ignores runtime declarations from non-trusted arches, whose lane
1072
1213
  * is the manifest `fiasAI` block, fixed at publish and reviewed with the
1073
1214
  * submission). Both lanes merge host-side; the manifest wins id collisions.
@@ -1081,8 +1222,10 @@ export declare function useDocumentSign(): DocumentSignApi;
1081
1222
  * Returns `{ openAssistant }` — a fire-and-forget request that the host open
1082
1223
  * the global Fias AI panel, for CONTEXTUAL affordances (an empty-state "Ask
1083
1224
  * Fias AI" button; the host also shows its own "Works with Fias AI" chip).
1084
- * The host debounces it and honours the user's last dismissal — never loop
1085
- * or retry, and there is deliberately no way to pass text along.
1225
+ * Opening needs NO permission — any plugin may do it, actions or not; the
1226
+ * user can still use the assistant's own tools — and `useFiasChrome` offers
1227
+ * the same call. The host debounces it and honours the user's last dismissal
1228
+ * — never loop or retry, and there is deliberately no way to pass text along.
1086
1229
  */
1087
1230
  export declare function useFiasAIActions(config: FiasAIActionsConfig | null): {
1088
1231
  openAssistant: () => void;
@@ -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,EAIjB,YAAY,EAMZ,iBAAiB,EAGjB,wBAAwB,EAKxB,kCAAkC,EASlC,cAAc,EAGd,kBAAkB,EAClB,QAAQ,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