INNER CODE UNIT · TypeScript
reportShellHookFailure
lidge-jun/opencodex · src/cli/index.ts:182
function reportShellHookFailure(result: { state: "installed" | "absent" | "failed"; reason?: string }): void {
if (result.state !== "failed") return;
console.warn(` Claude shell hook not reconciled${result.reason ? `: ${result.reason}` : ""}`);
console.warn(" Check ~/.zshrc for the '# opencodex claude-env hook' block.");
}
function reportRetainedCodexProviderTable(retained: RetainedCodexProviderTable): void {
console.log(` ${describeRetainedCodexProviderTable(retained)}`);
console.log(" Retained config lines:");
for (const line of retained.lines) console.log(` ${line}`);
}
async function refreshOwnedRaycastCatalog(
config: ReturnType<typeof loadConfig>,
port: number,
): Promise<void> {
try {
const outcomes = await refreshOwnedCatalogIntegrations({