@pyxmate/memory 0.17.5 → 0.17.6

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.
@@ -141,6 +141,7 @@ var MemoryClient = class {
141
141
  const formData = new FormData();
142
142
  formData.append("file", file);
143
143
  if (options?.description) formData.append("description", options.description);
144
+ if (options?.namespaceId) formData.append("namespaceId", options.namespaceId);
144
145
  const wantsTextWindows = Boolean(options?.enrichment?.extractEntitiesV2);
145
146
  const headers = {
146
147
  Accept: "application/x-ndjson",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  MemoryClient
3
- } from "./chunk-DR7UBO3Y.mjs";
3
+ } from "./chunk-55E3V44T.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-ZEX65TA5.mjs";
15
- import "./chunk-DR7UBO3Y.mjs";
14
+ } from "./chunk-PUDKYGQI.mjs";
15
+ import "./chunk-55E3V44T.mjs";
16
16
  export {
17
17
  DashboardClient,
18
18
  Poller,
package/dist/index.d.ts CHANGED
@@ -122,11 +122,17 @@ interface EnrichmentCallbacks {
122
122
  /**
123
123
  * Options for {@link MemoryClient.ingestFileEvents}. `signal` lets
124
124
  * long-running ingests (LLM enrichment + graph writes) be cancelled cleanly.
125
+ *
126
+ * `namespaceId` opts the upload into ReBAC AuthzPlan visibility — the server
127
+ * thread the namespace through parsing → enrichment → store calls so the
128
+ * resulting catalog row and chunk entries land in the named namespace
129
+ * (server v0.17.4+; required when `requireNamespaceForTenantWrites=true`).
125
130
  */
126
131
  interface IngestFileOptions {
127
132
  description?: string;
128
133
  enrichment?: EnrichmentCallbacks;
129
134
  signal?: AbortSignal;
135
+ namespaceId?: string;
130
136
  }
131
137
  /** Error thrown by MemoryClient when the server returns a non-success response. */
132
138
  declare class MemoryServerError extends Error {
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MemoryClient,
3
3
  MemoryServerError
4
- } from "./chunk-DR7UBO3Y.mjs";
4
+ } from "./chunk-55E3V44T.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-ZEX65TA5.mjs";
15
- import "./chunk-DR7UBO3Y.mjs";
14
+ } from "./chunk-PUDKYGQI.mjs";
15
+ import "./chunk-55E3V44T.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.17.5",
3
+ "version": "0.17.6",
4
4
  "type": "module",
5
5
  "description": "SDK for pyx-memory — Memory as a Service for AI agents",
6
6
  "license": "MIT",