@pyxmate/memory 0.30.0 → 0.31.0
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.
- package/dist/{chunk-N2SLPBUH.mjs → chunk-27RJJTZH.mjs} +10 -1
- package/dist/{chunk-O7RVFGUA.mjs → chunk-HXF7EXXP.mjs} +1 -1
- package/dist/{chunk-SSUYQJUI.mjs → chunk-I45LGUJR.mjs} +0 -7
- package/dist/cli/pyx-mem.mjs +104 -14604
- package/dist/dashboard.mjs +3 -3
- package/dist/index.d.ts +8 -0
- package/dist/index.mjs +2 -2
- package/dist/react.mjs +3 -3
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeExtractedEntities
|
|
3
|
-
} from "./chunk-
|
|
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,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,
|