Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
98 changes: 49 additions & 49 deletions web/ee/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,79 +19,79 @@
"types:watch": "tsc -w"
},
"dependencies": {
"@agenta/annotation": "workspace:../packages/agenta-annotation",
"@agenta/annotation-ui": "workspace:../packages/agenta-annotation-ui",
"@agenta/entities": "workspace:../packages/agenta-entities",
"@agenta/entity-ui": "workspace:../packages/agenta-entity-ui",
"@agenta/oss": "workspace:../oss",
"@agenta/playground": "workspace:../packages/agenta-playground",
"@agenta/playground-ui": "workspace:../packages/agenta-playground-ui",
"@agenta/shared": "workspace:../packages/agenta-shared",
"@agenta/ui": "workspace:../packages/agenta-ui",
"@agenta/annotation": "link:../packages/agenta-annotation",
"@agenta/annotation-ui": "link:../packages/agenta-annotation-ui",
"@agenta/entities": "link:../packages/agenta-entities",
"@agenta/entity-ui": "link:../packages/agenta-entity-ui",
"@agenta/oss": "link:../oss",
"@agenta/playground": "link:../packages/agenta-playground",
"@agenta/playground-ui": "link:../packages/agenta-playground-ui",
"@agenta/shared": "link:../packages/agenta-shared",
"@agenta/ui": "link:../packages/agenta-ui",
"@ant-design/colors": "^7.2.1",
"@ant-design/cssinjs": "^2.1.0",
"@ant-design/icons": "^6.1.0",
"@lexical/code-shiki": "^0.46.0",
"@lexical/history": "^0.46.0",
"@ant-design/cssinjs": "^2.1.2",
"@ant-design/icons": "^6.3.2",
"@lexical/code-shiki": "^0.47.0",
"@lexical/history": "^0.47.0",
"@phosphor-icons/react": "^2.1.10",
"@reduxjs/toolkit": "^2.8.2",
"@tanstack/query-core": "^5.90.20",
"@tanstack/react-query": "^5.90.21",
"@reduxjs/toolkit": "^2.12.0",
"@tanstack/query-core": "^5.101.2",
"@tanstack/react-query": "^5.101.2",
"@tremor/react": "^3.18.7",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.23",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@types/react-resizable": "^3.0.7",
"@types/lodash": "^4.17.24",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react-resizable": "^3.0.8",
"@types/react-window": "^1.8.8",
"antd": "^6.1.3",
"autoprefixer": "10.4.20",
"axios": "1.16.0",
"classnames": "^2.3.2",
"antd": "^6.5.1",
"autoprefixer": "^10.5.3",
"axios": "^1.18.1",
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"crisp-sdk-web": "^1.0.26",
"dayjs": "^1.11.20",
"dotenv": "^16.5.0",
"crisp-sdk-web": "^1.2.0",
"dayjs": "^1.11.21",
"dotenv": "^16.6.1",
"fast-deep-equal": "^3.1.3",
"immer": "^10.1.3",
"jotai": "^2.16.1",
"immer": "^10.2.0",
"jotai": "^2.20.2",
"jotai-eager": "^0.2.6",
"jotai-family": "^1.0.1",
"jotai-family": "^1.0.2",
"jotai-immer": "^0.4.3",
"jotai-scheduler": "^0.0.5",
"jotai-tanstack-query": "^0.11.0",
"js-yaml": "^4.1.1",
"jsonrepair": "^3.13.3",
"lodash": "^4.17.23",
"next": "15.5.18",
"postcss": "^8.5.10",
"posthog-js": "^1.223.3",
"js-yaml": "^4.3.0",
"jsonrepair": "^3.15.0",
"lodash": "^4.18.1",
"next": "15.5.20",
"postcss": "^8.5.19",
"posthog-js": "^1.400.1",
"rc-virtual-list": "^3.19.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-jss": "^10.10.0",
"react-resizable": "^3.0.5",
"react-resizable": "^3.2.0",
"react-virtuoso": "^4.18.10",
"react-window": "^1.8.11",
"recharts": "^3.1.0",
"recharts": "^3.9.2",
"shiki": "^3.23.0",
"supertokens-auth-react": "^0.51.0",
"supertokens-auth-react": "^0.51.2",
"swc-loader": "^0.2.7",
"swr": "^2.4.0",
"tailwindcss": "^3.4.4",
"swr": "^2.4.2",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3",
"use-animation-frame": "^0.2.1",
"usehooks-ts": "^3.1.1",
"uuid": "^11.1.1",
"webpack": "^5.104.1"
"webpack": "^5.108.4"
},
"devDependencies": {
"@agenta/web-tests": "workspace:../tests",
"@agenta/web-tests": "link:../tests",
"@swc-jotai/debug-label": "^0.5.0",
"@swc-jotai/react-refresh": "^0.5.0",
"@types/node": "^20.19.20",
"@types/prismjs": "^1.26.5",
"node-mocks-http": "^1.17.2",
"tailwind-scrollbar": "^3"
"@types/node": "^20.19.43",
"@types/prismjs": "^1.26.6",
"node-mocks-http": "^1.18.0",
"tailwind-scrollbar": "^3.1.0"
}
}
160 changes: 80 additions & 80 deletions web/oss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,127 +19,127 @@
"types:watch": "tsc -w"
},
"dependencies": {
"@agenta/annotation": "workspace:../packages/agenta-annotation",
"@agenta/annotation-ui": "workspace:../packages/agenta-annotation-ui",
"@agenta/entities": "workspace:../packages/agenta-entities",
"@agenta/entity-ui": "workspace:../packages/agenta-entity-ui",
"@agenta/playground": "workspace:../packages/agenta-playground",
"@agenta/playground-ui": "workspace:../packages/agenta-playground-ui",
"@agenta/sdk": "workspace:../packages/agenta-sdk",
"@agenta/shared": "workspace:../packages/agenta-shared",
"@agenta/ui": "workspace:../packages/agenta-ui",
"@agenta/web-tests": "workspace:../tests",
"@agentaai/nextstepjs": "^2.1.3-agenta.1",
"@agenta/annotation": "link:../packages/agenta-annotation",
"@agenta/annotation-ui": "link:../packages/agenta-annotation-ui",
"@agenta/entities": "link:../packages/agenta-entities",
"@agenta/entity-ui": "link:../packages/agenta-entity-ui",
"@agenta/playground": "link:../packages/agenta-playground",
"@agenta/playground-ui": "link:../packages/agenta-playground-ui",
"@agenta/sdk": "link:../packages/agenta-sdk",
"@agenta/shared": "link:../packages/agenta-shared",
"@agenta/ui": "link:../packages/agenta-ui",
"@agenta/web-tests": "link:../tests",
"@agentaai/nextstepjs": "2.1.3-agenta.2",
"@ai-sdk/react": "3.0.0-beta.153",
"@ant-design/colors": "^7.2.1",
"@ant-design/cssinjs": "^2.1.0",
"@ant-design/icons": "^6.1.0",
"@ant-design/x": "^2.5.0",
"@ant-design/cssinjs": "^2.1.2",
"@ant-design/icons": "^6.3.2",
"@ant-design/x": "^2.8.0",
"@ant-design/x-markdown": "^2.8.0",
"@cloudflare/stream-react": "^1.9.3",
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0",
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@floating-ui/dom": "^1.7.2",
"@floating-ui/react": "^0.27.13",
"@lexical/code": "^0.46.0",
"@lexical/code-shiki": "^0.46.0",
"@lexical/hashtag": "^0.46.0",
"@lexical/history": "^0.46.0",
"@lexical/link": "^0.46.0",
"@lexical/list": "^0.46.0",
"@lexical/mark": "^0.46.0",
"@lexical/markdown": "^0.46.0",
"@lexical/overflow": "^0.46.0",
"@lexical/react": "^0.46.0",
"@lexical/rich-text": "^0.46.0",
"@lexical/selection": "^0.46.0",
"@lexical/table": "^0.46.0",
"@lexical/utils": "^0.46.0",
"@next/bundle-analyzer": "15.5.18",
"@floating-ui/dom": "^1.8.0",
"@floating-ui/react": "^0.27.20",
"@lexical/code": "^0.47.0",
"@lexical/code-shiki": "^0.47.0",
"@lexical/hashtag": "^0.47.0",
"@lexical/history": "^0.47.0",
"@lexical/link": "^0.47.0",
"@lexical/list": "^0.47.0",
"@lexical/mark": "^0.47.0",
"@lexical/markdown": "^0.47.0",
"@lexical/overflow": "^0.47.0",
"@lexical/react": "^0.47.0",
"@lexical/rich-text": "^0.47.0",
"@lexical/selection": "^0.47.0",
"@lexical/table": "^0.47.0",
"@lexical/utils": "^0.47.0",
"@next/bundle-analyzer": "15.5.20",
"@phosphor-icons/react": "^2.1.10",
"@reduxjs/toolkit": "^2.8.2",
"@scalar/openapi-parser": "^0.24.13",
"@scalar/openapi-types": "^0.1.5",
"@reduxjs/toolkit": "^2.12.0",
"@scalar/openapi-parser": "^0.28.8",
"@scalar/openapi-types": "^0.9.1",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.7",
"@tanstack/react-query": "^5.90.21",
"@tailwindcss/forms": "^0.5.11",
"@tanstack/react-query": "^5.101.2",
"@tremor/react": "^3.18.7",
"@types/diff": "^5.0.9",
"@types/js-beautify": "^1.14.0",
"@types/diff": "^5.2.3",
"@types/js-beautify": "^1.14.3",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.23",
"@types/papaparse": "^5.3.14",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@types/react-resizable": "^3.0.7",
"@types/react-syntax-highlighter": "^15.5.7",
"@types/lodash": "^4.17.24",
"@types/papaparse": "^5.5.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/react-resizable": "^3.0.8",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/react-window": "^1.8.8",
"ai": "6.0.0-beta.150",
"ajv": "^8.18.0",
"antd": "^6.1.3",
"autoprefixer": "10.4.20",
"axios": "1.16.0",
"classnames": "^2.3.2",
"ajv": "^8.20.0",
"antd": "^6.5.1",
"autoprefixer": "^10.5.3",
"axios": "^1.18.1",
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.20",
"dotenv": "^16.5.0",
"dayjs": "^1.11.21",
"dotenv": "^16.6.1",
"fast-deep-equal": "^3.1.3",
"immer": "^10.1.3",
"jotai": "^2.16.1",
"immer": "^10.2.0",
"jotai": "^2.20.2",
"jotai-eager": "^0.2.6",
"jotai-family": "^1.0.1",
"jotai-family": "^1.0.2",
"jotai-immer": "^0.4.3",
"jotai-scheduler": "^0.0.5",
"jotai-tanstack-query": "^0.11.0",
"js-beautify": "^1.14.8",
"js-yaml": "^4.1.1",
"jsonrepair": "^3.13.3",
"lexical": "^0.46.0",
"lodash": "^4.17.23",
"js-beautify": "^1.15.4",
"js-yaml": "^4.3.0",
"jsonrepair": "^3.15.0",
"lexical": "^0.47.0",
"lodash": "^4.18.1",
"lucide-react": "^0.479.0",
"motion": "^12.0.0",
"next": "15.5.18",
"papaparse": "^5.5.3",
"postcss": "^8.5.10",
"posthog-js": "^1.223.3",
"motion": "^12.42.2",
"next": "15.5.20",
"papaparse": "^5.5.4",
"postcss": "^8.5.19",
"posthog-js": "^1.400.1",
"prismjs": "^1.30.0",
"rc-virtual-list": "^3.19.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-error-boundary": "^4.0.11",
"react-icons": "^5.4.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-error-boundary": "^4.1.2",
"react-icons": "^5.7.0",
"react-jss": "^10.10.0",
"react-resizable": "^3.0.5",
"react-resizable": "^3.2.0",
"react-syntax-highlighter": "^16.1.1",
"react-virtuoso": "^4.18.10",
"react-window": "^1.8.11",
"recharts": "^3.1.0",
"semver": "^7.7.4",
"recharts": "^3.9.2",
"semver": "^7.8.5",
"shiki": "^3.23.0",
"stable-hash": "^0.0.6",
"supertokens-auth-react": "^0.51.0",
"supertokens-auth-react": "^0.51.2",
"supertokens-web-js": "^0.16.0",
"swc-loader": "^0.2.7",
"swr": "^2.4.0",
"swr": "^2.4.2",
"swr-devtools": "^1.3.2",
"tailwindcss": "^3.4.4",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3",
"use-animation-frame": "^0.2.1",
"usehooks-ts": "^3.1.1",
"uuid": "^11.1.1",
"uuidjs": "^5.1.0",
"zod": "^4.3.6"
"zod": "^4.4.3"
},
"devDependencies": {
"@swc-jotai/debug-label": "^0.5.0",
"@swc-jotai/react-refresh": "^0.5.0",
"@types/node": "^20.19.20",
"@types/prismjs": "^1.26.5",
"@types/node": "^20.19.43",
"@types/prismjs": "^1.26.6",
"@types/semver": "^7.7.1",
"node-mocks-http": "^1.17.2",
"prettier": "^3.7.4",
"tailwind-scrollbar": "^3"
"node-mocks-http": "^1.18.0",
"prettier": "^3.9.5",
"tailwind-scrollbar": "^3.1.0"
}
}
3 changes: 1 addition & 2 deletions web/oss/src/components/AgentChatSlice/AgentConversation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1218,8 +1218,7 @@ const AgentConversation = ({
const node = e.target as HTMLElement
if (node === el) continue // the viewport itself is not a row — never pin it
const check = node.checkVisibility as
| ((o?: {contentVisibilityAuto?: boolean}) => boolean)
| undefined
((o?: {contentVisibilityAuto?: boolean}) => boolean) | undefined
if (check && !check.call(node, {contentVisibilityAuto: true})) continue
const h = Math.round(node.getBoundingClientRect().height)
if (h > 0) node.style.containIntrinsicSize = `auto ${h}px`
Expand Down
3 changes: 1 addition & 2 deletions web/oss/src/components/AgentChatSlice/assets/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export const getMessageTraceId = (message: UIMessage): string | undefined => {
if (metaTraceId) return metaTraceId

const tracePart = message.parts.find((p) => p.type === "data-trace") as
| {type: "data-trace"; data?: TracePartData}
| undefined
{type: "data-trace"; data?: TracePartData} | undefined
if (!tracePart?.data) return undefined
return tracePart.data.traceId || parseTraceIdFromUrl(tracePart.data.url)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ const readRunStatusAuthoritative = async (
invalidatePreviewRunCache(projectId, runId)
try {
const raw = (await getPreviewRunBatcher()({projectId, runId})) as
| {status?: unknown}
| null
| undefined
{status?: unknown} | null | undefined
const status = raw?.status
if (!status) return null
return typeof status === "string" ? status : ((status as {value?: string}).value ?? null)
Expand Down
8 changes: 2 additions & 6 deletions web/oss/src/components/EvalRunDetails/atoms/runMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,7 @@ export const previewRunMetricStatsLoadableFamily = atomFamily(
)

type LoadableState<T> =
| {state: "loading"}
| {state: "hasError"; error: unknown}
| {state: "hasData"; data: T}
{state: "loading"} | {state: "hasError"; error: unknown} | {state: "hasData"; data: T}

export interface RunLevelMetricSelection {
state: LoadableState<BasicStats | undefined>["state"]
Expand Down Expand Up @@ -1045,9 +1043,7 @@ export const previewRunMetricStatsSelectorFamily = atomFamily(
}

const rawStats = loadableResult.data as
| RunLevelStatsMap
| {data?: RunLevelStatsMap}
| undefined
RunLevelStatsMap | {data?: RunLevelStatsMap} | undefined
const statsMap =
rawStats && typeof rawStats === "object" && "data" in rawStats
? ((rawStats.data as RunLevelStatsMap) ?? {})
Expand Down
Loading
Loading