@open-conduit/sdk 7.0.0 → 7.1.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/dist/actions.d.ts +145 -0
- package/dist/actions.js +281 -0
- package/dist/actiontest.d.ts +80 -0
- package/dist/actiontest.js +190 -0
- package/dist/artifactstore.d.ts +133 -0
- package/dist/artifactstore.js +364 -0
- package/dist/backup.d.ts +99 -0
- package/dist/backup.js +178 -0
- package/dist/containertest.d.ts +71 -0
- package/dist/containertest.js +294 -0
- package/dist/errors.d.ts +28 -0
- package/dist/errors.js +37 -0
- package/dist/executor.d.ts +374 -0
- package/dist/executor.js +556 -0
- package/dist/executortest.d.ts +183 -0
- package/dist/executortest.js +534 -0
- package/dist/extension.d.ts +496 -1
- package/dist/extension.js +1152 -4
- package/dist/feed.d.ts +20 -0
- package/dist/feed.js +88 -0
- package/dist/forward.d.ts +38 -0
- package/dist/forward.js +163 -0
- package/dist/forwardca.d.ts +21 -0
- package/dist/forwardca.js +144 -0
- package/dist/hooks.d.ts +108 -0
- package/dist/hooks.js +13 -0
- package/dist/host.d.ts +166 -2
- package/dist/host.js +235 -2
- package/dist/index.d.ts +27 -3
- package/dist/index.js +14 -2
- package/dist/probe.d.ts +61 -0
- package/dist/probe.js +92 -0
- package/dist/providertest.d.ts +59 -0
- package/dist/providertest.js +168 -0
- package/dist/resources.d.ts +208 -0
- package/dist/resources.js +303 -0
- package/dist/sandbox.d.ts +84 -0
- package/dist/sandbox.js +85 -0
- package/dist/setup.d.ts +145 -0
- package/dist/setup.js +179 -0
- package/dist/setuptest.d.ts +90 -0
- package/dist/setuptest.js +319 -0
- package/dist/storetest.d.ts +64 -0
- package/dist/storetest.js +740 -0
- package/dist/telemetry.d.ts +86 -0
- package/dist/telemetry.js +46 -0
- package/dist/testing.d.ts +591 -2
- package/dist/testing.js +1460 -6
- package/dist/toolbelt.d.ts +91 -0
- package/dist/toolbelt.js +216 -0
- package/dist/tunnel.d.ts +62 -0
- package/dist/tunnel.js +93 -0
- package/dist/wire.d.ts +4060 -348
- package/dist/wire.js +1583 -0
- package/package.json +1 -1
package/dist/wire.d.ts
CHANGED
|
@@ -148,11 +148,17 @@ export declare const HostInfo: import("./schema.js").Type<{
|
|
|
148
148
|
}>;
|
|
149
149
|
export type HostInfo = Infer<typeof HostInfo>;
|
|
150
150
|
export declare const InitializeParams: import("./schema.js").Type<{
|
|
151
|
+
config_dir?: string | undefined;
|
|
152
|
+
container_dirs?: Record<string, string> | undefined;
|
|
153
|
+
container_former_hosts?: string[] | undefined;
|
|
154
|
+
container_host?: string | undefined;
|
|
155
|
+
executor_dirs?: Record<string, string> | undefined;
|
|
151
156
|
host: {
|
|
152
157
|
name: string;
|
|
153
158
|
version: string;
|
|
154
159
|
};
|
|
155
160
|
protocol_versions: number[] | null;
|
|
161
|
+
resource_dirs?: Record<string, string> | undefined;
|
|
156
162
|
state_dir: string;
|
|
157
163
|
}>;
|
|
158
164
|
export type InitializeParams = Infer<typeof InitializeParams>;
|
|
@@ -194,7 +200,21 @@ export declare const KVState: import("./schema.js").Type<{
|
|
|
194
200
|
stored: number;
|
|
195
201
|
}>;
|
|
196
202
|
export type KVState = Infer<typeof KVState>;
|
|
203
|
+
/** One binding's container: its scope and name, the provider and the binding's whole container config. */
|
|
204
|
+
export declare const ContainerUse: import("./schema.js").Type<{
|
|
205
|
+
binding: string;
|
|
206
|
+
config: unknown;
|
|
207
|
+
provider: string;
|
|
208
|
+
scope_id: string;
|
|
209
|
+
}>;
|
|
210
|
+
export type ContainerUse = Infer<typeof ContainerUse>;
|
|
197
211
|
export declare const ConfigureParams: import("./schema.js").Type<{
|
|
212
|
+
containers?: {
|
|
213
|
+
binding: string;
|
|
214
|
+
config: unknown;
|
|
215
|
+
provider: string;
|
|
216
|
+
scope_id: string;
|
|
217
|
+
}[] | undefined;
|
|
198
218
|
disabled?: {
|
|
199
219
|
binding_connections?: {
|
|
200
220
|
config?: unknown;
|
|
@@ -244,7 +264,10 @@ export declare const ConfigureParams: import("./schema.js").Type<{
|
|
|
244
264
|
export type ConfigureParams = Infer<typeof ConfigureParams>;
|
|
245
265
|
export declare const ValidateParams: import("./schema.js").Type<{
|
|
246
266
|
config?: unknown;
|
|
267
|
+
folder?: string | undefined;
|
|
247
268
|
kind: string;
|
|
269
|
+
mode?: string | undefined;
|
|
270
|
+
resource?: boolean | undefined;
|
|
248
271
|
secret_names?: string[] | undefined;
|
|
249
272
|
type: string;
|
|
250
273
|
}>;
|
|
@@ -492,8 +515,10 @@ export declare const EventAcceptResult: import("./schema.js").Type<{
|
|
|
492
515
|
}>;
|
|
493
516
|
export type EventAcceptResult = Infer<typeof EventAcceptResult>;
|
|
494
517
|
export declare const SecretResolveParams: import("./schema.js").Type<{
|
|
518
|
+
binding?: string | undefined;
|
|
495
519
|
connection?: string | undefined;
|
|
496
520
|
names: string[];
|
|
521
|
+
probe_grant?: string | undefined;
|
|
497
522
|
scope_id: string;
|
|
498
523
|
}>;
|
|
499
524
|
export type SecretResolveParams = Infer<typeof SecretResolveParams>;
|
|
@@ -501,6 +526,362 @@ export declare const SecretResolveResult: import("./schema.js").Type<{
|
|
|
501
526
|
values: Record<string, string> | null;
|
|
502
527
|
}>;
|
|
503
528
|
export type SecretResolveResult = Infer<typeof SecretResolveResult>;
|
|
529
|
+
export declare const CredentialVerifyParams: import("./schema.js").Type<{
|
|
530
|
+
config: {
|
|
531
|
+
data?: unknown;
|
|
532
|
+
schema?: string | undefined;
|
|
533
|
+
};
|
|
534
|
+
issuer: string;
|
|
535
|
+
token: string;
|
|
536
|
+
type: string;
|
|
537
|
+
}>;
|
|
538
|
+
export type CredentialVerifyParams = Infer<typeof CredentialVerifyParams>;
|
|
539
|
+
export declare const CredentialVerifyResult: import("./schema.js").Type<{
|
|
540
|
+
expires_at: string;
|
|
541
|
+
groups?: string[] | undefined;
|
|
542
|
+
subject: string;
|
|
543
|
+
}>;
|
|
544
|
+
export type CredentialVerifyResult = Infer<typeof CredentialVerifyResult>;
|
|
545
|
+
export declare const ResourceOwner: import("./schema.js").Type<{
|
|
546
|
+
execution_id: string;
|
|
547
|
+
scope_id: string;
|
|
548
|
+
work_id: string;
|
|
549
|
+
}>;
|
|
550
|
+
export type ResourceOwner = Infer<typeof ResourceOwner>;
|
|
551
|
+
export declare const SandboxNeeds: import("./schema.js").Type<{
|
|
552
|
+
deny?: string[] | undefined;
|
|
553
|
+
hosts?: string[] | undefined;
|
|
554
|
+
read?: string[] | undefined;
|
|
555
|
+
read_only?: string[] | undefined;
|
|
556
|
+
sockets?: string[] | undefined;
|
|
557
|
+
write?: string[] | undefined;
|
|
558
|
+
}>;
|
|
559
|
+
export type SandboxNeeds = Infer<typeof SandboxNeeds>;
|
|
560
|
+
export declare const SandboxLaunch: import("./schema.js").Type<{
|
|
561
|
+
argv: string[] | null;
|
|
562
|
+
dir?: string | undefined;
|
|
563
|
+
env?: string[] | undefined;
|
|
564
|
+
run_dir?: string | undefined;
|
|
565
|
+
secrets?: string[] | undefined;
|
|
566
|
+
tty?: boolean | undefined;
|
|
567
|
+
wrapper_env?: string[] | undefined;
|
|
568
|
+
}>;
|
|
569
|
+
export type SandboxLaunch = Infer<typeof SandboxLaunch>;
|
|
570
|
+
/** One attempt's host-set paths (extension.SandboxPaths). */
|
|
571
|
+
export declare const SandboxPaths: import("./schema.js").Type<{
|
|
572
|
+
home?: string | undefined;
|
|
573
|
+
records?: string | undefined;
|
|
574
|
+
run?: string | undefined;
|
|
575
|
+
site?: string | undefined;
|
|
576
|
+
toolbelt?: string | undefined;
|
|
577
|
+
workspace?: string | undefined;
|
|
578
|
+
}>;
|
|
579
|
+
export type SandboxPaths = Infer<typeof SandboxPaths>;
|
|
580
|
+
export declare const ContainerRef: import("./schema.js").Type<{
|
|
581
|
+
id: string;
|
|
582
|
+
labels?: Record<string, string> | undefined;
|
|
583
|
+
}>;
|
|
584
|
+
export type ContainerRef = Infer<typeof ContainerRef>;
|
|
585
|
+
export declare const ContainerState: import("./schema.js").Type<{
|
|
586
|
+
daemon?: string | undefined;
|
|
587
|
+
exit_code?: number | undefined;
|
|
588
|
+
gone?: boolean | undefined;
|
|
589
|
+
image?: string | undefined;
|
|
590
|
+
mounts?: string[] | undefined;
|
|
591
|
+
ref: {
|
|
592
|
+
id: string;
|
|
593
|
+
labels?: Record<string, string> | undefined;
|
|
594
|
+
};
|
|
595
|
+
running?: boolean | undefined;
|
|
596
|
+
started_at?: string | undefined;
|
|
597
|
+
}>;
|
|
598
|
+
export type ContainerState = Infer<typeof ContainerState>;
|
|
599
|
+
export declare const ContainerPlan: import("./schema.js").Type<{
|
|
600
|
+
data: {
|
|
601
|
+
data?: unknown;
|
|
602
|
+
schema?: string | undefined;
|
|
603
|
+
};
|
|
604
|
+
digest?: string | undefined;
|
|
605
|
+
image: string;
|
|
606
|
+
summary?: string | undefined;
|
|
607
|
+
}>;
|
|
608
|
+
export type ContainerPlan = Infer<typeof ContainerPlan>;
|
|
609
|
+
export declare const ContainerCreated: import("./schema.js").Type<{
|
|
610
|
+
argv: string[] | null;
|
|
611
|
+
daemon?: string | undefined;
|
|
612
|
+
env?: string[] | undefined;
|
|
613
|
+
record?: {
|
|
614
|
+
data?: unknown;
|
|
615
|
+
schema?: string | undefined;
|
|
616
|
+
} | undefined;
|
|
617
|
+
ref: {
|
|
618
|
+
id: string;
|
|
619
|
+
labels?: Record<string, string> | undefined;
|
|
620
|
+
};
|
|
621
|
+
}>;
|
|
622
|
+
export type ContainerCreated = Infer<typeof ContainerCreated>;
|
|
623
|
+
/** A segment's pinned container (extension.ContainerPin). */
|
|
624
|
+
export declare const ContainerPin: import("./schema.js").Type<{
|
|
625
|
+
at: string;
|
|
626
|
+
cpus?: number | undefined;
|
|
627
|
+
daemon: string;
|
|
628
|
+
digest: string;
|
|
629
|
+
id: string;
|
|
630
|
+
image: string;
|
|
631
|
+
instance?: string | undefined;
|
|
632
|
+
memory?: string | undefined;
|
|
633
|
+
paths?: {
|
|
634
|
+
home?: string | undefined;
|
|
635
|
+
records?: string | undefined;
|
|
636
|
+
run?: string | undefined;
|
|
637
|
+
site?: string | undefined;
|
|
638
|
+
toolbelt?: string | undefined;
|
|
639
|
+
workspace?: string | undefined;
|
|
640
|
+
} | undefined;
|
|
641
|
+
provider?: string | undefined;
|
|
642
|
+
record?: {
|
|
643
|
+
data?: unknown;
|
|
644
|
+
schema?: string | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
run: string;
|
|
647
|
+
site?: string | undefined;
|
|
648
|
+
summary?: string | undefined;
|
|
649
|
+
token_file?: string | undefined;
|
|
650
|
+
workspace?: string | undefined;
|
|
651
|
+
}>;
|
|
652
|
+
export type ContainerPin = Infer<typeof ContainerPin>;
|
|
653
|
+
export declare const ContainerProviderPlanParams: import("./schema.js").Type<{
|
|
654
|
+
config: {
|
|
655
|
+
data?: unknown;
|
|
656
|
+
schema?: string | undefined;
|
|
657
|
+
};
|
|
658
|
+
launch: {
|
|
659
|
+
argv: string[] | null;
|
|
660
|
+
dir?: string | undefined;
|
|
661
|
+
env?: string[] | undefined;
|
|
662
|
+
run_dir?: string | undefined;
|
|
663
|
+
secrets?: string[] | undefined;
|
|
664
|
+
tty?: boolean | undefined;
|
|
665
|
+
wrapper_env?: string[] | undefined;
|
|
666
|
+
};
|
|
667
|
+
needs: {
|
|
668
|
+
deny?: string[] | undefined;
|
|
669
|
+
hosts?: string[] | undefined;
|
|
670
|
+
read?: string[] | undefined;
|
|
671
|
+
read_only?: string[] | undefined;
|
|
672
|
+
sockets?: string[] | undefined;
|
|
673
|
+
write?: string[] | undefined;
|
|
674
|
+
};
|
|
675
|
+
owner: {
|
|
676
|
+
execution_id: string;
|
|
677
|
+
scope_id: string;
|
|
678
|
+
work_id: string;
|
|
679
|
+
};
|
|
680
|
+
paths: {
|
|
681
|
+
home?: string | undefined;
|
|
682
|
+
records?: string | undefined;
|
|
683
|
+
run?: string | undefined;
|
|
684
|
+
site?: string | undefined;
|
|
685
|
+
toolbelt?: string | undefined;
|
|
686
|
+
workspace?: string | undefined;
|
|
687
|
+
};
|
|
688
|
+
placement?: string | undefined;
|
|
689
|
+
type: string;
|
|
690
|
+
}>;
|
|
691
|
+
export type ContainerProviderPlanParams = Infer<typeof ContainerProviderPlanParams>;
|
|
692
|
+
export declare const ContainerProviderCreateParams: import("./schema.js").Type<{
|
|
693
|
+
labels: Record<string, string> | null;
|
|
694
|
+
plan: {
|
|
695
|
+
data: {
|
|
696
|
+
data?: unknown;
|
|
697
|
+
schema?: string | undefined;
|
|
698
|
+
};
|
|
699
|
+
digest?: string | undefined;
|
|
700
|
+
image: string;
|
|
701
|
+
summary?: string | undefined;
|
|
702
|
+
};
|
|
703
|
+
type: string;
|
|
704
|
+
}>;
|
|
705
|
+
export type ContainerProviderCreateParams = Infer<typeof ContainerProviderCreateParams>;
|
|
706
|
+
/** Names one container: signal, stop, inspect, remove and collect. */
|
|
707
|
+
export declare const ContainerProviderRefParams: import("./schema.js").Type<{
|
|
708
|
+
grace_millis?: number | undefined;
|
|
709
|
+
ref: {
|
|
710
|
+
id: string;
|
|
711
|
+
labels?: Record<string, string> | undefined;
|
|
712
|
+
};
|
|
713
|
+
signal?: string | undefined;
|
|
714
|
+
type: string;
|
|
715
|
+
}>;
|
|
716
|
+
export type ContainerProviderRefParams = Infer<typeof ContainerProviderRefParams>;
|
|
717
|
+
export declare const ContainerProviderListParams: import("./schema.js").Type<{
|
|
718
|
+
owner: {
|
|
719
|
+
execution_id: string;
|
|
720
|
+
scope_id: string;
|
|
721
|
+
work_id: string;
|
|
722
|
+
};
|
|
723
|
+
type: string;
|
|
724
|
+
}>;
|
|
725
|
+
export type ContainerProviderListParams = Infer<typeof ContainerProviderListParams>;
|
|
726
|
+
export declare const ContainerList: import("./schema.js").Type<{
|
|
727
|
+
containers: {
|
|
728
|
+
daemon?: string | undefined;
|
|
729
|
+
exit_code?: number | undefined;
|
|
730
|
+
gone?: boolean | undefined;
|
|
731
|
+
image?: string | undefined;
|
|
732
|
+
mounts?: string[] | undefined;
|
|
733
|
+
ref: {
|
|
734
|
+
id: string;
|
|
735
|
+
labels?: Record<string, string> | undefined;
|
|
736
|
+
};
|
|
737
|
+
running?: boolean | undefined;
|
|
738
|
+
started_at?: string | undefined;
|
|
739
|
+
}[];
|
|
740
|
+
}>;
|
|
741
|
+
export type ContainerList = Infer<typeof ContainerList>;
|
|
742
|
+
export declare const ContainerProviderForwardParams: import("./schema.js").Type<{
|
|
743
|
+
config: {
|
|
744
|
+
data?: unknown;
|
|
745
|
+
schema?: string | undefined;
|
|
746
|
+
};
|
|
747
|
+
type: string;
|
|
748
|
+
}>;
|
|
749
|
+
export type ContainerProviderForwardParams = Infer<typeof ContainerProviderForwardParams>;
|
|
750
|
+
export declare const ContainerForward: import("./schema.js").Type<{
|
|
751
|
+
address?: string | undefined;
|
|
752
|
+
}>;
|
|
753
|
+
export type ContainerForward = Infer<typeof ContainerForward>;
|
|
754
|
+
export declare const ContainerProviderPlaceParams: import("./schema.js").Type<{
|
|
755
|
+
config: {
|
|
756
|
+
data?: unknown;
|
|
757
|
+
schema?: string | undefined;
|
|
758
|
+
};
|
|
759
|
+
owner: {
|
|
760
|
+
execution_id: string;
|
|
761
|
+
scope_id: string;
|
|
762
|
+
work_id: string;
|
|
763
|
+
};
|
|
764
|
+
prefer?: string | undefined;
|
|
765
|
+
type: string;
|
|
766
|
+
}>;
|
|
767
|
+
export type ContainerProviderPlaceParams = Infer<typeof ContainerProviderPlaceParams>;
|
|
768
|
+
export declare const Placement: import("./schema.js").Type<{
|
|
769
|
+
daemon: string;
|
|
770
|
+
id: string;
|
|
771
|
+
summary?: string | undefined;
|
|
772
|
+
}>;
|
|
773
|
+
export type Placement = Infer<typeof Placement>;
|
|
774
|
+
/** A command to run at a placement; stdin, like the result's output, is base64. */
|
|
775
|
+
export declare const SiteCommand: import("./schema.js").Type<{
|
|
776
|
+
argv: string[] | null;
|
|
777
|
+
dir?: string | undefined;
|
|
778
|
+
env?: string[] | undefined;
|
|
779
|
+
stdin?: string | undefined;
|
|
780
|
+
timeout_millis?: number | undefined;
|
|
781
|
+
token_file?: string | undefined;
|
|
782
|
+
toolbelt?: string | undefined;
|
|
783
|
+
}>;
|
|
784
|
+
export type SiteCommand = Infer<typeof SiteCommand>;
|
|
785
|
+
export declare const SiteResult: import("./schema.js").Type<{
|
|
786
|
+
exit_code: number;
|
|
787
|
+
stderr?: string | undefined;
|
|
788
|
+
stdout?: string | undefined;
|
|
789
|
+
truncated?: boolean | undefined;
|
|
790
|
+
}>;
|
|
791
|
+
export type SiteResult = Infer<typeof SiteResult>;
|
|
792
|
+
export declare const ContainerProviderSiteRunParams: import("./schema.js").Type<{
|
|
793
|
+
command: {
|
|
794
|
+
argv: string[] | null;
|
|
795
|
+
dir?: string | undefined;
|
|
796
|
+
env?: string[] | undefined;
|
|
797
|
+
stdin?: string | undefined;
|
|
798
|
+
timeout_millis?: number | undefined;
|
|
799
|
+
token_file?: string | undefined;
|
|
800
|
+
toolbelt?: string | undefined;
|
|
801
|
+
};
|
|
802
|
+
placement: string;
|
|
803
|
+
type: string;
|
|
804
|
+
}>;
|
|
805
|
+
export type ContainerProviderSiteRunParams = Infer<typeof ContainerProviderSiteRunParams>;
|
|
806
|
+
export declare const ContainerProviderReattachParams: import("./schema.js").Type<{
|
|
807
|
+
paths: {
|
|
808
|
+
home?: string | undefined;
|
|
809
|
+
records?: string | undefined;
|
|
810
|
+
run?: string | undefined;
|
|
811
|
+
site?: string | undefined;
|
|
812
|
+
toolbelt?: string | undefined;
|
|
813
|
+
workspace?: string | undefined;
|
|
814
|
+
};
|
|
815
|
+
pin: {
|
|
816
|
+
at: string;
|
|
817
|
+
cpus?: number | undefined;
|
|
818
|
+
daemon: string;
|
|
819
|
+
digest: string;
|
|
820
|
+
id: string;
|
|
821
|
+
image: string;
|
|
822
|
+
instance?: string | undefined;
|
|
823
|
+
memory?: string | undefined;
|
|
824
|
+
paths?: {
|
|
825
|
+
home?: string | undefined;
|
|
826
|
+
records?: string | undefined;
|
|
827
|
+
run?: string | undefined;
|
|
828
|
+
site?: string | undefined;
|
|
829
|
+
toolbelt?: string | undefined;
|
|
830
|
+
workspace?: string | undefined;
|
|
831
|
+
} | undefined;
|
|
832
|
+
provider?: string | undefined;
|
|
833
|
+
record?: {
|
|
834
|
+
data?: unknown;
|
|
835
|
+
schema?: string | undefined;
|
|
836
|
+
} | undefined;
|
|
837
|
+
run: string;
|
|
838
|
+
site?: string | undefined;
|
|
839
|
+
summary?: string | undefined;
|
|
840
|
+
token_file?: string | undefined;
|
|
841
|
+
workspace?: string | undefined;
|
|
842
|
+
};
|
|
843
|
+
ref: {
|
|
844
|
+
id: string;
|
|
845
|
+
labels?: Record<string, string> | undefined;
|
|
846
|
+
};
|
|
847
|
+
same_host?: boolean | undefined;
|
|
848
|
+
token_file?: string | undefined;
|
|
849
|
+
type: string;
|
|
850
|
+
}>;
|
|
851
|
+
export type ContainerProviderReattachParams = Infer<typeof ContainerProviderReattachParams>;
|
|
852
|
+
export declare const SecretServeParams: import("./schema.js").Type<{
|
|
853
|
+
reference: string;
|
|
854
|
+
scheme: string;
|
|
855
|
+
}>;
|
|
856
|
+
export type SecretServeParams = Infer<typeof SecretServeParams>;
|
|
857
|
+
export declare const SecretServeResult: import("./schema.js").Type<{
|
|
858
|
+
code?: string | undefined;
|
|
859
|
+
value?: string | undefined;
|
|
860
|
+
}>;
|
|
861
|
+
export type SecretServeResult = Infer<typeof SecretServeResult>;
|
|
862
|
+
export declare const SecretStoreParams: import("./schema.js").Type<{
|
|
863
|
+
config?: unknown;
|
|
864
|
+
name: string;
|
|
865
|
+
owner: string;
|
|
866
|
+
scheme: string;
|
|
867
|
+
value: string;
|
|
868
|
+
}>;
|
|
869
|
+
export type SecretStoreParams = Infer<typeof SecretStoreParams>;
|
|
870
|
+
export declare const SecretStoreResult: import("./schema.js").Type<{
|
|
871
|
+
code?: string | undefined;
|
|
872
|
+
reference?: string | undefined;
|
|
873
|
+
}>;
|
|
874
|
+
export type SecretStoreResult = Infer<typeof SecretStoreResult>;
|
|
875
|
+
export declare const SecretDeleteParams: import("./schema.js").Type<{
|
|
876
|
+
owner: string;
|
|
877
|
+
reference: string;
|
|
878
|
+
scheme: string;
|
|
879
|
+
}>;
|
|
880
|
+
export type SecretDeleteParams = Infer<typeof SecretDeleteParams>;
|
|
881
|
+
export declare const SecretDeleteResult: import("./schema.js").Type<{
|
|
882
|
+
code?: string | undefined;
|
|
883
|
+
}>;
|
|
884
|
+
export type SecretDeleteResult = Infer<typeof SecretDeleteResult>;
|
|
504
885
|
export declare const ArtifactCreateParams: import("./schema.js").Type<{
|
|
505
886
|
media_type: string;
|
|
506
887
|
}>;
|
|
@@ -525,6 +906,167 @@ export declare const ArtifactRef: import("./schema.js").Type<{
|
|
|
525
906
|
size: number;
|
|
526
907
|
}>;
|
|
527
908
|
export type ArtifactRef = Infer<typeof ArtifactRef>;
|
|
909
|
+
export declare const BackupTargetParams: import("./schema.js").Type<{
|
|
910
|
+
config: {
|
|
911
|
+
data?: unknown;
|
|
912
|
+
schema?: string | undefined;
|
|
913
|
+
};
|
|
914
|
+
name: string;
|
|
915
|
+
type: string;
|
|
916
|
+
}>;
|
|
917
|
+
export type BackupTargetParams = Infer<typeof BackupTargetParams>;
|
|
918
|
+
export declare const BackupWriteParams: import("./schema.js").Type<{
|
|
919
|
+
bundle: string;
|
|
920
|
+
chunk?: string | undefined;
|
|
921
|
+
final?: boolean | undefined;
|
|
922
|
+
offset: number;
|
|
923
|
+
path: string;
|
|
924
|
+
size: number;
|
|
925
|
+
target: {
|
|
926
|
+
config: {
|
|
927
|
+
data?: unknown;
|
|
928
|
+
schema?: string | undefined;
|
|
929
|
+
};
|
|
930
|
+
name: string;
|
|
931
|
+
type: string;
|
|
932
|
+
};
|
|
933
|
+
upload: string;
|
|
934
|
+
}>;
|
|
935
|
+
export type BackupWriteParams = Infer<typeof BackupWriteParams>;
|
|
936
|
+
export declare const BackupAbortParams: import("./schema.js").Type<{
|
|
937
|
+
upload: string;
|
|
938
|
+
}>;
|
|
939
|
+
export type BackupAbortParams = Infer<typeof BackupAbortParams>;
|
|
940
|
+
export declare const BackupListParams: import("./schema.js").Type<{
|
|
941
|
+
target: {
|
|
942
|
+
config: {
|
|
943
|
+
data?: unknown;
|
|
944
|
+
schema?: string | undefined;
|
|
945
|
+
};
|
|
946
|
+
name: string;
|
|
947
|
+
type: string;
|
|
948
|
+
};
|
|
949
|
+
}>;
|
|
950
|
+
export type BackupListParams = Infer<typeof BackupListParams>;
|
|
951
|
+
export declare const BackupListResult: import("./schema.js").Type<{
|
|
952
|
+
bundles: string[] | null;
|
|
953
|
+
}>;
|
|
954
|
+
export type BackupListResult = Infer<typeof BackupListResult>;
|
|
955
|
+
export declare const BackupFilesParams: import("./schema.js").Type<{
|
|
956
|
+
bundle: string;
|
|
957
|
+
target: {
|
|
958
|
+
config: {
|
|
959
|
+
data?: unknown;
|
|
960
|
+
schema?: string | undefined;
|
|
961
|
+
};
|
|
962
|
+
name: string;
|
|
963
|
+
type: string;
|
|
964
|
+
};
|
|
965
|
+
}>;
|
|
966
|
+
export type BackupFilesParams = Infer<typeof BackupFilesParams>;
|
|
967
|
+
export declare const BackupFileEntry: import("./schema.js").Type<{
|
|
968
|
+
path: string;
|
|
969
|
+
size: number;
|
|
970
|
+
}>;
|
|
971
|
+
export type BackupFileEntry = Infer<typeof BackupFileEntry>;
|
|
972
|
+
export declare const BackupFilesResult: import("./schema.js").Type<{
|
|
973
|
+
files: {
|
|
974
|
+
path: string;
|
|
975
|
+
size: number;
|
|
976
|
+
}[] | null;
|
|
977
|
+
}>;
|
|
978
|
+
export type BackupFilesResult = Infer<typeof BackupFilesResult>;
|
|
979
|
+
export declare const BackupReadParams: import("./schema.js").Type<{
|
|
980
|
+
bundle: string;
|
|
981
|
+
length: number;
|
|
982
|
+
offset: number;
|
|
983
|
+
path: string;
|
|
984
|
+
target: {
|
|
985
|
+
config: {
|
|
986
|
+
data?: unknown;
|
|
987
|
+
schema?: string | undefined;
|
|
988
|
+
};
|
|
989
|
+
name: string;
|
|
990
|
+
type: string;
|
|
991
|
+
};
|
|
992
|
+
}>;
|
|
993
|
+
export type BackupReadParams = Infer<typeof BackupReadParams>;
|
|
994
|
+
export declare const BackupReadResult: import("./schema.js").Type<{
|
|
995
|
+
chunk?: string | undefined;
|
|
996
|
+
eof?: boolean | undefined;
|
|
997
|
+
}>;
|
|
998
|
+
export type BackupReadResult = Infer<typeof BackupReadResult>;
|
|
999
|
+
export declare const ArtifactStoreInitializeParams: import("./schema.js").Type<{
|
|
1000
|
+
location: string;
|
|
1001
|
+
version: number;
|
|
1002
|
+
}>;
|
|
1003
|
+
export type ArtifactStoreInitializeParams = Infer<typeof ArtifactStoreInitializeParams>;
|
|
1004
|
+
export declare const ArtifactStoreInitializeResult: import("./schema.js").Type<{
|
|
1005
|
+
shared?: boolean | undefined;
|
|
1006
|
+
version: number;
|
|
1007
|
+
}>;
|
|
1008
|
+
export type ArtifactStoreInitializeResult = Infer<typeof ArtifactStoreInitializeResult>;
|
|
1009
|
+
export declare const ArtifactStoreRef: import("./schema.js").Type<{
|
|
1010
|
+
id: string;
|
|
1011
|
+
media_type: string;
|
|
1012
|
+
sha256?: string | undefined;
|
|
1013
|
+
size: number;
|
|
1014
|
+
}>;
|
|
1015
|
+
export type ArtifactStoreRef = Infer<typeof ArtifactStoreRef>;
|
|
1016
|
+
export declare const ArtifactStoreCreateParams: import("./schema.js").Type<{
|
|
1017
|
+
media_type: string;
|
|
1018
|
+
}>;
|
|
1019
|
+
export type ArtifactStoreCreateParams = Infer<typeof ArtifactStoreCreateParams>;
|
|
1020
|
+
export declare const ArtifactStoreHandle: import("./schema.js").Type<{
|
|
1021
|
+
handle: string;
|
|
1022
|
+
}>;
|
|
1023
|
+
export type ArtifactStoreHandle = Infer<typeof ArtifactStoreHandle>;
|
|
1024
|
+
export declare const ArtifactStoreChunkParams: import("./schema.js").Type<{
|
|
1025
|
+
chunk: string | null;
|
|
1026
|
+
handle: string;
|
|
1027
|
+
}>;
|
|
1028
|
+
export type ArtifactStoreChunkParams = Infer<typeof ArtifactStoreChunkParams>;
|
|
1029
|
+
export declare const ArtifactStoreReadResult: import("./schema.js").Type<{
|
|
1030
|
+
chunk?: string | undefined;
|
|
1031
|
+
eof?: boolean | undefined;
|
|
1032
|
+
}>;
|
|
1033
|
+
export type ArtifactStoreReadResult = Infer<typeof ArtifactStoreReadResult>;
|
|
1034
|
+
export declare const ArtifactStoreClaimParams: import("./schema.js").Type<{
|
|
1035
|
+
installation: string;
|
|
1036
|
+
take_over?: boolean | undefined;
|
|
1037
|
+
}>;
|
|
1038
|
+
export type ArtifactStoreClaimParams = Infer<typeof ArtifactStoreClaimParams>;
|
|
1039
|
+
export declare const ArtifactStoreCheckOwnerParams: import("./schema.js").Type<{
|
|
1040
|
+
installation: string;
|
|
1041
|
+
}>;
|
|
1042
|
+
export type ArtifactStoreCheckOwnerParams = Infer<typeof ArtifactStoreCheckOwnerParams>;
|
|
1043
|
+
export declare const ArtifactStoreListParams: import("./schema.js").Type<{
|
|
1044
|
+
after?: string | undefined;
|
|
1045
|
+
limit: number;
|
|
1046
|
+
}>;
|
|
1047
|
+
export type ArtifactStoreListParams = Infer<typeof ArtifactStoreListParams>;
|
|
1048
|
+
export declare const ArtifactStoreListItem: import("./schema.js").Type<{
|
|
1049
|
+
published_at: string;
|
|
1050
|
+
ref: {
|
|
1051
|
+
id: string;
|
|
1052
|
+
media_type: string;
|
|
1053
|
+
sha256?: string | undefined;
|
|
1054
|
+
size: number;
|
|
1055
|
+
};
|
|
1056
|
+
}>;
|
|
1057
|
+
export type ArtifactStoreListItem = Infer<typeof ArtifactStoreListItem>;
|
|
1058
|
+
export declare const ArtifactStoreListResult: import("./schema.js").Type<{
|
|
1059
|
+
items: {
|
|
1060
|
+
published_at: string;
|
|
1061
|
+
ref: {
|
|
1062
|
+
id: string;
|
|
1063
|
+
media_type: string;
|
|
1064
|
+
sha256?: string | undefined;
|
|
1065
|
+
size: number;
|
|
1066
|
+
};
|
|
1067
|
+
}[] | null;
|
|
1068
|
+
}>;
|
|
1069
|
+
export type ArtifactStoreListResult = Infer<typeof ArtifactStoreListResult>;
|
|
528
1070
|
/** A source's namespace (its correlation keys' source) in a scope. */
|
|
529
1071
|
export declare const Source: import("./schema.js").Type<{
|
|
530
1072
|
namespace: string;
|
|
@@ -1174,79 +1716,165 @@ export declare const WorkKindTriggerResult: import("./schema.js").Type<{
|
|
|
1174
1716
|
index: number;
|
|
1175
1717
|
}>;
|
|
1176
1718
|
export type WorkKindTriggerResult = Infer<typeof WorkKindTriggerResult>;
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
export declare const WaitRequest: import("./schema.js").Type<{
|
|
1182
|
-
after_sequence?: number | undefined;
|
|
1183
|
-
description?: string | undefined;
|
|
1184
|
-
keys?: {
|
|
1185
|
-
external_id: string;
|
|
1186
|
-
source: string;
|
|
1187
|
-
}[] | undefined;
|
|
1188
|
-
timeout?: string | undefined;
|
|
1189
|
-
types?: string[] | undefined;
|
|
1719
|
+
export declare const Lease: import("./schema.js").Type<{
|
|
1720
|
+
epoch: number;
|
|
1721
|
+
expires_at: string;
|
|
1722
|
+
owner: string;
|
|
1190
1723
|
}>;
|
|
1191
|
-
export type
|
|
1192
|
-
/**
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
*/
|
|
1196
|
-
export declare const Dependency: import("./schema.js").Type<{
|
|
1197
|
-
alias_type: string;
|
|
1198
|
-
filter: {
|
|
1724
|
+
export type Lease = Infer<typeof Lease>;
|
|
1725
|
+
/** How an attempt ended: completed, failed, waiting or handoff. */
|
|
1726
|
+
export declare const Outcome: import("./schema.js").Type<{
|
|
1727
|
+
data: {
|
|
1199
1728
|
data?: unknown;
|
|
1200
1729
|
schema?: string | undefined;
|
|
1201
1730
|
};
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
label?: string | undefined;
|
|
1205
|
-
source_key: {
|
|
1206
|
-
external_id: string;
|
|
1207
|
-
source: string;
|
|
1208
|
-
};
|
|
1209
|
-
source_scope_id?: string | undefined;
|
|
1210
|
-
types?: string[] | undefined;
|
|
1731
|
+
kind: string;
|
|
1732
|
+
summary?: string | undefined;
|
|
1211
1733
|
}>;
|
|
1212
|
-
export type
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
filter: {
|
|
1217
|
-
data?: unknown;
|
|
1218
|
-
schema?: string | undefined;
|
|
1219
|
-
};
|
|
1220
|
-
from_now?: boolean | undefined;
|
|
1734
|
+
export type Outcome = Infer<typeof Outcome>;
|
|
1735
|
+
/** One attempt of a Work (domain.Execution). */
|
|
1736
|
+
export declare const Execution: import("./schema.js").Type<{
|
|
1737
|
+
artifacts?: {
|
|
1221
1738
|
id: string;
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
source: string;
|
|
1226
|
-
};
|
|
1227
|
-
source_scope_id?: string | undefined;
|
|
1228
|
-
types?: string[] | undefined;
|
|
1739
|
+
media_type?: string | undefined;
|
|
1740
|
+
sha256?: string | undefined;
|
|
1741
|
+
size: number;
|
|
1229
1742
|
}[] | undefined;
|
|
1230
|
-
|
|
1743
|
+
attempt: number;
|
|
1744
|
+
created_at: string;
|
|
1745
|
+
earlier_artifacts?: {
|
|
1746
|
+
id: string;
|
|
1747
|
+
media_type?: string | undefined;
|
|
1748
|
+
sha256?: string | undefined;
|
|
1749
|
+
size: number;
|
|
1750
|
+
}[] | undefined;
|
|
1751
|
+
executor?: string | undefined;
|
|
1752
|
+
executor_binding: string;
|
|
1753
|
+
finished_at?: string | undefined;
|
|
1754
|
+
id: string;
|
|
1755
|
+
lease: {
|
|
1756
|
+
epoch: number;
|
|
1757
|
+
expires_at: string;
|
|
1758
|
+
owner: string;
|
|
1759
|
+
};
|
|
1760
|
+
outcome?: {
|
|
1761
|
+
data: {
|
|
1762
|
+
data?: unknown;
|
|
1763
|
+
schema?: string | undefined;
|
|
1764
|
+
};
|
|
1765
|
+
kind: string;
|
|
1766
|
+
summary?: string | undefined;
|
|
1767
|
+
} | undefined;
|
|
1768
|
+
revision: number;
|
|
1769
|
+
started_at?: string | undefined;
|
|
1770
|
+
state: string;
|
|
1771
|
+
trace_id?: string | undefined;
|
|
1772
|
+
trigger_id: string;
|
|
1773
|
+
updated_at: string;
|
|
1774
|
+
work_id: string;
|
|
1775
|
+
}>;
|
|
1776
|
+
export type Execution = Infer<typeof Execution>;
|
|
1777
|
+
/** What an attempt runs with: its binding's config and secrets, and the host's brokers and toolbelt (extension.ExecutionContext). */
|
|
1778
|
+
export declare const ExecutionContext: import("./schema.js").Type<{
|
|
1779
|
+
config: {
|
|
1231
1780
|
data?: unknown;
|
|
1232
1781
|
schema?: string | undefined;
|
|
1233
1782
|
};
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1783
|
+
container?: boolean | undefined;
|
|
1784
|
+
container_home?: string | undefined;
|
|
1785
|
+
env?: Record<string, string> | undefined;
|
|
1786
|
+
host_env?: Record<string, string> | undefined;
|
|
1787
|
+
playbook_dir?: string | undefined;
|
|
1788
|
+
resources?: boolean | undefined;
|
|
1789
|
+
sandbox?: boolean | undefined;
|
|
1790
|
+
secrets?: Record<string, string> | undefined;
|
|
1791
|
+
toolbelt_dir?: string | undefined;
|
|
1792
|
+
toolbelt_endpoint?: string | undefined;
|
|
1793
|
+
toolbelt_token?: string | undefined;
|
|
1794
|
+
toolbelt_token_file?: string | undefined;
|
|
1795
|
+
}>;
|
|
1796
|
+
export type ExecutionContext = Infer<typeof ExecutionContext>;
|
|
1797
|
+
export declare const RunRequest: import("./schema.js").Type<{
|
|
1798
|
+
context: {
|
|
1799
|
+
config: {
|
|
1800
|
+
data?: unknown;
|
|
1801
|
+
schema?: string | undefined;
|
|
1802
|
+
};
|
|
1803
|
+
container?: boolean | undefined;
|
|
1804
|
+
container_home?: string | undefined;
|
|
1805
|
+
env?: Record<string, string> | undefined;
|
|
1806
|
+
host_env?: Record<string, string> | undefined;
|
|
1807
|
+
playbook_dir?: string | undefined;
|
|
1808
|
+
resources?: boolean | undefined;
|
|
1809
|
+
sandbox?: boolean | undefined;
|
|
1810
|
+
secrets?: Record<string, string> | undefined;
|
|
1811
|
+
toolbelt_dir?: string | undefined;
|
|
1812
|
+
toolbelt_endpoint?: string | undefined;
|
|
1813
|
+
toolbelt_token?: string | undefined;
|
|
1814
|
+
toolbelt_token_file?: string | undefined;
|
|
1815
|
+
};
|
|
1816
|
+
execution: {
|
|
1817
|
+
artifacts?: {
|
|
1818
|
+
id: string;
|
|
1819
|
+
media_type?: string | undefined;
|
|
1820
|
+
sha256?: string | undefined;
|
|
1821
|
+
size: number;
|
|
1240
1822
|
}[] | undefined;
|
|
1241
|
-
|
|
1242
|
-
|
|
1823
|
+
attempt: number;
|
|
1824
|
+
created_at: string;
|
|
1825
|
+
earlier_artifacts?: {
|
|
1826
|
+
id: string;
|
|
1827
|
+
media_type?: string | undefined;
|
|
1828
|
+
sha256?: string | undefined;
|
|
1829
|
+
size: number;
|
|
1830
|
+
}[] | undefined;
|
|
1831
|
+
executor?: string | undefined;
|
|
1832
|
+
executor_binding: string;
|
|
1833
|
+
finished_at?: string | undefined;
|
|
1834
|
+
id: string;
|
|
1835
|
+
lease: {
|
|
1836
|
+
epoch: number;
|
|
1837
|
+
expires_at: string;
|
|
1838
|
+
owner: string;
|
|
1839
|
+
};
|
|
1840
|
+
outcome?: {
|
|
1841
|
+
data: {
|
|
1842
|
+
data?: unknown;
|
|
1843
|
+
schema?: string | undefined;
|
|
1844
|
+
};
|
|
1845
|
+
kind: string;
|
|
1846
|
+
summary?: string | undefined;
|
|
1847
|
+
} | undefined;
|
|
1848
|
+
revision: number;
|
|
1849
|
+
started_at?: string | undefined;
|
|
1850
|
+
state: string;
|
|
1851
|
+
trace_id?: string | undefined;
|
|
1852
|
+
trigger_id: string;
|
|
1853
|
+
updated_at: string;
|
|
1854
|
+
work_id: string;
|
|
1243
1855
|
};
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1856
|
+
inputs?: {
|
|
1857
|
+
actor?: string | undefined;
|
|
1858
|
+
causation_id?: string | undefined;
|
|
1859
|
+
correlation_key?: {
|
|
1860
|
+
external_id: string;
|
|
1861
|
+
source: string;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
data?: {
|
|
1864
|
+
data?: unknown;
|
|
1865
|
+
schema?: string | undefined;
|
|
1866
|
+
} | undefined;
|
|
1867
|
+
delivery_id?: string | undefined;
|
|
1868
|
+
execution_id?: string | undefined;
|
|
1869
|
+
id?: string | undefined;
|
|
1870
|
+
occurred_at?: string | undefined;
|
|
1871
|
+
received_at?: string | undefined;
|
|
1872
|
+
source?: string | undefined;
|
|
1873
|
+
type: string;
|
|
1874
|
+
via?: string | undefined;
|
|
1875
|
+
work_id?: string | undefined;
|
|
1876
|
+
}[] | undefined;
|
|
1877
|
+
trigger: {
|
|
1250
1878
|
actor?: string | undefined;
|
|
1251
1879
|
causation_id?: string | undefined;
|
|
1252
1880
|
correlation_key?: {
|
|
@@ -1267,16 +1895,119 @@ export declare const EmitPlan: import("./schema.js").Type<{
|
|
|
1267
1895
|
via?: string | undefined;
|
|
1268
1896
|
work_id?: string | undefined;
|
|
1269
1897
|
};
|
|
1270
|
-
|
|
1898
|
+
work: {
|
|
1899
|
+
context: {
|
|
1900
|
+
data?: unknown;
|
|
1901
|
+
schema?: string | undefined;
|
|
1902
|
+
};
|
|
1903
|
+
correlation_keys: {
|
|
1904
|
+
external_id: string;
|
|
1905
|
+
source: string;
|
|
1906
|
+
}[] | null;
|
|
1907
|
+
created_at: string;
|
|
1908
|
+
display?: {
|
|
1909
|
+
links?: {
|
|
1910
|
+
label: string;
|
|
1911
|
+
url: string;
|
|
1912
|
+
}[] | undefined;
|
|
1913
|
+
ref?: string | undefined;
|
|
1914
|
+
requester?: string | undefined;
|
|
1915
|
+
title?: string | undefined;
|
|
1916
|
+
} | undefined;
|
|
1917
|
+
id: string;
|
|
1918
|
+
kind: string;
|
|
1919
|
+
latest_executor?: string | undefined;
|
|
1920
|
+
parent_id?: string | undefined;
|
|
1921
|
+
revision: number;
|
|
1922
|
+
scope_id: string;
|
|
1923
|
+
state: string;
|
|
1924
|
+
updated_at: string;
|
|
1925
|
+
};
|
|
1271
1926
|
}>;
|
|
1272
|
-
export type
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1927
|
+
export type RunRequest = Infer<typeof RunRequest>;
|
|
1928
|
+
export declare const ExecutorRunParams: import("./schema.js").Type<{
|
|
1929
|
+
executor: string;
|
|
1930
|
+
request: {
|
|
1931
|
+
context: {
|
|
1932
|
+
config: {
|
|
1933
|
+
data?: unknown;
|
|
1934
|
+
schema?: string | undefined;
|
|
1935
|
+
};
|
|
1936
|
+
container?: boolean | undefined;
|
|
1937
|
+
container_home?: string | undefined;
|
|
1938
|
+
env?: Record<string, string> | undefined;
|
|
1939
|
+
host_env?: Record<string, string> | undefined;
|
|
1940
|
+
playbook_dir?: string | undefined;
|
|
1941
|
+
resources?: boolean | undefined;
|
|
1942
|
+
sandbox?: boolean | undefined;
|
|
1943
|
+
secrets?: Record<string, string> | undefined;
|
|
1944
|
+
toolbelt_dir?: string | undefined;
|
|
1945
|
+
toolbelt_endpoint?: string | undefined;
|
|
1946
|
+
toolbelt_token?: string | undefined;
|
|
1947
|
+
toolbelt_token_file?: string | undefined;
|
|
1948
|
+
};
|
|
1949
|
+
execution: {
|
|
1950
|
+
artifacts?: {
|
|
1951
|
+
id: string;
|
|
1952
|
+
media_type?: string | undefined;
|
|
1953
|
+
sha256?: string | undefined;
|
|
1954
|
+
size: number;
|
|
1955
|
+
}[] | undefined;
|
|
1956
|
+
attempt: number;
|
|
1957
|
+
created_at: string;
|
|
1958
|
+
earlier_artifacts?: {
|
|
1959
|
+
id: string;
|
|
1960
|
+
media_type?: string | undefined;
|
|
1961
|
+
sha256?: string | undefined;
|
|
1962
|
+
size: number;
|
|
1963
|
+
}[] | undefined;
|
|
1964
|
+
executor?: string | undefined;
|
|
1965
|
+
executor_binding: string;
|
|
1966
|
+
finished_at?: string | undefined;
|
|
1967
|
+
id: string;
|
|
1968
|
+
lease: {
|
|
1969
|
+
epoch: number;
|
|
1970
|
+
expires_at: string;
|
|
1971
|
+
owner: string;
|
|
1972
|
+
};
|
|
1973
|
+
outcome?: {
|
|
1974
|
+
data: {
|
|
1975
|
+
data?: unknown;
|
|
1976
|
+
schema?: string | undefined;
|
|
1977
|
+
};
|
|
1978
|
+
kind: string;
|
|
1979
|
+
summary?: string | undefined;
|
|
1980
|
+
} | undefined;
|
|
1981
|
+
revision: number;
|
|
1982
|
+
started_at?: string | undefined;
|
|
1983
|
+
state: string;
|
|
1984
|
+
trace_id?: string | undefined;
|
|
1985
|
+
trigger_id: string;
|
|
1986
|
+
updated_at: string;
|
|
1987
|
+
work_id: string;
|
|
1988
|
+
};
|
|
1989
|
+
inputs?: {
|
|
1990
|
+
actor?: string | undefined;
|
|
1991
|
+
causation_id?: string | undefined;
|
|
1992
|
+
correlation_key?: {
|
|
1993
|
+
external_id: string;
|
|
1994
|
+
source: string;
|
|
1995
|
+
} | undefined;
|
|
1996
|
+
data?: {
|
|
1997
|
+
data?: unknown;
|
|
1998
|
+
schema?: string | undefined;
|
|
1999
|
+
} | undefined;
|
|
2000
|
+
delivery_id?: string | undefined;
|
|
2001
|
+
execution_id?: string | undefined;
|
|
2002
|
+
id?: string | undefined;
|
|
2003
|
+
occurred_at?: string | undefined;
|
|
2004
|
+
received_at?: string | undefined;
|
|
2005
|
+
source?: string | undefined;
|
|
2006
|
+
type: string;
|
|
2007
|
+
via?: string | undefined;
|
|
2008
|
+
work_id?: string | undefined;
|
|
2009
|
+
}[] | undefined;
|
|
2010
|
+
trigger: {
|
|
1280
2011
|
actor?: string | undefined;
|
|
1281
2012
|
causation_id?: string | undefined;
|
|
1282
2013
|
correlation_key?: {
|
|
@@ -1297,197 +2028,2264 @@ export declare const Emitted: import("./schema.js").Type<{
|
|
|
1297
2028
|
via?: string | undefined;
|
|
1298
2029
|
work_id?: string | undefined;
|
|
1299
2030
|
};
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
2031
|
+
work: {
|
|
2032
|
+
context: {
|
|
2033
|
+
data?: unknown;
|
|
2034
|
+
schema?: string | undefined;
|
|
2035
|
+
};
|
|
2036
|
+
correlation_keys: {
|
|
2037
|
+
external_id: string;
|
|
2038
|
+
source: string;
|
|
2039
|
+
}[] | null;
|
|
2040
|
+
created_at: string;
|
|
2041
|
+
display?: {
|
|
2042
|
+
links?: {
|
|
2043
|
+
label: string;
|
|
2044
|
+
url: string;
|
|
2045
|
+
}[] | undefined;
|
|
2046
|
+
ref?: string | undefined;
|
|
2047
|
+
requester?: string | undefined;
|
|
2048
|
+
title?: string | undefined;
|
|
2049
|
+
} | undefined;
|
|
2050
|
+
id: string;
|
|
2051
|
+
kind: string;
|
|
2052
|
+
latest_executor?: string | undefined;
|
|
2053
|
+
parent_id?: string | undefined;
|
|
2054
|
+
revision: number;
|
|
2055
|
+
scope_id: string;
|
|
2056
|
+
state: string;
|
|
2057
|
+
updated_at: string;
|
|
2058
|
+
};
|
|
1305
2059
|
};
|
|
1306
|
-
|
|
2060
|
+
run_id: string;
|
|
2061
|
+
state?: {
|
|
2062
|
+
data?: unknown;
|
|
2063
|
+
schema?: string | undefined;
|
|
2064
|
+
} | undefined;
|
|
1307
2065
|
}>;
|
|
1308
|
-
export type
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
key: string;
|
|
1312
|
-
namespace: string;
|
|
1313
|
-
value: string;
|
|
2066
|
+
export type ExecutorRunParams = Infer<typeof ExecutorRunParams>;
|
|
2067
|
+
export declare const ExecutorRunResult: import("./schema.js").Type<{
|
|
2068
|
+
handle: string;
|
|
1314
2069
|
}>;
|
|
1315
|
-
export type
|
|
1316
|
-
export declare const
|
|
1317
|
-
|
|
2070
|
+
export type ExecutorRunResult = Infer<typeof ExecutorRunResult>;
|
|
2071
|
+
export declare const ExecutorWaitParams: import("./schema.js").Type<{
|
|
2072
|
+
executor: string;
|
|
2073
|
+
handle: string;
|
|
2074
|
+
}>;
|
|
2075
|
+
export type ExecutorWaitParams = Infer<typeof ExecutorWaitParams>;
|
|
2076
|
+
/** The target of executor.interrupt, inject, stop, forget, attach and live. */
|
|
2077
|
+
export declare const ExecutorTargetParams: import("./schema.js").Type<{
|
|
2078
|
+
epoch?: number | undefined;
|
|
2079
|
+
event?: {
|
|
2080
|
+
actor?: string | undefined;
|
|
2081
|
+
causation_id?: string | undefined;
|
|
2082
|
+
correlation_key?: {
|
|
2083
|
+
external_id: string;
|
|
2084
|
+
source: string;
|
|
2085
|
+
} | undefined;
|
|
2086
|
+
data?: {
|
|
2087
|
+
data?: unknown;
|
|
2088
|
+
schema?: string | undefined;
|
|
2089
|
+
} | undefined;
|
|
2090
|
+
delivery_id?: string | undefined;
|
|
2091
|
+
execution_id?: string | undefined;
|
|
2092
|
+
id?: string | undefined;
|
|
2093
|
+
occurred_at?: string | undefined;
|
|
2094
|
+
received_at?: string | undefined;
|
|
2095
|
+
source?: string | undefined;
|
|
2096
|
+
type: string;
|
|
2097
|
+
via?: string | undefined;
|
|
2098
|
+
work_id?: string | undefined;
|
|
2099
|
+
} | undefined;
|
|
2100
|
+
execution_id?: string | undefined;
|
|
2101
|
+
executor: string;
|
|
2102
|
+
tail?: number | undefined;
|
|
2103
|
+
work_id?: string | undefined;
|
|
2104
|
+
}>;
|
|
2105
|
+
export type ExecutorTargetParams = Infer<typeof ExecutorTargetParams>;
|
|
2106
|
+
export declare const PersistRecoveryParams: import("./schema.js").Type<{
|
|
2107
|
+
run_id: string;
|
|
2108
|
+
state: {
|
|
1318
2109
|
data?: unknown;
|
|
1319
2110
|
schema?: string | undefined;
|
|
1320
2111
|
};
|
|
1321
|
-
records?: {
|
|
1322
|
-
key: string;
|
|
1323
|
-
namespace: string;
|
|
1324
|
-
value: string;
|
|
1325
|
-
}[] | undefined;
|
|
1326
2112
|
}>;
|
|
1327
|
-
export type
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
2113
|
+
export type PersistRecoveryParams = Infer<typeof PersistRecoveryParams>;
|
|
2114
|
+
/** What one segment of an attempt consumed, as its executor counts it (extension.Usage). */
|
|
2115
|
+
export declare const Usage: import("./schema.js").Type<{
|
|
2116
|
+
attribution?: Record<string, string> | undefined;
|
|
2117
|
+
cached_tokens?: number | undefined;
|
|
2118
|
+
cost?: number | undefined;
|
|
2119
|
+
currency?: string | undefined;
|
|
2120
|
+
input_tokens?: number | undefined;
|
|
2121
|
+
output_tokens?: number | undefined;
|
|
2122
|
+
units?: Record<string, number> | undefined;
|
|
2123
|
+
}>;
|
|
2124
|
+
export type Usage = Infer<typeof Usage>;
|
|
2125
|
+
/** What a lifecycle record is about: its Work, Event, Execution, scope, binding and trace (observability.Correlation). */
|
|
2126
|
+
export declare const Correlation: import("./schema.js").Type<{
|
|
2127
|
+
event_id?: string | undefined;
|
|
2128
|
+
execution_id?: string | undefined;
|
|
2129
|
+
executor_binding?: string | undefined;
|
|
2130
|
+
scope_id?: string | undefined;
|
|
2131
|
+
trace_id?: string | undefined;
|
|
2132
|
+
work_id?: string | undefined;
|
|
2133
|
+
}>;
|
|
2134
|
+
export type Correlation = Infer<typeof Correlation>;
|
|
2135
|
+
/** One lifecycle record of the host's telemetry pipeline (observability.Record). */
|
|
2136
|
+
export declare const TelemetryRecord: import("./schema.js").Type<{
|
|
2137
|
+
at: string;
|
|
2138
|
+
attributes?: Record<string, string> | undefined;
|
|
2139
|
+
correlation: {
|
|
2140
|
+
event_id?: string | undefined;
|
|
2141
|
+
execution_id?: string | undefined;
|
|
2142
|
+
executor_binding?: string | undefined;
|
|
2143
|
+
scope_id?: string | undefined;
|
|
2144
|
+
trace_id?: string | undefined;
|
|
2145
|
+
work_id?: string | undefined;
|
|
2146
|
+
};
|
|
2147
|
+
from?: string | undefined;
|
|
2148
|
+
name: string;
|
|
2149
|
+
to?: string | undefined;
|
|
2150
|
+
usage?: {
|
|
2151
|
+
attribution?: Record<string, string> | undefined;
|
|
2152
|
+
cached_tokens?: number | undefined;
|
|
2153
|
+
cost?: number | undefined;
|
|
2154
|
+
currency?: string | undefined;
|
|
2155
|
+
input_tokens?: number | undefined;
|
|
2156
|
+
output_tokens?: number | undefined;
|
|
2157
|
+
units?: Record<string, number> | undefined;
|
|
2158
|
+
} | undefined;
|
|
2159
|
+
}>;
|
|
2160
|
+
export type TelemetryRecord = Infer<typeof TelemetryRecord>;
|
|
2161
|
+
/** One batch of lifecycle records for an exporter (telemetry.export). */
|
|
2162
|
+
export declare const TelemetryExportParams: import("./schema.js").Type<{
|
|
2163
|
+
records: {
|
|
2164
|
+
at: string;
|
|
2165
|
+
attributes?: Record<string, string> | undefined;
|
|
2166
|
+
correlation: {
|
|
2167
|
+
event_id?: string | undefined;
|
|
2168
|
+
execution_id?: string | undefined;
|
|
2169
|
+
executor_binding?: string | undefined;
|
|
1359
2170
|
scope_id?: string | undefined;
|
|
1360
|
-
|
|
2171
|
+
trace_id?: string | undefined;
|
|
2172
|
+
work_id?: string | undefined;
|
|
1361
2173
|
};
|
|
1362
|
-
|
|
1363
|
-
|
|
2174
|
+
from?: string | undefined;
|
|
2175
|
+
name: string;
|
|
2176
|
+
to?: string | undefined;
|
|
2177
|
+
usage?: {
|
|
2178
|
+
attribution?: Record<string, string> | undefined;
|
|
2179
|
+
cached_tokens?: number | undefined;
|
|
2180
|
+
cost?: number | undefined;
|
|
2181
|
+
currency?: string | undefined;
|
|
2182
|
+
input_tokens?: number | undefined;
|
|
2183
|
+
output_tokens?: number | undefined;
|
|
2184
|
+
units?: Record<string, number> | undefined;
|
|
2185
|
+
} | undefined;
|
|
2186
|
+
}[] | null;
|
|
1364
2187
|
}>;
|
|
1365
|
-
export type
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
2188
|
+
export type TelemetryExportParams = Infer<typeof TelemetryExportParams>;
|
|
2189
|
+
/**
|
|
2190
|
+
* One series of a Metric (observability.MetricPoint): value for a sum or
|
|
2191
|
+
* gauge, and count, sum, bounds (explicit bucket upper bounds) and buckets
|
|
2192
|
+
* (one more count than bounds) for a histogram.
|
|
2193
|
+
*/
|
|
2194
|
+
export declare const MetricPoint: import("./schema.js").Type<{
|
|
2195
|
+
attributes?: Record<string, string> | undefined;
|
|
2196
|
+
bounds?: number[] | undefined;
|
|
2197
|
+
buckets?: number[] | undefined;
|
|
2198
|
+
count?: number | undefined;
|
|
2199
|
+
max?: number | undefined;
|
|
2200
|
+
min?: number | undefined;
|
|
2201
|
+
start?: string | undefined;
|
|
2202
|
+
sum?: number | undefined;
|
|
2203
|
+
time: string;
|
|
2204
|
+
value?: number | undefined;
|
|
1371
2205
|
}>;
|
|
1372
|
-
export type
|
|
1373
|
-
/**
|
|
1374
|
-
|
|
2206
|
+
export type MetricPoint = Infer<typeof MetricPoint>;
|
|
2207
|
+
/**
|
|
2208
|
+
* One instrument's data at one collection of the host's meter
|
|
2209
|
+
* (observability.Metric). Sums and histograms are cumulative from each
|
|
2210
|
+
* point's start; point attributes never carry an identifier.
|
|
2211
|
+
*/
|
|
2212
|
+
export declare const Metric: import("./schema.js").Type<{
|
|
2213
|
+
description?: string | undefined;
|
|
2214
|
+
kind: string;
|
|
2215
|
+
monotonic?: boolean | undefined;
|
|
1375
2216
|
name: string;
|
|
1376
|
-
|
|
2217
|
+
points: {
|
|
2218
|
+
attributes?: Record<string, string> | undefined;
|
|
2219
|
+
bounds?: number[] | undefined;
|
|
2220
|
+
buckets?: number[] | undefined;
|
|
2221
|
+
count?: number | undefined;
|
|
2222
|
+
max?: number | undefined;
|
|
2223
|
+
min?: number | undefined;
|
|
2224
|
+
start?: string | undefined;
|
|
2225
|
+
sum?: number | undefined;
|
|
2226
|
+
time: string;
|
|
2227
|
+
value?: number | undefined;
|
|
2228
|
+
}[] | null;
|
|
2229
|
+
unit?: string | undefined;
|
|
1377
2230
|
}>;
|
|
1378
|
-
export type
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
2231
|
+
export type Metric = Infer<typeof Metric>;
|
|
2232
|
+
/** One collection of the host's meter (telemetry.metrics). */
|
|
2233
|
+
export declare const TelemetryMetricsParams: import("./schema.js").Type<{
|
|
2234
|
+
metrics: {
|
|
2235
|
+
description?: string | undefined;
|
|
2236
|
+
kind: string;
|
|
2237
|
+
monotonic?: boolean | undefined;
|
|
2238
|
+
name: string;
|
|
2239
|
+
points: {
|
|
2240
|
+
attributes?: Record<string, string> | undefined;
|
|
2241
|
+
bounds?: number[] | undefined;
|
|
2242
|
+
buckets?: number[] | undefined;
|
|
2243
|
+
count?: number | undefined;
|
|
2244
|
+
max?: number | undefined;
|
|
2245
|
+
min?: number | undefined;
|
|
2246
|
+
start?: string | undefined;
|
|
2247
|
+
sum?: number | undefined;
|
|
2248
|
+
time: string;
|
|
2249
|
+
value?: number | undefined;
|
|
2250
|
+
}[] | null;
|
|
2251
|
+
unit?: string | undefined;
|
|
2252
|
+
}[] | null;
|
|
1382
2253
|
}>;
|
|
1383
|
-
export type
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
2254
|
+
export type TelemetryMetricsParams = Infer<typeof TelemetryMetricsParams>;
|
|
2255
|
+
/**
|
|
2256
|
+
* One named event of the host's telemetry events log: telemetry.capture
|
|
2257
|
+
* writes one and telemetry.sink hands one to an extension. scope_id is the
|
|
2258
|
+
* scope it belongs to, absent for one about the machine; properties never
|
|
2259
|
+
* carry it.
|
|
2260
|
+
*/
|
|
2261
|
+
export declare const TelemetryEvent: import("./schema.js").Type<{
|
|
2262
|
+
at: string;
|
|
1389
2263
|
name: string;
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
wants?: string | undefined;
|
|
2264
|
+
properties?: Record<string, unknown> | undefined;
|
|
2265
|
+
scope_id?: string | undefined;
|
|
1393
2266
|
}>;
|
|
1394
|
-
export type
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
2267
|
+
export type TelemetryEvent = Infer<typeof TelemetryEvent>;
|
|
2268
|
+
/** Asks for the extension's environment layer for one run of a Work in a scope that uses it. */
|
|
2269
|
+
export declare const RunEnvironmentParams: import("./schema.js").Type<{
|
|
2270
|
+
binding?: string | undefined;
|
|
2271
|
+
connection?: string | undefined;
|
|
2272
|
+
files_dir?: string | undefined;
|
|
2273
|
+
owner: {
|
|
2274
|
+
execution_id: string;
|
|
2275
|
+
scope_id: string;
|
|
2276
|
+
work_id: string;
|
|
2277
|
+
};
|
|
1399
2278
|
}>;
|
|
1400
|
-
export type
|
|
1401
|
-
export declare const
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
standing?: boolean | undefined;
|
|
1405
|
-
timed?: boolean | undefined;
|
|
1406
|
-
trigger?: boolean | undefined;
|
|
2279
|
+
export type RunEnvironmentParams = Infer<typeof RunEnvironmentParams>;
|
|
2280
|
+
export declare const RunEnvironmentResult: import("./schema.js").Type<{
|
|
2281
|
+
env?: Record<string, string> | undefined;
|
|
2282
|
+
files?: Record<string, string> | undefined;
|
|
1407
2283
|
}>;
|
|
1408
|
-
export type
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
2284
|
+
export type RunEnvironmentResult = Infer<typeof RunEnvironmentResult>;
|
|
2285
|
+
/** The configuration now: its generation and hash, a handle on its file text, the text redacted, and the scopes from included folders. */
|
|
2286
|
+
export declare const ConfigBaseResult: import("./schema.js").Type<{
|
|
2287
|
+
folders?: string[] | undefined;
|
|
2288
|
+
generation: string;
|
|
2289
|
+
handle: string;
|
|
2290
|
+
hash: string;
|
|
2291
|
+
text: string;
|
|
1412
2292
|
}>;
|
|
1413
|
-
export type
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
summary?: string | undefined;
|
|
2293
|
+
export type ConfigBaseResult = Infer<typeof ConfigBaseResult>;
|
|
2294
|
+
/** One RFC 6902 edit (add, replace or remove) to the text behind handle. */
|
|
2295
|
+
export declare const ConfigEditParams: import("./schema.js").Type<{
|
|
2296
|
+
handle: string;
|
|
2297
|
+
op: string;
|
|
2298
|
+
pointer: string;
|
|
2299
|
+
value?: unknown;
|
|
1421
2300
|
}>;
|
|
1422
|
-
export type
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
2301
|
+
export type ConfigEditParams = Infer<typeof ConfigEditParams>;
|
|
2302
|
+
/** The candidate an edit built: its handle, its text redacted and the value the edit replaced, redacted. */
|
|
2303
|
+
export declare const ConfigEditResult: import("./schema.js").Type<{
|
|
2304
|
+
before?: unknown;
|
|
2305
|
+
handle: string;
|
|
2306
|
+
text: string;
|
|
1426
2307
|
}>;
|
|
1427
|
-
export type
|
|
1428
|
-
export declare const
|
|
1429
|
-
|
|
1430
|
-
name: string;
|
|
2308
|
+
export type ConfigEditResult = Infer<typeof ConfigEditResult>;
|
|
2309
|
+
export declare const ConfigHandleParams: import("./schema.js").Type<{
|
|
2310
|
+
handle: string;
|
|
1431
2311
|
}>;
|
|
1432
|
-
export type
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
type: string;
|
|
1447
|
-
}[] | undefined;
|
|
1448
|
-
operations?: {
|
|
1449
|
-
commit?: boolean | undefined;
|
|
1450
|
-
guidance?: string | undefined;
|
|
1451
|
-
input?: Record<string, unknown> | undefined;
|
|
1452
|
-
kind: "emit" | "handler" | "wait";
|
|
1453
|
-
name: string;
|
|
1454
|
-
serves?: string | undefined;
|
|
1455
|
-
summary?: string | undefined;
|
|
1456
|
-
wants?: string | undefined;
|
|
2312
|
+
export type ConfigHandleParams = Infer<typeof ConfigHandleParams>;
|
|
2313
|
+
/** One validation problem, as `config validate` prints it. */
|
|
2314
|
+
export declare const ConfigDiagnostic: import("./schema.js").Type<{
|
|
2315
|
+
code: string;
|
|
2316
|
+
message: string;
|
|
2317
|
+
path: string;
|
|
2318
|
+
}>;
|
|
2319
|
+
export type ConfigDiagnostic = Infer<typeof ConfigDiagnostic>;
|
|
2320
|
+
/** The candidate's hash when it is valid, its diagnostics when not. */
|
|
2321
|
+
export declare const ConfigValidateResult: import("./schema.js").Type<{
|
|
2322
|
+
diagnostics?: {
|
|
2323
|
+
code: string;
|
|
2324
|
+
message: string;
|
|
2325
|
+
path: string;
|
|
1457
2326
|
}[] | undefined;
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
2327
|
+
hash?: string | undefined;
|
|
2328
|
+
}>;
|
|
2329
|
+
export type ConfigValidateResult = Infer<typeof ConfigValidateResult>;
|
|
2330
|
+
/** Traces one of a scope's named samples against the candidate behind handle; with no sample it lists the scope's samples. */
|
|
2331
|
+
export declare const ConfigTraceParams: import("./schema.js").Type<{
|
|
2332
|
+
handle: string;
|
|
2333
|
+
sample?: string | undefined;
|
|
2334
|
+
scope: string;
|
|
2335
|
+
}>;
|
|
2336
|
+
export type ConfigTraceParams = Infer<typeof ConfigTraceParams>;
|
|
2337
|
+
export declare const ConfigTraceSample: import("./schema.js").Type<{
|
|
2338
|
+
id: string;
|
|
2339
|
+
title: string;
|
|
2340
|
+
}>;
|
|
2341
|
+
export type ConfigTraceSample = Infer<typeof ConfigTraceSample>;
|
|
2342
|
+
/** What routing would do with the sample, route by route, or the trace's reason (error) when it can't run. */
|
|
2343
|
+
export declare const ConfigTraceResult: import("./schema.js").Type<{
|
|
2344
|
+
effect?: Record<string, unknown> | undefined;
|
|
2345
|
+
error?: string | undefined;
|
|
2346
|
+
routes?: Record<string, unknown>[] | undefined;
|
|
2347
|
+
sample?: string | undefined;
|
|
2348
|
+
samples?: {
|
|
2349
|
+
id: string;
|
|
2350
|
+
title: string;
|
|
1463
2351
|
}[] | undefined;
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
2352
|
+
}>;
|
|
2353
|
+
export type ConfigTraceResult = Infer<typeof ConfigTraceResult>;
|
|
2354
|
+
export declare const ConfigCandidateParams: import("./schema.js").Type<{
|
|
2355
|
+
work: {
|
|
2356
|
+
context: {
|
|
2357
|
+
data?: unknown;
|
|
2358
|
+
schema?: string | undefined;
|
|
2359
|
+
};
|
|
2360
|
+
correlation_keys: {
|
|
2361
|
+
external_id: string;
|
|
2362
|
+
source: string;
|
|
2363
|
+
}[] | null;
|
|
2364
|
+
created_at: string;
|
|
2365
|
+
display?: {
|
|
2366
|
+
links?: {
|
|
2367
|
+
label: string;
|
|
2368
|
+
url: string;
|
|
2369
|
+
}[] | undefined;
|
|
2370
|
+
ref?: string | undefined;
|
|
2371
|
+
requester?: string | undefined;
|
|
2372
|
+
title?: string | undefined;
|
|
2373
|
+
} | undefined;
|
|
2374
|
+
id: string;
|
|
2375
|
+
kind: string;
|
|
2376
|
+
latest_executor?: string | undefined;
|
|
2377
|
+
parent_id?: string | undefined;
|
|
2378
|
+
revision: number;
|
|
2379
|
+
scope_id: string;
|
|
2380
|
+
state: string;
|
|
2381
|
+
updated_at: string;
|
|
2382
|
+
};
|
|
2383
|
+
}>;
|
|
2384
|
+
export type ConfigCandidateParams = Infer<typeof ConfigCandidateParams>;
|
|
2385
|
+
/** One proposed change: an edit at a JSON pointer, its state and reason, the redacted value before and after, its problems and the actions that decide it. */
|
|
2386
|
+
export declare const CandidateChange: import("./schema.js").Type<{
|
|
2387
|
+
after?: unknown;
|
|
2388
|
+
approve?: string | undefined;
|
|
2389
|
+
before?: unknown;
|
|
2390
|
+
id: string;
|
|
2391
|
+
op: string;
|
|
2392
|
+
pointer: string;
|
|
2393
|
+
problems?: string[] | undefined;
|
|
2394
|
+
reject?: string | undefined;
|
|
2395
|
+
state: string;
|
|
2396
|
+
why?: string | undefined;
|
|
2397
|
+
}>;
|
|
2398
|
+
export type CandidateChange = Infer<typeof CandidateChange>;
|
|
2399
|
+
export declare const ConfigCandidateResult: import("./schema.js").Type<{
|
|
2400
|
+
approve_all?: string | undefined;
|
|
2401
|
+
base_generation?: string | undefined;
|
|
2402
|
+
changes?: {
|
|
2403
|
+
after?: unknown;
|
|
2404
|
+
approve?: string | undefined;
|
|
2405
|
+
before?: unknown;
|
|
2406
|
+
id: string;
|
|
2407
|
+
op: string;
|
|
2408
|
+
pointer: string;
|
|
2409
|
+
problems?: string[] | undefined;
|
|
2410
|
+
reject?: string | undefined;
|
|
2411
|
+
state: string;
|
|
2412
|
+
why?: string | undefined;
|
|
1467
2413
|
}[] | undefined;
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
2414
|
+
found: boolean;
|
|
2415
|
+
handle?: string | undefined;
|
|
2416
|
+
hash?: string | undefined;
|
|
2417
|
+
validate?: string | undefined;
|
|
2418
|
+
}>;
|
|
2419
|
+
export type ConfigCandidateResult = Infer<typeof ConfigCandidateResult>;
|
|
2420
|
+
export declare const SetupRunParams: import("./schema.js").Type<{
|
|
2421
|
+
args?: string[] | undefined;
|
|
2422
|
+
config?: string | undefined;
|
|
2423
|
+
cwd: string;
|
|
2424
|
+
dry_run?: boolean | undefined;
|
|
2425
|
+
run: string;
|
|
2426
|
+
state_dir: string;
|
|
2427
|
+
type: string;
|
|
2428
|
+
}>;
|
|
2429
|
+
export type SetupRunParams = Infer<typeof SetupRunParams>;
|
|
2430
|
+
export declare const SetupRunResult: import("./schema.js").Type<{
|
|
2431
|
+
connections?: unknown[] | undefined;
|
|
2432
|
+
next?: string[] | undefined;
|
|
2433
|
+
scope?: unknown;
|
|
2434
|
+
summary?: string[] | undefined;
|
|
2435
|
+
}>;
|
|
2436
|
+
export type SetupRunResult = Infer<typeof SetupRunResult>;
|
|
2437
|
+
export declare const SetupPrintParams: import("./schema.js").Type<{
|
|
2438
|
+
run: string;
|
|
2439
|
+
text: string;
|
|
2440
|
+
}>;
|
|
2441
|
+
export type SetupPrintParams = Infer<typeof SetupPrintParams>;
|
|
2442
|
+
export declare const SetupPromptParams: import("./schema.js").Type<{
|
|
2443
|
+
default?: string | undefined;
|
|
2444
|
+
question: string;
|
|
2445
|
+
run: string;
|
|
2446
|
+
secret?: boolean | undefined;
|
|
2447
|
+
}>;
|
|
2448
|
+
export type SetupPromptParams = Infer<typeof SetupPromptParams>;
|
|
2449
|
+
/** A setup callback's answer: a prompt's value, a choice's index, a stored secret's reference or a found path. */
|
|
2450
|
+
export declare const SetupAnswer: import("./schema.js").Type<{
|
|
2451
|
+
found?: boolean | undefined;
|
|
2452
|
+
index?: number | undefined;
|
|
2453
|
+
value?: string | undefined;
|
|
2454
|
+
}>;
|
|
2455
|
+
export type SetupAnswer = Infer<typeof SetupAnswer>;
|
|
2456
|
+
export declare const SetupChooseParams: import("./schema.js").Type<{
|
|
2457
|
+
options: string[];
|
|
2458
|
+
question: string;
|
|
2459
|
+
run: string;
|
|
2460
|
+
}>;
|
|
2461
|
+
export type SetupChooseParams = Infer<typeof SetupChooseParams>;
|
|
2462
|
+
export declare const SetupURLParams: import("./schema.js").Type<{
|
|
2463
|
+
run: string;
|
|
2464
|
+
url: string;
|
|
2465
|
+
}>;
|
|
2466
|
+
export type SetupURLParams = Infer<typeof SetupURLParams>;
|
|
2467
|
+
export declare const SetupSecretParams: import("./schema.js").Type<{
|
|
2468
|
+
name: string;
|
|
2469
|
+
run: string;
|
|
2470
|
+
value: string;
|
|
2471
|
+
}>;
|
|
2472
|
+
export type SetupSecretParams = Infer<typeof SetupSecretParams>;
|
|
2473
|
+
export declare const SetupLookPathParams: import("./schema.js").Type<{
|
|
2474
|
+
name: string;
|
|
2475
|
+
run: string;
|
|
2476
|
+
}>;
|
|
2477
|
+
export type SetupLookPathParams = Infer<typeof SetupLookPathParams>;
|
|
2478
|
+
export declare const SetupCommandParams: import("./schema.js").Type<{
|
|
2479
|
+
args?: string[] | undefined;
|
|
2480
|
+
dir: string;
|
|
2481
|
+
name: string;
|
|
2482
|
+
run: string;
|
|
2483
|
+
}>;
|
|
2484
|
+
export type SetupCommandParams = Infer<typeof SetupCommandParams>;
|
|
2485
|
+
/** The resource an attempt ran in, for history (extension.WorkspaceRecord). */
|
|
2486
|
+
export declare const WorkspaceRecord: import("./schema.js").Type<{
|
|
2487
|
+
data: {
|
|
2488
|
+
data?: unknown;
|
|
2489
|
+
schema?: string | undefined;
|
|
2490
|
+
};
|
|
2491
|
+
dir?: string | undefined;
|
|
2492
|
+
kind: string;
|
|
2493
|
+
ref: string;
|
|
2494
|
+
summary?: string | undefined;
|
|
2495
|
+
}>;
|
|
2496
|
+
export type WorkspaceRecord = Infer<typeof WorkspaceRecord>;
|
|
2497
|
+
/** An attempt's result, executor.wait's answer (extension.Result). */
|
|
2498
|
+
export declare const Result: import("./schema.js").Type<{
|
|
2499
|
+
artifacts?: {
|
|
2500
|
+
id: string;
|
|
2501
|
+
media_type?: string | undefined;
|
|
2502
|
+
sha256?: string | undefined;
|
|
2503
|
+
size: number;
|
|
1471
2504
|
}[] | undefined;
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
}
|
|
2505
|
+
consumed_inputs?: string[] | undefined;
|
|
2506
|
+
outcome: {
|
|
2507
|
+
data: {
|
|
2508
|
+
data?: unknown;
|
|
2509
|
+
schema?: string | undefined;
|
|
2510
|
+
};
|
|
2511
|
+
kind: string;
|
|
1478
2512
|
summary?: string | undefined;
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
2513
|
+
};
|
|
2514
|
+
permanent?: boolean | undefined;
|
|
2515
|
+
retry_after?: boolean | undefined;
|
|
2516
|
+
retry_reset_at?: string | undefined;
|
|
2517
|
+
usage: {
|
|
2518
|
+
attribution?: Record<string, string> | undefined;
|
|
2519
|
+
cached_tokens?: number | undefined;
|
|
2520
|
+
cost?: number | undefined;
|
|
2521
|
+
currency?: string | undefined;
|
|
2522
|
+
input_tokens?: number | undefined;
|
|
2523
|
+
output_tokens?: number | undefined;
|
|
2524
|
+
units?: Record<string, number> | undefined;
|
|
2525
|
+
};
|
|
2526
|
+
workspace?: {
|
|
2527
|
+
data: {
|
|
2528
|
+
data?: unknown;
|
|
2529
|
+
schema?: string | undefined;
|
|
2530
|
+
};
|
|
2531
|
+
dir?: string | undefined;
|
|
1483
2532
|
kind: string;
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
2533
|
+
ref: string;
|
|
2534
|
+
summary?: string | undefined;
|
|
2535
|
+
} | undefined;
|
|
2536
|
+
}>;
|
|
2537
|
+
export type Result = Infer<typeof Result>;
|
|
2538
|
+
export declare const ExecutorSweepParams: import("./schema.js").Type<{
|
|
2539
|
+
executor: string;
|
|
2540
|
+
sweep: string;
|
|
2541
|
+
}>;
|
|
2542
|
+
export type ExecutorSweepParams = Infer<typeof ExecutorSweepParams>;
|
|
2543
|
+
/** Asks which of executions the host holds, at most MaxKnownBatch of them. */
|
|
2544
|
+
export declare const ExecutorKnownParams: import("./schema.js").Type<{
|
|
2545
|
+
executions: string[];
|
|
2546
|
+
sweep: string;
|
|
2547
|
+
}>;
|
|
2548
|
+
export type ExecutorKnownParams = Infer<typeof ExecutorKnownParams>;
|
|
2549
|
+
export declare const ExecutorKnown: import("./schema.js").Type<{
|
|
2550
|
+
known?: string[] | undefined;
|
|
2551
|
+
}>;
|
|
2552
|
+
export type ExecutorKnown = Infer<typeof ExecutorKnown>;
|
|
2553
|
+
/** State a sweep kept: its execution when known, the executor's own reference to it, and why (in_use, unmapped, remove_failed). */
|
|
2554
|
+
export declare const StateKept: import("./schema.js").Type<{
|
|
2555
|
+
execution_id?: string | undefined;
|
|
2556
|
+
kept: string;
|
|
2557
|
+
ref?: string | undefined;
|
|
2558
|
+
}>;
|
|
2559
|
+
export type StateKept = Infer<typeof StateKept>;
|
|
2560
|
+
export declare const StateSweepReport: import("./schema.js").Type<{
|
|
2561
|
+
kept?: {
|
|
2562
|
+
execution_id?: string | undefined;
|
|
2563
|
+
kept: string;
|
|
2564
|
+
ref?: string | undefined;
|
|
1488
2565
|
}[] | undefined;
|
|
2566
|
+
removed?: string[] | undefined;
|
|
1489
2567
|
}>;
|
|
1490
|
-
export type
|
|
2568
|
+
export type StateSweepReport = Infer<typeof StateSweepReport>;
|
|
2569
|
+
/** One output of a running execution, executor.live's answer; content is base64. */
|
|
2570
|
+
export declare const LiveOutput: import("./schema.js").Type<{
|
|
2571
|
+
content?: string | undefined;
|
|
2572
|
+
media_type: string;
|
|
2573
|
+
name: string;
|
|
2574
|
+
size: number;
|
|
2575
|
+
}>;
|
|
2576
|
+
export type LiveOutput = Infer<typeof LiveOutput>;
|
|
2577
|
+
export declare const LiveResult: import("./schema.js").Type<{
|
|
2578
|
+
outputs: {
|
|
2579
|
+
content?: string | undefined;
|
|
2580
|
+
media_type: string;
|
|
2581
|
+
name: string;
|
|
2582
|
+
size: number;
|
|
2583
|
+
}[];
|
|
2584
|
+
}>;
|
|
2585
|
+
export type LiveResult = Infer<typeof LiveResult>;
|
|
2586
|
+
/** The command an operator's takeover runs (executor.attach). */
|
|
2587
|
+
export declare const AttachSpec: import("./schema.js").Type<{
|
|
2588
|
+
argv: string[];
|
|
2589
|
+
dir?: string | undefined;
|
|
2590
|
+
}>;
|
|
2591
|
+
export type AttachSpec = Infer<typeof AttachSpec>;
|
|
2592
|
+
/** A resource a run acquired through its binding's provider (extension.Resource). */
|
|
2593
|
+
export declare const Resource: import("./schema.js").Type<{
|
|
2594
|
+
data: {
|
|
2595
|
+
data?: unknown;
|
|
2596
|
+
schema?: string | undefined;
|
|
2597
|
+
};
|
|
2598
|
+
dir?: string | undefined;
|
|
2599
|
+
env?: Record<string, string> | undefined;
|
|
2600
|
+
files?: Record<string, string> | undefined;
|
|
2601
|
+
kind: string;
|
|
2602
|
+
ref: string;
|
|
2603
|
+
sandbox?: {
|
|
2604
|
+
deny?: string[] | undefined;
|
|
2605
|
+
hosts?: string[] | undefined;
|
|
2606
|
+
read?: string[] | undefined;
|
|
2607
|
+
read_only?: string[] | undefined;
|
|
2608
|
+
sockets?: string[] | undefined;
|
|
2609
|
+
write?: string[] | undefined;
|
|
2610
|
+
} | undefined;
|
|
2611
|
+
site?: string | undefined;
|
|
2612
|
+
summary?: string | undefined;
|
|
2613
|
+
}>;
|
|
2614
|
+
export type Resource = Infer<typeof Resource>;
|
|
2615
|
+
export declare const ResourceAcquireParams: import("./schema.js").Type<{
|
|
2616
|
+
files?: string[] | undefined;
|
|
2617
|
+
mode?: string | undefined;
|
|
2618
|
+
params: {
|
|
2619
|
+
data?: unknown;
|
|
2620
|
+
schema?: string | undefined;
|
|
2621
|
+
};
|
|
2622
|
+
run_id: string;
|
|
2623
|
+
}>;
|
|
2624
|
+
export type ResourceAcquireParams = Infer<typeof ResourceAcquireParams>;
|
|
2625
|
+
export declare const ResourceLookupParams: import("./schema.js").Type<{
|
|
2626
|
+
ref: string;
|
|
2627
|
+
run_id: string;
|
|
2628
|
+
}>;
|
|
2629
|
+
export type ResourceLookupParams = Infer<typeof ResourceLookupParams>;
|
|
2630
|
+
export declare const ResourceResult: import("./schema.js").Type<{
|
|
2631
|
+
log?: string | undefined;
|
|
2632
|
+
resource: {
|
|
2633
|
+
data: {
|
|
2634
|
+
data?: unknown;
|
|
2635
|
+
schema?: string | undefined;
|
|
2636
|
+
};
|
|
2637
|
+
dir?: string | undefined;
|
|
2638
|
+
env?: Record<string, string> | undefined;
|
|
2639
|
+
files?: Record<string, string> | undefined;
|
|
2640
|
+
kind: string;
|
|
2641
|
+
ref: string;
|
|
2642
|
+
sandbox?: {
|
|
2643
|
+
deny?: string[] | undefined;
|
|
2644
|
+
hosts?: string[] | undefined;
|
|
2645
|
+
read?: string[] | undefined;
|
|
2646
|
+
read_only?: string[] | undefined;
|
|
2647
|
+
sockets?: string[] | undefined;
|
|
2648
|
+
write?: string[] | undefined;
|
|
2649
|
+
} | undefined;
|
|
2650
|
+
site?: string | undefined;
|
|
2651
|
+
summary?: string | undefined;
|
|
2652
|
+
};
|
|
2653
|
+
setup_failed?: boolean | undefined;
|
|
2654
|
+
}>;
|
|
2655
|
+
export type ResourceResult = Infer<typeof ResourceResult>;
|
|
2656
|
+
/** The site of one acquisition: its ID, and the call ID site.run quotes to run a command there. */
|
|
2657
|
+
export declare const AcquireSite: import("./schema.js").Type<{
|
|
2658
|
+
call: string;
|
|
2659
|
+
id: string;
|
|
2660
|
+
}>;
|
|
2661
|
+
export type AcquireSite = Infer<typeof AcquireSite>;
|
|
2662
|
+
export declare const ProviderAcquireParams: import("./schema.js").Type<{
|
|
2663
|
+
config: {
|
|
2664
|
+
data?: unknown;
|
|
2665
|
+
schema?: string | undefined;
|
|
2666
|
+
};
|
|
2667
|
+
files?: string[] | undefined;
|
|
2668
|
+
host_env?: Record<string, string> | undefined;
|
|
2669
|
+
mode?: string | undefined;
|
|
2670
|
+
owner: {
|
|
2671
|
+
execution_id: string;
|
|
2672
|
+
scope_id: string;
|
|
2673
|
+
work_id: string;
|
|
2674
|
+
};
|
|
2675
|
+
params: {
|
|
2676
|
+
data?: unknown;
|
|
2677
|
+
schema?: string | undefined;
|
|
2678
|
+
};
|
|
2679
|
+
site?: {
|
|
2680
|
+
call: string;
|
|
2681
|
+
id: string;
|
|
2682
|
+
} | undefined;
|
|
2683
|
+
type: string;
|
|
2684
|
+
}>;
|
|
2685
|
+
export type ProviderAcquireParams = Infer<typeof ProviderAcquireParams>;
|
|
2686
|
+
export declare const ProviderLookupParams: import("./schema.js").Type<{
|
|
2687
|
+
owner: {
|
|
2688
|
+
execution_id: string;
|
|
2689
|
+
scope_id: string;
|
|
2690
|
+
work_id: string;
|
|
2691
|
+
};
|
|
2692
|
+
ref: string;
|
|
2693
|
+
type: string;
|
|
2694
|
+
}>;
|
|
2695
|
+
export type ProviderLookupParams = Infer<typeof ProviderLookupParams>;
|
|
2696
|
+
/** A command a resource provider runs at a site (site.run): at its acquisition's site under call, or at a site it names. */
|
|
2697
|
+
export declare const SiteRunParams: import("./schema.js").Type<{
|
|
2698
|
+
call?: string | undefined;
|
|
2699
|
+
command: {
|
|
2700
|
+
argv: string[] | null;
|
|
2701
|
+
dir?: string | undefined;
|
|
2702
|
+
env?: string[] | undefined;
|
|
2703
|
+
stdin?: string | undefined;
|
|
2704
|
+
timeout_millis?: number | undefined;
|
|
2705
|
+
token_file?: string | undefined;
|
|
2706
|
+
toolbelt?: string | undefined;
|
|
2707
|
+
};
|
|
2708
|
+
site?: string | undefined;
|
|
2709
|
+
type: string;
|
|
2710
|
+
}>;
|
|
2711
|
+
export type SiteRunParams = Infer<typeof SiteRunParams>;
|
|
2712
|
+
/** Asks the host for a lease owner's durable status while a reconcile or sweep runs. */
|
|
2713
|
+
export declare const OwnerStatusParams: import("./schema.js").Type<{
|
|
2714
|
+
owner: {
|
|
2715
|
+
execution_id: string;
|
|
2716
|
+
scope_id: string;
|
|
2717
|
+
work_id: string;
|
|
2718
|
+
};
|
|
2719
|
+
reconcile: string;
|
|
2720
|
+
}>;
|
|
2721
|
+
export type OwnerStatusParams = Infer<typeof OwnerStatusParams>;
|
|
2722
|
+
export declare const OwnerStatus: import("./schema.js").Type<{
|
|
2723
|
+
execution_done: boolean;
|
|
2724
|
+
execution_succeeded: boolean;
|
|
2725
|
+
known: boolean;
|
|
2726
|
+
mounts?: string[] | undefined;
|
|
2727
|
+
work_done: boolean;
|
|
2728
|
+
work_succeeded: boolean;
|
|
2729
|
+
}>;
|
|
2730
|
+
export type OwnerStatus = Infer<typeof OwnerStatus>;
|
|
2731
|
+
/** The reconcile (or sweep) ID provider.owner_status quotes while the pass runs. */
|
|
2732
|
+
export declare const ProviderReconcileParams: import("./schema.js").Type<{
|
|
2733
|
+
reconcile: string;
|
|
2734
|
+
type: string;
|
|
2735
|
+
}>;
|
|
2736
|
+
export type ProviderReconcileParams = Infer<typeof ProviderReconcileParams>;
|
|
2737
|
+
export declare const ResourceLeaseReport: import("./schema.js").Type<{
|
|
2738
|
+
code?: string | undefined;
|
|
2739
|
+
mode: string;
|
|
2740
|
+
ref: string;
|
|
2741
|
+
retain_until: string;
|
|
2742
|
+
state: string;
|
|
2743
|
+
}>;
|
|
2744
|
+
export type ResourceLeaseReport = Infer<typeof ResourceLeaseReport>;
|
|
2745
|
+
export declare const ResourceReport: import("./schema.js").Type<{
|
|
2746
|
+
active: number;
|
|
2747
|
+
attention?: {
|
|
2748
|
+
code?: string | undefined;
|
|
2749
|
+
mode: string;
|
|
2750
|
+
ref: string;
|
|
2751
|
+
retain_until: string;
|
|
2752
|
+
state: string;
|
|
2753
|
+
}[] | undefined;
|
|
2754
|
+
released: number;
|
|
2755
|
+
removed: number;
|
|
2756
|
+
retained: number;
|
|
2757
|
+
}>;
|
|
2758
|
+
export type ResourceReport = Infer<typeof ResourceReport>;
|
|
2759
|
+
export declare const ResourceSpare: import("./schema.js").Type<{
|
|
2760
|
+
kept?: string | undefined;
|
|
2761
|
+
mode?: string | undefined;
|
|
2762
|
+
ref: string;
|
|
2763
|
+
spare: string;
|
|
2764
|
+
}>;
|
|
2765
|
+
export type ResourceSpare = Infer<typeof ResourceSpare>;
|
|
2766
|
+
export declare const ResourceSweepReport: import("./schema.js").Type<{
|
|
2767
|
+
kept?: {
|
|
2768
|
+
kept?: string | undefined;
|
|
2769
|
+
mode?: string | undefined;
|
|
2770
|
+
ref: string;
|
|
2771
|
+
spare: string;
|
|
2772
|
+
}[] | undefined;
|
|
2773
|
+
removed?: {
|
|
2774
|
+
kept?: string | undefined;
|
|
2775
|
+
mode?: string | undefined;
|
|
2776
|
+
ref: string;
|
|
2777
|
+
spare: string;
|
|
2778
|
+
}[] | undefined;
|
|
2779
|
+
}>;
|
|
2780
|
+
export type ResourceSweepReport = Infer<typeof ResourceSweepReport>;
|
|
2781
|
+
export declare const ResourceUnsaved: import("./schema.js").Type<{
|
|
2782
|
+
kept: string;
|
|
2783
|
+
mode?: string | undefined;
|
|
2784
|
+
path?: string | undefined;
|
|
2785
|
+
ref: string;
|
|
2786
|
+
site?: string | undefined;
|
|
2787
|
+
}>;
|
|
2788
|
+
export type ResourceUnsaved = Infer<typeof ResourceUnsaved>;
|
|
2789
|
+
export declare const ProviderUnsavedParams: import("./schema.js").Type<{
|
|
2790
|
+
type: string;
|
|
2791
|
+
}>;
|
|
2792
|
+
export type ProviderUnsavedParams = Infer<typeof ProviderUnsavedParams>;
|
|
2793
|
+
export declare const ProviderUnsavedResult: import("./schema.js").Type<{
|
|
2794
|
+
resources?: {
|
|
2795
|
+
kept: string;
|
|
2796
|
+
mode?: string | undefined;
|
|
2797
|
+
path?: string | undefined;
|
|
2798
|
+
ref: string;
|
|
2799
|
+
site?: string | undefined;
|
|
2800
|
+
}[] | undefined;
|
|
2801
|
+
}>;
|
|
2802
|
+
export type ProviderUnsavedResult = Infer<typeof ProviderUnsavedResult>;
|
|
2803
|
+
/** A wrapped launch (extension.SandboxPlan); the host computes the digest itself from argv and data. */
|
|
2804
|
+
export declare const SandboxPlan: import("./schema.js").Type<{
|
|
2805
|
+
argv: string[] | null;
|
|
2806
|
+
data?: {
|
|
2807
|
+
data?: unknown;
|
|
2808
|
+
schema?: string | undefined;
|
|
2809
|
+
} | undefined;
|
|
2810
|
+
digest?: string | undefined;
|
|
2811
|
+
dir?: string | undefined;
|
|
2812
|
+
env?: string[] | undefined;
|
|
2813
|
+
signals?: string | undefined;
|
|
2814
|
+
summary?: string | undefined;
|
|
2815
|
+
}>;
|
|
2816
|
+
export type SandboxPlan = Infer<typeof SandboxPlan>;
|
|
2817
|
+
export declare const SandboxProviderPlanParams: import("./schema.js").Type<{
|
|
2818
|
+
config: {
|
|
2819
|
+
data?: unknown;
|
|
2820
|
+
schema?: string | undefined;
|
|
2821
|
+
};
|
|
2822
|
+
launch: {
|
|
2823
|
+
argv: string[] | null;
|
|
2824
|
+
dir?: string | undefined;
|
|
2825
|
+
env?: string[] | undefined;
|
|
2826
|
+
run_dir?: string | undefined;
|
|
2827
|
+
secrets?: string[] | undefined;
|
|
2828
|
+
tty?: boolean | undefined;
|
|
2829
|
+
wrapper_env?: string[] | undefined;
|
|
2830
|
+
};
|
|
2831
|
+
needs: {
|
|
2832
|
+
deny?: string[] | undefined;
|
|
2833
|
+
hosts?: string[] | undefined;
|
|
2834
|
+
read?: string[] | undefined;
|
|
2835
|
+
read_only?: string[] | undefined;
|
|
2836
|
+
sockets?: string[] | undefined;
|
|
2837
|
+
write?: string[] | undefined;
|
|
2838
|
+
};
|
|
2839
|
+
owner: {
|
|
2840
|
+
execution_id: string;
|
|
2841
|
+
scope_id: string;
|
|
2842
|
+
work_id: string;
|
|
2843
|
+
};
|
|
2844
|
+
paths: {
|
|
2845
|
+
home?: string | undefined;
|
|
2846
|
+
records?: string | undefined;
|
|
2847
|
+
run?: string | undefined;
|
|
2848
|
+
site?: string | undefined;
|
|
2849
|
+
toolbelt?: string | undefined;
|
|
2850
|
+
workspace?: string | undefined;
|
|
2851
|
+
};
|
|
2852
|
+
type: string;
|
|
2853
|
+
}>;
|
|
2854
|
+
export type SandboxProviderPlanParams = Infer<typeof SandboxProviderPlanParams>;
|
|
2855
|
+
export declare const SandboxProviderAdoptParams: import("./schema.js").Type<{
|
|
2856
|
+
parent: number;
|
|
2857
|
+
plan: {
|
|
2858
|
+
argv: string[] | null;
|
|
2859
|
+
data?: {
|
|
2860
|
+
data?: unknown;
|
|
2861
|
+
schema?: string | undefined;
|
|
2862
|
+
} | undefined;
|
|
2863
|
+
digest?: string | undefined;
|
|
2864
|
+
dir?: string | undefined;
|
|
2865
|
+
env?: string[] | undefined;
|
|
2866
|
+
signals?: string | undefined;
|
|
2867
|
+
summary?: string | undefined;
|
|
2868
|
+
};
|
|
2869
|
+
root: number;
|
|
2870
|
+
type: string;
|
|
2871
|
+
}>;
|
|
2872
|
+
export type SandboxProviderAdoptParams = Infer<typeof SandboxProviderAdoptParams>;
|
|
2873
|
+
/** One run of a tunnel, held open until the host cancels it; tunnel.url quotes run. */
|
|
2874
|
+
export declare const TunnelRunParams: import("./schema.js").Type<{
|
|
2875
|
+
addr: string;
|
|
2876
|
+
config: {
|
|
2877
|
+
data?: unknown;
|
|
2878
|
+
schema?: string | undefined;
|
|
2879
|
+
};
|
|
2880
|
+
run: string;
|
|
2881
|
+
type: string;
|
|
2882
|
+
}>;
|
|
2883
|
+
export type TunnelRunParams = Infer<typeof TunnelRunParams>;
|
|
2884
|
+
/** A running tunnel's public URL, "" while it is down. */
|
|
2885
|
+
export declare const TunnelURLParams: import("./schema.js").Type<{
|
|
2886
|
+
run: string;
|
|
2887
|
+
url: string;
|
|
2888
|
+
}>;
|
|
2889
|
+
export type TunnelURLParams = Infer<typeof TunnelURLParams>;
|
|
2890
|
+
/** An executor's version probe: the argv to run and the variables it runs with in a container (protocol.Probe). */
|
|
2891
|
+
export declare const VersionProbe: import("./schema.js").Type<{
|
|
2892
|
+
argv: string[] | null;
|
|
2893
|
+
env?: string[] | undefined;
|
|
2894
|
+
}>;
|
|
2895
|
+
export type VersionProbe = Infer<typeof VersionProbe>;
|
|
2896
|
+
/**
|
|
2897
|
+
* The answer to validate for the kinds that answer more than a refusal:
|
|
2898
|
+
* the mode (resource_mode, executor_mode), whether a config can only be
|
|
2899
|
+
* made at a site (resource_site), the playbook (executor_playbook), the
|
|
2900
|
+
* version probe (executor_probe) and the adapted config (executor_folder).
|
|
2901
|
+
*/
|
|
2902
|
+
export declare const ValidateResult: import("./schema.js").Type<{
|
|
2903
|
+
config?: unknown;
|
|
2904
|
+
mode?: string | undefined;
|
|
2905
|
+
playbook?: string | undefined;
|
|
2906
|
+
probe?: {
|
|
2907
|
+
argv: string[] | null;
|
|
2908
|
+
env?: string[] | undefined;
|
|
2909
|
+
} | undefined;
|
|
2910
|
+
site?: boolean | undefined;
|
|
2911
|
+
}>;
|
|
2912
|
+
export type ValidateResult = Infer<typeof ValidateResult>;
|
|
2913
|
+
/** Plans one launch (sandbox.plan) or creates its container (container.launch). */
|
|
2914
|
+
export declare const LaunchParams: import("./schema.js").Type<{
|
|
2915
|
+
launch: {
|
|
2916
|
+
argv: string[] | null;
|
|
2917
|
+
dir?: string | undefined;
|
|
2918
|
+
env?: string[] | undefined;
|
|
2919
|
+
run_dir?: string | undefined;
|
|
2920
|
+
secrets?: string[] | undefined;
|
|
2921
|
+
tty?: boolean | undefined;
|
|
2922
|
+
wrapper_env?: string[] | undefined;
|
|
2923
|
+
};
|
|
2924
|
+
needs: {
|
|
2925
|
+
deny?: string[] | undefined;
|
|
2926
|
+
hosts?: string[] | undefined;
|
|
2927
|
+
read?: string[] | undefined;
|
|
2928
|
+
read_only?: string[] | undefined;
|
|
2929
|
+
sockets?: string[] | undefined;
|
|
2930
|
+
write?: string[] | undefined;
|
|
2931
|
+
};
|
|
2932
|
+
run_id: string;
|
|
2933
|
+
}>;
|
|
2934
|
+
export type LaunchParams = Infer<typeof LaunchParams>;
|
|
2935
|
+
/** Proves a recovered segment's wrapper, pid parent, still runs in its sandbox (sandbox.adopt). */
|
|
2936
|
+
export declare const SandboxAdoptParams: import("./schema.js").Type<{
|
|
2937
|
+
parent: number;
|
|
2938
|
+
run_id: string;
|
|
2939
|
+
}>;
|
|
2940
|
+
export type SandboxAdoptParams = Infer<typeof SandboxAdoptParams>;
|
|
2941
|
+
/** Proves a recovered segment's container is the one pinned; alive says its wrapper still runs (container.adopt). */
|
|
2942
|
+
export declare const ContainerAdoptParams: import("./schema.js").Type<{
|
|
2943
|
+
alive: boolean;
|
|
2944
|
+
run_id: string;
|
|
2945
|
+
}>;
|
|
2946
|
+
export type ContainerAdoptParams = Infer<typeof ContainerAdoptParams>;
|
|
2947
|
+
/** Asks for a new wrapper for a recovered segment's pinned container; run is the executor's run directory (container.reattach). */
|
|
2948
|
+
export declare const ContainerReattachParams: import("./schema.js").Type<{
|
|
2949
|
+
run: string;
|
|
2950
|
+
run_id: string;
|
|
2951
|
+
}>;
|
|
2952
|
+
export type ContainerReattachParams = Infer<typeof ContainerReattachParams>;
|
|
2953
|
+
/** How an adopted container's segment ended (extension.ContainerExit). */
|
|
2954
|
+
export declare const ContainerExit: import("./schema.js").Type<{
|
|
2955
|
+
exit_code?: number | undefined;
|
|
2956
|
+
exited?: boolean | undefined;
|
|
2957
|
+
interrupted?: boolean | undefined;
|
|
2958
|
+
}>;
|
|
2959
|
+
export type ContainerExit = Infer<typeof ContainerExit>;
|
|
2960
|
+
/** executor.container_attach's params: the Work, its binding's config and secrets, and the Work's container home. */
|
|
2961
|
+
export declare const ContainerAttachParams: import("./schema.js").Type<{
|
|
2962
|
+
config: {
|
|
2963
|
+
data?: unknown;
|
|
2964
|
+
schema?: string | undefined;
|
|
2965
|
+
};
|
|
2966
|
+
executor: string;
|
|
2967
|
+
home: string;
|
|
2968
|
+
secrets?: Record<string, string> | undefined;
|
|
2969
|
+
work: {
|
|
2970
|
+
context: {
|
|
2971
|
+
data?: unknown;
|
|
2972
|
+
schema?: string | undefined;
|
|
2973
|
+
};
|
|
2974
|
+
correlation_keys: {
|
|
2975
|
+
external_id: string;
|
|
2976
|
+
source: string;
|
|
2977
|
+
}[] | null;
|
|
2978
|
+
created_at: string;
|
|
2979
|
+
display?: {
|
|
2980
|
+
links?: {
|
|
2981
|
+
label: string;
|
|
2982
|
+
url: string;
|
|
2983
|
+
}[] | undefined;
|
|
2984
|
+
ref?: string | undefined;
|
|
2985
|
+
requester?: string | undefined;
|
|
2986
|
+
title?: string | undefined;
|
|
2987
|
+
} | undefined;
|
|
2988
|
+
id: string;
|
|
2989
|
+
kind: string;
|
|
2990
|
+
latest_executor?: string | undefined;
|
|
2991
|
+
parent_id?: string | undefined;
|
|
2992
|
+
revision: number;
|
|
2993
|
+
scope_id: string;
|
|
2994
|
+
state: string;
|
|
2995
|
+
updated_at: string;
|
|
2996
|
+
};
|
|
2997
|
+
}>;
|
|
2998
|
+
export type ContainerAttachParams = Infer<typeof ContainerAttachParams>;
|
|
2999
|
+
/** The interactive launch executor.container_attach answers, for the host's container broker to plan. */
|
|
3000
|
+
export declare const ContainerAttachSpec: import("./schema.js").Type<{
|
|
3001
|
+
launch: {
|
|
3002
|
+
argv: string[] | null;
|
|
3003
|
+
dir?: string | undefined;
|
|
3004
|
+
env?: string[] | undefined;
|
|
3005
|
+
run_dir?: string | undefined;
|
|
3006
|
+
secrets?: string[] | undefined;
|
|
3007
|
+
tty?: boolean | undefined;
|
|
3008
|
+
wrapper_env?: string[] | undefined;
|
|
3009
|
+
};
|
|
3010
|
+
needs: {
|
|
3011
|
+
deny?: string[] | undefined;
|
|
3012
|
+
hosts?: string[] | undefined;
|
|
3013
|
+
read?: string[] | undefined;
|
|
3014
|
+
read_only?: string[] | undefined;
|
|
3015
|
+
sockets?: string[] | undefined;
|
|
3016
|
+
write?: string[] | undefined;
|
|
3017
|
+
};
|
|
3018
|
+
}>;
|
|
3019
|
+
export type ContainerAttachSpec = Infer<typeof ContainerAttachSpec>;
|
|
3020
|
+
/** executor.interactive_launch's params: what the session starts on (extension.InteractiveLaunchRequest). */
|
|
3021
|
+
export declare const InteractiveLaunchParams: import("./schema.js").Type<{
|
|
3022
|
+
allow?: string[] | undefined;
|
|
3023
|
+
dir?: string | undefined;
|
|
3024
|
+
executor: string;
|
|
3025
|
+
files_dir: string;
|
|
3026
|
+
name: string;
|
|
3027
|
+
playbook: string;
|
|
3028
|
+
program?: string | undefined;
|
|
3029
|
+
summary?: string | undefined;
|
|
3030
|
+
}>;
|
|
3031
|
+
export type InteractiveLaunchParams = Infer<typeof InteractiveLaunchParams>;
|
|
3032
|
+
/** The command executor.interactive_launch answers for the host to exec. */
|
|
3033
|
+
export declare const InteractiveLaunchSpec: import("./schema.js").Type<{
|
|
3034
|
+
argv: string[] | null;
|
|
3035
|
+
dir?: string | undefined;
|
|
3036
|
+
set_env?: Record<string, string> | undefined;
|
|
3037
|
+
}>;
|
|
3038
|
+
export type InteractiveLaunchSpec = Infer<typeof InteractiveLaunchSpec>;
|
|
3039
|
+
/**
|
|
3040
|
+
* What a wait suspends the Work until: an Event of one of types (any, when
|
|
3041
|
+
* empty) on one of keys (every key the Work owns, when empty), or timeout.
|
|
3042
|
+
*/
|
|
3043
|
+
export declare const WaitRequest: import("./schema.js").Type<{
|
|
3044
|
+
after_sequence?: number | undefined;
|
|
3045
|
+
description?: string | undefined;
|
|
3046
|
+
keys?: {
|
|
3047
|
+
external_id: string;
|
|
3048
|
+
source: string;
|
|
3049
|
+
}[] | undefined;
|
|
3050
|
+
timeout?: string | undefined;
|
|
3051
|
+
types?: string[] | undefined;
|
|
3052
|
+
}>;
|
|
3053
|
+
export type WaitRequest = Infer<typeof WaitRequest>;
|
|
3054
|
+
/**
|
|
3055
|
+
* A subscription to Events on another key (another Work's, or one no Work
|
|
3056
|
+
* owns yet), aliased into the waiting Work as alias_type Events.
|
|
3057
|
+
*/
|
|
3058
|
+
export declare const Dependency: import("./schema.js").Type<{
|
|
3059
|
+
alias_type: string;
|
|
3060
|
+
filter: {
|
|
3061
|
+
data?: unknown;
|
|
3062
|
+
schema?: string | undefined;
|
|
3063
|
+
};
|
|
3064
|
+
from_now?: boolean | undefined;
|
|
3065
|
+
id: string;
|
|
3066
|
+
label?: string | undefined;
|
|
3067
|
+
source_key: {
|
|
3068
|
+
external_id: string;
|
|
3069
|
+
source: string;
|
|
3070
|
+
};
|
|
3071
|
+
source_scope_id?: string | undefined;
|
|
3072
|
+
types?: string[] | undefined;
|
|
3073
|
+
}>;
|
|
3074
|
+
export type Dependency = Infer<typeof Dependency>;
|
|
3075
|
+
export declare const WaitPlan: import("./schema.js").Type<{
|
|
3076
|
+
dependencies?: {
|
|
3077
|
+
alias_type: string;
|
|
3078
|
+
filter: {
|
|
3079
|
+
data?: unknown;
|
|
3080
|
+
schema?: string | undefined;
|
|
3081
|
+
};
|
|
3082
|
+
from_now?: boolean | undefined;
|
|
3083
|
+
id: string;
|
|
3084
|
+
label?: string | undefined;
|
|
3085
|
+
source_key: {
|
|
3086
|
+
external_id: string;
|
|
3087
|
+
source: string;
|
|
3088
|
+
};
|
|
3089
|
+
source_scope_id?: string | undefined;
|
|
3090
|
+
types?: string[] | undefined;
|
|
3091
|
+
}[] | undefined;
|
|
3092
|
+
output: {
|
|
3093
|
+
data?: unknown;
|
|
3094
|
+
schema?: string | undefined;
|
|
3095
|
+
};
|
|
3096
|
+
wait: {
|
|
3097
|
+
after_sequence?: number | undefined;
|
|
3098
|
+
description?: string | undefined;
|
|
3099
|
+
keys?: {
|
|
3100
|
+
external_id: string;
|
|
3101
|
+
source: string;
|
|
3102
|
+
}[] | undefined;
|
|
3103
|
+
timeout?: string | undefined;
|
|
3104
|
+
types?: string[] | undefined;
|
|
3105
|
+
};
|
|
3106
|
+
}>;
|
|
3107
|
+
export type WaitPlan = Infer<typeof WaitPlan>;
|
|
3108
|
+
export declare const EmitPlan: import("./schema.js").Type<{
|
|
3109
|
+
cause?: string | undefined;
|
|
3110
|
+
commit_id?: string | undefined;
|
|
3111
|
+
event: {
|
|
3112
|
+
actor?: string | undefined;
|
|
3113
|
+
causation_id?: string | undefined;
|
|
3114
|
+
correlation_key?: {
|
|
3115
|
+
external_id: string;
|
|
3116
|
+
source: string;
|
|
3117
|
+
} | undefined;
|
|
3118
|
+
data?: {
|
|
3119
|
+
data?: unknown;
|
|
3120
|
+
schema?: string | undefined;
|
|
3121
|
+
} | undefined;
|
|
3122
|
+
delivery_id?: string | undefined;
|
|
3123
|
+
execution_id?: string | undefined;
|
|
3124
|
+
id?: string | undefined;
|
|
3125
|
+
occurred_at?: string | undefined;
|
|
3126
|
+
received_at?: string | undefined;
|
|
3127
|
+
source?: string | undefined;
|
|
3128
|
+
type: string;
|
|
3129
|
+
via?: string | undefined;
|
|
3130
|
+
work_id?: string | undefined;
|
|
3131
|
+
};
|
|
3132
|
+
once?: string | undefined;
|
|
3133
|
+
}>;
|
|
3134
|
+
export type EmitPlan = Infer<typeof EmitPlan>;
|
|
3135
|
+
/** The Event an emission accepted, as its commit receives it. */
|
|
3136
|
+
export declare const Emitted: import("./schema.js").Type<{
|
|
3137
|
+
added: boolean;
|
|
3138
|
+
depth: number;
|
|
3139
|
+
event: {
|
|
3140
|
+
disposition?: string | undefined;
|
|
3141
|
+
event: {
|
|
3142
|
+
actor?: string | undefined;
|
|
3143
|
+
causation_id?: string | undefined;
|
|
3144
|
+
correlation_key?: {
|
|
3145
|
+
external_id: string;
|
|
3146
|
+
source: string;
|
|
3147
|
+
} | undefined;
|
|
3148
|
+
data?: {
|
|
3149
|
+
data?: unknown;
|
|
3150
|
+
schema?: string | undefined;
|
|
3151
|
+
} | undefined;
|
|
3152
|
+
delivery_id?: string | undefined;
|
|
3153
|
+
execution_id?: string | undefined;
|
|
3154
|
+
id?: string | undefined;
|
|
3155
|
+
occurred_at?: string | undefined;
|
|
3156
|
+
received_at?: string | undefined;
|
|
3157
|
+
source?: string | undefined;
|
|
3158
|
+
type: string;
|
|
3159
|
+
via?: string | undefined;
|
|
3160
|
+
work_id?: string | undefined;
|
|
3161
|
+
};
|
|
3162
|
+
retired?: boolean | undefined;
|
|
3163
|
+
routed: boolean;
|
|
3164
|
+
routed_work_id?: string | undefined;
|
|
3165
|
+
scope_id?: string | undefined;
|
|
3166
|
+
sequence: number;
|
|
3167
|
+
};
|
|
3168
|
+
root: string;
|
|
3169
|
+
}>;
|
|
3170
|
+
export type Emitted = Infer<typeof Emitted>;
|
|
3171
|
+
/** A KV write an emission's commit makes; value is base64. */
|
|
3172
|
+
export declare const EmitRecord: import("./schema.js").Type<{
|
|
3173
|
+
key: string;
|
|
3174
|
+
namespace: string;
|
|
3175
|
+
value: string;
|
|
3176
|
+
}>;
|
|
3177
|
+
export type EmitRecord = Infer<typeof EmitRecord>;
|
|
3178
|
+
export declare const EmitCommit: import("./schema.js").Type<{
|
|
3179
|
+
output: {
|
|
3180
|
+
data?: unknown;
|
|
3181
|
+
schema?: string | undefined;
|
|
3182
|
+
};
|
|
3183
|
+
records?: {
|
|
3184
|
+
key: string;
|
|
3185
|
+
namespace: string;
|
|
3186
|
+
value: string;
|
|
3187
|
+
}[] | undefined;
|
|
3188
|
+
}>;
|
|
3189
|
+
export type EmitCommit = Infer<typeof EmitCommit>;
|
|
3190
|
+
export declare const EmitCommitParams: import("./schema.js").Type<{
|
|
3191
|
+
commit_id: string;
|
|
3192
|
+
emitted: {
|
|
3193
|
+
added: boolean;
|
|
3194
|
+
depth: number;
|
|
3195
|
+
event: {
|
|
3196
|
+
disposition?: string | undefined;
|
|
3197
|
+
event: {
|
|
3198
|
+
actor?: string | undefined;
|
|
3199
|
+
causation_id?: string | undefined;
|
|
3200
|
+
correlation_key?: {
|
|
3201
|
+
external_id: string;
|
|
3202
|
+
source: string;
|
|
3203
|
+
} | undefined;
|
|
3204
|
+
data?: {
|
|
3205
|
+
data?: unknown;
|
|
3206
|
+
schema?: string | undefined;
|
|
3207
|
+
} | undefined;
|
|
3208
|
+
delivery_id?: string | undefined;
|
|
3209
|
+
execution_id?: string | undefined;
|
|
3210
|
+
id?: string | undefined;
|
|
3211
|
+
occurred_at?: string | undefined;
|
|
3212
|
+
received_at?: string | undefined;
|
|
3213
|
+
source?: string | undefined;
|
|
3214
|
+
type: string;
|
|
3215
|
+
via?: string | undefined;
|
|
3216
|
+
work_id?: string | undefined;
|
|
3217
|
+
};
|
|
3218
|
+
retired?: boolean | undefined;
|
|
3219
|
+
routed: boolean;
|
|
3220
|
+
routed_work_id?: string | undefined;
|
|
3221
|
+
scope_id?: string | undefined;
|
|
3222
|
+
sequence: number;
|
|
3223
|
+
};
|
|
3224
|
+
root: string;
|
|
3225
|
+
};
|
|
3226
|
+
}>;
|
|
3227
|
+
export type EmitCommitParams = Infer<typeof EmitCommitParams>;
|
|
3228
|
+
export declare const Family: import("./schema.js").Type<{
|
|
3229
|
+
loss?: string | undefined;
|
|
3230
|
+
re_derivable: boolean;
|
|
3231
|
+
sealed?: boolean | undefined;
|
|
3232
|
+
type: string;
|
|
3233
|
+
}>;
|
|
3234
|
+
export type Family = Infer<typeof Family>;
|
|
3235
|
+
/** A payload schema the extension writes and reads: the versions it reads, the highest being the one it writes. */
|
|
3236
|
+
export declare const SchemaDecl: import("./schema.js").Type<{
|
|
3237
|
+
name: string;
|
|
3238
|
+
versions: number[];
|
|
3239
|
+
}>;
|
|
3240
|
+
export type SchemaDecl = Infer<typeof SchemaDecl>;
|
|
3241
|
+
export declare const ExtensionDecl: import("./schema.js").Type<{
|
|
3242
|
+
ingress?: boolean | undefined;
|
|
3243
|
+
type: string;
|
|
3244
|
+
}>;
|
|
3245
|
+
export type ExtensionDecl = Infer<typeof ExtensionDecl>;
|
|
3246
|
+
export declare const OperationDecl: import("./schema.js").Type<{
|
|
3247
|
+
commit?: boolean | undefined;
|
|
3248
|
+
guidance?: string | undefined;
|
|
3249
|
+
input?: Record<string, unknown> | undefined;
|
|
3250
|
+
kind: "emit" | "handler" | "wait";
|
|
3251
|
+
name: string;
|
|
3252
|
+
serves?: string | undefined;
|
|
3253
|
+
summary?: string | undefined;
|
|
3254
|
+
wants?: string | undefined;
|
|
3255
|
+
}>;
|
|
3256
|
+
export type OperationDecl = Infer<typeof OperationDecl>;
|
|
3257
|
+
export declare const RouteDecl: import("./schema.js").Type<{
|
|
3258
|
+
config?: boolean | undefined;
|
|
3259
|
+
handler: string;
|
|
3260
|
+
samples?: boolean | undefined;
|
|
3261
|
+
}>;
|
|
3262
|
+
export type RouteDecl = Infer<typeof RouteDecl>;
|
|
3263
|
+
export declare const WorkKindDecl: import("./schema.js").Type<{
|
|
3264
|
+
kind: string;
|
|
3265
|
+
run_once?: boolean | undefined;
|
|
3266
|
+
standing?: boolean | undefined;
|
|
3267
|
+
timed?: boolean | undefined;
|
|
3268
|
+
trigger?: boolean | undefined;
|
|
3269
|
+
}>;
|
|
3270
|
+
export type WorkKindDecl = Infer<typeof WorkKindDecl>;
|
|
3271
|
+
export declare const ToolsetOperation: import("./schema.js").Type<{
|
|
3272
|
+
name: string;
|
|
3273
|
+
since?: number | undefined;
|
|
3274
|
+
}>;
|
|
3275
|
+
export type ToolsetOperation = Infer<typeof ToolsetOperation>;
|
|
3276
|
+
export declare const ToolsetDecl: import("./schema.js").Type<{
|
|
3277
|
+
name: string;
|
|
3278
|
+
operations: {
|
|
3279
|
+
name: string;
|
|
3280
|
+
since?: number | undefined;
|
|
3281
|
+
}[];
|
|
3282
|
+
summary?: string | undefined;
|
|
3283
|
+
}>;
|
|
3284
|
+
export type ToolsetDecl = Infer<typeof ToolsetDecl>;
|
|
3285
|
+
export declare const TaskDecl: import("./schema.js").Type<{
|
|
3286
|
+
interval_seconds: number;
|
|
3287
|
+
name: string;
|
|
3288
|
+
}>;
|
|
3289
|
+
export type TaskDecl = Infer<typeof TaskDecl>;
|
|
3290
|
+
export declare const CheckDecl: import("./schema.js").Type<{
|
|
3291
|
+
deep?: boolean | undefined;
|
|
3292
|
+
name: string;
|
|
3293
|
+
}>;
|
|
3294
|
+
export type CheckDecl = Infer<typeof CheckDecl>;
|
|
3295
|
+
/** One field of a config a manifest declaration describes (protocol.FieldDecl), for adapters and the config editor. */
|
|
3296
|
+
export declare const FieldDecl: import("./schema.js").Type<{
|
|
3297
|
+
default?: string | undefined;
|
|
3298
|
+
help?: string | undefined;
|
|
3299
|
+
name: string;
|
|
3300
|
+
options?: string[] | undefined;
|
|
3301
|
+
required?: boolean | undefined;
|
|
3302
|
+
secret?: boolean | undefined;
|
|
3303
|
+
}>;
|
|
3304
|
+
export type FieldDecl = Infer<typeof FieldDecl>;
|
|
3305
|
+
export declare const VerifierDecl: import("./schema.js").Type<{
|
|
3306
|
+
fields?: {
|
|
3307
|
+
default?: string | undefined;
|
|
3308
|
+
help?: string | undefined;
|
|
3309
|
+
name: string;
|
|
3310
|
+
options?: string[] | undefined;
|
|
3311
|
+
required?: boolean | undefined;
|
|
3312
|
+
secret?: boolean | undefined;
|
|
3313
|
+
}[] | undefined;
|
|
3314
|
+
type: string;
|
|
3315
|
+
}>;
|
|
3316
|
+
export type VerifierDecl = Infer<typeof VerifierDecl>;
|
|
3317
|
+
export declare const SecretSchemeDecl: import("./schema.js").Type<{
|
|
3318
|
+
scheme: string;
|
|
3319
|
+
summary?: string | undefined;
|
|
3320
|
+
writable?: boolean | undefined;
|
|
3321
|
+
}>;
|
|
3322
|
+
export type SecretSchemeDecl = Infer<typeof SecretSchemeDecl>;
|
|
3323
|
+
export declare const BackupDestinationDecl: import("./schema.js").Type<{
|
|
3324
|
+
fields?: {
|
|
3325
|
+
default?: string | undefined;
|
|
3326
|
+
help?: string | undefined;
|
|
3327
|
+
name: string;
|
|
3328
|
+
options?: string[] | undefined;
|
|
3329
|
+
required?: boolean | undefined;
|
|
3330
|
+
secret?: boolean | undefined;
|
|
3331
|
+
}[] | undefined;
|
|
3332
|
+
type: string;
|
|
3333
|
+
}>;
|
|
3334
|
+
export type BackupDestinationDecl = Infer<typeof BackupDestinationDecl>;
|
|
3335
|
+
/** A resource config field safe to show the operator, with its type and default (protocol.SettingDecl). */
|
|
3336
|
+
export declare const SettingDecl: import("./schema.js").Type<{
|
|
3337
|
+
default?: unknown;
|
|
3338
|
+
field: string;
|
|
3339
|
+
type: string;
|
|
3340
|
+
}>;
|
|
3341
|
+
export type SettingDecl = Infer<typeof SettingDecl>;
|
|
3342
|
+
export declare const ResourceDecl: import("./schema.js").Type<{
|
|
3343
|
+
fields?: {
|
|
3344
|
+
default?: string | undefined;
|
|
3345
|
+
help?: string | undefined;
|
|
3346
|
+
name: string;
|
|
3347
|
+
options?: string[] | undefined;
|
|
3348
|
+
required?: boolean | undefined;
|
|
3349
|
+
secret?: boolean | undefined;
|
|
3350
|
+
}[] | undefined;
|
|
3351
|
+
mode_default?: boolean | undefined;
|
|
3352
|
+
modes: string[];
|
|
3353
|
+
sandbox?: boolean | undefined;
|
|
3354
|
+
settings?: {
|
|
3355
|
+
default?: unknown;
|
|
3356
|
+
field: string;
|
|
3357
|
+
type: string;
|
|
3358
|
+
}[] | undefined;
|
|
3359
|
+
sites?: boolean | undefined;
|
|
3360
|
+
sweep?: boolean | undefined;
|
|
3361
|
+
type: string;
|
|
3362
|
+
unsaved?: boolean | undefined;
|
|
3363
|
+
}>;
|
|
3364
|
+
export type ResourceDecl = Infer<typeof ResourceDecl>;
|
|
3365
|
+
export declare const SandboxDecl: import("./schema.js").Type<{
|
|
3366
|
+
type: string;
|
|
3367
|
+
}>;
|
|
3368
|
+
export type SandboxDecl = Infer<typeof SandboxDecl>;
|
|
3369
|
+
export declare const TunnelDecl: import("./schema.js").Type<{
|
|
3370
|
+
fields?: {
|
|
3371
|
+
default?: string | undefined;
|
|
3372
|
+
help?: string | undefined;
|
|
3373
|
+
name: string;
|
|
3374
|
+
options?: string[] | undefined;
|
|
3375
|
+
required?: boolean | undefined;
|
|
3376
|
+
secret?: boolean | undefined;
|
|
3377
|
+
}[] | undefined;
|
|
3378
|
+
type: string;
|
|
3379
|
+
}>;
|
|
3380
|
+
export type TunnelDecl = Infer<typeof TunnelDecl>;
|
|
3381
|
+
export declare const ContainerDecl: import("./schema.js").Type<{
|
|
3382
|
+
collect?: boolean | undefined;
|
|
3383
|
+
forward?: boolean | undefined;
|
|
3384
|
+
place?: boolean | undefined;
|
|
3385
|
+
probe?: boolean | undefined;
|
|
3386
|
+
reattach?: boolean | undefined;
|
|
3387
|
+
type: string;
|
|
3388
|
+
}>;
|
|
3389
|
+
export type ContainerDecl = Infer<typeof ContainerDecl>;
|
|
3390
|
+
/** The mechanical labels a binding's requires is checked against (protocol.Capabilities). */
|
|
3391
|
+
export declare const Capabilities: import("./schema.js").Type<{
|
|
3392
|
+
container?: boolean | undefined;
|
|
3393
|
+
inject?: boolean | undefined;
|
|
3394
|
+
interrupt?: boolean | undefined;
|
|
3395
|
+
no_process?: boolean | undefined;
|
|
3396
|
+
resume?: boolean | undefined;
|
|
3397
|
+
sandbox?: boolean | undefined;
|
|
3398
|
+
toolbelt: string;
|
|
3399
|
+
workspace?: boolean | undefined;
|
|
3400
|
+
}>;
|
|
3401
|
+
export type Capabilities = Infer<typeof Capabilities>;
|
|
3402
|
+
/** The optional host-driven executor methods it serves (protocol.Controls). */
|
|
3403
|
+
export declare const Controls: import("./schema.js").Type<{
|
|
3404
|
+
attach?: boolean | undefined;
|
|
3405
|
+
container_attach?: boolean | undefined;
|
|
3406
|
+
forget?: boolean | undefined;
|
|
3407
|
+
interactive_launch?: boolean | undefined;
|
|
3408
|
+
live?: boolean | undefined;
|
|
3409
|
+
stop?: boolean | undefined;
|
|
3410
|
+
sweep?: boolean | undefined;
|
|
3411
|
+
}>;
|
|
3412
|
+
export type Controls = Infer<typeof Controls>;
|
|
3413
|
+
export declare const ExecutorDecl: import("./schema.js").Type<{
|
|
3414
|
+
capabilities: {
|
|
3415
|
+
container?: boolean | undefined;
|
|
3416
|
+
inject?: boolean | undefined;
|
|
3417
|
+
interrupt?: boolean | undefined;
|
|
3418
|
+
no_process?: boolean | undefined;
|
|
3419
|
+
resume?: boolean | undefined;
|
|
3420
|
+
sandbox?: boolean | undefined;
|
|
3421
|
+
toolbelt: string;
|
|
3422
|
+
workspace?: boolean | undefined;
|
|
3423
|
+
};
|
|
3424
|
+
controls?: {
|
|
3425
|
+
attach?: boolean | undefined;
|
|
3426
|
+
container_attach?: boolean | undefined;
|
|
3427
|
+
forget?: boolean | undefined;
|
|
3428
|
+
interactive_launch?: boolean | undefined;
|
|
3429
|
+
live?: boolean | undefined;
|
|
3430
|
+
stop?: boolean | undefined;
|
|
3431
|
+
sweep?: boolean | undefined;
|
|
3432
|
+
} | undefined;
|
|
3433
|
+
fields?: {
|
|
3434
|
+
default?: string | undefined;
|
|
3435
|
+
help?: string | undefined;
|
|
3436
|
+
name: string;
|
|
3437
|
+
options?: string[] | undefined;
|
|
3438
|
+
required?: boolean | undefined;
|
|
3439
|
+
secret?: boolean | undefined;
|
|
3440
|
+
}[] | undefined;
|
|
3441
|
+
folder_config?: boolean | undefined;
|
|
3442
|
+
launch_names?: string[] | undefined;
|
|
3443
|
+
name: string;
|
|
3444
|
+
playbook?: boolean | undefined;
|
|
3445
|
+
pool?: string | undefined;
|
|
3446
|
+
resource_mode?: boolean | undefined;
|
|
3447
|
+
version_probe?: boolean | undefined;
|
|
3448
|
+
}>;
|
|
3449
|
+
export type ExecutorDecl = Infer<typeof ExecutorDecl>;
|
|
3450
|
+
export declare const ActionTarget: import("./schema.js").Type<{
|
|
3451
|
+
scope: {
|
|
3452
|
+
bindings?: unknown[] | undefined;
|
|
3453
|
+
config: {
|
|
3454
|
+
data?: unknown;
|
|
3455
|
+
schema?: string | undefined;
|
|
3456
|
+
};
|
|
3457
|
+
created_at: string;
|
|
3458
|
+
id: string;
|
|
3459
|
+
name: string;
|
|
3460
|
+
parent_id?: string | undefined;
|
|
3461
|
+
revision: number;
|
|
3462
|
+
routes?: {
|
|
3463
|
+
active_policy?: string | undefined;
|
|
3464
|
+
binding: string;
|
|
3465
|
+
config: {
|
|
3466
|
+
data?: unknown;
|
|
3467
|
+
schema?: string | undefined;
|
|
3468
|
+
};
|
|
3469
|
+
handler: string;
|
|
3470
|
+
name: string;
|
|
3471
|
+
}[] | undefined;
|
|
3472
|
+
updated_at: string;
|
|
3473
|
+
};
|
|
3474
|
+
work?: {
|
|
3475
|
+
context: {
|
|
3476
|
+
data?: unknown;
|
|
3477
|
+
schema?: string | undefined;
|
|
3478
|
+
};
|
|
3479
|
+
correlation_keys: {
|
|
3480
|
+
external_id: string;
|
|
3481
|
+
source: string;
|
|
3482
|
+
}[] | null;
|
|
3483
|
+
created_at: string;
|
|
3484
|
+
display?: {
|
|
3485
|
+
links?: {
|
|
3486
|
+
label: string;
|
|
3487
|
+
url: string;
|
|
3488
|
+
}[] | undefined;
|
|
3489
|
+
ref?: string | undefined;
|
|
3490
|
+
requester?: string | undefined;
|
|
3491
|
+
title?: string | undefined;
|
|
3492
|
+
} | undefined;
|
|
3493
|
+
id: string;
|
|
3494
|
+
kind: string;
|
|
3495
|
+
latest_executor?: string | undefined;
|
|
3496
|
+
parent_id?: string | undefined;
|
|
3497
|
+
revision: number;
|
|
3498
|
+
scope_id: string;
|
|
3499
|
+
state: string;
|
|
3500
|
+
updated_at: string;
|
|
3501
|
+
} | undefined;
|
|
3502
|
+
}>;
|
|
3503
|
+
export type ActionTarget = Infer<typeof ActionTarget>;
|
|
3504
|
+
export declare const Caller: import("./schema.js").Type<{
|
|
3505
|
+
id: string;
|
|
3506
|
+
kind: string;
|
|
3507
|
+
}>;
|
|
3508
|
+
export type Caller = Infer<typeof Caller>;
|
|
3509
|
+
export declare const WorkActionsParams: import("./schema.js").Type<{
|
|
3510
|
+
target: {
|
|
3511
|
+
scope: {
|
|
3512
|
+
bindings?: unknown[] | undefined;
|
|
3513
|
+
config: {
|
|
3514
|
+
data?: unknown;
|
|
3515
|
+
schema?: string | undefined;
|
|
3516
|
+
};
|
|
3517
|
+
created_at: string;
|
|
3518
|
+
id: string;
|
|
3519
|
+
name: string;
|
|
3520
|
+
parent_id?: string | undefined;
|
|
3521
|
+
revision: number;
|
|
3522
|
+
routes?: {
|
|
3523
|
+
active_policy?: string | undefined;
|
|
3524
|
+
binding: string;
|
|
3525
|
+
config: {
|
|
3526
|
+
data?: unknown;
|
|
3527
|
+
schema?: string | undefined;
|
|
3528
|
+
};
|
|
3529
|
+
handler: string;
|
|
3530
|
+
name: string;
|
|
3531
|
+
}[] | undefined;
|
|
3532
|
+
updated_at: string;
|
|
3533
|
+
};
|
|
3534
|
+
work?: {
|
|
3535
|
+
context: {
|
|
3536
|
+
data?: unknown;
|
|
3537
|
+
schema?: string | undefined;
|
|
3538
|
+
};
|
|
3539
|
+
correlation_keys: {
|
|
3540
|
+
external_id: string;
|
|
3541
|
+
source: string;
|
|
3542
|
+
}[] | null;
|
|
3543
|
+
created_at: string;
|
|
3544
|
+
display?: {
|
|
3545
|
+
links?: {
|
|
3546
|
+
label: string;
|
|
3547
|
+
url: string;
|
|
3548
|
+
}[] | undefined;
|
|
3549
|
+
ref?: string | undefined;
|
|
3550
|
+
requester?: string | undefined;
|
|
3551
|
+
title?: string | undefined;
|
|
3552
|
+
} | undefined;
|
|
3553
|
+
id: string;
|
|
3554
|
+
kind: string;
|
|
3555
|
+
latest_executor?: string | undefined;
|
|
3556
|
+
parent_id?: string | undefined;
|
|
3557
|
+
revision: number;
|
|
3558
|
+
scope_id: string;
|
|
3559
|
+
state: string;
|
|
3560
|
+
updated_at: string;
|
|
3561
|
+
} | undefined;
|
|
3562
|
+
};
|
|
3563
|
+
}>;
|
|
3564
|
+
export type WorkActionsParams = Infer<typeof WorkActionsParams>;
|
|
3565
|
+
export declare const Action: import("./schema.js").Type<{
|
|
3566
|
+
awaited?: boolean | undefined;
|
|
3567
|
+
choices?: string[] | undefined;
|
|
3568
|
+
detail?: string | undefined;
|
|
3569
|
+
id: string;
|
|
3570
|
+
label: string;
|
|
3571
|
+
prompt?: string | undefined;
|
|
3572
|
+
secret?: string | undefined;
|
|
3573
|
+
}>;
|
|
3574
|
+
export type Action = Infer<typeof Action>;
|
|
3575
|
+
export declare const WorkActionsResult: import("./schema.js").Type<{
|
|
3576
|
+
actions?: {
|
|
3577
|
+
awaited?: boolean | undefined;
|
|
3578
|
+
choices?: string[] | undefined;
|
|
3579
|
+
detail?: string | undefined;
|
|
3580
|
+
id: string;
|
|
3581
|
+
label: string;
|
|
3582
|
+
prompt?: string | undefined;
|
|
3583
|
+
secret?: string | undefined;
|
|
3584
|
+
}[] | undefined;
|
|
3585
|
+
}>;
|
|
3586
|
+
export type WorkActionsResult = Infer<typeof WorkActionsResult>;
|
|
3587
|
+
export declare const WorkActParams: import("./schema.js").Type<{
|
|
3588
|
+
action: string;
|
|
3589
|
+
caller: {
|
|
3590
|
+
id: string;
|
|
3591
|
+
kind: string;
|
|
3592
|
+
};
|
|
3593
|
+
input?: string | undefined;
|
|
3594
|
+
target: {
|
|
3595
|
+
scope: {
|
|
3596
|
+
bindings?: unknown[] | undefined;
|
|
3597
|
+
config: {
|
|
3598
|
+
data?: unknown;
|
|
3599
|
+
schema?: string | undefined;
|
|
3600
|
+
};
|
|
3601
|
+
created_at: string;
|
|
3602
|
+
id: string;
|
|
3603
|
+
name: string;
|
|
3604
|
+
parent_id?: string | undefined;
|
|
3605
|
+
revision: number;
|
|
3606
|
+
routes?: {
|
|
3607
|
+
active_policy?: string | undefined;
|
|
3608
|
+
binding: string;
|
|
3609
|
+
config: {
|
|
3610
|
+
data?: unknown;
|
|
3611
|
+
schema?: string | undefined;
|
|
3612
|
+
};
|
|
3613
|
+
handler: string;
|
|
3614
|
+
name: string;
|
|
3615
|
+
}[] | undefined;
|
|
3616
|
+
updated_at: string;
|
|
3617
|
+
};
|
|
3618
|
+
work?: {
|
|
3619
|
+
context: {
|
|
3620
|
+
data?: unknown;
|
|
3621
|
+
schema?: string | undefined;
|
|
3622
|
+
};
|
|
3623
|
+
correlation_keys: {
|
|
3624
|
+
external_id: string;
|
|
3625
|
+
source: string;
|
|
3626
|
+
}[] | null;
|
|
3627
|
+
created_at: string;
|
|
3628
|
+
display?: {
|
|
3629
|
+
links?: {
|
|
3630
|
+
label: string;
|
|
3631
|
+
url: string;
|
|
3632
|
+
}[] | undefined;
|
|
3633
|
+
ref?: string | undefined;
|
|
3634
|
+
requester?: string | undefined;
|
|
3635
|
+
title?: string | undefined;
|
|
3636
|
+
} | undefined;
|
|
3637
|
+
id: string;
|
|
3638
|
+
kind: string;
|
|
3639
|
+
latest_executor?: string | undefined;
|
|
3640
|
+
parent_id?: string | undefined;
|
|
3641
|
+
revision: number;
|
|
3642
|
+
scope_id: string;
|
|
3643
|
+
state: string;
|
|
3644
|
+
updated_at: string;
|
|
3645
|
+
} | undefined;
|
|
3646
|
+
};
|
|
3647
|
+
}>;
|
|
3648
|
+
export type WorkActParams = Infer<typeof WorkActParams>;
|
|
3649
|
+
export declare const WorkActResult: import("./schema.js").Type<{
|
|
3650
|
+
event: {
|
|
3651
|
+
actor?: string | undefined;
|
|
3652
|
+
causation_id?: string | undefined;
|
|
3653
|
+
correlation_key?: {
|
|
3654
|
+
external_id: string;
|
|
3655
|
+
source: string;
|
|
3656
|
+
} | undefined;
|
|
3657
|
+
data?: {
|
|
3658
|
+
data?: unknown;
|
|
3659
|
+
schema?: string | undefined;
|
|
3660
|
+
} | undefined;
|
|
3661
|
+
delivery_id?: string | undefined;
|
|
3662
|
+
execution_id?: string | undefined;
|
|
3663
|
+
id?: string | undefined;
|
|
3664
|
+
occurred_at?: string | undefined;
|
|
3665
|
+
received_at?: string | undefined;
|
|
3666
|
+
source?: string | undefined;
|
|
3667
|
+
type: string;
|
|
3668
|
+
via?: string | undefined;
|
|
3669
|
+
work_id?: string | undefined;
|
|
3670
|
+
};
|
|
3671
|
+
message?: string | undefined;
|
|
3672
|
+
}>;
|
|
3673
|
+
export type WorkActResult = Infer<typeof WorkActResult>;
|
|
3674
|
+
export declare const WorkRequestsParams: import("./schema.js").Type<{
|
|
3675
|
+
target: {
|
|
3676
|
+
scope: {
|
|
3677
|
+
bindings?: unknown[] | undefined;
|
|
3678
|
+
config: {
|
|
3679
|
+
data?: unknown;
|
|
3680
|
+
schema?: string | undefined;
|
|
3681
|
+
};
|
|
3682
|
+
created_at: string;
|
|
3683
|
+
id: string;
|
|
3684
|
+
name: string;
|
|
3685
|
+
parent_id?: string | undefined;
|
|
3686
|
+
revision: number;
|
|
3687
|
+
routes?: {
|
|
3688
|
+
active_policy?: string | undefined;
|
|
3689
|
+
binding: string;
|
|
3690
|
+
config: {
|
|
3691
|
+
data?: unknown;
|
|
3692
|
+
schema?: string | undefined;
|
|
3693
|
+
};
|
|
3694
|
+
handler: string;
|
|
3695
|
+
name: string;
|
|
3696
|
+
}[] | undefined;
|
|
3697
|
+
updated_at: string;
|
|
3698
|
+
};
|
|
3699
|
+
work?: {
|
|
3700
|
+
context: {
|
|
3701
|
+
data?: unknown;
|
|
3702
|
+
schema?: string | undefined;
|
|
3703
|
+
};
|
|
3704
|
+
correlation_keys: {
|
|
3705
|
+
external_id: string;
|
|
3706
|
+
source: string;
|
|
3707
|
+
}[] | null;
|
|
3708
|
+
created_at: string;
|
|
3709
|
+
display?: {
|
|
3710
|
+
links?: {
|
|
3711
|
+
label: string;
|
|
3712
|
+
url: string;
|
|
3713
|
+
}[] | undefined;
|
|
3714
|
+
ref?: string | undefined;
|
|
3715
|
+
requester?: string | undefined;
|
|
3716
|
+
title?: string | undefined;
|
|
3717
|
+
} | undefined;
|
|
3718
|
+
id: string;
|
|
3719
|
+
kind: string;
|
|
3720
|
+
latest_executor?: string | undefined;
|
|
3721
|
+
parent_id?: string | undefined;
|
|
3722
|
+
revision: number;
|
|
3723
|
+
scope_id: string;
|
|
3724
|
+
state: string;
|
|
3725
|
+
updated_at: string;
|
|
3726
|
+
} | undefined;
|
|
3727
|
+
};
|
|
3728
|
+
}>;
|
|
3729
|
+
export type WorkRequestsParams = Infer<typeof WorkRequestsParams>;
|
|
3730
|
+
export declare const WordingField: import("./schema.js").Type<{
|
|
3731
|
+
name: string;
|
|
3732
|
+
value: string;
|
|
3733
|
+
}>;
|
|
3734
|
+
export type WordingField = Infer<typeof WordingField>;
|
|
3735
|
+
export declare const ChoiceWording: import("./schema.js").Type<{
|
|
3736
|
+
choice: string;
|
|
3737
|
+
confirm?: string | undefined;
|
|
3738
|
+
label?: string | undefined;
|
|
3739
|
+
tone?: string | undefined;
|
|
3740
|
+
}>;
|
|
3741
|
+
export type ChoiceWording = Infer<typeof ChoiceWording>;
|
|
3742
|
+
export declare const Wording: import("./schema.js").Type<{
|
|
3743
|
+
choices?: {
|
|
3744
|
+
choice: string;
|
|
3745
|
+
confirm?: string | undefined;
|
|
3746
|
+
label?: string | undefined;
|
|
3747
|
+
tone?: string | undefined;
|
|
3748
|
+
}[] | undefined;
|
|
3749
|
+
fields?: {
|
|
3750
|
+
name: string;
|
|
3751
|
+
value: string;
|
|
3752
|
+
}[] | undefined;
|
|
3753
|
+
input?: string | undefined;
|
|
3754
|
+
note?: string | undefined;
|
|
3755
|
+
question?: string | undefined;
|
|
3756
|
+
wants?: string | undefined;
|
|
3757
|
+
}>;
|
|
3758
|
+
export type Wording = Infer<typeof Wording>;
|
|
3759
|
+
export declare const Request: import("./schema.js").Type<{
|
|
3760
|
+
action?: string | undefined;
|
|
3761
|
+
by?: string | undefined;
|
|
3762
|
+
detail?: string | undefined;
|
|
3763
|
+
id: string;
|
|
3764
|
+
label: string;
|
|
3765
|
+
responders?: string[] | undefined;
|
|
3766
|
+
settled_at?: string | undefined;
|
|
3767
|
+
state: string;
|
|
3768
|
+
wording?: {
|
|
3769
|
+
choices?: {
|
|
3770
|
+
choice: string;
|
|
3771
|
+
confirm?: string | undefined;
|
|
3772
|
+
label?: string | undefined;
|
|
3773
|
+
tone?: string | undefined;
|
|
3774
|
+
}[] | undefined;
|
|
3775
|
+
fields?: {
|
|
3776
|
+
name: string;
|
|
3777
|
+
value: string;
|
|
3778
|
+
}[] | undefined;
|
|
3779
|
+
input?: string | undefined;
|
|
3780
|
+
note?: string | undefined;
|
|
3781
|
+
question?: string | undefined;
|
|
3782
|
+
wants?: string | undefined;
|
|
3783
|
+
} | undefined;
|
|
3784
|
+
}>;
|
|
3785
|
+
export type Request = Infer<typeof Request>;
|
|
3786
|
+
export declare const WorkRequestsResult: import("./schema.js").Type<{
|
|
3787
|
+
requests?: {
|
|
3788
|
+
action?: string | undefined;
|
|
3789
|
+
by?: string | undefined;
|
|
3790
|
+
detail?: string | undefined;
|
|
3791
|
+
id: string;
|
|
3792
|
+
label: string;
|
|
3793
|
+
responders?: string[] | undefined;
|
|
3794
|
+
settled_at?: string | undefined;
|
|
3795
|
+
state: string;
|
|
3796
|
+
wording?: {
|
|
3797
|
+
choices?: {
|
|
3798
|
+
choice: string;
|
|
3799
|
+
confirm?: string | undefined;
|
|
3800
|
+
label?: string | undefined;
|
|
3801
|
+
tone?: string | undefined;
|
|
3802
|
+
}[] | undefined;
|
|
3803
|
+
fields?: {
|
|
3804
|
+
name: string;
|
|
3805
|
+
value: string;
|
|
3806
|
+
}[] | undefined;
|
|
3807
|
+
input?: string | undefined;
|
|
3808
|
+
note?: string | undefined;
|
|
3809
|
+
question?: string | undefined;
|
|
3810
|
+
wants?: string | undefined;
|
|
3811
|
+
} | undefined;
|
|
3812
|
+
}[] | undefined;
|
|
3813
|
+
}>;
|
|
3814
|
+
export type WorkRequestsResult = Infer<typeof WorkRequestsResult>;
|
|
3815
|
+
export declare const ViewRenderParams: import("./schema.js").Type<{
|
|
3816
|
+
target: {
|
|
3817
|
+
scope: {
|
|
3818
|
+
bindings?: unknown[] | undefined;
|
|
3819
|
+
config: {
|
|
3820
|
+
data?: unknown;
|
|
3821
|
+
schema?: string | undefined;
|
|
3822
|
+
};
|
|
3823
|
+
created_at: string;
|
|
3824
|
+
id: string;
|
|
3825
|
+
name: string;
|
|
3826
|
+
parent_id?: string | undefined;
|
|
3827
|
+
revision: number;
|
|
3828
|
+
routes?: {
|
|
3829
|
+
active_policy?: string | undefined;
|
|
3830
|
+
binding: string;
|
|
3831
|
+
config: {
|
|
3832
|
+
data?: unknown;
|
|
3833
|
+
schema?: string | undefined;
|
|
3834
|
+
};
|
|
3835
|
+
handler: string;
|
|
3836
|
+
name: string;
|
|
3837
|
+
}[] | undefined;
|
|
3838
|
+
updated_at: string;
|
|
3839
|
+
};
|
|
3840
|
+
work?: {
|
|
3841
|
+
context: {
|
|
3842
|
+
data?: unknown;
|
|
3843
|
+
schema?: string | undefined;
|
|
3844
|
+
};
|
|
3845
|
+
correlation_keys: {
|
|
3846
|
+
external_id: string;
|
|
3847
|
+
source: string;
|
|
3848
|
+
}[] | null;
|
|
3849
|
+
created_at: string;
|
|
3850
|
+
display?: {
|
|
3851
|
+
links?: {
|
|
3852
|
+
label: string;
|
|
3853
|
+
url: string;
|
|
3854
|
+
}[] | undefined;
|
|
3855
|
+
ref?: string | undefined;
|
|
3856
|
+
requester?: string | undefined;
|
|
3857
|
+
title?: string | undefined;
|
|
3858
|
+
} | undefined;
|
|
3859
|
+
id: string;
|
|
3860
|
+
kind: string;
|
|
3861
|
+
latest_executor?: string | undefined;
|
|
3862
|
+
parent_id?: string | undefined;
|
|
3863
|
+
revision: number;
|
|
3864
|
+
scope_id: string;
|
|
3865
|
+
state: string;
|
|
3866
|
+
updated_at: string;
|
|
3867
|
+
} | undefined;
|
|
3868
|
+
};
|
|
3869
|
+
}>;
|
|
3870
|
+
export type ViewRenderParams = Infer<typeof ViewRenderParams>;
|
|
3871
|
+
export declare const PanelField: import("./schema.js").Type<{
|
|
3872
|
+
name: string;
|
|
3873
|
+
value: string;
|
|
3874
|
+
}>;
|
|
3875
|
+
export type PanelField = Infer<typeof PanelField>;
|
|
3876
|
+
export declare const PanelTable: import("./schema.js").Type<{
|
|
3877
|
+
columns: string[];
|
|
3878
|
+
rows?: string[][] | undefined;
|
|
3879
|
+
}>;
|
|
3880
|
+
export type PanelTable = Infer<typeof PanelTable>;
|
|
3881
|
+
export declare const PanelMessage: import("./schema.js").Type<{
|
|
3882
|
+
at?: string | undefined;
|
|
3883
|
+
choices?: string[] | undefined;
|
|
3884
|
+
chosen?: string | undefined;
|
|
3885
|
+
from: string;
|
|
3886
|
+
label?: string | undefined;
|
|
3887
|
+
text: string;
|
|
3888
|
+
}>;
|
|
3889
|
+
export type PanelMessage = Infer<typeof PanelMessage>;
|
|
3890
|
+
export declare const PanelLink: import("./schema.js").Type<{
|
|
3891
|
+
label: string;
|
|
3892
|
+
url: string;
|
|
3893
|
+
}>;
|
|
3894
|
+
export type PanelLink = Infer<typeof PanelLink>;
|
|
3895
|
+
export declare const PanelSection: import("./schema.js").Type<{
|
|
3896
|
+
actions?: string[] | undefined;
|
|
3897
|
+
fields?: {
|
|
3898
|
+
name: string;
|
|
3899
|
+
value: string;
|
|
3900
|
+
}[] | undefined;
|
|
3901
|
+
links?: {
|
|
3902
|
+
label: string;
|
|
3903
|
+
url: string;
|
|
3904
|
+
}[] | undefined;
|
|
3905
|
+
messages?: {
|
|
3906
|
+
at?: string | undefined;
|
|
3907
|
+
choices?: string[] | undefined;
|
|
3908
|
+
chosen?: string | undefined;
|
|
3909
|
+
from: string;
|
|
3910
|
+
label?: string | undefined;
|
|
3911
|
+
text: string;
|
|
3912
|
+
}[] | undefined;
|
|
3913
|
+
table?: {
|
|
3914
|
+
columns: string[];
|
|
3915
|
+
rows?: string[][] | undefined;
|
|
3916
|
+
} | undefined;
|
|
3917
|
+
text?: string | undefined;
|
|
3918
|
+
title?: string | undefined;
|
|
3919
|
+
}>;
|
|
3920
|
+
export type PanelSection = Infer<typeof PanelSection>;
|
|
3921
|
+
export declare const Panel: import("./schema.js").Type<{
|
|
3922
|
+
id: string;
|
|
3923
|
+
sections: {
|
|
3924
|
+
actions?: string[] | undefined;
|
|
3925
|
+
fields?: {
|
|
3926
|
+
name: string;
|
|
3927
|
+
value: string;
|
|
3928
|
+
}[] | undefined;
|
|
3929
|
+
links?: {
|
|
3930
|
+
label: string;
|
|
3931
|
+
url: string;
|
|
3932
|
+
}[] | undefined;
|
|
3933
|
+
messages?: {
|
|
3934
|
+
at?: string | undefined;
|
|
3935
|
+
choices?: string[] | undefined;
|
|
3936
|
+
chosen?: string | undefined;
|
|
3937
|
+
from: string;
|
|
3938
|
+
label?: string | undefined;
|
|
3939
|
+
text: string;
|
|
3940
|
+
}[] | undefined;
|
|
3941
|
+
table?: {
|
|
3942
|
+
columns: string[];
|
|
3943
|
+
rows?: string[][] | undefined;
|
|
3944
|
+
} | undefined;
|
|
3945
|
+
text?: string | undefined;
|
|
3946
|
+
title?: string | undefined;
|
|
3947
|
+
}[];
|
|
3948
|
+
title: string;
|
|
3949
|
+
}>;
|
|
3950
|
+
export type Panel = Infer<typeof Panel>;
|
|
3951
|
+
export declare const ViewRenderResult: import("./schema.js").Type<{
|
|
3952
|
+
panels?: {
|
|
3953
|
+
id: string;
|
|
3954
|
+
sections: {
|
|
3955
|
+
actions?: string[] | undefined;
|
|
3956
|
+
fields?: {
|
|
3957
|
+
name: string;
|
|
3958
|
+
value: string;
|
|
3959
|
+
}[] | undefined;
|
|
3960
|
+
links?: {
|
|
3961
|
+
label: string;
|
|
3962
|
+
url: string;
|
|
3963
|
+
}[] | undefined;
|
|
3964
|
+
messages?: {
|
|
3965
|
+
at?: string | undefined;
|
|
3966
|
+
choices?: string[] | undefined;
|
|
3967
|
+
chosen?: string | undefined;
|
|
3968
|
+
from: string;
|
|
3969
|
+
label?: string | undefined;
|
|
3970
|
+
text: string;
|
|
3971
|
+
}[] | undefined;
|
|
3972
|
+
table?: {
|
|
3973
|
+
columns: string[];
|
|
3974
|
+
rows?: string[][] | undefined;
|
|
3975
|
+
} | undefined;
|
|
3976
|
+
text?: string | undefined;
|
|
3977
|
+
title?: string | undefined;
|
|
3978
|
+
}[];
|
|
3979
|
+
title: string;
|
|
3980
|
+
}[] | undefined;
|
|
3981
|
+
}>;
|
|
3982
|
+
export type ViewRenderResult = Infer<typeof ViewRenderResult>;
|
|
3983
|
+
export declare const WorkAnnotateParams: import("./schema.js").Type<{
|
|
3984
|
+
work: {
|
|
3985
|
+
context: {
|
|
3986
|
+
data?: unknown;
|
|
3987
|
+
schema?: string | undefined;
|
|
3988
|
+
};
|
|
3989
|
+
correlation_keys: {
|
|
3990
|
+
external_id: string;
|
|
3991
|
+
source: string;
|
|
3992
|
+
}[] | null;
|
|
3993
|
+
created_at: string;
|
|
3994
|
+
display?: {
|
|
3995
|
+
links?: {
|
|
3996
|
+
label: string;
|
|
3997
|
+
url: string;
|
|
3998
|
+
}[] | undefined;
|
|
3999
|
+
ref?: string | undefined;
|
|
4000
|
+
requester?: string | undefined;
|
|
4001
|
+
title?: string | undefined;
|
|
4002
|
+
} | undefined;
|
|
4003
|
+
id: string;
|
|
4004
|
+
kind: string;
|
|
4005
|
+
latest_executor?: string | undefined;
|
|
4006
|
+
parent_id?: string | undefined;
|
|
4007
|
+
revision: number;
|
|
4008
|
+
scope_id: string;
|
|
4009
|
+
state: string;
|
|
4010
|
+
updated_at: string;
|
|
4011
|
+
};
|
|
4012
|
+
}>;
|
|
4013
|
+
export type WorkAnnotateParams = Infer<typeof WorkAnnotateParams>;
|
|
4014
|
+
export declare const Annotation: import("./schema.js").Type<{
|
|
4015
|
+
name: string;
|
|
4016
|
+
value: string;
|
|
4017
|
+
}>;
|
|
4018
|
+
export type Annotation = Infer<typeof Annotation>;
|
|
4019
|
+
export declare const WorkAnnotateResult: import("./schema.js").Type<{
|
|
4020
|
+
annotations?: {
|
|
4021
|
+
name: string;
|
|
4022
|
+
value: string;
|
|
4023
|
+
}[] | undefined;
|
|
4024
|
+
}>;
|
|
4025
|
+
export type WorkAnnotateResult = Infer<typeof WorkAnnotateResult>;
|
|
4026
|
+
export declare const ProbeArg: import("./schema.js").Type<{
|
|
4027
|
+
connection?: boolean | undefined;
|
|
4028
|
+
name: string;
|
|
4029
|
+
required?: boolean | undefined;
|
|
4030
|
+
summary?: string | undefined;
|
|
4031
|
+
}>;
|
|
4032
|
+
export type ProbeArg = Infer<typeof ProbeArg>;
|
|
4033
|
+
export declare const ProbeInfo: import("./schema.js").Type<{
|
|
4034
|
+
args?: {
|
|
4035
|
+
connection?: boolean | undefined;
|
|
4036
|
+
name: string;
|
|
4037
|
+
required?: boolean | undefined;
|
|
4038
|
+
summary?: string | undefined;
|
|
4039
|
+
}[] | undefined;
|
|
4040
|
+
name: string;
|
|
4041
|
+
summary: string;
|
|
4042
|
+
}>;
|
|
4043
|
+
export type ProbeInfo = Infer<typeof ProbeInfo>;
|
|
4044
|
+
export declare const ProbeRunParams: import("./schema.js").Type<{
|
|
4045
|
+
args?: Record<string, string> | undefined;
|
|
4046
|
+
connection?: {
|
|
4047
|
+
config?: unknown;
|
|
4048
|
+
id: string;
|
|
4049
|
+
secrets?: string[] | undefined;
|
|
4050
|
+
type: string;
|
|
4051
|
+
} | undefined;
|
|
4052
|
+
grant?: string | undefined;
|
|
4053
|
+
name: string;
|
|
4054
|
+
scope_id?: string | undefined;
|
|
4055
|
+
}>;
|
|
4056
|
+
export type ProbeRunParams = Infer<typeof ProbeRunParams>;
|
|
4057
|
+
export declare const ProbeRunResult: import("./schema.js").Type<{
|
|
4058
|
+
command?: string | undefined;
|
|
4059
|
+
error?: string | undefined;
|
|
4060
|
+
output?: unknown;
|
|
4061
|
+
}>;
|
|
4062
|
+
export type ProbeRunResult = Infer<typeof ProbeRunResult>;
|
|
4063
|
+
/** A page the extension contributes to the operator's web view (extension.Page). */
|
|
4064
|
+
export declare const PageDecl: import("./schema.js").Type<{
|
|
4065
|
+
compose?: string[] | undefined;
|
|
4066
|
+
entry: string;
|
|
4067
|
+
id: string;
|
|
4068
|
+
route?: string | undefined;
|
|
4069
|
+
start: string;
|
|
4070
|
+
summary?: string | undefined;
|
|
4071
|
+
title: string;
|
|
4072
|
+
work_kind: string;
|
|
4073
|
+
}>;
|
|
4074
|
+
export type PageDecl = Infer<typeof PageDecl>;
|
|
4075
|
+
/** An `open-conduit init <type>` flow (manifest setup). */
|
|
4076
|
+
export declare const SetupDecl: import("./schema.js").Type<{
|
|
4077
|
+
first_run?: boolean | undefined;
|
|
4078
|
+
summary: string;
|
|
4079
|
+
type: string;
|
|
4080
|
+
usage?: string | undefined;
|
|
4081
|
+
}>;
|
|
4082
|
+
export type SetupDecl = Infer<typeof SetupDecl>;
|
|
4083
|
+
export declare const Provides: import("./schema.js").Type<{
|
|
4084
|
+
actions?: boolean | undefined;
|
|
4085
|
+
annotate?: boolean | undefined;
|
|
4086
|
+
backup_destinations?: {
|
|
4087
|
+
fields?: {
|
|
4088
|
+
default?: string | undefined;
|
|
4089
|
+
help?: string | undefined;
|
|
4090
|
+
name: string;
|
|
4091
|
+
options?: string[] | undefined;
|
|
4092
|
+
required?: boolean | undefined;
|
|
4093
|
+
secret?: boolean | undefined;
|
|
4094
|
+
}[] | undefined;
|
|
4095
|
+
type: string;
|
|
4096
|
+
}[] | undefined;
|
|
4097
|
+
checks?: {
|
|
4098
|
+
deep?: boolean | undefined;
|
|
4099
|
+
name: string;
|
|
4100
|
+
}[] | undefined;
|
|
4101
|
+
config_candidate?: boolean | undefined;
|
|
4102
|
+
containers?: {
|
|
4103
|
+
collect?: boolean | undefined;
|
|
4104
|
+
forward?: boolean | undefined;
|
|
4105
|
+
place?: boolean | undefined;
|
|
4106
|
+
probe?: boolean | undefined;
|
|
4107
|
+
reattach?: boolean | undefined;
|
|
4108
|
+
type: string;
|
|
4109
|
+
}[] | undefined;
|
|
4110
|
+
dependency_filter?: boolean | undefined;
|
|
4111
|
+
entry_named?: boolean | undefined;
|
|
4112
|
+
executors?: {
|
|
4113
|
+
capabilities: {
|
|
4114
|
+
container?: boolean | undefined;
|
|
4115
|
+
inject?: boolean | undefined;
|
|
4116
|
+
interrupt?: boolean | undefined;
|
|
4117
|
+
no_process?: boolean | undefined;
|
|
4118
|
+
resume?: boolean | undefined;
|
|
4119
|
+
sandbox?: boolean | undefined;
|
|
4120
|
+
toolbelt: string;
|
|
4121
|
+
workspace?: boolean | undefined;
|
|
4122
|
+
};
|
|
4123
|
+
controls?: {
|
|
4124
|
+
attach?: boolean | undefined;
|
|
4125
|
+
container_attach?: boolean | undefined;
|
|
4126
|
+
forget?: boolean | undefined;
|
|
4127
|
+
interactive_launch?: boolean | undefined;
|
|
4128
|
+
live?: boolean | undefined;
|
|
4129
|
+
stop?: boolean | undefined;
|
|
4130
|
+
sweep?: boolean | undefined;
|
|
4131
|
+
} | undefined;
|
|
4132
|
+
fields?: {
|
|
4133
|
+
default?: string | undefined;
|
|
4134
|
+
help?: string | undefined;
|
|
4135
|
+
name: string;
|
|
4136
|
+
options?: string[] | undefined;
|
|
4137
|
+
required?: boolean | undefined;
|
|
4138
|
+
secret?: boolean | undefined;
|
|
4139
|
+
}[] | undefined;
|
|
4140
|
+
folder_config?: boolean | undefined;
|
|
4141
|
+
launch_names?: string[] | undefined;
|
|
4142
|
+
name: string;
|
|
4143
|
+
playbook?: boolean | undefined;
|
|
4144
|
+
pool?: string | undefined;
|
|
4145
|
+
resource_mode?: boolean | undefined;
|
|
4146
|
+
version_probe?: boolean | undefined;
|
|
4147
|
+
}[] | undefined;
|
|
4148
|
+
exporters?: boolean | undefined;
|
|
4149
|
+
extensions?: {
|
|
4150
|
+
ingress?: boolean | undefined;
|
|
4151
|
+
type: string;
|
|
4152
|
+
}[] | undefined;
|
|
4153
|
+
families?: {
|
|
4154
|
+
loss?: string | undefined;
|
|
4155
|
+
re_derivable: boolean;
|
|
4156
|
+
sealed?: boolean | undefined;
|
|
4157
|
+
type: string;
|
|
4158
|
+
}[] | undefined;
|
|
4159
|
+
operation_gate?: boolean | undefined;
|
|
4160
|
+
operations?: {
|
|
4161
|
+
commit?: boolean | undefined;
|
|
4162
|
+
guidance?: string | undefined;
|
|
4163
|
+
input?: Record<string, unknown> | undefined;
|
|
4164
|
+
kind: "emit" | "handler" | "wait";
|
|
4165
|
+
name: string;
|
|
4166
|
+
serves?: string | undefined;
|
|
4167
|
+
summary?: string | undefined;
|
|
4168
|
+
wants?: string | undefined;
|
|
4169
|
+
}[] | undefined;
|
|
4170
|
+
pages?: {
|
|
4171
|
+
compose?: string[] | undefined;
|
|
4172
|
+
entry: string;
|
|
4173
|
+
id: string;
|
|
4174
|
+
route?: string | undefined;
|
|
4175
|
+
start: string;
|
|
4176
|
+
summary?: string | undefined;
|
|
4177
|
+
title: string;
|
|
4178
|
+
work_kind: string;
|
|
4179
|
+
}[] | undefined;
|
|
4180
|
+
panels?: boolean | undefined;
|
|
4181
|
+
playbooks?: string | undefined;
|
|
4182
|
+
probes?: {
|
|
4183
|
+
args?: {
|
|
4184
|
+
connection?: boolean | undefined;
|
|
4185
|
+
name: string;
|
|
4186
|
+
required?: boolean | undefined;
|
|
4187
|
+
summary?: string | undefined;
|
|
4188
|
+
}[] | undefined;
|
|
4189
|
+
name: string;
|
|
4190
|
+
summary: string;
|
|
4191
|
+
}[] | undefined;
|
|
4192
|
+
recurrences?: string[] | undefined;
|
|
4193
|
+
render?: boolean | undefined;
|
|
4194
|
+
resources?: {
|
|
4195
|
+
fields?: {
|
|
4196
|
+
default?: string | undefined;
|
|
4197
|
+
help?: string | undefined;
|
|
4198
|
+
name: string;
|
|
4199
|
+
options?: string[] | undefined;
|
|
4200
|
+
required?: boolean | undefined;
|
|
4201
|
+
secret?: boolean | undefined;
|
|
4202
|
+
}[] | undefined;
|
|
4203
|
+
mode_default?: boolean | undefined;
|
|
4204
|
+
modes: string[];
|
|
4205
|
+
sandbox?: boolean | undefined;
|
|
4206
|
+
settings?: {
|
|
4207
|
+
default?: unknown;
|
|
4208
|
+
field: string;
|
|
4209
|
+
type: string;
|
|
4210
|
+
}[] | undefined;
|
|
4211
|
+
sites?: boolean | undefined;
|
|
4212
|
+
sweep?: boolean | undefined;
|
|
4213
|
+
type: string;
|
|
4214
|
+
unsaved?: boolean | undefined;
|
|
4215
|
+
}[] | undefined;
|
|
4216
|
+
routes?: {
|
|
4217
|
+
config?: boolean | undefined;
|
|
4218
|
+
handler: string;
|
|
4219
|
+
samples?: boolean | undefined;
|
|
4220
|
+
}[] | undefined;
|
|
4221
|
+
run_environment?: boolean | undefined;
|
|
4222
|
+
sandboxes?: {
|
|
4223
|
+
type: string;
|
|
4224
|
+
}[] | undefined;
|
|
4225
|
+
schemas?: {
|
|
4226
|
+
name: string;
|
|
4227
|
+
versions: number[];
|
|
4228
|
+
}[] | undefined;
|
|
4229
|
+
secret_actions?: boolean | undefined;
|
|
4230
|
+
secret_schemes?: {
|
|
4231
|
+
scheme: string;
|
|
4232
|
+
summary?: string | undefined;
|
|
4233
|
+
writable?: boolean | undefined;
|
|
4234
|
+
}[] | undefined;
|
|
4235
|
+
segment_end?: boolean | undefined;
|
|
4236
|
+
setup?: {
|
|
4237
|
+
first_run?: boolean | undefined;
|
|
4238
|
+
summary: string;
|
|
4239
|
+
type: string;
|
|
4240
|
+
usage?: string | undefined;
|
|
4241
|
+
} | undefined;
|
|
4242
|
+
start_gate?: boolean | undefined;
|
|
4243
|
+
targets?: string[] | undefined;
|
|
4244
|
+
tasks?: {
|
|
4245
|
+
interval_seconds: number;
|
|
4246
|
+
name: string;
|
|
4247
|
+
}[] | undefined;
|
|
4248
|
+
toolsets?: {
|
|
4249
|
+
name: string;
|
|
4250
|
+
operations: {
|
|
4251
|
+
name: string;
|
|
4252
|
+
since?: number | undefined;
|
|
4253
|
+
}[];
|
|
4254
|
+
summary?: string | undefined;
|
|
4255
|
+
}[] | undefined;
|
|
4256
|
+
tunnels?: {
|
|
4257
|
+
fields?: {
|
|
4258
|
+
default?: string | undefined;
|
|
4259
|
+
help?: string | undefined;
|
|
4260
|
+
name: string;
|
|
4261
|
+
options?: string[] | undefined;
|
|
4262
|
+
required?: boolean | undefined;
|
|
4263
|
+
secret?: boolean | undefined;
|
|
4264
|
+
}[] | undefined;
|
|
4265
|
+
type: string;
|
|
4266
|
+
}[] | undefined;
|
|
4267
|
+
verifiers?: {
|
|
4268
|
+
fields?: {
|
|
4269
|
+
default?: string | undefined;
|
|
4270
|
+
help?: string | undefined;
|
|
4271
|
+
name: string;
|
|
4272
|
+
options?: string[] | undefined;
|
|
4273
|
+
required?: boolean | undefined;
|
|
4274
|
+
secret?: boolean | undefined;
|
|
4275
|
+
}[] | undefined;
|
|
4276
|
+
type: string;
|
|
4277
|
+
}[] | undefined;
|
|
4278
|
+
webhook_max_bytes?: number | undefined;
|
|
4279
|
+
webhooks?: boolean | undefined;
|
|
4280
|
+
work_kinds?: {
|
|
4281
|
+
kind: string;
|
|
4282
|
+
run_once?: boolean | undefined;
|
|
4283
|
+
standing?: boolean | undefined;
|
|
4284
|
+
timed?: boolean | undefined;
|
|
4285
|
+
trigger?: boolean | undefined;
|
|
4286
|
+
}[] | undefined;
|
|
4287
|
+
}>;
|
|
4288
|
+
export type Provides = Infer<typeof Provides>;
|
|
1491
4289
|
export declare const Manifest: import("./schema.js").Type<{
|
|
1492
4290
|
command: string[];
|
|
1493
4291
|
kv_version?: number | undefined;
|
|
@@ -1495,153 +4293,1067 @@ export declare const Manifest: import("./schema.js").Type<{
|
|
|
1495
4293
|
permissions?: string[] | undefined;
|
|
1496
4294
|
protocol: number[];
|
|
1497
4295
|
provides: {
|
|
4296
|
+
actions?: boolean | undefined;
|
|
4297
|
+
annotate?: boolean | undefined;
|
|
4298
|
+
backup_destinations?: {
|
|
4299
|
+
fields?: {
|
|
4300
|
+
default?: string | undefined;
|
|
4301
|
+
help?: string | undefined;
|
|
4302
|
+
name: string;
|
|
4303
|
+
options?: string[] | undefined;
|
|
4304
|
+
required?: boolean | undefined;
|
|
4305
|
+
secret?: boolean | undefined;
|
|
4306
|
+
}[] | undefined;
|
|
4307
|
+
type: string;
|
|
4308
|
+
}[] | undefined;
|
|
1498
4309
|
checks?: {
|
|
1499
4310
|
deep?: boolean | undefined;
|
|
1500
4311
|
name: string;
|
|
1501
4312
|
}[] | undefined;
|
|
1502
|
-
|
|
1503
|
-
|
|
4313
|
+
config_candidate?: boolean | undefined;
|
|
4314
|
+
containers?: {
|
|
4315
|
+
collect?: boolean | undefined;
|
|
4316
|
+
forward?: boolean | undefined;
|
|
4317
|
+
place?: boolean | undefined;
|
|
4318
|
+
probe?: boolean | undefined;
|
|
4319
|
+
reattach?: boolean | undefined;
|
|
4320
|
+
type: string;
|
|
4321
|
+
}[] | undefined;
|
|
4322
|
+
dependency_filter?: boolean | undefined;
|
|
4323
|
+
entry_named?: boolean | undefined;
|
|
4324
|
+
executors?: {
|
|
4325
|
+
capabilities: {
|
|
4326
|
+
container?: boolean | undefined;
|
|
4327
|
+
inject?: boolean | undefined;
|
|
4328
|
+
interrupt?: boolean | undefined;
|
|
4329
|
+
no_process?: boolean | undefined;
|
|
4330
|
+
resume?: boolean | undefined;
|
|
4331
|
+
sandbox?: boolean | undefined;
|
|
4332
|
+
toolbelt: string;
|
|
4333
|
+
workspace?: boolean | undefined;
|
|
4334
|
+
};
|
|
4335
|
+
controls?: {
|
|
4336
|
+
attach?: boolean | undefined;
|
|
4337
|
+
container_attach?: boolean | undefined;
|
|
4338
|
+
forget?: boolean | undefined;
|
|
4339
|
+
interactive_launch?: boolean | undefined;
|
|
4340
|
+
live?: boolean | undefined;
|
|
4341
|
+
stop?: boolean | undefined;
|
|
4342
|
+
sweep?: boolean | undefined;
|
|
4343
|
+
} | undefined;
|
|
4344
|
+
fields?: {
|
|
4345
|
+
default?: string | undefined;
|
|
4346
|
+
help?: string | undefined;
|
|
4347
|
+
name: string;
|
|
4348
|
+
options?: string[] | undefined;
|
|
4349
|
+
required?: boolean | undefined;
|
|
4350
|
+
secret?: boolean | undefined;
|
|
4351
|
+
}[] | undefined;
|
|
4352
|
+
folder_config?: boolean | undefined;
|
|
4353
|
+
launch_names?: string[] | undefined;
|
|
4354
|
+
name: string;
|
|
4355
|
+
playbook?: boolean | undefined;
|
|
4356
|
+
pool?: string | undefined;
|
|
4357
|
+
resource_mode?: boolean | undefined;
|
|
4358
|
+
version_probe?: boolean | undefined;
|
|
4359
|
+
}[] | undefined;
|
|
4360
|
+
exporters?: boolean | undefined;
|
|
4361
|
+
extensions?: {
|
|
4362
|
+
ingress?: boolean | undefined;
|
|
4363
|
+
type: string;
|
|
4364
|
+
}[] | undefined;
|
|
4365
|
+
families?: {
|
|
4366
|
+
loss?: string | undefined;
|
|
4367
|
+
re_derivable: boolean;
|
|
4368
|
+
sealed?: boolean | undefined;
|
|
4369
|
+
type: string;
|
|
4370
|
+
}[] | undefined;
|
|
4371
|
+
operation_gate?: boolean | undefined;
|
|
4372
|
+
operations?: {
|
|
4373
|
+
commit?: boolean | undefined;
|
|
4374
|
+
guidance?: string | undefined;
|
|
4375
|
+
input?: Record<string, unknown> | undefined;
|
|
4376
|
+
kind: "emit" | "handler" | "wait";
|
|
4377
|
+
name: string;
|
|
4378
|
+
serves?: string | undefined;
|
|
4379
|
+
summary?: string | undefined;
|
|
4380
|
+
wants?: string | undefined;
|
|
4381
|
+
}[] | undefined;
|
|
4382
|
+
pages?: {
|
|
4383
|
+
compose?: string[] | undefined;
|
|
4384
|
+
entry: string;
|
|
4385
|
+
id: string;
|
|
4386
|
+
route?: string | undefined;
|
|
4387
|
+
start: string;
|
|
4388
|
+
summary?: string | undefined;
|
|
4389
|
+
title: string;
|
|
4390
|
+
work_kind: string;
|
|
4391
|
+
}[] | undefined;
|
|
4392
|
+
panels?: boolean | undefined;
|
|
4393
|
+
playbooks?: string | undefined;
|
|
4394
|
+
probes?: {
|
|
4395
|
+
args?: {
|
|
4396
|
+
connection?: boolean | undefined;
|
|
4397
|
+
name: string;
|
|
4398
|
+
required?: boolean | undefined;
|
|
4399
|
+
summary?: string | undefined;
|
|
4400
|
+
}[] | undefined;
|
|
4401
|
+
name: string;
|
|
4402
|
+
summary: string;
|
|
4403
|
+
}[] | undefined;
|
|
4404
|
+
recurrences?: string[] | undefined;
|
|
4405
|
+
render?: boolean | undefined;
|
|
4406
|
+
resources?: {
|
|
4407
|
+
fields?: {
|
|
4408
|
+
default?: string | undefined;
|
|
4409
|
+
help?: string | undefined;
|
|
4410
|
+
name: string;
|
|
4411
|
+
options?: string[] | undefined;
|
|
4412
|
+
required?: boolean | undefined;
|
|
4413
|
+
secret?: boolean | undefined;
|
|
4414
|
+
}[] | undefined;
|
|
4415
|
+
mode_default?: boolean | undefined;
|
|
4416
|
+
modes: string[];
|
|
4417
|
+
sandbox?: boolean | undefined;
|
|
4418
|
+
settings?: {
|
|
4419
|
+
default?: unknown;
|
|
4420
|
+
field: string;
|
|
4421
|
+
type: string;
|
|
4422
|
+
}[] | undefined;
|
|
4423
|
+
sites?: boolean | undefined;
|
|
4424
|
+
sweep?: boolean | undefined;
|
|
4425
|
+
type: string;
|
|
4426
|
+
unsaved?: boolean | undefined;
|
|
4427
|
+
}[] | undefined;
|
|
4428
|
+
routes?: {
|
|
4429
|
+
config?: boolean | undefined;
|
|
4430
|
+
handler: string;
|
|
4431
|
+
samples?: boolean | undefined;
|
|
4432
|
+
}[] | undefined;
|
|
4433
|
+
run_environment?: boolean | undefined;
|
|
4434
|
+
sandboxes?: {
|
|
4435
|
+
type: string;
|
|
4436
|
+
}[] | undefined;
|
|
4437
|
+
schemas?: {
|
|
4438
|
+
name: string;
|
|
4439
|
+
versions: number[];
|
|
4440
|
+
}[] | undefined;
|
|
4441
|
+
secret_actions?: boolean | undefined;
|
|
4442
|
+
secret_schemes?: {
|
|
4443
|
+
scheme: string;
|
|
4444
|
+
summary?: string | undefined;
|
|
4445
|
+
writable?: boolean | undefined;
|
|
4446
|
+
}[] | undefined;
|
|
4447
|
+
segment_end?: boolean | undefined;
|
|
4448
|
+
setup?: {
|
|
4449
|
+
first_run?: boolean | undefined;
|
|
4450
|
+
summary: string;
|
|
4451
|
+
type: string;
|
|
4452
|
+
usage?: string | undefined;
|
|
4453
|
+
} | undefined;
|
|
4454
|
+
start_gate?: boolean | undefined;
|
|
4455
|
+
targets?: string[] | undefined;
|
|
4456
|
+
tasks?: {
|
|
4457
|
+
interval_seconds: number;
|
|
4458
|
+
name: string;
|
|
4459
|
+
}[] | undefined;
|
|
4460
|
+
toolsets?: {
|
|
4461
|
+
name: string;
|
|
4462
|
+
operations: {
|
|
4463
|
+
name: string;
|
|
4464
|
+
since?: number | undefined;
|
|
4465
|
+
}[];
|
|
4466
|
+
summary?: string | undefined;
|
|
4467
|
+
}[] | undefined;
|
|
4468
|
+
tunnels?: {
|
|
4469
|
+
fields?: {
|
|
4470
|
+
default?: string | undefined;
|
|
4471
|
+
help?: string | undefined;
|
|
4472
|
+
name: string;
|
|
4473
|
+
options?: string[] | undefined;
|
|
4474
|
+
required?: boolean | undefined;
|
|
4475
|
+
secret?: boolean | undefined;
|
|
4476
|
+
}[] | undefined;
|
|
4477
|
+
type: string;
|
|
4478
|
+
}[] | undefined;
|
|
4479
|
+
verifiers?: {
|
|
4480
|
+
fields?: {
|
|
4481
|
+
default?: string | undefined;
|
|
4482
|
+
help?: string | undefined;
|
|
4483
|
+
name: string;
|
|
4484
|
+
options?: string[] | undefined;
|
|
4485
|
+
required?: boolean | undefined;
|
|
4486
|
+
secret?: boolean | undefined;
|
|
4487
|
+
}[] | undefined;
|
|
4488
|
+
type: string;
|
|
4489
|
+
}[] | undefined;
|
|
4490
|
+
webhook_max_bytes?: number | undefined;
|
|
4491
|
+
webhooks?: boolean | undefined;
|
|
4492
|
+
work_kinds?: {
|
|
4493
|
+
kind: string;
|
|
4494
|
+
run_once?: boolean | undefined;
|
|
4495
|
+
standing?: boolean | undefined;
|
|
4496
|
+
timed?: boolean | undefined;
|
|
4497
|
+
trigger?: boolean | undefined;
|
|
4498
|
+
}[] | undefined;
|
|
4499
|
+
};
|
|
4500
|
+
summary?: string | undefined;
|
|
4501
|
+
title?: string | undefined;
|
|
4502
|
+
version: string;
|
|
4503
|
+
}>;
|
|
4504
|
+
export type Manifest = Infer<typeof Manifest>;
|
|
4505
|
+
export declare const OperationCase: import("./schema.js").Type<{
|
|
4506
|
+
error?: string | undefined;
|
|
4507
|
+
input: {
|
|
4508
|
+
data?: unknown;
|
|
4509
|
+
schema?: string | undefined;
|
|
4510
|
+
};
|
|
4511
|
+
operation: string;
|
|
4512
|
+
output?: {
|
|
4513
|
+
data?: unknown;
|
|
4514
|
+
schema?: string | undefined;
|
|
4515
|
+
} | undefined;
|
|
4516
|
+
}>;
|
|
4517
|
+
export type OperationCase = Infer<typeof OperationCase>;
|
|
4518
|
+
/**
|
|
4519
|
+
* An issuer config of a declared credential verifier type and whether
|
|
4520
|
+
* validate (kind verifier) must refuse it; under an accepted one,
|
|
4521
|
+
* credential.verify must refuse each of refused_tokens, and the runner adds
|
|
4522
|
+
* one that is no credential at all (verifiers.policy).
|
|
4523
|
+
*/
|
|
4524
|
+
export declare const VerifierCase: import("./schema.js").Type<{
|
|
4525
|
+
config?: unknown;
|
|
4526
|
+
refused?: boolean | undefined;
|
|
4527
|
+
refused_tokens?: string[] | undefined;
|
|
4528
|
+
type: string;
|
|
4529
|
+
}>;
|
|
4530
|
+
export type VerifierCase = Infer<typeof VerifierCase>;
|
|
4531
|
+
/** A whole container config of a declared container type and whether validate (kind container) must refuse it (containers.policy). */
|
|
4532
|
+
export declare const ContainerCase: import("./schema.js").Type<{
|
|
4533
|
+
config?: unknown;
|
|
4534
|
+
refused?: boolean | undefined;
|
|
4535
|
+
type: string;
|
|
4536
|
+
}>;
|
|
4537
|
+
export type ContainerCase = Infer<typeof ContainerCase>;
|
|
4538
|
+
/**
|
|
4539
|
+
* A resource config and the answers config check must get for it
|
|
4540
|
+
* (resources.workspace): mode_default, the mode validate resource_mode
|
|
4541
|
+
* names, and sandbox_refused, whether validate resource_sandbox refuses it
|
|
4542
|
+
* for a binding whose executor requests mode.
|
|
4543
|
+
*/
|
|
4544
|
+
export declare const ResourceCase: import("./schema.js").Type<{
|
|
4545
|
+
config?: unknown;
|
|
4546
|
+
mode?: string | undefined;
|
|
4547
|
+
mode_default?: string | undefined;
|
|
4548
|
+
sandbox_refused?: boolean | undefined;
|
|
4549
|
+
type: string;
|
|
4550
|
+
}>;
|
|
4551
|
+
export type ResourceCase = Infer<typeof ResourceCase>;
|
|
4552
|
+
/** A sandbox config of a declared sandbox type and whether validate (kind sandbox) must refuse it (sandboxes.policy). */
|
|
4553
|
+
export declare const SandboxCase: import("./schema.js").Type<{
|
|
4554
|
+
config?: unknown;
|
|
4555
|
+
refused?: boolean | undefined;
|
|
4556
|
+
type: string;
|
|
4557
|
+
}>;
|
|
4558
|
+
export type SandboxCase = Infer<typeof SandboxCase>;
|
|
4559
|
+
/** A tunnel config of a declared tunnel type and whether validate (kind tunnel) must refuse it (tunnels.policy). */
|
|
4560
|
+
export declare const TunnelCase: import("./schema.js").Type<{
|
|
4561
|
+
config?: unknown;
|
|
4562
|
+
refused?: boolean | undefined;
|
|
4563
|
+
type: string;
|
|
4564
|
+
}>;
|
|
4565
|
+
export type TunnelCase = Infer<typeof TunnelCase>;
|
|
4566
|
+
/** The binding config an attempt of executor.conformance runs with; it must finish on its own. */
|
|
4567
|
+
export declare const ExecutorCase: import("./schema.js").Type<{
|
|
4568
|
+
config: {
|
|
4569
|
+
data?: unknown;
|
|
4570
|
+
schema?: string | undefined;
|
|
4571
|
+
};
|
|
4572
|
+
executor: string;
|
|
4573
|
+
}>;
|
|
4574
|
+
export type ExecutorCase = Infer<typeof ExecutorCase>;
|
|
4575
|
+
/**
|
|
4576
|
+
* The binding config executor.inject runs an attempt with: it runs until
|
|
4577
|
+
* the runner creates finish_file, and takes input once ready_file exists
|
|
4578
|
+
* ({state} is the extension's state directory).
|
|
4579
|
+
*/
|
|
4580
|
+
export declare const InjectCase: import("./schema.js").Type<{
|
|
4581
|
+
config: {
|
|
4582
|
+
data?: unknown;
|
|
4583
|
+
schema?: string | undefined;
|
|
4584
|
+
};
|
|
4585
|
+
executor: string;
|
|
4586
|
+
finish_file: string;
|
|
4587
|
+
ready_file?: string | undefined;
|
|
4588
|
+
}>;
|
|
4589
|
+
export type InjectCase = Infer<typeof InjectCase>;
|
|
4590
|
+
export declare const Fixture: import("./schema.js").Type<{
|
|
4591
|
+
containers?: {
|
|
4592
|
+
config?: unknown;
|
|
4593
|
+
refused?: boolean | undefined;
|
|
4594
|
+
type: string;
|
|
4595
|
+
}[] | undefined;
|
|
4596
|
+
entries?: {
|
|
4597
|
+
binding_connections?: {
|
|
4598
|
+
config?: unknown;
|
|
4599
|
+
id: string;
|
|
4600
|
+
secrets?: string[] | undefined;
|
|
4601
|
+
type: string;
|
|
4602
|
+
}[] | undefined;
|
|
4603
|
+
config?: unknown;
|
|
4604
|
+
connection?: {
|
|
4605
|
+
config?: unknown;
|
|
4606
|
+
id: string;
|
|
4607
|
+
secrets?: string[] | undefined;
|
|
4608
|
+
type: string;
|
|
4609
|
+
} | undefined;
|
|
4610
|
+
name?: string | undefined;
|
|
4611
|
+
scope_id: string;
|
|
4612
|
+
secrets?: string[] | undefined;
|
|
4613
|
+
type: string;
|
|
4614
|
+
}[] | undefined;
|
|
4615
|
+
executor?: {
|
|
4616
|
+
config: {
|
|
4617
|
+
data?: unknown;
|
|
4618
|
+
schema?: string | undefined;
|
|
4619
|
+
};
|
|
4620
|
+
executor: string;
|
|
4621
|
+
} | undefined;
|
|
4622
|
+
inject?: {
|
|
4623
|
+
config: {
|
|
4624
|
+
data?: unknown;
|
|
4625
|
+
schema?: string | undefined;
|
|
4626
|
+
};
|
|
4627
|
+
executor: string;
|
|
4628
|
+
finish_file: string;
|
|
4629
|
+
ready_file?: string | undefined;
|
|
4630
|
+
} | undefined;
|
|
4631
|
+
operations?: {
|
|
4632
|
+
error?: string | undefined;
|
|
4633
|
+
input: {
|
|
4634
|
+
data?: unknown;
|
|
4635
|
+
schema?: string | undefined;
|
|
4636
|
+
};
|
|
4637
|
+
operation: string;
|
|
4638
|
+
output?: {
|
|
4639
|
+
data?: unknown;
|
|
4640
|
+
schema?: string | undefined;
|
|
4641
|
+
} | undefined;
|
|
4642
|
+
}[] | undefined;
|
|
4643
|
+
resources?: {
|
|
4644
|
+
config?: unknown;
|
|
4645
|
+
mode?: string | undefined;
|
|
4646
|
+
mode_default?: string | undefined;
|
|
4647
|
+
sandbox_refused?: boolean | undefined;
|
|
4648
|
+
type: string;
|
|
4649
|
+
}[] | undefined;
|
|
4650
|
+
sandboxes?: {
|
|
4651
|
+
config?: unknown;
|
|
4652
|
+
refused?: boolean | undefined;
|
|
4653
|
+
type: string;
|
|
4654
|
+
}[] | undefined;
|
|
4655
|
+
scopes?: string[] | undefined;
|
|
4656
|
+
secrets?: Record<string, string> | undefined;
|
|
4657
|
+
tunnels?: {
|
|
4658
|
+
config?: unknown;
|
|
4659
|
+
refused?: boolean | undefined;
|
|
4660
|
+
type: string;
|
|
4661
|
+
}[] | undefined;
|
|
4662
|
+
verifiers?: {
|
|
4663
|
+
config?: unknown;
|
|
4664
|
+
refused?: boolean | undefined;
|
|
4665
|
+
refused_tokens?: string[] | undefined;
|
|
4666
|
+
type: string;
|
|
4667
|
+
}[] | undefined;
|
|
4668
|
+
}>;
|
|
4669
|
+
export type Fixture = Infer<typeof Fixture>;
|
|
4670
|
+
/** A package's certification.json: the fixture `extension certify` runs. */
|
|
4671
|
+
export declare const CertificationFile: import("./schema.js").Type<{
|
|
4672
|
+
command?: string[] | undefined;
|
|
4673
|
+
fixture?: {
|
|
4674
|
+
containers?: {
|
|
4675
|
+
config?: unknown;
|
|
4676
|
+
refused?: boolean | undefined;
|
|
4677
|
+
type: string;
|
|
4678
|
+
}[] | undefined;
|
|
4679
|
+
entries?: {
|
|
4680
|
+
binding_connections?: {
|
|
4681
|
+
config?: unknown;
|
|
4682
|
+
id: string;
|
|
4683
|
+
secrets?: string[] | undefined;
|
|
4684
|
+
type: string;
|
|
4685
|
+
}[] | undefined;
|
|
4686
|
+
config?: unknown;
|
|
4687
|
+
connection?: {
|
|
4688
|
+
config?: unknown;
|
|
4689
|
+
id: string;
|
|
4690
|
+
secrets?: string[] | undefined;
|
|
4691
|
+
type: string;
|
|
4692
|
+
} | undefined;
|
|
4693
|
+
name?: string | undefined;
|
|
4694
|
+
scope_id: string;
|
|
4695
|
+
secrets?: string[] | undefined;
|
|
4696
|
+
type: string;
|
|
4697
|
+
}[] | undefined;
|
|
4698
|
+
executor?: {
|
|
4699
|
+
config: {
|
|
4700
|
+
data?: unknown;
|
|
4701
|
+
schema?: string | undefined;
|
|
4702
|
+
};
|
|
4703
|
+
executor: string;
|
|
4704
|
+
} | undefined;
|
|
4705
|
+
inject?: {
|
|
4706
|
+
config: {
|
|
4707
|
+
data?: unknown;
|
|
4708
|
+
schema?: string | undefined;
|
|
4709
|
+
};
|
|
4710
|
+
executor: string;
|
|
4711
|
+
finish_file: string;
|
|
4712
|
+
ready_file?: string | undefined;
|
|
4713
|
+
} | undefined;
|
|
4714
|
+
operations?: {
|
|
4715
|
+
error?: string | undefined;
|
|
4716
|
+
input: {
|
|
4717
|
+
data?: unknown;
|
|
4718
|
+
schema?: string | undefined;
|
|
4719
|
+
};
|
|
4720
|
+
operation: string;
|
|
4721
|
+
output?: {
|
|
4722
|
+
data?: unknown;
|
|
4723
|
+
schema?: string | undefined;
|
|
4724
|
+
} | undefined;
|
|
4725
|
+
}[] | undefined;
|
|
4726
|
+
resources?: {
|
|
4727
|
+
config?: unknown;
|
|
4728
|
+
mode?: string | undefined;
|
|
4729
|
+
mode_default?: string | undefined;
|
|
4730
|
+
sandbox_refused?: boolean | undefined;
|
|
1504
4731
|
type: string;
|
|
1505
4732
|
}[] | undefined;
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
sealed?: boolean | undefined;
|
|
4733
|
+
sandboxes?: {
|
|
4734
|
+
config?: unknown;
|
|
4735
|
+
refused?: boolean | undefined;
|
|
1510
4736
|
type: string;
|
|
1511
4737
|
}[] | undefined;
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
serves?: string | undefined;
|
|
1519
|
-
summary?: string | undefined;
|
|
1520
|
-
wants?: string | undefined;
|
|
1521
|
-
}[] | undefined;
|
|
1522
|
-
playbooks?: string | undefined;
|
|
1523
|
-
routes?: {
|
|
1524
|
-
config?: boolean | undefined;
|
|
1525
|
-
handler: string;
|
|
1526
|
-
samples?: boolean | undefined;
|
|
1527
|
-
}[] | undefined;
|
|
1528
|
-
schemas?: {
|
|
1529
|
-
name: string;
|
|
1530
|
-
versions: number[];
|
|
1531
|
-
}[] | undefined;
|
|
1532
|
-
tasks?: {
|
|
1533
|
-
interval_seconds: number;
|
|
1534
|
-
name: string;
|
|
4738
|
+
scopes?: string[] | undefined;
|
|
4739
|
+
secrets?: Record<string, string> | undefined;
|
|
4740
|
+
tunnels?: {
|
|
4741
|
+
config?: unknown;
|
|
4742
|
+
refused?: boolean | undefined;
|
|
4743
|
+
type: string;
|
|
1535
4744
|
}[] | undefined;
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
}[];
|
|
1542
|
-
summary?: string | undefined;
|
|
4745
|
+
verifiers?: {
|
|
4746
|
+
config?: unknown;
|
|
4747
|
+
refused?: boolean | undefined;
|
|
4748
|
+
refused_tokens?: string[] | undefined;
|
|
4749
|
+
type: string;
|
|
1543
4750
|
}[] | undefined;
|
|
1544
|
-
|
|
1545
|
-
|
|
4751
|
+
} | undefined;
|
|
4752
|
+
}>;
|
|
4753
|
+
export type CertificationFile = Infer<typeof CertificationFile>;
|
|
4754
|
+
/** A one-shot or recurring timer (domain.Timer). */
|
|
4755
|
+
export declare const Timer: import("./schema.js").Type<{
|
|
4756
|
+
created_at?: string | undefined;
|
|
4757
|
+
event: {
|
|
4758
|
+
actor?: string | undefined;
|
|
4759
|
+
causation_id?: string | undefined;
|
|
4760
|
+
correlation_key?: {
|
|
4761
|
+
external_id: string;
|
|
4762
|
+
source: string;
|
|
4763
|
+
} | undefined;
|
|
4764
|
+
data?: {
|
|
4765
|
+
data?: unknown;
|
|
4766
|
+
schema?: string | undefined;
|
|
4767
|
+
} | undefined;
|
|
4768
|
+
delivery_id?: string | undefined;
|
|
4769
|
+
execution_id?: string | undefined;
|
|
4770
|
+
id?: string | undefined;
|
|
4771
|
+
occurred_at?: string | undefined;
|
|
4772
|
+
received_at?: string | undefined;
|
|
4773
|
+
source?: string | undefined;
|
|
4774
|
+
type: string;
|
|
4775
|
+
via?: string | undefined;
|
|
4776
|
+
work_id?: string | undefined;
|
|
4777
|
+
};
|
|
4778
|
+
fire_at: string;
|
|
4779
|
+
id: string;
|
|
4780
|
+
revision?: number | undefined;
|
|
4781
|
+
updated_at?: string | undefined;
|
|
4782
|
+
}>;
|
|
4783
|
+
export type Timer = Infer<typeof Timer>;
|
|
4784
|
+
export declare const RecurrenceNextParams: import("./schema.js").Type<{
|
|
4785
|
+
fired: {
|
|
4786
|
+
created_at?: string | undefined;
|
|
4787
|
+
event: {
|
|
4788
|
+
actor?: string | undefined;
|
|
4789
|
+
causation_id?: string | undefined;
|
|
4790
|
+
correlation_key?: {
|
|
4791
|
+
external_id: string;
|
|
4792
|
+
source: string;
|
|
4793
|
+
} | undefined;
|
|
4794
|
+
data?: {
|
|
4795
|
+
data?: unknown;
|
|
4796
|
+
schema?: string | undefined;
|
|
4797
|
+
} | undefined;
|
|
4798
|
+
delivery_id?: string | undefined;
|
|
4799
|
+
execution_id?: string | undefined;
|
|
4800
|
+
id?: string | undefined;
|
|
4801
|
+
occurred_at?: string | undefined;
|
|
4802
|
+
received_at?: string | undefined;
|
|
4803
|
+
source?: string | undefined;
|
|
4804
|
+
type: string;
|
|
4805
|
+
via?: string | undefined;
|
|
4806
|
+
work_id?: string | undefined;
|
|
4807
|
+
};
|
|
4808
|
+
fire_at: string;
|
|
4809
|
+
id: string;
|
|
4810
|
+
revision?: number | undefined;
|
|
4811
|
+
updated_at?: string | undefined;
|
|
4812
|
+
};
|
|
4813
|
+
kind: string;
|
|
4814
|
+
now: string;
|
|
4815
|
+
spec?: unknown;
|
|
4816
|
+
}>;
|
|
4817
|
+
export type RecurrenceNextParams = Infer<typeof RecurrenceNextParams>;
|
|
4818
|
+
export declare const RecurrenceNextResult: import("./schema.js").Type<{
|
|
4819
|
+
next?: {
|
|
4820
|
+
created_at?: string | undefined;
|
|
4821
|
+
event: {
|
|
4822
|
+
actor?: string | undefined;
|
|
4823
|
+
causation_id?: string | undefined;
|
|
4824
|
+
correlation_key?: {
|
|
4825
|
+
external_id: string;
|
|
4826
|
+
source: string;
|
|
4827
|
+
} | undefined;
|
|
4828
|
+
data?: {
|
|
4829
|
+
data?: unknown;
|
|
4830
|
+
schema?: string | undefined;
|
|
4831
|
+
} | undefined;
|
|
4832
|
+
delivery_id?: string | undefined;
|
|
4833
|
+
execution_id?: string | undefined;
|
|
4834
|
+
id?: string | undefined;
|
|
4835
|
+
occurred_at?: string | undefined;
|
|
4836
|
+
received_at?: string | undefined;
|
|
4837
|
+
source?: string | undefined;
|
|
4838
|
+
type: string;
|
|
4839
|
+
via?: string | undefined;
|
|
4840
|
+
work_id?: string | undefined;
|
|
4841
|
+
};
|
|
4842
|
+
fire_at: string;
|
|
4843
|
+
id: string;
|
|
4844
|
+
revision?: number | undefined;
|
|
4845
|
+
updated_at?: string | undefined;
|
|
4846
|
+
} | undefined;
|
|
4847
|
+
occurrence?: {
|
|
4848
|
+
actor?: string | undefined;
|
|
4849
|
+
causation_id?: string | undefined;
|
|
4850
|
+
correlation_key?: {
|
|
4851
|
+
external_id: string;
|
|
4852
|
+
source: string;
|
|
4853
|
+
} | undefined;
|
|
4854
|
+
data?: {
|
|
4855
|
+
data?: unknown;
|
|
4856
|
+
schema?: string | undefined;
|
|
4857
|
+
} | undefined;
|
|
4858
|
+
delivery_id?: string | undefined;
|
|
4859
|
+
execution_id?: string | undefined;
|
|
4860
|
+
id?: string | undefined;
|
|
4861
|
+
occurred_at?: string | undefined;
|
|
4862
|
+
received_at?: string | undefined;
|
|
4863
|
+
source?: string | undefined;
|
|
4864
|
+
type: string;
|
|
4865
|
+
via?: string | undefined;
|
|
4866
|
+
work_id?: string | undefined;
|
|
4867
|
+
} | undefined;
|
|
4868
|
+
}>;
|
|
4869
|
+
export type RecurrenceNextResult = Infer<typeof RecurrenceNextResult>;
|
|
4870
|
+
export declare const DependencyFilterParams: import("./schema.js").Type<{
|
|
4871
|
+
event: {
|
|
4872
|
+
actor?: string | undefined;
|
|
4873
|
+
causation_id?: string | undefined;
|
|
4874
|
+
correlation_key?: {
|
|
4875
|
+
external_id: string;
|
|
4876
|
+
source: string;
|
|
4877
|
+
} | undefined;
|
|
4878
|
+
data?: {
|
|
4879
|
+
data?: unknown;
|
|
4880
|
+
schema?: string | undefined;
|
|
4881
|
+
} | undefined;
|
|
4882
|
+
delivery_id?: string | undefined;
|
|
4883
|
+
execution_id?: string | undefined;
|
|
4884
|
+
id?: string | undefined;
|
|
4885
|
+
occurred_at?: string | undefined;
|
|
4886
|
+
received_at?: string | undefined;
|
|
4887
|
+
source?: string | undefined;
|
|
4888
|
+
type: string;
|
|
4889
|
+
via?: string | undefined;
|
|
4890
|
+
work_id?: string | undefined;
|
|
4891
|
+
};
|
|
4892
|
+
filter: {
|
|
4893
|
+
data?: unknown;
|
|
4894
|
+
schema?: string | undefined;
|
|
4895
|
+
};
|
|
4896
|
+
}>;
|
|
4897
|
+
export type DependencyFilterParams = Infer<typeof DependencyFilterParams>;
|
|
4898
|
+
export declare const DependencyFilterResult: import("./schema.js").Type<{
|
|
4899
|
+
match: boolean;
|
|
4900
|
+
}>;
|
|
4901
|
+
export type DependencyFilterResult = Infer<typeof DependencyFilterResult>;
|
|
4902
|
+
export declare const OperationGateParams: import("./schema.js").Type<{
|
|
4903
|
+
authority: {
|
|
4904
|
+
connection?: string | undefined;
|
|
4905
|
+
event_types?: string[] | undefined;
|
|
4906
|
+
execution_id: string;
|
|
4907
|
+
expires_at: string;
|
|
4908
|
+
lease: {
|
|
4909
|
+
epoch: number;
|
|
4910
|
+
execution_id: string;
|
|
4911
|
+
owner: string;
|
|
4912
|
+
};
|
|
4913
|
+
operations?: string[] | undefined;
|
|
4914
|
+
scope_id: string;
|
|
4915
|
+
trigger_id?: string | undefined;
|
|
4916
|
+
work_id: string;
|
|
1546
4917
|
work_kinds?: {
|
|
4918
|
+
description?: string | undefined;
|
|
1547
4919
|
kind: string;
|
|
1548
|
-
run_once?: boolean | undefined;
|
|
1549
|
-
standing?: boolean | undefined;
|
|
1550
|
-
timed?: boolean | undefined;
|
|
1551
|
-
trigger?: boolean | undefined;
|
|
1552
4920
|
}[] | undefined;
|
|
1553
4921
|
};
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
4922
|
+
capability?: string | undefined;
|
|
4923
|
+
input: {
|
|
4924
|
+
data?: unknown;
|
|
4925
|
+
schema?: string | undefined;
|
|
4926
|
+
};
|
|
4927
|
+
operation: string;
|
|
4928
|
+
owner: string;
|
|
4929
|
+
wants?: string | undefined;
|
|
4930
|
+
}>;
|
|
4931
|
+
export type OperationGateParams = Infer<typeof OperationGateParams>;
|
|
4932
|
+
export declare const OperationGateResult: import("./schema.js").Type<{
|
|
4933
|
+
wait?: {
|
|
4934
|
+
dependencies?: {
|
|
4935
|
+
alias_type: string;
|
|
4936
|
+
filter: {
|
|
4937
|
+
data?: unknown;
|
|
4938
|
+
schema?: string | undefined;
|
|
4939
|
+
};
|
|
4940
|
+
from_now?: boolean | undefined;
|
|
4941
|
+
id: string;
|
|
4942
|
+
label?: string | undefined;
|
|
4943
|
+
source_key: {
|
|
4944
|
+
external_id: string;
|
|
4945
|
+
source: string;
|
|
4946
|
+
};
|
|
4947
|
+
source_scope_id?: string | undefined;
|
|
4948
|
+
types?: string[] | undefined;
|
|
4949
|
+
}[] | undefined;
|
|
4950
|
+
output: {
|
|
4951
|
+
data?: unknown;
|
|
4952
|
+
schema?: string | undefined;
|
|
4953
|
+
};
|
|
4954
|
+
wait: {
|
|
4955
|
+
after_sequence?: number | undefined;
|
|
4956
|
+
description?: string | undefined;
|
|
4957
|
+
keys?: {
|
|
4958
|
+
external_id: string;
|
|
4959
|
+
source: string;
|
|
4960
|
+
}[] | undefined;
|
|
4961
|
+
timeout?: string | undefined;
|
|
4962
|
+
types?: string[] | undefined;
|
|
4963
|
+
};
|
|
4964
|
+
} | undefined;
|
|
4965
|
+
}>;
|
|
4966
|
+
export type OperationGateResult = Infer<typeof OperationGateResult>;
|
|
4967
|
+
export declare const WorkAdmitParams: import("./schema.js").Type<{
|
|
4968
|
+
binding: string;
|
|
4969
|
+
event: {
|
|
4970
|
+
actor?: string | undefined;
|
|
4971
|
+
causation_id?: string | undefined;
|
|
4972
|
+
correlation_key?: {
|
|
4973
|
+
external_id: string;
|
|
4974
|
+
source: string;
|
|
4975
|
+
} | undefined;
|
|
4976
|
+
data?: {
|
|
4977
|
+
data?: unknown;
|
|
4978
|
+
schema?: string | undefined;
|
|
4979
|
+
} | undefined;
|
|
4980
|
+
delivery_id?: string | undefined;
|
|
4981
|
+
execution_id?: string | undefined;
|
|
4982
|
+
id?: string | undefined;
|
|
4983
|
+
occurred_at?: string | undefined;
|
|
4984
|
+
received_at?: string | undefined;
|
|
4985
|
+
source?: string | undefined;
|
|
4986
|
+
type: string;
|
|
4987
|
+
via?: string | undefined;
|
|
4988
|
+
work_id?: string | undefined;
|
|
4989
|
+
};
|
|
4990
|
+
work: {
|
|
4991
|
+
context: {
|
|
4992
|
+
data?: unknown;
|
|
4993
|
+
schema?: string | undefined;
|
|
4994
|
+
};
|
|
4995
|
+
correlation_keys: {
|
|
4996
|
+
external_id: string;
|
|
4997
|
+
source: string;
|
|
4998
|
+
}[] | null;
|
|
4999
|
+
created_at: string;
|
|
5000
|
+
display?: {
|
|
5001
|
+
links?: {
|
|
5002
|
+
label: string;
|
|
5003
|
+
url: string;
|
|
5004
|
+
}[] | undefined;
|
|
5005
|
+
ref?: string | undefined;
|
|
5006
|
+
requester?: string | undefined;
|
|
5007
|
+
title?: string | undefined;
|
|
5008
|
+
} | undefined;
|
|
5009
|
+
id: string;
|
|
5010
|
+
kind: string;
|
|
5011
|
+
latest_executor?: string | undefined;
|
|
5012
|
+
parent_id?: string | undefined;
|
|
5013
|
+
revision: number;
|
|
5014
|
+
scope_id: string;
|
|
5015
|
+
state: string;
|
|
5016
|
+
updated_at: string;
|
|
5017
|
+
};
|
|
1557
5018
|
}>;
|
|
1558
|
-
export type
|
|
1559
|
-
export declare const
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
output?: {
|
|
1567
|
-
data?: unknown;
|
|
1568
|
-
schema?: string | undefined;
|
|
5019
|
+
export type WorkAdmitParams = Infer<typeof WorkAdmitParams>;
|
|
5020
|
+
export declare const StartHold: import("./schema.js").Type<{
|
|
5021
|
+
reason?: string | undefined;
|
|
5022
|
+
}>;
|
|
5023
|
+
export type StartHold = Infer<typeof StartHold>;
|
|
5024
|
+
export declare const WorkAdmitResult: import("./schema.js").Type<{
|
|
5025
|
+
hold?: {
|
|
5026
|
+
reason?: string | undefined;
|
|
1569
5027
|
} | undefined;
|
|
1570
5028
|
}>;
|
|
1571
|
-
export type
|
|
1572
|
-
export declare const
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
5029
|
+
export type WorkAdmitResult = Infer<typeof WorkAdmitResult>;
|
|
5030
|
+
export declare const WorkSettleHoldParams: import("./schema.js").Type<{
|
|
5031
|
+
admit: boolean;
|
|
5032
|
+
key: string;
|
|
5033
|
+
reason?: string | undefined;
|
|
5034
|
+
work_id: string;
|
|
5035
|
+
}>;
|
|
5036
|
+
export type WorkSettleHoldParams = Infer<typeof WorkSettleHoldParams>;
|
|
5037
|
+
export declare const WorkSettleHoldResult: import("./schema.js").Type<{
|
|
5038
|
+
event_id: string;
|
|
5039
|
+
}>;
|
|
5040
|
+
export type WorkSettleHoldResult = Infer<typeof WorkSettleHoldResult>;
|
|
5041
|
+
export declare const TargetResolveParams: import("./schema.js").Type<{
|
|
5042
|
+
kind: string;
|
|
5043
|
+
name: string;
|
|
5044
|
+
scope_id: string;
|
|
5045
|
+
}>;
|
|
5046
|
+
export type TargetResolveParams = Infer<typeof TargetResolveParams>;
|
|
5047
|
+
export declare const TargetResolveResult: import("./schema.js").Type<{
|
|
5048
|
+
key: {
|
|
5049
|
+
external_id: string;
|
|
5050
|
+
source: string;
|
|
5051
|
+
};
|
|
5052
|
+
ok: boolean;
|
|
5053
|
+
types?: string[] | undefined;
|
|
5054
|
+
}>;
|
|
5055
|
+
export type TargetResolveResult = Infer<typeof TargetResolveResult>;
|
|
5056
|
+
export declare const SegmentEndedParams: import("./schema.js").Type<{
|
|
5057
|
+
execution_id: string;
|
|
5058
|
+
}>;
|
|
5059
|
+
export type SegmentEndedParams = Infer<typeof SegmentEndedParams>;
|
|
5060
|
+
export declare const EventRenderParams: import("./schema.js").Type<{
|
|
5061
|
+
event: {
|
|
5062
|
+
actor?: string | undefined;
|
|
5063
|
+
causation_id?: string | undefined;
|
|
5064
|
+
correlation_key?: {
|
|
5065
|
+
external_id: string;
|
|
5066
|
+
source: string;
|
|
1586
5067
|
} | undefined;
|
|
1587
|
-
|
|
1588
|
-
scope_id: string;
|
|
1589
|
-
secrets?: string[] | undefined;
|
|
1590
|
-
type: string;
|
|
1591
|
-
}[] | undefined;
|
|
1592
|
-
operations?: {
|
|
1593
|
-
error?: string | undefined;
|
|
1594
|
-
input: {
|
|
5068
|
+
data?: {
|
|
1595
5069
|
data?: unknown;
|
|
1596
5070
|
schema?: string | undefined;
|
|
1597
|
-
};
|
|
1598
|
-
|
|
1599
|
-
|
|
5071
|
+
} | undefined;
|
|
5072
|
+
delivery_id?: string | undefined;
|
|
5073
|
+
execution_id?: string | undefined;
|
|
5074
|
+
id?: string | undefined;
|
|
5075
|
+
occurred_at?: string | undefined;
|
|
5076
|
+
received_at?: string | undefined;
|
|
5077
|
+
source?: string | undefined;
|
|
5078
|
+
type: string;
|
|
5079
|
+
via?: string | undefined;
|
|
5080
|
+
work_id?: string | undefined;
|
|
5081
|
+
};
|
|
5082
|
+
}>;
|
|
5083
|
+
export type EventRenderParams = Infer<typeof EventRenderParams>;
|
|
5084
|
+
export declare const EventRenderResult: import("./schema.js").Type<{
|
|
5085
|
+
ok: boolean;
|
|
5086
|
+
text?: string | undefined;
|
|
5087
|
+
}>;
|
|
5088
|
+
export type EventRenderResult = Infer<typeof EventRenderResult>;
|
|
5089
|
+
export declare const EventRenderOwnedParams: import("./schema.js").Type<{
|
|
5090
|
+
event: {
|
|
5091
|
+
actor?: string | undefined;
|
|
5092
|
+
causation_id?: string | undefined;
|
|
5093
|
+
correlation_key?: {
|
|
5094
|
+
external_id: string;
|
|
5095
|
+
source: string;
|
|
5096
|
+
} | undefined;
|
|
5097
|
+
data?: {
|
|
1600
5098
|
data?: unknown;
|
|
1601
5099
|
schema?: string | undefined;
|
|
1602
5100
|
} | undefined;
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
5101
|
+
delivery_id?: string | undefined;
|
|
5102
|
+
execution_id?: string | undefined;
|
|
5103
|
+
id?: string | undefined;
|
|
5104
|
+
occurred_at?: string | undefined;
|
|
5105
|
+
received_at?: string | undefined;
|
|
5106
|
+
source?: string | undefined;
|
|
5107
|
+
type: string;
|
|
5108
|
+
via?: string | undefined;
|
|
5109
|
+
work_id?: string | undefined;
|
|
5110
|
+
};
|
|
1606
5111
|
}>;
|
|
1607
|
-
export type
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
5112
|
+
export type EventRenderOwnedParams = Infer<typeof EventRenderOwnedParams>;
|
|
5113
|
+
export declare const ScopeAuthorizeParams: import("./schema.js").Type<{
|
|
5114
|
+
from: string;
|
|
5115
|
+
kind: string;
|
|
5116
|
+
to: string;
|
|
5117
|
+
}>;
|
|
5118
|
+
export type ScopeAuthorizeParams = Infer<typeof ScopeAuthorizeParams>;
|
|
5119
|
+
export declare const ScopeAuthorizeResult: import("./schema.js").Type<{
|
|
5120
|
+
allowed: boolean;
|
|
5121
|
+
reason?: string | undefined;
|
|
5122
|
+
}>;
|
|
5123
|
+
export type ScopeAuthorizeResult = Infer<typeof ScopeAuthorizeResult>;
|
|
5124
|
+
export declare const TimerArmParams: import("./schema.js").Type<{
|
|
5125
|
+
expected: number;
|
|
5126
|
+
kind: string;
|
|
5127
|
+
scope_id: string;
|
|
5128
|
+
spec: unknown;
|
|
5129
|
+
timer: {
|
|
5130
|
+
created_at?: string | undefined;
|
|
5131
|
+
event: {
|
|
5132
|
+
actor?: string | undefined;
|
|
5133
|
+
causation_id?: string | undefined;
|
|
5134
|
+
correlation_key?: {
|
|
5135
|
+
external_id: string;
|
|
5136
|
+
source: string;
|
|
1625
5137
|
} | undefined;
|
|
1626
|
-
|
|
1627
|
-
scope_id: string;
|
|
1628
|
-
secrets?: string[] | undefined;
|
|
1629
|
-
type: string;
|
|
1630
|
-
}[] | undefined;
|
|
1631
|
-
operations?: {
|
|
1632
|
-
error?: string | undefined;
|
|
1633
|
-
input: {
|
|
5138
|
+
data?: {
|
|
1634
5139
|
data?: unknown;
|
|
1635
5140
|
schema?: string | undefined;
|
|
1636
|
-
};
|
|
1637
|
-
|
|
1638
|
-
|
|
5141
|
+
} | undefined;
|
|
5142
|
+
delivery_id?: string | undefined;
|
|
5143
|
+
execution_id?: string | undefined;
|
|
5144
|
+
id?: string | undefined;
|
|
5145
|
+
occurred_at?: string | undefined;
|
|
5146
|
+
received_at?: string | undefined;
|
|
5147
|
+
source?: string | undefined;
|
|
5148
|
+
type: string;
|
|
5149
|
+
via?: string | undefined;
|
|
5150
|
+
work_id?: string | undefined;
|
|
5151
|
+
};
|
|
5152
|
+
fire_at: string;
|
|
5153
|
+
id: string;
|
|
5154
|
+
revision?: number | undefined;
|
|
5155
|
+
updated_at?: string | undefined;
|
|
5156
|
+
};
|
|
5157
|
+
}>;
|
|
5158
|
+
export type TimerArmParams = Infer<typeof TimerArmParams>;
|
|
5159
|
+
export declare const TimerCancelParams: import("./schema.js").Type<{
|
|
5160
|
+
expected: number;
|
|
5161
|
+
id: string;
|
|
5162
|
+
}>;
|
|
5163
|
+
export type TimerCancelParams = Infer<typeof TimerCancelParams>;
|
|
5164
|
+
export declare const WorkCancelParams: import("./schema.js").Type<{
|
|
5165
|
+
expected: number;
|
|
5166
|
+
key: string;
|
|
5167
|
+
reason: string;
|
|
5168
|
+
work_id: string;
|
|
5169
|
+
}>;
|
|
5170
|
+
export type WorkCancelParams = Infer<typeof WorkCancelParams>;
|
|
5171
|
+
export declare const WorkCancelResult: import("./schema.js").Type<{
|
|
5172
|
+
event_id: string;
|
|
5173
|
+
}>;
|
|
5174
|
+
export type WorkCancelResult = Infer<typeof WorkCancelResult>;
|
|
5175
|
+
export declare const ActionSubmitParams: import("./schema.js").Type<{
|
|
5176
|
+
action: string;
|
|
5177
|
+
caller: string;
|
|
5178
|
+
input?: string | undefined;
|
|
5179
|
+
key: string;
|
|
5180
|
+
provider?: string | undefined;
|
|
5181
|
+
scope_id: string;
|
|
5182
|
+
work_id?: string | undefined;
|
|
5183
|
+
}>;
|
|
5184
|
+
export type ActionSubmitParams = Infer<typeof ActionSubmitParams>;
|
|
5185
|
+
export declare const ActionSubmitResult: import("./schema.js").Type<{
|
|
5186
|
+
added: boolean;
|
|
5187
|
+
event: {
|
|
5188
|
+
disposition?: string | undefined;
|
|
5189
|
+
event: {
|
|
5190
|
+
actor?: string | undefined;
|
|
5191
|
+
causation_id?: string | undefined;
|
|
5192
|
+
correlation_key?: {
|
|
5193
|
+
external_id: string;
|
|
5194
|
+
source: string;
|
|
5195
|
+
} | undefined;
|
|
5196
|
+
data?: {
|
|
1639
5197
|
data?: unknown;
|
|
1640
5198
|
schema?: string | undefined;
|
|
1641
5199
|
} | undefined;
|
|
5200
|
+
delivery_id?: string | undefined;
|
|
5201
|
+
execution_id?: string | undefined;
|
|
5202
|
+
id?: string | undefined;
|
|
5203
|
+
occurred_at?: string | undefined;
|
|
5204
|
+
received_at?: string | undefined;
|
|
5205
|
+
source?: string | undefined;
|
|
5206
|
+
type: string;
|
|
5207
|
+
via?: string | undefined;
|
|
5208
|
+
work_id?: string | undefined;
|
|
5209
|
+
};
|
|
5210
|
+
retired?: boolean | undefined;
|
|
5211
|
+
routed: boolean;
|
|
5212
|
+
routed_work_id?: string | undefined;
|
|
5213
|
+
scope_id?: string | undefined;
|
|
5214
|
+
sequence: number;
|
|
5215
|
+
};
|
|
5216
|
+
message?: string | undefined;
|
|
5217
|
+
}>;
|
|
5218
|
+
export type ActionSubmitResult = Infer<typeof ActionSubmitResult>;
|
|
5219
|
+
export declare const ActionListParams: import("./schema.js").Type<{
|
|
5220
|
+
scope_id: string;
|
|
5221
|
+
work_id?: string | undefined;
|
|
5222
|
+
}>;
|
|
5223
|
+
export type ActionListParams = Infer<typeof ActionListParams>;
|
|
5224
|
+
export declare const ActionOffer: import("./schema.js").Type<{
|
|
5225
|
+
awaited?: boolean | undefined;
|
|
5226
|
+
choices?: string[] | undefined;
|
|
5227
|
+
detail?: string | undefined;
|
|
5228
|
+
id: string;
|
|
5229
|
+
label: string;
|
|
5230
|
+
prompt?: string | undefined;
|
|
5231
|
+
provider: string;
|
|
5232
|
+
}>;
|
|
5233
|
+
export type ActionOffer = Infer<typeof ActionOffer>;
|
|
5234
|
+
export declare const ActionListResult: import("./schema.js").Type<{
|
|
5235
|
+
actions: {
|
|
5236
|
+
awaited?: boolean | undefined;
|
|
5237
|
+
choices?: string[] | undefined;
|
|
5238
|
+
detail?: string | undefined;
|
|
5239
|
+
id: string;
|
|
5240
|
+
label: string;
|
|
5241
|
+
prompt?: string | undefined;
|
|
5242
|
+
provider: string;
|
|
5243
|
+
}[] | null;
|
|
5244
|
+
}>;
|
|
5245
|
+
export type ActionListResult = Infer<typeof ActionListResult>;
|
|
5246
|
+
export declare const RequestListParams: import("./schema.js").Type<{
|
|
5247
|
+
scope_id: string;
|
|
5248
|
+
work_id: string;
|
|
5249
|
+
}>;
|
|
5250
|
+
export type RequestListParams = Infer<typeof RequestListParams>;
|
|
5251
|
+
export declare const RequestOffer: import("./schema.js").Type<{
|
|
5252
|
+
action?: string | undefined;
|
|
5253
|
+
by?: string | undefined;
|
|
5254
|
+
detail?: string | undefined;
|
|
5255
|
+
id: string;
|
|
5256
|
+
label: string;
|
|
5257
|
+
provider: string;
|
|
5258
|
+
responders?: string[] | undefined;
|
|
5259
|
+
settled_at?: string | undefined;
|
|
5260
|
+
state: string;
|
|
5261
|
+
wording?: {
|
|
5262
|
+
choices?: {
|
|
5263
|
+
choice: string;
|
|
5264
|
+
confirm?: string | undefined;
|
|
5265
|
+
label?: string | undefined;
|
|
5266
|
+
tone?: string | undefined;
|
|
1642
5267
|
}[] | undefined;
|
|
1643
|
-
|
|
1644
|
-
|
|
5268
|
+
fields?: {
|
|
5269
|
+
name: string;
|
|
5270
|
+
value: string;
|
|
5271
|
+
}[] | undefined;
|
|
5272
|
+
input?: string | undefined;
|
|
5273
|
+
note?: string | undefined;
|
|
5274
|
+
question?: string | undefined;
|
|
5275
|
+
wants?: string | undefined;
|
|
1645
5276
|
} | undefined;
|
|
1646
5277
|
}>;
|
|
1647
|
-
export type
|
|
5278
|
+
export type RequestOffer = Infer<typeof RequestOffer>;
|
|
5279
|
+
export declare const RequestListResult: import("./schema.js").Type<{
|
|
5280
|
+
requests: {
|
|
5281
|
+
action?: string | undefined;
|
|
5282
|
+
by?: string | undefined;
|
|
5283
|
+
detail?: string | undefined;
|
|
5284
|
+
id: string;
|
|
5285
|
+
label: string;
|
|
5286
|
+
provider: string;
|
|
5287
|
+
responders?: string[] | undefined;
|
|
5288
|
+
settled_at?: string | undefined;
|
|
5289
|
+
state: string;
|
|
5290
|
+
wording?: {
|
|
5291
|
+
choices?: {
|
|
5292
|
+
choice: string;
|
|
5293
|
+
confirm?: string | undefined;
|
|
5294
|
+
label?: string | undefined;
|
|
5295
|
+
tone?: string | undefined;
|
|
5296
|
+
}[] | undefined;
|
|
5297
|
+
fields?: {
|
|
5298
|
+
name: string;
|
|
5299
|
+
value: string;
|
|
5300
|
+
}[] | undefined;
|
|
5301
|
+
input?: string | undefined;
|
|
5302
|
+
note?: string | undefined;
|
|
5303
|
+
question?: string | undefined;
|
|
5304
|
+
wants?: string | undefined;
|
|
5305
|
+
} | undefined;
|
|
5306
|
+
}[] | null;
|
|
5307
|
+
}>;
|
|
5308
|
+
export type RequestListResult = Infer<typeof RequestListResult>;
|
|
5309
|
+
export declare const ProbeListResult: import("./schema.js").Type<{
|
|
5310
|
+
probes: {
|
|
5311
|
+
args?: {
|
|
5312
|
+
connection?: boolean | undefined;
|
|
5313
|
+
name: string;
|
|
5314
|
+
required?: boolean | undefined;
|
|
5315
|
+
summary?: string | undefined;
|
|
5316
|
+
}[] | undefined;
|
|
5317
|
+
name: string;
|
|
5318
|
+
summary: string;
|
|
5319
|
+
}[] | null;
|
|
5320
|
+
}>;
|
|
5321
|
+
export type ProbeListResult = Infer<typeof ProbeListResult>;
|
|
5322
|
+
export declare const EntrySandboxParams: import("./schema.js").Type<{
|
|
5323
|
+
entry: string;
|
|
5324
|
+
launch: {
|
|
5325
|
+
argv: string[] | null;
|
|
5326
|
+
dir?: string | undefined;
|
|
5327
|
+
env?: string[] | undefined;
|
|
5328
|
+
run_dir?: string | undefined;
|
|
5329
|
+
secrets?: string[] | undefined;
|
|
5330
|
+
tty?: boolean | undefined;
|
|
5331
|
+
wrapper_env?: string[] | undefined;
|
|
5332
|
+
};
|
|
5333
|
+
needs: {
|
|
5334
|
+
deny?: string[] | undefined;
|
|
5335
|
+
hosts?: string[] | undefined;
|
|
5336
|
+
read?: string[] | undefined;
|
|
5337
|
+
read_only?: string[] | undefined;
|
|
5338
|
+
sockets?: string[] | undefined;
|
|
5339
|
+
write?: string[] | undefined;
|
|
5340
|
+
};
|
|
5341
|
+
scope: string;
|
|
5342
|
+
}>;
|
|
5343
|
+
export type EntrySandboxParams = Infer<typeof EntrySandboxParams>;
|
|
5344
|
+
export declare const EntrySandboxResult: import("./schema.js").Type<{
|
|
5345
|
+
dir: string;
|
|
5346
|
+
plan: {
|
|
5347
|
+
argv: string[] | null;
|
|
5348
|
+
data?: {
|
|
5349
|
+
data?: unknown;
|
|
5350
|
+
schema?: string | undefined;
|
|
5351
|
+
} | undefined;
|
|
5352
|
+
digest?: string | undefined;
|
|
5353
|
+
dir?: string | undefined;
|
|
5354
|
+
env?: string[] | undefined;
|
|
5355
|
+
signals?: string | undefined;
|
|
5356
|
+
summary?: string | undefined;
|
|
5357
|
+
};
|
|
5358
|
+
}>;
|
|
5359
|
+
export type EntrySandboxResult = Infer<typeof EntrySandboxResult>;
|