@smithers-orchestrator/components 0.24.2 → 0.25.0
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/components/Approval.js +27 -9
- package/src/components/Branch.js +13 -1
- package/src/components/BranchProps.ts +6 -0
- package/src/components/Panel.js +1 -1
- package/src/components/Ralph.js +10 -1
- package/src/components/Saga.js +16 -5
- package/src/components/Sequence.js +3 -1
- package/src/components/Sidecar.js +68 -0
- package/src/components/SidecarDelta.ts +6 -0
- package/src/components/SidecarProps.ts +22 -0
- package/src/components/SuperSmithers.js +15 -14
- package/src/components/TaskProps.ts +4 -0
- package/src/components/Workflow.js +4 -1
- package/src/components/computeSidecarDelta.ts +57 -0
- package/src/components/index.js +5 -1
- package/src/index.d.ts +242 -170
- package/src/aspects/index.js +0 -9
package/src/index.d.ts
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import * as _smithers_orchestrator_driver_workflow_types from '@smithers-orchestrator/driver/workflow-types';
|
|
2
|
+
import * as _smithers_orchestrator_driver_WorkflowDriverOptions from '@smithers-orchestrator/driver/WorkflowDriverOptions';
|
|
3
|
+
import * as _smithers_orchestrator_driver_WorkflowDefinition from '@smithers-orchestrator/driver/WorkflowDefinition';
|
|
4
4
|
import { WorkflowDefinition } from '@smithers-orchestrator/driver/WorkflowDefinition';
|
|
5
|
-
import * as
|
|
5
|
+
import * as _smithers_orchestrator_errors_SmithersErrorCode from '@smithers-orchestrator/errors/SmithersErrorCode';
|
|
6
6
|
import { SmithersErrorCode as SmithersErrorCode$1 } from '@smithers-orchestrator/errors/SmithersErrorCode';
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
7
|
+
import * as _smithers_orchestrator_scheduler_SmithersWorkflowOptions from '@smithers-orchestrator/scheduler/SmithersWorkflowOptions';
|
|
8
|
+
import * as _smithers_orchestrator_db_SchemaRegistryEntry from '@smithers-orchestrator/db/SchemaRegistryEntry';
|
|
9
|
+
import * as _smithers_orchestrator_driver from '@smithers-orchestrator/driver';
|
|
10
10
|
import { SmithersCtx as SmithersCtx$1 } from '@smithers-orchestrator/driver';
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
11
|
+
import * as _smithers_orchestrator_driver_RunAuthContext from '@smithers-orchestrator/driver/RunAuthContext';
|
|
12
|
+
import * as _smithers_orchestrator_scheduler_RetryPolicy from '@smithers-orchestrator/scheduler/RetryPolicy';
|
|
13
13
|
import { RetryPolicy as RetryPolicy$1 } from '@smithers-orchestrator/scheduler/RetryPolicy';
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
14
|
+
import * as _smithers_orchestrator_driver_OutputKey from '@smithers-orchestrator/driver/OutputKey';
|
|
15
|
+
import * as _smithers_orchestrator_driver_OutputAccessor from '@smithers-orchestrator/driver/OutputAccessor';
|
|
16
16
|
import { InferOutputEntry as InferOutputEntry$1 } from '@smithers-orchestrator/driver/OutputAccessor';
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
17
|
+
import * as _smithers_orchestrator_graph from '@smithers-orchestrator/graph';
|
|
18
|
+
import * as _smithers_orchestrator_scheduler from '@smithers-orchestrator/scheduler';
|
|
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
|
|
21
|
+
import * as React__default__default__default from 'react';
|
|
22
|
+
import React__default__default__default__default from 'react';
|
|
22
23
|
import * as zod from 'zod';
|
|
23
24
|
import { z } from 'zod';
|
|
24
25
|
import { SmithersError } from '@smithers-orchestrator/errors/SmithersError';
|
|
25
26
|
import { AgentLike } from '@smithers-orchestrator/agents/AgentLike';
|
|
27
|
+
import * as _smithers_orchestrator_graph_types from '@smithers-orchestrator/graph/types';
|
|
26
28
|
import { ScorersMap as ScorersMap$1 } from '@smithers-orchestrator/graph/types';
|
|
27
29
|
import { TaskMemoryConfig } from '@smithers-orchestrator/memory/types';
|
|
28
|
-
import * as
|
|
30
|
+
import * as _smithers_orchestrator_errors from '@smithers-orchestrator/errors';
|
|
29
31
|
import * as zod_v4_core from 'zod/v4/core';
|
|
30
32
|
|
|
31
33
|
type WorktreeProps$2 = {
|
|
@@ -36,13 +38,13 @@ type WorktreeProps$2 = {
|
|
|
36
38
|
/** Base branch for syncing worktrees (default: "main"). */
|
|
37
39
|
baseBranch?: string;
|
|
38
40
|
skipIf?: boolean;
|
|
39
|
-
children?:
|
|
41
|
+
children?: React__default__default__default__default.ReactNode;
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
type WorkflowProps$2 = {
|
|
43
45
|
name: string;
|
|
44
46
|
cache?: boolean;
|
|
45
|
-
children?:
|
|
47
|
+
children?: React__default__default__default__default.ReactNode;
|
|
46
48
|
};
|
|
47
49
|
|
|
48
50
|
/** Valid output targets: a Zod schema (recommended), a Drizzle table object, or a string key (escape hatch). */
|
|
@@ -78,10 +80,10 @@ type WaitForEventProps$2 = {
|
|
|
78
80
|
|
|
79
81
|
type TryCatchFinallyProps$2 = {
|
|
80
82
|
id?: string;
|
|
81
|
-
try:
|
|
82
|
-
catch?:
|
|
83
|
+
try: React__default__default__default__default.ReactElement;
|
|
84
|
+
catch?: React__default__default__default__default.ReactElement | ((error: SmithersError) => React__default__default__default__default.ReactElement);
|
|
83
85
|
catchErrors?: SmithersErrorCode$1[];
|
|
84
|
-
finally?:
|
|
86
|
+
finally?: React__default__default__default__default.ReactElement;
|
|
85
87
|
skipIf?: boolean;
|
|
86
88
|
};
|
|
87
89
|
|
|
@@ -158,6 +160,10 @@ type TaskProps$2<Row, Output extends OutputTarget$1 = OutputTarget$1, D extends
|
|
|
158
160
|
cache?: CachePolicy$1;
|
|
159
161
|
/** Optional scorers to evaluate this task's output after completion. */
|
|
160
162
|
scorers?: ScorersMap$1;
|
|
163
|
+
/** Expected output supplied to scorers that compare against a reference answer. */
|
|
164
|
+
groundTruth?: unknown;
|
|
165
|
+
/** Additional source context supplied to scorers such as faithfulnessScorer. */
|
|
166
|
+
context?: unknown;
|
|
161
167
|
/** Optional cross-run memory configuration. */
|
|
162
168
|
memory?: TaskMemoryConfig;
|
|
163
169
|
/** Request an immediate hijack handoff as soon as the task starts running. */
|
|
@@ -168,8 +174,8 @@ type TaskProps$2<Row, Output extends OutputTarget$1 = OutputTarget$1, D extends
|
|
|
168
174
|
label?: string;
|
|
169
175
|
meta?: Record<string, unknown>;
|
|
170
176
|
/** @internal Used by createSmithers() to bind tasks to the correct workflow context. */
|
|
171
|
-
smithersContext?:
|
|
172
|
-
children?: string | Row | (() => Row | Promise<Row>) |
|
|
177
|
+
smithersContext?: React__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
|
|
178
|
+
children?: string | Row | (() => Row | Promise<Row>) | React__default__default__default__default.ReactNode | ((deps: InferDeps$1<D>) => Row | React__default__default__default__default.ReactNode);
|
|
173
179
|
};
|
|
174
180
|
|
|
175
181
|
type SupervisorProps$2 = {
|
|
@@ -194,14 +200,14 @@ type SupervisorProps$2 = {
|
|
|
194
200
|
useWorktrees?: boolean;
|
|
195
201
|
skipIf?: boolean;
|
|
196
202
|
/** Goal/prompt for the boss agent. */
|
|
197
|
-
children: string |
|
|
203
|
+
children: string | React__default__default__default__default.ReactNode;
|
|
198
204
|
};
|
|
199
205
|
|
|
200
206
|
type SuperSmithersProps$2 = {
|
|
201
207
|
/** Optional ID prefix for all generated task IDs. */
|
|
202
208
|
id?: string;
|
|
203
209
|
/** Markdown string or MDX component describing the intervention strategy. */
|
|
204
|
-
strategy: string |
|
|
210
|
+
strategy: string | React__default__default__default__default.ReactElement;
|
|
205
211
|
/** Agent that reads code and decides modifications. */
|
|
206
212
|
agent: AgentLike;
|
|
207
213
|
/** Glob patterns of files the agent can modify. */
|
|
@@ -239,7 +245,7 @@ type SubflowProps$2 = {
|
|
|
239
245
|
label?: string;
|
|
240
246
|
meta?: Record<string, unknown>;
|
|
241
247
|
key?: string;
|
|
242
|
-
children?:
|
|
248
|
+
children?: React__default__default__default__default.ReactNode;
|
|
243
249
|
};
|
|
244
250
|
|
|
245
251
|
type SourceDef$1 = {
|
|
@@ -248,7 +254,7 @@ type SourceDef$1 = {
|
|
|
248
254
|
prompt?: string;
|
|
249
255
|
/** Output schema for this specific source. Overrides `gatherOutput`. */
|
|
250
256
|
output?: OutputTarget$1;
|
|
251
|
-
children?:
|
|
257
|
+
children?: React__default__default__default__default.ReactNode;
|
|
252
258
|
};
|
|
253
259
|
|
|
254
260
|
type SignalProps$2<Schema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.ZodRawShape>> = {
|
|
@@ -265,14 +271,39 @@ type SignalProps$2<Schema extends z.ZodObject<z.ZodRawShape> = z.ZodObject<z.Zod
|
|
|
265
271
|
label?: string;
|
|
266
272
|
meta?: Record<string, unknown>;
|
|
267
273
|
key?: string;
|
|
268
|
-
children?: (data: z.infer<Schema>) =>
|
|
269
|
-
smithersContext?:
|
|
274
|
+
children?: (data: z.infer<Schema>) => React__default__default__default__default.ReactNode;
|
|
275
|
+
smithersContext?: React__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
type SidecarProps$2 = {
|
|
279
|
+
id?: string;
|
|
280
|
+
agent: AgentLike;
|
|
281
|
+
sidecar: AgentLike;
|
|
282
|
+
output: OutputTarget$1;
|
|
283
|
+
sidecarOutput?: OutputTarget$1;
|
|
284
|
+
scorers?: ScorersMap$1;
|
|
285
|
+
prompt?: string | React__default__default__default__default.ReactNode;
|
|
286
|
+
input?: string | React__default__default__default__default.ReactNode;
|
|
287
|
+
maxConcurrency?: number;
|
|
288
|
+
groundTruth?: unknown;
|
|
289
|
+
context?: unknown;
|
|
290
|
+
primaryLabel?: string;
|
|
291
|
+
sidecarLabel?: string;
|
|
292
|
+
skipIf?: boolean;
|
|
293
|
+
children?: string | React__default__default__default__default.ReactNode;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
type SidecarDelta$1 = {
|
|
297
|
+
primaryScore: number | null;
|
|
298
|
+
sidecarScore: number | null;
|
|
299
|
+
delta: number | null;
|
|
300
|
+
cheaperWins: boolean;
|
|
270
301
|
};
|
|
271
302
|
|
|
272
303
|
type SequenceProps$2 = {
|
|
273
304
|
key?: string;
|
|
274
305
|
skipIf?: boolean;
|
|
275
|
-
children?:
|
|
306
|
+
children?: React__default__default__default__default.ReactNode;
|
|
276
307
|
};
|
|
277
308
|
|
|
278
309
|
type ScanFixVerifyProps$2 = {
|
|
@@ -299,7 +330,7 @@ type ScanFixVerifyProps$2 = {
|
|
|
299
330
|
/** Skip the entire component. */
|
|
300
331
|
skipIf?: boolean;
|
|
301
332
|
/** Prompt/context describing what to scan for. */
|
|
302
|
-
children?:
|
|
333
|
+
children?: React__default__default__default__default.ReactNode;
|
|
303
334
|
};
|
|
304
335
|
|
|
305
336
|
type SandboxWorkspaceSpec$1 = {
|
|
@@ -368,19 +399,19 @@ type SandboxProps$2 = {
|
|
|
368
399
|
label?: string;
|
|
369
400
|
meta?: Record<string, unknown>;
|
|
370
401
|
key?: string;
|
|
371
|
-
children?:
|
|
402
|
+
children?: React__default__default__default__default.ReactNode;
|
|
372
403
|
};
|
|
373
404
|
|
|
374
405
|
type SagaStepProps$2 = {
|
|
375
406
|
id: string;
|
|
376
|
-
compensation:
|
|
377
|
-
children:
|
|
407
|
+
compensation: React__default__default__default__default.ReactElement;
|
|
408
|
+
children: React__default__default__default__default.ReactElement;
|
|
378
409
|
};
|
|
379
410
|
|
|
380
411
|
type SagaStepDef$1 = {
|
|
381
412
|
id: string;
|
|
382
|
-
action:
|
|
383
|
-
compensation:
|
|
413
|
+
action: React__default__default__default__default.ReactElement;
|
|
414
|
+
compensation: React__default__default__default__default.ReactElement;
|
|
384
415
|
label?: string;
|
|
385
416
|
};
|
|
386
417
|
|
|
@@ -389,7 +420,7 @@ type SagaProps$2 = {
|
|
|
389
420
|
steps?: SagaStepDef$1[];
|
|
390
421
|
onFailure?: "compensate" | "compensate-and-fail" | "fail";
|
|
391
422
|
skipIf?: boolean;
|
|
392
|
-
children?:
|
|
423
|
+
children?: React__default__default__default__default.ReactNode;
|
|
393
424
|
};
|
|
394
425
|
|
|
395
426
|
type RunbookStep$1 = {
|
|
@@ -445,7 +476,7 @@ type ReviewLoopProps$2 = {
|
|
|
445
476
|
/** Skip the entire review loop. */
|
|
446
477
|
skipIf?: boolean;
|
|
447
478
|
/** Initial prompt for the producer (string or ReactNode). */
|
|
448
|
-
children: string |
|
|
479
|
+
children: string | React__default__default__default__default.ReactNode;
|
|
449
480
|
};
|
|
450
481
|
|
|
451
482
|
type LoopProps$2 = {
|
|
@@ -456,7 +487,7 @@ type LoopProps$2 = {
|
|
|
456
487
|
onMaxReached?: "fail" | "return-last";
|
|
457
488
|
continueAsNewEvery?: number;
|
|
458
489
|
skipIf?: boolean;
|
|
459
|
-
children?:
|
|
490
|
+
children?: React__default__default__default__default.ReactNode;
|
|
460
491
|
};
|
|
461
492
|
|
|
462
493
|
/** @deprecated Use `LoopProps` instead. */
|
|
@@ -480,14 +511,14 @@ type PollerProps$2 = {
|
|
|
480
511
|
/** Skip the entire component. */
|
|
481
512
|
skipIf?: boolean;
|
|
482
513
|
/** Prompt/condition description for the check agent. */
|
|
483
|
-
children?:
|
|
514
|
+
children?: React__default__default__default__default.ReactNode;
|
|
484
515
|
};
|
|
485
516
|
|
|
486
517
|
type ParallelProps$2 = {
|
|
487
518
|
id?: string;
|
|
488
519
|
maxConcurrency?: number;
|
|
489
520
|
skipIf?: boolean;
|
|
490
|
-
children?:
|
|
521
|
+
children?: React__default__default__default__default.ReactNode;
|
|
491
522
|
};
|
|
492
523
|
|
|
493
524
|
type PanelistConfig$1 = {
|
|
@@ -506,7 +537,7 @@ type PanelProps$2 = {
|
|
|
506
537
|
minAgree?: number;
|
|
507
538
|
maxConcurrency?: number;
|
|
508
539
|
skipIf?: boolean;
|
|
509
|
-
children: string |
|
|
540
|
+
children: string | React__default__default__default__default.ReactNode;
|
|
510
541
|
};
|
|
511
542
|
|
|
512
543
|
type OptimizerProps$2 = {
|
|
@@ -528,7 +559,7 @@ type OptimizerProps$2 = {
|
|
|
528
559
|
/** Skip the entire optimization loop. */
|
|
529
560
|
skipIf?: boolean;
|
|
530
561
|
/** Initial generation prompt (string or ReactNode). */
|
|
531
|
-
children: string |
|
|
562
|
+
children: string | React__default__default__default__default.ReactNode;
|
|
532
563
|
};
|
|
533
564
|
|
|
534
565
|
/**
|
|
@@ -539,7 +570,7 @@ type MergeQueueProps$2 = {
|
|
|
539
570
|
id?: string;
|
|
540
571
|
maxConcurrency?: number;
|
|
541
572
|
skipIf?: boolean;
|
|
542
|
-
children?:
|
|
573
|
+
children?: React__default__default__default__default.ReactNode;
|
|
543
574
|
};
|
|
544
575
|
|
|
545
576
|
type ColumnTaskProps = Omit<Partial<TaskProps$2<unknown>>, "agent" | "children" | "id" | "key" | "output" | "smithersContext">;
|
|
@@ -577,7 +608,7 @@ type KanbanProps$2 = {
|
|
|
577
608
|
/** Max iterations through the column pipeline. */
|
|
578
609
|
maxIterations?: number;
|
|
579
610
|
skipIf?: boolean;
|
|
580
|
-
children?:
|
|
611
|
+
children?: React__default__default__default__default.ReactNode | Record<string, unknown>;
|
|
581
612
|
};
|
|
582
613
|
|
|
583
614
|
type HumanTaskProps$2 = {
|
|
@@ -587,7 +618,7 @@ type HumanTaskProps$2 = {
|
|
|
587
618
|
/** Zod schema the human must conform to. Used for validation. */
|
|
588
619
|
outputSchema?: z.ZodObject<z.ZodRawShape>;
|
|
589
620
|
/** Instructions for the human (string or ReactNode). */
|
|
590
|
-
prompt: string |
|
|
621
|
+
prompt: string | React__default__default__default__default.ReactNode;
|
|
591
622
|
/** Max validation retries before failure. */
|
|
592
623
|
maxAttempts?: number;
|
|
593
624
|
/** Do not block unrelated downstream flow while waiting for human input. */
|
|
@@ -621,7 +652,7 @@ type GatherAndSynthesizeProps$2 = {
|
|
|
621
652
|
/** Prompt for the synthesis task. If omitted, a default prompt is generated. */
|
|
622
653
|
synthesisPrompt?: string;
|
|
623
654
|
skipIf?: boolean;
|
|
624
|
-
children?:
|
|
655
|
+
children?: React__default__default__default__default.ReactNode;
|
|
625
656
|
};
|
|
626
657
|
|
|
627
658
|
type EscalationLevel$1 = {
|
|
@@ -648,7 +679,7 @@ type EscalationChainProps$2 = {
|
|
|
648
679
|
escalationOutput: OutputTarget$1;
|
|
649
680
|
skipIf?: boolean;
|
|
650
681
|
/** Prompt / input passed to each agent level. */
|
|
651
|
-
children?:
|
|
682
|
+
children?: React__default__default__default__default.ReactNode;
|
|
652
683
|
};
|
|
653
684
|
|
|
654
685
|
type DriftDetectorProps$2 = {
|
|
@@ -667,7 +698,7 @@ type DriftDetectorProps$2 = {
|
|
|
667
698
|
/** Condition function that determines whether to fire the alert. If omitted, uses `comparison.drifted === true`. */
|
|
668
699
|
alertIf?: (comparison: unknown) => boolean;
|
|
669
700
|
/** Element to render when drift is detected (e.g. a Task that sends a notification). */
|
|
670
|
-
alert?:
|
|
701
|
+
alert?: React__default__default__default__default.ReactElement;
|
|
671
702
|
/** If set, wraps the detector in a Loop for periodic polling. */
|
|
672
703
|
poll?: {
|
|
673
704
|
/** Reserved for future delayed polling; maxPolls currently controls Loop iterations. */
|
|
@@ -682,7 +713,7 @@ type DecisionRule$1 = {
|
|
|
682
713
|
/** Condition evaluated at render time. */
|
|
683
714
|
when: boolean;
|
|
684
715
|
/** Element to render when this rule matches. */
|
|
685
|
-
then:
|
|
716
|
+
then: React__default__default__default__default.ReactElement;
|
|
686
717
|
/** Optional display label for the rule. */
|
|
687
718
|
label?: string;
|
|
688
719
|
};
|
|
@@ -693,7 +724,7 @@ type DecisionTableProps$2 = {
|
|
|
693
724
|
/** Ordered list of rules. Each rule has a `when` condition and a `then` element. */
|
|
694
725
|
rules: DecisionRule$1[];
|
|
695
726
|
/** Fallback element rendered when no rules match. */
|
|
696
|
-
default?:
|
|
727
|
+
default?: React__default__default__default__default.ReactElement;
|
|
697
728
|
/** `"first-match"` (default): first matching rule wins. `"all-match"`: all matching rules run in parallel. */
|
|
698
729
|
strategy?: "first-match" | "all-match";
|
|
699
730
|
skipIf?: boolean;
|
|
@@ -707,7 +738,7 @@ type DebateProps$2 = {
|
|
|
707
738
|
rounds?: number;
|
|
708
739
|
argumentOutput: OutputTarget$1;
|
|
709
740
|
verdictOutput: OutputTarget$1;
|
|
710
|
-
topic: string |
|
|
741
|
+
topic: string | React__default__default__default__default.ReactNode;
|
|
711
742
|
skipIf?: boolean;
|
|
712
743
|
};
|
|
713
744
|
|
|
@@ -736,7 +767,7 @@ type ContentPipelineProps$2 = {
|
|
|
736
767
|
/** Skip the entire pipeline. */
|
|
737
768
|
skipIf?: boolean;
|
|
738
769
|
/** Initial prompt/content for the first stage (string or ReactNode). */
|
|
739
|
-
children: string |
|
|
770
|
+
children: string | React__default__default__default__default.ReactNode;
|
|
740
771
|
};
|
|
741
772
|
|
|
742
773
|
type CategoryConfig$1 = {
|
|
@@ -770,7 +801,7 @@ type ClassifyAndRouteProps$2 = {
|
|
|
770
801
|
/** Max parallel routes. */
|
|
771
802
|
maxConcurrency?: number;
|
|
772
803
|
skipIf?: boolean;
|
|
773
|
-
children?:
|
|
804
|
+
children?: React__default__default__default__default.ReactNode;
|
|
774
805
|
};
|
|
775
806
|
|
|
776
807
|
type CheckConfig$1 = {
|
|
@@ -792,8 +823,8 @@ type CheckSuiteProps$2 = {
|
|
|
792
823
|
|
|
793
824
|
type BranchProps$2 = {
|
|
794
825
|
if: boolean;
|
|
795
|
-
then:
|
|
796
|
-
else?:
|
|
826
|
+
then: React__default__default__default__default.ReactElement;
|
|
827
|
+
else?: React__default__default__default__default.ReactElement | null;
|
|
797
828
|
skipIf?: boolean;
|
|
798
829
|
};
|
|
799
830
|
|
|
@@ -845,7 +876,7 @@ type AspectsProps$2 = {
|
|
|
845
876
|
/** Which metrics to track. Defaults to all enabled. */
|
|
846
877
|
tracking?: TrackingConfig;
|
|
847
878
|
/** Workflow content these aspects apply to. */
|
|
848
|
-
children?:
|
|
879
|
+
children?: React__default__default__default__default.ReactNode;
|
|
849
880
|
};
|
|
850
881
|
|
|
851
882
|
type ApprovalMode$1 = "approve" | "select" | "rank";
|
|
@@ -866,7 +897,7 @@ type ApprovalAutoApprove$1 = {
|
|
|
866
897
|
|
|
867
898
|
type ApprovalDecision$1 = z.infer<typeof approvalDecisionSchema>;
|
|
868
899
|
|
|
869
|
-
type ApprovalProps$2<
|
|
900
|
+
type ApprovalProps$2<_Row = ApprovalDecision$1, Output extends OutputTarget$1 = OutputTarget$1> = {
|
|
870
901
|
id: string;
|
|
871
902
|
mode?: ApprovalMode$1;
|
|
872
903
|
options?: ApprovalOption$1[];
|
|
@@ -889,14 +920,14 @@ type ApprovalProps$2<Row = ApprovalDecision$1, Output extends OutputTarget$1 = O
|
|
|
889
920
|
heartbeatTimeoutMs?: number;
|
|
890
921
|
heartbeatTimeout?: number;
|
|
891
922
|
retries?: number;
|
|
892
|
-
retryPolicy?:
|
|
923
|
+
retryPolicy?: _smithers_orchestrator_scheduler_RetryPolicy.RetryPolicy;
|
|
893
924
|
continueOnFail?: boolean;
|
|
894
|
-
cache?:
|
|
925
|
+
cache?: _smithers_orchestrator_scheduler_CachePolicy.CachePolicy;
|
|
895
926
|
label?: string;
|
|
896
927
|
meta?: Record<string, unknown>;
|
|
897
928
|
key?: string;
|
|
898
|
-
children?:
|
|
899
|
-
smithersContext?:
|
|
929
|
+
children?: React__default__default__default__default.ReactNode;
|
|
930
|
+
smithersContext?: React__default__default__default__default.Context<SmithersCtx$1<unknown> | null>;
|
|
900
931
|
};
|
|
901
932
|
|
|
902
933
|
type ApprovalRanking$1 = z.infer<typeof approvalRankingSchema>;
|
|
@@ -906,7 +937,7 @@ type ApprovalRanking$1 = z.infer<typeof approvalRankingSchema>;
|
|
|
906
937
|
* @param {ApprovalProps<Row>} props
|
|
907
938
|
* @returns {React.ReactElement | null}
|
|
908
939
|
*/
|
|
909
|
-
declare function Approval<Row>(props: ApprovalProps$1<Row>):
|
|
940
|
+
declare function Approval<Row>(props: ApprovalProps$1<Row>): React__default__default__default__default.ReactElement | null;
|
|
910
941
|
/** @typedef {import("./ApprovalAutoApprove.ts").ApprovalAutoApprove} ApprovalAutoApprove */
|
|
911
942
|
/** @typedef {import("./ApprovalMode.ts").ApprovalMode} ApprovalMode */
|
|
912
943
|
/** @typedef {import("./ApprovalOption.ts").ApprovalOption} ApprovalOption */
|
|
@@ -916,7 +947,7 @@ declare function Approval<Row>(props: ApprovalProps$1<Row>): React.ReactElement
|
|
|
916
947
|
*/
|
|
917
948
|
declare const approvalDecisionSchema: z.ZodObject<{
|
|
918
949
|
approved: z.ZodBoolean;
|
|
919
|
-
note: z.ZodNullable<z.ZodString
|
|
950
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
920
951
|
decidedBy: z.ZodNullable<z.ZodString>;
|
|
921
952
|
decidedAt: z.ZodNullable<z.ZodString>;
|
|
922
953
|
}, z.core.$strip>;
|
|
@@ -956,7 +987,7 @@ type ApprovalGateProps$2 = {
|
|
|
956
987
|
* @param {WorkflowProps} props
|
|
957
988
|
* @returns {React.DOMElement<WorkflowProps, Element>}
|
|
958
989
|
*/
|
|
959
|
-
declare function Workflow(props: WorkflowProps$1):
|
|
990
|
+
declare function Workflow(props: WorkflowProps$1): React__default__default__default__default.DOMElement<WorkflowProps$1, Element>;
|
|
960
991
|
type WorkflowProps$1 = WorkflowProps$2;
|
|
961
992
|
|
|
962
993
|
/**
|
|
@@ -964,53 +995,53 @@ type WorkflowProps$1 = WorkflowProps$2;
|
|
|
964
995
|
* @param {TaskProps<Row, Output, D>} props
|
|
965
996
|
* @returns {React.ReactElement | null}
|
|
966
997
|
*/
|
|
967
|
-
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.ReactElement | null;
|
|
968
999
|
type TaskProps$1<Row, Output, D> = TaskProps$2<Row, Output, D>;
|
|
969
1000
|
|
|
970
1001
|
/** @typedef {import("./SequenceProps.ts").SequenceProps} SequenceProps */
|
|
971
1002
|
/**
|
|
972
1003
|
* @param {SequenceProps} props
|
|
973
1004
|
*/
|
|
974
|
-
declare function Sequence(props: SequenceProps$1):
|
|
1005
|
+
declare function Sequence(props: SequenceProps$1): React__default__default__default__default.DOMElement<{}, Element> | null;
|
|
975
1006
|
type SequenceProps$1 = SequenceProps$2;
|
|
976
1007
|
|
|
977
1008
|
/** @typedef {import("./ParallelProps.ts").ParallelProps} ParallelProps */
|
|
978
1009
|
/**
|
|
979
1010
|
* @param {ParallelProps} props
|
|
980
1011
|
*/
|
|
981
|
-
declare function Parallel(props: ParallelProps$1):
|
|
1012
|
+
declare function Parallel(props: ParallelProps$1): React__default__default__default__default.ReactElement<{
|
|
982
1013
|
maxConcurrency: number | undefined;
|
|
983
1014
|
id: string | undefined;
|
|
984
|
-
}, string |
|
|
1015
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
985
1016
|
type ParallelProps$1 = ParallelProps$2;
|
|
986
1017
|
|
|
987
1018
|
/** @typedef {import("./MergeQueueProps.ts").MergeQueueProps} MergeQueueProps */
|
|
988
1019
|
/**
|
|
989
1020
|
* @param {MergeQueueProps} props
|
|
990
1021
|
*/
|
|
991
|
-
declare function MergeQueue(props: MergeQueueProps$1):
|
|
1022
|
+
declare function MergeQueue(props: MergeQueueProps$1): React__default__default__default__default.ReactElement<{
|
|
992
1023
|
maxConcurrency: any;
|
|
993
1024
|
id: string | undefined;
|
|
994
|
-
}, string |
|
|
1025
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
995
1026
|
type MergeQueueProps$1 = MergeQueueProps$2;
|
|
996
1027
|
|
|
997
1028
|
/** @typedef {import("./BranchProps.ts").BranchProps} BranchProps */
|
|
998
1029
|
/**
|
|
999
1030
|
* @param {BranchProps} props
|
|
1000
1031
|
*/
|
|
1001
|
-
declare function Branch(props: BranchProps$1):
|
|
1032
|
+
declare function Branch(props: BranchProps$1): React__default__default__default__default.DOMElement<{}, Element> | null;
|
|
1002
1033
|
type BranchProps$1 = BranchProps$2;
|
|
1003
1034
|
|
|
1004
1035
|
/** @typedef {import("./WorktreeProps.ts").WorktreeProps} WorktreeProps */
|
|
1005
1036
|
/**
|
|
1006
1037
|
* @param {WorktreeProps} props
|
|
1007
1038
|
*/
|
|
1008
|
-
declare function Worktree(props: WorktreeProps$1):
|
|
1039
|
+
declare function Worktree(props: WorktreeProps$1): React__default__default__default__default.ReactElement<{
|
|
1009
1040
|
id: string | undefined;
|
|
1010
1041
|
path: string;
|
|
1011
1042
|
branch: string | undefined;
|
|
1012
1043
|
baseBranch: string | undefined;
|
|
1013
|
-
}, string |
|
|
1044
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1014
1045
|
type WorktreeProps$1 = WorktreeProps$2;
|
|
1015
1046
|
|
|
1016
1047
|
/**
|
|
@@ -1021,7 +1052,7 @@ type WorktreeProps$1 = WorktreeProps$2;
|
|
|
1021
1052
|
* Items in the same column can be processed in parallel.
|
|
1022
1053
|
* @param {KanbanProps} props
|
|
1023
1054
|
*/
|
|
1024
|
-
declare function Kanban(props: KanbanProps$1):
|
|
1055
|
+
declare function Kanban(props: KanbanProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | React__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1025
1056
|
type KanbanProps$1 = KanbanProps$2;
|
|
1026
1057
|
|
|
1027
1058
|
/**
|
|
@@ -1032,7 +1063,7 @@ type KanbanProps$1 = KanbanProps$2;
|
|
|
1032
1063
|
* appropriate category agent.
|
|
1033
1064
|
* @param {ClassifyAndRouteProps} props
|
|
1034
1065
|
*/
|
|
1035
|
-
declare function ClassifyAndRoute(props: ClassifyAndRouteProps$1):
|
|
1066
|
+
declare function ClassifyAndRoute(props: ClassifyAndRouteProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1036
1067
|
type ClassifyAndRouteProps$1 = ClassifyAndRouteProps$2;
|
|
1037
1068
|
|
|
1038
1069
|
/**
|
|
@@ -1044,7 +1075,7 @@ type ClassifyAndRouteProps$1 = ClassifyAndRouteProps$2;
|
|
|
1044
1075
|
* and produces a combined output.
|
|
1045
1076
|
* @param {GatherAndSynthesizeProps} props
|
|
1046
1077
|
*/
|
|
1047
|
-
declare function GatherAndSynthesize(props: GatherAndSynthesizeProps$1):
|
|
1078
|
+
declare function GatherAndSynthesize(props: GatherAndSynthesizeProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1048
1079
|
type GatherAndSynthesizeProps$1 = GatherAndSynthesizeProps$2;
|
|
1049
1080
|
|
|
1050
1081
|
/**
|
|
@@ -1053,7 +1084,7 @@ type GatherAndSynthesizeProps$1 = GatherAndSynthesizeProps$2;
|
|
|
1053
1084
|
* Composes: Sequence > Parallel[Task per panelist] > Task(moderator)
|
|
1054
1085
|
* @param {PanelProps} props
|
|
1055
1086
|
*/
|
|
1056
|
-
declare function Panel(props: PanelProps$1):
|
|
1087
|
+
declare function Panel(props: PanelProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1057
1088
|
type PanelProps$1 = PanelProps$2;
|
|
1058
1089
|
|
|
1059
1090
|
/**
|
|
@@ -1062,7 +1093,7 @@ type PanelProps$1 = PanelProps$2;
|
|
|
1062
1093
|
* Composes: Sequence > Parallel[Task per check] > Task(verdict aggregator)
|
|
1063
1094
|
* @param {CheckSuiteProps} props
|
|
1064
1095
|
*/
|
|
1065
|
-
declare function CheckSuite(props: CheckSuiteProps$1):
|
|
1096
|
+
declare function CheckSuite(props: CheckSuiteProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1066
1097
|
type CheckSuiteProps$1 = CheckSuiteProps$2;
|
|
1067
1098
|
|
|
1068
1099
|
/**
|
|
@@ -1071,7 +1102,7 @@ type CheckSuiteProps$1 = CheckSuiteProps$2;
|
|
|
1071
1102
|
* Composes: Sequence > Loop[Parallel(proposer, opponent)] > Task(judge)
|
|
1072
1103
|
* @param {DebateProps} props
|
|
1073
1104
|
*/
|
|
1074
|
-
declare function Debate(props: DebateProps$1):
|
|
1105
|
+
declare function Debate(props: DebateProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1075
1106
|
type DebateProps$1 = DebateProps$2;
|
|
1076
1107
|
|
|
1077
1108
|
/**
|
|
@@ -1082,7 +1113,7 @@ type DebateProps$1 = DebateProps$2;
|
|
|
1082
1113
|
* feedback on subsequent iterations.
|
|
1083
1114
|
* @param {ReviewLoopProps} props
|
|
1084
1115
|
*/
|
|
1085
|
-
declare function ReviewLoop(props: ReviewLoopProps$1):
|
|
1116
|
+
declare function ReviewLoop(props: ReviewLoopProps$1): React__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1086
1117
|
type ReviewLoopProps$1 = ReviewLoopProps$2;
|
|
1087
1118
|
|
|
1088
1119
|
/**
|
|
@@ -1093,7 +1124,7 @@ type ReviewLoopProps$1 = ReviewLoopProps$2;
|
|
|
1093
1124
|
* score and feedback to guide improvement.
|
|
1094
1125
|
* @param {OptimizerProps} props
|
|
1095
1126
|
*/
|
|
1096
|
-
declare function Optimizer(props: OptimizerProps$1):
|
|
1127
|
+
declare function Optimizer(props: OptimizerProps$1): React__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1097
1128
|
type OptimizerProps$1 = OptimizerProps$2;
|
|
1098
1129
|
|
|
1099
1130
|
/**
|
|
@@ -1104,7 +1135,7 @@ type OptimizerProps$1 = OptimizerProps$2;
|
|
|
1104
1135
|
* the previous stage, passing output forward through the pipeline.
|
|
1105
1136
|
* @param {ContentPipelineProps} props
|
|
1106
1137
|
*/
|
|
1107
|
-
declare function ContentPipeline(props: ContentPipelineProps$1):
|
|
1138
|
+
declare function ContentPipeline(props: ContentPipelineProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1108
1139
|
type ContentPipelineProps$1 = ContentPipelineProps$2;
|
|
1109
1140
|
|
|
1110
1141
|
/**
|
|
@@ -1114,7 +1145,7 @@ type ContentPipelineProps$1 = ContentPipelineProps$2;
|
|
|
1114
1145
|
* Composes Branch + Approval + Task internally.
|
|
1115
1146
|
* @param {ApprovalGateProps} props
|
|
1116
1147
|
*/
|
|
1117
|
-
declare function ApprovalGate(props: ApprovalGateProps$1):
|
|
1148
|
+
declare function ApprovalGate(props: ApprovalGateProps$1): React__default__default__default__default.FunctionComponentElement<BranchProps$2> | null;
|
|
1118
1149
|
type ApprovalGateProps$1 = ApprovalGateProps$2;
|
|
1119
1150
|
|
|
1120
1151
|
/**
|
|
@@ -1124,7 +1155,7 @@ type ApprovalGateProps$1 = ApprovalGateProps$2;
|
|
|
1124
1155
|
* Composes Sequence + Task (with `continueOnFail`) + Branch + Approval.
|
|
1125
1156
|
* @param {EscalationChainProps} props
|
|
1126
1157
|
*/
|
|
1127
|
-
declare function EscalationChain(props: EscalationChainProps$1):
|
|
1158
|
+
declare function EscalationChain(props: EscalationChainProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1128
1159
|
type EscalationChainProps$1 = EscalationChainProps$2;
|
|
1129
1160
|
|
|
1130
1161
|
/**
|
|
@@ -1137,27 +1168,26 @@ type EscalationChainProps$1 = EscalationChainProps$2;
|
|
|
1137
1168
|
* Composes Branch and Parallel internally.
|
|
1138
1169
|
* @param {DecisionTableProps} props
|
|
1139
1170
|
*/
|
|
1140
|
-
declare function DecisionTable(props: DecisionTableProps$1):
|
|
1171
|
+
declare function DecisionTable(props: DecisionTableProps$1): React__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default.JSXElementConstructor<any>> | React__default__default__default__default.FunctionComponentElement<ParallelProps$2> | null;
|
|
1141
1172
|
type DecisionTableProps$1 = DecisionTableProps$2;
|
|
1142
1173
|
|
|
1143
|
-
/** @typedef {import("./DriftDetectorProps.ts").DriftDetectorProps} DriftDetectorProps */
|
|
1144
1174
|
/**
|
|
1145
1175
|
* @param {DriftDetectorProps} props
|
|
1146
1176
|
*/
|
|
1147
|
-
declare function DriftDetector(props: DriftDetectorProps$1):
|
|
1177
|
+
declare function DriftDetector(props: DriftDetectorProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | React__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1148
1178
|
type DriftDetectorProps$1 = DriftDetectorProps$2;
|
|
1149
1179
|
|
|
1150
1180
|
/** @typedef {import("./ScanFixVerifyProps.ts").ScanFixVerifyProps} ScanFixVerifyProps */
|
|
1151
1181
|
/**
|
|
1152
1182
|
* @param {ScanFixVerifyProps} props
|
|
1153
1183
|
*/
|
|
1154
|
-
declare function ScanFixVerify(props: ScanFixVerifyProps$1):
|
|
1184
|
+
declare function ScanFixVerify(props: ScanFixVerifyProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1155
1185
|
type ScanFixVerifyProps$1 = ScanFixVerifyProps$2;
|
|
1156
1186
|
|
|
1157
1187
|
/**
|
|
1158
1188
|
* @param {PollerProps} props
|
|
1159
1189
|
*/
|
|
1160
|
-
declare function Poller(props: PollerProps$1):
|
|
1190
|
+
declare function Poller(props: PollerProps$1): React__default__default__default__default.FunctionComponentElement<LoopProps$2> | null;
|
|
1161
1191
|
type PollerProps$1 = PollerProps$2;
|
|
1162
1192
|
|
|
1163
1193
|
/**
|
|
@@ -1166,7 +1196,7 @@ type PollerProps$1 = PollerProps$2;
|
|
|
1166
1196
|
* Composes: Sequence → [plan Task, Loop(until allDone) [Parallel worker Tasks, review Task], final Task]
|
|
1167
1197
|
* @param {SupervisorProps} props
|
|
1168
1198
|
*/
|
|
1169
|
-
declare function Supervisor(props: SupervisorProps$1):
|
|
1199
|
+
declare function Supervisor(props: SupervisorProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1170
1200
|
type SupervisorProps$1 = SupervisorProps$2;
|
|
1171
1201
|
|
|
1172
1202
|
/**
|
|
@@ -1176,17 +1206,44 @@ type SupervisorProps$1 = SupervisorProps$2;
|
|
|
1176
1206
|
* Composes: Sequence of [Approval? → Task] per step, chained via `needs`.
|
|
1177
1207
|
* @param {RunbookProps} props
|
|
1178
1208
|
*/
|
|
1179
|
-
declare function Runbook(props: RunbookProps$1):
|
|
1209
|
+
declare function Runbook(props: RunbookProps$1): React__default__default__default__default.FunctionComponentElement<SequenceProps$2> | null;
|
|
1180
1210
|
type RunbookProps$1 = RunbookProps$2;
|
|
1181
1211
|
|
|
1212
|
+
/**
|
|
1213
|
+
* Runs a primary task and a cheap shadow task over the same prompt.
|
|
1214
|
+
*
|
|
1215
|
+
* The primary task keeps the component id so downstream `needs` can consume it.
|
|
1216
|
+
* The sidecar task is continue-on-fail and writes its own scorer rows.
|
|
1217
|
+
*
|
|
1218
|
+
* @param {SidecarProps} props
|
|
1219
|
+
*/
|
|
1220
|
+
declare function Sidecar(props: SidecarProps$1): React__default__default__default__default.FunctionComponentElement<ParallelProps$2> | null;
|
|
1221
|
+
type SidecarProps$1 = SidecarProps$2;
|
|
1222
|
+
|
|
1223
|
+
type RowLike = {
|
|
1224
|
+
nodeId?: string;
|
|
1225
|
+
node_id?: string;
|
|
1226
|
+
scorerId?: string;
|
|
1227
|
+
scorer_id?: string;
|
|
1228
|
+
score?: number;
|
|
1229
|
+
scoredAtMs?: number;
|
|
1230
|
+
scored_at_ms?: number;
|
|
1231
|
+
} & Record<string, unknown>;
|
|
1232
|
+
type ComputeSidecarDeltaOptions = {
|
|
1233
|
+
primaryNodeId: string;
|
|
1234
|
+
sidecarNodeId: string;
|
|
1235
|
+
scorerId?: string;
|
|
1236
|
+
};
|
|
1237
|
+
declare function computeSidecarDelta(rows: RowLike[], opts: ComputeSidecarDeltaOptions): SidecarDelta$1;
|
|
1238
|
+
|
|
1182
1239
|
/** @typedef {import("./SubflowProps.ts").SubflowProps} SubflowProps */
|
|
1183
1240
|
/**
|
|
1184
1241
|
* @param {SubflowProps} props
|
|
1185
1242
|
*/
|
|
1186
|
-
declare function Subflow(props: SubflowProps$1):
|
|
1243
|
+
declare function Subflow(props: SubflowProps$1): React__default__default__default__default.ReactElement<{
|
|
1187
1244
|
id: string;
|
|
1188
1245
|
key: string | undefined;
|
|
1189
|
-
workflow:
|
|
1246
|
+
workflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown>;
|
|
1190
1247
|
input: unknown;
|
|
1191
1248
|
mode: "childRun" | "inline";
|
|
1192
1249
|
output: OutputTarget$1;
|
|
@@ -1199,22 +1256,22 @@ declare function Subflow(props: SubflowProps$1): React.ReactElement<{
|
|
|
1199
1256
|
initialDelayMs?: number;
|
|
1200
1257
|
} | undefined;
|
|
1201
1258
|
continueOnFail: boolean | undefined;
|
|
1202
|
-
cache:
|
|
1259
|
+
cache: _smithers_orchestrator_scheduler.CachePolicy | undefined;
|
|
1203
1260
|
dependsOn: string[] | undefined;
|
|
1204
1261
|
needs: Record<string, string> | undefined;
|
|
1205
1262
|
label: string;
|
|
1206
1263
|
meta: Record<string, unknown> | undefined;
|
|
1207
|
-
__smithersSubflowWorkflow:
|
|
1264
|
+
__smithersSubflowWorkflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown>;
|
|
1208
1265
|
__smithersSubflowInput: unknown;
|
|
1209
1266
|
__smithersSubflowMode: "childRun" | "inline";
|
|
1210
|
-
}, string |
|
|
1267
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1211
1268
|
type SubflowProps$1 = SubflowProps$2;
|
|
1212
1269
|
|
|
1213
1270
|
/** @typedef {import("./SandboxProps.ts").SandboxProps} SandboxProps */
|
|
1214
1271
|
/**
|
|
1215
1272
|
* @param {SandboxProps} props
|
|
1216
1273
|
*/
|
|
1217
|
-
declare function Sandbox(props: SandboxProps$1):
|
|
1274
|
+
declare function Sandbox(props: SandboxProps$1): React__default__default__default__default.ReactElement<{
|
|
1218
1275
|
id: string;
|
|
1219
1276
|
key: string | undefined;
|
|
1220
1277
|
output: OutputTarget$1;
|
|
@@ -1226,6 +1283,7 @@ declare function Sandbox(props: SandboxProps$1): React.ReactElement<{
|
|
|
1226
1283
|
allowNested: boolean | undefined;
|
|
1227
1284
|
image: string | undefined;
|
|
1228
1285
|
env: Record<string, string> | undefined;
|
|
1286
|
+
egress: SandboxEgressConfig$1 | undefined;
|
|
1229
1287
|
ports: {
|
|
1230
1288
|
host: number;
|
|
1231
1289
|
container: number;
|
|
@@ -1244,25 +1302,25 @@ declare function Sandbox(props: SandboxProps$1): React.ReactElement<{
|
|
|
1244
1302
|
initialDelayMs?: number;
|
|
1245
1303
|
} | undefined;
|
|
1246
1304
|
continueOnFail: boolean | undefined;
|
|
1247
|
-
cache:
|
|
1305
|
+
cache: _smithers_orchestrator_scheduler.CachePolicy | undefined;
|
|
1248
1306
|
dependsOn: string[] | undefined;
|
|
1249
1307
|
needs: Record<string, string> | undefined;
|
|
1250
1308
|
label: string;
|
|
1251
1309
|
meta: Record<string, unknown> | undefined;
|
|
1252
1310
|
__smithersSandboxProvider: unknown;
|
|
1253
|
-
__smithersSandboxWorkflow:
|
|
1311
|
+
__smithersSandboxWorkflow: _smithers_orchestrator_driver.WorkflowDefinition<unknown> | undefined;
|
|
1254
1312
|
__smithersSandboxInput: unknown;
|
|
1255
1313
|
__smithersSandboxRuntime: SandboxRuntime$1 | undefined;
|
|
1256
1314
|
__smithersSandboxAllowNested: boolean | undefined;
|
|
1257
|
-
__smithersSandboxChildren:
|
|
1258
|
-
}, string |
|
|
1315
|
+
__smithersSandboxChildren: React__default__default__default__default.ReactNode;
|
|
1316
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1259
1317
|
type SandboxProps$1 = SandboxProps$2;
|
|
1260
1318
|
|
|
1261
1319
|
/** @typedef {import("./WaitForEventProps.ts").WaitForEventProps} WaitForEventProps */
|
|
1262
1320
|
/**
|
|
1263
1321
|
* @param {WaitForEventProps} props
|
|
1264
1322
|
*/
|
|
1265
|
-
declare function WaitForEvent(props: WaitForEventProps$1):
|
|
1323
|
+
declare function WaitForEvent(props: WaitForEventProps$1): React__default__default__default__default.ReactElement<{
|
|
1266
1324
|
id: string;
|
|
1267
1325
|
key: string | undefined;
|
|
1268
1326
|
event: string;
|
|
@@ -1285,7 +1343,7 @@ declare function WaitForEvent(props: WaitForEventProps$1): React.ReactElement<{
|
|
|
1285
1343
|
__smithersEventName: string;
|
|
1286
1344
|
__smithersCorrelationId: string | undefined;
|
|
1287
1345
|
__smithersOnTimeout: "fail" | "continue" | "skip";
|
|
1288
|
-
}, string |
|
|
1346
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1289
1347
|
type WaitForEventProps$1 = WaitForEventProps$2;
|
|
1290
1348
|
|
|
1291
1349
|
/**
|
|
@@ -1296,14 +1354,14 @@ type WaitForEventProps$1 = WaitForEventProps$2;
|
|
|
1296
1354
|
* @template Schema
|
|
1297
1355
|
* @param {SignalProps<Schema>} props
|
|
1298
1356
|
*/
|
|
1299
|
-
declare function Signal<Schema>(props: SignalProps$1<Schema>):
|
|
1357
|
+
declare function Signal<Schema>(props: SignalProps$1<Schema>): React__default__default__default__default.DetailedReactHTMLElement<React__default__default__default__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> | React__default__default__default__default.FunctionComponentElement<React__default__default__default__default.FragmentProps> | null;
|
|
1300
1358
|
type SignalProps$1<Schema> = SignalProps$2<Schema>;
|
|
1301
1359
|
|
|
1302
1360
|
/** @typedef {import("./TimerProps.ts").TimerProps} TimerProps */
|
|
1303
1361
|
/**
|
|
1304
1362
|
* @param {TimerProps} props
|
|
1305
1363
|
*/
|
|
1306
|
-
declare function Timer(props: TimerProps$1):
|
|
1364
|
+
declare function Timer(props: TimerProps$1): React__default__default__default__default.ReactElement<{
|
|
1307
1365
|
id: string;
|
|
1308
1366
|
key: string | undefined;
|
|
1309
1367
|
duration: string | undefined;
|
|
@@ -1318,14 +1376,14 @@ declare function Timer(props: TimerProps$1): React.ReactElement<{
|
|
|
1318
1376
|
} | undefined;
|
|
1319
1377
|
__smithersTimerDuration: string | undefined;
|
|
1320
1378
|
__smithersTimerUntil: string | undefined;
|
|
1321
|
-
}, string |
|
|
1379
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1322
1380
|
type TimerProps$1 = TimerProps$2;
|
|
1323
1381
|
|
|
1324
1382
|
/**
|
|
1325
1383
|
* @param {HumanTaskProps} props
|
|
1326
1384
|
* @returns {React.ReactElement | null}
|
|
1327
1385
|
*/
|
|
1328
|
-
declare function HumanTask(props: HumanTaskProps$1):
|
|
1386
|
+
declare function HumanTask(props: HumanTaskProps$1): React__default__default__default__default.ReactElement | null;
|
|
1329
1387
|
type HumanTaskProps$1 = HumanTaskProps$2;
|
|
1330
1388
|
|
|
1331
1389
|
/**
|
|
@@ -1337,7 +1395,7 @@ type HumanTaskProps$1 = HumanTaskProps$2;
|
|
|
1337
1395
|
* Renders to `<smithers:saga>`.
|
|
1338
1396
|
* @param {SagaProps} props
|
|
1339
1397
|
*/
|
|
1340
|
-
declare function Saga(props: SagaProps$1):
|
|
1398
|
+
declare function Saga(props: SagaProps$1): React__default__default__default__default.ReactElement<{
|
|
1341
1399
|
id: string | undefined;
|
|
1342
1400
|
onFailure: "fail" | "compensate" | "compensate-and-fail";
|
|
1343
1401
|
__sagaSteps: {
|
|
@@ -1345,7 +1403,7 @@ declare function Saga(props: SagaProps$1): React.ReactElement<{
|
|
|
1345
1403
|
label: any;
|
|
1346
1404
|
}[];
|
|
1347
1405
|
skipIf?: boolean;
|
|
1348
|
-
}, string |
|
|
1406
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1349
1407
|
declare namespace Saga {
|
|
1350
1408
|
export { SagaStep as Step };
|
|
1351
1409
|
}
|
|
@@ -1356,7 +1414,7 @@ type SagaProps$1 = SagaProps$2;
|
|
|
1356
1414
|
* @param {SagaStepProps} _props
|
|
1357
1415
|
* @returns {React.ReactElement | null}
|
|
1358
1416
|
*/
|
|
1359
|
-
declare function SagaStep(_props: SagaStepProps$1):
|
|
1417
|
+
declare function SagaStep(_props: SagaStepProps$1): React__default__default__default__default.ReactElement | null;
|
|
1360
1418
|
declare namespace SagaStep {
|
|
1361
1419
|
let __isSagaStep: boolean;
|
|
1362
1420
|
}
|
|
@@ -1372,12 +1430,12 @@ declare namespace SagaStep {
|
|
|
1372
1430
|
* Renders to `<smithers:try-catch-finally>`.
|
|
1373
1431
|
* @param {TryCatchFinallyProps} props
|
|
1374
1432
|
*/
|
|
1375
|
-
declare function TryCatchFinally(props: TryCatchFinallyProps$1):
|
|
1433
|
+
declare function TryCatchFinally(props: TryCatchFinallyProps$1): React__default__default__default__default.ReactElement<{
|
|
1376
1434
|
id: string | undefined;
|
|
1377
|
-
__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" | "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_RPC_FILE_ARGS" | "AGENT_BUILD_COMMAND" | "AGENT_DIAGNOSTIC_TIMEOUT" | "DB_MISSING_COLUMNS" | "DB_REQUIRES_BUN_SQLITE" | "DB_QUERY_FAILED" | "DB_WRITE_FAILED" | "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;
|
|
1378
|
-
__tcfCatchHandler:
|
|
1379
|
-
__tcfFinallyHandler:
|
|
1380
|
-
}, string |
|
|
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.ReactElement<unknown, string | React__default__default__default__default.JSXElementConstructor<any>> | ((error: _smithers_orchestrator_errors.SmithersError) => React__default__default__default__default.ReactElement) | undefined;
|
|
1437
|
+
__tcfFinallyHandler: React__default__default__default__default.ReactElement<unknown, string | React__default__default__default__default.JSXElementConstructor<any>> | undefined;
|
|
1438
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1381
1439
|
type TryCatchFinallyProps$1 = TryCatchFinallyProps$2;
|
|
1382
1440
|
|
|
1383
1441
|
/**
|
|
@@ -1404,8 +1462,8 @@ type AspectContextValue = {
|
|
|
1404
1462
|
*
|
|
1405
1463
|
* Wraps a section of the workflow tree and propagates token budgets,
|
|
1406
1464
|
* latency SLOs, and cost budgets to all descendant Task components
|
|
1407
|
-
* without modifying individual tasks.
|
|
1408
|
-
*
|
|
1465
|
+
* without modifying individual tasks. The engine enforces the scope-wide
|
|
1466
|
+
* budgets at task-dispatch time.
|
|
1409
1467
|
*
|
|
1410
1468
|
* ```tsx
|
|
1411
1469
|
* <Aspects tokenBudget={{ max: 100_000, perTask: 20_000, onExceeded: "warn" }}>
|
|
@@ -1415,7 +1473,7 @@ type AspectContextValue = {
|
|
|
1415
1473
|
* ```
|
|
1416
1474
|
* @param {AspectsProps} props
|
|
1417
1475
|
*/
|
|
1418
|
-
declare function Aspects(props: AspectsProps$1):
|
|
1476
|
+
declare function Aspects(props: AspectsProps$1): React__default__default__default__default.FunctionComponentElement<React__default__default__default__default.ProviderProps<AspectContextValue | null>>;
|
|
1419
1477
|
type AspectsProps$1 = AspectsProps$2;
|
|
1420
1478
|
|
|
1421
1479
|
/**
|
|
@@ -1429,8 +1487,8 @@ type AspectsProps$1 = AspectsProps$2;
|
|
|
1429
1487
|
*
|
|
1430
1488
|
* Internally expands to a sequence of tasks:
|
|
1431
1489
|
* 1. Agent reads the strategy doc and target files
|
|
1432
|
-
* 2. Agent
|
|
1433
|
-
* 3.
|
|
1490
|
+
* 2. (If not dryRun) Agent applies the modifications directly to disk
|
|
1491
|
+
* 3. A compute marker records the apply and triggers the hot-reload system
|
|
1434
1492
|
* 4. Agent generates a report of what changed
|
|
1435
1493
|
*
|
|
1436
1494
|
* ```tsx
|
|
@@ -1444,34 +1502,46 @@ type AspectsProps$1 = AspectsProps$2;
|
|
|
1444
1502
|
* ```
|
|
1445
1503
|
* @param {SuperSmithersProps} props
|
|
1446
1504
|
*/
|
|
1447
|
-
declare function SuperSmithers(props: SuperSmithersProps$1):
|
|
1505
|
+
declare function SuperSmithers(props: SuperSmithersProps$1): React__default__default__default__default.ReactElement<{
|
|
1448
1506
|
id: string;
|
|
1449
|
-
}, string |
|
|
1507
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1450
1508
|
type SuperSmithersProps$1 = SuperSmithersProps$2;
|
|
1451
1509
|
|
|
1452
1510
|
/** @typedef {import("./LoopProps.ts").LoopProps} LoopProps */
|
|
1453
1511
|
/**
|
|
1454
1512
|
* @param {LoopProps} props
|
|
1455
1513
|
*/
|
|
1456
|
-
declare function Loop(props: LoopProps$1):
|
|
1514
|
+
declare function Loop(props: LoopProps$1): React__default__default__default__default.ReactElement<{
|
|
1515
|
+
id: string | undefined;
|
|
1516
|
+
until: boolean | undefined;
|
|
1517
|
+
maxIterations: number | undefined;
|
|
1518
|
+
onMaxReached: "fail" | "return-last" | undefined;
|
|
1519
|
+
continueAsNewEvery: number | undefined;
|
|
1520
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1457
1521
|
/** @typedef {import("./LoopProps.ts").LoopProps} LoopProps */
|
|
1458
1522
|
/**
|
|
1459
1523
|
* @param {LoopProps} props
|
|
1460
1524
|
*/
|
|
1461
|
-
declare function Ralph(props: LoopProps$1):
|
|
1525
|
+
declare function Ralph(props: LoopProps$1): React__default__default__default__default.ReactElement<{
|
|
1526
|
+
id: string | undefined;
|
|
1527
|
+
until: boolean | undefined;
|
|
1528
|
+
maxIterations: number | undefined;
|
|
1529
|
+
onMaxReached: "fail" | "return-last" | undefined;
|
|
1530
|
+
continueAsNewEvery: number | undefined;
|
|
1531
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>> | null;
|
|
1462
1532
|
type LoopProps$1 = LoopProps$2;
|
|
1463
1533
|
|
|
1464
1534
|
/**
|
|
1465
1535
|
* @param {ContinueAsNewProps} props
|
|
1466
1536
|
*/
|
|
1467
|
-
declare function ContinueAsNew(props: ContinueAsNewProps$1):
|
|
1537
|
+
declare function ContinueAsNew(props: ContinueAsNewProps$1): React__default__default__default__default.ReactElement<{
|
|
1468
1538
|
stateJson: string | undefined;
|
|
1469
|
-
}, string |
|
|
1539
|
+
}, string | React__default__default__default__default.JSXElementConstructor<any>>;
|
|
1470
1540
|
/**
|
|
1471
1541
|
* Convenience helper for conditional continuation inside workflow JSX:
|
|
1472
1542
|
* `{shouldContinue ? continueAsNew({ cursor }) : null}`
|
|
1473
1543
|
*/
|
|
1474
|
-
declare function continueAsNew(state: any):
|
|
1544
|
+
declare function continueAsNew(state: any): React__default__default__default__default.FunctionComponentElement<ContinueAsNewProps$2>;
|
|
1475
1545
|
type ContinueAsNewProps$1 = ContinueAsNewProps$2;
|
|
1476
1546
|
|
|
1477
1547
|
type ApprovalAutoApprove = ApprovalAutoApprove$1;
|
|
@@ -1525,8 +1595,10 @@ type SandboxRuntime = SandboxRuntime$1;
|
|
|
1525
1595
|
type SandboxVolumeMount = SandboxVolumeMount$1;
|
|
1526
1596
|
type SandboxWorkspaceSpec = SandboxWorkspaceSpec$1;
|
|
1527
1597
|
type ScanFixVerifyProps = ScanFixVerifyProps$2;
|
|
1528
|
-
type ScorersMap = ScorersMap
|
|
1598
|
+
type ScorersMap = _smithers_orchestrator_graph_types.ScorersMap;
|
|
1529
1599
|
type SequenceProps = SequenceProps$2;
|
|
1600
|
+
type SidecarDelta = SidecarDelta$1;
|
|
1601
|
+
type SidecarProps = SidecarProps$2;
|
|
1530
1602
|
type SignalProps<Schema> = SignalProps$2<Schema>;
|
|
1531
1603
|
type SourceDef = SourceDef$1;
|
|
1532
1604
|
type SubflowProps = SubflowProps$2;
|
|
@@ -1540,7 +1612,7 @@ type WorkflowProps = WorkflowProps$2;
|
|
|
1540
1612
|
type WorktreeProps = WorktreeProps$2;
|
|
1541
1613
|
|
|
1542
1614
|
/** @type {Record<string, React.FC<any>>} */
|
|
1543
|
-
declare const markdownComponents: Record<string,
|
|
1615
|
+
declare const markdownComponents: Record<string, React__default__default__default__default.FC<any>>;
|
|
1544
1616
|
|
|
1545
1617
|
/** @typedef {import("react").ComponentType<Record<string, any>>} MDXContent */
|
|
1546
1618
|
/**
|
|
@@ -1554,7 +1626,7 @@ declare const markdownComponents: Record<string, React.FC<any>>;
|
|
|
1554
1626
|
* @returns {string}
|
|
1555
1627
|
*/
|
|
1556
1628
|
declare function renderMdx(Component: MDXContent, props?: Record<string, any>): string;
|
|
1557
|
-
type MDXContent = any
|
|
1629
|
+
type MDXContent = React__default__default__default.ComponentType<Record<string, any>>;
|
|
1558
1630
|
|
|
1559
1631
|
/** @typedef {import("zod").ZodObject<import("zod").ZodRawShape>} ZodObject */
|
|
1560
1632
|
/** @typedef {import("zod").ZodTypeAny} ZodTypeAny */
|
|
@@ -1565,42 +1637,42 @@ type MDXContent = any;
|
|
|
1565
1637
|
declare function zodSchemaToJsonExample(schema: ZodObject): string;
|
|
1566
1638
|
type ZodObject = zod.ZodObject<zod.ZodRawShape>;
|
|
1567
1639
|
|
|
1568
|
-
type CachePolicy<Ctx> =
|
|
1569
|
-
type EngineDecision =
|
|
1570
|
-
type ExtractOptions =
|
|
1571
|
-
type HostElement =
|
|
1572
|
-
type HostNode =
|
|
1573
|
-
type HostText =
|
|
1574
|
-
type InferOutputEntry<T> =
|
|
1575
|
-
type InferRow<TTable> =
|
|
1576
|
-
type OutputAccessor<Schema> =
|
|
1577
|
-
type OutputKey =
|
|
1578
|
-
type RenderContext =
|
|
1579
|
-
type RetryPolicy =
|
|
1580
|
-
type RunAuthContext =
|
|
1581
|
-
type RunOptions =
|
|
1582
|
-
type RunResult =
|
|
1583
|
-
type SchemaRegistryEntry =
|
|
1584
|
-
type SmithersAlertLabels =
|
|
1585
|
-
type SmithersAlertPolicy =
|
|
1586
|
-
type SmithersAlertPolicyDefaults =
|
|
1587
|
-
type SmithersAlertPolicyRule =
|
|
1588
|
-
type SmithersAlertReaction =
|
|
1589
|
-
type SmithersAlertReactionKind =
|
|
1590
|
-
type SmithersAlertReactionRef =
|
|
1591
|
-
type SmithersAlertSeverity =
|
|
1592
|
-
type SmithersCtx =
|
|
1593
|
-
type SmithersErrorCode =
|
|
1594
|
-
type SmithersWorkflow<Schema> =
|
|
1595
|
-
type SmithersWorkflowDriverOptions<Schema> =
|
|
1596
|
-
type SmithersWorkflowOptions =
|
|
1597
|
-
type TaskDescriptor =
|
|
1598
|
-
type WaitReason =
|
|
1599
|
-
type WorkflowGraph =
|
|
1600
|
-
type WorkflowRuntime =
|
|
1601
|
-
type WorkflowSession =
|
|
1602
|
-
type XmlElement =
|
|
1603
|
-
type XmlNode =
|
|
1604
|
-
type XmlText =
|
|
1605
|
-
|
|
1606
|
-
export { Approval, type ApprovalAutoApprove, type ApprovalDecision, ApprovalGate, type ApprovalGateProps, type ApprovalMode, type ApprovalOption, type ApprovalProps, type ApprovalRanking, type ApprovalRequest, type ApprovalSelection, Aspects, type AspectsProps, Branch, type BranchProps, type CachePolicy, type CategoryConfig, type CheckConfig, CheckSuite, type CheckSuiteProps, ClassifyAndRoute, type ClassifyAndRouteProps, type ColumnDef, ContentPipeline, type ContentPipelineProps, type ContentPipelineStage, ContinueAsNew, type ContinueAsNewProps, Debate, type DebateProps, type DecisionRule, DecisionTable, type DecisionTableProps, type DepsSpec, DriftDetector, type DriftDetectorProps, type EngineDecision, EscalationChain, type EscalationChainProps, type EscalationLevel, type ExtractOptions, GatherAndSynthesize, type GatherAndSynthesizeProps, type HostElement, type HostNode, type HostText, HumanTask, type HumanTaskProps, type InferDeps, type InferOutputEntry, type InferRow, Kanban, type KanbanProps, Loop, type LoopProps, MergeQueue, type MergeQueueProps, Optimizer, type OptimizerProps, type OutputAccessor, type OutputKey, type OutputTarget, Panel, type PanelProps, type PanelistConfig, Parallel, type ParallelProps, Poller, type PollerProps, Ralph, type RalphProps, type RenderContext, type RetryPolicy, ReviewLoop, type ReviewLoopProps, type RunAuthContext, type RunOptions, type RunResult, Runbook, type RunbookProps, type RunbookStep, Saga, type SagaProps, type SagaStepDef, type SagaStepProps, Sandbox, type SandboxEgressConfig, type SandboxProps, type SandboxRuntime, type SandboxVolumeMount, type SandboxWorkspaceSpec, ScanFixVerify, type ScanFixVerifyProps, type SchemaRegistryEntry, type ScorersMap, Sequence, type SequenceProps, Signal, type SignalProps, type SmithersAlertLabels, type SmithersAlertPolicy, type SmithersAlertPolicyDefaults, type SmithersAlertPolicyRule, type SmithersAlertReaction, type SmithersAlertReactionKind, type SmithersAlertReactionRef, type SmithersAlertSeverity, type SmithersCtx, type SmithersErrorCode, type SmithersWorkflow, type SmithersWorkflowDriverOptions, type SmithersWorkflowOptions, type SourceDef, Subflow, type SubflowProps, SuperSmithers, type SuperSmithersProps, Supervisor, type SupervisorProps, Task, type TaskDescriptor, type TaskProps, Timer, type TimerProps, TryCatchFinally, type TryCatchFinallyProps, WaitForEvent, type WaitForEventProps, type WaitReason, Workflow, type WorkflowGraph, type WorkflowProps, type WorkflowRuntime, type WorkflowSession, Worktree, type WorktreeProps, type XmlElement, type XmlNode, type XmlText, approvalDecisionSchema, approvalRankingSchema, approvalSelectionSchema, continueAsNew, markdownComponents, renderMdx, zodSchemaToJsonExample };
|
|
1640
|
+
type CachePolicy<Ctx> = _smithers_orchestrator_scheduler_CachePolicy.CachePolicy<Ctx>;
|
|
1641
|
+
type EngineDecision = _smithers_orchestrator_scheduler.EngineDecision;
|
|
1642
|
+
type ExtractOptions = _smithers_orchestrator_graph.ExtractOptions;
|
|
1643
|
+
type HostElement = _smithers_orchestrator_graph.HostElement;
|
|
1644
|
+
type HostNode = _smithers_orchestrator_graph.HostNode;
|
|
1645
|
+
type HostText = _smithers_orchestrator_graph.HostText;
|
|
1646
|
+
type InferOutputEntry<T> = _smithers_orchestrator_driver_OutputAccessor.InferOutputEntry<T>;
|
|
1647
|
+
type InferRow<TTable> = _smithers_orchestrator_driver_OutputAccessor.InferRow<TTable>;
|
|
1648
|
+
type OutputAccessor<Schema> = _smithers_orchestrator_driver_OutputAccessor.OutputAccessor<Schema>;
|
|
1649
|
+
type OutputKey = _smithers_orchestrator_driver_OutputKey.OutputKey;
|
|
1650
|
+
type RenderContext = _smithers_orchestrator_scheduler.RenderContext;
|
|
1651
|
+
type RetryPolicy = _smithers_orchestrator_scheduler_RetryPolicy.RetryPolicy;
|
|
1652
|
+
type RunAuthContext = _smithers_orchestrator_driver_RunAuthContext.RunAuthContext;
|
|
1653
|
+
type RunOptions = _smithers_orchestrator_driver.RunOptions;
|
|
1654
|
+
type RunResult = _smithers_orchestrator_driver.RunResult;
|
|
1655
|
+
type SchemaRegistryEntry = _smithers_orchestrator_db_SchemaRegistryEntry.SchemaRegistryEntry;
|
|
1656
|
+
type SmithersAlertLabels = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertLabels;
|
|
1657
|
+
type SmithersAlertPolicy = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertPolicy;
|
|
1658
|
+
type SmithersAlertPolicyDefaults = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertPolicyDefaults;
|
|
1659
|
+
type SmithersAlertPolicyRule = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertPolicyRule;
|
|
1660
|
+
type SmithersAlertReaction = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertReaction;
|
|
1661
|
+
type SmithersAlertReactionKind = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertReactionKind;
|
|
1662
|
+
type SmithersAlertReactionRef = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertReactionRef;
|
|
1663
|
+
type SmithersAlertSeverity = _smithers_orchestrator_scheduler_SmithersWorkflowOptions.SmithersAlertSeverity;
|
|
1664
|
+
type SmithersCtx = _smithers_orchestrator_driver.SmithersCtx;
|
|
1665
|
+
type SmithersErrorCode = _smithers_orchestrator_errors_SmithersErrorCode.SmithersErrorCode;
|
|
1666
|
+
type SmithersWorkflow<Schema> = _smithers_orchestrator_driver_WorkflowDefinition.WorkflowDefinition<Schema>;
|
|
1667
|
+
type SmithersWorkflowDriverOptions<Schema> = _smithers_orchestrator_driver_WorkflowDriverOptions.WorkflowDriverOptions<Schema>;
|
|
1668
|
+
type SmithersWorkflowOptions = _smithers_orchestrator_scheduler.SmithersWorkflowOptions;
|
|
1669
|
+
type TaskDescriptor = _smithers_orchestrator_graph.TaskDescriptor;
|
|
1670
|
+
type WaitReason = _smithers_orchestrator_scheduler.WaitReason;
|
|
1671
|
+
type WorkflowGraph = _smithers_orchestrator_graph.WorkflowGraph;
|
|
1672
|
+
type WorkflowRuntime = _smithers_orchestrator_driver_workflow_types.WorkflowRuntime;
|
|
1673
|
+
type WorkflowSession = _smithers_orchestrator_driver_workflow_types.WorkflowSession;
|
|
1674
|
+
type XmlElement = _smithers_orchestrator_graph.XmlElement;
|
|
1675
|
+
type XmlNode = _smithers_orchestrator_graph.XmlNode;
|
|
1676
|
+
type XmlText = _smithers_orchestrator_graph.XmlText;
|
|
1677
|
+
|
|
1678
|
+
export { Approval, type ApprovalAutoApprove, type ApprovalDecision, ApprovalGate, type ApprovalGateProps, type ApprovalMode, type ApprovalOption, type ApprovalProps, type ApprovalRanking, type ApprovalRequest, type ApprovalSelection, Aspects, type AspectsProps, Branch, type BranchProps, type CachePolicy, type CategoryConfig, type CheckConfig, CheckSuite, type CheckSuiteProps, ClassifyAndRoute, type ClassifyAndRouteProps, type ColumnDef, ContentPipeline, type ContentPipelineProps, type ContentPipelineStage, ContinueAsNew, type ContinueAsNewProps, Debate, type DebateProps, type DecisionRule, DecisionTable, type DecisionTableProps, type DepsSpec, DriftDetector, type DriftDetectorProps, type EngineDecision, EscalationChain, type EscalationChainProps, type EscalationLevel, type ExtractOptions, GatherAndSynthesize, type GatherAndSynthesizeProps, type HostElement, type HostNode, type HostText, HumanTask, type HumanTaskProps, type InferDeps, type InferOutputEntry, type InferRow, Kanban, type KanbanProps, Loop, type LoopProps, MergeQueue, type MergeQueueProps, Optimizer, type OptimizerProps, type OutputAccessor, type OutputKey, type OutputTarget, Panel, type PanelProps, type PanelistConfig, Parallel, type ParallelProps, Poller, type PollerProps, Ralph, type RalphProps, type RenderContext, type RetryPolicy, ReviewLoop, type ReviewLoopProps, type RunAuthContext, type RunOptions, type RunResult, Runbook, type RunbookProps, type RunbookStep, Saga, type SagaProps, SagaStep, type SagaStepDef, type SagaStepProps, Sandbox, type SandboxEgressConfig, type SandboxProps, type SandboxRuntime, type SandboxVolumeMount, type SandboxWorkspaceSpec, ScanFixVerify, type ScanFixVerifyProps, type SchemaRegistryEntry, type ScorersMap, Sequence, type SequenceProps, Sidecar, type SidecarDelta, type SidecarProps, Signal, type SignalProps, type SmithersAlertLabels, type SmithersAlertPolicy, type SmithersAlertPolicyDefaults, type SmithersAlertPolicyRule, type SmithersAlertReaction, type SmithersAlertReactionKind, type SmithersAlertReactionRef, type SmithersAlertSeverity, type SmithersCtx, type SmithersErrorCode, type SmithersWorkflow, type SmithersWorkflowDriverOptions, type SmithersWorkflowOptions, type SourceDef, Subflow, type SubflowProps, SuperSmithers, type SuperSmithersProps, Supervisor, type SupervisorProps, Task, type TaskDescriptor, type TaskProps, Timer, type TimerProps, TryCatchFinally, type TryCatchFinallyProps, WaitForEvent, type WaitForEventProps, type WaitReason, Workflow, type WorkflowGraph, type WorkflowProps, type WorkflowRuntime, type WorkflowSession, Worktree, type WorktreeProps, type XmlElement, type XmlNode, type XmlText, approvalDecisionSchema, approvalRankingSchema, approvalSelectionSchema, computeSidecarDelta, continueAsNew, markdownComponents, renderMdx, zodSchemaToJsonExample };
|