@kb-labs/workflow-contracts 2.118.2 → 2.119.0-canary.cee505c72

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/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { E as ExpressionContext, W as WorkflowInvocationSpec } from './rest-api-wonOln0o.js';
2
- export { A as ApprovalReviewItem, a as ApprovalReviewItemSchema, b as ArtifactMergeConfig, c as ArtifactMergeConfigSchema, d as ArtifactMergeSource, e as ArtifactMergeSourceSchema, f as ArtifactMergeStrategy, g as ArtifactMergeStrategySchema, C as ConcurrencyGroup, h as ConcurrencyGroupSchema, i as CreateRunInput, j as CronInfo, k as CronInfoSchema, l as CronListResponse, m as CronListResponseSchema, n as CronRegistrationRequest, D as DashboardStatsResponse, o as DashboardStatsResponseSchema, p as ExecutionResult, q as ExecutionResultSchema, r as ExecutionTarget, s as ExecutionTargetSchema, F as FileLintResult, I as IWorkflowEngine, t as IdempotencyKey, u as IdempotencyKeySchema, v as IsolationProfile, w as IsolationProfileSchema, J as JobArtifactsSchema, x as JobCancelResponse, y as JobCancelResponseSchema, z as JobConcurrencySchema, B as JobHooks, G as JobHooksSchema, H as JobListFilter, K as JobListResponse, L as JobListResponseSchema, M as JobLogsResponse, N as JobLogsResponseSchema, O as JobRun, P as JobRunSchema, Q as JobSpec, R as JobSpecSchema, S as JobStateSchema, T as JobStatusInfo, U as JobStatusInfoSchema, V as JobStatusSchema, X as JobStepInfo, Y as JobStepInfoSchema, Z as JobStepsResponse, _ as JobStepsResponseSchema, $ as JobSubmissionRequest, a0 as JobSubmissionResponse, a1 as ListRunsFilter, a2 as Phase, a3 as PhaseSchema, a4 as ResultError, a5 as ResultErrorSchema, a6 as ResultMetrics, a7 as ResultMetricsSchema, a8 as RetryFailureKind, a9 as RetryFailureKindSchema, aa as RetryModeSchema, ab as RetryPolicy, ac as RetryPolicySchema, ad as RunMetadata, ae as RunMetadataSchema, af as RunSchema, ag as RunStateSchema, ah as RunTrigger, ai as RunTriggerSchema, aj as StepArtifact, ak as StepArtifactSchema, al as StepProgress, am as StepProgressSchema, an as StepRun, ao as StepRunErrorSchema, ap as StepRunSchema, aq as StepSpec, ar as StepSpecSchema, as as StepStateSchema, at as TenantIdSchema, au as TimeoutSchema, av as WorkflowInfo, aw as WorkflowInfoSchema, ax as WorkflowInputField, ay as WorkflowInputFieldSchema, az as WorkflowListResponse, aA as WorkflowListResponseSchema, aB as WorkflowLogEvent, aC as WorkflowOutputField, aD as WorkflowOutputFieldSchema, aE as WorkflowRerunRequest, aF as WorkflowRerunRequestSchema, aG as WorkflowRestartRequest, aH as WorkflowRestartRequestSchema, aI as WorkflowRestartResponse, aJ as WorkflowRun, aK as WorkflowRunHistoryResponse, aL as WorkflowRunHistoryResponseSchema, aM as WorkflowRunInfo, aN as WorkflowRunInfoSchema, aO as WorkflowRunRequest, aP as WorkflowRunRequestSchema, aQ as WorkflowSpec, aR as WorkflowSpecSchema, aS as WorkflowTriggerSchema, aT as WorkflowValidationResult } from './rest-api-wonOln0o.js';
1
+ import { E as ExpressionContext, W as WorkflowInvocationSpec } from './rest-api-Dbselkl6.js';
2
+ export { A as ApprovalReviewItem, a as ApprovalReviewItemSchema, b as ArtifactMergeConfig, c as ArtifactMergeConfigSchema, d as ArtifactMergeSource, e as ArtifactMergeSourceSchema, f as ArtifactMergeStrategy, g as ArtifactMergeStrategySchema, C as ConcurrencyGroup, h as ConcurrencyGroupSchema, i as CreateRunInput, j as CronInfo, k as CronInfoSchema, l as CronListResponse, m as CronListResponseSchema, n as CronRegistrationRequest, D as DashboardStatsResponse, o as DashboardStatsResponseSchema, p as ExecutionResult, q as ExecutionResultSchema, r as ExecutionTarget, s as ExecutionTargetSchema, F as FileLintResult, I as IWorkflowEngine, t as IdempotencyKey, u as IdempotencyKeySchema, v as IsolationProfile, w as IsolationProfileSchema, J as JobArtifactsSchema, x as JobCancelResponse, y as JobCancelResponseSchema, z as JobConcurrencySchema, B as JobHooks, G as JobHooksSchema, H as JobListFilter, K as JobListResponse, L as JobListResponseSchema, M as JobLogsResponse, N as JobLogsResponseSchema, O as JobRun, P as JobRunSchema, Q as JobSpec, R as JobSpecSchema, S as JobStateSchema, T as JobStatusInfo, U as JobStatusInfoSchema, V as JobStatusSchema, X as JobStepInfo, Y as JobStepInfoSchema, Z as JobStepsResponse, _ as JobStepsResponseSchema, $ as JobSubmissionRequest, a0 as JobSubmissionResponse, a1 as ListRunsFilter, a2 as Phase, a3 as PhaseSchema, a4 as ResultError, a5 as ResultErrorSchema, a6 as ResultMetrics, a7 as ResultMetricsSchema, a8 as RetryFailureKind, a9 as RetryFailureKindSchema, aa as RetryModeSchema, ab as RetryPolicy, ac as RetryPolicySchema, ad as RunMetadata, ae as RunMetadataSchema, af as RunSchema, ag as RunStateSchema, ah as RunTrigger, ai as RunTriggerSchema, aj as StepArtifact, ak as StepArtifactSchema, al as StepProgress, am as StepProgressSchema, an as StepRun, ao as StepRunErrorSchema, ap as StepRunSchema, aq as StepSpec, ar as StepSpecSchema, as as StepStateSchema, at as TenantIdSchema, au as TimeoutSchema, av as WorkflowInfo, aw as WorkflowInfoSchema, ax as WorkflowInputField, ay as WorkflowInputFieldSchema, az as WorkflowListResponse, aA as WorkflowListResponseSchema, aB as WorkflowLogEvent, aC as WorkflowOutputField, aD as WorkflowOutputFieldSchema, aE as WorkflowRerunRequest, aF as WorkflowRerunRequestSchema, aG as WorkflowRestartRequest, aH as WorkflowRestartRequestSchema, aI as WorkflowRestartResponse, aJ as WorkflowRun, aK as WorkflowRunHistoryResponse, aL as WorkflowRunHistoryResponseSchema, aM as WorkflowRunInfo, aN as WorkflowRunInfoSchema, aO as WorkflowRunRequest, aP as WorkflowRunRequestSchema, aQ as WorkflowSpec, aR as WorkflowSpecSchema, aS as WorkflowTriggerSchema, aT as WorkflowValidationResult } from './rest-api-Dbselkl6.js';
3
3
  import * as _kb_labs_shared_command_kit from '@kb-labs/shared-command-kit';
4
4
  import { z } from 'zod';
5
5
  import '@kb-labs/workflow-constants';
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  import { RunState } from '@kb-labs/workflow-constants';
3
3
 
4
4
  declare const RunStateSchema: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "dlq", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "dlq")[]]>;
5
- declare const JobStateSchema: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted")[]]>;
5
+ declare const JobStateSchema: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child")[]]>;
6
6
  declare const StepStateSchema: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "dlq" | "waiting_approval" | "waiting_child", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "dlq" | "waiting_approval" | "waiting_child")[]]>;
7
7
  declare const IdempotencyKeySchema: z.ZodString;
8
8
  declare const ConcurrencyGroupSchema: z.ZodString;
@@ -6360,7 +6360,7 @@ declare const JobRunSchema: z.ZodObject<{
6360
6360
  runId: z.ZodString;
6361
6361
  tenantId: z.ZodOptional<z.ZodString>;
6362
6362
  jobName: z.ZodString;
6363
- status: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted")[]]>;
6363
+ status: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child")[]]>;
6364
6364
  runsOn: z.ZodEnum<["local", "sandbox"]>;
6365
6365
  queuedAt: z.ZodString;
6366
6366
  startedAt: z.ZodOptional<z.ZodString>;
@@ -6838,7 +6838,7 @@ declare const JobRunSchema: z.ZodObject<{
6838
6838
  metadata?: Record<string, unknown> | undefined;
6839
6839
  }>, "many">;
6840
6840
  }, "strip", z.ZodTypeAny, {
6841
- status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
6841
+ status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child";
6842
6842
  id: string;
6843
6843
  runId: string;
6844
6844
  runsOn: "local" | "sandbox";
@@ -6952,7 +6952,7 @@ declare const JobRunSchema: z.ZodObject<{
6952
6952
  pendingDependencies?: string[] | undefined;
6953
6953
  blocked?: boolean | undefined;
6954
6954
  }, {
6955
- status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
6955
+ status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child";
6956
6956
  id: string;
6957
6957
  runId: string;
6958
6958
  runsOn: "local" | "sandbox";
@@ -7389,7 +7389,7 @@ declare const RunSchema: z.ZodObject<{
7389
7389
  runId: z.ZodString;
7390
7390
  tenantId: z.ZodOptional<z.ZodString>;
7391
7391
  jobName: z.ZodString;
7392
- status: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted")[]]>;
7392
+ status: z.ZodEnum<["queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child", ...("queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child")[]]>;
7393
7393
  runsOn: z.ZodEnum<["local", "sandbox"]>;
7394
7394
  queuedAt: z.ZodString;
7395
7395
  startedAt: z.ZodOptional<z.ZodString>;
@@ -7867,7 +7867,7 @@ declare const RunSchema: z.ZodObject<{
7867
7867
  metadata?: Record<string, unknown> | undefined;
7868
7868
  }>, "many">;
7869
7869
  }, "strip", z.ZodTypeAny, {
7870
- status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
7870
+ status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child";
7871
7871
  id: string;
7872
7872
  runId: string;
7873
7873
  runsOn: "local" | "sandbox";
@@ -7981,7 +7981,7 @@ declare const RunSchema: z.ZodObject<{
7981
7981
  pendingDependencies?: string[] | undefined;
7982
7982
  blocked?: boolean | undefined;
7983
7983
  }, {
7984
- status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
7984
+ status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child";
7985
7985
  id: string;
7986
7986
  runId: string;
7987
7987
  runsOn: "local" | "sandbox";
@@ -8309,7 +8309,7 @@ declare const RunSchema: z.ZodObject<{
8309
8309
  id: string;
8310
8310
  version: string;
8311
8311
  jobs: {
8312
- status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
8312
+ status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child";
8313
8313
  id: string;
8314
8314
  runId: string;
8315
8315
  runsOn: "local" | "sandbox";
@@ -8500,7 +8500,7 @@ declare const RunSchema: z.ZodObject<{
8500
8500
  id: string;
8501
8501
  version: string;
8502
8502
  jobs: {
8503
- status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted";
8503
+ status: "queued" | "running" | "success" | "failed" | "cancelled" | "skipped" | "interrupted" | "waiting_approval" | "waiting_child";
8504
8504
  id: string;
8505
8505
  runId: string;
8506
8506
  runsOn: "local" | "sandbox";
@@ -1,3 +1,3 @@
1
1
  import 'zod';
2
- export { j as CronInfo, k as CronInfoSchema, l as CronListResponse, m as CronListResponseSchema, n as CronRegistrationRequest, D as DashboardStatsResponse, o as DashboardStatsResponseSchema, x as JobCancelResponse, y as JobCancelResponseSchema, H as JobListFilter, K as JobListResponse, L as JobListResponseSchema, M as JobLogsResponse, N as JobLogsResponseSchema, T as JobStatusInfo, U as JobStatusInfoSchema, V as JobStatusSchema, X as JobStepInfo, Y as JobStepInfoSchema, Z as JobStepsResponse, _ as JobStepsResponseSchema, $ as JobSubmissionRequest, a0 as JobSubmissionResponse, av as WorkflowInfo, aw as WorkflowInfoSchema, az as WorkflowListResponse, aA as WorkflowListResponseSchema, aB as WorkflowLogEvent, aE as WorkflowRerunRequest, aF as WorkflowRerunRequestSchema, aG as WorkflowRestartRequest, aH as WorkflowRestartRequestSchema, aI as WorkflowRestartResponse, aK as WorkflowRunHistoryResponse, aL as WorkflowRunHistoryResponseSchema, aM as WorkflowRunInfo, aN as WorkflowRunInfoSchema, aO as WorkflowRunRequest, aP as WorkflowRunRequestSchema } from './rest-api-wonOln0o.js';
2
+ export { j as CronInfo, k as CronInfoSchema, l as CronListResponse, m as CronListResponseSchema, n as CronRegistrationRequest, D as DashboardStatsResponse, o as DashboardStatsResponseSchema, x as JobCancelResponse, y as JobCancelResponseSchema, H as JobListFilter, K as JobListResponse, L as JobListResponseSchema, M as JobLogsResponse, N as JobLogsResponseSchema, T as JobStatusInfo, U as JobStatusInfoSchema, V as JobStatusSchema, X as JobStepInfo, Y as JobStepInfoSchema, Z as JobStepsResponse, _ as JobStepsResponseSchema, $ as JobSubmissionRequest, a0 as JobSubmissionResponse, av as WorkflowInfo, aw as WorkflowInfoSchema, az as WorkflowListResponse, aA as WorkflowListResponseSchema, aB as WorkflowLogEvent, aE as WorkflowRerunRequest, aF as WorkflowRerunRequestSchema, aG as WorkflowRestartRequest, aH as WorkflowRestartRequestSchema, aI as WorkflowRestartResponse, aK as WorkflowRunHistoryResponse, aL as WorkflowRunHistoryResponseSchema, aM as WorkflowRunInfo, aN as WorkflowRunInfoSchema, aO as WorkflowRunRequest, aP as WorkflowRunRequestSchema } from './rest-api-Dbselkl6.js';
3
3
  import '@kb-labs/workflow-constants';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kb-labs/workflow-contracts",
3
3
  "description": "Contracts, types and schemas for the KB Labs workflow engine.",
4
- "version": "2.118.2",
4
+ "version": "2.119.0-canary.cee505c72",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "zod": "^3.25.76",
28
- "@kb-labs/sdk": "2.115.3",
28
+ "@kb-labs/sdk": "2.115.4",
29
29
  "@kb-labs/workflow-constants": "2.118.2"
30
30
  },
31
31
  "devDependencies": {