Skip to content

Commit 7f661ec

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into pr-31882
# Conflicts: # packages/ui/src/v2/components/icon.tsx
2 parents ef4539f + f266e82 commit 7f661ec

88 files changed

Lines changed: 5553 additions & 1432 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bun.lock

Lines changed: 36 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/hashes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"nodeModules": {
3-
"x86_64-linux": "sha256-Ulflihjr8JDRVyNxSchoqaey6z/12256zs1FOiw+4vo=",
4-
"aarch64-linux": "sha256-wP6p30a9f7s3tua5qbIq/10OHdbJb8xUni5KxE3F+/k=",
5-
"aarch64-darwin": "sha256-7+4skFiJ+tLSjNG6WR53bT/IektA5B7gEcWLYpkK4z8=",
6-
"x86_64-darwin": "sha256-NL945zD4J6HomH5SF0XIO8ZFCbIh2MTsJFtTyuxm2Q0="
3+
"x86_64-linux": "sha256-zjYaBa+TKuHVBO0z0YqOOFLOxpxj2hB6Iq1o+BXBeVc=",
4+
"aarch64-linux": "sha256-S2QDDoKcg8QCqjxCnMmLp/3xmiVHAbCJ0CuHQRjDBbE=",
5+
"aarch64-darwin": "sha256-GtdfHbk4fhvosgo6iEjXrWSxteK+eNrT0P9swEccbew=",
6+
"x86_64-darwin": "sha256-zmWFdPSTS/DpU40CgHA/KKiSIs0PlI092TzLv/cG0jE="
77
}
88
}

packages/app/e2e/regression/prompt-thinking-level.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ test("shows the V2 thinking level control while relevant", async ({ page }) => {
6666
await expect(control).toBeVisible()
6767

6868
await control.locator('[data-action="prompt-model-variant"]').click()
69-
const high = page.getByRole("option", { name: "high" })
69+
const high = page.getByRole("menuitemradio", { name: "high" })
7070
await expect(high).toBeVisible()
7171
await page.mouse.move(0, 0)
7272
await expect(control).toBeVisible()

packages/app/e2e/regression/session-request-docks.spec.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,29 @@ test("shows a pending question dock", async ({ page }) => {
3838
await expect(question.getByRole("radio", { name: /Extended/ })).toBeVisible()
3939
await expect(page.locator('[data-component="session-composer"]')).toHaveCount(0)
4040

41+
const rejectRequests: string[] = []
42+
page.on("request", (request) => {
43+
if (request.method() !== "POST") return
44+
if (new URL(request.url()).pathname === "/question/question-request/reject") rejectRequests.push(request.url())
45+
})
46+
47+
await question.locator('[data-component="icon-button"][data-icon="chevron-down"]').click()
48+
await expect(question).toBeVisible()
49+
await expect(question.getByText("Which implementation should be used?")).toBeVisible()
50+
await expect(question.getByText("Select one answer")).toBeHidden()
51+
await expect(question.getByRole("radio", { name: /Minimal/ })).toBeHidden()
52+
await expect(question.getByRole("radio", { name: /Extended/ })).toBeHidden()
53+
await expect(question.getByRole("button", { name: "Dismiss" })).toBeVisible()
54+
await expect(question.getByRole("button", { name: "Submit" })).toBeVisible()
55+
await expect(page.locator('[data-component="question-minimized-dock"]')).toHaveCount(0)
56+
expect(rejectRequests).toEqual([])
57+
58+
await question.locator('[data-component="icon-button"][data-icon="chevron-down"]').click()
59+
await expect(question).toBeVisible()
60+
await expect(question.getByText("Which implementation should be used?")).toBeVisible()
61+
await expect(question.getByRole("radio", { name: /Minimal/ })).toBeVisible()
62+
expect(rejectRequests).toEqual([])
63+
4164
await question.getByRole("radio", { name: /Minimal/ }).click()
4265
const reply = page.waitForRequest(
4366
(request) => request.method() === "POST" && new URL(request.url()).pathname === "/question/question-request/reply",

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/app",
3-
"version": "1.17.12",
3+
"version": "1.17.13",
44
"description": "",
55
"type": "module",
66
"exports": {

0 commit comments

Comments
 (0)