@mnemo-ai/client-ts 3.6.0-alpha.0 → 3.6.2
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/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -151,6 +151,13 @@ interface RememberInput {
|
|
|
151
151
|
statement: string;
|
|
152
152
|
subject?: string;
|
|
153
153
|
kind?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Type-specific subtype, used only when kind is 'fact', 'decision', or
|
|
156
|
+
* 'entity'. See RememberInput.kind for the primitive taxonomy — this
|
|
157
|
+
* field is the taxonomy *within* that primitive (e.g. for kind='fact':
|
|
158
|
+
* 'preference' | 'trait' | 'event' | 'relationship' | 'skill' | 'concern' | 'other').
|
|
159
|
+
*/
|
|
160
|
+
subtype?: string;
|
|
154
161
|
confidence?: number;
|
|
155
162
|
agentId?: string;
|
|
156
163
|
conversationId?: string;
|
|
@@ -1755,6 +1762,8 @@ interface CreateKeyInput {
|
|
|
1755
1762
|
plan?: "free" | "pro" | "enterprise";
|
|
1756
1763
|
test?: boolean;
|
|
1757
1764
|
maxSensitivity?: Sensitivity;
|
|
1765
|
+
/** workspace (default, single workspace) or user (multi-workspace user token). */
|
|
1766
|
+
keyKind?: "workspace" | "user" | "tenant" | "admin";
|
|
1758
1767
|
}
|
|
1759
1768
|
/** Response from API key creation — plaintext key is shown ONCE. */
|
|
1760
1769
|
interface CreateKeyResponse {
|
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,13 @@ interface RememberInput {
|
|
|
151
151
|
statement: string;
|
|
152
152
|
subject?: string;
|
|
153
153
|
kind?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Type-specific subtype, used only when kind is 'fact', 'decision', or
|
|
156
|
+
* 'entity'. See RememberInput.kind for the primitive taxonomy — this
|
|
157
|
+
* field is the taxonomy *within* that primitive (e.g. for kind='fact':
|
|
158
|
+
* 'preference' | 'trait' | 'event' | 'relationship' | 'skill' | 'concern' | 'other').
|
|
159
|
+
*/
|
|
160
|
+
subtype?: string;
|
|
154
161
|
confidence?: number;
|
|
155
162
|
agentId?: string;
|
|
156
163
|
conversationId?: string;
|
|
@@ -1755,6 +1762,8 @@ interface CreateKeyInput {
|
|
|
1755
1762
|
plan?: "free" | "pro" | "enterprise";
|
|
1756
1763
|
test?: boolean;
|
|
1757
1764
|
maxSensitivity?: Sensitivity;
|
|
1765
|
+
/** workspace (default, single workspace) or user (multi-workspace user token). */
|
|
1766
|
+
keyKind?: "workspace" | "user" | "tenant" | "admin";
|
|
1758
1767
|
}
|
|
1759
1768
|
/** Response from API key creation — plaintext key is shown ONCE. */
|
|
1760
1769
|
interface CreateKeyResponse {
|
package/dist/index.js
CHANGED
|
@@ -255,6 +255,7 @@ var MnemosyneClient = class {
|
|
|
255
255
|
statement: input.statement,
|
|
256
256
|
...input.subject ? { subject: input.subject } : {},
|
|
257
257
|
...input.kind ? { kind: input.kind } : {},
|
|
258
|
+
...input.subtype ? { subtype: input.subtype } : {},
|
|
258
259
|
...input.confidence !== void 0 ? { confidence: input.confidence } : {},
|
|
259
260
|
...input.agentId ? { agentId: input.agentId, attribution: input.agentId } : {},
|
|
260
261
|
...input.conversationId ? { conversationId: input.conversationId } : {},
|