Skip to content

Commit 1d9bfe9

Browse files
author
lalalune
committed
updates
1 parent c0fb4fb commit 1d9bfe9

16 files changed

Lines changed: 921 additions & 241 deletions

File tree

packages/app-core/src/benchmark/server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,8 @@ export async function startBenchmarkServer() {
781781
: CORE_PLUGINS;
782782
const shouldLoadTaskAgentPlugin = Boolean(
783783
process.env.BENCHMARK_TASK_AGENT?.trim() ||
784-
process.env.ELIZA_ACP_DEFAULT_AGENT?.trim() ||
785-
process.env.ELIZA_DEFAULT_AGENT_TYPE?.trim(),
784+
process.env.ELIZA_ACP_DEFAULT_AGENT?.trim() ||
785+
process.env.ELIZA_DEFAULT_AGENT_TYPE?.trim(),
786786
);
787787
const corePluginsToLoad = shouldLoadTaskAgentPlugin
788788
? Array.from(

packages/app-core/src/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export { AppWindowRenderer } from "./runtime/desktop/AppWindowRenderer";
21
export * from "@elizaos/ui";
2+
export { AppWindowRenderer } from "./runtime/desktop/AppWindowRenderer";
33

44
export type CompatRuntimeState = {
55
current: unknown;

packages/app/tsconfig.typecheck.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"extends": "./tsconfig.base.json",
44
"compilerOptions": {
55
"paths": {
6+
"@elizaos/app-core": ["../app-core/dist/index.d.ts"],
7+
"@elizaos/app-core/agent-bridge": [
8+
"../app-core/dist/agent-bridge.d.ts"
9+
],
10+
"@elizaos/app-core/onboarding/onboarding-config": [
11+
"../app-core/dist/onboarding/onboarding-config.d.ts"
12+
],
613
"@elizaos/app-*": ["./src/types/app-plugin-modules.d.ts"],
714
"@elizaos/app-*/register": ["./src/types/app-plugin-modules.d.ts"],
815
"@elizaos/plugin-elizamaker": [

packages/benchmarks/skillsbench/experiments/metrics-dashboard/src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
TrendingUp,
2222
XCircle,
2323
} from "lucide-react";
24+
import type { ReactElement } from "react";
2425
import { useMemo, useState } from "react";
2526
import { CompletionTimelineChart } from "./components/CompletionTimelineChart";
2627
import { HarborJobsPanel } from "./components/HarborJobsPanel";
@@ -1764,7 +1765,7 @@ function GlobalActivityFeed({
17641765
);
17651766
}, [recentTrials]);
17661767

1767-
const statusIcons: Record<string, JSX.Element> = {
1768+
const statusIcons: Record<string, ReactElement> = {
17681769
pass: <CheckCircle className="w-3.5 h-3.5 text-green-500" />,
17691770
fail: <XCircle className="w-3.5 h-3.5 text-red-500" />,
17701771
error: <AlertTriangle className="w-3.5 h-3.5 text-yellow-500" />,

packages/benchmarks/skillsbench/experiments/metrics-dashboard/src/components/JobTabbedPanel.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
TrendingUp,
1212
XCircle,
1313
} from "lucide-react";
14+
import type { ReactElement } from "react";
1415
import { useEffect, useMemo, useState } from "react";
1516
import {
1617
CartesianGrid,
@@ -238,7 +239,7 @@ export function JobTabbedPanel({
238239
return dataPoints;
239240
}, [timeFilteredTrials, timeRange]);
240241

241-
const statusIcons: Record<string, JSX.Element> = {
242+
const statusIcons: Record<string, ReactElement> = {
242243
pass: <CheckCircle className="w-3 h-3 text-green-500" />,
243244
fail: <XCircle className="w-3 h-3 text-red-500" />,
244245
error: <AlertTriangle className="w-3 h-3 text-yellow-500" />,

packages/benchmarks/skillsbench/experiments/metrics-dashboard/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"noEmit": true,
1313
"jsx": "react-jsx",
1414
"strict": true,
15-
"ignoreDeprecations": "6.0",
15+
"ignoreDeprecations": "5.0",
1616
"noUnusedLocals": true,
1717
"noUnusedParameters": true,
1818
"noFallthroughCasesInSwitch": true,
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/basic-features/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

packages/benchmarks/skillsbench/tasks/fix-visual-stability/environment/app/tsconfig.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"compilerOptions": {
3-
"lib": ["dom", "dom.iterable", "esnext"],
3+
"lib": [
4+
"dom",
5+
"dom.iterable",
6+
"esnext"
7+
],
48
"allowJs": true,
59
"skipLibCheck": true,
610
"strict": true,
@@ -18,9 +22,19 @@
1822
}
1923
],
2024
"paths": {
21-
"@/*": ["./src/*"]
22-
}
25+
"@/*": [
26+
"./src/*"
27+
]
28+
},
29+
"target": "ES2017"
2330
},
24-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
25-
"exclude": ["node_modules"]
31+
"include": [
32+
"next-env.d.ts",
33+
"**/*.ts",
34+
"**/*.tsx",
35+
".next/types/**/*.ts"
36+
],
37+
"exclude": [
38+
"node_modules"
39+
]
2640
}

0 commit comments

Comments
 (0)