diff --git a/__tests__/hooks/manager.test.ts b/__tests__/hooks/manager.test.ts
index aee336ec..2bde51f6 100644
--- a/__tests__/hooks/manager.test.ts
+++ b/__tests__/hooks/manager.test.ts
@@ -756,7 +756,7 @@ describe("hooks/manager", () => {
const calls = vi.mocked(console.log).mock.calls.map((c) => c[0]);
const output = calls.join("\n");
- expect(output).toContain("Hooks not installed");
+ expect(output).toContain("Policies — not installed");
expect(output).toContain("--install-policies");
});
diff --git a/app/policies/hooks-client.tsx b/app/policies/hooks-client.tsx
index f04b365d..ad75b6e8 100644
--- a/app/policies/hooks-client.tsx
+++ b/app/policies/hooks-client.tsx
@@ -427,7 +427,7 @@ function ActivityTab({
Hooks are not installed
+Policies are not installed
Go to the{" "} - {" "}and click Install to enable hook monitoring. + {" "}and click Install to enable policy monitoring.
> ) : ( @@ -857,7 +857,7 @@ function PoliciesTab({ onHooksInstallChange }: { onHooksInstallChange?: (install if (!config) return; const installed = config.installedScopes.length > 0; if (!installed) { - setHooksWarning("Hooks are not installed. Install hooks to continue."); + setHooksWarning("Policies are not installed. Install policies to continue."); return; } setHooksWarning(null); @@ -953,7 +953,7 @@ function PoliciesTab({ onHooksInstallChange }: { onHooksInstallChange?: (install className={`h-2 w-2 rounded-full shrink-0 ${installed ? "bg-emerald-500" : "bg-muted-foreground/50"}`} /> - {installed ? "Hooks installed" : "Hooks not installed"} + {installed ? "Policies installed" : "Policies not installed"} {installed && ( @@ -980,7 +980,7 @@ function PoliciesTab({ onHooksInstallChange }: { onHooksInstallChange?: (install disabled={isPending} className="text-xs h-7 px-3" > - {installed ? "Reinstall" : "Install hooks"} + {installed ? "Reinstall" : "Install policies"} diff --git a/src/hooks/manager.ts b/src/hooks/manager.ts index 283f56cf..08da5887 100644 --- a/src/hooks/manager.ts +++ b/src/hooks/manager.ts @@ -511,7 +511,7 @@ export async function listHooks(cwd?: string): Promise