diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..bba9cde --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,26 @@ +# AGENTS.md + +## Scope + +Applies to entire `pi-context-manager` package. + +## What this package does + +- Pi extension package for context-pressure management, resume packets, summaries, persistence, and pruning helpers. +- Entry point: `index.ts`. +- Core package logic and tests live in `src/`. + +## Working rules + +- Treat this directory as an independent package root. +- Keep changes package-local and minimal. +- Pi core packages belong in `peerDependencies` with `"*"` and must not be bundled. +- Prefer focused tests next to changed modules in `src/`. +- Do not edit `node_modules/` or nested `.git/` contents. +- For transitive advisory refreshes, prefer `npm audit fix --package-lock-only` when it avoids unrelated manifest changes. + +## Commands + +- Install deps: `npm install` +- Run tests: `npm test` +- Audit deps: `npm audit` diff --git a/package-lock.json b/package-lock.json index 3d64d45..ccda6fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1359,9 +1359,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1379,9 +1376,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1399,9 +1393,6 @@ "riscv64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1419,9 +1410,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1439,9 +1427,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2572,11 +2557,10 @@ "license": "MIT" }, "node_modules/basic-ftp": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.2.1.tgz", - "integrity": "sha512-0yaL8JdxTknKDILitVpfYfV2Ob6yb3udX/hK97M7I3jOeznBNxQPtVvTUtnhUkyHlxFWyr5Lvknmgzoc7jf+1Q==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/basic-ftp/-/basic-ftp-5.2.2.tgz", + "integrity": "sha512-1tDrzKsdCg70WGvbFss/ulVAxupNauGnOlgpyjKzeQxzyllBLS0CGLV7tjIXTK3ZQA9/FBEm9qyFFN1bciA6pw==", "dev": true, - "license": "MIT", "engines": { "node": ">=10.0.0" }