fix Owliver ai chat

This commit is contained in:
2026-08-10 13:19:10 +05:30
parent 52fe6d9c14
commit 76412b08b4
8 changed files with 57 additions and 272 deletions

View File

@@ -22,9 +22,6 @@ const PLACEMENT = {
'/candidates': 'admin.candidates', // Candidates Analysis
'/tracking': 'admin.activity', // Activity
},
talent: {
'/employee': 'talent.portal', // My Portal
},
};
/**
@@ -34,13 +31,16 @@ const PLACEMENT = {
* Employer: Positions, Position Detail, Create Position, Hired History,
* Talent Pool, Profile.
* Admin: everything except the three above.
* Talent: everything except My Portal.
* Talent: every page. The talent portal has Owliver — a separate product with
* its own voice experience, branding and workflow. Krow AI does not
* appear there and must not replace it.
*/
export const EXCLUDED_ROUTES = [
'/positions', '/positions/new', '/positions/:id',
'/hired', '/talent-pool', '/profile', '/apply',
'/university', '/university/:id', '/me', '/identity',
'/owliver', '/design-system',
'/employee', // Talent portal — Owliver's, not Krow AI's.
];
/** Returns the context for a role and path, or `null` to render no assistant. */