Spaces:
Paused
Paused
Commit History
-
fix: terminate session on portal-mismatch 403 to stop polling flood
dushyantsingh0 +1: Claude Sonnet 4.6The interceptor handled 401 and 429 but not 403. When a superadmin accessed the customer portal, every polling hook retried on its interval after getting blocked, producing hundreds of BLOCKED log lines per minute. Now a 403 whose detail contains 'Operations Console' or 'cannot access' clears localStorage/sessionStorage and reloads, killing all in-flight polls immediately. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c8ea94d -
fix: always render new session button in Nexus chat header
dushyantsingh0 +1: Claude Sonnet 4.6Previously conditional on messages.length > 0 which hid the button during initial render or before context hydrated. Now always visible but dimmed/disabled when no messages exist, making it immediately discoverable and eliminating conditional render race. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6489fc7 -
feat: add new session button to Nexus chat widget on both portals
dushyantsingh0 +1: Claude Sonnet 4.6Adds a SquarePen icon button in the chat header that appears once the conversation has messages. Clicking it calls resetState() which clears the thread ID, messages, and sessionStorage so the next query starts a completely fresh conversation. Button is hidden on empty sessions to keep the UI clean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>06adf00 -
fix: clean tab transition in customer ticket queue
dushyantsingh0 +1: Claude Sonnet 4.6Old rows were animating out while new rows animated in simultaneously (AnimatePresence popLayout on tbody rows) because isApplyingFilters didn't trigger the skeleton when loading=false (cache hit path). Wrap the content panel in AnimatePresence mode=wait keyed by viewMode so the old panel fully fades out before the new one enters. Also fix the skeleton condition to fire on isApplyingFilters regardless of loading state, so cache hits still get a clean transition skeleton. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>688da93 -
fix: eliminate loading flash on ticket queue navigation in both portals
dushyantsingh0 +1: Claude Sonnet 4.6Internal portal: sort_by was always 'recency' which made hasFilters=true on every mount, forcing globalQueueLoading=true every time the board opened. sort_by is a presentation preference, not a data filter. Customer portal: useTicketsPaginated started with useState([]) on every remount, causing a flash of empty state before the useEffect could hydrate from sessionStorage. Module-level globalLastResult seeds useState with the most recent valid cache entry so remounts show stale data instantly with no visible loading gap. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>4dd1686 -
fix: use block layout for NexusMarkdown so mermaid diagrams fill full width
dushyantsingh0 +1: Claude Sonnet 4.6The flex column with alignItems flex-start caused pre elements (mermaid code block wrappers) to shrink-wrap to intrinsic content width, making width:100% on NexusMermaid resolve circularly to the diagram's natural compact size. Block layout is correct for markdown content — children fill the containing block width by default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>0eb22a3 -
fix: expand mermaid diagram container to full width in NexusMarkdown
dushyantsingh0 +1: Claude Sonnet 4.6alignItems: flex-start on the flex column caused NexusMermaid children to shrink to intrinsic content width instead of filling the parent. Adding width: 100% restores the full-width chain so RCA sequence diagrams render at proper size across all three portals. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b4d120d -
chore: remove stale nexus_stream_task dead code and dead variable
dushyantsingh0 +1: Claude Sonnet 4.6- tasks/system.py: remove nexus_stream_task from HEAVY_TASKS, THROTTLE_EXCLUDED, and workspace_id Pattern D extraction — task is never enqueued since chat moved to direct async SSE - nexus_worker.py: update stale comment referencing old admission control - NexusMermaid.tsx: remove lastInitializedTheme module variable — it was only used as a guard that was removed; now just a dead write Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>aa34d3f
-
fix: harden NexusMermaid rendering — skip false-positive parse, show error detail
dushyantsingh0 +1: Claude Sonnet 4.6- Remove explicit mermaid.parse() pre-check; go straight to render() which validates internally. parse() in v10.9 can throw on valid syntax. - Remove nested xyChart object from themeVariables (not a valid mermaid key; may corrupt internal config and cause all diagrams to fail) - Always call mermaid.initialize() per render to avoid stale config state - Show the actual mermaid error message when a diagram fails (+ console.error) so failures are diagnosable without opening devtools Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d30af1d -
feat: pin tool steps to messages + robust mermaid multi-diagram rendering
dushyantsingh0 +1: Claude Sonnet 4.6- NexusContext: add _toolSteps to NexusMessage; on SSE done, snapshot completed tool steps into the assistant message before clearing live state - NexusHub + both NexusMasterAgent: render pinned tool pills (green) above message content when _toolSteps present on a completed message - NexusMarkdown: split multi-diagram mermaid blocks into separate renders so each chart renders independently instead of all failing together - NexusMermaid: strip trailing 'end' keyword, convert bracket-style xychart data ('0' [16] → bar [16, ...]), fix colon-style headers (title: X → title "X") for both xychart and pie charts - prompts.py: instruct both responders to put each diagram in its own separate mermaid block, no 'end' keyword, no colon-style headers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>92c20b5 -
fix: delete thread drops paginated sessions, Groq 20s retry, empty response, invisible NX avatar
dushyantsingh0 +1: Claude Sonnet 4.6deleteThread: optimistic removal instead of fetchSessions() refetch — refetching only page 1 caused sessions loaded via scroll-pagination to disappear temporarily Groq LLM: max_retries=0 disables Groq's internal 20s exponential backoff so LazyFailoverChatModel immediately catches the rate-limit error and switches to the backup provider instead of stalling the response for 20+ seconds Responder prompt: replaced vague 'synthesize into briefing' + '2-4 sentences max' with explicit rule — response IS the delivery channel, never say 'I've provided', always present full ticket data inline with GFM tables. Length scales with data. NexusHub: fix invisible NX avatar in loading indicator (var(--primary-gradient) → var(--banner-gradient) which actually exists in the design tokens) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>53d8723 -
fix: remove duplicate loading bubble in NexusHub and NexusMasterAgent
dushyantsingh0 +1: Claude Sonnet 4.6NexusContext immediately adds an empty assistant message on query start. With content="", isActivelyStreaming was false, so both the empty bubble from messages.map() and the ActivityPanel rendered simultaneously. Skip rendering the empty assistant placeholder — ActivityPanel already handles the pre-first-token loading phase. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>7002df6 -
feat: live activity panel with tool steps, async Phase 5 persistence, agent overhaul
dushyantsingh0 +1: Claude Sonnet 4.6- NexusContext: track tool_start/tool_end SSE events as ToolStep[] state; clear on done - Customer/Internal NexusMasterAgent: replace dots with ActivityPanel showing each tool step checking off in real-time (running purple → done green with Check icon) - NexusHub: same live activity panel inline in hub chat UI - useNexus: re-export ToolStep type for consumers Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>ce92d20 -
backend
dushyantsingh05813b86 -
Fix xychart nested themeVariables and add CSS overrides to force label contrast
dushyantsingh00b41ed9 -
Optimize Nexus Hub: align workspace checks, fix worker backoff, frontend approval HUD, Mermaid validation & high-contrast theme variables, and simplify backend response handling
dushyantsingh00ae165b -
backend
dushyantsingh0f95ecf7 -
backend sprint
dushyantsingh05a41337 -
fix: resolve greedy regex matching for triple-backtick markdown blocks in NexusMarkdown
dushyantsingh01bead8c -
fix: allow superadmin to edit and delete articles in KB UI
dushyantsingh0a4c08a4 -
backend sprint
dushyantsingh050d145d -
fix customer analytics summary formatting and font sizes
dushyantsingh048209bc -
backend sprint
dushyantsingh04c985e0
-
Initial commit
dushyantsingh07de9344 -
Initial commit
dushyantsingh0c73e23d -
Initial commit
dushyantsingh0c0fc2f2 -
Initial commit
dushyantsingh058231d3 -
Initial commit
dushyantsingh017923f1 -
Initial commit
dushyantsingh0053ff4c -
backend change
dushyantsingh0f6cdafe
-
backend stabilisation
dushyantsingh0ef9f115 -
fix bold syntax and allow text to fill container in both portals
dushyantsingh042ff903 -
fix AI synthetic insight formatting and transition in customer portal
dushyantsingh048d775a -
fix word collisions and list rendering in AI direct answer
dushyantsingh08b2548d -
refine AI direct answer formatting and transition in KnowledgeBase
dushyantsingh002ae297 -
fix forensics filtering logic on both frontend and backend
dushyantsingh0cb0eb6e -
fix forensics syntax error
dushyantsingh04663444 -
backend stabilisation
dushyantsingh0eced686 -
fix: repaired missing header newlines for analytics narratives
dushyantsingh0e81b059 -
fix: broadened media hydration for superuser visibility
dushyantsingh05759a97 -
revert: message box UI formatting to original simple layout
dushyantsingh00a3afcd -
fix: optimized RCA diagram scaling and layout
dushyantsingh0ea9f0a6 -
fix: standardized media hydration in nexus markdown for all roles
dushyantsingh0d6edb4d -
fix: standardized token retrieval in rich editor paste handler
dushyantsingh0fdc2199 -
fix: finalize UI consistency and document formatting across all portals
dushyantsingh0a18bb13 -
fix: resolve broken images in rich editor and strip dangling markdown tokens
dushyantsingh0666a24f -
fix: explicit left-alignment for images in all portals
dushyantsingh0e367f90 -
fix: fuse redundant stars and repair split markdown tokens
dushyantsingh0d439891 -
fix: force absolute left-alignment and resilient markdown formatting
dushyantsingh08e6526d -
fix: resilient markdown parsing; build: skip tsc for faster deployment
dushyantsingh098e00da