@pyxmate/memory 0.5.10 → 0.5.11

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.
@@ -255,6 +255,12 @@ var MemoryClient = class {
255
255
  async reindex() {
256
256
  await this.fetchApi("/api/memory/reindex", { method: "POST" });
257
257
  }
258
+ async clearGraph() {
259
+ const result = await this.fetchApi("/api/memory/graph/clear", {
260
+ method: "POST"
261
+ });
262
+ return result.deleted;
263
+ }
258
264
  async deleteBySource(source) {
259
265
  const result = await this.fetchApi(
260
266
  `/api/memory/source/${this.encodePathSegment(source)}`,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MemoryClient
3
- } from "./chunk-LS3RIJUY.mjs";
3
+ } from "./chunk-DLRFLDMJ.mjs";
4
4
 
5
5
  // ../dashboard/src/aggregations/consolidation-analytics.ts
6
6
  function analyzeConsolidationLog(entries) {
@@ -11,8 +11,8 @@ import {
11
11
  toGraphologyFormat,
12
12
  transformGraphData,
13
13
  unreachableHealth
14
- } from "./chunk-64E5FGXX.mjs";
15
- import "./chunk-LS3RIJUY.mjs";
14
+ } from "./chunk-OTQZKEVS.mjs";
15
+ import "./chunk-DLRFLDMJ.mjs";
16
16
  export {
17
17
  DashboardClient,
18
18
  Poller,
package/dist/index.d.ts CHANGED
@@ -139,6 +139,7 @@ declare class MemoryClient implements ExtendedMemoryInterface {
139
139
  summarizeSession(sessionId: string): Promise<MemoryEntry$1 | null>;
140
140
  runDecay(): Promise<number>;
141
141
  reindex(): Promise<void>;
142
+ clearGraph(): Promise<number>;
142
143
  deleteBySource(source: string): Promise<number>;
143
144
  queryAsOf(asOfDate: string, filters?: TemporalQueryFilters): Promise<MemoryEntry$1[]>;
144
145
  queryByEventTime(startTime: string, endTime: string, filters?: TemporalQueryFilters): Promise<MemoryEntry$1[]>;
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MemoryClient,
3
3
  MemoryServerError
4
- } from "./chunk-LS3RIJUY.mjs";
4
+ } from "./chunk-DLRFLDMJ.mjs";
5
5
 
6
6
  // ../shared/src/constants/defaults.ts
7
7
  var DEFAULTS = {
package/dist/react.mjs CHANGED
@@ -11,8 +11,8 @@ import {
11
11
  toGraphologyFormat,
12
12
  transformGraphData,
13
13
  unreachableHealth
14
- } from "./chunk-64E5FGXX.mjs";
15
- import "./chunk-LS3RIJUY.mjs";
14
+ } from "./chunk-OTQZKEVS.mjs";
15
+ import "./chunk-DLRFLDMJ.mjs";
16
16
 
17
17
  // ../dashboard/src/hooks/use-consolidation-log.ts
18
18
  import { useCallback as useCallback2, useMemo } from "react";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pyxmate/memory",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "type": "module",
5
5
  "description": "SDK for pyx-memory — Memory as a Service for AI agents",
6
6
  "license": "MIT",