memory-anywhere-server 0.0.0-stage → 0.5.0

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/package.json CHANGED
@@ -1,6 +1,44 @@
1
1
  {
2
2
  "name": "memory-anywhere-server",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.5.0",
4
+ "description": "The memory-anywhere store, for local mode: installed by `mema init --local`",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "bin": {
8
+ "memory-anywhere-server": "dist/server.mjs"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "migrations",
13
+ "seed",
14
+ "web",
15
+ "config",
16
+ "README.md",
17
+ "LICENSE"
18
+ ],
19
+ "engines": {
20
+ "node": ">=24"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/raiden-02/memory-anywhere.git",
25
+ "directory": "packages/server"
26
+ },
27
+ "dependencies": {
28
+ "@anthropic-ai/sdk": "1.6.0",
29
+ "@huggingface/tokenizers": "0.2.0",
30
+ "@modelcontextprotocol/node": "2.1.2",
31
+ "@modelcontextprotocol/server": "2.4.0",
32
+ "@simplewebauthn/server": "14.1.0",
33
+ "age-encryption": "0.3.1",
34
+ "argon2": "0.45.2",
35
+ "chrono-node": "2.10.3",
36
+ "eta": "4.6.0",
37
+ "oidc-provider": "9.13.3",
38
+ "onnxruntime-node": "1.31.1",
39
+ "smol-toml": "1.9.1",
40
+ "ulid": "3.0.2",
41
+ "yaml": "2.9.1",
42
+ "zod": "4.6.7"
43
+ }
44
+ }
@@ -0,0 +1,574 @@
1
+ [
2
+ {
3
+ "id": "att_name",
4
+ "name": "name",
5
+ "entity_type": "self",
6
+ "cardinality": "one",
7
+ "section_id": "sec_profile",
8
+ "taste_class": false,
9
+ "profile_key": true,
10
+ "restricted": false,
11
+ "aliases": ["full name", "first name", "called"],
12
+ "sort_order": 10,
13
+ "description": "The user's name"
14
+ },
15
+ {
16
+ "id": "att_title",
17
+ "name": "title",
18
+ "entity_type": "self",
19
+ "cardinality": "one",
20
+ "section_id": "sec_profile",
21
+ "taste_class": false,
22
+ "profile_key": true,
23
+ "restricted": false,
24
+ "aliases": ["job title", "role", "position", "occupation"],
25
+ "sort_order": 20,
26
+ "description": "The user's job title or role"
27
+ },
28
+ {
29
+ "id": "att_employer",
30
+ "name": "employer",
31
+ "entity_type": "self",
32
+ "cardinality": "one",
33
+ "section_id": "sec_profile",
34
+ "taste_class": false,
35
+ "profile_key": true,
36
+ "restricted": false,
37
+ "aliases": ["company", "works_at", "workplace", "organization"],
38
+ "sort_order": 30,
39
+ "description": "Where the user works"
40
+ },
41
+ {
42
+ "id": "att_city",
43
+ "name": "city",
44
+ "entity_type": "self",
45
+ "cardinality": "one",
46
+ "section_id": "sec_profile",
47
+ "taste_class": false,
48
+ "profile_key": true,
49
+ "restricted": false,
50
+ "aliases": ["location", "lives_in", "home city", "based_in"],
51
+ "sort_order": 40,
52
+ "description": "The city the user lives in"
53
+ },
54
+ {
55
+ "id": "att_home_country",
56
+ "name": "home_country",
57
+ "entity_type": "self",
58
+ "cardinality": "one",
59
+ "section_id": "sec_profile",
60
+ "taste_class": false,
61
+ "profile_key": true,
62
+ "restricted": false,
63
+ "aliases": ["country", "nationality"],
64
+ "sort_order": 50,
65
+ "description": "The country the user lives in"
66
+ },
67
+ {
68
+ "id": "att_timezone",
69
+ "name": "timezone",
70
+ "entity_type": "self",
71
+ "cardinality": "one",
72
+ "section_id": "sec_profile",
73
+ "taste_class": false,
74
+ "profile_key": true,
75
+ "restricted": false,
76
+ "aliases": ["time zone", "tz"],
77
+ "sort_order": 60,
78
+ "description": "The user's time zone"
79
+ },
80
+ {
81
+ "id": "att_education",
82
+ "name": "education",
83
+ "entity_type": "self",
84
+ "cardinality": "many",
85
+ "section_id": "sec_profile",
86
+ "taste_class": false,
87
+ "profile_key": true,
88
+ "restricted": false,
89
+ "aliases": ["degree", "school", "university", "studied"],
90
+ "sort_order": 70,
91
+ "description": "Degrees and schools"
92
+ },
93
+ {
94
+ "id": "att_language",
95
+ "name": "language",
96
+ "entity_type": "self",
97
+ "cardinality": "many",
98
+ "section_id": "sec_profile",
99
+ "taste_class": false,
100
+ "profile_key": false,
101
+ "restricted": false,
102
+ "aliases": ["languages", "speaks"],
103
+ "sort_order": 80,
104
+ "description": "Languages the user speaks"
105
+ },
106
+ {
107
+ "id": "att_age",
108
+ "name": "age",
109
+ "entity_type": "self",
110
+ "cardinality": "one",
111
+ "section_id": "sec_profile",
112
+ "taste_class": false,
113
+ "profile_key": false,
114
+ "restricted": false,
115
+ "aliases": ["years old"],
116
+ "sort_order": 90,
117
+ "description": "The user's age"
118
+ },
119
+ {
120
+ "id": "att_preference_response_style",
121
+ "name": "preference.response_style",
122
+ "entity_type": "self",
123
+ "cardinality": "many",
124
+ "section_id": "sec_preferences",
125
+ "taste_class": false,
126
+ "profile_key": false,
127
+ "restricted": false,
128
+ "aliases": ["response_style", "answer style", "format", "tone"],
129
+ "sort_order": 100,
130
+ "description": "How answers should be shaped: length, format, tone"
131
+ },
132
+ {
133
+ "id": "att_preference_tooling",
134
+ "name": "preference.tooling",
135
+ "entity_type": "self",
136
+ "cardinality": "many",
137
+ "section_id": "sec_preferences",
138
+ "taste_class": false,
139
+ "profile_key": false,
140
+ "restricted": false,
141
+ "aliases": ["tooling", "preferred tools", "tool preference"],
142
+ "sort_order": 110,
143
+ "description": "Tools or approaches to recommend in answers"
144
+ },
145
+ {
146
+ "id": "att_preference_avoid",
147
+ "name": "preference.avoid",
148
+ "entity_type": "self",
149
+ "cardinality": "many",
150
+ "section_id": "sec_preferences",
151
+ "taste_class": false,
152
+ "profile_key": false,
153
+ "restricted": false,
154
+ "aliases": ["avoid", "dislikes in answers", "do not suggest"],
155
+ "sort_order": 120,
156
+ "description": "Topics, phrasings or approaches to avoid in answers"
157
+ },
158
+ {
159
+ "id": "att_os",
160
+ "name": "os",
161
+ "entity_type": "self",
162
+ "cardinality": "one",
163
+ "section_id": "sec_tools",
164
+ "taste_class": false,
165
+ "profile_key": true,
166
+ "restricted": false,
167
+ "aliases": ["operating system", "operating_system"],
168
+ "sort_order": 130,
169
+ "description": "The operating system on the user's main computer"
170
+ },
171
+ {
172
+ "id": "att_editor",
173
+ "name": "editor",
174
+ "entity_type": "self",
175
+ "cardinality": "many",
176
+ "section_id": "sec_tools",
177
+ "taste_class": false,
178
+ "profile_key": false,
179
+ "restricted": false,
180
+ "aliases": ["ide", "code editor"],
181
+ "sort_order": 140,
182
+ "description": "Editors and IDEs the user uses"
183
+ },
184
+ {
185
+ "id": "att_device",
186
+ "name": "device",
187
+ "entity_type": "self",
188
+ "cardinality": "many",
189
+ "section_id": "sec_tools",
190
+ "taste_class": false,
191
+ "profile_key": false,
192
+ "restricted": false,
193
+ "aliases": ["devices", "computer", "phone", "laptop"],
194
+ "sort_order": 150,
195
+ "description": "Devices the user owns or uses"
196
+ },
197
+ {
198
+ "id": "att_subscription",
199
+ "name": "subscription",
200
+ "entity_type": "self",
201
+ "cardinality": "many",
202
+ "section_id": "sec_tools",
203
+ "taste_class": false,
204
+ "profile_key": false,
205
+ "restricted": false,
206
+ "aliases": ["subscriptions", "subscribed to"],
207
+ "sort_order": 160,
208
+ "description": "Services the user subscribes to"
209
+ },
210
+ {
211
+ "id": "att_plan",
212
+ "name": "plan",
213
+ "entity_type": "thing",
214
+ "cardinality": "one",
215
+ "section_id": "sec_tools",
216
+ "taste_class": false,
217
+ "profile_key": false,
218
+ "restricted": false,
219
+ "aliases": ["tier", "plan level"],
220
+ "sort_order": 170,
221
+ "description": "The plan the user has for a product (entity = the product)"
222
+ },
223
+ {
224
+ "id": "att_skill",
225
+ "name": "skill",
226
+ "entity_type": "self",
227
+ "cardinality": "many",
228
+ "section_id": "sec_work",
229
+ "taste_class": false,
230
+ "profile_key": false,
231
+ "restricted": false,
232
+ "aliases": ["skills", "expertise", "knows"],
233
+ "sort_order": 180,
234
+ "description": "The user's skills"
235
+ },
236
+ {
237
+ "id": "att_career_goal",
238
+ "name": "career_goal",
239
+ "entity_type": "self",
240
+ "cardinality": "many",
241
+ "section_id": "sec_work",
242
+ "taste_class": false,
243
+ "profile_key": false,
244
+ "restricted": false,
245
+ "aliases": ["career goal", "goal", "aspiration"],
246
+ "sort_order": 190,
247
+ "description": "The user's career goals"
248
+ },
249
+ {
250
+ "id": "att_learning",
251
+ "name": "learning",
252
+ "entity_type": "self",
253
+ "cardinality": "many",
254
+ "section_id": "sec_work",
255
+ "taste_class": false,
256
+ "profile_key": false,
257
+ "restricted": false,
258
+ "aliases": ["studying", "currently learning"],
259
+ "sort_order": 200,
260
+ "description": "What the user is learning"
261
+ },
262
+ {
263
+ "id": "att_job_search",
264
+ "name": "job_search",
265
+ "entity_type": "self",
266
+ "cardinality": "many",
267
+ "section_id": "sec_work",
268
+ "taste_class": false,
269
+ "profile_key": false,
270
+ "restricted": false,
271
+ "aliases": ["job hunt", "looking for work"],
272
+ "sort_order": 210,
273
+ "description": "The user's job search"
274
+ },
275
+ {
276
+ "id": "att_likes",
277
+ "name": "likes",
278
+ "entity_type": "self",
279
+ "cardinality": "many",
280
+ "section_id": "sec_interests",
281
+ "taste_class": true,
282
+ "profile_key": false,
283
+ "restricted": false,
284
+ "aliases": ["like", "loves", "enjoys", "fan of"],
285
+ "sort_order": 220,
286
+ "description": "Things the user likes"
287
+ },
288
+ {
289
+ "id": "att_dislikes",
290
+ "name": "dislikes",
291
+ "entity_type": "self",
292
+ "cardinality": "many",
293
+ "section_id": "sec_interests",
294
+ "taste_class": true,
295
+ "profile_key": false,
296
+ "restricted": false,
297
+ "aliases": ["dislike", "hates"],
298
+ "sort_order": 230,
299
+ "description": "Things the user dislikes"
300
+ },
301
+ {
302
+ "id": "att_watched",
303
+ "name": "watched",
304
+ "entity_type": "self",
305
+ "cardinality": "many",
306
+ "section_id": "sec_interests",
307
+ "taste_class": true,
308
+ "profile_key": false,
309
+ "restricted": false,
310
+ "aliases": ["has watched", "seen"],
311
+ "sort_order": 240,
312
+ "description": "Films and shows the user watched"
313
+ },
314
+ {
315
+ "id": "att_plays",
316
+ "name": "plays",
317
+ "entity_type": "self",
318
+ "cardinality": "many",
319
+ "section_id": "sec_interests",
320
+ "taste_class": true,
321
+ "profile_key": false,
322
+ "restricted": false,
323
+ "aliases": ["games", "playing"],
324
+ "sort_order": 250,
325
+ "description": "Games and sports the user plays"
326
+ },
327
+ {
328
+ "id": "att_reads",
329
+ "name": "reads",
330
+ "entity_type": "self",
331
+ "cardinality": "many",
332
+ "section_id": "sec_interests",
333
+ "taste_class": true,
334
+ "profile_key": false,
335
+ "restricted": false,
336
+ "aliases": ["reading", "books"],
337
+ "sort_order": 260,
338
+ "description": "What the user reads"
339
+ },
340
+ {
341
+ "id": "att_interested_in",
342
+ "name": "interested_in",
343
+ "entity_type": "self",
344
+ "cardinality": "many",
345
+ "section_id": "sec_interests",
346
+ "taste_class": true,
347
+ "profile_key": false,
348
+ "restricted": false,
349
+ "aliases": ["interests", "curious about"],
350
+ "sort_order": 270,
351
+ "description": "Topics the user is interested in"
352
+ },
353
+ {
354
+ "id": "att_collects",
355
+ "name": "collects",
356
+ "entity_type": "self",
357
+ "cardinality": "many",
358
+ "section_id": "sec_interests",
359
+ "taste_class": true,
360
+ "profile_key": false,
361
+ "restricted": false,
362
+ "aliases": ["collection", "collecting"],
363
+ "sort_order": 280,
364
+ "description": "What the user collects"
365
+ },
366
+ {
367
+ "id": "att_home_type",
368
+ "name": "home_type",
369
+ "entity_type": "self",
370
+ "cardinality": "one",
371
+ "section_id": "sec_home",
372
+ "taste_class": false,
373
+ "profile_key": false,
374
+ "restricted": false,
375
+ "aliases": ["housing", "lives in a"],
376
+ "sort_order": 290,
377
+ "description": "The kind of home the user lives in"
378
+ },
379
+ {
380
+ "id": "att_commute",
381
+ "name": "commute",
382
+ "entity_type": "self",
383
+ "cardinality": "one",
384
+ "section_id": "sec_home",
385
+ "taste_class": false,
386
+ "profile_key": false,
387
+ "restricted": false,
388
+ "aliases": ["gets to work", "travel to work"],
389
+ "sort_order": 300,
390
+ "description": "How the user commutes"
391
+ },
392
+ {
393
+ "id": "att_routine",
394
+ "name": "routine",
395
+ "entity_type": "self",
396
+ "cardinality": "many",
397
+ "section_id": "sec_home",
398
+ "taste_class": false,
399
+ "profile_key": false,
400
+ "restricted": false,
401
+ "aliases": ["routines", "habit", "schedule"],
402
+ "sort_order": 310,
403
+ "description": "The user's routines"
404
+ },
405
+ {
406
+ "id": "att_vehicle",
407
+ "name": "vehicle",
408
+ "entity_type": "self",
409
+ "cardinality": "many",
410
+ "section_id": "sec_home",
411
+ "taste_class": false,
412
+ "profile_key": false,
413
+ "restricted": false,
414
+ "aliases": ["car", "bike", "drives"],
415
+ "sort_order": 320,
416
+ "description": "Vehicles the user has"
417
+ },
418
+ {
419
+ "id": "att_person_relation",
420
+ "name": "person.relation",
421
+ "entity_type": "person",
422
+ "cardinality": "one",
423
+ "section_id": "sec_people",
424
+ "taste_class": false,
425
+ "profile_key": false,
426
+ "restricted": false,
427
+ "aliases": ["relation", "relationship"],
428
+ "sort_order": 330,
429
+ "description": "How this person relates to the user"
430
+ },
431
+ {
432
+ "id": "att_person_context",
433
+ "name": "person.context",
434
+ "entity_type": "person",
435
+ "cardinality": "many",
436
+ "section_id": "sec_people",
437
+ "taste_class": false,
438
+ "profile_key": false,
439
+ "restricted": false,
440
+ "aliases": ["about", "context"],
441
+ "sort_order": 340,
442
+ "description": "Lasting context about this person's relation to the user"
443
+ },
444
+ {
445
+ "id": "att_org_relation",
446
+ "name": "org.relation",
447
+ "entity_type": "org",
448
+ "cardinality": "one",
449
+ "section_id": "sec_work",
450
+ "taste_class": false,
451
+ "profile_key": false,
452
+ "restricted": false,
453
+ "aliases": ["org relation", "organization relation"],
454
+ "sort_order": 350,
455
+ "description": "How this organization relates to the user"
456
+ },
457
+ {
458
+ "id": "att_project_status",
459
+ "name": "project.status",
460
+ "entity_type": "project",
461
+ "cardinality": "one",
462
+ "section_id": "sec_projects",
463
+ "taste_class": false,
464
+ "profile_key": false,
465
+ "restricted": false,
466
+ "aliases": ["status"],
467
+ "sort_order": 360,
468
+ "description": "One of idea, active, paused, shipped, archived"
469
+ },
470
+ {
471
+ "id": "att_project_goal",
472
+ "name": "project.goal",
473
+ "entity_type": "project",
474
+ "cardinality": "one",
475
+ "section_id": "sec_projects",
476
+ "taste_class": false,
477
+ "profile_key": false,
478
+ "restricted": false,
479
+ "aliases": ["goal", "purpose"],
480
+ "sort_order": 370,
481
+ "description": "What the project is for"
482
+ },
483
+ {
484
+ "id": "att_project_role",
485
+ "name": "project.role",
486
+ "entity_type": "project",
487
+ "cardinality": "one",
488
+ "section_id": "sec_projects",
489
+ "taste_class": false,
490
+ "profile_key": false,
491
+ "restricted": false,
492
+ "aliases": ["role"],
493
+ "sort_order": 380,
494
+ "description": "The user's role in the project"
495
+ },
496
+ {
497
+ "id": "att_project_repo",
498
+ "name": "project.repo",
499
+ "entity_type": "project",
500
+ "cardinality": "one",
501
+ "section_id": "sec_projects",
502
+ "taste_class": false,
503
+ "profile_key": false,
504
+ "restricted": true,
505
+ "aliases": ["repo", "repository", "repo_url"],
506
+ "sort_order": 390,
507
+ "description": "The project's repository (owner-set; CLI and export only)"
508
+ },
509
+ {
510
+ "id": "att_project_stack",
511
+ "name": "project.stack",
512
+ "entity_type": "project",
513
+ "cardinality": "many",
514
+ "section_id": "sec_projects",
515
+ "taste_class": false,
516
+ "profile_key": false,
517
+ "restricted": false,
518
+ "aliases": ["stack", "tech stack", "technology"],
519
+ "sort_order": 400,
520
+ "description": "Technologies the project uses"
521
+ },
522
+ {
523
+ "id": "att_project_decision",
524
+ "name": "project.decision",
525
+ "entity_type": "project",
526
+ "cardinality": "many",
527
+ "section_id": "sec_projects",
528
+ "taste_class": false,
529
+ "profile_key": false,
530
+ "restricted": false,
531
+ "aliases": ["decision", "decided"],
532
+ "sort_order": 410,
533
+ "description": "A lasting decision about the project, with its reason"
534
+ },
535
+ {
536
+ "id": "att_project_constraint",
537
+ "name": "project.constraint",
538
+ "entity_type": "project",
539
+ "cardinality": "many",
540
+ "section_id": "sec_projects",
541
+ "taste_class": false,
542
+ "profile_key": false,
543
+ "restricted": false,
544
+ "aliases": ["constraint", "requirement", "rule"],
545
+ "sort_order": 420,
546
+ "description": "A constraint the project must respect"
547
+ },
548
+ {
549
+ "id": "att_project_outcome",
550
+ "name": "project.outcome",
551
+ "entity_type": "project",
552
+ "cardinality": "many",
553
+ "section_id": "sec_projects",
554
+ "taste_class": false,
555
+ "profile_key": false,
556
+ "restricted": false,
557
+ "aliases": ["outcome", "result", "shipped"],
558
+ "sort_order": 430,
559
+ "description": "A result the project achieved"
560
+ },
561
+ {
562
+ "id": "att_project_portfolio_relevance",
563
+ "name": "project.portfolio_relevance",
564
+ "entity_type": "project",
565
+ "cardinality": "many",
566
+ "section_id": "sec_projects",
567
+ "taste_class": false,
568
+ "profile_key": false,
569
+ "restricted": true,
570
+ "aliases": ["portfolio relevance", "portfolio"],
571
+ "sort_order": 440,
572
+ "description": "Why the project matters for the user's portfolio (CLI and export only)"
573
+ }
574
+ ]
@@ -0,0 +1,65 @@
1
+ [
2
+ {
3
+ "id": "sec_profile",
4
+ "name": "Profile",
5
+ "description": "Identity: name, role, location, education",
6
+ "aliases": ["identity", "about me", "personal info"],
7
+ "sort_order": 10
8
+ },
9
+ {
10
+ "id": "sec_preferences",
11
+ "name": "Preferences",
12
+ "description": "How AI should work with you: format, tone, tools, workflow",
13
+ "aliases": ["preference", "how to answer", "style"],
14
+ "sort_order": 20
15
+ },
16
+ {
17
+ "id": "sec_people",
18
+ "name": "People",
19
+ "description": "Who matters and how they relate to you",
20
+ "aliases": ["person", "family", "friends", "colleagues", "contacts"],
21
+ "sort_order": 30
22
+ },
23
+ {
24
+ "id": "sec_projects",
25
+ "name": "Projects",
26
+ "description": "Project catalog",
27
+ "aliases": ["project", "side projects", "repos"],
28
+ "sort_order": 40
29
+ },
30
+ {
31
+ "id": "sec_work",
32
+ "name": "Work and career",
33
+ "description": "Role history, goals, job search, learning plans",
34
+ "aliases": ["work", "career", "job", "learning"],
35
+ "sort_order": 50
36
+ },
37
+ {
38
+ "id": "sec_interests",
39
+ "name": "Interests",
40
+ "description": "Games, anime, film, science, hobbies",
41
+ "aliases": ["hobbies", "interest", "likes", "fun"],
42
+ "sort_order": 60
43
+ },
44
+ {
45
+ "id": "sec_home",
46
+ "name": "Home and life",
47
+ "description": "Home, devices, routines, getting around",
48
+ "aliases": ["home", "life", "routine", "daily life"],
49
+ "sort_order": 70
50
+ },
51
+ {
52
+ "id": "sec_tools",
53
+ "name": "Tools and setup",
54
+ "description": "OS, editors, hardware, subscriptions",
55
+ "aliases": ["tools", "setup", "software", "hardware"],
56
+ "sort_order": 80
57
+ },
58
+ {
59
+ "id": "sec_unsorted",
60
+ "name": "Unsorted",
61
+ "description": "Saves that fit no section yet",
62
+ "aliases": ["other", "misc"],
63
+ "sort_order": 999
64
+ }
65
+ ]