@anuma/sdk 7.3.3 → 7.3.4

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.
@@ -22465,7 +22465,7 @@ function createRemoteMemoryStore(options) {
22465
22465
  )).flat();
22466
22466
  const listFilters = (listOptions) => ({
22467
22467
  ...stateFilters(listOptions),
22468
- include_embeddings: true,
22468
+ include_embeddings: listOptions.withEmbeddings !== false,
22469
22469
  order: listOptions.since ? "updated" : "created",
22470
22470
  ...listOptions.scopes?.length && { scopes: listOptions.scopes },
22471
22471
  ...listOptions.factTypes?.length && { fact_types: listOptions.factTypes },
@@ -6511,6 +6511,8 @@ interface MemoryListOptions {
6511
6511
  includeQuarantined?: boolean;
6512
6512
  /** Memory history — rows carry `supersededBy`. */
6513
6513
  includeSuperseded?: boolean;
6514
+ /** `false` lets a remote store skip downloading vectors; its rows then carry a null `embedding`. */
6515
+ withEmbeddings?: boolean;
6514
6516
  }
6515
6517
  /**
6516
6518
  * A manual memory save. Creation uses private visibility, manual provenance
@@ -6511,6 +6511,8 @@ interface MemoryListOptions {
6511
6511
  includeQuarantined?: boolean;
6512
6512
  /** Memory history — rows carry `supersededBy`. */
6513
6513
  includeSuperseded?: boolean;
6514
+ /** `false` lets a remote store skip downloading vectors; its rows then carry a null `embedding`. */
6515
+ withEmbeddings?: boolean;
6514
6516
  }
6515
6517
  /**
6516
6518
  * A manual memory save. Creation uses private visibility, manual provenance
@@ -20800,7 +20800,7 @@ function createRemoteMemoryStore(options) {
20800
20800
  )).flat();
20801
20801
  const listFilters = (listOptions) => ({
20802
20802
  ...stateFilters(listOptions),
20803
- include_embeddings: true,
20803
+ include_embeddings: listOptions.withEmbeddings !== false,
20804
20804
  order: listOptions.since ? "updated" : "created",
20805
20805
  ...listOptions.scopes?.length && { scopes: listOptions.scopes },
20806
20806
  ...listOptions.factTypes?.length && { fact_types: listOptions.factTypes },
@@ -24768,7 +24768,7 @@ function createRemoteMemoryStore(options) {
24768
24768
  )).flat();
24769
24769
  const listFilters = (listOptions) => ({
24770
24770
  ...stateFilters(listOptions),
24771
- include_embeddings: true,
24771
+ include_embeddings: listOptions.withEmbeddings !== false,
24772
24772
  order: listOptions.since ? "updated" : "created",
24773
24773
  ...listOptions.scopes?.length && { scopes: listOptions.scopes },
24774
24774
  ...listOptions.factTypes?.length && { fact_types: listOptions.factTypes },
@@ -7116,6 +7116,8 @@ interface MemoryListOptions {
7116
7116
  includeQuarantined?: boolean;
7117
7117
  /** Memory history — rows carry `supersededBy`. */
7118
7118
  includeSuperseded?: boolean;
7119
+ /** `false` lets a remote store skip downloading vectors; its rows then carry a null `embedding`. */
7120
+ withEmbeddings?: boolean;
7119
7121
  }
7120
7122
  /**
7121
7123
  * A manual memory save. Creation uses private visibility, manual provenance
@@ -7116,6 +7116,8 @@ interface MemoryListOptions {
7116
7116
  includeQuarantined?: boolean;
7117
7117
  /** Memory history — rows carry `supersededBy`. */
7118
7118
  includeSuperseded?: boolean;
7119
+ /** `false` lets a remote store skip downloading vectors; its rows then carry a null `embedding`. */
7120
+ withEmbeddings?: boolean;
7119
7121
  }
7120
7122
  /**
7121
7123
  * A manual memory save. Creation uses private visibility, manual provenance
@@ -22895,7 +22895,7 @@ function createRemoteMemoryStore(options) {
22895
22895
  )).flat();
22896
22896
  const listFilters = (listOptions) => ({
22897
22897
  ...stateFilters(listOptions),
22898
- include_embeddings: true,
22898
+ include_embeddings: listOptions.withEmbeddings !== false,
22899
22899
  order: listOptions.since ? "updated" : "created",
22900
22900
  ...listOptions.scopes?.length && { scopes: listOptions.scopes },
22901
22901
  ...listOptions.factTypes?.length && { fact_types: listOptions.factTypes },
@@ -6151,6 +6151,8 @@ interface MemoryListOptions {
6151
6151
  includeQuarantined?: boolean;
6152
6152
  /** Memory history — rows carry `supersededBy`. */
6153
6153
  includeSuperseded?: boolean;
6154
+ /** `false` lets a remote store skip downloading vectors; its rows then carry a null `embedding`. */
6155
+ withEmbeddings?: boolean;
6154
6156
  }
6155
6157
  /**
6156
6158
  * A manual memory save. Creation uses private visibility, manual provenance
@@ -6151,6 +6151,8 @@ interface MemoryListOptions {
6151
6151
  includeQuarantined?: boolean;
6152
6152
  /** Memory history — rows carry `supersededBy`. */
6153
6153
  includeSuperseded?: boolean;
6154
+ /** `false` lets a remote store skip downloading vectors; its rows then carry a null `embedding`. */
6155
+ withEmbeddings?: boolean;
6154
6156
  }
6155
6157
  /**
6156
6158
  * A manual memory save. Creation uses private visibility, manual provenance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anuma/sdk",
3
- "version": "7.3.3",
3
+ "version": "7.3.4",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",