@pyxmate/memory 0.30.0 → 0.31.1

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mergeExtractedEntities
3
- } from "./chunk-SSUYQJUI.mjs";
3
+ } from "./chunk-I45LGUJR.mjs";
4
4
 
5
5
  // ../client/src/memory-client.ts
6
6
  var MemoryServerError = class extends Error {
@@ -597,6 +597,15 @@ var MemoryClient = class {
597
597
  );
598
598
  return result.deleted;
599
599
  }
600
+ async setFolder(from, to, options = {}) {
601
+ return this.fetchApi(
602
+ "/api/memory/folders/rename",
603
+ {
604
+ method: "POST",
605
+ body: JSON.stringify({ from, to, dryRun: options.dryRun === true })
606
+ }
607
+ );
608
+ }
600
609
  async queryAsOf(asOfDate, filters = {}) {
601
610
  const params = new URLSearchParams({ asOf: asOfDate });
602
611
  if (filters.type) params.set("type", filters.type);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MemoryClient
3
- } from "./chunk-N2SLPBUH.mjs";
3
+ } from "./chunk-27RJJTZH.mjs";
4
4
 
5
5
  // ../dashboard/src/aggregations/consolidation-analytics.ts
6
6
  function analyzeConsolidationLog(entries) {
@@ -1,9 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __export = (target, all) => {
3
- for (var name in all)
4
- __defProp(target, name, { get: all[name], enumerable: true });
5
- };
6
-
7
1
  // ../shared/src/constants/defaults.ts
8
2
  var DEFAULTS = {
9
3
  DATA_DIR: "./data",
@@ -105,7 +99,6 @@ var MoveFailureReason = {
105
99
  var SINGLE_TENANT_ID = "_single";
106
100
 
107
101
  export {
108
- __export,
109
102
  DEFAULTS,
110
103
  mergeExtractedEntities,
111
104
  NamespaceIsolation,