@codemation/host 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/{AppConfigFactory-BPp02HMv.js → AppConfigFactory-C4OXGOs2.js} +16 -7
  3. package/dist/{AppConfigFactory-BPp02HMv.js.map → AppConfigFactory-C4OXGOs2.js.map} +1 -1
  4. package/dist/{AppConfigFactory-PFmDg5Sg.d.ts → AppConfigFactory-D3k-R3Ch.d.ts} +338 -6
  5. package/dist/{AppContainerFactory-Cr3JeVmg.js → AppContainerFactory-CKRDz8kQ.js} +409 -92
  6. package/dist/AppContainerFactory-CKRDz8kQ.js.map +1 -0
  7. package/dist/{CodemationAppContext-DP_-56c6.d.ts → CodemationAppContext-YgJRUHWF.d.ts} +2 -2
  8. package/dist/{CodemationAuthoring.types-Cr2QZsUX.d.ts → CodemationAuthoring.types-lUdxXYq-.d.ts} +3 -3
  9. package/dist/{CodemationConfigNormalizer-B8RGUwAe.d.ts → CodemationConfigNormalizer-BWBp7mFB.d.ts} +2 -2
  10. package/dist/{CodemationConsumerConfigLoader-C_QVwcI3.d.ts → CodemationConsumerConfigLoader-Bka3v6lh.d.ts} +2 -2
  11. package/dist/{CodemationPluginListMerger-Bgn1CIX9.d.ts → CodemationPluginListMerger-Oz-GAkxz.d.ts} +17 -5
  12. package/dist/{CredentialServices-95DPogx-.d.ts → CredentialServices-CKXPg5xu.d.ts} +3 -3
  13. package/dist/{PublicFrontendBootstrapFactory-C_iLgPV-.d.ts → PublicFrontendBootstrapFactory-DkQoSYDo.d.ts} +2 -2
  14. package/dist/authoring.d.ts +3 -3
  15. package/dist/consumer.d.ts +4 -4
  16. package/dist/credentials.d.ts +3 -3
  17. package/dist/devServerSidecar.d.ts +1 -1
  18. package/dist/{index-W4eSjdCM.d.ts → index-BxIc_L4D.d.ts} +233 -151
  19. package/dist/index.d.ts +11 -11
  20. package/dist/index.js +4 -4
  21. package/dist/nextServer.d.ts +7 -7
  22. package/dist/nextServer.js +2 -2
  23. package/dist/{persistenceServer-_pqP_0nw.d.ts → persistenceServer-BLG7_6B5.d.ts} +2 -2
  24. package/dist/{persistenceServer-CA0_q0D7.js → persistenceServer-KyHL0u01.js} +2 -2
  25. package/dist/{persistenceServer-CA0_q0D7.js.map → persistenceServer-KyHL0u01.js.map} +1 -1
  26. package/dist/persistenceServer.d.ts +5 -5
  27. package/dist/persistenceServer.js +2 -2
  28. package/dist/{server-Q5uwa6iR.d.ts → server-B0SD6Nvk.d.ts} +5 -5
  29. package/dist/{server-BE4PLhcb.js → server-CMUVhYIc.js} +3 -3
  30. package/dist/{server-BE4PLhcb.js.map → server-CMUVhYIc.js.map} +1 -1
  31. package/dist/server.d.ts +8 -8
  32. package/dist/server.js +4 -4
  33. package/package.json +5 -5
  34. package/prisma/migrations/20260430120000_telemetry_iteration_identity/migration.sql +17 -0
  35. package/prisma/migrations/20260430130000_execution_instance_iteration_identity/migration.sql +11 -0
  36. package/prisma/migrations.sqlite/20260430120000_telemetry_iteration_identity/migration.sql +14 -0
  37. package/prisma/migrations.sqlite/20260430130000_execution_instance_iteration_identity/migration.sql +10 -0
  38. package/prisma/schema.postgresql.prisma +12 -0
  39. package/prisma/schema.sqlite.prisma +12 -0
  40. package/src/application/contracts/IterationCostContracts.ts +11 -0
  41. package/src/application/queries/GetIterationCostQuery.ts +14 -0
  42. package/src/application/queries/GetIterationCostQueryHandler.ts +92 -0
  43. package/src/application/queries/GetWorkflowRunDetailQueryHandler.ts +44 -2
  44. package/src/application/queries/RunIterationProjectionFactory.ts +123 -0
  45. package/src/application/queries/WorkflowQueryHandlers.ts +1 -0
  46. package/src/application/telemetry/OtelExecutionTelemetry.types.ts +3 -0
  47. package/src/application/telemetry/RunEventBusTelemetryReporter.ts +7 -0
  48. package/src/application/telemetry/StoredNodeExecutionTelemetry.ts +14 -0
  49. package/src/application/telemetry/StoredTelemetrySpanScope.ts +90 -1
  50. package/src/bootstrap/AppContainerFactory.ts +5 -0
  51. package/src/domain/telemetry/TelemetryContracts.ts +12 -0
  52. package/src/infrastructure/persistence/InMemoryTelemetryMetricPointStore.ts +3 -0
  53. package/src/infrastructure/persistence/InMemoryTelemetrySpanStore.ts +3 -0
  54. package/src/infrastructure/persistence/InMemoryWorkflowRunRepository.ts +23 -0
  55. package/src/infrastructure/persistence/PrismaTelemetryMetricPointStore.ts +9 -0
  56. package/src/infrastructure/persistence/PrismaTelemetrySpanStore.ts +6 -0
  57. package/src/infrastructure/persistence/PrismaWorkflowRunRepository.ts +12 -0
  58. package/src/infrastructure/persistence/generated/prisma-postgresql-client/edge.js +15 -6
  59. package/src/infrastructure/persistence/generated/prisma-postgresql-client/index-browser.js +11 -2
  60. package/src/infrastructure/persistence/generated/prisma-postgresql-client/index.d.ts +343 -5
  61. package/src/infrastructure/persistence/generated/prisma-postgresql-client/index.js +15 -6
  62. package/src/infrastructure/persistence/generated/prisma-postgresql-client/package.json +1 -1
  63. package/src/infrastructure/persistence/generated/prisma-postgresql-client/schema.prisma +12 -0
  64. package/src/infrastructure/persistence/generated/prisma-sqlite-client/edge.js +15 -6
  65. package/src/infrastructure/persistence/generated/prisma-sqlite-client/index-browser.js +11 -2
  66. package/src/infrastructure/persistence/generated/prisma-sqlite-client/index.d.ts +343 -5
  67. package/src/infrastructure/persistence/generated/prisma-sqlite-client/index.js +15 -6
  68. package/src/infrastructure/persistence/generated/prisma-sqlite-client/package.json +1 -1
  69. package/src/infrastructure/persistence/generated/prisma-sqlite-client/schema.prisma +12 -0
  70. package/dist/AppContainerFactory-Cr3JeVmg.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { G as EngineExecutionLimitsPolicyConfig, I as WorkflowDefinition, U as Container, W as TypeToken, l as AnyCredentialType } from "./index-W4eSjdCM.js";
1
+ import { G as EngineExecutionLimitsPolicyConfig, I as WorkflowDefinition, U as Container, W as TypeToken, l as AnyCredentialType } from "./index-BxIc_L4D.js";
2
2
  import { a as CodemationAuthConfig, n as CodemationLogConfig, t as CodemationWhitelabelConfig, u as LoggerFactory } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
3
3
 
4
4
  //#region src/presentation/config/CodemationClassToken.d.ts
@@ -177,4 +177,4 @@ interface CodemationAppContext extends CodemationRegistrationContextBase {
177
177
  }
178
178
  //#endregion
179
179
  export { CodemationContainerRegistration as C, CodemationWorkflowDiscovery as S, CodemationEngineExecutionLimitsConfig as _, AppPluginLoadSummary as a, CodemationSchedulerConfig as b, CodemationPluginContext as c, CodemationAppSchedulerConfig as d, CodemationAppSchedulerKind as f, CodemationDatabaseKind as g, CodemationDatabaseConfig as h, AppPersistenceConfig as i, CodemationPluginPackageMetadata as l, CodemationConfig as m, CodemationRegistrationContextBase as n, CodemationPlugin as o, CodemationApplicationRuntimeConfig as p, AppConfig as r, CodemationPluginConfig as s, CodemationAppContext as t, CodemationAppDefinition as u, CodemationEventBusConfig as v, CodemationClassToken as w, CodemationSchedulerKind as x, CodemationEventBusKind as y };
180
- //# sourceMappingURL=CodemationAppContext-DP_-56c6.d.ts.map
180
+ //# sourceMappingURL=CodemationAppContext-YgJRUHWF.d.ts.map
@@ -1,5 +1,5 @@
1
- import { A as Items, F as RunnableNodeOutputJson, I as WorkflowDefinition, J as ChainCursor, P as RunnableNodeConfig, W as TypeToken, Y as AnyRunnableNodeConfig, a as ChatModelConfig, c as DefinedNodeConfigInput, g as CredentialJsonRecord, i as AgentMessageConfig, k as Item, l as AnyCredentialType, o as ToolConfig, r as AgentGuardrailConfig, s as DefinedNode, z as NodeExecutionContext } from "./index-W4eSjdCM.js";
2
- import { c as CodemationPluginContext, m as CodemationConfig, o as CodemationPlugin, t as CodemationAppContext } from "./CodemationAppContext-DP_-56c6.js";
1
+ import { A as Items, F as RunnableNodeOutputJson, I as WorkflowDefinition, J as ChainCursor, P as RunnableNodeConfig, W as TypeToken, Y as AnyRunnableNodeConfig, a as ChatModelConfig, c as DefinedNodeConfigInput, g as CredentialJsonRecord, i as AgentMessageConfig, k as Item, l as AnyCredentialType, o as ToolConfig, r as AgentGuardrailConfig, s as DefinedNode, z as NodeExecutionContext } from "./index-BxIc_L4D.js";
2
+ import { c as CodemationPluginContext, m as CodemationConfig, o as CodemationPlugin, t as CodemationAppContext } from "./CodemationAppContext-YgJRUHWF.js";
3
3
  import { t as CodemationWhitelabelConfig } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
4
4
  import { ZodType, z } from "zod";
5
5
  import "ai";
@@ -261,4 +261,4 @@ declare function definePlugin(options: DefinePluginOptions): CodemationPlugin &
261
261
  }>;
262
262
  //#endregion
263
263
  export { defineCodemationApp as a, FriendlyCodemationExecutionConfig as i, DefinePluginOptions as n, definePlugin as o, FriendlyCodemationDatabaseConfig as r, workflow as s, DefineCodemationAppOptions as t };
264
- //# sourceMappingURL=CodemationAuthoring.types-Cr2QZsUX.d.ts.map
264
+ //# sourceMappingURL=CodemationAuthoring.types-lUdxXYq-.d.ts.map
@@ -1,4 +1,4 @@
1
- import { C as CodemationContainerRegistration, m as CodemationConfig } from "./CodemationAppContext-DP_-56c6.js";
1
+ import { C as CodemationContainerRegistration, m as CodemationConfig } from "./CodemationAppContext-YgJRUHWF.js";
2
2
 
3
3
  //#region src/presentation/config/CodemationConfigNormalizer.d.ts
4
4
  type NormalizedCodemationConfig = CodemationConfig & Readonly<{
@@ -6,4 +6,4 @@ type NormalizedCodemationConfig = CodemationConfig & Readonly<{
6
6
  }>;
7
7
  //#endregion
8
8
  export { NormalizedCodemationConfig as t };
9
- //# sourceMappingURL=CodemationConfigNormalizer-B8RGUwAe.d.ts.map
9
+ //# sourceMappingURL=CodemationConfigNormalizer-BWBp7mFB.d.ts.map
@@ -1,4 +1,4 @@
1
- import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-B8RGUwAe.js";
1
+ import { t as NormalizedCodemationConfig } from "./CodemationConfigNormalizer-BWBp7mFB.js";
2
2
 
3
3
  //#region src/presentation/server/CodemationConsumerAppResolver.d.ts
4
4
  type CodemationConsumerApp = Readonly<{
@@ -63,4 +63,4 @@ declare class CodemationConsumerConfigLoader {
63
63
  }
64
64
  //#endregion
65
65
  export { CodemationConsumerAppResolver as i, CodemationConsumerConfigResolution as n, CodemationConsumerApp as r, CodemationConsumerConfigLoader as t };
66
- //# sourceMappingURL=CodemationConsumerConfigLoader-C_QVwcI3.d.ts.map
66
+ //# sourceMappingURL=CodemationConsumerConfigLoader-Bka3v6lh.d.ts.map
@@ -1,9 +1,9 @@
1
- import { $ as PersistedRunState, B as NodeExecutionRequestHandler, H as WorkflowRepository, I as WorkflowDefinition, K as RunEvent, L as WorkflowId, M as RunId, Q as WorkflowRunDetailDto, R as BinaryStorage, U as Container, V as NodeExecutionScheduler, W as TypeToken, X as WorkflowActivationPolicy, at as TelemetryMetricRecord, et as RunCurrentState, it as TelemetryAttributes, j as PersistedRunPolicySnapshot, l as AnyCredentialType, n as Engine, nt as RunSummary, ot as TelemetrySpanEventRecord, q as RunEventBus, rt as TelemetryArtifactAttachment, st as Clock, tt as RunPruneCandidate } from "./index-W4eSjdCM.js";
2
- import { C as CodemationContainerRegistration, l as CodemationPluginPackageMetadata, o as CodemationPlugin, r as AppConfig } from "./CodemationAppContext-DP_-56c6.js";
1
+ import { $ as TelemetryArtifactAttachment, B as NodeExecutionRequestHandler, H as WorkflowRepository, I as WorkflowDefinition, K as RunEvent, L as WorkflowId, M as RunId, Q as WorkflowRunDetailDto, R as BinaryStorage, U as Container, V as NodeExecutionScheduler, W as TypeToken, X as WorkflowActivationPolicy, at as RunPruneCandidate, et as TelemetryAttributes, it as RunCurrentState, j as PersistedRunPolicySnapshot, l as AnyCredentialType, n as Engine, nt as TelemetrySpanEventRecord, ot as RunSummary, q as RunEventBus, rt as PersistedRunState, st as Clock, tt as TelemetryMetricRecord } from "./index-BxIc_L4D.js";
2
+ import { C as CodemationContainerRegistration, l as CodemationPluginPackageMetadata, o as CodemationPlugin, r as AppConfig } from "./CodemationAppContext-YgJRUHWF.js";
3
3
  import { a as CodemationAuthConfig, l as Logger, t as CodemationWhitelabelConfig, u as LoggerFactory } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
4
4
  import { t as LogLevelPolicy } from "./LogLevelPolicy-CkiJAH75.js";
5
- import { t as CredentialStore } from "./CredentialServices-95DPogx-.js";
6
- import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient } from "./AppConfigFactory-PFmDg5Sg.js";
5
+ import { t as CredentialStore } from "./CredentialServices-CKXPg5xu.js";
6
+ import { n as PrismaMigrationDeployer, r as PrismaDatabaseClient } from "./AppConfigFactory-D3k-R3Ch.js";
7
7
  import "reflect-metadata";
8
8
  import { Hono } from "hono";
9
9
 
@@ -197,6 +197,9 @@ interface TelemetrySpanRecord {
197
197
  readonly attributes?: TelemetryAttributes;
198
198
  readonly events?: ReadonlyArray<TelemetrySpanEventRecord>;
199
199
  readonly retentionExpiresAt?: string;
200
+ readonly iterationId?: string;
201
+ readonly itemIndex?: number;
202
+ readonly parentInvocationId?: string;
200
203
  }
201
204
  interface TelemetrySpanUpsert {
202
205
  readonly traceId: string;
@@ -220,6 +223,9 @@ interface TelemetrySpanUpsert {
220
223
  readonly attributes?: TelemetryAttributes;
221
224
  readonly events?: ReadonlyArray<TelemetrySpanEventRecord>;
222
225
  readonly retentionExpiresAt?: string;
226
+ readonly iterationId?: string;
227
+ readonly itemIndex?: number;
228
+ readonly parentInvocationId?: string;
223
229
  }
224
230
  interface TelemetryArtifactRecord {
225
231
  readonly artifactId: string;
@@ -268,6 +274,9 @@ interface TelemetryMetricPointRecord {
268
274
  readonly modelName?: string;
269
275
  readonly dimensions?: TelemetryAttributes;
270
276
  readonly retentionExpiresAt?: string;
277
+ readonly iterationId?: string;
278
+ readonly itemIndex?: number;
279
+ readonly parentInvocationId?: string;
271
280
  }
272
281
  interface TelemetryMetricPointWrite extends TelemetryMetricRecord {
273
282
  readonly traceId?: string;
@@ -282,6 +291,9 @@ interface TelemetryMetricPointWrite extends TelemetryMetricRecord {
282
291
  readonly nodeRole?: string;
283
292
  readonly modelName?: string;
284
293
  readonly retentionExpiresAt?: string;
294
+ readonly iterationId?: string;
295
+ readonly itemIndex?: number;
296
+ readonly parentInvocationId?: string;
285
297
  }
286
298
  interface TelemetrySpanListQuery {
287
299
  readonly traceId?: string;
@@ -671,4 +683,4 @@ declare class CodemationPluginListMerger {
671
683
  }
672
684
  //#endregion
673
685
  export { Command as S, AppContainerFactory as _, WorkflowDebuggerOverlayRepository as a, Query as b, FrontendRuntime as c, LogLevelPolicyFactory as d, logLevelPolicyFactory as f, AppContainerLifecycle as g, DatabaseMigrations as h, HonoApiRouteRegistrar as i, WorkflowRunRetentionPruneScheduler as l, WorkflowRunRepository as m, CodemationBootstrapRequest as n, SessionVerifier as o, LogFilter as p, ApplicationTokens as r, WorkerRuntime as s, CodemationPluginListMerger as t, ServerLoggerFactory as u, WorkflowWebsocketServer as v, CommandBus as x, QueryBus as y };
674
- //# sourceMappingURL=CodemationPluginListMerger-Bgn1CIX9.d.ts.map
686
+ //# sourceMappingURL=CodemationPluginListMerger-Oz-GAkxz.d.ts.map
@@ -1,5 +1,5 @@
1
- import { C as CredentialType, E as CredentialTypeRegistry, H as WorkflowRepository, I as WorkflowDefinition, S as CredentialSetupStatus, T as CredentialTypeId, _ as CredentialMaterialSourceKind, d as CredentialBindingKey, f as CredentialFieldSchema, g as CredentialJsonRecord, h as CredentialInstanceRecord, l as AnyCredentialType, m as CredentialInstanceId, p as CredentialHealth, u as CredentialBinding, v as CredentialOAuth2AuthDefinition, w as CredentialTypeDefinition, x as CredentialSessionService, y as CredentialRequirement } from "./index-W4eSjdCM.js";
2
- import { r as AppConfig } from "./CodemationAppContext-DP_-56c6.js";
1
+ import { C as CredentialType, E as CredentialTypeRegistry, H as WorkflowRepository, I as WorkflowDefinition, S as CredentialSetupStatus, T as CredentialTypeId, _ as CredentialMaterialSourceKind, d as CredentialBindingKey, f as CredentialFieldSchema, g as CredentialJsonRecord, h as CredentialInstanceRecord, l as AnyCredentialType, m as CredentialInstanceId, p as CredentialHealth, u as CredentialBinding, v as CredentialOAuth2AuthDefinition, w as CredentialTypeDefinition, x as CredentialSessionService, y as CredentialRequirement } from "./index-BxIc_L4D.js";
2
+ import { r as AppConfig } from "./CodemationAppContext-YgJRUHWF.js";
3
3
 
4
4
  //#region src/domain/credentials/CredentialTypeRegistryImpl.d.ts
5
5
  declare class CredentialTypeRegistryImpl implements CredentialTypeRegistry {
@@ -298,4 +298,4 @@ type MutableCredentialSessionService = CredentialSessionService & Readonly<{
298
298
  }>;
299
299
  //#endregion
300
300
  export { CredentialInstanceService as a, CredentialSecretCipher as c, CredentialBindingService as i, CredentialFieldEnvOverlayService as l, CredentialType$1 as n, CredentialOAuth2ScopeResolver as o, CredentialRuntimeMaterialService as r, CredentialMaterialResolver as s, CredentialStore as t, CredentialTypeRegistryImpl as u };
301
- //# sourceMappingURL=CredentialServices-95DPogx-.d.ts.map
301
+ //# sourceMappingURL=CredentialServices-CKXPg5xu.d.ts.map
@@ -1,4 +1,4 @@
1
- import { r as AppConfig } from "./CodemationAppContext-DP_-56c6.js";
1
+ import { r as AppConfig } from "./CodemationAppContext-YgJRUHWF.js";
2
2
  import { a as CodemationAuthConfig } from "./CodemationWhitelabelConfig-D5rYcLlj.js";
3
3
  import { a as CodemationFrontendAuthSnapshot, n as InternalAuthBootstrap, r as FrontendAppConfig, t as PublicFrontendBootstrap } from "./PublicFrontendBootstrap-ci0Vwxrb.js";
4
4
 
@@ -90,4 +90,4 @@ declare class PublicFrontendBootstrapFactory {
90
90
  }
91
91
  //#endregion
92
92
  export { WorkflowDto as a, CodemationFrontendAuthSnapshotFactory as i, InternalAuthBootstrapFactory as n, WorkflowSummary as o, FrontendAppConfigFactory as r, PublicFrontendBootstrapFactory as t };
93
- //# sourceMappingURL=PublicFrontendBootstrapFactory-C_iLgPV-.d.ts.map
93
+ //# sourceMappingURL=PublicFrontendBootstrapFactory-DkQoSYDo.d.ts.map
@@ -1,5 +1,5 @@
1
- import "./index-W4eSjdCM.js";
2
- import { a as defineCodemationApp, i as FriendlyCodemationExecutionConfig, n as DefinePluginOptions, o as definePlugin, r as FriendlyCodemationDatabaseConfig, s as workflow, t as DefineCodemationAppOptions } from "./CodemationAuthoring.types-Cr2QZsUX.js";
3
- import { _ as CodemationEngineExecutionLimitsConfig, b as CodemationSchedulerConfig, c as CodemationPluginContext, d as CodemationAppSchedulerConfig, f as CodemationAppSchedulerKind, g as CodemationDatabaseKind, h as CodemationDatabaseConfig, m as CodemationConfig, n as CodemationRegistrationContextBase, o as CodemationPlugin, p as CodemationApplicationRuntimeConfig, s as CodemationPluginConfig, t as CodemationAppContext, u as CodemationAppDefinition, v as CodemationEventBusConfig, x as CodemationSchedulerKind, y as CodemationEventBusKind } from "./CodemationAppContext-DP_-56c6.js";
1
+ import "./index-BxIc_L4D.js";
2
+ import { a as defineCodemationApp, i as FriendlyCodemationExecutionConfig, n as DefinePluginOptions, o as definePlugin, r as FriendlyCodemationDatabaseConfig, s as workflow, t as DefineCodemationAppOptions } from "./CodemationAuthoring.types-lUdxXYq-.js";
3
+ import { _ as CodemationEngineExecutionLimitsConfig, b as CodemationSchedulerConfig, c as CodemationPluginContext, d as CodemationAppSchedulerConfig, f as CodemationAppSchedulerKind, g as CodemationDatabaseKind, h as CodemationDatabaseConfig, m as CodemationConfig, n as CodemationRegistrationContextBase, o as CodemationPlugin, p as CodemationApplicationRuntimeConfig, s as CodemationPluginConfig, t as CodemationAppContext, u as CodemationAppDefinition, v as CodemationEventBusConfig, x as CodemationSchedulerKind, y as CodemationEventBusKind } from "./CodemationAppContext-YgJRUHWF.js";
4
4
  import "./CodemationWhitelabelConfig-D5rYcLlj.js";
5
5
  export { type CodemationAppContext, type CodemationAppDefinition, type CodemationAppSchedulerConfig, type CodemationAppSchedulerKind, type CodemationApplicationRuntimeConfig, type CodemationConfig, type CodemationDatabaseConfig, type CodemationDatabaseKind, type CodemationEngineExecutionLimitsConfig, type CodemationEventBusConfig, type CodemationEventBusKind, type CodemationPlugin, type CodemationPluginConfig, type CodemationPluginContext, type CodemationRegistrationContextBase, type CodemationSchedulerConfig, type CodemationSchedulerKind, type DefineCodemationAppOptions, type DefinePluginOptions, type FriendlyCodemationDatabaseConfig, type FriendlyCodemationExecutionConfig, defineCodemationApp, definePlugin, workflow };
@@ -1,6 +1,6 @@
1
- import "./index-W4eSjdCM.js";
2
- import "./CodemationAppContext-DP_-56c6.js";
1
+ import "./index-BxIc_L4D.js";
2
+ import "./CodemationAppContext-YgJRUHWF.js";
3
3
  import "./CodemationWhitelabelConfig-D5rYcLlj.js";
4
- import "./CodemationConfigNormalizer-B8RGUwAe.js";
5
- import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-C_QVwcI3.js";
4
+ import "./CodemationConfigNormalizer-BWBp7mFB.js";
5
+ import { i as CodemationConsumerAppResolver, n as CodemationConsumerConfigResolution, r as CodemationConsumerApp, t as CodemationConsumerConfigLoader } from "./CodemationConsumerConfigLoader-Bka3v6lh.js";
6
6
  export { type CodemationConsumerApp, CodemationConsumerAppResolver, CodemationConsumerConfigLoader, type CodemationConsumerConfigResolution };
@@ -1,7 +1,7 @@
1
- import { b as CredentialSessionFactoryArgs, l as AnyCredentialType, p as CredentialHealth } from "./index-W4eSjdCM.js";
2
- import "./CodemationAppContext-DP_-56c6.js";
1
+ import { b as CredentialSessionFactoryArgs, l as AnyCredentialType, p as CredentialHealth } from "./index-BxIc_L4D.js";
2
+ import "./CodemationAppContext-YgJRUHWF.js";
3
3
  import "./CodemationWhitelabelConfig-D5rYcLlj.js";
4
- import { a as CredentialInstanceService, i as CredentialBindingService, n as CredentialType } from "./CredentialServices-95DPogx-.js";
4
+ import { a as CredentialInstanceService, i as CredentialBindingService, n as CredentialType } from "./CredentialServices-CKXPg5xu.js";
5
5
 
6
6
  //#region src/infrastructure/credentials/OpenAiApiKeyCredentialShapes.types.d.ts
7
7
  /**
@@ -1,4 +1,4 @@
1
- import { I as WorkflowDefinition, U as Container } from "./index-W4eSjdCM.js";
1
+ import { I as WorkflowDefinition, U as Container } from "./index-BxIc_L4D.js";
2
2
 
3
3
  //#region src/presentation/server/CodemationTsyringeParamInfoReader.d.ts
4
4
  declare class CodemationTsyringeParamInfoReader {
@@ -9,155 +9,6 @@ interface Clock {
9
9
  now(): Date;
10
10
  }
11
11
  //#endregion
12
- //#region ../core/src/contracts/itemExpr.d.ts
13
- declare const ITEM_EXPR_BRAND: unique symbol;
14
- type ItemExprResolvedContext = Readonly<{
15
- runId: RunId;
16
- workflowId: WorkflowId;
17
- nodeId: NodeId;
18
- activationId: NodeActivationId;
19
- data: RunDataSnapshot;
20
- }>;
21
- /**
22
- * Context aligned with former {@link ItemInputMapperContext} — use **`data`** to read any completed upstream node.
23
- */
24
- type ItemExprContext = ItemExprResolvedContext;
25
- type ItemExprArgs<TItemJson = unknown> = Readonly<{
26
- item: Item<TItemJson>;
27
- itemIndex: number;
28
- items: Items<TItemJson>;
29
- ctx: ItemExprContext;
30
- }>;
31
- type ItemExprCallback<T, TItemJson = unknown> = (args: ItemExprArgs<TItemJson>) => T | Promise<T>;
32
- type ItemExpr<T, TItemJson = unknown> = Readonly<{
33
- readonly [ITEM_EXPR_BRAND]: true;
34
- readonly fn: ItemExprCallback<T, TItemJson>;
35
- }>;
36
- //#endregion
37
- //#region ../core/src/contracts/params.d.ts
38
- type Expr<T, TItemJson = unknown> = ItemExpr<T, TItemJson>;
39
- type ParamDeep<T, TItemJson = unknown> = Expr<T, TItemJson> | (T extends readonly (infer U)[] ? ReadonlyArray<ParamDeep<U, TItemJson>> : never) | (T extends object ? { [K in keyof T]: ParamDeep<T[K], TItemJson> } : T);
40
- //#endregion
41
- //#region ../core/src/contracts/retryPolicySpec.types.d.ts
42
- /**
43
- * In-process retry policy for runnable nodes. Serialized configs use the same
44
- * `kind` discriminator (`JSON.stringify` / persisted workflows).
45
- *
46
- * `maxAttempts` is the total number of tries including the first (e.g. 3 means up to 2 delays after failures).
47
- */
48
- type RetryPolicySpec = NoneRetryPolicySpec | FixedRetryPolicySpec | ExponentialRetryPolicySpec;
49
- interface NoneRetryPolicySpec {
50
- readonly kind: "none";
51
- }
52
- interface FixedRetryPolicySpec {
53
- readonly kind: "fixed";
54
- /** Total attempts including the first execution. Must be >= 1. */
55
- readonly maxAttempts: number;
56
- readonly delayMs: number;
57
- }
58
- interface ExponentialRetryPolicySpec {
59
- readonly kind: "exponential";
60
- /** Total attempts including the first execution. Must be >= 1. */
61
- readonly maxAttempts: number;
62
- readonly initialDelayMs: number;
63
- readonly multiplier: number;
64
- readonly maxDelayMs?: number;
65
- /** When true, each delay is multiplied by a random factor in [1, 1.2). */
66
- readonly jitter?: boolean;
67
- }
68
- //#endregion
69
- //#region ../core/src/contracts/telemetryTypes.d.ts
70
- type TelemetryAttributePrimitive = string | number | boolean | null;
71
- interface TelemetryAttributes {
72
- readonly [key: string]: TelemetryAttributePrimitive | undefined;
73
- }
74
- interface TelemetryMetricRecord {
75
- readonly name: string;
76
- readonly value: number;
77
- readonly unit?: string;
78
- readonly attributes?: TelemetryAttributes;
79
- }
80
- interface TelemetrySpanEventRecord {
81
- readonly name: string;
82
- readonly occurredAt?: Date;
83
- readonly attributes?: TelemetryAttributes;
84
- }
85
- interface TelemetryArtifactAttachment {
86
- readonly kind: string;
87
- readonly contentType: string;
88
- readonly previewText?: string;
89
- readonly previewJson?: JsonValue;
90
- readonly payloadText?: string;
91
- readonly payloadJson?: JsonValue;
92
- readonly bytes?: number;
93
- readonly truncated?: boolean;
94
- readonly expiresAt?: Date;
95
- }
96
- interface TelemetryArtifactReference {
97
- readonly artifactId: string;
98
- readonly traceId?: string;
99
- readonly spanId?: string;
100
- }
101
- interface TelemetrySpanEnd {
102
- readonly status?: "ok" | "error";
103
- readonly statusMessage?: string;
104
- readonly endedAt?: Date;
105
- readonly attributes?: TelemetryAttributes;
106
- }
107
- interface TelemetryChildSpanStart {
108
- readonly name: string;
109
- readonly kind?: "internal" | "client";
110
- readonly startedAt?: Date;
111
- readonly attributes?: TelemetryAttributes;
112
- }
113
- interface TelemetryScope {
114
- readonly traceId?: string;
115
- readonly spanId?: string;
116
- readonly costTracking?: CostTrackingTelemetry;
117
- addSpanEvent(args: TelemetrySpanEventRecord): Promise<void> | void;
118
- recordMetric(args: TelemetryMetricRecord): Promise<void> | void;
119
- attachArtifact(args: TelemetryArtifactAttachment): Promise<TelemetryArtifactReference> | TelemetryArtifactReference;
120
- }
121
- interface TelemetrySpanScope extends TelemetryScope {
122
- readonly traceId: string;
123
- readonly spanId: string;
124
- end(args?: TelemetrySpanEnd): Promise<void> | void;
125
- }
126
- interface NodeExecutionTelemetry extends ExecutionTelemetry, TelemetrySpanScope {
127
- startChildSpan(args: TelemetryChildSpanStart): TelemetrySpanScope;
128
- }
129
- interface ExecutionTelemetry extends TelemetryScope {
130
- readonly traceId: string;
131
- readonly spanId: string;
132
- forNode(args: Readonly<{
133
- nodeId: NodeId;
134
- activationId: NodeActivationId;
135
- }>): NodeExecutionTelemetry;
136
- }
137
- //#endregion
138
- //#region ../core/src/contracts/CostTrackingTelemetryContract.d.ts
139
- type CostTrackingComponent = "chat" | "ocr" | "rag";
140
- interface CostTrackingUsageRecord {
141
- readonly component: CostTrackingComponent;
142
- readonly provider: string;
143
- readonly operation: string;
144
- readonly pricingKey: string;
145
- readonly usageUnit: string;
146
- readonly quantity: number;
147
- readonly modelName?: string;
148
- readonly attributes?: TelemetryAttributes;
149
- }
150
- interface CostTrackingPriceQuote {
151
- readonly currency: string;
152
- readonly currencyScale: number;
153
- readonly estimatedAmountMinor: number;
154
- readonly estimateKind: "catalog";
155
- }
156
- interface CostTrackingTelemetry {
157
- captureUsage(args: CostTrackingUsageRecord): Promise<CostTrackingPriceQuote | undefined>;
158
- forScope(scope: TelemetryScope): CostTrackingTelemetry;
159
- }
160
- //#endregion
161
12
  //#region ../core/src/contracts/runTypes.d.ts
162
13
  interface RunExecutionOptions {
163
14
  /** Run-intent override: force the inline scheduler and bypass node-level offload decisions. */
@@ -279,6 +130,12 @@ interface ConnectionInvocationRecord {
279
130
  readonly startedAt?: string;
280
131
  readonly finishedAt?: string;
281
132
  readonly updatedAt: string;
133
+ /** Per-item iteration id minted by the engine when this invocation occurred inside a runnable node's per-item loop. */
134
+ readonly iterationId?: NodeIterationId;
135
+ /** Item index (0-based) of the iteration that produced this invocation. */
136
+ readonly itemIndex?: number;
137
+ /** When set, this invocation was produced inside a sub-agent triggered by the named parent invocation. */
138
+ readonly parentInvocationId?: ConnectionInvocationId;
282
139
  }
283
140
  /** Arguments for appending a {@link ConnectionInvocationRecord} (engine fills run/workflow ids and timestamps). */
284
141
  type ConnectionInvocationAppendArgs = Readonly<{
@@ -293,6 +150,9 @@ type ConnectionInvocationAppendArgs = Readonly<{
293
150
  queuedAt?: string;
294
151
  startedAt?: string;
295
152
  finishedAt?: string;
153
+ iterationId?: NodeIterationId;
154
+ itemIndex?: number;
155
+ parentInvocationId?: ConnectionInvocationId;
296
156
  }>;
297
157
  interface RunCurrentState {
298
158
  outputsByNode: Record<NodeId, NodeOutputs>;
@@ -424,6 +284,166 @@ interface PersistedWorkflowTokenRegistryLike {
424
284
  registerFromWorkflows?(workflows: ReadonlyArray<WorkflowDefinition>): void;
425
285
  }
426
286
  //#endregion
287
+ //#region ../core/src/contracts/itemExpr.d.ts
288
+ declare const ITEM_EXPR_BRAND: unique symbol;
289
+ type ItemExprResolvedContext = Readonly<{
290
+ runId: RunId;
291
+ workflowId: WorkflowId;
292
+ nodeId: NodeId;
293
+ activationId: NodeActivationId;
294
+ data: RunDataSnapshot;
295
+ }>;
296
+ /**
297
+ * Context aligned with former {@link ItemInputMapperContext} — use **`data`** to read any completed upstream node.
298
+ */
299
+ type ItemExprContext = ItemExprResolvedContext;
300
+ type ItemExprArgs<TItemJson = unknown> = Readonly<{
301
+ item: Item<TItemJson>;
302
+ itemIndex: number;
303
+ items: Items<TItemJson>;
304
+ ctx: ItemExprContext;
305
+ }>;
306
+ type ItemExprCallback<T, TItemJson = unknown> = (args: ItemExprArgs<TItemJson>) => T | Promise<T>;
307
+ type ItemExpr<T, TItemJson = unknown> = Readonly<{
308
+ readonly [ITEM_EXPR_BRAND]: true;
309
+ readonly fn: ItemExprCallback<T, TItemJson>;
310
+ }>;
311
+ //#endregion
312
+ //#region ../core/src/contracts/params.d.ts
313
+ type Expr<T, TItemJson = unknown> = ItemExpr<T, TItemJson>;
314
+ type ParamDeep<T, TItemJson = unknown> = Expr<T, TItemJson> | (T extends readonly (infer U)[] ? ReadonlyArray<ParamDeep<U, TItemJson>> : never) | (T extends object ? { [K in keyof T]: ParamDeep<T[K], TItemJson> } : T);
315
+ //#endregion
316
+ //#region ../core/src/contracts/retryPolicySpec.types.d.ts
317
+ /**
318
+ * In-process retry policy for runnable nodes. Serialized configs use the same
319
+ * `kind` discriminator (`JSON.stringify` / persisted workflows).
320
+ *
321
+ * `maxAttempts` is the total number of tries including the first (e.g. 3 means up to 2 delays after failures).
322
+ */
323
+ type RetryPolicySpec = NoneRetryPolicySpec | FixedRetryPolicySpec | ExponentialRetryPolicySpec;
324
+ interface NoneRetryPolicySpec {
325
+ readonly kind: "none";
326
+ }
327
+ interface FixedRetryPolicySpec {
328
+ readonly kind: "fixed";
329
+ /** Total attempts including the first execution. Must be >= 1. */
330
+ readonly maxAttempts: number;
331
+ readonly delayMs: number;
332
+ }
333
+ interface ExponentialRetryPolicySpec {
334
+ readonly kind: "exponential";
335
+ /** Total attempts including the first execution. Must be >= 1. */
336
+ readonly maxAttempts: number;
337
+ readonly initialDelayMs: number;
338
+ readonly multiplier: number;
339
+ readonly maxDelayMs?: number;
340
+ /** When true, each delay is multiplied by a random factor in [1, 1.2). */
341
+ readonly jitter?: boolean;
342
+ }
343
+ //#endregion
344
+ //#region ../core/src/contracts/telemetryTypes.d.ts
345
+ type TelemetryAttributePrimitive = string | number | boolean | null;
346
+ interface TelemetryAttributes {
347
+ readonly [key: string]: TelemetryAttributePrimitive | undefined;
348
+ }
349
+ interface TelemetryMetricRecord {
350
+ readonly name: string;
351
+ readonly value: number;
352
+ readonly unit?: string;
353
+ readonly attributes?: TelemetryAttributes;
354
+ }
355
+ interface TelemetrySpanEventRecord {
356
+ readonly name: string;
357
+ readonly occurredAt?: Date;
358
+ readonly attributes?: TelemetryAttributes;
359
+ }
360
+ interface TelemetryArtifactAttachment {
361
+ readonly kind: string;
362
+ readonly contentType: string;
363
+ readonly previewText?: string;
364
+ readonly previewJson?: JsonValue;
365
+ readonly payloadText?: string;
366
+ readonly payloadJson?: JsonValue;
367
+ readonly bytes?: number;
368
+ readonly truncated?: boolean;
369
+ readonly expiresAt?: Date;
370
+ }
371
+ interface TelemetryArtifactReference {
372
+ readonly artifactId: string;
373
+ readonly traceId?: string;
374
+ readonly spanId?: string;
375
+ }
376
+ interface TelemetrySpanEnd {
377
+ readonly status?: "ok" | "error";
378
+ readonly statusMessage?: string;
379
+ readonly endedAt?: Date;
380
+ readonly attributes?: TelemetryAttributes;
381
+ }
382
+ interface TelemetryChildSpanStart {
383
+ readonly name: string;
384
+ readonly kind?: "internal" | "client";
385
+ readonly startedAt?: Date;
386
+ readonly attributes?: TelemetryAttributes;
387
+ }
388
+ interface TelemetryScope {
389
+ readonly traceId?: string;
390
+ readonly spanId?: string;
391
+ readonly costTracking?: CostTrackingTelemetry;
392
+ addSpanEvent(args: TelemetrySpanEventRecord): Promise<void> | void;
393
+ recordMetric(args: TelemetryMetricRecord): Promise<void> | void;
394
+ attachArtifact(args: TelemetryArtifactAttachment): Promise<TelemetryArtifactReference> | TelemetryArtifactReference;
395
+ }
396
+ interface TelemetrySpanScope extends TelemetryScope {
397
+ readonly traceId: string;
398
+ readonly spanId: string;
399
+ end(args?: TelemetrySpanEnd): Promise<void> | void;
400
+ /**
401
+ * Lift this span into a {@link NodeExecutionTelemetry} scoped to a different (nodeId, activationId).
402
+ * Children created via the returned telemetry's `startChildSpan` get this span as their parent.
403
+ *
404
+ * Used at the sub-agent boundary so that nested runtime telemetry parents under the agent.tool.call
405
+ * span instead of the orchestrator's node-level span.
406
+ */
407
+ asNodeTelemetry(args: Readonly<{
408
+ nodeId: NodeId;
409
+ activationId: NodeActivationId;
410
+ }>): NodeExecutionTelemetry;
411
+ }
412
+ interface NodeExecutionTelemetry extends ExecutionTelemetry, TelemetrySpanScope {
413
+ startChildSpan(args: TelemetryChildSpanStart): TelemetrySpanScope;
414
+ }
415
+ interface ExecutionTelemetry extends TelemetryScope {
416
+ readonly traceId: string;
417
+ readonly spanId: string;
418
+ forNode(args: Readonly<{
419
+ nodeId: NodeId;
420
+ activationId: NodeActivationId;
421
+ }>): NodeExecutionTelemetry;
422
+ }
423
+ //#endregion
424
+ //#region ../core/src/contracts/CostTrackingTelemetryContract.d.ts
425
+ type CostTrackingComponent = "chat" | "ocr" | "rag";
426
+ interface CostTrackingUsageRecord {
427
+ readonly component: CostTrackingComponent;
428
+ readonly provider: string;
429
+ readonly operation: string;
430
+ readonly pricingKey: string;
431
+ readonly usageUnit: string;
432
+ readonly quantity: number;
433
+ readonly modelName?: string;
434
+ readonly attributes?: TelemetryAttributes;
435
+ }
436
+ interface CostTrackingPriceQuote {
437
+ readonly currency: string;
438
+ readonly currencyScale: number;
439
+ readonly estimatedAmountMinor: number;
440
+ readonly estimateKind: "catalog";
441
+ }
442
+ interface CostTrackingTelemetry {
443
+ captureUsage(args: CostTrackingUsageRecord): Promise<CostTrackingPriceQuote | undefined>;
444
+ forScope(scope: TelemetryScope): CostTrackingTelemetry;
445
+ }
446
+ //#endregion
427
447
  //#region ../core/src/contracts/executionPersistenceContracts.d.ts
428
448
  /** Canonical id for persisted execution rows (activation or connection invocation). */
429
449
  type ExecutionInstanceId = string;
@@ -441,6 +461,29 @@ interface WorkflowRunDetailDto {
441
461
  readonly mutableState?: PersistedMutableRunState;
442
462
  readonly slotStates: ReadonlyArray<SlotExecutionStateDto>;
443
463
  readonly executionInstances: ReadonlyArray<ExecutionInstanceDto>;
464
+ readonly iterations?: ReadonlyArray<RunIterationDto>;
465
+ }
466
+ /**
467
+ * Per-item iteration projected from connection invocations and node activations.
468
+ *
469
+ * One iteration = one item processed by an agent within an activation. Multiple invocations
470
+ * (LLM rounds, tool calls) belonging to the same iteration share the iterationId.
471
+ */
472
+ interface RunIterationDto {
473
+ readonly iterationId: string;
474
+ readonly agentNodeId: NodeId;
475
+ readonly activationId: NodeActivationId;
476
+ readonly itemIndex: number;
477
+ readonly itemSummary?: string;
478
+ readonly status: NodeExecutionStatus;
479
+ readonly startedAt?: string;
480
+ readonly finishedAt?: string;
481
+ readonly invocationIds: ReadonlyArray<string>;
482
+ readonly parentInvocationId?: string;
483
+ /** Estimated cost rolled up from telemetry cost metric points, keyed by ISO currency code (e.g. "USD"). Values are minor units (cents-of-cents per the metric's `cost.currency_scale`). */
484
+ readonly estimatedCostMinorByCurrency?: Readonly<Record<string, number>>;
485
+ /** Currency scale (denominator) per currency, when present on the metric points. Joined with `estimatedCostMinorByCurrency` to format human-readable amounts. */
486
+ readonly estimatedCostCurrencyScaleByCurrency?: Readonly<Record<string, number>>;
444
487
  }
445
488
  interface SlotExecutionStateDto {
446
489
  readonly slotNodeId: NodeId;
@@ -469,6 +512,12 @@ interface ExecutionInstanceDto {
469
512
  readonly inputJson?: JsonValue;
470
513
  readonly outputJson?: JsonValue;
471
514
  readonly error?: Readonly<NodeExecutionError>;
515
+ /** Per-item iteration that produced this instance. Set on connectionInvocation rows produced inside per-item runnable loops. */
516
+ readonly iterationId?: string;
517
+ /** Item index (0-based) of the iteration. */
518
+ readonly itemIndex?: number;
519
+ /** Parent invocation id when this instance was emitted by a sub-agent triggered by an outer LLM/tool call. */
520
+ readonly parentInvocationId?: string;
472
521
  }
473
522
  //#endregion
474
523
  //#region ../core/src/contracts/webhookTypes.d.ts
@@ -625,6 +674,27 @@ type RunEvent = Readonly<{
625
674
  parent?: ParentExecutionRef;
626
675
  at: string;
627
676
  snapshot: NodeExecutionSnapshot;
677
+ }> | Readonly<{
678
+ kind: "connectionInvocationStarted";
679
+ runId: RunId;
680
+ workflowId: WorkflowId;
681
+ parent?: ParentExecutionRef;
682
+ at: string;
683
+ record: ConnectionInvocationRecord;
684
+ }> | Readonly<{
685
+ kind: "connectionInvocationCompleted";
686
+ runId: RunId;
687
+ workflowId: WorkflowId;
688
+ parent?: ParentExecutionRef;
689
+ at: string;
690
+ record: ConnectionInvocationRecord;
691
+ }> | Readonly<{
692
+ kind: "connectionInvocationFailed";
693
+ runId: RunId;
694
+ workflowId: WorkflowId;
695
+ parent?: ParentExecutionRef;
696
+ at: string;
697
+ record: ConnectionInvocationRecord;
628
698
  }>;
629
699
  interface RunEventSubscription {
630
700
  close(): Promise<void>;
@@ -735,6 +805,12 @@ interface ExecutionContext {
735
805
  telemetry: ExecutionTelemetry;
736
806
  binary: ExecutionBinaryService;
737
807
  getCredential<TSession = unknown>(slotKey: string): Promise<TSession>;
808
+ /** Per-item iteration id, set by {@link NodeExecutor} on the ctx passed into runnable `execute`. */
809
+ iterationId?: NodeIterationId;
810
+ /** Item index (0-based) within the current activation's batch; set alongside {@link iterationId}. */
811
+ itemIndex?: number;
812
+ /** When set, this ctx is executing inside a sub-agent triggered by the named parent invocation. */
813
+ parentInvocationId?: ConnectionInvocationId;
738
814
  }
739
815
  interface NodeExecutionContext<TConfig$1 extends NodeConfigBase = NodeConfigBase> extends ExecutionContext {
740
816
  nodeId: NodeId;
@@ -948,6 +1024,12 @@ type Items<TJson = unknown> = ReadonlyArray<Item<TJson>>;
948
1024
  type NodeOutputs = Partial<Record<OutputPortKey, Items>>;
949
1025
  type RunId = string;
950
1026
  type NodeActivationId = string;
1027
+ /**
1028
+ * One per-item iteration of a runnable node's execute loop. Refines `NodeActivationId` for
1029
+ * per-item connection invocations and telemetry. Undefined when the executing node is a batch
1030
+ * node or trigger that does not iterate items.
1031
+ */
1032
+ type NodeIterationId = string;
951
1033
  interface ParentExecutionRef {
952
1034
  runId: RunId;
953
1035
  workflowId: WorkflowId;
@@ -1493,5 +1575,5 @@ declare class RunIntentService {
1493
1575
  private createWebhookExecutionOptions;
1494
1576
  }
1495
1577
  //#endregion
1496
- export { PersistedRunState as $, Items as A, NodeExecutionRequestHandler as B, CredentialType as C, ActivationIdFactory as D, CredentialTypeRegistry as E, RunnableNodeOutputJson as F, EngineExecutionLimitsPolicyConfig as G, WorkflowRepository as H, WorkflowDefinition as I, ChainCursor as J, RunEvent as K, WorkflowId as L, RunId as M, RunIdFactory as N, BinaryAttachment as O, RunnableNodeConfig as P, WorkflowRunDetailDto as Q, BinaryStorage as R, CredentialSetupStatus as S, CredentialTypeId as T, Container as U, NodeExecutionScheduler as V, TypeToken as W, WorkflowActivationPolicy as X, AnyRunnableNodeConfig as Y, WebhookInvocationMatch as Z, CredentialMaterialSourceKind as _, ChatModelConfig as a, TelemetryMetricRecord as at, CredentialSessionFactoryArgs as b, DefinedNodeConfigInput as c, CredentialBindingKey as d, RunCurrentState as et, CredentialFieldSchema as f, CredentialJsonRecord as g, CredentialInstanceRecord as h, AgentMessageConfig as i, TelemetryAttributes as it, PersistedRunPolicySnapshot as j, Item as k, AnyCredentialType as l, CredentialInstanceId as m, Engine as n, RunSummary as nt, ToolConfig as o, TelemetrySpanEventRecord as ot, CredentialHealth as p, RunEventBus as q, AgentGuardrailConfig as r, TelemetryArtifactAttachment as rt, DefinedNode as s, Clock as st, RunIntentService as t, RunPruneCandidate as tt, CredentialBinding as u, CredentialOAuth2AuthDefinition as v, CredentialTypeDefinition as w, CredentialSessionService as x, CredentialRequirement as y, NodeExecutionContext as z };
1497
- //# sourceMappingURL=index-W4eSjdCM.d.ts.map
1578
+ export { TelemetryArtifactAttachment as $, Items as A, NodeExecutionRequestHandler as B, CredentialType as C, ActivationIdFactory as D, CredentialTypeRegistry as E, RunnableNodeOutputJson as F, EngineExecutionLimitsPolicyConfig as G, WorkflowRepository as H, WorkflowDefinition as I, ChainCursor as J, RunEvent as K, WorkflowId as L, RunId as M, RunIdFactory as N, BinaryAttachment as O, RunnableNodeConfig as P, WorkflowRunDetailDto as Q, BinaryStorage as R, CredentialSetupStatus as S, CredentialTypeId as T, Container as U, NodeExecutionScheduler as V, TypeToken as W, WorkflowActivationPolicy as X, AnyRunnableNodeConfig as Y, WebhookInvocationMatch as Z, CredentialMaterialSourceKind as _, ChatModelConfig as a, RunPruneCandidate as at, CredentialSessionFactoryArgs as b, DefinedNodeConfigInput as c, CredentialBindingKey as d, TelemetryAttributes as et, CredentialFieldSchema as f, CredentialJsonRecord as g, CredentialInstanceRecord as h, AgentMessageConfig as i, RunCurrentState as it, PersistedRunPolicySnapshot as j, Item as k, AnyCredentialType as l, CredentialInstanceId as m, Engine as n, TelemetrySpanEventRecord as nt, ToolConfig as o, RunSummary as ot, CredentialHealth as p, RunEventBus as q, AgentGuardrailConfig as r, PersistedRunState as rt, DefinedNode as s, Clock as st, RunIntentService as t, TelemetryMetricRecord as tt, CredentialBinding as u, CredentialOAuth2AuthDefinition as v, CredentialTypeDefinition as w, CredentialSessionService as x, CredentialRequirement as y, NodeExecutionContext as z };
1579
+ //# sourceMappingURL=index-BxIc_L4D.d.ts.map