@slashml/memory 1.0.7 → 1.0.8
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/bin/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/index.ts +2 -3
package/bin/cli.js
CHANGED
|
@@ -10,7 +10,7 @@ const readline = require("readline");
|
|
|
10
10
|
|
|
11
11
|
const DEFAULT_BASE_URL = "https://api.slashml.ai";
|
|
12
12
|
const DEFAULT_CONSOLE_URL = "https://app.slashml.ai";
|
|
13
|
-
const PACKAGE_VERSION = "1.0.
|
|
13
|
+
const PACKAGE_VERSION = "1.0.8";
|
|
14
14
|
|
|
15
15
|
function printHelp() {
|
|
16
16
|
console.log(`@slashml/memory v${PACKAGE_VERSION} -- Official CLI & MCP Stdio Server for / ml (SlashML · https://slashml.ai)
|
package/dist/index.js
CHANGED
|
@@ -182,7 +182,7 @@ class MemoryClient {
|
|
|
182
182
|
const headers = {
|
|
183
183
|
Accept: "application/json",
|
|
184
184
|
"Content-Type": "application/json",
|
|
185
|
-
"User-Agent": "slashml-memory-ts/1.0.
|
|
185
|
+
"User-Agent": "slashml-memory-ts/1.0.8",
|
|
186
186
|
};
|
|
187
187
|
if (this.apiKey) {
|
|
188
188
|
headers.Authorization = `Bearer ${this.apiKey}`;
|
package/dist/index.mjs
CHANGED
|
@@ -184,7 +184,7 @@ export class MemoryClient {
|
|
|
184
184
|
const headers = {
|
|
185
185
|
Accept: "application/json",
|
|
186
186
|
"Content-Type": "application/json",
|
|
187
|
-
"User-Agent": "slashml-memory-ts/1.0.
|
|
187
|
+
"User-Agent": "slashml-memory-ts/1.0.8",
|
|
188
188
|
};
|
|
189
189
|
if (this.apiKey) {
|
|
190
190
|
headers.Authorization = `Bearer ${this.apiKey}`;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashml/memory",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.0.8",
|
|
4
|
+
"description": "Official HTTP TypeScript & Node.js SDK for / ml (https://api.slashml.ai)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://slashml.ai",
|
|
7
7
|
"repository": {
|
package/src/index.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @slashml/memory -- Official TypeScript / Node.js SDK for
|
|
2
|
+
* @slashml/memory -- Official HTTP TypeScript / Node.js SDK for / ml (https://api.slashml.ai)
|
|
3
3
|
*
|
|
4
4
|
* 100% drop-in replacement for `mem0ai` (`MemoryClient`, `AsyncMemoryClient`, `Memory`, `AsyncMemory`).
|
|
5
|
-
* Zero external runtime dependencies (uses native Node.js 18+ / Web `fetch`).
|
|
6
5
|
*/
|
|
7
6
|
|
|
8
7
|
export const DEFAULT_BASE_URL = "https://api.slashml.ai";
|
|
@@ -330,7 +329,7 @@ export class MemoryClient {
|
|
|
330
329
|
const headers: Record<string, string> = {
|
|
331
330
|
Accept: "application/json",
|
|
332
331
|
"Content-Type": "application/json",
|
|
333
|
-
"User-Agent": "slashml-memory-ts/1.0.
|
|
332
|
+
"User-Agent": "slashml-memory-ts/1.0.8",
|
|
334
333
|
};
|
|
335
334
|
if (this.apiKey) {
|
|
336
335
|
headers.Authorization = `Bearer ${this.apiKey}`;
|