@smithers-orchestrator/components 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -10
- package/src/index.d.ts +107 -107
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithers-orchestrator/components",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.1",
|
|
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/
|
|
28
|
-
"@smithers-orchestrator/
|
|
29
|
-
"@smithers-orchestrator/
|
|
30
|
-
"@smithers-orchestrator/
|
|
31
|
-
"@smithers-orchestrator/
|
|
32
|
-
"@smithers-orchestrator/
|
|
33
|
-
"@smithers-orchestrator/
|
|
34
|
-
"@smithers-orchestrator/
|
|
35
|
-
"@smithers-orchestrator/react-reconciler": "0.25.
|
|
27
|
+
"@smithers-orchestrator/db": "0.25.1",
|
|
28
|
+
"@smithers-orchestrator/errors": "0.25.1",
|
|
29
|
+
"@smithers-orchestrator/driver": "0.25.1",
|
|
30
|
+
"@smithers-orchestrator/agents": "0.25.1",
|
|
31
|
+
"@smithers-orchestrator/graph": "0.25.1",
|
|
32
|
+
"@smithers-orchestrator/memory": "0.25.1",
|
|
33
|
+
"@smithers-orchestrator/scheduler": "0.25.1",
|
|
34
|
+
"@smithers-orchestrator/observability": "0.25.1",
|
|
35
|
+
"@smithers-orchestrator/react-reconciler": "0.25.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@tanstack/react-query": "^5.99.1",
|
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
|
|
22
|
-
import
|
|
21
|
+
import * as React__default__default__default__default__default from 'react';
|
|
22
|
+
import React__default__default__default__default__default__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?:
|
|
41
|
+
children?: React__default__default__default__default__default__default.ReactNode;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
type WorkflowProps$2 = {
|
|
45
45
|
name: string;
|
|
46
46
|
cache?: boolean;
|
|
47
|
-
children?:
|
|
47
|
+
children?: React__default__default__default__default__default__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:
|
|
84
|
-
catch?:
|
|
83
|
+
try: React__default__default__default__default__default__default.ReactElement;
|
|
84
|
+
catch?: React__default__default__default__default__default__default.ReactElement | ((error: SmithersError) => React__default__default__default__default__default__default.ReactElement);
|
|
85
85
|
catchErrors?: SmithersErrorCode$1[];
|
|
86
|
-
finally?:
|
|
86
|
+
finally?: React__default__default__default__default__default__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?:
|
|
178
|
-
children?: string | Row | (() => Row | Promise<Row>) |
|
|
177
|
+
smithersContext?: React__default__default__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
|
|
178
|
+
children?: string | Row | (() => Row | Promise<Row>) | React__default__default__default__default__default__default.ReactNode | ((deps: InferDeps$1<D>) => Row | React__default__default__default__default__default__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 |
|
|
203
|
+
children: string | React__default__default__default__default__default__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 |
|
|
210
|
+
strategy: string | React__default__default__default__default__default__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?:
|
|
248
|
+
children?: React__default__default__default__default__default__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?:
|
|
257
|
+
children?: React__default__default__default__default__default__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>) =>
|
|
275
|
-
smithersContext?:
|
|
274
|
+
children?: (data: z.infer<Schema>) => React__default__default__default__default__default__default.ReactNode;
|
|
275
|
+
smithersContext?: React__default__default__default__default__default__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 |
|
|
286
|
-
input?: string |
|
|
285
|
+
prompt?: string | React__default__default__default__default__default__default.ReactNode;
|
|
286
|
+
input?: string | React__default__default__default__default__default__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 |
|
|
293
|
+
children?: string | React__default__default__default__default__default__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?:
|
|
306
|
+
children?: React__default__default__default__default__default__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?:
|
|
333
|
+
children?: React__default__default__default__default__default__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?:
|
|
402
|
+
children?: React__default__default__default__default__default__default.ReactNode;
|
|
403
403
|
};
|
|
404
404
|
|
|
405
405
|
type SagaStepProps$2 = {
|
|
406
406
|
id: string;
|
|
407
|
-
compensation:
|
|
408
|
-
children:
|
|
407
|
+
compensation: React__default__default__default__default__default__default.ReactElement;
|
|
408
|
+
children: React__default__default__default__default__default__default.ReactElement;
|
|
409
409
|
};
|
|
410
410
|
|
|
411
411
|
type SagaStepDef$1 = {
|
|
412
412
|
id: string;
|
|
413
|
-
action:
|
|
414
|
-
compensation:
|
|
413
|
+
action: React__default__default__default__default__default__default.ReactElement;
|
|
414
|
+
compensation: React__default__default__default__default__default__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?:
|
|
423
|
+
children?: React__default__default__default__default__default__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 |
|
|
479
|
+
children: string | React__default__default__default__default__default__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?:
|
|
490
|
+
children?: React__default__default__default__default__default__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?:
|
|
514
|
+
children?: React__default__default__default__default__default__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?:
|
|
521
|
+
children?: React__default__default__default__default__default__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 |
|
|
540
|
+
children: string | React__default__default__default__default__default__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 |
|
|
562
|
+
children: string | React__default__default__default__default__default__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?:
|
|
573
|
+
children?: React__default__default__default__default__default__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?:
|
|
611
|
+
children?: React__default__default__default__default__default__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 |
|
|
621
|
+
prompt: string | React__default__default__default__default__default__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?:
|
|
655
|
+
children?: React__default__default__default__default__default__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?:
|
|
682
|
+
children?: React__default__default__default__default__default__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?:
|
|
701
|
+
alert?: React__default__default__default__default__default__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:
|
|
716
|
+
then: React__default__default__default__default__default__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?:
|
|
727
|
+
default?: React__default__default__default__default__default__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 |
|
|
741
|
+
topic: string | React__default__default__default__default__default__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 |
|
|
770
|
+
children: string | React__default__default__default__default__default__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?:
|
|
804
|
+
children?: React__default__default__default__default__default__default.ReactNode;
|
|
805
805
|
};
|
|
806
806
|
|
|
807
807
|
type CheckConfig$1 = {
|
|
@@ -823,8 +823,8 @@ type CheckSuiteProps$2 = {
|
|
|
823
823
|
|
|
824
824
|
type BranchProps$2 = {
|
|
825
825
|
if: boolean;
|
|
826
|
-
then:
|
|
827
|
-
else?:
|
|
826
|
+
then: React__default__default__default__default__default__default.ReactElement;
|
|
827
|
+
else?: React__default__default__default__default__default__default.ReactElement | null;
|
|
828
828
|
skipIf?: boolean;
|
|
829
829
|
};
|
|
830
830
|
|
|
@@ -876,7 +876,7 @@ type AspectsProps$2 = {
|
|
|
876
876
|
/** Which metrics to track. Defaults to all enabled. */
|
|
877
877
|
tracking?: TrackingConfig;
|
|
878
878
|
/** Workflow content these aspects apply to. */
|
|
879
|
-
children?:
|
|
879
|
+
children?: React__default__default__default__default__default__default.ReactNode;
|
|
880
880
|
};
|
|
881
881
|
|
|
882
882
|
type ApprovalMode$1 = "approve" | "select" | "rank";
|
|
@@ -926,8 +926,8 @@ type ApprovalProps$2<_Row = ApprovalDecision$1, Output extends OutputTarget$1 =
|
|
|
926
926
|
label?: string;
|
|
927
927
|
meta?: Record<string, unknown>;
|
|
928
928
|
key?: string;
|
|
929
|
-
children?:
|
|
930
|
-
smithersContext?:
|
|
929
|
+
children?: React__default__default__default__default__default__default.ReactNode;
|
|
930
|
+
smithersContext?: React__default__default__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
|
|
931
931
|
};
|
|
932
932
|
|
|
933
933
|
type ApprovalRanking$1 = z.infer<typeof approvalRankingSchema>;
|
|
@@ -937,7 +937,7 @@ type ApprovalRanking$1 = z.infer<typeof approvalRankingSchema>;
|
|
|
937
937
|
* @param {ApprovalProps<Row>} props
|
|
938
938
|
* @returns {React.ReactElement | null}
|
|
939
939
|
*/
|
|
940
|
-
declare function Approval<Row>(props: ApprovalProps$1<Row>):
|
|
940
|
+
declare function Approval<Row>(props: ApprovalProps$1<Row>): React__default__default__default__default__default__default.ReactElement | null;
|
|
941
941
|
/** @typedef {import("./ApprovalAutoApprove.ts").ApprovalAutoApprove} ApprovalAutoApprove */
|
|
942
942
|
/** @typedef {import("./ApprovalMode.ts").ApprovalMode} ApprovalMode */
|
|
943
943
|
/** @typedef {import("./ApprovalOption.ts").ApprovalOption} ApprovalOption */
|
|
@@ -987,7 +987,7 @@ type ApprovalGateProps$2 = {
|
|
|
987
987
|
* @param {WorkflowProps} props
|
|
988
988
|
* @returns {React.DOMElement<WorkflowProps, Element>}
|
|
989
989
|
*/
|
|
990
|
-
declare function Workflow(props: WorkflowProps$1):
|
|
990
|
+
declare function Workflow(props: WorkflowProps$1): React__default__default__default__default__default__default.DOMElement<WorkflowProps$1, Element>;
|
|
991
991
|
type WorkflowProps$1 = WorkflowProps$2;
|
|
992
992
|
|
|
993
993
|
/**
|
|
@@ -995,53 +995,53 @@ type WorkflowProps$1 = WorkflowProps$2;
|
|
|
995
995
|
* @param {TaskProps<Row, Output, D>} props
|
|
996
996
|
* @returns {React.ReactElement | null}
|
|
997
997
|
*/
|
|
998
|
-
declare function Task<Row, Output, D>(props: TaskProps$1<Row, Output, D>):
|
|
998
|
+
declare function Task<Row, Output, D>(props: TaskProps$1<Row, Output, D>): React__default__default__default__default__default__default.ReactElement | null;
|
|
999
999
|
type TaskProps$1<Row, Output, D> = TaskProps$2<Row, Output, D>;
|
|
1000
1000
|
|
|
1001
1001
|
/** @typedef {import("./SequenceProps.ts").SequenceProps} SequenceProps */
|
|
1002
1002
|
/**
|
|
1003
1003
|
* @param {SequenceProps} props
|
|
1004
1004
|
*/
|
|
1005
|
-
declare function Sequence(props: SequenceProps$1):
|
|
1005
|
+
declare function Sequence(props: SequenceProps$1): React__default__default__default__default__default__default.DOMElement<{}, Element> | null;
|
|
1006
1006
|
type SequenceProps$1 = SequenceProps$2;
|
|
1007
1007
|
|
|
1008
1008
|
/** @typedef {import("./ParallelProps.ts").ParallelProps} ParallelProps */
|
|
1009
1009
|
/**
|
|
1010
1010
|
* @param {ParallelProps} props
|
|
1011
1011
|
*/
|
|
1012
|
-
declare function Parallel(props: ParallelProps$1):
|
|
1012
|
+
declare function Parallel(props: ParallelProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1013
1013
|
maxConcurrency: number | undefined;
|
|
1014
1014
|
id: string | undefined;
|
|
1015
|
-
}, string |
|
|
1015
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1016
1016
|
type ParallelProps$1 = ParallelProps$2;
|
|
1017
1017
|
|
|
1018
1018
|
/** @typedef {import("./MergeQueueProps.ts").MergeQueueProps} MergeQueueProps */
|
|
1019
1019
|
/**
|
|
1020
1020
|
* @param {MergeQueueProps} props
|
|
1021
1021
|
*/
|
|
1022
|
-
declare function MergeQueue(props: MergeQueueProps$1):
|
|
1022
|
+
declare function MergeQueue(props: MergeQueueProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1023
1023
|
maxConcurrency: any;
|
|
1024
1024
|
id: string | undefined;
|
|
1025
|
-
}, string |
|
|
1025
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1026
1026
|
type MergeQueueProps$1 = MergeQueueProps$2;
|
|
1027
1027
|
|
|
1028
1028
|
/** @typedef {import("./BranchProps.ts").BranchProps} BranchProps */
|
|
1029
1029
|
/**
|
|
1030
1030
|
* @param {BranchProps} props
|
|
1031
1031
|
*/
|
|
1032
|
-
declare function Branch(props: BranchProps$1):
|
|
1032
|
+
declare function Branch(props: BranchProps$1): React__default__default__default__default__default__default.DOMElement<{}, Element> | null;
|
|
1033
1033
|
type BranchProps$1 = BranchProps$2;
|
|
1034
1034
|
|
|
1035
1035
|
/** @typedef {import("./WorktreeProps.ts").WorktreeProps} WorktreeProps */
|
|
1036
1036
|
/**
|
|
1037
1037
|
* @param {WorktreeProps} props
|
|
1038
1038
|
*/
|
|
1039
|
-
declare function Worktree(props: WorktreeProps$1):
|
|
1039
|
+
declare function Worktree(props: WorktreeProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1040
1040
|
id: string | undefined;
|
|
1041
1041
|
path: string;
|
|
1042
1042
|
branch: string | undefined;
|
|
1043
1043
|
baseBranch: string | undefined;
|
|
1044
|
-
}, string |
|
|
1044
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1045
1045
|
type WorktreeProps$1 = WorktreeProps$2;
|
|
1046
1046
|
|
|
1047
1047
|
/**
|
|
@@ -1052,7 +1052,7 @@ type WorktreeProps$1 = WorktreeProps$2;
|
|
|
1052
1052
|
* Items in the same column can be processed in parallel.
|
|
1053
1053
|
* @param {KanbanProps} props
|
|
1054
1054
|
*/
|
|
1055
|
-
declare function Kanban(props: KanbanProps$1):
|
|
1055
|
+
declare function Kanban(props: KanbanProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | React__default__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1056
1056
|
type KanbanProps$1 = KanbanProps$2;
|
|
1057
1057
|
|
|
1058
1058
|
/**
|
|
@@ -1063,7 +1063,7 @@ type KanbanProps$1 = KanbanProps$2;
|
|
|
1063
1063
|
* appropriate category agent.
|
|
1064
1064
|
* @param {ClassifyAndRouteProps} props
|
|
1065
1065
|
*/
|
|
1066
|
-
declare function ClassifyAndRoute(props: ClassifyAndRouteProps$1):
|
|
1066
|
+
declare function ClassifyAndRoute(props: ClassifyAndRouteProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1067
1067
|
type ClassifyAndRouteProps$1 = ClassifyAndRouteProps$2;
|
|
1068
1068
|
|
|
1069
1069
|
/**
|
|
@@ -1075,7 +1075,7 @@ type ClassifyAndRouteProps$1 = ClassifyAndRouteProps$2;
|
|
|
1075
1075
|
* and produces a combined output.
|
|
1076
1076
|
* @param {GatherAndSynthesizeProps} props
|
|
1077
1077
|
*/
|
|
1078
|
-
declare function GatherAndSynthesize(props: GatherAndSynthesizeProps$1):
|
|
1078
|
+
declare function GatherAndSynthesize(props: GatherAndSynthesizeProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1079
1079
|
type GatherAndSynthesizeProps$1 = GatherAndSynthesizeProps$2;
|
|
1080
1080
|
|
|
1081
1081
|
/**
|
|
@@ -1084,7 +1084,7 @@ type GatherAndSynthesizeProps$1 = GatherAndSynthesizeProps$2;
|
|
|
1084
1084
|
* Composes: Sequence > Parallel[Task per panelist] > Task(moderator)
|
|
1085
1085
|
* @param {PanelProps} props
|
|
1086
1086
|
*/
|
|
1087
|
-
declare function Panel(props: PanelProps$1):
|
|
1087
|
+
declare function Panel(props: PanelProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1088
1088
|
type PanelProps$1 = PanelProps$2;
|
|
1089
1089
|
|
|
1090
1090
|
/**
|
|
@@ -1093,7 +1093,7 @@ type PanelProps$1 = PanelProps$2;
|
|
|
1093
1093
|
* Composes: Sequence > Parallel[Task per check] > Task(verdict aggregator)
|
|
1094
1094
|
* @param {CheckSuiteProps} props
|
|
1095
1095
|
*/
|
|
1096
|
-
declare function CheckSuite(props: CheckSuiteProps$1):
|
|
1096
|
+
declare function CheckSuite(props: CheckSuiteProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1097
1097
|
type CheckSuiteProps$1 = CheckSuiteProps$2;
|
|
1098
1098
|
|
|
1099
1099
|
/**
|
|
@@ -1102,7 +1102,7 @@ type CheckSuiteProps$1 = CheckSuiteProps$2;
|
|
|
1102
1102
|
* Composes: Sequence > Loop[Parallel(proposer, opponent)] > Task(judge)
|
|
1103
1103
|
* @param {DebateProps} props
|
|
1104
1104
|
*/
|
|
1105
|
-
declare function Debate(props: DebateProps$1):
|
|
1105
|
+
declare function Debate(props: DebateProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1106
1106
|
type DebateProps$1 = DebateProps$2;
|
|
1107
1107
|
|
|
1108
1108
|
/**
|
|
@@ -1113,7 +1113,7 @@ type DebateProps$1 = DebateProps$2;
|
|
|
1113
1113
|
* feedback on subsequent iterations.
|
|
1114
1114
|
* @param {ReviewLoopProps} props
|
|
1115
1115
|
*/
|
|
1116
|
-
declare function ReviewLoop(props: ReviewLoopProps$1):
|
|
1116
|
+
declare function ReviewLoop(props: ReviewLoopProps$1): React__default__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1117
1117
|
type ReviewLoopProps$1 = ReviewLoopProps$2;
|
|
1118
1118
|
|
|
1119
1119
|
/**
|
|
@@ -1124,7 +1124,7 @@ type ReviewLoopProps$1 = ReviewLoopProps$2;
|
|
|
1124
1124
|
* score and feedback to guide improvement.
|
|
1125
1125
|
* @param {OptimizerProps} props
|
|
1126
1126
|
*/
|
|
1127
|
-
declare function Optimizer(props: OptimizerProps$1):
|
|
1127
|
+
declare function Optimizer(props: OptimizerProps$1): React__default__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1128
1128
|
type OptimizerProps$1 = OptimizerProps$2;
|
|
1129
1129
|
|
|
1130
1130
|
/**
|
|
@@ -1135,7 +1135,7 @@ type OptimizerProps$1 = OptimizerProps$2;
|
|
|
1135
1135
|
* the previous stage, passing output forward through the pipeline.
|
|
1136
1136
|
* @param {ContentPipelineProps} props
|
|
1137
1137
|
*/
|
|
1138
|
-
declare function ContentPipeline(props: ContentPipelineProps$1):
|
|
1138
|
+
declare function ContentPipeline(props: ContentPipelineProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1139
1139
|
type ContentPipelineProps$1 = ContentPipelineProps$2;
|
|
1140
1140
|
|
|
1141
1141
|
/**
|
|
@@ -1145,7 +1145,7 @@ type ContentPipelineProps$1 = ContentPipelineProps$2;
|
|
|
1145
1145
|
* Composes Branch + Approval + Task internally.
|
|
1146
1146
|
* @param {ApprovalGateProps} props
|
|
1147
1147
|
*/
|
|
1148
|
-
declare function ApprovalGate(props: ApprovalGateProps$1):
|
|
1148
|
+
declare function ApprovalGate(props: ApprovalGateProps$1): React__default__default__default__default__default__default.FunctionComponentElement<BranchProps$2> | null;
|
|
1149
1149
|
type ApprovalGateProps$1 = ApprovalGateProps$2;
|
|
1150
1150
|
|
|
1151
1151
|
/**
|
|
@@ -1155,7 +1155,7 @@ type ApprovalGateProps$1 = ApprovalGateProps$2;
|
|
|
1155
1155
|
* Composes Sequence + Task (with `continueOnFail`) + Branch + Approval.
|
|
1156
1156
|
* @param {EscalationChainProps} props
|
|
1157
1157
|
*/
|
|
1158
|
-
declare function EscalationChain(props: EscalationChainProps$1):
|
|
1158
|
+
declare function EscalationChain(props: EscalationChainProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1159
1159
|
type EscalationChainProps$1 = EscalationChainProps$2;
|
|
1160
1160
|
|
|
1161
1161
|
/**
|
|
@@ -1168,26 +1168,26 @@ type EscalationChainProps$1 = EscalationChainProps$2;
|
|
|
1168
1168
|
* Composes Branch and Parallel internally.
|
|
1169
1169
|
* @param {DecisionTableProps} props
|
|
1170
1170
|
*/
|
|
1171
|
-
declare function DecisionTable(props: DecisionTableProps$1):
|
|
1171
|
+
declare function DecisionTable(props: DecisionTableProps$1): React__default__default__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | React__default__default__default__default__default__default.FunctionComponentElement<ParallelProps$2> | null;
|
|
1172
1172
|
type DecisionTableProps$1 = DecisionTableProps$2;
|
|
1173
1173
|
|
|
1174
1174
|
/**
|
|
1175
1175
|
* @param {DriftDetectorProps} props
|
|
1176
1176
|
*/
|
|
1177
|
-
declare function DriftDetector(props: DriftDetectorProps$1):
|
|
1177
|
+
declare function DriftDetector(props: DriftDetectorProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | React__default__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1178
1178
|
type DriftDetectorProps$1 = DriftDetectorProps$2;
|
|
1179
1179
|
|
|
1180
1180
|
/** @typedef {import("./ScanFixVerifyProps.ts").ScanFixVerifyProps} ScanFixVerifyProps */
|
|
1181
1181
|
/**
|
|
1182
1182
|
* @param {ScanFixVerifyProps} props
|
|
1183
1183
|
*/
|
|
1184
|
-
declare function ScanFixVerify(props: ScanFixVerifyProps$1):
|
|
1184
|
+
declare function ScanFixVerify(props: ScanFixVerifyProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1185
1185
|
type ScanFixVerifyProps$1 = ScanFixVerifyProps$2;
|
|
1186
1186
|
|
|
1187
1187
|
/**
|
|
1188
1188
|
* @param {PollerProps} props
|
|
1189
1189
|
*/
|
|
1190
|
-
declare function Poller(props: PollerProps$1):
|
|
1190
|
+
declare function Poller(props: PollerProps$1): React__default__default__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1191
1191
|
type PollerProps$1 = PollerProps$2;
|
|
1192
1192
|
|
|
1193
1193
|
/**
|
|
@@ -1196,7 +1196,7 @@ type PollerProps$1 = PollerProps$2;
|
|
|
1196
1196
|
* Composes: Sequence → [plan Task, Loop(until allDone) [Parallel worker Tasks, review Task], final Task]
|
|
1197
1197
|
* @param {SupervisorProps} props
|
|
1198
1198
|
*/
|
|
1199
|
-
declare function Supervisor(props: SupervisorProps$1):
|
|
1199
|
+
declare function Supervisor(props: SupervisorProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1200
1200
|
type SupervisorProps$1 = SupervisorProps$2;
|
|
1201
1201
|
|
|
1202
1202
|
/**
|
|
@@ -1206,7 +1206,7 @@ type SupervisorProps$1 = SupervisorProps$2;
|
|
|
1206
1206
|
* Composes: Sequence of [Approval? → Task] per step, chained via `needs`.
|
|
1207
1207
|
* @param {RunbookProps} props
|
|
1208
1208
|
*/
|
|
1209
|
-
declare function Runbook(props: RunbookProps$1):
|
|
1209
|
+
declare function Runbook(props: RunbookProps$1): React__default__default__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1210
1210
|
type RunbookProps$1 = RunbookProps$2;
|
|
1211
1211
|
|
|
1212
1212
|
/**
|
|
@@ -1217,7 +1217,7 @@ type RunbookProps$1 = RunbookProps$2;
|
|
|
1217
1217
|
*
|
|
1218
1218
|
* @param {SidecarProps} props
|
|
1219
1219
|
*/
|
|
1220
|
-
declare function Sidecar(props: SidecarProps$1):
|
|
1220
|
+
declare function Sidecar(props: SidecarProps$1): React__default__default__default__default__default__default.FunctionComponentElement<ParallelProps$2> | null;
|
|
1221
1221
|
type SidecarProps$1 = SidecarProps$2;
|
|
1222
1222
|
|
|
1223
1223
|
type RowLike = {
|
|
@@ -1240,7 +1240,7 @@ declare function computeSidecarDelta(rows: RowLike[], opts: ComputeSidecarDeltaO
|
|
|
1240
1240
|
/**
|
|
1241
1241
|
* @param {SubflowProps} props
|
|
1242
1242
|
*/
|
|
1243
|
-
declare function Subflow(props: SubflowProps$1):
|
|
1243
|
+
declare function Subflow(props: SubflowProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1244
1244
|
id: string;
|
|
1245
1245
|
key: string | undefined;
|
|
1246
1246
|
workflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown>;
|
|
@@ -1264,14 +1264,14 @@ declare function Subflow(props: SubflowProps$1): React__default__default__defaul
|
|
|
1264
1264
|
__smithersSubflowWorkflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown>;
|
|
1265
1265
|
__smithersSubflowInput: unknown;
|
|
1266
1266
|
__smithersSubflowMode: "childRun" | "inline";
|
|
1267
|
-
}, string |
|
|
1267
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1268
1268
|
type SubflowProps$1 = SubflowProps$2;
|
|
1269
1269
|
|
|
1270
1270
|
/** @typedef {import("./SandboxProps.ts").SandboxProps} SandboxProps */
|
|
1271
1271
|
/**
|
|
1272
1272
|
* @param {SandboxProps} props
|
|
1273
1273
|
*/
|
|
1274
|
-
declare function Sandbox(props: SandboxProps$1):
|
|
1274
|
+
declare function Sandbox(props: SandboxProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1275
1275
|
id: string;
|
|
1276
1276
|
key: string | undefined;
|
|
1277
1277
|
output: OutputTarget$1;
|
|
@@ -1312,15 +1312,15 @@ declare function Sandbox(props: SandboxProps$1): React__default__default__defaul
|
|
|
1312
1312
|
__smithersSandboxInput: unknown;
|
|
1313
1313
|
__smithersSandboxRuntime: SandboxRuntime$1 | undefined;
|
|
1314
1314
|
__smithersSandboxAllowNested: boolean | undefined;
|
|
1315
|
-
__smithersSandboxChildren:
|
|
1316
|
-
}, string |
|
|
1315
|
+
__smithersSandboxChildren: React__default__default__default__default__default__default.ReactNode;
|
|
1316
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1317
1317
|
type SandboxProps$1 = SandboxProps$2;
|
|
1318
1318
|
|
|
1319
1319
|
/** @typedef {import("./WaitForEventProps.ts").WaitForEventProps} WaitForEventProps */
|
|
1320
1320
|
/**
|
|
1321
1321
|
* @param {WaitForEventProps} props
|
|
1322
1322
|
*/
|
|
1323
|
-
declare function WaitForEvent(props: WaitForEventProps$1):
|
|
1323
|
+
declare function WaitForEvent(props: WaitForEventProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1324
1324
|
id: string;
|
|
1325
1325
|
key: string | undefined;
|
|
1326
1326
|
event: string;
|
|
@@ -1343,7 +1343,7 @@ declare function WaitForEvent(props: WaitForEventProps$1): React__default__defau
|
|
|
1343
1343
|
__smithersEventName: string;
|
|
1344
1344
|
__smithersCorrelationId: string | undefined;
|
|
1345
1345
|
__smithersOnTimeout: "fail" | "continue" | "skip";
|
|
1346
|
-
}, string |
|
|
1346
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1347
1347
|
type WaitForEventProps$1 = WaitForEventProps$2;
|
|
1348
1348
|
|
|
1349
1349
|
/**
|
|
@@ -1354,14 +1354,14 @@ type WaitForEventProps$1 = WaitForEventProps$2;
|
|
|
1354
1354
|
* @template Schema
|
|
1355
1355
|
* @param {SignalProps<Schema>} props
|
|
1356
1356
|
*/
|
|
1357
|
-
declare function Signal<Schema>(props: SignalProps$1<Schema>):
|
|
1357
|
+
declare function Signal<Schema>(props: SignalProps$1<Schema>): React__default__default__default__default__default__default.DetailedReactHTMLElement<React__default__default__default__default__default__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | React__default__default__default__default__default__default.FunctionComponentElement<React__default__default__default__default__default__default.FragmentProps> | null;
|
|
1358
1358
|
type SignalProps$1<Schema> = SignalProps$2<Schema>;
|
|
1359
1359
|
|
|
1360
1360
|
/** @typedef {import("./TimerProps.ts").TimerProps} TimerProps */
|
|
1361
1361
|
/**
|
|
1362
1362
|
* @param {TimerProps} props
|
|
1363
1363
|
*/
|
|
1364
|
-
declare function Timer(props: TimerProps$1):
|
|
1364
|
+
declare function Timer(props: TimerProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1365
1365
|
id: string;
|
|
1366
1366
|
key: string | undefined;
|
|
1367
1367
|
duration: string | undefined;
|
|
@@ -1376,14 +1376,14 @@ declare function Timer(props: TimerProps$1): React__default__default__default__d
|
|
|
1376
1376
|
} | undefined;
|
|
1377
1377
|
__smithersTimerDuration: string | undefined;
|
|
1378
1378
|
__smithersTimerUntil: string | undefined;
|
|
1379
|
-
}, string |
|
|
1379
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1380
1380
|
type TimerProps$1 = TimerProps$2;
|
|
1381
1381
|
|
|
1382
1382
|
/**
|
|
1383
1383
|
* @param {HumanTaskProps} props
|
|
1384
1384
|
* @returns {React.ReactElement | null}
|
|
1385
1385
|
*/
|
|
1386
|
-
declare function HumanTask(props: HumanTaskProps$1):
|
|
1386
|
+
declare function HumanTask(props: HumanTaskProps$1): React__default__default__default__default__default__default.ReactElement | null;
|
|
1387
1387
|
type HumanTaskProps$1 = HumanTaskProps$2;
|
|
1388
1388
|
|
|
1389
1389
|
/**
|
|
@@ -1395,7 +1395,7 @@ type HumanTaskProps$1 = HumanTaskProps$2;
|
|
|
1395
1395
|
* Renders to `<smithers:saga>`.
|
|
1396
1396
|
* @param {SagaProps} props
|
|
1397
1397
|
*/
|
|
1398
|
-
declare function Saga(props: SagaProps$1):
|
|
1398
|
+
declare function Saga(props: SagaProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1399
1399
|
id: string | undefined;
|
|
1400
1400
|
onFailure: "fail" | "compensate" | "compensate-and-fail";
|
|
1401
1401
|
__sagaSteps: {
|
|
@@ -1403,7 +1403,7 @@ declare function Saga(props: SagaProps$1): React__default__default__default__def
|
|
|
1403
1403
|
label: any;
|
|
1404
1404
|
}[];
|
|
1405
1405
|
skipIf?: boolean;
|
|
1406
|
-
}, string |
|
|
1406
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1407
1407
|
declare namespace Saga {
|
|
1408
1408
|
export { SagaStep as Step };
|
|
1409
1409
|
}
|
|
@@ -1414,7 +1414,7 @@ type SagaProps$1 = SagaProps$2;
|
|
|
1414
1414
|
* @param {SagaStepProps} _props
|
|
1415
1415
|
* @returns {React.ReactElement | null}
|
|
1416
1416
|
*/
|
|
1417
|
-
declare function SagaStep(_props: SagaStepProps$1):
|
|
1417
|
+
declare function SagaStep(_props: SagaStepProps$1): React__default__default__default__default__default__default.ReactElement | null;
|
|
1418
1418
|
declare namespace SagaStep {
|
|
1419
1419
|
let __isSagaStep: boolean;
|
|
1420
1420
|
}
|
|
@@ -1430,12 +1430,12 @@ declare namespace SagaStep {
|
|
|
1430
1430
|
* Renders to `<smithers:try-catch-finally>`.
|
|
1431
1431
|
* @param {TryCatchFinallyProps} props
|
|
1432
1432
|
*/
|
|
1433
|
-
declare function TryCatchFinally(props: TryCatchFinallyProps$1):
|
|
1433
|
+
declare function TryCatchFinally(props: TryCatchFinallyProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1434
1434
|
id: string | undefined;
|
|
1435
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:
|
|
1437
|
-
__tcfFinallyHandler:
|
|
1438
|
-
}, string |
|
|
1436
|
+
__tcfCatchHandler: React__default__default__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | ((error: _smithers_orchestrator_errors.SmithersError) => React__default__default__default__default__default__default.ReactElement) | undefined;
|
|
1437
|
+
__tcfFinallyHandler: React__default__default__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | undefined;
|
|
1438
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1439
1439
|
type TryCatchFinallyProps$1 = TryCatchFinallyProps$2;
|
|
1440
1440
|
|
|
1441
1441
|
/**
|
|
@@ -1473,7 +1473,7 @@ type AspectContextValue = {
|
|
|
1473
1473
|
* ```
|
|
1474
1474
|
* @param {AspectsProps} props
|
|
1475
1475
|
*/
|
|
1476
|
-
declare function Aspects(props: AspectsProps$1):
|
|
1476
|
+
declare function Aspects(props: AspectsProps$1): React__default__default__default__default__default__default.FunctionComponentElement<React__default__default__default__default__default__default.ProviderProps<AspectContextValue | null>>;
|
|
1477
1477
|
type AspectsProps$1 = AspectsProps$2;
|
|
1478
1478
|
|
|
1479
1479
|
/**
|
|
@@ -1502,46 +1502,46 @@ type AspectsProps$1 = AspectsProps$2;
|
|
|
1502
1502
|
* ```
|
|
1503
1503
|
* @param {SuperSmithersProps} props
|
|
1504
1504
|
*/
|
|
1505
|
-
declare function SuperSmithers(props: SuperSmithersProps$1):
|
|
1505
|
+
declare function SuperSmithers(props: SuperSmithersProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1506
1506
|
id: string;
|
|
1507
|
-
}, string |
|
|
1507
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1508
1508
|
type SuperSmithersProps$1 = SuperSmithersProps$2;
|
|
1509
1509
|
|
|
1510
1510
|
/** @typedef {import("./LoopProps.ts").LoopProps} LoopProps */
|
|
1511
1511
|
/**
|
|
1512
1512
|
* @param {LoopProps} props
|
|
1513
1513
|
*/
|
|
1514
|
-
declare function Loop(props: LoopProps$1):
|
|
1514
|
+
declare function Loop(props: LoopProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1515
1515
|
id: string | undefined;
|
|
1516
1516
|
until: boolean | undefined;
|
|
1517
1517
|
maxIterations: number | undefined;
|
|
1518
1518
|
onMaxReached: "fail" | "return-last" | undefined;
|
|
1519
1519
|
continueAsNewEvery: number | undefined;
|
|
1520
|
-
}, string |
|
|
1520
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1521
1521
|
/** @typedef {import("./LoopProps.ts").LoopProps} LoopProps */
|
|
1522
1522
|
/**
|
|
1523
1523
|
* @param {LoopProps} props
|
|
1524
1524
|
*/
|
|
1525
|
-
declare function Ralph(props: LoopProps$1):
|
|
1525
|
+
declare function Ralph(props: LoopProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1526
1526
|
id: string | undefined;
|
|
1527
1527
|
until: boolean | undefined;
|
|
1528
1528
|
maxIterations: number | undefined;
|
|
1529
1529
|
onMaxReached: "fail" | "return-last" | undefined;
|
|
1530
1530
|
continueAsNewEvery: number | undefined;
|
|
1531
|
-
}, string |
|
|
1531
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1532
1532
|
type LoopProps$1 = LoopProps$2;
|
|
1533
1533
|
|
|
1534
1534
|
/**
|
|
1535
1535
|
* @param {ContinueAsNewProps} props
|
|
1536
1536
|
*/
|
|
1537
|
-
declare function ContinueAsNew(props: ContinueAsNewProps$1):
|
|
1537
|
+
declare function ContinueAsNew(props: ContinueAsNewProps$1): React__default__default__default__default__default__default.ReactElement<{
|
|
1538
1538
|
stateJson: string | undefined;
|
|
1539
|
-
}, string |
|
|
1539
|
+
}, string | React__default__default__default__default__default__default.JSXElementConstructor<any>>;
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Convenience helper for conditional continuation inside workflow JSX:
|
|
1542
1542
|
* `{shouldContinue ? continueAsNew({ cursor }) : null}`
|
|
1543
1543
|
*/
|
|
1544
|
-
declare function continueAsNew(state: any):
|
|
1544
|
+
declare function continueAsNew(state: any): React__default__default__default__default__default__default.FunctionComponentElement<ContinueAsNewProps$2>;
|
|
1545
1545
|
type ContinueAsNewProps$1 = ContinueAsNewProps$2;
|
|
1546
1546
|
|
|
1547
1547
|
type ApprovalAutoApprove = ApprovalAutoApprove$1;
|
|
@@ -1612,7 +1612,7 @@ type WorkflowProps = WorkflowProps$2;
|
|
|
1612
1612
|
type WorktreeProps = WorktreeProps$2;
|
|
1613
1613
|
|
|
1614
1614
|
/** @type {Record<string, React.FC<any>>} */
|
|
1615
|
-
declare const markdownComponents: Record<string,
|
|
1615
|
+
declare const markdownComponents: Record<string, React__default__default__default__default__default__default.FC<any>>;
|
|
1616
1616
|
|
|
1617
1617
|
/** @typedef {import("react").ComponentType<Record<string, any>>} MDXContent */
|
|
1618
1618
|
/**
|
|
@@ -1626,7 +1626,7 @@ declare const markdownComponents: Record<string, React__default__default__defaul
|
|
|
1626
1626
|
* @returns {string}
|
|
1627
1627
|
*/
|
|
1628
1628
|
declare function renderMdx(Component: MDXContent, props?: Record<string, any>): string;
|
|
1629
|
-
type MDXContent =
|
|
1629
|
+
type MDXContent = React__default__default__default__default__default.ComponentType<Record<string, any>>;
|
|
1630
1630
|
|
|
1631
1631
|
/** @typedef {import("zod").ZodObject<import("zod").ZodRawShape>} ZodObject */
|
|
1632
1632
|
/** @typedef {import("zod").ZodTypeAny} ZodTypeAny */
|