@vectorize-io/hindsight-coding-agents 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/installer.js +4 -0
- package/package.json +1 -1
package/dist/installer.js
CHANGED
|
@@ -813,6 +813,7 @@ var claudeCode = {
|
|
|
813
813
|
c.log?.(`claude-code: hooks merged into ${path}`);
|
|
814
814
|
installSkill(c, join10(c.home, ".claude", "skills"));
|
|
815
815
|
const mcp = c.claudeMcp ?? defaultClaudeMcp;
|
|
816
|
+
mcp(["mcp", "remove", "--scope", "user", "hindsight"]);
|
|
816
817
|
if (mcp([
|
|
817
818
|
"mcp",
|
|
818
819
|
"add",
|
|
@@ -928,6 +929,9 @@ var antigravity = {
|
|
|
928
929
|
install(c) {
|
|
929
930
|
const hooksPath = join10(c.home, ".gemini", "config", "hooks.json");
|
|
930
931
|
const hooks = readJson(hooksPath);
|
|
932
|
+
for (const key of Object.keys(hooks)) {
|
|
933
|
+
if (key !== MARKER && key.includes(MARKER)) delete hooks[key];
|
|
934
|
+
}
|
|
931
935
|
hooks[MARKER] = hooks[MARKER] ?? {};
|
|
932
936
|
mergeHarnessHooks(hooks[MARKER], "antigravity-cli", c.dist);
|
|
933
937
|
for (const event of ["PreInvocation", "Stop"]) {
|