@camstack/addon-post-analysis 1.2.36 → 1.2.37

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.
@@ -18060,6 +18060,24 @@ var VectorDeleteByFilterInputSchema = object({
18060
18060
  filter: VectorFilterSchema
18061
18061
  });
18062
18062
  var VectorDeleteResultSchema = object({ deleted: number() });
18063
+ var VectorGetInputSchema = object({
18064
+ index: string(),
18065
+ ids: array(string())
18066
+ });
18067
+ /**
18068
+ * Metadata for the requested ids, WITHOUT their vectors.
18069
+ *
18070
+ * The only caller is a best-of gate that compares a candidate's confidence
18071
+ * against the stored one, and shipping 512 floats back to answer "is 0.91 >
18072
+ * 0.87" would undo the point of the compact encoding. Ids with no row are
18073
+ * simply absent — a caller distinguishing "not stored" from "stored" reads the
18074
+ * length, and a null placeholder would invite a `?? 0` that treats a missing
18075
+ * row as confidence zero.
18076
+ */
18077
+ var VectorGetResultSchema = object({ items: array(object({
18078
+ id: string(),
18079
+ metadata: VectorMetadataSchema
18080
+ })) });
18063
18081
  var VectorStatsInputSchema = object({ index: string() });
18064
18082
  var VectorStatsResultSchema = object({
18065
18083
  /** Provider id, so an operator can tell brute force from an ANN index. */
@@ -18072,7 +18090,7 @@ var VectorStatsResultSchema = object({
18072
18090
  /** False when the backend ranks approximately. */
18073
18091
  exact: boolean()
18074
18092
  });
18075
- method(VectorDeclareIndexInputSchema, _void(), { kind: "mutation" }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, { kind: "mutation" }), method(VectorQueryInputSchema, VectorQueryResultSchema), method(VectorDeleteInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorStatsInputSchema, VectorStatsResultSchema);
18093
+ method(VectorDeclareIndexInputSchema, _void(), { kind: "mutation" }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, { kind: "mutation" }), method(VectorQueryInputSchema, VectorQueryResultSchema), method(VectorGetInputSchema, VectorGetResultSchema), method(VectorDeleteInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorStatsInputSchema, VectorStatsResultSchema);
18076
18094
  /**
18077
18095
  * `videoclips` — the unified, navigable-clip surface for a camera.
18078
18096
  *
@@ -30938,6 +30956,12 @@ Object.freeze({
30938
30956
  addonId: null,
30939
30957
  access: "delete"
30940
30958
  },
30959
+ "vectorStore.getByIds": {
30960
+ capName: "vector-store",
30961
+ capScope: "system",
30962
+ addonId: null,
30963
+ access: "view"
30964
+ },
30941
30965
  "vectorStore.query": {
30942
30966
  capName: "vector-store",
30943
30967
  capScope: "system",
@@ -18082,6 +18082,24 @@ var VectorDeleteByFilterInputSchema = object({
18082
18082
  filter: VectorFilterSchema
18083
18083
  });
18084
18084
  var VectorDeleteResultSchema = object({ deleted: number() });
18085
+ var VectorGetInputSchema = object({
18086
+ index: string(),
18087
+ ids: array(string())
18088
+ });
18089
+ /**
18090
+ * Metadata for the requested ids, WITHOUT their vectors.
18091
+ *
18092
+ * The only caller is a best-of gate that compares a candidate's confidence
18093
+ * against the stored one, and shipping 512 floats back to answer "is 0.91 >
18094
+ * 0.87" would undo the point of the compact encoding. Ids with no row are
18095
+ * simply absent — a caller distinguishing "not stored" from "stored" reads the
18096
+ * length, and a null placeholder would invite a `?? 0` that treats a missing
18097
+ * row as confidence zero.
18098
+ */
18099
+ var VectorGetResultSchema = object({ items: array(object({
18100
+ id: string(),
18101
+ metadata: VectorMetadataSchema
18102
+ })) });
18085
18103
  var VectorStatsInputSchema = object({ index: string() });
18086
18104
  var VectorStatsResultSchema = object({
18087
18105
  /** Provider id, so an operator can tell brute force from an ANN index. */
@@ -18094,7 +18112,7 @@ var VectorStatsResultSchema = object({
18094
18112
  /** False when the backend ranks approximately. */
18095
18113
  exact: boolean()
18096
18114
  });
18097
- method(VectorDeclareIndexInputSchema, _void(), { kind: "mutation" }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, { kind: "mutation" }), method(VectorQueryInputSchema, VectorQueryResultSchema), method(VectorDeleteInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorStatsInputSchema, VectorStatsResultSchema);
18115
+ method(VectorDeclareIndexInputSchema, _void(), { kind: "mutation" }), method(VectorUpsertInputSchema, VectorUpsertResultSchema, { kind: "mutation" }), method(VectorQueryInputSchema, VectorQueryResultSchema), method(VectorGetInputSchema, VectorGetResultSchema), method(VectorDeleteInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorDeleteByFilterInputSchema, VectorDeleteResultSchema, { kind: "mutation" }), method(VectorStatsInputSchema, VectorStatsResultSchema);
18098
18116
  /**
18099
18117
  * `videoclips` — the unified, navigable-clip surface for a camera.
18100
18118
  *
@@ -30960,6 +30978,12 @@ Object.freeze({
30960
30978
  addonId: null,
30961
30979
  access: "delete"
30962
30980
  },
30981
+ "vectorStore.getByIds": {
30982
+ capName: "vector-store",
30983
+ capScope: "system",
30984
+ addonId: null,
30985
+ access: "view"
30986
+ },
30963
30987
  "vectorStore.query": {
30964
30988
  capName: "vector-store",
30965
30989
  capScope: "system",
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_dist = require("../dist-cXcI2z-g.js");
5
+ const require_dist = require("../dist-DQvvZ5_E.js");
6
6
  let node_fs = require("node:fs");
7
7
  let node_fs$1 = require_dist.__toESM(node_fs, 1);
8
8
  node_fs = require_dist.__toESM(node_fs);
@@ -1,4 +1,4 @@
1
- import { E as embeddingEncoderCapability, k as hfModelUrl, z as BaseAddon } from "../dist-B-2HqwZV.mjs";
1
+ import { E as embeddingEncoderCapability, k as hfModelUrl, z as BaseAddon } from "../dist-BdBTDQxw.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import * as fs from "node:fs";
4
4
  import "node:fs";
@@ -1,4 +1,4 @@
1
- const require_dist = require("./dist-cXcI2z-g.js");
1
+ const require_dist = require("./dist-DQvvZ5_E.js");
2
2
  let node_fs = require("node:fs");
3
3
  node_fs = require_dist.__toESM(node_fs, 1);
4
4
  let node_path = require("node:path");
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.35",
21
+ version: "1.2.36",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_pipeline_analytics_widgets",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.35",
39
+ version: "1.2.36",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,