@codemation/core 0.10.2 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +183 -0
- package/dist/CostCatalogContract-DZgcUBE4.d.cts +19 -0
- package/dist/{EngineRuntimeRegistration.types-ClLuY1FG.d.ts → EngineRuntimeRegistration.types-BQbS9_gs.d.ts} +2 -2
- package/dist/{EngineRuntimeRegistration.types-BryWi2mA.d.cts → EngineRuntimeRegistration.types-Cggm5GVY.d.cts} +8 -2
- package/dist/{InMemoryRunDataFactory-DeXNJt1O.d.cts → InMemoryRunDataFactory-C7YItvHG.d.cts} +9 -19
- package/dist/{InMemoryRunEventBusRegistry-sM4z4n_i.js → InMemoryRunEventBusRegistry-Bwunvt1T.js} +1 -1
- package/dist/{InMemoryRunEventBusRegistry-sM4z4n_i.js.map → InMemoryRunEventBusRegistry-Bwunvt1T.js.map} +1 -1
- package/dist/{InMemoryRunEventBusRegistry-VM3OWnHo.cjs → InMemoryRunEventBusRegistry-Sa86VxuV.cjs} +1 -1
- package/dist/{InMemoryRunEventBusRegistry-VM3OWnHo.cjs.map → InMemoryRunEventBusRegistry-Sa86VxuV.cjs.map} +1 -1
- package/dist/ItemsInputNormalizer-C_dpn76M.d.cts +407 -0
- package/dist/ItemsInputNormalizer-CwdOhSAK.cjs +43 -0
- package/dist/ItemsInputNormalizer-CwdOhSAK.cjs.map +1 -0
- package/dist/ItemsInputNormalizer-D-MH8MBs.js +36 -0
- package/dist/ItemsInputNormalizer-D-MH8MBs.js.map +1 -0
- package/dist/ItemsInputNormalizer-_Mfcd3YU.d.ts +321 -0
- package/dist/RunIntentService-BVur7x9n.d.ts +285 -0
- package/dist/RunIntentService-CEF-sFfI.d.cts +206 -0
- package/dist/{RunIntentService-BqNjrksF.d.cts → agentMcpTypes-ZiNbNsEi.d.cts} +1717 -1809
- package/dist/bootstrap/index.cjs +4 -2
- package/dist/bootstrap/index.d.cts +8 -3
- package/dist/bootstrap/index.d.ts +6 -4
- package/dist/bootstrap/index.js +4 -2
- package/dist/{bootstrap-DtjQtuvi.cjs → bootstrap-BxuTFTLB.cjs} +41 -34
- package/dist/bootstrap-BxuTFTLB.cjs.map +1 -0
- package/dist/{bootstrap-BfFKGzyj.js → bootstrap-D_Yyi0wL.js} +9 -2
- package/dist/bootstrap-D_Yyi0wL.js.map +1 -0
- package/dist/browser.cjs +16 -0
- package/dist/browser.d.cts +4 -0
- package/dist/browser.d.ts +3 -0
- package/dist/browser.js +4 -0
- package/dist/contracts-CK0x6w_G.cjs +74 -0
- package/dist/contracts-CK0x6w_G.cjs.map +1 -0
- package/dist/contracts-DXdfTdpW.js +50 -0
- package/dist/contracts-DXdfTdpW.js.map +1 -0
- package/dist/contracts.cjs +6 -0
- package/dist/contracts.d.cts +5 -0
- package/dist/contracts.d.ts +2 -0
- package/dist/contracts.js +3 -0
- package/dist/di-0Wop7z1y.js +376 -0
- package/dist/di-0Wop7z1y.js.map +1 -0
- package/dist/di-BlEKdoZS.cjs +489 -0
- package/dist/di-BlEKdoZS.cjs.map +1 -0
- package/dist/executionPersistenceContracts-BgZMRsTa.d.cts +275 -0
- package/dist/{index-CJQtTY_M.d.ts → index-62Ba9f7D.d.ts} +114 -320
- package/dist/{RunIntentService-CI-F8qQ7.d.ts → index-zWGtEhrf.d.ts} +1811 -1914
- package/dist/index.cjs +76 -71
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +112 -656
- package/dist/index.d.ts +5 -3
- package/dist/index.js +52 -50
- package/dist/index.js.map +1 -1
- package/dist/params-B5SENSzZ.d.cts +44 -0
- package/dist/{runtime-_ywksLa6.cjs → runtime-DBzq5YBi.cjs} +125 -489
- package/dist/runtime-DBzq5YBi.cjs.map +1 -0
- package/dist/{runtime-DbMjpb5d.js → runtime-cxmUkk0l.js} +117 -369
- package/dist/runtime-cxmUkk0l.js.map +1 -0
- package/dist/testing.cjs +23 -21
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +4 -3
- package/dist/testing.d.ts +3 -2
- package/dist/testing.js +5 -3
- package/dist/testing.js.map +1 -1
- package/package.json +12 -17
- package/src/ai/AgentConnectionNodeCollector.ts +47 -5
- package/src/authoring/defineNode.types.ts +21 -1
- package/src/authoring/definePollingTrigger.types.ts +20 -0
- package/src/binaries/UnavailableBinaryStorage.ts +6 -0
- package/src/bootstrap/runtime/EngineRuntimeRegistrar.ts +9 -0
- package/src/browser.ts +1 -0
- package/src/contracts/AgentBindError.ts +11 -0
- package/src/contracts/CodemationTelemetryAttributeNames.ts +4 -0
- package/src/contracts/NoOpAgentMcpIntegration.ts +13 -0
- package/src/contracts/agentMcpTypes.ts +64 -0
- package/src/contracts/index.ts +4 -0
- package/src/contracts/mcpTypes.ts +29 -0
- package/src/contracts/runTypes.ts +8 -0
- package/src/contracts/runtimeTypes.ts +4 -0
- package/src/contracts/workflowTypes.ts +21 -0
- package/src/contracts.ts +3 -0
- package/src/credentials/OAuthFlowExecutor.types.ts +45 -0
- package/src/di/CoreTokens.ts +7 -0
- package/src/execution/InProcessRetryRunner.ts +31 -5
- package/src/execution/NodeExecutor.ts +27 -7
- package/src/execution/NodeRunStateWriter.ts +2 -0
- package/src/index.ts +10 -0
- package/src/orchestration/RunContinuationService.ts +6 -2
- package/src/runStorage/InMemoryBinaryStorageRegistry.ts +10 -0
- package/src/scheduler/InlineDrivingScheduler.ts +26 -22
- package/src/types/index.ts +1 -0
- package/src/validation/WorkflowEdgePortError.types.ts +16 -0
- package/src/validation/WorkflowEdgePortValidator.ts +52 -0
- package/src/workflow/definition/ConnectionInvocationIdFactory.ts +4 -3
- package/src/workflow/definition/ConnectionNodeIdFactory.ts +25 -0
- package/src/workflow/definition/NodeIterationIdFactory.ts +5 -3
- package/src/workflowSnapshots/WorkflowSnapshotCodec.ts +42 -10
- package/tsdown.config.ts +1 -1
- package/dist/bootstrap-BfFKGzyj.js.map +0 -1
- package/dist/bootstrap-DtjQtuvi.cjs.map +0 -1
- package/dist/runtime-DbMjpb5d.js.map +0 -1
- package/dist/runtime-_ywksLa6.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const require_di = require('./di-BlEKdoZS.cjs');
|
|
2
|
+
const require_ItemsInputNormalizer = require('./ItemsInputNormalizer-CwdOhSAK.cjs');
|
|
3
|
+
const require_contracts = require('./contracts-CK0x6w_G.cjs');
|
|
4
|
+
const require_runtime = require('./runtime-DBzq5YBi.cjs');
|
|
5
|
+
const require_InMemoryRunEventBusRegistry = require('./InMemoryRunEventBusRegistry-Sa86VxuV.cjs');
|
|
3
6
|
let zod = require("zod");
|
|
4
|
-
zod =
|
|
7
|
+
zod = require_di.__toESM(zod);
|
|
5
8
|
let tsyringe = require("tsyringe");
|
|
6
|
-
tsyringe =
|
|
9
|
+
tsyringe = require_di.__toESM(tsyringe);
|
|
7
10
|
|
|
8
11
|
//#region src/contracts/Clock.ts
|
|
9
12
|
var SystemClock = class {
|
|
@@ -100,6 +103,9 @@ function defineNode(options) {
|
|
|
100
103
|
getCredentialRequirements() {
|
|
101
104
|
return credentialRequirements;
|
|
102
105
|
}
|
|
106
|
+
inspectorSummary() {
|
|
107
|
+
return options.inspectorSummary?.({ config: this.config });
|
|
108
|
+
}
|
|
103
109
|
};
|
|
104
110
|
const definition = {
|
|
105
111
|
kind: "defined-node",
|
|
@@ -146,6 +152,9 @@ function defineBatchNode(options) {
|
|
|
146
152
|
getCredentialRequirements() {
|
|
147
153
|
return credentialRequirements;
|
|
148
154
|
}
|
|
155
|
+
inspectorSummary() {
|
|
156
|
+
return options.inspectorSummary?.({ config: this.config });
|
|
157
|
+
}
|
|
149
158
|
};
|
|
150
159
|
const definition = {
|
|
151
160
|
kind: "defined-node",
|
|
@@ -500,17 +509,21 @@ var DefinedPollingTriggerConfig = class {
|
|
|
500
509
|
kind = "trigger";
|
|
501
510
|
type;
|
|
502
511
|
icon;
|
|
503
|
-
constructor(name, cfg, typeToken, icon, credentialRequirements, id) {
|
|
512
|
+
constructor(name, cfg, typeToken, icon, credentialRequirements, id, inspectorSummaryFn) {
|
|
504
513
|
this.name = name;
|
|
505
514
|
this.cfg = cfg;
|
|
506
515
|
this.credentialRequirements = credentialRequirements;
|
|
507
516
|
this.id = id;
|
|
517
|
+
this.inspectorSummaryFn = inspectorSummaryFn;
|
|
508
518
|
this.type = typeToken;
|
|
509
519
|
this.icon = icon;
|
|
510
520
|
}
|
|
511
521
|
getCredentialRequirements() {
|
|
512
522
|
return this.credentialRequirements;
|
|
513
523
|
}
|
|
524
|
+
inspectorSummary() {
|
|
525
|
+
return this.inspectorSummaryFn?.({ config: this.cfg });
|
|
526
|
+
}
|
|
514
527
|
};
|
|
515
528
|
function isWrappedState(value) {
|
|
516
529
|
return value !== null && typeof value === "object" && "seenKeys" in value && Array.isArray(value.seenKeys);
|
|
@@ -600,7 +613,7 @@ function definePollingTrigger(options) {
|
|
|
600
613
|
title: options.title,
|
|
601
614
|
description: options.description,
|
|
602
615
|
create(cfg, name = options.title, id) {
|
|
603
|
-
return new DefinedPollingTriggerConfig(name, cfg, DefinedPollingTriggerRuntime, options.icon, credentialRequirements, id);
|
|
616
|
+
return new DefinedPollingTriggerConfig(name, cfg, DefinedPollingTriggerRuntime, options.icon, credentialRequirements, id, options.inspectorSummary);
|
|
604
617
|
},
|
|
605
618
|
poll(pollCtx) {
|
|
606
619
|
return options.poll({
|
|
@@ -619,10 +632,10 @@ function definePollingTrigger(options) {
|
|
|
619
632
|
//#region src/ai/AgentToolFactory.ts
|
|
620
633
|
var AgentToolFactoryImpl = class {
|
|
621
634
|
asTool(node$1, options) {
|
|
622
|
-
return new
|
|
635
|
+
return new require_di.NodeBackedToolConfig(options.name ?? node$1.name ?? "tool", node$1, this.withDefaultAgentInputMapper(node$1, options));
|
|
623
636
|
}
|
|
624
637
|
withDefaultAgentInputMapper(node$1, options) {
|
|
625
|
-
if (options.mapInput || !
|
|
638
|
+
if (options.mapInput || !require_di.AgentConfigInspector.isAgentNodeConfig(node$1)) return options;
|
|
626
639
|
return {
|
|
627
640
|
...options,
|
|
628
641
|
mapInput: ({ input, item }) => this.mergeAgentToolInputWithCurrentItem(input, item)
|
|
@@ -677,7 +690,7 @@ var AgentMessageConfigNormalizer = class {
|
|
|
677
690
|
return out;
|
|
678
691
|
}
|
|
679
692
|
static normalizeRichMessages(config, args) {
|
|
680
|
-
if (
|
|
693
|
+
if (require_di.isItemExpr(config)) throw new Error("AIAgent messages wrapped in itemExpr(...) must be resolved by the engine before prompt normalization.");
|
|
681
694
|
if (Array.isArray(config)) return config.map((line) => this.lineToDto(line, args));
|
|
682
695
|
const structured = config;
|
|
683
696
|
const messages = [];
|
|
@@ -754,60 +767,50 @@ var EventPublishingWorkflowExecutionRepository = class {
|
|
|
754
767
|
};
|
|
755
768
|
|
|
756
769
|
//#endregion
|
|
757
|
-
//#region
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
770
|
+
//#region src/validation/WorkflowEdgePortValidator.ts
|
|
771
|
+
var WorkflowEdgePortValidator = class {
|
|
772
|
+
validate(workflow) {
|
|
773
|
+
const nodeById = /* @__PURE__ */ new Map();
|
|
774
|
+
for (const node$1 of workflow.nodes) nodeById.set(node$1.id, node$1);
|
|
775
|
+
const errors = [];
|
|
776
|
+
for (const edge of workflow.edges) {
|
|
777
|
+
const sourceNode = nodeById.get(edge.from.nodeId);
|
|
778
|
+
const allowedPorts = this.allowedOutputPorts(sourceNode);
|
|
779
|
+
if (allowedPorts !== null && !allowedPorts.includes(edge.from.output)) {
|
|
780
|
+
const nodeKind = sourceNode?.config.name ?? sourceNode?.name;
|
|
781
|
+
const message = `Edge from node "${edge.from.nodeId}"${nodeKind ? ` (kind "${nodeKind}")` : ""} references undeclared output port "${edge.from.output}". Allowed ports: [${allowedPorts.map((p) => `"${p}"`).join(", ")}].`;
|
|
782
|
+
errors.push({
|
|
783
|
+
edge,
|
|
784
|
+
sourceNodeId: edge.from.nodeId,
|
|
785
|
+
sourceNodeName: sourceNode?.name,
|
|
786
|
+
sourceNodeKind: nodeKind,
|
|
787
|
+
badPort: edge.from.output,
|
|
788
|
+
allowedPorts,
|
|
789
|
+
message
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
}
|
|
775
793
|
return {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
...raw.meta === void 0 ? {} : { meta: raw.meta },
|
|
779
|
-
...raw.paired === void 0 ? {} : { paired: raw.paired }
|
|
794
|
+
valid: errors.length === 0,
|
|
795
|
+
errors
|
|
780
796
|
};
|
|
781
797
|
}
|
|
782
|
-
|
|
783
|
-
|
|
798
|
+
/**
|
|
799
|
+
* Returns the declared output ports for a node, or null if the node is
|
|
800
|
+
* unknown / has no declared ports (legacy nodes — treat as unconstrained).
|
|
801
|
+
*/
|
|
802
|
+
allowedOutputPorts(node$1) {
|
|
803
|
+
if (!node$1) return null;
|
|
804
|
+
const declared = node$1.config.declaredOutputPorts;
|
|
805
|
+
if (declared && declared.length > 0) return declared;
|
|
806
|
+
return null;
|
|
784
807
|
}
|
|
785
808
|
};
|
|
786
|
-
ItemsInputNormalizer = __decorate([(0, tsyringe.injectable)()], ItemsInputNormalizer);
|
|
787
|
-
|
|
788
|
-
//#endregion
|
|
789
|
-
//#region src/contracts/assertionTypes.ts
|
|
790
|
-
/**
|
|
791
|
-
* Default {@link AssertionResult.passThreshold} when authors omit it. Boolean-style assertions
|
|
792
|
-
* (assertEqual / contains / etc.) emit `score: 1` or `score: 0` so this default works for them;
|
|
793
|
-
* AI-judge assertions are expected to set their own threshold.
|
|
794
|
-
*/
|
|
795
|
-
const DEFAULT_ASSERTION_PASS_THRESHOLD = .5;
|
|
796
|
-
/**
|
|
797
|
-
* Derive whether an assertion result is considered "passing" using the score-based contract:
|
|
798
|
-
* `errored` always fails, otherwise `score >= (passThreshold ?? 0.5)`. This is the canonical
|
|
799
|
-
* derivation — UI and rollup code should call it rather than inlining the comparison so future
|
|
800
|
-
* tweaks (e.g. NaN handling) land in one place.
|
|
801
|
-
*/
|
|
802
|
-
function deriveAssertionPassed(result) {
|
|
803
|
-
if (result.errored === true) return false;
|
|
804
|
-
const threshold = result.passThreshold ?? DEFAULT_ASSERTION_PASS_THRESHOLD;
|
|
805
|
-
return result.score >= threshold;
|
|
806
|
-
}
|
|
807
809
|
|
|
808
810
|
//#endregion
|
|
809
|
-
exports.
|
|
810
|
-
exports.
|
|
811
|
+
exports.AgentBindError = require_contracts.AgentBindError;
|
|
812
|
+
exports.AgentConfigInspector = require_di.AgentConfigInspector;
|
|
813
|
+
exports.AgentConnectionNodeCollector = require_di.AgentConnectionNodeCollector;
|
|
811
814
|
exports.AgentGuardrailDefaults = AgentGuardrailDefaults;
|
|
812
815
|
exports.AgentMessageConfigNormalizer = AgentMessageConfigNormalizer;
|
|
813
816
|
exports.AgentToolFactory = AgentToolFactory;
|
|
@@ -821,13 +824,13 @@ exports.CodemationTelemetryAttributeNames = require_runtime.CodemationTelemetryA
|
|
|
821
824
|
exports.CodemationTelemetryMetricNames = require_runtime.CodemationTelemetryMetricNames;
|
|
822
825
|
exports.ConnectionInvocationEventPublisher = require_runtime.ConnectionInvocationEventPublisher;
|
|
823
826
|
exports.ConnectionInvocationIdFactory = require_runtime.ConnectionInvocationIdFactory;
|
|
824
|
-
exports.ConnectionNodeIdFactory =
|
|
825
|
-
exports.CoreTokens =
|
|
827
|
+
exports.ConnectionNodeIdFactory = require_di.ConnectionNodeIdFactory;
|
|
828
|
+
exports.CoreTokens = require_di.CoreTokens;
|
|
826
829
|
exports.CostTrackingTelemetryAttributeNames = require_runtime.CostTrackingTelemetryAttributeNames;
|
|
827
830
|
exports.CostTrackingTelemetryMetricNames = require_runtime.CostTrackingTelemetryMetricNames;
|
|
828
831
|
exports.CredentialResolverFactory = require_runtime.CredentialResolverFactory;
|
|
829
|
-
exports.CredentialUnboundError =
|
|
830
|
-
exports.DEFAULT_ASSERTION_PASS_THRESHOLD = DEFAULT_ASSERTION_PASS_THRESHOLD;
|
|
832
|
+
exports.CredentialUnboundError = require_di.CredentialUnboundError;
|
|
833
|
+
exports.DEFAULT_ASSERTION_PASS_THRESHOLD = require_contracts.DEFAULT_ASSERTION_PASS_THRESHOLD;
|
|
831
834
|
exports.DefaultAsyncSleeper = require_runtime.DefaultAsyncSleeper;
|
|
832
835
|
exports.DefaultExecutionBinaryService = require_runtime.DefaultExecutionBinaryService;
|
|
833
836
|
exports.DefaultExecutionContextFactory = require_runtime.DefaultExecutionContextFactory;
|
|
@@ -849,9 +852,10 @@ exports.ItemExprResolver = require_runtime.ItemExprResolver;
|
|
|
849
852
|
Object.defineProperty(exports, 'ItemsInputNormalizer', {
|
|
850
853
|
enumerable: true,
|
|
851
854
|
get: function () {
|
|
852
|
-
return ItemsInputNormalizer;
|
|
855
|
+
return require_ItemsInputNormalizer.ItemsInputNormalizer;
|
|
853
856
|
}
|
|
854
857
|
});
|
|
858
|
+
exports.NoOpAgentMcpIntegration = require_contracts.NoOpAgentMcpIntegration;
|
|
855
859
|
exports.NoOpCostTrackingTelemetry = require_runtime.NoOpCostTrackingTelemetry;
|
|
856
860
|
exports.NoOpCostTrackingTelemetryFactory = require_runtime.NoOpCostTrackingTelemetryFactory;
|
|
857
861
|
exports.NoOpExecutionTelemetry = require_runtime.NoOpExecutionTelemetry;
|
|
@@ -861,17 +865,17 @@ exports.NoOpPollingTriggerLogger = require_runtime.NoOpPollingTriggerLogger;
|
|
|
861
865
|
exports.NoOpTelemetryArtifactReference = require_runtime.NoOpTelemetryArtifactReference;
|
|
862
866
|
exports.NoOpTelemetrySpanScope = require_runtime.NoOpTelemetrySpanScope;
|
|
863
867
|
exports.NoRetryPolicy = require_runtime.NoRetryPolicy;
|
|
864
|
-
exports.NodeBackedToolConfig =
|
|
868
|
+
exports.NodeBackedToolConfig = require_di.NodeBackedToolConfig;
|
|
865
869
|
exports.NodeEventPublisher = require_runtime.NodeEventPublisher;
|
|
866
870
|
exports.NodeIdSlugifier = require_runtime.NodeIdSlugifier;
|
|
867
|
-
exports.NodeIterationIdFactory =
|
|
871
|
+
exports.NodeIterationIdFactory = require_di.NodeIterationIdFactory;
|
|
868
872
|
exports.NodeOutputNormalizer = require_runtime.NodeOutputNormalizer;
|
|
869
873
|
exports.PersistedRuntimeTypeMetadataStore = require_runtime.PersistedRuntimeTypeMetadataStore;
|
|
870
874
|
exports.PersistedRuntimeTypeNameResolver = require_runtime.PersistedRuntimeTypeNameResolver;
|
|
871
875
|
exports.PollingTriggerDedupWindow = require_runtime.PollingTriggerDedupWindow;
|
|
872
876
|
exports.PollingTriggerRuntime = require_runtime.PollingTriggerRuntime;
|
|
873
877
|
exports.RetryPolicy = require_runtime.RetryPolicy;
|
|
874
|
-
exports.RunFinishedAtFactory =
|
|
878
|
+
exports.RunFinishedAtFactory = require_di.RunFinishedAtFactory;
|
|
875
879
|
exports.RunIntentService = require_runtime.RunIntentService;
|
|
876
880
|
exports.RunnableOutputBehaviorResolver = require_runtime.RunnableOutputBehaviorResolver;
|
|
877
881
|
exports.StackTraceCallSitePathResolver = require_runtime.StackTraceCallSitePathResolver;
|
|
@@ -880,9 +884,10 @@ exports.UnavailableBinaryStorage = require_runtime.UnavailableBinaryStorage;
|
|
|
880
884
|
exports.WhenBuilder = require_runtime.WhenBuilder;
|
|
881
885
|
exports.WorkflowBuilder = require_runtime.WorkflowBuilder;
|
|
882
886
|
exports.WorkflowDefinitionError = require_runtime.WorkflowDefinitionError;
|
|
887
|
+
exports.WorkflowEdgePortValidator = WorkflowEdgePortValidator;
|
|
883
888
|
exports.WorkflowExecutableNodeClassifier = require_runtime.WorkflowExecutableNodeClassifier;
|
|
884
889
|
exports.WorkflowExecutableNodeClassifierFactory = require_runtime.WorkflowExecutableNodeClassifierFactory;
|
|
885
|
-
exports.branchRef =
|
|
890
|
+
exports.branchRef = require_di.branchRef;
|
|
886
891
|
exports.c = c;
|
|
887
892
|
exports.callableTool = callableTool;
|
|
888
893
|
exports.chatModel = require_runtime.chatModel;
|
|
@@ -903,7 +908,7 @@ Object.defineProperty(exports, 'delay', {
|
|
|
903
908
|
return tsyringe.delay;
|
|
904
909
|
}
|
|
905
910
|
});
|
|
906
|
-
exports.deriveAssertionPassed = deriveAssertionPassed;
|
|
911
|
+
exports.deriveAssertionPassed = require_contracts.deriveAssertionPassed;
|
|
907
912
|
exports.emitPorts = require_runtime.emitPorts;
|
|
908
913
|
exports.getOriginIndexFromItem = require_runtime.getOriginIndexFromItem;
|
|
909
914
|
exports.getPersistedRuntimeTypeMetadata = require_runtime.getPersistedRuntimeTypeMetadata;
|
|
@@ -937,12 +942,12 @@ Object.defineProperty(exports, 'instancePerContainerCachingFactory', {
|
|
|
937
942
|
return tsyringe.instancePerContainerCachingFactory;
|
|
938
943
|
}
|
|
939
944
|
});
|
|
940
|
-
exports.isItemExpr =
|
|
945
|
+
exports.isItemExpr = require_di.isItemExpr;
|
|
941
946
|
exports.isPortsEmission = require_runtime.isPortsEmission;
|
|
942
947
|
exports.isUnbrandedPortsEmissionShape = require_runtime.isUnbrandedPortsEmissionShape;
|
|
943
|
-
exports.itemExpr =
|
|
948
|
+
exports.itemExpr = require_di.itemExpr;
|
|
944
949
|
exports.node = require_runtime.node;
|
|
945
|
-
exports.nodeRef =
|
|
950
|
+
exports.nodeRef = require_di.nodeRef;
|
|
946
951
|
Object.defineProperty(exports, 'predicateAwareClassFactory', {
|
|
947
952
|
enumerable: true,
|
|
948
953
|
get: function () {
|
|
@@ -955,8 +960,8 @@ Object.defineProperty(exports, 'registry', {
|
|
|
955
960
|
return tsyringe.registry;
|
|
956
961
|
}
|
|
957
962
|
});
|
|
958
|
-
exports.resolveItemExprsForExecution =
|
|
959
|
-
exports.resolveItemExprsInUnknown =
|
|
963
|
+
exports.resolveItemExprsForExecution = require_di.resolveItemExprsForExecution;
|
|
964
|
+
exports.resolveItemExprsInUnknown = require_di.resolveItemExprsInUnknown;
|
|
960
965
|
Object.defineProperty(exports, 'singleton', {
|
|
961
966
|
enumerable: true,
|
|
962
967
|
get: function () {
|