camstack 1.1.4 → 1.1.5

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.
@@ -14522,7 +14522,7 @@ function date4(params) {
14522
14522
  // ../../node_modules/zod/v4/classic/external.js
14523
14523
  config(en_default());
14524
14524
 
14525
- // ../types/dist/sleep-_J5S7OEP.mjs
14525
+ // ../types/dist/sleep-NOH4yRwj.mjs
14526
14526
  var WELL_KNOWN_TABS = [
14527
14527
  {
14528
14528
  id: "overview",
@@ -22228,7 +22228,8 @@ var modelConvertCapability = {
22228
22228
  internal: true,
22229
22229
  methods: { convert: method(ModelConvertInputSchema, ConvertResultSchema, {
22230
22230
  kind: "mutation",
22231
- auth: "admin"
22231
+ auth: "admin",
22232
+ timeoutMs: 6e5
22232
22233
  }) }
22233
22234
  };
22234
22235
  var AddonHttpRouteSchema = external_exports.object({
@@ -24377,7 +24378,14 @@ var NotificationRuleConditionsSchema = external_exports.object({
24377
24378
  /** Match against `event.data.eventType` token (e.g. `'press_long'`). When non-empty, only events
24378
24379
  * carrying a matching `data.eventType` string pass this condition. Rules without this field are
24379
24380
  * unaffected (back-compat). Distinct from `rule.eventTypes` which holds EventCategory strings. */
24380
- eventTypeTokens: external_exports.array(external_exports.string()).readonly().optional()
24381
+ eventTypeTokens: external_exports.array(external_exports.string()).readonly().optional(),
24382
+ /** Match detections whose CLIP image embedding is semantically similar to this free-text
24383
+ * description. Requires the embedding-encoder cap to have pre-warmed the text vector.
24384
+ * `minSimilarity` is the cosine similarity threshold in [0, 1]. */
24385
+ clipDescription: external_exports.object({
24386
+ text: external_exports.string().min(1),
24387
+ minSimilarity: external_exports.number().min(0).max(1)
24388
+ }).optional()
24381
24389
  });
24382
24390
  var NotificationRuleTemplateSchema = external_exports.object({
24383
24391
  title: external_exports.string(),
@@ -24617,6 +24625,16 @@ var TrackedDetectionSchema = external_exports.object({
24617
24625
  zones: external_exports.array(external_exports.string()).readonly(),
24618
24626
  state: TrackStateSchema
24619
24627
  });
24628
+ var ScoredObjectEventSchema = ObjectEventSchema.extend({ score: external_exports.number() });
24629
+ var SearchObjectEventsInput = external_exports.object({
24630
+ text: external_exports.string(),
24631
+ deviceId: external_exports.number().optional(),
24632
+ since: external_exports.number().optional(),
24633
+ until: external_exports.number().optional(),
24634
+ classFilter: external_exports.string().optional(),
24635
+ limit: external_exports.number().default(50),
24636
+ minScore: external_exports.number().min(0).max(1).default(0.2)
24637
+ });
24620
24638
  var pipelineAnalyticsCapability = {
24621
24639
  name: "pipeline-analytics",
24622
24640
  scope: "device",
@@ -24683,7 +24701,16 @@ var pipelineAnalyticsCapability = {
24683
24701
  eventId: external_exports.string(),
24684
24702
  kind: MediaFileKindEnum.optional()
24685
24703
  }), external_exports.array(MediaFileSchema).readonly()),
24686
- getTrackMedia: method(external_exports.object({ trackId: external_exports.string() }), external_exports.array(MediaFileSchema).readonly())
24704
+ getTrackMedia: method(external_exports.object({ trackId: external_exports.string() }), external_exports.array(MediaFileSchema).readonly()),
24705
+ /**
24706
+ * Search object events by text query using CLIP cosine similarity.
24707
+ * Encodes `text` via the `embedding-encoder` cap, queries the
24708
+ * `ObjectEmbeddingStore` with optional prefilters, ranks all matching
24709
+ * embeddings by cosine similarity, and joins winners to their
24710
+ * ObjectEvents by trackId. Returns up to `limit` events scored ≥
24711
+ * `minScore`, sorted descending by score.
24712
+ */
24713
+ searchObjectEvents: method(SearchObjectEventsInput, external_exports.array(ScoredObjectEventSchema).readonly())
24687
24714
  },
24688
24715
  events: {
24689
24716
  /**
@@ -29866,6 +29893,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
29866
29893
  addonId: null,
29867
29894
  access: "create"
29868
29895
  },
29896
+ "pipelineAnalytics.searchObjectEvents": {
29897
+ capName: "pipeline-analytics",
29898
+ capScope: "device",
29899
+ addonId: null,
29900
+ access: "view"
29901
+ },
29869
29902
  "pipelineExecutor.cacheFrameInPool": {
29870
29903
  capName: "pipeline-executor",
29871
29904
  capScope: "system",
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  runDiscover
4
- } from "./chunk-WULOGBAV.js";
4
+ } from "./chunk-BNSW6BYS.js";
5
5
  import "./chunk-K3NQKI34.js";
6
6
 
7
7
  // src/cli.ts
@@ -608,7 +608,7 @@ function isUnknown(_value) {
608
608
  return true;
609
609
  }
610
610
  async function resolveServerInteractive(presetNamespace) {
611
- const { discoverNodes, resolveHubFromDiscovered } = await import("./discover-MPT6F6UU.js");
611
+ const { discoverNodes, resolveHubFromDiscovered } = await import("./discover-E6DXRTDE.js");
612
612
  if (presetNamespace) {
613
613
  const spinner4 = clack.spinner();
614
614
  spinner4.start(`Discovering hub on LAN (namespace "${presetNamespace}")`);
@@ -3,7 +3,7 @@ import {
3
3
  discoverNodes,
4
4
  resolveHubFromDiscovered,
5
5
  runDiscover
6
- } from "./chunk-WULOGBAV.js";
6
+ } from "./chunk-BNSW6BYS.js";
7
7
  import "./chunk-K3NQKI34.js";
8
8
  export {
9
9
  discoverNodes,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstack",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "CLI tool for managing and running CamStack server",
5
5
  "keywords": [
6
6
  "camstack",