xmemory 3.21.0 → 3.21.1
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/README.md +3 -3
- package/dist/cjs/types.d.ts +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/types.d.ts +2 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -512,7 +512,7 @@ level in the shape it always had: `depth`, `omitted_objects` and the catalog
|
|
|
512
512
|
entries' `distance`, `related` and `omitted_related` are then absent. A value
|
|
513
513
|
outside 1 to 3 is a 422 whose `code` is `VALIDATION_ERROR`. Asking for related
|
|
514
514
|
types needs the
|
|
515
|
-
`instance.
|
|
515
|
+
`instance.get` permission on the API key, the same one the schema
|
|
516
516
|
endpoints need, on top of `data.read`: a key without it gets a 403 whose
|
|
517
517
|
message names the permission, and the plain read is unaffected.
|
|
518
518
|
|
|
@@ -882,7 +882,7 @@ different things:
|
|
|
882
882
|
| 402 | `QUOTA_EXCEEDED` | Tenant exhausted its plan/usage allowance (a daily or monthly token quota). | **No.** Wait for the window to reset. |
|
|
883
883
|
| 429 | `RATE_LIMITED` | Genuine velocity / rate limit. | **Yes**, with backoff. |
|
|
884
884
|
| 422 | `INVALID_INPUT` | A read that answered nothing: in `"raw-tables"` / `"xresponse"` mode every sub-query's SQL failed, or the model provider declined the input. See [What comes back](#what-comes-back). | **No.** Same input, same answer. |
|
|
885
|
-
| 403 | `FORBIDDEN` | The API key lacks a permission the call needs — for a read with `includeRelatedTypes: "types"`, `instance.get_own
|
|
885
|
+
| 403 | `FORBIDDEN` | The API key lacks a permission the call needs — for a read with `includeRelatedTypes: "types"`, `instance.get` (servers from before the permission rename call it `instance.get_own`); the message names it. See [Related types](#related-types). | **No.** Repeat without the option, or use a key that holds it. |
|
|
886
886
|
|
|
887
887
|
For `QUOTA_EXCEEDED`, `details` carries `kind`
|
|
888
888
|
(`"daily_quota_exceeded"` | `"monthly_quota_exceeded"`) and
|
|
@@ -996,7 +996,7 @@ new file mode 100644
|
|
|
996
996
|
+ id: 'xmemory',
|
|
997
997
|
+ servers: {
|
|
998
998
|
+ xmemory: {
|
|
999
|
-
+ url: new URL('https://
|
|
999
|
+
+ url: new URL('https://mcp.xmemory.ai'),
|
|
1000
1000
|
+ requestInit: {
|
|
1001
1001
|
+ headers: {
|
|
1002
1002
|
+ Authorization: `Bearer ${process.env.XMEM_MCP_BEARER_TOKEN}`,
|
package/dist/cjs/types.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type ReadMode = "single-answer" | "raw-tables" | "xresponse";
|
|
|
11
11
|
/**
|
|
12
12
|
* What a read says about the schema around its answer. `"types"` adds
|
|
13
13
|
* {@link ReadResult.related_types} to the result; `"none"` (the server default)
|
|
14
|
-
* leaves it out. Asking for it needs the `instance.
|
|
14
|
+
* leaves it out. Asking for it needs the `instance.get` permission on the
|
|
15
15
|
* API key, the same one the schema endpoints need, on top of `data.read`: a key
|
|
16
16
|
* without it gets a 403 whose message names the permission, and the plain read
|
|
17
17
|
* is unaffected.
|
|
@@ -981,7 +981,7 @@ export interface ReadOptions {
|
|
|
981
981
|
* `"types"` asks for {@link ReadResult.related_types}: the object types the read
|
|
982
982
|
* touched, the fields it did not return, and the object types a declared
|
|
983
983
|
* relation links them to. Left unset, nothing is sent and the server default
|
|
984
|
-
* (`"none"`) applies. Needs `instance.
|
|
984
|
+
* (`"none"`) applies. Needs `instance.get` on the API key; see
|
|
985
985
|
* {@link RelatedTypesMode}.
|
|
986
986
|
*/
|
|
987
987
|
includeRelatedTypes?: RelatedTypesMode;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Package version. Kept in sync with `package.json` — a test asserts they match. */
|
|
2
|
-
export declare const VERSION = "3.21.
|
|
2
|
+
export declare const VERSION = "3.21.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/types.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export type ReadMode = "single-answer" | "raw-tables" | "xresponse";
|
|
|
11
11
|
/**
|
|
12
12
|
* What a read says about the schema around its answer. `"types"` adds
|
|
13
13
|
* {@link ReadResult.related_types} to the result; `"none"` (the server default)
|
|
14
|
-
* leaves it out. Asking for it needs the `instance.
|
|
14
|
+
* leaves it out. Asking for it needs the `instance.get` permission on the
|
|
15
15
|
* API key, the same one the schema endpoints need, on top of `data.read`: a key
|
|
16
16
|
* without it gets a 403 whose message names the permission, and the plain read
|
|
17
17
|
* is unaffected.
|
|
@@ -981,7 +981,7 @@ export interface ReadOptions {
|
|
|
981
981
|
* `"types"` asks for {@link ReadResult.related_types}: the object types the read
|
|
982
982
|
* touched, the fields it did not return, and the object types a declared
|
|
983
983
|
* relation links them to. Left unset, nothing is sent and the server default
|
|
984
|
-
* (`"none"`) applies. Needs `instance.
|
|
984
|
+
* (`"none"`) applies. Needs `instance.get` on the API key; see
|
|
985
985
|
* {@link RelatedTypesMode}.
|
|
986
986
|
*/
|
|
987
987
|
includeRelatedTypes?: RelatedTypesMode;
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Package version. Kept in sync with `package.json` — a test asserts they match. */
|
|
2
|
-
export declare const VERSION = "3.21.
|
|
2
|
+
export declare const VERSION = "3.21.1";
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Package version. Kept in sync with `package.json` — a test asserts they match. */
|
|
2
|
-
export const VERSION = "3.21.
|
|
2
|
+
export const VERSION = "3.21.1";
|