{
	"name": "pi-memory-system",
	"version": "0.1.0",
	"description": "L0–L3 记忆管线扩展：会话自动提取原子记忆、场景整合、用户画像，并按需召回注入",
	"license": "MIT",
	"type": "module",
	"engines": {
		"node": ">=22.13.0"
	},
	"pi": {
		"extensions": [
			"./index.ts"
		],
		"video": "https://raw.githubusercontent.com/yinwenyuan28-afk/pi-memory-system/main/assets/promo/pi-memory-system-promo-en.mp4"
	},
	"files": [
		"index.ts",
		"memory/",
		"!memory/pipeline/jobs-db.test.mjs",
		"util/",
		"skill/",
		"config/",
		"prompts/",
		"agents/",
		"viewers/",
		"scripts/l1-admin/",
		"scripts/lib/",
		"README.md"
	],
	"scripts": {
		"check-types": "node scripts/check-types.mjs",
		"test": "node scripts/verify-prompt-contracts.mjs",
		"viewer": "node --experimental-strip-types scripts/l1-admin/viewer.mts"
	},
	"dependencies": {
		"better-sqlite3": "^13.0.3",
		"sqlite-vec": "^0.1.9"
	},
	"_peerDependenciesNote": "刻意不声明 @earendil-works/* 的 peerDependencies（2026-10-02）。pi 的扩展加载器给扩展做了 jiti 别名映射与 Bun 虚拟模块：@earendil-works/pi-agent-core / pi-ai / pi-ai/compat / pi-coding-agent 等一律指向 pi **自己 bundle 的副本**（loader.js 的 VIRTUAL_MODULES），扩展 import 它们根本不落 node_modules。实测：发布产物装在一条向上五级都没有 node_modules 的路径上，仍 0 错误加载、18 工具 + 16 命令全在位 —— 能满足那些 import 的只有别名机制。声明 peer 反而会让 pi-ai 低于声明下限的用户收到无意义的 peer 冲突警告。宿主版本要求写在 README「环境要求」表里。",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/yinwenyuan28-afk/pi-memory-system.git"
	},
	"homepage": "https://github.com/yinwenyuan28-afk/pi-memory-system",
	"bugs": {
		"url": "https://github.com/yinwenyuan28-afk/pi-memory-system/issues"
	},
	"author": "yinwenyuan",
	"keywords": [
		"pi",
		"pi-extension",
		"memory",
		"pi-agent",
		"pi-package"
	],
	"devDependencies": {
		"@earendil-works/pi-agent-core": "^0.83.0",
		"@earendil-works/pi-ai": "^0.83.0",
		"@earendil-works/pi-coding-agent": "^0.83.0"
	}
}
