@camstack/addon-agent-ui 1.2.51 → 1.2.53

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 +17 -70
  2. package/package.json +1 -1
package/dist/addon.js CHANGED
@@ -12858,6 +12858,12 @@ method(object({
12858
12858
  }), _void(), {
12859
12859
  kind: "mutation",
12860
12860
  auth: "admin"
12861
+ }), method(object({
12862
+ from: string(),
12863
+ to: string()
12864
+ }), object({ moved: number() }), {
12865
+ kind: "mutation",
12866
+ auth: "admin"
12861
12867
  }), method(object({
12862
12868
  deviceId: number(),
12863
12869
  disabled: boolean()
@@ -15570,6 +15576,8 @@ var NcSystemEventKindSchema = _enum([
15570
15576
  "device-offline",
15571
15577
  "device-disabled",
15572
15578
  "device-enabled",
15579
+ "device-battery-low",
15580
+ "device-battery-normal",
15573
15581
  "stream-online",
15574
15582
  "stream-offline",
15575
15583
  "node-online",
@@ -18788,46 +18796,6 @@ var RecentTracksPageSchema = object({
18788
18796
  /** Cursor for the next page, or null when this page is the last. */
18789
18797
  nextCursor: string().nullable()
18790
18798
  });
18791
- var LIST_GROUPS_DEFAULT_LIMIT = 40;
18792
- var LIST_GROUPS_MAX_LIMIT = 100;
18793
- var AnalyticsGroupRecordSchema = object({
18794
- id: string(),
18795
- deviceId: number().int(),
18796
- openedAt: number().int(),
18797
- closedAt: number().int(),
18798
- timestamp: number().int(),
18799
- memberCount: number().int(),
18800
- memberTrackIds: array(string()).readonly(),
18801
- className: string(),
18802
- classes: array(string()).readonly(),
18803
- /** Relative event-media path, or null when the group has no picture yet. */
18804
- mediaUrl: string().nullable(),
18805
- singleton: boolean()
18806
- });
18807
- var AnalyticsGroupMemberSchema = object({
18808
- trackId: string(),
18809
- deviceId: number().int(),
18810
- className: string(),
18811
- firstSeen: number().int(),
18812
- lastSeen: number().int(),
18813
- mediaUrl: string().nullable()
18814
- });
18815
- var AnalyticsGroupDetailSchema = AnalyticsGroupRecordSchema.extend({ members: array(AnalyticsGroupMemberSchema).readonly() });
18816
- var ListGroupsQueryInput = object({
18817
- /** Devices to merge. An empty array yields `{ groups: [], nextCursor: null }`. */
18818
- deviceIds: array(number()),
18819
- /** Window lower bound on `closedAt` (inclusive). */
18820
- since: number().optional(),
18821
- /** Window upper bound on `openedAt` (inclusive). */
18822
- until: number().optional(),
18823
- limit: number().int().min(1).max(LIST_GROUPS_MAX_LIMIT).default(LIST_GROUPS_DEFAULT_LIMIT),
18824
- /** Opaque continuation cursor from a previous page's `nextCursor`. */
18825
- cursor: string().optional()
18826
- });
18827
- var ListGroupsPageSchema = object({
18828
- groups: array(AnalyticsGroupRecordSchema).readonly(),
18829
- nextCursor: string().nullable()
18830
- });
18831
18799
  var KEY_EVENTS_DEFAULT_LIMIT = 50;
18832
18800
  var KEY_EVENTS_MAX_LIMIT = 200;
18833
18801
  var KeyEventQueryInput = object({
@@ -18931,9 +18899,7 @@ var TrackCascadeCountsSchema = object({
18931
18899
  /** Unassigned plate reads removed (best-effort; plate leg deferred to plate-intelligence). */
18932
18900
  plates: number().int(),
18933
18901
  /** Per-track CLIP search vectors removed (best-effort). */
18934
- embeddings: number().int(),
18935
- /** Group membership + group rows removed with their last member (best-effort). */
18936
- groups: number().int()
18902
+ embeddings: number().int()
18937
18903
  });
18938
18904
  /** Disk-wins reconcile: media rows whose blobs are gone, then empty tracks. */
18939
18905
  var DiskReconcileCountsSchema = object({
@@ -19182,10 +19148,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
19182
19148
  * stationary registry). Default false: the timeline lists passages,
19183
19149
  * not parking records (operator decision, 2026-08-15). */
19184
19150
  includeStationary: boolean().optional()
19185
- }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(ListGroupsQueryInput, ListGroupsPageSchema), method(object({
19186
- deviceId: number(),
19187
- groupId: string().min(1)
19188
- }), AnalyticsGroupDetailSchema.nullable()), method(object({ deviceId: number() }), _void(), {
19151
+ }), array(TrackSchema).readonly()), method(RecentTracksQueryInput, RecentTracksPageSchema), method(object({ deviceId: number() }), _void(), {
19189
19152
  kind: "mutation",
19190
19153
  auth: "admin"
19191
19154
  }), method(DeviceEventQueryInput, array(MotionEventSchema).readonly()), method(ObjectEventQueryInput, array(ObjectEventSchema).readonly()), method(DeviceEventQueryInput, array(AudioEventSchema).readonly()), method(object({ deviceId: number() }), array(EventKindDescriptorSchema).readonly()), method(object({ deviceIds: array(number()).min(1).max(200) }), array(EventKindsForDeviceSchema).readonly()), method(object({
@@ -30273,6 +30236,12 @@ Object.freeze({
30273
30236
  addonId: null,
30274
30237
  access: "delete"
30275
30238
  },
30239
+ "deviceManager.renameLocation": {
30240
+ capName: "device-manager",
30241
+ capScope: "system",
30242
+ addonId: null,
30243
+ access: "create"
30244
+ },
30276
30245
  "deviceManager.runDeviceAction": {
30277
30246
  capName: "device-manager",
30278
30247
  capScope: "system",
@@ -31965,12 +31934,6 @@ Object.freeze({
31965
31934
  addonId: null,
31966
31935
  access: "view"
31967
31936
  },
31968
- "pipelineAnalytics.getGroup": {
31969
- capName: "pipeline-analytics",
31970
- capScope: "device",
31971
- addonId: null,
31972
- access: "view"
31973
- },
31974
31937
  "pipelineAnalytics.getKeyEvents": {
31975
31938
  capName: "pipeline-analytics",
31976
31939
  capScope: "device",
@@ -32073,12 +32036,6 @@ Object.freeze({
32073
32036
  addonId: null,
32074
32037
  access: "view"
32075
32038
  },
32076
- "pipelineAnalytics.listGroups": {
32077
- capName: "pipeline-analytics",
32078
- capScope: "device",
32079
- addonId: null,
32080
- access: "view"
32081
- },
32082
32039
  "pipelineAnalytics.listOpsLog": {
32083
32040
  capName: "pipeline-analytics",
32084
32041
  capScope: "device",
@@ -35701,11 +35658,6 @@ Object.freeze({
35701
35658
  form: "single",
35702
35659
  optional: true
35703
35660
  }],
35704
- "pipelineAnalytics.getGroup": [{
35705
- name: "deviceId",
35706
- form: "single",
35707
- optional: false
35708
- }],
35709
35661
  "pipelineAnalytics.getKeyEvents": [{
35710
35662
  name: "deviceId",
35711
35663
  form: "single",
@@ -35771,11 +35723,6 @@ Object.freeze({
35771
35723
  form: "single",
35772
35724
  optional: false
35773
35725
  }],
35774
- "pipelineAnalytics.listGroups": [{
35775
- name: "deviceIds",
35776
- form: "array",
35777
- optional: false
35778
- }],
35779
35726
  "pipelineAnalytics.listOpsLog": [{
35780
35727
  name: "deviceId",
35781
35728
  form: "single",
@@ -37060,7 +37007,7 @@ var AgentUIAddon = class extends BaseAddon {
37060
37007
  capability: adminUiCapability,
37061
37008
  provider: {
37062
37009
  getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
37063
- getVersion: async () => ({ version: "1.2.51" })
37010
+ getVersion: async () => ({ version: "1.2.53" })
37064
37011
  }
37065
37012
  }];
37066
37013
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-agent-ui",
3
- "version": "1.2.51",
3
+ "version": "1.2.53",
4
4
  "description": "Agent UI — lightweight status dashboard served by every agent node",
5
5
  "keywords": [
6
6
  "camstack",