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
12 changes: 6 additions & 6 deletions apps/ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"@maple/query-engine-integrations": "workspace:*",
"@maple/query-model": "workspace:*",
"@maple/widgets": "workspace:*",
"effect": "catalog:effect",
"@yielded/agent": "0.1.0-beta.166"
"@yielded/agent": "0.1.0-beta.166",
"effect": "catalog:effect"
},
"devDependencies": {
"@ai-sdk/openai-compatible": "^3.0.57",
"@ai-sdk/openai-compatible": "^3.0.63",
"@cloudflare/workers-types": "catalog:alchemy",
"@effect/language-service": "catalog:effect",
"@effect/vitest": "catalog:effect",
"@types/node": "catalog:tooling",
"ai": "^7.0.118",
"gpt-tokenizer": "^3.4.0",
"ai": "^7.0.128",
"gpt-tokenizer": "^4.0.0",
"typescript": "catalog:tooling",
"vitest": "catalog:",
"vitest-evals": "^0.4.1"
"vitest-evals": "^0.17.0"
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}
}
2 changes: 1 addition & 1 deletion apps/ai/src/chat/__evals__/diagnosis.eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
import { generateText, jsonSchema, Output } from "ai"
import { describe, it } from "vitest"
import { describeEval, type TaskResult } from "vitest-evals"
import { describeEval, type TaskResult } from "vitest-evals/legacy"
import { INVESTIGATE_SYSTEM_PROMPT } from "../prompts"
import { createEvalModel, hasEvalCredentials } from "../../mcp/__evals__/model"
import { DIAGNOSIS_FIXTURES, type DiagnosisFixture } from "./diagnosis-fixtures"
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/cli-scenarios.eval.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ToolCallScorer } from "vitest-evals"
import { ToolCallScorer } from "vitest-evals/legacy"
import { describeMapleEval, predictToolCalls } from "./utils"

// Investigation scenarios ported from the former `apps/cli/EVALS.md` suite.
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/disambiguation.eval.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ToolCallScorer } from "vitest-evals"
import { ToolCallScorer } from "vitest-evals/legacy"
import { describeMapleEval, predictToolCalls, FIXTURES } from "./utils"

// Disambiguation evals: prompts where two tools are plausible and the model must
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/execution.eval.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { afterAll, beforeAll } from "vitest"
import { generateText, isStepCount } from "ai"
import { ToolCallScorer, type TaskResult, type ToolCall } from "vitest-evals"
import { ToolCallScorer, type TaskResult, type ToolCall } from "vitest-evals/legacy"
import { describeMapleEval, FIXTURES } from "./utils"
import { createEvalModel, hasEvalCredentials } from "./model"
import { buildExecutionToolSet } from "./tools"
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/issue-workflow.eval.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ToolCallScorer } from "vitest-evals"
import { ToolCallScorer } from "vitest-evals/legacy"
import { describeMapleEval, predictToolCalls, FIXTURES } from "./utils"

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/observability.eval.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ToolCallScorer } from "vitest-evals"
import { ToolCallScorer } from "vitest-evals/legacy"
import { describeMapleEval, predictToolCalls, FIXTURES } from "./utils"

// Tool-selection + argument evals over the observability surface (the tools
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/scorers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { BaseScorerOptions, Score } from "vitest-evals"
import type { BaseScorerOptions, Score } from "vitest-evals/legacy"

// Tool-selection + argument matching is handled by vitest-evals' built-in
// `ToolCallScorer` (compares the task's returned `toolCalls` against the data
Expand Down
2 changes: 1 addition & 1 deletion apps/ai/src/mcp/__evals__/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it } from "vitest"
import { describeEval, type TaskResult, type ToolCall } from "vitest-evals"
import { describeEval, type TaskResult, type ToolCall } from "vitest-evals/legacy"
import { generateText } from "ai"
import { createEvalModel, hasEvalCredentials } from "./model"
import { buildPredictionToolSet } from "./tools"
Expand Down
2 changes: 1 addition & 1 deletion apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"atmn": "^1.1.25",
"typescript": "catalog:tooling",
"vitest": "catalog:",
"wrangler": "^4.142.0"
"wrangler": "^4.147.0"
}
}
8 changes: 4 additions & 4 deletions apps/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
"@maple/domain": "workspace:*",
"@maple/infra": "workspace:*",
"@maple/ui": "workspace:*",
"@shikijs/themes": "^4.4.3",
"@shikijs/transformers": "^4.4.3",
"@shikijs/themes": "^4.5.0",
"@shikijs/transformers": "^4.5.0",
"@tailwindcss/vite": "catalog:tailwind",
"@tanstack/charts": "catalog:charts",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"astro": "^7.3.5",
"autumn-js": "^1.3.25",
"autumn-js": "^1.3.55",
"d3-scale": "^4.0.2",
"effect": "catalog:effect",
"fuse.js": "^7.5.0",
"motion": "^13.4.4",
"motion": "^14.0.0",
"ogl": "^1.0.11",
"react": "catalog:react",
"react-dom": "catalog:react",
Expand Down
6 changes: 3 additions & 3 deletions apps/local-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@
"@maple/infra": "workspace:*",
"@maple/query-engine": "workspace:*",
"@maple/ui": "workspace:*",
"@tanstack/react-query": "^5.104.0",
"@tanstack/react-query": "^5.104.1",
"@tanstack/react-virtual": "^3.14.13",
"effect": "catalog:effect",
"react": "catalog:react",
"react-dom": "catalog:react",
"sugar-high": "^2.5.0"
"sugar-high": "^2.5.1"
},
"devDependencies": {
"@tailwindcss/vite": "catalog:tailwind",
"@testing-library/react": "^16.3.3",
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"@vitejs/plugin-react": "^6.1.1",
"@vitejs/plugin-react": "^6.1.2",
"@vitest/browser-playwright": "catalog:",
"playwright": "catalog:",
"tailwindcss": "catalog:tailwind",
Expand Down
36 changes: 18 additions & 18 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@
"@maple/unitflow": "workspace:*",
"@maple/widgets": "workspace:*",
"@react-three/fiber": "^9.8.1",
"@rrweb/replay": "^2.1.6",
"@rrweb/types": "^2.1.6",
"@streamdown/cjk": "^1.0.3",
"@streamdown/code": "^1.1.1",
"@streamdown/math": "^1.0.2",
"@streamdown/mermaid": "^1.0.2",
"@rrweb/replay": "^2.1.7",
"@rrweb/types": "^2.1.7",
"@streamdown/cjk": "^1.0.4",
"@streamdown/code": "^2.0.0",
"@streamdown/math": "^1.0.3",
"@streamdown/mermaid": "^1.0.3",
"@tailwindcss/vite": "catalog:tailwind",
"@takumi-rs/helpers": "2.14.0",
"@takumi-rs/wasm": "2.14.0",
"@tanstack/charts": "catalog:charts",
"@tanstack/charts-scales": "catalog:charts",
"@tanstack/react-db": "0.4.1",
"@tanstack/react-hotkeys": "0.12.0",
"@tanstack/react-router": "^1.170.40",
"@tanstack/react-table": "^9.2.4",
"@tanstack/react-db": "0.5.3",
"@tanstack/react-hotkeys": "0.13.0",
"@tanstack/react-router": "^1.170.41",
"@tanstack/react-table": "^9.2.6",
"@tanstack/react-virtual": "^3.14.13",
"@xyflow/react": "catalog:ui",
"class-variance-authority": "catalog:ui",
Expand All @@ -64,24 +64,24 @@
"date-fns": "^4.4.0",
"effect": "catalog:effect",
"fuse.js": "^7.5.0",
"motion": "^13.4.4",
"motion": "^14.0.0",
"react": "catalog:react",
"react-day-picker": "^10.0.1",
"react-day-picker": "^10.0.2",
"react-dom": "catalog:react",
"react-grid-layout": "^2.2.4",
"streamdown": "^2.6.0",
"sugar-high": "^2.5.0",
"react-grid-layout": "^2.3.0",
"streamdown": "^2.7.0",
"sugar-high": "^2.5.1",
"tailwindcss": "catalog:tailwind",
"three": "^0.186.1",
"tw-animate-css": "catalog:tailwind",
"uqr": "^0.1.3",
"web-vitals": "^6.2.2"
"web-vitals": "^6.2.3"
},
"devDependencies": {
"@effect/language-service": "catalog:effect",
"@playwright/test": "^1.63.0",
"@tanstack/devtools-vite": "^0.8.5",
"@tanstack/router-plugin": "^1.168.41",
"@tanstack/router-plugin": "^1.168.42",
"@testing-library/dom": "^10.4.2",
"@testing-library/react": "^16.3.3",
"@types/d3-scale": "^4.0.9",
Expand All @@ -90,7 +90,7 @@
"@types/react": "catalog:react",
"@types/react-dom": "catalog:react",
"@types/three": "^0.186.0",
"@vitejs/plugin-react": "^6.1.1",
"@vitejs/plugin-react": "^6.1.2",
"@vitest/browser-playwright": "catalog:",
"dialkit": "2.0.2",
"playwright": "catalog:",
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/hooks/use-dashboard-store.browser.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const collection = {
const next = structuredClone(rows.get(id)!)
updater(next)
rows.set(id, next)
return { isPersisted: { promise: persistResult() } }
return { when: () => persistResult() }
},
delete: (id: string) => {
rows.delete(id)
return { isPersisted: { promise: persistResult() } }
return { when: () => persistResult() }
},
preload: () => Promise.resolve(),
utils: { awaitTxId: () => Promise.resolve(true) },
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/hooks/use-dashboard-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ export function useDashboardMutations() {
})

try {
await tx.isPersisted.promise
await tx.when("settled")
clearPersistenceError()
} catch (error) {
applyMutationError(error)
Expand Down Expand Up @@ -1021,7 +1021,7 @@ export function useDashboardMutations() {
const active = collection
if (!active.get(id)) return
const tx = active.delete(id)
void tx.isPersisted.promise.catch((error: unknown) => applyMutationError(error))
void tx.when("settled").catch((error: unknown) => applyMutationError(error))
},
[collection, readOnly, applyMutationError],
)
Expand Down
Loading
Loading