feat: add Grok Build plugin and marketplace support

Ship .grok-plugin manifests so Grok can install ECC as a native plugin.
Resolve GROK_PLUGIN_ROOT and ~/.grok plugin homes so trusted hooks run.
Document trust/enable, ECC_HOOK_PROFILE, and root .mcp.json attachment.
This commit is contained in:
MistyStar committed 2026-10-20 10:33:37 +08:00
1 parent 35f57c80e6
commit 65ea9795e2
37 files changed
+681 -145

No files matched your search

+8
View File
@@ -324,6 +324,14 @@ function main() {
packagedPaths.has(".codex-plugin/plugin.json"),
"npm pack should include .codex-plugin/plugin.json"
)
assert.ok(
packagedPaths.has(".grok-plugin/plugin.json"),
"npm pack should include .grok-plugin/plugin.json"
)
assert.ok(
packagedPaths.has(".grok-plugin/marketplace.json"),
"npm pack should include .grok-plugin/marketplace.json"
)
assert.ok(
packagedPaths.has(".agents/plugins/marketplace.json"),
"npm pack should include .agents/plugins/marketplace.json"