@pyxmate/memory 0.17.3 → 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",
|
package/dist/dashboard.mjs
CHANGED
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
package/dist/react.mjs
CHANGED
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
toGraphologyFormat,
|
|
12
12
|
transformGraphData,
|
|
13
13
|
unreachableHealth
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
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";
|