npm JavaScript analyzed 0.15.2

@hasna/mementos

v0.15.2
npm

Universal memory system for AI agents - CLI + MCP server + library API

maintainer
andreihasna2
licence
Apache-2.0
first seen
2026-08-20
last seen
2026-09-17
releases · 30d
4
short id

Drift inferred · capture-to-capture

No drift recorded — single capability capture; advisories appear once its surface changes.

capabilities 0 tools
transport stdio counts 0 tools · 0 res · 0 prompts permission surface via code analysis

No tools enumerated yet for this server.

code evidence v0.15.2 · npm-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 293

filesystem 9

  • fs package/dist/cli/index.js :2182 import { writeFileSync, unlinkSync } from "fs";
  • fs package/dist/diagnostics/historical-project-registration-receipt.js :10 import { existsSync as existsSync2, mkdirSync, readFileSync, writeFileSync } from "fs";
  • fs package/dist/index.js :106 import { existsSync } from "fs";
  • fs package/dist/mcp/index.js :202 import { existsSync } from "fs";
  • fs package/dist/project-registration.js :106 import { existsSync } from "fs";
  • fs package/dist/sdk/index.js :5 import { closeSync, fstatSync, openSync, readFileSync } from "fs";
  • fs package/dist/server/index.js :69 import { existsSync } from "fs";
  • fs package/dist/storage.js :106 import { existsSync } from "fs";
  • fs package/postinstall.mjs :7 import { existsSync, mkdirSync } from "node:fs";

shell / exec 7

  • shell package/dist/cli/index.js :2387 const proc = Bun.spawnSync(args, {
  • shell package/dist/index.js :261 exec(sql) {
  • shell package/dist/mcp/index.js :348 exec(sql) {
  • shell package/dist/project-registration.js :261 exec(sql) {
  • shell package/dist/sdk/index.js :4 import { spawnSync } from "child_process";
  • shell package/dist/server/index.js :333 exec(sql) {
  • shell package/dist/storage.js :261 exec(sql) {

network 5

  • net package/dist/cli/index.js :5288 const res = await fetch(OPENAI_EMBED_URL, {
  • net package/dist/mcp/index.js :3093 const res = await fetch(OPENAI_EMBED_URL, {
  • net package/dist/project-registration.js :5163 const res = await fetch(OPENAI_EMBED_URL, {
  • net package/dist/sdk/index.js :3 import { isIP } from "net";
  • net package/dist/server/index.js :2591 const res = await fetch(OPENAI_EMBED_URL, {

secrets 4

  • secrets package/dist/cli/index.js :5328 const apiKey = process.env["OPENAI_API_KEY"];
  • secrets package/dist/mcp/index.js :3133 const apiKey = process.env["OPENAI_API_KEY"];
  • secrets package/dist/project-registration.js :5203 const apiKey = process.env["OPENAI_API_KEY"];
  • secrets package/dist/server/index.js :2631 const apiKey = process.env["OPENAI_API_KEY"];

database 8

  • db package/dist/cli/index.js :2655 import pg from "pg";
  • db package/dist/diagnostics/historical-project-registration-receipt.js :4 import pg2 from "pg";
  • db package/dist/index.js :222 import pg from "pg";
  • db package/dist/mcp/index.js :318 import pg from "pg";
  • db package/dist/pg-sync-worker.js :4 import pg from "pg";
  • db package/dist/project-registration.js :222 import pg from "pg";
  • db package/dist/server/index.js :300 import pg from "pg";
  • db package/dist/storage.js :222 import pg from "pg";

install hooks 4

  • prepare package/package.json :44 bun run build:js
  • prepack package/package.json :45 bun run build && bun run scan-artifact
  • prepublishOnly package/package.json :46 bun run typecheck && bun run test && bun run contracts:conformance && contracts no-cloud-scan .
  • postinstall package/package.json :57 node postinstall.mjs

declared dependencies 21

  • @modelcontextprotocol/sdk@^1.12.1
  • @ai-sdk/anthropic@^3.0.82
  • @ai-sdk/openai@^3.0.69
  • @ai-sdk/openai-compatible@^2.0.48
  • @hasna/contracts@1.0.2
  • @hasna/events@0.1.6
  • ai@^6.0.199
  • chalk@^5.4.1
  • commander@^13.1.0
  • ink@^5.2.0
  • pdf-parse@^1.1.1
  • pg@^8.13.3
show 9 more
  • react@^18.3.1
  • tesseract.js@^5.1.1
  • zod@^3.24.2
  • @types/bun@1.3.14
  • bun-types@1.3.14
  • @types/pg@^8.11.11
  • @types/react@^18.3.18
  • sigstore@5.0.0
  • typescript@^5.7.3