@slashml/memory 1.0.13 → 1.0.15
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 +29 -1
- package/bin/cli.js +881 -113
- package/dist/index.d.ts +188 -6
- package/dist/index.js +439 -76
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
- package/src/index.ts +727 -89
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashml/memory",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
33
|
"scripts": {
|
|
34
|
-
"build": "tsc && node -e \"const fs = require('node:fs'); const code = 'import { createRequire } from \\\"node:module\\\";\\nconst require = createRequire(import.meta.url);\\nconst cjs = require(\\\"./index.js\\\");\\n\\nexport const {\\n DEFAULT_BASE_URL,\\n DEFAULT_MODEL,\\n DEFAULT_TIMEOUT_MS,\\n SlashMLAPIError,\\n ProjectManager,\\n MemoryClient,\\n Memory,\\n AsyncMemoryClient,\\n AsyncMemory,\\n SlashMLMemory,\\n SlashMLClient,\\n AsyncSlashMLMemory,\\n AsyncSlashMLClient,\\n} = cjs;\\n\\nexport default cjs;\\n'; fs.writeFileSync('dist/index.mjs', code);\"",
|
|
34
|
+
"build": "tsc && node -e \"const fs = require('node:fs'); const code = 'import { createRequire } from \\\"node:module\\\";\\nconst require = createRequire(import.meta.url);\\nconst cjs = require(\\\"./index.js\\\");\\n\\nexport const {\\n DEFAULT_BASE_URL,\\n DEFAULT_MODEL,\\n DEFAULT_TIMEOUT_MS,\\n SlashMLAPIError,\\n ProjectManager,\\n AgentsManager,\\n MemoryClient,\\n Memory,\\n AsyncMemoryClient,\\n AsyncMemory,\\n SlashMLMemory,\\n SlashMLClient,\\n AsyncSlashMLMemory,\\n AsyncSlashMLClient,\\n} = cjs;\\n\\nexport default cjs;\\n'; fs.writeFileSync('dist/index.mjs', code);\"",
|
|
35
35
|
"test": "node --test test/sdk.test.js"
|
|
36
36
|
},
|
|
37
37
|
"engines": {
|