Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
7585c64
fix(AGENT-674): self-heal missing workspace roles during auth
maxtechera Feb 9, 2026
1598cfa
fix(AGENT-674): migration + auth fallback to move default chatflows t…
maxtechera Feb 9, 2026
fa2d0c8
fix(AGENT-674): use transactional repo for workspace heal query
maxtechera Feb 9, 2026
859c9e4
fix(AGENT-674): add missing migration import
maxtechera Feb 9, 2026
7ebc6fc
Merge pull request #947 from the-answerai/fix/AGENT-674-self-heal-wor…
maxtechera Feb 9, 2026
b39a266
fix(AGENT-674): scope Personal Workspace lookup to current user
maxtechera Feb 9, 2026
0e6ee72
fix(AGENT-674): scope Personal Workspace lookup to current user
maxtechera Feb 9, 2026
4fdadd0
Merge pull request #948 from the-answerai/fix/AGENT-674-scope-persona…
maxtechera Feb 9, 2026
0bc06e1
Merge pull request #950 from the-answerai/fix/AGENT-674-self-heal-wor…
maxtechera Feb 9, 2026
868ab17
chore: update dependencies for axios, dotenv, and next versions acros…
ct3685 Feb 9, 2026
4fb7397
chore: update dotenv and axios versions across multiple packages
ct3685 Feb 9, 2026
e5770ee
feat(AGENT-239): redesign message action bar with independent guardra…
Feb 10, 2026
25554e4
Merge pull request #952 from the-answerai/feat/AGENT-239-message-acti…
maxtechera Feb 10, 2026
438d483
chore: update deps
maxtechera Feb 10, 2026
c5feea3
fix: pin @types/express to v4 to resolve build failures
maxtechera Feb 10, 2026
252d762
Merge pull request #951 from the-answerai/ct/minor-security-updates-a…
maxtechera Feb 10, 2026
7a58a42
fix: update mammoth to >=1.11.0 for CVE-2025-11849 (GHSA-rmjr-87wv-gf87)
maxtechera Feb 11, 2026
36cb755
fix(AGENT-677): replace deprecated auth in version history endpoints
maxtechera Feb 11, 2026
906eb36
Merge pull request #954 from the-answerai/fix/ias-security-critical-cves
maxtechera Feb 11, 2026
bf1c97c
Merge pull request #955 from the-answerai/feature/AGENT-677-fix-versi…
maxtechera Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"aai-embed-react": "workspace:*",
"add": "^2.0.6",
"aws-crt": "^1.27.3",
"axios": "^1.12.1",
"axios": "^1.13.3",
"chromadb": "^1.10.5",
"cohere-ai": "^7.19.0",
"cors": "^2.8.5",
Expand All @@ -51,7 +51,7 @@
"ioredis": "^5.7.0",
"jose": "^5.10.0",
"js-cookie": "^3.0.5",
"next": "^14.2.32",
"next": "^14.2.35",
"next-auth": "^4.24.11",
"openai": "4.96.0",
"react": "18.2.0",
Expand All @@ -78,7 +78,7 @@
"@types/react-dom": "^18.3.7",
"@types/uuid": "^9.0.8",
"copy-webpack-plugin": "^11.0.0",
"dotenv": "^17.2.2",
"dotenv": "^17.2.4",
"eslint": "7.32.0",
"eslint-config-custom": "workspace:*",
"file-loader": "^6.2.0",
Expand Down
32 changes: 18 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,19 +76,19 @@
"*.{js,jsx,ts,tsx}": "eslint --fix"
},
"devDependencies": {
"@babel/preset-env": "^7.28.3",
"@babel/preset-env": "^7.29.0",
"@babel/preset-typescript": "7.21.4",
"@cypress/react18": "^2.0.1",
"@types/express": "^4.17.23",
"@types/jsdom": "^21.1.6",
"@types/express": "^4.17.25",
"@types/jsdom": "^21.1.7",
"@types/node-cron": "^3.0.11",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/typescript-estree": "^7.18.0",
"axios": "^1.12.1",
"axios": "^1.13.5",
"cursor-tools": "latest",
"cypress": "^13.17.0",
"dotenv": "^17.2.2",
"dotenv-cli": "^10.0.0",
"dotenv": "^17.2.4",
"dotenv-cli": "^11.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^8.10.2",
"eslint-config-react-app": "^7.0.1",
Expand All @@ -101,37 +101,40 @@
"eslint-plugin-unused-imports": "^2.0.0",
"glob": "^11.1.0",
"husky": "^8.0.3",
"jsdom": "^24.0.0",
"tsx": "^4.7.0",
"xml2js": "^0.6.2",
"knip": "^5.63.1",
"jsdom": "^24.1.3",
"knip": "^5.83.1",
"lint-staged": "^15.5.2",
"prettier": "^2.8.8",
"pretty-quick": "^3.3.1",
"rimraf": "^6.0.1",
"rimraf": "^6.1.2",
"run-script-os": "^1.1.6",
"tsx": "^4.21.0",
"turbo": "1.10.16",
"typescript": "~5.5.4",
"yargs": "^17.7.2"
"xml2js": "^0.6.2",
"yargs": "^18.0.0"
},
"dependencies": {
"node-cron": "^3.0.3",
"wait-on": "^7.2.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"cypress",
"esbuild",
"faiss-node",
"sqlite3"
],
"overrides": {
"@opentelemetry/sdk-trace-base": "1.27.0",
"axios": "^1.12.1",
"body-parser": "2.0.2",
"braces": "3.0.3",
"cookie": ">=0.7.0",
"cross-spawn": "7.0.6",
"ejs": "^3.1.10",
"esbuild": ">=0.25.0",
"@types/express": "^4.17.25",
"@types/express-serve-static-core": "^4.19.8",
"express": ">=4.19.2 <5.0.0",
"form-data": "4.0.4",
"glob-parent": "6.0.2",
Expand All @@ -157,7 +160,8 @@
"unset-value": "2.0.1",
"webpack-dev-middleware": "7.4.2",
"ws": "8.18.3",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"mammoth": ">=1.11.0"
}
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages-answers/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"dependencies": {
"eslint": "^7.32.0",
"eslint-config-next": "^14.2.32",
"eslint-config-next": "^14.2.35",
"eslint-config-prettier": "^8.10.2",
"eslint-config-turbo": "^1.13.4",
"eslint-plugin-react": "^7.37.5"
Expand Down
3 changes: 3 additions & 0 deletions packages-answers/types/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ export interface AppSettings {
models?: Models
filters?: AnswersFilters
chatflowDomain?: string // This should be required
chat?: {
hideDebugIcon?: boolean
}
}

export interface JiraFilters {
Expand Down
4 changes: 2 additions & 2 deletions packages-answers/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@mui/x-tree-view": "^7.29.1",
"@next-auth/prisma-adapter": "^1.0.7",
"@textea/json-viewer": "2.14.1",
"axios": "^1.12.1",
"axios": "^1.13.3",
"clsx": "^1.2.1",
"cors": "^2.8.5",
"dompurify": "^3.3.0",
Expand All @@ -56,7 +56,7 @@
"jose": "^5.10.0",
"js-cookie": "^3.0.5",
"jszip": "^3.10.1",
"next": "^14.2.32",
"next": "^14.2.35",
"next-auth": "^4.24.11",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages-answers/ui/src/Admin/Chatflows/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@

useEffect(() => {
refreshChatflows()
}, [flowType, agentflowVersion])

Check warning on line 337 in packages-answers/ui/src/Admin/Chatflows/index.tsx

View workflow job for this annotation

GitHub Actions / build

React Hook useEffect has a missing dependency: 'refreshChatflows'. Either include it or remove the dependency array

if (error) {
return (
Expand Down Expand Up @@ -1570,7 +1570,7 @@
<Box sx={{ display: 'flex', flexDirection: 'column', gap: 2 }}>
{chatflowVersions.map((version: any) => (
<Box
key={version.version}
key={`${version.version}-${version.timestamp}`}
sx={{
p: 2,
border: version.isCurrent
Expand Down
3 changes: 2 additions & 1 deletion packages-answers/ui/src/AnswersContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@
setMessages((prevMessages) => [...prevMessages, { role: 'assistant', content: errorMessage } as Message])
}
},
[addMessage, isChatFlowAvailableToStream, socketIOClientId]

Check warning on line 636 in packages-answers/ui/src/AnswersContext.tsx

View workflow job for this annotation

GitHub Actions / build

React Hook useCallback has a missing dependency: 'fetchResponseFromEventStream'. Either include it or remove the dependency array
)
const regenerateAnswer = useCallback(
(retry?: boolean) => {
Expand Down Expand Up @@ -749,7 +749,8 @@
chatId: payload.data.chatId,
chatflowid: chatflowid
} as any)),
...(followUpPrompts && { followUpPrompts: followUpPrompts })
...(followUpPrompts && { followUpPrompts: followUpPrompts }),
...(payload.data.guardrailsMetadata && { guardrailsMetadata: payload.data.guardrailsMetadata })
}
})
})
Expand Down Expand Up @@ -1077,7 +1078,7 @@
fullFileUpload,
fullFileUploadAllowedTypes
}),
[

Check warning on line 1081 in packages-answers/ui/src/AnswersContext.tsx

View workflow job for this annotation

GitHub Actions / build

React Hook useMemo has missing dependencies: 'deleteChat', 'deleteJourney', 'deletePrompt', 'handleAbort', 'startNewChat', 'submitFeedbackContent', 'updateChat', 'updateMessage', 'updatePrompt', and 'upsertJourney'. Either include them or remove the dependency array
user,
appSettings,
chat,
Expand Down
11 changes: 1 addition & 10 deletions packages-answers/ui/src/ChatRoom.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react'
import { Box, Button, IconButton, useTheme } from '@mui/material'
import { Box, Button, useTheme } from '@mui/material'
import type { Message, Sidekick } from 'types'
import ChatFeedbackContentDialog from './../../../packages/ui/src/ui-component/dialog/ChatFeedbackContentDialog'
import { useAnswers } from './AnswersContext'
import RefreshIcon from '@mui/icons-material/Refresh'
import { useSubscriptionDialog } from './SubscriptionDialogContext'

import dynamic from 'next/dynamic'
Expand Down Expand Up @@ -31,7 +30,7 @@
regenerateAnswer,
chatbotConfig,
setSelectedDocuments,
sidekicks,

Check warning on line 33 in packages-answers/ui/src/ChatRoom.tsx

View workflow job for this annotation

GitHub Actions / build

'sidekicks' is defined but never used. Allowed unused args must match /^_/u
scrollRef,
selectedSidekick,
setPreviewCode
Expand Down Expand Up @@ -119,14 +118,6 @@
content={chatbotConfig?.welcomeMessage ?? 'Welcome! Try asking me something!'}
/>
) : null}

{!isLoading && !error && messages?.length ? (
<Box sx={{ mt: -4, width: '100%', display: 'flex', justifyContent: 'flex-end' }}>
<IconButton onClick={regenerateAnswer} size='small'>
<RefreshIcon fontSize='inherit' />
</IconButton>
</Box>
) : null}
</Box>
</Box>
)
Expand Down
Loading
Loading