{"_id":"@abhinav26104/agent-index","_rev":"4-e1ec967151d1a285cd3875540a102d46","name":"@abhinav26104/agent-index","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.1":{"name":"@abhinav26104/agent-index","version":"0.1.1","keywords":["ai","agents","repository","context","cli"],"license":"MIT","_id":"@abhinav26104/agent-index@0.1.1","maintainers":[{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"}],"bin":{"agent-index":"dist/cli.js"},"dist":{"shasum":"4d1fb4e52c25d777ba7d6e67bbeefe62a9cc3550","tarball":"https://registry.npmjs.org/@abhinav26104/agent-index/-/agent-index-0.1.1.tgz","fileCount":9,"integrity":"sha512-9HIOuLvNZhIcQCO23JX8R9Kbo/aUkK00VhPY+pyI/2pomeCH59cjMjyjKZMC4+z+Ipy0UdKn38X8dSO6naDMCw==","signatures":[{"sig":"MEQCIBlt83MsR/NbH3yVxgy/jDiMpMdCSEz6XsExnb4+AuB+AiBWpeZWbXPTAXeOpyB42Nkm//m+gmVUl8s7VberlUGTJA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":92811},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"23519ae935405b0e78ff56186e8c46da27b21865","scripts":{"test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"},"_npmVersion":"11.2.0","description":"Deterministic repository context for AI coding agents","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","ignore":"^5.3.2","commander":"^12.1.0","fast-glob":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^4.1.11","prettier":"^3.4.2","typescript":"^5.7.2","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/agent-index_0.1.1_1787357941172_0.23513224094308072","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@abhinav26104/agent-index","version":"0.1.2","keywords":["ai","agents","repository","context","cli"],"license":"MIT","_id":"@abhinav26104/agent-index@0.1.2","maintainers":[{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"}],"bin":{"agent-index":"dist/cli.js"},"dist":{"shasum":"b8187719e65f2dbc8f7b97efd5add095345dda8b","tarball":"https://registry.npmjs.org/@abhinav26104/agent-index/-/agent-index-0.1.2.tgz","fileCount":9,"integrity":"sha512-TZJBNnClfws0kktPiqyEd0MagGUJqqKy2qZEh41b4zno7Hq+EqL9mUl5t9X8gsIpHLSVnHBwyx6IWH4u5QE6ag==","signatures":[{"sig":"MEUCIQDsg7KB61k3860eSiBpDT0P8LhPFusZL1QPv9TYBCilzwIgQyp9Jn96rqMljr4gbXtbv/BMQozknT0GXNGJjGIN4MM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":128928},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"509d3ad21b8cf96dbdb0712227f5f326134a03c7","scripts":{"test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"},"_npmVersion":"11.2.0","description":"Deterministic repository context for AI coding agents","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","ignore":"^5.3.2","commander":"^12.1.0","fast-glob":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^4.1.11","prettier":"^3.4.2","typescript":"^5.7.2","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/agent-index_0.1.2_1787361509466_0.5190460875119682","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@abhinav26104/agent-index","version":"0.1.3","keywords":["ai","agents","repository","context","cli"],"license":"MIT","_id":"@abhinav26104/agent-index@0.1.3","maintainers":[{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"}],"bin":{"agent-index":"dist/cli.js"},"dist":{"shasum":"b962a9f44835348de4ec2b42aadfc9eea6bef2fb","tarball":"https://registry.npmjs.org/@abhinav26104/agent-index/-/agent-index-0.1.3.tgz","fileCount":9,"integrity":"sha512-+ELH7aZRc+OYLvC6oDH51FLmDaa6HjUH84gIiH5w1W46RK6RsL9LfyiK1iYhS2xqwFPOljH7caMow0nVdl7TJA==","signatures":[{"sig":"MEQCIHyHsTsaVQOizHX19/ajSNV9XhUTSwRxWJFcKrlXF2qLAiAE/c79G/+NvqXC2ppV8VjDmRjVpPWOOas+Cv2+2U3nvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130336},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f46587acb2c088e6190e74a2a2337c73b4639563","scripts":{"test":"vitest run","build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit"},"_npmUser":{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"},"_npmVersion":"11.2.0","description":"Deterministic repository context for AI coding agents","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.23.8","ignore":"^5.3.2","commander":"^12.1.0","fast-glob":"^3.3.2"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","vitest":"^4.1.11","prettier":"^3.4.2","typescript":"^5.7.2","@types/node":"^22.10.2"},"_npmOperationalInternal":{"tmp":"tmp/agent-index_0.1.3_1787364501337_0.08314091063313844","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@abhinav26104/agent-index","version":"0.2.0","description":"Deterministic repository context for AI coding agents","type":"module","main":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"bin":{"agent-index":"dist/cli.js"},"engines":{"node":">=20"},"scripts":{"build":"tsup","format":"prettier --write .","typecheck":"tsc --noEmit","test":"vitest run"},"license":"MIT","keywords":["ai","agents","repository","context","cli"],"dependencies":{"commander":"^12.1.0","fast-glob":"^3.3.2","ignore":"^5.3.2"},"devDependencies":{"@types/node":"^22.10.2","prettier":"^3.4.2","tsup":"^8.3.5","typescript":"^5.7.2","vitest":"^4.1.11"},"_id":"@abhinav26104/agent-index@0.2.0","gitHead":"a0d3850ee15d6135142ed3c20d6a9b7f499ef43d","types":"./dist/index.d.ts","_nodeVersion":"22.14.0","_npmVersion":"11.2.0","dist":{"integrity":"sha512-xOglpY4nuZx6SntgFUpgVm7njDvs04LR0y54zhXIbPUqYnqfCLdjJvKwdcgh4skD225uzGaSR8x5umLjuo4xjw==","shasum":"8a2525f00b07d6aa2538e2b7fe1af14826485281","tarball":"https://registry.npmjs.org/@abhinav26104/agent-index/-/agent-index-0.2.0.tgz","fileCount":9,"unpackedSize":113639,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDoUDkcXalw37u6C5Xc7/tdO9DjxdUNGlXDDbYch1WoXQIhAI8KItUBtl7t2P1yTNjdcK8CkPCxc2B0mP2xEE/+ig+9"}]},"_npmUser":{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"},"directories":{},"maintainers":[{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agent-index_0.2.0_1787392097760_0.19061642229260434"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-22T00:19:01.000Z","modified":"2026-08-22T09:48:18.022Z","0.1.1":"2026-08-22T00:19:01.343Z","0.1.2":"2026-08-22T01:18:29.612Z","0.1.3":"2026-08-22T02:08:21.533Z","0.2.0":"2026-08-22T09:48:17.882Z"},"license":"MIT","keywords":["ai","agents","repository","context","cli"],"description":"Deterministic repository context for AI coding agents","maintainers":[{"name":"abhinav26104","email":"abhinav.kr.singh.2610@gmail.com"}],"readme":"# @abhinav26104/agent-index\n\nA deterministic, security-conscious repository index for any AI coding agent. It uses local repository metadata, without an LLM, API key, or external service.\n\n## One-file workflow\n\nRun these commands from the repository you want to index:\n\n```bash\nnpx @abhinav26104/agent-index init .\nnpx @abhinav26104/agent-index sync .\nnpx @abhinav26104/agent-index check .\n```\n\n`init` creates `.indexAgent/index.md`. `sync` refreshes its managed section, while preserving user content outside the managed markers. `check` exits 0 when the index is current and 1 when it is stale. Use `--dry-run` to preview changes or `--json` for machine-readable output.\n\nTell your coding agent to read `.indexAgent/index.md` before working. The index describes the project, technologies, frameworks, package managers, commands, entry points, important directories, structure, tests, and configuration files. Source code, tests, and configuration remain the final source of truth.\n\n## Generated file\n\n```text\n.indexAgent/\n  index.md\n```\n\nThe generated section is enclosed by `<!-- agent-index:start -->` and `<!-- agent-index:end -->`. User content before, after, or around that section is preserved.\n\nUpgrading from 0.1.x does not remove or modify `.agent-index`, `AGENTS.md`, `CLAUDE.md`, `GEMINI.md`, context files, or legacy configuration. Remove those legacy files manually if they are no longer needed.\n\n## Safety and determinism\n\nThe scanner respects `.gitignore`, uses a safe manifest and README allowlist, and does not read arbitrary source-code contents. It excludes secrets, credentials, environment files, private keys, certificates, dependencies, builds, and generated files; does not follow symbolic links; rejects symlinked output paths; enforces depth and file-count limits; and normalizes paths across operating systems.\n\nOutput is sorted, timestamp-free, atomic, and idempotent. No production dependency is added for indexing.\n\n## Local development\n\n```bash\nnpm install\nnpm run typecheck\nnpm test\nnpm run build\n```\n\nLicensed under the [MIT License](LICENSE).\n","readmeFilename":"README.md"}