@qontinui/shared-types 2.3.0 → 2.4.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/glossary.cjs +16 -16
- package/dist/glossary.cjs.map +1 -1
- package/dist/glossary.d.cts +1 -1
- package/dist/glossary.d.ts +1 -1
- package/dist/glossary.js +16 -16
- package/dist/glossary.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +375 -1
- package/dist/index.d.ts +375 -1
- package/dist/scheduler.d.cts +19 -0
- package/dist/scheduler.d.ts +19 -0
- package/package.json +1 -1
- package/src/generated/CacheProvenance.d.ts +31 -0
- package/src/generated/ImageSlotSpec.d.ts +373 -0
- package/src/generated/Observation.d.ts +48 -0
- package/src/generated/ObservationCoverage.d.ts +37 -0
- package/src/generated/ObservationStatus.d.ts +11 -0
- package/src/generated/Producer.d.ts +21 -0
- package/src/generated/Provenance.d.ts +54 -0
- package/src/generated/ScheduledTaskType.d.ts +19 -0
- package/src/generated/UnknownCode.d.ts +26 -0
- package/src/generated/UnknownInfo.d.ts +22 -0
- package/src/generated/UnmeasuredDimension.d.ts +25 -0
- package/src/generated/index.ts +10 -0
- package/src/glossary/generated.ts +16 -16
- package/src/index.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -747,6 +747,380 @@ interface ProjectSnapshot {
|
|
|
747
747
|
spend7dUsd?: number | null;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
+
/* eslint-disable */
|
|
751
|
+
/**
|
|
752
|
+
* This file was automatically generated.
|
|
753
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with
|
|
754
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
755
|
+
*/
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* The colour scheme a context renders in (`prefers-color-scheme`).
|
|
759
|
+
*/
|
|
760
|
+
type ImageSlotTheme = "dark" | "light";
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* One image placement's declared contract: what the image is for, where it
|
|
764
|
+
* renders, and what it must and must not be.
|
|
765
|
+
*/
|
|
766
|
+
interface ImageSlotSpec {
|
|
767
|
+
/**
|
|
768
|
+
* The image's text alternative.
|
|
769
|
+
*/
|
|
770
|
+
alt:
|
|
771
|
+
| {
|
|
772
|
+
kind: "decorative";
|
|
773
|
+
}
|
|
774
|
+
| {
|
|
775
|
+
kind: "required";
|
|
776
|
+
}
|
|
777
|
+
| {
|
|
778
|
+
kind: "text";
|
|
779
|
+
/**
|
|
780
|
+
* The text alternative.
|
|
781
|
+
*/
|
|
782
|
+
text: string;
|
|
783
|
+
};
|
|
784
|
+
aspect: ImageSlotAspect;
|
|
785
|
+
/**
|
|
786
|
+
* Who it is for: a reference to one of the tenant's `audience_profile`
|
|
787
|
+
* prompt documents (`audience_profile/external-operator`).
|
|
788
|
+
*/
|
|
789
|
+
audience: string;
|
|
790
|
+
content: ImageSlotContent;
|
|
791
|
+
contexts: ImageSlotContexts;
|
|
792
|
+
focal: ImageSlotFocal;
|
|
793
|
+
/**
|
|
794
|
+
* The image's job, in plain sentences: what it must achieve for the person
|
|
795
|
+
* looking at it. Judges derive yes/no questions from it.
|
|
796
|
+
*/
|
|
797
|
+
job: string;
|
|
798
|
+
/**
|
|
799
|
+
* The asset bound to the slot, written by the asset pipeline and never by
|
|
800
|
+
* the author. Absent until an asset is chosen; until then the UI renders
|
|
801
|
+
* the slot's placeholder.
|
|
802
|
+
*/
|
|
803
|
+
provenance?: ImageSlotProvenance | null;
|
|
804
|
+
/**
|
|
805
|
+
* The requirement this slot traces to, for requirement-level traceability:
|
|
806
|
+
* one token with no whitespace, at most 256 characters.
|
|
807
|
+
*/
|
|
808
|
+
requirement_ref?: string | null;
|
|
809
|
+
/**
|
|
810
|
+
* What the image is on its page.
|
|
811
|
+
*/
|
|
812
|
+
role:
|
|
813
|
+
| "hero"
|
|
814
|
+
| "empty_state"
|
|
815
|
+
| "feature"
|
|
816
|
+
| "onboarding"
|
|
817
|
+
| "og_card"
|
|
818
|
+
| "background"
|
|
819
|
+
| "avatar_fallback"
|
|
820
|
+
| "scene"
|
|
821
|
+
| "logo"
|
|
822
|
+
| "screenshot";
|
|
823
|
+
/**
|
|
824
|
+
* The parts of the rendered image that page content is laid over, which
|
|
825
|
+
* must therefore stay calm enough for that content to read.
|
|
826
|
+
*/
|
|
827
|
+
safe_areas:
|
|
828
|
+
| {
|
|
829
|
+
kind: "derived";
|
|
830
|
+
}
|
|
831
|
+
| {
|
|
832
|
+
kind: "explicit";
|
|
833
|
+
/**
|
|
834
|
+
* The areas, in the image's rendered box.
|
|
835
|
+
*
|
|
836
|
+
* @minItems 1
|
|
837
|
+
*/
|
|
838
|
+
regions: [ImageSlotSafeArea, ...ImageSlotSafeArea[]];
|
|
839
|
+
};
|
|
840
|
+
/**
|
|
841
|
+
* Stable slot id (`sessions.empty-state`): lowercase letters and digits in
|
|
842
|
+
* segments joined by `.`, `-` or `_`, at most 128 characters. The UI marks
|
|
843
|
+
* the rendered element `data-ui-bridge-image-slot="<slot>"`, and the asset
|
|
844
|
+
* store, the candidate records and the judges key on it.
|
|
845
|
+
*/
|
|
846
|
+
slot: string;
|
|
847
|
+
style: ImageSlotStyle;
|
|
848
|
+
/**
|
|
849
|
+
* Whether the image may carry text, and which.
|
|
850
|
+
*/
|
|
851
|
+
text_in_image:
|
|
852
|
+
| {
|
|
853
|
+
kind: "forbidden";
|
|
854
|
+
}
|
|
855
|
+
| {
|
|
856
|
+
kind: "expected";
|
|
857
|
+
/**
|
|
858
|
+
* Its language, as a BCP 47 tag (`en`, `de-CH`).
|
|
859
|
+
*/
|
|
860
|
+
locale: string;
|
|
861
|
+
/**
|
|
862
|
+
* The text as it must read.
|
|
863
|
+
*/
|
|
864
|
+
text: string;
|
|
865
|
+
}
|
|
866
|
+
| {
|
|
867
|
+
kind: "allowed";
|
|
868
|
+
};
|
|
869
|
+
/**
|
|
870
|
+
* Where the thresholds of the slot's deterministic image checks come from.
|
|
871
|
+
*/
|
|
872
|
+
thresholds:
|
|
873
|
+
| {
|
|
874
|
+
kind: "from_visual_system";
|
|
875
|
+
}
|
|
876
|
+
| {
|
|
877
|
+
kind: "overrides";
|
|
878
|
+
/**
|
|
879
|
+
* Tolerated relative difference between the natural and rendered
|
|
880
|
+
* aspect ratios: the `max_aspect_delta` of `image_not_distorted`.
|
|
881
|
+
*/
|
|
882
|
+
max_aspect_delta?: number | null;
|
|
883
|
+
/**
|
|
884
|
+
* Encoded byte budget, at most 2^53 − 1: the `max_bytes` of
|
|
885
|
+
* `image_weight_within`.
|
|
886
|
+
*/
|
|
887
|
+
max_bytes?: number | null;
|
|
888
|
+
/**
|
|
889
|
+
* Ceiling on effective resolution, against oversized images: the
|
|
890
|
+
* `max_effective` of `image_not_oversized`.
|
|
891
|
+
*/
|
|
892
|
+
max_effective_resolution?: number | null;
|
|
893
|
+
/**
|
|
894
|
+
* Largest CIEDE2000 distance from the declared palette that still
|
|
895
|
+
* counts as on-palette: the `max_delta_e` of `image_palette_within`.
|
|
896
|
+
*/
|
|
897
|
+
max_palette_delta_e?: number | null;
|
|
898
|
+
/**
|
|
899
|
+
* Floor on effective resolution, natural ÷ (rendered × DPR): the
|
|
900
|
+
* `min_effective` of `image_resolution_sufficient`.
|
|
901
|
+
*/
|
|
902
|
+
min_effective_resolution?: number | null;
|
|
903
|
+
/**
|
|
904
|
+
* Least fraction (0 to 1) of the image's pixels that must be
|
|
905
|
+
* on-palette: the `min_coverage` of `image_palette_within`.
|
|
906
|
+
*/
|
|
907
|
+
min_palette_coverage?: number | null;
|
|
908
|
+
/**
|
|
909
|
+
* Least WCAG contrast ratio (1 to 21) of text laid over the image: the
|
|
910
|
+
* `min_ratio` of `text_over_image_contrast`.
|
|
911
|
+
*/
|
|
912
|
+
min_text_over_image_contrast?: number | null;
|
|
913
|
+
/**
|
|
914
|
+
* Least WCAG contrast ratio (1 to 21) of a transparent image's edge
|
|
915
|
+
* and stroke pixels against what surrounds it: the `min_ratio` of
|
|
916
|
+
* `transparent_image_legible`.
|
|
917
|
+
*/
|
|
918
|
+
min_transparent_edge_contrast?: number | null;
|
|
919
|
+
/**
|
|
920
|
+
* Which percentile (0 to 100) of glyph-pixel contrast is compared with
|
|
921
|
+
* that floor: the `percentile` of `text_over_image_contrast`.
|
|
922
|
+
*/
|
|
923
|
+
text_over_image_percentile?: number | null;
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* The aspect ratios the rendered box may take.
|
|
928
|
+
*/
|
|
929
|
+
interface ImageSlotAspect {
|
|
930
|
+
/**
|
|
931
|
+
* Other ratios a layout may give the box, in the same form. None may equal
|
|
932
|
+
* `preferred` or another entry in value (`8/6` equals `4/3`). Required:
|
|
933
|
+
* an author states `[]` when only `preferred` is allowed.
|
|
934
|
+
*/
|
|
935
|
+
allowed: string[];
|
|
936
|
+
/**
|
|
937
|
+
* The ratio the box takes by default, as `W/H` with W and H whole numbers
|
|
938
|
+
* from 1 to 9999 (`4/3`, `1200/630`). The placeholder reserves it.
|
|
939
|
+
*/
|
|
940
|
+
preferred: string;
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* What the image must and must not depict.
|
|
944
|
+
*/
|
|
945
|
+
interface ImageSlotContent {
|
|
946
|
+
/**
|
|
947
|
+
* Things the image must depict, one per entry. May be empty.
|
|
948
|
+
*/
|
|
949
|
+
must: string[];
|
|
950
|
+
/**
|
|
951
|
+
* Things the image must not depict, one per entry. May be empty.
|
|
952
|
+
*/
|
|
953
|
+
must_not: string[];
|
|
954
|
+
}
|
|
955
|
+
/**
|
|
956
|
+
* Every breakpoint × theme × device pixel ratio the image renders, is
|
|
957
|
+
* captured and is judged at.
|
|
958
|
+
*/
|
|
959
|
+
interface ImageSlotContexts {
|
|
960
|
+
/**
|
|
961
|
+
* Viewport widths in CSS pixels, strictly ascending (`[360, 768, 1280]`).
|
|
962
|
+
*
|
|
963
|
+
* @minItems 1
|
|
964
|
+
*/
|
|
965
|
+
breakpoints: [number, ...number[]];
|
|
966
|
+
/**
|
|
967
|
+
* Device pixel ratios from 0.5 to 8, strictly ascending (`[1, 2]`).
|
|
968
|
+
*
|
|
969
|
+
* @minItems 1
|
|
970
|
+
*/
|
|
971
|
+
dpr: [number, ...number[]];
|
|
972
|
+
/**
|
|
973
|
+
* Colour schemes, each at most once.
|
|
974
|
+
*
|
|
975
|
+
* @minItems 1
|
|
976
|
+
*/
|
|
977
|
+
themes: [ImageSlotTheme, ...ImageSlotTheme[]];
|
|
978
|
+
}
|
|
979
|
+
/**
|
|
980
|
+
* Where the subject sits in the image, and whether every crop must keep it.
|
|
981
|
+
*/
|
|
982
|
+
interface ImageSlotFocal {
|
|
983
|
+
/**
|
|
984
|
+
* True when every rendered crop (object-fit and object-position in every
|
|
985
|
+
* context) must keep the whole focal region visible.
|
|
986
|
+
*/
|
|
987
|
+
must_survive_crop: boolean;
|
|
988
|
+
region: ImageSlotRegion;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* The subject's region in the image's natural frame. An image with no
|
|
992
|
+
* single subject, such as a texture, declares the whole frame with
|
|
993
|
+
* `must_survive_crop: false`.
|
|
994
|
+
*/
|
|
995
|
+
interface ImageSlotRegion {
|
|
996
|
+
/**
|
|
997
|
+
* Height, as a fraction of the frame's height.
|
|
998
|
+
*/
|
|
999
|
+
height: number;
|
|
1000
|
+
/**
|
|
1001
|
+
* Width, as a fraction of the frame's width.
|
|
1002
|
+
*/
|
|
1003
|
+
width: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* Left edge, as a fraction of the frame's width.
|
|
1006
|
+
*/
|
|
1007
|
+
x: number;
|
|
1008
|
+
/**
|
|
1009
|
+
* Top edge, as a fraction of the frame's height.
|
|
1010
|
+
*/
|
|
1011
|
+
y: number;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* The asset bound to a slot, as the asset pipeline records it; never
|
|
1015
|
+
* authored. It describes the binding made for the spec whose content hash was
|
|
1016
|
+
* `spec_sha256`. When the spec's current content hash differs, the binding is
|
|
1017
|
+
* stale (the spec changed since), not invalid. A current binding also meets
|
|
1018
|
+
* the obligations stated on its fields and on [`ImageSlotRole`].
|
|
1019
|
+
*/
|
|
1020
|
+
interface ImageSlotProvenance {
|
|
1021
|
+
/**
|
|
1022
|
+
* True when a model generated or edited the pixels. Such an asset, and
|
|
1023
|
+
* every derivative of it, carries the IPTC `trainedAlgorithmicMedia`
|
|
1024
|
+
* marker. Always true for `generated` and `edited`.
|
|
1025
|
+
*/
|
|
1026
|
+
ai_generated: boolean;
|
|
1027
|
+
/**
|
|
1028
|
+
* The text alternative written for this asset. Required in a current
|
|
1029
|
+
* binding whenever the slot's `alt` is `required`.
|
|
1030
|
+
*/
|
|
1031
|
+
alt_text?: string | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* sha256 of the bound asset's original bytes: its content address in the
|
|
1034
|
+
* tenant's image store, which keys its generation record (prompt, seed,
|
|
1035
|
+
* weights, licence) and its judging record.
|
|
1036
|
+
*/
|
|
1037
|
+
asset_sha256: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* sha256 identifying the version of the exemplar set in force when the
|
|
1040
|
+
* asset was produced. Required in a current binding whenever the slot names
|
|
1041
|
+
* a set.
|
|
1042
|
+
*/
|
|
1043
|
+
exemplars_sha256?: string | null;
|
|
1044
|
+
/**
|
|
1045
|
+
* sha256 of the imagery treatment's text as read when the asset was
|
|
1046
|
+
* produced. Required for `generated` and `edited`.
|
|
1047
|
+
*/
|
|
1048
|
+
imagery_sha256?: string | null;
|
|
1049
|
+
/**
|
|
1050
|
+
* sha256 of the LoRA weights applied. Required in a current binding of a
|
|
1051
|
+
* model-made asset whenever the slot names a LoRA.
|
|
1052
|
+
*/
|
|
1053
|
+
lora_sha256?: string | null;
|
|
1054
|
+
/**
|
|
1055
|
+
* Hash of the generation recipe. Required for `generated` and `edited`.
|
|
1056
|
+
*/
|
|
1057
|
+
recipe_sha256?: string | null;
|
|
1058
|
+
/**
|
|
1059
|
+
* How the asset was obtained.
|
|
1060
|
+
*/
|
|
1061
|
+
source:
|
|
1062
|
+
| "generated"
|
|
1063
|
+
| "edited"
|
|
1064
|
+
| "traced"
|
|
1065
|
+
| "authored"
|
|
1066
|
+
| "selected"
|
|
1067
|
+
| "captured"
|
|
1068
|
+
| "supplied";
|
|
1069
|
+
/**
|
|
1070
|
+
* The spec's content hash when the asset was bound: sha256 of the spec's
|
|
1071
|
+
* RFC 8785 canonical JSON with `provenance` left out.
|
|
1072
|
+
*/
|
|
1073
|
+
spec_sha256: string;
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* A rectangle in the image's RENDERED box (the element's box, where page
|
|
1077
|
+
* content is positioned), as fractions (0 to 1) of its width and height: `x`
|
|
1078
|
+
* and `y` are the top-left corner, `width` and `height` the size. It has a
|
|
1079
|
+
* positive area and lies inside the box.
|
|
1080
|
+
*
|
|
1081
|
+
* A distinct type from [`ImageSlotRegion`] because the two coordinate spaces
|
|
1082
|
+
* differ whenever object-fit crops or letterboxes the image.
|
|
1083
|
+
*/
|
|
1084
|
+
interface ImageSlotSafeArea {
|
|
1085
|
+
/**
|
|
1086
|
+
* Height, as a fraction of the box's height.
|
|
1087
|
+
*/
|
|
1088
|
+
height: number;
|
|
1089
|
+
/**
|
|
1090
|
+
* Width, as a fraction of the box's width.
|
|
1091
|
+
*/
|
|
1092
|
+
width: number;
|
|
1093
|
+
/**
|
|
1094
|
+
* Left edge, as a fraction of the box's width.
|
|
1095
|
+
*/
|
|
1096
|
+
x: number;
|
|
1097
|
+
/**
|
|
1098
|
+
* Top edge, as a fraction of the box's height.
|
|
1099
|
+
*/
|
|
1100
|
+
y: number;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
* The declared style the image follows.
|
|
1104
|
+
*/
|
|
1105
|
+
interface ImageSlotStyle {
|
|
1106
|
+
/**
|
|
1107
|
+
* The exemplar set (approved and rejected examples) the image is compared
|
|
1108
|
+
* with, by id. Absent: none.
|
|
1109
|
+
*/
|
|
1110
|
+
exemplars?: string | null;
|
|
1111
|
+
/**
|
|
1112
|
+
* The imagery treatment it follows: a section of one of the tenant's
|
|
1113
|
+
* `domain_spec` prompt documents (`domain_spec/visual-system#imagery`), or
|
|
1114
|
+
* a `decision_record` that settled a style fork.
|
|
1115
|
+
*/
|
|
1116
|
+
imagery: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* The house LoRA applied when generating, by its id in the image licence
|
|
1119
|
+
* manifest. Absent: none.
|
|
1120
|
+
*/
|
|
1121
|
+
lora?: string | null;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
750
1124
|
/* eslint-disable */
|
|
751
1125
|
/**
|
|
752
1126
|
* This file was automatically generated.
|
|
@@ -1988,4 +2362,4 @@ declare const DETECTION_METHODS: {
|
|
|
1988
2362
|
label: string;
|
|
1989
2363
|
}[];
|
|
1990
2364
|
|
|
1991
|
-
export { type AcceptanceCriteriaData, type AlertData, type CanvasComponentType, type CanvasPanel, type CanvasUpdateEvent, type ChecklistData, type CodeDiffData, type ComponentRenderLogEntry, type CostBreakdownData, type CreateKnownIssueRequest, type CreatePatternTemplateRequest, type CreateRenderLogRequest, DETECTION_METHODS, type DependencyGraphData, type DetectionMethod, type DiscoveredState, type DiscoveredStateImage, type DiscoveredTransition, type DiscoveryBoundingBox, type DiscoverySourceType, type DiscoveryTransitionTrigger, type DomElementSnapshot, type DomMutationType, type DomSnapshot, type DomSnapshotRenderLogEntry, type ElementRect, type FileTreeData, type FindingListData, type FormSnapshot, type GitCommitLite, type GitLite, type HealthLevel, type HealthLite, ISSUE_CATEGORIES, ISSUE_SEVERITIES, type ImageSnapshot, type IssueCategory, type IssuePatternTemplate, type IssueProvenance, type IssueStatus, type IterationComparisonData, type KeyValueData, type KnownIssue, type KnownIssueSeverity, type LinkSnapshot, type ListKnownIssuesQuery, type MarkdownData, type MemoryListQuery, type MemoryListResponse, type MemoryRestoreRequest, type MemoryRow, type MemorySummary, type MemoryUpsertRequest, type MemoryUpsertResponse, type MemoryWithHistory, type MissionBriefData, type PendingQuestion, type PhaseDistributionData, type PhaseTimelineData, type ProcessStatusLite, type ProgressChartData, type ProjectSnapshot, type ProposalStatus, type RenderLogEntry, type RenderLogEntryBase, type RenderLogList, type RenderLogResponse, type RenderLogStats, type RenderLogSummary, type RenderLogTrigger, SOURCE_TYPE_COLORS, SOURCE_TYPE_LABELS, type SavedProject, type ScopeType, type SessionLite, type SessionSource, type SparklineData, type SpecValidation, type StateDiscoveryResult, type StateDiscoveryResultCreate, type StateDiscoveryResultListResponse, type StateDiscoveryResultSummary, type StateDiscoveryResultUpdate, type StateMachineExport, type StateMachineImport, type StateTimelineData, type StepDurationChartData, type SummaryStatsData, type TableData, type TemplateParameter, type TerminalData, type TimelineData, type TransitionTriggerType, type UpdateKnownIssueRequest, type WaffleChartData, type WaterfallData, isComponentRenderLog, isDomSnapshotRenderLog, toDiscoveredState, toDiscoveredStateImage, toDiscoveredTransition, toStateDiscoveryResult, toStateDiscoveryResultSummary };
|
|
2365
|
+
export { type AcceptanceCriteriaData, type AlertData, type CanvasComponentType, type CanvasPanel, type CanvasUpdateEvent, type ChecklistData, type CodeDiffData, type ComponentRenderLogEntry, type CostBreakdownData, type CreateKnownIssueRequest, type CreatePatternTemplateRequest, type CreateRenderLogRequest, DETECTION_METHODS, type DependencyGraphData, type DetectionMethod, type DiscoveredState, type DiscoveredStateImage, type DiscoveredTransition, type DiscoveryBoundingBox, type DiscoverySourceType, type DiscoveryTransitionTrigger, type DomElementSnapshot, type DomMutationType, type DomSnapshot, type DomSnapshotRenderLogEntry, type ElementRect, type FileTreeData, type FindingListData, type FormSnapshot, type GitCommitLite, type GitLite, type HealthLevel, type HealthLite, ISSUE_CATEGORIES, ISSUE_SEVERITIES, type ImageSlotSpec, type ImageSnapshot, type IssueCategory, type IssuePatternTemplate, type IssueProvenance, type IssueStatus, type IterationComparisonData, type KeyValueData, type KnownIssue, type KnownIssueSeverity, type LinkSnapshot, type ListKnownIssuesQuery, type MarkdownData, type MemoryListQuery, type MemoryListResponse, type MemoryRestoreRequest, type MemoryRow, type MemorySummary, type MemoryUpsertRequest, type MemoryUpsertResponse, type MemoryWithHistory, type MissionBriefData, type PendingQuestion, type PhaseDistributionData, type PhaseTimelineData, type ProcessStatusLite, type ProgressChartData, type ProjectSnapshot, type ProposalStatus, type RenderLogEntry, type RenderLogEntryBase, type RenderLogList, type RenderLogResponse, type RenderLogStats, type RenderLogSummary, type RenderLogTrigger, SOURCE_TYPE_COLORS, SOURCE_TYPE_LABELS, type SavedProject, type ScopeType, type SessionLite, type SessionSource, type SparklineData, type SpecValidation, type StateDiscoveryResult, type StateDiscoveryResultCreate, type StateDiscoveryResultListResponse, type StateDiscoveryResultSummary, type StateDiscoveryResultUpdate, type StateMachineExport, type StateMachineImport, type StateTimelineData, type StepDurationChartData, type SummaryStatsData, type TableData, type TemplateParameter, type TerminalData, type TimelineData, type TransitionTriggerType, type UpdateKnownIssueRequest, type WaffleChartData, type WaterfallData, isComponentRenderLog, isDomSnapshotRenderLog, toDiscoveredState, toDiscoveredStateImage, toDiscoveredTransition, toStateDiscoveryResult, toStateDiscoveryResultSummary };
|
package/dist/scheduler.d.cts
CHANGED
|
@@ -423,6 +423,25 @@ type ScheduledTaskType =
|
|
|
423
423
|
*/
|
|
424
424
|
working_directory?: string | null;
|
|
425
425
|
[k: string]: unknown;
|
|
426
|
+
}
|
|
427
|
+
| {
|
|
428
|
+
/**
|
|
429
|
+
* Shell command line, run via the platform shell (`sh -c`; on
|
|
430
|
+
* Windows `bash -c`, then `cmd /C` as the fallback).
|
|
431
|
+
*/
|
|
432
|
+
command: string;
|
|
433
|
+
task_type: "Script";
|
|
434
|
+
/**
|
|
435
|
+
* Wall-clock timeout in seconds. `None` = runner default
|
|
436
|
+
* (600s = 10 min).
|
|
437
|
+
*/
|
|
438
|
+
timeout_seconds?: number | null;
|
|
439
|
+
/**
|
|
440
|
+
* Working directory for the command. `None` = the runner's project
|
|
441
|
+
* root.
|
|
442
|
+
*/
|
|
443
|
+
working_directory?: string | null;
|
|
444
|
+
[k: string]: unknown;
|
|
426
445
|
};
|
|
427
446
|
|
|
428
447
|
/* eslint-disable */
|
package/dist/scheduler.d.ts
CHANGED
|
@@ -423,6 +423,25 @@ type ScheduledTaskType =
|
|
|
423
423
|
*/
|
|
424
424
|
working_directory?: string | null;
|
|
425
425
|
[k: string]: unknown;
|
|
426
|
+
}
|
|
427
|
+
| {
|
|
428
|
+
/**
|
|
429
|
+
* Shell command line, run via the platform shell (`sh -c`; on
|
|
430
|
+
* Windows `bash -c`, then `cmd /C` as the fallback).
|
|
431
|
+
*/
|
|
432
|
+
command: string;
|
|
433
|
+
task_type: "Script";
|
|
434
|
+
/**
|
|
435
|
+
* Wall-clock timeout in seconds. `None` = runner default
|
|
436
|
+
* (600s = 10 min).
|
|
437
|
+
*/
|
|
438
|
+
timeout_seconds?: number | null;
|
|
439
|
+
/**
|
|
440
|
+
* Working directory for the command. `None` = the runner's project
|
|
441
|
+
* root.
|
|
442
|
+
*/
|
|
443
|
+
working_directory?: string | null;
|
|
444
|
+
[k: string]: unknown;
|
|
426
445
|
};
|
|
427
446
|
|
|
428
447
|
/* eslint-disable */
|
package/package.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Regenerate with
|
|
5
|
+
* `qontinui-runner/src-tauri/scripts/generate_types.sh`.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Provenance of a cached answer.
|
|
10
|
+
*
|
|
11
|
+
* Every key always serializes: `storedAt: null` states "the cache holds no
|
|
12
|
+
* storage time for this entry", which is different from a producer that
|
|
13
|
+
* said nothing.
|
|
14
|
+
*/
|
|
15
|
+
export interface CacheProvenance {
|
|
16
|
+
/**
|
|
17
|
+
* Whether this answer was served from the cache.
|
|
18
|
+
*/
|
|
19
|
+
hit: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The inputs the cache key was derived from (e.g. `frame_sha256`,
|
|
22
|
+
* `prompt_version`), so a reader can judge what a hit is keyed on.
|
|
23
|
+
*/
|
|
24
|
+
keyInputs: string[];
|
|
25
|
+
/**
|
|
26
|
+
* When the served entry was stored. `null` on a miss (nothing was
|
|
27
|
+
* served from storage) or when the cache keeps no timestamp.
|
|
28
|
+
*/
|
|
29
|
+
storedAt: string | null;
|
|
30
|
+
[k: string]: unknown;
|
|
31
|
+
}
|