@cadenza.io/core 3.20.0 → 3.22.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/index.d.mts +333 -2
- package/dist/index.d.ts +333 -2
- package/dist/index.js +733 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +732 -30
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -352,7 +352,9 @@ interface Intent {
|
|
|
352
352
|
output?: SchemaDefinition;
|
|
353
353
|
}
|
|
354
354
|
interface InquiryOptions {
|
|
355
|
-
timeout
|
|
355
|
+
timeout?: number;
|
|
356
|
+
rejectOnTimeout?: boolean;
|
|
357
|
+
includePendingTasks?: boolean;
|
|
356
358
|
}
|
|
357
359
|
declare class InquiryBroker extends SignalEmitter {
|
|
358
360
|
static instance_: InquiryBroker;
|
|
@@ -394,6 +396,7 @@ declare class InquiryBroker extends SignalEmitter {
|
|
|
394
396
|
addInquiry(inquiry: string): void;
|
|
395
397
|
addIntent(intent: Intent): void;
|
|
396
398
|
inquire(inquiry: string, context: AnyObject, options?: InquiryOptions): Promise<AnyObject>;
|
|
399
|
+
reset(): void;
|
|
397
400
|
}
|
|
398
401
|
|
|
399
402
|
/**
|
|
@@ -1546,12 +1549,15 @@ declare class SignalBroker {
|
|
|
1546
1549
|
private flushGroup;
|
|
1547
1550
|
private flushStrategy;
|
|
1548
1551
|
clearSquashState(): void;
|
|
1552
|
+
private clearScheduledState;
|
|
1549
1553
|
private scheduledBuckets;
|
|
1550
1554
|
private scheduleTimer;
|
|
1551
1555
|
schedule(signal: string, context: AnyObject, options?: EmitOptions): AbortController;
|
|
1552
1556
|
private flushScheduled;
|
|
1553
1557
|
private debouncedEmitters;
|
|
1554
1558
|
private readonly MAX_DEBOUNCERS;
|
|
1559
|
+
private clearDebounceState;
|
|
1560
|
+
private clearThrottleState;
|
|
1555
1561
|
debounce(signal: string, context: any, options?: {
|
|
1556
1562
|
delayMs: number;
|
|
1557
1563
|
}): void;
|
|
@@ -1799,6 +1805,315 @@ declare class GraphStandardRun extends GraphRunStrategy {
|
|
|
1799
1805
|
export(): any;
|
|
1800
1806
|
}
|
|
1801
1807
|
|
|
1808
|
+
/**
|
|
1809
|
+
* Determines when an actor key should be materialized in memory.
|
|
1810
|
+
* - `eager`: creates the default key record immediately.
|
|
1811
|
+
* - `lazy`: creates key records on first access.
|
|
1812
|
+
*/
|
|
1813
|
+
type ActorLoadPolicy = "eager" | "lazy";
|
|
1814
|
+
/**
|
|
1815
|
+
* Defines how durable writes should be interpreted by actor tasks.
|
|
1816
|
+
* - `overwrite`: replace full durable state.
|
|
1817
|
+
* - `patch`: shallow-merge object fields.
|
|
1818
|
+
* - `reducer`: allow reducer-return handlers.
|
|
1819
|
+
*/
|
|
1820
|
+
type ActorWriteContract = "overwrite" | "patch" | "reducer";
|
|
1821
|
+
/**
|
|
1822
|
+
* Declares the intent of an actor task.
|
|
1823
|
+
* - `read`: no state writes allowed.
|
|
1824
|
+
* - `write`: durable/runtime writes allowed.
|
|
1825
|
+
* - `meta`: write semantics with forced meta task registration.
|
|
1826
|
+
*/
|
|
1827
|
+
type ActorTaskMode = "read" | "write" | "meta";
|
|
1828
|
+
/**
|
|
1829
|
+
* Actor classification.
|
|
1830
|
+
* Meta actors are internal/framework-level actors and force bound tasks to meta.
|
|
1831
|
+
*/
|
|
1832
|
+
type ActorKind = "standard" | "meta";
|
|
1833
|
+
/**
|
|
1834
|
+
* Optional runtime read protection policy.
|
|
1835
|
+
*/
|
|
1836
|
+
type ActorRuntimeReadGuard = "none" | "freeze-shallow";
|
|
1837
|
+
/**
|
|
1838
|
+
* Consistency profile hint used primarily by distributed/service extensions.
|
|
1839
|
+
*/
|
|
1840
|
+
type ActorConsistencyProfileName = "strict" | "balanced" | "cached" | "async";
|
|
1841
|
+
/**
|
|
1842
|
+
* Per-invocation actor options accepted via `context.__actorOptions`.
|
|
1843
|
+
* Only key targeting and idempotency are overridable at invocation level.
|
|
1844
|
+
*/
|
|
1845
|
+
interface ActorInvocationOptions {
|
|
1846
|
+
actorKey?: string;
|
|
1847
|
+
idempotencyKey?: string;
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
* Session expiry/touch behavior for actor keys.
|
|
1851
|
+
*/
|
|
1852
|
+
interface SessionPolicy {
|
|
1853
|
+
enabled?: boolean;
|
|
1854
|
+
idleTtlMs?: number;
|
|
1855
|
+
absoluteTtlMs?: number;
|
|
1856
|
+
extendIdleTtlOnRead?: boolean;
|
|
1857
|
+
}
|
|
1858
|
+
/**
|
|
1859
|
+
* Task retry policy metadata for actor definitions/specs.
|
|
1860
|
+
*/
|
|
1861
|
+
interface RetryPolicy {
|
|
1862
|
+
attempts?: number;
|
|
1863
|
+
delayMs?: number;
|
|
1864
|
+
maxDelayMs?: number;
|
|
1865
|
+
factor?: number;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* Idempotency policy for actor task execution.
|
|
1869
|
+
*/
|
|
1870
|
+
interface IdempotencyPolicy {
|
|
1871
|
+
enabled?: boolean;
|
|
1872
|
+
mode?: "required" | "optional";
|
|
1873
|
+
rerunOnFailedDuplicate?: boolean;
|
|
1874
|
+
ttlMs?: number;
|
|
1875
|
+
}
|
|
1876
|
+
/**
|
|
1877
|
+
* Declarative actor-key resolution configuration.
|
|
1878
|
+
*/
|
|
1879
|
+
type ActorKeyDefinition = {
|
|
1880
|
+
source: "path";
|
|
1881
|
+
path: string;
|
|
1882
|
+
} | {
|
|
1883
|
+
source: "field";
|
|
1884
|
+
field: string;
|
|
1885
|
+
} | {
|
|
1886
|
+
source: "template";
|
|
1887
|
+
template: string;
|
|
1888
|
+
};
|
|
1889
|
+
/**
|
|
1890
|
+
* Serializable metadata describing a task bound to an actor.
|
|
1891
|
+
*/
|
|
1892
|
+
interface ActorTaskBindingDefinition {
|
|
1893
|
+
taskName: string;
|
|
1894
|
+
mode?: ActorTaskMode;
|
|
1895
|
+
description?: string;
|
|
1896
|
+
}
|
|
1897
|
+
/**
|
|
1898
|
+
* Declarative state schema/configuration for an actor.
|
|
1899
|
+
*
|
|
1900
|
+
* Durable state uses `initState` for bootstrap defaults.
|
|
1901
|
+
* Runtime state is intentionally task-driven (no actor-level init lifecycle hook).
|
|
1902
|
+
*/
|
|
1903
|
+
interface ActorStateDefinition<D extends Record<string, any>, R = AnyObject> {
|
|
1904
|
+
durable?: {
|
|
1905
|
+
/**
|
|
1906
|
+
* Initial durable state. Prefer static values for simple cases.
|
|
1907
|
+
* Function form is intended for advanced computed initialization.
|
|
1908
|
+
*/
|
|
1909
|
+
initState?: D | (() => D);
|
|
1910
|
+
schema?: AnyObject;
|
|
1911
|
+
description?: string;
|
|
1912
|
+
};
|
|
1913
|
+
runtime?: {
|
|
1914
|
+
schema?: AnyObject;
|
|
1915
|
+
description?: string;
|
|
1916
|
+
};
|
|
1917
|
+
}
|
|
1918
|
+
/**
|
|
1919
|
+
* Serializable actor definition used for persistence/round-tripping.
|
|
1920
|
+
*/
|
|
1921
|
+
interface ActorDefinition<D extends Record<string, any>, R = AnyObject> {
|
|
1922
|
+
name: string;
|
|
1923
|
+
description: string;
|
|
1924
|
+
defaultKey: string;
|
|
1925
|
+
kind?: ActorKind;
|
|
1926
|
+
loadPolicy?: ActorLoadPolicy;
|
|
1927
|
+
writeContract?: ActorWriteContract;
|
|
1928
|
+
consistencyProfile?: ActorConsistencyProfileName;
|
|
1929
|
+
retry?: RetryPolicy;
|
|
1930
|
+
idempotency?: IdempotencyPolicy;
|
|
1931
|
+
session?: SessionPolicy;
|
|
1932
|
+
runtimeReadGuard?: ActorRuntimeReadGuard;
|
|
1933
|
+
key?: ActorKeyDefinition;
|
|
1934
|
+
state?: ActorStateDefinition<D, R>;
|
|
1935
|
+
tasks?: ActorTaskBindingDefinition[];
|
|
1936
|
+
}
|
|
1937
|
+
/**
|
|
1938
|
+
* Runtime actor specification used by `Cadenza.createActor(...)`.
|
|
1939
|
+
*/
|
|
1940
|
+
interface ActorSpec<D extends Record<string, any>, R = AnyObject> {
|
|
1941
|
+
name: string;
|
|
1942
|
+
description?: string;
|
|
1943
|
+
state?: ActorStateDefinition<D, R>;
|
|
1944
|
+
/**
|
|
1945
|
+
* Shortcut durable bootstrap state when `state.durable.initState` is not supplied.
|
|
1946
|
+
*/
|
|
1947
|
+
initState?: D | (() => D);
|
|
1948
|
+
defaultKey: string;
|
|
1949
|
+
key?: ActorKeyDefinition;
|
|
1950
|
+
keyResolver?: (input: Record<string, any>) => string | undefined;
|
|
1951
|
+
loadPolicy?: ActorLoadPolicy;
|
|
1952
|
+
writeContract?: ActorWriteContract;
|
|
1953
|
+
kind?: ActorKind;
|
|
1954
|
+
retry?: RetryPolicy;
|
|
1955
|
+
idempotency?: IdempotencyPolicy;
|
|
1956
|
+
session?: SessionPolicy;
|
|
1957
|
+
consistencyProfile?: ActorConsistencyProfileName;
|
|
1958
|
+
runtimeReadGuard?: ActorRuntimeReadGuard;
|
|
1959
|
+
taskBindings?: ActorTaskBindingDefinition[];
|
|
1960
|
+
}
|
|
1961
|
+
/**
|
|
1962
|
+
* Optional actor creation flags.
|
|
1963
|
+
*/
|
|
1964
|
+
interface ActorFactoryOptions<D extends Record<string, any> = Record<string, any>, R = AnyObject> {
|
|
1965
|
+
isMeta?: boolean;
|
|
1966
|
+
definitionSource?: ActorDefinition<D, R>;
|
|
1967
|
+
}
|
|
1968
|
+
/**
|
|
1969
|
+
* Optional per-binding behavior when wrapping actor handlers.
|
|
1970
|
+
*/
|
|
1971
|
+
interface ActorTaskBindingOptions {
|
|
1972
|
+
mode?: ActorTaskMode;
|
|
1973
|
+
touchSession?: boolean;
|
|
1974
|
+
}
|
|
1975
|
+
/**
|
|
1976
|
+
* Reducer function used for state transitions.
|
|
1977
|
+
*/
|
|
1978
|
+
type ActorStateReducer<S> = (state: S, input: AnyObject) => S;
|
|
1979
|
+
/**
|
|
1980
|
+
* Fully resolved invocation options used during actor task execution.
|
|
1981
|
+
*/
|
|
1982
|
+
interface ActorResolvedInvocationOptions {
|
|
1983
|
+
actorKey?: string;
|
|
1984
|
+
loadPolicy: ActorLoadPolicy;
|
|
1985
|
+
writeContract: ActorWriteContract;
|
|
1986
|
+
consistencyProfile?: ActorConsistencyProfileName;
|
|
1987
|
+
idempotencyKey?: string;
|
|
1988
|
+
touchSession: boolean;
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Durable/runtime mutator helpers exposed to actor handlers.
|
|
1992
|
+
*/
|
|
1993
|
+
interface ActorStateMutators<D extends Record<string, any>, R = AnyObject> {
|
|
1994
|
+
setDurable: (next: D | ActorStateReducer<D>) => void;
|
|
1995
|
+
patchDurable: (partial: Partial<D>) => void;
|
|
1996
|
+
reduceDurable: (reducer: ActorStateReducer<D>) => void;
|
|
1997
|
+
setRuntime: (next: R | ActorStateReducer<R>) => void;
|
|
1998
|
+
patchRuntime: (partial: Partial<R>) => void;
|
|
1999
|
+
reduceRuntime: (reducer: ActorStateReducer<R>) => void;
|
|
2000
|
+
}
|
|
2001
|
+
/**
|
|
2002
|
+
* Combined actor state snapshot and mutators exposed to handlers.
|
|
2003
|
+
*/
|
|
2004
|
+
interface ActorStateStore<D extends Record<string, any>, R = AnyObject> extends ActorStateMutators<D, R> {
|
|
2005
|
+
durable: D;
|
|
2006
|
+
runtime: R;
|
|
2007
|
+
version: number;
|
|
2008
|
+
durableVersion: number;
|
|
2009
|
+
runtimeVersion: number;
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* Context injected into `actor.task(...)` handlers.
|
|
2013
|
+
*/
|
|
2014
|
+
interface ActorTaskContext<D extends Record<string, any>, R = AnyObject> {
|
|
2015
|
+
/**
|
|
2016
|
+
* Durable state alias retained for backwards ergonomics.
|
|
2017
|
+
*/
|
|
2018
|
+
state: D;
|
|
2019
|
+
durableState: D;
|
|
2020
|
+
runtimeState: R;
|
|
2021
|
+
store: ActorStateStore<D, R>;
|
|
2022
|
+
input: AnyObject;
|
|
2023
|
+
actor: {
|
|
2024
|
+
name: string;
|
|
2025
|
+
description?: string;
|
|
2026
|
+
key: string;
|
|
2027
|
+
version: number;
|
|
2028
|
+
durableVersion: number;
|
|
2029
|
+
runtimeVersion: number;
|
|
2030
|
+
kind: ActorKind;
|
|
2031
|
+
};
|
|
2032
|
+
options: ActorResolvedInvocationOptions;
|
|
2033
|
+
setState: (next: D | ActorStateReducer<D>) => void;
|
|
2034
|
+
patchState: (partial: Partial<D>) => void;
|
|
2035
|
+
reduceState: (reducer: ActorStateReducer<D>) => void;
|
|
2036
|
+
setDurableState: (next: D | ActorStateReducer<D>) => void;
|
|
2037
|
+
patchDurableState: (partial: Partial<D>) => void;
|
|
2038
|
+
reduceDurableState: (reducer: ActorStateReducer<D>) => void;
|
|
2039
|
+
setRuntimeState: (next: R | ActorStateReducer<R>) => void;
|
|
2040
|
+
patchRuntimeState: (partial: Partial<R>) => void;
|
|
2041
|
+
reduceRuntimeState: (reducer: ActorStateReducer<R>) => void;
|
|
2042
|
+
emit: (signal: string, payload?: AnyObject) => void;
|
|
2043
|
+
inquire: (inquiry: string, context?: AnyObject, options?: InquiryOptions) => Promise<AnyObject>;
|
|
2044
|
+
}
|
|
2045
|
+
/**
|
|
2046
|
+
* Handler signature used by `actor.task(...)`.
|
|
2047
|
+
*/
|
|
2048
|
+
type ActorTaskHandler<D extends Record<string, any>, R = AnyObject> = (context: ActorTaskContext<D, R>) => TaskResult | ActorStateReducer<D> | Promise<TaskResult | ActorStateReducer<D>>;
|
|
2049
|
+
/**
|
|
2050
|
+
* In-memory actor runtime.
|
|
2051
|
+
*
|
|
2052
|
+
* Actors keep durable and runtime state per resolved actor key.
|
|
2053
|
+
* Durable defaults are loaded from `initState`.
|
|
2054
|
+
* Runtime state is intentionally initialized/updated by normal actor write tasks.
|
|
2055
|
+
*/
|
|
2056
|
+
declare class Actor<D extends Record<string, any> = AnyObject, R = AnyObject> {
|
|
2057
|
+
readonly spec: ActorSpec<D, R>;
|
|
2058
|
+
readonly kind: ActorKind;
|
|
2059
|
+
private readonly sourceDefinition?;
|
|
2060
|
+
private readonly stateByKey;
|
|
2061
|
+
private readonly sessionByKey;
|
|
2062
|
+
private readonly idempotencyByKey;
|
|
2063
|
+
private nextTaskBindingIndex;
|
|
2064
|
+
/**
|
|
2065
|
+
* Creates an actor instance and optionally materializes the default key.
|
|
2066
|
+
*/
|
|
2067
|
+
constructor(spec: ActorSpec<D, R>, options?: ActorFactoryOptions<D, R>);
|
|
2068
|
+
/**
|
|
2069
|
+
* Wraps an actor-aware handler into a standard Cadenza task function.
|
|
2070
|
+
*/
|
|
2071
|
+
task(handler: ActorTaskHandler<D, R>, bindingOptions?: ActorTaskBindingOptions): TaskFunction;
|
|
2072
|
+
/**
|
|
2073
|
+
* Returns durable state snapshot for the resolved key.
|
|
2074
|
+
*/
|
|
2075
|
+
getState(actorKey?: string): D;
|
|
2076
|
+
/**
|
|
2077
|
+
* Returns durable state snapshot for the resolved key.
|
|
2078
|
+
*/
|
|
2079
|
+
getDurableState(actorKey?: string): D;
|
|
2080
|
+
/**
|
|
2081
|
+
* Returns runtime state reference for the resolved key.
|
|
2082
|
+
*/
|
|
2083
|
+
getRuntimeState(actorKey?: string): R;
|
|
2084
|
+
/**
|
|
2085
|
+
* Alias of `getDurableVersion`.
|
|
2086
|
+
*/
|
|
2087
|
+
getVersion(actorKey?: string): number;
|
|
2088
|
+
/**
|
|
2089
|
+
* Returns durable state version for the resolved key.
|
|
2090
|
+
*/
|
|
2091
|
+
getDurableVersion(actorKey?: string): number;
|
|
2092
|
+
/**
|
|
2093
|
+
* Returns runtime state version for the resolved key.
|
|
2094
|
+
*/
|
|
2095
|
+
getRuntimeVersion(actorKey?: string): number;
|
|
2096
|
+
/**
|
|
2097
|
+
* Exports this actor as a serializable definition.
|
|
2098
|
+
*/
|
|
2099
|
+
toDefinition(): ActorDefinition<D, R>;
|
|
2100
|
+
/**
|
|
2101
|
+
* Resets one actor key or all keys.
|
|
2102
|
+
*/
|
|
2103
|
+
reset(actorKey?: string): void;
|
|
2104
|
+
private applyRuntimeReadGuard;
|
|
2105
|
+
private normalizeInputContext;
|
|
2106
|
+
private resolveInvocationOptions;
|
|
2107
|
+
private resolveActorKey;
|
|
2108
|
+
private resolveActorKeyFromDefinition;
|
|
2109
|
+
private resolveInitialDurableState;
|
|
2110
|
+
private resolveInitialRuntimeState;
|
|
2111
|
+
private ensureStateRecord;
|
|
2112
|
+
private touchSession;
|
|
2113
|
+
private runWithOptionalIdempotency;
|
|
2114
|
+
private getActiveIdempotencyRecord;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
1802
2117
|
interface TaskOptions {
|
|
1803
2118
|
concurrency?: number;
|
|
1804
2119
|
timeout?: number;
|
|
@@ -1829,6 +2144,7 @@ declare class Cadenza {
|
|
|
1829
2144
|
static runner: GraphRunner;
|
|
1830
2145
|
static metaRunner: GraphRunner;
|
|
1831
2146
|
static registry: GraphRegistry;
|
|
2147
|
+
private static taskCache;
|
|
1832
2148
|
static isBootstrapped: boolean;
|
|
1833
2149
|
static mode: CadenzaMode;
|
|
1834
2150
|
/**
|
|
@@ -1868,6 +2184,7 @@ declare class Cadenza {
|
|
|
1868
2184
|
* @throws {Error} If the name is not a non-empty string.
|
|
1869
2185
|
*/
|
|
1870
2186
|
static validateName(name: string): void;
|
|
2187
|
+
private static resolveTaskOptionsForActorTask;
|
|
1871
2188
|
/**
|
|
1872
2189
|
* Executes the specified task or GraphRoutine with the given context using an internal runner.
|
|
1873
2190
|
*
|
|
@@ -1912,6 +2229,20 @@ declare class Cadenza {
|
|
|
1912
2229
|
static getRoutine(routineName: string): GraphRoutine | undefined;
|
|
1913
2230
|
static defineIntent(intent: Intent): Intent;
|
|
1914
2231
|
static inquire(inquiry: string, context: AnyObject, options?: InquiryOptions): Promise<any>;
|
|
2232
|
+
/**
|
|
2233
|
+
* Creates an in-memory actor runtime instance.
|
|
2234
|
+
*
|
|
2235
|
+
* Actors are not graph nodes. Use `actor.task(...)` to produce standard tasks that
|
|
2236
|
+
* participate in the graph like any other task.
|
|
2237
|
+
*/
|
|
2238
|
+
static createActor<D extends Record<string, any> = AnyObject, R = AnyObject>(spec: ActorSpec<D, R>, options?: ActorFactoryOptions): Actor<D, R>;
|
|
2239
|
+
/**
|
|
2240
|
+
* Creates an actor from a serializable actor definition.
|
|
2241
|
+
*
|
|
2242
|
+
* Durable bootstrap state is resolved from `state.durable.initState`.
|
|
2243
|
+
* For backwards compatibility, legacy `state.durable.initialState` is also accepted.
|
|
2244
|
+
*/
|
|
2245
|
+
static createActorFromDefinition<D extends Record<string, any> = AnyObject, R = AnyObject>(definition: ActorDefinition<D, R>, options?: ActorFactoryOptions<D, R>): Actor<D, R>;
|
|
1915
2246
|
/**
|
|
1916
2247
|
* Creates and registers a new task with the specified parameters and options.
|
|
1917
2248
|
* Tasks are the basic building blocks of Cadenza graphs and are responsible for executing logic.
|
|
@@ -2263,4 +2594,4 @@ declare class Cadenza {
|
|
|
2263
2594
|
static reset(): void;
|
|
2264
2595
|
}
|
|
2265
2596
|
|
|
2266
|
-
export { type AnyObject, type CadenzaMode, type DebounceOptions, DebounceTask, type EmitOptions, EphemeralTask, type EphemeralTaskOptions, GraphContext, GraphRegistry, GraphRoutine, GraphRun, GraphRunner, InquiryBroker, type InquiryOptions, type Intent, type Schema, type SchemaConstraints, type SchemaDefinition, type SchemaType, SignalBroker, SignalEmitter, Task, type TaskFunction, type TaskOptions, type TaskResult, type ThrottleTagGetter, Cadenza as default };
|
|
2597
|
+
export { Actor, type ActorConsistencyProfileName, type ActorDefinition, type ActorFactoryOptions, type ActorInvocationOptions, type ActorKeyDefinition, type ActorKind, type ActorLoadPolicy, type ActorRuntimeReadGuard, type ActorSpec, type ActorStateDefinition, type ActorStateReducer, type ActorStateStore, type ActorTaskBindingDefinition, type ActorTaskBindingOptions, type ActorTaskContext, type ActorTaskHandler, type ActorTaskMode, type ActorWriteContract, type AnyObject, type CadenzaMode, type DebounceOptions, DebounceTask, type EmitOptions, EphemeralTask, type EphemeralTaskOptions, GraphContext, GraphRegistry, GraphRoutine, GraphRun, GraphRunner, type IdempotencyPolicy, InquiryBroker, type InquiryOptions, type Intent, type RetryPolicy, type Schema, type SchemaConstraints, type SchemaDefinition, type SchemaType, type SessionPolicy, SignalBroker, SignalEmitter, Task, type TaskFunction, type TaskOptions, type TaskResult, type ThrottleTagGetter, Cadenza as default };
|