@camstack/addon-agent-ui 1.2.157 → 1.2.158

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.
Files changed (2) hide show
  1. package/dist/addon.js +123 -3
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -5371,7 +5371,7 @@ var ZodIssueCode = {
5371
5371
  var ZodFirstPartyTypeKind;
5372
5372
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5373
5373
  //#endregion
5374
- //#region ../types/dist/sleep-C-v96WpE.mjs
5374
+ //#region ../types/dist/sleep-gU6hqv4_.mjs
5375
5375
  /**
5376
5376
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5377
5377
  * window to float samples (D455).
@@ -8942,6 +8942,82 @@ var ArchivedDebugNoteQueryInputSchema = object({
8942
8942
  /** Max rows returned, newest-first. */
8943
8943
  limit: number().int().min(1).max(1e3).optional()
8944
8944
  });
8945
+ var TrackRelationKindSchema = _enum(["same-subject", "different-subjects"]);
8946
+ var TrackSideSchema = _enum(["before", "after"]);
8947
+ var TrackPurityValueSchema = _enum(["mixed", "not-a-subject"]);
8948
+ var TrackRelationSchema = object({
8949
+ id: string(),
8950
+ deviceId: number().int(),
8951
+ leftTrackId: string(),
8952
+ rightTrackId: string(),
8953
+ leftSide: TrackSideSchema.nullable(),
8954
+ rightSide: TrackSideSchema.nullable(),
8955
+ relation: TrackRelationKindSchema,
8956
+ presence: literal("continuous").nullable(),
8957
+ leftStartedAt: number().int().nullable(),
8958
+ rightStartedAt: number().int().nullable(),
8959
+ createdAt: number().int(),
8960
+ updatedAt: number().int(),
8961
+ author: string().nullable()
8962
+ });
8963
+ var TrackPuritySchema = object({
8964
+ id: string(),
8965
+ deviceId: number().int(),
8966
+ sourceTrackId: string(),
8967
+ purity: TrackPurityValueSchema,
8968
+ switchAtMs: number().int().nullable(),
8969
+ startedAt: number().int().nullable(),
8970
+ createdAt: number().int(),
8971
+ updatedAt: number().int(),
8972
+ author: string().nullable()
8973
+ });
8974
+ var SetTrackRelationInputSchema = object({
8975
+ deviceId: number().int(),
8976
+ trackId: string().min(1),
8977
+ otherTrackId: string().min(1),
8978
+ relation: TrackRelationKindSchema,
8979
+ presence: literal("continuous").optional(),
8980
+ trackSide: TrackSideSchema.optional(),
8981
+ otherSide: TrackSideSchema.optional()
8982
+ });
8983
+ var ClearTrackRelationInputSchema = object({
8984
+ deviceId: number().int(),
8985
+ trackId: string().min(1),
8986
+ otherTrackId: string().min(1)
8987
+ });
8988
+ var ClearTrackRelationResultSchema = object({ cleared: boolean() });
8989
+ var SetTrackPurityInputSchema = object({
8990
+ deviceId: number().int(),
8991
+ trackId: string().min(1),
8992
+ purity: _enum([
8993
+ "pure",
8994
+ "mixed",
8995
+ "not-a-subject"
8996
+ ]),
8997
+ switchAtMs: number().int().optional()
8998
+ });
8999
+ /** `null` when `pure` cleared the row. */
9000
+ var SetTrackPurityResultSchema = object({ purity: TrackPuritySchema.nullable() });
9001
+ var ListTrackRelationsInputSchema = object({
9002
+ deviceId: number().int(),
9003
+ trackId: string().optional(),
9004
+ since: number().int().optional(),
9005
+ until: number().int().optional(),
9006
+ limit: number().int().min(1).max(5e3).optional()
9007
+ });
9008
+ var ListTrackRelationsResultSchema = object({
9009
+ relations: array(TrackRelationSchema).readonly(),
9010
+ purities: array(TrackPuritySchema).readonly(),
9011
+ truncated: boolean()
9012
+ });
9013
+ _enum([
9014
+ "unknown-track",
9015
+ "cross-device",
9016
+ "self-relation",
9017
+ "contradiction",
9018
+ "switch-outside-track",
9019
+ "switch-needs-mixed"
9020
+ ]);
8945
9021
  /**
8946
9022
  * Ops-log — the durable, append-only operations audit shared by the
8947
9023
  * recordings and events management surfaces.
@@ -22071,7 +22147,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
22071
22147
  deviceId: number(),
22072
22148
  trackId: string(),
22073
22149
  flags: TrackFlagsPatchSchema
22074
- }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
22150
+ }), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(SetTrackRelationInputSchema, TrackRelationSchema, { kind: "mutation" }), method(ClearTrackRelationInputSchema, ClearTrackRelationResultSchema, { kind: "mutation" }), method(SetTrackPurityInputSchema, SetTrackPurityResultSchema, { kind: "mutation" }), method(ListTrackRelationsInputSchema, ListTrackRelationsResultSchema, { kind: "query" }), method(BirthDecisionQueryInputSchema, array(BirthDecisionRecordSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
22075
22151
  kind: "query",
22076
22152
  auth: "admin"
22077
22153
  }), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
@@ -40551,6 +40627,12 @@ Object.freeze({
40551
40627
  addonId: null,
40552
40628
  access: "create"
40553
40629
  },
40630
+ "pipelineAnalytics.clearTrackRelation": {
40631
+ capName: "pipeline-analytics",
40632
+ capScope: "device",
40633
+ addonId: null,
40634
+ access: "delete"
40635
+ },
40554
40636
  "pipelineAnalytics.clearTracks": {
40555
40637
  capName: "pipeline-analytics",
40556
40638
  capScope: "device",
@@ -40803,6 +40885,12 @@ Object.freeze({
40803
40885
  addonId: null,
40804
40886
  access: "view"
40805
40887
  },
40888
+ "pipelineAnalytics.listTrackRelations": {
40889
+ capName: "pipeline-analytics",
40890
+ capScope: "device",
40891
+ addonId: null,
40892
+ access: "view"
40893
+ },
40806
40894
  "pipelineAnalytics.listTracks": {
40807
40895
  capName: "pipeline-analytics",
40808
40896
  capScope: "device",
@@ -40917,6 +41005,18 @@ Object.freeze({
40917
41005
  addonId: null,
40918
41006
  access: "create"
40919
41007
  },
41008
+ "pipelineAnalytics.setTrackPurity": {
41009
+ capName: "pipeline-analytics",
41010
+ capScope: "device",
41011
+ addonId: null,
41012
+ access: "create"
41013
+ },
41014
+ "pipelineAnalytics.setTrackRelation": {
41015
+ capName: "pipeline-analytics",
41016
+ capScope: "device",
41017
+ addonId: null,
41018
+ access: "create"
41019
+ },
40920
41020
  "pipelineAnalytics.startStorageMigrationMove": {
40921
41021
  capName: "pipeline-analytics",
40922
41022
  capScope: "device",
@@ -44837,6 +44937,11 @@ Object.freeze({
44837
44937
  form: "single",
44838
44938
  optional: false
44839
44939
  }],
44940
+ "pipelineAnalytics.clearTrackRelation": [{
44941
+ name: "deviceId",
44942
+ form: "single",
44943
+ optional: false
44944
+ }],
44840
44945
  "pipelineAnalytics.clearTracks": [{
44841
44946
  name: "deviceId",
44842
44947
  form: "single",
@@ -44987,6 +45092,11 @@ Object.freeze({
44987
45092
  form: "single",
44988
45093
  optional: false
44989
45094
  }],
45095
+ "pipelineAnalytics.listTrackRelations": [{
45096
+ name: "deviceId",
45097
+ form: "single",
45098
+ optional: false
45099
+ }],
44990
45100
  "pipelineAnalytics.listTracks": [{
44991
45101
  name: "deviceId",
44992
45102
  form: "single",
@@ -45057,6 +45167,16 @@ Object.freeze({
45057
45167
  form: "single",
45058
45168
  optional: false
45059
45169
  }],
45170
+ "pipelineAnalytics.setTrackPurity": [{
45171
+ name: "deviceId",
45172
+ form: "single",
45173
+ optional: false
45174
+ }],
45175
+ "pipelineAnalytics.setTrackRelation": [{
45176
+ name: "deviceId",
45177
+ form: "single",
45178
+ optional: false
45179
+ }],
45060
45180
  "pipelineAnalytics.wipeAllAnalytics": [{
45061
45181
  name: "deviceId",
45062
45182
  form: "single",
@@ -46798,7 +46918,7 @@ var AgentUIAddon = class extends BaseAddon {
46798
46918
  capability: adminUiCapability,
46799
46919
  provider: {
46800
46920
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
46801
- getVersion: async () => ({ version: "1.2.157" })
46921
+ getVersion: async () => ({ version: "1.2.158" })
46802
46922
  }
46803
46923
  }];
46804
46924
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.157",
3
+ "version": "1.2.158",
4
4
  "description": "Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",