Skip to content

Interface: StateSyncHint

Defined in: packages/core/src/core/types.ts:105

Per-action hint for automatic State Sync policy generation.

Declared via fluent API (.invalidates(), .cached()) and collected by ServerAttachment to auto-generate SyncPolicy[] without manual configuration.

See

StateSyncConfig for centralized configuration

Properties

cacheControl?

ts
readonly optional cacheControl: "immutable" | "no-store";

Defined in: packages/core/src/core/types.ts:107

Cache directive for this action's description.


invalidates?

ts
readonly optional invalidates: readonly string[];

Defined in: packages/core/src/core/types.ts:109

Glob patterns of tools invalidated on successful execution.