Skip to content

Local-first 🧠 memory for Hermes Agent that lives in your Obsidian vault and remembers project context. Nightly 😴 dream passes turn repeat corrections into confirmed preferences with measurable confidence. Adapters ship for Claude Code, Codex, and OpenClaw, with an MCP server for anything else.

TypeScript
2.9 KB
Raw Blame
{
  "name": "open-second-brain",
  "version": "1.98.0",
  "private": false,
  "description": "Second brain for AI agents using Obsidian-compatible Markdown vaults. Works with Hermes, Claude Code, Codex, and OpenClaw.",
  "keywords": [
    "agents",
    "mcp",
    "obsidian",
    "openclaw-plugin",
    "second-brain"
  ],
  "homepage": "https://github.com/itechmeat/open-second-brain",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/itechmeat/open-second-brain.git"
  },
  "bin": {
    "o2b": "./scripts/o2b",
    "o2b-mcp": "./scripts/o2b-mcp",
    "vault-log": "./scripts/vault-log"
  },
  "files": [
    "bin/",
    "openclaw/",
    "src/",
    "skills/",
    "scripts/",
    "plugins/",
    "schemas/",
    "openclaw.plugin.json",
    "README.md",
    "LICENSE",
    "pyproject.toml",
    "tests/fixtures/decision-model"
  ],
  "type": "module",
  "scripts": {
    "build:openclaw": "bun build src/openclaw/index.ts --outfile openclaw/index.js --target=node --format=esm --external openclaw/plugin-sdk/plugin-entry",
    "test": "bash scripts/test",
    "lint": "oxlint -c oxlint.json",
    "lint:fix": "oxlint -c oxlint.json --fix",
    "fmt": "oxfmt --write '**/*.{ts,js,json}' '.oxfmtrc.json' '!**/openclaw/index.js' '!.claude/**' --no-error-on-unmatched-pattern",
    "fmt:check": "oxfmt --check '**/*.{ts,js,json}' '.oxfmtrc.json' '!**/openclaw/index.js' '!.claude/**' --no-error-on-unmatched-pattern",
    "typecheck": "tsc --noEmit",
    "validate": "bun run typecheck && bun run lint && bun run test",
    "validate:fix": "bun run lint:fix && bun run fmt",
    "sync-version": "bun run scripts/sync-version.ts",
    "sync-version:check": "bun run scripts/sync-version.ts --check",
    "sync-plugin-mirrors": "bun run scripts/sync-plugin-mirrors.ts",
    "sync-plugin-mirrors:check": "bun run scripts/sync-plugin-mirrors.ts --check",
    "search-schema": "bun run scripts/search-schema.ts",
    "search-schema:check": "bun run scripts/search-schema.ts --check",
    "link-ratchet": "bun run scripts/link-ratchet.ts",
    "link-ratchet:check": "bun run scripts/link-ratchet.ts --check",
    "check:paths": "bun run scripts/check-hardcoded-paths.ts",
    "check:paths:strict": "bun run scripts/check-hardcoded-paths.ts --strict",
    "check:hermes-scan": "bun run scripts/hermes-plugin-scan.ts",
    "hooks:install": "git config core.hooksPath .githooks && echo 'git hooks enabled (core.hooksPath=.githooks)'",
    "prepare": "bun scripts/prepare.ts || exit 0"
  },
  "dependencies": {
    "proper-lockfile": "^4.1.2",
    "signal-exit": "^3.0.7"
  },
  "devDependencies": {
    "@types/bun": "^1.4.4",
    "@types/node": "^22.20.5",
    "@types/proper-lockfile": "^4.1.4",
    "oxfmt": "0.78.0",
    "oxlint": "1.93.0",
    "typescript": "^5.5.0"
  },
  "optionalDependencies": {
    "@node-rs/jieba": "^2.0.4",
    "sqlite-vec": "^0.1.9",
    "tiny-segmenter": "^0.2.0"
  },
  "openclaw": {
    "extensions": [
      "./openclaw/index.js"
    ]
  }
}