{"_id":"@b-apm/integration-grok-build","name":"@b-apm/integration-grok-build","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@b-apm/integration-grok-build","version":"0.1.0","description":"Grok Build runtime integration for bapm","license":"MIT","type":"module","exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"publishConfig":{"access":"public"},"dependencies":{"@b-apm/integration-api":"0.1.0"},"devDependencies":{"@types/node":"^26.1.2","typescript":"^7.0.2","vite":"npm:@voidzero-dev/vite-plus-core@latest","vite-plus":"latest"},"engines":{"node":">=22.12.0"},"repository":{"type":"git","url":"git+https://github.com/Sdju/bapm.git","directory":"packages/integration-grok-build"},"homepage":"https://github.com/Sdju/bapm#readme","bugs":{"url":"https://github.com/Sdju/bapm/issues"},"keywords":["unstable","bapm","b-apm"],"scripts":{"build":"vp pack","dev":"vp pack --watch","test":"vp test","check":"vp check"},"_nodeVersion":"24.19.0","_id":"@b-apm/integration-grok-build@0.1.0","dist":{"integrity":"sha512-n+xf6FE6d0/6pQK0UuU14ID0+ZrLrRZj0OProAU7eX7Q8+/qEi+ht+nriCFtDxrm/38Gl4ogo7MGzLiKXP2L/g==","shasum":"52f9b117528bf41276a3bf56b4b44edbf8715561","tarball":"https://registry.npmjs.org/@b-apm/integration-grok-build/-/integration-grok-build-0.1.0.tgz","fileCount":5,"unpackedSize":8815,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCBG7X1TCgzGz0+1EnWO/uLPOYYa0gflcl7nU93MngwWwIhANzc0IZ4OVRDt3FinQxSYWBENn2IqSCpknr5Wdr7OU8p"}]},"_npmUser":{"name":"zede","email":"zede1697@mail.ru"},"directories":{},"maintainers":[{"name":"zede","email":"zede1697@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/integration-grok-build_0.1.0_1786367294885_0.6726851024702527"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-10T13:08:14.674Z","0.1.0":"2026-08-10T13:08:15.041Z","modified":"2026-08-10T13:08:15.305Z"},"maintainers":[{"name":"zede","email":"zede1697@mail.ru"}],"description":"Grok Build runtime integration for bapm","homepage":"https://github.com/Sdju/bapm#readme","keywords":["unstable","bapm","b-apm"],"repository":{"type":"git","url":"git+https://github.com/Sdju/bapm.git","directory":"packages/integration-grok-build"},"bugs":{"url":"https://github.com/Sdju/bapm/issues"},"license":"MIT","readme":"# @b-apm/integration-grok-build\n\n> **UNSTABLE:** Early public release. APIs and on-disk layouts may change without a major bump. Not production-ready.\n\nGrok Build **runtime** host for bapm (APM `KNOWN_TARGETS[\"grok-build\"]`).\n\n## Detection vs forced target\n\n| Mode                               | When active                 | Creates roots?                                     |\n| ---------------------------------- | --------------------------- | -------------------------------------------------- |\n| **Auto-detect**                    | `.grok/` **directory** only | Only when materialize runs after a positive detect |\n| **Forced** (`--target grok-build`) | Explicit forced target id   | MAY `mkdir` `.grok/` as needed                     |\n\nAuto-detect without force MUST NOT create `.grok/` solely to opt in. Lone `AGENTS.md` is **not** a Grok Build signal.\n\n## Deploy roots\n\n- `.grok` — rules, agents, commands, skills\n- `.` — project compile `AGENTS.md` only (basename allowlist in compile writer)\n\n## Materialize routing\n\n| Primitive type | Destination                                              |\n| -------------- | -------------------------------------------------------- |\n| skill          | `.grok/skills/<name>/SKILL.md` (never `.agents/skills/`) |\n| instruction    | `.grok/rules/<name>.md` (verbatim)                       |\n| agent          | `.grok/agents/<name>.md`                                 |\n| command        | `.grok/commands/<name>.md` (Claude-subset frontmatter)   |\n| hook / prompt  | skip + non-fatal diagnostic                              |\n\n**No** `configureMcp` (APM matrix: MCP unsupported). Experimental **grok-cloud** is out of scope.\n\n## Compile\n\n`compile` defaults to project-root `AGENTS.md` (agents compile family; last-writer vs Cursor/Codex) and honors `write` for preview vs durable emit.\n\n## Dependencies\n\nDepends only on `@b-apm/integration-api` among bapm packages — not `@b-apm/core`.\nRegister via object-map:\n\n```yaml\ntargets:\n  grok-build: \"@b-apm/integration-grok-build\"\nactive:\n  - grok-build\n```\n","readmeFilename":"","_rev":"1-981c3aac524d2d8bf32a9c28b40d418c"}