@possumtech/rummy 0.2.2 → 0.2.3

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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/package.json +1 -1
  3. package/service.js +4 -1
package/README.md CHANGED
@@ -19,7 +19,8 @@ Rummy is the only LLM agent service inspired by and dedicated to the memory of f
19
19
  ## Installation
20
20
 
21
21
  ```bash
22
- npm install @possumtech/rummy
22
+ npm i -g @possumtech/rummy
23
+ cd ~/.rummy
23
24
  cp .env.example .env
24
25
  vim .env
25
26
  npm start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@possumtech/rummy",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Relational Unknowns Memory Management Yoke",
5
5
  "keywords": [
6
6
  "llm"
package/service.js CHANGED
@@ -62,7 +62,10 @@ async function main() {
62
62
  const mmapMb = Number.parseInt(process.env.RUMMY_MMAP_MB || "0", 10);
63
63
  const db = await SqlRite.open({
64
64
  path: dbPath,
65
- dir: ["migrations", "src"],
65
+ dir: [
66
+ fileURLToPath(new URL("./migrations", import.meta.url)),
67
+ fileURLToPath(new URL("./src", import.meta.url)),
68
+ ],
66
69
  functions: sqlFunctions,
67
70
  params: {
68
71
  mmap_size: mmapMb * 1024 * 1024,