@smithers-orchestrator/components 0.25.2 → 0.25.3

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 (2) hide show
  1. package/package.json +11 -11
  2. package/src/index.d.ts +147 -138
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithers-orchestrator/components",
3
- "version": "0.25.2",
3
+ "version": "0.25.3",
4
4
  "description": "React components for Smithers workflows",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -24,15 +24,15 @@
24
24
  "react": "^19.2.5",
25
25
  "react-dom": "^19.2.5",
26
26
  "zod": "^4.3.6",
27
- "@smithers-orchestrator/agents": "0.25.2",
28
- "@smithers-orchestrator/db": "0.25.2",
29
- "@smithers-orchestrator/driver": "0.25.2",
30
- "@smithers-orchestrator/errors": "0.25.2",
31
- "@smithers-orchestrator/memory": "0.25.2",
32
- "@smithers-orchestrator/graph": "0.25.2",
33
- "@smithers-orchestrator/react-reconciler": "0.25.2",
34
- "@smithers-orchestrator/scheduler": "0.25.2",
35
- "@smithers-orchestrator/observability": "0.25.2"
27
+ "@smithers-orchestrator/db": "0.25.3",
28
+ "@smithers-orchestrator/agents": "0.25.3",
29
+ "@smithers-orchestrator/driver": "0.25.3",
30
+ "@smithers-orchestrator/errors": "0.25.3",
31
+ "@smithers-orchestrator/memory": "0.25.3",
32
+ "@smithers-orchestrator/graph": "0.25.3",
33
+ "@smithers-orchestrator/observability": "0.25.3",
34
+ "@smithers-orchestrator/react-reconciler": "0.25.3",
35
+ "@smithers-orchestrator/scheduler": "0.25.3"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@tanstack/react-query": "^5.99.1",
@@ -44,6 +44,6 @@
44
44
  "scripts": {
45
45
  "test": "bun test tests",
46
46
  "typecheck": "tsc -p tsconfig.json --noEmit",
47
- "build": "tsup --dts-only"
47
+ "build": "rm -f src/index.d.ts && tsup --dts-only"
48
48
  }
49
49
  }
package/src/index.d.ts CHANGED
@@ -18,8 +18,8 @@ import * as _smithers_orchestrator_graph from '@smithers-orchestrator/graph';
18
18
  import * as _smithers_orchestrator_scheduler from '@smithers-orchestrator/scheduler';
19
19
  import * as _smithers_orchestrator_scheduler_CachePolicy from '@smithers-orchestrator/scheduler/CachePolicy';
20
20
  import { CachePolicy as CachePolicy$1 } from '@smithers-orchestrator/scheduler/CachePolicy';
21
- import * as React__default__default__default__default from 'react';
22
- import React__default__default__default__default__default from 'react';
21
+ import * as React from 'react';
22
+ import React__default from 'react';
23
23
  import * as zod from 'zod';
24
24
  import { z } from 'zod';
25
25
  import { SmithersError } from '@smithers-orchestrator/errors/SmithersError';
@@ -38,13 +38,13 @@ type WorktreeProps$2 = {
38
38
  /** Base branch for syncing worktrees (default: "main"). */
39
39
  baseBranch?: string;
40
40
  skipIf?: boolean;
41
- children?: React__default__default__default__default__default.ReactNode;
41
+ children?: React__default.ReactNode;
42
42
  };
43
43
 
44
44
  type WorkflowProps$2 = {
45
45
  name: string;
46
46
  cache?: boolean;
47
- children?: React__default__default__default__default__default.ReactNode;
47
+ children?: React__default.ReactNode;
48
48
  };
49
49
 
50
50
  /** Valid output targets: a Zod schema (recommended), a Drizzle table object, or a string key (escape hatch). */
@@ -80,10 +80,10 @@ type WaitForEventProps$2 = {
80
80
 
81
81
  type TryCatchFinallyProps$2 = {
82
82
  id?: string;
83
- try: React__default__default__default__default__default.ReactElement;
84
- catch?: React__default__default__default__default__default.ReactElement | ((error: SmithersError) => React__default__default__default__default__default.ReactElement);
83
+ try: React__default.ReactElement;
84
+ catch?: React__default.ReactElement | ((error: SmithersError) => React__default.ReactElement);
85
85
  catchErrors?: SmithersErrorCode$1[];
86
- finally?: React__default__default__default__default__default.ReactElement;
86
+ finally?: React__default.ReactElement;
87
87
  skipIf?: boolean;
88
88
  };
89
89
 
@@ -174,8 +174,8 @@ type TaskProps$2<Row, Output extends OutputTarget$1 = OutputTarget$1, D extends
174
174
  label?: string;
175
175
  meta?: Record<string, unknown>;
176
176
  /** @internal Used by createSmithers() to bind tasks to the correct workflow context. */
177
- smithersContext?: React__default__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
178
- children?: string | Row | (() => Row | Promise<Row>) | React__default__default__default__default__default.ReactNode | ((deps: InferDeps$1<D>) => Row | React__default__default__default__default__default.ReactNode);
177
+ smithersContext?: React__default.Context<SmithersCtx$1<unknown> | null>;
178
+ children?: string | Row | (() => Row | Promise<Row>) | React__default.ReactNode | ((deps: InferDeps$1<D>) => Row | React__default.ReactNode);
179
179
  };
180
180
 
181
181
  type SupervisorProps$2 = {
@@ -200,14 +200,14 @@ type SupervisorProps$2 = {
200
200
  useWorktrees?: boolean;
201
201
  skipIf?: boolean;
202
202
  /** Goal/prompt for the boss agent. */
203
- children: string | React__default__default__default__default__default.ReactNode;
203
+ children: string | React__default.ReactNode;
204
204
  };
205
205
 
206
206
  type SuperSmithersProps$2 = {
207
207
  /** Optional ID prefix for all generated task IDs. */
208
208
  id?: string;
209
209
  /** Markdown string or MDX component describing the intervention strategy. */
210
- strategy: string | React__default__default__default__default__default.ReactElement;
210
+ strategy: string | React__default.ReactElement;
211
211
  /** Agent that reads code and decides modifications. */
212
212
  agent: AgentLike;
213
213
  /** Glob patterns of files the agent can modify. */
@@ -245,7 +245,7 @@ type SubflowProps$2 = {
245
245
  label?: string;
246
246
  meta?: Record<string, unknown>;
247
247
  key?: string;
248
- children?: React__default__default__default__default__default.ReactNode;
248
+ children?: React__default.ReactNode;
249
249
  };
250
250
 
251
251
  type SourceDef$1 = {
@@ -254,7 +254,7 @@ type SourceDef$1 = {
254
254
  prompt?: string;
255
255
  /** Output schema for this specific source. Overrides `gatherOutput`. */
256
256
  output?: OutputTarget$1;
257
- children?: React__default__default__default__default__default.ReactNode;
257
+ children?: React__default.ReactNode;
258
258
  };
259
259
 
260
260
  type SignalProps$2<Schema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>> = {
@@ -271,8 +271,8 @@ type SignalProps$2<Schema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.Zod
271
271
  label?: string;
272
272
  meta?: Record<string, unknown>;
273
273
  key?: string;
274
- children?: (data: z.infer<Schema>) => React__default__default__default__default__default.ReactNode;
275
- smithersContext?: React__default__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
274
+ children?: (data: z.infer<Schema>) => React__default.ReactNode;
275
+ smithersContext?: React__default.Context<SmithersCtx$1<unknown> | null>;
276
276
  };
277
277
 
278
278
  type SidecarProps$2 = {
@@ -282,15 +282,15 @@ type SidecarProps$2 = {
282
282
  output: OutputTarget$1;
283
283
  sidecarOutput?: OutputTarget$1;
284
284
  scorers?: ScorersMap$1;
285
- prompt?: string | React__default__default__default__default__default.ReactNode;
286
- input?: string | React__default__default__default__default__default.ReactNode;
285
+ prompt?: string | React__default.ReactNode;
286
+ input?: string | React__default.ReactNode;
287
287
  maxConcurrency?: number;
288
288
  groundTruth?: unknown;
289
289
  context?: unknown;
290
290
  primaryLabel?: string;
291
291
  sidecarLabel?: string;
292
292
  skipIf?: boolean;
293
- children?: string | React__default__default__default__default__default.ReactNode;
293
+ children?: string | React__default.ReactNode;
294
294
  };
295
295
 
296
296
  type SidecarDelta$1 = {
@@ -303,7 +303,7 @@ type SidecarDelta$1 = {
303
303
  type SequenceProps$2 = {
304
304
  key?: string;
305
305
  skipIf?: boolean;
306
- children?: React__default__default__default__default__default.ReactNode;
306
+ children?: React__default.ReactNode;
307
307
  };
308
308
 
309
309
  type ScanFixVerifyProps$2 = {
@@ -330,7 +330,7 @@ type ScanFixVerifyProps$2 = {
330
330
  /** Skip the entire component. */
331
331
  skipIf?: boolean;
332
332
  /** Prompt/context describing what to scan for. */
333
- children?: React__default__default__default__default__default.ReactNode;
333
+ children?: React__default.ReactNode;
334
334
  };
335
335
 
336
336
  type SandboxWorkspaceSpec$1 = {
@@ -399,19 +399,19 @@ type SandboxProps$2 = {
399
399
  label?: string;
400
400
  meta?: Record<string, unknown>;
401
401
  key?: string;
402
- children?: React__default__default__default__default__default.ReactNode;
402
+ children?: React__default.ReactNode;
403
403
  };
404
404
 
405
405
  type SagaStepProps$2 = {
406
406
  id: string;
407
- compensation: React__default__default__default__default__default.ReactElement;
408
- children: React__default__default__default__default__default.ReactElement;
407
+ compensation: React__default.ReactElement;
408
+ children: React__default.ReactElement;
409
409
  };
410
410
 
411
411
  type SagaStepDef$1 = {
412
412
  id: string;
413
- action: React__default__default__default__default__default.ReactElement;
414
- compensation: React__default__default__default__default__default.ReactElement;
413
+ action: React__default.ReactElement;
414
+ compensation: React__default.ReactElement;
415
415
  label?: string;
416
416
  };
417
417
 
@@ -420,7 +420,7 @@ type SagaProps$2 = {
420
420
  steps?: SagaStepDef$1[];
421
421
  onFailure?: "compensate" | "compensate-and-fail" | "fail";
422
422
  skipIf?: boolean;
423
- children?: React__default__default__default__default__default.ReactNode;
423
+ children?: React__default.ReactNode;
424
424
  };
425
425
 
426
426
  type RunbookStep$1 = {
@@ -476,7 +476,7 @@ type ReviewLoopProps$2 = {
476
476
  /** Skip the entire review loop. */
477
477
  skipIf?: boolean;
478
478
  /** Initial prompt for the producer (string or ReactNode). */
479
- children: string | React__default__default__default__default__default.ReactNode;
479
+ children: string | React__default.ReactNode;
480
480
  };
481
481
 
482
482
  type LoopProps$2 = {
@@ -487,7 +487,7 @@ type LoopProps$2 = {
487
487
  onMaxReached?: "fail" | "return-last";
488
488
  continueAsNewEvery?: number;
489
489
  skipIf?: boolean;
490
- children?: React__default__default__default__default__default.ReactNode;
490
+ children?: React__default.ReactNode;
491
491
  };
492
492
 
493
493
  /** @deprecated Use `LoopProps` instead. */
@@ -511,14 +511,14 @@ type PollerProps$2 = {
511
511
  /** Skip the entire component. */
512
512
  skipIf?: boolean;
513
513
  /** Prompt/condition description for the check agent. */
514
- children?: React__default__default__default__default__default.ReactNode;
514
+ children?: React__default.ReactNode;
515
515
  };
516
516
 
517
517
  type ParallelProps$2 = {
518
518
  id?: string;
519
519
  maxConcurrency?: number;
520
520
  skipIf?: boolean;
521
- children?: React__default__default__default__default__default.ReactNode;
521
+ children?: React__default.ReactNode;
522
522
  };
523
523
 
524
524
  type PanelistConfig$1 = {
@@ -537,7 +537,7 @@ type PanelProps$2 = {
537
537
  minAgree?: number;
538
538
  maxConcurrency?: number;
539
539
  skipIf?: boolean;
540
- children: string | React__default__default__default__default__default.ReactNode;
540
+ children: string | React__default.ReactNode;
541
541
  };
542
542
 
543
543
  type OptimizerProps$2 = {
@@ -559,7 +559,7 @@ type OptimizerProps$2 = {
559
559
  /** Skip the entire optimization loop. */
560
560
  skipIf?: boolean;
561
561
  /** Initial generation prompt (string or ReactNode). */
562
- children: string | React__default__default__default__default__default.ReactNode;
562
+ children: string | React__default.ReactNode;
563
563
  };
564
564
 
565
565
  /**
@@ -570,7 +570,7 @@ type MergeQueueProps$2 = {
570
570
  id?: string;
571
571
  maxConcurrency?: number;
572
572
  skipIf?: boolean;
573
- children?: React__default__default__default__default__default.ReactNode;
573
+ children?: React__default.ReactNode;
574
574
  };
575
575
 
576
576
  type ColumnTaskProps = Omit<Partial<TaskProps$2<unknown>>, "agent" | "children" | "id" | "key" | "output" | "smithersContext">;
@@ -608,7 +608,7 @@ type KanbanProps$2 = {
608
608
  /** Max iterations through the column pipeline. */
609
609
  maxIterations?: number;
610
610
  skipIf?: boolean;
611
- children?: React__default__default__default__default__default.ReactNode | Record<string, unknown>;
611
+ children?: React__default.ReactNode | Record<string, unknown>;
612
612
  };
613
613
 
614
614
  type HumanTaskProps$2 = {
@@ -618,7 +618,7 @@ type HumanTaskProps$2 = {
618
618
  /** Zod schema the human must conform to. Used for validation. */
619
619
  outputSchema?: z.ZodObject<z.ZodRawShape>;
620
620
  /** Instructions for the human (string or ReactNode). */
621
- prompt: string | React__default__default__default__default__default.ReactNode;
621
+ prompt: string | React__default.ReactNode;
622
622
  /** Max validation retries before failure. */
623
623
  maxAttempts?: number;
624
624
  /** Do not block unrelated downstream flow while waiting for human input. */
@@ -652,7 +652,7 @@ type GatherAndSynthesizeProps$2 = {
652
652
  /** Prompt for the synthesis task. If omitted, a default prompt is generated. */
653
653
  synthesisPrompt?: string;
654
654
  skipIf?: boolean;
655
- children?: React__default__default__default__default__default.ReactNode;
655
+ children?: React__default.ReactNode;
656
656
  };
657
657
 
658
658
  type EscalationLevel$1 = {
@@ -679,7 +679,7 @@ type EscalationChainProps$2 = {
679
679
  escalationOutput: OutputTarget$1;
680
680
  skipIf?: boolean;
681
681
  /** Prompt / input passed to each agent level. */
682
- children?: React__default__default__default__default__default.ReactNode;
682
+ children?: React__default.ReactNode;
683
683
  };
684
684
 
685
685
  type DriftDetectorProps$2 = {
@@ -698,7 +698,7 @@ type DriftDetectorProps$2 = {
698
698
  /** Condition function that determines whether to fire the alert. If omitted, uses `comparison.drifted === true`. */
699
699
  alertIf?: (comparison: unknown) => boolean;
700
700
  /** Element to render when drift is detected (e.g. a Task that sends a notification). */
701
- alert?: React__default__default__default__default__default.ReactElement;
701
+ alert?: React__default.ReactElement;
702
702
  /** If set, wraps the detector in a Loop for periodic polling. */
703
703
  poll?: {
704
704
  /** Reserved for future delayed polling; maxPolls currently controls Loop iterations. */
@@ -713,7 +713,7 @@ type DecisionRule$1 = {
713
713
  /** Condition evaluated at render time. */
714
714
  when: boolean;
715
715
  /** Element to render when this rule matches. */
716
- then: React__default__default__default__default__default.ReactElement;
716
+ then: React__default.ReactElement;
717
717
  /** Optional display label for the rule. */
718
718
  label?: string;
719
719
  };
@@ -724,7 +724,7 @@ type DecisionTableProps$2 = {
724
724
  /** Ordered list of rules. Each rule has a `when` condition and a `then` element. */
725
725
  rules: DecisionRule$1[];
726
726
  /** Fallback element rendered when no rules match. */
727
- default?: React__default__default__default__default__default.ReactElement;
727
+ default?: React__default.ReactElement;
728
728
  /** `"first-match"` (default): first matching rule wins. `"all-match"`: all matching rules run in parallel. */
729
729
  strategy?: "first-match" | "all-match";
730
730
  skipIf?: boolean;
@@ -738,7 +738,7 @@ type DebateProps$2 = {
738
738
  rounds?: number;
739
739
  argumentOutput: OutputTarget$1;
740
740
  verdictOutput: OutputTarget$1;
741
- topic: string | React__default__default__default__default__default.ReactNode;
741
+ topic: string | React__default.ReactNode;
742
742
  skipIf?: boolean;
743
743
  };
744
744
 
@@ -767,7 +767,7 @@ type ContentPipelineProps$2 = {
767
767
  /** Skip the entire pipeline. */
768
768
  skipIf?: boolean;
769
769
  /** Initial prompt/content for the first stage (string or ReactNode). */
770
- children: string | React__default__default__default__default__default.ReactNode;
770
+ children: string | React__default.ReactNode;
771
771
  };
772
772
 
773
773
  type CategoryConfig$1 = {
@@ -801,7 +801,7 @@ type ClassifyAndRouteProps$2 = {
801
801
  /** Max parallel routes. */
802
802
  maxConcurrency?: number;
803
803
  skipIf?: boolean;
804
- children?: React__default__default__default__default__default.ReactNode;
804
+ children?: React__default.ReactNode;
805
805
  };
806
806
 
807
807
  type CheckConfig$1 = {
@@ -823,9 +823,15 @@ type CheckSuiteProps$2 = {
823
823
 
824
824
  type BranchProps$2 = {
825
825
  if: boolean;
826
- then: React__default__default__default__default__default.ReactElement;
827
- else?: React__default__default__default__default__default.ReactElement | null;
826
+ then: React__default.ReactElement;
827
+ else?: React__default.ReactElement | null;
828
828
  skipIf?: boolean;
829
+ /**
830
+ * `<Branch>` resolves its subtree from `then`/`else`; it takes no children.
831
+ * Typed as `never` so passing JSX children is a compile-time error (the
832
+ * runtime also throws — children would otherwise be silently dropped).
833
+ */
834
+ children?: never;
829
835
  };
830
836
 
831
837
  /**
@@ -876,7 +882,7 @@ type AspectsProps$2 = {
876
882
  /** Which metrics to track. Defaults to all enabled. */
877
883
  tracking?: TrackingConfig;
878
884
  /** Workflow content these aspects apply to. */
879
- children?: React__default__default__default__default__default.ReactNode;
885
+ children?: React__default.ReactNode;
880
886
  };
881
887
 
882
888
  type ApprovalMode$1 = "approve" | "select" | "rank";
@@ -926,8 +932,8 @@ type ApprovalProps$2<_Row = ApprovalDecision$1, Output extends OutputTarget$1 =
926
932
  label?: string;
927
933
  meta?: Record<string, unknown>;
928
934
  key?: string;
929
- children?: React__default__default__default__default__default.ReactNode;
930
- smithersContext?: React__default__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
935
+ children?: React__default.ReactNode;
936
+ smithersContext?: React__default.Context<SmithersCtx$1<unknown> | null>;
931
937
  };
932
938
 
933
939
  type ApprovalRanking$1 = z.infer<typeof approvalRankingSchema>;
@@ -937,7 +943,7 @@ type ApprovalRanking$1 = z.infer<typeof approvalRankingSchema>;
937
943
  * @param {ApprovalProps<Row>} props
938
944
  * @returns {React.ReactElement | null}
939
945
  */
940
- declare function Approval<Row>(props: ApprovalProps$1<Row>): React__default__default__default__default__default.ReactElement | null;
946
+ declare function Approval<Row>(props: ApprovalProps$1<Row>): React__default.ReactElement | null;
941
947
  /** @typedef {import("./ApprovalAutoApprove.ts").ApprovalAutoApprove} ApprovalAutoApprove */
942
948
  /** @typedef {import("./ApprovalMode.ts").ApprovalMode} ApprovalMode */
943
949
  /** @typedef {import("./ApprovalOption.ts").ApprovalOption} ApprovalOption */
@@ -987,7 +993,7 @@ type ApprovalGateProps$2 = {
987
993
  * @param {WorkflowProps} props
988
994
  * @returns {React.DOMElement<WorkflowProps, Element>}
989
995
  */
990
- declare function Workflow(props: WorkflowProps$1): React__default__default__default__default__default.DOMElement<WorkflowProps$1, Element>;
996
+ declare function Workflow(props: WorkflowProps$1): React__default.DOMElement<WorkflowProps$1, Element>;
991
997
  type WorkflowProps$1 = WorkflowProps$2;
992
998
 
993
999
  /**
@@ -995,53 +1001,53 @@ type WorkflowProps$1 = WorkflowProps$2;
995
1001
  * @param {TaskProps<Row, Output, D>} props
996
1002
  * @returns {React.ReactElement | null}
997
1003
  */
998
- declare function Task<Row, Output, D>(props: TaskProps$1<Row, Output, D>): React__default__default__default__default__default.ReactElement | null;
1004
+ declare function Task<Row, Output, D>(props: TaskProps$1<Row, Output, D>): React__default.ReactElement | null;
999
1005
  type TaskProps$1<Row, Output, D> = TaskProps$2<Row, Output, D>;
1000
1006
 
1001
1007
  /** @typedef {import("./SequenceProps.ts").SequenceProps} SequenceProps */
1002
1008
  /**
1003
1009
  * @param {SequenceProps} props
1004
1010
  */
1005
- declare function Sequence(props: SequenceProps$1): React__default__default__default__default__default.DOMElement<{}, Element> | null;
1011
+ declare function Sequence(props: SequenceProps$1): React__default.DOMElement<{}, Element> | null;
1006
1012
  type SequenceProps$1 = SequenceProps$2;
1007
1013
 
1008
1014
  /** @typedef {import("./ParallelProps.ts").ParallelProps} ParallelProps */
1009
1015
  /**
1010
1016
  * @param {ParallelProps} props
1011
1017
  */
1012
- declare function Parallel(props: ParallelProps$1): React__default__default__default__default__default.ReactElement<{
1018
+ declare function Parallel(props: ParallelProps$1): React__default.ReactElement<{
1013
1019
  maxConcurrency: number | undefined;
1014
1020
  id: string | undefined;
1015
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1021
+ }, string | React__default.JSXElementConstructor<any>> | null;
1016
1022
  type ParallelProps$1 = ParallelProps$2;
1017
1023
 
1018
1024
  /** @typedef {import("./MergeQueueProps.ts").MergeQueueProps} MergeQueueProps */
1019
1025
  /**
1020
1026
  * @param {MergeQueueProps} props
1021
1027
  */
1022
- declare function MergeQueue(props: MergeQueueProps$1): React__default__default__default__default__default.ReactElement<{
1028
+ declare function MergeQueue(props: MergeQueueProps$1): React__default.ReactElement<{
1023
1029
  maxConcurrency: any;
1024
1030
  id: string | undefined;
1025
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1031
+ }, string | React__default.JSXElementConstructor<any>> | null;
1026
1032
  type MergeQueueProps$1 = MergeQueueProps$2;
1027
1033
 
1028
1034
  /** @typedef {import("./BranchProps.ts").BranchProps} BranchProps */
1029
1035
  /**
1030
1036
  * @param {BranchProps} props
1031
1037
  */
1032
- declare function Branch(props: BranchProps$1): React__default__default__default__default__default.DOMElement<{}, Element> | null;
1038
+ declare function Branch(props: BranchProps$1): React__default.DOMElement<{}, Element> | null;
1033
1039
  type BranchProps$1 = BranchProps$2;
1034
1040
 
1035
1041
  /** @typedef {import("./WorktreeProps.ts").WorktreeProps} WorktreeProps */
1036
1042
  /**
1037
1043
  * @param {WorktreeProps} props
1038
1044
  */
1039
- declare function Worktree(props: WorktreeProps$1): React__default__default__default__default__default.ReactElement<{
1045
+ declare function Worktree(props: WorktreeProps$1): React__default.ReactElement<{
1040
1046
  id: string | undefined;
1041
1047
  path: string;
1042
1048
  branch: string | undefined;
1043
1049
  baseBranch: string | undefined;
1044
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1050
+ }, string | React__default.JSXElementConstructor<any>> | null;
1045
1051
  type WorktreeProps$1 = WorktreeProps$2;
1046
1052
 
1047
1053
  /**
@@ -1052,7 +1058,7 @@ type WorktreeProps$1 = WorktreeProps$2;
1052
1058
  * Items in the same column can be processed in parallel.
1053
1059
  * @param {KanbanProps} props
1054
1060
  */
1055
- declare function Kanban(props: KanbanProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | React__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
1061
+ declare function Kanban(props: KanbanProps$1): React__default.FunctionComponentElement<SequenceProps$2> | React__default.FunctionComponentElement<LoopProps$2> | null;
1056
1062
  type KanbanProps$1 = KanbanProps$2;
1057
1063
 
1058
1064
  /**
@@ -1063,7 +1069,7 @@ type KanbanProps$1 = KanbanProps$2;
1063
1069
  * appropriate category agent.
1064
1070
  * @param {ClassifyAndRouteProps} props
1065
1071
  */
1066
- declare function ClassifyAndRoute(props: ClassifyAndRouteProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1072
+ declare function ClassifyAndRoute(props: ClassifyAndRouteProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1067
1073
  type ClassifyAndRouteProps$1 = ClassifyAndRouteProps$2;
1068
1074
 
1069
1075
  /**
@@ -1075,7 +1081,7 @@ type ClassifyAndRouteProps$1 = ClassifyAndRouteProps$2;
1075
1081
  * and produces a combined output.
1076
1082
  * @param {GatherAndSynthesizeProps} props
1077
1083
  */
1078
- declare function GatherAndSynthesize(props: GatherAndSynthesizeProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1084
+ declare function GatherAndSynthesize(props: GatherAndSynthesizeProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1079
1085
  type GatherAndSynthesizeProps$1 = GatherAndSynthesizeProps$2;
1080
1086
 
1081
1087
  /**
@@ -1084,7 +1090,7 @@ type GatherAndSynthesizeProps$1 = GatherAndSynthesizeProps$2;
1084
1090
  * Composes: Sequence > Parallel[Task per panelist] > Task(moderator)
1085
1091
  * @param {PanelProps} props
1086
1092
  */
1087
- declare function Panel(props: PanelProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1093
+ declare function Panel(props: PanelProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1088
1094
  type PanelProps$1 = PanelProps$2;
1089
1095
 
1090
1096
  /**
@@ -1093,7 +1099,7 @@ type PanelProps$1 = PanelProps$2;
1093
1099
  * Composes: Sequence > Parallel[Task per check] > Task(verdict aggregator)
1094
1100
  * @param {CheckSuiteProps} props
1095
1101
  */
1096
- declare function CheckSuite(props: CheckSuiteProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1102
+ declare function CheckSuite(props: CheckSuiteProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1097
1103
  type CheckSuiteProps$1 = CheckSuiteProps$2;
1098
1104
 
1099
1105
  /**
@@ -1102,7 +1108,7 @@ type CheckSuiteProps$1 = CheckSuiteProps$2;
1102
1108
  * Composes: Sequence > Loop[Parallel(proposer, opponent)] > Task(judge)
1103
1109
  * @param {DebateProps} props
1104
1110
  */
1105
- declare function Debate(props: DebateProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1111
+ declare function Debate(props: DebateProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1106
1112
  type DebateProps$1 = DebateProps$2;
1107
1113
 
1108
1114
  /**
@@ -1113,7 +1119,7 @@ type DebateProps$1 = DebateProps$2;
1113
1119
  * feedback on subsequent iterations.
1114
1120
  * @param {ReviewLoopProps} props
1115
1121
  */
1116
- declare function ReviewLoop(props: ReviewLoopProps$1): React__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
1122
+ declare function ReviewLoop(props: ReviewLoopProps$1): React__default.FunctionComponentElement<LoopProps$2> | null;
1117
1123
  type ReviewLoopProps$1 = ReviewLoopProps$2;
1118
1124
 
1119
1125
  /**
@@ -1124,7 +1130,7 @@ type ReviewLoopProps$1 = ReviewLoopProps$2;
1124
1130
  * score and feedback to guide improvement.
1125
1131
  * @param {OptimizerProps} props
1126
1132
  */
1127
- declare function Optimizer(props: OptimizerProps$1): React__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
1133
+ declare function Optimizer(props: OptimizerProps$1): React__default.FunctionComponentElement<LoopProps$2> | null;
1128
1134
  type OptimizerProps$1 = OptimizerProps$2;
1129
1135
 
1130
1136
  /**
@@ -1135,7 +1141,7 @@ type OptimizerProps$1 = OptimizerProps$2;
1135
1141
  * the previous stage, passing output forward through the pipeline.
1136
1142
  * @param {ContentPipelineProps} props
1137
1143
  */
1138
- declare function ContentPipeline(props: ContentPipelineProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1144
+ declare function ContentPipeline(props: ContentPipelineProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1139
1145
  type ContentPipelineProps$1 = ContentPipelineProps$2;
1140
1146
 
1141
1147
  /**
@@ -1145,7 +1151,7 @@ type ContentPipelineProps$1 = ContentPipelineProps$2;
1145
1151
  * Composes Branch + Approval + Task internally.
1146
1152
  * @param {ApprovalGateProps} props
1147
1153
  */
1148
- declare function ApprovalGate(props: ApprovalGateProps$1): React__default__default__default__default__default.FunctionComponentElement<BranchProps$2> | null;
1154
+ declare function ApprovalGate(props: ApprovalGateProps$1): React__default.FunctionComponentElement<BranchProps$2> | null;
1149
1155
  type ApprovalGateProps$1 = ApprovalGateProps$2;
1150
1156
 
1151
1157
  /**
@@ -1155,7 +1161,7 @@ type ApprovalGateProps$1 = ApprovalGateProps$2;
1155
1161
  * Composes Sequence + Task (with `continueOnFail`) + Branch + Approval.
1156
1162
  * @param {EscalationChainProps} props
1157
1163
  */
1158
- declare function EscalationChain(props: EscalationChainProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1164
+ declare function EscalationChain(props: EscalationChainProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1159
1165
  type EscalationChainProps$1 = EscalationChainProps$2;
1160
1166
 
1161
1167
  /**
@@ -1168,26 +1174,26 @@ type EscalationChainProps$1 = EscalationChainProps$2;
1168
1174
  * Composes Branch and Parallel internally.
1169
1175
  * @param {DecisionTableProps} props
1170
1176
  */
1171
- declare function DecisionTable(props: DecisionTableProps$1): React__default__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default__default.JSXElementConstructor<any>> | React__default__default__default__default__default.FunctionComponentElement<ParallelProps$2> | null;
1177
+ declare function DecisionTable(props: DecisionTableProps$1): React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | React__default.FunctionComponentElement<ParallelProps$2> | null;
1172
1178
  type DecisionTableProps$1 = DecisionTableProps$2;
1173
1179
 
1174
1180
  /**
1175
1181
  * @param {DriftDetectorProps} props
1176
1182
  */
1177
- declare function DriftDetector(props: DriftDetectorProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | React__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
1183
+ declare function DriftDetector(props: DriftDetectorProps$1): React__default.FunctionComponentElement<SequenceProps$2> | React__default.FunctionComponentElement<LoopProps$2> | null;
1178
1184
  type DriftDetectorProps$1 = DriftDetectorProps$2;
1179
1185
 
1180
1186
  /** @typedef {import("./ScanFixVerifyProps.ts").ScanFixVerifyProps} ScanFixVerifyProps */
1181
1187
  /**
1182
1188
  * @param {ScanFixVerifyProps} props
1183
1189
  */
1184
- declare function ScanFixVerify(props: ScanFixVerifyProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1190
+ declare function ScanFixVerify(props: ScanFixVerifyProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1185
1191
  type ScanFixVerifyProps$1 = ScanFixVerifyProps$2;
1186
1192
 
1187
1193
  /**
1188
1194
  * @param {PollerProps} props
1189
1195
  */
1190
- declare function Poller(props: PollerProps$1): React__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
1196
+ declare function Poller(props: PollerProps$1): React__default.FunctionComponentElement<LoopProps$2> | null;
1191
1197
  type PollerProps$1 = PollerProps$2;
1192
1198
 
1193
1199
  /**
@@ -1196,7 +1202,7 @@ type PollerProps$1 = PollerProps$2;
1196
1202
  * Composes: Sequence → [plan Task, Loop(until allDone) [Parallel worker Tasks, review Task], final Task]
1197
1203
  * @param {SupervisorProps} props
1198
1204
  */
1199
- declare function Supervisor(props: SupervisorProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1205
+ declare function Supervisor(props: SupervisorProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1200
1206
  type SupervisorProps$1 = SupervisorProps$2;
1201
1207
 
1202
1208
  /**
@@ -1206,7 +1212,7 @@ type SupervisorProps$1 = SupervisorProps$2;
1206
1212
  * Composes: Sequence of [Approval? → Task] per step, chained via `needs`.
1207
1213
  * @param {RunbookProps} props
1208
1214
  */
1209
- declare function Runbook(props: RunbookProps$1): React__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
1215
+ declare function Runbook(props: RunbookProps$1): React__default.FunctionComponentElement<SequenceProps$2> | null;
1210
1216
  type RunbookProps$1 = RunbookProps$2;
1211
1217
 
1212
1218
  /**
@@ -1217,7 +1223,7 @@ type RunbookProps$1 = RunbookProps$2;
1217
1223
  *
1218
1224
  * @param {SidecarProps} props
1219
1225
  */
1220
- declare function Sidecar(props: SidecarProps$1): React__default__default__default__default__default.FunctionComponentElement<ParallelProps$2> | null;
1226
+ declare function Sidecar(props: SidecarProps$1): React__default.FunctionComponentElement<ParallelProps$2> | null;
1221
1227
  type SidecarProps$1 = SidecarProps$2;
1222
1228
 
1223
1229
  type RowLike = {
@@ -1240,7 +1246,7 @@ declare function computeSidecarDelta(rows: RowLike[], opts: ComputeSidecarDeltaO
1240
1246
  /**
1241
1247
  * @param {SubflowProps} props
1242
1248
  */
1243
- declare function Subflow(props: SubflowProps$1): React__default__default__default__default__default.ReactElement<{
1249
+ declare function Subflow(props: SubflowProps$1): React__default.ReactElement<{
1244
1250
  id: string;
1245
1251
  key: string | undefined;
1246
1252
  workflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown>;
@@ -1264,14 +1270,14 @@ declare function Subflow(props: SubflowProps$1): React__default__default__defaul
1264
1270
  __smithersSubflowWorkflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown>;
1265
1271
  __smithersSubflowInput: unknown;
1266
1272
  __smithersSubflowMode: "childRun" | "inline";
1267
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1273
+ }, string | React__default.JSXElementConstructor<any>> | null;
1268
1274
  type SubflowProps$1 = SubflowProps$2;
1269
1275
 
1270
1276
  /** @typedef {import("./SandboxProps.ts").SandboxProps} SandboxProps */
1271
1277
  /**
1272
1278
  * @param {SandboxProps} props
1273
1279
  */
1274
- declare function Sandbox(props: SandboxProps$1): React__default__default__default__default__default.ReactElement<{
1280
+ declare function Sandbox(props: SandboxProps$1): React__default.ReactElement<{
1275
1281
  id: string;
1276
1282
  key: string | undefined;
1277
1283
  output: OutputTarget$1;
@@ -1312,15 +1318,15 @@ declare function Sandbox(props: SandboxProps$1): React__default__default__defaul
1312
1318
  __smithersSandboxInput: unknown;
1313
1319
  __smithersSandboxRuntime: SandboxRuntime$1 | undefined;
1314
1320
  __smithersSandboxAllowNested: boolean | undefined;
1315
- __smithersSandboxChildren: React__default__default__default__default__default.ReactNode;
1316
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1321
+ __smithersSandboxChildren: React__default.ReactNode;
1322
+ }, string | React__default.JSXElementConstructor<any>> | null;
1317
1323
  type SandboxProps$1 = SandboxProps$2;
1318
1324
 
1319
1325
  /** @typedef {import("./WaitForEventProps.ts").WaitForEventProps} WaitForEventProps */
1320
1326
  /**
1321
1327
  * @param {WaitForEventProps} props
1322
1328
  */
1323
- declare function WaitForEvent(props: WaitForEventProps$1): React__default__default__default__default__default.ReactElement<{
1329
+ declare function WaitForEvent(props: WaitForEventProps$1): React__default.ReactElement<{
1324
1330
  id: string;
1325
1331
  key: string | undefined;
1326
1332
  event: string;
@@ -1343,7 +1349,7 @@ declare function WaitForEvent(props: WaitForEventProps$1): React__default__defau
1343
1349
  __smithersEventName: string;
1344
1350
  __smithersCorrelationId: string | undefined;
1345
1351
  __smithersOnTimeout: "fail" | "continue" | "skip";
1346
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1352
+ }, string | React__default.JSXElementConstructor<any>> | null;
1347
1353
  type WaitForEventProps$1 = WaitForEventProps$2;
1348
1354
 
1349
1355
  /**
@@ -1354,14 +1360,14 @@ type WaitForEventProps$1 = WaitForEventProps$2;
1354
1360
  * @template Schema
1355
1361
  * @param {SignalProps<Schema>} props
1356
1362
  */
1357
- declare function Signal<Schema>(props: SignalProps$1<Schema>): React__default__default__default__default__default.DetailedReactHTMLElement<React__default__default__default__default__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | React__default__default__default__default__default.FunctionComponentElement<React__default__default__default__default__default.FragmentProps> | null;
1363
+ declare function Signal<Schema>(props: SignalProps$1<Schema>): React__default.DetailedReactHTMLElement<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | React__default.FunctionComponentElement<React__default.FragmentProps> | null;
1358
1364
  type SignalProps$1<Schema> = SignalProps$2<Schema>;
1359
1365
 
1360
1366
  /** @typedef {import("./TimerProps.ts").TimerProps} TimerProps */
1361
1367
  /**
1362
1368
  * @param {TimerProps} props
1363
1369
  */
1364
- declare function Timer(props: TimerProps$1): React__default__default__default__default__default.ReactElement<{
1370
+ declare function Timer(props: TimerProps$1): React__default.ReactElement<{
1365
1371
  id: string;
1366
1372
  key: string | undefined;
1367
1373
  duration: string | undefined;
@@ -1376,49 +1382,16 @@ declare function Timer(props: TimerProps$1): React__default__default__default__d
1376
1382
  } | undefined;
1377
1383
  __smithersTimerDuration: string | undefined;
1378
1384
  __smithersTimerUntil: string | undefined;
1379
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1385
+ }, string | React__default.JSXElementConstructor<any>> | null;
1380
1386
  type TimerProps$1 = TimerProps$2;
1381
1387
 
1382
1388
  /**
1383
1389
  * @param {HumanTaskProps} props
1384
1390
  * @returns {React.ReactElement | null}
1385
1391
  */
1386
- declare function HumanTask(props: HumanTaskProps$1): React__default__default__default__default__default.ReactElement | null;
1392
+ declare function HumanTask(props: HumanTaskProps$1): React__default.ReactElement | null;
1387
1393
  type HumanTaskProps$1 = HumanTaskProps$2;
1388
1394
 
1389
- /**
1390
- * Forward steps with registered compensations executed in reverse on failure/cancel.
1391
- *
1392
- * Use the `steps` prop for an array-driven API, or nest `<Saga.Step>` children
1393
- * for a declarative JSX style.
1394
- *
1395
- * Renders to `<smithers:saga>`.
1396
- * @param {SagaProps} props
1397
- */
1398
- declare function Saga(props: SagaProps$1): React__default__default__default__default__default.ReactElement<{
1399
- id: string | undefined;
1400
- onFailure: "fail" | "compensate" | "compensate-and-fail";
1401
- __sagaSteps: {
1402
- id: any;
1403
- label: any;
1404
- }[];
1405
- skipIf?: boolean;
1406
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1407
- declare namespace Saga {
1408
- export { SagaStep as Step };
1409
- }
1410
- type SagaStepProps$1 = SagaStepProps$2;
1411
- type SagaProps$1 = SagaProps$2;
1412
- /** @typedef {import("./SagaStepProps.ts").SagaStepProps} SagaStepProps */
1413
- /**
1414
- * @param {SagaStepProps} _props
1415
- * @returns {React.ReactElement | null}
1416
- */
1417
- declare function SagaStep(_props: SagaStepProps$1): React__default__default__default__default__default.ReactElement | null;
1418
- declare namespace SagaStep {
1419
- let __isSagaStep: boolean;
1420
- }
1421
-
1422
1395
  /**
1423
1396
  * Workflow-scoped error boundary. Catch specific error types, run recovery
1424
1397
  * handlers, and ensure cleanup always runs.
@@ -1430,12 +1403,12 @@ declare namespace SagaStep {
1430
1403
  * Renders to `<smithers:try-catch-finally>`.
1431
1404
  * @param {TryCatchFinallyProps} props
1432
1405
  */
1433
- declare function TryCatchFinally(props: TryCatchFinallyProps$1): React__default__default__default__default__default.ReactElement<{
1406
+ declare function TryCatchFinally(props: TryCatchFinallyProps$1): React__default.ReactElement<{
1434
1407
  id: string | undefined;
1435
- __tcfCatchErrors: ("INVALID_INPUT" | "MISSING_INPUT" | "MISSING_INPUT_TABLE" | "RESUME_METADATA_MISMATCH" | "UNKNOWN_OUTPUT_SCHEMA" | "INVALID_OUTPUT" | "WORKTREE_CREATE_FAILED" | "VCS_NOT_FOUND" | "SNAPSHOT_NOT_FOUND" | "VCS_WORKSPACE_CREATE_FAILED" | "TASK_TIMEOUT" | "TASK_HIJACK_UNSUPPORTED" | "TASK_FORK_SOURCE_NOT_FOUND" | "TASK_FORK_SOURCE_NOT_COMPLETE" | "TASK_FORK_SESSION_UNAVAILABLE" | "TASK_FORK_CYCLE" | "RUN_NOT_FOUND" | "NODE_NOT_FOUND" | "INVALID_EVENTS_OPTIONS" | "SANDBOX_BUNDLE_INVALID" | "SANDBOX_BUNDLE_TOO_LARGE" | "WORKFLOW_EXECUTION_FAILED" | "SANDBOX_EXECUTION_FAILED" | "TASK_HEARTBEAT_TIMEOUT" | "HEARTBEAT_PAYLOAD_TOO_LARGE" | "HEARTBEAT_PAYLOAD_NOT_JSON_SERIALIZABLE" | "TASK_ABORTED" | "RUN_CANCELLED" | "RUN_NOT_RESUMABLE" | "RUN_OWNER_ALIVE" | "RUN_STILL_RUNNING" | "RUN_RESUME_CLAIM_LOST" | "RUN_RESUME_CLAIM_FAILED" | "RUN_RESUME_ACTIVATION_FAILED" | "RUN_HIJACKED" | "CONTINUATION_STATE_TOO_LARGE" | "INVALID_CONTINUATION_STATE" | "RALPH_MAX_REACHED" | "SCHEDULER_ERROR" | "SESSION_ERROR" | "TASK_ID_REQUIRED" | "TASK_MISSING_OUTPUT" | "DUPLICATE_ID" | "NESTED_LOOP" | "WORKTREE_EMPTY_PATH" | "MDX_PRELOAD_INACTIVE" | "CONTEXT_OUTSIDE_WORKFLOW" | "MISSING_OUTPUT" | "DEP_NOT_SATISFIED" | "ASPECT_BUDGET_EXCEEDED" | "APPROVAL_OUTSIDE_TASK" | "APPROVAL_OPTIONS_REQUIRED" | "WORKFLOW_MISSING_DEFAULT" | "TOOL_PATH_INVALID" | "TOOL_PATH_ESCAPE" | "TOOL_FILE_TOO_LARGE" | "TOOL_CONTENT_TOO_LARGE" | "TOOL_PATCH_TOO_LARGE" | "TOOL_PATCH_FAILED" | "TOOL_NETWORK_DISABLED" | "TOOL_GIT_REMOTE_DISABLED" | "TOOL_COMMAND_FAILED" | "TOOL_GREP_FAILED" | "AGENT_CLI_ERROR" | "AGENT_CONFIG_INVALID" | "AGENT_QUOTA_EXCEEDED" | "AGENT_RPC_FILE_ARGS" | "AGENT_BUILD_COMMAND" | "AGENT_DIAGNOSTIC_TIMEOUT" | "ACCOUNT_INVALID" | "ACCOUNT_NOT_FOUND" | "ACCOUNT_DUPLICATE_LABEL" | "ACCOUNTS_FILE_INVALID" | "DB_MISSING_COLUMNS" | "DB_REQUIRES_BUN_SQLITE" | "DB_QUERY_FAILED" | "DB_WRITE_FAILED" | "SMITHERS_MIGRATION_REQUIRED" | "STORAGE_ERROR" | "INTERNAL_ERROR" | "PROCESS_ABORTED" | "PROCESS_TIMEOUT" | "PROCESS_IDLE_TIMEOUT" | "PROCESS_SPAWN_FAILED" | "TASK_RUNTIME_UNAVAILABLE" | "SCHEMA_CHANGE_HOT" | "HOT_OVERLAY_FAILED" | "HOT_RELOAD_INVALID_MODULE" | "SCORER_FAILED" | "WORKFLOW_EXISTS" | "CLI_DB_NOT_FOUND" | "CLI_AGENT_UNSUPPORTED" | "PI_HTTP_ERROR" | "EXTERNAL_BUILD_FAILED" | "SCHEMA_DISCOVERY_FAILED" | "OPENAPI_SPEC_LOAD_FAILED" | "OPENAPI_OPERATION_NOT_FOUND" | "OPENAPI_TOOL_EXECUTION_FAILED" | (string & {}))[] | undefined;
1436
- __tcfCatchHandler: React__default__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default__default.JSXElementConstructor<any>> | ((error: _smithers_orchestrator_errors.SmithersError) => React__default__default__default__default__default.ReactElement) | undefined;
1437
- __tcfFinallyHandler: React__default__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default__default.JSXElementConstructor<any>> | undefined;
1438
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1408
+ __tcfCatchErrors: ("INVALID_INPUT" | "MISSING_INPUT" | "MISSING_INPUT_TABLE" | "RESUME_METADATA_MISMATCH" | "UNKNOWN_OUTPUT_SCHEMA" | "INVALID_OUTPUT" | "WORKTREE_CREATE_FAILED" | "VCS_NOT_FOUND" | "SNAPSHOT_NOT_FOUND" | "VCS_WORKSPACE_CREATE_FAILED" | "TASK_TIMEOUT" | "TASK_HIJACK_UNSUPPORTED" | "TASK_FORK_SOURCE_NOT_FOUND" | "TASK_FORK_SOURCE_NOT_COMPLETE" | "TASK_FORK_SESSION_UNAVAILABLE" | "TASK_FORK_CYCLE" | "RUN_NOT_FOUND" | "NODE_NOT_FOUND" | "INVALID_EVENTS_OPTIONS" | "SANDBOX_BUNDLE_INVALID" | "SANDBOX_BUNDLE_TOO_LARGE" | "WORKFLOW_EXECUTION_FAILED" | "SANDBOX_EXECUTION_FAILED" | "TASK_HEARTBEAT_TIMEOUT" | "HEARTBEAT_PAYLOAD_TOO_LARGE" | "HEARTBEAT_PAYLOAD_NOT_JSON_SERIALIZABLE" | "TASK_ABORTED" | "RUN_CANCELLED" | "RUN_NOT_RESUMABLE" | "RUN_OWNER_ALIVE" | "RUN_STILL_RUNNING" | "RUN_RESUME_CLAIM_LOST" | "RUN_RESUME_CLAIM_FAILED" | "RUN_RESUME_ACTIVATION_FAILED" | "RUN_HIJACKED" | "CONTINUATION_STATE_TOO_LARGE" | "INVALID_CONTINUATION_STATE" | "RALPH_MAX_REACHED" | "SCHEDULER_ERROR" | "SESSION_ERROR" | "TASK_ID_REQUIRED" | "TASK_MISSING_OUTPUT" | "DUPLICATE_ID" | "NESTED_LOOP" | "WORKTREE_EMPTY_PATH" | "MDX_PRELOAD_INACTIVE" | "CONTEXT_OUTSIDE_WORKFLOW" | "MISSING_OUTPUT" | "DEP_NOT_SATISFIED" | "ASPECT_BUDGET_EXCEEDED" | "APPROVAL_OUTSIDE_TASK" | "APPROVAL_OPTIONS_REQUIRED" | "WORKFLOW_MISSING_DEFAULT" | "TOOL_PATH_INVALID" | "TOOL_PATH_ESCAPE" | "TOOL_FILE_TOO_LARGE" | "TOOL_CONTENT_TOO_LARGE" | "TOOL_PATCH_TOO_LARGE" | "TOOL_PATCH_FAILED" | "TOOL_NETWORK_DISABLED" | "TOOL_GIT_REMOTE_DISABLED" | "TOOL_COMMAND_FAILED" | "TOOL_GREP_FAILED" | "AGENT_CLI_ERROR" | "AGENT_CONFIG_INVALID" | "AGENT_QUOTA_EXCEEDED" | "AGENT_RPC_FILE_ARGS" | "AGENT_BUILD_COMMAND" | "AGENT_DIAGNOSTIC_TIMEOUT" | "ACCOUNT_INVALID" | "ACCOUNT_NOT_FOUND" | "ACCOUNT_DUPLICATE_LABEL" | "ACCOUNTS_FILE_INVALID" | "DB_MISSING_COLUMNS" | "DB_REQUIRES_BUN_SQLITE" | "DB_QUERY_FAILED" | "DB_WRITE_FAILED" | "SMITHERS_MIGRATION_REQUIRED" | "SMITHERS_BACKEND_CONFLICT" | "STORAGE_ERROR" | "INTERNAL_ERROR" | "PROCESS_ABORTED" | "PROCESS_TIMEOUT" | "PROCESS_IDLE_TIMEOUT" | "PROCESS_SPAWN_FAILED" | "TASK_RUNTIME_UNAVAILABLE" | "SCHEMA_CHANGE_HOT" | "HOT_OVERLAY_FAILED" | "HOT_RELOAD_INVALID_MODULE" | "SCORER_FAILED" | "WORKFLOW_EXISTS" | "CLI_DB_NOT_FOUND" | "CLI_AGENT_UNSUPPORTED" | "PI_HTTP_ERROR" | "EXTERNAL_BUILD_FAILED" | "SCHEMA_DISCOVERY_FAILED" | "OPENAPI_SPEC_LOAD_FAILED" | "OPENAPI_OPERATION_NOT_FOUND" | "OPENAPI_TOOL_EXECUTION_FAILED" | (string & {}))[] | undefined;
1409
+ __tcfCatchHandler: React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | ((error: _smithers_orchestrator_errors.SmithersError) => React__default.ReactElement) | undefined;
1410
+ __tcfFinallyHandler: React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | undefined;
1411
+ }, string | React__default.JSXElementConstructor<any>> | null;
1439
1412
  type TryCatchFinallyProps$1 = TryCatchFinallyProps$2;
1440
1413
 
1441
1414
  /**
@@ -1473,7 +1446,7 @@ type AspectContextValue = {
1473
1446
  * ```
1474
1447
  * @param {AspectsProps} props
1475
1448
  */
1476
- declare function Aspects(props: AspectsProps$1): React__default__default__default__default__default.FunctionComponentElement<React__default__default__default__default__default.ProviderProps<AspectContextValue | null>>;
1449
+ declare function Aspects(props: AspectsProps$1): React__default.FunctionComponentElement<React__default.ProviderProps<AspectContextValue | null>>;
1477
1450
  type AspectsProps$1 = AspectsProps$2;
1478
1451
 
1479
1452
  /**
@@ -1502,48 +1475,84 @@ type AspectsProps$1 = AspectsProps$2;
1502
1475
  * ```
1503
1476
  * @param {SuperSmithersProps} props
1504
1477
  */
1505
- declare function SuperSmithers(props: SuperSmithersProps$1): React__default__default__default__default__default.ReactElement<{
1478
+ declare function SuperSmithers(props: SuperSmithersProps$1): React__default.ReactElement<{
1506
1479
  id: string;
1507
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1480
+ }, string | React__default.JSXElementConstructor<any>> | null;
1508
1481
  type SuperSmithersProps$1 = SuperSmithersProps$2;
1509
1482
 
1510
1483
  /** @typedef {import("./LoopProps.ts").LoopProps} LoopProps */
1511
1484
  /**
1512
1485
  * @param {LoopProps} props
1513
1486
  */
1514
- declare function Loop(props: LoopProps$1): React__default__default__default__default__default.ReactElement<{
1487
+ declare function Loop(props: LoopProps$1): React__default.ReactElement<{
1515
1488
  id: string | undefined;
1516
1489
  until: boolean | undefined;
1517
1490
  maxIterations: number | undefined;
1518
1491
  onMaxReached: "fail" | "return-last" | undefined;
1519
1492
  continueAsNewEvery: number | undefined;
1520
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1493
+ }, string | React__default.JSXElementConstructor<any>> | null;
1521
1494
  /** @typedef {import("./LoopProps.ts").LoopProps} LoopProps */
1522
1495
  /**
1523
1496
  * @param {LoopProps} props
1524
1497
  */
1525
- declare function Ralph(props: LoopProps$1): React__default__default__default__default__default.ReactElement<{
1498
+ declare function Ralph(props: LoopProps$1): React__default.ReactElement<{
1526
1499
  id: string | undefined;
1527
1500
  until: boolean | undefined;
1528
1501
  maxIterations: number | undefined;
1529
1502
  onMaxReached: "fail" | "return-last" | undefined;
1530
1503
  continueAsNewEvery: number | undefined;
1531
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>> | null;
1504
+ }, string | React__default.JSXElementConstructor<any>> | null;
1532
1505
  type LoopProps$1 = LoopProps$2;
1533
1506
 
1534
1507
  /**
1535
1508
  * @param {ContinueAsNewProps} props
1536
1509
  */
1537
- declare function ContinueAsNew(props: ContinueAsNewProps$1): React__default__default__default__default__default.ReactElement<{
1510
+ declare function ContinueAsNew(props: ContinueAsNewProps$1): React__default.ReactElement<{
1538
1511
  stateJson: string | undefined;
1539
- }, string | React__default__default__default__default__default.JSXElementConstructor<any>>;
1512
+ }, string | React__default.JSXElementConstructor<any>>;
1540
1513
  /**
1541
1514
  * Convenience helper for conditional continuation inside workflow JSX:
1542
1515
  * `{shouldContinue ? continueAsNew({ cursor }) : null}`
1543
1516
  */
1544
- declare function continueAsNew(state: any): React__default__default__default__default__default.FunctionComponentElement<ContinueAsNewProps$2>;
1517
+ declare function continueAsNew(state: any): React__default.FunctionComponentElement<ContinueAsNewProps$2>;
1545
1518
  type ContinueAsNewProps$1 = ContinueAsNewProps$2;
1546
1519
 
1520
+ /** @typedef {import("./SagaStepProps.ts").SagaStepProps} SagaStepProps */
1521
+ /**
1522
+ * Declarative marker for a Saga step. Exported as a value so `import { SagaStep }`
1523
+ * works; also available as `<Saga.Step>`.
1524
+ *
1525
+ * @param {SagaStepProps} _props
1526
+ * @returns {React.ReactElement | null}
1527
+ */
1528
+ declare function SagaStep(_props: SagaStepProps$1): React__default.ReactElement | null;
1529
+ declare namespace SagaStep {
1530
+ let __isSagaStep: boolean;
1531
+ }
1532
+ /**
1533
+ * Forward steps with registered compensations executed in reverse on failure/cancel.
1534
+ *
1535
+ * Use the `steps` prop for an array-driven API, or nest `<Saga.Step>` children
1536
+ * for a declarative JSX style.
1537
+ *
1538
+ * Renders to `<smithers:saga>`.
1539
+ * @param {SagaProps} props
1540
+ */
1541
+ declare function Saga(props: SagaProps$1): React__default.ReactElement<{
1542
+ id: string | undefined;
1543
+ onFailure: "fail" | "compensate" | "compensate-and-fail";
1544
+ __sagaSteps: {
1545
+ id: any;
1546
+ label: any;
1547
+ }[];
1548
+ skipIf?: boolean;
1549
+ }, string | React__default.JSXElementConstructor<any>> | null;
1550
+ declare namespace Saga {
1551
+ export { SagaStep as Step };
1552
+ }
1553
+ type SagaStepProps$1 = SagaStepProps$2;
1554
+ type SagaProps$1 = SagaProps$2;
1555
+
1547
1556
  type ApprovalAutoApprove = ApprovalAutoApprove$1;
1548
1557
  type ApprovalDecision = ApprovalDecision$1;
1549
1558
  type ApprovalGateProps = ApprovalGateProps$2;
@@ -1612,7 +1621,7 @@ type WorkflowProps = WorkflowProps$2;
1612
1621
  type WorktreeProps = WorktreeProps$2;
1613
1622
 
1614
1623
  /** @type {Record<string, React.FC<any>>} */
1615
- declare const markdownComponents: Record<string, React__default__default__default__default__default.FC<any>>;
1624
+ declare const markdownComponents: Record<string, React__default.FC<any>>;
1616
1625
 
1617
1626
  /** @typedef {import("react").ComponentType<Record<string, any>>} MDXContent */
1618
1627
  /**
@@ -1626,7 +1635,7 @@ declare const markdownComponents: Record<string, React__default__default__defaul
1626
1635
  * @returns {string}
1627
1636
  */
1628
1637
  declare function renderMdx(Component: MDXContent, props?: Record<string, any>): string;
1629
- type MDXContent = React__default__default__default__default.ComponentType<Record<string, any>>;
1638
+ type MDXContent = React.ComponentType<Record<string, any>>;
1630
1639
 
1631
1640
  /** @typedef {import("zod").ZodObject<import("zod").ZodRawShape>} ZodObject */
1632
1641
  /** @typedef {import("zod").ZodTypeAny} ZodTypeAny */