@camstack/types 1.2.328 → 1.2.330
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/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/alarm-panel.cap.d.ts +8 -8
- package/dist/capabilities/day-night.cap.d.ts +16 -16
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/keychain-admin.cap.d.ts +28 -0
- package/dist/capabilities/notification-rules.cap.d.ts +88 -88
- package/dist/capabilities/pipeline-analytics.cap.d.ts +295 -0
- package/dist/client.js +6 -0
- package/dist/client.mjs +6 -0
- package/dist/generated/addon-api.d.ts +42 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +179 -1
- package/dist/index.mjs +175 -2
- package/dist/{sleep-i3kl-0Na.js → sleep-ClNXPpWR.js} +5 -0
- package/dist/{sleep-Cr5YOk3m.mjs → sleep-DujUvOcb.mjs} +5 -0
- package/package.json +1 -1
|
@@ -1351,6 +1351,7 @@ export declare const RetrainExportFilterSchema: z.ZodObject<{
|
|
|
1351
1351
|
deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
1352
1352
|
frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1353
1353
|
collectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1354
|
+
datasetVersionId: z.ZodOptional<z.ZodString>;
|
|
1354
1355
|
batchId: z.ZodOptional<z.ZodString>;
|
|
1355
1356
|
completeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1356
1357
|
}, z.core.$strip>;
|
|
@@ -1716,6 +1717,136 @@ export declare const RetrainLlmAssistResultSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
1716
1717
|
detail: z.ZodOptional<z.ZodString>;
|
|
1717
1718
|
}, z.core.$strip>], "kind">;
|
|
1718
1719
|
export type RetrainLlmAssistResult = z.infer<typeof RetrainLlmAssistResultSchema>;
|
|
1720
|
+
/** What a dataset version is cut from. Every field narrows. */
|
|
1721
|
+
export declare const RetrainDatasetSelectionSchema: z.ZodObject<{
|
|
1722
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
1723
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1724
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1725
|
+
}, z.core.$strip>;
|
|
1726
|
+
export type RetrainDatasetSelection = z.infer<typeof RetrainDatasetSelectionSchema>;
|
|
1727
|
+
/** The counts a dataset is judged by. */
|
|
1728
|
+
export declare const RetrainDatasetStatsSchema: z.ZodObject<{
|
|
1729
|
+
frames: z.ZodNumber;
|
|
1730
|
+
completeFrames: z.ZodNumber;
|
|
1731
|
+
completeness: z.ZodNumber;
|
|
1732
|
+
subjects: z.ZodNumber;
|
|
1733
|
+
modelErrors: z.ZodNumber;
|
|
1734
|
+
hardNegatives: z.ZodNumber;
|
|
1735
|
+
cells: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1736
|
+
macroClass: z.ZodString;
|
|
1737
|
+
deviceId: z.ZodNumber;
|
|
1738
|
+
lighting: z.ZodEnum<{
|
|
1739
|
+
unknown: "unknown";
|
|
1740
|
+
day: "day";
|
|
1741
|
+
night: "night";
|
|
1742
|
+
}>;
|
|
1743
|
+
subjects: z.ZodNumber;
|
|
1744
|
+
frames: z.ZodNumber;
|
|
1745
|
+
}, z.core.$strip>>>;
|
|
1746
|
+
cameras: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1747
|
+
deviceId: z.ZodNumber;
|
|
1748
|
+
frames: z.ZodNumber;
|
|
1749
|
+
completeFrames: z.ZodNumber;
|
|
1750
|
+
}, z.core.$strip>>>;
|
|
1751
|
+
}, z.core.$strip>;
|
|
1752
|
+
export type RetrainDatasetStats = z.infer<typeof RetrainDatasetStatsSchema>;
|
|
1753
|
+
/** An immutable dataset version, without its frame list. */
|
|
1754
|
+
export declare const RetrainDatasetVersionSchema: z.ZodObject<{
|
|
1755
|
+
id: z.ZodString;
|
|
1756
|
+
name: z.ZodString;
|
|
1757
|
+
createdAt: z.ZodNumber;
|
|
1758
|
+
selection: z.ZodObject<{
|
|
1759
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
1760
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1761
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1762
|
+
}, z.core.$strip>;
|
|
1763
|
+
layout: z.ZodEnum<{
|
|
1764
|
+
frames: "frames";
|
|
1765
|
+
crops: "crops";
|
|
1766
|
+
}>;
|
|
1767
|
+
completeOnly: z.ZodBoolean;
|
|
1768
|
+
frameCount: z.ZodNumber;
|
|
1769
|
+
annotationHash: z.ZodString;
|
|
1770
|
+
manifestSchema: z.ZodString;
|
|
1771
|
+
stats: z.ZodObject<{
|
|
1772
|
+
frames: z.ZodNumber;
|
|
1773
|
+
completeFrames: z.ZodNumber;
|
|
1774
|
+
completeness: z.ZodNumber;
|
|
1775
|
+
subjects: z.ZodNumber;
|
|
1776
|
+
modelErrors: z.ZodNumber;
|
|
1777
|
+
hardNegatives: z.ZodNumber;
|
|
1778
|
+
cells: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1779
|
+
macroClass: z.ZodString;
|
|
1780
|
+
deviceId: z.ZodNumber;
|
|
1781
|
+
lighting: z.ZodEnum<{
|
|
1782
|
+
unknown: "unknown";
|
|
1783
|
+
day: "day";
|
|
1784
|
+
night: "night";
|
|
1785
|
+
}>;
|
|
1786
|
+
subjects: z.ZodNumber;
|
|
1787
|
+
frames: z.ZodNumber;
|
|
1788
|
+
}, z.core.$strip>>>;
|
|
1789
|
+
cameras: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1790
|
+
deviceId: z.ZodNumber;
|
|
1791
|
+
frames: z.ZodNumber;
|
|
1792
|
+
completeFrames: z.ZodNumber;
|
|
1793
|
+
}, z.core.$strip>>>;
|
|
1794
|
+
}, z.core.$strip>;
|
|
1795
|
+
}, z.core.$strip>;
|
|
1796
|
+
export type RetrainDatasetVersion = z.infer<typeof RetrainDatasetVersionSchema>;
|
|
1797
|
+
export declare const CreateRetrainDatasetVersionResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1798
|
+
kind: z.ZodLiteral<"created">;
|
|
1799
|
+
version: z.ZodObject<{
|
|
1800
|
+
id: z.ZodString;
|
|
1801
|
+
name: z.ZodString;
|
|
1802
|
+
createdAt: z.ZodNumber;
|
|
1803
|
+
selection: z.ZodObject<{
|
|
1804
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
1805
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1806
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
1807
|
+
}, z.core.$strip>;
|
|
1808
|
+
layout: z.ZodEnum<{
|
|
1809
|
+
frames: "frames";
|
|
1810
|
+
crops: "crops";
|
|
1811
|
+
}>;
|
|
1812
|
+
completeOnly: z.ZodBoolean;
|
|
1813
|
+
frameCount: z.ZodNumber;
|
|
1814
|
+
annotationHash: z.ZodString;
|
|
1815
|
+
manifestSchema: z.ZodString;
|
|
1816
|
+
stats: z.ZodObject<{
|
|
1817
|
+
frames: z.ZodNumber;
|
|
1818
|
+
completeFrames: z.ZodNumber;
|
|
1819
|
+
completeness: z.ZodNumber;
|
|
1820
|
+
subjects: z.ZodNumber;
|
|
1821
|
+
modelErrors: z.ZodNumber;
|
|
1822
|
+
hardNegatives: z.ZodNumber;
|
|
1823
|
+
cells: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1824
|
+
macroClass: z.ZodString;
|
|
1825
|
+
deviceId: z.ZodNumber;
|
|
1826
|
+
lighting: z.ZodEnum<{
|
|
1827
|
+
unknown: "unknown";
|
|
1828
|
+
day: "day";
|
|
1829
|
+
night: "night";
|
|
1830
|
+
}>;
|
|
1831
|
+
subjects: z.ZodNumber;
|
|
1832
|
+
frames: z.ZodNumber;
|
|
1833
|
+
}, z.core.$strip>>>;
|
|
1834
|
+
cameras: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1835
|
+
deviceId: z.ZodNumber;
|
|
1836
|
+
frames: z.ZodNumber;
|
|
1837
|
+
completeFrames: z.ZodNumber;
|
|
1838
|
+
}, z.core.$strip>>>;
|
|
1839
|
+
}, z.core.$strip>;
|
|
1840
|
+
}, z.core.$strip>;
|
|
1841
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1842
|
+
kind: z.ZodLiteral<"refused">;
|
|
1843
|
+
reason: z.ZodEnum<{
|
|
1844
|
+
"empty-name": "empty-name";
|
|
1845
|
+
"duplicate-name": "duplicate-name";
|
|
1846
|
+
"no-frames": "no-frames";
|
|
1847
|
+
}>;
|
|
1848
|
+
}, z.core.$strip>], "kind">;
|
|
1849
|
+
export type CreateRetrainDatasetVersionResult = z.infer<typeof CreateRetrainDatasetVersionResultSchema>;
|
|
1719
1850
|
/** The outcome of a lifecycle move owned by the retrain page. */
|
|
1720
1851
|
export declare const RetrainTransitionResultSchema: z.ZodObject<{
|
|
1721
1852
|
trackId: z.ZodString;
|
|
@@ -4605,6 +4736,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4605
4736
|
deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4606
4737
|
frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4607
4738
|
collectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4739
|
+
datasetVersionId: z.ZodOptional<z.ZodString>;
|
|
4608
4740
|
batchId: z.ZodOptional<z.ZodString>;
|
|
4609
4741
|
completeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4610
4742
|
layout: z.ZodOptional<z.ZodEnum<{
|
|
@@ -4698,6 +4830,7 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4698
4830
|
deviceIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
4699
4831
|
frameIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4700
4832
|
collectionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4833
|
+
datasetVersionId: z.ZodOptional<z.ZodString>;
|
|
4701
4834
|
batchId: z.ZodOptional<z.ZodString>;
|
|
4702
4835
|
completeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4703
4836
|
}, z.core.$strip>;
|
|
@@ -4724,6 +4857,168 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
4724
4857
|
sha256: z.ZodString;
|
|
4725
4858
|
status: z.ZodNumber;
|
|
4726
4859
|
}, z.core.$strip>, "mutation">;
|
|
4860
|
+
/** The counts a selection would freeze — class × camera × day/night,
|
|
4861
|
+
* completeness — without freezing anything. Index reads only. */
|
|
4862
|
+
readonly previewRetrainDataset: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
4863
|
+
selection: z.ZodObject<{
|
|
4864
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
4865
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4866
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4867
|
+
}, z.core.$strip>;
|
|
4868
|
+
completeOnly: z.ZodOptional<z.ZodBoolean>;
|
|
4869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4870
|
+
frames: z.ZodNumber;
|
|
4871
|
+
completeFrames: z.ZodNumber;
|
|
4872
|
+
completeness: z.ZodNumber;
|
|
4873
|
+
subjects: z.ZodNumber;
|
|
4874
|
+
modelErrors: z.ZodNumber;
|
|
4875
|
+
hardNegatives: z.ZodNumber;
|
|
4876
|
+
cells: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4877
|
+
macroClass: z.ZodString;
|
|
4878
|
+
deviceId: z.ZodNumber;
|
|
4879
|
+
lighting: z.ZodEnum<{
|
|
4880
|
+
unknown: "unknown";
|
|
4881
|
+
day: "day";
|
|
4882
|
+
night: "night";
|
|
4883
|
+
}>;
|
|
4884
|
+
subjects: z.ZodNumber;
|
|
4885
|
+
frames: z.ZodNumber;
|
|
4886
|
+
}, z.core.$strip>>>;
|
|
4887
|
+
cameras: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4888
|
+
deviceId: z.ZodNumber;
|
|
4889
|
+
frames: z.ZodNumber;
|
|
4890
|
+
completeFrames: z.ZodNumber;
|
|
4891
|
+
}, z.core.$strip>>>;
|
|
4892
|
+
}, z.core.$strip>, "query">;
|
|
4893
|
+
/**
|
|
4894
|
+
* Freeze a dataset version: the frames the selection yields (the same plan
|
|
4895
|
+
* the annotated export builds), the hash of what they teach, the export
|
|
4896
|
+
* parameters and the counts. Immutable — a different selection is a new
|
|
4897
|
+
* version. Export it with `getRetrainExportUrl({ datasetVersionId })`.
|
|
4898
|
+
*/
|
|
4899
|
+
readonly createRetrainDatasetVersion: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
4900
|
+
name: z.ZodString;
|
|
4901
|
+
selection: z.ZodObject<{
|
|
4902
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
4903
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4904
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4905
|
+
}, z.core.$strip>;
|
|
4906
|
+
layout: z.ZodEnum<{
|
|
4907
|
+
frames: "frames";
|
|
4908
|
+
crops: "crops";
|
|
4909
|
+
}>;
|
|
4910
|
+
completeOnly: z.ZodBoolean;
|
|
4911
|
+
}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4912
|
+
kind: z.ZodLiteral<"created">;
|
|
4913
|
+
version: z.ZodObject<{
|
|
4914
|
+
id: z.ZodString;
|
|
4915
|
+
name: z.ZodString;
|
|
4916
|
+
createdAt: z.ZodNumber;
|
|
4917
|
+
selection: z.ZodObject<{
|
|
4918
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
4919
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4920
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4921
|
+
}, z.core.$strip>;
|
|
4922
|
+
layout: z.ZodEnum<{
|
|
4923
|
+
frames: "frames";
|
|
4924
|
+
crops: "crops";
|
|
4925
|
+
}>;
|
|
4926
|
+
completeOnly: z.ZodBoolean;
|
|
4927
|
+
frameCount: z.ZodNumber;
|
|
4928
|
+
annotationHash: z.ZodString;
|
|
4929
|
+
manifestSchema: z.ZodString;
|
|
4930
|
+
stats: z.ZodObject<{
|
|
4931
|
+
frames: z.ZodNumber;
|
|
4932
|
+
completeFrames: z.ZodNumber;
|
|
4933
|
+
completeness: z.ZodNumber;
|
|
4934
|
+
subjects: z.ZodNumber;
|
|
4935
|
+
modelErrors: z.ZodNumber;
|
|
4936
|
+
hardNegatives: z.ZodNumber;
|
|
4937
|
+
cells: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4938
|
+
macroClass: z.ZodString;
|
|
4939
|
+
deviceId: z.ZodNumber;
|
|
4940
|
+
lighting: z.ZodEnum<{
|
|
4941
|
+
unknown: "unknown";
|
|
4942
|
+
day: "day";
|
|
4943
|
+
night: "night";
|
|
4944
|
+
}>;
|
|
4945
|
+
subjects: z.ZodNumber;
|
|
4946
|
+
frames: z.ZodNumber;
|
|
4947
|
+
}, z.core.$strip>>>;
|
|
4948
|
+
cameras: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4949
|
+
deviceId: z.ZodNumber;
|
|
4950
|
+
frames: z.ZodNumber;
|
|
4951
|
+
completeFrames: z.ZodNumber;
|
|
4952
|
+
}, z.core.$strip>>>;
|
|
4953
|
+
}, z.core.$strip>;
|
|
4954
|
+
}, z.core.$strip>;
|
|
4955
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4956
|
+
kind: z.ZodLiteral<"refused">;
|
|
4957
|
+
reason: z.ZodEnum<{
|
|
4958
|
+
"empty-name": "empty-name";
|
|
4959
|
+
"duplicate-name": "duplicate-name";
|
|
4960
|
+
"no-frames": "no-frames";
|
|
4961
|
+
}>;
|
|
4962
|
+
}, z.core.$strip>], "kind">, "mutation">;
|
|
4963
|
+
/** Every dataset version, newest first. */
|
|
4964
|
+
readonly listRetrainDatasetVersions: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4965
|
+
id: z.ZodString;
|
|
4966
|
+
name: z.ZodString;
|
|
4967
|
+
createdAt: z.ZodNumber;
|
|
4968
|
+
selection: z.ZodObject<{
|
|
4969
|
+
deviceIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodNumber>>>;
|
|
4970
|
+
collectionIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4971
|
+
frameIds: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
4972
|
+
}, z.core.$strip>;
|
|
4973
|
+
layout: z.ZodEnum<{
|
|
4974
|
+
frames: "frames";
|
|
4975
|
+
crops: "crops";
|
|
4976
|
+
}>;
|
|
4977
|
+
completeOnly: z.ZodBoolean;
|
|
4978
|
+
frameCount: z.ZodNumber;
|
|
4979
|
+
annotationHash: z.ZodString;
|
|
4980
|
+
manifestSchema: z.ZodString;
|
|
4981
|
+
stats: z.ZodObject<{
|
|
4982
|
+
frames: z.ZodNumber;
|
|
4983
|
+
completeFrames: z.ZodNumber;
|
|
4984
|
+
completeness: z.ZodNumber;
|
|
4985
|
+
subjects: z.ZodNumber;
|
|
4986
|
+
modelErrors: z.ZodNumber;
|
|
4987
|
+
hardNegatives: z.ZodNumber;
|
|
4988
|
+
cells: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
4989
|
+
macroClass: z.ZodString;
|
|
4990
|
+
deviceId: z.ZodNumber;
|
|
4991
|
+
lighting: z.ZodEnum<{
|
|
4992
|
+
unknown: "unknown";
|
|
4993
|
+
day: "day";
|
|
4994
|
+
night: "night";
|
|
4995
|
+
}>;
|
|
4996
|
+
subjects: z.ZodNumber;
|
|
4997
|
+
frames: z.ZodNumber;
|
|
4998
|
+
}, z.core.$strip>>>;
|
|
4999
|
+
cameras: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
5000
|
+
deviceId: z.ZodNumber;
|
|
5001
|
+
frames: z.ZodNumber;
|
|
5002
|
+
completeFrames: z.ZodNumber;
|
|
5003
|
+
}, z.core.$strip>>>;
|
|
5004
|
+
}, z.core.$strip>;
|
|
5005
|
+
}, z.core.$strip>>>, "query">;
|
|
5006
|
+
/** Delete a version. Its frames stay in the dataset. */
|
|
5007
|
+
readonly deleteRetrainDatasetVersion: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
5008
|
+
id: z.ZodString;
|
|
5009
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5010
|
+
deleted: z.ZodBoolean;
|
|
5011
|
+
}, z.core.$strip>, "mutation">;
|
|
5012
|
+
/** Does the corpus still teach what the version froze? `missingFrames`
|
|
5013
|
+
* counts frames that left the dataset (or lost every box and tick). */
|
|
5014
|
+
readonly verifyRetrainDatasetVersion: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
5015
|
+
id: z.ZodString;
|
|
5016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5017
|
+
found: z.ZodBoolean;
|
|
5018
|
+
annotationHash: z.ZodString;
|
|
5019
|
+
matches: z.ZodBoolean;
|
|
5020
|
+
missingFrames: z.ZodNumber;
|
|
5021
|
+
}, z.core.$strip>, "query">;
|
|
4727
5022
|
/** The enabled, vision-capable LLM profiles, each saying whether a frame
|
|
4728
5023
|
* sent to it leaves the house. */
|
|
4729
5024
|
readonly listRetrainAssistProfiles: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{}, z.core.$strip>, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
package/dist/client.js
CHANGED
|
@@ -5754,6 +5754,11 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
5754
5754
|
getRetrainExportUrl: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getRetrainExportUrl", "query", input),
|
|
5755
5755
|
setRetrainFrameComplete: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "setRetrainFrameComplete", "mutation", input),
|
|
5756
5756
|
writeRetrainArchive: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "writeRetrainArchive", "mutation", input),
|
|
5757
|
+
previewRetrainDataset: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "previewRetrainDataset", "query", input),
|
|
5758
|
+
createRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainDatasetVersion", "mutation", input),
|
|
5759
|
+
listRetrainDatasetVersions: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainDatasetVersions", "query", input),
|
|
5760
|
+
deleteRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainDatasetVersion", "mutation", input),
|
|
5761
|
+
verifyRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "verifyRetrainDatasetVersion", "query", input),
|
|
5757
5762
|
listRetrainAssistProfiles: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainAssistProfiles", "query", input),
|
|
5758
5763
|
proposeRetrainAnnotationsWithLlm: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "proposeRetrainAnnotationsWithLlm", "mutation", input),
|
|
5759
5764
|
createRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainCollection", "mutation", input),
|
|
@@ -7227,6 +7232,7 @@ function createSystemProxy(api) {
|
|
|
7227
7232
|
listSecrets: (input) => dispatch("keychainAdmin", "listSecrets", "query", input),
|
|
7228
7233
|
listAudit: (input) => dispatch("keychainAdmin", "listAudit", "query", input),
|
|
7229
7234
|
reveal: (input) => dispatch("keychainAdmin", "reveal", "mutation", input),
|
|
7235
|
+
setSystemSecret: (input) => dispatch("keychainAdmin", "setSystemSecret", "mutation", input),
|
|
7230
7236
|
deleteOrphans: (input) => dispatch("keychainAdmin", "deleteOrphans", "mutation", input),
|
|
7231
7237
|
rotateMasterKey: (input) => dispatch("keychainAdmin", "rotateMasterKey", "mutation", input),
|
|
7232
7238
|
purgeRetiredKeys: (input) => dispatch("keychainAdmin", "purgeRetiredKeys", "mutation", input),
|
package/dist/client.mjs
CHANGED
|
@@ -5753,6 +5753,11 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
5753
5753
|
getRetrainExportUrl: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "getRetrainExportUrl", "query", input),
|
|
5754
5754
|
setRetrainFrameComplete: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "setRetrainFrameComplete", "mutation", input),
|
|
5755
5755
|
writeRetrainArchive: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "writeRetrainArchive", "mutation", input),
|
|
5756
|
+
previewRetrainDataset: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "previewRetrainDataset", "query", input),
|
|
5757
|
+
createRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainDatasetVersion", "mutation", input),
|
|
5758
|
+
listRetrainDatasetVersions: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainDatasetVersions", "query", input),
|
|
5759
|
+
deleteRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "deleteRetrainDatasetVersion", "mutation", input),
|
|
5760
|
+
verifyRetrainDatasetVersion: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "verifyRetrainDatasetVersion", "query", input),
|
|
5756
5761
|
listRetrainAssistProfiles: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "listRetrainAssistProfiles", "query", input),
|
|
5757
5762
|
proposeRetrainAnnotationsWithLlm: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "proposeRetrainAnnotationsWithLlm", "mutation", input),
|
|
5758
5763
|
createRetrainCollection: (input) => dispatch("pipeline-analytics", "pipelineAnalytics", "createRetrainCollection", "mutation", input),
|
|
@@ -7226,6 +7231,7 @@ function createSystemProxy(api) {
|
|
|
7226
7231
|
listSecrets: (input) => dispatch("keychainAdmin", "listSecrets", "query", input),
|
|
7227
7232
|
listAudit: (input) => dispatch("keychainAdmin", "listAudit", "query", input),
|
|
7228
7233
|
reveal: (input) => dispatch("keychainAdmin", "reveal", "mutation", input),
|
|
7234
|
+
setSystemSecret: (input) => dispatch("keychainAdmin", "setSystemSecret", "mutation", input),
|
|
7229
7235
|
deleteOrphans: (input) => dispatch("keychainAdmin", "deleteOrphans", "mutation", input),
|
|
7230
7236
|
rotateMasterKey: (input) => dispatch("keychainAdmin", "rotateMasterKey", "mutation", input),
|
|
7231
7237
|
purgeRetiredKeys: (input) => dispatch("keychainAdmin", "purgeRetiredKeys", "mutation", input),
|
|
@@ -3735,6 +3735,13 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
3735
3735
|
output: z.infer<typeof keychainAdminCapability.methods.reveal.output>;
|
|
3736
3736
|
meta: object;
|
|
3737
3737
|
}>;
|
|
3738
|
+
setSystemSecret: TRPCMutationProcedure<{
|
|
3739
|
+
input: {
|
|
3740
|
+
[x: string]: unknown;
|
|
3741
|
+
} & z.input<typeof keychainAdminCapability.methods.setSystemSecret.input>;
|
|
3742
|
+
output: z.infer<typeof keychainAdminCapability.methods.setSystemSecret.output>;
|
|
3743
|
+
meta: object;
|
|
3744
|
+
}>;
|
|
3738
3745
|
deleteOrphans: TRPCMutationProcedure<{
|
|
3739
3746
|
input: {
|
|
3740
3747
|
[x: string]: unknown;
|
|
@@ -6051,6 +6058,41 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6051
6058
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.writeRetrainArchive.output>;
|
|
6052
6059
|
meta: object;
|
|
6053
6060
|
}>;
|
|
6061
|
+
previewRetrainDataset: TRPCQueryProcedure<{
|
|
6062
|
+
input: {
|
|
6063
|
+
[x: string]: unknown;
|
|
6064
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.previewRetrainDataset.input>;
|
|
6065
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.previewRetrainDataset.output>;
|
|
6066
|
+
meta: object;
|
|
6067
|
+
}>;
|
|
6068
|
+
createRetrainDatasetVersion: TRPCMutationProcedure<{
|
|
6069
|
+
input: {
|
|
6070
|
+
[x: string]: unknown;
|
|
6071
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.createRetrainDatasetVersion.input>;
|
|
6072
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.createRetrainDatasetVersion.output>;
|
|
6073
|
+
meta: object;
|
|
6074
|
+
}>;
|
|
6075
|
+
listRetrainDatasetVersions: TRPCQueryProcedure<{
|
|
6076
|
+
input: {
|
|
6077
|
+
[x: string]: unknown;
|
|
6078
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.listRetrainDatasetVersions.input>;
|
|
6079
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.listRetrainDatasetVersions.output>;
|
|
6080
|
+
meta: object;
|
|
6081
|
+
}>;
|
|
6082
|
+
deleteRetrainDatasetVersion: TRPCMutationProcedure<{
|
|
6083
|
+
input: {
|
|
6084
|
+
[x: string]: unknown;
|
|
6085
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.deleteRetrainDatasetVersion.input>;
|
|
6086
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.deleteRetrainDatasetVersion.output>;
|
|
6087
|
+
meta: object;
|
|
6088
|
+
}>;
|
|
6089
|
+
verifyRetrainDatasetVersion: TRPCQueryProcedure<{
|
|
6090
|
+
input: {
|
|
6091
|
+
[x: string]: unknown;
|
|
6092
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.verifyRetrainDatasetVersion.input>;
|
|
6093
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.verifyRetrainDatasetVersion.output>;
|
|
6094
|
+
meta: object;
|
|
6095
|
+
}>;
|
|
6054
6096
|
listRetrainAssistProfiles: TRPCQueryProcedure<{
|
|
6055
6097
|
input: {
|
|
6056
6098
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1259 method paths across 167 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -77,7 +77,7 @@ export interface SystemProxy {
|
|
|
77
77
|
readonly deviceState: Pick<InferProvider<typeof deviceStateCapability>, 'getAllSnapshots' | 'listClaims'>;
|
|
78
78
|
readonly faceGallery: Pick<InferProvider<typeof faceGalleryCapability>, 'listIdentities' | 'createIdentity' | 'renameIdentity' | 'deleteIdentity' | 'listIdentitySamples' | 'auditIdentitySamples' | 'removeSample' | 'getFaceMedia' | 'assignFace' | 'unassignFace' | 'deleteFace' | 'assignFaces' | 'unassignFaces' | 'suggestFaceClusters'>;
|
|
79
79
|
readonly integrations: Pick<InferProvider<typeof integrationsCapability>, 'list' | 'get' | 'getByAddonId' | 'create' | 'update' | 'delete' | 'getSettings' | 'setSettings' | 'getAvailableTypes' | 'testConnection'>;
|
|
80
|
-
readonly keychainAdmin: Pick<InferProvider<typeof keychainAdminCapability>, 'status' | 'listSecrets' | 'listAudit' | 'reveal' | 'deleteOrphans' | 'rotateMasterKey' | 'purgeRetiredKeys' | 'downloadRecoveryKey' | 'resetKeychain'>;
|
|
80
|
+
readonly keychainAdmin: Pick<InferProvider<typeof keychainAdminCapability>, 'status' | 'listSecrets' | 'listAudit' | 'reveal' | 'setSystemSecret' | 'deleteOrphans' | 'rotateMasterKey' | 'purgeRetiredKeys' | 'downloadRecoveryKey' | 'resetKeychain'>;
|
|
81
81
|
readonly llm: Pick<InferProvider<typeof llmCapability>, 'generate' | 'generateVision' | 'cancel' | 'listProfileKinds' | 'listProfiles' | 'upsertProfile' | 'deleteProfile' | 'testProfile' | 'listModels' | 'getDefaults' | 'setDefault' | 'getUsage' | 'listModelCatalog' | 'listRuntimeNodes' | 'listNodeModels' | 'resolveModelRef' | 'installModel' | 'deleteModel' | 'getRuntimeStatus' | 'startRuntime' | 'stopRuntime'>;
|
|
82
82
|
readonly localNetwork: Pick<InferProvider<typeof localNetworkCapability>, 'list' | 'getPreferred' | 'getConnectionEndpoints' | 'getNotificationEndpoint' | 'setNotificationEndpoint' | 'getViewerEndpoints' | 'setViewerEndpoints' | 'getAddresses' | 'addCustomAddress' | 'removeCustomAddress' | 'setAddressRole' | 'getHubAddresses' | 'getAllowedAddresses' | 'setAllowedAddresses' | 'resetAllowlistToBestMatch' | 'getTlsStatus' | 'regenerateCertificate' | 'uploadCertificate' | 'downloadCa' | 'revertToGeneratedCertificate'>;
|
|
83
83
|
readonly meshNetwork: Pick<InferProvider<typeof meshNetworkCapability>, 'getStatus' | 'join' | 'startLogin' | 'leave' | 'logout' | 'listPeers' | 'testConnection'>;
|