@ankhorage/runtime 5.8.1 → 5.8.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ankhorage/runtime
2
2
 
3
+ ## 5.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 5858efa: Resolve screen loader inputs from the canonical application binding context.
8
+
3
9
  ## 5.8.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # Ankhorage Runtime
5
5
 
6
- ![license: MIT](./paradox/badges/license.svg) ![npm: v5.8.1](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: configured](./paradox/badges/tests.svg) ![paradox: warnings](./paradox/badges/docs.svg)
6
+ ![license: MIT](./paradox/badges/license.svg) ![npm: v5.8.2](./paradox/badges/npm.svg) ![runtime: bun](./paradox/badges/runtime.svg) ![typescript: strict](./paradox/badges/typescript.svg) ![eslint: checked](./paradox/badges/eslint.svg) ![prettier: checked](./paradox/badges/prettier.svg) ![build: checked](./paradox/badges/build.svg) ![tests: configured](./paradox/badges/tests.svg) ![paradox: warnings](./paradox/badges/docs.svg)
7
7
 
8
8
  Renders Ankhorage application manifests and resolves their runtime bindings, capabilities, events, media, screens, and state.
9
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"RuntimeScreen.d.ts","sourceRoot":"","sources":["../src/RuntimeScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAOvD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC;CACtC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBAwCtD"}
1
+ {"version":3,"file":"RuntimeScreen.d.ts","sourceRoot":"","sources":["../src/RuntimeScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAClF,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAOvD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC;CACtC;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,qBA0CtD"}
@@ -19,10 +19,12 @@ export function RuntimeScreen(props) {
19
19
  }), [runtimeConfig.executeCapability, runtimeConfig.flowPort, stateAdapter]);
20
20
  const screenOperationLoaders = useRuntimeScreenOperationLoaders({
21
21
  bindingContext: runtimeConfig.bindingContext,
22
+ capabilityValues: runtimeConfig.capabilityValues,
22
23
  executeCapability,
23
24
  resultSlots: runtimeConfig.resultSlots,
24
25
  onDiagnostics: runtimeConfig.onDiagnostics,
25
26
  screen,
27
+ stateAdapter,
26
28
  });
27
29
  return (_jsx(RuntimeRenderer, { node: screen.root, isRoot: true, registry: registry, stateAdapter: stateAdapter, dataBindings: manifest.dataBindings, mediaAssets: manifest.media?.assets, resultSlots: screenOperationLoaders.resultSlots, executeCapability: executeCapability }, `${screen.id}:${screenOperationLoaders.renderVersion}`));
28
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RuntimeScreen.js","sourceRoot":"","sources":["../src/RuntimeScreen.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAS3E,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IACjF,MAAM,aAAa,GAAG,wBAAwB,EAAE,CAAC;IACjD,MAAM,eAAe,GAAG,0BAA0B,EAAE,CAAC;IACrD,MAAM,oBAAoB,GAAG,KAAK,CAAC,OAAO,CACxC,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,+BAA+B,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,EAC7F,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC,CAC3B,CAAC;IACF,MAAM,YAAY,GAChB,oBAAoB,IAAI,eAAe,EAAE,YAAY,IAAI,oBAAoB,CAAC;IAChF,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,CACrC,GAAG,EAAE,CACH,gCAAgC,CAAC;QAC/B,kBAAkB,EAAE,aAAa,CAAC,iBAAiB;QACnD,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,YAAY;KACb,CAAC,EACJ,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,CAAC,QAAQ,EAAE,YAAY,CAAC,CACxE,CAAC;IACF,MAAM,sBAAsB,GAAG,gCAAgC,CAAC;QAC9D,cAAc,EAAE,aAAa,CAAC,cAAc;QAC5C,iBAAiB;QACjB,WAAW,EAAE,aAAa,CAAC,WAAW;QACtC,aAAa,EAAE,aAAa,CAAC,aAAa;QAC1C,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,KAAC,eAAe,IAEd,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,MAAM,QACN,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,QAAQ,CAAC,YAAY,EACnC,WAAW,EAAE,QAAQ,CAAC,KAAK,EAAE,MAAM,EACnC,WAAW,EAAE,sBAAsB,CAAC,WAAW,EAC/C,iBAAiB,EAAE,iBAAiB,IAR/B,GAAG,MAAM,CAAC,EAAE,IAAI,sBAAsB,CAAC,aAAa,EAAE,CAS3D,CACH,CAAC;AACJ,CAAC","sourcesContent":["import type { AppManifest, ScreenSpec, StateAdapter } from '@ankhorage/contracts';\nimport React from 'react';\n\nimport { useOptionalManifestContext } from './ManifestContext.js';\nimport type { ComponentRegistry } from './registry.js';\nimport { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor.js';\nimport { RuntimeRenderer } from './RuntimeRenderer.js';\nimport { useRuntimeRendererConfig } from './RuntimeRendererConfig.js';\nimport { useRuntimeScreenOperationLoaders } from './runtimeScreenLoaders.js';\nimport { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter.js';\n\nexport interface RuntimeScreenProps {\n readonly manifest: AppManifest;\n readonly screen: ScreenSpec;\n readonly registry?: ComponentRegistry;\n readonly stateAdapter?: StateAdapter;\n}\n\nexport function RuntimeScreen(props: RuntimeScreenProps) {\n const { manifest, screen, registry, stateAdapter: injectedStateAdapter } = props;\n const runtimeConfig = useRuntimeRendererConfig();\n const manifestContext = useOptionalManifestContext();\n const fallbackStateAdapter = React.useMemo(\n () => (manifest.state?.provider === 'legend' ? createRuntimeMemoryStateAdapter() : undefined),\n [manifest.state?.provider],\n );\n const stateAdapter =\n injectedStateAdapter ?? manifestContext?.stateAdapter ?? fallbackStateAdapter;\n const executeCapability = React.useMemo(\n () =>\n composeRuntimeCapabilityExecutor({\n capabilityExecutor: runtimeConfig.executeCapability,\n flowPort: runtimeConfig.flowPort,\n stateAdapter,\n }),\n [runtimeConfig.executeCapability, runtimeConfig.flowPort, stateAdapter],\n );\n const screenOperationLoaders = useRuntimeScreenOperationLoaders({\n bindingContext: runtimeConfig.bindingContext,\n executeCapability,\n resultSlots: runtimeConfig.resultSlots,\n onDiagnostics: runtimeConfig.onDiagnostics,\n screen,\n });\n\n return (\n <RuntimeRenderer\n key={`${screen.id}:${screenOperationLoaders.renderVersion}`}\n node={screen.root}\n isRoot\n registry={registry}\n stateAdapter={stateAdapter}\n dataBindings={manifest.dataBindings}\n mediaAssets={manifest.media?.assets}\n resultSlots={screenOperationLoaders.resultSlots}\n executeCapability={executeCapability}\n />\n );\n}\n"]}
1
+ {"version":3,"file":"RuntimeScreen.js","sourceRoot":"","sources":["../src/RuntimeScreen.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAS3E,MAAM,UAAU,aAAa,CAAC,KAAyB;IACrD,MAAM,EAAE,QAAQ,EAAE,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E,sBAAsB,CAAC,WAAW,EAC/C,iBAAiB,EAAE,iBAAiB,IAR/B,GAAG,MAAM,CAAC,EAAE,IAAI,sBAAsB,CAAC,aAAa,EAAE,CAS3D,CACH,CAAC;AACJ,CAAC","sourcesContent":["import type { AppManifest, ScreenSpec, StateAdapter } from '@ankhorage/contracts';\nimport React from 'react';\n\nimport { useOptionalManifestContext } from './ManifestContext.js';\nimport type { ComponentRegistry } from './registry.js';\nimport { composeRuntimeCapabilityExecutor } from './runtimeCapabilityExecutor.js';\nimport { RuntimeRenderer } from './RuntimeRenderer.js';\nimport { useRuntimeRendererConfig } from './RuntimeRendererConfig.js';\nimport { useRuntimeScreenOperationLoaders } from './runtimeScreenLoaders.js';\nimport { createRuntimeMemoryStateAdapter } from './runtimeStateAdapter.js';\n\nexport interface RuntimeScreenProps {\n readonly manifest: AppManifest;\n readonly screen: ScreenSpec;\n readonly registry?: ComponentRegistry;\n readonly stateAdapter?: StateAdapter;\n}\n\nexport function RuntimeScreen(props: RuntimeScreenProps) {\n const { manifest, screen, registry, stateAdapter: injectedStateAdapter } = props;\n const runtimeConfig = useRuntimeRendererConfig();\n const manifestContext = useOptionalManifestContext();\n const fallbackStateAdapter = React.useMemo(\n () => (manifest.state?.provider === 'legend' ? createRuntimeMemoryStateAdapter() : undefined),\n [manifest.state?.provider],\n );\n const stateAdapter =\n injectedStateAdapter ?? manifestContext?.stateAdapter ?? fallbackStateAdapter;\n const executeCapability = React.useMemo(\n () =>\n composeRuntimeCapabilityExecutor({\n capabilityExecutor: runtimeConfig.executeCapability,\n flowPort: runtimeConfig.flowPort,\n stateAdapter,\n }),\n [runtimeConfig.executeCapability, runtimeConfig.flowPort, stateAdapter],\n );\n const screenOperationLoaders = useRuntimeScreenOperationLoaders({\n bindingContext: runtimeConfig.bindingContext,\n capabilityValues: runtimeConfig.capabilityValues,\n executeCapability,\n resultSlots: runtimeConfig.resultSlots,\n onDiagnostics: runtimeConfig.onDiagnostics,\n screen,\n stateAdapter,\n });\n\n return (\n <RuntimeRenderer\n key={`${screen.id}:${screenOperationLoaders.renderVersion}`}\n node={screen.root}\n isRoot\n registry={registry}\n stateAdapter={stateAdapter}\n dataBindings={manifest.dataBindings}\n mediaAssets={manifest.media?.assets}\n resultSlots={screenOperationLoaders.resultSlots}\n executeCapability={executeCapability}\n />\n );\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { DataSourceDiagnostic, ScreenDataLoaderDefinition, ScreenSpec } from '@ankhorage/contracts';
2
- import { type RuntimeBindingResultCache, type RuntimeCapabilityExecutor } from './runtimeBindings.js';
1
+ import type { BindingValue, DataSourceDiagnostic, ScreenDataLoaderDefinition, ScreenSpec } from '@ankhorage/contracts';
2
+ import { type RuntimeBindingResolutionContext, type RuntimeBindingResultCache, type RuntimeCapabilityExecutor } from './runtimeBindings.js';
3
3
  export interface RuntimeScreenOperationLoaderState {
4
4
  readonly dependencyKey: string;
5
5
  readonly diagnostics: readonly DataSourceDiagnostic[];
@@ -28,7 +28,9 @@ export declare function createRuntimeScreenLoaderRequestKey(args: {
28
28
  readonly screenId: string;
29
29
  readonly loaders: readonly ScreenDataLoaderDefinition[];
30
30
  readonly bindingContext?: Record<string, unknown>;
31
+ readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;
31
32
  readonly resultSlots?: RuntimeBindingResultCache;
33
+ readonly stateAdapter?: RuntimeBindingResolutionContext['stateAdapter'];
32
34
  }): string;
33
35
  /*** Constructs a pending state for capability-backed screen loaders. */
34
36
  export declare function createPendingRuntimeScreenOperationLoaderState(args: {
@@ -38,18 +40,22 @@ export declare function createPendingRuntimeScreenOperationLoaderState(args: {
38
40
  /*** Executes screen loaders through the same invocation and result-slot machinery as events. */
39
41
  export declare function executeRuntimeScreenOperationLoaders(args: {
40
42
  readonly bindingContext?: Record<string, unknown>;
43
+ readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;
41
44
  readonly executeCapability?: RuntimeCapabilityExecutor;
42
45
  readonly resultSlots?: RuntimeBindingResultCache;
43
46
  readonly screen: ScreenSpec;
44
47
  readonly loaders: readonly ScreenDataLoaderDefinition[];
48
+ readonly stateAdapter?: RuntimeBindingResolutionContext['stateAdapter'];
45
49
  }): Promise<RuntimeScreenOperationLoaderExecutionResult>;
46
50
  /*** Runs screen capability invocations when their serialized request input changes. */
47
51
  export declare function useRuntimeScreenOperationLoaders(args: {
48
52
  readonly bindingContext?: Record<string, unknown>;
53
+ readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;
49
54
  readonly executeCapability?: RuntimeCapabilityExecutor;
50
55
  readonly resultSlots?: RuntimeBindingResultCache;
51
56
  readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;
52
57
  readonly screen: ScreenSpec;
58
+ readonly stateAdapter?: RuntimeBindingResolutionContext['stateAdapter'];
53
59
  }): RuntimeScreenOperationLoaderState;
54
60
  export {};
55
61
  //# sourceMappingURL=runtimeScreenLoaders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeScreenLoaders.d.ts","sourceRoot":"","sources":["../src/runtimeScreenLoaders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,oBAAoB,EACpB,0BAA0B,EAC1B,UAAU,EACX,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAGL,KAAK,yBAAyB,EAE9B,KAAK,yBAAyB,EAC/B,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,iCAAiC;IAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACtD,QAAQ,CAAC,WAAW,EAAE,yBAAyB,CAAC;IAChD,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,2CAA2C;IAC1D,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,WAAW,EAAE,SAAS,oBAAoB,EAAE,CAAC;IACtD,QAAQ,CAAC,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AC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/E,QAAQ,CAAC,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IACvD,QAAQ,CAAC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,SAAS,0BAA0B,EAAE,CAAC;IACxD,QAAQ,CAAC,YAAY,CAAC,EAAE,+BAA+B,CAAC,cAAc,CAAC,CAAC;CACzE,GAAG,OAAO,CAAC,2CAA2C,CAAC,CA2CvD;AAED,uFAAuF;AACvF,wBAAgB,gCAAgC,CAAC,IAAI,EAAE;IACrD,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,QAAQ,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,SAAS,CAAC,CAAC,CAAC;IAC/E,QAAQ,CAAC,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IACvD,QAAQ,CAAC,WAAW,CAAC,EAAE,yBAAyB,CAAC;IACjD,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAChF,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,YAAY,CAAC,EAAE,+BAA+B,CAAC,cAAc,CAAC,CAAC;CACzE,GAAG,iCAAiC,CA8EpC"}
@@ -30,8 +30,10 @@ export function createRuntimeScreenLoaderRequestKey(args) {
30
30
  loaders: args.loaders.map((loader) => ({
31
31
  capability: loader.capability,
32
32
  input: resolveBindingInputMapSync(loader.input, {
33
+ capabilityValues: args.capabilityValues,
33
34
  context: args.bindingContext,
34
35
  resultSlots: args.resultSlots,
36
+ stateAdapter: args.stateAdapter,
35
37
  }),
36
38
  result: loader.result,
37
39
  })),
@@ -57,9 +59,11 @@ export async function executeRuntimeScreenOperationLoaders(args) {
57
59
  for (const loader of args.loaders) {
58
60
  try {
59
61
  await executeRuntimeBindingInvocation(loader, {
62
+ capabilityValues: args.capabilityValues,
60
63
  context: args.bindingContext,
61
64
  executeCapability: args.executeCapability,
62
65
  resultSlots,
66
+ stateAdapter: args.stateAdapter,
63
67
  writeResultSlot,
64
68
  }, { node: args.screen.root }, diagnostics);
65
69
  }
@@ -74,9 +78,11 @@ export async function executeRuntimeScreenOperationLoaders(args) {
74
78
  return {
75
79
  dependencyKey: createRuntimeScreenLoaderRequestKey({
76
80
  bindingContext: args.bindingContext,
81
+ capabilityValues: args.capabilityValues,
77
82
  loaders: args.loaders,
78
83
  resultSlots: args.resultSlots,
79
84
  screenId: args.screen.id,
85
+ stateAdapter: args.stateAdapter,
80
86
  }),
81
87
  diagnostics,
82
88
  resultSlots,
@@ -88,10 +94,19 @@ export function useRuntimeScreenOperationLoaders(args) {
88
94
  const loaders = React.useMemo(() => resolveScreenOperationLoaders(args.screen), [args.screen]);
89
95
  const dependencyKey = React.useMemo(() => createRuntimeScreenLoaderRequestKey({
90
96
  bindingContext: args.bindingContext,
97
+ capabilityValues: args.capabilityValues,
91
98
  loaders,
92
99
  resultSlots: args.resultSlots,
93
100
  screenId: args.screen.id,
94
- }), [args.bindingContext, args.resultSlots, args.screen.id, loaders]);
101
+ stateAdapter: args.stateAdapter,
102
+ }), [
103
+ args.bindingContext,
104
+ args.capabilityValues,
105
+ args.resultSlots,
106
+ args.screen.id,
107
+ args.stateAdapter,
108
+ loaders,
109
+ ]);
95
110
  const [state, setState] = React.useState(() => createPendingRuntimeScreenOperationLoaderState({ dependencyKey }));
96
111
  const requestLifecycle = React.useRef(createRuntimeScreenOperationLoaderRequestLifecycle());
97
112
  React.useEffect(() => {
@@ -104,10 +119,12 @@ export function useRuntimeScreenOperationLoaders(args) {
104
119
  return;
105
120
  void executeRuntimeScreenOperationLoaders({
106
121
  bindingContext: args.bindingContext,
122
+ capabilityValues: args.capabilityValues,
107
123
  executeCapability: args.executeCapability,
108
124
  loaders,
109
125
  resultSlots: args.resultSlots,
110
126
  screen: args.screen,
127
+ stateAdapter: args.stateAdapter,
111
128
  }).then((result) => {
112
129
  if (requestLifecycle.current.isCurrent({ dependencyKey, requestId })) {
113
130
  setState((current) => ({
@@ -120,9 +137,11 @@ export function useRuntimeScreenOperationLoaders(args) {
120
137
  });
121
138
  }, [
122
139
  args.bindingContext,
140
+ args.capabilityValues,
123
141
  args.executeCapability,
124
142
  args.resultSlots,
125
143
  args.screen,
144
+ args.stateAdapter,
126
145
  dependencyKey,
127
146
  loaders,
128
147
  ]);
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeScreenLoaders.js","sourceRoot":"","sources":["../src/runtimeScreenLoaders.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,+BAA+B,EAC/B,0BAA0B,GAI3B,MAAM,sBAAsB,CAAC;AAqB9B,6EAA6E;AAC7E,MAAM,UAAU,kDAAkD;IAChE,IAAI,aAAiC,CAAC;IACtC,IAAI,SAAS,GAAG,CAAC,CAAC;IAElB,OAAO;QACL,UAAU;YACR,SAAS,IAAI,CAAC,CAAC;QACjB,CAAC;QACD,KAAK,CAAC,iBAAiB;YACrB,IAAI,iBAAiB,KAAK,aAAa;gBAAE,OAAO,SAAS,CAAC;YAC1D,aAAa,GAAG,iBAAiB,CAAC;YAClC,SAAS,IAAI,CAAC,CAAC;YACf,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,SAAS,CAAC,IAAI;YACZ,OAAO,IAAI,CAAC,aAAa,KAAK,aAAa,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC;QAC9E,CAAC;KACF,CAAC;AACJ,CAAC;AAED,yEAAyE;AACzE,MAAM,UAAU,6BAA6B,CAC3C,MAAkB;IAElB,OAAO,MAAM,CAAC,WAAW,IAAI,EAAE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O;KACR,CAAC,CAAC;IAEH,KAAK,CAAC,SAAS,CACb,GAAG,EAAE,CAAC,GAAG,EAAE;QACT,gBAAgB,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC;IACxC,CAAC,EACD,EAAE,CACH,CAAC;IAEF,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,KAAK,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC;YAAE,aAAa,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACvE,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IAEvC,OAAO,KAAK,CAAC,aAAa,KAAK,aAAa;QAC1C,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,8CAA8C,CAAC,EAAE,aAAa,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC,CAAC;AAC9F,CAAC;AAED,SAAS,eAAe,CAAC,KAAc;IACrC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC/B,CAAC","sourcesContent":["import type {\n BindingValue,\n DataSourceDiagnostic,\n ScreenDataLoaderDefinition,\n ScreenSpec,\n} from '@ankhorage/contracts';\nimport React from 'react';\n\nimport {\n executeRuntimeBindingInvocation,\n resolveBindingInputMapSync,\n type RuntimeBindingResultCache,\n type RuntimeBindingResultWriter,\n type RuntimeCapabilityExecutor,\n} from './runtimeBindings.js';\n\nexport interface RuntimeScreenOperationLoaderState {\n readonly dependencyKey: string;\n readonly diagnostics: readonly DataSourceDiagnostic[];\n readonly resultSlots: RuntimeBindingResultCache;\n readonly renderVersion: number;\n}\n\nexport interface RuntimeScreenOperationLoaderExecutionResult {\n readonly dependencyKey: string;\n readonly diagnostics: readonly DataSourceDiagnostic[];\n readonly resultSlots: RuntimeBindingResultCache;\n}\n\ninterface RuntimeScreenOperationLoaderRequestLifecycle {\n invalidate(): void;\n start(dependencyKey: string): number | undefined;\n isCurrent(args: { readonly dependencyKey: string; readonly requestId: number }): boolean;\n}\n\n/*** Tracks one active screen-loader request per effective dependency key. */\nexport function createRuntimeScreenOperationLoaderRequestLifecycle(): RuntimeScreenOperationLoaderRequestLifecycle {\n let dependencyKey: string | undefined;\n let requestId = 0;\n\n return {\n invalidate() {\n requestId += 1;\n },\n start(nextDependencyKey) {\n if (nextDependencyKey === dependencyKey) return undefined;\n dependencyKey = nextDependencyKey;\n requestId += 1;\n return requestId;\n },\n isCurrent(args) {\n return args.dependencyKey === dependencyKey && args.requestId === requestId;\n },\n };\n}\n\n/*** Returns the portable capability invocations authored on a screen. */\nexport function resolveScreenOperationLoaders(\n screen: ScreenSpec,\n): readonly ScreenDataLoaderDefinition[] {\n return screen.dataLoaders ?? [];\n}\n\n/*** Creates a deterministic loader request key from resolved inputs and declared result slots. */\nexport function createRuntimeScreenLoaderRequestKey(args: {\n readonly screenId: string;\n readonly loaders: readonly ScreenDataLoaderDefinition[];\n readonly bindingContext?: Record<string, unknown>;\n readonly resultSlots?: RuntimeBindingResultCache;\n}): string {\n return stableSerialize({\n loaders: args.loaders.map((loader) => ({\n capability: loader.capability,\n input: resolveBindingInputMapSync(loader.input, {\n context: args.bindingContext,\n resultSlots: args.resultSlots,\n }),\n result: loader.result,\n })),\n screenId: args.screenId,\n });\n}\n\n/*** Constructs a pending state for capability-backed screen loaders. */\nexport function createPendingRuntimeScreenOperationLoaderState(args: {\n readonly dependencyKey: string;\n readonly previousState?: RuntimeScreenOperationLoaderState;\n}): RuntimeScreenOperationLoaderState {\n return {\n dependencyKey: args.dependencyKey,\n diagnostics: [],\n resultSlots: {},\n renderVersion: (args.previousState?.renderVersion ?? -1) + 1,\n };\n}\n\n/*** Executes screen loaders through the same invocation and result-slot machinery as events. */\nexport async function executeRuntimeScreenOperationLoaders(args: {\n readonly bindingContext?: Record<string, unknown>;\n readonly executeCapability?: RuntimeCapabilityExecutor;\n readonly resultSlots?: RuntimeBindingResultCache;\n readonly screen: ScreenSpec;\n readonly loaders: readonly ScreenDataLoaderDefinition[];\n}): Promise<RuntimeScreenOperationLoaderExecutionResult> {\n const resultSlots: Record<string, BindingValue | undefined> = { ...(args.resultSlots ?? {}) };\n const diagnostics: DataSourceDiagnostic[] = [];\n const writeResultSlot: RuntimeBindingResultWriter = (slot, value) => {\n resultSlots[slot] = value;\n };\n\n for (const loader of args.loaders) {\n try {\n await executeRuntimeBindingInvocation(\n loader,\n {\n context: args.bindingContext,\n executeCapability: args.executeCapability,\n resultSlots,\n writeResultSlot,\n },\n { node: args.screen.root },\n diagnostics,\n );\n } catch {\n diagnostics.push({\n code: 'adapter-error',\n message: `Capability '${loader.capability}' could not be completed. Please try again.`,\n severity: 'error',\n });\n }\n }\n\n return {\n dependencyKey: createRuntimeScreenLoaderRequestKey({\n bindingContext: args.bindingContext,\n loaders: args.loaders,\n resultSlots: args.resultSlots,\n screenId: args.screen.id,\n }),\n diagnostics,\n resultSlots,\n };\n}\n\n/*** Runs screen capability invocations when their serialized request input changes. */\nexport function useRuntimeScreenOperationLoaders(args: {\n readonly bindingContext?: Record<string, unknown>;\n readonly executeCapability?: RuntimeCapabilityExecutor;\n readonly resultSlots?: RuntimeBindingResultCache;\n readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n readonly screen: ScreenSpec;\n}): RuntimeScreenOperationLoaderState {\n const { onDiagnostics } = args;\n const loaders = React.useMemo(() => resolveScreenOperationLoaders(args.screen), [args.screen]);\n const dependencyKey = React.useMemo(\n () =>\n createRuntimeScreenLoaderRequestKey({\n bindingContext: args.bindingContext,\n loaders,\n resultSlots: args.resultSlots,\n screenId: args.screen.id,\n }),\n [args.bindingContext, args.resultSlots, args.screen.id, loaders],\n );\n const [state, setState] = React.useState<RuntimeScreenOperationLoaderState>(() =>\n createPendingRuntimeScreenOperationLoaderState({ dependencyKey }),\n );\n const requestLifecycle = React.useRef(createRuntimeScreenOperationLoaderRequestLifecycle());\n\n React.useEffect(() => {\n if (loaders.length === 0) {\n requestLifecycle.current.invalidate();\n return;\n }\n const requestId = requestLifecycle.current.start(dependencyKey);\n if (requestId === undefined) return;\n void executeRuntimeScreenOperationLoaders({\n bindingContext: args.bindingContext,\n executeCapability: args.executeCapability,\n loaders,\n resultSlots: args.resultSlots,\n screen: args.screen,\n }).then((result) => {\n if (requestLifecycle.current.isCurrent({ dependencyKey, requestId })) {\n setState((current) => ({\n ...result,\n renderVersion:\n current.dependencyKey === dependencyKey\n ? current.renderVersion\n : current.renderVersion + 1,\n }));\n }\n });\n }, [\n args.bindingContext,\n args.executeCapability,\n args.resultSlots,\n args.screen,\n dependencyKey,\n loaders,\n ]);\n\n React.useEffect(\n () => () => {\n requestLifecycle.current.invalidate();\n },\n [],\n );\n\n React.useEffect(() => {\n if (state.diagnostics.length > 0) onDiagnostics?.(state.diagnostics);\n }, [onDiagnostics, state.diagnostics]);\n\n return state.dependencyKey === dependencyKey\n ? state\n : createPendingRuntimeScreenOperationLoaderState({ dependencyKey, previousState: state });\n}\n\nfunction stableSerialize(value: unknown): string {\n return JSON.stringify(value);\n}\n"]}
1
+ {"version":3,"file":"runtimeScreenLoaders.js","sourceRoot":"","sources":["../src/runtimeScreenLoaders.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,+BAA+B,EAC/B,0BAA0B,GAK3B,MAAM,sBAAsB,CAAC;AAqB9B,6EAA6E;AAC7E,MAAM,UAAU,kDAAkD;IAChE,IAAI,aAAiC,CAAC;IACtC,IAAI,SAAS,GAAG,CAAC,CAAC;IAElB,OAAO;QACL,UAAU;YACR,SAAS,IAAI,CAAC,CAAC;QACjB,CAAC;QACD,KAAK,CAAC,iBAAiB;YACrB,IAAI,iBAAiB,KAAK,aAAa;gBAAE,OAAO,SAAS,CAAC;YAC1D,aAAa,GAAG,iBAAiB,CAAC;YAClC,SAAS,IAAI,CAAC,CAAC;YACf,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,SAAS,CAAC,IAAI;YACZ,OAAO,IAAI,CAAC,aAAa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AAS,eAAe,CAAC,KAAc;IACrC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAC/B,CAAC","sourcesContent":["import type {\n BindingValue,\n DataSourceDiagnostic,\n ScreenDataLoaderDefinition,\n ScreenSpec,\n} from '@ankhorage/contracts';\nimport React from 'react';\n\nimport {\n executeRuntimeBindingInvocation,\n resolveBindingInputMapSync,\n type RuntimeBindingResolutionContext,\n type RuntimeBindingResultCache,\n type RuntimeBindingResultWriter,\n type RuntimeCapabilityExecutor,\n} from './runtimeBindings.js';\n\nexport interface RuntimeScreenOperationLoaderState {\n readonly dependencyKey: string;\n readonly diagnostics: readonly DataSourceDiagnostic[];\n readonly resultSlots: RuntimeBindingResultCache;\n readonly renderVersion: number;\n}\n\nexport interface RuntimeScreenOperationLoaderExecutionResult {\n readonly dependencyKey: string;\n readonly diagnostics: readonly DataSourceDiagnostic[];\n readonly resultSlots: RuntimeBindingResultCache;\n}\n\ninterface RuntimeScreenOperationLoaderRequestLifecycle {\n invalidate(): void;\n start(dependencyKey: string): number | undefined;\n isCurrent(args: { readonly dependencyKey: string; readonly requestId: number }): boolean;\n}\n\n/*** Tracks one active screen-loader request per effective dependency key. */\nexport function createRuntimeScreenOperationLoaderRequestLifecycle(): RuntimeScreenOperationLoaderRequestLifecycle {\n let dependencyKey: string | undefined;\n let requestId = 0;\n\n return {\n invalidate() {\n requestId += 1;\n },\n start(nextDependencyKey) {\n if (nextDependencyKey === dependencyKey) return undefined;\n dependencyKey = nextDependencyKey;\n requestId += 1;\n return requestId;\n },\n isCurrent(args) {\n return args.dependencyKey === dependencyKey && args.requestId === requestId;\n },\n };\n}\n\n/*** Returns the portable capability invocations authored on a screen. */\nexport function resolveScreenOperationLoaders(\n screen: ScreenSpec,\n): readonly ScreenDataLoaderDefinition[] {\n return screen.dataLoaders ?? [];\n}\n\n/*** Creates a deterministic loader request key from resolved inputs and declared result slots. */\nexport function createRuntimeScreenLoaderRequestKey(args: {\n readonly screenId: string;\n readonly loaders: readonly ScreenDataLoaderDefinition[];\n readonly bindingContext?: Record<string, unknown>;\n readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;\n readonly resultSlots?: RuntimeBindingResultCache;\n readonly stateAdapter?: RuntimeBindingResolutionContext['stateAdapter'];\n}): string {\n return stableSerialize({\n loaders: args.loaders.map((loader) => ({\n capability: loader.capability,\n input: resolveBindingInputMapSync(loader.input, {\n capabilityValues: args.capabilityValues,\n context: args.bindingContext,\n resultSlots: args.resultSlots,\n stateAdapter: args.stateAdapter,\n }),\n result: loader.result,\n })),\n screenId: args.screenId,\n });\n}\n\n/*** Constructs a pending state for capability-backed screen loaders. */\nexport function createPendingRuntimeScreenOperationLoaderState(args: {\n readonly dependencyKey: string;\n readonly previousState?: RuntimeScreenOperationLoaderState;\n}): RuntimeScreenOperationLoaderState {\n return {\n dependencyKey: args.dependencyKey,\n diagnostics: [],\n resultSlots: {},\n renderVersion: (args.previousState?.renderVersion ?? -1) + 1,\n };\n}\n\n/*** Executes screen loaders through the same invocation and result-slot machinery as events. */\nexport async function executeRuntimeScreenOperationLoaders(args: {\n readonly bindingContext?: Record<string, unknown>;\n readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;\n readonly executeCapability?: RuntimeCapabilityExecutor;\n readonly resultSlots?: RuntimeBindingResultCache;\n readonly screen: ScreenSpec;\n readonly loaders: readonly ScreenDataLoaderDefinition[];\n readonly stateAdapter?: RuntimeBindingResolutionContext['stateAdapter'];\n}): Promise<RuntimeScreenOperationLoaderExecutionResult> {\n const resultSlots: Record<string, BindingValue | undefined> = { ...(args.resultSlots ?? {}) };\n const diagnostics: DataSourceDiagnostic[] = [];\n const writeResultSlot: RuntimeBindingResultWriter = (slot, value) => {\n resultSlots[slot] = value;\n };\n\n for (const loader of args.loaders) {\n try {\n await executeRuntimeBindingInvocation(\n loader,\n {\n capabilityValues: args.capabilityValues,\n context: args.bindingContext,\n executeCapability: args.executeCapability,\n resultSlots,\n stateAdapter: args.stateAdapter,\n writeResultSlot,\n },\n { node: args.screen.root },\n diagnostics,\n );\n } catch {\n diagnostics.push({\n code: 'adapter-error',\n message: `Capability '${loader.capability}' could not be completed. Please try again.`,\n severity: 'error',\n });\n }\n }\n\n return {\n dependencyKey: createRuntimeScreenLoaderRequestKey({\n bindingContext: args.bindingContext,\n capabilityValues: args.capabilityValues,\n loaders: args.loaders,\n resultSlots: args.resultSlots,\n screenId: args.screen.id,\n stateAdapter: args.stateAdapter,\n }),\n diagnostics,\n resultSlots,\n };\n}\n\n/*** Runs screen capability invocations when their serialized request input changes. */\nexport function useRuntimeScreenOperationLoaders(args: {\n readonly bindingContext?: Record<string, unknown>;\n readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>;\n readonly executeCapability?: RuntimeCapabilityExecutor;\n readonly resultSlots?: RuntimeBindingResultCache;\n readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n readonly screen: ScreenSpec;\n readonly stateAdapter?: RuntimeBindingResolutionContext['stateAdapter'];\n}): RuntimeScreenOperationLoaderState {\n const { onDiagnostics } = args;\n const loaders = React.useMemo(() => resolveScreenOperationLoaders(args.screen), [args.screen]);\n const dependencyKey = React.useMemo(\n () =>\n createRuntimeScreenLoaderRequestKey({\n bindingContext: args.bindingContext,\n capabilityValues: args.capabilityValues,\n loaders,\n resultSlots: args.resultSlots,\n screenId: args.screen.id,\n stateAdapter: args.stateAdapter,\n }),\n [\n args.bindingContext,\n args.capabilityValues,\n args.resultSlots,\n args.screen.id,\n args.stateAdapter,\n loaders,\n ],\n );\n const [state, setState] = React.useState<RuntimeScreenOperationLoaderState>(() =>\n createPendingRuntimeScreenOperationLoaderState({ dependencyKey }),\n );\n const requestLifecycle = React.useRef(createRuntimeScreenOperationLoaderRequestLifecycle());\n\n React.useEffect(() => {\n if (loaders.length === 0) {\n requestLifecycle.current.invalidate();\n return;\n }\n const requestId = requestLifecycle.current.start(dependencyKey);\n if (requestId === undefined) return;\n void executeRuntimeScreenOperationLoaders({\n bindingContext: args.bindingContext,\n capabilityValues: args.capabilityValues,\n executeCapability: args.executeCapability,\n loaders,\n resultSlots: args.resultSlots,\n screen: args.screen,\n stateAdapter: args.stateAdapter,\n }).then((result) => {\n if (requestLifecycle.current.isCurrent({ dependencyKey, requestId })) {\n setState((current) => ({\n ...result,\n renderVersion:\n current.dependencyKey === dependencyKey\n ? current.renderVersion\n : current.renderVersion + 1,\n }));\n }\n });\n }, [\n args.bindingContext,\n args.capabilityValues,\n args.executeCapability,\n args.resultSlots,\n args.screen,\n args.stateAdapter,\n dependencyKey,\n loaders,\n ]);\n\n React.useEffect(\n () => () => {\n requestLifecycle.current.invalidate();\n },\n [],\n );\n\n React.useEffect(() => {\n if (state.diagnostics.length > 0) onDiagnostics?.(state.diagnostics);\n }, [onDiagnostics, state.diagnostics]);\n\n return state.dependencyKey === dependencyKey\n ? state\n : createPendingRuntimeScreenOperationLoaderState({ dependencyKey, previousState: state });\n}\n\nfunction stableSerialize(value: unknown): string {\n return JSON.stringify(value);\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/runtime",
3
- "version": "5.8.1",
3
+ "version": "5.8.2",
4
4
  "description": "Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -1,7 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.8.1">
2
- <title>npm: v5.8.1</title>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.8.2">
2
+ <title>npm: v5.8.2</title>
3
3
  <rect width="38" height="20" fill="#374151"/>
4
4
  <rect x="38" width="52" height="20" fill="#cb3837"/>
5
5
  <text x="19" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">npm</text>
6
- <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.8.1</text>
6
+ <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.8.2</text>
7
7
  </svg>
@@ -210,6 +210,7 @@ graph TD
210
210
  module_src_runtimeScreenLoaders_test_ts["src/runtimeScreenLoaders.test.ts"]
211
211
  package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_test_ts
212
212
  module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts
213
+ module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeStateAdapter_ts
213
214
  module_src_runtimeScreenLoaders_ts["src/runtimeScreenLoaders.ts"]
214
215
  package__ankhorage_runtime -.-> module_src_runtimeScreenLoaders_ts
215
216
  module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts
@@ -125,6 +125,7 @@ graph LR
125
125
  export_createRuntimeMemoryStateAdapter -.-> export_RuntimeMemoryStateAdapterOptions
126
126
  export_createRuntimeScreenLoaderRequestKey["createRuntimeScreenLoaderRequestKey"]
127
127
  module_src_runtimeScreenLoaders_ts --> export_createRuntimeScreenLoaderRequestKey
128
+ export_createRuntimeScreenLoaderRequestKey -.-> export_RuntimeBindingResolutionContext
128
129
  export_createRuntimeScreenLoaderRequestKey -.-> export_RuntimeBindingResultCache
129
130
  export_createRuntimeScreenOperationLoaderRequestLifecycle["createRuntimeScreenOperationLoaderRequestLifecycle"]
130
131
  module_src_runtimeScreenLoaders_ts --> export_createRuntimeScreenOperationLoaderRequestLifecycle
@@ -142,6 +143,7 @@ graph LR
142
143
  export_executeRuntimeBindingInvocation -.-> export_RuntimeCapabilityExecutionResult
143
144
  export_executeRuntimeScreenOperationLoaders["executeRuntimeScreenOperationLoaders"]
144
145
  module_src_runtimeScreenLoaders_ts --> export_executeRuntimeScreenOperationLoaders
146
+ export_executeRuntimeScreenOperationLoaders -.-> export_RuntimeBindingResolutionContext
145
147
  export_executeRuntimeScreenOperationLoaders -.-> export_RuntimeBindingResultCache
146
148
  export_executeRuntimeScreenOperationLoaders -.-> export_RuntimeCapabilityExecutor
147
149
  export_executeRuntimeScreenOperationLoaders -.-> export_RuntimeScreenOperationLoaderExecutionResult
@@ -368,6 +370,7 @@ graph LR
368
370
  export_useRuntimeRendererConfig -.-> export_RuntimeRendererConfig
369
371
  export_useRuntimeScreenOperationLoaders["useRuntimeScreenOperationLoaders"]
370
372
  module_src_runtimeScreenLoaders_ts --> export_useRuntimeScreenOperationLoaders
373
+ export_useRuntimeScreenOperationLoaders -.-> export_RuntimeBindingResolutionContext
371
374
  export_useRuntimeScreenOperationLoaders -.-> export_RuntimeBindingResultCache
372
375
  export_useRuntimeScreenOperationLoaders -.-> export_RuntimeCapabilityExecutor
373
376
  export_useRuntimeScreenOperationLoaders -.-> export_RuntimeScreenOperationLoaderState
@@ -171,6 +171,7 @@ graph LR
171
171
  module_src_RuntimeScreen_tsx --> module_src_runtimeScreenLoaders_ts
172
172
  module_src_RuntimeScreen_tsx --> module_src_runtimeStateAdapter_ts
173
173
  module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeScreenLoaders_ts
174
+ module_src_runtimeScreenLoaders_test_ts --> module_src_runtimeStateAdapter_ts
174
175
  module_src_runtimeScreenLoaders_ts --> module_src_runtimeBindings_ts
175
176
  module_src_runtimeStateAdapter_test_ts --> module_src_runtimeStateAdapter_ts
176
177
  module_src_runtimeStateDelete_test_ts --> module_src_runtimeBindings_ts
@@ -365,7 +365,7 @@
365
365
  "modulePath": "src/runtimeScreenLoaders.ts",
366
366
  "sourceLocation": {
367
367
  "filePath": "src/runtimeScreenLoaders.ts",
368
- "line": 85,
368
+ "line": 90,
369
369
  "column": 1
370
370
  },
371
371
  "exportPaths": [
@@ -641,22 +641,23 @@
641
641
  "modulePath": "src/runtimeScreenLoaders.ts",
642
642
  "sourceLocation": {
643
643
  "filePath": "src/runtimeScreenLoaders.ts",
644
- "line": 65,
644
+ "line": 66,
645
645
  "column": 1
646
646
  },
647
647
  "exportPaths": [
648
648
  "src/index.ts"
649
649
  ],
650
650
  "relatedSymbols": [
651
+ "RuntimeBindingResolutionContext",
651
652
  "RuntimeBindingResultCache"
652
653
  ],
653
654
  "signatures": [
654
655
  {
655
- "label": "(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }) => string",
656
+ "label": "(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => string",
656
657
  "parameters": [
657
658
  {
658
659
  "name": "args",
659
- "type": "{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }",
660
+ "type": "{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
660
661
  "required": true,
661
662
  "description": null
662
663
  }
@@ -679,7 +680,7 @@
679
680
  "modulePath": "src/runtimeScreenLoaders.ts",
680
681
  "sourceLocation": {
681
682
  "filePath": "src/runtimeScreenLoaders.ts",
682
- "line": 37,
683
+ "line": 38,
683
684
  "column": 1
684
685
  },
685
686
  "exportPaths": [
@@ -843,24 +844,25 @@
843
844
  "modulePath": "src/runtimeScreenLoaders.ts",
844
845
  "sourceLocation": {
845
846
  "filePath": "src/runtimeScreenLoaders.ts",
846
- "line": 98,
847
+ "line": 103,
847
848
  "column": 1
848
849
  },
849
850
  "exportPaths": [
850
851
  "src/index.ts"
851
852
  ],
852
853
  "relatedSymbols": [
854
+ "RuntimeBindingResolutionContext",
853
855
  "RuntimeBindingResultCache",
854
856
  "RuntimeCapabilityExecutor",
855
857
  "RuntimeScreenOperationLoaderExecutionResult"
856
858
  ],
857
859
  "signatures": [
858
860
  {
859
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
861
+ "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
860
862
  "parameters": [
861
863
  {
862
864
  "name": "args",
863
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }",
865
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
864
866
  "required": true,
865
867
  "description": null
866
868
  }
@@ -1539,7 +1541,7 @@
1539
1541
  "modulePath": "src/runtimeScreenLoaders.ts",
1540
1542
  "sourceLocation": {
1541
1543
  "filePath": "src/runtimeScreenLoaders.ts",
1542
- "line": 58,
1544
+ "line": 59,
1543
1545
  "column": 1
1544
1546
  },
1545
1547
  "exportPaths": [
@@ -4075,7 +4077,7 @@
4075
4077
  "modulePath": "src/runtimeScreenLoaders.ts",
4076
4078
  "sourceLocation": {
4077
4079
  "filePath": "src/runtimeScreenLoaders.ts",
4078
- "line": 24,
4080
+ "line": 25,
4079
4081
  "column": 1
4080
4082
  },
4081
4083
  "exportPaths": [
@@ -4119,7 +4121,7 @@
4119
4121
  "modulePath": "src/runtimeScreenLoaders.ts",
4120
4122
  "sourceLocation": {
4121
4123
  "filePath": "src/runtimeScreenLoaders.ts",
4122
- "line": 17,
4124
+ "line": 18,
4123
4125
  "column": 1
4124
4126
  },
4125
4127
  "exportPaths": [
@@ -4406,24 +4408,25 @@
4406
4408
  "modulePath": "src/runtimeScreenLoaders.ts",
4407
4409
  "sourceLocation": {
4408
4410
  "filePath": "src/runtimeScreenLoaders.ts",
4409
- "line": 146,
4411
+ "line": 157,
4410
4412
  "column": 1
4411
4413
  },
4412
4414
  "exportPaths": [
4413
4415
  "src/index.ts"
4414
4416
  ],
4415
4417
  "relatedSymbols": [
4418
+ "RuntimeBindingResolutionContext",
4416
4419
  "RuntimeBindingResultCache",
4417
4420
  "RuntimeCapabilityExecutor",
4418
4421
  "RuntimeScreenOperationLoaderState"
4419
4422
  ],
4420
4423
  "signatures": [
4421
4424
  {
4422
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState",
4425
+ "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => RuntimeScreenOperationLoaderState",
4423
4426
  "parameters": [
4424
4427
  {
4425
4428
  "name": "args",
4426
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }",
4429
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
4427
4430
  "required": true,
4428
4431
  "description": null
4429
4432
  }
@@ -123,7 +123,7 @@ Source: `src/componentRegistry.ts:5:1`
123
123
 
124
124
  Kind: `function`
125
125
  Module: `src/runtimeScreenLoaders.ts`
126
- Source: `src/runtimeScreenLoaders.ts:85:1`
126
+ Source: `src/runtimeScreenLoaders.ts:90:1`
127
127
 
128
128
  Constructs a pending state for capability-backed screen loaders.
129
129
 
@@ -216,21 +216,21 @@ Source: `src/runtimeStateAdapter.ts:29:1`
216
216
 
217
217
  Kind: `function`
218
218
  Module: `src/runtimeScreenLoaders.ts`
219
- Source: `src/runtimeScreenLoaders.ts:65:1`
219
+ Source: `src/runtimeScreenLoaders.ts:66:1`
220
220
 
221
221
  Creates a deterministic loader request key from resolved inputs and declared result slots.
222
222
 
223
223
  ### Signatures
224
224
 
225
- - `(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }) => string`
226
- - args: `{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }`
225
+ - `(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext["stateAdapter"]; }) => string`
226
+ - args: `{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext["stateAdapter"]; }`
227
227
  - returns: `string`
228
228
 
229
229
  ## createRuntimeScreenOperationLoaderRequestLifecycle
230
230
 
231
231
  Kind: `function`
232
232
  Module: `src/runtimeScreenLoaders.ts`
233
- Source: `src/runtimeScreenLoaders.ts:37:1`
233
+ Source: `src/runtimeScreenLoaders.ts:38:1`
234
234
 
235
235
  Tracks one active screen-loader request per effective dependency key.
236
236
 
@@ -286,14 +286,14 @@ Invokes one capability and records its structured result under its declared loca
286
286
 
287
287
  Kind: `function`
288
288
  Module: `src/runtimeScreenLoaders.ts`
289
- Source: `src/runtimeScreenLoaders.ts:98:1`
289
+ Source: `src/runtimeScreenLoaders.ts:103:1`
290
290
 
291
291
  Executes screen loaders through the same invocation and result-slot machinery as events.
292
292
 
293
293
  ### Signatures
294
294
 
295
- - `(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>`
296
- - args: `{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }`
295
+ - `(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext["stateAdapter"]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>`
296
+ - args: `{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext["stateAdapter"]; }`
297
297
  - returns: `Promise<RuntimeScreenOperationLoaderExecutionResult>`
298
298
 
299
299
  ## IDLE_RUNTIME_EVENT_OPERATION_STATE
@@ -520,7 +520,7 @@ Returns the credential-safe error copy exposed through the public renderer conte
520
520
 
521
521
  Kind: `function`
522
522
  Module: `src/runtimeScreenLoaders.ts`
523
- Source: `src/runtimeScreenLoaders.ts:58:1`
523
+ Source: `src/runtimeScreenLoaders.ts:59:1`
524
524
 
525
525
  Returns the portable capability invocations authored on a screen.
526
526
 
@@ -1215,7 +1215,7 @@ Source: `src/RuntimeScreen.tsx:19:1`
1215
1215
 
1216
1216
  Kind: `type`
1217
1217
  Module: `src/runtimeScreenLoaders.ts`
1218
- Source: `src/runtimeScreenLoaders.ts:24:1`
1218
+ Source: `src/runtimeScreenLoaders.ts:25:1`
1219
1219
 
1220
1220
  ### Members
1221
1221
 
@@ -1229,7 +1229,7 @@ Source: `src/runtimeScreenLoaders.ts:24:1`
1229
1229
 
1230
1230
  Kind: `type`
1231
1231
  Module: `src/runtimeScreenLoaders.ts`
1232
- Source: `src/runtimeScreenLoaders.ts:17:1`
1232
+ Source: `src/runtimeScreenLoaders.ts:18:1`
1233
1233
 
1234
1234
  ### Members
1235
1235
 
@@ -1334,14 +1334,14 @@ Source: `src/RuntimeRendererConfig.tsx:170:1`
1334
1334
 
1335
1335
  Kind: `function`
1336
1336
  Module: `src/runtimeScreenLoaders.ts`
1337
- Source: `src/runtimeScreenLoaders.ts:146:1`
1337
+ Source: `src/runtimeScreenLoaders.ts:157:1`
1338
1338
 
1339
1339
  Runs screen capability invocations when their serialized request input changes.
1340
1340
 
1341
1341
  ### Signatures
1342
1342
 
1343
- - `(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState`
1344
- - args: `{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }`
1343
+ - `(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext["stateAdapter"]; }) => RuntimeScreenOperationLoaderState`
1344
+ - args: `{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext["stateAdapter"]; }`
1345
1345
  - returns: `RuntimeScreenOperationLoaderState`
1346
1346
 
1347
1347
  ## wrapRuntimeEventProps
@@ -734,10 +734,10 @@ inject it at the runtime boundary.</p>
734
734
  <p class="muted">Referenced module</p>
735
735
  <p><strong>Dependencies:</strong> <code>src/ManifestContext.tsx</code>, <code>src/registry.tsx</code>, <code>src/runtimeCapabilityExecutor.ts</code>, <code>src/RuntimeRenderer.tsx</code>, <code>src/RuntimeRendererConfig.tsx</code>, <code>src/runtimeScreenLoaders.ts</code>, <code>src/runtimeStateAdapter.ts</code></p>
736
736
  <p><strong>Exports:</strong> <code>RuntimeScreen</code>, <code>RuntimeScreenProps</code></p>
737
- </article><article class="item" data-search="src/runtimeScreenLoaders.test.ts src/runtimeScreenLoaders.ts">
737
+ </article><article class="item" data-search="src/runtimeScreenLoaders.test.ts src/runtimeScreenLoaders.ts src/runtimeStateAdapter.ts">
738
738
  <h3>src/runtimeScreenLoaders.test.ts</h3>
739
739
  <p class="muted">Referenced module</p>
740
- <p><strong>Dependencies:</strong> <code>src/runtimeScreenLoaders.ts</code></p>
740
+ <p><strong>Dependencies:</strong> <code>src/runtimeScreenLoaders.ts</code>, <code>src/runtimeStateAdapter.ts</code></p>
741
741
  <p><strong>Exports:</strong> <span class="empty">None</span></p>
742
742
  </article><article class="item" data-search="src/runtimeScreenLoaders.ts src/runtimeBindings.ts createPendingRuntimeScreenOperationLoaderState createRuntimeScreenLoaderRequestKey createRuntimeScreenOperationLoaderRequestLifecycle executeRuntimeScreenOperationLoaders resolveScreenOperationLoaders RuntimeScreenOperationLoaderExecutionResult RuntimeScreenOperationLoaderState useRuntimeScreenOperationLoaders">
743
743
  <h3>src/runtimeScreenLoaders.ts</h3>
@@ -3621,7 +3621,7 @@ must not provide credential resolution.</td>
3621
3621
  <article class="item" id="symbol-creatependingruntimescreenoperationloaderstate" data-search="createPendingRuntimeScreenOperationLoaderState function src/runtimeScreenLoaders.ts Constructs a pending state for capability-backed screen loaders. RuntimeScreenOperationLoaderState (args: { readonly dependencyKey: string; readonly previousState?: RuntimeScreenOperationLoaderState; }) =&gt; RuntimeScreenOperationLoaderState">
3622
3622
  <h4>createPendingRuntimeScreenOperationLoaderState</h4>
3623
3623
 
3624
- <p class="muted">function • <code>src/runtimeScreenLoaders.ts:85:1</code></p>
3624
+ <p class="muted">function • <code>src/runtimeScreenLoaders.ts:90:1</code></p>
3625
3625
  <p>Constructs a pending state for capability-backed screen loaders.</p>
3626
3626
 
3627
3627
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
@@ -3643,23 +3643,23 @@ must not provide credential resolution.</td>
3643
3643
  <p><strong>Returns:</strong> <code>RuntimeScreenOperationLoaderState</code></p>
3644
3644
  </div>
3645
3645
 
3646
- </article><article class="item" id="symbol-createruntimescreenloaderrequestkey" data-search="createRuntimeScreenLoaderRequestKey function src/runtimeScreenLoaders.ts Creates a deterministic loader request key from resolved inputs and declared result slots. RuntimeBindingResultCache (args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record&lt;string, unknown&gt;; readonly resultSlots?: RuntimeBindingResultCache; }) =&gt; string">
3646
+ </article><article class="item" id="symbol-createruntimescreenloaderrequestkey" data-search="createRuntimeScreenLoaderRequestKey function src/runtimeScreenLoaders.ts Creates a deterministic loader request key from resolved inputs and declared result slots. RuntimeBindingResolutionContext RuntimeBindingResultCache (args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }) =&gt; string">
3647
3647
  <h4>createRuntimeScreenLoaderRequestKey</h4>
3648
3648
 
3649
- <p class="muted">function • <code>src/runtimeScreenLoaders.ts:65:1</code></p>
3649
+ <p class="muted">function • <code>src/runtimeScreenLoaders.ts:66:1</code></p>
3650
3650
  <p>Creates a deterministic loader request key from resolved inputs and declared result slots.</p>
3651
3651
 
3652
3652
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
3653
- <div><strong>Related symbols:</strong> <ul class="chips"><li class="chip">RuntimeBindingResultCache</li></ul></div>
3653
+ <div><strong>Related symbols:</strong> <ul class="chips"><li class="chip">RuntimeBindingResolutionContext</li><li class="chip">RuntimeBindingResultCache</li></ul></div>
3654
3654
  <div>
3655
3655
  <h5>Signature</h5>
3656
- <pre>(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record&lt;string, unknown&gt;; readonly resultSlots?: RuntimeBindingResultCache; }) =&gt; string</pre>
3656
+ <pre>(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }) =&gt; string</pre>
3657
3657
  <table>
3658
3658
  <thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>
3659
3659
  <tbody>
3660
3660
  <tr>
3661
3661
  <td><code>args</code></td>
3662
- <td><code>{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record&lt;string, unknown&gt;; readonly resultSlots?: RuntimeBindingResultCache; }</code></td>
3662
+ <td><code>{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }</code></td>
3663
3663
  <td>yes</td>
3664
3664
  <td></td>
3665
3665
  </tr>
@@ -3671,7 +3671,7 @@ must not provide credential resolution.</td>
3671
3671
  </article><article class="item" id="symbol-createruntimescreenoperationloaderrequestlifecycle" data-search="createRuntimeScreenOperationLoaderRequestLifecycle function src/runtimeScreenLoaders.ts Tracks one active screen-loader request per effective dependency key. () =&gt; RuntimeScreenOperationLoaderRequestLifecycle">
3672
3672
  <h4>createRuntimeScreenOperationLoaderRequestLifecycle</h4>
3673
3673
 
3674
- <p class="muted">function • <code>src/runtimeScreenLoaders.ts:37:1</code></p>
3674
+ <p class="muted">function • <code>src/runtimeScreenLoaders.ts:38:1</code></p>
3675
3675
  <p>Tracks one active screen-loader request per effective dependency key.</p>
3676
3676
 
3677
3677
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
@@ -3683,23 +3683,23 @@ must not provide credential resolution.</td>
3683
3683
  <p><strong>Returns:</strong> <code>RuntimeScreenOperationLoaderRequestLifecycle</code></p>
3684
3684
  </div>
3685
3685
 
3686
- </article><article class="item" id="symbol-executeruntimescreenoperationloaders" data-search="executeRuntimeScreenOperationLoaders function src/runtimeScreenLoaders.ts Executes screen loaders through the same invocation and result-slot machinery as events. RuntimeBindingResultCache RuntimeCapabilityExecutor RuntimeScreenOperationLoaderExecutionResult (args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }) =&gt; Promise&lt;RuntimeScreenOperationLoaderExecutionResult&gt;">
3686
+ </article><article class="item" id="symbol-executeruntimescreenoperationloaders" data-search="executeRuntimeScreenOperationLoaders function src/runtimeScreenLoaders.ts Executes screen loaders through the same invocation and result-slot machinery as events. RuntimeBindingResolutionContext RuntimeBindingResultCache RuntimeCapabilityExecutor RuntimeScreenOperationLoaderExecutionResult (args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }) =&gt; Promise&lt;RuntimeScreenOperationLoaderExecutionResult&gt;">
3687
3687
  <h4>executeRuntimeScreenOperationLoaders</h4>
3688
3688
 
3689
- <p class="muted">function • <code>src/runtimeScreenLoaders.ts:98:1</code></p>
3689
+ <p class="muted">function • <code>src/runtimeScreenLoaders.ts:103:1</code></p>
3690
3690
  <p>Executes screen loaders through the same invocation and result-slot machinery as events.</p>
3691
3691
 
3692
3692
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
3693
- <div><strong>Related symbols:</strong> <ul class="chips"><li class="chip">RuntimeBindingResultCache</li><li class="chip">RuntimeCapabilityExecutor</li><li class="chip">RuntimeScreenOperationLoaderExecutionResult</li></ul></div>
3693
+ <div><strong>Related symbols:</strong> <ul class="chips"><li class="chip">RuntimeBindingResolutionContext</li><li class="chip">RuntimeBindingResultCache</li><li class="chip">RuntimeCapabilityExecutor</li><li class="chip">RuntimeScreenOperationLoaderExecutionResult</li></ul></div>
3694
3694
  <div>
3695
3695
  <h5>Signature</h5>
3696
- <pre>(args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }) =&gt; Promise&lt;RuntimeScreenOperationLoaderExecutionResult&gt;</pre>
3696
+ <pre>(args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }) =&gt; Promise&lt;RuntimeScreenOperationLoaderExecutionResult&gt;</pre>
3697
3697
  <table>
3698
3698
  <thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>
3699
3699
  <tbody>
3700
3700
  <tr>
3701
3701
  <td><code>args</code></td>
3702
- <td><code>{ readonly bindingContext?: Record&lt;string, unknown&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }</code></td>
3702
+ <td><code>{ readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }</code></td>
3703
3703
  <td>yes</td>
3704
3704
  <td></td>
3705
3705
  </tr>
@@ -3711,7 +3711,7 @@ must not provide credential resolution.</td>
3711
3711
  </article><article class="item" id="symbol-resolvescreenoperationloaders" data-search="resolveScreenOperationLoaders function src/runtimeScreenLoaders.ts Returns the portable capability invocations authored on a screen. (screen: ScreenSpec) =&gt; readonly import(&quot;@ankhorage/contracts&quot;).BindingInvocation[]">
3712
3712
  <h4>resolveScreenOperationLoaders</h4>
3713
3713
 
3714
- <p class="muted">function • <code>src/runtimeScreenLoaders.ts:58:1</code></p>
3714
+ <p class="muted">function • <code>src/runtimeScreenLoaders.ts:59:1</code></p>
3715
3715
  <p>Returns the portable capability invocations authored on a screen.</p>
3716
3716
 
3717
3717
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
@@ -3736,7 +3736,7 @@ must not provide credential resolution.</td>
3736
3736
  </article><article class="item" id="symbol-runtimescreenoperationloaderexecutionresult" data-search="RuntimeScreenOperationLoaderExecutionResult type src/runtimeScreenLoaders.ts ">
3737
3737
  <h4>RuntimeScreenOperationLoaderExecutionResult</h4>
3738
3738
 
3739
- <p class="muted">type • <code>src/runtimeScreenLoaders.ts:24:1</code></p>
3739
+ <p class="muted">type • <code>src/runtimeScreenLoaders.ts:25:1</code></p>
3740
3740
 
3741
3741
 
3742
3742
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
@@ -3769,7 +3769,7 @@ must not provide credential resolution.</td>
3769
3769
  </article><article class="item" id="symbol-runtimescreenoperationloaderstate" data-search="RuntimeScreenOperationLoaderState type src/runtimeScreenLoaders.ts ">
3770
3770
  <h4>RuntimeScreenOperationLoaderState</h4>
3771
3771
 
3772
- <p class="muted">type • <code>src/runtimeScreenLoaders.ts:17:1</code></p>
3772
+ <p class="muted">type • <code>src/runtimeScreenLoaders.ts:18:1</code></p>
3773
3773
 
3774
3774
 
3775
3775
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
@@ -3805,23 +3805,23 @@ must not provide credential resolution.</td>
3805
3805
  </tr>
3806
3806
  </tbody>
3807
3807
  </table>
3808
- </article><article class="item" id="symbol-useruntimescreenoperationloaders" data-search="useRuntimeScreenOperationLoaders function src/runtimeScreenLoaders.ts Runs screen capability invocations when their serialized request input changes. RuntimeBindingResultCache RuntimeCapabilityExecutor RuntimeScreenOperationLoaderState (args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) =&gt; void; readonly screen: ScreenSpec; }) =&gt; RuntimeScreenOperationLoaderState">
3808
+ </article><article class="item" id="symbol-useruntimescreenoperationloaders" data-search="useRuntimeScreenOperationLoaders function src/runtimeScreenLoaders.ts Runs screen capability invocations when their serialized request input changes. RuntimeBindingResolutionContext RuntimeBindingResultCache RuntimeCapabilityExecutor RuntimeScreenOperationLoaderState (args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) =&gt; void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }) =&gt; RuntimeScreenOperationLoaderState">
3809
3809
  <h4>useRuntimeScreenOperationLoaders</h4>
3810
3810
 
3811
- <p class="muted">function • <code>src/runtimeScreenLoaders.ts:146:1</code></p>
3811
+ <p class="muted">function • <code>src/runtimeScreenLoaders.ts:157:1</code></p>
3812
3812
  <p>Runs screen capability invocations when their serialized request input changes.</p>
3813
3813
 
3814
3814
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
3815
- <div><strong>Related symbols:</strong> <ul class="chips"><li class="chip">RuntimeBindingResultCache</li><li class="chip">RuntimeCapabilityExecutor</li><li class="chip">RuntimeScreenOperationLoaderState</li></ul></div>
3815
+ <div><strong>Related symbols:</strong> <ul class="chips"><li class="chip">RuntimeBindingResolutionContext</li><li class="chip">RuntimeBindingResultCache</li><li class="chip">RuntimeCapabilityExecutor</li><li class="chip">RuntimeScreenOperationLoaderState</li></ul></div>
3816
3816
  <div>
3817
3817
  <h5>Signature</h5>
3818
- <pre>(args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) =&gt; void; readonly screen: ScreenSpec; }) =&gt; RuntimeScreenOperationLoaderState</pre>
3818
+ <pre>(args: { readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) =&gt; void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }) =&gt; RuntimeScreenOperationLoaderState</pre>
3819
3819
  <table>
3820
3820
  <thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>
3821
3821
  <tbody>
3822
3822
  <tr>
3823
3823
  <td><code>args</code></td>
3824
- <td><code>{ readonly bindingContext?: Record&lt;string, unknown&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) =&gt; void; readonly screen: ScreenSpec; }</code></td>
3824
+ <td><code>{ readonly bindingContext?: Record&lt;string, unknown&gt;; readonly capabilityValues?: Readonly&lt;Record&lt;string, BindingValue | undefined&gt;&gt;; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) =&gt; void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[&quot;stateAdapter&quot;]; }</code></td>
3825
3825
  <td>yes</td>
3826
3826
  <td></td>
3827
3827
  </tr>
@@ -4483,6 +4483,7 @@ must not provide credential resolution.</td>
4483
4483
  module_src_runtimeScreenLoaders_test_ts[&quot;src/runtimeScreenLoaders.test.ts&quot;]
4484
4484
  package__ankhorage_runtime -.-&gt; module_src_runtimeScreenLoaders_test_ts
4485
4485
  module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeScreenLoaders_ts
4486
+ module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeStateAdapter_ts
4486
4487
  module_src_runtimeScreenLoaders_ts[&quot;src/runtimeScreenLoaders.ts&quot;]
4487
4488
  package__ankhorage_runtime -.-&gt; module_src_runtimeScreenLoaders_ts
4488
4489
  module_src_runtimeScreenLoaders_ts --&gt; module_src_runtimeBindings_ts
@@ -4753,6 +4754,7 @@ must not provide credential resolution.</td>
4753
4754
  module_src_runtimeScreenLoaders_test_ts[&quot;src/runtimeScreenLoaders.test.ts&quot;]
4754
4755
  package__ankhorage_runtime -.-&gt; module_src_runtimeScreenLoaders_test_ts
4755
4756
  module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeScreenLoaders_ts
4757
+ module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeStateAdapter_ts
4756
4758
  module_src_runtimeScreenLoaders_ts[&quot;src/runtimeScreenLoaders.ts&quot;]
4757
4759
  package__ankhorage_runtime -.-&gt; module_src_runtimeScreenLoaders_ts
4758
4760
  module_src_runtimeScreenLoaders_ts --&gt; module_src_runtimeBindings_ts
@@ -4986,6 +4988,7 @@ must not provide credential resolution.</td>
4986
4988
  module_src_RuntimeScreen_tsx --&gt; module_src_runtimeScreenLoaders_ts
4987
4989
  module_src_RuntimeScreen_tsx --&gt; module_src_runtimeStateAdapter_ts
4988
4990
  module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeScreenLoaders_ts
4991
+ module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeStateAdapter_ts
4989
4992
  module_src_runtimeScreenLoaders_ts --&gt; module_src_runtimeBindings_ts
4990
4993
  module_src_runtimeStateAdapter_test_ts --&gt; module_src_runtimeStateAdapter_ts
4991
4994
  module_src_runtimeStateDelete_test_ts --&gt; module_src_runtimeBindings_ts
@@ -5181,6 +5184,7 @@ must not provide credential resolution.</td>
5181
5184
  module_src_RuntimeScreen_tsx --&gt; module_src_runtimeScreenLoaders_ts
5182
5185
  module_src_RuntimeScreen_tsx --&gt; module_src_runtimeStateAdapter_ts
5183
5186
  module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeScreenLoaders_ts
5187
+ module_src_runtimeScreenLoaders_test_ts --&gt; module_src_runtimeStateAdapter_ts
5184
5188
  module_src_runtimeScreenLoaders_ts --&gt; module_src_runtimeBindings_ts
5185
5189
  module_src_runtimeStateAdapter_test_ts --&gt; module_src_runtimeStateAdapter_ts
5186
5190
  module_src_runtimeStateDelete_test_ts --&gt; module_src_runtimeBindings_ts
@@ -5332,6 +5336,7 @@ must not provide credential resolution.</td>
5332
5336
  export_createRuntimeMemoryStateAdapter -.-&gt; export_RuntimeMemoryStateAdapterOptions
5333
5337
  export_createRuntimeScreenLoaderRequestKey[&quot;createRuntimeScreenLoaderRequestKey&quot;]
5334
5338
  module_src_runtimeScreenLoaders_ts --&gt; export_createRuntimeScreenLoaderRequestKey
5339
+ export_createRuntimeScreenLoaderRequestKey -.-&gt; export_RuntimeBindingResolutionContext
5335
5340
  export_createRuntimeScreenLoaderRequestKey -.-&gt; export_RuntimeBindingResultCache
5336
5341
  export_createRuntimeScreenOperationLoaderRequestLifecycle[&quot;createRuntimeScreenOperationLoaderRequestLifecycle&quot;]
5337
5342
  module_src_runtimeScreenLoaders_ts --&gt; export_createRuntimeScreenOperationLoaderRequestLifecycle
@@ -5349,6 +5354,7 @@ must not provide credential resolution.</td>
5349
5354
  export_executeRuntimeBindingInvocation -.-&gt; export_RuntimeCapabilityExecutionResult
5350
5355
  export_executeRuntimeScreenOperationLoaders[&quot;executeRuntimeScreenOperationLoaders&quot;]
5351
5356
  module_src_runtimeScreenLoaders_ts --&gt; export_executeRuntimeScreenOperationLoaders
5357
+ export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResolutionContext
5352
5358
  export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResultCache
5353
5359
  export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeCapabilityExecutor
5354
5360
  export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeScreenOperationLoaderExecutionResult
@@ -5575,6 +5581,7 @@ must not provide credential resolution.</td>
5575
5581
  export_useRuntimeRendererConfig -.-&gt; export_RuntimeRendererConfig
5576
5582
  export_useRuntimeScreenOperationLoaders[&quot;useRuntimeScreenOperationLoaders&quot;]
5577
5583
  module_src_runtimeScreenLoaders_ts --&gt; export_useRuntimeScreenOperationLoaders
5584
+ export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResolutionContext
5578
5585
  export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResultCache
5579
5586
  export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeCapabilityExecutor
5580
5587
  export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeScreenOperationLoaderState
@@ -5715,6 +5722,7 @@ must not provide credential resolution.</td>
5715
5722
  export_createRuntimeMemoryStateAdapter -.-&gt; export_RuntimeMemoryStateAdapterOptions
5716
5723
  export_createRuntimeScreenLoaderRequestKey[&quot;createRuntimeScreenLoaderRequestKey&quot;]
5717
5724
  module_src_runtimeScreenLoaders_ts --&gt; export_createRuntimeScreenLoaderRequestKey
5725
+ export_createRuntimeScreenLoaderRequestKey -.-&gt; export_RuntimeBindingResolutionContext
5718
5726
  export_createRuntimeScreenLoaderRequestKey -.-&gt; export_RuntimeBindingResultCache
5719
5727
  export_createRuntimeScreenOperationLoaderRequestLifecycle[&quot;createRuntimeScreenOperationLoaderRequestLifecycle&quot;]
5720
5728
  module_src_runtimeScreenLoaders_ts --&gt; export_createRuntimeScreenOperationLoaderRequestLifecycle
@@ -5732,6 +5740,7 @@ must not provide credential resolution.</td>
5732
5740
  export_executeRuntimeBindingInvocation -.-&gt; export_RuntimeCapabilityExecutionResult
5733
5741
  export_executeRuntimeScreenOperationLoaders[&quot;executeRuntimeScreenOperationLoaders&quot;]
5734
5742
  module_src_runtimeScreenLoaders_ts --&gt; export_executeRuntimeScreenOperationLoaders
5743
+ export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResolutionContext
5735
5744
  export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResultCache
5736
5745
  export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeCapabilityExecutor
5737
5746
  export_executeRuntimeScreenOperationLoaders -.-&gt; export_RuntimeScreenOperationLoaderExecutionResult
@@ -5958,6 +5967,7 @@ must not provide credential resolution.</td>
5958
5967
  export_useRuntimeRendererConfig -.-&gt; export_RuntimeRendererConfig
5959
5968
  export_useRuntimeScreenOperationLoaders[&quot;useRuntimeScreenOperationLoaders&quot;]
5960
5969
  module_src_runtimeScreenLoaders_ts --&gt; export_useRuntimeScreenOperationLoaders
5970
+ export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResolutionContext
5961
5971
  export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeBindingResultCache
5962
5972
  export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeCapabilityExecutor
5963
5973
  export_useRuntimeScreenOperationLoaders -.-&gt; export_RuntimeScreenOperationLoaderState
@@ -7373,7 +7383,7 @@ must not provide credential resolution.</td>
7373
7383
  <p class="empty">No description available.</p>
7374
7384
  </article><article class="item" data-search="executeCapability src/RuntimeScreen.test.tsx ">
7375
7385
  <h3>executeCapability</h3>
7376
- <p class="muted"><code>src/RuntimeScreen.test.tsx:178:9</code></p>
7386
+ <p class="muted"><code>src/RuntimeScreen.test.tsx:193:9</code></p>
7377
7387
  <p class="empty">No description available.</p>
7378
7388
  </article>
7379
7389
  </section>
@@ -7391,35 +7401,35 @@ must not provide credential resolution.</td>
7391
7401
  <h2>src/runtimeScreenLoaders.ts</h2>
7392
7402
  <article class="item" data-search="createRuntimeScreenOperationLoaderRequestLifecycle src/runtimeScreenLoaders.ts Tracks one active screen-loader request per effective dependency key.">
7393
7403
  <h3>createRuntimeScreenOperationLoaderRequestLifecycle</h3>
7394
- <p class="muted"><code>src/runtimeScreenLoaders.ts:37:1</code></p>
7404
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:38:1</code></p>
7395
7405
  <p>Tracks one active screen-loader request per effective dependency key.</p>
7396
7406
  </article><article class="item" data-search="resolveScreenOperationLoaders src/runtimeScreenLoaders.ts Returns the portable capability invocations authored on a screen.">
7397
7407
  <h3>resolveScreenOperationLoaders</h3>
7398
- <p class="muted"><code>src/runtimeScreenLoaders.ts:58:1</code></p>
7408
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:59:1</code></p>
7399
7409
  <p>Returns the portable capability invocations authored on a screen.</p>
7400
7410
  </article><article class="item" data-search="createRuntimeScreenLoaderRequestKey src/runtimeScreenLoaders.ts Creates a deterministic loader request key from resolved inputs and declared result slots.">
7401
7411
  <h3>createRuntimeScreenLoaderRequestKey</h3>
7402
- <p class="muted"><code>src/runtimeScreenLoaders.ts:65:1</code></p>
7412
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:66:1</code></p>
7403
7413
  <p>Creates a deterministic loader request key from resolved inputs and declared result slots.</p>
7404
7414
  </article><article class="item" data-search="createPendingRuntimeScreenOperationLoaderState src/runtimeScreenLoaders.ts Constructs a pending state for capability-backed screen loaders.">
7405
7415
  <h3>createPendingRuntimeScreenOperationLoaderState</h3>
7406
- <p class="muted"><code>src/runtimeScreenLoaders.ts:85:1</code></p>
7416
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:90:1</code></p>
7407
7417
  <p>Constructs a pending state for capability-backed screen loaders.</p>
7408
7418
  </article><article class="item" data-search="executeRuntimeScreenOperationLoaders src/runtimeScreenLoaders.ts Executes screen loaders through the same invocation and result-slot machinery as events.">
7409
7419
  <h3>executeRuntimeScreenOperationLoaders</h3>
7410
- <p class="muted"><code>src/runtimeScreenLoaders.ts:98:1</code></p>
7420
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:103:1</code></p>
7411
7421
  <p>Executes screen loaders through the same invocation and result-slot machinery as events.</p>
7412
7422
  </article><article class="item" data-search="writeResultSlot src/runtimeScreenLoaders.ts ">
7413
7423
  <h3>writeResultSlot</h3>
7414
- <p class="muted"><code>src/runtimeScreenLoaders.ts:107:9</code></p>
7424
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:114:9</code></p>
7415
7425
  <p class="empty">No description available.</p>
7416
7426
  </article><article class="item" data-search="useRuntimeScreenOperationLoaders src/runtimeScreenLoaders.ts Runs screen capability invocations when their serialized request input changes.">
7417
7427
  <h3>useRuntimeScreenOperationLoaders</h3>
7418
- <p class="muted"><code>src/runtimeScreenLoaders.ts:146:1</code></p>
7428
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:157:1</code></p>
7419
7429
  <p>Runs screen capability invocations when their serialized request input changes.</p>
7420
7430
  </article><article class="item" data-search="stableSerialize src/runtimeScreenLoaders.ts ">
7421
7431
  <h3>stableSerialize</h3>
7422
- <p class="muted"><code>src/runtimeScreenLoaders.ts:219:1</code></p>
7432
+ <p class="muted"><code>src/runtimeScreenLoaders.ts:245:1</code></p>
7423
7433
  <p class="empty">No description available.</p>
7424
7434
  </article>
7425
7435
  </section>
@@ -18,7 +18,7 @@
18
18
  {
19
19
  "id": "npm",
20
20
  "label": "npm",
21
- "value": "v5.8.1",
21
+ "value": "v5.8.2",
22
22
  "color": "cb3837"
23
23
  },
24
24
  {
@@ -933,7 +933,8 @@
933
933
  "path": "src/runtimeScreenLoaders.test.ts",
934
934
  "isEntrypoint": false,
935
935
  "dependencies": [
936
- "src/runtimeScreenLoaders.ts"
936
+ "src/runtimeScreenLoaders.ts",
937
+ "src/runtimeStateAdapter.ts"
937
938
  ],
938
939
  "exports": []
939
940
  },
@@ -1472,7 +1473,7 @@
1472
1473
  "modulePath": "src/runtimeScreenLoaders.ts",
1473
1474
  "sourceLocation": {
1474
1475
  "filePath": "src/runtimeScreenLoaders.ts",
1475
- "line": 85,
1476
+ "line": 90,
1476
1477
  "column": 1
1477
1478
  },
1478
1479
  "exportPaths": [
@@ -1748,22 +1749,23 @@
1748
1749
  "modulePath": "src/runtimeScreenLoaders.ts",
1749
1750
  "sourceLocation": {
1750
1751
  "filePath": "src/runtimeScreenLoaders.ts",
1751
- "line": 65,
1752
+ "line": 66,
1752
1753
  "column": 1
1753
1754
  },
1754
1755
  "exportPaths": [
1755
1756
  "src/index.ts"
1756
1757
  ],
1757
1758
  "relatedSymbols": [
1759
+ "RuntimeBindingResolutionContext",
1758
1760
  "RuntimeBindingResultCache"
1759
1761
  ],
1760
1762
  "signatures": [
1761
1763
  {
1762
- "label": "(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }) => string",
1764
+ "label": "(args: { readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => string",
1763
1765
  "parameters": [
1764
1766
  {
1765
1767
  "name": "args",
1766
- "type": "{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly resultSlots?: RuntimeBindingResultCache; }",
1768
+ "type": "{ readonly screenId: string; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly resultSlots?: RuntimeBindingResultCache; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
1767
1769
  "required": true,
1768
1770
  "description": null
1769
1771
  }
@@ -1786,7 +1788,7 @@
1786
1788
  "modulePath": "src/runtimeScreenLoaders.ts",
1787
1789
  "sourceLocation": {
1788
1790
  "filePath": "src/runtimeScreenLoaders.ts",
1789
- "line": 37,
1791
+ "line": 38,
1790
1792
  "column": 1
1791
1793
  },
1792
1794
  "exportPaths": [
@@ -1950,24 +1952,25 @@
1950
1952
  "modulePath": "src/runtimeScreenLoaders.ts",
1951
1953
  "sourceLocation": {
1952
1954
  "filePath": "src/runtimeScreenLoaders.ts",
1953
- "line": 98,
1955
+ "line": 103,
1954
1956
  "column": 1
1955
1957
  },
1956
1958
  "exportPaths": [
1957
1959
  "src/index.ts"
1958
1960
  ],
1959
1961
  "relatedSymbols": [
1962
+ "RuntimeBindingResolutionContext",
1960
1963
  "RuntimeBindingResultCache",
1961
1964
  "RuntimeCapabilityExecutor",
1962
1965
  "RuntimeScreenOperationLoaderExecutionResult"
1963
1966
  ],
1964
1967
  "signatures": [
1965
1968
  {
1966
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
1969
+ "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => Promise<RuntimeScreenOperationLoaderExecutionResult>",
1967
1970
  "parameters": [
1968
1971
  {
1969
1972
  "name": "args",
1970
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; }",
1973
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly screen: ScreenSpec; readonly loaders: readonly ScreenDataLoaderDefinition[]; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
1971
1974
  "required": true,
1972
1975
  "description": null
1973
1976
  }
@@ -2646,7 +2649,7 @@
2646
2649
  "modulePath": "src/runtimeScreenLoaders.ts",
2647
2650
  "sourceLocation": {
2648
2651
  "filePath": "src/runtimeScreenLoaders.ts",
2649
- "line": 58,
2652
+ "line": 59,
2650
2653
  "column": 1
2651
2654
  },
2652
2655
  "exportPaths": [
@@ -5182,7 +5185,7 @@
5182
5185
  "modulePath": "src/runtimeScreenLoaders.ts",
5183
5186
  "sourceLocation": {
5184
5187
  "filePath": "src/runtimeScreenLoaders.ts",
5185
- "line": 24,
5188
+ "line": 25,
5186
5189
  "column": 1
5187
5190
  },
5188
5191
  "exportPaths": [
@@ -5226,7 +5229,7 @@
5226
5229
  "modulePath": "src/runtimeScreenLoaders.ts",
5227
5230
  "sourceLocation": {
5228
5231
  "filePath": "src/runtimeScreenLoaders.ts",
5229
- "line": 17,
5232
+ "line": 18,
5230
5233
  "column": 1
5231
5234
  },
5232
5235
  "exportPaths": [
@@ -5513,24 +5516,25 @@
5513
5516
  "modulePath": "src/runtimeScreenLoaders.ts",
5514
5517
  "sourceLocation": {
5515
5518
  "filePath": "src/runtimeScreenLoaders.ts",
5516
- "line": 146,
5519
+ "line": 157,
5517
5520
  "column": 1
5518
5521
  },
5519
5522
  "exportPaths": [
5520
5523
  "src/index.ts"
5521
5524
  ],
5522
5525
  "relatedSymbols": [
5526
+ "RuntimeBindingResolutionContext",
5523
5527
  "RuntimeBindingResultCache",
5524
5528
  "RuntimeCapabilityExecutor",
5525
5529
  "RuntimeScreenOperationLoaderState"
5526
5530
  ],
5527
5531
  "signatures": [
5528
5532
  {
5529
- "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }) => RuntimeScreenOperationLoaderState",
5533
+ "label": "(args: { readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }) => RuntimeScreenOperationLoaderState",
5530
5534
  "parameters": [
5531
5535
  {
5532
5536
  "name": "args",
5533
- "type": "{ readonly bindingContext?: Record<string, unknown>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; }",
5537
+ "type": "{ readonly bindingContext?: Record<string, unknown>; readonly capabilityValues?: Readonly<Record<string, BindingValue | undefined>>; readonly executeCapability?: RuntimeCapabilityExecutor; readonly resultSlots?: RuntimeBindingResultCache; readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void; readonly screen: ScreenSpec; readonly stateAdapter?: RuntimeBindingResolutionContext[\"stateAdapter\"]; }",
5534
5538
  "required": true,
5535
5539
  "description": null
5536
5540
  }
@@ -8037,7 +8041,7 @@
8037
8041
  "security": [],
8038
8042
  "sourceLocation": {
8039
8043
  "filePath": "src/RuntimeScreen.test.tsx",
8040
- "line": 178,
8044
+ "line": 193,
8041
8045
  "column": 9
8042
8046
  }
8043
8047
  },
@@ -8059,7 +8063,7 @@
8059
8063
  "security": [],
8060
8064
  "sourceLocation": {
8061
8065
  "filePath": "src/runtimeScreenLoaders.ts",
8062
- "line": 37,
8066
+ "line": 38,
8063
8067
  "column": 1
8064
8068
  }
8065
8069
  },
@@ -8070,7 +8074,7 @@
8070
8074
  "security": [],
8071
8075
  "sourceLocation": {
8072
8076
  "filePath": "src/runtimeScreenLoaders.ts",
8073
- "line": 58,
8077
+ "line": 59,
8074
8078
  "column": 1
8075
8079
  }
8076
8080
  },
@@ -8081,7 +8085,7 @@
8081
8085
  "security": [],
8082
8086
  "sourceLocation": {
8083
8087
  "filePath": "src/runtimeScreenLoaders.ts",
8084
- "line": 65,
8088
+ "line": 66,
8085
8089
  "column": 1
8086
8090
  }
8087
8091
  },
@@ -8092,7 +8096,7 @@
8092
8096
  "security": [],
8093
8097
  "sourceLocation": {
8094
8098
  "filePath": "src/runtimeScreenLoaders.ts",
8095
- "line": 85,
8099
+ "line": 90,
8096
8100
  "column": 1
8097
8101
  }
8098
8102
  },
@@ -8103,7 +8107,7 @@
8103
8107
  "security": [],
8104
8108
  "sourceLocation": {
8105
8109
  "filePath": "src/runtimeScreenLoaders.ts",
8106
- "line": 98,
8110
+ "line": 103,
8107
8111
  "column": 1
8108
8112
  }
8109
8113
  },
@@ -8114,7 +8118,7 @@
8114
8118
  "security": [],
8115
8119
  "sourceLocation": {
8116
8120
  "filePath": "src/runtimeScreenLoaders.ts",
8117
- "line": 107,
8121
+ "line": 114,
8118
8122
  "column": 9
8119
8123
  }
8120
8124
  },
@@ -8125,7 +8129,7 @@
8125
8129
  "security": [],
8126
8130
  "sourceLocation": {
8127
8131
  "filePath": "src/runtimeScreenLoaders.ts",
8128
- "line": 146,
8132
+ "line": 157,
8129
8133
  "column": 1
8130
8134
  }
8131
8135
  },
@@ -8136,7 +8140,7 @@
8136
8140
  "security": [],
8137
8141
  "sourceLocation": {
8138
8142
  "filePath": "src/runtimeScreenLoaders.ts",
8139
- "line": 219,
8143
+ "line": 245,
8140
8144
  "column": 1
8141
8145
  }
8142
8146
  },
@@ -9570,6 +9574,11 @@
9570
9574
  "toPath": "src/runtimeScreenLoaders.ts",
9571
9575
  "sourcePath": "src/runtimeScreenLoaders.test.ts"
9572
9576
  },
9577
+ {
9578
+ "fromPath": "src/runtimeScreenLoaders.test.ts",
9579
+ "toPath": "src/runtimeStateAdapter.ts",
9580
+ "sourcePath": "src/runtimeScreenLoaders.test.ts"
9581
+ },
9573
9582
  {
9574
9583
  "fromPath": "src/runtimeScreenLoaders.ts",
9575
9584
  "toPath": "src/runtimeBindings.ts",
@@ -12215,6 +12224,18 @@
12215
12224
  "callExpression": "lifecycle.invalidate",
12216
12225
  "sourcePath": "src/runtimeScreenLoaders.test.ts"
12217
12226
  },
12227
+ {
12228
+ "fromSymbol": "src/runtimeScreenLoaders.test.ts",
12229
+ "toSymbol": "createRuntimeMemoryStateAdapter",
12230
+ "callExpression": "createRuntimeMemoryStateAdapter",
12231
+ "sourcePath": "src/runtimeScreenLoaders.test.ts"
12232
+ },
12233
+ {
12234
+ "fromSymbol": "src/runtimeScreenLoaders.test.ts",
12235
+ "toSymbol": "createRuntimeScreenLoaderRequestKey",
12236
+ "callExpression": "createRuntimeScreenLoaderRequestKey",
12237
+ "sourcePath": "src/runtimeScreenLoaders.test.ts"
12238
+ },
12218
12239
  {
12219
12240
  "fromSymbol": "createRuntimeScreenLoaderRequestKey",
12220
12241
  "toSymbol": "stableSerialize",
@@ -14339,6 +14360,21 @@
14339
14360
  "toType": "RuntimeScreenOperationLoaderState",
14340
14361
  "sourcePath": "src/runtimeScreenLoaders.ts"
14341
14362
  },
14363
+ {
14364
+ "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14365
+ "toType": "BindingValue",
14366
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14367
+ },
14368
+ {
14369
+ "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14370
+ "toType": "Readonly",
14371
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14372
+ },
14373
+ {
14374
+ "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14375
+ "toType": "RuntimeBindingResolutionContext",
14376
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14377
+ },
14342
14378
  {
14343
14379
  "fromSymbol": "createRuntimeScreenLoaderRequestKey",
14344
14380
  "toType": "RuntimeBindingResultCache",
@@ -14354,6 +14390,21 @@
14354
14390
  "toType": "RuntimeScreenOperationLoaderRequestLifecycle",
14355
14391
  "sourcePath": "src/runtimeScreenLoaders.ts"
14356
14392
  },
14393
+ {
14394
+ "fromSymbol": "executeRuntimeScreenOperationLoaders",
14395
+ "toType": "BindingValue",
14396
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14397
+ },
14398
+ {
14399
+ "fromSymbol": "executeRuntimeScreenOperationLoaders",
14400
+ "toType": "Readonly",
14401
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14402
+ },
14403
+ {
14404
+ "fromSymbol": "executeRuntimeScreenOperationLoaders",
14405
+ "toType": "RuntimeBindingResolutionContext",
14406
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14407
+ },
14357
14408
  {
14358
14409
  "fromSymbol": "executeRuntimeScreenOperationLoaders",
14359
14410
  "toType": "RuntimeBindingResultCache",
@@ -14389,11 +14440,26 @@
14389
14440
  "toType": "ScreenSpec",
14390
14441
  "sourcePath": "src/runtimeScreenLoaders.ts"
14391
14442
  },
14443
+ {
14444
+ "fromSymbol": "useRuntimeScreenOperationLoaders",
14445
+ "toType": "BindingValue",
14446
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14447
+ },
14392
14448
  {
14393
14449
  "fromSymbol": "useRuntimeScreenOperationLoaders",
14394
14450
  "toType": "DataSourceDiagnostic",
14395
14451
  "sourcePath": "src/runtimeScreenLoaders.ts"
14396
14452
  },
14453
+ {
14454
+ "fromSymbol": "useRuntimeScreenOperationLoaders",
14455
+ "toType": "Readonly",
14456
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14457
+ },
14458
+ {
14459
+ "fromSymbol": "useRuntimeScreenOperationLoaders",
14460
+ "toType": "RuntimeBindingResolutionContext",
14461
+ "sourcePath": "src/runtimeScreenLoaders.ts"
14462
+ },
14397
14463
  {
14398
14464
  "fromSymbol": "useRuntimeScreenOperationLoaders",
14399
14465
  "toType": "RuntimeBindingResultCache",