agentfootprint 18.2.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CAPABILITIES.md +3 -0
- package/dist/adapters/llm/AnthropicProvider.js +4 -0
- package/dist/adapters/llm/AnthropicProvider.js.map +1 -1
- package/dist/adapters/llm/BrowserAnthropicProvider.js +4 -0
- package/dist/adapters/llm/BrowserAnthropicProvider.js.map +1 -1
- package/dist/adapters/llm/InvokeModelGatewayProvider.js +18 -21
- package/dist/adapters/llm/InvokeModelGatewayProvider.js.map +1 -1
- package/dist/adapters/llm/anthropicModels.js +72 -4
- package/dist/adapters/llm/anthropicModels.js.map +1 -1
- package/dist/adapters/observability/auditShapes/events/decisions.js +19 -0
- package/dist/adapters/observability/auditShapes/events/decisions.js.map +1 -1
- package/dist/core/agent/contextBinding/check.js +141 -0
- package/dist/core/agent/contextBinding/check.js.map +1 -0
- package/dist/core/agent/contextBinding/compare.js +84 -0
- package/dist/core/agent/contextBinding/compare.js.map +1 -0
- package/dist/core/agent/contextBinding/composition.js +87 -0
- package/dist/core/agent/contextBinding/composition.js.map +1 -0
- package/dist/core/agent/contextBinding/forCall.js +41 -0
- package/dist/core/agent/contextBinding/forCall.js.map +1 -0
- package/dist/core/agent/runValues.js +1 -0
- package/dist/core/agent/runValues.js.map +1 -1
- package/dist/core/agent/runtime/configuration/configure.js +6 -0
- package/dist/core/agent/runtime/configuration/configure.js.map +1 -1
- package/dist/core/agent/runtime/configuration/values.js.map +1 -1
- package/dist/core/agent/runtime/native/initialize.js +1 -0
- package/dist/core/agent/runtime/native/initialize.js.map +1 -1
- package/dist/core/agent/runtime/request/factory.js +1 -0
- package/dist/core/agent/runtime/request/factory.js.map +1 -1
- package/dist/core/agent/stages/callLLM/prepareCall.js +13 -0
- package/dist/core/agent/stages/callLLM/prepareCall.js.map +1 -1
- package/dist/core/agent/stages/callLLM.js +2 -0
- package/dist/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/adapters/llm/AnthropicProvider.d.ts +16 -0
- package/dist/esm/adapters/llm/AnthropicProvider.js +5 -1
- package/dist/esm/adapters/llm/AnthropicProvider.js.map +1 -1
- package/dist/esm/adapters/llm/BrowserAnthropicProvider.d.ts +9 -0
- package/dist/esm/adapters/llm/BrowserAnthropicProvider.js +5 -1
- package/dist/esm/adapters/llm/BrowserAnthropicProvider.js.map +1 -1
- package/dist/esm/adapters/llm/InvokeModelGatewayProvider.d.ts +10 -8
- package/dist/esm/adapters/llm/InvokeModelGatewayProvider.js +19 -22
- package/dist/esm/adapters/llm/InvokeModelGatewayProvider.js.map +1 -1
- package/dist/esm/adapters/llm/anthropicModels.d.ts +37 -0
- package/dist/esm/adapters/llm/anthropicModels.js +70 -3
- package/dist/esm/adapters/llm/anthropicModels.js.map +1 -1
- package/dist/esm/adapters/observability/auditShapes/events/decisions.js +19 -0
- package/dist/esm/adapters/observability/auditShapes/events/decisions.js.map +1 -1
- package/dist/esm/core/agent/contextBinding/check.d.ts +68 -0
- package/dist/esm/core/agent/contextBinding/check.js +135 -0
- package/dist/esm/core/agent/contextBinding/check.js.map +1 -0
- package/dist/esm/core/agent/contextBinding/compare.d.ts +13 -0
- package/dist/esm/core/agent/contextBinding/compare.js +80 -0
- package/dist/esm/core/agent/contextBinding/compare.js.map +1 -0
- package/dist/esm/core/agent/contextBinding/composition.d.ts +54 -0
- package/dist/esm/core/agent/contextBinding/composition.js +79 -0
- package/dist/esm/core/agent/contextBinding/composition.js.map +1 -0
- package/dist/esm/core/agent/contextBinding/forCall.d.ts +23 -0
- package/dist/esm/core/agent/contextBinding/forCall.js +36 -0
- package/dist/esm/core/agent/contextBinding/forCall.js.map +1 -0
- package/dist/esm/core/agent/runValues.d.ts +3 -0
- package/dist/esm/core/agent/runValues.js +1 -0
- package/dist/esm/core/agent/runValues.js.map +1 -1
- package/dist/esm/core/agent/runtime/configuration/configure.js +6 -0
- package/dist/esm/core/agent/runtime/configuration/configure.js.map +1 -1
- package/dist/esm/core/agent/runtime/configuration/types.d.ts +5 -1
- package/dist/esm/core/agent/runtime/configuration/values.d.ts +1 -0
- package/dist/esm/core/agent/runtime/configuration/values.js.map +1 -1
- package/dist/esm/core/agent/runtime/native/initialize.js +1 -0
- package/dist/esm/core/agent/runtime/native/initialize.js.map +1 -1
- package/dist/esm/core/agent/runtime/request/factory.js +1 -0
- package/dist/esm/core/agent/runtime/request/factory.js.map +1 -1
- package/dist/esm/core/agent/stages/callLLM/prepareCall.d.ts +1 -0
- package/dist/esm/core/agent/stages/callLLM/prepareCall.js +13 -0
- package/dist/esm/core/agent/stages/callLLM/prepareCall.js.map +1 -1
- package/dist/esm/core/agent/stages/callLLM/types.d.ts +6 -0
- package/dist/esm/core/agent/stages/callLLM.js +2 -0
- package/dist/esm/core/agent/stages/callLLM.js.map +1 -1
- package/dist/esm/core/agent/types/observation.d.ts +34 -1
- package/dist/esm/events/payloads/contextChange.d.ts +68 -0
- package/dist/esm/events/payloads/contextChange.js +2 -0
- package/dist/esm/events/payloads/contextChange.js.map +1 -0
- package/dist/esm/events/payloads/stream.d.ts +13 -0
- package/dist/esm/events/payloads.d.ts +1 -0
- package/dist/esm/hosting/durability.d.ts +10 -0
- package/dist/esm/hosting/durability.js +54 -30
- package/dist/esm/hosting/durability.js.map +1 -1
- package/dist/esm/hosting/standingAgent/artifacts/accountParts.d.ts +3 -2
- package/dist/esm/hosting/standingAgent/artifacts/accountParts.js +9 -4
- package/dist/esm/hosting/standingAgent/artifacts/accountParts.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/observe.d.ts +1 -1
- package/dist/esm/observe.js.map +1 -1
- package/dist/esm/provider-contract/requestRefusal.js +3 -1
- package/dist/esm/provider-contract/requestRefusal.js.map +1 -1
- package/dist/esm/provider-contract/thinkingBinding.d.ts +20 -0
- package/dist/esm/provider-contract/thinkingBinding.js +27 -0
- package/dist/esm/provider-contract/thinkingBinding.js.map +1 -0
- package/dist/esm/provider-contract/types/provider.d.ts +43 -0
- package/dist/esm/provider-contract/types.d.ts +1 -1
- package/dist/esm/provider-contract/types.js.map +1 -1
- package/dist/esm/providers.d.ts +2 -0
- package/dist/esm/providers.js +2 -0
- package/dist/esm/providers.js.map +1 -1
- package/dist/esm/recorders/observability/FlowchartRecorder.d.ts +8 -120
- package/dist/esm/recorders/observability/FlowchartRecorder.js +16 -0
- package/dist/esm/recorders/observability/FlowchartRecorder.js.map +1 -1
- package/dist/esm/recorders/observability/boundaryRecorder/domainEvents.d.ts +9 -0
- package/dist/esm/recorders/observability/recordingParts/format.d.ts +87 -12
- package/dist/esm/recorders/observability/recordingParts/format.js +136 -17
- package/dist/esm/recorders/observability/recordingParts/format.js.map +1 -1
- package/dist/esm/recorders/observability/recordingParts/open.d.ts +41 -7
- package/dist/esm/recorders/observability/recordingParts/open.js +32 -6
- package/dist/esm/recorders/observability/recordingParts/open.js.map +1 -1
- package/dist/esm/recorders/observability/recordingParts/partReader.d.ts +25 -2
- package/dist/esm/recorders/observability/recordingParts/partReader.js +183 -15
- package/dist/esm/recorders/observability/recordingParts/partReader.js.map +1 -1
- package/dist/esm/recorders/observability/recordingParts/split.d.ts +13 -0
- package/dist/esm/recorders/observability/recordingParts/split.js +135 -26
- package/dist/esm/recorders/observability/recordingParts/split.js.map +1 -1
- package/dist/esm/recorders/observability/recordingParts/subflowPayloads.d.ts +124 -0
- package/dist/esm/recorders/observability/recordingParts/subflowPayloads.js +389 -0
- package/dist/esm/recorders/observability/recordingParts/subflowPayloads.js.map +1 -0
- package/dist/esm/recorders/observability/stepGraphTypes.d.ts +139 -0
- package/dist/esm/recorders/observability/stepGraphTypes.js +10 -0
- package/dist/esm/recorders/observability/stepGraphTypes.js.map +1 -0
- package/dist/esm/redaction/knownStrings/fields-0.d.ts +5 -5
- package/dist/esm/redaction/knownStrings/fields-0.js +5 -5
- package/dist/esm/redaction/knownStrings/fields-0.js.map +1 -1
- package/dist/esm/redaction/knownStrings/fields-1.d.ts +7 -7
- package/dist/esm/redaction/knownStrings/fields-1.js +7 -7
- package/dist/esm/redaction/knownStrings/fields-1.js.map +1 -1
- package/dist/esm/redaction/knownStrings/fields-2.d.ts +7 -0
- package/dist/esm/redaction/knownStrings/fields-2.js +7 -0
- package/dist/esm/redaction/knownStrings/fields-2.js.map +1 -1
- package/dist/esm/redaction/knownStrings/words-0.d.ts +4 -4
- package/dist/esm/redaction/knownStrings/words-0.js +4 -4
- package/dist/esm/redaction/knownStrings/words-0.js.map +1 -1
- package/dist/esm/redaction/knownStrings/words-1.d.ts +5 -5
- package/dist/esm/redaction/knownStrings/words-1.js +5 -5
- package/dist/esm/redaction/knownStrings/words-1.js.map +1 -1
- package/dist/esm/redaction/knownStrings/words-2.d.ts +6 -0
- package/dist/esm/redaction/knownStrings/words-2.js +6 -0
- package/dist/esm/redaction/knownStrings/words-2.js.map +1 -1
- package/dist/esm/resilience/withCircuitBreaker.js +1 -0
- package/dist/esm/resilience/withCircuitBreaker.js.map +1 -1
- package/dist/esm/resilience/withFallback.js +4 -0
- package/dist/esm/resilience/withFallback.js.map +1 -1
- package/dist/esm/resilience/withRetry.js +1 -0
- package/dist/esm/resilience/withRetry.js.map +1 -1
- package/dist/esm/thinking/contextChange.d.ts +53 -0
- package/dist/esm/thinking/contextChange.js +101 -0
- package/dist/esm/thinking/contextChange.js.map +1 -0
- package/dist/esm/time-travel/servedView/recordReads.js +12 -0
- package/dist/esm/time-travel/servedView/recordReads.js.map +1 -1
- package/dist/esm/time-travel/servedView.d.ts +4 -1
- package/dist/esm/time-travel/servedView.js.map +1 -1
- package/dist/events/payloads/contextChange.js +3 -0
- package/dist/events/payloads/contextChange.js.map +1 -0
- package/dist/hosting/durability.js +54 -30
- package/dist/hosting/durability.js.map +1 -1
- package/dist/hosting/standingAgent/artifacts/accountParts.js +9 -4
- package/dist/hosting/standingAgent/artifacts/accountParts.js.map +1 -1
- package/dist/observe.js.map +1 -1
- package/dist/provider-contract/requestRefusal.js +3 -1
- package/dist/provider-contract/requestRefusal.js.map +1 -1
- package/dist/provider-contract/thinkingBinding.js +31 -0
- package/dist/provider-contract/thinkingBinding.js.map +1 -0
- package/dist/provider-contract/types.js.map +1 -1
- package/dist/providers.js +5 -1
- package/dist/providers.js.map +1 -1
- package/dist/recorders/observability/FlowchartRecorder.js +16 -0
- package/dist/recorders/observability/FlowchartRecorder.js.map +1 -1
- package/dist/recorders/observability/recordingParts/format.js +139 -18
- package/dist/recorders/observability/recordingParts/format.js.map +1 -1
- package/dist/recorders/observability/recordingParts/open.js +30 -4
- package/dist/recorders/observability/recordingParts/open.js.map +1 -1
- package/dist/recorders/observability/recordingParts/partReader.js +182 -14
- package/dist/recorders/observability/recordingParts/partReader.js.map +1 -1
- package/dist/recorders/observability/recordingParts/split.js +134 -25
- package/dist/recorders/observability/recordingParts/split.js.map +1 -1
- package/dist/recorders/observability/recordingParts/subflowPayloads.js +396 -0
- package/dist/recorders/observability/recordingParts/subflowPayloads.js.map +1 -0
- package/dist/recorders/observability/stepGraphTypes.js +11 -0
- package/dist/recorders/observability/stepGraphTypes.js.map +1 -0
- package/dist/redaction/knownStrings/fields-0.js +5 -5
- package/dist/redaction/knownStrings/fields-0.js.map +1 -1
- package/dist/redaction/knownStrings/fields-1.js +7 -7
- package/dist/redaction/knownStrings/fields-1.js.map +1 -1
- package/dist/redaction/knownStrings/fields-2.js +7 -0
- package/dist/redaction/knownStrings/fields-2.js.map +1 -1
- package/dist/redaction/knownStrings/words-0.js +4 -4
- package/dist/redaction/knownStrings/words-0.js.map +1 -1
- package/dist/redaction/knownStrings/words-1.js +5 -5
- package/dist/redaction/knownStrings/words-1.js.map +1 -1
- package/dist/redaction/knownStrings/words-2.js +6 -0
- package/dist/redaction/knownStrings/words-2.js.map +1 -1
- package/dist/resilience/withCircuitBreaker.js +1 -0
- package/dist/resilience/withCircuitBreaker.js.map +1 -1
- package/dist/resilience/withFallback.js +4 -0
- package/dist/resilience/withFallback.js.map +1 -1
- package/dist/resilience/withRetry.js +1 -0
- package/dist/resilience/withRetry.js.map +1 -1
- package/dist/thinking/contextChange.js +107 -0
- package/dist/thinking/contextChange.js.map +1 -0
- package/dist/time-travel/servedView/recordReads.js +12 -0
- package/dist/time-travel/servedView/recordReads.js.map +1 -1
- package/dist/time-travel/servedView.js.map +1 -1
- package/dist/types/adapters/llm/AnthropicProvider.d.ts +16 -0
- package/dist/types/adapters/llm/AnthropicProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/BrowserAnthropicProvider.d.ts +9 -0
- package/dist/types/adapters/llm/BrowserAnthropicProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/InvokeModelGatewayProvider.d.ts +10 -8
- package/dist/types/adapters/llm/InvokeModelGatewayProvider.d.ts.map +1 -1
- package/dist/types/adapters/llm/anthropicModels.d.ts +37 -0
- package/dist/types/adapters/llm/anthropicModels.d.ts.map +1 -1
- package/dist/types/adapters/observability/auditShapes/events/decisions.d.ts.map +1 -1
- package/dist/types/core/agent/contextBinding/check.d.ts +69 -0
- package/dist/types/core/agent/contextBinding/check.d.ts.map +1 -0
- package/dist/types/core/agent/contextBinding/compare.d.ts +14 -0
- package/dist/types/core/agent/contextBinding/compare.d.ts.map +1 -0
- package/dist/types/core/agent/contextBinding/composition.d.ts +55 -0
- package/dist/types/core/agent/contextBinding/composition.d.ts.map +1 -0
- package/dist/types/core/agent/contextBinding/forCall.d.ts +24 -0
- package/dist/types/core/agent/contextBinding/forCall.d.ts.map +1 -0
- package/dist/types/core/agent/runValues.d.ts +3 -0
- package/dist/types/core/agent/runValues.d.ts.map +1 -1
- package/dist/types/core/agent/runtime/configuration/configure.d.ts.map +1 -1
- package/dist/types/core/agent/runtime/configuration/types.d.ts +5 -1
- package/dist/types/core/agent/runtime/configuration/types.d.ts.map +1 -1
- package/dist/types/core/agent/runtime/configuration/values.d.ts +1 -0
- package/dist/types/core/agent/runtime/configuration/values.d.ts.map +1 -1
- package/dist/types/core/agent/runtime/native/initialize.d.ts.map +1 -1
- package/dist/types/core/agent/runtime/request/factory.d.ts.map +1 -1
- package/dist/types/core/agent/stages/callLLM/prepareCall.d.ts +1 -0
- package/dist/types/core/agent/stages/callLLM/prepareCall.d.ts.map +1 -1
- package/dist/types/core/agent/stages/callLLM/types.d.ts +6 -0
- package/dist/types/core/agent/stages/callLLM/types.d.ts.map +1 -1
- package/dist/types/core/agent/stages/callLLM.d.ts.map +1 -1
- package/dist/types/core/agent/types/observation.d.ts +34 -1
- package/dist/types/core/agent/types/observation.d.ts.map +1 -1
- package/dist/types/events/payloads/contextChange.d.ts +69 -0
- package/dist/types/events/payloads/contextChange.d.ts.map +1 -0
- package/dist/types/events/payloads/stream.d.ts +13 -0
- package/dist/types/events/payloads/stream.d.ts.map +1 -1
- package/dist/types/events/payloads.d.ts +1 -0
- package/dist/types/events/payloads.d.ts.map +1 -1
- package/dist/types/hosting/durability.d.ts +10 -0
- package/dist/types/hosting/durability.d.ts.map +1 -1
- package/dist/types/hosting/standingAgent/artifacts/accountParts.d.ts +3 -2
- package/dist/types/hosting/standingAgent/artifacts/accountParts.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/observe.d.ts +1 -1
- package/dist/types/observe.d.ts.map +1 -1
- package/dist/types/provider-contract/requestRefusal.d.ts.map +1 -1
- package/dist/types/provider-contract/thinkingBinding.d.ts +21 -0
- package/dist/types/provider-contract/thinkingBinding.d.ts.map +1 -0
- package/dist/types/provider-contract/types/provider.d.ts +43 -0
- package/dist/types/provider-contract/types/provider.d.ts.map +1 -1
- package/dist/types/provider-contract/types.d.ts +1 -1
- package/dist/types/provider-contract/types.d.ts.map +1 -1
- package/dist/types/providers.d.ts +2 -0
- package/dist/types/providers.d.ts.map +1 -1
- package/dist/types/recorders/observability/FlowchartRecorder.d.ts +8 -120
- package/dist/types/recorders/observability/FlowchartRecorder.d.ts.map +1 -1
- package/dist/types/recorders/observability/boundaryRecorder/domainEvents.d.ts +9 -0
- package/dist/types/recorders/observability/boundaryRecorder/domainEvents.d.ts.map +1 -1
- package/dist/types/recorders/observability/recordingParts/format.d.ts +87 -12
- package/dist/types/recorders/observability/recordingParts/format.d.ts.map +1 -1
- package/dist/types/recorders/observability/recordingParts/open.d.ts +41 -7
- package/dist/types/recorders/observability/recordingParts/open.d.ts.map +1 -1
- package/dist/types/recorders/observability/recordingParts/partReader.d.ts +25 -2
- package/dist/types/recorders/observability/recordingParts/partReader.d.ts.map +1 -1
- package/dist/types/recorders/observability/recordingParts/split.d.ts +13 -0
- package/dist/types/recorders/observability/recordingParts/split.d.ts.map +1 -1
- package/dist/types/recorders/observability/recordingParts/subflowPayloads.d.ts +125 -0
- package/dist/types/recorders/observability/recordingParts/subflowPayloads.d.ts.map +1 -0
- package/dist/types/recorders/observability/stepGraphTypes.d.ts +140 -0
- package/dist/types/recorders/observability/stepGraphTypes.d.ts.map +1 -0
- package/dist/types/redaction/knownStrings/fields-0.d.ts +5 -5
- package/dist/types/redaction/knownStrings/fields-1.d.ts +7 -7
- package/dist/types/redaction/knownStrings/fields-2.d.ts +7 -0
- package/dist/types/redaction/knownStrings/fields-2.d.ts.map +1 -1
- package/dist/types/redaction/knownStrings/words-0.d.ts +4 -4
- package/dist/types/redaction/knownStrings/words-1.d.ts +5 -5
- package/dist/types/redaction/knownStrings/words-2.d.ts +6 -0
- package/dist/types/redaction/knownStrings/words-2.d.ts.map +1 -1
- package/dist/types/resilience/withCircuitBreaker.d.ts.map +1 -1
- package/dist/types/resilience/withFallback.d.ts.map +1 -1
- package/dist/types/resilience/withRetry.d.ts.map +1 -1
- package/dist/types/thinking/contextChange.d.ts +54 -0
- package/dist/types/thinking/contextChange.d.ts.map +1 -0
- package/dist/types/time-travel/servedView/recordReads.d.ts.map +1 -1
- package/dist/types/time-travel/servedView.d.ts +4 -1
- package/dist/types/time-travel/servedView.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowchartRecorder.d.ts","sourceRoot":"","sources":["../../../../src/recorders/observability/FlowchartRecorder.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"FlowchartRecorder.d.ts","sourceRoot":"","sources":["../../../../src/recorders/observability/FlowchartRecorder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,gBAAgB,EAEhB,KAAK,WAAW,EAEjB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAIV,SAAS,EAEV,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,gBAAgB,EAChB,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,MAAM,qBAAqB,CAAC;AAE7B,MAAM,WAAW,gBAAgB;IAC/B;4EACwE;IACxE,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;CAChD;AAED,MAAM,WAAW,eAAe;IAC9B;uBACmB;IACnB,QAAQ,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC;IACtC;;sBAEkB;IAClB,QAAQ,CAAC,QAAQ,EAAE,gBAAgB,CAAC;IACpC,oEAAoE;IACpE,QAAQ,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC;CAClC;AAID;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,eAAe,CAC7B,YAAY,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,MAAM,IAAI,EACxD,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,gBAAqB,EAC9B,cAAc,CAAC,EAAE,MAAM,MAAM,GAC5B,eAAe,CAmCjB;AA2ED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,gBAAgB,GAAG,SAAS,CAEpE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,SAAS,WAAW,EAAE,GAAG,SAAS,CAqUlF"}
|
|
@@ -53,6 +53,15 @@ export interface DomainSubflowEvent extends DomainEventBase {
|
|
|
53
53
|
readonly isAgentInternal: boolean;
|
|
54
54
|
/** `inputMapper` result on entry; subflow shared state on exit. */
|
|
55
55
|
readonly payload?: unknown;
|
|
56
|
+
/**
|
|
57
|
+
* Set ONLY on an event read from a recording saved in parts (index format
|
|
58
|
+
* 2), in place of `payload`: the payload lives with the invocation this
|
|
59
|
+
* event's `runtimeStageId` names, read with
|
|
60
|
+
* `openSavedRecording(…).readInvocation(runtimeStageId)` (its `payloads`).
|
|
61
|
+
* The row's `meta.subflowPayloads` is `'with-invocation'` then. No mark and
|
|
62
|
+
* no `payload` means none was recorded. The live stream never carries it.
|
|
63
|
+
*/
|
|
64
|
+
readonly payloadWith?: 'invocation';
|
|
56
65
|
}
|
|
57
66
|
export interface DomainForkBranchEvent extends DomainEventBase {
|
|
58
67
|
readonly type: 'fork.branch';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainEvents.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/boundaryRecorder/domainEvents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIpF,yCAAyC;AACzC,UAAU,eAAe;IACvB;;wEAEoE;IACpE,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,6EAA6E;IAC7E,QAAQ,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,CAAC;IACxC,oEAAoE;IACpE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;;;mDAI+C;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,cAAc,GACd,kBAAkB,GAClB,sBAAsB,GACtB,qBAAqB,GACrB,yBAAyB,GACzB,wBAAwB,GACxB,mBAAmB,GACnB,iBAAiB,GACjB,oBAAoB,GACpB,kBAAkB,GAClB,0BAA0B,CAAC"}
|
|
@@ -13,10 +13,29 @@
|
|
|
13
13
|
* decides before reading bytes is decided from it, so everything in it is
|
|
14
14
|
* checked here before anything else trusts it.
|
|
15
15
|
*/
|
|
16
|
-
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
/**
|
|
17
|
+
* The format marker of an index the writer writes: format 2, where an
|
|
18
|
+
* invocation's sub-flow entry and exit payloads live with the invocation
|
|
19
|
+
* (`recordingParts/subflowPayloads.ts`). A v2 index names v2 parts.
|
|
20
|
+
*/
|
|
21
|
+
export declare const RECORDING_INDEX_FORMAT = "agentfootprint.recording.index.v2";
|
|
22
|
+
/** Format 1, still read: every payload in the base row. A v1 index names v1 parts; no mix. */
|
|
23
|
+
export declare const RECORDING_INDEX_FORMAT_V1 = "agentfootprint.recording.index.v1";
|
|
24
|
+
/** The format marker of a part (the base part and every invocation part) a v2 index names. */
|
|
25
|
+
export declare const RECORDING_PART_FORMAT = "agentfootprint.recording.part.v2";
|
|
26
|
+
/** The part format a v1 index names. */
|
|
27
|
+
export declare const RECORDING_PART_FORMAT_V1 = "agentfootprint.recording.part.v1";
|
|
28
|
+
/** Either index format this reader admits. */
|
|
29
|
+
export type RecordingIndexFormat = typeof RECORDING_INDEX_FORMAT | typeof RECORDING_INDEX_FORMAT_V1;
|
|
30
|
+
/** The part format an index of `format` names. */
|
|
31
|
+
export declare function partFormatOf(format: RecordingIndexFormat): string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether `value` is an index of a format this reader does not know: a plain
|
|
34
|
+
* object whose `format` is spelled `agentfootprint.recording.index.v<N>` for
|
|
35
|
+
* another N. A reader answers it `unsupported-format`, so the next bump is
|
|
36
|
+
* honest; anything else it cannot admit stays `invalid-index`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function isUnsupportedIndexFormat(value: unknown): boolean;
|
|
20
39
|
/**
|
|
21
40
|
* The size a part is filled to: 1 MiB of JSON text. A part holds whole
|
|
22
41
|
* results only, so one result bigger than this is a part of its own.
|
|
@@ -48,6 +67,22 @@ export interface StoredPartEntry {
|
|
|
48
67
|
/** One invocation part: the stored artifact and how many results it holds. */
|
|
49
68
|
export interface IndexPartEntry extends StoredPartEntry {
|
|
50
69
|
readonly results: number;
|
|
70
|
+
/** Format 2 only (required there): how many `'stored'` payloads the part holds. */
|
|
71
|
+
readonly payloads?: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* How one sub-flow boundary payload left the base row (format 2):
|
|
75
|
+
* - `'same'` proven at the cut by equal JSON text to the result's own value
|
|
76
|
+
* (entry: `treeContext.history[0].overwrite`, exit:
|
|
77
|
+
* `treeContext.globalContext`); nothing is stored for it.
|
|
78
|
+
* - `'stored'` the texts differ; the payload is stored in the invocation's
|
|
79
|
+
* part, beside its result (never inside it).
|
|
80
|
+
*/
|
|
81
|
+
export type IndexPayloadPlace = 'same' | 'stored';
|
|
82
|
+
/** Where one invocation's moved payloads are (format 2). At least one of the two is present. */
|
|
83
|
+
export interface IndexInvocationPayloads {
|
|
84
|
+
readonly entry?: IndexPayloadPlace;
|
|
85
|
+
readonly exit?: IndexPayloadPlace;
|
|
51
86
|
}
|
|
52
87
|
/** One recorded invocation. `part` is `null` when the tree mounts it but no result was recorded. */
|
|
53
88
|
export interface IndexInvocation {
|
|
@@ -59,6 +94,40 @@ export interface IndexInvocation {
|
|
|
59
94
|
readonly part: number | null;
|
|
60
95
|
/** Compact JSON bytes of this one result; present exactly when `part` is a number. */
|
|
61
96
|
readonly bytes?: number;
|
|
97
|
+
/** Format 2: present exactly when one of its payloads moved (never when `part` is `null`). */
|
|
98
|
+
readonly payloads?: IndexInvocationPayloads;
|
|
99
|
+
/** Format 2: present exactly when a payload is `'same'`; the plain JSON bytes a whole read restores from the result. */
|
|
100
|
+
readonly restoredBytes?: number;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Format 2: the sub-flow payload counts. `same`, `stored` and `restoredBytes`
|
|
104
|
+
* equal the sums over the invocations, and `stored` the sum over the parts:
|
|
105
|
+
* `readRecordingIndex` admits nothing else.
|
|
106
|
+
*/
|
|
107
|
+
export interface IndexSubflowPayloads {
|
|
108
|
+
readonly same: number;
|
|
109
|
+
readonly stored: number;
|
|
110
|
+
readonly restoredBytes: number;
|
|
111
|
+
/**
|
|
112
|
+
* Positions in `snapshot.recorders` of the rows the cut marked, ascending:
|
|
113
|
+
* the only rows a reader restores. Empty exactly when nothing moved. A row
|
|
114
|
+
* that arrived carrying the row fact or the mark key is never listed: it
|
|
115
|
+
* is kept whole, as the recording's own data.
|
|
116
|
+
*/
|
|
117
|
+
readonly rows: readonly number[];
|
|
118
|
+
/** Sub-flow payloads left whole in the base row, by why. */
|
|
119
|
+
readonly kept: {
|
|
120
|
+
/** The rows do not hold exactly one entry and at most one exit with that id and its `subflowId`. */
|
|
121
|
+
readonly ambiguous: number;
|
|
122
|
+
/**
|
|
123
|
+
* `payload` is not the event's last key, or its row cannot carry a mark
|
|
124
|
+
* (not a BoundaryEvents row in full mode, or one of its events already
|
|
125
|
+
* holds the mark's key).
|
|
126
|
+
*/
|
|
127
|
+
readonly notLast: number;
|
|
128
|
+
/** No indexed invocation with a part has that id (a paused mount, or not an index key). */
|
|
129
|
+
readonly noPart: number;
|
|
130
|
+
};
|
|
62
131
|
}
|
|
63
132
|
/** A path alias of `subflowResults`: proven equal to an execution key's result, or stored itself. */
|
|
64
133
|
export type IndexAlias = {
|
|
@@ -75,7 +144,7 @@ export interface IndexUnmounted {
|
|
|
75
144
|
}
|
|
76
145
|
/** An admitted index. */
|
|
77
146
|
export interface RecordingIndex {
|
|
78
|
-
readonly format:
|
|
147
|
+
readonly format: RecordingIndexFormat;
|
|
79
148
|
/** The run the recording was filed for (`origin.runId`). */
|
|
80
149
|
readonly runId?: string;
|
|
81
150
|
/** `snapshot.runId`, the engine's executor id. */
|
|
@@ -90,9 +159,11 @@ export interface RecordingIndex {
|
|
|
90
159
|
readonly invocations: readonly IndexInvocation[];
|
|
91
160
|
readonly aliases: readonly IndexAlias[];
|
|
92
161
|
readonly unmounted: readonly IndexUnmounted[];
|
|
162
|
+
/** Present exactly when `format` is format 2. */
|
|
163
|
+
readonly subflowPayloads?: IndexSubflowPayloads;
|
|
93
164
|
}
|
|
94
165
|
/** Everything in an index except the refs the store mints. */
|
|
95
|
-
export type IndexDraft = Omit<RecordingIndex, '
|
|
166
|
+
export type IndexDraft = Omit<RecordingIndex, 'base' | 'parts'> & {
|
|
96
167
|
readonly base: Omit<StoredPartEntry, 'ref'>;
|
|
97
168
|
readonly parts: readonly Omit<IndexPartEntry, 'ref'>[];
|
|
98
169
|
};
|
|
@@ -114,12 +185,16 @@ export declare function pathKey(path: readonly string[]): string;
|
|
|
114
185
|
/**
|
|
115
186
|
* Admit an index read back from a store, or refuse it whole (`undefined`).
|
|
116
187
|
*
|
|
117
|
-
* Checked: the exact field set at every level, plain data only;
|
|
118
|
-
* artifact grammar; digests in `sha-256:<hex>`; byte counts; part
|
|
119
|
-
* range; unique, canonical execution keys; bounded paths that end
|
|
120
|
-
* and whose every prefix is itself an invocation; aliases that
|
|
121
|
-
* key or a part; per-part result counts that match the
|
|
122
|
-
* unmounted results that name the part; `complete` that
|
|
188
|
+
* Checked: the exact field set at every level for its format, plain data only;
|
|
189
|
+
* refs in the artifact grammar; digests in `sha-256:<hex>`; byte counts; part
|
|
190
|
+
* ordinals in range; unique, canonical execution keys; bounded paths that end
|
|
191
|
+
* at their key and whose every prefix is itself an invocation; aliases that
|
|
192
|
+
* name a stored key or a part; per-part result counts that match the
|
|
193
|
+
* invocations and unmounted results that name the part; `complete` that
|
|
194
|
+
* admits what is listed. Format 2 also: every invocation's payload places,
|
|
195
|
+
* only on an invocation with a part, its `restoredBytes` exactly when one is
|
|
196
|
+
* `'same'`, and the counts equal to the sums over the invocations and the parts.
|
|
197
|
+
* An unknown format is refused here too; `isUnsupportedIndexFormat` names it.
|
|
123
198
|
*/
|
|
124
199
|
export declare function readRecordingIndex(value: unknown): RecordingIndex | undefined;
|
|
125
200
|
//# sourceMappingURL=format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/format.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,sCAAsC,CAAC;AAE1E,8FAA8F;AAC9F,eAAO,MAAM,yBAAyB,sCAAsC,CAAC;AAE7E,8FAA8F;AAC9F,eAAO,MAAM,qBAAqB,qCAAqC,CAAC;AAExE,wCAAwC;AACxC,eAAO,MAAM,wBAAwB,qCAAqC,CAAC;AAE3E,8CAA8C;AAC9C,MAAM,MAAM,oBAAoB,GAAG,OAAO,sBAAsB,GAAG,OAAO,yBAAyB,CAAC;AAEpG,kDAAkD;AAClD,wBAAgB,YAAY,CAAC,MAAM,EAAE,oBAAoB,GAAG,MAAM,CAEjE;AAKD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAShE;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,QAAc,CAAC;AAEvD;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;IAOjC,wDAAwD;;EAExD,CAAC;AAEH,kDAAkD;AAClD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,2CAA2C;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,QAAQ,CAAC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jD;AAED,8DAA8D;AAC9D,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG;IAChE,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;IAC5C,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;CACxD,CAAC;AAIF;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAcnE;AAED,yFAAyF;AACzF,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAI9E;AAED,4EAA4E;AAC5E,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAG7E;AAED,6GAA6G;AAC7G,wBAAgB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAOzF;AAED,iCAAiC;AACjC,wBAAgB,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAMtD;AAED,yFAAyF;AACzF,wBAAgB,OAAO,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CAIvD;AA0DD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,cAAc,GAAG,SAAS,CAO7E"}
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
* `readInvocation` the one part holding that invocation. Both layouts answer
|
|
17
17
|
* through the same part reader, so both serve the same values.
|
|
18
18
|
*
|
|
19
|
+
* ── Two index formats ───────────────────────────────────────────────────────
|
|
20
|
+
* Format 2 (what the writer writes) keeps a sub-flow invocation's entry and
|
|
21
|
+
* exit payloads with the invocation (`subflowPayloads.ts`): `readRoot` serves the
|
|
22
|
+
* base as stored (marked, without them), `readInvocation` serves them beside
|
|
23
|
+
* the result, `readWhole` puts them back. Format 1 (filed by 18.2 and 18.3)
|
|
24
|
+
* keeps them in the base row and reads as it always did; so does a whole
|
|
25
|
+
* recording, whose in-memory cut is format 1. An index of a format this reader
|
|
26
|
+
* does not know is `unsupported-format`, never a corrupt part.
|
|
27
|
+
*
|
|
19
28
|
* ── Honesty ─────────────────────────────────────────────────────────────────
|
|
20
29
|
* A missing, changed or oversized part is unavailable for exactly the
|
|
21
30
|
* invocations it holds; every other invocation still reads. Nothing falls
|
|
@@ -23,10 +32,10 @@
|
|
|
23
32
|
*/
|
|
24
33
|
import type { ArtifactRef } from '../../../artifacts/types.js';
|
|
25
34
|
import type { Recording } from '../recordRun.js';
|
|
26
|
-
import { type SavedRecordingPartUnavailable } from './partReader.js';
|
|
35
|
+
import { type SavedInvocationPayloads, type SavedRecordingPartUnavailable } from './partReader.js';
|
|
27
36
|
import { type SavedRecordingArtifacts } from './source.js';
|
|
28
37
|
export type { SavedRecordingArtifacts } from './source.js';
|
|
29
|
-
export type { SavedRecordingPartUnavailable } from './partReader.js';
|
|
38
|
+
export type { SavedInvocationPayloads, SavedPayloadSlot, SavedRecordingPartUnavailable, } from './partReader.js';
|
|
30
39
|
/** How much {@link openSavedRecording} agrees to read. Every cap is checked from metadata first. */
|
|
31
40
|
export interface OpenSavedRecordingOptions {
|
|
32
41
|
/** Cancels the open, and every later read that is not given its own signal. */
|
|
@@ -71,6 +80,15 @@ export interface SavedInvocation {
|
|
|
71
80
|
export interface SavedRecordingSizes {
|
|
72
81
|
/** Every stored byte of this recording. */
|
|
73
82
|
readonly storedBytes: number;
|
|
83
|
+
/**
|
|
84
|
+
* `storedBytes` plus the plain JSON bytes `readWhole` restores from results
|
|
85
|
+
* (an index-format-2 recording's `'same'` sub-flow payloads, stored once, in
|
|
86
|
+
* the result), as the index states them. What a whole read holds: a band
|
|
87
|
+
* decided from it is provisional, since `readWhole` measures what it
|
|
88
|
+
* restores and refuses a figure that does not match. Equal to `storedBytes`
|
|
89
|
+
* for a format-1 or whole recording.
|
|
90
|
+
*/
|
|
91
|
+
readonly restoredBytes: number;
|
|
74
92
|
/** How many artifacts hold it. */
|
|
75
93
|
readonly artifacts: number;
|
|
76
94
|
/** The index's bytes (parts layout only). */
|
|
@@ -87,7 +105,9 @@ export interface SavedRecordingSizes {
|
|
|
87
105
|
/** Why a saved recording could not be opened. */
|
|
88
106
|
export interface SavedRecordingUnavailable {
|
|
89
107
|
readonly status: 'unavailable';
|
|
90
|
-
readonly reason: 'not-found' | 'not-a-recording' | 'too-large' | 'invalid-index' | 'invalid-recording'
|
|
108
|
+
readonly reason: 'not-found' | 'not-a-recording' | 'too-large' | 'invalid-index' | 'invalid-recording'
|
|
109
|
+
/** An index of a format this reader does not know (`agentfootprint.recording.index.v<N>`). */
|
|
110
|
+
| 'unsupported-format';
|
|
91
111
|
}
|
|
92
112
|
/** An opened saved recording. Only its index (or, for a whole recording, the whole) has been read. */
|
|
93
113
|
export interface SavedRecording {
|
|
@@ -117,11 +137,20 @@ export interface SavedRecording {
|
|
|
117
137
|
* is the stored one, proven by digest and key set. Its SHAPE was checked when
|
|
118
138
|
* the recording was cut: on a recording that is not `complete`, a `ready`
|
|
119
139
|
* result may be one the lazy viewer would refuse, so check `complete` first.
|
|
140
|
+
*
|
|
141
|
+
* `payloads` (index format 2): what the invocation was handed (`entry`) and
|
|
142
|
+
* handed back (`exit`), present exactly when that payload moved out of the
|
|
143
|
+
* base row (whose event then carries `payloadWith: 'invocation'`). A
|
|
144
|
+
* `'same'` payload is the result's own object, shared; its bytes are measured,
|
|
145
|
+
* and differ from the index's `restoredBytes` only on a part that does not
|
|
146
|
+
* match its index (`part-changed`). Absent for a format-1 or whole
|
|
147
|
+
* recording, whose payloads are in the base row.
|
|
120
148
|
*/
|
|
121
149
|
readInvocation(key: string, options?: SavedRecordingReadOptions): Promise<{
|
|
122
150
|
readonly status: 'ready';
|
|
123
151
|
readonly invocation: SavedInvocation;
|
|
124
152
|
readonly result: unknown;
|
|
153
|
+
readonly payloads?: SavedInvocationPayloads;
|
|
125
154
|
} | SavedRecordingPartUnavailable>;
|
|
126
155
|
/**
|
|
127
156
|
* Whether every stored part is still there as the index names it: a `head`
|
|
@@ -136,10 +165,15 @@ export interface SavedRecording {
|
|
|
136
165
|
readonly status: 'ready';
|
|
137
166
|
} | SavedRecordingPartUnavailable>;
|
|
138
167
|
/**
|
|
139
|
-
* The whole recording, with every result
|
|
140
|
-
* any part is. It deep-equals the recording that
|
|
141
|
-
* byte-equal to it: `subflowResults` comes last in the
|
|
142
|
-
* in part order,
|
|
168
|
+
* The whole recording, with every result, alias and moved sub-flow payload
|
|
169
|
+
* restored; refused whole if any part is. It deep-equals the recording that
|
|
170
|
+
* was saved but is not byte-equal to it: `subflowResults` comes last in the
|
|
171
|
+
* snapshot, its keys are in part order, a proven alias shares its key's
|
|
172
|
+
* result object, and so does a `'same'` payload. The payloads restored from
|
|
173
|
+
* results are measured and charged against `maxBytes` as they are restored
|
|
174
|
+
* (`too-large` the moment it is spent); the index's own figure for them only
|
|
175
|
+
* decides an early refusal, and a figure that differs from what was measured
|
|
176
|
+
* is `part-changed`.
|
|
143
177
|
*/
|
|
144
178
|
readWhole(options?: SavedRecordingWholeOptions): Promise<{
|
|
145
179
|
readonly status: 'ready';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/open.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/open.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AASH,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,6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9C,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;IACpC,oFAAoF;IACpF,QAAQ,CACN,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CACR;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;KAAE,GAAG,6BAA6B,CAC5F,CAAC;IACF;;;;;;;;;;;;;OAaG;IACH,cAAc,CACZ,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CACN;QACE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,QAAQ,CAAC,UAAU,EAAE,eAAe,CAAC;QACrC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QACzB,QAAQ,CAAC,QAAQ,CAAC,EAAE,uBAAuB,CAAC;KAC7C,GACD,6BAA6B,CAChC,CAAC;IACF;;;;;;;;OAQG;IACH,UAAU,CACR,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,6BAA6B,CAAC,CAAC;IACzE;;;;;;;;;;OAUG;IACH,SAAS,CACP,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CACR;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;KAAE,GAAG,6BAA6B,CAC5F,CAAC;CACH;AAcD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,kBAAkB,CACtC,SAAS,EAAE,uBAAuB,EAClC,GAAG,EAAE,WAAW,EAChB,OAAO,GAAE,yBAA8B,GACtC,OAAO,CAAC,cAAc,GAAG,yBAAyB,CAAC,CA8CrD"}
|
|
@@ -4,8 +4,10 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Role: Lens. The one place a part's bytes become values: the size cap
|
|
6
6
|
* before any store call, the source's metadata and digest checks,
|
|
7
|
-
* bounded unpacking, then the payload's own fields — its format
|
|
8
|
-
*
|
|
7
|
+
* bounded unpacking, then the payload's own fields — its format (the
|
|
8
|
+
* one the index's format names: a v2 index v2 parts, a v1 index v1
|
|
9
|
+
* parts), its run, its position and its exact key set, and in format 2
|
|
10
|
+
* its stored sub-flow payloads, exactly the ones the index places there.
|
|
9
11
|
* Reads: the part source it is handed.
|
|
10
12
|
* Emits: N/A.
|
|
11
13
|
*/
|
|
@@ -18,12 +20,32 @@ export interface SavedRecordingPartUnavailable {
|
|
|
18
20
|
readonly reason: 'not-recorded' | 'part-missing' | 'part-changed' | 'too-large';
|
|
19
21
|
}
|
|
20
22
|
type Unavailable = SavedRecordingPartUnavailable;
|
|
23
|
+
/** One invocation's stored payloads (format 2), each present exactly when the index places it in the part. */
|
|
24
|
+
export interface StoredPayloads {
|
|
25
|
+
readonly entry?: unknown;
|
|
26
|
+
readonly exit?: unknown;
|
|
27
|
+
}
|
|
21
28
|
/** One invocation part's contents, keyed, and the plain JSON bytes they took. */
|
|
22
29
|
export interface PartContents {
|
|
23
30
|
readonly results: ReadonlyMap<string, unknown>;
|
|
24
31
|
readonly aliases: ReadonlyMap<string, unknown>;
|
|
32
|
+
/** Format 2: stored payloads by execution key (empty for format 1). */
|
|
33
|
+
readonly payloads: ReadonlyMap<string, StoredPayloads>;
|
|
25
34
|
readonly plainBytes: number;
|
|
26
35
|
}
|
|
36
|
+
/** One payload as a read serves it: its value, or why it has none. */
|
|
37
|
+
export type SavedPayloadSlot = {
|
|
38
|
+
readonly status: 'ready';
|
|
39
|
+
readonly value: unknown;
|
|
40
|
+
} | {
|
|
41
|
+
readonly status: 'unavailable';
|
|
42
|
+
readonly reason: SavedRecordingPartUnavailable['reason'];
|
|
43
|
+
};
|
|
44
|
+
/** An invocation's moved payloads, as a read serves them (format 2). */
|
|
45
|
+
export interface SavedInvocationPayloads {
|
|
46
|
+
readonly entry?: SavedPayloadSlot;
|
|
47
|
+
readonly exit?: SavedPayloadSlot;
|
|
48
|
+
}
|
|
27
49
|
/** Reads the parts of one admitted index through one source. */
|
|
28
50
|
export declare function partReader(index: RecordingIndex, source: PartSource, caps: {
|
|
29
51
|
readonly root: number;
|
|
@@ -34,6 +56,7 @@ export declare function partReader(index: RecordingIndex, source: PartSource, ca
|
|
|
34
56
|
readonly plainBytes: number;
|
|
35
57
|
} | Unavailable>;
|
|
36
58
|
invocations: (part: number, signal: AbortSignal | undefined, budget?: number) => Promise<PartContents | Unavailable>;
|
|
59
|
+
payloadsOf: (key: string, contents: PartContents) => SavedInvocationPayloads | Unavailable | undefined;
|
|
37
60
|
whole: (signal: AbortSignal | undefined, maxBytes: number) => Promise<{
|
|
38
61
|
readonly status: 'ready';
|
|
39
62
|
readonly recording: Recording;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partReader.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/partReader.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"partReader.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/partReader.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMjD,OAAO,EAOL,KAAK,cAAc,EAEpB,MAAM,aAAa,CAAC;AAQrB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,8DAA8D;AAC9D,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,cAAc,GAAG,cAAc,GAAG,cAAc,GAAG,WAAW,CAAC;CACjF;AAED,KAAK,WAAW,GAAG,6BAA6B,CAAC;AAMjD,8GAA8G;AAC9G,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,OA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G,WAAW,GAAG,SAAS;oBAuC1C,WAAW,GAAG,SAAS,YACrB,MAAM,KACf,QAAQ;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAA;KAAE,GAAG,WAAW,CAAC;oBAkG3E,WAAW,GAAG,SAAS,KAC9B,QAAQ;QAAE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAA;KAAE,GAAG,WAAW,CAAC;EAWvD"}
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
* • A path alias whose JSON text equals one stored result's text is stored
|
|
21
21
|
* only as `{ name, key }`: byte equality is the proof, so nothing the
|
|
22
22
|
* whole recording held is lost.
|
|
23
|
+
* • Format 2 (what the writer writes): a sub-flow invocation's entry and
|
|
24
|
+
* exit payloads leave the base row for the invocation's part, on proof
|
|
25
|
+
* only (`subflowPayloads.ts`). A stored payload is grouped WITH its result: the
|
|
26
|
+
* two are one unit for the target, never split across parts. A reader
|
|
27
|
+
* of a whole recording cuts format 1 (`subflowPayloads: 'in-row'`), so
|
|
28
|
+
* every read of a whole recording is what it was before format 2.
|
|
23
29
|
*
|
|
24
30
|
* ── Determinism ─────────────────────────────────────────────────────────────
|
|
25
31
|
* Every part's text is a function of the recording, the run id and `packed`
|
|
@@ -50,6 +56,13 @@ export interface SplitRecordingOptions {
|
|
|
50
56
|
readonly packed?: boolean;
|
|
51
57
|
/** The part size target. Default {@link RECORDING_PART_TARGET_BYTES}. */
|
|
52
58
|
readonly targetBytes?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Where sub-flow boundary payloads go. `'with-invocation'` (the default, and
|
|
61
|
+
* all the writer writes) cuts format 2; `'in-row'` cuts format 1, every
|
|
62
|
+
* payload in the base row: what a reader of a WHOLE recording uses, so its
|
|
63
|
+
* reads stay what they were.
|
|
64
|
+
*/
|
|
65
|
+
readonly subflowPayloads?: 'with-invocation' | 'in-row';
|
|
53
66
|
}
|
|
54
67
|
/**
|
|
55
68
|
* Cut a live recording (`recordRun` · `toRecording()`), through the wire rule
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/split.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"split.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/split.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAKH,OAAO,EAWL,KAAK,UAAU,EAKhB,MAAM,aAAa,CAAC;AAMrB,gCAAgC;AAChC,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,qEAAqE;IACrE,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,wCAAwC;IACxC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,0FAA0F;AAC1F,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAC;CAC5B;AAED,kBAAkB;AAClB,MAAM,WAAW,qBAAqB;IACpC,iFAAiF;IACjF,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,oFAAoF;IACpF,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,iBAAiB,GAAG,QAAQ,CAAC;CACzD;AAgCD;;;;;GAKG;AACH,wBAAsB,cAAc,CAClC,SAAS,EAAE,OAAO,EAClB,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CAczB;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,OAAO,EACb,OAAO,GAAE,qBAA0B,GAClC,OAAO,CAAC,cAAc,CAAC,CAqOzB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,UAAU,EACjB,IAAI,EAAE;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAA;CAAE,GACjE,MAAM,CAmER"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* recordingParts/subflowPayloads — what a sub-flow invocation was handed and what it
|
|
3
|
+
* handed back belong to that invocation's part, not to the base part.
|
|
4
|
+
*
|
|
5
|
+
* Role: Codec. Pure. `cutPayloads` decides, at the cut, which `payload` of a
|
|
6
|
+
* `subflow.entry` / `subflow.exit` boundary event leaves the base row
|
|
7
|
+
* and how it is kept; `restorePayloads` puts every one back for a whole
|
|
8
|
+
* read; `resultValueFor` is the one place a `'same'` payload is found
|
|
9
|
+
* inside its result.
|
|
10
|
+
* Reads: its arguments (plain JSON data).
|
|
11
|
+
* Emits: N/A.
|
|
12
|
+
*
|
|
13
|
+
* ── The rule: a payload moves only on proof ─────────────────────────────────
|
|
14
|
+
* An event's `payload` moves only when ALL hold:
|
|
15
|
+
* • its row is a BoundaryEvents row in full mode (`name: 'BoundaryEvents'`,
|
|
16
|
+
* `meta.mode: 'full'`) and no event of that row already holds the mark key;
|
|
17
|
+
* • the BoundaryEvents rows hold exactly ONE `subflow.entry` and at most ONE
|
|
18
|
+
* `subflow.exit` with that `runtimeStageId`, all with the index's
|
|
19
|
+
* `subflowId` for it — one recorder can be shared by a second executor,
|
|
20
|
+
* whose own counter writes the same id, so an id alone does not name the
|
|
21
|
+
* invocation; with that rule restore is keyed by (id, type);
|
|
22
|
+
* • `payload` is the event's last key (`eventBuilders.ts · buildSubflowEvent`
|
|
23
|
+
* spreads it last; the cut proves it per event);
|
|
24
|
+
* • the invocation has a part (a paused mount has none: `part: null`, and
|
|
25
|
+
* such a recording is `complete: false`, which a host refuses whole).
|
|
26
|
+
* Anything else stays whole in the base and is counted, by why.
|
|
27
|
+
*
|
|
28
|
+
* ── How a moved payload is kept ─────────────────────────────────────────────
|
|
29
|
+
* • `'same'`: equal JSON text to the result's own value (entry:
|
|
30
|
+
* `treeContext.history[0].overwrite`, exit: `treeContext.globalContext`),
|
|
31
|
+
* the alias law used again. Nothing is stored; a whole read restores the
|
|
32
|
+
* result's own object, shared, as a proven alias is.
|
|
33
|
+
* • `'stored'`: the texts differ (a policy that selects a seeded key spells
|
|
34
|
+
* the placeholder differently on the two sides; a nested name rule; an
|
|
35
|
+
* empty seed; a resumed mount). The payload is stored in the invocation's
|
|
36
|
+
* part BESIDE its result, never inside it: the alias proof compares
|
|
37
|
+
* result text.
|
|
38
|
+
*
|
|
39
|
+
* ── How the base row says so ────────────────────────────────────────────────
|
|
40
|
+
* A moved event loses `payload` and gains `payloadWith: 'invocation'` as its
|
|
41
|
+
* last key; a row that lost one gains `meta.subflowPayloads:
|
|
42
|
+
* 'with-invocation'` (appended; `meta.mode` stays `'full'`), and the index
|
|
43
|
+
* lists the row's position (`subflowPayloads.rows`). Restoring touches only
|
|
44
|
+
* the listed rows: it drops both and appends `payload`, so the text is exactly
|
|
45
|
+
* the text before the cut. A row that arrived holding the fact key or the mark
|
|
46
|
+
* key is never marked, never listed and never touched: it reads back whole.
|
|
47
|
+
*/
|
|
48
|
+
import { type IndexPayloadPlace, type IndexSubflowPayloads } from './format.js';
|
|
49
|
+
import type { WalkedInvocation } from './invocations.js';
|
|
50
|
+
/** The row `meta` key a base part's BoundaryEvents row gains when one of its payloads moved. */
|
|
51
|
+
export declare const SUBFLOW_PAYLOADS_META_KEY = "subflowPayloads";
|
|
52
|
+
/** Its one value. */
|
|
53
|
+
export declare const SUBFLOW_PAYLOADS_WITH_INVOCATION = "with-invocation";
|
|
54
|
+
/** The key a moved event carries in place of `payload`, as its last key. */
|
|
55
|
+
export declare const PAYLOAD_MARK_KEY = "payloadWith";
|
|
56
|
+
/** Its one value. */
|
|
57
|
+
export declare const PAYLOAD_MARK = "invocation";
|
|
58
|
+
/** Which boundary payload: `subflow.entry`'s or `subflow.exit`'s. */
|
|
59
|
+
export type PayloadKind = 'entry' | 'exit';
|
|
60
|
+
/** One payload that left the base row. */
|
|
61
|
+
export interface MovedPayload {
|
|
62
|
+
readonly place: IndexPayloadPlace;
|
|
63
|
+
readonly value: unknown;
|
|
64
|
+
/** Compact JSON text of the payload (stored payloads are written from it). */
|
|
65
|
+
readonly text: string;
|
|
66
|
+
readonly bytes: number;
|
|
67
|
+
}
|
|
68
|
+
/** An invocation's moved payloads. */
|
|
69
|
+
export interface MovedPayloads {
|
|
70
|
+
entry?: MovedPayload;
|
|
71
|
+
exit?: MovedPayload;
|
|
72
|
+
}
|
|
73
|
+
/** The cut's verdict over one snapshot. */
|
|
74
|
+
export interface PayloadCut {
|
|
75
|
+
/** `snapshot.recorders` with the moved payloads replaced by marks; absent when nothing moved. */
|
|
76
|
+
readonly recorders?: readonly unknown[];
|
|
77
|
+
/** Per invocation key, the payloads that moved. */
|
|
78
|
+
readonly moved: ReadonlyMap<string, MovedPayloads>;
|
|
79
|
+
readonly counts: IndexSubflowPayloads;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* The result's own value a payload of `kind` is compared with and, when
|
|
83
|
+
* `'same'`, restored from: `treeContext.history[0].overwrite` for an entry,
|
|
84
|
+
* `treeContext.globalContext` for an exit. `undefined` when the result holds none.
|
|
85
|
+
*/
|
|
86
|
+
export declare function resultValueFor(result: unknown, kind: PayloadKind): unknown;
|
|
87
|
+
/** Why one sub-flow payload stays in the base row (the index's `kept` reasons), or that it may move. */
|
|
88
|
+
export type PayloadVerdict = 'move' | keyof IndexSubflowPayloads['kept'];
|
|
89
|
+
/**
|
|
90
|
+
* Decide which boundary payloads leave the base row (see the file header for
|
|
91
|
+
* the rule). Pure: the snapshot is not changed; the rows that change are
|
|
92
|
+
* copied, every other value is shared.
|
|
93
|
+
*/
|
|
94
|
+
export declare function cutPayloads(snapshot: unknown, invocations: readonly WalkedInvocation[]): PayloadCut;
|
|
95
|
+
/** What the rule says about a (restored) snapshot: the payloads that may move, and why the rest stay. */
|
|
96
|
+
export interface PayloadClaims {
|
|
97
|
+
/** `kind:id` of every payload the rule moves. */
|
|
98
|
+
readonly moved: ReadonlySet<string>;
|
|
99
|
+
readonly kept: IndexSubflowPayloads['kept'];
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The rule run again over a snapshot a whole read restored, with the index's
|
|
103
|
+
* own invocations as owners: what the index must have said about moves and
|
|
104
|
+
* kept payloads. No value is serialised; `same` vs `stored` and the restored
|
|
105
|
+
* bytes are checked by measuring as they are restored.
|
|
106
|
+
*/
|
|
107
|
+
export declare function payloadClaims(snapshot: unknown, owners: ReadonlyMap<string, string>): PayloadClaims;
|
|
108
|
+
/** A moved payload's value, or `undefined` when the index or its part has none. */
|
|
109
|
+
export type PayloadResolver = (key: string, kind: PayloadKind) => {
|
|
110
|
+
readonly value: unknown;
|
|
111
|
+
} | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Put every moved payload back into a v2 base recording, IN PLACE (the reader
|
|
114
|
+
* owns the freshly parsed base). `rows` is the index's list of the rows the cut
|
|
115
|
+
* marked, and `expected` its `same + stored`. Only those rows are touched:
|
|
116
|
+
* any other row, even one whose `meta` holds a `subflowPayloads` key or whose
|
|
117
|
+
* events hold a `payloadWith` key, is the recording's own data and stays as
|
|
118
|
+
* stored. Returns `false`, having proven nothing, when the base and the index
|
|
119
|
+
* disagree: a listed row the cut could not have marked (not a BoundaryEvents
|
|
120
|
+
* row in full mode, its fact missing or not last, no mark in it), a mark that
|
|
121
|
+
* resolves to nothing, a mark twice, a mark not in the last place or beside a
|
|
122
|
+
* `payload`, or a count that differs. The caller answers that `part-changed`.
|
|
123
|
+
*/
|
|
124
|
+
export declare function restorePayloads(recording: Record<string, unknown>, resolve: PayloadResolver, expected: number, rows: readonly number[]): boolean;
|
|
125
|
+
//# sourceMappingURL=subflowPayloads.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subflowPayloads.d.ts","sourceRoot":"","sources":["../../../../../src/recorders/observability/recordingParts/subflowPayloads.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAIH,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,gGAAgG;AAChG,eAAO,MAAM,yBAAyB,oBAAoB,CAAC;AAC3D,qBAAqB;AACrB,eAAO,MAAM,gCAAgC,oBAAoB,CAAC;AAClE,4EAA4E;AAC5E,eAAO,MAAM,gBAAgB,gBAAgB,CAAC;AAC9C,qBAAqB;AACrB,eAAO,MAAM,YAAY,eAAe,CAAC;AAIzC,qEAAqE;AACrE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAE3C,0CAA0C;AAC1C,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,iBAAiB,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,8EAA8E;IAC9E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,sCAAsC;AACtC,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB,iGAAiG;IACjG,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;IACxC,mDAAmD;IACnD,QAAQ,CAAC,KAAK,EAAE,WAAW,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