@relkit/langchain 0.0.0-stage → 0.7.11
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/LICENSE +21 -0
- package/README.md +48 -2
- package/dist/client-contract-metadata.d.ts +31 -0
- package/dist/client-contract-metadata.d.ts.map +1 -0
- package/dist/client-contract-metadata.js +129 -0
- package/dist/client-contract-metadata.js.map +1 -0
- package/dist/client-contract-metadata.types.d.ts +59 -0
- package/dist/client-contract-metadata.types.d.ts.map +1 -0
- package/dist/client-contract-metadata.types.js +3 -0
- package/dist/client-contract-metadata.types.js.map +1 -0
- package/dist/client-contract-schema.d.ts +66 -0
- package/dist/client-contract-schema.d.ts.map +1 -0
- package/dist/client-contract-schema.js +153 -0
- package/dist/client-contract-schema.js.map +1 -0
- package/dist/continuation-validation.d.ts +9 -0
- package/dist/continuation-validation.d.ts.map +1 -0
- package/dist/continuation-validation.js +9 -0
- package/dist/continuation-validation.js.map +1 -0
- package/dist/deepagent-bucket-backend.d.ts +33 -0
- package/dist/deepagent-bucket-backend.d.ts.map +1 -0
- package/dist/deepagent-bucket-backend.js +47 -0
- package/dist/deepagent-bucket-backend.js.map +1 -0
- package/dist/deepagent-bucket-backend.types.d.ts +6 -0
- package/dist/deepagent-bucket-backend.types.d.ts.map +1 -0
- package/dist/deepagent-bucket-backend.types.js +2 -0
- package/dist/deepagent-bucket-backend.types.js.map +1 -0
- package/dist/deepagent-bucket-client.types.d.ts +25 -0
- package/dist/deepagent-bucket-client.types.d.ts.map +1 -0
- package/dist/deepagent-bucket-client.types.js +3 -0
- package/dist/deepagent-bucket-client.types.js.map +1 -0
- package/dist/deepagent-bucket-delete.d.ts +28 -0
- package/dist/deepagent-bucket-delete.d.ts.map +1 -0
- package/dist/deepagent-bucket-delete.js +64 -0
- package/dist/deepagent-bucket-delete.js.map +1 -0
- package/dist/deepagent-bucket-error.d.ts +17 -0
- package/dist/deepagent-bucket-error.d.ts.map +1 -0
- package/dist/deepagent-bucket-error.js +17 -0
- package/dist/deepagent-bucket-error.js.map +1 -0
- package/dist/deepagent-bucket-file-data.d.ts +40 -0
- package/dist/deepagent-bucket-file-data.d.ts.map +1 -0
- package/dist/deepagent-bucket-file-data.js +115 -0
- package/dist/deepagent-bucket-file-data.js.map +1 -0
- package/dist/deepagent-bucket-file-index.d.ts +34 -0
- package/dist/deepagent-bucket-file-index.d.ts.map +1 -0
- package/dist/deepagent-bucket-file-index.js +82 -0
- package/dist/deepagent-bucket-file-index.js.map +1 -0
- package/dist/deepagent-bucket-files.d.ts +5 -0
- package/dist/deepagent-bucket-files.d.ts.map +1 -0
- package/dist/deepagent-bucket-files.js +4 -0
- package/dist/deepagent-bucket-files.js.map +1 -0
- package/dist/deepagent-bucket-files.types.d.ts +8 -0
- package/dist/deepagent-bucket-files.types.d.ts.map +1 -0
- package/dist/deepagent-bucket-files.types.js +3 -0
- package/dist/deepagent-bucket-files.types.js.map +1 -0
- package/dist/deepagent-bucket-format.d.ts +59 -0
- package/dist/deepagent-bucket-format.d.ts.map +1 -0
- package/dist/deepagent-bucket-format.js +72 -0
- package/dist/deepagent-bucket-format.js.map +1 -0
- package/dist/deepagent-bucket-glob.d.ts +26 -0
- package/dist/deepagent-bucket-glob.d.ts.map +1 -0
- package/dist/deepagent-bucket-glob.js +66 -0
- package/dist/deepagent-bucket-glob.js.map +1 -0
- package/dist/deepagent-bucket-grep.d.ts +32 -0
- package/dist/deepagent-bucket-grep.d.ts.map +1 -0
- package/dist/deepagent-bucket-grep.js +73 -0
- package/dist/deepagent-bucket-grep.js.map +1 -0
- package/dist/deepagent-bucket-path.d.ts +67 -0
- package/dist/deepagent-bucket-path.d.ts.map +1 -0
- package/dist/deepagent-bucket-path.js +121 -0
- package/dist/deepagent-bucket-path.js.map +1 -0
- package/dist/deepagent-bucket-read.d.ts +65 -0
- package/dist/deepagent-bucket-read.d.ts.map +1 -0
- package/dist/deepagent-bucket-read.js +77 -0
- package/dist/deepagent-bucket-read.js.map +1 -0
- package/dist/deepagent-bucket-scope.d.ts +43 -0
- package/dist/deepagent-bucket-scope.d.ts.map +1 -0
- package/dist/deepagent-bucket-scope.js +40 -0
- package/dist/deepagent-bucket-scope.js.map +1 -0
- package/dist/deepagent-bucket-search.d.ts +22 -0
- package/dist/deepagent-bucket-search.d.ts.map +1 -0
- package/dist/deepagent-bucket-search.js +60 -0
- package/dist/deepagent-bucket-search.js.map +1 -0
- package/dist/deepagent-bucket-service.d.ts +17 -0
- package/dist/deepagent-bucket-service.d.ts.map +1 -0
- package/dist/deepagent-bucket-service.js +16 -0
- package/dist/deepagent-bucket-service.js.map +1 -0
- package/dist/deepagent-bucket-transfer.d.ts +52 -0
- package/dist/deepagent-bucket-transfer.d.ts.map +1 -0
- package/dist/deepagent-bucket-transfer.js +73 -0
- package/dist/deepagent-bucket-transfer.js.map +1 -0
- package/dist/deepagent-bucket-write.d.ts +55 -0
- package/dist/deepagent-bucket-write.d.ts.map +1 -0
- package/dist/deepagent-bucket-write.js +88 -0
- package/dist/deepagent-bucket-write.js.map +1 -0
- package/dist/define-agent-build.d.ts +12 -0
- package/dist/define-agent-build.d.ts.map +1 -0
- package/dist/define-agent-build.js +60 -0
- package/dist/define-agent-build.js.map +1 -0
- package/dist/define-agent-deep.d.ts +30 -0
- package/dist/define-agent-deep.d.ts.map +1 -0
- package/dist/define-agent-deep.js +125 -0
- package/dist/define-agent-deep.js.map +1 -0
- package/dist/define-agent-deep.types.d.ts +23 -0
- package/dist/define-agent-deep.types.d.ts.map +1 -0
- package/dist/define-agent-deep.types.js +3 -0
- package/dist/define-agent-deep.types.js.map +1 -0
- package/dist/define-agent-native-middleware.d.ts +34 -0
- package/dist/define-agent-native-middleware.d.ts.map +1 -0
- package/dist/define-agent-native-middleware.js +83 -0
- package/dist/define-agent-native-middleware.js.map +1 -0
- package/dist/define-agent-native-model.d.ts +16 -0
- package/dist/define-agent-native-model.d.ts.map +1 -0
- package/dist/define-agent-native-model.js +23 -0
- package/dist/define-agent-native-model.js.map +1 -0
- package/dist/define-agent-native-tools.d.ts +30 -0
- package/dist/define-agent-native-tools.d.ts.map +1 -0
- package/dist/define-agent-native-tools.js +72 -0
- package/dist/define-agent-native-tools.js.map +1 -0
- package/dist/define-agent-native.d.ts +6 -0
- package/dist/define-agent-native.d.ts.map +1 -0
- package/dist/define-agent-native.js +5 -0
- package/dist/define-agent-native.js.map +1 -0
- package/dist/define-agent-native.types.d.ts +36 -0
- package/dist/define-agent-native.types.d.ts.map +1 -0
- package/dist/define-agent-native.types.js +3 -0
- package/dist/define-agent-native.types.js.map +1 -0
- package/dist/define-agent-validation.d.ts +45 -0
- package/dist/define-agent-validation.d.ts.map +1 -0
- package/dist/define-agent-validation.js +92 -0
- package/dist/define-agent-validation.js.map +1 -0
- package/dist/define-agent.d.ts +41 -0
- package/dist/define-agent.d.ts.map +1 -0
- package/dist/define-agent.js +59 -0
- package/dist/define-agent.js.map +1 -0
- package/dist/define-agent.types.d.ts +54 -0
- package/dist/define-agent.types.d.ts.map +1 -0
- package/dist/define-agent.types.js +3 -0
- package/dist/define-agent.types.js.map +1 -0
- package/dist/define-graph-build.d.ts +12 -0
- package/dist/define-graph-build.d.ts.map +1 -0
- package/dist/define-graph-build.js +86 -0
- package/dist/define-graph-build.js.map +1 -0
- package/dist/define-graph-error.d.ts +17 -0
- package/dist/define-graph-error.d.ts.map +1 -0
- package/dist/define-graph-error.js +17 -0
- package/dist/define-graph-error.js.map +1 -0
- package/dist/define-graph-node.d.ts +42 -0
- package/dist/define-graph-node.d.ts.map +1 -0
- package/dist/define-graph-node.js +97 -0
- package/dist/define-graph-node.js.map +1 -0
- package/dist/define-graph-node.types.d.ts +38 -0
- package/dist/define-graph-node.types.d.ts.map +1 -0
- package/dist/define-graph-node.types.js +3 -0
- package/dist/define-graph-node.types.js.map +1 -0
- package/dist/define-graph.d.ts +44 -0
- package/dist/define-graph.d.ts.map +1 -0
- package/dist/define-graph.js +72 -0
- package/dist/define-graph.js.map +1 -0
- package/dist/define-graph.types.d.ts +69 -0
- package/dist/define-graph.types.d.ts.map +1 -0
- package/dist/define-graph.types.js +3 -0
- package/dist/define-graph.types.js.map +1 -0
- package/dist/define-persistence-guards.d.ts +32 -0
- package/dist/define-persistence-guards.d.ts.map +1 -0
- package/dist/define-persistence-guards.js +55 -0
- package/dist/define-persistence-guards.js.map +1 -0
- package/dist/define-persistence.d.ts +33 -0
- package/dist/define-persistence.d.ts.map +1 -0
- package/dist/define-persistence.js +112 -0
- package/dist/define-persistence.js.map +1 -0
- package/dist/define-persistence.types.d.ts +30 -0
- package/dist/define-persistence.types.d.ts.map +1 -0
- package/dist/define-persistence.types.js +3 -0
- package/dist/define-persistence.types.js.map +1 -0
- package/dist/graph-compile-error.d.ts +17 -0
- package/dist/graph-compile-error.d.ts.map +1 -0
- package/dist/graph-compile-error.js +17 -0
- package/dist/graph-compile-error.js.map +1 -0
- package/dist/graph-compile.d.ts +32 -0
- package/dist/graph-compile.d.ts.map +1 -0
- package/dist/graph-compile.js +94 -0
- package/dist/graph-compile.js.map +1 -0
- package/dist/graph-continuation-error.d.ts +17 -0
- package/dist/graph-continuation-error.d.ts.map +1 -0
- package/dist/graph-continuation-error.js +17 -0
- package/dist/graph-continuation-error.js.map +1 -0
- package/dist/graph-continuation-validation.d.ts +22 -0
- package/dist/graph-continuation-validation.d.ts.map +1 -0
- package/dist/graph-continuation-validation.js +67 -0
- package/dist/graph-continuation-validation.js.map +1 -0
- package/dist/graph-continuation-waiting.d.ts +23 -0
- package/dist/graph-continuation-waiting.d.ts.map +1 -0
- package/dist/graph-continuation-waiting.js +53 -0
- package/dist/graph-continuation-waiting.js.map +1 -0
- package/dist/graph-continuation.d.ts +43 -0
- package/dist/graph-continuation.d.ts.map +1 -0
- package/dist/graph-continuation.js +82 -0
- package/dist/graph-continuation.js.map +1 -0
- package/dist/graph-continuation.types.d.ts +11 -0
- package/dist/graph-continuation.types.d.ts.map +1 -0
- package/dist/graph-continuation.types.js +3 -0
- package/dist/graph-continuation.types.js.map +1 -0
- package/dist/graph-definition.d.ts +36 -0
- package/dist/graph-definition.d.ts.map +1 -0
- package/dist/graph-definition.js +90 -0
- package/dist/graph-definition.js.map +1 -0
- package/dist/graph-edge-destinations.d.ts +42 -0
- package/dist/graph-edge-destinations.d.ts.map +1 -0
- package/dist/graph-edge-destinations.js +100 -0
- package/dist/graph-edge-destinations.js.map +1 -0
- package/dist/graph-edge-mutations.d.ts +19 -0
- package/dist/graph-edge-mutations.d.ts.map +1 -0
- package/dist/graph-edge-mutations.js +62 -0
- package/dist/graph-edge-mutations.js.map +1 -0
- package/dist/graph-edge-mutations.types.d.ts +9 -0
- package/dist/graph-edge-mutations.types.d.ts.map +1 -0
- package/dist/graph-edge-mutations.types.js +2 -0
- package/dist/graph-edge-mutations.types.js.map +1 -0
- package/dist/graph-edges.d.ts +24 -0
- package/dist/graph-edges.d.ts.map +1 -0
- package/dist/graph-edges.js +37 -0
- package/dist/graph-edges.js.map +1 -0
- package/dist/graph-edges.types.d.ts +47 -0
- package/dist/graph-edges.types.d.ts.map +1 -0
- package/dist/graph-edges.types.js +3 -0
- package/dist/graph-edges.types.js.map +1 -0
- package/dist/graph-execution-symbol.d.ts +3 -0
- package/dist/graph-execution-symbol.d.ts.map +1 -0
- package/dist/graph-execution-symbol.js +3 -0
- package/dist/graph-execution-symbol.js.map +1 -0
- package/dist/graph-interruption.d.ts +84 -0
- package/dist/graph-interruption.d.ts.map +1 -0
- package/dist/graph-interruption.js +119 -0
- package/dist/graph-interruption.js.map +1 -0
- package/dist/graph-interruption.types.d.ts +16 -0
- package/dist/graph-interruption.types.d.ts.map +1 -0
- package/dist/graph-interruption.types.js +3 -0
- package/dist/graph-interruption.types.js.map +1 -0
- package/dist/graph-node-schema-validation.d.ts +9 -0
- package/dist/graph-node-schema-validation.d.ts.map +1 -0
- package/dist/graph-node-schema-validation.js +16 -0
- package/dist/graph-node-schema-validation.js.map +1 -0
- package/dist/graph-node-symbol.d.ts +3 -0
- package/dist/graph-node-symbol.d.ts.map +1 -0
- package/dist/graph-node-symbol.js +3 -0
- package/dist/graph-node-symbol.js.map +1 -0
- package/dist/graph-node-validation-error.d.ts +17 -0
- package/dist/graph-node-validation-error.d.ts.map +1 -0
- package/dist/graph-node-validation-error.js +17 -0
- package/dist/graph-node-validation-error.js.map +1 -0
- package/dist/graph-node-validation-value.d.ts +64 -0
- package/dist/graph-node-validation-value.d.ts.map +1 -0
- package/dist/graph-node-validation-value.js +117 -0
- package/dist/graph-node-validation-value.js.map +1 -0
- package/dist/graph-node-validation.d.ts +65 -0
- package/dist/graph-node-validation.d.ts.map +1 -0
- package/dist/graph-node-validation.js +113 -0
- package/dist/graph-node-validation.js.map +1 -0
- package/dist/graph-persistence-release.d.ts +16 -0
- package/dist/graph-persistence-release.d.ts.map +1 -0
- package/dist/graph-persistence-release.js +43 -0
- package/dist/graph-persistence-release.js.map +1 -0
- package/dist/graph-persistence.d.ts +39 -0
- package/dist/graph-persistence.d.ts.map +1 -0
- package/dist/graph-persistence.js +111 -0
- package/dist/graph-persistence.js.map +1 -0
- package/dist/graph-persistence.types.d.ts +21 -0
- package/dist/graph-persistence.types.d.ts.map +1 -0
- package/dist/graph-persistence.types.js +3 -0
- package/dist/graph-persistence.types.js.map +1 -0
- package/dist/graph-runtime-error.d.ts +17 -0
- package/dist/graph-runtime-error.d.ts.map +1 -0
- package/dist/graph-runtime-error.js +17 -0
- package/dist/graph-runtime-error.js.map +1 -0
- package/dist/graph-runtime-execution.d.ts +28 -0
- package/dist/graph-runtime-execution.d.ts.map +1 -0
- package/dist/graph-runtime-execution.js +69 -0
- package/dist/graph-runtime-execution.js.map +1 -0
- package/dist/graph-runtime-identity.d.ts +15 -0
- package/dist/graph-runtime-identity.d.ts.map +1 -0
- package/dist/graph-runtime-identity.js +14 -0
- package/dist/graph-runtime-identity.js.map +1 -0
- package/dist/graph-runtime-identity.types.d.ts +5 -0
- package/dist/graph-runtime-identity.types.d.ts.map +1 -0
- package/dist/graph-runtime-identity.types.js +2 -0
- package/dist/graph-runtime-identity.types.js.map +1 -0
- package/dist/graph-runtime-stream-state.d.ts +8 -0
- package/dist/graph-runtime-stream-state.d.ts.map +1 -0
- package/dist/graph-runtime-stream-state.js +67 -0
- package/dist/graph-runtime-stream-state.js.map +1 -0
- package/dist/graph-runtime-stream.d.ts +16 -0
- package/dist/graph-runtime-stream.d.ts.map +1 -0
- package/dist/graph-runtime-stream.js +49 -0
- package/dist/graph-runtime-stream.js.map +1 -0
- package/dist/graph-runtime-stream.types.d.ts +13 -0
- package/dist/graph-runtime-stream.types.d.ts.map +1 -0
- package/dist/graph-runtime-stream.types.js +2 -0
- package/dist/graph-runtime-stream.types.js.map +1 -0
- package/dist/graph-runtime.d.ts +21 -0
- package/dist/graph-runtime.d.ts.map +1 -0
- package/dist/graph-runtime.js +74 -0
- package/dist/graph-runtime.js.map +1 -0
- package/dist/graph-runtime.types.d.ts +8 -0
- package/dist/graph-runtime.types.d.ts.map +1 -0
- package/dist/graph-runtime.types.js +3 -0
- package/dist/graph-runtime.types.js.map +1 -0
- package/dist/graph-state-schema.d.ts +35 -0
- package/dist/graph-state-schema.d.ts.map +1 -0
- package/dist/graph-state-schema.js +65 -0
- package/dist/graph-state-schema.js.map +1 -0
- package/dist/graph-subgraph-symbol.d.ts +5 -0
- package/dist/graph-subgraph-symbol.d.ts.map +1 -0
- package/dist/graph-subgraph-symbol.js +5 -0
- package/dist/graph-subgraph-symbol.js.map +1 -0
- package/dist/graph-subgraph.d.ts +46 -0
- package/dist/graph-subgraph.d.ts.map +1 -0
- package/dist/graph-subgraph.js +82 -0
- package/dist/graph-subgraph.js.map +1 -0
- package/dist/graph-subgraph.types.d.ts +20 -0
- package/dist/graph-subgraph.types.d.ts.map +1 -0
- package/dist/graph-subgraph.types.js +3 -0
- package/dist/graph-subgraph.types.js.map +1 -0
- package/dist/graph-workflow-error.d.ts +17 -0
- package/dist/graph-workflow-error.d.ts.map +1 -0
- package/dist/graph-workflow-error.js +17 -0
- package/dist/graph-workflow-error.js.map +1 -0
- package/dist/graph-workflow.d.ts +37 -0
- package/dist/graph-workflow.d.ts.map +1 -0
- package/dist/graph-workflow.js +86 -0
- package/dist/graph-workflow.js.map +1 -0
- package/dist/graph-workflow.types.d.ts +41 -0
- package/dist/graph-workflow.types.d.ts.map +1 -0
- package/dist/graph-workflow.types.js +3 -0
- package/dist/graph-workflow.types.js.map +1 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +28 -0
- package/dist/index.js.map +1 -0
- package/dist/native-agent-interruption-error.d.ts +17 -0
- package/dist/native-agent-interruption-error.d.ts.map +1 -0
- package/dist/native-agent-interruption-error.js +17 -0
- package/dist/native-agent-interruption-error.js.map +1 -0
- package/dist/native-agent-interruption-schema.d.ts +66 -0
- package/dist/native-agent-interruption-schema.d.ts.map +1 -0
- package/dist/native-agent-interruption-schema.js +141 -0
- package/dist/native-agent-interruption-schema.js.map +1 -0
- package/dist/native-agent-interruption-schema.types.d.ts +16 -0
- package/dist/native-agent-interruption-schema.types.d.ts.map +1 -0
- package/dist/native-agent-interruption-schema.types.js +3 -0
- package/dist/native-agent-interruption-schema.types.js.map +1 -0
- package/dist/native-agent-interruption-validation.d.ts +19 -0
- package/dist/native-agent-interruption-validation.d.ts.map +1 -0
- package/dist/native-agent-interruption-validation.js +107 -0
- package/dist/native-agent-interruption-validation.js.map +1 -0
- package/dist/native-agent-interruption.d.ts +55 -0
- package/dist/native-agent-interruption.d.ts.map +1 -0
- package/dist/native-agent-interruption.js +85 -0
- package/dist/native-agent-interruption.js.map +1 -0
- package/dist/native-agent-interruption.types.d.ts +5 -0
- package/dist/native-agent-interruption.types.d.ts.map +1 -0
- package/dist/native-agent-interruption.types.js +2 -0
- package/dist/native-agent-interruption.types.js.map +1 -0
- package/dist/persistence-error.d.ts +17 -0
- package/dist/persistence-error.d.ts.map +1 -0
- package/dist/persistence-error.js +17 -0
- package/dist/persistence-error.js.map +1 -0
- package/dist/persistence-symbol.d.ts +3 -0
- package/dist/persistence-symbol.d.ts.map +1 -0
- package/dist/persistence-symbol.js +3 -0
- package/dist/persistence-symbol.js.map +1 -0
- package/dist/runtime-approval-decision.d.ts +13 -0
- package/dist/runtime-approval-decision.d.ts.map +1 -0
- package/dist/runtime-approval-decision.js +21 -0
- package/dist/runtime-approval-decision.js.map +1 -0
- package/dist/runtime-dependencies.d.ts +7 -0
- package/dist/runtime-dependencies.d.ts.map +1 -0
- package/dist/runtime-dependencies.js +10 -0
- package/dist/runtime-dependencies.js.map +1 -0
- package/dist/runtime-effect-error.d.ts +18 -0
- package/dist/runtime-effect-error.d.ts.map +1 -0
- package/dist/runtime-effect-error.js +19 -0
- package/dist/runtime-effect-error.js.map +1 -0
- package/dist/runtime-errors.d.ts +11 -0
- package/dist/runtime-errors.d.ts.map +1 -0
- package/dist/runtime-errors.js +15 -0
- package/dist/runtime-errors.js.map +1 -0
- package/dist/runtime-failure-diagnostics.d.ts +10 -0
- package/dist/runtime-failure-diagnostics.d.ts.map +1 -0
- package/dist/runtime-failure-diagnostics.js +61 -0
- package/dist/runtime-failure-diagnostics.js.map +1 -0
- package/dist/runtime-integration.d.ts +10 -0
- package/dist/runtime-integration.d.ts.map +1 -0
- package/dist/runtime-integration.js +9 -0
- package/dist/runtime-integration.js.map +1 -0
- package/dist/runtime-invoke.d.ts +27 -0
- package/dist/runtime-invoke.d.ts.map +1 -0
- package/dist/runtime-invoke.js +77 -0
- package/dist/runtime-invoke.js.map +1 -0
- package/dist/runtime-loop-context.types.d.ts +22 -0
- package/dist/runtime-loop-context.types.d.ts.map +1 -0
- package/dist/runtime-loop-context.types.js +2 -0
- package/dist/runtime-loop-context.types.js.map +1 -0
- package/dist/runtime-loop-execution.d.ts +4 -0
- package/dist/runtime-loop-execution.d.ts.map +1 -0
- package/dist/runtime-loop-execution.js +61 -0
- package/dist/runtime-loop-execution.js.map +1 -0
- package/dist/runtime-loop-state.d.ts +13 -0
- package/dist/runtime-loop-state.d.ts.map +1 -0
- package/dist/runtime-loop-state.js +57 -0
- package/dist/runtime-loop-state.js.map +1 -0
- package/dist/runtime-loop-telemetry.d.ts +5 -0
- package/dist/runtime-loop-telemetry.d.ts.map +1 -0
- package/dist/runtime-loop-telemetry.js +62 -0
- package/dist/runtime-loop-telemetry.js.map +1 -0
- package/dist/runtime-loop-values.d.ts +52 -0
- package/dist/runtime-loop-values.d.ts.map +1 -0
- package/dist/runtime-loop-values.js +85 -0
- package/dist/runtime-loop-values.js.map +1 -0
- package/dist/runtime-loop.d.ts +36 -0
- package/dist/runtime-loop.d.ts.map +1 -0
- package/dist/runtime-loop.js +45 -0
- package/dist/runtime-loop.js.map +1 -0
- package/dist/runtime-loop.types.d.ts +8 -0
- package/dist/runtime-loop.types.d.ts.map +1 -0
- package/dist/runtime-loop.types.js +3 -0
- package/dist/runtime-loop.types.js.map +1 -0
- package/dist/runtime-model-error.d.ts +17 -0
- package/dist/runtime-model-error.d.ts.map +1 -0
- package/dist/runtime-model-error.js +17 -0
- package/dist/runtime-model-error.js.map +1 -0
- package/dist/runtime-model.d.ts +31 -0
- package/dist/runtime-model.d.ts.map +1 -0
- package/dist/runtime-model.js +126 -0
- package/dist/runtime-model.js.map +1 -0
- package/dist/runtime-model.types.d.ts +22 -0
- package/dist/runtime-model.types.d.ts.map +1 -0
- package/dist/runtime-model.types.js +3 -0
- package/dist/runtime-model.types.js.map +1 -0
- package/dist/runtime-native-agent-build.d.ts +40 -0
- package/dist/runtime-native-agent-build.d.ts.map +1 -0
- package/dist/runtime-native-agent-build.js +77 -0
- package/dist/runtime-native-agent-build.js.map +1 -0
- package/dist/runtime-native-agent.d.ts +30 -0
- package/dist/runtime-native-agent.d.ts.map +1 -0
- package/dist/runtime-native-agent.js +84 -0
- package/dist/runtime-native-agent.js.map +1 -0
- package/dist/runtime-native-agent.types.d.ts +21 -0
- package/dist/runtime-native-agent.types.d.ts.map +1 -0
- package/dist/runtime-native-agent.types.js +3 -0
- package/dist/runtime-native-agent.types.js.map +1 -0
- package/dist/runtime-native-event-tools.d.ts +28 -0
- package/dist/runtime-native-event-tools.d.ts.map +1 -0
- package/dist/runtime-native-event-tools.js +88 -0
- package/dist/runtime-native-event-tools.js.map +1 -0
- package/dist/runtime-native-events-helpers.d.ts +30 -0
- package/dist/runtime-native-events-helpers.d.ts.map +1 -0
- package/dist/runtime-native-events-helpers.js +74 -0
- package/dist/runtime-native-events-helpers.js.map +1 -0
- package/dist/runtime-native-events.d.ts +45 -0
- package/dist/runtime-native-events.d.ts.map +1 -0
- package/dist/runtime-native-events.js +89 -0
- package/dist/runtime-native-events.js.map +1 -0
- package/dist/runtime-native-limits.d.ts +18 -0
- package/dist/runtime-native-limits.d.ts.map +1 -0
- package/dist/runtime-native-limits.js +59 -0
- package/dist/runtime-native-limits.js.map +1 -0
- package/dist/runtime-native-messages.d.ts +24 -0
- package/dist/runtime-native-messages.d.ts.map +1 -0
- package/dist/runtime-native-messages.js +83 -0
- package/dist/runtime-native-messages.js.map +1 -0
- package/dist/runtime-native-messages.types.d.ts +7 -0
- package/dist/runtime-native-messages.types.d.ts.map +1 -0
- package/dist/runtime-native-messages.types.js +2 -0
- package/dist/runtime-native-messages.types.js.map +1 -0
- package/dist/runtime-native-public-state.d.ts +22 -0
- package/dist/runtime-native-public-state.d.ts.map +1 -0
- package/dist/runtime-native-public-state.js +44 -0
- package/dist/runtime-native-public-state.js.map +1 -0
- package/dist/runtime-native-public-tools.d.ts +15 -0
- package/dist/runtime-native-public-tools.d.ts.map +1 -0
- package/dist/runtime-native-public-tools.js +39 -0
- package/dist/runtime-native-public-tools.js.map +1 -0
- package/dist/runtime-native-public.d.ts +28 -0
- package/dist/runtime-native-public.d.ts.map +1 -0
- package/dist/runtime-native-public.js +165 -0
- package/dist/runtime-native-public.js.map +1 -0
- package/dist/runtime-native-public.types.d.ts +5 -0
- package/dist/runtime-native-public.types.d.ts.map +1 -0
- package/dist/runtime-native-public.types.js +3 -0
- package/dist/runtime-native-public.types.js.map +1 -0
- package/dist/runtime-native-response-format.d.ts +15 -0
- package/dist/runtime-native-response-format.d.ts.map +1 -0
- package/dist/runtime-native-response-format.js +46 -0
- package/dist/runtime-native-response-format.js.map +1 -0
- package/dist/runtime-native-subagents.d.ts +47 -0
- package/dist/runtime-native-subagents.d.ts.map +1 -0
- package/dist/runtime-native-subagents.js +50 -0
- package/dist/runtime-native-subagents.js.map +1 -0
- package/dist/runtime-native-subagents.types.d.ts +7 -0
- package/dist/runtime-native-subagents.types.d.ts.map +1 -0
- package/dist/runtime-native-subagents.types.js +2 -0
- package/dist/runtime-native-subagents.types.js.map +1 -0
- package/dist/runtime-native-support.d.ts +67 -0
- package/dist/runtime-native-support.d.ts.map +1 -0
- package/dist/runtime-native-support.js +112 -0
- package/dist/runtime-native-support.js.map +1 -0
- package/dist/runtime-native-support.types.d.ts +9 -0
- package/dist/runtime-native-support.types.d.ts.map +1 -0
- package/dist/runtime-native-support.types.js +2 -0
- package/dist/runtime-native-support.types.js.map +1 -0
- package/dist/runtime-native-tool-build.d.ts +12 -0
- package/dist/runtime-native-tool-build.d.ts.map +1 -0
- package/dist/runtime-native-tool-build.js +81 -0
- package/dist/runtime-native-tool-build.js.map +1 -0
- package/dist/runtime-native-tool-build.types.d.ts +14 -0
- package/dist/runtime-native-tool-build.types.d.ts.map +1 -0
- package/dist/runtime-native-tool-build.types.js +2 -0
- package/dist/runtime-native-tool-build.types.js.map +1 -0
- package/dist/runtime-native-tools-identity.d.ts +15 -0
- package/dist/runtime-native-tools-identity.d.ts.map +1 -0
- package/dist/runtime-native-tools-identity.js +14 -0
- package/dist/runtime-native-tools-identity.js.map +1 -0
- package/dist/runtime-native-tools.d.ts +29 -0
- package/dist/runtime-native-tools.d.ts.map +1 -0
- package/dist/runtime-native-tools.js +65 -0
- package/dist/runtime-native-tools.js.map +1 -0
- package/dist/runtime-native-tools.types.d.ts +21 -0
- package/dist/runtime-native-tools.types.d.ts.map +1 -0
- package/dist/runtime-native-tools.types.js +3 -0
- package/dist/runtime-native-tools.types.js.map +1 -0
- package/dist/runtime-service.d.ts +15 -0
- package/dist/runtime-service.d.ts.map +1 -0
- package/dist/runtime-service.js +20 -0
- package/dist/runtime-service.js.map +1 -0
- package/dist/runtime-service.types.d.ts +12 -0
- package/dist/runtime-service.types.d.ts.map +1 -0
- package/dist/runtime-service.types.js +3 -0
- package/dist/runtime-service.types.js.map +1 -0
- package/dist/runtime-state-schemas.d.ts +19 -0
- package/dist/runtime-state-schemas.d.ts.map +1 -0
- package/dist/runtime-state-schemas.js +58 -0
- package/dist/runtime-state-schemas.js.map +1 -0
- package/dist/runtime-strict-response-schema.d.ts +9 -0
- package/dist/runtime-strict-response-schema.d.ts.map +1 -0
- package/dist/runtime-strict-response-schema.js +67 -0
- package/dist/runtime-strict-response-schema.js.map +1 -0
- package/dist/runtime-tool-adapter.d.ts +34 -0
- package/dist/runtime-tool-adapter.d.ts.map +1 -0
- package/dist/runtime-tool-adapter.js +66 -0
- package/dist/runtime-tool-adapter.js.map +1 -0
- package/dist/runtime-tool-dispatcher.d.ts +32 -0
- package/dist/runtime-tool-dispatcher.d.ts.map +1 -0
- package/dist/runtime-tool-dispatcher.js +67 -0
- package/dist/runtime-tool-dispatcher.js.map +1 -0
- package/dist/runtime-tool-events.d.ts +49 -0
- package/dist/runtime-tool-events.d.ts.map +1 -0
- package/dist/runtime-tool-events.js +106 -0
- package/dist/runtime-tool-events.js.map +1 -0
- package/dist/runtime-tool-events.types.d.ts +8 -0
- package/dist/runtime-tool-events.types.d.ts.map +1 -0
- package/dist/runtime-tool-events.types.js +3 -0
- package/dist/runtime-tool-events.types.js.map +1 -0
- package/dist/runtime-tool-invocation.d.ts +19 -0
- package/dist/runtime-tool-invocation.d.ts.map +1 -0
- package/dist/runtime-tool-invocation.js +74 -0
- package/dist/runtime-tool-invocation.js.map +1 -0
- package/dist/runtime-tool-lookup.d.ts +56 -0
- package/dist/runtime-tool-lookup.d.ts.map +1 -0
- package/dist/runtime-tool-lookup.js +71 -0
- package/dist/runtime-tool-lookup.js.map +1 -0
- package/dist/runtime-tools.d.ts +35 -0
- package/dist/runtime-tools.d.ts.map +1 -0
- package/dist/runtime-tools.js +78 -0
- package/dist/runtime-tools.js.map +1 -0
- package/dist/runtime-tools.types.d.ts +7 -0
- package/dist/runtime-tools.types.d.ts.map +1 -0
- package/dist/runtime-tools.types.js +2 -0
- package/dist/runtime-tools.types.js.map +1 -0
- package/dist/runtime-utils.d.ts +56 -0
- package/dist/runtime-utils.d.ts.map +1 -0
- package/dist/runtime-utils.js +106 -0
- package/dist/runtime-utils.js.map +1 -0
- package/dist/runtime.d.ts +47 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +90 -0
- package/dist/runtime.js.map +1 -0
- package/dist/runtime.types.d.ts +77 -0
- package/dist/runtime.types.d.ts.map +1 -0
- package/dist/runtime.types.js +3 -0
- package/dist/runtime.types.js.map +1 -0
- package/dist/signal-deadline.d.ts +12 -0
- package/dist/signal-deadline.d.ts.map +1 -0
- package/dist/signal-deadline.js +21 -0
- package/dist/signal-deadline.js.map +1 -0
- package/dist/signal.d.ts +64 -0
- package/dist/signal.d.ts.map +1 -0
- package/dist/signal.js +136 -0
- package/dist/signal.js.map +1 -0
- package/dist/signal.types.d.ts +35 -0
- package/dist/signal.types.d.ts.map +1 -0
- package/dist/signal.types.js +3 -0
- package/dist/signal.types.js.map +1 -0
- package/dist/testing/agent-approvals.d.ts +8 -0
- package/dist/testing/agent-approvals.d.ts.map +1 -0
- package/dist/testing/agent-approvals.js +98 -0
- package/dist/testing/agent-approvals.js.map +1 -0
- package/dist/testing/agent-approvals.types.d.ts +24 -0
- package/dist/testing/agent-approvals.types.d.ts.map +1 -0
- package/dist/testing/agent-approvals.types.js +3 -0
- package/dist/testing/agent-approvals.types.js.map +1 -0
- package/dist/testing/agent-harness.types.d.ts +25 -0
- package/dist/testing/agent-harness.types.d.ts.map +1 -0
- package/dist/testing/agent-harness.types.js +3 -0
- package/dist/testing/agent-harness.types.js.map +1 -0
- package/dist/testing/agent-state-invocation.d.ts +4 -0
- package/dist/testing/agent-state-invocation.d.ts.map +1 -0
- package/dist/testing/agent-state-invocation.js +41 -0
- package/dist/testing/agent-state-invocation.js.map +1 -0
- package/dist/testing/agent-state-lifecycle.d.ts +6 -0
- package/dist/testing/agent-state-lifecycle.d.ts.map +1 -0
- package/dist/testing/agent-state-lifecycle.js +36 -0
- package/dist/testing/agent-state-lifecycle.js.map +1 -0
- package/dist/testing/agent-state-setup.d.ts +18 -0
- package/dist/testing/agent-state-setup.d.ts.map +1 -0
- package/dist/testing/agent-state-setup.js +52 -0
- package/dist/testing/agent-state-setup.js.map +1 -0
- package/dist/testing/agent-state.d.ts +12 -0
- package/dist/testing/agent-state.d.ts.map +1 -0
- package/dist/testing/agent-state.js +40 -0
- package/dist/testing/agent-state.js.map +1 -0
- package/dist/testing/agents-model-native.d.ts +37 -0
- package/dist/testing/agents-model-native.d.ts.map +1 -0
- package/dist/testing/agents-model-native.js +111 -0
- package/dist/testing/agents-model-native.js.map +1 -0
- package/dist/testing/agents-model-operations.d.ts +28 -0
- package/dist/testing/agents-model-operations.d.ts.map +1 -0
- package/dist/testing/agents-model-operations.js +91 -0
- package/dist/testing/agents-model-operations.js.map +1 -0
- package/dist/testing/agents-model.d.ts +25 -0
- package/dist/testing/agents-model.d.ts.map +1 -0
- package/dist/testing/agents-model.js +72 -0
- package/dist/testing/agents-model.js.map +1 -0
- package/dist/testing/agents-model.types.d.ts +24 -0
- package/dist/testing/agents-model.types.d.ts.map +1 -0
- package/dist/testing/agents-model.types.js +3 -0
- package/dist/testing/agents-model.types.js.map +1 -0
- package/dist/testing/agents-types.d.ts +3 -0
- package/dist/testing/agents-types.d.ts.map +1 -0
- package/dist/testing/agents-types.js +2 -0
- package/dist/testing/agents-types.js.map +1 -0
- package/dist/testing/agents-utils.d.ts +26 -0
- package/dist/testing/agents-utils.d.ts.map +1 -0
- package/dist/testing/agents-utils.js +79 -0
- package/dist/testing/agents-utils.js.map +1 -0
- package/dist/testing/agents.d.ts +26 -0
- package/dist/testing/agents.d.ts.map +1 -0
- package/dist/testing/agents.js +64 -0
- package/dist/testing/agents.js.map +1 -0
- package/dist/testing/agents.types.d.ts +113 -0
- package/dist/testing/agents.types.d.ts.map +1 -0
- package/dist/testing/agents.types.js +3 -0
- package/dist/testing/agents.types.js.map +1 -0
- package/package.json +191 -4
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/** Defines typed native graph edge and routing descriptors whose endpoints are checked during graph assembly and compilation. */
|
|
2
|
+
import { conditionalEdgeMutation, edgeMutation } from "./graph-edge-mutations.js";
|
|
3
|
+
import { assertEndpoint, copyDestinations, addUnique } from "./graph-edge-destinations.js";
|
|
4
|
+
import { END, START } from "@langchain/langgraph";
|
|
5
|
+
import { Effect } from "effect";
|
|
6
|
+
import { observeAgent } from "@relkit/agents/internal/agent-telemetry";
|
|
7
|
+
import { graphDefinitionFailure } from "./define-graph-error.js";
|
|
8
|
+
/** Creates an edge builder whose mutations run through Effect.
|
|
9
|
+
* @param nodeIds - Registered node identities.
|
|
10
|
+
* @returns An Effect with a builder and its ordered operation log.
|
|
11
|
+
* @example Effect.runSync(createGraphEdgeBuilderEffect(ids));
|
|
12
|
+
*/
|
|
13
|
+
export const createGraphEdgeBuilderEffect = Effect.fn("Agents.graph.edgeBuilder")((nodeIds) => Effect.sync(() => {
|
|
14
|
+
const operations = [];
|
|
15
|
+
const signatures = new Set();
|
|
16
|
+
let builder;
|
|
17
|
+
const context = { nodeIds, operations, signatures, builder: () => builder };
|
|
18
|
+
const addConditionalEdgesEffect = conditionalEdgeMutation(context);
|
|
19
|
+
const addEdgeEffect = edgeMutation(context);
|
|
20
|
+
builder = {
|
|
21
|
+
addEdge(start, end) {
|
|
22
|
+
return Effect.runSync(addEdgeEffect(start, end).pipe(Effect.catchTag("GraphDefinitionFailure", (failure) => Effect.fail(failure.cause))));
|
|
23
|
+
},
|
|
24
|
+
addConditionalEdges: ((source, route, destinations) => Effect.runSync(addConditionalEdgesEffect(source, route, destinations).pipe(Effect.catchTag("GraphDefinitionFailure", (failure) => Effect.fail(failure.cause))))),
|
|
25
|
+
};
|
|
26
|
+
return { builder: Object.freeze(builder), operations };
|
|
27
|
+
}), (effect) => observeAgent("graph.edge-builder", effect));
|
|
28
|
+
/** Creates an edge builder for existing synchronous graph authoring.
|
|
29
|
+
* @param nodeIds - Registered node identities.
|
|
30
|
+
* @returns A builder and its ordered operation log.
|
|
31
|
+
* @example const { builder, operations } = createGraphEdgeBuilder(ids);
|
|
32
|
+
*/
|
|
33
|
+
export function createGraphEdgeBuilder(nodeIds) {
|
|
34
|
+
return Effect.runSync(createGraphEdgeBuilderEffect(nodeIds));
|
|
35
|
+
}
|
|
36
|
+
export { assertGraphDestination, assertGraphDestinationEffect, validateGraphRoute, validateGraphRouteEffect, } from "./graph-edge-destinations.js";
|
|
37
|
+
//# sourceMappingURL=graph-edges.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-edges.js","sourceRoot":"","sources":["../src/graph-edges.ts"],"names":[],"mappings":"AAAA,iIAAiI;AAEjI,OAAO,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,GAAG,EAAE,KAAK,EAAgC,MAAM,sBAAsB,CAAC;AAEhF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAIjE;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC,EAAE,CAAC,0BAA0B,CAAC,CAC/E,CAA2B,OAAwB,EAAE,EAAE,CACrD,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;IACf,MAAM,UAAU,GAAoC,EAAE,CAAC;IACvD,MAAM,UAAU,GAAG,IAAI,GAAG,EAAU,CAAC;IACrC,IAAI,OAAqC,CAAC;IAC1C,MAAM,OAAO,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC;IAC5E,MAAM,yBAAyB,GAAG,uBAAuB,CAAC,OAAO,CAAC,CAAC;IACnE,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IAC5C,OAAO,GAAG;QACR,OAAO,CAAC,KAAK,EAAE,GAAG;YAChB,OAAO,MAAM,CAAC,OAAO,CACnB,aAAa,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAC5B,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACnF,CACF,CAAC;QACJ,CAAC;QACD,mBAAmB,EAAE,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CACpD,MAAM,CAAC,OAAO,CACZ,yBAAyB,CAAC,MAAM,EAAE,KAAK,EAAE,YAAY,CAAC,CAAC,IAAI,CACzD,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CACnF,CACF,CAAuD;KAC3D,CAAC;IACF,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC;AACzD,CAAC,CAAC,EACJ,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,oBAAoB,EAAE,MAAM,CAAC,CACvD,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAAwB;IAKxB,OAAO,MAAM,CAAC,OAAO,CAAC,4BAA4B,CAAY,OAAO,CAAC,CAAC,CAAC;AAC1E,CAAC;AAED,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,8BAA8B,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/** Defines typed native graph edge and routing descriptors whose endpoints are checked during graph assembly and compilation. This companion preserves the native input and output types without starting runtime work. */
|
|
2
|
+
import type { END, START, LangGraphRunnableConfig, Send } from "@langchain/langgraph";
|
|
3
|
+
import type { MaybePromise } from "@relkit/contracts";
|
|
4
|
+
/** Native graph conditional route callback. */
|
|
5
|
+
export type GraphRoute<Id extends string, State> = (state: State, config: LangGraphRunnableConfig) => MaybePromise<Id | typeof END | Send<Id> | readonly (Id | Send<Id>)[]>;
|
|
6
|
+
/** Label based graph conditional route callback. */
|
|
7
|
+
export type GraphConditionalRoute<Id extends string, State, Key extends string> = (state: State, config: LangGraphRunnableConfig) => MaybePromise<Key | Send<Id, Partial<State>> | readonly (Key | Send<Id, Partial<State>>)[]>;
|
|
8
|
+
/** Mutable graph edge authoring interface backed by Effect operations. */
|
|
9
|
+
export interface GraphEdgeBuilder<Id extends string, State> {
|
|
10
|
+
/** Adds a static or join edge.
|
|
11
|
+
* @param start - One or more source nodes.
|
|
12
|
+
* @param end - Destination node.
|
|
13
|
+
* @returns This builder.
|
|
14
|
+
* @throws TypeError for invalid or duplicate edges.
|
|
15
|
+
* @example edge.addEdge("start", "finish");
|
|
16
|
+
*/
|
|
17
|
+
addEdge(start: typeof START | NoInfer<Id> | readonly NoInfer<Id>[], end: NoInfer<Id> | typeof END): GraphEdgeBuilder<Id, State>;
|
|
18
|
+
/** Adds a dynamic edge.
|
|
19
|
+
* @param source - Source node.
|
|
20
|
+
* @param route - Route callback.
|
|
21
|
+
* @returns This builder.
|
|
22
|
+
* @throws TypeError for invalid or duplicate routes.
|
|
23
|
+
* @example edge.addConditionalEdges("start", () => "finish");
|
|
24
|
+
*/
|
|
25
|
+
addConditionalEdges(source: typeof START | NoInfer<Id>, route: GraphRoute<NoInfer<Id>, State>): GraphEdgeBuilder<Id, State>;
|
|
26
|
+
/** Adds a labeled dynamic edge.
|
|
27
|
+
* @param source - Source node.
|
|
28
|
+
* @param route - Route callback.
|
|
29
|
+
* @param destinations - Label to destination mapping.
|
|
30
|
+
* @returns This builder.
|
|
31
|
+
* @throws TypeError for invalid or duplicate routes.
|
|
32
|
+
* @example edge.addConditionalEdges("start", () => "yes", { yes: "finish" });
|
|
33
|
+
*/
|
|
34
|
+
addConditionalEdges<const Key extends string>(source: typeof START | NoInfer<Id>, route: GraphConditionalRoute<NoInfer<Id>, State, Key>, destinations: Readonly<Record<Key, NoInfer<Id> | typeof END>>): GraphEdgeBuilder<Id, State>;
|
|
35
|
+
}
|
|
36
|
+
/** Recorded edge operation consumed by the LangGraph compiler. */
|
|
37
|
+
export type GraphEdgeOperation<Id extends string, State> = {
|
|
38
|
+
readonly kind: "edge";
|
|
39
|
+
readonly start: typeof START | Id | readonly Id[];
|
|
40
|
+
readonly end: Id | typeof END;
|
|
41
|
+
} | {
|
|
42
|
+
readonly kind: "conditional";
|
|
43
|
+
readonly source: typeof START | Id;
|
|
44
|
+
readonly route: (state: State, config: LangGraphRunnableConfig) => MaybePromise<unknown>;
|
|
45
|
+
readonly destinations?: Readonly<Record<string, Id | typeof END>>;
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=graph-edges.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-edges.types.d.ts","sourceRoot":"","sources":["../src/graph-edges.types.ts"],"names":[],"mappings":"AAAA,2NAA2N;AAE3N,OAAO,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,uBAAuB,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AACtF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,+CAA+C;AAC/C,MAAM,MAAM,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,IAAI,CACjD,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,uBAAuB,KAC5B,YAAY,CAAC,EAAE,GAAG,OAAO,GAAG,GAAG,IAAI,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AAE3E,oDAAoD;AACpD,MAAM,MAAM,qBAAqB,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,EAAE,GAAG,SAAS,MAAM,IAAI,CAChF,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,uBAAuB,KAC5B,YAAY,CAAC,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,GAAG,IAAI,CAAC,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAEhG,0EAA0E;AAC1E,MAAM,WAAW,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK;IACxD;;;;;;OAMG;IACH,OAAO,CACL,KAAK,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,EAAE,CAAC,GAAG,SAAS,OAAO,CAAC,EAAE,CAAC,EAAE,EAC1D,GAAG,EAAE,OAAO,CAAC,EAAE,CAAC,GAAG,OAAO,GAAG,GAC5B,gBAAgB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;IAC/B;;;;;;OAMG;IACH,mBAAmB,CACjB,MAAM,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,EAAE,CAAC,EAClC,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,GACpC,gBAAgB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;IAC/B;;;;;;;OAOG;IACH,mBAAmB,CAAC,KAAK,CAAC,GAAG,SAAS,MAAM,EAC1C,MAAM,EAAE,OAAO,KAAK,GAAG,OAAO,CAAC,EAAE,CAAC,EAClC,KAAK,EAAE,qBAAqB,CAAC,OAAO,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,CAAC,EACrD,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,OAAO,CAAC,EAAE,CAAC,GAAG,OAAO,GAAG,CAAC,CAAC,GAC5D,gBAAgB,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;CAChC;AAED,kEAAkE;AAClE,MAAM,MAAM,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,KAAK,IACnD;IACE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,KAAK,GAAG,EAAE,GAAG,SAAS,EAAE,EAAE,CAAC;IAClD,QAAQ,CAAC,GAAG,EAAE,EAAE,GAAG,OAAO,GAAG,CAAC;CAC/B,GACD;IACE,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,OAAO,KAAK,GAAG,EAAE,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,uBAAuB,KAAK,YAAY,CAAC,OAAO,CAAC,CAAC;IACzF,QAAQ,CAAC,YAAY,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,GAAG,OAAO,GAAG,CAAC,CAAC,CAAC;CACnE,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Defines typed native graph edge and routing descriptors whose endpoints are checked during graph assembly and compilation. This companion preserves the native input and output types without starting runtime work. */
|
|
2
|
+
export {};
|
|
3
|
+
//# sourceMappingURL=graph-edges.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-edges.types.js","sourceRoot":"","sources":["../src/graph-edges.types.ts"],"names":[],"mappings":"AAAA,2NAA2N"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-execution-symbol.d.ts","sourceRoot":"","sources":["../src/graph-execution-symbol.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,eAAO,MAAM,eAAe,eAAuC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-execution-symbol.js","sourceRoot":"","sources":["../src/graph-execution-symbol.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/** Converts native graph interrupt observations into RELKIT continuation data while preserving the interrupt identifiers needed for resume. */
|
|
2
|
+
import type { JsonValue } from "@relkit/contracts";
|
|
3
|
+
import { Effect, Schema } from "effect";
|
|
4
|
+
import type { GraphWaitingInterrupt } from "./graph-interruption.types.js";
|
|
5
|
+
import type { AgentWaitingRequest } from "@relkit/agents/internal/state.types";
|
|
6
|
+
export type { GraphWaitingInterrupt } from "./graph-interruption.types.js";
|
|
7
|
+
declare const GraphWaitingResponseError_base: Schema.Class<GraphWaitingResponseError, Schema.TaggedStruct<"GraphWaitingResponseError", {
|
|
8
|
+
readonly message: Schema.String;
|
|
9
|
+
}>, import("effect/Cause").YieldableError>;
|
|
10
|
+
/** No pending request is available to form a graph interruption response. */
|
|
11
|
+
export declare class GraphWaitingResponseError extends GraphWaitingResponseError_base {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Combines pending graph responses into one JSON schema.
|
|
15
|
+
*
|
|
16
|
+
* @param interrupts - Pending interrupts in graph order.
|
|
17
|
+
* @returns An Effect with the response schema or GraphWaitingResponseError.
|
|
18
|
+
* @example
|
|
19
|
+
* const response = Effect.runSync(graphWaitingResponseEffect([{ node: "review", response: true }]));
|
|
20
|
+
*/
|
|
21
|
+
export declare const graphWaitingResponseEffect: (interrupts: readonly GraphWaitingInterrupt[]) => Effect.Effect<JsonValue, GraphWaitingResponseError, never>;
|
|
22
|
+
/**
|
|
23
|
+
* Combines pending graph responses for synchronous runtime callers.
|
|
24
|
+
*
|
|
25
|
+
* @param interrupts - Pending interrupts in graph order.
|
|
26
|
+
* @returns The single response or ordered tuple schema.
|
|
27
|
+
* @throws TypeError when no request is pending.
|
|
28
|
+
* @example
|
|
29
|
+
* const response = graphWaitingResponse([{ node: "review", response: true }]);
|
|
30
|
+
*/
|
|
31
|
+
export declare function graphWaitingResponse(interrupts: readonly GraphWaitingInterrupt[]): JsonValue;
|
|
32
|
+
/**
|
|
33
|
+
* Removes internal identifiers while retaining public waiting request order.
|
|
34
|
+
*
|
|
35
|
+
* @param interrupts - Pending graph interrupts.
|
|
36
|
+
* @returns An Effect with public waiting requests; it has no typed failure.
|
|
37
|
+
* @example
|
|
38
|
+
* const requests = Effect.runSync(publicWaitingRequestsEffect(interrupts));
|
|
39
|
+
*/
|
|
40
|
+
export declare const publicWaitingRequestsEffect: (interrupts: readonly GraphWaitingInterrupt[]) => Effect.Effect<{
|
|
41
|
+
response: JsonValue;
|
|
42
|
+
value?: {} | null;
|
|
43
|
+
node: string;
|
|
44
|
+
}[], never, never>;
|
|
45
|
+
/**
|
|
46
|
+
* Returns public waiting requests for synchronous runtime callers.
|
|
47
|
+
*
|
|
48
|
+
* @param interrupts - Pending graph interrupts.
|
|
49
|
+
* @returns Requests without internal interrupt IDs.
|
|
50
|
+
* @example
|
|
51
|
+
* const requests = publicWaitingRequests(interrupts);
|
|
52
|
+
*/
|
|
53
|
+
export declare function publicWaitingRequests(interrupts: readonly GraphWaitingInterrupt[]): readonly AgentWaitingRequest[];
|
|
54
|
+
/**
|
|
55
|
+
* Internal control result used by the server to publish a durable waiting snapshot.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* throw new GraphInterruptedError("thread-1", interrupts);
|
|
59
|
+
*/
|
|
60
|
+
export declare class GraphInterruptedError extends Error {
|
|
61
|
+
readonly threadId: string;
|
|
62
|
+
readonly interrupts: readonly GraphWaitingInterrupt[];
|
|
63
|
+
readonly code: "RELKIT_GRAPH_INTERRUPTED";
|
|
64
|
+
constructor(threadId: string, interrupts: readonly GraphWaitingInterrupt[]);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Recognizes the internal graph interruption control result.
|
|
68
|
+
*
|
|
69
|
+
* @param value - Candidate error.
|
|
70
|
+
* @returns An Effect with the recognition result; it has no typed failure.
|
|
71
|
+
* @example
|
|
72
|
+
* const interrupted = Effect.runSync(isGraphInterruptedErrorEffect(error));
|
|
73
|
+
*/
|
|
74
|
+
export declare const isGraphInterruptedErrorEffect: (value: unknown) => Effect.Effect<boolean, never, never>;
|
|
75
|
+
/**
|
|
76
|
+
* Recognizes graph interruption errors for synchronous callers.
|
|
77
|
+
*
|
|
78
|
+
* @param value - Candidate error.
|
|
79
|
+
* @returns True only for a GraphInterruptedError instance.
|
|
80
|
+
* @example
|
|
81
|
+
* if (isGraphInterruptedError(error)) console.log(error.threadId);
|
|
82
|
+
*/
|
|
83
|
+
export declare function isGraphInterruptedError(value: unknown): value is GraphInterruptedError;
|
|
84
|
+
//# sourceMappingURL=graph-interruption.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-interruption.d.ts","sourceRoot":"","sources":["../src/graph-interruption.ts"],"names":[],"mappings":"AAAA,+IAA+I;AAE/I,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,MAAM,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,YAAY,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;;;AAO3E,6EAA6E;AAC7E,qBAAa,yBAA0B,SAAQ,8BAG9C;CAAG;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,8GAsBtC,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,SAAS,qBAAqB,EAAE,GAAG,SAAS,CAU5F;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B;;;;kBAUvC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,SAAS,qBAAqB,EAAE,GAC3C,SAAS,mBAAmB,EAAE,CAEhC;AAED;;;;;GAKG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;IAI5C,QAAQ,CAAC,QAAQ,EAAE,MAAM;IACzB,QAAQ,CAAC,UAAU,EAAE,SAAS,qBAAqB,EAAE;IAJvD,QAAQ,CAAC,IAAI,EAAG,0BAA0B,CAAU;gBAGzC,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,SAAS,qBAAqB,EAAE;CAKxD;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,0DAMzC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,qBAAqB,CAEtF"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/** Converts native graph interrupt observations into RELKIT continuation data while preserving the interrupt identifiers needed for resume. */
|
|
2
|
+
import { Effect, Metric, Schema } from "effect";
|
|
3
|
+
import { observeAgent } from "@relkit/agents/internal/agent-telemetry";
|
|
4
|
+
const responseCount = Metric.counter("relkit.agents.graph_interruption.response.total");
|
|
5
|
+
const responseFailures = Metric.counter("relkit.agents.graph_interruption.response.failure.total");
|
|
6
|
+
const requestsCount = Metric.counter("relkit.agents.graph_interruption.requests.total");
|
|
7
|
+
const predicateCount = Metric.counter("relkit.agents.graph_interruption.predicate.total");
|
|
8
|
+
/** No pending request is available to form a graph interruption response. */
|
|
9
|
+
export class GraphWaitingResponseError extends Schema.TaggedError()("GraphWaitingResponseError", { message: Schema.String }) {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Combines pending graph responses into one JSON schema.
|
|
13
|
+
*
|
|
14
|
+
* @param interrupts - Pending interrupts in graph order.
|
|
15
|
+
* @returns An Effect with the response schema or GraphWaitingResponseError.
|
|
16
|
+
* @example
|
|
17
|
+
* const response = Effect.runSync(graphWaitingResponseEffect([{ node: "review", response: true }]));
|
|
18
|
+
*/
|
|
19
|
+
export const graphWaitingResponseEffect = Effect.fn("Agents.graphInterruption.response")(function* (interrupts) {
|
|
20
|
+
yield* Metric.update(responseCount, 1);
|
|
21
|
+
const first = interrupts[0];
|
|
22
|
+
if (first === undefined) {
|
|
23
|
+
yield* Metric.update(responseFailures, 1);
|
|
24
|
+
return yield* Effect.fail(new GraphWaitingResponseError({
|
|
25
|
+
message: "Graph interruption has no pending requests",
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
if (interrupts.length === 1)
|
|
29
|
+
return first.response;
|
|
30
|
+
return {
|
|
31
|
+
type: "array",
|
|
32
|
+
prefixItems: interrupts.map((entry) => entry.response),
|
|
33
|
+
items: false,
|
|
34
|
+
minItems: interrupts.length,
|
|
35
|
+
maxItems: interrupts.length,
|
|
36
|
+
};
|
|
37
|
+
}, (effect) => observeAgent("graph-interruption.response", effect));
|
|
38
|
+
/**
|
|
39
|
+
* Combines pending graph responses for synchronous runtime callers.
|
|
40
|
+
*
|
|
41
|
+
* @param interrupts - Pending interrupts in graph order.
|
|
42
|
+
* @returns The single response or ordered tuple schema.
|
|
43
|
+
* @throws TypeError when no request is pending.
|
|
44
|
+
* @example
|
|
45
|
+
* const response = graphWaitingResponse([{ node: "review", response: true }]);
|
|
46
|
+
*/
|
|
47
|
+
export function graphWaitingResponse(interrupts) {
|
|
48
|
+
return Effect.runSync(graphWaitingResponseEffect(interrupts).pipe(Effect.catchTag("GraphWaitingResponseError", (error) => Effect.sync(() => {
|
|
49
|
+
throw new TypeError(error.message);
|
|
50
|
+
}))));
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Removes internal identifiers while retaining public waiting request order.
|
|
54
|
+
*
|
|
55
|
+
* @param interrupts - Pending graph interrupts.
|
|
56
|
+
* @returns An Effect with public waiting requests; it has no typed failure.
|
|
57
|
+
* @example
|
|
58
|
+
* const requests = Effect.runSync(publicWaitingRequestsEffect(interrupts));
|
|
59
|
+
*/
|
|
60
|
+
export const publicWaitingRequestsEffect = Effect.fn("Agents.graphInterruption.requests")(function* (interrupts) {
|
|
61
|
+
yield* Metric.update(requestsCount, 1);
|
|
62
|
+
return interrupts.map(({ node, value, response }) => ({
|
|
63
|
+
node,
|
|
64
|
+
...(value === undefined ? {} : { value }),
|
|
65
|
+
response,
|
|
66
|
+
}));
|
|
67
|
+
}, (effect) => observeAgent("graph-interruption.requests", effect));
|
|
68
|
+
/**
|
|
69
|
+
* Returns public waiting requests for synchronous runtime callers.
|
|
70
|
+
*
|
|
71
|
+
* @param interrupts - Pending graph interrupts.
|
|
72
|
+
* @returns Requests without internal interrupt IDs.
|
|
73
|
+
* @example
|
|
74
|
+
* const requests = publicWaitingRequests(interrupts);
|
|
75
|
+
*/
|
|
76
|
+
export function publicWaitingRequests(interrupts) {
|
|
77
|
+
return Effect.runSync(publicWaitingRequestsEffect(interrupts));
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Internal control result used by the server to publish a durable waiting snapshot.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* throw new GraphInterruptedError("thread-1", interrupts);
|
|
84
|
+
*/
|
|
85
|
+
export class GraphInterruptedError extends Error {
|
|
86
|
+
threadId;
|
|
87
|
+
interrupts;
|
|
88
|
+
code = "RELKIT_GRAPH_INTERRUPTED";
|
|
89
|
+
constructor(threadId, interrupts) {
|
|
90
|
+
super("Graph execution is waiting for human input");
|
|
91
|
+
this.threadId = threadId;
|
|
92
|
+
this.interrupts = interrupts;
|
|
93
|
+
this.name = "GraphInterruptedError";
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Recognizes the internal graph interruption control result.
|
|
98
|
+
*
|
|
99
|
+
* @param value - Candidate error.
|
|
100
|
+
* @returns An Effect with the recognition result; it has no typed failure.
|
|
101
|
+
* @example
|
|
102
|
+
* const interrupted = Effect.runSync(isGraphInterruptedErrorEffect(error));
|
|
103
|
+
*/
|
|
104
|
+
export const isGraphInterruptedErrorEffect = Effect.fn("Agents.graphInterruption.isError")(function* (value) {
|
|
105
|
+
yield* Metric.update(predicateCount, 1);
|
|
106
|
+
return value instanceof GraphInterruptedError;
|
|
107
|
+
}, (effect) => observeAgent("graph-interruption.is-error", effect));
|
|
108
|
+
/**
|
|
109
|
+
* Recognizes graph interruption errors for synchronous callers.
|
|
110
|
+
*
|
|
111
|
+
* @param value - Candidate error.
|
|
112
|
+
* @returns True only for a GraphInterruptedError instance.
|
|
113
|
+
* @example
|
|
114
|
+
* if (isGraphInterruptedError(error)) console.log(error.threadId);
|
|
115
|
+
*/
|
|
116
|
+
export function isGraphInterruptedError(value) {
|
|
117
|
+
return Effect.runSync(isGraphInterruptedErrorEffect(value));
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=graph-interruption.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-interruption.js","sourceRoot":"","sources":["../src/graph-interruption.ts"],"names":[],"mappings":"AAAA,+IAA+I;AAG/I,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,yCAAyC,CAAC;AAMvE,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,iDAAiD,CAAC,CAAC;AACxF,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,CAAC,yDAAyD,CAAC,CAAC;AACnG,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,iDAAiD,CAAC,CAAC;AACxF,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,CAAC,kDAAkD,CAAC,CAAC;AAE1F,6EAA6E;AAC7E,MAAM,OAAO,yBAA0B,SAAQ,MAAM,CAAC,WAAW,EAA6B,CAC5F,2BAA2B,EAC3B,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAC3B;CAAG;AAEJ;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,MAAM,CAAC,EAAE,CAAC,mCAAmC,CAAC,CACtF,QAAQ,CAAC,EAAE,UAA4C;IACrD,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACvC,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;IAC5B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC;QAC1C,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CACvB,IAAI,yBAAyB,CAAC;YAC5B,OAAO,EAAE,4CAA4C;SACtD,CAAC,CACH,CAAC;IACJ,CAAC;IACD,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,QAAQ,CAAC;IACnD,OAAO;QACL,IAAI,EAAE,OAAO;QACb,WAAW,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;QACtD,KAAK,EAAE,KAAK;QACZ,QAAQ,EAAE,UAAU,CAAC,MAAM;QAC3B,QAAQ,EAAE,UAAU,CAAC,MAAM;KACR,CAAC;AACxB,CAAC,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAChE,CAAC;AAEF;;;;;;;;GAQG;AACH,MAAM,UAAU,oBAAoB,CAAC,UAA4C;IAC/E,OAAO,MAAM,CAAC,OAAO,CACnB,0BAA0B,CAAC,UAAU,CAAC,CAAC,IAAI,CACzC,MAAM,CAAC,QAAQ,CAAC,2BAA2B,EAAE,CAAC,KAAK,EAAE,EAAE,CACrD,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;QACf,MAAM,IAAI,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACrC,CAAC,CAAC,CACH,CACF,CACF,CAAC;AACJ,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAAC,EAAE,CAAC,mCAAmC,CAAC,CACvF,QAAQ,CAAC,EAAE,UAA4C;IACrD,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACvC,OAAO,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;QACpD,IAAI;QACJ,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC;QACzC,QAAQ;KACT,CAAC,CAAC,CAAC;AACN,CAAC,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAChE,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CACnC,UAA4C;IAE5C,OAAO,MAAM,CAAC,OAAO,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAC,CAAC;AACjE,CAAC;AAED;;;;;GAKG;AACH,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAInC;IACA;IAJF,IAAI,GAAG,0BAAmC,CAAC;IAEpD,YACW,QAAgB,EAChB,UAA4C;QAErD,KAAK,CAAC,4CAA4C,CAAC,CAAC;QAH3C,aAAQ,GAAR,QAAQ,CAAQ;QAChB,eAAU,GAAV,UAAU,CAAkC;QAGrD,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC;IACtC,CAAC;CACF;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,MAAM,CAAC,EAAE,CAAC,kCAAkC,CAAC,CACxF,QAAQ,CAAC,EAAE,KAAc;IACvB,KAAK,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;IACxC,OAAO,KAAK,YAAY,qBAAqB,CAAC;AAChD,CAAC,EACD,CAAC,MAAM,EAAE,EAAE,CAAC,YAAY,CAAC,6BAA6B,EAAE,MAAM,CAAC,CAChE,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,uBAAuB,CAAC,KAAc;IACpD,OAAO,MAAM,CAAC,OAAO,CAAC,6BAA6B,CAAC,KAAK,CAAC,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Converts native graph interrupt observations into RELKIT continuation data while preserving the interrupt identifiers needed for resume. This companion preserves the native input and output types without starting runtime work. */
|
|
2
|
+
import type { JsonValue } from "@relkit/contracts";
|
|
3
|
+
/**
|
|
4
|
+
* Pending graph interruption and its public response schema.
|
|
5
|
+
* The optional ID is internal and omitted from published waiting requests.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* const interrupt: GraphWaitingInterrupt = { node: "review", response: true };
|
|
9
|
+
*/
|
|
10
|
+
export interface GraphWaitingInterrupt {
|
|
11
|
+
readonly id?: string;
|
|
12
|
+
readonly node: string;
|
|
13
|
+
readonly value?: unknown;
|
|
14
|
+
readonly response: JsonValue;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=graph-interruption.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-interruption.types.d.ts","sourceRoot":"","sources":["../src/graph-interruption.types.ts"],"names":[],"mappings":"AAAA,yOAAyO;AAEzO,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;CAC9B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Converts native graph interrupt observations into RELKIT continuation data while preserving the interrupt identifiers needed for resume. This companion preserves the native input and output types without starting runtime work. */
|
|
2
|
+
export {};
|
|
3
|
+
//# sourceMappingURL=graph-interruption.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-interruption.types.js","sourceRoot":"","sources":["../src/graph-interruption.types.ts"],"names":[],"mappings":"AAAA,yOAAyO"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Validates native node input, output and optional resume schemas in authoring order before handler or identity construction; schema failures retain their existing graph-node boundary. */
|
|
2
|
+
import { Effect } from "effect";
|
|
3
|
+
import type { GraphNodeAny } from "./define-graph-node.types.js";
|
|
4
|
+
/** Validates each authored schema without invoking the user's node handler.
|
|
5
|
+
* @param options - Input, output and optional resume schema from the original node options.
|
|
6
|
+
* @returns A lazy Effect succeeding after validation or failing with the original graph-node diagnostic.
|
|
7
|
+
*/
|
|
8
|
+
export declare const validateGraphNodeSchemasEffect: (options: Pick<GraphNodeAny, "input" | "output" | "resume">) => Effect.Effect<void, import("./graph-node-validation-error.js").GraphNodeValidationFailure, never>;
|
|
9
|
+
//# sourceMappingURL=graph-node-schema-validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-schema-validation.d.ts","sourceRoot":"","sources":["../src/graph-node-schema-validation.ts"],"names":[],"mappings":"AAAA,6LAA6L;AAE7L,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAGjE;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mKAW1C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** Validates native node input, output and optional resume schemas in authoring order before handler or identity construction; schema failures retain their existing graph-node boundary. */
|
|
2
|
+
import { Effect } from "effect";
|
|
3
|
+
import { assertAgentSchemaEffect } from "@relkit/agents/internal/agent-validation-schema";
|
|
4
|
+
import { graphNodeValidationFailure } from "./graph-node-validation-error.js";
|
|
5
|
+
/** Validates each authored schema without invoking the user's node handler.
|
|
6
|
+
* @param options - Input, output and optional resume schema from the original node options.
|
|
7
|
+
* @returns A lazy Effect succeeding after validation or failing with the original graph-node diagnostic.
|
|
8
|
+
*/
|
|
9
|
+
export const validateGraphNodeSchemasEffect = Effect.fn("Agents.graphNode.validateSchemas")(function* (options) {
|
|
10
|
+
const asGraphFailure = (failure) => graphNodeValidationFailure(new TypeError(failure.message));
|
|
11
|
+
yield* assertAgentSchemaEffect(options.input, "input").pipe(Effect.mapError(asGraphFailure));
|
|
12
|
+
yield* assertAgentSchemaEffect(options.output, "output").pipe(Effect.mapError(asGraphFailure));
|
|
13
|
+
if (options.resume !== undefined)
|
|
14
|
+
yield* assertAgentSchemaEffect(options.resume, "resume").pipe(Effect.mapError(asGraphFailure));
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=graph-node-schema-validation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-schema-validation.js","sourceRoot":"","sources":["../src/graph-node-schema-validation.ts"],"names":[],"mappings":"AAAA,6LAA6L;AAE7L,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAE1F,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG,MAAM,CAAC,EAAE,CAAC,kCAAkC,CAAC,CACzF,QAAQ,CAAC,EAAE,OAA0D;IACnE,MAAM,cAAc,GAAG,CAAC,OAAqC,EAAE,EAAE,CAC/D,0BAA0B,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAC7D,KAAK,CAAC,CAAC,uBAAuB,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;IAC7F,KAAK,CAAC,CAAC,uBAAuB,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;IAC/F,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS;QAC9B,KAAK,CAAC,CAAC,uBAAuB,CAAC,OAAO,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,IAAI,CAC3D,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,CAChC,CAAC;AACN,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-symbol.d.ts","sourceRoot":"","sources":["../src/graph-node-symbol.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB,eAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-symbol.js","sourceRoot":"","sources":["../src/graph-node-symbol.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Defines authoring failures for native graph nodes and retains the invalid field for focused descriptor diagnostics. */
|
|
2
|
+
import { Schema } from "effect";
|
|
3
|
+
declare const GraphNodeValidationFailure_base: Schema.Class<GraphNodeValidationFailure, Schema.TaggedStruct<"GraphNodeValidationFailure", {
|
|
4
|
+
readonly message: Schema.String;
|
|
5
|
+
readonly cause: Schema.Unknown;
|
|
6
|
+
}>, import("effect/Cause").YieldableError>;
|
|
7
|
+
/** Tagged graph node validation failure. */
|
|
8
|
+
export declare class GraphNodeValidationFailure extends GraphNodeValidationFailure_base {
|
|
9
|
+
}
|
|
10
|
+
/** Preserves a graph node validation error for Effect callers.
|
|
11
|
+
* @param cause - Schema, destination, or update failure.
|
|
12
|
+
* @returns A tagged graph node failure.
|
|
13
|
+
* @example graphNodeValidationFailure(new TypeError("invalid"));
|
|
14
|
+
*/
|
|
15
|
+
export declare function graphNodeValidationFailure(cause: unknown): GraphNodeValidationFailure;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=graph-node-validation-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-validation-error.d.ts","sourceRoot":"","sources":["../src/graph-node-validation-error.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAE1H,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;AAEhC,4CAA4C;AAC5C,qBAAa,0BAA2B,SAAQ,+BAG/C;CAAG;AAEJ;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,0BAA0B,CAKrF"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** Defines authoring failures for native graph nodes and retains the invalid field for focused descriptor diagnostics. */
|
|
2
|
+
import { Schema } from "effect";
|
|
3
|
+
/** Tagged graph node validation failure. */
|
|
4
|
+
export class GraphNodeValidationFailure extends Schema.TaggedError()("GraphNodeValidationFailure", { message: Schema.String, cause: Schema.Unknown }) {
|
|
5
|
+
}
|
|
6
|
+
/** Preserves a graph node validation error for Effect callers.
|
|
7
|
+
* @param cause - Schema, destination, or update failure.
|
|
8
|
+
* @returns A tagged graph node failure.
|
|
9
|
+
* @example graphNodeValidationFailure(new TypeError("invalid"));
|
|
10
|
+
*/
|
|
11
|
+
export function graphNodeValidationFailure(cause) {
|
|
12
|
+
return new GraphNodeValidationFailure({
|
|
13
|
+
message: cause instanceof Error ? cause.message : String(cause),
|
|
14
|
+
cause,
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=graph-node-validation-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-validation-error.js","sourceRoot":"","sources":["../src/graph-node-validation-error.ts"],"names":[],"mappings":"AAAA,0HAA0H;AAE1H,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,4CAA4C;AAC5C,MAAM,OAAO,0BAA2B,SAAQ,MAAM,CAAC,WAAW,EAA8B,CAC9F,4BAA4B,EAC5B,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,CAClD;CAAG;AAEJ;;;;GAIG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAc;IACvD,OAAO,IAAI,0BAA0B,CAAC;QACpC,OAAO,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;QAC/D,KAAK;KACN,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/** Checks graph node authoring values and callable shapes before construction, keeping runtime callbacks untouched after validation. */
|
|
2
|
+
import { type InferOutput, type StandardSchemaV1 } from "@relkit/schema";
|
|
3
|
+
import { Effect } from "effect";
|
|
4
|
+
/** Checks that native command destinations were declared by the node.
|
|
5
|
+
* @param ends - Declared destinations.
|
|
6
|
+
* @param value - Native command destination or list.
|
|
7
|
+
* @returns An Effect with void or GraphNodeValidationFailure.
|
|
8
|
+
* @example Effect.runSync(validateDestinationsEffect(["next"], "next"));
|
|
9
|
+
*/
|
|
10
|
+
export declare const validateDestinationsEffect: (ends: readonly string[], value: unknown) => Effect.Effect<void, import("./graph-node-validation-error.js").GraphNodeValidationFailure, never>;
|
|
11
|
+
/** Checks native command destinations for existing synchronous callers.
|
|
12
|
+
* @param ends - Declared destinations.
|
|
13
|
+
* @param value - Native command destination or list.
|
|
14
|
+
* @returns Nothing for valid destinations.
|
|
15
|
+
* @throws TypeError for invalid or undeclared destinations.
|
|
16
|
+
* @example validateDestinations(["next"], "next");
|
|
17
|
+
*/
|
|
18
|
+
export declare function validateDestinations(ends: readonly string[], value: unknown): void;
|
|
19
|
+
/** Converts a native command update entry list into an object.
|
|
20
|
+
* @param value - Native update object or entry list.
|
|
21
|
+
* @returns An Effect with an update or GraphNodeValidationFailure.
|
|
22
|
+
* @example Effect.runSync(commandUpdateEffect([["count", 1]]));
|
|
23
|
+
*/
|
|
24
|
+
export declare const commandUpdateEffect: (value: unknown) => Effect.Effect<unknown, import("./graph-node-validation-error.js").GraphNodeValidationFailure, never>;
|
|
25
|
+
/** Converts a native command update for existing synchronous callers.
|
|
26
|
+
* @param value - Native update object or entry list.
|
|
27
|
+
* @returns An update object or the original value.
|
|
28
|
+
* @throws TypeError for malformed entry lists.
|
|
29
|
+
* @example commandUpdate([["count", 1]]);
|
|
30
|
+
*/
|
|
31
|
+
export declare function commandUpdate(value: unknown): unknown;
|
|
32
|
+
/** Validates a graph node output as a record.
|
|
33
|
+
* @param schema - Output schema.
|
|
34
|
+
* @param value - Candidate output.
|
|
35
|
+
* @returns An Effect with a record or GraphNodeValidationFailure.
|
|
36
|
+
* @example await Effect.runPromise(validatedUpdateEffect(schema, output));
|
|
37
|
+
*/
|
|
38
|
+
export declare const validatedUpdateEffect: <Schema extends StandardSchemaV1>(schema: Schema, value: unknown) => Effect.Effect<Extract<InferOutput<Schema>, Record<string, unknown>>, import("./graph-node-validation-error.js").GraphNodeValidationFailure, never>;
|
|
39
|
+
/** Validates a node output for existing Promise callers.
|
|
40
|
+
* @param schema - Output schema.
|
|
41
|
+
* @param value - Candidate output.
|
|
42
|
+
* @returns Validated output record.
|
|
43
|
+
* @throws The original schema or record error.
|
|
44
|
+
* @example await validatedUpdate(schema, output);
|
|
45
|
+
*/
|
|
46
|
+
export declare function validatedUpdate<Schema extends StandardSchemaV1>(schema: Schema, value: unknown): Promise<Extract<InferOutput<Schema>, Record<string, unknown>>>;
|
|
47
|
+
/** Validates a graph node input or output through its Standard Schema.
|
|
48
|
+
* @param schema - Node schema.
|
|
49
|
+
* @param value - Candidate value.
|
|
50
|
+
* @param phase - Input or output diagnostic phase.
|
|
51
|
+
* @returns An Effect with projected value or GraphNodeValidationFailure.
|
|
52
|
+
* @example await Effect.runPromise(validatedValueEffect(schema, input, "input"));
|
|
53
|
+
*/
|
|
54
|
+
export declare const validatedValueEffect: <Schema extends StandardSchemaV1>(schema: Schema, value: unknown, phase: "input" | "output") => Effect.Effect<InferOutput<Schema>, import("./graph-node-validation-error.js").GraphNodeValidationFailure, never>;
|
|
55
|
+
/** Validates a node value for existing Promise callers.
|
|
56
|
+
* @param schema - Node schema.
|
|
57
|
+
* @param value - Candidate value.
|
|
58
|
+
* @param phase - Input or output diagnostic phase.
|
|
59
|
+
* @returns Projected value.
|
|
60
|
+
* @throws The original schema validation error.
|
|
61
|
+
* @example await validatedValue(schema, input, "input");
|
|
62
|
+
*/
|
|
63
|
+
export declare function validatedValue<Schema extends StandardSchemaV1>(schema: Schema, value: unknown, phase: "input" | "output"): Promise<InferOutput<Schema>>;
|
|
64
|
+
//# sourceMappingURL=graph-node-validation-value.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"graph-node-validation-value.d.ts","sourceRoot":"","sources":["../src/graph-node-validation-value.ts"],"names":[],"mappings":"AAAA,wIAAwI;AAExI,OAAO,EAAY,KAAK,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAKhC;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,gJAOtC,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAMlF;AAqBD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,0HAI/B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAMrD;AAcD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,GACrB,MAAM,SAAS,gBAAgB,uLAU3C,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,MAAM,SAAS,gBAAgB,EAC7D,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,OAAO,GACb,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAMhE;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAC9B,MAAM,SAAS,gBAAgB,gLAejC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,MAAM,SAAS,gBAAgB,EAC5D,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,OAAO,EACd,KAAK,EAAE,OAAO,GAAG,QAAQ,GACxB,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAM9B"}
|