@ankhorage/runtime 5.5.12 → 5.6.1

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,17 @@
1
1
  # @ankhorage/runtime
2
2
 
3
+ ## 5.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 478593c: Update dependencies: `@ankhorage/utility`.
8
+
9
+ ## 5.6.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 05d7cb7: Expose generic structured result-slot projection with reactive, credential-safe operation state for generated UI.
14
+
3
15
  ## 5.5.12
4
16
 
5
17
  ### 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.5.12](./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.6.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)
7
7
 
8
8
  Renders Ankhorage application manifests and resolves their runtime bindings, capabilities, events, media, screens, and state.
9
9
 
@@ -158,20 +158,8 @@ export declare const CAPABILITIES: readonly [{
158
158
  readonly nodeId: {
159
159
  readonly type: "string";
160
160
  };
161
- readonly operation: {
162
- readonly type: "object";
163
- readonly required: readonly ["apiId", "operationId"];
164
- readonly properties: {
165
- readonly apiId: {
166
- readonly type: "string";
167
- };
168
- readonly endpointId: {
169
- readonly type: "string";
170
- };
171
- readonly operationId: {
172
- readonly type: "string";
173
- };
174
- };
161
+ readonly capability: {
162
+ readonly type: "string";
175
163
  };
176
164
  };
177
165
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmJiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2IiB,CAAC"}
@@ -122,15 +122,7 @@ export const CAPABILITIES = [
122
122
  loading: { type: 'boolean' },
123
123
  errorMessage: { type: 'string' },
124
124
  nodeId: { type: 'string' },
125
- operation: {
126
- type: 'object',
127
- required: ['apiId', 'operationId'],
128
- properties: {
129
- apiId: { type: 'string' },
130
- endpointId: { type: 'string' },
131
- operationId: { type: 'string' },
132
- },
133
- },
125
+ capability: { type: 'string' },
134
126
  },
135
127
  },
136
128
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAA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E,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;QACD,KAAK,EAAE,qBAAqB;KAC7B;CACuC,CAAC","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capability';\n\nexport const CAPABILITIES = [\n {\n id: 'runtime.render',\n owner: '@ankhorage/runtime',\n access: ['invoke'],\n binding: {\n kind: 'action',\n bindableAs: ['target'],\n },\n label: 'Render runtime',\n },\n {\n id: 'runtime.actions',\n owner: '@ankhorage/runtime',\n access: ['invoke'],\n binding: {\n kind: 'action',\n bindableAs: ['target'],\n },\n label: 'Execute runtime actions',\n },\n {\n id: 'runtime.bindings',\n owner: '@ankhorage/runtime',\n access: ['read', 'write'],\n binding: {\n kind: 'state',\n bindableAs: ['source', 'target'],\n },\n label: 'Runtime bindings',\n },\n {\n id: 'state.set',\n owner: '@ankhorage/runtime',\n access: ['invoke', 'write'],\n binding: {\n kind: 'state',\n bindableAs: ['target'],\n },\n label: 'Set runtime state',\n input: {\n schema: {\n type: 'object',\n required: ['path', 'value'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n value: {},\n },\n },\n },\n output: {\n schema: {\n type: 'object',\n required: ['path', 'value'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n value: {},\n },\n },\n },\n },\n {\n id: 'state.update',\n owner: '@ankhorage/runtime',\n access: ['invoke', 'write'],\n binding: {\n kind: 'state',\n bindableAs: ['target'],\n },\n label: 'Update runtime state',\n input: {\n schema: {\n type: 'object',\n required: ['path', 'update'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n update: {\n type: 'object',\n required: ['kind', 'value'],\n properties: {\n kind: { type: 'string', enum: ['append'] },\n value: {},\n },\n },\n },\n },\n },\n output: {\n schema: {\n type: 'object',\n required: ['path', 'value'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n value: { type: 'array' },\n },\n },\n },\n },\n {\n id: 'runtime.eventOperation',\n owner: '@ankhorage/runtime',\n access: ['read', 'subscribe'],\n binding: {\n kind: 'context',\n bindableAs: ['source'],\n },\n label: 'Runtime event operation',\n output: {\n schema: {\n type: 'object',\n required: ['status', 'loading', 'errorMessage'],\n properties: {\n status: { type: 'string', enum: ['idle', 'loading', 'success', 'error'] },\n loading: { type: 'boolean' },\n errorMessage: { type: 'string' },\n nodeId: { type: 'string' },\n operation: {\n type: 'object',\n required: ['apiId', 'operationId'],\n properties: {\n apiId: { type: 'string' },\n endpointId: { type: 'string' },\n operationId: { type: 'string' },\n },\n },\n },\n },\n },\n },\n {\n id: 'runtime.repeat.item',\n owner: '@ankhorage/runtime',\n access: ['read'],\n binding: {\n kind: 'context',\n bindableAs: ['source'],\n },\n label: 'Runtime repeat item',\n },\n] as const satisfies readonly Capability[];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,gBAAgB;QACpB,KAAK,EAAE,oBAAoB;QAC3B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;QACD,KAAK,EAAE,gBAAgB;KACxB;IACD;QACE,EAAE,EAAE,iBAAiB;QACrB,KAAK,EAAE,oBAAoB;QAC3B,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;QACD,KAAK,EAAE,yBAAyB;KACjC;IACD;QACE,EAAE,EAAE,kBAAkB;QACtB,KAAK,EAAE,oBAAoB;QAC3B,MAAM,EAAE,CAAC,MAAM,EAA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E,QAAQ;gBACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,cAAc,CAAC;gBAC/C,UAAU,EAAE;oBACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE;oBACzE,OAAO,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;oBAC5B,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAChC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBAC1B,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC/B;aACF;SACF;KACF;IACD;QACE,EAAE,EAAE,qBAAqB;QACzB,KAAK,EAAE,oBAAoB;QAC3B,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;QACD,KAAK,EAAE,qBAAqB;KAC7B;CACuC,CAAC","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capability';\n\nexport const CAPABILITIES = [\n {\n id: 'runtime.render',\n owner: '@ankhorage/runtime',\n access: ['invoke'],\n binding: {\n kind: 'action',\n bindableAs: ['target'],\n },\n label: 'Render runtime',\n },\n {\n id: 'runtime.actions',\n owner: '@ankhorage/runtime',\n access: ['invoke'],\n binding: {\n kind: 'action',\n bindableAs: ['target'],\n },\n label: 'Execute runtime actions',\n },\n {\n id: 'runtime.bindings',\n owner: '@ankhorage/runtime',\n access: ['read', 'write'],\n binding: {\n kind: 'state',\n bindableAs: ['source', 'target'],\n },\n label: 'Runtime bindings',\n },\n {\n id: 'state.set',\n owner: '@ankhorage/runtime',\n access: ['invoke', 'write'],\n binding: {\n kind: 'state',\n bindableAs: ['target'],\n },\n label: 'Set runtime state',\n input: {\n schema: {\n type: 'object',\n required: ['path', 'value'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n value: {},\n },\n },\n },\n output: {\n schema: {\n type: 'object',\n required: ['path', 'value'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n value: {},\n },\n },\n },\n },\n {\n id: 'state.update',\n owner: '@ankhorage/runtime',\n access: ['invoke', 'write'],\n binding: {\n kind: 'state',\n bindableAs: ['target'],\n },\n label: 'Update runtime state',\n input: {\n schema: {\n type: 'object',\n required: ['path', 'update'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n update: {\n type: 'object',\n required: ['kind', 'value'],\n properties: {\n kind: { type: 'string', enum: ['append'] },\n value: {},\n },\n },\n },\n },\n },\n output: {\n schema: {\n type: 'object',\n required: ['path', 'value'],\n properties: {\n path: {\n anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }],\n },\n value: { type: 'array' },\n },\n },\n },\n },\n {\n id: 'runtime.eventOperation',\n owner: '@ankhorage/runtime',\n access: ['read', 'subscribe'],\n binding: {\n kind: 'context',\n bindableAs: ['source'],\n },\n label: 'Runtime event operation',\n output: {\n schema: {\n type: 'object',\n required: ['status', 'loading', 'errorMessage'],\n properties: {\n status: { type: 'string', enum: ['idle', 'loading', 'success', 'error'] },\n loading: { type: 'boolean' },\n errorMessage: { type: 'string' },\n nodeId: { type: 'string' },\n capability: { type: 'string' },\n },\n },\n },\n },\n {\n id: 'runtime.repeat.item',\n owner: '@ankhorage/runtime',\n access: ['read'],\n binding: {\n kind: 'context',\n bindableAs: ['source'],\n },\n label: 'Runtime repeat item',\n },\n] as const satisfies readonly Capability[];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeEventExecution.d.ts","sourceRoot":"","sources":["../src/runtimeEventExecution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAChF,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;CACxD;AAED,wBAAsB,0CAA0C,CAC9D,IAAI,EAAE,iCAAiC,GAAG,+BAA+B,GACxE,OAAO,CAAC,SAAS,oBAAoB,EAAE,CAAC,CAmB1C"}
1
+ {"version":3,"file":"runtimeEventExecution.d.ts","sourceRoot":"","sources":["../src/runtimeEventExecution.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAEL,KAAK,iCAAiC,EACvC,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,SAAS,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAChF,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC;CACxD;AAED,wBAAsB,0CAA0C,CAC9D,IAAI,EAAE,iCAAiC,GAAG,+BAA+B,GACxE,OAAO,CAAC,SAAS,oBAAoB,EAAE,CAAC,CAoB1C"}
@@ -1,17 +1,42 @@
1
1
  import { dispatchRuntimeComponentEvent, } from './runtimeActionRegistry.js';
2
2
  export async function dispatchRuntimeComponentEventWithReporting(args) {
3
3
  const diagnostics = await dispatchRuntimeComponentEvent(args);
4
+ const safeDiagnostics = redactRuntimeEventDiagnostics(diagnostics);
4
5
  if (args.onDiagnostics !== undefined) {
5
- args.onDiagnostics(diagnostics);
6
- return diagnostics;
6
+ args.onDiagnostics(safeDiagnostics);
7
+ return safeDiagnostics;
7
8
  }
8
- if (diagnostics.length === 0) {
9
- return diagnostics;
9
+ if (safeDiagnostics.length === 0) {
10
+ return safeDiagnostics;
10
11
  }
11
- const report = diagnostics.some((diagnostic) => diagnostic.severity === 'error')
12
+ const report = safeDiagnostics.some((diagnostic) => diagnostic.severity === 'error')
12
13
  ? args.consoleImpl?.error
13
14
  : args.consoleImpl?.warn;
14
- report?.('[runtime] Event binding diagnostics', diagnostics);
15
- return diagnostics;
15
+ report?.('[runtime] Event binding diagnostics', safeDiagnostics);
16
+ return safeDiagnostics;
17
+ }
18
+ /*** Redacts credential and endpoint details before event diagnostics leave the trusted host boundary. */
19
+ function redactRuntimeEventDiagnostics(diagnostics) {
20
+ return diagnostics.map((diagnostic) => containsSensitiveDiagnosticDetail(diagnostic)
21
+ ? {
22
+ code: 'adapter-error',
23
+ message: 'The operation could not be completed. Please try again.',
24
+ severity: diagnostic.severity,
25
+ }
26
+ : diagnostic);
27
+ }
28
+ /*** Detects diagnostic fields that could disclose a server credential or private transport endpoint. */
29
+ function containsSensitiveDiagnosticDetail(diagnostic) {
30
+ const detail = `${diagnostic.code} ${diagnostic.message}`.toLowerCase();
31
+ return [
32
+ 'authorization',
33
+ 'basic ',
34
+ 'bearer ',
35
+ 'credential',
36
+ 'secret',
37
+ 'token',
38
+ 'http://',
39
+ 'https://',
40
+ ].some((marker) => detail.includes(marker));
16
41
  }
17
42
  //# sourceMappingURL=runtimeEventExecution.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeEventExecution.js","sourceRoot":"","sources":["../src/runtimeEventExecution.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,6BAA6B,GAE9B,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,KAAK,UAAU,0CAA0C,CAC9D,IAAyE;IAEzE,MAAM,WAAW,GAAG,MAAM,6BAA6B,CAAC,IAAI,CAAC,CAAC;IAE9D,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,EAAE,CAAC;QACrC,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;QAChC,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,MAAM,MAAM,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,KAAK,OAAO,CAAC;QAC9E,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,KAAK;QACzB,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC;IAE3B,MAAM,EAAE,CAAC,qCAAqC,EAAE,WAAW,CAAC,CAAC;IAE7D,OAAO,WAAW,CAAC;AACrB,CAAC","sourcesContent":["import type { DataSourceDiagnostic } from '@ankhorage/contracts';\n\nimport {\n dispatchRuntimeComponentEvent,\n type RuntimeComponentEventDispatchArgs,\n} from './runtimeActionRegistry.js';\n\nexport interface RuntimeEventDiagnosticsReporter {\n readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n readonly consoleImpl?: Pick<Console, 'error' | 'warn'>;\n}\n\nexport async function dispatchRuntimeComponentEventWithReporting(\n args: RuntimeComponentEventDispatchArgs & RuntimeEventDiagnosticsReporter,\n): Promise<readonly DataSourceDiagnostic[]> {\n const diagnostics = await dispatchRuntimeComponentEvent(args);\n\n if (args.onDiagnostics !== undefined) {\n args.onDiagnostics(diagnostics);\n return diagnostics;\n }\n\n if (diagnostics.length === 0) {\n return diagnostics;\n }\n\n const report = diagnostics.some((diagnostic) => diagnostic.severity === 'error')\n ? args.consoleImpl?.error\n : args.consoleImpl?.warn;\n\n report?.('[runtime] Event binding diagnostics', diagnostics);\n\n return diagnostics;\n}\n"]}
1
+ {"version":3,"file":"runtimeEventExecution.js","sourceRoot":"","sources":["../src/runtimeEventExecution.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,6BAA6B,GAE9B,MAAM,4BAA4B,CAAC;AAOpC,MAAM,CAAC,KAAK,UAAU,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AAU;KACX,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9C,CAAC","sourcesContent":["import type { DataSourceDiagnostic } from '@ankhorage/contracts';\n\nimport {\n dispatchRuntimeComponentEvent,\n type RuntimeComponentEventDispatchArgs,\n} from './runtimeActionRegistry.js';\n\nexport interface RuntimeEventDiagnosticsReporter {\n readonly onDiagnostics?: (diagnostics: readonly DataSourceDiagnostic[]) => void;\n readonly consoleImpl?: Pick<Console, 'error' | 'warn'>;\n}\n\nexport async function dispatchRuntimeComponentEventWithReporting(\n args: RuntimeComponentEventDispatchArgs & RuntimeEventDiagnosticsReporter,\n): Promise<readonly DataSourceDiagnostic[]> {\n const diagnostics = await dispatchRuntimeComponentEvent(args);\n const safeDiagnostics = redactRuntimeEventDiagnostics(diagnostics);\n\n if (args.onDiagnostics !== undefined) {\n args.onDiagnostics(safeDiagnostics);\n return safeDiagnostics;\n }\n\n if (safeDiagnostics.length === 0) {\n return safeDiagnostics;\n }\n\n const report = safeDiagnostics.some((diagnostic) => diagnostic.severity === 'error')\n ? args.consoleImpl?.error\n : args.consoleImpl?.warn;\n\n report?.('[runtime] Event binding diagnostics', safeDiagnostics);\n\n return safeDiagnostics;\n}\n\n/*** Redacts credential and endpoint details before event diagnostics leave the trusted host boundary. */\nfunction redactRuntimeEventDiagnostics(\n diagnostics: readonly DataSourceDiagnostic[],\n): readonly DataSourceDiagnostic[] {\n return diagnostics.map((diagnostic) =>\n containsSensitiveDiagnosticDetail(diagnostic)\n ? {\n code: 'adapter-error',\n message: 'The operation could not be completed. Please try again.',\n severity: diagnostic.severity,\n }\n : diagnostic,\n );\n}\n\n/*** Detects diagnostic fields that could disclose a server credential or private transport endpoint. */\nfunction containsSensitiveDiagnosticDetail(diagnostic: DataSourceDiagnostic): boolean {\n const detail = `${diagnostic.code} ${diagnostic.message}`.toLowerCase();\n return [\n 'authorization',\n 'basic ',\n 'bearer ',\n 'credential',\n 'secret',\n 'token',\n 'http://',\n 'https://',\n ].some((marker) => detail.includes(marker));\n}\n"]}
@@ -35,11 +35,6 @@ export declare function createRuntimeEventOperationLifecycle(onStateChange: (sta
35
35
  * @returns Context exposing `runtime.eventOperation` for ordinary context bindings.
36
36
  */
37
37
  export declare function createRuntimeEventOperationBindingContext(context: Record<string, unknown> | undefined, state: RuntimeEventOperationState): Record<string, unknown>;
38
- /**
39
- * Selects a stable, human-readable error for inline presentation.
40
- *
41
- * @param diagnostics - Diagnostics produced while resolving or executing the operation.
42
- * @returns The first error message, or a safe generic fallback.
43
- */
44
- export declare function resolveRuntimeEventOperationErrorMessage(diagnostics: readonly DataSourceDiagnostic[]): string;
38
+ /*** Returns the credential-safe error copy exposed through the public renderer context. */
39
+ export declare function resolveRuntimeEventOperationErrorMessage(_diagnostics: readonly DataSourceDiagnostic[]): string;
45
40
  //# sourceMappingURL=runtimeEventOperationLifecycle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeEventOperationLifecycle.d.ts","sourceRoot":"","sources":["../src/runtimeEventOperationLifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAGlE,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAEnF,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,MAAM,EAAE,2BAA2B,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,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C;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;CACxC;AAED,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,8BAA8B;IAC7C,KAAK,CAAC,IAAI,EAAE;QACV,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC;KACvC,GAAG,+BAA+B,GAAG,SAAS,CAAC;IAChD,OAAO,CAAC,UAAU,EAAE,+BAA+B,GAAG,IAAI,CAAC;IAC3D,IAAI,CAAC,UAAU,EAAE,+BAA+B,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1E;AAED,eAAO,MAAM,kCAAkC,EAAE,0BAIhD,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,oCAAoC,CAClD,aAAa,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,IAAI,GACzD,8BAA8B,CA0ChC;AAED;;;;;;GAMG;AACH,wBAAgB,yCAAyC,CACvD,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAC5C,KAAK,EAAE,0BAA0B,GAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAUzB;AAED,2FAA2F;AAC3F,wBAAgB,wCAAwC,CACtD,YAAY,EAAE,SAAS,oBAAoB,EAAE,GAC5C,MAAM,CAER"}
@@ -63,14 +63,8 @@ export function createRuntimeEventOperationBindingContext(context, state) {
63
63
  },
64
64
  };
65
65
  }
66
- /**
67
- * Selects a stable, human-readable error for inline presentation.
68
- *
69
- * @param diagnostics - Diagnostics produced while resolving or executing the operation.
70
- * @returns The first error message, or a safe generic fallback.
71
- */
72
- export function resolveRuntimeEventOperationErrorMessage(diagnostics) {
73
- return (diagnostics.find((diagnostic) => diagnostic.severity === 'error')?.message ??
74
- 'The operation could not be completed. Please try again.');
66
+ /*** Returns the credential-safe error copy exposed through the public renderer context. */
67
+ export function resolveRuntimeEventOperationErrorMessage(_diagnostics) {
68
+ return 'The operation could not be completed. Please try again.';
75
69
  }
76
70
  //# sourceMappingURL=runtimeEventOperationLifecycle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeEventOperationLifecycle.js","sourceRoot":"","sources":["../src/runtimeEventOperationLifecycle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAyBrD,MAAM,CAAC,MAAM,kCAAkC,GAA+B;IAC5E,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,KAAK;IACd,YAAY,EAAE,EAAE;CACjB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,oCAAoC,CAClD,aAA0D;IAE1D,IAAI,gBAAgB,GAAG,CAAC,CAAC;IACzB,IAAI,kBAAsC,CAAC;IAC3C,IAAI,gBAA8C,CAAC;IACnD,IAAI,YAAgC,CAAC;IAErC,MAAM,MAAM,GAAG,CACb,UAA2C,EAC3C,MAAiE,EACjE,YAAoB,EACpB,EAAE;QACF,IAAI,kBAAkB,KAAK,UAAU,CAAC,EAAE;YAAE,OAAO;QAEjD,aAAa,CAAC;YACZ,MAAM;YACN,OAAO,EAAE,KAAK;YACd,YAAY;YACZ,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,gBAAgB;SAC7B,CAAC,CAAC;QACH,kBAAkB,GAAG,SAAS,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO;QACL,KAAK,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE;YAC1B,IAAI,kBAAkB,KAAK,SAAS;gBAAE,OAAO,SAAS,CAAC;YAEvD,gBAAgB,IAAI,CAAC,CAAC;YACtB,kBAAkB,GAAG,gBAAgB,CAAC;YACtC,YAAY,GAAG,MAAM,CAAC;YACtB,gBAAgB,GAAG,UAAU,CAAC;YAC9B,aAAa,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;YAE1F,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE,CAAC;QACpC,CAAC;QACD,OAAO,CAAC,UAAU;YAChB,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;QACpC,CAAC;QACD,IAAI,CAAC,UAAU,EAAE,OAAO;YACtB,MAAM,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACvC,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,yCAAyC,CACvD,OAA4C,EAC5C,KAAiC;IAEjC,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAElE,OAAO;QACL,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC;QAClB,OAAO,EAAE;YACP,GAAG,OAAO;YACV,cAAc,EAAE,KAAK;SACtB;KACF,CAAC;AACJ,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,wCAAwC,CACtD,WAA4C;IAE5C,OAAO,CACL,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,KAAK,OAAO,CAAC,EAAE,OAAO;QAC1E,yDAAyD,CAC1D,CAAC;AACJ,CAAC","sourcesContent":["import type { DataSourceDiagnostic } from '@ankhorage/contracts';\nimport type { Capability } from '@ankhorage/contracts/capability';\nimport { isRecord } from '@ankhorage/utility/object';\n\nexport type RuntimeEventOperationStatus = 'idle' | 'loading' | 'success' | 'error';\n\nexport interface RuntimeEventOperationState {\n readonly status: RuntimeEventOperationStatus;\n readonly loading: boolean;\n readonly errorMessage: string;\n readonly nodeId?: string;\n readonly capability?: Capability['id'];\n}\n\nexport interface RuntimeEventOperationInvocation {\n readonly id: number;\n}\n\nexport interface RuntimeEventOperationLifecycle {\n start(args: {\n readonly nodeId: string;\n readonly capability: Capability['id'];\n }): RuntimeEventOperationInvocation | undefined;\n succeed(invocation: RuntimeEventOperationInvocation): void;\n fail(invocation: RuntimeEventOperationInvocation, message: string): void;\n}\n\nexport const IDLE_RUNTIME_EVENT_OPERATION_STATE: RuntimeEventOperationState = {\n status: 'idle',\n loading: false,\n errorMessage: '',\n};\n\n/**\n * Creates a single-flight lifecycle controller for component-triggered API operations.\n *\n * @param onStateChange - Receives bindable lifecycle snapshots.\n * @returns A controller that rejects concurrent starts and ignores stale completions.\n */\nexport function createRuntimeEventOperationLifecycle(\n onStateChange: (state: RuntimeEventOperationState) => void,\n): RuntimeEventOperationLifecycle {\n let nextInvocationId = 0;\n let activeInvocationId: number | undefined;\n let activeCapability: Capability['id'] | undefined;\n let activeNodeId: string | undefined;\n\n const finish = (\n invocation: RuntimeEventOperationInvocation,\n status: Extract<RuntimeEventOperationStatus, 'success' | 'error'>,\n errorMessage: string,\n ) => {\n if (activeInvocationId !== invocation.id) return;\n\n onStateChange({\n status,\n loading: false,\n errorMessage,\n nodeId: activeNodeId,\n capability: activeCapability,\n });\n activeInvocationId = undefined;\n };\n\n return {\n start({ capability, nodeId }) {\n if (activeInvocationId !== undefined) return undefined;\n\n nextInvocationId += 1;\n activeInvocationId = nextInvocationId;\n activeNodeId = nodeId;\n activeCapability = capability;\n onStateChange({ status: 'loading', loading: true, errorMessage: '', nodeId, capability });\n\n return { id: activeInvocationId };\n },\n succeed(invocation) {\n finish(invocation, 'success', '');\n },\n fail(invocation, message) {\n finish(invocation, 'error', message);\n },\n };\n}\n\n/**\n * Adds the public Runtime event-operation namespace without replacing caller context.\n *\n * @param context - Existing manifest binding context.\n * @param state - Current event-operation lifecycle snapshot.\n * @returns Context exposing `runtime.eventOperation` for ordinary context bindings.\n */\nexport function createRuntimeEventOperationBindingContext(\n context: Record<string, unknown> | undefined,\n state: RuntimeEventOperationState,\n): Record<string, unknown> {\n const runtime = isRecord(context?.runtime) ? context.runtime : {};\n\n return {\n ...(context ?? {}),\n runtime: {\n ...runtime,\n eventOperation: state,\n },\n };\n}\n\n/**\n * Selects a stable, human-readable error for inline presentation.\n *\n * @param diagnostics - Diagnostics produced while resolving or executing the operation.\n * @returns The first error message, or a safe generic fallback.\n */\nexport function resolveRuntimeEventOperationErrorMessage(\n diagnostics: readonly DataSourceDiagnostic[],\n): string {\n return (\n diagnostics.find((diagnostic) => diagnostic.severity === 'error')?.message ??\n 'The operation could not be completed. Please try again.'\n );\n}\n"]}
1
+ {"version":3,"file":"runtimeEventOperationLifecycle.js","sourceRoot":"","sources":["../src/runtimeEventOperationLifecycle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAyBrD,MAAM,CAAC,MAAM,kCAAkC,GAA+B;IAC5E,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,KAAK;IACd,YAAY,EAAE,EAAE;CACjB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,UAAU,oCAAoC,CAClD,aAA0D;IAE1D,IAAI,gBAAgB,GAAG,CAAC,CAAC;IACzB,IAAI,kBAAsC,CAAC;IAC3C,IAAI,gBAA8C,CAAC;IACnD,IAAI,YAAgC,CAAC;IAErC,MAAM,MAAM,GAAG,CACb,UAA2C,EAC3C,MAAiE,EACjE,YAAoB,EACpB,EAAE;QACF,IAAI,kBAAkB,KAAK,UAAU,CAAC,EAAE;YAAE,OAAO;QAEjD,aAAa,CAAC;YACZ,MAAM;YACN,OAAO,EAAE,KAAK;YACd,YAAY;YACZ,MAAM,EAAE,YAAY;YACpB,UAAU,EAAE,gBAAgB;SAC7B,CAAC,CAAC;QACH,kBAAkB,GAAG,SAAS,CAAC;IACjC,CAAC,CAAC;IAEF,OAAO;QACL,KAAK,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE;YAC1B,IAAI,kBAAkB,KAAK,SAAS;gBAAE,OAAO,SAAS,CAAC;YAEvD,gBAAgB,IAAI,CAAC,CAAC;YACtB,kBAAkB,GAAG,gBAAgB,CAAC;YACtC,YAAY,GAAG,MAAM,CAAC;YACtB,gBAAgB,GAAG,UAAU,CAAC;YAC9B,aAAa,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;YAE1F,OAAO,EAAE,EAAE,EAAE,kBAAkB,EAAE,CAAC;QACpC,CAAC;QACD,OAAO,CAAC,UAAU;YAChB,MAAM,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;QACpC,CAAC;QACD,IAAI,CAAC,UAAU,EAAE,OAAO;YACtB,MAAM,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACvC,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,yCAAyC,CACvD,OAA4C,EAC5C,KAAiC;IAEjC,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;IAElE,OAAO;QACL,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC;QAClB,OAAO,EAAE;YACP,GAAG,OAAO;YACV,cAAc,EAAE,KAAK;SACtB;KACF,CAAC;AACJ,CAAC;AAED,2FAA2F;AAC3F,MAAM,UAAU,wCAAwC,CACtD,YAA6C;IAE7C,OAAO,yDAAyD,CAAC;AACnE,CAAC","sourcesContent":["import type { DataSourceDiagnostic } from '@ankhorage/contracts';\nimport type { Capability } from '@ankhorage/contracts/capability';\nimport { isRecord } from '@ankhorage/utility/object';\n\nexport type RuntimeEventOperationStatus = 'idle' | 'loading' | 'success' | 'error';\n\nexport interface RuntimeEventOperationState {\n readonly status: RuntimeEventOperationStatus;\n readonly loading: boolean;\n readonly errorMessage: string;\n readonly nodeId?: string;\n readonly capability?: Capability['id'];\n}\n\nexport interface RuntimeEventOperationInvocation {\n readonly id: number;\n}\n\nexport interface RuntimeEventOperationLifecycle {\n start(args: {\n readonly nodeId: string;\n readonly capability: Capability['id'];\n }): RuntimeEventOperationInvocation | undefined;\n succeed(invocation: RuntimeEventOperationInvocation): void;\n fail(invocation: RuntimeEventOperationInvocation, message: string): void;\n}\n\nexport const IDLE_RUNTIME_EVENT_OPERATION_STATE: RuntimeEventOperationState = {\n status: 'idle',\n loading: false,\n errorMessage: '',\n};\n\n/**\n * Creates a single-flight lifecycle controller for component-triggered API operations.\n *\n * @param onStateChange - Receives bindable lifecycle snapshots.\n * @returns A controller that rejects concurrent starts and ignores stale completions.\n */\nexport function createRuntimeEventOperationLifecycle(\n onStateChange: (state: RuntimeEventOperationState) => void,\n): RuntimeEventOperationLifecycle {\n let nextInvocationId = 0;\n let activeInvocationId: number | undefined;\n let activeCapability: Capability['id'] | undefined;\n let activeNodeId: string | undefined;\n\n const finish = (\n invocation: RuntimeEventOperationInvocation,\n status: Extract<RuntimeEventOperationStatus, 'success' | 'error'>,\n errorMessage: string,\n ) => {\n if (activeInvocationId !== invocation.id) return;\n\n onStateChange({\n status,\n loading: false,\n errorMessage,\n nodeId: activeNodeId,\n capability: activeCapability,\n });\n activeInvocationId = undefined;\n };\n\n return {\n start({ capability, nodeId }) {\n if (activeInvocationId !== undefined) return undefined;\n\n nextInvocationId += 1;\n activeInvocationId = nextInvocationId;\n activeNodeId = nodeId;\n activeCapability = capability;\n onStateChange({ status: 'loading', loading: true, errorMessage: '', nodeId, capability });\n\n return { id: activeInvocationId };\n },\n succeed(invocation) {\n finish(invocation, 'success', '');\n },\n fail(invocation, message) {\n finish(invocation, 'error', message);\n },\n };\n}\n\n/**\n * Adds the public Runtime event-operation namespace without replacing caller context.\n *\n * @param context - Existing manifest binding context.\n * @param state - Current event-operation lifecycle snapshot.\n * @returns Context exposing `runtime.eventOperation` for ordinary context bindings.\n */\nexport function createRuntimeEventOperationBindingContext(\n context: Record<string, unknown> | undefined,\n state: RuntimeEventOperationState,\n): Record<string, unknown> {\n const runtime = isRecord(context?.runtime) ? context.runtime : {};\n\n return {\n ...(context ?? {}),\n runtime: {\n ...runtime,\n eventOperation: state,\n },\n };\n}\n\n/*** Returns the credential-safe error copy exposed through the public renderer context. */\nexport function resolveRuntimeEventOperationErrorMessage(\n _diagnostics: readonly DataSourceDiagnostic[],\n): string {\n return 'The operation could not be completed. Please try again.';\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/runtime",
3
- "version": "5.5.12",
3
+ "version": "5.6.1",
4
4
  "description": "Platform-neutral runtime renderer, contracts, and helpers for Ankhorage generated apps.",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -289,23 +289,8 @@
289
289
  "nodeId": {
290
290
  "type": "string"
291
291
  },
292
- "operation": {
293
- "type": "object",
294
- "required": [
295
- "apiId",
296
- "operationId"
297
- ],
298
- "properties": {
299
- "apiId": {
300
- "type": "string"
301
- },
302
- "endpointId": {
303
- "type": "string"
304
- },
305
- "operationId": {
306
- "type": "string"
307
- }
308
- }
292
+ "capability": {
293
+ "type": "string"
309
294
  }
310
295
  }
311
296
  }
@@ -346,7 +331,7 @@
346
331
  "@ankhorage/contracts": "^26.17.0",
347
332
  "@ankhorage/data-sources": "^2.3.0",
348
333
  "@ankhorage/flow": "^0.10.1",
349
- "@ankhorage/utility": "^1.10.1"
334
+ "@ankhorage/utility": "^1.11.0"
350
335
  },
351
336
  "peerDependencies": {
352
337
  "react": ">=19.2.0 <20",
@@ -359,7 +344,7 @@
359
344
  }
360
345
  },
361
346
  "devDependencies": {
362
- "@ankhorage/devtools": "^2.10.15",
347
+ "@ankhorage/devtools": "^2.11.1",
363
348
  "@ankhorage/paradox": "^0.6.0",
364
349
  "@types/bun": "^1.4.2",
365
350
  "@types/node": "^26.6.4",
@@ -1,7 +1,7 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="97" height="20" role="img" aria-label="npm: v5.5.12">
2
- <title>npm: v5.5.12</title>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="90" height="20" role="img" aria-label="npm: v5.6.1">
2
+ <title>npm: v5.6.1</title>
3
3
  <rect width="38" height="20" fill="#374151"/>
4
- <rect x="38" width="59" height="20" fill="#cb3837"/>
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="67.5" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.5.12</text>
6
+ <text x="64" y="14" fill="#ffffff" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">v5.6.1</text>
7
7
  </svg>
@@ -195,6 +195,10 @@ graph TD
195
195
  module_src_runtimeStateReactivity_test_tsx --> module_src_registry_tsx
196
196
  module_src_runtimeStateReactivity_test_tsx --> module_src_runtimeBindings_ts
197
197
  module_src_runtimeStateReactivity_test_tsx --> module_src_runtimeStateAdapter_ts
198
+ module_src_runtimeStructuredResultProjection_test_tsx["src/runtimeStructuredResultProjection.test.tsx"]
199
+ package__ankhorage_runtime -.-> module_src_runtimeStructuredResultProjection_test_tsx
200
+ module_src_runtimeStructuredResultProjection_test_tsx --> module_src_registry_tsx
201
+ module_src_runtimeStructuredResultProjection_test_tsx --> module_src_runtimeBindings_ts
198
202
  module_src_types_runtimeFlow_ts["src/types/runtimeFlow.ts"]
199
203
  package__ankhorage_runtime -.-> module_src_types_runtimeFlow_ts
200
204
  module_src_useRuntimeMediaProps_ts["src/useRuntimeMediaProps.ts"]
@@ -50,6 +50,7 @@ graph LR
50
50
  module_src_runtimeStateAdapter_test_ts["src/runtimeStateAdapter.test.ts"]
51
51
  module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"]
52
52
  module_src_runtimeStateReactivity_test_tsx["src/runtimeStateReactivity.test.tsx"]
53
+ module_src_runtimeStructuredResultProjection_test_tsx["src/runtimeStructuredResultProjection.test.tsx"]
53
54
  module_src_types_runtimeFlow_ts["src/types/runtimeFlow.ts"]
54
55
  module_src_useRuntimeMediaProps_ts["src/useRuntimeMediaProps.ts"]
55
56
  module_src_useRuntimeStateBindings_ts["src/useRuntimeStateBindings.ts"]
@@ -50,6 +50,7 @@ graph LR
50
50
  module_src_runtimeStateAdapter_test_ts["src/runtimeStateAdapter.test.ts"]
51
51
  module_src_runtimeStateAdapter_ts["src/runtimeStateAdapter.ts"]
52
52
  module_src_runtimeStateReactivity_test_tsx["src/runtimeStateReactivity.test.tsx"]
53
+ module_src_runtimeStructuredResultProjection_test_tsx["src/runtimeStructuredResultProjection.test.tsx"]
53
54
  module_src_types_runtimeFlow_ts["src/types/runtimeFlow.ts"]
54
55
  module_src_useRuntimeMediaProps_ts["src/useRuntimeMediaProps.ts"]
55
56
  module_src_useRuntimeStateBindings_ts["src/useRuntimeStateBindings.ts"]
@@ -149,6 +150,8 @@ graph LR
149
150
  module_src_runtimeStateReactivity_test_tsx --> module_src_registry_tsx
150
151
  module_src_runtimeStateReactivity_test_tsx --> module_src_runtimeBindings_ts
151
152
  module_src_runtimeStateReactivity_test_tsx --> module_src_runtimeStateAdapter_ts
153
+ module_src_runtimeStructuredResultProjection_test_tsx --> module_src_registry_tsx
154
+ module_src_runtimeStructuredResultProjection_test_tsx --> module_src_runtimeBindings_ts
152
155
  module_src_useRuntimeMediaProps_ts --> module_src_runtimeMedia_ts
153
156
  module_tests_reactNativeWebCompatibility_fixture_tsx --> module_src_RuntimeRenderer_tsx
154
157
  module_tests_runtime_test_ts --> module_src_capabilities_index_ts
@@ -1403,7 +1403,7 @@
1403
1403
  {
1404
1404
  "name": "resolveRuntimeEventOperationErrorMessage",
1405
1405
  "title": null,
1406
- "description": null,
1406
+ "description": "Returns the credential-safe error copy exposed through the public renderer context.",
1407
1407
  "isReadme": false,
1408
1408
  "see": [],
1409
1409
  "security": [],
@@ -1411,7 +1411,7 @@
1411
1411
  "modulePath": "src/runtimeEventOperationLifecycle.ts",
1412
1412
  "sourceLocation": {
1413
1413
  "filePath": "src/runtimeEventOperationLifecycle.ts",
1414
- "line": 114,
1414
+ "line": 109,
1415
1415
  "column": 1
1416
1416
  },
1417
1417
  "exportPaths": [
@@ -1420,10 +1420,10 @@
1420
1420
  "relatedSymbols": [],
1421
1421
  "signatures": [
1422
1422
  {
1423
- "label": "(diagnostics: readonly DataSourceDiagnostic[]) => string",
1423
+ "label": "(_diagnostics: readonly DataSourceDiagnostic[]) => string",
1424
1424
  "parameters": [
1425
1425
  {
1426
- "name": "diagnostics",
1426
+ "name": "_diagnostics",
1427
1427
  "type": "readonly DataSourceDiagnostic[]",
1428
1428
  "required": true,
1429
1429
  "description": null
@@ -474,12 +474,14 @@ Materializes a Runtime-owned context capability for the active renderer scope.
474
474
 
475
475
  Kind: `function`
476
476
  Module: `src/runtimeEventOperationLifecycle.ts`
477
- Source: `src/runtimeEventOperationLifecycle.ts:114:1`
477
+ Source: `src/runtimeEventOperationLifecycle.ts:109:1`
478
+
479
+ Returns the credential-safe error copy exposed through the public renderer context.
478
480
 
479
481
  ### Signatures
480
482
 
481
- - `(diagnostics: readonly DataSourceDiagnostic[]) => string`
482
- - diagnostics: `readonly DataSourceDiagnostic[]`
483
+ - `(_diagnostics: readonly DataSourceDiagnostic[]) => string`
484
+ - _diagnostics: `readonly DataSourceDiagnostic[]`
483
485
  - returns: `string`
484
486
 
485
487
  ## resolveScreenOperationLoaders
@@ -210,7 +210,7 @@
210
210
  </li><li>
211
211
  <button class="nav-button" type="button" data-target="src/runtimeEventExecution.ts">
212
212
  src/runtimeEventExecution.ts
213
- <small>1 function</small>
213
+ <small>3 functions</small>
214
214
  </button>
215
215
  </li><li>
216
216
  <button class="nav-button" type="button" data-target="src/runtimeEventOperationLifecycle.ts">
@@ -317,6 +317,11 @@
317
317
  src/runtimeStateReactivity.test.tsx
318
318
  <small>4 functions</small>
319
319
  </button>
320
+ </li><li>
321
+ <button class="nav-button" type="button" data-target="src/runtimeStructuredResultProjection.test.tsx">
322
+ src/runtimeStructuredResultProjection.test.tsx
323
+ <small>7 functions</small>
324
+ </button>
320
325
  </li><li>
321
326
  <button class="nav-button" type="button" data-target="src/useRuntimeMediaProps.ts">
322
327
  src/useRuntimeMediaProps.ts
@@ -339,7 +344,7 @@
339
344
  <div class="summary">
340
345
  <div><strong>97</strong><span class="muted">public exports</span></div>
341
346
  <div><strong>5</strong><span class="muted">components</span></div>
342
- <div><strong>58</strong><span class="muted">modules</span></div>
347
+ <div><strong>59</strong><span class="muted">modules</span></div>
343
348
  <div><strong>1</strong><span class="muted">entrypoints</span></div>
344
349
  </div>
345
350
  <h3>Entrypoints</h3>
@@ -384,10 +389,6 @@ inject it at the runtime boundary.</p>
384
389
  <h3>documentation.public-function.description</h3>
385
390
  <p><strong>warning</strong> — Exported function createRuntimeEventOperationLifecycle has no documentation description.</p>
386
391
  <p class="muted"><code>src/runtimeEventOperationLifecycle.ts:40</code></p>
387
- </article><article class="item" data-search="documentation.public-function.description warning Exported function resolveRuntimeEventOperationErrorMessage has no documentation description. src/runtimeEventOperationLifecycle.ts">
388
- <h3>documentation.public-function.description</h3>
389
- <p><strong>warning</strong> — Exported function resolveRuntimeEventOperationErrorMessage has no documentation description.</p>
390
- <p class="muted"><code>src/runtimeEventOperationLifecycle.ts:114</code></p>
391
392
  </article><article class="item" data-search="documentation.public-function.description warning Exported function RuntimeRenderer has no documentation description. src/RuntimeRenderer.tsx">
392
393
  <h3>documentation.public-function.description</h3>
393
394
  <p><strong>warning</strong> — Exported function RuntimeRenderer has no documentation description.</p>
@@ -683,6 +684,11 @@ inject it at the runtime boundary.</p>
683
684
  <p class="muted">Referenced module</p>
684
685
  <p><strong>Dependencies:</strong> <code>src/registry.tsx</code>, <code>src/runtimeBindings.ts</code>, <code>src/runtimeStateAdapter.ts</code></p>
685
686
  <p><strong>Exports:</strong> <span class="empty">None</span></p>
687
+ </article><article class="item" data-search="src/runtimeStructuredResultProjection.test.tsx src/registry.tsx src/runtimeBindings.ts">
688
+ <h3>src/runtimeStructuredResultProjection.test.tsx</h3>
689
+ <p class="muted">Referenced module</p>
690
+ <p><strong>Dependencies:</strong> <code>src/registry.tsx</code>, <code>src/runtimeBindings.ts</code></p>
691
+ <p><strong>Exports:</strong> <span class="empty">None</span></p>
686
692
  </article><article class="item" data-search="src/types/runtimeFlow.ts RuntimeFlowPort RuntimeFlowStartRequest">
687
693
  <h3>src/types/runtimeFlow.ts</h3>
688
694
  <p class="muted">Referenced module</p>
@@ -2396,22 +2402,22 @@ inject it at the runtime boundary.</p>
2396
2402
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
2397
2403
 
2398
2404
 
2399
- </article><article class="item" id="symbol-resolveruntimeeventoperationerrormessage" data-search="resolveRuntimeEventOperationErrorMessage function src/runtimeEventOperationLifecycle.ts (diagnostics: readonly DataSourceDiagnostic[]) =&gt; string">
2405
+ </article><article class="item" id="symbol-resolveruntimeeventoperationerrormessage" data-search="resolveRuntimeEventOperationErrorMessage function src/runtimeEventOperationLifecycle.ts Returns the credential-safe error copy exposed through the public renderer context. (_diagnostics: readonly DataSourceDiagnostic[]) =&gt; string">
2400
2406
  <h4>resolveRuntimeEventOperationErrorMessage</h4>
2401
2407
 
2402
- <p class="muted">function • <code>src/runtimeEventOperationLifecycle.ts:114:1</code></p>
2403
-
2408
+ <p class="muted">function • <code>src/runtimeEventOperationLifecycle.ts:109:1</code></p>
2409
+ <p>Returns the credential-safe error copy exposed through the public renderer context.</p>
2404
2410
 
2405
2411
  <p><strong>Export paths:</strong> <code>src/index.ts</code></p>
2406
2412
  <div><strong>Related symbols:</strong> <span class="empty">None</span></div>
2407
2413
  <div>
2408
2414
  <h5>Signature</h5>
2409
- <pre>(diagnostics: readonly DataSourceDiagnostic[]) =&gt; string</pre>
2415
+ <pre>(_diagnostics: readonly DataSourceDiagnostic[]) =&gt; string</pre>
2410
2416
  <table>
2411
2417
  <thead><tr><th>Parameter</th><th>Type</th><th>Required</th><th>Description</th></tr></thead>
2412
2418
  <tbody>
2413
2419
  <tr>
2414
- <td><code>diagnostics</code></td>
2420
+ <td><code>_diagnostics</code></td>
2415
2421
  <td><code>readonly DataSourceDiagnostic[]</code></td>
2416
2422
  <td>yes</td>
2417
2423
  <td></td>
@@ -4157,6 +4163,10 @@ must not provide credential resolution.</td>
4157
4163
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_registry_tsx
4158
4164
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeBindings_ts
4159
4165
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeStateAdapter_ts
4166
+ module_src_runtimeStructuredResultProjection_test_tsx[&quot;src/runtimeStructuredResultProjection.test.tsx&quot;]
4167
+ package__ankhorage_runtime -.-&gt; module_src_runtimeStructuredResultProjection_test_tsx
4168
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_registry_tsx
4169
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_runtimeBindings_ts
4160
4170
  module_src_types_runtimeFlow_ts[&quot;src/types/runtimeFlow.ts&quot;]
4161
4171
  package__ankhorage_runtime -.-&gt; module_src_types_runtimeFlow_ts
4162
4172
  module_src_useRuntimeMediaProps_ts[&quot;src/useRuntimeMediaProps.ts&quot;]
@@ -4375,6 +4385,10 @@ must not provide credential resolution.</td>
4375
4385
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_registry_tsx
4376
4386
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeBindings_ts
4377
4387
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeStateAdapter_ts
4388
+ module_src_runtimeStructuredResultProjection_test_tsx[&quot;src/runtimeStructuredResultProjection.test.tsx&quot;]
4389
+ package__ankhorage_runtime -.-&gt; module_src_runtimeStructuredResultProjection_test_tsx
4390
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_registry_tsx
4391
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_runtimeBindings_ts
4378
4392
  module_src_types_runtimeFlow_ts[&quot;src/types/runtimeFlow.ts&quot;]
4379
4393
  package__ankhorage_runtime -.-&gt; module_src_types_runtimeFlow_ts
4380
4394
  module_src_useRuntimeMediaProps_ts[&quot;src/useRuntimeMediaProps.ts&quot;]
@@ -4450,6 +4464,7 @@ must not provide credential resolution.</td>
4450
4464
  module_src_runtimeStateAdapter_test_ts[&quot;src/runtimeStateAdapter.test.ts&quot;]
4451
4465
  module_src_runtimeStateAdapter_ts[&quot;src/runtimeStateAdapter.ts&quot;]
4452
4466
  module_src_runtimeStateReactivity_test_tsx[&quot;src/runtimeStateReactivity.test.tsx&quot;]
4467
+ module_src_runtimeStructuredResultProjection_test_tsx[&quot;src/runtimeStructuredResultProjection.test.tsx&quot;]
4453
4468
  module_src_types_runtimeFlow_ts[&quot;src/types/runtimeFlow.ts&quot;]
4454
4469
  module_src_useRuntimeMediaProps_ts[&quot;src/useRuntimeMediaProps.ts&quot;]
4455
4470
  module_src_useRuntimeStateBindings_ts[&quot;src/useRuntimeStateBindings.ts&quot;]
@@ -4549,6 +4564,8 @@ must not provide credential resolution.</td>
4549
4564
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_registry_tsx
4550
4565
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeBindings_ts
4551
4566
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeStateAdapter_ts
4567
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_registry_tsx
4568
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_runtimeBindings_ts
4552
4569
  module_src_useRuntimeMediaProps_ts --&gt; module_src_runtimeMedia_ts
4553
4570
  module_tests_reactNativeWebCompatibility_fixture_tsx --&gt; module_src_RuntimeRenderer_tsx
4554
4571
  module_tests_runtime_test_ts --&gt; module_src_capabilities_index_ts
@@ -4608,6 +4625,7 @@ must not provide credential resolution.</td>
4608
4625
  module_src_runtimeStateAdapter_test_ts[&quot;src/runtimeStateAdapter.test.ts&quot;]
4609
4626
  module_src_runtimeStateAdapter_ts[&quot;src/runtimeStateAdapter.ts&quot;]
4610
4627
  module_src_runtimeStateReactivity_test_tsx[&quot;src/runtimeStateReactivity.test.tsx&quot;]
4628
+ module_src_runtimeStructuredResultProjection_test_tsx[&quot;src/runtimeStructuredResultProjection.test.tsx&quot;]
4611
4629
  module_src_types_runtimeFlow_ts[&quot;src/types/runtimeFlow.ts&quot;]
4612
4630
  module_src_useRuntimeMediaProps_ts[&quot;src/useRuntimeMediaProps.ts&quot;]
4613
4631
  module_src_useRuntimeStateBindings_ts[&quot;src/useRuntimeStateBindings.ts&quot;]
@@ -4707,6 +4725,8 @@ must not provide credential resolution.</td>
4707
4725
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_registry_tsx
4708
4726
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeBindings_ts
4709
4727
  module_src_runtimeStateReactivity_test_tsx --&gt; module_src_runtimeStateAdapter_ts
4728
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_registry_tsx
4729
+ module_src_runtimeStructuredResultProjection_test_tsx --&gt; module_src_runtimeBindings_ts
4710
4730
  module_src_useRuntimeMediaProps_ts --&gt; module_src_runtimeMedia_ts
4711
4731
  module_tests_reactNativeWebCompatibility_fixture_tsx --&gt; module_src_RuntimeRenderer_tsx
4712
4732
  module_tests_runtime_test_ts --&gt; module_src_capabilities_index_ts
@@ -4768,6 +4788,7 @@ must not provide credential resolution.</td>
4768
4788
  module_src_runtimeStateAdapter_test_ts[&quot;src/runtimeStateAdapter.test.ts&quot;]
4769
4789
  module_src_runtimeStateAdapter_ts[&quot;src/runtimeStateAdapter.ts&quot;]
4770
4790
  module_src_runtimeStateReactivity_test_tsx[&quot;src/runtimeStateReactivity.test.tsx&quot;]
4791
+ module_src_runtimeStructuredResultProjection_test_tsx[&quot;src/runtimeStructuredResultProjection.test.tsx&quot;]
4771
4792
  module_src_types_runtimeFlow_ts[&quot;src/types/runtimeFlow.ts&quot;]
4772
4793
  module_src_useRuntimeMediaProps_ts[&quot;src/useRuntimeMediaProps.ts&quot;]
4773
4794
  module_src_useRuntimeStateBindings_ts[&quot;src/useRuntimeStateBindings.ts&quot;]
@@ -5116,6 +5137,7 @@ must not provide credential resolution.</td>
5116
5137
  module_src_runtimeStateAdapter_test_ts[&quot;src/runtimeStateAdapter.test.ts&quot;]
5117
5138
  module_src_runtimeStateAdapter_ts[&quot;src/runtimeStateAdapter.ts&quot;]
5118
5139
  module_src_runtimeStateReactivity_test_tsx[&quot;src/runtimeStateReactivity.test.tsx&quot;]
5140
+ module_src_runtimeStructuredResultProjection_test_tsx[&quot;src/runtimeStructuredResultProjection.test.tsx&quot;]
5119
5141
  module_src_types_runtimeFlow_ts[&quot;src/types/runtimeFlow.ts&quot;]
5120
5142
  module_src_useRuntimeMediaProps_ts[&quot;src/useRuntimeMediaProps.ts&quot;]
5121
5143
  module_src_useRuntimeStateBindings_ts[&quot;src/useRuntimeStateBindings.ts&quot;]
@@ -6424,6 +6446,14 @@ must not provide credential resolution.</td>
6424
6446
  <h3>dispatchRuntimeComponentEventWithReporting</h3>
6425
6447
  <p class="muted"><code>src/runtimeEventExecution.ts:13:1</code></p>
6426
6448
  <p class="empty">No description available.</p>
6449
+ </article><article class="item" data-search="redactRuntimeEventDiagnostics src/runtimeEventExecution.ts Redacts credential and endpoint details before event diagnostics leave the trusted host boundary.">
6450
+ <h3>redactRuntimeEventDiagnostics</h3>
6451
+ <p class="muted"><code>src/runtimeEventExecution.ts:38:1</code></p>
6452
+ <p>Redacts credential and endpoint details before event diagnostics leave the trusted host boundary.</p>
6453
+ </article><article class="item" data-search="containsSensitiveDiagnosticDetail src/runtimeEventExecution.ts Detects diagnostic fields that could disclose a server credential or private transport endpoint.">
6454
+ <h3>containsSensitiveDiagnosticDetail</h3>
6455
+ <p class="muted"><code>src/runtimeEventExecution.ts:53:1</code></p>
6456
+ <p>Detects diagnostic fields that could disclose a server credential or private transport endpoint.</p>
6427
6457
  </article>
6428
6458
  </section>
6429
6459
  </section><section id="view-src-runtimeeventoperationlifecycle-ts" class="view" data-view="src/runtimeEventOperationLifecycle.ts" hidden>
@@ -6441,10 +6471,10 @@ must not provide credential resolution.</td>
6441
6471
  <h3>createRuntimeEventOperationBindingContext</h3>
6442
6472
  <p class="muted"><code>src/runtimeEventOperationLifecycle.ts:93:1</code></p>
6443
6473
  <p class="empty">No description available.</p>
6444
- </article><article class="item" data-search="resolveRuntimeEventOperationErrorMessage src/runtimeEventOperationLifecycle.ts ">
6474
+ </article><article class="item" data-search="resolveRuntimeEventOperationErrorMessage src/runtimeEventOperationLifecycle.ts Returns the credential-safe error copy exposed through the public renderer context.">
6445
6475
  <h3>resolveRuntimeEventOperationErrorMessage</h3>
6446
- <p class="muted"><code>src/runtimeEventOperationLifecycle.ts:114:1</code></p>
6447
- <p class="empty">No description available.</p>
6476
+ <p class="muted"><code>src/runtimeEventOperationLifecycle.ts:109:1</code></p>
6477
+ <p>Returns the credential-safe error copy exposed through the public renderer context.</p>
6448
6478
  </article>
6449
6479
  </section>
6450
6480
  </section><section id="view-src-runtimeflowcapabilities-test-ts" class="view" data-view="src/runtimeFlowCapabilities.test.ts" hidden>
@@ -6829,6 +6859,39 @@ must not provide credential resolution.</td>
6829
6859
  <h3>mountAsyncRepeat</h3>
6830
6860
  <p class="muted"><code>src/runtimeStateReactivity.test.tsx:51:1</code></p>
6831
6861
  <p class="empty">No description available.</p>
6862
+ </article>
6863
+ </section>
6864
+ </section><section id="view-src-runtimestructuredresultprojection-test-tsx" class="view" data-view="src/runtimeStructuredResultProjection.test.tsx" hidden>
6865
+ <section class="panel">
6866
+ <h2>src/runtimeStructuredResultProjection.test.tsx</h2>
6867
+ <article class="item" data-search="SearchButton src/runtimeStructuredResultProjection.test.tsx ">
6868
+ <h3>SearchButton</h3>
6869
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:28:7</code></p>
6870
+ <p class="empty">No description available.</p>
6871
+ </article><article class="item" data-search="DataTableProbe src/runtimeStructuredResultProjection.test.tsx ">
6872
+ <h3>DataTableProbe</h3>
6873
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:33:7</code></p>
6874
+ <p class="empty">No description available.</p>
6875
+ </article><article class="item" data-search="mountGeneratedSearch src/runtimeStructuredResultProjection.test.tsx ">
6876
+ <h3>mountGeneratedSearch</h3>
6877
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:119:1</code></p>
6878
+ <p class="empty">No description available.</p>
6879
+ </article><article class="item" data-search="executeCapability src/runtimeStructuredResultProjection.test.tsx ">
6880
+ <h3>executeCapability</h3>
6881
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:123:9</code></p>
6882
+ <p class="empty">No description available.</p>
6883
+ </article><article class="item" data-search="startGeneratedSearch src/runtimeStructuredResultProjection.test.tsx ">
6884
+ <h3>startGeneratedSearch</h3>
6885
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:147:1</code></p>
6886
+ <p class="empty">No description available.</p>
6887
+ </article><article class="item" data-search="settleGeneratedSearch src/runtimeStructuredResultProjection.test.tsx ">
6888
+ <h3>settleGeneratedSearch</h3>
6889
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:154:1</code></p>
6890
+ <p class="empty">No description available.</p>
6891
+ </article><article class="item" data-search="dataTableProps src/runtimeStructuredResultProjection.test.tsx ">
6892
+ <h3>dataTableProps</h3>
6893
+ <p class="muted"><code>src/runtimeStructuredResultProjection.test.tsx:166:1</code></p>
6894
+ <p class="empty">No description available.</p>
6832
6895
  </article>
6833
6896
  </section>
6834
6897
  </section><section id="view-src-useruntimemediaprops-ts" class="view" data-view="src/useRuntimeMediaProps.ts" hidden>
@@ -18,7 +18,7 @@
18
18
  {
19
19
  "id": "npm",
20
20
  "label": "npm",
21
- "value": "v5.5.12",
21
+ "value": "v5.6.1",
22
22
  "color": "cb3837"
23
23
  },
24
24
  {
@@ -111,13 +111,6 @@
111
111
  "sourcePath": "src/runtimeEventOperationLifecycle.ts",
112
112
  "line": 40
113
113
  },
114
- {
115
- "ruleId": "documentation.public-function.description",
116
- "severity": "warning",
117
- "message": "Exported function resolveRuntimeEventOperationErrorMessage has no documentation description.",
118
- "sourcePath": "src/runtimeEventOperationLifecycle.ts",
119
- "line": 114
120
- },
121
114
  {
122
115
  "ruleId": "documentation.public-function.description",
123
116
  "severity": "warning",
@@ -894,6 +887,15 @@
894
887
  ],
895
888
  "exports": []
896
889
  },
890
+ {
891
+ "path": "src/runtimeStructuredResultProjection.test.tsx",
892
+ "isEntrypoint": false,
893
+ "dependencies": [
894
+ "src/registry.tsx",
895
+ "src/runtimeBindings.ts"
896
+ ],
897
+ "exports": []
898
+ },
897
899
  {
898
900
  "path": "src/types/runtimeFlow.ts",
899
901
  "isEntrypoint": false,
@@ -2358,7 +2360,7 @@
2358
2360
  {
2359
2361
  "name": "resolveRuntimeEventOperationErrorMessage",
2360
2362
  "title": null,
2361
- "description": null,
2363
+ "description": "Returns the credential-safe error copy exposed through the public renderer context.",
2362
2364
  "isReadme": false,
2363
2365
  "see": [],
2364
2366
  "security": [],
@@ -2366,7 +2368,7 @@
2366
2368
  "modulePath": "src/runtimeEventOperationLifecycle.ts",
2367
2369
  "sourceLocation": {
2368
2370
  "filePath": "src/runtimeEventOperationLifecycle.ts",
2369
- "line": 114,
2371
+ "line": 109,
2370
2372
  "column": 1
2371
2373
  },
2372
2374
  "exportPaths": [
@@ -2375,10 +2377,10 @@
2375
2377
  "relatedSymbols": [],
2376
2378
  "signatures": [
2377
2379
  {
2378
- "label": "(diagnostics: readonly DataSourceDiagnostic[]) => string",
2380
+ "label": "(_diagnostics: readonly DataSourceDiagnostic[]) => string",
2379
2381
  "parameters": [
2380
2382
  {
2381
- "name": "diagnostics",
2383
+ "name": "_diagnostics",
2382
2384
  "type": "readonly DataSourceDiagnostic[]",
2383
2385
  "required": true,
2384
2386
  "description": null
@@ -6766,6 +6768,28 @@
6766
6768
  "column": 1
6767
6769
  }
6768
6770
  },
6771
+ {
6772
+ "name": "redactRuntimeEventDiagnostics",
6773
+ "description": "Redacts credential and endpoint details before event diagnostics leave the trusted host boundary.",
6774
+ "see": [],
6775
+ "security": [],
6776
+ "sourceLocation": {
6777
+ "filePath": "src/runtimeEventExecution.ts",
6778
+ "line": 38,
6779
+ "column": 1
6780
+ }
6781
+ },
6782
+ {
6783
+ "name": "containsSensitiveDiagnosticDetail",
6784
+ "description": "Detects diagnostic fields that could disclose a server credential or private transport endpoint.",
6785
+ "see": [],
6786
+ "security": [],
6787
+ "sourceLocation": {
6788
+ "filePath": "src/runtimeEventExecution.ts",
6789
+ "line": 53,
6790
+ "column": 1
6791
+ }
6792
+ },
6769
6793
  {
6770
6794
  "name": "createRuntimeEventOperationLifecycle",
6771
6795
  "description": null,
@@ -6801,12 +6825,12 @@
6801
6825
  },
6802
6826
  {
6803
6827
  "name": "resolveRuntimeEventOperationErrorMessage",
6804
- "description": null,
6828
+ "description": "Returns the credential-safe error copy exposed through the public renderer context.",
6805
6829
  "see": [],
6806
6830
  "security": [],
6807
6831
  "sourceLocation": {
6808
6832
  "filePath": "src/runtimeEventOperationLifecycle.ts",
6809
- "line": 114,
6833
+ "line": 109,
6810
6834
  "column": 1
6811
6835
  }
6812
6836
  },
@@ -7591,6 +7615,83 @@
7591
7615
  "column": 1
7592
7616
  }
7593
7617
  },
7618
+ {
7619
+ "name": "SearchButton",
7620
+ "description": null,
7621
+ "see": [],
7622
+ "security": [],
7623
+ "sourceLocation": {
7624
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7625
+ "line": 28,
7626
+ "column": 7
7627
+ }
7628
+ },
7629
+ {
7630
+ "name": "DataTableProbe",
7631
+ "description": null,
7632
+ "see": [],
7633
+ "security": [],
7634
+ "sourceLocation": {
7635
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7636
+ "line": 33,
7637
+ "column": 7
7638
+ }
7639
+ },
7640
+ {
7641
+ "name": "mountGeneratedSearch",
7642
+ "description": null,
7643
+ "see": [],
7644
+ "security": [],
7645
+ "sourceLocation": {
7646
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7647
+ "line": 119,
7648
+ "column": 1
7649
+ }
7650
+ },
7651
+ {
7652
+ "name": "executeCapability",
7653
+ "description": null,
7654
+ "see": [],
7655
+ "security": [],
7656
+ "sourceLocation": {
7657
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7658
+ "line": 123,
7659
+ "column": 9
7660
+ }
7661
+ },
7662
+ {
7663
+ "name": "startGeneratedSearch",
7664
+ "description": null,
7665
+ "see": [],
7666
+ "security": [],
7667
+ "sourceLocation": {
7668
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7669
+ "line": 147,
7670
+ "column": 1
7671
+ }
7672
+ },
7673
+ {
7674
+ "name": "settleGeneratedSearch",
7675
+ "description": null,
7676
+ "see": [],
7677
+ "security": [],
7678
+ "sourceLocation": {
7679
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7680
+ "line": 154,
7681
+ "column": 1
7682
+ }
7683
+ },
7684
+ {
7685
+ "name": "dataTableProps",
7686
+ "description": null,
7687
+ "see": [],
7688
+ "security": [],
7689
+ "sourceLocation": {
7690
+ "filePath": "src/runtimeStructuredResultProjection.test.tsx",
7691
+ "line": 166,
7692
+ "column": 1
7693
+ }
7694
+ },
7594
7695
  {
7595
7696
  "name": "useRuntimeMediaProps",
7596
7697
  "description": null,
@@ -7920,7 +8021,7 @@
7920
8021
  "name": "resolveRuntimeEventOperationErrorMessage",
7921
8022
  "sourcePath": "src/runtimeEventOperationLifecycle.ts",
7922
8023
  "symbolName": "resolveRuntimeEventOperationErrorMessage",
7923
- "description": null,
8024
+ "description": "Returns the credential-safe error copy exposed through the public renderer context.",
7924
8025
  "isReadme": false
7925
8026
  },
7926
8027
  {
@@ -8574,6 +8675,16 @@
8574
8675
  "toPath": "src/runtimeStateAdapter.ts",
8575
8676
  "sourcePath": "src/runtimeStateReactivity.test.tsx"
8576
8677
  },
8678
+ {
8679
+ "fromPath": "src/runtimeStructuredResultProjection.test.tsx",
8680
+ "toPath": "src/registry.tsx",
8681
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
8682
+ },
8683
+ {
8684
+ "fromPath": "src/runtimeStructuredResultProjection.test.tsx",
8685
+ "toPath": "src/runtimeBindings.ts",
8686
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
8687
+ },
8577
8688
  {
8578
8689
  "fromPath": "src/useRuntimeMediaProps.ts",
8579
8690
  "toPath": "src/runtimeMedia.ts",
@@ -9908,6 +10019,12 @@
9908
10019
  "callExpression": "dispatchRuntimeComponentEvent",
9909
10020
  "sourcePath": "src/runtimeEventExecution.ts"
9910
10021
  },
10022
+ {
10023
+ "fromSymbol": "dispatchRuntimeComponentEventWithReporting",
10024
+ "toSymbol": "redactRuntimeEventDiagnostics",
10025
+ "callExpression": "redactRuntimeEventDiagnostics",
10026
+ "sourcePath": "src/runtimeEventExecution.ts"
10027
+ },
9911
10028
  {
9912
10029
  "fromSymbol": "dispatchRuntimeComponentEventWithReporting",
9913
10030
  "toSymbol": "onDiagnostics",
@@ -9920,6 +10037,12 @@
9920
10037
  "callExpression": "report",
9921
10038
  "sourcePath": "src/runtimeEventExecution.ts"
9922
10039
  },
10040
+ {
10041
+ "fromSymbol": "src/runtimeEventExecution.ts",
10042
+ "toSymbol": "containsSensitiveDiagnosticDetail",
10043
+ "callExpression": "containsSensitiveDiagnosticDetail",
10044
+ "sourcePath": "src/runtimeEventExecution.ts"
10045
+ },
9923
10046
  {
9924
10047
  "fromSymbol": "finish",
9925
10048
  "toSymbol": "onStateChange",
@@ -11162,6 +11285,84 @@
11162
11285
  "callExpression": "mountAsyncRepeat",
11163
11286
  "sourcePath": "src/runtimeStateReactivity.test.tsx"
11164
11287
  },
11288
+ {
11289
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11290
+ "toSymbol": "it",
11291
+ "callExpression": "it",
11292
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11293
+ },
11294
+ {
11295
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11296
+ "toSymbol": "expect",
11297
+ "callExpression": "expect",
11298
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11299
+ },
11300
+ {
11301
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11302
+ "toSymbol": "resolveRuntimeBindingExpressionSync",
11303
+ "callExpression": "resolveRuntimeBindingExpressionSync",
11304
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11305
+ },
11306
+ {
11307
+ "fromSymbol": "mountGeneratedSearch",
11308
+ "toSymbol": "act",
11309
+ "callExpression": "act",
11310
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11311
+ },
11312
+ {
11313
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11314
+ "toSymbol": "create",
11315
+ "callExpression": "create",
11316
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11317
+ },
11318
+ {
11319
+ "fromSymbol": "startGeneratedSearch",
11320
+ "toSymbol": "act",
11321
+ "callExpression": "act",
11322
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11323
+ },
11324
+ {
11325
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11326
+ "toSymbol": "submit",
11327
+ "callExpression": "submit",
11328
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11329
+ },
11330
+ {
11331
+ "fromSymbol": "settleGeneratedSearch",
11332
+ "toSymbol": "act",
11333
+ "callExpression": "act",
11334
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11335
+ },
11336
+ {
11337
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11338
+ "toSymbol": "resolve",
11339
+ "callExpression": "resolve",
11340
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11341
+ },
11342
+ {
11343
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11344
+ "toSymbol": "mountGeneratedSearch",
11345
+ "callExpression": "mountGeneratedSearch",
11346
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11347
+ },
11348
+ {
11349
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11350
+ "toSymbol": "dataTableProps",
11351
+ "callExpression": "dataTableProps",
11352
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11353
+ },
11354
+ {
11355
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11356
+ "toSymbol": "startGeneratedSearch",
11357
+ "callExpression": "startGeneratedSearch",
11358
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11359
+ },
11360
+ {
11361
+ "fromSymbol": "src/runtimeStructuredResultProjection.test.tsx",
11362
+ "toSymbol": "settleGeneratedSearch",
11363
+ "callExpression": "settleGeneratedSearch",
11364
+ "sourcePath": "src/runtimeStructuredResultProjection.test.tsx"
11365
+ },
11165
11366
  {
11166
11367
  "fromSymbol": "useRuntimeMediaProps",
11167
11368
  "toSymbol": "collectRuntimeMediaReferenceIds",